diff options
Diffstat (limited to 'net-dns/dnssec-validator')
-rw-r--r-- | net-dns/dnssec-validator/Manifest | 5 | ||||
-rw-r--r-- | net-dns/dnssec-validator/dnssec-validator-2.2.3.ebuild | 61 | ||||
-rw-r--r-- | net-dns/dnssec-validator/files/dnssec-validator-2.2.3-ldflags.patch | 33 | ||||
-rw-r--r-- | net-dns/dnssec-validator/metadata.xml | 26 |
4 files changed, 120 insertions, 5 deletions
diff --git a/net-dns/dnssec-validator/Manifest b/net-dns/dnssec-validator/Manifest index bd7f46e0e490..d7a0630f9c40 100644 --- a/net-dns/dnssec-validator/Manifest +++ b/net-dns/dnssec-validator/Manifest @@ -1,5 +1,8 @@ AUX dnssec-validator-2.1-respect-LDFLAGS.patch 529 BLAKE2B b4e3199c1263973e93b744077025b11a1ab9d525d28129744b5c3dc5b9e4e4fc5461dbe4a2d7c36e8dee6f3b743cf73ae328cc5b044f8c1887d6601b33fe8ac1 SHA512 c6ff47eee87ff5b1add81b80136f58369c3b782d2ebae7328152374e7e6ed565bd116a75d69f5fb8ec8273800c4ebd47707aa4560e7bff8007651e13a8590eb6 AUX dnssec-validator-2.2-glib-2.25.patch 5308 BLAKE2B 169c0163926388243d22f3ee5e73a30966525975c9dea800170dc82f61113902cb2d5d5e61bd4edab28ab41b9f0fd1cb2978f1433a1e75cc710cc481786bbc62 SHA512 17aa048f52c7fafc0074c83a725a6b487e88c4a55e3f3f082fa876b2d7ad95cbc3506401991de64546dd97f1ab75421dc3079a0b2d9dd02a26f90658830bf6af +AUX dnssec-validator-2.2.3-ldflags.patch 955 BLAKE2B b6cf8f7e812d4ed14dfafde00afabdd30f2fb54ae604613d0f43520eb683e5f19113477421d9aba86ecc7f89a2706f12c713c19a3690bd93bb7c284123b08a71 SHA512 dfa88f661318b0f3406ce984455b3890ddc891ec2e4ac20ce5eb46d47b22014b001f447fbf69ac1a5d2a3239dfe4d6a330040d768ef4b1ad3ee4923ca06f95d0 +DIST dnssec-tools-2.2.3.tar.gz 42941393 BLAKE2B b7b6a54113fb5cf030bd60e18f5446b02d1ceba3564ac854b0305225672545e802fecfa1169dc81e68ffe195533e06082dc22500a51b48965aa9c0fc32c915ed SHA512 fd2467f116f77089bddf9311706f356957f4ae735d827d393534e4001b621c9dfc904ff3d4da698d37e8e97b1be9448ab2fd5455c124656399aac30f1f642baf DIST dnsval-2.2.tar.gz 1060434 BLAKE2B 3a19d5f4128e32f81ae824a128c65b5c5b6f21cef2786d1050631db10084a479614241d869bb33d054d96e7a1e286c472296edf8c4c7e45abd84aaa4df599f28 SHA512 1a01911b08e447d992f4843db8e10bc91041f9e3eaa8a3c050f71f0d7028292145379d1b769e69a837a157443abfa8b0b8ecc289c1b2fa4d33a9234282e9ae05 EBUILD dnssec-validator-2.2-r1.ebuild 1097 BLAKE2B 98c4b321fac53ce8241c5d8d1cca0e52d4518d6ad93921e2d1bde07fadacafa13700cbbd595001a9e3e770c07ac34e7733845413324018817e6ed338a4a8f827 SHA512 96b4fe7ac902f4da7c53c3e7319d4199ba30730b6d8151d0bddc9659d692b1c5f52d8b5d4a5efd3d0405786905880efa532c6a5df7ee788ef449283c2868f78a -MISC metadata.xml 239 BLAKE2B f1367162a3bbf8737d7129bcb1ee99aa11ec6997aeb9639a47ee317c9ef8ea255e2e751b17e5f667f9508738c92f042410c0e4a89e49a83541b0c92cd8aff342 SHA512 5b2f99d6bce800e4e2548e35b89acfe6d916ec5e7b61a6106d16fea44751dde528b0dd06b9ccb16c1f3259fc94e7e1af509a444302d887d576752c740bfd8ec5 +EBUILD dnssec-validator-2.2.3.ebuild 1432 BLAKE2B 5220ffae8d4e02399992af28947240a965b771e6a0f51ff17656eec7c4719b4ccdb3d2a7038905aa223c6ad8e508b4466151e8e9d38df85d3239e1406c1b1f2f SHA512 5a0c6285c0faf1c4a1542f3e21878c16cccded2caa482ba4e9e6810a762bbf33fa29c45054f9d4634eee79788df6e647d2def69ab1efb33af4251dd1bdfb5363 +MISC metadata.xml 978 BLAKE2B 88d72546d795b1a35cf55e754a625ade144ed7eda00bad406b0bca768f75282ec224900e7047b65a6ac1462af42d7ff8b195134e8ddd22c844ef719609f29d80 SHA512 2502af154fe0a98d2f76fb9818d654d40407627b331be994b25a843122c4c9cf5872388e5f86756da1c1e28d5fb82764da3a154c6449e9f6b17a157b960f2cac diff --git a/net-dns/dnssec-validator/dnssec-validator-2.2.3.ebuild b/net-dns/dnssec-validator/dnssec-validator-2.2.3.ebuild new file mode 100644 index 000000000000..04606f66a6fb --- /dev/null +++ b/net-dns/dnssec-validator/dnssec-validator-2.2.3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Tools to ease the validation of DNSSEC related technologies" +HOMEPAGE="https://www.dnssec-tools.org/" +SRC_URI="https://github.com/DNSSEC-Tools/DNSSEC-Tools/archive/dnssec-tools-${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="dlv +ipv6 +nsec3 static-libs +threads" + +RDEPEND=">=dev-libs/openssl-1.1.0:0" +DEPEND="${RDEPEND}" + +# Tests fail due "Cannot create context: -7" +RESTRICT="test" + +S="${WORKDIR}/DNSSEC-Tools-dnssec-tools-${PV}/dnssec-tools/validator" + +PATCHES=( + # Users LDFLAGS are not respected + # See https://github.com/DNSSEC-Tools/DNSSEC-Tools/pull/9 + "${FILESDIR}/${P}-ldflags.patch" +) + +src_prepare() { + default + + mv configure.in configure.ac || die + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_with dlv) + $(use_with ipv6) + $(use_with nsec3) + $(use_enable static-libs static) + $(use_with threads) + --with-dnsval-conf="${EPREFIX%/}/etc/dnssec-tools/dnsval.conf" + --with-resolv-conf="${EPREFIX%/}/etc/dnssec-tools/resolv.conf" + --with-root-hints="${EPREFIX%/}/etc/dnssec-tools/root.hints" + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + # Install fails with MAKEOPTS > -j1 + # See https://github.com/DNSSEC-Tools/DNSSEC-Tools/issues/8 + emake -j1 DESTDIR="${D}" install + + einstalldocs + + find "${D}" -name '*.la' -delete || die +} diff --git a/net-dns/dnssec-validator/files/dnssec-validator-2.2.3-ldflags.patch b/net-dns/dnssec-validator/files/dnssec-validator-2.2.3-ldflags.patch new file mode 100644 index 000000000000..66f8b0b49ee6 --- /dev/null +++ b/net-dns/dnssec-validator/files/dnssec-validator-2.2.3-ldflags.patch @@ -0,0 +1,33 @@ +--- a/libsres/Makefile.in 2018-08-30 00:25:30.000000000 +0200 ++++ b/libsres/Makefile.in 2018-12-09 02:32:05.000000000 +0100 +@@ -63,7 +63,7 @@ + $(RM) -rf $(LT_DIR) + + $(LIBRES): $(LOBJ) +- $(LIBTOOLLD) -o $@ $(LOBJ) ++ $(LIBTOOLLD) -o $@ $(LOBJ) $(LDFLAGS) + + install: + $(MKPATH) $(DESTDIR)$(libdir) +--- a/libval_shim/Makefile.in 2018-08-30 00:25:30.000000000 +0200 ++++ b/libval_shim/Makefile.in 2018-12-09 02:34:56.000000000 +0100 +@@ -21,7 +21,7 @@ + $(RM) -rf $(LT_DIR) + + $(LIBVAL_SHIM): $(LOBJ) +- $(LIBTOOLLD) -o $@ $(LOBJ) $(EXTRA_LIBS) ++ $(LIBTOOLLD) -o $@ $(LOBJ) $(EXTRA_LIBS) $(LDFLAGS) + + install: + $(MKPATH) $(DESTDIR)$(libdir) +--- a/libval/Makefile.in 2018-08-30 00:25:30.000000000 +0200 ++++ b/libval/Makefile.in 2018-12-09 02:37:32.000000000 +0100 +@@ -65,7 +65,7 @@ + $(RM) -rf $(LT_DIR) + + $(LIBVAL): $(LOBJ) +- $(LIBTOOLLD) -o $@ $(LOBJ) $(LSRES) ++ $(LIBTOOLLD) -o $@ $(LOBJ) $(LSRES) $(LDFLAGS) + + install: + $(MKPATH) $(DESTDIR)$(libdir) diff --git a/net-dns/dnssec-validator/metadata.xml b/net-dns/dnssec-validator/metadata.xml index 7206094d0b09..94a38b12e8db 100644 --- a/net-dns/dnssec-validator/metadata.xml +++ b/net-dns/dnssec-validator/metadata.xml @@ -1,8 +1,26 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<!-- maintainer-needed --> -<use> - <flag name="ecdsa-check">Requires openssl[-bindist]</flag> -</use> + <maintainer type="person"> + <email>ck+gentoo@bl4ckb0x.de</email> + <name>Conrad Kostecki</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + A tool which can display the sequence of queries and their results + used to validate a DNS query. The stderr output of this command can + serve as input to the drawvalmap tool. + </longdescription> + <use> + <flag name="dlv">Enable support for the DNSSEC look-aside validation</flag> + <flag name="ecdsa-check">Requires openssl[-bindist]</flag> + <flag name="nsec3">Enable support for the NSEC3 Resource Record</flag> + </use> + <upstream> + <bugs-to>https://github.com/dnssec-tools/dnssec-tools/issues</bugs-to> + <remote-id type="github">DNSSEC-Tools/DNSSEC-Tools</remote-id> + </upstream> </pkgmetadata> |