diff options
author | Peter Volkov <pva@gentoo.org> | 2011-05-23 08:01:26 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2011-05-23 08:01:26 +0000 |
commit | b76ac43322d6231e0c1b7fc4fb137b12c4a152bc (patch) | |
tree | 28acc2371220f97523048bf75645b7a60aa2f5c8 /app-arch | |
parent | Fix libutp related build issue, bug #368187 thank thomasg for this fix. Drop ... (diff) | |
download | historical-b76ac43322d6231e0c1b7fc4fb137b12c4a152bc.tar.gz historical-b76ac43322d6231e0c1b7fc4fb137b12c4a152bc.tar.bz2 historical-b76ac43322d6231e0c1b7fc4fb137b12c4a152bc.zip |
Version bump. Fixes build with USE=static. Fixes dodoc called on a directory, #367885 thank Diego Elio Pettenò for report.
Package-Manager: portage-2.1.9.49/cvs/Linux x86_64
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/dump/ChangeLog | 13 | ||||
-rw-r--r-- | app-arch/dump/Manifest | 17 | ||||
-rw-r--r-- | app-arch/dump/dump-0.4.43.ebuild | 64 | ||||
-rw-r--r-- | app-arch/dump/files/dump-0.4b43-pkg_config4blkid.patch | 27 | ||||
-rw-r--r-- | app-arch/dump/files/dump-0.4b43-pkg_config4crypto.patch | 50 | ||||
-rw-r--r-- | app-arch/dump/files/dump-0.4b43-pkg_config4ext2fs.patch | 40 |
6 files changed, 198 insertions, 13 deletions
diff --git a/app-arch/dump/ChangeLog b/app-arch/dump/ChangeLog index 3087c2d8da7c..ba7021689340 100644 --- a/app-arch/dump/ChangeLog +++ b/app-arch/dump/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for app-arch/dump -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/dump/ChangeLog,v 1.60 2009/09/30 03:14:08 vapier Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/dump/ChangeLog,v 1.61 2011/05/23 08:01:26 pva Exp $ + +*dump-0.4.43 (23 May 2011) + + 23 May 2011; Peter Volkov <pva@gentoo.org> + +files/dump-0.4b43-pkg_config4blkid.patch, + +files/dump-0.4b43-pkg_config4crypto.patch, + +files/dump-0.4b43-pkg_config4ext2fs.patch, +dump-0.4.43.ebuild: + Version bump. Fixes build with USE=static. Fixes dodoc called on a directory, + #367885 thank Diego Elio Pettenò for report. *dump-0.4.42 (30 Sep 2009) diff --git a/app-arch/dump/Manifest b/app-arch/dump/Manifest index d31bb219246c..cd8245562f5a 100644 --- a/app-arch/dump/Manifest +++ b/app-arch/dump/Manifest @@ -1,16 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +AUX dump-0.4b43-pkg_config4blkid.patch 796 RMD160 5d99f420a3ab38d050b7f60655130f4fbd775c8e SHA1 0cbfa6f0d7c513110cc2fad499c6a35cd6265bff SHA256 59b0b2a70cae1d6fcaf13330ef12b26afff291d691439b502a723ce28ede83d5 +AUX dump-0.4b43-pkg_config4crypto.patch 1186 RMD160 1f3f998e3ce81ac4681ff1b8c28f94be365f3511 SHA1 e468b6c64479b15ac73d6a3af5cde24fbd928ed2 SHA256 b684000795e2f261cce4bb5bf8c5a1140ccfee306326049a0d040e627d475b93 +AUX dump-0.4b43-pkg_config4ext2fs.patch 1528 RMD160 563a90550bdb06412d4048fe36e065b3853a3d81 SHA1 ecafba8909606eeca770fcd25ffa3dc31ca7b575 SHA256 f31e87810d6f6928315899e34148ecb666a20703b96ba60b8ae9da5e03df7720 DIST dump-0.4b41.tar.gz 283204 RMD160 5b2d1594eb390f4d8df6218b42164b4449642a0a SHA1 dc6315d81bc4350bc556e061696a17b16817af16 SHA256 fc03fd74e4d63815e9eda48a069d69f950c44f298830d28eb03e141df6aad4f5 DIST dump-0.4b42.tar.gz 288636 RMD160 eb22f3360ea0290c3e398c7dbbec4377786755b0 SHA1 73c4995938ab80c1b959f29afe56c21484a38582 SHA256 801def8fb22eddf89801c26a8fcb581d0389a5ad31f2f1d17e5a94fe9e65ac78 +DIST dump-0.4b43.tar.gz 290280 RMD160 f6b145722f0a36f1fc4ce81e940c708c78ddc7a5 SHA1 09dfb24ab3093e95d6d2d57633756d2e2576763b SHA256 424fea1f5f37d01c3fcae2ef23db93f7cce78b072461f74f75f3597df531fd4f EBUILD dump-0.4.41.ebuild 1537 RMD160 7520da93f9a56f354a6d3ad7af48313b51b52114 SHA1 d997db65259b34fa11e62e5b9a5d6bee62fd3d20 SHA256 1f938f6d8c803d887c84db77386ec99425a6878301c83be55c659fd351d465ac EBUILD dump-0.4.42.ebuild 1654 RMD160 a09ffd1855f70fc1bb54fe22d686515fd12ccfc8 SHA1 12bded15141a8d0f213b2ea6e7f3102c18b96961 SHA256 227b1628059896faa8cde334fb3e26b5fe9cf2b0ac17caa7ff9ffd6de0cbb429 -MISC ChangeLog 8122 RMD160 f0c201ee38f19a4bc9f32ec01c24f4f6373855b2 SHA1 3f016f889fca4df7953f21080345e825d9c38ef7 SHA256 d3800ffd81eded68c1e132ca21cec6a35e636eb503fb5fb6fc1c39019abe892e +EBUILD dump-0.4.43.ebuild 1846 RMD160 e7f03a829f5486801e7cc84fd1ac2a894ab56dbd SHA1 d6e9ec9b325748d7102bb7ec76246bc6ca124f88 SHA256 391b6d60e0b768b7961aeba9b077ca6865e0004df52776b522403fbb1b5c7d67 +MISC ChangeLog 8479 RMD160 eb3e04939b2b30d6e6ae1ab6bde2410288545d2a SHA1 2aff1b18da25d0dc392bcbe667deb5e5fe3bb41c SHA256 88aea84c5a3c352b00f19635e60cb2966475aa3032e52dbfd901ea17211d1fd3 MISC metadata.xml 329 RMD160 d654ea69c621fde34b92f1528f756f6fcefa2667 SHA1 a7b02b19545e8f111ff22182e539db053cbd2d10 SHA256 5d3f3df98b135c307ca92e503e18629f96427b151d669ca3b150da7038eaee2f ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) - -iEUEARECAAYFAkrCzQYACgkQlPl3HsVfCDrFyACeJlq5G3JwinzLd3Dvn6gLh94k -97wAliU38T3Xtrg5u/gnncdXXFhK8zY= -=azmJ ------END PGP SIGNATURE----- diff --git a/app-arch/dump/dump-0.4.43.ebuild b/app-arch/dump/dump-0.4.43.ebuild new file mode 100644 index 000000000000..9bc31df3cef1 --- /dev/null +++ b/app-arch/dump/dump-0.4.43.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/dump/dump-0.4.43.ebuild,v 1.1 2011/05/23 08:01:26 pva Exp $ + +EAPI="4" +inherit eutils autotools + +MY_P=${P/4./4b} +S=${WORKDIR}/${MY_P} +DESCRIPTION="Dump/restore ext2fs backup utilities" +HOMEPAGE="http://dump.sourceforge.net/" +SRC_URI="mirror://sourceforge/dump/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug ermt readline selinux static" + +RDEPEND=">=sys-fs/e2fsprogs-1.27 + >=app-arch/bzip2-1.0.2 + >=sys-libs/zlib-1.1.4 + ermt? ( dev-libs/openssl ) + readline? ( sys-libs/readline + sys-libs/ncurses + static? ( sys-libs/ncurses[static-libs] ) )" +DEPEND="${RDEPEND} + virtual/os-headers" + +src_prepare() { + # https://sourceforge.net/tracker/?func=detail&aid=3306159&group_id=1306&atid=301306 + epatch "${FILESDIR}/dump-0.4b43-pkg_config4blkid.patch" + epatch "${FILESDIR}/dump-0.4b43-pkg_config4ext2fs.patch" + epatch "${FILESDIR}/dump-0.4b43-pkg_config4crypto.patch" + eautoreconf +} + +src_configure() { + econf \ + --with-dumpdatespath=/etc/dumpdates \ + --with-{bin,man}owner=root \ + --with-{bin,man}grp=root \ + --enable-largefile \ + $(use_enable selinux transselinux) \ + $(use_enable ermt) \ + $(use_enable static) \ + $(use_enable readline) \ + $(use_enable debug) +} + +src_install() { + # built on old autotools, no DESTDIR support + einstall MANDIR="${D}"/usr/share/man/man8 + mv "${ED}"/usr/sbin/{,dump-}rmt || die + mv "${ED}"/usr/share/man/man8/{,dump-}rmt.8 || die + use ermt && newsbin rmt/ermt dump-ermt + + dodoc CHANGES KNOWNBUGS MAINTAINERS README REPORTING-BUGS THANKS TODO + dodoc -r examples/* +} + +pkg_postinst() { + ewarn "app-arch/dump installs 'rmt' as 'dump-rmt'." + ewarn "This is to avoid conflicts with app-arch/tar 'rmt'." +} diff --git a/app-arch/dump/files/dump-0.4b43-pkg_config4blkid.patch b/app-arch/dump/files/dump-0.4b43-pkg_config4blkid.patch new file mode 100644 index 000000000000..ad109189ea31 --- /dev/null +++ b/app-arch/dump/files/dump-0.4b43-pkg_config4blkid.patch @@ -0,0 +1,27 @@ +=== modified file 'configure.in' +--- configure.in 2011-05-20 04:40:59 +0000 ++++ configure.in 2011-05-20 05:12:18 +0000 +@@ -465,11 +465,17 @@ + dnl Check for blkid headers libraries + dnl + AC_CHECK_HEADER(blkid/blkid.h, [blkid_h=yes], [blkid_h=no], [-]) +-AC_CHECK_LIB(blkid, blkid_get_devname, [blkid_lib=yes], [blkid_lib=no], [-luuid]) +-if test "$blkid_h" = yes -a "$blkid_lib" = yes; then +- AC_DEFINE([HAVE_BLKID],1,[Define this if you have the blkid library.]) +- BLKID="-lblkid -luuid" +-fi ++PKG_CHECK_EXISTS([blkid], ++ [ ++ if test -n $STATIC ; then ++ BLKID=`$PKG_CONFIG --libs --static blkid` ++ else ++ BLKID=`$PKG_CONFIG --libs blkid` ++ fi ++ if test "$blkid_h" = yes ; then ++ AC_DEFINE([HAVE_BLKID],1,[Define this if you have the blkid library.]) ++ fi ++ ],[BLKID=""]) + AC_SUBST(BLKID) + + dnl + diff --git a/app-arch/dump/files/dump-0.4b43-pkg_config4crypto.patch b/app-arch/dump/files/dump-0.4b43-pkg_config4crypto.patch new file mode 100644 index 000000000000..d126cf150039 --- /dev/null +++ b/app-arch/dump/files/dump-0.4b43-pkg_config4crypto.patch @@ -0,0 +1,50 @@ +=== modified file 'configure.in' +--- configure.in 2011-05-20 09:47:25 +0000 ++++ configure.in 2011-05-20 09:51:37 +0000 +@@ -113,7 +113,6 @@ + if test "$enableval" = "no" + then + ERMT="" +- CRYPTO="" + echo "Not compiling ermt" + else + if test "$RMTDIR" = "" +@@ -121,16 +120,13 @@ + AC_MSG_ERROR(ermt requires --enable-rmt) + fi + ERMT="ermt" +- CRYPTO="-lcrypto" + echo "Compiling ermt" + fi + , + ERMT="" +-CRYPTO="" + echo "Not compiling ermt by default" + ) + AC_SUBST(ERMT) +-AC_SUBST(CRYPTO) + + dnl + dnl Handle --enable-kerberos +@@ -600,10 +596,19 @@ + if test "$ERMT" != ""; then + AC_CHECK_HEADER(openssl/evp.h, [evp_h=yes], [evp_h=no]) + AC_CHECK_LIB(crypto, EVP_CIPHER_CTX_set_padding, [crypto_lib=yes], [crypto_lib=no]) +- if test "$evp_h" = no -o "$crypto_lib" = no; then ++ PKG_CHECK_EXISTS([libcrypto], ++ [ ++ if test -n $STATIC ; then ++ CRYPTO=`$PKG_CONFIG --libs --static libcrypto` ++ else ++ CRYPTO=`$PKG_CONFIG --libs libcrypto` ++ fi ++ ],[CRYPTO=""]) ++ if test "$evp_h" = no -o "x$CRYPTO" = "x"; then + AC_MSG_ERROR(You need to install the OpenSSL library (version 0.9.7a or later), or configure without --enable-ermt) + fi + fi ++AC_SUBST(CRYPTO) + + dnl + dnl Check for types + diff --git a/app-arch/dump/files/dump-0.4b43-pkg_config4ext2fs.patch b/app-arch/dump/files/dump-0.4b43-pkg_config4ext2fs.patch new file mode 100644 index 000000000000..11ccab9ca20d --- /dev/null +++ b/app-arch/dump/files/dump-0.4b43-pkg_config4ext2fs.patch @@ -0,0 +1,40 @@ +=== modified file 'MCONFIG.in' +--- MCONFIG.in 2011-05-20 04:40:59 +0000 ++++ MCONFIG.in 2011-05-20 06:57:11 +0000 +@@ -32,7 +32,7 @@ + GINC= -I$(top_builddir) -I$(top_srcdir)/compat/include + # indicate where the ext2fs library can be found (this is not needed if you + # have run `make install-libs' in the e2fsprogs source directory). +-#GINC+= -I/usr/src/e2fsprogs-0.5c/lib ++GINC+= @EXT2FS_CFLAGS@ + + # + # Global libraries +@@ -40,7 +40,7 @@ + # indicate where the ext2fs library can be found (this is not needed if you + # have run `make install-libs' in the e2fsprogs source directory). + #GLIBDIR= -L/usr/src/e2fsprogs-0.5c/lib +-GLIBS= $(GLIBDIR) -L../compat/lib -lcompat -lext2fs -lcom_err ++GLIBS= $(GLIBDIR) -L../compat/lib -lcompat @EXT2FS_LIBS@ + + # + # Definitions (don't change them unless you know what you are doing) + +=== modified file 'configure.in' +--- configure.in 2011-05-20 05:16:23 +0000 ++++ configure.in 2011-05-20 07:01:17 +0000 +@@ -411,8 +411,11 @@ + dnl Check for Ext2fs headers and libraries + dnl + AC_CHECK_HEADER(ext2fs/ext2fs.h, [ext2fs_h=yes], [ext2fs_h=no], [-]) +-AC_CHECK_LIB(ext2fs, ext2fs_open, [ext2fs_lib=yes], [ext2fs_lib=no], [-lcom_err]) +-if test "$ext2fs_h" = no -o "$ext2fs_lib" = no; then ++PKG_CHECK_MODULES(EXT2FS, [ext2fs]) ++if test -n "$STATIC" ; then ++ EXT2FS_LIBS=`$PKG_CONFIG --libs --static ext2fs` ++fi ++if test "$ext2fs_h" = no -o "x$EXT2FS_LIBS" = "x"; then + AC_MSG_ERROR(You need to install the Ext2fs libraries from the E2fsprogs distribution first - hint: make install-libs) + fi + + |