summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2012-11-03 09:31:38 +0000
committerEray Aslan <eras@gentoo.org>2012-11-03 09:31:38 +0000
commit8928f9cdd07b4820dd5510b4812dcf264fda93ea (patch)
tree6fd2e6b193feeecde69bb13056bda578c5c1c0a3 /mail-filter/libspf2
parentsci-biology/ncbi-tools++: Correct for new version number (diff)
downloadhistorical-8928f9cdd07b4820dd5510b4812dcf264fda93ea.tar.gz
historical-8928f9cdd07b4820dd5510b4812dcf264fda93ea.tar.bz2
historical-8928f9cdd07b4820dd5510b4812dcf264fda93ea.zip
Add static USE flag to control building static binaries
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64 Manifest-Sign-Key: 0x77F1F175586A3B1F
Diffstat (limited to 'mail-filter/libspf2')
-rw-r--r--mail-filter/libspf2/ChangeLog5
-rw-r--r--mail-filter/libspf2/Manifest24
-rw-r--r--mail-filter/libspf2/libspf2-1.2.9-r2.ebuild26
3 files changed, 47 insertions, 8 deletions
diff --git a/mail-filter/libspf2/ChangeLog b/mail-filter/libspf2/ChangeLog
index dd59b2d46828..614b135aca48 100644
--- a/mail-filter/libspf2/ChangeLog
+++ b/mail-filter/libspf2/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for mail-filter/libspf2
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/libspf2/ChangeLog,v 1.45 2012/11/03 09:12:04 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/libspf2/ChangeLog,v 1.46 2012/11/03 09:31:28 eras Exp $
+
+ 03 Nov 2012; Eray Aslan <eras@gentoo.org> libspf2-1.2.9-r2.ebuild:
+ Add static USE flag to control building static binaries
03 Nov 2012; <ago@gentoo.org> libspf2-1.2.9.ebuild:
Stable for amd64, wrt bug #440058
diff --git a/mail-filter/libspf2/Manifest b/mail-filter/libspf2/Manifest
index 394533a3eab6..bda34516a24f 100644
--- a/mail-filter/libspf2/Manifest
+++ b/mail-filter/libspf2/Manifest
@@ -1,8 +1,28 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST libspf2-1.2.8.tar.gz 575270 SHA256 3b1cc6c891451b97b094b3e3b40348a952048a4d27ca16c0e50d0fb53938e07f
DIST libspf2-1.2.9.tar.gz 518001 SHA256 4837f6b063b1431673754cbf6bef8979de5ffc4d7f26f6b93abd42787ba04862 SHA512 3137571f438704c176c5251e7b93fd0a8b6b04e52ad37218685b42b1fc5da6286baee578da1a14291d185216bd2a909cca3e55d64ffe580e71be059d1043a248 WHIRLPOOL 6579abf5080c319030ed7200d21b7bdfd3d4cf8207b4f3e6132be485024959bc06536fadf9d8c6898911ffa19977f738ec6a65d268d64d8aea06f89e94278e5e
EBUILD libspf2-1.2.8.ebuild 717 SHA256 29b4ad0978c64249c0c7d5edd41a32a69a1766a1f64182321657b9d859ec2537 SHA512 95eeec4da07fe74f05c53fe6238bec7bf49d3d0db770c9fed9a269331fbc20640046074f2f06389ed9dcbb906d788da9050475224c282ba21c4384fa8191ed4f WHIRLPOOL d91b39eefda3ab37fa3639177f286d6d617a921f02b447a6f8443cf120476e4990503db7901d4d3ebb9cd55b129d2d3d984d3f2fcc10d43a9bf39af3fa7b365a
EBUILD libspf2-1.2.9-r1.ebuild 1174 SHA256 9830f2939bbc52c05dec993ddd148d1f1c5ba207dd68a99d9e9c16bbf65a75d3 SHA512 2c70224dfa06a80adb50a95296664351f6f0fca049151b05c05c7288ada1191ba285e9c52083061f93b86915c67e0c58dae25f83c777abb36e607944b59675ce WHIRLPOOL 78d081315642909418ec05df51803264cbea9cfdecb617962041c3656bcfc26f9ef7c02d41de1f694e0fb04eeac07df59c90212106a1f7b62441fca5e26e5150
-EBUILD libspf2-1.2.9-r2.ebuild 776 SHA256 55bdf6a0f98a2a3f4959f5a12ac13ac53ed0c19075940c2b2549e900801ec639 SHA512 9a0931f660eaa0448d2dcc1ded7711c6c5ee68d686e51304fa93b606616b90021fa0f0c2038aa85ad114bb26e19fd1e2d6457387a209412e5324963b036005ae WHIRLPOOL 990bc45cb2b485427cc711eaab63a784f0ee0936852ff81687e41a5ca7b8a12ed28d2b6758df53cb9ae0728137f089971a767b4a4bf7ebe911a04cbbd72fa5f9
+EBUILD libspf2-1.2.9-r2.ebuild 1215 SHA256 e579a77b20f8cddbd85b24337a7c556e8d81eedad61c5007d21af5d22ba0d822 SHA512 7f30c63988e41e1bfdccab7eb4ff2791781c61b9389b3fbc7212d505fa97e734f727ba6983b84a94c0a83a5cf9ab1e2495bd7ed061e8e4dad8684eefb065aa2e WHIRLPOOL 5ff134833ec1d1fba99b6531c8b7d3fbd81360b8e42fee15aec69c9bbb297a2a28ac828cb157cd312b1461f836bad349e110080cb568a52d55bcb6ff5080d503
EBUILD libspf2-1.2.9.ebuild 704 SHA256 bcc2c73b7b91c20bac231d6e1fccf6f667eac2ea17116a601df27c29cb054257 SHA512 408716cd5b8ad9ef3860ae58a1891ea31d6735404aa54805d8492475def6c3198a1ac6ed1bda6d1c48c4d3a9093e3a78ea13f88bd1b3c0abca206d2817cc8609 WHIRLPOOL 04ded27d59ed4189d8d76e56c62ddfcbb896a7906ac4854eb451fc7e6b87b012ab2727e4bcd21a1872b30405ed25592e81f0e94c028232d8a6c60f5768e9c770
-MISC ChangeLog 5517 SHA256 be511288b93d09f52b4cf159445050fc5a2de1b452a7784a5e751a18a9aec31d SHA512 40770eb79492c2bea97ecc2c54a83ea8cf9589ca53f2955667cd1f3a8ed19a2deb76b8d14958a7812627421b641d92d7bab132421408f7d6af04ba5fb98c38c9 WHIRLPOOL 077b0c8ef8795abcd51384ff3c1f78928917c2b0cc8c47207001215997b85994cceb159c7aed8a19dcc3ac93dd5af3c01d2a0245c62d62f3e47d1f7dff2a4ca5
+MISC ChangeLog 5646 SHA256 c9a86cd18895c2007f540b4f85e8bc8147f316c50becdc5c05177ea642cbe59f SHA512 76b3e4c596cf88dbd52ab4dfe00ea99657dd463910385ea1882cd3c24d2dba4727d5be216a1e025c0cc8916206db1c11bb8d70657f66ce7c878b928909e91202 WHIRLPOOL 89a22bc133b6fa24b3a7add6347b25703fd9e565effb10c980379a9a8f795c9247503a2c07190d7a3a4cc79a79633ecb8ebe2b268f353b7b0b0f5519e8ad752f
MISC metadata.xml 583 SHA256 dba9e1a0fbcc46391bc214d782be104d80ac12bd4559783d6f86b6d4fd72c17e SHA512 3d8883a381d4bf5c05b4f1b79193556516560dd7dc3804b79752da6a5f1709da0b58fd0835fe141965945f636c798987b0c02b26921d1fd9c59f15673107d378 WHIRLPOOL 12bd2f670b13581e3b850cbfe3d49d4ed8e18b0b291b7f6d4d5fa9255b7e51252b49924de9139a46fc54eb7a7f109142f2c1beeb1ef87e5f2a9d07666990b34c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQIcBAEBCAAGBQJQlOR6AAoJEHfx8XVYajsf6MgP/RDiCNyGJgw8K2EybD9cup9v
+fjy6l7h5B78mfsNqzNmw8mxEYmqSxyzA0Yog6wM5vrabRFuTfaDyUwSpPfZPpRjC
+p75Eo95vhzUQE+izi5o6RixyI/oky4utHwyTpax6G9KIAJWyJTJUWf4phrA2YnUp
+q5iDuoh463/oWwcsJIlBUs1jXdVJAfDzjNy192M2Us+IxA01hoz79HJMMKNOT0zh
+xr+fgrhOWGiyTre6LA6EL4WOXpquO2DzsEo42bpDR76XswbCIFUlf6nAdqotL+65
+O4PgdXyaWtfTMhE8dTjkLePAKslc1YmcGB5sCA1R3ju96ro7+s6gEvKyyrm2E3O0
+0OTJZRwttT5vGX6UoYtIzPOgxOJe8hINWamTsCw7Q6WtWkQkckJR9sLwk6dRlWQs
+toxMGQDsR26XwWN6GQAs3exJghGR5Py845qg+TgdyBTNv3MZTBRG7wWz98RonWrN
+F2JSAsSQM9G4JujhlTS5XFF57PTEclEkTBl1UQl5fFM9YsPOT17In0PQMsUZs9vr
+UrrMhpoON4Du6L+E2cSkC3TZbdGQQyyzmP2WOPgxd+umECMrEknK6ipCuD69H0Dj
+3mP2sCvrVkw+Auow0blV5fMjGT8cbsM+t8fsuD6FKWMwK6kiNJQDraw6P6YBtBb+
+x6HKq1HFf3kVR35gPQUf
+=WB1j
+-----END PGP SIGNATURE-----
diff --git a/mail-filter/libspf2/libspf2-1.2.9-r2.ebuild b/mail-filter/libspf2/libspf2-1.2.9-r2.ebuild
index 2e57a42ec0a7..f911b2f87f68 100644
--- a/mail-filter/libspf2/libspf2-1.2.9-r2.ebuild
+++ b/mail-filter/libspf2/libspf2-1.2.9-r2.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/libspf2/libspf2-1.2.9-r2.ebuild,v 1.1 2012/11/03 07:24:03 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/libspf2/libspf2-1.2.9-r2.ebuild,v 1.2 2012/11/03 09:31:28 eras Exp $
EAPI=4
-inherit eutils
+inherit eutils autotools
DESCRIPTION="libspf2 implements the Sender Policy Framework, a part of the SPF/SRS protocol pair."
HOMEPAGE="http://www.libspf2.org"
@@ -12,15 +12,31 @@ SRC_URI="http://www.libspf2.org/spf/libspf2-${PV}.tar.gz"
LICENSE="|| ( LGPL-2.1 BSD-2 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE="static-libs"
+IUSE="static static-libs"
DEPEND=""
RDEPEND="!dev-perl/Mail-SPF-Query"
+REQUIRED_USE="static? ( static-libs )"
+
+src_prepare() {
+ if ! use static; then
+ sed -i -e '/bin_PROGRAMS/s/spfquery_static//' src/spfquery/Makefile.am \
+ -e '/bin_PROGRAMS/s/spftest_static//' src/spftest/Makefile.am \
+ -e '/bin_PROGRAMS/s/spfd_static//' src/spfd/Makefile.am \
+ -e '/bin_PROGRAMS/s/spf_example_static//' src/spf_example/Makefile.am \
+ || die
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static)
+}
src_install() {
emake DESTDIR="${D}" install
dodoc README TODO INSTALL
- use static-libs || rm -f "${D}"/usr/lib*/libspf2.la \
- "${D}"/usr/lib*/libspf2.a
+ use static-libs || rm -f "${D}"/usr/lib*/libspf2.la
}