- Fix startup script
- Fix config path Reported by: Bernhard Frohelich, Martin Tournoij <carpetsmoker@rwxrwxrwx.net>
This commit is contained in:
parent
1953c720e1
commit
d2a608b232
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=242545
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= maradns
|
||||
PORTVERSION= 1.3.07.09
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= dns
|
||||
MASTER_SITES= http://www.maradns.org/download/1.3/${PORTVERSION}/ \
|
||||
http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/
|
||||
@ -24,7 +25,8 @@ MAN5= mararc.5 csv1.5 csv2.5 csv2_txt.5
|
||||
MAN8= maradns.8 zoneserver.8 duende.8
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e 's|/etc/mara|${ETCDIR}|g'
|
||||
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|/etc/maradns|${ETCDIR}|g; s|/etc/mararc|${ETCDIR}|g'
|
||||
@${FIND} ${WRKSRC} -name '*Makefile*' | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|make|\$$\{MAKE\}|g ; \
|
||||
s|^FLAGS =|#FLAGS =|g ; \
|
||||
|
@ -11,13 +11,15 @@
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
: ${maradns_enable="NO"}
|
||||
: ${maradns_conf="%%PREFIX%%/etc/mararc"}
|
||||
|
||||
name="maradns"
|
||||
rcvar=`set_rcvar`
|
||||
command="%%PREFIX%%/bin/duende"
|
||||
command_args="maradns -f ${maradns_conf}"
|
||||
pidfile="/var/run/${name}.pid"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
maradns_enable=${maradns_enable-"NO"}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -3,7 +3,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
# PROVIDE: zonserver
|
||||
# PROVIDE: zoneserver
|
||||
# REQUIRE: SERVERS
|
||||
# BEFORE: DAEMON
|
||||
# KEYWORD: shutdown
|
||||
@ -11,13 +11,15 @@
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name="zonserver"
|
||||
: ${zoneserver_enable="NO"}
|
||||
: ${maradns_conf="%%PREFIX%%/etc/mararc"}
|
||||
|
||||
name="zoneserver"
|
||||
rcvar=`set_rcvar`
|
||||
command="%%PREFIX%%/bin/duende"
|
||||
command_args="zoneserver -f ${maradns_conf}"
|
||||
pidfile="/var/run/${name}.pid"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
zonserver_enable=${zonserver_enable-"NO"}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
Loading…
Reference in New Issue
Block a user