aboutsummaryrefslogtreecommitdiffstats
path: root/mail/drac
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-05-20 22:58:13 +0800
committerpav <pav@FreeBSD.org>2005-05-20 22:58:13 +0800
commit1077d517c3a4ed0a23adc287568f167fbc0708ae (patch)
treedd5aaa5800ef5c0f8be0aa5a49f80e543566b06c /mail/drac
parente5d01bc9b2b763a19f9de345dca44c648f8995d1 (diff)
downloadfreebsd-ports-gnome-1077d517c3a4ed0a23adc287568f167fbc0708ae.tar.gz
freebsd-ports-gnome-1077d517c3a4ed0a23adc287568f167fbc0708ae.tar.zst
freebsd-ports-gnome-1077d517c3a4ed0a23adc287568f167fbc0708ae.zip
- Add dracd_flags to rc script, useful for changing the default dracdb path and
expire time. PR: ports/81222 Submitted by: Shane Wadleigh <jondoor@udor.net>
Diffstat (limited to 'mail/drac')
-rw-r--r--mail/drac/Makefile2
-rw-r--r--mail/drac/files/dracd.sh.in3
2 files changed, 3 insertions, 2 deletions
diff --git a/mail/drac/Makefile b/mail/drac/Makefile
index 4db13d2a10d0..88da6b3ba9b4 100644
--- a/mail/drac/Makefile
+++ b/mail/drac/Makefile
@@ -7,7 +7,7 @@
PORTNAME= drac
PORTVERSION= 1.12
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= mail
MASTER_SITES= ftp://ftp.cc.umanitoba.ca/src/ \
http://atreides.freenix.no/~anders/ \
diff --git a/mail/drac/files/dracd.sh.in b/mail/drac/files/dracd.sh.in
index c7be70a1df3c..c5b0332d5bdb 100644
--- a/mail/drac/files/dracd.sh.in
+++ b/mail/drac/files/dracd.sh.in
@@ -14,12 +14,13 @@
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
dracd_enable=${dracd_enable-"NO"}
+dracd_flags=${dracd_flags-""}
. %%RC_SUBR%%
name="dracd"
rcvar=`set_rcvar`
-command="%%PREFIX%%/sbin/rpc.dracd"
+command="%%PREFIX%%/sbin/rpc.dracd "${dracd_flags}
load_rc_config $name
run_rc_command "$1"