diff options
author | Christian Faulhammer <opfer@gentoo.org> | 2007-09-01 19:49:14 +0000 |
---|---|---|
committer | Christian Faulhammer <opfer@gentoo.org> | 2007-09-01 19:49:14 +0000 |
commit | 19b3c03f9e591dd39a07a597f7b283862bd77b5b (patch) | |
tree | a8055c2b7812e9372efacf8b7715de4dc93c4388 /app-backup | |
parent | Taking over maintainership and version bump to 0.2.1 (diff) | |
download | gentoo-2-19b3c03f9e591dd39a07a597f7b283862bd77b5b.tar.gz gentoo-2-19b3c03f9e591dd39a07a597f7b283862bd77b5b.tar.bz2 gentoo-2-19b3c03f9e591dd39a07a597f7b283862bd77b5b.zip |
fix bug 190357, patch by John R. Graham <john_r_graham@mindspring.com>, provided on bug and Sunrise
(Portage version: 2.1.2.12)
Diffstat (limited to 'app-backup')
-rw-r--r-- | app-backup/flexbackup/ChangeLog | 10 | ||||
-rw-r--r-- | app-backup/flexbackup/files/digest-flexbackup-1.2.1-r7 | 3 | ||||
-rw-r--r-- | app-backup/flexbackup/files/flexbackup-1.2.1-afio-large-files.patch | 13 | ||||
-rw-r--r-- | app-backup/flexbackup/flexbackup-1.2.1-r7.ebuild | 76 |
4 files changed, 101 insertions, 1 deletions
diff --git a/app-backup/flexbackup/ChangeLog b/app-backup/flexbackup/ChangeLog index 2de68834f05d..23011872492c 100644 --- a/app-backup/flexbackup/ChangeLog +++ b/app-backup/flexbackup/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-backup/flexbackup # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-backup/flexbackup/ChangeLog,v 1.16 2007/07/24 07:10:12 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-backup/flexbackup/ChangeLog,v 1.17 2007/09/01 19:49:14 opfer Exp $ + +*flexbackup-1.2.1-r7 (01 Sep 2007) + + 01 Sep 2007; Christian Faulhammer <opfer@gentoo.org> + +files/flexbackup-1.2.1-afio-large-files.patch, + +flexbackup-1.2.1-r7.ebuild: + fix bug 190357, patch by John R. Graham <john_r_graham@mindspring.com>, + provided on bug and Sunrise 19 Jul 2007; John R. Graham (john_r_graham) <john_r_graham@mindspring.com> +flexbackup-1.2.1-r6.ebuild, diff --git a/app-backup/flexbackup/files/digest-flexbackup-1.2.1-r7 b/app-backup/flexbackup/files/digest-flexbackup-1.2.1-r7 new file mode 100644 index 000000000000..92deefe369f4 --- /dev/null +++ b/app-backup/flexbackup/files/digest-flexbackup-1.2.1-r7 @@ -0,0 +1,3 @@ +MD5 4955c89dbee354248f354a9bf0a480dd flexbackup-1.2.1.tar.gz 80158 +RMD160 d2a56ce6a3770498ef96ffbf75f65026b04f492c flexbackup-1.2.1.tar.gz 80158 +SHA256 58282b21985be75f1219c5ff4906d217055ed8627ea3e2ffdfe7a2393bc9d2c3 flexbackup-1.2.1.tar.gz 80158 diff --git a/app-backup/flexbackup/files/flexbackup-1.2.1-afio-large-files.patch b/app-backup/flexbackup/files/flexbackup-1.2.1-afio-large-files.patch new file mode 100644 index 000000000000..bf5ea230c85c --- /dev/null +++ b/app-backup/flexbackup/files/flexbackup-1.2.1-afio-large-files.patch @@ -0,0 +1,13 @@ +Index: flexbackup +=================================================================== +--- flexbackup (revision 808) ++++ flexbackup (working copy) +@@ -1155,7 +1155,7 @@ + $cmd .= "$::path{afio} -o "; + $cmd .= "$no_compress "; + $cmd .= "-z "; +- $cmd .= "-1 m "; ++ $cmd .= "-1 mC "; + $cmd .= "$::afio_z_flag "; + $cmd .= "$::afio_verb_flag "; + $cmd .= "$::afio_sparse_flag "; diff --git a/app-backup/flexbackup/flexbackup-1.2.1-r7.ebuild b/app-backup/flexbackup/flexbackup-1.2.1-r7.ebuild new file mode 100644 index 000000000000..a34bad2ec137 --- /dev/null +++ b/app-backup/flexbackup/flexbackup-1.2.1-r7.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/flexbackup/flexbackup-1.2.1-r7.ebuild,v 1.1 2007/09/01 19:49:14 opfer Exp $ + +inherit eutils versionator + +DESCRIPTION="Flexible backup script using perl" +HOMEPAGE="http://flexbackup.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~x86" +IUSE="" + +RDEPEND="app-arch/mt-st" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Patch from upstream adds optional lzma compression mode. + epatch "${FILESDIR}"/${P}-lzma.patch + + # Fix bug #116510: cannot back up remote machines after patch CAN-2005-2965 + epatch "${FILESDIR}"/${P}-secure-tempfile.patch + + # Fix bug #96334: incorrectly determines bash 3.x to be bash 1.x + epatch "${FILESDIR}"/${P}-bash.patch + + # Fix bug #171205: specifies wrong command line option for mbuffer / other small enhancements + epatch "${FILESDIR}"/${P}-mbuffer-switch.patch + + # Fix bug #173672: remote host buffer test is broken + epatch "${FILESDIR}"/${P}-remote-bufftest.patch + + # Fix bug #178126: subtle subtree pruning issue / other small issues + epatch "${FILESDIR}"/${P}-prune.patch + + # Fix bug #184560: fails to back up targets with spaces in their names in some modes + epatch "${FILESDIR}"/${P}-spaces-in-filenames.patch + + # Fix bug #190357: fails on very large files with afio back end + epatch "${FILESDIR}"/${P}-afio-large-files.patch + + sed -i \ + -e '/^\$type = /s:afio:tar:' \ + -e "/^\$buffer = /s:'buffer':'false':" \ + flexbackup.conf \ + || die "Failed to set modified configuration defaults." + + MY_PV=$(replace_all_version_separators '_') + sed -i \ + -e "/^[[:blank:]]*my \$ver = /s:${MY_PV}:&-${PR}:" \ + flexbackup \ + || die "Failed to apply ebuild revision to internal version string." +} + +src_install() { + dodir /etc /usr/bin /usr/share/man/man{1,5} + emake install \ + PREFIX="${D}"/usr \ + CONFFILE="${D}"/etc/flexbackup.conf \ + || die "emake install failed" + + dodoc CHANGES CREDITS README TODO + dohtml faq.html +} + +pkg_postinst() { + elog "Please edit your /etc/flexbackup.conf file to suit your" + elog "needs. If you are using devfs, the tape device should" + elog "be set to /dev/tapes/tape0/mtn. If you need to use any" + elog "archiver other than tar, please emerge it separately." +} |