From 27c0010d85fb7e3cc1ee459a2afa453361fd652e Mon Sep 17 00:00:00 2001 From: Peter Volkov Date: Mon, 12 May 2008 22:02:27 +0000 Subject: Added md5sum-external USE flag to use external md5sum program as suggested by Daniel Santos in bug #184925. Package-Manager: portage-2.1.4.4 --- app-misc/fdupes/ChangeLog | 9 ++++++++- app-misc/fdupes/Manifest | 4 ++-- app-misc/fdupes/fdupes-1.40-r1.ebuild | 34 ------------------------------- app-misc/fdupes/fdupes-1.40-r2.ebuild | 38 +++++++++++++++++++++++++++++++++++ 4 files changed, 48 insertions(+), 37 deletions(-) delete mode 100644 app-misc/fdupes/fdupes-1.40-r1.ebuild create mode 100644 app-misc/fdupes/fdupes-1.40-r2.ebuild (limited to 'app-misc') diff --git a/app-misc/fdupes/ChangeLog b/app-misc/fdupes/ChangeLog index cbab4c8aea4b..ea243f0ff8d5 100644 --- a/app-misc/fdupes/ChangeLog +++ b/app-misc/fdupes/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-misc/fdupes # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/fdupes/ChangeLog,v 1.12 2008/05/12 21:40:21 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/fdupes/ChangeLog,v 1.13 2008/05/12 22:02:27 pva Exp $ + +*fdupes-1.40-r2 (12 May 2008) + + 12 May 2008; Peter Volkov -fdupes-1.40-r1.ebuild, + +fdupes-1.40-r2.ebuild: + Added md5sum-external USE flag to use external md5sum program as suggested + by Daniel Santos in bug #184925. *fdupes-1.40-r1 (12 May 2008) diff --git a/app-misc/fdupes/Manifest b/app-misc/fdupes/Manifest index 657c1501d47b..95f6e5929a14 100644 --- a/app-misc/fdupes/Manifest +++ b/app-misc/fdupes/Manifest @@ -1,6 +1,6 @@ AUX fdupes-1.40-memcpy.patch 404 RMD160 3eb921066e968f8616b2425d0c327b4da1b2a22e SHA1 0f253ff9995edd7afb06a835ac3c1e8823202761 SHA256 fab0d75c156101524e105902a488de4bcebdec415c2dfa6cec596b757cb576d4 DIST fdupes-1.40.tar.gz 16026 RMD160 0abd2f0dfee38cb333c1069363a65f8ab37e18dd SHA1 e1bce9bdf50d7bf700dda3eb8a3d218b181b3931 SHA256 e1ed91c44bf4a08de9a92cb019c20420874fdeed49a56e8f270ad7fc26bbdde7 -EBUILD fdupes-1.40-r1.ebuild 832 RMD160 624b31cfc97109751efaad52df2fddf0de9f07d1 SHA1 c14ff24161d914f4f02bdb7a8b5a5b1bdb51ed50 SHA256 a59f53957473c4b93ab10ae4ebb00f3fd0728a9a415ed6e477eab295956ec883 +EBUILD fdupes-1.40-r2.ebuild 980 RMD160 e9b99e2ed711f1e7cd61ecf140b1785e24abd8fe SHA1 0e09c3263cd70ba2f9f818a3be10e03f8daf4a36 SHA256 9d834c6611f1118ab69f9ee8c8477ee589d3a8162309c1e39fe8d47bc6ed281f EBUILD fdupes-1.40.ebuild 667 RMD160 3d51c2cada79331ddbf53e86edd38e8fcfec2866 SHA1 42aa0c59e09c28b048cfcf9f549fd8344c3e28c4 SHA256 d7444eae71d07bf752f34e35aab9770da0ac8de04eda0593b51d7142517857f5 -MISC ChangeLog 1492 RMD160 95cf3d77d8dc881311f2d47d5ebe0a4faa66b968 SHA1 b613927339c2a9eb076c93bf3319fa66229e27bc SHA256 91acb215d14e6edce05fa176798d49791ccec7bf9426fd1c3be87d769f677630 +MISC ChangeLog 1731 RMD160 cf28fe8ab130d271c48dd8cc4b48a6ec1e98806a SHA1 1704c70f2b770020a49011eca4ae3426e6dc4f7f SHA256 ff601b3946713b00e3e72b5b0eef11908b926cc282361501e8426a6b748c021a MISC metadata.xml 165 RMD160 c4557a3518a065b077539be5a0f20e4735fc2141 SHA1 1831705b1eb97b63968fc9eef31aa904a69a854a SHA256 75ca85c472d4181ae0de529c83826baaebe75d9e750ee6621758b5096bceffcd diff --git a/app-misc/fdupes/fdupes-1.40-r1.ebuild b/app-misc/fdupes/fdupes-1.40-r1.ebuild deleted file mode 100644 index ebd1e926bc8d..000000000000 --- a/app-misc/fdupes/fdupes-1.40-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/fdupes/fdupes-1.40-r1.ebuild,v 1.1 2008/05/12 21:40:21 pva Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="identify/delete duplicate files residing within specified directories" -HOMEPAGE="http://netdial.caribe.net/~adrian2/fdupes.html" -SRC_URI="http://netdial.caribe.net/~adrian2/programs/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="" - -DEPEND="" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/${P}-memcpy.patch -} - -src_compile() { - sed -i -e "s:gcc:$(tc-getCC):" Makefile - emake || die -} - -src_install() { - dobin fdupes || die - doman fdupes.1 - dodoc CHANGES CONTRIBUTORS INSTALL README TODO -} diff --git a/app-misc/fdupes/fdupes-1.40-r2.ebuild b/app-misc/fdupes/fdupes-1.40-r2.ebuild new file mode 100644 index 000000000000..29e58ef797db --- /dev/null +++ b/app-misc/fdupes/fdupes-1.40-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/fdupes/fdupes-1.40-r2.ebuild,v 1.1 2008/05/12 22:02:27 pva Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="identify/delete duplicate files residing within specified directories" +HOMEPAGE="http://netdial.caribe.net/~adrian2/fdupes.html" +SRC_URI="http://netdial.caribe.net/~adrian2/programs/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="md5sum-external" + +DEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-memcpy.patch + if use md5sum-external; then + sed -i -e 's/^#EXTERNAL_MD5[[:blank:]]*= /EXTERNAL_MD5 = /g' \ + Makefile || die "sed failed" + fi +} + +src_compile() { + sed -i -e "s:gcc:$(tc-getCC):" Makefile + emake || die +} + +src_install() { + dobin fdupes || die + doman fdupes.1 + dodoc CHANGES CONTRIBUTORS INSTALL README TODO +} -- cgit v1.2.3-65-gdbad