nixos: add bird module
patch bird to look in /var/run for birc.ctl
This commit is contained in:
@@ -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 \
|
||||
Reference in New Issue
Block a user