summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-09-26 22:20:32 +0000
committerTim Harder <radhermit@gentoo.org>2012-09-26 22:20:32 +0000
commit16b9131cf7dbed51799115b475533d776d1c78e3 (patch)
treebe7d42105bc27f6233ee66a5efcbfb4e14ccabcb /net-libs/gnutls
parentVersion bump. (diff)
downloadhistorical-16b9131cf7dbed51799115b475533d776d1c78e3.tar.gz
historical-16b9131cf7dbed51799115b475533d776d1c78e3.tar.bz2
historical-16b9131cf7dbed51799115b475533d776d1c78e3.zip
Version bumps.
Package-Manager: portage-2.2.0_alpha131/cvs/Linux x86_64
Diffstat (limited to 'net-libs/gnutls')
-rw-r--r--net-libs/gnutls/ChangeLog9
-rw-r--r--net-libs/gnutls/Manifest20
-rw-r--r--net-libs/gnutls/gnutls-3.0.24.ebuild112
-rw-r--r--net-libs/gnutls/gnutls-3.1.2.ebuild114
4 files changed, 246 insertions, 9 deletions
diff --git a/net-libs/gnutls/ChangeLog b/net-libs/gnutls/ChangeLog
index d65b5b428982..ed679d4b8ce6 100644
--- a/net-libs/gnutls/ChangeLog
+++ b/net-libs/gnutls/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-libs/gnutls
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.377 2012/09/02 22:10:09 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.378 2012/09/26 22:20:32 radhermit Exp $
+
+*gnutls-3.1.2 (26 Sep 2012)
+*gnutls-3.0.24 (26 Sep 2012)
+
+ 26 Sep 2012; Tim Harder <radhermit@gentoo.org> +gnutls-3.0.24.ebuild,
+ +gnutls-3.1.2.ebuild:
+ Version bumps.
*gnutls-3.1.1 (02 Sep 2012)
*gnutls-3.0.23 (02 Sep 2012)
diff --git a/net-libs/gnutls/Manifest b/net-libs/gnutls/Manifest
index 5c6aff33d4a9..0a6f15fc3c95 100644
--- a/net-libs/gnutls/Manifest
+++ b/net-libs/gnutls/Manifest
@@ -10,8 +10,10 @@ DIST gnutls-3.0.20.tar.xz 4426520 SHA256 7e3f431a43e5366ff5a9b7646d2a79892a90523
DIST gnutls-3.0.21.tar.xz 4664124 SHA256 6901b0203a613869cf475f18d44acd47b36adf714c67d1f9ad29c26ab7bec410 SHA512 a3ca7c0d59203fda18beb63a6abeae8d716538f95cd0c770278ebe3a72c7c66725a54ec5f1cd13abdbca2cc71afda263008f54e46751d3e7c71458381f8e1552 WHIRLPOOL 9d6a6f9945ff308ab772ba55db5e36c1d62f1d95f222bfee9673df36a423929281905ed22c634f33d1481bec5f68943d891397936cb97df7b111ccd542a08a9d
DIST gnutls-3.0.22.tar.xz 4613608 SHA256 99dd867dde60f3107b788b14d6b95baca7436d651d057c416325e223aa03e9de SHA512 b75d6dd35be17e6a804c3303d1baf181c58ed3e4cfc8823613a1d0b3350780090fe21e61f510eded5624ecf7c4594bc24e4b5a82cbf7dab3bf26944efefe9af5 WHIRLPOOL 6a78a517b7a9301c142f5577e593368f23ab1ca99591982c03df08185037f1537f103a6603be82d028287a962c5a658e8aba39df63f62e4cc2197b3b88cdcdc6
DIST gnutls-3.0.23.tar.xz 4653604 SHA256 1749fa79af129b34b57cff4de59e01d5c08266a78953286bee4ee0e6c1cdb6b5 SHA512 d55ee66a980048300fb132b685fc4a689f46e23bdff30482d4d62ebdbaf4e6bb6fd899f71860c89ad31215f99dc4924e9ef198c45c5828d11c681ab3fbec39d7 WHIRLPOOL 21250a2f1a39b013cdc2ada54187f041c19df91c847ae966b3383b579b19f6aeff11d0707096a98614b73019368e1860b0c322afaa9db7b292471392c4488e75
+DIST gnutls-3.0.24.tar.xz 4653116 SHA256 8737e3917e0ece8ebb734567e90a8a3efa9338ae483e4554806efba3cca01f8b SHA512 cb4605683282f8552b5cdf9ff686b293614e669ff7c54faabf8c1ae43bc03edaf62b08fed5f37e93ba9f0630b0628ca7e10413eed92ec9d21be85e407e5801ae WHIRLPOOL 5c573f0b096bb04092d177ccf10d91511256d3a4fb91b1c20bddee38336678d3e1ff42028a64a686456778d26e50a77731d3e5a8ecc6f379a1b50f84645f8467
DIST gnutls-3.1.0.tar.xz 4768996 SHA256 4fdb58572fb91fc0afbdfcd7845d4467d4b13ef2f9141bdaa955b959a319f8cc SHA512 2ac3102d9204388ce232f4393d7ce4e9c5ef3e3b38b86fa83c61b2bc06e3be086a3e1936e7e335d3190ae274c17adb5127b0c4c8815c68c0f3dd6611c8ac96e3 WHIRLPOOL 745f1acc291163e215c814e5b09aad6f8adecc19860d6faf564763cc1819b7f68a304d3f5fd359cc85103bb89170f13861b3c071753916da685be9a36271fbab
DIST gnutls-3.1.1.tar.xz 4781012 SHA256 303947288cc5663a0d44c6653d0e5986e4075d13824f84c644bc740b928067bb SHA512 a0c3ea8025d6970ea968e2a6648b018a72374d5470008f6bc5434c6ed5ec312ff4540d15e8f78ccde1eb56673ad6f39001741dd448e22c646939b8bca879df9e WHIRLPOOL 958c7103d1758297f12d325f875f7375f9db6822cacd25e966b7863dde83091b49287a3cbe4cfd29dccc0e8af8ab4853b589cffaa8376c8444512aad17e2d6fe
+DIST gnutls-3.1.2.tar.xz 4803888 SHA256 6ff03900a084b8dd4095928f2e332aa55f3d465b1c1c0d6f91df172013b7d3e6 SHA512 afb48c070b6e21b1470a70a4d8b0d79e6d8d1b9e4f17c9cdbb01bfd81d652a137802a1e2fcc3ddbc0a493877356e84a641071f76f260446876de60d086cc349e WHIRLPOOL 405ef00b2ccdde32cd8613c53d1dc885047661db80dc87680787ca03272e697e7aa714bd6ab5cca36a010431ee3ebb4c45f5615528c0ae581d90f59c5850653a
EBUILD gnutls-2.12.18.ebuild 3294 SHA256 1c4de12c81ba08be32c906ee0a1eedcd07158a012c0d589577d6bcdd897eeb4e SHA512 bf19d45ba9d4688aadd9298a4773367e1508dc2bc8360ef81fe3c35045a49c22878dc1749b21011e30a380af1838318d05363ce9277fc405cd7e50530ab5f0a0 WHIRLPOOL f98289fbf8a31574e8b7edf5ef6a46329f929e65e02a65fb9bc9c4e1e8045b696ad67dd3bdd06f8fdda1d2d7b36e5c204b7ff16d8321198e139ab78555c80db7
EBUILD gnutls-2.12.19.ebuild 3421 SHA256 d3549ecd272f778372cf65845e056e5fbf8367c473affadf4f0b30f726161fcc SHA512 5afd35bf19080ce59c5e1e42a08f9cf3f9b7a36f693edfb88440f468aa4c7a4f29ae7ae85d20bab06372991a594b30df7d723130c40aa6c5b515850af9e57ef6 WHIRLPOOL 8d04fb8cb09b01244e8f1942b316b1ef9b0d748eae07112ea937f481d693f3b33b5f1d19d3707fb34a7d2f536233f4105b94f6cbb1615118504317287335bc5a
EBUILD gnutls-2.12.20.ebuild 3463 SHA256 61b2e73199f23364ea9db6932c4cdddb745f31295d25d855e7fa437846529d84 SHA512 bb42cb8e5c8c015da99563e4cfed0edb399aea099817fae80df5f3aecec4e9090f84eb5f6f2b2e0ce5b233383e290e31d417b3f4b220c85c42f7e606f947415a WHIRLPOOL a4fdfbcb640ec2165a88cbf44ab17e74ba321bf540fcaddaf838cdf2f6b4bbaee53fe1a30da4dd15fa0b2b69674ad6d402f3e207c9540d1a219904e5bf20b6be
@@ -19,18 +21,20 @@ EBUILD gnutls-3.0.20.ebuild 3050 SHA256 5e144aa10c9a0d2d18b2274160ed471810541190
EBUILD gnutls-3.0.21.ebuild 3003 SHA256 74df8406969748b3410f2fa02bd70c27d91f0deae1b3057fb7e20fe506237da3 SHA512 bded2f8eff1a261b286a0b7cb19da71116b3db6bdd8da8646e9cc6891d238c0d72965a07e81af53805f054369156cb7dc63376e85c4315054a5873a4058946d5 WHIRLPOOL fc19ebafe999955c2d11e45cc43ff32d371539820ef36483c83d4a54ff30e801ebfb016e7b41199b0e677f84743d6e2017daff0dcf50e2de1e2b794b073fb60a
EBUILD gnutls-3.0.22.ebuild 3003 SHA256 1bb635ccb99157719cbf2439a56b5564fff7d1ee41908cd97f7fc36dd06ab29a SHA512 c3a7c2b8c4d760b7ff5a87aef28a2aa0cdfa047de427b47bee93eca0aa51377fccef93d512374558291c7ce967cb3397688d2e2d1e4a47567a7e3eb289123d9e WHIRLPOOL c58f20b8d8dcaed93410a5c574d061fd5f234579a0c3f453e06fe396faa952e260904df2c85095b34d544cd68261e9b2ac0e38e37a0ca34a308e3810d41c364b
EBUILD gnutls-3.0.23.ebuild 2751 SHA256 36270f11876b2f6616eebf2ef42fb420c0628d060f8c6ffc91651e5a180d75b0 SHA512 ce8a9b41a0b950f36e110ace729eab92cdff08c55f6a548a1cc62419e3e51490448da245a19114ef01cb5d507636d2ad98aeaa652dff3116b0ccce284d57363f WHIRLPOOL 8c0f95ad4142e34c054bc7fa17f7763000b98337f7608977633e0827b207aa6008b0d17f4e2b71a322dfd71f55123c45ce121899e4783833ecabf12c8fa77ca3
+EBUILD gnutls-3.0.24.ebuild 2750 SHA256 66676de3d4bd4f0aac65e3c9003a7b08e96bdb9a13dce84b9a1bcce446f57458 SHA512 75036bc71b39c2241a19429eed3e7ed87fb0a4d0e7578ae266dc7cb1377f364b124dec273307a50f26b4a74fd570cdda000f29cd5aa85402bca96d85e25c9b9e WHIRLPOOL 51f8b6ad1a3d8e634e850e786bf07d56a820710ff16760abca4a4836718016d6e2810f382d3893501359d522df540d37fa9ab492409a17c681ce3b46c07537fd
EBUILD gnutls-3.1.0.ebuild 2815 SHA256 22b989f8b4aa3fbcab3d92cf2d39b88502856381231e0849a6861b89059ffc12 SHA512 b4918a9c3bae74c59acb06942aaeffcfd501cace4966e97ab56c86611f2c30cad4d356d6ba866cb79b601715ff5284f618723249e0f714f11ef506bfbcb3d304 WHIRLPOOL 58c63a0b06aa50c6da65053a78618744e6501dcd6b772cffcc538a75ebd2313b7684fc6e5a8fd0b7fbdf90d49eaa94e228d5d6f76587d942f517841a3ba624c3
EBUILD gnutls-3.1.1.ebuild 2815 SHA256 cb4e35f380f0d2fd638b662b47093acff1f6a6ad2ce426f264f8f0e5a524d5ac SHA512 fc961d0896f2e9c5465041f11f8ea2c1445c6b7a6caaa656530f0946c38bac1fd60d471bbc88d86ef8cf035047f8fd04240fa1be1397cf2f807a15488ed9b386 WHIRLPOOL d5758bd3cf5c6ac973cc6edf9d061ba3f715bec7fdabe50cfb5e861661c333e35c016a985d08e1fda6614096ab7eb3d5ccc88c604c6cc907a5461073f8a5c850
-MISC ChangeLog 55685 SHA256 33215f5d10309ba3ad56b1fe489c434801131f690cc8d60b1ff30274f14b89dc SHA512 02f7aae77fcc0364061255f012c3bd414d65673578a34fc6157d4b2fbe91176e974f1fbafa0eabace7e3c22f96781719714622f8ee2bea1b3497670ee3582da4 WHIRLPOOL c83fd51317536954d4141c157b9635cfdb21917f4c4645a6aa3c2f277ad2f099cacae3f7b828e008a87770a68799ced6fe9f269282151fabf1509a4671547d7a
+EBUILD gnutls-3.1.2.ebuild 2814 SHA256 978a0ac61745f42942ef033fdc69796750055819800855683000291c22843168 SHA512 4fec3c4d6691171e96045b502b7a20774bfcec1655ab2485ee676b55d6e3c03cef48faa8b57b9322c57040b623d039404c0d6005ae2237812653f8647ebd006e WHIRLPOOL a4b0d0174bbc72f7ea2b33b778613720fe548364c3af2d23018e0079a623febc73dab732a62c9fdd3b7f3aa5359990a7e4b1fd4fa79530822f3b928cce2515c1
+MISC ChangeLog 55857 SHA256 c801602ed61067fbbffeb4be4e3c2e3e4e08f3f4721258b9bd7f92e65bc05756 SHA512 0ab7690222785b0760408c45d497676b8c45ccdd7cd05ebb6faf6853bf044135ba891f6e8395141b233c899b20d993d163ba91c0a03c4f5cce1459d160cae41e WHIRLPOOL 2b79c90cee9b5d19c4f6443a67b6bae95c717849a7c577aafba3138fee1ddbdb2c276e437143278cd7746ff8ffb6f3e63d57409ea707919536e0a800d6d30893
MISC metadata.xml 340 SHA256 a2bf9aefe44513df9e611a974c08d7f26b987c0c48c134a0d6f5177ca6a8676d SHA512 e6f962a94a01ac15a3ab3e83995597248a3216d518635b1a62dd9e118f1650ce23fa553ea7841f177ac5d002acd38f386edbd8e9b93b45f92dc9486358cd39d8 WHIRLPOOL 6567da2c2e38955d3be7acf8586488a843e575d2de2c4ac5442fa337bfb88b51a7f8982193e56840c650e5cee8d1ac40a375ad5589f0fba0953600141d1f0532
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJQQ9lLAAoJEEqz6FtPBkyjrm8H/0BDPR0PtcldruwyuadE/wTp
-zL2pQtF/S6uGJ5PJqVy6ndUgd6s5c8fRGRaaSNpmb4D9pgGXl4MM0lLmkzLElHAS
-LpEDOIMmJpIJYqJe1t+xsTjY6WOD3tbjRX1q4S1Dhm3eIwBDH7M8JQK+IhoJdD8T
-qs5KfVXXtkWyTg6hWgo0TxHszTk1cipYVFGPafwoW3nazkW1WiNUR6n+9XQakYzQ
-f008SN5vWnRnBVJGS7MjmPCLfiyIyW1hAi5fb++T/vcOFfdocU1tgic2m13xTpXL
-Oyd0DyGvbDCuyZyVi00jnK97FAHi+naoT+HlSC0Prqr14rFXkSqzUxceiw/3++Q=
-=vVxG
+iQEcBAEBCAAGBQJQY3+2AAoJEEqz6FtPBkyj04kH+wY7d+uB8NitZO//A3CeyVZY
+vGCrZVjmELHP9UoofT6jE7eRKrTpFI58Xu8zOH8nSbteLDjcqWKp+v2CaCfsCkic
+lfdUgtv3TY/YZjkE8avOEjAHSRm4XfuPGoThIFJu2FmAC4ouQmpEjAmM6OUL7yjx
+lsQe1tOPaMYbd0N+kVJ/97Ps4d2aXUm8OGqATSt6PbYZNMpLlVDFKxu1GqF1NXtL
+GlM837yQmz43QOPQvcIN116Ji7HHRqBtjm8hohpZawBGYVo+hQ8sCwHsFp5vjJIF
+8ijH1F3yjQ5gT9BujzyRkAkVVwe//rai/Mvgsg09vVJEUXwg+cu27u5xRtfLTNI=
+=yk95
-----END PGP SIGNATURE-----
diff --git a/net-libs/gnutls/gnutls-3.0.24.ebuild b/net-libs/gnutls/gnutls-3.0.24.ebuild
new file mode 100644
index 000000000000..c52c67a339d9
--- /dev/null
+++ b/net-libs/gnutls/gnutls-3.0.24.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-3.0.24.ebuild,v 1.1 2012/09/26 22:20:32 radhermit Exp $
+
+EAPI=4
+
+inherit autotools libtool eutils
+
+DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
+HOMEPAGE="http://www.gnutls.org/"
+
+if [[ "${PV}" == *pre* ]]; then
+ SRC_URI="http://daily.josefsson.org/${P%.*}/${P%.*}-${PV#*pre}.tar.gz"
+else
+ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
+fi
+
+# LGPL-3 for libgnutls library and GPL-3 for libgnutls-extra library.
+LICENSE="GPL-3 LGPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="+cxx doc examples guile nls pkcs11 static-libs test zlib"
+
+RDEPEND=">=dev-libs/libtasn1-2.14
+ >=dev-libs/nettle-2.4[gmp]
+ sys-devel/autogen
+ guile? ( >=dev-scheme/guile-1.8[networking] )
+ nls? ( virtual/libintl )
+ pkcs11? ( >=app-crypt/p11-kit-0.11 )
+ zlib? ( >=sys-libs/zlib-1.2.3.1 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ sys-devel/libtool
+ doc? ( dev-util/gtk-doc )
+ nls? ( sys-devel/gettext )
+ test? ( app-misc/datefudge )"
+
+S=${WORKDIR}/${P%_pre*}
+
+DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO )
+
+src_prepare() {
+ local dir file
+
+ # tests/suite directory is not distributed.
+ sed -i \
+ -e ':AC_CONFIG_FILES(\[tests/suite/Makefile\]):d' \
+ -e '/^AM_INIT_AUTOMAKE/s/-Werror//' \
+ configure.ac || die
+
+ sed -i \
+ -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
+ doc/Makefile.am || die
+
+ for dir in m4 gl/m4; do
+ rm -f "${dir}/lt"* "${dir}/libtool.m4"
+ done
+ find . -name ltmain.sh -exec rm {} \;
+
+ # use system libopts
+ sed -i -e "/^enable_local_libopts/s/yes/no/" configure.ac || die
+
+ # force regeneration of autogen-ed files
+ for file in $(grep -l AutoGen-ed src/*.c) ; do
+ rm src/$(basename ${file} .c).{c,h} || die
+ done
+
+ # support user patches
+ epatch_user
+
+ eautoreconf
+
+ # Use sane .so versioning on FreeBSD.
+ elibtoolize
+}
+
+src_configure() {
+ econf \
+ --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
+ --disable-silent-rules \
+ --disable-valgrind-tests \
+ $(use_enable cxx) \
+ $(use_enable doc gtk-doc) \
+ $(use_enable doc gtk-doc-pdf) \
+ $(use_enable guile) \
+ $(use_enable nls) \
+ $(use_enable static-libs static) \
+ $(use_with pkcs11 p11-kit) \
+ $(use_with zlib) \
+ ${myconf}
+}
+
+src_test() {
+ # let it build in parallel
+ emake check
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -exec rm -f {} +
+
+ if use doc; then
+ dodoc doc/gnutls.{pdf,ps}
+ dohtml doc/gnutls.html
+ fi
+
+ if use examples; then
+ docinto examples
+ dodoc doc/examples/*.c
+ fi
+}
diff --git a/net-libs/gnutls/gnutls-3.1.2.ebuild b/net-libs/gnutls/gnutls-3.1.2.ebuild
new file mode 100644
index 000000000000..445ab8871674
--- /dev/null
+++ b/net-libs/gnutls/gnutls-3.1.2.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-3.1.2.ebuild,v 1.1 2012/09/26 22:20:32 radhermit Exp $
+
+EAPI=4
+
+inherit autotools libtool eutils
+
+DESCRIPTION="A TLS 1.2 and SSL 3.0 implementation for the GNU project"
+HOMEPAGE="http://www.gnutls.org/"
+
+if [[ "${PV}" == *pre* ]]; then
+ SRC_URI="http://daily.josefsson.org/${P%.*}/${P%.*}-${PV#*pre}.tar.gz"
+else
+ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
+fi
+
+# LGPL-3 for libgnutls library and GPL-3 for libgnutls-extra library.
+LICENSE="GPL-3 LGPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="+cxx doc examples guile nls pkcs11 static-libs test zlib"
+
+RDEPEND=">=dev-libs/libtasn1-2.14
+ >=dev-libs/nettle-2.5[gmp]
+ sys-devel/autogen
+ guile? ( >=dev-scheme/guile-1.8[networking] )
+ nls? ( virtual/libintl )
+ pkcs11? ( >=app-crypt/p11-kit-0.11 )
+ zlib? ( >=sys-libs/zlib-1.2.3.1 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ sys-devel/libtool
+ doc? ( dev-util/gtk-doc )
+ nls? ( sys-devel/gettext )
+ test? ( app-misc/datefudge )"
+
+S=${WORKDIR}/${P%_pre*}
+
+DOCS=( AUTHORS ChangeLog NEWS README THANKS doc/TODO )
+
+src_prepare() {
+ local dir file
+
+ # tests/suite directory is not distributed.
+ sed -i \
+ -e ':AC_CONFIG_FILES(\[tests/suite/Makefile\]):d' \
+ -e '/^AM_INIT_AUTOMAKE/s/-Werror//' \
+ configure.ac || die
+
+ sed -i \
+ -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \
+ doc/Makefile.am || die
+
+ for dir in m4 gl/m4; do
+ rm -f "${dir}/lt"* "${dir}/libtool.m4"
+ done
+ find . -name ltmain.sh -exec rm {} \;
+
+ # use system libopts
+ sed -i -e "/^enable_local_libopts/s/yes/no/" configure.ac || die
+
+ # force regeneration of autogen-ed files
+ for file in $(grep -l AutoGen-ed src/*.c) ; do
+ rm src/$(basename ${file} .c).{c,h} || die
+ done
+
+ # support user patches
+ epatch_user
+
+ eautoreconf
+
+ # Use sane .so versioning on FreeBSD.
+ elibtoolize
+}
+
+src_configure() {
+ # TPM needs to be tested before being enabled
+ econf \
+ --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
+ --disable-silent-rules \
+ --disable-valgrind-tests \
+ $(use_enable cxx) \
+ $(use_enable doc gtk-doc) \
+ $(use_enable doc gtk-doc-pdf) \
+ $(use_enable guile) \
+ $(use_enable nls) \
+ $(use_enable static-libs static) \
+ $(use_with pkcs11 p11-kit) \
+ $(use_with zlib) \
+ ${myconf} \
+ --without-tpm
+}
+
+src_test() {
+ # let it build in parallel
+ emake check
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -exec rm -f {} +
+
+ if use doc; then
+ dodoc doc/gnutls.{pdf,ps}
+ dohtml doc/gnutls.html
+ fi
+
+ if use examples; then
+ docinto examples
+ dodoc doc/examples/*.c
+ fi
+}