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-dns/fpdns/Manifest | 6 ++++ .../files/fpdns-0.10.0_pre20130404.ro-header.patch | 33 ++++++++++++++++++++++ net-dns/fpdns/fpdns-0.10.0_pre20130404-r1.ebuild | 33 ++++++++++++++++++++++ net-dns/fpdns/metadata.xml | 29 +++++++++++++++++++ 4 files changed, 101 insertions(+) create mode 100644 net-dns/fpdns/Manifest create mode 100644 net-dns/fpdns/files/fpdns-0.10.0_pre20130404.ro-header.patch create mode 100644 net-dns/fpdns/fpdns-0.10.0_pre20130404-r1.ebuild create mode 100644 net-dns/fpdns/metadata.xml (limited to 'net-dns/fpdns') diff --git a/net-dns/fpdns/Manifest b/net-dns/fpdns/Manifest new file mode 100644 index 000000000000..be88db5aaa6a --- /dev/null +++ b/net-dns/fpdns/Manifest @@ -0,0 +1,6 @@ +AUX fpdns-0.10.0_pre20130404.ro-header.patch 1115 SHA256 cc6da9391be7049a05337f43974671101b749270da76a91170d46389ff95cb70 SHA512 e345037a210103f5202c0dd052952bd2d3889ad53393fc4881ec48810f3e6d39b1b7d2220d259ffda0b85e339bcc4ef9f1ae28023cf84b81a00685c66e116923 WHIRLPOOL ad6e5d7c2d72e8ac890d0d333a8d8b293c92b6ce7a1f567ecde06d822bcac49f7cbf30c8eb02f50c5a1eb08c53fe777582f4f50cb809828a6a29034075a12be6 +DIST fpdns-0.10.0_pre20130404.tar.gz 931723 SHA256 fe81de9c5d2d077cd974c9fd862f52a02cc1bb29c58944ea968a21853cc8ea15 SHA512 1a4d9c1cb666efa3f48dcca2b5cd04793e92727359652095572b17479f5343479c57d2937f1fff8070c071a2698eda5c4dff981caf86436f184f0b076b0fa0b3 WHIRLPOOL 09b0588fdba51313787b17e1093a91d948aff1a203880943b3e16cf3c8c2a9296b679f13de24862b75d9f8e3c17b0598b12066932f3c07c2c47d793b84b30827 +EBUILD fpdns-0.10.0_pre20130404-r1.ebuild 685 SHA256 74e82fe11c2608643310e49d95739e03936db5ab1e97600dcce58ae8f759c06a SHA512 828d120d8edbe0dcb76249fbf94f5fe73503e23cb4d9f1cddc7d40798479a81c61ac9bc97671c5dd5e67e1f5f1edd8ce7dd5c9606270400d1c22d840c8bb7403 WHIRLPOOL 8e4f47a1e19c82318de1d0dffd25f2ee7eb0328570dd9ea15d089d340d80575eaa7452d28850540456f7cc9d15b6c501167fcf8a834d01c232becb965f49791b +MISC ChangeLog 2598 SHA256 3469fee21e9aff0abd798d3b34e686922aed1e7eedad7fdcc51ad97c631159ab SHA512 554894f7ccf5b0092f6155600c1d582603783acb43e56397ddc76ce435617eccb3ced9965290e33d9ad81da147a47cfe6f1a8508de02d91a108035c13f374be9 WHIRLPOOL 4ca98f4dbec4c488f187ccede3414d8a77cd3aee3c89fc22084881cb6be3913505600860131994f1318f7819c7ae5ab157ff775348b3075472f3ce8dec2f4c94 +MISC ChangeLog-2015 1268 SHA256 d10585ef0fa8c31e32e93aa52fc10bca0b54fb926a9ae4a4664ac40038f99621 SHA512 ed648eb409a08ec3ed1aea126d7bf8da792c09e38c7b8ff1bff6f204b10b9476ab8465d94d707c914533e44346a09693085b4c9039d0865883294c12d5b1141a WHIRLPOOL a8ef16e90135eed76480ccd430d630fc53efa8217f35855fe1a3f912a4b5925c47e169ed51de702357ef784155bc16cf43e4968e6776e4b999153c1c8342a5c9 +MISC metadata.xml 1420 SHA256 f0dcc79789303ad82ffe87e67b1f642c07d21ccefee56809b6d5a99116c8c289 SHA512 21fc1c5f7ebfa5b377d3ae3116bfe017319db65e72002305f616b963ddfbc4f879da66fd7798988fd8cfdc38d805038d149f2b416edb2c496f876cb935fac72b WHIRLPOOL 3efd1cd1eb651b55b39f9091c936c754881402d87ad041bf57a45e9fcb755125ea9a346fa6257bb6cbd8f916e7fe8669de4be5fab4cf6faafc83ae384a90b4ea diff --git a/net-dns/fpdns/files/fpdns-0.10.0_pre20130404.ro-header.patch b/net-dns/fpdns/files/fpdns-0.10.0_pre20130404.ro-header.patch new file mode 100644 index 000000000000..17eadbe4a139 --- /dev/null +++ b/net-dns/fpdns/files/fpdns-0.10.0_pre20130404.ro-header.patch @@ -0,0 +1,33 @@ +From ca0391377ad7150e61ff300cb5195c97a154233b Mon Sep 17 00:00:00 2001 +From: Jakob Schlyter +Date: Wed, 28 Aug 2013 10:24:11 +0200 +Subject: [PATCH] do not set header counters unless changed + +--- + lib/Net/DNS/Fingerprint.pm | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +diff --git a/lib/Net/DNS/Fingerprint.pm b/lib/Net/DNS/Fingerprint.pm +index d4a2e5a..e096d42 100644 +--- a/lib/Net/DNS/Fingerprint.pm ++++ b/lib/Net/DNS/Fingerprint.pm +@@ -2171,10 +2171,12 @@ sub fp2header { + $header->ad(shift @list); + $header->cd(shift @list); + $header->rcode(shift @list); +- $header->qdcount(shift @list); +- $header->ancount(shift @list); +- $header->nscount(shift @list); +- $header->arcount(shift @list); ++ ++ my ($qdcount, $ancount, $nscount, $arcount) = @list; ++ $header->qdcount($qdcount) unless $qdcount == $header->qdcount; ++ $header->qdcount($ancount) unless $ancount == $header->ancount; ++ $header->qdcount($nscount) unless $nscount == $header->nscount; ++ $header->qdcount($arcount) unless $arcount == $header->arcount; + } + + sub probe { +-- +1.9.1 + diff --git a/net-dns/fpdns/fpdns-0.10.0_pre20130404-r1.ebuild b/net-dns/fpdns/fpdns-0.10.0_pre20130404-r1.ebuild new file mode 100644 index 000000000000..a61983bc150c --- /dev/null +++ b/net-dns/fpdns/fpdns-0.10.0_pre20130404-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils perl-module + +DESCRIPTION="Fingerprinting DNS servers" +HOMEPAGE="https://github.com/kirei/fpdns/" + +MY_P="${PN}-${PV##*_pre}" +SRC_URI="https://github.com/kirei/fpdns/archive/20130404.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=">=dev-perl/Net-DNS-0.74" + +S="${WORKDIR}"/"${MY_P}" + +src_prepare() { + ## fixes https://github.com/kirei/fpdns/issues/6 + epatch "${FILESDIR}/${P}.ro-header.patch" +} + +src_install() { + newbin apps/fpdns fpdns + insinto "${VENDOR_LIB}"/Net/DNS/ + doins lib/Net/DNS/Fingerprint.pm +} diff --git a/net-dns/fpdns/metadata.xml b/net-dns/fpdns/metadata.xml new file mode 100644 index 000000000000..a3876cb8a627 --- /dev/null +++ b/net-dns/fpdns/metadata.xml @@ -0,0 +1,29 @@ + + + + + +A nameserver basically responds to a query. Interoperability is an obvious +requirement here. The standard protocol behaviour of different DNS +implementations is expected to be the same. + +Requirements for protocol behaviour of DNS implementations is widely documented +in the case of 'common' dns messages. The DNS protocol is over 20 years old and +since its inception, there have been over 40 independent DNS implementations, +while some implementations have over 20 versions. + +The methodology used to identify individual nameserver implementations is based +on "borderline" protocol behaviour. The DNS protocol offers a multitude of +message bits, response types, opcodes, classes, query types and label types in a +fashion that makes some mutually exclusive while some are not used in a query +messages at all. Not every implementation offers the full set of features the +DNS protocol set currently has. Some implementations offer features outside the +protocol set, and there are implementations that do not conform to standards. + +Also, new features added to - or bugs removed allow for differentiations between +versions of an implementation. + + + kirei/fpdns + + -- cgit v1.2.3