1 |
commit: 51c5a2db360908ae432e1a502375f7fef8c1ea4f |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 26 00:08:24 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 26 00:08:24 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51c5a2db |
7 |
|
8 |
app-backup/boxbackup: remove boxbackup-0.11.1 |
9 |
|
10 |
app-backup/boxbackup/boxbackup-0.11.1.ebuild | 76 ---------------------------- |
11 |
1 file changed, 76 deletions(-) |
12 |
|
13 |
diff --git a/app-backup/boxbackup/boxbackup-0.11.1.ebuild b/app-backup/boxbackup/boxbackup-0.11.1.ebuild |
14 |
deleted file mode 100644 |
15 |
index f3b4419..0000000 |
16 |
--- a/app-backup/boxbackup/boxbackup-0.11.1.ebuild |
17 |
+++ /dev/null |
18 |
@@ -1,76 +0,0 @@ |
19 |
-# Copyright 1999-2016 Gentoo Foundation |
20 |
-# Distributed under the terms of the GNU General Public License v2 |
21 |
-# $Id$ |
22 |
- |
23 |
-EAPI="5" |
24 |
- |
25 |
-inherit eutils user |
26 |
- |
27 |
-DESCRIPTION="A completely automatic on-line backup system" |
28 |
-HOMEPAGE="http://boxbackup.org/" |
29 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" |
30 |
-SRC_URI="http://boxbackup.org/svn/box/packages/${P/_/}.tgz" |
31 |
-LICENSE="BSD" |
32 |
-SLOT="0" |
33 |
-KEYWORDS="amd64 x86 ~ppc-macos ~x86-macos" |
34 |
-IUSE="client-only libressl" |
35 |
-DEPEND="sys-libs/zlib |
36 |
- sys-libs/db:= |
37 |
- !libressl? ( dev-libs/openssl:0= ) |
38 |
- libressl? ( dev-libs/libressl:0= ) |
39 |
- >=dev-lang/perl-5.6" |
40 |
-RDEPEND="${DEPEND} |
41 |
- virtual/mta" |
42 |
- |
43 |
-S="${WORKDIR}/${P/_/}" |
44 |
- |
45 |
-src_prepare() { |
46 |
- epatch "${FILESDIR}"/${PN}-0.11_rc8-testbbackupd.patch |
47 |
-} |
48 |
- |
49 |
-src_compile() { |
50 |
- # bug #299411 |
51 |
- emake -j1 || die |
52 |
-} |
53 |
- |
54 |
-src_install() { |
55 |
- emake -j1 DESTDIR="${D}" install || die "install failed" |
56 |
- emake -j1 DESTDIR="${D}" install-backup-client || die "client install failed" |
57 |
- use client-only || \ |
58 |
- emake -j1 DESTDIR="${D}" install-backup-server || die "server install failed" |
59 |
- |
60 |
- dodoc *.txt |
61 |
- newinitd "${FILESDIR}"/bbackupd.rc bbackupd |
62 |
- use client-only || \ |
63 |
- newinitd "${FILESDIR}"/bbstored.rc bbstored |
64 |
- |
65 |
- keepdir /etc/boxbackup |
66 |
- |
67 |
- # apparently new versions have the files in the right location, so this is redundant |
68 |
- # move executables from /usr/bin to /usr/sbin, as configuration of |
69 |
- # this is unfortunately not optimal |
70 |
- #mv "${D%/}${EPREFIX}/usr/bin" "${D%/}${EPREFIX}/usr/sbin" || die "could not move files from bin to sbin" |
71 |
-} |
72 |
- |
73 |
-pkg_preinst() { |
74 |
- if ! use client-only; |
75 |
- then |
76 |
- enewgroup bbstored |
77 |
- enewuser bbstored -1 -1 -1 bbstored |
78 |
- fi |
79 |
-} |
80 |
- |
81 |
-pkg_postinst() { |
82 |
- while read line; do elog "${line}"; done <<EOF |
83 |
-After configuring the Box Backup client and/or server, you can start |
84 |
-the daemon using the init scripts /etc/init.d/bbackupd and |
85 |
-/etc/init.d/bbstored. |
86 |
-The configuration files can be found in /etc/boxbackup |
87 |
- |
88 |
-More information about configuring the client can be found at |
89 |
-${HOMEPAGE}client.html, |
90 |
-and more information about configuring the server can be found at |
91 |
-${HOMEPAGE}server.html. |
92 |
-EOF |
93 |
- echo |
94 |
-} |