summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-backup/boxbackup')
-rw-r--r--app-backup/boxbackup/ChangeLog9
-rw-r--r--app-backup/boxbackup/Manifest2
-rw-r--r--app-backup/boxbackup/boxbackup-0.09-r1.ebuild81
-rw-r--r--app-backup/boxbackup/files/digest-boxbackup-0.09-r12
4 files changed, 93 insertions, 1 deletions
diff --git a/app-backup/boxbackup/ChangeLog b/app-backup/boxbackup/ChangeLog
index 88d773bb7209..14e5504d5ba9 100644
--- a/app-backup/boxbackup/ChangeLog
+++ b/app-backup/boxbackup/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-backup/boxbackup
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/boxbackup/ChangeLog,v 1.2 2005/09/22 17:19:51 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/boxbackup/ChangeLog,v 1.3 2005/11/02 20:44:19 grobian Exp $
+
+*boxbackup-0.09-r1 (02 Nov 2005)
+
+ 02 Nov 2005; Fabian Groffen <grobian@gentoo.org>
+ +boxbackup-0.09-r1.ebuild:
+ Added new version which uses client-only USE-flag to only install the client
+ (bug #109246)
22 Sep 2005; Fabian Groffen <grobian@gentoo.org> boxbackup-0.09.ebuild:
Fix for bug #106872 : tell enewuser which group the new user should belong to
diff --git a/app-backup/boxbackup/Manifest b/app-backup/boxbackup/Manifest
index 0aeceeffe660..efd5b71dc920 100644
--- a/app-backup/boxbackup/Manifest
+++ b/app-backup/boxbackup/Manifest
@@ -1,8 +1,10 @@
+MD5 88eff846d177bc7ac78538608a0ac1b7 boxbackup-0.09-r1.ebuild 2319
MD5 645ace0f626289f9d5188f59fa9dfced ChangeLog 815
MD5 ba0035547f2be94605ff4fda2e70cb31 metadata.xml 542
MD5 d561b4735dee4eb7a3466f3d27c0f002 boxbackup-0.09.ebuild 2227
MD5 c5bf24fdd27367aeea4b3833683683e7 files/bbstored.rc 526
MD5 10ad8802434518abe87eba09444a4855 files/boxbackup-0.09-darwin.patch 443
+MD5 a5aea4f1d604c930129b8efc62612f51 files/digest-boxbackup-0.09-r1 138
MD5 a5aea4f1d604c930129b8efc62612f51 files/digest-boxbackup-0.09 138
MD5 21a608266d776fcc9099d8d58418f8ed files/boxbackup-0.09-gentoo.patch 6695
MD5 22fd10d35901d4aa9cf973bc57e90e04 files/bbackupd.rc 514
diff --git a/app-backup/boxbackup/boxbackup-0.09-r1.ebuild b/app-backup/boxbackup/boxbackup-0.09-r1.ebuild
new file mode 100644
index 000000000000..a3db13f52e79
--- /dev/null
+++ b/app-backup/boxbackup/boxbackup-0.09-r1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-backup/boxbackup/boxbackup-0.09-r1.ebuild,v 1.1 2005/11/02 20:44:19 grobian Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A completely automatic on-line backup system"
+HOMEPAGE="http://www.fluffy.co.uk/boxbackup/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz
+ mirror://gentoo/${P}-solaris.patch.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~ppc-macos ~x86"
+IUSE="client-only"
+DEPEND="sys-libs/zlib
+ sys-libs/db
+ >=dev-libs/openssl-0.9.7
+ >=dev-lang/perl-5.6"
+RDEPEND="${DEPEND}
+ virtual/mta"
+
+src_unpack() {
+ unpack ${A}
+
+ epatch "${DISTDIR}/${P}"-solaris.patch.bz2
+ epatch "${FILESDIR}/${P}"-darwin.patch
+ epatch "${FILESDIR}/${P}"-gentoo.patch
+}
+
+src_compile() {
+ # note, we can't use econf here, because configure is a wrapper
+ # around a perl script, not the configure you would normally
+ # expect!!!
+ local myconf=""
+ # GCC4 hack, see
+ # http://lists.warhead.org.uk/pipermail/boxbackup/2005-August/001625.html
+ [ "$(gcc-major-version)" -eq "4" ] && myconf="compile:-DPLATFORM_GCC3"
+ ./configure ${myconf} || die
+ make || die
+}
+
+src_install() {
+ # For the same reason why we can't use econf and emake, we can't do
+ # make install here either, because the installation is some lame
+ # script.
+
+ # create directories the installscript assumes to exist
+ mkdir -p ${D}/usr/sbin
+ make DESTDIR=${D} install || die "install failed"
+ make DESTDIR=${D} install-backup-client || die "client install failed"
+ use client-only || \
+ make DESTDIR=${D} install-backup-server || die "server install failed"
+
+ dodoc *.txt
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/bbackupd.rc bbackupd
+ use client-only || \
+ newexe ${FILESDIR}/bbstored.rc bbstored
+
+ keepdir /etc/boxbackup
+}
+
+pkg_preinst() {
+ if ! use client-only;
+ then
+ enewgroup bbstored
+ enewuser bbstored -1 -1 -1 bbstored
+ fi
+}
+
+pkg_postinst() {
+ while read line; do einfo "${line}"; done <<EOF
+After configuring the boxbackup client and/or server, you can start
+the boxbackup daemons using the init scripts /etc/init.d/bbackupd
+and /etc/init.d/bbstored.
+More information about configuring the client can be found at
+${HOMEPAGE}client.html,
+and more information about configuring the server can be found at
+${HOMEPAGE}server.html.
+EOF
+}
diff --git a/app-backup/boxbackup/files/digest-boxbackup-0.09-r1 b/app-backup/boxbackup/files/digest-boxbackup-0.09-r1
new file mode 100644
index 000000000000..caf707621ce5
--- /dev/null
+++ b/app-backup/boxbackup/files/digest-boxbackup-0.09-r1
@@ -0,0 +1,2 @@
+MD5 b4fced539ed72855383f25609de9e6da boxbackup-0.09.tgz 505088
+MD5 2072291536a33e24ecd0a58cffcbf6b8 boxbackup-0.09-solaris.patch.bz2 6814