From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-libs/ldns/Manifest | 9 +++ net-libs/ldns/files/ldns-1.6.17_perl522.patch | 11 +++ net-libs/ldns/ldns-1.6.17-r1.ebuild | 106 ++++++++++++++++++++++++++ net-libs/ldns/ldns-1.6.17.ebuild | 94 +++++++++++++++++++++++ net-libs/ldns/ldns-1.7.0.ebuild | 105 +++++++++++++++++++++++++ net-libs/ldns/metadata.xml | 19 +++++ 6 files changed, 344 insertions(+) create mode 100644 net-libs/ldns/Manifest create mode 100644 net-libs/ldns/files/ldns-1.6.17_perl522.patch create mode 100644 net-libs/ldns/ldns-1.6.17-r1.ebuild create mode 100644 net-libs/ldns/ldns-1.6.17.ebuild create mode 100644 net-libs/ldns/ldns-1.7.0.ebuild create mode 100644 net-libs/ldns/metadata.xml (limited to 'net-libs/ldns') diff --git a/net-libs/ldns/Manifest b/net-libs/ldns/Manifest new file mode 100644 index 000000000000..2c87ef7573b7 --- /dev/null +++ b/net-libs/ldns/Manifest @@ -0,0 +1,9 @@ +AUX ldns-1.6.17_perl522.patch 313 SHA256 85c3fed85d634d7b53b14af9c55636ac03ccd8346b05d5c60e9b86d01e5c715a SHA512 e9239eedaaa54712454133c1750da0e02b71e89df6e43fb787ac1c4c6dbe548dc7a52f7bc7632c7aa52c003a641d00616fef0bed28ecf5e27dffb56a65e48d25 WHIRLPOOL e14207e09fa9361d46abd3ce7a6fb154b02626ed805f0ac4f614576dd745af1bf120a5c103317669a3aa743d0697bbf05fa3a015cf704ec31c5a69e1da274e69 +DIST ldns-1.6.17.tar.gz 1315403 SHA256 8b88e059452118e8949a2752a55ce59bc71fa5bc414103e17f5b6b06f9bcc8cd SHA512 5de42b4b8622591db51efb0956735deee9cd5e0bee12249a03b65c5b45d7c51bf9c2edb310ef9d7431af49aef77d968bfa2455a7dedfa80cde3d433436c83785 WHIRLPOOL 08c8a13df3dbeccd5dc5ceeb52730a61ab231e70a85524e826f9275bbcde6e09d6e2fc5234303a6bceb431d2b91f510140ce61a2b59d77afbb2759a0627c7cb7 +DIST ldns-1.7.0.tar.gz 1304424 SHA256 c19f5b1b4fb374cfe34f4845ea11b1e0551ddc67803bd6ddd5d2a20f0997a6cc SHA512 8a4e48bcc2a244b92447a9830b60efbb656fb7955f3559ef2eb6f8e724c4c0208776350c44ccf7dcf1ffe0b7b9d9ccc4cbddc5bc16e8888db494ab4d0bce3bd8 WHIRLPOOL 4450b94dd3e2586230f1691b626947cad7ac2031e343d1e522343570d5b713cfd4bacd52e91713139a88c2fe2406f5f42594d2da0a0474c807f47fd2e98726b1 +EBUILD ldns-1.6.17-r1.ebuild 2502 SHA256 0138a78f67f4a2835b33659233cc1788e84f84f56cd5441c412039e4cced05d5 SHA512 30aa360319dd0e9e3a4095fa988ed940a899af72b448b2d4d33fa18f57eee3557eaa20fcc4988deb7821d7ec6a12de88a9f687edb7b964883ffd51e58d14ae83 WHIRLPOOL 871c76ba78d84ed4e78430581fc5a135486247a06bf43f794f2391b3c59e1a6ce79ce1f50f99fb321cfa9d232cce930345e13f970cae6422592e644b113b11a1 +EBUILD ldns-1.6.17.ebuild 2196 SHA256 3f6f2021fdb8cf5943845b5a828f3fb697a8a57c05064950c3f9e5d4269a301a SHA512 70b0785d6380ae4ce03702a5ce396b00275e7dd1548abc96a49444a23e9e370aabc7585d5683fabfca6f512f70ce5acdb7e793d72417a451582920d1f9a7fad5 WHIRLPOOL fc9581744d3e62444473161ce61500d115cf33cb753fcae4c97840d579a20cf61c509fa26726ecfbedb1d078061d9b5bcbbaea06847be7f856c9376f7bde8444 +EBUILD ldns-1.7.0.ebuild 2508 SHA256 2a52ba3fb1d768e77467e80ed263255b658583e1ee7124e079bc2079f32275dd SHA512 b21195493edb2683f23687d6f3c9175f5b2fe2360f65f56c269f97f785f3b1c6d55e34b37199dafde606484b8215b82c98c2bc49c243e958412f115c480e7c6e WHIRLPOOL 20bf660233583e9783d1393f69aa438f854d89b515ddc13d857b91ff42c00d844e183e761d2060c67e84371e2d16c14bb9ad9cb41ac0a6040acf1e50124aeae1 +MISC ChangeLog 3159 SHA256 e2183590addb10926cb301d8881b58ca96cceac6393d6325642c11d67e41fbfd SHA512 407791c924e6678502709e430ec51e701b21f682433ea12dac9423d7c25760ff99145e9f5d859608a9b6cf015f378f0ef415a9afc05ae1d96af22211ee3ea88c WHIRLPOOL 7c5b717b3f0b9609debc037bf947a8ef5c257715285807394f090d4b855ada7896bddb73fdd045dce86b4da4ed31e7b7a61ffba266c62aaf2e5cd6358c143005 +MISC ChangeLog-2015 9504 SHA256 a893ea92ef0b9356db6c3a454e9c2324e08e4b5117ee858b0977da62d387da6a SHA512 d35b4668568fed22e1f809f29c372cfdea260fafcdcbfb2595564afb84169f6248792b49e1e0ce42b8214edcfc949a985720e6788e94fc4ea5379d163e2edb8e WHIRLPOOL 19e6c305ed9b3f138803b4ff0ce53254b32a3f208bd34819d9590b4d36a0ced94b471170a29f646804f6003cd5ed2340b5d38b9a64f2073668b43a267addd93b +MISC metadata.xml 743 SHA256 6a2c24089662c2c80c12b0b747828d344de690108a4d4672099edd1660feb91f SHA512 b8d5c5fd107fb7dd7dc2d7d19fbb91a07a2a619b6c9ddd9146d9359c06ed96059c87d169b7c2022760e4117283372c01b6f5231edf975bbab9c72a3ee8347f35 WHIRLPOOL 5ef5f175de8397737146d78fb3dfedd192dd6b9172be488073387508c77972dec0d06dc7881c620fc736b9475ef8f9c4944ea58fa0ea0a1a1466de25ca97b835 diff --git a/net-libs/ldns/files/ldns-1.6.17_perl522.patch b/net-libs/ldns/files/ldns-1.6.17_perl522.patch new file mode 100644 index 000000000000..ef9c82c8f6b9 --- /dev/null +++ b/net-libs/ldns/files/ldns-1.6.17_perl522.patch @@ -0,0 +1,11 @@ +--- a/doc/doxyparse.pl 2014-01-10 22:04:41.000000000 +0100 ++++ b/doc/doxyparse.pl 2015-07-15 18:31:33.744755996 +0200 +@@ -273,7 +273,7 @@ + + print MAN $MAN_MIDDLE; + +- if (defined(@$also)) { ++ if (@$also) { + print MAN "\n.SH SEE ALSO\n\\fI"; + print MAN join "\\fR, \\fI", @$also; + print MAN "\\fR.\nAnd "; diff --git a/net-libs/ldns/ldns-1.6.17-r1.ebuild b/net-libs/ldns/ldns-1.6.17-r1.ebuild new file mode 100644 index 000000000000..c0b67b5178fd --- /dev/null +++ b/net-libs/ldns/ldns-1.6.17-r1.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit eutils multilib-minimal python-single-r1 + +DESCRIPTION="a library with the aim to simplify DNS programming in C" +HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/" +SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="dane doc +ecdsa gost libressl python +ssl static-libs vim-syntax" + +# configure will die if ecdsa is enabled and ssl is not +REQUIRED_USE="ecdsa? ( ssl ) + python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + python? ( ${PYTHON_DEPS} ) + dane? ( + !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) + ) + ecdsa? ( + !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[-bindist,${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) + ) + gost? ( + !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) + ) + ssl? ( + !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) + ) +" +DEPEND="${RDEPEND} + python? ( dev-lang/swig ) + doc? ( app-doc/doxygen ) +" + +RESTRICT="test" # 1.6.9 has no test directory + +MULTILIB_CHOST_TOOLS=( + /usr/bin/ldns-config +) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}/${P}_perl522.patch" +} + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + econf \ + $(use_enable static-libs static) \ + $(use_enable ssl sha2) \ + $(use_enable gost) \ + $(use_enable ecdsa) \ + $(use_enable dane) \ + $(use_with ssl ssl "${EPREFIX}"/usr) \ + $(multilib_native_use_with python pyldns) \ + $(multilib_native_use_with python pyldnsx) \ + --without-drill \ + --without-examples \ + --disable-rpath +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use doc ; then + emake doxygen + fi +} + +multilib_src_install() { + default + + if multilib_is_native_abi && use doc ; then + dohtml -r doc/html/. + fi +} + +multilib_src_install_all() { + dodoc Changelog README* + + prune_libtool_files --modules + use python && python_optimize + + if use vim-syntax ; then + insinto /usr/share/vim/vimfiles/ftdetect + doins libdns.vim + fi + + einfo + elog "Install net-dns/ldns-utils if you want drill and examples" + einfo +} diff --git a/net-libs/ldns/ldns-1.6.17.ebuild b/net-libs/ldns/ldns-1.6.17.ebuild new file mode 100644 index 000000000000..c83ddb745d94 --- /dev/null +++ b/net-libs/ldns/ldns-1.6.17.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit eutils multilib-minimal python-single-r1 + +DESCRIPTION="a library with the aim to simplify DNS programming in C" +HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/" +SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="dane doc +ecdsa gost python +ssl static-libs vim-syntax" + +# configure will die if ecdsa is enabled and ssl is not +REQUIRED_USE="ecdsa? ( ssl ) + python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + dane? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) + ecdsa? ( >=dev-libs/openssl-1.0.1h-r2:0[-bindist,${MULTILIB_USEDEP}] ) + gost? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) + python? ( ${PYTHON_DEPS} ) + ssl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + python? ( dev-lang/swig ) + doc? ( app-doc/doxygen ) +" + +RESTRICT="test" # 1.6.9 has no test directory + +MULTILIB_CHOST_TOOLS=( + /usr/bin/ldns-config +) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}/${P}_perl522.patch" +} + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + econf \ + $(use_enable static-libs static) \ + $(use_enable ssl sha2) \ + $(use_enable gost) \ + $(use_enable ecdsa) \ + $(use_enable dane) \ + $(use_with ssl ssl "${EPREFIX}"/usr) \ + $(multilib_native_use_with python pyldns) \ + $(multilib_native_use_with python pyldnsx) \ + --without-drill \ + --without-examples \ + --disable-rpath +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use doc ; then + emake doxygen + fi +} + +multilib_src_install() { + default + + if multilib_is_native_abi && use doc ; then + dohtml -r doc/html/. + fi +} + +multilib_src_install_all() { + dodoc Changelog README* + + prune_libtool_files --modules + use python && python_optimize + + if use vim-syntax ; then + insinto /usr/share/vim/vimfiles/ftdetect + doins libdns.vim + fi + + einfo + elog "Install net-dns/ldns-utils if you want drill and examples" + einfo +} diff --git a/net-libs/ldns/ldns-1.7.0.ebuild b/net-libs/ldns/ldns-1.7.0.ebuild new file mode 100644 index 000000000000..5e5b25fd009c --- /dev/null +++ b/net-libs/ldns/ldns-1.7.0.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit eutils multilib-minimal python-single-r1 + +DESCRIPTION="a library with the aim to simplify DNS programming in C" +HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/" +SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="+dane doc +ecdsa gost libressl python +ssl static-libs vim-syntax" + +# configure will die if ecdsa is enabled and ssl is not +REQUIRED_USE="ecdsa? ( ssl ) + python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + python? ( ${PYTHON_DEPS} ) + dane? ( + !libressl? ( >=dev-libs/openssl-1.0.1e:0[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) + ) + ecdsa? ( + !libressl? ( >=dev-libs/openssl-1.0.1e:0[-bindist,${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) + ) + gost? ( + !libressl? ( >=dev-libs/openssl-1.0.1e:0[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) + ) + ssl? ( + !libressl? ( >=dev-libs/openssl-1.0.1e:0[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] ) + ) +" +DEPEND="${RDEPEND} + python? ( dev-lang/swig ) + doc? ( app-doc/doxygen ) +" + +RESTRICT="test" # 1.6.9 has no test directory + +MULTILIB_CHOST_TOOLS=( + /usr/bin/ldns-config +) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + econf \ + $(use_enable static-libs static) \ + $(use_enable ssl sha2) \ + $(use_enable gost) \ + $(use_enable ecdsa) \ + $(use_enable dane) \ + $(use_with ssl ssl "${EPREFIX}"/usr) \ + $(multilib_native_use_with python pyldns) \ + $(multilib_native_use_with python pyldnsx) \ + --without-drill \ + --without-examples \ + --disable-dane-ta-usage \ + --disable-rpath + + # >=openssl-1.1.0 required for dane-ta +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use doc ; then + emake doxygen + fi +} + +multilib_src_install() { + default + + if multilib_is_native_abi && use doc ; then + dohtml -r doc/html/. + fi +} + +multilib_src_install_all() { + dodoc Changelog README* + + prune_libtool_files --modules + use python && python_optimize + + if use vim-syntax ; then + insinto /usr/share/vim/vimfiles/ftdetect + doins libdns.vim + fi + + einfo + elog "Install net-dns/ldns-utils if you want drill and examples" + einfo +} diff --git a/net-libs/ldns/metadata.xml b/net-libs/ldns/metadata.xml new file mode 100644 index 000000000000..01302fa69414 --- /dev/null +++ b/net-libs/ldns/metadata.xml @@ -0,0 +1,19 @@ + + + + + mschiff@gentoo.org + Marc Schiffbauer + + + ldns is a library with the aim to simplify DNS programming in C. All + lowlevel DNS/DNSSEC operations are supported. We also define a higher + level API which allows a programmer to (for instance) create or sign + packets. + + + Enable DNS-based Authentication of Named Entities (DANE) support + Enable ECDSA support + Enable GOST support + + -- cgit v1.2.3