diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-02-10 07:11:54 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-02-10 07:11:54 +0000 |
commit | febf568212b0c9ca8c842eedfbf2e9939295654f (patch) | |
tree | ff5b4172a68833bf8ac86a4f34a371a210fb5202 /net-libs | |
parent | Drop KEYWORDS for arches that haven't keyworded p11-kit yet. (diff) | |
download | historical-febf568212b0c9ca8c842eedfbf2e9939295654f.tar.gz historical-febf568212b0c9ca8c842eedfbf2e9939295654f.tar.bz2 historical-febf568212b0c9ca8c842eedfbf2e9939295654f.zip |
Remove old.
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/gnutls/ChangeLog | 6 | ||||
-rw-r--r-- | net-libs/gnutls/Manifest | 24 | ||||
-rw-r--r-- | net-libs/gnutls/gnutls-2.12.14.ebuild | 122 | ||||
-rw-r--r-- | net-libs/gnutls/gnutls-3.0.10.ebuild | 111 | ||||
-rw-r--r-- | net-libs/gnutls/gnutls-3.0.8.ebuild | 111 | ||||
-rw-r--r-- | net-libs/gnutls/gnutls-3.0.9.ebuild | 111 |
6 files changed, 13 insertions, 472 deletions
diff --git a/net-libs/gnutls/ChangeLog b/net-libs/gnutls/ChangeLog index 37b8de590a3a..4d6c01da8876 100644 --- a/net-libs/gnutls/ChangeLog +++ b/net-libs/gnutls/ChangeLog @@ -1,6 +1,10 @@ # 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.327 2012/02/10 07:09:57 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/gnutls/ChangeLog,v 1.328 2012/02/10 07:11:54 radhermit Exp $ + + 10 Feb 2012; Tim Harder <radhermit@gentoo.org> -gnutls-2.12.14.ebuild, + -gnutls-3.0.8.ebuild, -gnutls-3.0.9.ebuild, -gnutls-3.0.10.ebuild: + Remove old. 10 Feb 2012; Tim Harder <radhermit@gentoo.org> gnutls-2.12.14.ebuild, gnutls-2.12.16.ebuild: diff --git a/net-libs/gnutls/Manifest b/net-libs/gnutls/Manifest index b28db5738cda..f48d7fa93415 100644 --- a/net-libs/gnutls/Manifest +++ b/net-libs/gnutls/Manifest @@ -2,29 +2,21 @@ Hash: SHA512 DIST gnutls-2.10.5.tar.bz2 7287913 RMD160 4bc886ced90742a488e00c1884e6124b37047382 SHA1 4530657082a0e754356de89a5529d1ad7a18e777 SHA256 c086d5426ef04427038db6af1a4dc62ff32694e91e759ebf9bb3380243ebd9c9 -DIST gnutls-2.12.14.tar.bz2 7166618 RMD160 855c89c46898e7b934a8f6b7466d3089031c9f9a SHA1 e5680f78ee51ff9ebb9749b39504d3e981a19242 SHA256 5ee72ba6de7a23cf315792561954451e022dac8730149ca95f93c61e95be2ce3 DIST gnutls-2.12.16.tar.bz2 7167795 RMD160 447212115b6b39a6d52cc6b441dc3bf15e69789a SHA1 2d0857f7896597185b19d2861a2eb378e5d310fb SHA256 d04328857d9e420eca53f7f7fd615bc76d2f5d74984a9b90c0f2c5f7b5bf5b4a -DIST gnutls-3.0.10.tar.xz 4385864 RMD160 2d2a89e7c9ded78f1fa9a967b3e1d301e7368da4 SHA1 4380a57835f98b5000129eec666f7e1e76c83983 SHA256 6af23f04089a9c545d314dde9592278f1c22e67c8f9250e269e5a11877ab370e DIST gnutls-3.0.11.tar.xz 4384992 RMD160 e25ff325b8069e838b2c5d6637902edaecfb1047 SHA1 62a5c4c3777e5ed707de740667306a583cb0a118 SHA256 39c10ca177a72a182a54860a815b9f4340f92c3d4de241e80f091d5da14913d1 -DIST gnutls-3.0.8.tar.xz 4257072 RMD160 b8ae537d21701954cbdd9baf76c14b465766b48d SHA1 b62457ff7422034b6f2974633e78c81fca5a8213 SHA256 ba4e194be89035b468e5db18e0582de42c9876f6cf91d56699de0986aa3c9761 -DIST gnutls-3.0.9.tar.xz 4363424 RMD160 87fd20eee2c006494fc5bdcfbef5eccfe3611b9c SHA1 ce0a6a5d56c57a28dc6099e7f84ab85513d86139 SHA256 811c2fb46dd1d162a18cfd4f8e8352de65199ff66c44e73b15a18b924fc53857 EBUILD gnutls-2.10.5.ebuild 2837 RMD160 08f973e7eab9f993a3be578f84455f623df06969 SHA1 00d1384fcb7b2f720a23decdb5c2563be3680da3 SHA256 62595d10eff18850b36d623cb66cbcdccc6d5e01ae71b5d06fd5898e165f139e -EBUILD gnutls-2.12.14.ebuild 3078 RMD160 c711d7922c2f496e97746a9ca8553908660df1c6 SHA1 70d0be3dbff8ee98a5667aae0ec7c1b718233bfd SHA256 7310933b08f010c445a466235f2c0b748e93772415aa280294579d637965e3d7 EBUILD gnutls-2.12.16.ebuild 3078 RMD160 da8c5dbcfb394e5822ec23aebff5318eed1cf606 SHA1 4125b5fee1364f9842f14b87067deb863dbfbb6d SHA256 ca4dac0a988356c6da1b95146b7406d54b009c5e1809652877b75f74e26323d1 -EBUILD gnutls-3.0.10.ebuild 2699 RMD160 259506ff86673b8b8a57891357c9f87b9f014d4b SHA1 e0b854d808205ece5352906d5a8d1cb59827dd91 SHA256 09cca258e3d42c124e83573f4c39b402210796974104bffc6cb195723267b7f8 EBUILD gnutls-3.0.11.ebuild 2699 RMD160 3c57d93ff50c3556398116f7f3938d1175858d1d SHA1 6557daea0aca226facc0c6ef4af61efeff33a72c SHA256 1da46f3264cf55c8664834cb5bdf74ab1581bd75ee061a92f45e38de29e335e8 -EBUILD gnutls-3.0.8.ebuild 2698 RMD160 98bfe7f6dc2d7fee43179d62082a61669887fb28 SHA1 c5cabcb2484916495b17334c8af5ed80e575a14a SHA256 ceb18c581ef8a950ab8a325cad91d70e201f1c06e1a5d6c56c16908c9e801a6d -EBUILD gnutls-3.0.9.ebuild 2698 RMD160 46c3418e58ecb54c88cba645da3e169c43c6437a SHA1 82e676d070c7a39bee152021977f4e1f82995b7a SHA256 ba067c22031f660853e4031577dfd7ad3cb76ca88fc6edafc66b718d964aba78 -MISC ChangeLog 49236 RMD160 0843d30ef2a8b7f969bac75f0269878ce318cea0 SHA1 61eb94ddfd404120852ce232269774665e593ae9 SHA256 5414dfd5f39bce352c07bf4f36b3b98a93acaba1e77d45d8ea6e6441a22989fc +MISC ChangeLog 49393 RMD160 12728c226bd7eec003e5dff8a0cd4ba0fe180dd6 SHA1 2c15ecfbf23a4c599efa2480d8dec1eed30cbda3 SHA256 b3abdfe9297e4a29e3fa88e96c7641c6f687e98ce48bc99e8e1fa2a932f218c4 MISC metadata.xml 340 RMD160 e973767590edb923f2828ef545293617b4b19554 SHA1 e42964b82af04a3d6de8307186a33d18a12af326 SHA256 a2bf9aefe44513df9e611a974c08d7f26b987c0c48c134a0d6f5177ca6a8676d -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQEcBAEBCgAGBQJPNMLLAAoJEEqz6FtPBkyjgUcH/josAOFQRMzjhtntjkSos2vQ -Er7/11B+3ValgWgCKsv134PVEhBAwjCIg4JXHXgEmAYshm5VWpf6C8RLRgKu4z2A -BuoZ7AVQTos7nD6MteVbB7F1pGdFhVeTRrNOAEyx8Fyki10SI766eq5H6Z2XABQm -vLvlx1n3ukc3YlS9vt73eeAy+89w5MNvOB8irLiiw81Eb3T1UeLT/71VJigFQBSN -cbOM6aYpmVICMwD4Yw6zsZH0PAvfE5mrWuxbIABg+kEhRkq7wjz+ERdYeNb5XhjH -0owPKIXTU+i2b3U/85Su3cFKoD7QbdKbgaQhSjGklA5CsQd00bb2S1EiGci1Inc= -=GB5h +iQEcBAEBCgAGBQJPNMNAAAoJEEqz6FtPBkyjJRgH/0s5aOaGgIo/1NqkztGYdp81 +yGsp/XeIGk9XfFj+tUUgKw4vON6pMsDhZAsQbBYQa64fQ2wdLIPRy7kTeKDlxChu +bWv4DB4yB2CqyX1Bz0WVOJDf+seE6zS1vLl2QxIA739k847+wEp9nA8aKXL6Yj4i +ziE1e32IhslgRpXKEKVb2gTJVKgP/2dRKTNZ8RMBjE32455jPNoHYVT+3wAvYL3/ +5wqRblnVEItws0exi7Ewl/5KtSjZd/1Q6BeVnulicxiXOZw3bzb/vpoOqyOhFa6b +IYU2W60Dbj2uRFyrdTqb9RQ8OMhwYNZGs3aLN7dPN2euBASFS42GDvMM379T1XE= +=Y0Ur -----END PGP SIGNATURE----- diff --git a/net-libs/gnutls/gnutls-2.12.14.ebuild b/net-libs/gnutls/gnutls-2.12.14.ebuild deleted file mode 100644 index bd6ab1ad8391..000000000000 --- a/net-libs/gnutls/gnutls-2.12.14.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# 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-2.12.14.ebuild,v 1.4 2012/02/10 07:09:57 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.bz2" - else - SRC_URI="ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.bz2" - 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 ~x86" -IUSE="bindist +cxx doc examples guile lzo +nettle nls pkcs11 static-libs test zlib" - -RDEPEND=">=dev-libs/libtasn1-0.3.4 - guile? ( >=dev-scheme/guile-1.8[networking] ) - nettle? ( >=dev-libs/nettle-2.1[gmp] ) - !nettle? ( >=dev-libs/libgcrypt-1.4.0 ) - nls? ( virtual/libintl ) - pkcs11? ( app-crypt/p11-kit ) - zlib? ( >=sys-libs/zlib-1.2.3.1 ) - !bindist? ( lzo? ( >=dev-libs/lzo-2 ) )" -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 ) - -pkg_setup() { - if use lzo && use bindist; then - ewarn "lzo support is disabled for binary distribution of GnuTLS due to licensing issues." - fi -} - -src_prepare() { - # tests/suite directory is not distributed. - sed -i -e 's|AC_CONFIG_FILES(\[tests/suite/Makefile\])|:|' \ - configure.ac || die - - sed -i -e 's/imagesdir = $(infodir)/imagesdir = $(htmldir)/' \ - doc/Makefile.am || die - - local dir - for dir in m4 lib/m4 libextra/m4; do - rm -f "${dir}/lt"* "${dir}/libtool.m4" - done - find . -name ltmain.sh -exec rm {} \; - for dir in . lib libextra; do - pushd "${dir}" > /dev/null - eautoreconf - popd > /dev/null - done - - # Use sane .so versioning on FreeBSD. - elibtoolize -} - -src_configure() { - local myconf - use bindist && myconf="--without-lzo" || myconf="$(use_with lzo)" - [[ "${VALGRIND_TESTS}" != "1" ]] && myconf+=" --disable-valgrind-tests" - - econf \ - --htmldir=/usr/share/doc/${P}/html \ - $(use_enable cxx) \ - $(use_enable doc gtk-doc) \ - $(use_enable doc gtk-doc-pdf) \ - $(use_enable guile) \ - $(use_with !nettle libgcrypt) \ - $(use_enable nls) \ - $(use_with pkcs11 p11-kit) \ - $(use_enable static-libs static) \ - $(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 -} diff --git a/net-libs/gnutls/gnutls-3.0.10.ebuild b/net-libs/gnutls/gnutls-3.0.10.ebuild deleted file mode 100644 index 5243401d2583..000000000000 --- a/net-libs/gnutls/gnutls-3.0.10.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# 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.10.ebuild,v 1.1 2012/01/05 06:04:16 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 nls pkcs11 static-libs test zlib" - -RDEPEND=">=dev-libs/libtasn1-0.3.4 - >=dev-libs/nettle-2.4[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 -} diff --git a/net-libs/gnutls/gnutls-3.0.8.ebuild b/net-libs/gnutls/gnutls-3.0.8.ebuild deleted file mode 100644 index 74cabc2bf97e..000000000000 --- a/net-libs/gnutls/gnutls-3.0.8.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# 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.8.ebuild,v 1.3 2011/11/28 02:48:38 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 nls pkcs11 static-libs test zlib" - -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 -} diff --git a/net-libs/gnutls/gnutls-3.0.9.ebuild b/net-libs/gnutls/gnutls-3.0.9.ebuild deleted file mode 100644 index 1a4e5884881f..000000000000 --- a/net-libs/gnutls/gnutls-3.0.9.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# 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.9.ebuild,v 1.1 2011/12/14 03:24:44 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 nls pkcs11 static-libs test zlib" - -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 -} |