diff options
author | andreas <andreas@FreeBSD.org> | 1999-07-18 10:31:43 +0000 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 1999-07-18 10:31:43 +0000 |
commit | ae832186fdb2afb650ef165e5f5e5bbf13ea81e7 (patch) | |
tree | 7c6e097c3f98ab61ee8210548dbc37c60aab485a /net | |
parent | 6139ed07c3bd39a1eea2561262f1cdb18781c3ac (diff) | |
download | FreeBSD-ports-ae832186fdb2afb650ef165e5f5e5bbf13ea81e7.zip FreeBSD-ports-ae832186fdb2afb650ef165e5f5e5bbf13ea81e7.tar.gz |
Make zebra port more user friendly be providing a nice start stop script
which is prefix-clean:
- Install a zebra startup script ${PREFIX}/rc.d/zebra.sh
- Can be used as start and stop script (expects "start" or
- "stop" as argument).
- If config file is present in ${PREFIX}/etc/zebra
- Starts zebra, ripd, ospfd and bgpd
- Stops (kills) ripd, ospfd, bgpd and at last zebra
Diffstat (limited to 'net')
-rw-r--r-- | net/zebra-devel/Makefile | 9 | ||||
-rw-r--r-- | net/zebra-devel/pkg-plist | 1 | ||||
-rw-r--r-- | net/zebra-pj/Makefile | 9 | ||||
-rw-r--r-- | net/zebra-pj/pkg-plist | 1 | ||||
-rw-r--r-- | net/zebra/Makefile | 9 | ||||
-rw-r--r-- | net/zebra/pkg-plist | 1 |
6 files changed, 27 insertions, 3 deletions
diff --git a/net/zebra-devel/Makefile b/net/zebra-devel/Makefile index a91b7c0..6cba387 100644 --- a/net/zebra-devel/Makefile +++ b/net/zebra-devel/Makefile @@ -3,7 +3,7 @@ # Date created: So 31 Mai 1998 11:00:30 CEST # Whom: Andreas Klemm <andreas@klemm.gtn.com> # -# $Id: Makefile,v 1.14 1999/06/19 10:21:01 andreas Exp $ +# $Id: Makefile,v 1.15 1999/07/17 22:14:37 andreas Exp $ # DISTNAME= zebra-0.73 @@ -17,4 +17,11 @@ MAINTAINER= andreas@FreeBSD.ORG GNU_CONFIGURE= yes CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/zebra +post-install: + @${ECHO} "===> installing zebra startup file..." + @${SED} -e "s=!!PREFIX!!=${PREFIX}=" \ + < ${FILESDIR}/zebra.sh \ + > ${PREFIX}/etc/rc.d/zebra.sh + @${ECHO} "===> done." + .include <bsd.port.mk> diff --git a/net/zebra-devel/pkg-plist b/net/zebra-devel/pkg-plist index a9ee036..3066d27 100644 --- a/net/zebra-devel/pkg-plist +++ b/net/zebra-devel/pkg-plist @@ -3,6 +3,7 @@ sbin/client sbin/ospfd sbin/ripd sbin/zebra +etc/rc.d/zebra.sh etc/zebra/bgpd.conf.sample etc/zebra/ripd.conf.sample etc/zebra/zebra.conf.sample diff --git a/net/zebra-pj/Makefile b/net/zebra-pj/Makefile index a91b7c0..6cba387 100644 --- a/net/zebra-pj/Makefile +++ b/net/zebra-pj/Makefile @@ -3,7 +3,7 @@ # Date created: So 31 Mai 1998 11:00:30 CEST # Whom: Andreas Klemm <andreas@klemm.gtn.com> # -# $Id: Makefile,v 1.14 1999/06/19 10:21:01 andreas Exp $ +# $Id: Makefile,v 1.15 1999/07/17 22:14:37 andreas Exp $ # DISTNAME= zebra-0.73 @@ -17,4 +17,11 @@ MAINTAINER= andreas@FreeBSD.ORG GNU_CONFIGURE= yes CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/zebra +post-install: + @${ECHO} "===> installing zebra startup file..." + @${SED} -e "s=!!PREFIX!!=${PREFIX}=" \ + < ${FILESDIR}/zebra.sh \ + > ${PREFIX}/etc/rc.d/zebra.sh + @${ECHO} "===> done." + .include <bsd.port.mk> diff --git a/net/zebra-pj/pkg-plist b/net/zebra-pj/pkg-plist index a9ee036..3066d27 100644 --- a/net/zebra-pj/pkg-plist +++ b/net/zebra-pj/pkg-plist @@ -3,6 +3,7 @@ sbin/client sbin/ospfd sbin/ripd sbin/zebra +etc/rc.d/zebra.sh etc/zebra/bgpd.conf.sample etc/zebra/ripd.conf.sample etc/zebra/zebra.conf.sample diff --git a/net/zebra/Makefile b/net/zebra/Makefile index a91b7c0..6cba387 100644 --- a/net/zebra/Makefile +++ b/net/zebra/Makefile @@ -3,7 +3,7 @@ # Date created: So 31 Mai 1998 11:00:30 CEST # Whom: Andreas Klemm <andreas@klemm.gtn.com> # -# $Id: Makefile,v 1.14 1999/06/19 10:21:01 andreas Exp $ +# $Id: Makefile,v 1.15 1999/07/17 22:14:37 andreas Exp $ # DISTNAME= zebra-0.73 @@ -17,4 +17,11 @@ MAINTAINER= andreas@FreeBSD.ORG GNU_CONFIGURE= yes CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/zebra +post-install: + @${ECHO} "===> installing zebra startup file..." + @${SED} -e "s=!!PREFIX!!=${PREFIX}=" \ + < ${FILESDIR}/zebra.sh \ + > ${PREFIX}/etc/rc.d/zebra.sh + @${ECHO} "===> done." + .include <bsd.port.mk> diff --git a/net/zebra/pkg-plist b/net/zebra/pkg-plist index a9ee036..3066d27 100644 --- a/net/zebra/pkg-plist +++ b/net/zebra/pkg-plist @@ -3,6 +3,7 @@ sbin/client sbin/ospfd sbin/ripd sbin/zebra +etc/rc.d/zebra.sh etc/zebra/bgpd.conf.sample etc/zebra/ripd.conf.sample etc/zebra/zebra.conf.sample |