Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-backup/flexbackup: ChangeLog flexbackup-1.2.1-r10.ebuild
Date: Sat, 09 Oct 2010 12:03:22
Message-Id: 20101009112548.EC3722004C@flycatcher.gentoo.org
1 graaff 10/10/09 11:25:48
2
3 Modified: ChangeLog
4 Added: flexbackup-1.2.1-r10.ebuild
5 Log:
6 Update patch for perl 5.12 warnings as suggested by Paul Colquhoun in bug 333909.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.32 app-backup/flexbackup/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/flexbackup/ChangeLog?rev=1.32&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/flexbackup/ChangeLog?rev=1.32&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/flexbackup/ChangeLog?r1=1.31&r2=1.32
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-backup/flexbackup/ChangeLog,v
19 retrieving revision 1.31
20 retrieving revision 1.32
21 diff -u -r1.31 -r1.32
22 --- ChangeLog 14 Aug 2010 08:44:41 -0000 1.31
23 +++ ChangeLog 9 Oct 2010 11:25:30 -0000 1.32
24 @@ -1,6 +1,14 @@
25 # ChangeLog for app-backup/flexbackup
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-backup/flexbackup/ChangeLog,v 1.31 2010/08/14 08:44:41 graaff Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-backup/flexbackup/ChangeLog,v 1.32 2010/10/09 11:25:30 graaff Exp $
29 +
30 +*flexbackup-1.2.1-r10 (09 Oct 2010)
31 +
32 + 09 Oct 2010; Hans de Graaff <graaff@g.o>
33 + +flexbackup-1.2.1-r10.ebuild,
34 + +files/flexbackup-1.2.1-perl-5.12-deprecation-warning2.patch:
35 + Update patch for perl 5.12 warnings as suggested by Paul Colquhoun in bug
36 + 333909.
37
38 *flexbackup-1.2.1-r9 (14 Aug 2010)
39
40
41
42
43 1.1 app-backup/flexbackup/flexbackup-1.2.1-r10.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/flexbackup/flexbackup-1.2.1-r10.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/flexbackup/flexbackup-1.2.1-r10.ebuild?rev=1.1&content-type=text/plain
47
48 Index: flexbackup-1.2.1-r10.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-backup/flexbackup/flexbackup-1.2.1-r10.ebuild,v 1.1 2010/10/09 11:25:34 graaff Exp $
53
54 inherit eutils versionator
55
56 DESCRIPTION="Flexible backup script using perl"
57 HOMEPAGE="http://flexbackup.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~hppa ~ppc ~x86"
63 IUSE=""
64
65 RDEPEND="app-arch/mt-st"
66 DEPEND="${RDEPEND}"
67
68 src_unpack() {
69 unpack ${A}
70 cd "${S}"
71
72 # Patch from upstream adds optional lzma compression mode.
73 epatch "${FILESDIR}"/${P}-lzma.patch
74
75 # Fix bug #116510: cannot back up remote machines after patch CAN-2005-2965
76 epatch "${FILESDIR}"/${P}-secure-tempfile.patch
77
78 # Fix bug #96334: incorrectly determines bash 3.x to be bash 1.x
79 epatch "${FILESDIR}"/${P}-bash.patch
80
81 # Fix bug #171205: specifies wrong command line option for mbuffer / other small enhancements
82 epatch "${FILESDIR}"/${P}-mbuffer-switch.patch
83
84 # Fix bug #173672: remote host buffer test is broken
85 epatch "${FILESDIR}"/${P}-remote-bufftest.patch
86
87 # Fix bug #178126: subtle subtree pruning issue / other small issues
88 epatch "${FILESDIR}"/${P}-prune.patch
89
90 # Fix bug #184560: fails to back up targets with spaces in their names in some modes
91 epatch "${FILESDIR}"/${P}-spaces-in-filenames.patch
92
93 # Fix bug #190357: fails on very large files with afio back end
94 epatch "${FILESDIR}"/${P}-afio-large-files.patch
95
96 # Fix bug #235416: prevent normal status message during conf file read from going to stderr
97 epatch "${FILESDIR}"/${P}-quieten.patch
98
99 # Fix bug #331673: perl 5.12 deprecation warnings.
100 epatch "${FILESDIR}"/${P}-perl-5.12-deprecation-warning2.patch
101
102 sed -i \
103 -e '/^\$type = /s:afio:tar:' \
104 -e "/^\$buffer = /s:'buffer':'false':" \
105 flexbackup.conf \
106 || die "Failed to set modified configuration defaults."
107
108 MY_PV=$(replace_all_version_separators '_')
109 sed -i \
110 -e "/^[[:blank:]]*my \$ver = /s:${MY_PV}:&-${PR}:" \
111 flexbackup \
112 || die "Failed to apply ebuild revision to internal version string."
113 }
114
115 src_install() {
116 dodir /etc /usr/bin /usr/share/man/man{1,5}
117 emake install \
118 PREFIX="${D}"/usr \
119 CONFFILE="${D}"/etc/flexbackup.conf \
120 || die "emake install failed"
121
122 dodoc CHANGES CREDITS README TODO
123 dohtml faq.html
124 }
125
126 pkg_postinst() {
127 elog "Please edit your /etc/flexbackup.conf file to suit your"
128 elog "needs. If you are using devfs, the tape device should"
129 elog "be set to /dev/tapes/tape0/mtn. If you need to use any"
130 elog "archiver other than tar, please emerge it separately."
131 }