From 07ad4fbd4eab4a661e38793c4eeaa9d02dfca0f1 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sun, 9 May 2010 06:07:32 +0000 Subject: [PATCH] app-admin/reprepro: Bump git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2155 6952d904-891a-0410-993b-d76249ca496b --- app-admin/reprepro/ChangeLog | 4 ++ app-admin/reprepro/Manifest | 5 +- .../reprepro-4.1.2-gpgme-header-check-1.patch | 46 +++++++++++++++++++ app-admin/reprepro/reprepro-4.1.2.ebuild | 39 ++++++++++++++++ 4 files changed, 93 insertions(+), 1 deletion(-) create mode 100644 app-admin/reprepro/files/reprepro-4.1.2-gpgme-header-check-1.patch create mode 100644 app-admin/reprepro/reprepro-4.1.2.ebuild diff --git a/app-admin/reprepro/ChangeLog b/app-admin/reprepro/ChangeLog index dc53ac38..79af2654 100644 --- a/app-admin/reprepro/ChangeLog +++ b/app-admin/reprepro/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 09 May 2010; Mario Fetka +reprepro-4.1.2.ebuild, + +files/reprepro-4.1.2-gpgme-header-check-1.patch: + Bump + 18 Feb 2010; Mario Fetka reprepro-3.5.2.ebuild, reprepro-3.6.1.ebuild, reprepro-3.8.1.ebuild, reprepro-3.9.2.ebuild: add arm keyword diff --git a/app-admin/reprepro/Manifest b/app-admin/reprepro/Manifest index 53ab4218..f7981513 100644 --- a/app-admin/reprepro/Manifest +++ b/app-admin/reprepro/Manifest @@ -2,14 +2,17 @@ AUX reprepro-3.5.2-db-4_5-1.patch 2896 RMD160 bc71fcea4b121181ecf241edb666460f68 AUX reprepro-3.5.2-gpgme-header-check-1.patch 2169 RMD160 56524920aedf780765683cfebf2f93e9c326bad2 SHA1 4afea249de8c2ec8208da091cf5826dca06707cf SHA256 c2e9a12a8e640047782b9bd4158abbe0fce8d887d9e2df7c3bbe88bb6eb63683 AUX reprepro-3.8.1-db-4_5-1.patch 2957 RMD160 9cb4e5afec4e106f7969af059d3f52f41c1e846e SHA1 c6ecb465a5a53da538b99eb6d66ac313582b7475 SHA256 0114338796e8c8b8133fbce923c59f5f0eee765324ade0aeb462b55ad6bcf052 AUX reprepro-3.8.1-gpgme-header-check-1.patch 2174 RMD160 8c61d4132cfeb033a85187e199ee1ab728606609 SHA1 07ae59d9f784fe3166ff1ebbfe6463ce01d53974 SHA256 4b30c99badf145cafa1a5aa449e4b3cde07f932c96b3a8802a034ff0a59e85e2 +AUX reprepro-4.1.2-gpgme-header-check-1.patch 2153 RMD160 41048b57c75c71c8422d0844f6d4110ee2a068ef SHA1 ab1236c4a76c148ce64429b06026cbe79b8587a3 SHA256 1b2167ce598d02bb55a631cf311e378300b287548939b1404765adc87c6c5428 DIST 3.5.2.orig.tar.gz 453961 RMD160 92ab8f1b056daabe35e8a72d626a8da6552798fd SHA1 594879d201359a7ed0372e2a570a49ca2f92723b SHA256 3cd911a899aed7aa7783aed502a9dcb7dcd4531ec32752738fbb0ca42f8d94d7 DIST reprepro_3.5.2.orig.tar.gz 453961 RMD160 92ab8f1b056daabe35e8a72d626a8da6552798fd SHA1 594879d201359a7ed0372e2a570a49ca2f92723b SHA256 3cd911a899aed7aa7783aed502a9dcb7dcd4531ec32752738fbb0ca42f8d94d7 DIST reprepro_3.6.1.orig.tar.gz 460754 RMD160 f8f748423d164ceff18099f589989d2350eebd26 SHA1 566364b7f4fd1ef7cefbd40407a7e1b94cfd1e59 SHA256 3bc09bc7ff77538feac295d09eb20b01f4e0cd0b9cc740be718d2f6753b07a18 DIST reprepro_3.8.1.orig.tar.gz 509461 RMD160 9398b71be515ebc14a91ecc6edb39bebf472cbdf SHA1 7652d7a1c11cfd6a73b7593d156cf0a877767d96 SHA256 124bbfa0613821e05633af42b7eda2bfa1b5e6b5e3fc8e724919ab0e18aeb03a DIST reprepro_3.9.2.orig.tar.gz 536741 RMD160 bd1599b2cfa84178a0f7addf53c0592f130eb9ef SHA1 6283fcfc70ac980074af5891bb64e0c070393338 SHA256 c3d2dfc6940f2b9f910c3de4ad353314cbdd12a717120c186760052faeb8764e +DIST reprepro_4.1.2.orig.tar.gz 600107 RMD160 8a21c672ae271d737da5e3a3465a98358115d81f SHA1 ea77dbb549d761c52327f187862c6292754c949e SHA256 a6a864d35f39567dc1937eb3a69355add7d2a5aad87812534813fb5078398b3c EBUILD reprepro-3.5.2.ebuild 968 RMD160 c45b4616fe1082305ba292963693287b2aac8478 SHA1 6e3f64ef391cbcdf3718b0f2b363f9d61421a61b SHA256 f4d2402b80d7b7fd5fc165900175ee6febbf903a9ddf95e5cfd05e416f5ee1f4 EBUILD reprepro-3.6.1.ebuild 921 RMD160 bbc1fdcdc103b17f2b2a07063c3f077f01b5acfa SHA1 6a717313e04ccbb4daab7de69e2510ace6063dc6 SHA256 f64cd830b46de1a75d83ec124be5f2936a5be364e4ddd788c0ec89e4f6c1495d EBUILD reprepro-3.8.1.ebuild 944 RMD160 53a7e62849180b309dc7c6b51a8607d5cae85ee6 SHA1 2a790bb5297cc5ef6057ffb7510d27fb5b09998b SHA256 194883afde81eb37ccc4a1fe95ce6dd8bb0a0d56920cdcccdde30f760de12a60 EBUILD reprepro-3.9.2.ebuild 969 RMD160 868a6d4089371767d26109d3e156012999b7612a SHA1 1e75f3a159b592945b66e52ef964f98811471dd6 SHA256 8346251d83f875b84f7a1b0032a4a8dc390f0a8cfa4dd8c475b23dabc34e3bff -MISC ChangeLog 858 RMD160 539c0df2d1d54256c83c95f3b5222b8aac53cfa6 SHA1 6eeaa7aa49d7f7c5dc656da079de63b3a4714c3d SHA256 5b67281aae6e110afbe48bb0450e26409045e00aad57b032eea7a2d509f4744c +EBUILD reprepro-4.1.2.ebuild 913 RMD160 d8affbde69597edc03121ea1f3ba74ade71d74d7 SHA1 2b1acdaa92afa993a27f0b89a7eb591e32572c55 SHA256 3de6b4ecf9f5a857ebe4fe15b3be48df4d3676d7e0b0bc308c0b78d8c92bd2d4 +MISC ChangeLog 993 RMD160 808ffd755c51673dc5cc008f59d27f73a7bbc82b SHA1 d095d1fdf4127841f43e40bf3be8698eb9920fd2 SHA256 449fcaf9b9fe09f8dfc57088d22a63b97364bc93ad4c754f5b9210c00298a4db MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/app-admin/reprepro/files/reprepro-4.1.2-gpgme-header-check-1.patch b/app-admin/reprepro/files/reprepro-4.1.2-gpgme-header-check-1.patch new file mode 100644 index 00000000..55acbf94 --- /dev/null +++ b/app-admin/reprepro/files/reprepro-4.1.2-gpgme-header-check-1.patch @@ -0,0 +1,46 @@ +Submitted By: Mario Fetka (mario dot fetka at gmail dot com) +Date: 2010-05-09 +Initial Package Version: 3.5.2 +Origin: hron@hronszoft.dyndns.biz +Upstream Status: gentoo specific +Description: find gpgme.h + +diff -Naur reprepro-4.1.2.orig//configure.ac reprepro-4.1.2/configure.ac +--- reprepro-4.1.2.orig//configure.ac 2010-05-09 07:52:52.745525639 +0200 ++++ reprepro-4.1.2/configure.ac 2010-05-09 07:53:15.806524726 +0200 +@@ -46,20 +46,20 @@ + no) + ;; + yes) +- AC_CHECK_HEADER(gpgme.h,,[AC_MSG_ERROR(["no gpgme.h found"])]) ++ AC_CHECK_HEADER(gpgme/gpgme.h,,[AC_MSG_ERROR(["no gpgme/gpgme.h found"])]) + AC_CHECK_LIB(gpg-error,gpg_strsource,,[AC_MSG_ERROR(["no libgpg-error found"])],) + AC_CHECK_LIB(gpgme,gpgme_get_protocol_name,,[AC_MSG_ERROR(["no libgpgme found (need at least 0.4.1)"])],) + ;; + *) + CPPFLAGS="$CPPFLAGS -I$withval/include" + LIBS="$LIBS -L$withval/lib" +- AC_CHECK_HEADER(gpgme.h,,[AC_MSG_ERROR(["no gpgme.h found"])]) ++ AC_CHECK_HEADER(gpgme/gpgme.h,,[AC_MSG_ERROR(["no gpgme/gpgme.h found"])]) + AC_CHECK_LIB(gpg-error,gpg_strsource,,[AC_MSG_ERROR(["no libgpg-error found"])],) + AC_CHECK_LIB(gpgme,gpgme_get_protocol_name,,[AC_MSG_ERROR(["no libgpgme found (need at least 0.4.1)"])],) + ;; + esac + ],[dnl default is to behave like yes (for libgpgme only) +- AC_CHECK_HEADER(gpgme.h,,[AC_MSG_ERROR(["no gpgme.h found (to disable run with --without-libgpgme)"])]) ++ AC_CHECK_HEADER(gpgme/gpgme.h,,[AC_MSG_ERROR(["no gpgme/gpgme.h found (to disable run with --without-libgpgme)"])]) + AC_CHECK_LIB(gpg-error,gpg_strsource,,[AC_MSG_ERROR(["no libgpg-error found (to disable run with --without-libgpgme)"])],) + AC_CHECK_LIB(gpgme,gpgme_get_protocol_name,,[AC_MSG_ERROR(["did not find libgpgme versoion 0.4.1 or later (to disable run with --without-libgpgme)"])],) + ]) +diff -Naur reprepro-4.1.2.orig//signature_p.h reprepro-4.1.2/signature_p.h +--- reprepro-4.1.2.orig//signature_p.h 2010-05-09 07:52:52.745525639 +0200 ++++ reprepro-4.1.2/signature_p.h 2010-05-09 07:56:11.732524503 +0200 +@@ -3,7 +3,7 @@ + + #ifdef HAVE_LIBGPGME + #include +-#include ++#include + + extern gpgme_ctx_t context; + #endif diff --git a/app-admin/reprepro/reprepro-4.1.2.ebuild b/app-admin/reprepro/reprepro-4.1.2.ebuild new file mode 100644 index 00000000..2275c38e --- /dev/null +++ b/app-admin/reprepro/reprepro-4.1.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils autotools db-use + + +SRC_URI="mirror://debian/pool/main/r/${PN}/${PN}_${PV}.orig.tar.gz" +DESCRIPTION="Debian repository creator and maintainer application" +HOMEPAGE="http://packages.debian.org/reprepro" +DEPEND="app-arch/bzip2 + app-arch/gzip + app-arch/libarchive + app-crypt/gpgme + dev-libs/libgpg-error + >=sys-libs/db-4.3" + +KEYWORDS="~amd64 ~arm ~x86" +IUSE="bzip2" +LICENSE="GPL-2" +SLOT="0" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-4.1.2-gpgme-header-check-1.patch +# epatch "${FILESDIR}"/${PN}-3.8.1-db-4_5-1.patch + eautoreconf +} + +src_configure() { + local myconf="--with-libarchive=yes" + use bzip2 && myconf="${myconf} --with-libbz2=yes" || myconf="${myconf} --with-libbz2=no" + econf ${myconf} || die "econf failed" +} + +src_install() { + emake DESTDIR="${D}" install +}