summaryrefslogtreecommitdiff
path: root/net-analyzer/arp-sk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/arp-sk
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/arp-sk')
-rw-r--r--net-analyzer/arp-sk/Manifest6
-rw-r--r--net-analyzer/arp-sk/arp-sk-0.0.16-r2.ebuild33
-rw-r--r--net-analyzer/arp-sk/files/arp-sk-0.0.16-libnet1_2.patch50
-rw-r--r--net-analyzer/arp-sk/metadata.xml8
4 files changed, 97 insertions, 0 deletions
diff --git a/net-analyzer/arp-sk/Manifest b/net-analyzer/arp-sk/Manifest
new file mode 100644
index 000000000000..90d64e733758
--- /dev/null
+++ b/net-analyzer/arp-sk/Manifest
@@ -0,0 +1,6 @@
+AUX arp-sk-0.0.16-libnet1_2.patch 1362 SHA256 6aac11b8aa24535511849289f76b1a0b5a8ec1acd43b0d2c6bebd0c36d154d42 SHA512 04cd17513d19f0e70b54840148fb8d603c06385e601f352cfadc381de5109b547e204414830fa195cfac56e662ffdfb234f54b8fec9ab68316cfdd4220bdb922 WHIRLPOOL ffcedafc850362788a1bdc6a67ee9989f5cacaf9fcc8c5f498935b080aff88ee4451e7bb50980655ab3ae99f52ceb38b960a666dc0321aabd1678aa6c08a51d8
+DIST arp-sk-0.0.16.tgz 211636 SHA256 6e1c98ff5396dd2d1c95a0d8f08f85e51cf05b1ed85ea7b5bcf73c4ca5d301dd SHA512 d827ab5c701e1e3a6444dbe7e1e7c0a73ee2bfb2339a55fc7d3591ee8e9e9aadef4dfd4aaf331251fbe22d83c9b1135068e5afa6303eae934b3fd149ca0819a6 WHIRLPOOL 66e774c1c47c912132559067c5991c16bec4738b39d474a7a7b3d0011c4b17b1c09d4073843fd705b87cd30036c6a2cf9566c384a03a0dc177925d4293db938a
+EBUILD arp-sk-0.0.16-r2.ebuild 761 SHA256 f4449934e15c6809072d941d9f8b4503016d0a47cd8a8372119ed5738e181b8a SHA512 68e39c4bd35973f696545bed0e4ad9499964190cf7b2cc6aae4131cbad63dafaee73af258ad26c0e5f26b60e2b64637a265e53e514bbdb662210c59d1854d3b1 WHIRLPOOL e9f67016cbaeb8494629a4fcdf6bf378e79ac2259983ec62343052a51010517e64fe70aa87ad0a39a8fc3ca01153136ffc98ac65b111a9a798a7d2749ef0cd86
+MISC ChangeLog 2474 SHA256 2fb809aa6955f6a0cdc457a88e86fd00d7a2c9a3320364c8f7b78ad53a045a67 SHA512 6ed876787dfafbe73863e2224feaad1ca9a23f1cacba7e5210c138287072cb218966b3f50ec24544c8575885d41dfd01895f5bc2fe0e241729ea5169e057d33b WHIRLPOOL 4c21828e587ab534a1e61a6117068573cb313955ce59d7681efe02cc56c444ddde6d4e6c68ff9035690a4d0f659bd79276b454dcad93ce4adddf6f21f21c4a98
+MISC ChangeLog-2015 2837 SHA256 bdd41f796ad4148b29144d7e2f5b1a203449ce21edb5a62f1b6286b86cb3e0ec SHA512 2ceaa893f06f29654f49696c080da6d5f0ba43bbdb00bd303dad9c68aedad89d073e8a1615809d7276ff8afd9d79ea408063ec022e40d3e673a1521f36a68765 WHIRLPOOL da91fbbbe8ef3197534b296273d23780c88a4177721a457fd409d8e174d4bc2d3ffcd37361606dbf50cf30fd3ef1f985733f5b823a51f81921e848d78db8d79d
+MISC metadata.xml 276 SHA256 d15d6b6bd9ffc8a642c7469d01788ba9158efb4ca27fcf3324d9e52d1b70ec93 SHA512 f0e6c6bc89659e01e157d9bf30d0a2f3fd2d71bc26c8d12489c4a44fc5237159946e25b46e7295ab4676aea63559194977a0b1e76aced31d81cf6387dd0f4250 WHIRLPOOL 26b9e81575f613b751f76234013c30a8da84a1c0dd75c12b8df32706ee753691bbc889a2dec5001cc8c4b05c47aca49ed9fabbb5a6fefed74aaa86d6c3f56cee
diff --git a/net-analyzer/arp-sk/arp-sk-0.0.16-r2.ebuild b/net-analyzer/arp-sk/arp-sk-0.0.16-r2.ebuild
new file mode 100644
index 000000000000..773e349fc87b
--- /dev/null
+++ b/net-analyzer/arp-sk/arp-sk-0.0.16-r2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils multilib
+
+DESCRIPTION="A swiss knife tool for ARP"
+HOMEPAGE="http://sid.rstack.org/arp-sk/"
+SRC_URI="http://sid.rstack.org/arp-sk/files/${P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+DEPEND=">=net-libs/libnet-1.1"
+RDEPEND="${DEPEND}"
+
+DOCS=( ARP AUTHORS CONTRIB ChangeLog README TODO )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-libnet1_2.patch
+ sed -i configure.in -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die
+ rm missing || die
+ epatch_user
+
+ eautoreconf
+}
+
+src_install() {
+ default
+
+ # We don't need libcompat as it has a potential to clash with other packages.
+ rm -fr "${D}"/usr/$(get_libdir)
+}
diff --git a/net-analyzer/arp-sk/files/arp-sk-0.0.16-libnet1_2.patch b/net-analyzer/arp-sk/files/arp-sk-0.0.16-libnet1_2.patch
new file mode 100644
index 000000000000..1fac654c0d86
--- /dev/null
+++ b/net-analyzer/arp-sk/files/arp-sk-0.0.16-libnet1_2.patch
@@ -0,0 +1,50 @@
+--- a/configure.in
++++ b/configure.in
+@@ -114,47 +114,6 @@
+ AC_MSG_RESULT(yes) ]
+ )
+
+-dnl Now let's checck the version of libnet (1.1.x requirerd)
+-AC_MSG_CHECKING(for version 1.1.x of libnet)
+-AC_TRY_RUN([
+-#include "$NETINC/libnet.h"
+-#include <string.h>
+-int main()
+-{
+- return (strncmp(LIBNET_VERSION, "1.1.", 4));
+-}
+-],
+-[ AC_MSG_RESULT(yes)],
+-[ AC_MSG_RESULT(no)
+- AC_MSG_ERROR(Bad libnet version found in $NETINC/libnet.h:
+-download libnet-1.1.x from http://www.packetfactory.net/projects/libnet/.
+-If you think this version of libnet is already installed on your system
+-tell arp-sk where it is using --with-libnet=DIR)
+-]
+-dnl ,
+-dnl [ v=(`sed -n /LIBNET_VERSION/p /usr/local/include/libnet.h | sed s/\"//g |awk '{print $3}'`)
+-dnl echo "v=$v"
+-dnl save_IFS="${IFS}"
+-dnl IFS=.
+-dnl vatb=(${v[0]})
+-dnl IFS=$save_IFS
+-dnl LIBNET_MAJOR=${vtab[0]}
+-dnl LIBNET_MINOR=${vtab[1]}
+-
+-dnl if [ $LIBNET_MAJOR==1 -a $LIBNET_MINOR==1 ]; then
+-dnl AC_MSG_RESULT(yes);
+-dnl else
+-dnl AC_MSG_RESULT(no)
+-dnl AC_MSG_ERROR(Bad libnet version:
+-
+-dnl $NETINC/libnet.h
+-
+-dnl download libnet-1.1.x from http://www.packetfactory.net/projects/libnet/.
+-dnl If you think this version of libnet id already installed on your system,
+-dnl tell arp-sk where it is using --with-libnet=DIR)
+-dnl fi
+-dnl ]
+-)
+
+
+ NETINC="-I$NETINC"
diff --git a/net-analyzer/arp-sk/metadata.xml b/net-analyzer/arp-sk/metadata.xml
new file mode 100644
index 000000000000..74c2baebb4ec
--- /dev/null
+++ b/net-analyzer/arp-sk/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>netmon@gentoo.org</email>
+ <name>Gentoo network monitoring and analysis project</name>
+</maintainer>
+</pkgmetadata>