summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2006-08-01 04:13:46 +0000
committerDaniel Black <dragonheart@gentoo.org>2006-08-01 04:13:46 +0000
commitce708ec1177f567859e9f52147e8142772878c1e (patch)
treec6e48358856f64dea798d03aa43f8df01acd083b /net-libs/gnutls
parentupdate the short help output for ulimit as well (diff)
downloadhistorical-ce708ec1177f567859e9f52147e8142772878c1e.tar.gz
historical-ce708ec1177f567859e9f52147e8142772878c1e.tar.bz2
historical-ce708ec1177f567859e9f52147e8142772878c1e.zip
fix for selftest with LDFLAGS="-Wl,--as-needed" as per bug #142353 thanks to Brant Gurganus. Version bump to 1.4.1 as well
Package-Manager: portage-2.1.1_pre4
Diffstat (limited to 'net-libs/gnutls')
-rw-r--r--net-libs/gnutls/ChangeLog11
-rw-r--r--net-libs/gnutls/Manifest50
-rw-r--r--net-libs/gnutls/files/digest-gnutls-1.2.113
-rw-r--r--net-libs/gnutls/files/digest-gnutls-1.4.13
-rw-r--r--net-libs/gnutls/files/gnutls-1.2.10-as-needed.patch35
-rw-r--r--net-libs/gnutls/files/gnutls-1.4.1-as-needed.patch92
-rw-r--r--net-libs/gnutls/gnutls-1.2.10-r1.ebuild3
-rw-r--r--net-libs/gnutls/gnutls-1.2.11.ebuild65
-rw-r--r--net-libs/gnutls/gnutls-1.4.1.ebuild65
9 files changed, 317 insertions, 10 deletions
diff --git a/net-libs/gnutls/ChangeLog b/net-libs/gnutls/ChangeLog
index 3c605f942db2..daee3e258a07 100644
--- a/net-libs/gnutls/ChangeLog
+++ b/net-libs/gnutls/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for net-libs/gnutls
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.97 2006/07/15 19:24:28 vanquirius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.98 2006/08/01 04:13:46 dragonheart Exp $
+
+*gnutls-1.4.1 (01 Aug 2006)
+*gnutls-1.2.11 (01 Aug 2006)
+
+ 01 Aug 2006; Daniel Black <dragonheart@gentoo.org>
+ +files/gnutls-1.2.10-as-needed.patch, +files/gnutls-1.4.1-as-needed.patch,
+ gnutls-1.2.10-r1.ebuild, +gnutls-1.2.11.ebuild, +gnutls-1.4.1.ebuild:
+ fix for selftest with LDFLAGS="-Wl,--as-needed" as per bug #142353 thanks to
+ Brant Gurganus. Version bump to 1.4.1 as well
15 Jul 2006; Marcelo Goes <vanquirius@gentoo.org> -gnutls-1.2.3.ebuild,
-gnutls-1.2.4.ebuild, -gnutls-1.2.9.ebuild, -gnutls-1.2.9-r1.ebuild:
diff --git a/net-libs/gnutls/Manifest b/net-libs/gnutls/Manifest
index 61e7f79cc939..5ea79041ac62 100644
--- a/net-libs/gnutls/Manifest
+++ b/net-libs/gnutls/Manifest
@@ -1,16 +1,37 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX gnutls-1.2.10-as-needed.patch 1418 RMD160 0c2b7c1984c886e44956d5b31672ae10ad23421b SHA1 6920685847e67cfb0e6859ecc12876effe4960ea SHA256 a573a7cc02c67b86bef3ada98d62a9b4e3d21767e31844c5dd837fc2c67fca3c
+MD5 aeb37fd93438092e982743c59ca5feea files/gnutls-1.2.10-as-needed.patch 1418
+RMD160 0c2b7c1984c886e44956d5b31672ae10ad23421b files/gnutls-1.2.10-as-needed.patch 1418
+SHA256 a573a7cc02c67b86bef3ada98d62a9b4e3d21767e31844c5dd837fc2c67fca3c files/gnutls-1.2.10-as-needed.patch 1418
+AUX gnutls-1.4.1-as-needed.patch 3045 RMD160 95366b846c5674769ac279a4bc69a4d8da4f410f SHA1 88818671babf38862a97f4ecaa917e775d63cdc5 SHA256 978f7f3e23b4f1e1fb53a49407e9adfa7b9c4d30e363631ae43731da9918c153
+MD5 763571a9ba2b91db8e48617ab813bc46 files/gnutls-1.4.1-as-needed.patch 3045
+RMD160 95366b846c5674769ac279a4bc69a4d8da4f410f files/gnutls-1.4.1-as-needed.patch 3045
+SHA256 978f7f3e23b4f1e1fb53a49407e9adfa7b9c4d30e363631ae43731da9918c153 files/gnutls-1.4.1-as-needed.patch 3045
DIST gnutls-1.2.10.tar.bz2 2737849 RMD160 33b0d4e5955b06611141ac2d1e8889b42675cc98 SHA1 18140bebae006e019deb77962836bcd775256aab SHA256 1b16eecc4a8bf2f4941eb7a2ebf0632f908b9c2733457e0076b13a79798dce23
-EBUILD gnutls-1.2.10-r1.ebuild 1628 RMD160 97dd26e12e79bad7d986b273572b60129ecee61b SHA1 4698d27c4a868a55f56e067373a3d818f21c47d7 SHA256 014c7f05ad8594b4f1b47b014a3ed700d3dc1f6a3d05681abeebfcf75fefc6db
-MD5 b2e52a5f32fcc9d0b0581d7ba7fce82e gnutls-1.2.10-r1.ebuild 1628
-RMD160 97dd26e12e79bad7d986b273572b60129ecee61b gnutls-1.2.10-r1.ebuild 1628
-SHA256 014c7f05ad8594b4f1b47b014a3ed700d3dc1f6a3d05681abeebfcf75fefc6db gnutls-1.2.10-r1.ebuild 1628
+DIST gnutls-1.2.11.tar.bz2 2756620 RMD160 07b3f4b9fb875c55e981f95aa4edb6c639176331 SHA1 4d5167091c72f994ed97e1406ae886f3c2757d49 SHA256 400c118150b31f475a5d562d60ab6912ed7a52b12ef31b2ad9b30a6960ea446d
+DIST gnutls-1.4.1.tar.bz2 4046780 RMD160 1bb959a118ce8d776693f602034342c31a8737aa SHA1 25d183fef21abbcaab0afe6b5809893aa70b577d SHA256 834e0009a6bfc67c427ba652ae2139f6cce50b4a1ac38214de6249611de73def
+EBUILD gnutls-1.2.10-r1.ebuild 1673 RMD160 0baa0290f1d89d2d2cf8b6cace43ad1c47853c91 SHA1 3b3909cbf539e684794afbbba0abccaefa5f9f7e SHA256 a7405b9a5b1bfdecc00cd7b2e9e82a244ec3a8ec9d97feb1871c76df7c9f3262
+MD5 f9b3cc3cb11aff79995c20363796ee33 gnutls-1.2.10-r1.ebuild 1673
+RMD160 0baa0290f1d89d2d2cf8b6cace43ad1c47853c91 gnutls-1.2.10-r1.ebuild 1673
+SHA256 a7405b9a5b1bfdecc00cd7b2e9e82a244ec3a8ec9d97feb1871c76df7c9f3262 gnutls-1.2.10-r1.ebuild 1673
EBUILD gnutls-1.2.10.ebuild 1678 RMD160 b1ef9555e85eccce8aed4dd2af4a86222273148f SHA1 d28d111358f71dd31178ef99ae906f35e59733b3 SHA256 9d10209523256c827ad5b6354e4810fc579a7b75d1f057d78f66bff80bdd7f0b
MD5 f1c716c76a609d0effe1a45d3e314b0a gnutls-1.2.10.ebuild 1678
RMD160 b1ef9555e85eccce8aed4dd2af4a86222273148f gnutls-1.2.10.ebuild 1678
SHA256 9d10209523256c827ad5b6354e4810fc579a7b75d1f057d78f66bff80bdd7f0b gnutls-1.2.10.ebuild 1678
-MISC ChangeLog 14400 RMD160 cf43683130e050548b0c889a08155115c683c3c8 SHA1 26fe9d4813271135e417f45a4db48e468b5df299 SHA256 07de7ca2bbbd9a3e31fb7db26b4596d0cbd90828fbed6d76fed29e607207456b
-MD5 6f1462803fd93ba02de269c9112a951f ChangeLog 14400
-RMD160 cf43683130e050548b0c889a08155115c683c3c8 ChangeLog 14400
-SHA256 07de7ca2bbbd9a3e31fb7db26b4596d0cbd90828fbed6d76fed29e607207456b ChangeLog 14400
+EBUILD gnutls-1.2.11.ebuild 1635 RMD160 20f0aa80930d0c2af1e569bce7f3b7b77514efba SHA1 7131a23d5938dde427ba7e1e82e325d6e4ec4b4f SHA256 74a8ee808e08066f996acfba530d6aad8e88169a926c2309ffbdab6b14f89c97
+MD5 21a11958177418d6e8b1210dbe9508d4 gnutls-1.2.11.ebuild 1635
+RMD160 20f0aa80930d0c2af1e569bce7f3b7b77514efba gnutls-1.2.11.ebuild 1635
+SHA256 74a8ee808e08066f996acfba530d6aad8e88169a926c2309ffbdab6b14f89c97 gnutls-1.2.11.ebuild 1635
+EBUILD gnutls-1.4.1.ebuild 1626 RMD160 b48987563017da394fdd57e0128a77f77da9944b SHA1 d287c3ea12f390a6353438fbe614e66f49acb0c1 SHA256 0bd5d8c49f72b5808217add23aa8014a0bb9935dd5d0120f25ffeab55299ff81
+MD5 9d6d1eb22b844eff877c1e8526e460b6 gnutls-1.4.1.ebuild 1626
+RMD160 b48987563017da394fdd57e0128a77f77da9944b gnutls-1.4.1.ebuild 1626
+SHA256 0bd5d8c49f72b5808217add23aa8014a0bb9935dd5d0120f25ffeab55299ff81 gnutls-1.4.1.ebuild 1626
+MISC ChangeLog 14789 RMD160 fd55f9cc71db1503b38e0212d445cb54ae79a615 SHA1 1099e66a7c52633f6eda48fdc73111c9d5a2095a SHA256 95a981821218a2cee9c2647721caf3e573ba5b2dd4afee74ac50eb590e392faa
+MD5 8152fd477f3d197d5bc7445fcb82b6bc ChangeLog 14789
+RMD160 fd55f9cc71db1503b38e0212d445cb54ae79a615 ChangeLog 14789
+SHA256 95a981821218a2cee9c2647721caf3e573ba5b2dd4afee74ac50eb590e392faa ChangeLog 14789
MISC metadata.xml 276 RMD160 99eb13264f3656e33d5cbc95ed9319ba50a1e58c SHA1 1f70a3ead5de1eb0d62a59c084b3a06147256e2f SHA256 abd952a77edadf769a821e7210a01f38850cada9a7677a1561f6aa0ce954f480
MD5 918a1b851dd53568897b4fc7c503912e metadata.xml 276
RMD160 99eb13264f3656e33d5cbc95ed9319ba50a1e58c metadata.xml 276
@@ -21,3 +42,16 @@ SHA256 047f28a7c85970bb1a9933721a1d02b78016dc53281ed67c674fc5882b5ac329 files/di
MD5 09aebfe015690e5cd9d39c4534f2882b files/digest-gnutls-1.2.10-r1 247
RMD160 c464b3eff56634132e72a0132e372bc349ee80bf files/digest-gnutls-1.2.10-r1 247
SHA256 047f28a7c85970bb1a9933721a1d02b78016dc53281ed67c674fc5882b5ac329 files/digest-gnutls-1.2.10-r1 247
+MD5 707557d2508565f704cd4974bba0c4ff files/digest-gnutls-1.2.11 247
+RMD160 8ea4873cb2db6c205ec810a82b1b12ca8434e736 files/digest-gnutls-1.2.11 247
+SHA256 8d3459d1267af0e4b428e0cc7754900fd0683d7ffc1343efbc734299f88b26ca files/digest-gnutls-1.2.11 247
+MD5 dc7a3d08731b4d700adadcb93d1a3e4b files/digest-gnutls-1.4.1 244
+RMD160 44feeb4561921ea716793d0cf06ef98dc3fb3eac files/digest-gnutls-1.4.1 244
+SHA256 9b90f6154d6e62a7ca293a0952da6a9981722382f5f90b8af55fa46db7846dc0 files/digest-gnutls-1.4.1 244
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5rc1-ecc0.1.6 (GNU/Linux)
+
+iD8DBQFEztZ6mdTrptrqvGERAk9YAJ9eiVTnnp9K5empy3inPpTWgrOhngCfakk2
+cfjQG2yDVzDZBgJo4OFrfrQ=
+=TDi3
+-----END PGP SIGNATURE-----
diff --git a/net-libs/gnutls/files/digest-gnutls-1.2.11 b/net-libs/gnutls/files/digest-gnutls-1.2.11
new file mode 100644
index 000000000000..af7b6cb4b1c5
--- /dev/null
+++ b/net-libs/gnutls/files/digest-gnutls-1.2.11
@@ -0,0 +1,3 @@
+MD5 e471ec76791929aa65311c57e0768a6f gnutls-1.2.11.tar.bz2 2756620
+RMD160 07b3f4b9fb875c55e981f95aa4edb6c639176331 gnutls-1.2.11.tar.bz2 2756620
+SHA256 400c118150b31f475a5d562d60ab6912ed7a52b12ef31b2ad9b30a6960ea446d gnutls-1.2.11.tar.bz2 2756620
diff --git a/net-libs/gnutls/files/digest-gnutls-1.4.1 b/net-libs/gnutls/files/digest-gnutls-1.4.1
new file mode 100644
index 000000000000..7f04a038be5c
--- /dev/null
+++ b/net-libs/gnutls/files/digest-gnutls-1.4.1
@@ -0,0 +1,3 @@
+MD5 1948be128e8f684da034b32988867a13 gnutls-1.4.1.tar.bz2 4046780
+RMD160 1bb959a118ce8d776693f602034342c31a8737aa gnutls-1.4.1.tar.bz2 4046780
+SHA256 834e0009a6bfc67c427ba652ae2139f6cce50b4a1ac38214de6249611de73def gnutls-1.4.1.tar.bz2 4046780
diff --git a/net-libs/gnutls/files/gnutls-1.2.10-as-needed.patch b/net-libs/gnutls/files/gnutls-1.2.10-as-needed.patch
new file mode 100644
index 000000000000..78c961a20572
--- /dev/null
+++ b/net-libs/gnutls/files/gnutls-1.2.10-as-needed.patch
@@ -0,0 +1,35 @@
+--- gnutls-1.2.10/tests/Makefile.am.orig 2006-08-01 11:00:11.000000000 +1000
++++ gnutls-1.2.10/tests/Makefile.am 2006-08-01 11:00:54.000000000 +1000
+@@ -29,6 +29,7 @@
+ EXTRA_DIST = client.p12 noclient.p12 unclient.p12
+
+ openssl_LDADD = $(LDADD) ../libextra/libgnutls-openssl.la
++gc_LDADD = $(LDADD) $(LIBGCRYPT_LIBS)
+
+ ctests = simple anonself openssl gc
+ TESTS = pkcs12_neon $(ctests)
+--- gnutls-1.2.10/tests/Makefile.in.orig 2006-08-01 11:01:54.000000000 +1000
++++ gnutls-1.2.10/tests/Makefile.in 2006-08-01 11:02:52.000000000 +1000
+@@ -122,11 +122,11 @@
+ libutils.la
+ gc_SOURCES = gc.c
+ gc_OBJECTS = gc.$(OBJEXT)
+-gc_LDADD = $(LDADD)
+-gc_DEPENDENCIES = ../lib/libgnutls.la ../gl/libgnu.la libutils.la
++am__DEPENDENCIES_1 = ../lib/libgnutls.la ../gl/libgnu.la libutils.la
++am__DEPENDENCIES_2 =
++gc_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2)
+ openssl_SOURCES = openssl.c
+ openssl_OBJECTS = openssl.$(OBJEXT)
+-am__DEPENDENCIES_1 = ../lib/libgnutls.la ../gl/libgnu.la libutils.la
+ openssl_DEPENDENCIES = $(am__DEPENDENCIES_1) \
+ ../libextra/libgnutls-openssl.la
+ simple_SOURCES = simple.c
+@@ -321,6 +321,7 @@
+ libutils_la_SOURCES = utils.h utils.c
+ EXTRA_DIST = client.p12 noclient.p12 unclient.p12
+ openssl_LDADD = $(LDADD) ../libextra/libgnutls-openssl.la
++gc_LDADD = $(LDADD) $(LIBGCRYPT_LIBS)
+ ctests = simple anonself openssl gc
+ TESTS = pkcs12_neon $(ctests)
+ dist_check_SCRIPTS = pkcs12_neon
diff --git a/net-libs/gnutls/files/gnutls-1.4.1-as-needed.patch b/net-libs/gnutls/files/gnutls-1.4.1-as-needed.patch
new file mode 100644
index 000000000000..839464de6fa9
--- /dev/null
+++ b/net-libs/gnutls/files/gnutls-1.4.1-as-needed.patch
@@ -0,0 +1,92 @@
+--- gnutls-1.4.1/tests/Makefile.am.orig 2006-08-01 11:49:16.000000000 +1000
++++ gnutls-1.4.1/tests/Makefile.am 2006-08-01 11:50:12.000000000 +1000
+@@ -35,6 +35,7 @@
+ openssl_LDADD = $(LDADD) ../libextra/libgnutls-openssl.la
+ tlsia_LDADD = $(LDADD) ../libextra/libgnutls-extra.la \
+ ../gl/libgnu.la @LTLIBREADLINE@
++gc_LDADD = $(LDADD) $(LIBGCRYPT_LIBS)
+
+ ctests = simple anonself pskself openssl gc dhepskself set_pkcs12_cred \
+ tlsia resume certder
+--- gnutls-1.4.1/tests/Makefile.in.orig 2006-08-01 11:49:21.000000000 +1000
++++ gnutls-1.4.1/tests/Makefile.in 2006-08-01 11:50:46.000000000 +1000
+@@ -138,13 +138,12 @@
+ ../lib/libgnutls.la libutils.la
+ gc_SOURCES = gc.c
+ gc_OBJECTS = gc.$(OBJEXT)
+-gc_LDADD = $(LDADD)
+-gc_DEPENDENCIES = ../lib/libgnutls.la ../gl/libgnu.la \
++am__DEPENDENCIES_1 = ../lib/libgnutls.la ../gl/libgnu.la \
+ ../lib/libgnutls.la libutils.la
++am__DEPENDENCIES_2 =
++gc_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2)
+ openssl_SOURCES = openssl.c
+ openssl_OBJECTS = openssl.$(OBJEXT)
+-am__DEPENDENCIES_1 = ../lib/libgnutls.la ../gl/libgnu.la \
+- ../lib/libgnutls.la libutils.la
+ openssl_DEPENDENCIES = $(am__DEPENDENCIES_1) \
+ ../libextra/libgnutls-openssl.la
+ pskself_SOURCES = pskself.c
+@@ -250,7 +249,6 @@
+ GL_COND_LIBTOOL_FALSE = @GL_COND_LIBTOOL_FALSE@
+ GL_COND_LIBTOOL_TRUE = @GL_COND_LIBTOOL_TRUE@
+ GMSGFMT = @GMSGFMT@
+-GREP = @GREP@
+ GTK_DOC_USE_LIBTOOL_FALSE = @GTK_DOC_USE_LIBTOOL_FALSE@
+ GTK_DOC_USE_LIBTOOL_TRUE = @GTK_DOC_USE_LIBTOOL_TRUE@
+ HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
+@@ -347,9 +345,15 @@
+ WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
+ WINT_T_SUFFIX = @WINT_T_SUFFIX@
+ XGETTEXT = @XGETTEXT@
++ac_ct_AR = @ac_ct_AR@
++ac_ct_AS = @ac_ct_AS@
+ ac_ct_CC = @ac_ct_CC@
+ ac_ct_CXX = @ac_ct_CXX@
++ac_ct_DLLTOOL = @ac_ct_DLLTOOL@
+ ac_ct_F77 = @ac_ct_F77@
++ac_ct_OBJDUMP = @ac_ct_OBJDUMP@
++ac_ct_RANLIB = @ac_ct_RANLIB@
++ac_ct_STRIP = @ac_ct_STRIP@
+ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+@@ -366,30 +370,23 @@
+ build_os = @build_os@
+ build_vendor = @build_vendor@
+ datadir = @datadir@
+-datarootdir = @datarootdir@
+-docdir = @docdir@
+-dvidir = @dvidir@
+ exec_prefix = @exec_prefix@
+ host = @host@
+ host_alias = @host_alias@
+ host_cpu = @host_cpu@
+ host_os = @host_os@
+ host_vendor = @host_vendor@
+-htmldir = @htmldir@
+ includedir = @includedir@
+ infodir = @infodir@
+ install_sh = @install_sh@
+ libdir = @libdir@
+ libexecdir = @libexecdir@
+-localedir = @localedir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+ mkdir_p = @mkdir_p@
+ oldincludedir = @oldincludedir@
+-pdfdir = @pdfdir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+-psdir = @psdir@
+ sbindir = @sbindir@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+@@ -413,6 +410,7 @@
+ tlsia_LDADD = $(LDADD) ../libextra/libgnutls-extra.la \
+ ../gl/libgnu.la @LTLIBREADLINE@
+
++gc_LDADD = $(LDADD) $(LIBGCRYPT_LIBS)
+ ctests = simple anonself pskself openssl gc dhepskself set_pkcs12_cred \
+ tlsia resume certder
+
diff --git a/net-libs/gnutls/gnutls-1.2.10-r1.ebuild b/net-libs/gnutls/gnutls-1.2.10-r1.ebuild
index 1c27c7c16e7d..923aa43a16ce 100644
--- a/net-libs/gnutls/gnutls-1.2.10-r1.ebuild
+++ b/net-libs/gnutls/gnutls-1.2.10-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-1.2.10-r1.ebuild,v 1.3 2006/04/23 14:00:33 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-1.2.10-r1.ebuild,v 1.4 2006/08/01 04:13:46 dragonheart Exp $
inherit eutils gnuconfig libtool
@@ -34,6 +34,7 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A}
+ epatch "${FILESDIR}"/${P}-as-needed.patch
cd "${S}"
elibtoolize
diff --git a/net-libs/gnutls/gnutls-1.2.11.ebuild b/net-libs/gnutls/gnutls-1.2.11.ebuild
new file mode 100644
index 000000000000..2abf7709de2f
--- /dev/null
+++ b/net-libs/gnutls/gnutls-1.2.11.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-1.2.11.ebuild,v 1.1 2006/08/01 04:13:46 dragonheart Exp $
+
+inherit eutils gnuconfig libtool
+
+DESCRIPTION="A TLS 1.0 and SSL 3.0 implementation for the GNU project"
+HOMEPAGE="http://www.gnutls.org/"
+SRC_URI="ftp://ftp.gnutls.org/pub/gnutls/${P}.tar.bz2"
+
+# GPL-2 for the gnutls-extras library and LGPL for the gnutls library.
+LICENSE="LGPL-2.1 GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="zlib doc crypt"
+
+RDEPEND=">=dev-libs/libgcrypt-1.2.2
+ >=app-crypt/opencdk-0.5.5
+ zlib? ( >=sys-libs/zlib-1.1 )
+ virtual/libc
+ >=dev-libs/lzo-2
+ dev-libs/libgpg-error"
+# >=dev-libs/libtasn1-0.3.4
+# crypt? ( >=app-crypt/opencdk-0.5.5 )
+DEPEND="${RDEPEND}
+ sys-devel/libtool"
+
+# gnutls has its own version of these. should maybe avoid using.
+# libtasn1
+# opencdk
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PN}-1.2.10-as-needed.patch
+ elibtoolize
+}
+
+src_compile() {
+ local myconf=""
+ # use crypt || myconf="${myconf} --disable-extra-pki --disable-openpgp-authentication"
+
+ econf \
+ $(use_with zlib) \
+ --without-included-minilzo \
+ --without-included-libtasn1 \
+ --without-included-opencdk \
+ $(use_enable doc gtk-doc) \
+ ${myconf} || die
+ emake || die
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die
+
+ dodoc AUTHORS ChangeLog NEWS \
+ README THANKS doc/TODO
+
+ if use doc ; then
+ dodoc doc/README.autoconf doc/tex/gnutls.ps
+ docinto examples
+ dodoc doc/examples/*.c
+ fi
+}
diff --git a/net-libs/gnutls/gnutls-1.4.1.ebuild b/net-libs/gnutls/gnutls-1.4.1.ebuild
new file mode 100644
index 000000000000..7b9bbbb32389
--- /dev/null
+++ b/net-libs/gnutls/gnutls-1.4.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-1.4.1.ebuild,v 1.1 2006/08/01 04:13:46 dragonheart Exp $
+
+inherit eutils gnuconfig libtool
+
+DESCRIPTION="A TLS 1.0 and SSL 3.0 implementation for the GNU project"
+HOMEPAGE="http://www.gnutls.org/"
+SRC_URI="ftp://ftp.gnutls.org/pub/gnutls/${P}.tar.bz2"
+
+# GPL-2 for the gnutls-extras library and LGPL for the gnutls library.
+LICENSE="LGPL-2.1 GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="zlib doc crypt"
+
+RDEPEND=">=dev-libs/libgcrypt-1.2.2
+ >=app-crypt/opencdk-0.5.5
+ zlib? ( >=sys-libs/zlib-1.1 )
+ virtual/libc
+ >=dev-libs/lzo-2
+ dev-libs/libgpg-error"
+# >=dev-libs/libtasn1-0.3.4
+# crypt? ( >=app-crypt/opencdk-0.5.5 )
+DEPEND="${RDEPEND}
+ sys-devel/libtool"
+
+# gnutls has its own version of these. should maybe avoid using.
+# libtasn1
+# opencdk
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}"/${P}-as-needed.patch
+ cd "${S}"
+
+ elibtoolize
+}
+
+src_compile() {
+ local myconf=""
+ # use crypt || myconf="${myconf} --disable-extra-pki --disable-openpgp-authentication"
+
+ econf \
+ $(use_with zlib) \
+ --without-included-minilzo \
+ --without-included-libtasn1 \
+ --without-included-opencdk \
+ $(use_enable doc gtk-doc) \
+ ${myconf} || die
+ emake || die
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die
+
+ dodoc AUTHORS ChangeLog NEWS \
+ README THANKS doc/TODO
+
+ if use doc ; then
+ dodoc doc/README.autoconf doc/tex/gnutls.ps
+ docinto examples
+ dodoc doc/examples/*.c
+ fi
+}