summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce A. Locke <blocke@gentoo.org>2002-08-19 06:40:11 +0000
committerBruce A. Locke <blocke@gentoo.org>2002-08-19 06:40:11 +0000
commit6b6c45459024172dfb6e5e98b01314b14547147f (patch)
tree6546b7a49e1bb65152f60c6fee0e4929e1a2f81e /net-dns/dnshijacker
parentadding GNU mirrors (diff)
downloadgentoo-2-6b6c45459024172dfb6e5e98b01314b14547147f.tar.gz
gentoo-2-6b6c45459024172dfb6e5e98b01314b14547147f.tar.bz2
gentoo-2-6b6c45459024172dfb6e5e98b01314b14547147f.zip
initial version
Diffstat (limited to 'net-dns/dnshijacker')
-rw-r--r--net-dns/dnshijacker/ChangeLog10
-rw-r--r--net-dns/dnshijacker/dnshijacker-1.2.ebuild41
-rw-r--r--net-dns/dnshijacker/files/digest-dnshijacker-1.21
3 files changed, 52 insertions, 0 deletions
diff --git a/net-dns/dnshijacker/ChangeLog b/net-dns/dnshijacker/ChangeLog
new file mode 100644
index 000000000000..1de6b209850c
--- /dev/null
+++ b/net-dns/dnshijacker/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-dns/dnshijacker
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/dnshijacker/ChangeLog,v 1.1 2002/08/19 06:40:11 blocke Exp $
+
+*dnshijacker-1.2 (19 Aug 2002)
+
+ 19 Aug 2002; Bruce A. Locke <blocke@shivan.org> dnshijacker-1.2.ebuild:
+ Initial import.
+
+
diff --git a/net-dns/dnshijacker/dnshijacker-1.2.ebuild b/net-dns/dnshijacker/dnshijacker-1.2.ebuild
new file mode 100644
index 000000000000..2ce7be64af08
--- /dev/null
+++ b/net-dns/dnshijacker/dnshijacker-1.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-dns/dnshijacker/dnshijacker-1.2.ebuild,v 1.1 2002/08/19 06:40:11 blocke Exp $
+
+# Note: Archive file and internal directory structure lack version numbers
+# so a difference in the digest file _may_ mean its a newer version
+S=${WORKDIR}/${PN}
+DESCRIPTION="dnshijacker is a libnet/libpcap based packet sniffer and spoofer"
+HOMEPAGE="http://pedram.redhive.com/projects.php"
+SRC_URI="http://pedram.redhive.com/downloads/dnshijacker.tar.gz"
+SLOT="0"
+
+# Note: License is GPL according to correspondence with software author
+# Pedram Amini <pedram@redhive.com>
+LICENSE="GPL-2"
+KEYWORDS="x86"
+
+DEPEND=">=net-libs/libpcap-0.7.1
+ >=net-libs/libnet-1.0"
+
+src_compile() {
+
+ mv Makefile Makefile.orig
+ sed -e "s|gcc |gcc ${CFLAGS} |g" Makefile.orig > Makefile || die
+
+ make || die
+
+}
+
+src_install() {
+
+ dobin dnshijacker ask_dns answer_dns
+
+ insinto /usr/share/dnshijacker
+ doins ftable
+
+ dodoc README
+
+}
+
+
diff --git a/net-dns/dnshijacker/files/digest-dnshijacker-1.2 b/net-dns/dnshijacker/files/digest-dnshijacker-1.2
new file mode 100644
index 000000000000..8e1fc3124b96
--- /dev/null
+++ b/net-dns/dnshijacker/files/digest-dnshijacker-1.2
@@ -0,0 +1 @@
+MD5 addc9698733b0c4e8929307abedf1664 dnshijacker.tar.gz 18701