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