Add comments about flavour handling to makefile.

Use birdc/birdc6 down for rc_stop.
This commit is contained in:
sthen 2013-01-24 10:04:15 +00:00
parent 61f17d8090
commit 5aa61b85c7
3 changed files with 15 additions and 3 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.24 2013/01/24 09:56:08 sthen Exp $
# $OpenBSD: Makefile,v 1.25 2013/01/24 10:04:15 sthen Exp $
COMMENT-main= BIRD internet routing daemon
COMMENT-doc= BIRD internet routing daemon (documentation)
V= 1.3.9
DISTNAME= bird-$V
REVISION= 0
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${DISTNAME:S/-/-doc-/}${EXTRACT_SUFX}
@ -25,6 +26,9 @@ WANTLIB-main= c ncurses readline
MULTI_PACKAGES= -main -doc
FULLPKGNAME-doc=bird-doc-$V
FULLPKGPATH-doc=net/bird,-doc
# IPv6 support must be built with separate flags, however the filenames
# do not conflict, so the two packages may be installed together.
FLAVORS= v6
FLAVOR?=
SUBST_VARS+= SIX

View File

@ -1,9 +1,13 @@
#!/bin/sh
#
# $OpenBSD: bird.rc,v 1.1 2011/05/02 10:49:46 sthen Exp $
# $OpenBSD: bird.rc,v 1.2 2013/01/24 10:04:15 sthen Exp $
daemon="${TRUEPREFIX}/sbin/bird"
. /etc/rc.d/rc.subr
rc_stop() {
${TRUEPREFIX}/sbin/birdc down
}
rc_cmd $1

View File

@ -1,9 +1,13 @@
#!/bin/sh
#
# $OpenBSD: bird6.rc,v 1.1 2011/05/02 10:49:46 sthen Exp $
# $OpenBSD: bird6.rc,v 1.2 2013/01/24 10:04:15 sthen Exp $
daemon="${TRUEPREFIX}/sbin/bird6"
. /etc/rc.d/rc.subr
rc_stop() {
${TRUEPREFIX}/sbin/birdc6 down
}
rc_cmd $1