diff options
Diffstat (limited to 'net-analyzer/netdiscover')
5 files changed, 112 insertions, 0 deletions
diff --git a/net-analyzer/netdiscover/Manifest b/net-analyzer/netdiscover/Manifest new file mode 100644 index 000000000000..dc6bc51452ff --- /dev/null +++ b/net-analyzer/netdiscover/Manifest @@ -0,0 +1,8 @@ +AUX netdiscover-0.3_beta6-gentoo.patch 668 SHA256 4fb4bd72d2a263208ad517b91046c8afd2391ff633214fe407a3ecb61d167430 SHA512 f05aea3f8ef120f3f1a33f1dfff401fc5045cb6e71735dcdc135bb33b5bb338eb90fb442d474a0e8a993df5d67f70fcd676f12c582ca1509d5550724d4f53b99 WHIRLPOOL 44aff796a09406d5f91ca7f5caf804d9325bb986bbe70f8d34da4066b88ac9a1918a938a715367a2624766df98470ac850aef5346f7d246371369c3689afbd3c +AUX netdiscover-0.3_beta6-misc.patch 432 SHA256 2470d403350dd1cbce6f7fa89fbea1207397900d60fda7a46a4f34ab8109f4f3 SHA512 bf67008aa25558d2a8d1a2a5731fdafb555b5336db2be3ffc6f15e89312341eff9bd351115a2cbd21078d823f4b79a81f0583b0380d44eb617a2770838c07de7 WHIRLPOOL 3a655a6568362e97568b4b1fc31411cc62931c92bda991896a6b4f34d7b01836370012c749e47739eed73ee852f2f8a8aa31fcf9166c302917fe7a4624f3ce9f +DIST netdiscover-0.3-beta6-oui-db-update-20091010.patch.bz2 151434 SHA256 81d06920e0606ec74a497ca4b34b0288572b9be82093bc19e3b812c036fba9f6 SHA512 936f030bac30cf54d1b9b6bb23045c2cad201a21529706436ab0732c356dc4ab27e3f2a8472437f9ac76d9b819ebc6d8faa05405be13d3d6beda5e261ebf93da WHIRLPOOL fe95a550fa41aedb75bad90cbfebe1b14c63b6f1d1edc2caf82a689bc2740d65b07836701e6f1e8e541eabbd3c35c432ba3a8e771d89f5b4e3e6812f835e6fdb +DIST netdiscover-0.3-beta6.tar.gz 411018 SHA256 19c367f823c49999e2c05c485cac0a5d5685d23c6b33deae1e957406571924db SHA512 b8205322c34684642d52bf58f8fffa12a0dea387da713caf2935ba348c74b2e6cac717bf1626c9de816e45dce7c42b6b9584b5253351040af806f7ba262ce4d2 WHIRLPOOL 9386451a26a3fb147aadd772bfc71c89cc67185c54c24b306fc421b43799f00402ff383c96944945b06baf90ad22ff409dc0c57a4370b98a20a89951595310fb +EBUILD netdiscover-0.3_beta6-r3.ebuild 806 SHA256 5a86f803c057915b7d431108eb2fa8ae65d07913c08080e6e1c071f9e292d9ce SHA512 0ab1f50c3c82a95996ecbdbbcb61c09281bb58ff4a3561f73327a7ed26cfc0ce2f23ede1e2984b5774e89b36bc9da2d1ff9684c2fc21f54e88b31b8212319366 WHIRLPOOL cd5e7eff642c9e829fc99e730ff3ccfaf159468596c9731a3d26729a6ae3805d9c0e5249182c22c8f963ad2d69e80f09960281fc8ce33532f98a216d5f8d2cf2 +MISC ChangeLog 2545 SHA256 715a031b1309b513b1894ab6e8600340e444a64f18949ee4b9e66ed25f4583d8 SHA512 affe806714b16942acf42c8089211091d18eda3926a9ac0bcf4743af198b1ed3d2d7a4e1de5c59e42bf2363776a4acef4619ceb76d1cb99cf4f51ffce48c0dff WHIRLPOOL 118e5e720904673ff846f3f02dbe9b32b7a1b38fb3316e3efae86b250795f2b54c2f79c838204632bae2173bb77183f88be9e8a0b43e057ecbd3dbbb0ce98130 +MISC ChangeLog-2015 2503 SHA256 a635b41a286949d48b2fa068efb0ced2036c85ea256c0ecb236a0dabfabf9182 SHA512 bb1bdf3c384c14f695c757bde3aba08bf075e94affcaa087c4361445dbd4ad53151cf5184d1b37cc0058e77f4e87a5184e62c1a614ccc7329eb38968cbb4c4fc WHIRLPOOL 9a86c4b48188b8815ddbdd5cac4c0795584abc34ff0e40add36f3d8cd9f1c71e352e372fab795bfe1da9a1f0f2e0e25e24873944fc5f425fc94067dafa541c59 +MISC metadata.xml 276 SHA256 d15d6b6bd9ffc8a642c7469d01788ba9158efb4ca27fcf3324d9e52d1b70ec93 SHA512 f0e6c6bc89659e01e157d9bf30d0a2f3fd2d71bc26c8d12489c4a44fc5237159946e25b46e7295ab4676aea63559194977a0b1e76aced31d81cf6387dd0f4250 WHIRLPOOL 26b9e81575f613b751f76234013c30a8da84a1c0dd75c12b8df32706ee753691bbc889a2dec5001cc8c4b05c47aca49ed9fabbb5a6fefed74aaa86d6c3f56cee diff --git a/net-analyzer/netdiscover/files/netdiscover-0.3_beta6-gentoo.patch b/net-analyzer/netdiscover/files/netdiscover-0.3_beta6-gentoo.patch new file mode 100644 index 000000000000..d70fc36de5a5 --- /dev/null +++ b/net-analyzer/netdiscover/files/netdiscover-0.3_beta6-gentoo.patch @@ -0,0 +1,41 @@ +--- a/configure.in ++++ b/configure.in +@@ -5,7 +5,7 @@ + + AC_INIT(configure.in) + AM_INIT_AUTOMAKE(netdiscover, 0.3-beta6) +-AM_CONFIG_HEADER(config.h) ++AC_CONFIG_HEADERS(config.h) + AM_MAINTAINER_MODE + + dnl get system information +@@ -35,7 +35,6 @@ + + AC_ISC_POSIX + AC_PROG_CC +-AM_PROG_CC_STDC + AC_HEADER_STDC + + AM_PROG_LIBTOOL +--- a/Makefile.am ++++ b/Makefile.am +@@ -5,8 +5,8 @@ + + SUBDIRS = src doc + +-netdiscoverdocdir = ${prefix}/doc/netdiscover +-netdiscoverdoc_DATA = \ ++noinstdir = ${prefix}/doc/netdiscover ++noinst_DATA = \ + README\ + COPYING\ + AUTHORS\ +@@ -15,7 +15,7 @@ + NEWS\ + TODO + +-EXTRA_DIST = $(netdiscoverdoc_DATA) ++EXTRA_DIST = $(noinst_DATA) + + + diff --git a/net-analyzer/netdiscover/files/netdiscover-0.3_beta6-misc.patch b/net-analyzer/netdiscover/files/netdiscover-0.3_beta6-misc.patch new file mode 100644 index 000000000000..2b92bfde8629 --- /dev/null +++ b/net-analyzer/netdiscover/files/netdiscover-0.3_beta6-misc.patch @@ -0,0 +1,20 @@ +--- a/src/misc.c ++++ b/src/misc.c +@@ -33,7 +33,7 @@ + + char *search_vendor(unsigned char mac[6]) + { +- char tmac[6]; ++ char tmac[7]; + int i = 0; + + sprintf(tmac, "%02x%02x%02x", mac[0], mac[1], mac[2]); +@@ -42,7 +42,7 @@ + for (i=0; i<6; i++) + tmac[i] = toupper(tmac[i]); + +- for (i=0; i<8436; i++) ++ for (i=0; i<NUM_OUI_RECORDS; i++) + { + if (strcmp(oui_table[i].prefix, tmac) == 0) + return oui_table[i].vendor; diff --git a/net-analyzer/netdiscover/metadata.xml b/net-analyzer/netdiscover/metadata.xml new file mode 100644 index 000000000000..74c2baebb4ec --- /dev/null +++ b/net-analyzer/netdiscover/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> diff --git a/net-analyzer/netdiscover/netdiscover-0.3_beta6-r3.ebuild b/net-analyzer/netdiscover/netdiscover-0.3_beta6-r3.ebuild new file mode 100644 index 000000000000..77fc58fcf331 --- /dev/null +++ b/net-analyzer/netdiscover/netdiscover-0.3_beta6-r3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils autotools + +DESCRIPTION="An active/passive address reconnaissance tool" +HOMEPAGE="http://nixgeneration.com/~jaime/netdiscover/" +LICENSE="GPL-2" +SRC_URI=" + http://nixgeneration.com/~jaime/${PN}/releases/${P/_/-}.tar.gz + https://dev.gentoo.org/~jer/${P/_/-}-oui-db-update-20091010.patch.bz2 +" + +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos" + +DEPEND=" + net-libs/libnet:1.1 + >=net-libs/libpcap-0.8.3-r1 +" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${P/_/-} + +DOCS=( AUTHORS ChangeLog README TODO ) + +src_prepare() { + epatch \ + "${WORKDIR}"/${P/_/-}-oui-db-update-20091010.patch \ + "${FILESDIR}"/${P}-gentoo.patch \ + "${FILESDIR}"/${P}-misc.patch + + eautoreconf +} |