diff options
Diffstat (limited to 'net-dns/dnscap')
-rw-r--r-- | net-dns/dnscap/ChangeLog | 9 | ||||
-rw-r--r-- | net-dns/dnscap/Manifest | 5 | ||||
-rw-r--r-- | net-dns/dnscap/dnscap-20130814.ebuild | 30 | ||||
-rw-r--r-- | net-dns/dnscap/files/dnscap-20130814.install.patch | 22 | ||||
-rw-r--r-- | net-dns/dnscap/metadata.xml | 12 |
5 files changed, 78 insertions, 0 deletions
diff --git a/net-dns/dnscap/ChangeLog b/net-dns/dnscap/ChangeLog new file mode 100644 index 000000000000..0f0f9bb418ea --- /dev/null +++ b/net-dns/dnscap/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for net-dns/dnscap +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/dnscap/ChangeLog,v 1.1 2014/04/26 20:19:24 wschlich Exp $ + +*dnscap-20130814 (26 Apr 2014) + + 26 Apr 2014; Wolfram Schlich <wschlich@gentoo.org> +dnscap-20130814.ebuild, + +files/dnscap-20130814.install.patch, +metadata.xml: + initial import diff --git a/net-dns/dnscap/Manifest b/net-dns/dnscap/Manifest new file mode 100644 index 000000000000..4cc0d3598cdc --- /dev/null +++ b/net-dns/dnscap/Manifest @@ -0,0 +1,5 @@ +AUX dnscap-20130814.install.patch 853 SHA256 8934c3f9e55dd42c6e5820e8cba733a8ab15bb9fb47f8944ecc445271df36613 SHA512 03bda20b9034e2a594ae08824306583f1591ddc9b3fe5542d84e4a4534100a8b09f70b34db89a7a3edc97e4b4c9219a6586ca7b0f79878206efa8407bd44d23a WHIRLPOOL 302840ed126173101fc135c068d8137f9b88212008fb35ea4bec0eb936ea896a086e8efb0488edb2710f8571d3f049db1945a0222581f72d52b458e23a05d2c1 +DIST dnscap-20130814.tar.gz 99615 SHA256 17c367e6697d6e93eb4ebf0ac038e10eb6950c75a9890c914ba0f7a0f9c2500e SHA512 1969d8cc47c6206369a02b29064dbb7f663a2187203ab1f49d862082bfb6e44c9fccf90fb63d65a523c7a5cf4d24815a74b9dd18d81267b4447252d7a04f33dd WHIRLPOOL 888d7544525901974b5b501cf4feb842363da95b50ed48dda0276dc5c733de8510c65f9942b72ffb4d9c43ac8f0ca2cf12154525c2fd40561a4fec81a7aee598 +EBUILD dnscap-20130814.ebuild 806 SHA256 c9a382d13576dadebf8221cab1b04f36fc13c34788e65426499074024e3f275a SHA512 58792ad29c8f4c23539828589e7874e3f6e3e2aa4cf7ceeb8986189295d6b962466d3c75647a9992b70321e131c5981f6d3451fe1d5df3be6e650eee05ce8b91 WHIRLPOOL c50256d01904ac00852412d23c12f30386e7863be506c239ec1051dd14ea616a5407d67bbbf36af0e046ca0227b296d25b681eedc99a03f9a92095ba42f6227a +MISC ChangeLog 385 SHA256 bce74382b018359861347ebd044036dd9789a6c5b3b88eb1ec5853f07e122d49 SHA512 730f1fcf5bdbbff81ff4b2fdc208838b272d1ff714485fed8adaba4bec0beb720964dd7be7e5435b6b8a96844d566feaa2c80bd6a073f92ccc303dc6565b0674 WHIRLPOOL 5668eaf39584c358b6f1c35e34e3142f9de897079e49ba12c9284a78da22075752fbaa505bf751bfdc1949e316257584cb57860517b8052411617214909a2055 +MISC metadata.xml 376 SHA256 52c3f7aaf90ab44854244879d31d32e5e4036491dc9684396e411398f740a3f7 SHA512 a5e4681660fde1b59334b7267e4cfd30c4f33bbd9c320918f3ad373b3123e8e9b55d03791e26d3abd493824bcf70099bba183da2c0532173cf13bf197aff8b1d WHIRLPOOL 49321929ccdb563531a13912442a8c944126c640baed3b1b7291353107658c6e037ef79d09eb6ff7e9cae8b4ce25bca068691c4bf29eb3beb4ed1ebf6c835a18 diff --git a/net-dns/dnscap/dnscap-20130814.ebuild b/net-dns/dnscap/dnscap-20130814.ebuild new file mode 100644 index 000000000000..97e70e63ba0e --- /dev/null +++ b/net-dns/dnscap/dnscap-20130814.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/dnscap/dnscap-20130814.ebuild,v 1.1 2014/04/26 20:19:24 wschlich Exp $ + +EAPI=5 + +inherit eutils + +DESCRIPTION="dnscap is a network capture utility designed specifically for DNS traffic" +HOMEPAGE="http://dnscap.dns-oarc.net/" + +## github commit tarball +MY_GIT_COMMIT="727ed7d5e46625abc2c8d988689a300589e948b6" +MY_P="verisign-${PN}-${MY_GIT_COMMIT:0:7}" +SRC_URI="https://github.com/verisign/${PN}/tarball/${MY_GIT_COMMIT} -> ${PF}.tar.gz" + +S="${WORKDIR}/${MY_P}" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="ISC" +IUSE="" + +RDEPEND="net-libs/libpcap" +DEPEND="${RDEPEND}" + +src_prepare() { + ## adds DESTDIR to install target + epatch "${FILESDIR}/${P}.install.patch" +} diff --git a/net-dns/dnscap/files/dnscap-20130814.install.patch b/net-dns/dnscap/files/dnscap-20130814.install.patch new file mode 100644 index 000000000000..b09c7cfdbfcf --- /dev/null +++ b/net-dns/dnscap/files/dnscap-20130814.install.patch @@ -0,0 +1,22 @@ +diff -urN verisign-dnscap-727ed7d.orig/Makefile.in verisign-dnscap-727ed7d/Makefile.in +--- verisign-dnscap-727ed7d.orig/Makefile.in 2013-08-14 01:31:33.000000000 +0200 ++++ verisign-dnscap-727ed7d/Makefile.in 2014-04-26 22:04:35.438580361 +0200 +@@ -45,13 +45,11 @@ + all: ${prog} ${prog}.cat1 + + install: all +- install -d -m 755 ${bindir} +- if [ -f ${bindir}/${prog} ]; then \ +- mv -f ${bindir}/${prog} ${bindir}/${prog}.old; fi +- install -m 755 ${prog} ${bindir}/ +- install -d -m 755 ${mandir} +- install -d -m 755 ${mandir}/cat1 +- install -m 644 ${prog}.cat1 ${mandir}/cat1/${prog}.1 ++ install -d -m 755 $(DESTDIR)${bindir} ++ install -m 755 ${prog} $(DESTDIR)${bindir}/ ++ install -d -m 755 $(DESTDIR)${mandir} ++ install -d -m 755 $(DESTDIR)${mandir}/cat1 ++ install -m 644 ${prog}.cat1 $(DESTDIR)${mandir}/cat1/${prog}.1 + + .c.o: + ${CC} ${CFLAGS} -c $< diff --git a/net-dns/dnscap/metadata.xml b/net-dns/dnscap/metadata.xml new file mode 100644 index 000000000000..68838f5ff96d --- /dev/null +++ b/net-dns/dnscap/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>wschlich@gentoo.org</email> + <name>Wolfram Schlich</name> + <description>Primary maintainer</description> + </maintainer> + <upstream> + <remote-id type="github">verisign/dnscap</remote-id> + </upstream> +</pkgmetadata> |