diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-analyzer/netsniff-ng | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-analyzer/netsniff-ng')
10 files changed, 347 insertions, 0 deletions
diff --git a/net-analyzer/netsniff-ng/Manifest b/net-analyzer/netsniff-ng/Manifest new file mode 100644 index 000000000000..31dd32dd007e --- /dev/null +++ b/net-analyzer/netsniff-ng/Manifest @@ -0,0 +1,4 @@ +DIST netsniff-ng-0.5.7-r1.tar.gz 2957112 SHA256 ab4e1ef6aadb00b998349aff66e4e1cec53910113344c53ac8eb947fd46b5e89 SHA512 b400d8b21edb4395b946ac105bbb25a83330151e09d1efd130537375930ea03b928c166b792f44ccbacfa72f9de818c37553a0be98970c26da5ba255a1f2d6c1 WHIRLPOOL b83e1351e60fdaa076e611fd308b61be549a1cc6663f6039affd3fa3be002ec485776f67ceba54879584fc1822a9ad178141833ac5522d2444e67859cf8fbe58 +DIST netsniff-ng-0.5.8.tar.xz 523616 SHA256 c413e7f34bd9bd80937cd8d4bcd6780e126e2ffccc3dc34b271f105efd622e44 SHA512 1d58cf7a5388b8adb4512d97150992d6b8ebe43910442b952cecd8d03898a2e51f721711f2d1b406cbd00b4ccb548e33da4cb95530d7e92f082eea6b08efec99 WHIRLPOOL a73b8d67d5ca2cc40d5c9e1535f0a50a7968f102a1a5684f8bec0e7079140c0605dace126de23abca3f53a31db90da8f5fedeca0eea27621983743d88d74d416 +DIST netsniff-ng-0.5.9-rc3.tar.xz 525204 SHA256 dba8aaefbb1cf59e629e4fcb369be22e4817e132e0e0cca781c424b46b67d87c SHA512 060e356cd7d80bd9ab163a7474a0718d2429ae88711bb6ae804a2fe3c8afc052d115412aa5cb324bbeb1ef49bdfcf257b0016c7b8051056c339124272bf1311d WHIRLPOOL 2c19c706346b1ab0dc9dcd81217ac3fd27495ae7a94aac9185f9cfe412614a494dc3442d47ce35ec4bca4b8d1813504cebc406081c3b1ed2a5f3ae561350eaf7 +DIST netsniff-ng-0.5.9.tar.xz 541304 SHA256 e0156074bdd146dd71edcd63fa3944b658a3bce5279e0a4128578636a9700b6c SHA512 ebcfc1569f6c2380ebd4f797614da37eaba08991478d776b547c5f68f0f2df0548339c30f9487f73f1963b71eb4b4fccf3d2bd87d5574893494f0ca0534eb0d8 WHIRLPOOL e8f9d973e50eca1dcf21faf17ab351d8e92e32464878a2bdd0d0ff633c6a33aee4be8e765e24996dc81441139587092da374a34b41437af838aab08512d18eae diff --git a/net-analyzer/netsniff-ng/files/netsniff-ng-0.5.6-man-no-compress.patch b/net-analyzer/netsniff-ng/files/netsniff-ng-0.5.6-man-no-compress.patch new file mode 100644 index 000000000000..5c4f66ec8391 --- /dev/null +++ b/net-analyzer/netsniff-ng/files/netsniff-ng-0.5.6-man-no-compress.patch @@ -0,0 +1,41 @@ +--- netsniff-ng-0.5.6/src/cmake/modules/Pod2Man.cmake ++++ netsniff-ng-0.5.6/src/cmake/modules/Pod2Man.cmake +@@ -12,16 +12,11 @@ + + MACRO(POD2MAN PODFILE MANFILE SECTION) + FIND_PROGRAM(POD2MAN pod2man) +- FIND_PROGRAM(GZIP gzip) + + IF(NOT POD2MAN) + MESSAGE(FATAL ERROR "Need pod2man installed to generate man page") + ENDIF(NOT POD2MAN) + +- IF(NOT GZIP) +- MESSAGE(FATAL ERROR "Need gzip installed to compress man page") +- ENDIF(NOT GZIP) +- + IF(NOT EXISTS ${PODFILE}) + MESSAGE(FATAL ERROR "Could not find pod file ${PODFILE} to generate man page") + ENDIF(NOT EXISTS ${PODFILE}) +@@ -34,19 +29,13 @@ + ${PODFILE} > ${CMAKE_CURRENT_BINARY_DIR}/${MANFILE}.${SECTION} + ) + +- ADD_CUSTOM_COMMAND( +- OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${MANFILE}.${SECTION}.gz +- COMMAND ${GZIP} -c ${CMAKE_CURRENT_BINARY_DIR}/${MANFILE}.${SECTION} > ${CMAKE_CURRENT_BINARY_DIR}/${MANFILE}.${SECTION}.gz +- DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${MANFILE}.${SECTION} +- ) +- + SET(MANPAGE_TARGET "man-${MANFILE}") + +- ADD_CUSTOM_TARGET(${MANPAGE_TARGET} DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${MANFILE}.${SECTION}.gz) ++ ADD_CUSTOM_TARGET(${MANPAGE_TARGET} DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${MANFILE}.${SECTION}) + ADD_DEPENDENCIES(man ${MANPAGE_TARGET}) + + INSTALL( +- FILES ${CMAKE_CURRENT_BINARY_DIR}/${MANFILE}.${SECTION}.gz ++ FILES ${CMAKE_CURRENT_BINARY_DIR}/${MANFILE}.${SECTION} + DESTINATION share/man/man${SECTION} + ) + ENDMACRO(POD2MAN PODFILE MANFILE SECTION) diff --git a/net-analyzer/netsniff-ng/files/netsniff-ng-0.5.8-fortify_source.patch b/net-analyzer/netsniff-ng/files/netsniff-ng-0.5.8-fortify_source.patch new file mode 100644 index 000000000000..b4f3672dd88c --- /dev/null +++ b/net-analyzer/netsniff-ng/files/netsniff-ng-0.5.8-fortify_source.patch @@ -0,0 +1,12 @@ +As seen on http://code.google.com/p/android/issues/detail?id=20795 +--- netsniff-ng-0.5.8-rc2/Makefile ++++ netsniff-ng-0.5.8-rc2/Makefile +@@ -72,7 +72,7 @@ + CFLAGS_DEF += -Wstack-protector + CFLAGS_DEF += --param=ssp-buffer-size=4 + CFLAGS_DEF += -ftrapv +- CFLAGS_DEF += -D_FORTIFY_SOURCE=2 ++ CFLAGS_DEF += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 + CFLAGS_DEF += -fexceptions + endif + diff --git a/net-analyzer/netsniff-ng/files/netsniff-ng-0.5.8-libcli-test.patch b/net-analyzer/netsniff-ng/files/netsniff-ng-0.5.8-libcli-test.patch new file mode 100644 index 000000000000..903a4b94a904 --- /dev/null +++ b/net-analyzer/netsniff-ng/files/netsniff-ng-0.5.8-libcli-test.patch @@ -0,0 +1,11 @@ +Seen on https://bugzilla.redhat.com/show_bug.cgi?id=836923 +--- netsniff-ng-0.5.8-rc2/configure ++++ netsniff-ng-0.5.8-rc2/configure +@@ -463,6 +463,7 @@ + echo -n "[*] Checking libcli ... " + + cat > $TMPDIR/clitest.c << EOF ++#include <sys/time.h> + #include <libcli.h> + + void main(void) diff --git a/net-analyzer/netsniff-ng/metadata.xml b/net-analyzer/netsniff-ng/metadata.xml new file mode 100644 index 000000000000..59acc2cc580e --- /dev/null +++ b/net-analyzer/netsniff-ng/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>xmw@gentoo.org</email> +<name>Michael Weber</name> +</maintainer> +</pkgmetadata> + diff --git a/net-analyzer/netsniff-ng/netsniff-ng-0.5.7-r1.ebuild b/net-analyzer/netsniff-ng/netsniff-ng-0.5.7-r1.ebuild new file mode 100644 index 000000000000..bfbed4230b43 --- /dev/null +++ b/net-analyzer/netsniff-ng/netsniff-ng-0.5.7-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit cmake-utils eutils + +DESCRIPTION="high performance network sniffer for packet inspection" +HOMEPAGE="http://netsniff-ng.org/" +SRC_URI="http://pub.${PN}.org/${PN}/${P}.tar.gz -> ${PF}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-libs/libnl:1.1" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${P}/src + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.5.6-man-no-compress.patch +} + +src_install() { + cmake-utils_src_install + dodoc ../{AUTHORS,README,REPORTING-BUGS} +} diff --git a/net-analyzer/netsniff-ng/netsniff-ng-0.5.8.ebuild b/net-analyzer/netsniff-ng/netsniff-ng-0.5.8.ebuild new file mode 100644 index 000000000000..b0b64f8c3739 --- /dev/null +++ b/net-analyzer/netsniff-ng/netsniff-ng-0.5.8.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="high performance network sniffer for packet inspection" +HOMEPAGE="http://netsniff-ng.org/" +MY_P=${P/_rc/-rc} +SRC_URI="http://pub.${PN}.org/${PN}/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-libs/geoip + dev-libs/libcli + dev-libs/libnl:3 + dev-libs/userspace-rcu + net-libs/libnet:1.1 + net-libs/libnetfilter_conntrack + net-libs/libpcap + sys-libs/ncurses:5 + sys-libs/zlib" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison + =net-libs/nacl-0_p20110221* + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -e '/CFLAGS/s:?=:+=:' \ + -e '/CFLAGS/s:\(-g\|-O2\|-O3\|-m\(arch\|tune\)=native\)::g' \ + -i Makefile || die + + if ! grep nacl-20110221 curvetun/nacl_build.sh >/dev/null ; then + die "have nacl-20110221, expected $(grep ${MY_NACL_P} curvetun/nacl_build.sh)" + fi + + export NACL_INC_DIR="${EROOT}usr/include/nacl" + export NACL_LIB_DIR="${EROOT}usr/$(get_libdir)/nacl" + + epatch_user +} + +src_compile() { + emake CC="$(tc-getCC)" LD="$(tc-getCC)" CCACHE="" \ + LEX=lex YAAC=bison STRIP=@true \ + Q= HARDENING=1 +} + +src_install() { + emake PREFIX="${ED}usr" ETCDIR="${ED}etc" install + + dodoc AUTHORS README REPORTING-BUGS +} diff --git a/net-analyzer/netsniff-ng/netsniff-ng-0.5.9.ebuild b/net-analyzer/netsniff-ng/netsniff-ng-0.5.9.ebuild new file mode 100644 index 000000000000..03facc3314c1 --- /dev/null +++ b/net-analyzer/netsniff-ng/netsniff-ng-0.5.9.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="high performance network sniffer for packet inspection" +HOMEPAGE="http://netsniff-ng.org/" +SRC_URI="http://pub.${PN}.org/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-libs/geoip + dev-libs/libcli + dev-libs/libnl:3 + dev-libs/userspace-rcu + net-libs/libnet:1.1 + net-libs/libnetfilter_conntrack + net-libs/libpcap + sys-libs/ncurses:5 + sys-libs/zlib" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison + =net-libs/nacl-0_p20110221* + virtual/pkgconfig" + +src_prepare() { + sed -e '/CFLAGS/s:?=:+=:' \ + -e '/CPPFLAGS/s:?=:+=:' \ + -e '/CFLAGS/s:\(-g\|-O2\|-O3\|-m\(arch\|tune\)=native\)::g' \ + -i Makefile || die + + if ! grep nacl-20110221 curvetun/nacl_build.sh >/dev/null ; then + die "have nacl-20110221, expected $(grep ${MY_NACL_P} curvetun/nacl_build.sh)" + fi + + export NACL_INC_DIR="${EROOT}usr/include/nacl" + export NACL_LIB_DIR="${EROOT}usr/$(get_libdir)/nacl" + + epatch_user +} + +src_compile() { + emake CC="$(tc-getCC)" LD="$(tc-getCC)" CCACHE="" \ + LEX=lex YAAC=bison STRIP=true \ + Q= HARDENING=1 +} + +src_install() { + emake PREFIX="${ED}usr" ETCDIR="${ED}etc" install + + dodoc AUTHORS README REPORTING-BUGS +} diff --git a/net-analyzer/netsniff-ng/netsniff-ng-0.5.9_rc3.ebuild b/net-analyzer/netsniff-ng/netsniff-ng-0.5.9_rc3.ebuild new file mode 100644 index 000000000000..b0b64f8c3739 --- /dev/null +++ b/net-analyzer/netsniff-ng/netsniff-ng-0.5.9_rc3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="high performance network sniffer for packet inspection" +HOMEPAGE="http://netsniff-ng.org/" +MY_P=${P/_rc/-rc} +SRC_URI="http://pub.${PN}.org/${PN}/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-libs/geoip + dev-libs/libcli + dev-libs/libnl:3 + dev-libs/userspace-rcu + net-libs/libnet:1.1 + net-libs/libnetfilter_conntrack + net-libs/libpcap + sys-libs/ncurses:5 + sys-libs/zlib" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison + =net-libs/nacl-0_p20110221* + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -e '/CFLAGS/s:?=:+=:' \ + -e '/CFLAGS/s:\(-g\|-O2\|-O3\|-m\(arch\|tune\)=native\)::g' \ + -i Makefile || die + + if ! grep nacl-20110221 curvetun/nacl_build.sh >/dev/null ; then + die "have nacl-20110221, expected $(grep ${MY_NACL_P} curvetun/nacl_build.sh)" + fi + + export NACL_INC_DIR="${EROOT}usr/include/nacl" + export NACL_LIB_DIR="${EROOT}usr/$(get_libdir)/nacl" + + epatch_user +} + +src_compile() { + emake CC="$(tc-getCC)" LD="$(tc-getCC)" CCACHE="" \ + LEX=lex YAAC=bison STRIP=@true \ + Q= HARDENING=1 +} + +src_install() { + emake PREFIX="${ED}usr" ETCDIR="${ED}etc" install + + dodoc AUTHORS README REPORTING-BUGS +} diff --git a/net-analyzer/netsniff-ng/netsniff-ng-9999.ebuild b/net-analyzer/netsniff-ng/netsniff-ng-9999.ebuild new file mode 100644 index 000000000000..aa0806624603 --- /dev/null +++ b/net-analyzer/netsniff-ng/netsniff-ng-9999.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit git-2 eutils multilib toolchain-funcs + +DESCRIPTION="high performance network sniffer for packet inspection" +HOMEPAGE="http://netsniff-ng.org/" +EGIT_REPO_URI="git://github.com/borkmann/${PN}.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="" + +RDEPEND="dev-libs/geoip + dev-libs/libcli + dev-libs/libnl:3 + dev-libs/userspace-rcu + net-libs/libnet:1.1 + net-libs/libnetfilter_conntrack + net-libs/libpcap + sys-libs/ncurses:5 + sys-libs/zlib" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison + =net-libs/nacl-0_p20110221* + virtual/pkgconfig" + +src_prepare() { + sed -e '/CFLAGS/s:?=:+=:' \ + -e '/CPPFLAGS/s:?=:+=:' \ + -e '/CFLAGS/s:\(-g\|-O2\|-O3\|-m\(arch\|tune\)=native\)::g' \ + -i Makefile || die + + if ! grep nacl-20110221 curvetun/nacl_build.sh >/dev/null ; then + die "have nacl-20110221, expected $(grep ${MY_NACL_P} curvetun/nacl_build.sh)" + fi + + export NACL_INC_DIR="${EROOT}usr/include/nacl" + export NACL_LIB_DIR="${EROOT}usr/$(get_libdir)/nacl" + + epatch_user +} + +src_compile() { + emake CC="$(tc-getCC)" LD="$(tc-getCC)" CCACHE="" \ + LEX=lex YAAC=bison STRIP=@true \ + Q= HARDENING=1 +} + +src_install() { + emake PREFIX="${ED}usr" ETCDIR="${ED}etc" install + + dodoc AUTHORS README REPORTING-BUGS +} |