Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-backup/boxbackup: boxbackup-0.11_rc8.ebuild ChangeLog
Date: Fri, 07 May 2010 06:23:43
Message-Id: 20100507062337.D3A8328867@corvid.gentoo.org
1 jer 10/05/07 06:23:37
2
3 Modified: ChangeLog
4 Added: boxbackup-0.11_rc8.ebuild
5 Log:
6 Version bump (bug #205558).
7 (Portage version: 2.2_rc67/cvs/Linux i686)
8
9 Revision Changes Path
10 1.21 app-backup/boxbackup/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/boxbackup/ChangeLog?rev=1.21&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/boxbackup/ChangeLog?rev=1.21&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/boxbackup/ChangeLog?r1=1.20&r2=1.21
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-backup/boxbackup/ChangeLog,v
19 retrieving revision 1.20
20 retrieving revision 1.21
21 diff -u -r1.20 -r1.21
22 --- ChangeLog 3 Jan 2010 00:06:09 -0000 1.20
23 +++ ChangeLog 7 May 2010 06:23:37 -0000 1.21
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-backup/boxbackup
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-backup/boxbackup/ChangeLog,v 1.20 2010/01/03 00:06:09 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-backup/boxbackup/ChangeLog,v 1.21 2010/05/07 06:23:37 jer Exp $
29 +
30 +*boxbackup-0.11_rc8 (07 May 2010)
31 +
32 + 07 May 2010; Jeroen Roovers <jer@g.o> +boxbackup-0.11_rc8.ebuild,
33 + +files/boxbackup-0.11_rc8-testbbackupd.patch:
34 + Version bump (bug #205558).
35
36 03 Jan 2010; Diego E. Pettenò <flameeyes@g.o>
37 boxbackup-0.10.ebuild:
38
39
40
41 1.1 app-backup/boxbackup/boxbackup-0.11_rc8.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/boxbackup/boxbackup-0.11_rc8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/boxbackup/boxbackup-0.11_rc8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: boxbackup-0.11_rc8.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-backup/boxbackup/boxbackup-0.11_rc8.ebuild,v 1.1 2010/05/07 06:23:37 jer Exp $
51
52 EAPI="2"
53
54 inherit eutils autotools
55
56 DESCRIPTION="A completely automatic on-line backup system"
57 HOMEPAGE="http://boxbackup.org/"
58 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
59 SRC_URI="http://boxbackup.org/svn/box/packages/${P/_/}.tgz"
60 LICENSE="BSD"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86 ~ppc-macos ~x86-macos"
63 IUSE="client-only"
64 DEPEND="sys-libs/zlib
65 sys-libs/db
66 >=dev-libs/openssl-0.9.7
67 >=dev-lang/perl-5.6"
68 RDEPEND="${DEPEND}
69 virtual/mta"
70
71 S="${WORKDIR}/${P/_/}"
72
73 src_prepare() {
74 epatch "${FILESDIR}"/${P}-testbbackupd.patch
75 }
76
77 src_compile() {
78 # bug #299411
79 emake -j1 || die
80 }
81
82 src_install() {
83 make DESTDIR="${D}" install || die "install failed"
84 make DESTDIR="${D}" install-backup-client || die "client install failed"
85 use client-only || \
86 make DESTDIR="${D}" install-backup-server || die "server install failed"
87
88 dodoc *.txt
89 newinitd "${FILESDIR}"/bbackupd.rc bbackupd
90 use client-only || \
91 newinitd "${FILESDIR}"/bbstored.rc bbstored
92
93 keepdir /etc/boxbackup
94
95 # move executables from /usr/bin to /usr/sbin, as configuration of
96 # this is unfortunately not optimal
97 mv "${D%/}${EPREFIX}/usr/bin" "${D%/}${EPREFIX}/usr/sbin" || die "could not move files from bin to sbin"
98 }
99
100 pkg_preinst() {
101 if ! use client-only;
102 then
103 enewgroup bbstored
104 enewuser bbstored -1 -1 -1 bbstored
105 fi
106 }
107
108 pkg_postinst() {
109 while read line; do elog "${line}"; done <<EOF
110 After configuring the Box Backup client and/or server, you can start
111 the daemon using the init scripts /etc/init.d/bbackupd and
112 /etc/init.d/bbstored.
113 The configuration files can be found in /etc/boxbackup
114
115 More information about configuring the client can be found at
116 ${HOMEPAGE}client.html,
117 and more information about configuring the server can be found at
118 ${HOMEPAGE}server.html.
119 EOF
120 echo
121 }