diff options
author | Tom Hendrikx (whyscream) <tom@whyscream.net> | 2009-03-04 20:45:38 +0000 |
---|---|---|
committer | Tom Hendrikx (whyscream) <tom@whyscream.net> | 2009-03-04 20:45:38 +0000 |
commit | 86225d6fc7707f5a8dc3d6eb127ecb6217a79bdf (patch) | |
tree | 918db118956414341885ac932c9df73d47fbf6c4 /app-backup/rdup | |
parent | games-emulation/lxdream: added missing eutils inherit (diff) | |
download | sunrise-reviewed-86225d6fc7707f5a8dc3d6eb127ecb6217a79bdf.tar.gz sunrise-reviewed-86225d6fc7707f5a8dc3d6eb127ecb6217a79bdf.tar.bz2 sunrise-reviewed-86225d6fc7707f5a8dc3d6eb127ecb6217a79bdf.zip |
app-backup/rdup: version bump
svn path=/sunrise/; revision=8016
Diffstat (limited to 'app-backup/rdup')
-rw-r--r-- | app-backup/rdup/ChangeLog | 5 | ||||
-rw-r--r-- | app-backup/rdup/Manifest | 9 | ||||
-rw-r--r-- | app-backup/rdup/files/rdup-0.9.0-configure-ac.patch | 37 | ||||
-rw-r--r-- | app-backup/rdup/metadata.xml | 3 | ||||
-rw-r--r-- | app-backup/rdup/rdup-0.9.0.ebuild (renamed from app-backup/rdup/rdup-0.7.1.ebuild) | 21 |
5 files changed, 69 insertions, 6 deletions
diff --git a/app-backup/rdup/ChangeLog b/app-backup/rdup/ChangeLog index 21716d8eb..917513589 100644 --- a/app-backup/rdup/ChangeLog +++ b/app-backup/rdup/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 04 Mar 2009; Tom Hendrikx (whyscream) <tom@whyscream.net> + -rdup-0.7.1.ebuild, +rdup-0.9.0.ebuild, + +files/rdup-0.9.0-configure-ac.patch, metadata.xml: + version bump + 16 Feb 2009; Tom Hendrikx (whyscream) <tom@whyscream.net> -rdup-0.7.0.ebuild, +rdup-0.7.1.ebuild: version bump diff --git a/app-backup/rdup/Manifest b/app-backup/rdup/Manifest index d51210aa6..218e0d98f 100644 --- a/app-backup/rdup/Manifest +++ b/app-backup/rdup/Manifest @@ -1,4 +1,5 @@ -DIST rdup-0.7.1.tar.bz2 113847 RMD160 37dd2bf7c80360d0a08c8593ef492e3c7381c864 SHA1 5c7764fbb84a8a4d34fb88801be4fa8773822893 SHA256 f2303e472967dcdad8f9dce1f8ef9da2ea8d3c39b280c2fe408cf8a1ca4eaab9 -EBUILD rdup-0.7.1.ebuild 665 RMD160 5e6210c1dac8ffaf45dcb558b0488a6049377122 SHA1 1a279744a51ef9fefbb9c0d86ee1df609ca9f6b5 SHA256 3ac6d519809804c715b5f306b851db3ddc0ec364d3d8dc2dfa10a334b43f843b -MISC ChangeLog 489 RMD160 b3b35febf36f1482ba84835f32a5b48728eac5f6 SHA1 69bc3946f8742729239b389ff34d03e565c2a7f6 SHA256 632bd6d678878052e35d3ebfcc89b5db295c31146a128124b40eb7dc0e83be7e -MISC metadata.xml 171 RMD160 ed284df01c230fc7990a6b5888b39166d23f29ba SHA1 f3d64a69044b710e23fb874b3ee4cd338858c8b4 SHA256 a7b30fbacd0e4c312c07a3efac112a3794c81d134442d8104325734d03425adf +AUX rdup-0.9.0-configure-ac.patch 1024 RMD160 9736a9075283c065a7f8a74c2921a92b4482d1c9 SHA1 059b2acd80e27efbf5ac27388245b5ea5ee0d165 SHA256 8497a87db36e1b7069b848c9d7c2cef15f525623c36be673e92939771fa89244 +DIST rdup-0.9.0.tar.bz2 119511 RMD160 50626cab85a2e123a9b940885f67ad3212345122 SHA1 d47f316160ddb3ad1abc2cc3216ca362d6730cde SHA256 f3bba1ce643ecb4b993ea1fbe0c53e69a54db77a7cc504c3874ba6e885720d06 +EBUILD rdup-0.9.0.ebuild 938 RMD160 ffcbb5210b73e04f9dd76c5fd848844df2ff4497 SHA1 4a6cfeb42ce377f73868e8e37ba188fef9b8d8c8 SHA256 207f43fbeb154f59945c6d8acd5048775932df0b896e3ba7a8dda75e989be206 +MISC ChangeLog 661 RMD160 d75dba1653e814d0c871be89afee52b8063f80d3 SHA1 6dfa970f15f81f32ad85557b37d5a8b0f3e085c6 SHA256 0a18c0685bf762fd9b5c0ca2adbcc1b5f8a4c7a7c934b15b944f9a98b6271db6 +MISC metadata.xml 311 RMD160 bd2730fcb12afa54b231179d04db29c020eaa06a SHA1 f0b755310ec5ffebddf66607044196d242360e3f SHA256 edb578523d0416adfd8c512e0ed1b5cd13352f72ee9e830485cef460ea33dbe4 diff --git a/app-backup/rdup/files/rdup-0.9.0-configure-ac.patch b/app-backup/rdup/files/rdup-0.9.0-configure-ac.patch new file mode 100644 index 000000000..7b39c9965 --- /dev/null +++ b/app-backup/rdup/files/rdup-0.9.0-configure-ac.patch @@ -0,0 +1,37 @@ +--- + configure.ac | 17 +++++++++++++---- + 1 files changed, 13 insertions(+), 4 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 1a85ace..d8e5cd4 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -25,11 +25,20 @@ AC_CHECK_HEADERS(sys/param.h sys/mount.h,,, + ] + ]) + +-AC_CHECK_LIB(nettle, nettle_aes_encrypt, ,NETTLE_L="no") +-if test "$NETTLE_L" == "no"; then +- AC_MSG_WARN([** libnettle not found; not using crypto in rdup-tr.]) ++AC_MSG_CHECKING([whether to enable nettle]) ++AC_ARG_WITH(nettle, ++ [ --with-nettle enable nettle support], ++ with_nettle=$withval, ++ with_nettle=yes) ++AC_MSG_RESULT($with_nettle) ++ ++if test "$with_nettle" != "no"; then ++ AC_CHECK_LIB(nettle, nettle_aes_encrypt, ,NETTLE_L="no") ++ if test "$NETTLE_L" == "no"; then ++ AC_MSG_WARN([** libnettle not found; not using crypto in rdup-tr.]) ++ fi ++ AC_SUBST(NETTLE_L) + fi +-AC_SUBST(NETTLE_L) + + AC_CHECK_LIB(archive, archive_entry_copy_symlink, ,ARCHIVE_L="no") + if test "$ARCHIVE_L" == "no"; then +-- +1.6.0.6 + + diff --git a/app-backup/rdup/metadata.xml b/app-backup/rdup/metadata.xml index 6f1d493c5..bb28715d5 100644 --- a/app-backup/rdup/metadata.xml +++ b/app-backup/rdup/metadata.xml @@ -2,4 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>maintainer-wanted</herd> + <use> + <flag name="path-encryption">Enables support for AES encryption of paths (not file contents) in the backup location</flag> + </use> </pkgmetadata> diff --git a/app-backup/rdup/rdup-0.7.1.ebuild b/app-backup/rdup/rdup-0.9.0.ebuild index 56f0a99ca..0d0f264e8 100644 --- a/app-backup/rdup/rdup-0.7.1.ebuild +++ b/app-backup/rdup/rdup-0.9.0.ebuild @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ +inherit autotools eutils + DESCRIPTION="rdup is a utility inspired by rsync and the plan9 way of doing backups." HOMEPAGE="http://www.miek.nl/projects/rdup" SRC_URI="http://www.miek.nl/projects/${PN}/${P}.tar.bz2" @@ -9,13 +11,28 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="path-encryption" DEPEND="app-arch/libarchive dev-libs/glib - dev-libs/libpcre" + dev-libs/libpcre + path-encryption? ( dev-libs/nettle )" RDEPEND=${DEPEND} +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-configure-ac.patch" + + eautoreconf +} + +src_compile() { + econf $(use_with path-encryption nettle ) + + emake || die "emake failed" +} + src_install() { emake DESTDIR="${D}" install || die "emake install failed" |