nixos: add bird module

patch bird to look in /var/run for birc.ctl
This commit is contained in:
lassulus
2015-05-19 15:42:24 +02:00
parent 8f648b2d14
commit 9d07c54fa1
5 changed files with 100 additions and 0 deletions
+8
View File
@@ -10,6 +10,14 @@ stdenv.mkDerivation rec {
buildInputs = [ flex bison readline ];
patches = [
./dont-create-sysconfdir.patch
];
configureFlags = [
"--localstatedir /var"
];
meta = {
description = "BIRD Internet Routing Daemon";
homepage = http://bird.network.cz;
@@ -0,0 +1,13 @@
diff --git a/tools/Makefile.in b/tools/Makefile.in
index 062ba91..4fd7453 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -68,7 +68,7 @@ tags:
cd $(srcdir) ; etags -lc `find $(static-dirs) $(addprefix $(objdir)/,$(dynamic-dirs)) $(client-dirs) -name *.[chY]`
install: all
- $(INSTALL) -d $(DESTDIR)/$(sbindir) $(DESTDIR)/$(sysconfdir) $(DESTDIR)/@runtimedir@
+ $(INSTALL) -d $(DESTDIR)/$(sbindir) $(DESTDIR)/$(sysconfdir)
$(INSTALL_PROGRAM) $(exedir)/bird $(DESTDIR)/$(sbindir)/bird@SUFFIX@
$(INSTALL_PROGRAM) $(exedir)/birdcl $(DESTDIR)/$(sbindir)/birdcl@SUFFIX@
if test -n "@CLIENT@" ; then \