# ChangeLog for net-libs/gnutls
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.315 2011/09/21 10:05:42 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.316 2011/10/15 19:59:41 radhermit Exp $
+
+*gnutls-3.0.4 (15 Oct 2011)
+
+ 15 Oct 2011; Tim Harder <radhermit@gentoo.org> +gnutls-3.0.4.ebuild:
+ Version bump.
21 Sep 2011; Tomáš Chvátal <scarabeus@gentoo.org> -gnutls-3.0.2.ebuild,
gnutls-3.0.3.ebuild, metadata.xml:
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA512
DIST gnutls-2.10.5.tar.bz2 7287913 RMD160 4bc886ced90742a488e00c1884e6124b37047382 SHA1 4530657082a0e754356de89a5529d1ad7a18e777 SHA256 c086d5426ef04427038db6af1a4dc62ff32694e91e759ebf9bb3380243ebd9c9
DIST gnutls-2.12.10.tar.bz2 7253056 RMD160 d1151b1c421cd2b66bd6363f26e0a135b6cff984 SHA1 52ed0bfa3dc7900f8da22f29eaace6ec34439223 SHA256 c21f2e6ba9c78bfe681cfe24f0e8c73e3244da305a57a3287c6c7173a6d9a304
DIST gnutls-2.12.11.tar.bz2 7162654 RMD160 d8892c8ab44a69e45d43125fd653c25e62d1fb9d SHA1 30c8977c3f32b48e523e09cb8ce8952d80520a4f SHA256 00b58e1aafe99bbd0cb371e7f1df9cc58bf807301cf70a7eebedeee093991360
DIST gnutls-3.0.3.tar.xz 4281044 RMD160 455ad881e5abacb8a3b581534cbef24b256d1ff5 SHA1 0e6c325ae12cf1a4bd7d25125b8d58d51472fc14 SHA256 1c9f7e5e22b30cc7e558b00aa0a78388852b62b241c68c4f5dce1cb39ca6298b
+DIST gnutls-3.0.4.tar.xz 4289052 RMD160 0137ca396fc9cc48139b37f9246601efa323a518 SHA1 4e893b1a55865cbf12a8d43e1bde34fd549cc0d8 SHA256 a367e79229d14742b128fb65c3257ee0cb7b43c9afaf52cb9eb41fc044c9b09a
EBUILD gnutls-2.10.5.ebuild 2837 RMD160 08f973e7eab9f993a3be578f84455f623df06969 SHA1 00d1384fcb7b2f720a23decdb5c2563be3680da3 SHA256 62595d10eff18850b36d623cb66cbcdccc6d5e01ae71b5d06fd5898e165f139e
EBUILD gnutls-2.12.10.ebuild 3149 RMD160 ac00128e761fc1d84e742c2b20e15f45c9ffc66c SHA1 3201bd3d7fd8e8087531d851c396ebb77d87ff1f SHA256 46cf777e7174bf01ecb7f4942ff379a2153f61241ba5c70010e8377089baa69c
EBUILD gnutls-2.12.11.ebuild 3149 RMD160 ae31ae8775ac879131bb6cc03270fb167c61af5d SHA1 7cbe4941e08f188c9f0e02e320e82622d668aa63 SHA256 dc7592dd53e4a391c0cde2dc5034c661c969cafcda40e9eb8cbd27ee263ceddc
EBUILD gnutls-3.0.3.ebuild 2768 RMD160 310a64ad55eecc2b8f3f7b7010f7d845343f8c9e SHA1 b7266a284b0f9cfd6e4fdc50e8d3d14f1a48bce1 SHA256 c2a7eba33a07f59ec11f54eb712c045c7e4823dc2434665729b2220e37c14793
-MISC ChangeLog 47280 RMD160 5c9bff981d6f646f2fc1865a6b7804ebc9df2c5e SHA1 f424e8091b44f0c0fd010000c61be5885df63625 SHA256 892a4ca68a2562164278322b9468d7d7a0a416f8a41dbc8126564802478cb8b1
+EBUILD gnutls-3.0.4.ebuild 2768 RMD160 74f04b2e06abf8d10f7580017a25f5f7dd80e2ef SHA1 cb1a3fba83cdc56e207a42412d47207cefbc6e4e SHA256 8c6d7a618b8bcc8a060df9a23594b9bde83dd7c1010b5b9e972f1917a3559aad
+MISC ChangeLog 47397 RMD160 882993f04430e9625c1d535fa5f27ceb95889945 SHA1 bdde1da32fb7481aa855aa8d57d1ec45a8180c71 SHA256 1c9443b7f26e44933387233a7973f533b019f470a4858da68b3b06aa6c4bc561
MISC metadata.xml 340 RMD160 e973767590edb923f2828ef545293617b4b19554 SHA1 e42964b82af04a3d6de8307186a33d18a12af326 SHA256 a2bf9aefe44513df9e611a974c08d7f26b987c0c48c134a0d6f5177ca6a8676d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQIcBAEBAgAGBQJOebbWAAoJEOSiRoyO7jvotZEQAINyp62eVWtu6PJbo9IetrNa
-OFHmPyjhpYL3iauFVtxqMNN/3oLrsyFmcjLjSnJkrj1zIm5QR4a5xC8i2mUnisL/
-+oV2yi8uSlKwyvQTTjxZ5S6YXZLIUVkgixlYITDjZSDGclTj9QBtCZ7ygPoBLEc9
-Hx7Osa2oE5+RdsDn6ZbuRtXTjscFkAR6dwNEYJhKhnIIWIQkZvUomURMK0vgoE4y
-h9nyQZrxBcSY2GVriAhKJPWZJ9v7dMu6LwLN/DGfu3NfTkeBHrSB9qepn6YlIQO1
-al1WoFeLNrIL1ees0hjX05sk/fL2URMrOJ48uF4jb8xtoMjoiX8Gr83Sp0MbPMJr
-YPg6x8Ltj5sAkfZMwN535akeJmJQHMv9cKonhjQL8Ip+DO/91TlwtKg7oFt7nofJ
-smDh2fJ4q1aQ4jEx2MsMVdnIQMcYWl5egb9UQ6Isc86AnlxkpNNmdd6ho8X1BElX
-qwQwSGeQ8OKxPw9SUqlTNfNibntqI+BPpjLLEw2a46fxnatuTDzLYcab+4G6ApRE
-78DZr61iuyJbm6ozgr+ICk6c1l8V9BSPpWTUZAcPD+KOOogz7hs9HPKq+pe6Sb46
-fS6HTZrZOSbbTrUg00WGW4TDrlkMt3eOz3l/5VP+zpz16Vh5O5TniC+kFZalCHjA
-SU6iskCqBTulxE5zBXWI
-=SEAQ
+iQEcBAEBCgAGBQJOmeYzAAoJEEqz6FtPBkyjAycIAJePPPGD4us/oSzJUlD2dB9N
+afE2cRijfLeUvE7u/DoKTFnu9EJtRUzRr/WtrzTAtbfogZrHbRUBuY5eayITSH5o
+rgMc7vSaHMeDx9Li5WPUtod/MUUWpOkixTh4CkkT+qGbVj55yilw//YRe66mABwi
+B4iZw289i2OaYqOaeztHImd9HDKB8kvm1bgad1Sf6ZXTETMg9Ko+qdYR2uPdjk+E
+OdYVMa5rnI2EpcYm92YEzLAbObNGwHJRa2/L8uqzAiDoFhd3XzfsjA03WBQofL1N
+fCD9H/aKnO8wEhpuWnz+vvPo/CdlrZL8Tzkz5pmarGUS02sKpVW6syphL5HFNac=
+=PReW
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/gnutls-3.0.4.ebuild,v 1.1 2011/10/15 19:59:41 radhermit Exp $
+
+EAPI=4
+
+inherit autotools libtool
+
+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
+ MINOR_VERSION="${PV#*.}"
+ MINOR_VERSION="${MINOR_VERSION%%.*}"
+ if [[ $((MINOR_VERSION % 2)) == 0 ]]; then
+ #SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.bz2"
+ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
+ else
+ SRC_URI="ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.xz"
+ fi
+ unset MINOR_VERSION
+fi
+
+# LGPL-2.1 for libgnutls library and GPL-3 for libgnutls-extra library.
+LICENSE="GPL-3 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="+cxx doc examples guile +nettle nls pkcs11 static-libs test zlib"
+
+# lib/m4/hooks.m4 says that GnuTLS uses a fork of PaKChoiS.
+RDEPEND="
+ >=dev-libs/libtasn1-0.3.4
+ >=dev-libs/nettle-2.2[gmp]
+ guile? ( >=dev-scheme/guile-1.8[networking] )
+ nls? ( virtual/libintl )
+ pkcs11? ( app-crypt/p11-kit )
+ zlib? ( >=sys-libs/zlib-1.2.3.1 )"
+DEPEND="${RDEPEND}
+ 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
+
+ # tests/suite directory is not distributed.
+ sed -i \
+ -e ':AC_CONFIG_FILES(\[tests/suite/Makefile\]):d' \
+ 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 {} \;
+ eautoreconf
+
+ # Use sane .so versioning on FreeBSD.
+ elibtoolize
+}
+
+src_configure() {
+ local myconf
+ [[ ${VALGRIND_TESTS} != 1 ]] && myconf+=" --disable-valgrind-tests"
+
+ econf \
+ --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
+ $(use_enable static-libs static) \
+ $(use_enable cxx) \
+ $(use_enable doc gtk-doc) \
+ $(use_enable doc gtk-doc-pdf) \
+ $(use_enable guile) \
+ $(use_enable nls) \
+ $(use_with pkcs11 p11-kit) \
+ $(use_with zlib) \
+ ${myconf}
+}
+
+src_test() {
+ if has_version dev-util/valgrind && [[ ${VALGRIND_TESTS} != 1 ]]; then
+ elog
+ elog "You can set VALGRIND_TESTS=\"1\" to enable Valgrind tests."
+ elog
+ fi
+
+ default
+}
+
+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
+}