1 |
graaff 08/08/27 18:05:59 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: flexbackup-1.2.1-r8.ebuild |
5 |
Log: |
6 |
Fix bug#235416 |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.23 app-backup/flexbackup/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/flexbackup/ChangeLog?rev=1.23&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/flexbackup/ChangeLog?rev=1.23&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/flexbackup/ChangeLog?r1=1.22&r2=1.23 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-backup/flexbackup/ChangeLog,v |
19 |
retrieving revision 1.22 |
20 |
retrieving revision 1.23 |
21 |
diff -u -r1.22 -r1.23 |
22 |
--- ChangeLog 27 Aug 2008 17:58:12 -0000 1.22 |
23 |
+++ ChangeLog 27 Aug 2008 18:05:58 -0000 1.23 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for app-backup/flexbackup |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-backup/flexbackup/ChangeLog,v 1.22 2008/08/27 17:58:12 graaff Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-backup/flexbackup/ChangeLog,v 1.23 2008/08/27 18:05:58 graaff Exp $ |
29 |
+ |
30 |
+*flexbackup-1.2.1-r8 (27 Aug 2008) |
31 |
+ |
32 |
+ 27 Aug 2008; Hans de Graaff <graaff@g.o> |
33 |
+ +files/flexbackup-1.2.1-quieten.patch, +flexbackup-1.2.1-r8.ebuild: |
34 |
+ Quieten flexbackup: don't write normal status message to stderr, fixing bug |
35 |
+ 235416, patch by John R. Graham <john_r_graham@××××××××××.com>. |
36 |
|
37 |
27 Aug 2008; Hans de Graaff <graaff@g.o> |
38 |
-flexbackup-1.2.1-r2.ebuild, -flexbackup-1.2.1-r5.ebuild, |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-backup/flexbackup/flexbackup-1.2.1-r8.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/flexbackup/flexbackup-1.2.1-r8.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-backup/flexbackup/flexbackup-1.2.1-r8.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: flexbackup-1.2.1-r8.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 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-r8.ebuild,v 1.1 2008/08/27 18:05:58 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 |
sed -i \ |
99 |
-e '/^\$type = /s:afio:tar:' \ |
100 |
-e "/^\$buffer = /s:'buffer':'false':" \ |
101 |
flexbackup.conf \ |
102 |
|| die "Failed to set modified configuration defaults." |
103 |
|
104 |
MY_PV=$(replace_all_version_separators '_') |
105 |
sed -i \ |
106 |
-e "/^[[:blank:]]*my \$ver = /s:${MY_PV}:&-${PR}:" \ |
107 |
flexbackup \ |
108 |
|| die "Failed to apply ebuild revision to internal version string." |
109 |
} |
110 |
|
111 |
src_install() { |
112 |
dodir /etc /usr/bin /usr/share/man/man{1,5} |
113 |
emake install \ |
114 |
PREFIX="${D}"/usr \ |
115 |
CONFFILE="${D}"/etc/flexbackup.conf \ |
116 |
|| die "emake install failed" |
117 |
|
118 |
dodoc CHANGES CREDITS README TODO |
119 |
dohtml faq.html |
120 |
} |
121 |
|
122 |
pkg_postinst() { |
123 |
elog "Please edit your /etc/flexbackup.conf file to suit your" |
124 |
elog "needs. If you are using devfs, the tape device should" |
125 |
elog "be set to /dev/tapes/tape0/mtn. If you need to use any" |
126 |
elog "archiver other than tar, please emerge it separately." |
127 |
} |