summaryrefslogtreecommitdiff
path: root/sysutils/boxbackup-devel
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-02 10:07:49 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-02 10:07:49 +0000
commit38a0a8023026a77ded1e6de618b567c7b58e79a4 (patch)
treeabf5fbbdc4b27a245ff76b9850f4eb6e73e4ba19 /sysutils/boxbackup-devel
parent- Fix build with GCRYPT option by taking out -Werror (diff)
Remove non staged ports without pending PR from s*
Notes
Notes: svn path=/head/; revision=366980
Diffstat (limited to 'sysutils/boxbackup-devel')
-rw-r--r--sysutils/boxbackup-devel/Makefile120
-rw-r--r--sysutils/boxbackup-devel/distinfo2
-rw-r--r--sysutils/boxbackup-devel/files/999.boxbackup.in66
-rw-r--r--sysutils/boxbackup-devel/files/bbackupd.in28
-rw-r--r--sysutils/boxbackup-devel/files/bbstored.in28
-rw-r--r--sysutils/boxbackup-devel/files/pkg-message.client4
-rw-r--r--sysutils/boxbackup-devel/files/pkg-message.server4
-rw-r--r--sysutils/boxbackup-devel/pkg-descr13
-rw-r--r--sysutils/boxbackup-devel/pkg-plist17
9 files changed, 0 insertions, 282 deletions
diff --git a/sysutils/boxbackup-devel/Makefile b/sysutils/boxbackup-devel/Makefile
deleted file mode 100644
index 19b954bc95eb..000000000000
--- a/sysutils/boxbackup-devel/Makefile
+++ /dev/null
@@ -1,120 +0,0 @@
-# Created by: James O'Gorman <james@netinertia.co.uk>
-# $FreeBSD$
-
-PORTNAME= boxbackup
-PORTVERSION= 0.11.r${SVNVERSION:C/^[0-9\.]+_[a-z]+_([0-9]+)/\1/}
-CATEGORIES= sysutils
-MASTER_SITES= http://www.boxbackup.org/snapshots/%SUBDIR%/
-PKGNAMESUFFIX= ${CLIENT_OR_SERVER}-devel
-DISTNAME= ${PORTNAME}-${SVNVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Open source, completely automatic on-line backup system for Unix
-
-LICENSE= BSD GPLv2
-LICENSE_COMB= dual
-LICENSE_FILE= ${WRKSRC}/LICENSE-DUAL.txt
-
-MASTER_SITE_SUBDIR=201108
-SVNVERSION= 0.11_trunk_2979
-
-NO_LATEST_LINK= yes
-
-USES= perl5 tar:tgz
-USE_OPENSSL= yes
-GNU_CONFIGURE= yes
-USE_AUTOTOOLS= autoconf aclocal autoheader
-ACLOCAL_ARGS+= -I ${WRKSRC}/infrastructure/m4
-
-# Box now defaults to /etc for configuration. Linux devs make me sad.
-# Override this.
-CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc
-
-PKGMESSAGE= ${WRKDIR}/pkg-message
-
-OPTIONS_MULTI= TYPE
-OPTIONS_MULTI_TYPE= CLIENT SERVER
-OPTIONS_DEFINE= GNUREADLINE
-OPTIONS_DEFAULT= CLIENT SERVER
-CLIENT_DESC= Install the bbackupd client
-SERVER_DESC= Install the bbstored server
-GNUREADLINE_DESC= Enable the use of GNU readline
-
-NO_STAGE= yes
-
-MAKE_JOBS_UNSAFE= yes
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGNUREADLINE}
-CONFIGURE_ARGS+=--enable-gnu-readline
-.endif
-
-MANCOMPRESSED= yes
-.if ${PORT_OPTIONS:MCLIENT}
-USE_RC_SUBR+= bbackupd
-PLIST_SUB+= CLIENT=""
-ALL_TARGET+= build-backup-client
-INSTALL_TARGET+=install-backup-client
-MAN5+= bbackupd.conf.5
-MAN8+= bbackupd.8 bbackupctl.8 bbackupd-config.8 bbackupquery.8
-SUB_FILES+= 999.boxbackup
-.else
-PLIST_SUB+= CLIENT="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MSERVER}
-USE_RC_SUBR+= bbstored
-USERS+= _bbstored
-GROUPS+= _bbstored
-PLIST_SUB+= SERVER=""
-ALL_TARGET+= build-backup-server
-INSTALL_TARGET+=install-backup-server
-MAN5+= bbstored.conf.5 raidfile.conf.5
-MAN8+= bbstored.8 bbstoreaccounts.8 bbstored-certs.8 bbstored-config.8 raidfile-config.8
-.else
-PLIST_SUB+= SERVER="@comment "
-.endif
-
-.if ! ${PORT_OPTIONS:MCLIENT}
-# if this is a server-only install, CONFLICT with an install of the CLIENT or both
-CONFLICTS= boxbackup-client-[0-9]* boxbackup-[0-9]*
-CLIENT_OR_SERVER=-server
-.elif ! ${PORT_OPTIONS:MSERVER}
-# if this is a client-only install, CONFLICT with an install of the SERVER or both
-CONFLICTS= boxbackup-server-[0-9]* boxbackup-[0-9]*
-CLIENT_OR_SERVER=-client
-.else
-# if we install boxbackup-[0-9]*, we should CONFLICT with a CLIENT or SERVER only install
-# PKGNAMESUFFIX is empty at this point
-CONFLICTS= boxbackup-server-[0-9]* boxbackup-client-[0-9]*
-.endif
-
-post-patch:
- @${REINPLACE_CMD} -e '/html/d' ${WRKSRC}/parcels.txt
-.if ${PORT_OPTIONS:MCLIENT}
- @${CAT} ${FILESDIR}/pkg-message.client >> ${PKGMESSAGE}
-.endif
-.if ${PORT_OPTIONS:MSERVER}
- @${CAT} ${FILESDIR}/pkg-message.server >> ${PKGMESSAGE}
-.endif
-
-post-configure:
- @${REINPLACE_CMD} -e '/share.doc.boxbackup/d' ${WRKSRC}/parcels/scripts/install-backup-*
-
-post-install:
-.if ${PORT_OPTIONS:MCLIENT}
- @${MKDIR} -m 0700 ${PREFIX}/etc/box/bbackupd
- @${MKDIR} ${PREFIX}/etc/periodic/monthly
- ${INSTALL_SCRIPT} ${WRKDIR}/999.boxbackup ${PREFIX}/etc/periodic/monthly
-.endif
-.if ${PORT_OPTIONS:MSERVER}
- @${MKDIR} -m 0700 ${PREFIX}/etc/box/bbstored
-.endif
- @${CAT} ${PKGMESSAGE}
-
-test:
- @${ECHO_CMD} "===> Running tests"
- @${MAKE} -C ${WRKSRC} test
-
-.include <bsd.port.mk>
diff --git a/sysutils/boxbackup-devel/distinfo b/sysutils/boxbackup-devel/distinfo
deleted file mode 100644
index 6563e4e588cc..000000000000
--- a/sysutils/boxbackup-devel/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (boxbackup-0.11_trunk_2979.tgz) = 8d49959c7bd173de468837a6645883b37f5c2d485ba2245f9178b74e8b1f8c9e
-SIZE (boxbackup-0.11_trunk_2979.tgz) = 2185279
diff --git a/sysutils/boxbackup-devel/files/999.boxbackup.in b/sysutils/boxbackup-devel/files/999.boxbackup.in
deleted file mode 100644
index e620fa306ca9..000000000000
--- a/sysutils/boxbackup-devel/files/999.boxbackup.in
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# Box Backup monthly store compare
-#
-# Add the following to /etc/periodic.conf to enable the monthly compare:
-# monthly_boxbackup_compare_enable="YES"
-#
-# By default the script will run "compare -aq". If you want to change this to
-# run a full compare, add the following to periodic.conf:
-# monthly_boxbackup_compare_args="-a"
-#
-# NOTE: This script will cause the monthly periodic(8) run to take much longer
-# than usual, depending on the size of your backup store.
-#
-# If you wish to run this independently of the monthly job, you can create a
-# new periodic entry as follows:
-#
-# # mkdir /usr/local/etc/periodic/boxbackup
-# # mv /usr/local/etc/periodic/monthly/999.boxbackup \
-# /usr/local/etc/periodic/boxbackup/100.compare
-#
-# Then add the following to /etc/crontab:
-# 30 5 1 * * root periodic boxbackup
-#
-# (adjust the timings as necessary)
-#
-# You may also wish to add boxbackup_output="root" to periodic.conf so that
-# mail comes from periodic rather than cron.
-
-monthly_boxbackup_compare_enable="NO"
-monthly_boxbackup_compare_args="-aq"
-
-if [ -r /etc/defaults/periodic.conf ]
-then
- . /etc/defaults/periodic.conf
- source_periodic_confs
-fi
-
-rc=0
-
-case "$monthly_boxbackup_compare_enable" in
- [Yy][Ee][Ss])
- echo
- echo "Running Box Backup store compare:"
- %%PREFIX%%/sbin/bbackupquery -q "compare -c $monthly_boxbackup_compare_args" quit
-
- # Return codes:
- # 1 Comparison was exact
- # 2 Differences were found
- # 3 An error occurred
- if [ $? -eq 2 ]; then
- echo
- echo "Differences were found. Please check the output."
- rc=3
- elif [ $? -eq 3 ]; then
- echo
- echo "An error occurred. Please check the output."
- rc=3
- fi
-
- ;;
-esac
-
-exit $rc
diff --git a/sysutils/boxbackup-devel/files/bbackupd.in b/sysutils/boxbackup-devel/files/bbackupd.in
deleted file mode 100644
index e74a9df86073..000000000000
--- a/sysutils/boxbackup-devel/files/bbackupd.in
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-# $FreeBSD$
-#
-# PROVIDE: bbackupd
-# REQUIRE: NETWORKING
-# KEYWORD: shutdown
-#
-# Add the following line to /etc/rc.conf to enable bbackupd:
-#
-# bbackupd_enable="YES"
-
-. /etc/rc.subr
-
-name="bbackupd"
-rcvar=bbackupd_enable
-
-load_rc_config $name
-
-: ${bbackupd_enable:="NO"}
-: ${bbackupd_flags:="%%PREFIX%%/etc/box/bbackupd.conf"}
-
-pidfile=${bbackupd_pidfile:-"/var/run/bbackupd.pid"}
-
-command="%%PREFIX%%/sbin/bbackupd"
-extra_commands="reload"
-
-run_rc_command "$1"
diff --git a/sysutils/boxbackup-devel/files/bbstored.in b/sysutils/boxbackup-devel/files/bbstored.in
deleted file mode 100644
index f5163bb165ba..000000000000
--- a/sysutils/boxbackup-devel/files/bbstored.in
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-# $FreeBSD$
-#
-# PROVIDE: bbstored
-# REQUIRE: NETWORKING
-# KEYWORD: shutdown
-#
-# Add the following line to /etc/rc.conf to enable bbstored:
-#
-# bbstored_enable="YES"
-
-. /etc/rc.subr
-
-name="bbstored"
-rcvar=bbstored_enable
-
-load_rc_config $name
-
-: ${bbstored_enable:="NO"}
-: ${bbstored_flags:="%%PREFIX%%/etc/box/bbstored.conf"}
-
-pidfile=${bbstored_pidfile:-"/var/run/bbstored.pid"}
-
-command="%%PREFIX%%/sbin/bbstored"
-extra_commands="reload"
-
-run_rc_command "$1"
diff --git a/sysutils/boxbackup-devel/files/pkg-message.client b/sysutils/boxbackup-devel/files/pkg-message.client
deleted file mode 100644
index e804b44d94b9..000000000000
--- a/sysutils/boxbackup-devel/files/pkg-message.client
+++ /dev/null
@@ -1,4 +0,0 @@
-
-To run bbackupd at startup, add bbackupd_enable="YES" to /etc/rc.conf
-Please see http://www.boxbackup.org/client.html for client configuration
-options
diff --git a/sysutils/boxbackup-devel/files/pkg-message.server b/sysutils/boxbackup-devel/files/pkg-message.server
deleted file mode 100644
index 872c82bf5ed8..000000000000
--- a/sysutils/boxbackup-devel/files/pkg-message.server
+++ /dev/null
@@ -1,4 +0,0 @@
-
-To run bbstored at startup, add bbstored_enable="YES" to /etc/rc.conf
-Please see http://www.boxbackup.org/server.html for server configuration
-options
diff --git a/sysutils/boxbackup-devel/pkg-descr b/sysutils/boxbackup-devel/pkg-descr
deleted file mode 100644
index 1d8c6ddbc5d5..000000000000
--- a/sysutils/boxbackup-devel/pkg-descr
+++ /dev/null
@@ -1,13 +0,0 @@
-This is a port of Box Backup, an online backup daemon
-
-The backup daemon, bbackupd, runs on all machines to be backed up. The
-store server daemon, bbstored runs on a central server. Data is sent
-to the store server, which stores all data on local filesystems, that
-is, only on local hard drives. Tape or other archive media is not
-used.
-
-The system is designed to be easy to set up and run, and cheap to use.
-Once set up, there should be no need for user or administrative
-intervention, apart from usual system maintenance.
-
-WWW: http://www.boxbackup.org/
diff --git a/sysutils/boxbackup-devel/pkg-plist b/sysutils/boxbackup-devel/pkg-plist
deleted file mode 100644
index fa4a9fb05cf5..000000000000
--- a/sysutils/boxbackup-devel/pkg-plist
+++ /dev/null
@@ -1,17 +0,0 @@
-%%CLIENT%%sbin/bbackupctl
-%%CLIENT%%sbin/bbackupd
-%%CLIENT%%sbin/bbackupd-config
-%%CLIENT%%sbin/bbackupquery
-%%SERVER%%sbin/bbstoreaccounts
-%%SERVER%%sbin/bbstored
-%%SERVER%%sbin/bbstored-certs
-%%SERVER%%sbin/bbstored-config
-%%SERVER%%sbin/raidfile-config
-%%CLIENT%%@exec mkdir -p -m 0700 %D/etc/box/bbackupd
-%%SERVER%%@exec mkdir -p -m 0700 %D/etc/box/bbstored
-%%CLIENT%%@dirrmtry etc/box/bbackupd
-%%SERVER%%@dirrmtry etc/box/bbstored
-%%CLIENT%%etc/periodic/monthly/999.boxbackup
-@dirrmtry etc/periodic/monthly
-@dirrmtry etc/periodic
-@dirrmtry etc/box