diff options
author | Wolfram Schlich <wschlich@gentoo.org> | 2014-04-26 20:19:24 +0000 |
---|---|---|
committer | Wolfram Schlich <wschlich@gentoo.org> | 2014-04-26 20:19:24 +0000 |
commit | 06d6b77d3684a75fe1c0cd10c8dbaaa84b35904d (patch) | |
tree | 53427929110f4c84e05686e9c78e5418b062ca88 /net-dns | |
parent | Added another upstream fix. Removed old (diff) | |
download | gentoo-2-06d6b77d3684a75fe1c0cd10c8dbaaa84b35904d.tar.gz gentoo-2-06d6b77d3684a75fe1c0cd10c8dbaaa84b35904d.tar.bz2 gentoo-2-06d6b77d3684a75fe1c0cd10c8dbaaa84b35904d.zip |
initial import
(Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/dnscap/ChangeLog | 9 | ||||
-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 |
4 files changed, 73 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/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> |