aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2011-09-01 03:15:09 +0800
committerzi <zi@FreeBSD.org>2011-09-01 03:15:09 +0800
commit804524f65605a56ceeaa346cd01875a3cdea69d3 (patch)
tree635908064e6a57480e6735c0383d716223219dd9 /sysutils
parente0f6deb70424f7f55660d3e106168bc591a57abb (diff)
downloadfreebsd-ports-gnome-804524f65605a56ceeaa346cd01875a3cdea69d3.tar.gz
freebsd-ports-gnome-804524f65605a56ceeaa346cd01875a3cdea69d3.tar.zst
freebsd-ports-gnome-804524f65605a56ceeaa346cd01875a3cdea69d3.zip
Fix COMMENT
Fix rc.d scripts Reported by: dougb@ Approved by: wxs (mentor)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/boxbackup/Makefile3
-rw-r--r--sysutils/boxbackup/files/bbackupd.in19
-rw-r--r--sysutils/boxbackup/files/bbstored.in19
3 files changed, 22 insertions, 19 deletions
diff --git a/sysutils/boxbackup/Makefile b/sysutils/boxbackup/Makefile
index c4c6faa8f873..e9145da9dba1 100644
--- a/sysutils/boxbackup/Makefile
+++ b/sysutils/boxbackup/Makefile
@@ -7,13 +7,14 @@
PORTNAME= boxbackup
PORTVERSION= 0.11.1
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF
PKGNAMESUFFIX= ${CLIENT_OR_SERVER}
EXTRACT_SUFX= .tgz
MAINTAINER= james@netinertia.co.uk
-COMMENT= An open source, completely automatic on-line backup system for UNIX
+COMMENT= Open source, completely automatic on-line backup system for Unix
LICENSE= BSD GPLv2
LICENSE_COMB= dual
diff --git a/sysutils/boxbackup/files/bbackupd.in b/sysutils/boxbackup/files/bbackupd.in
index b1e5febae656..fe14fcbc03ec 100644
--- a/sysutils/boxbackup/files/bbackupd.in
+++ b/sysutils/boxbackup/files/bbackupd.in
@@ -1,27 +1,28 @@
#!/bin/sh
-#
+
# $FreeBSD$
#
# PROVIDE: bbackupd
# REQUIRE: NETWORKING
# KEYWORD: shutdown
-
#
# Add the following line to /etc/rc.conf to enable bbackupd:
#
-#bbackupd_enable="YES"
-#
-
-: ${bbackupd_enable:="NO"}
-: ${bbackupd_flags:="%%PREFIX%%/etc/box/bbackupd.conf"}
-: ${bbackupd_pidfile:="/var/run/bbackupd.pid"}
+# bbackupd_enable="YES"
. /etc/rc.subr
name="bbackupd"
rcvar=`set_rcvar`
+
+load_rc_config $name
+
+: ${bbackupd_enable:="NO"}
+: ${bbackupd_flags:="%%PREFIX%%/etc/box/bbackupd.conf"}
+
+pidfile=${bbackupd_pidfile:-"/var/run/bbackupd.pid"}
+
command="%%PREFIX%%/bin/bbackupd"
extra_commands="reload"
-load_rc_config $name
run_rc_command "$1"
diff --git a/sysutils/boxbackup/files/bbstored.in b/sysutils/boxbackup/files/bbstored.in
index 9554a6bd0e2f..6865c0ee24e3 100644
--- a/sysutils/boxbackup/files/bbstored.in
+++ b/sysutils/boxbackup/files/bbstored.in
@@ -1,27 +1,28 @@
#!/bin/sh
-#
+
# $FreeBSD$
#
# PROVIDE: bbstored
# REQUIRE: NETWORKING
# KEYWORD: shutdown
-
#
# Add the following line to /etc/rc.conf to enable bbstored:
#
-#bbstored_enable="YES"
-#
-
-: ${bbstored_enable:="NO"}
-: ${bbstored_flags:="%%PREFIX%%/etc/box/bbstored.conf"}
-: ${bbstored_pidfile:="/var/run/bbstored.pid"}
+# bbstored_enable="YES"
. /etc/rc.subr
name="bbstored"
rcvar=`set_rcvar`
+
+load_rc_config $name
+
+: ${bbstored_enable:="NO"}
+: ${bbstored_flags:="%%PREFIX%%/etc/box/bbstored.conf"}
+
+pidfile=${bbstored_pidfile:-"/var/run/bbstored.pid"}
+
command="%%PREFIX%%/bin/bbstored"
extra_commands="reload"
-load_rc_config $name
run_rc_command "$1"