summaryrefslogtreecommitdiff
path: root/sysutils/boxbackup
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2005-02-26 06:05:28 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2005-02-26 06:05:28 +0000
commit942abc0e8746a887b55bbe8f8cb35e8e1bc8e778 (patch)
tree5d31a195417717e8191e95cbda9b433918693600 /sysutils/boxbackup
parentUpdate to m81 (diff)
- the port tried write to pkg-message. fixed (1)
- fixed OpenSSL dependency - fixed home dir name for user. /nonexistent is right one (2) Reported by: krion via pointyhat (1) and via IRC (2)
Notes
Notes: svn path=/head/; revision=129819
Diffstat (limited to 'sysutils/boxbackup')
-rw-r--r--sysutils/boxbackup/Makefile10
-rw-r--r--sysutils/boxbackup/pkg-install2
-rw-r--r--sysutils/boxbackup/pkg-message5
3 files changed, 6 insertions, 11 deletions
diff --git a/sysutils/boxbackup/Makefile b/sysutils/boxbackup/Makefile
index c7b34dc52113..47dec3be82e4 100644
--- a/sysutils/boxbackup/Makefile
+++ b/sysutils/boxbackup/Makefile
@@ -21,12 +21,13 @@ EXTRACT_SUFX= .tgz
MAINTAINER= james@netinertia.co.uk
COMMENT= An open source, completely automatic on-line backup system for UNIX
-RUN_DEPENDS= openssl:${PORTSDIR}/security/openssl
-
+USE_OPENSSL= yes
HAS_CONFIGURE= yes
USE_REINPLACE= yes
USE_RC_SUBR= yes
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
.if defined(CLIENT_ONLY) && !defined(SERVER_ONLY)
CONFLICTS= boxbackup-[0-9]* boxbackup-server-[0-9]*
PLIST_SUB+= CLIENT=""
@@ -80,12 +81,11 @@ post-patch:
${WRKSRC}/bbstored.sh
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' <${FILESDIR}/bbackupd.sh >\
${WRKSRC}/bbackupd.sh
- @${RM} -f ${PKGDIR}/pkg-message
.if defined(CLIENT_ONLY) || !defined(SERVER_ONLY)
- @${CAT} ${FILESDIR}/pkg-message.client >>${PKGDIR}/pkg-message
+ @${CAT} ${FILESDIR}/pkg-message.client >> ${PKGMESSAGE}
.endif
.if defined(SERVER_ONLY) || !defined(CLIENT_ONLY)
- @${CAT} ${FILESDIR}/pkg-message.server >>${PKGDIR}/pkg-message
+ @${CAT} ${FILESDIR}/pkg-message.server >> ${PKGMESSAGE}
.endif
.if defined(SERVER_ONLY) || !defined(CLIENT_ONLY)
diff --git a/sysutils/boxbackup/pkg-install b/sysutils/boxbackup/pkg-install
index 35a8ccbc472a..6b3df4053d82 100644
--- a/sysutils/boxbackup/pkg-install
+++ b/sysutils/boxbackup/pkg-install
@@ -24,7 +24,7 @@ PRE-INSTALL)
echo "You already have a user \"${USER}\", so I will use it."
else
if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \
- -d /nonexistant -c "BoxBackup Store Daemon"
+ -d /nonexistent -c "BoxBackup Store Daemon"
then
echo "Added user \"${USER}\"."
else
diff --git a/sysutils/boxbackup/pkg-message b/sysutils/boxbackup/pkg-message
deleted file mode 100644
index 7f872c8b951b..000000000000
--- a/sysutils/boxbackup/pkg-message
+++ /dev/null
@@ -1,5 +0,0 @@
-
-To run bbackupd at startup, add bbackupd_enable="YES" to /etc/rc.conf
-Please see http://www.fluffy.co.uk/boxbackup/client.html for client
-configuration options
-