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/nast | |
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/nast')
-rw-r--r-- | net-analyzer/nast/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/nast/files/nast-0.2.0-gentoo.patch | 79 | ||||
-rw-r--r-- | net-analyzer/nast/metadata.xml | 8 | ||||
-rw-r--r-- | net-analyzer/nast/nast-0.2.0-r1.ebuild | 39 |
4 files changed, 127 insertions, 0 deletions
diff --git a/net-analyzer/nast/Manifest b/net-analyzer/nast/Manifest new file mode 100644 index 000000000000..0b2a5f068ca9 --- /dev/null +++ b/net-analyzer/nast/Manifest @@ -0,0 +1 @@ +DIST nast-0.2.0.tar.gz 147568 SHA256 b59adf7980563bca1f44fd6e9a6e1b3c0cfadb53df0d929b6869de53062615c1 SHA512 fbf29f9c2ae783e38d40054577a697f631c6590075ef80aa970002f1133c681a4cc1fcd715bc6140cc361c609dcebe8c6bf74544e8710363d30649398b3e388c WHIRLPOOL b920a02e6599bf58b0242630a27bf7d18b5771ca5cb1d2a7db42cdfaf9a29d2386f478d00be992aa105422ae50ef075077826306ac35eae13ef07abd3a595395 diff --git a/net-analyzer/nast/files/nast-0.2.0-gentoo.patch b/net-analyzer/nast/files/nast-0.2.0-gentoo.patch new file mode 100644 index 000000000000..f8f05ab3a16c --- /dev/null +++ b/net-analyzer/nast/files/nast-0.2.0-gentoo.patch @@ -0,0 +1,79 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -84,14 +84,14 @@ + # + + filechk="yes" +-AC_CHECK_FILE(/usr/lib/libnet.a,, filechk="no") ++AC_CHECK_FILE(/usr/lib/libnet.so,, filechk="no") + if test "$filechk" = "no"; then +- AC_CHECK_FILE(/usr/local/lib/libnet.a, filechk="yes" ; LDFLAGS="-L/usr/local/lib"; CPPFLAGS="-I/usr/local/include") ++ AC_CHECK_FILE(/usr/local/lib/libnet.so, filechk="yes" ; LDFLAGS="-L/usr/local/lib"; CPPFLAGS="-I/usr/local/include") + fi + + if test "$filechk" = "no"; then AC_MSG_ERROR([ + +-Libnet archive file (libnet.a) not found in /usr or /usr/local! ++Libnet archive file (libnet.so) not found in /usr or /usr/local! + + Libnet-1.1.x Packet Shaping Library is required. + You can download it from official web site: http://www.packetfactory.net/libnet +@@ -111,14 +111,14 @@ + # + + filechk="yes" +-AC_CHECK_FILE(/usr/lib/libpcap.a,, filechk="no") ++AC_CHECK_FILE(/usr/lib/libpcap.so,, filechk="no") + if test "$filechk" = "no"; then +- AC_CHECK_FILE(/usr/local/lib/libpcap.a, filechk="yes" ; LDFLAGS="-L/usr/local/lib"; CPPFLAGS="-I/usr/local/include") ++ AC_CHECK_FILE(/usr/local/lib/libpcap.so, filechk="yes" ; LDFLAGS="-L/usr/local/lib"; CPPFLAGS="-I/usr/local/include") + fi + + if test "$filechk" = "no"; then AC_MSG_ERROR([ + +-Libpcap archive file (libpcap.a) not found in /usr or /usr/local! ++Libpcap archive file (libpcap.so) not found in /usr or /usr/local! + + Libpcap-0.7.1 Packet Capture Library is required. + You can download it from official web site: http://www.tcpdump.org/#current +@@ -137,16 +137,18 @@ + # -- libncurses support -- + # + ++PKG_CHECK_MODULES(ncurses,ncurses,[LIBS="$LIBS $ncurses_LIBS"],) ++ + filechk="yes" +-AC_CHECK_FILE(/usr/lib/libncurses.a,, filechk="no") ++AC_CHECK_FILE(/usr/lib/libncurses.so,, filechk="no") + if test "$filechk" = "no"; then +- AC_CHECK_FILE(/usr/local/lib/libncurses.a, filechk="yes" ; LDFLAGS="-L/usr/local/lib"; CPPFLAGS="-I/usr/local/include") ++ AC_CHECK_FILE(/usr/local/lib/libncurses.so, filechk="yes" ; LDFLAGS="-L/usr/local/lib"; CPPFLAGS="-I/usr/local/include") + fi + + if test "$filechk" = "no"; + then AC_MSG_WARN([ + +-Libncurses archive file (libncurses.a) not found in /usr or /usr/local! ++Libncurses archive file (libncurses.so) not found in /usr or /usr/local! + + Ncurses library (*) not found in your system. + You can download it from official web site: http://www.gnu.org/software/ncurses/ncurses.html +@@ -174,15 +176,15 @@ + # + + filechk="yes" +-AC_CHECK_FILE(/usr/lib/libmenu.a,, filechk="no") ++AC_CHECK_FILE(/usr/lib/libmenu.so,, filechk="no") + if test "$filechk" = "no"; then +- AC_CHECK_FILE(/usr/local/lib/libmenu.a, filechk="yes" ; LDFLAGS="-L/usr/local/lib"; CPPFLAGS="-I/usr/local/include") ++ AC_CHECK_FILE(/usr/local/lib/libmenu.so, filechk="yes" ; LDFLAGS="-L/usr/local/lib"; CPPFLAGS="-I/usr/local/include") + fi + + if test "$filechk" = "no"; + then AC_MSG_WARN([ + +-Menu archive file (libncurses.a) not found in /usr or /usr/local! ++Menu archive file (libncurses.so) not found in /usr or /usr/local! + + + Menu library (*) not found in your system. diff --git a/net-analyzer/nast/metadata.xml b/net-analyzer/nast/metadata.xml new file mode 100644 index 000000000000..5587ee404f30 --- /dev/null +++ b/net-analyzer/nast/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>netmon</herd> + <upstream> + <remote-id type="sourceforge">nast.berlios</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-analyzer/nast/nast-0.2.0-r1.ebuild b/net-analyzer/nast/nast-0.2.0-r1.ebuild new file mode 100644 index 000000000000..ba31068ac59b --- /dev/null +++ b/net-analyzer/nast/nast-0.2.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="NAST - Network Analyzer Sniffer Tool" +HOMEPAGE="http://sourceforge.net/projects/nast.berlios/" +SRC_URI="mirror://sourceforge/${PN}.berlios/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 x86" +IUSE="ncurses" + +RDEPEND=" + >=net-libs/libnet-1.1.1 + net-libs/libpcap + ncurses? ( >=sys-libs/ncurses-5.4 ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + eautoreconf +} + +src_compile() { + emake CFLAGS="${CFLAGS}" +} + +src_install() { + dosbin nast + doman nast.8 + dodoc AUTHORS BUGS CREDITS ChangeLog NCURSES_README README TODO +} |