Gentoo Archives: gentoo-commits

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