aboutsummaryrefslogtreecommitdiff
path: root/net/zebra
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2005-04-15 15:39:59 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2005-04-15 15:39:59 +0000
commitd680b1c36d0aa53bdda0032b08576b17e698b653 (patch)
tree96945f0bd4e0b74ddf5aa2167a9c65b4e77dc2fb /net/zebra
parentc667bf7bce30539514f283981606ccb65ce0f341 (diff)
downloadports-d680b1c36d0aa53bdda0032b08576b17e698b653.tar.gz
ports-d680b1c36d0aa53bdda0032b08576b17e698b653.zip
Notes
Diffstat (limited to 'net/zebra')
-rw-r--r--net/zebra/Makefile8
-rw-r--r--net/zebra/files/pkg-message.in6
2 files changed, 9 insertions, 5 deletions
diff --git a/net/zebra/Makefile b/net/zebra/Makefile
index 1789d273e0ce..08a0e0161350 100644
--- a/net/zebra/Makefile
+++ b/net/zebra/Makefile
@@ -18,6 +18,8 @@ MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/ \
MAINTAINER= sumikawa@FreeBSD.org
COMMENT= Free RIPv1, RIPv2, OSPFv2, BGP4 route software (server/reflector)
+PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
USE_SUBMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/zebra
@@ -114,11 +116,7 @@ post-install:
< ${FILESDIR}/zebractl.sh \
> ${PREFIX}/sbin/zebractl
@${CHMOD} 555 ${PREFIX}/sbin/zebractl
- @${ECHO} "Make these entries in /etc/rc.conf to start zebra:"
- @${ECHO} "defaultrouter=\"NO\""
- @${ECHO} "router_enable=\"YES\""
- @${ECHO} "router=\"${PREFIX}/sbin/zebractl\""
- @${ECHO} "router_flags=\"start\""
@${ECHO} "done."
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/net/zebra/files/pkg-message.in b/net/zebra/files/pkg-message.in
new file mode 100644
index 000000000000..92cde82cc675
--- /dev/null
+++ b/net/zebra/files/pkg-message.in
@@ -0,0 +1,6 @@
+To run zebra you should add in your /etc/rc.conf these lines:
+
+defaultrouter="NO"
+router_enable="YES"
+router="%%PREFIX%%/sbin/zebractl"
+router_flags="start"