diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/nast |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/nast')
-rw-r--r-- | net-analyzer/nast/Manifest | 6 | ||||
-rw-r--r-- | net-analyzer/nast/files/nast-0.2.0-gentoo.patch | 79 | ||||
-rw-r--r-- | net-analyzer/nast/metadata.xml | 11 | ||||
-rw-r--r-- | net-analyzer/nast/nast-0.2.0-r1.ebuild | 38 |
4 files changed, 134 insertions, 0 deletions
diff --git a/net-analyzer/nast/Manifest b/net-analyzer/nast/Manifest new file mode 100644 index 000000000000..f827680c4a5e --- /dev/null +++ b/net-analyzer/nast/Manifest @@ -0,0 +1,6 @@ +AUX nast-0.2.0-gentoo.patch 3029 SHA256 01b359b94e1f59b2f10def9295b27ee21f3f66e12fe7a2fc83c03420ddb607cd SHA512 fbbd0b5d8426bacf64958032381d5d236d26985802b5c86327fd4102742563a56c7cb873e0f51758b1e2c3ed53d6bf7b57da497eaa401f5ed4eb32941d22adb1 WHIRLPOOL 63eed898d217333f66f66e4d9dc3f43d93a4b9c32795a16c79949948831d255f98dacb485d652d8eebf0b3ea63f495532eec65d308eaa472fe27fa141eba4180 +DIST nast-0.2.0.tar.gz 147568 SHA256 b59adf7980563bca1f44fd6e9a6e1b3c0cfadb53df0d929b6869de53062615c1 SHA512 fbf29f9c2ae783e38d40054577a697f631c6590075ef80aa970002f1133c681a4cc1fcd715bc6140cc361c609dcebe8c6bf74544e8710363d30649398b3e388c WHIRLPOOL b920a02e6599bf58b0242630a27bf7d18b5771ca5cb1d2a7db42cdfaf9a29d2386f478d00be992aa105422ae50ef075077826306ac35eae13ef07abd3a595395 +EBUILD nast-0.2.0-r1.ebuild 744 SHA256 e9a204601ccc3989fa5ba281f0ecc75ede661cbcdfe76574de6ea214794edccb SHA512 5403f70c4b64204494a85443366348be0ef2fe02963d986f7487485141642d619c3042019e322f6ef0d0e8c5e9a2438bab79b944a2a113a30945e15d57a7a127 WHIRLPOOL 690dbf919a575bbd9eb4d17d1a56643e0acac2e9f51f939b2e0f60c14c54edbfc8254951a68a11e5e00ecdef3cc446bab573654eae1e4b870fefbf00294b0947 +MISC ChangeLog 2572 SHA256 d43e28ab7d29700448afda5eca803bb0d7ee543b3598993c9cda3ab62d17b22a SHA512 049480c7bec813feb8ca318106f265c14cf2390dca8399d7623c80eeb6296b2143aef4d6851f6aa8a0b3d19f457e7e6f62e1520ad505f5c7fa3480d5de246815 WHIRLPOOL 7bc782146c3b359d4518a292ed3888c5bf67307cd0885d0c7a34c6e2db6c64e9fb1659ea173ba6fd5017d9d8bf3c0a5c3443c2c6ae44d9b16538b93b8eb85f78 +MISC ChangeLog-2015 1817 SHA256 50333199f26668a9b638cc3c0559e4978d505f63eb309f95b6e7510677551850 SHA512 350bd1fa54eb14af87b66c8472b266ecc0fac03715e9f8a2017749392c263edc9269d66303bb780c3d11462c0cbc7181ff0e7b9f301ca25677202dd2cb64361e WHIRLPOOL 8d7a9ae8a31d6a9bd153112a94aed798fc1acbeb9ab3905d96e38030a3f255a13b68e8cf1f268399c74a260249b540311e4a105d82159a70633eaa56cee19dbb +MISC metadata.xml 362 SHA256 5cd244b9d810a93b40999439a13b573b2ab47f52a048527f7c6199b39ab9c7d3 SHA512 594d05be889c3a8d6019ee0762773f8abb71f4da276c3a546704ae4e073856fa404f5f9b466502b19423ac9e7f00ad8c2ef85d4adbfebf7fdd0184189e454148 WHIRLPOOL be82385a0d9fc32e9e33cbd734b45dfdeb0e21cc7d927a945956a18e231b20b9b24099a9bcd8d4e920a1a6eec3b24fa258a2277b5ad4ae30eee816d77e63cfbc 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..01ab90fe15dc --- /dev/null +++ b/net-analyzer/nast/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <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..1b4c53803c5b --- /dev/null +++ b/net-analyzer/nast/nast-0.2.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="NAST - Network Analyzer Sniffer Tool" +HOMEPAGE="https://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 +} |