ChangeLog

# ChangeLog for net-libs/libnet
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/ChangeLog,v 1.44 2007/05/08 22:53:37 genone Exp $

08 May 2007; Marius Mauch libnet-1.0.2a-r3.ebuild:
Replacing einfo with elog

10 Sep 2006; Javier Villavicencio
libnet-1.1.2.1-r1.ebuild:
Add ~x86-fbsd keyword.

25 Jul 2005; Rene Nussbaumer
libnet-1.0.2a-r3.ebuild:
Added to ~hppa.

27 Jun 2005; Markus Rothe libnet-1.0.2a-r3.ebuild:
Stable on ppc64

15 May 2005; Markus Rothe libnet-1.0.2a-r3.ebuild:
Added ~ppc64 to KEYWORDS

13 Apr 2005; Tom Gall
libnet-1.1.2.1.ebuild, libnet-1.1.2.1-r1.ebuild:
marked stable and ~ppc64 respectively

*libnet-1.1.2.1-r1 (23 Mar 2005)

23 Mar 2005; Mike Frysinger
+files/libnet-1.1.2.1-autotools.patch,
+files/libnet-1.1.2.1-fix-chksum.patch, +libnet-1.1.2.1-r1.ebuild:
Add patches from debian to generate a libnet.so for linking #82926.

11 Jan 2005; Daniel Black files/1.0.2a-slot.patch:
expanded patch to fix selftest routine.

25 Jul 2004; Lina Pezzella
Fixed Manifest.

25 Jul 2004; Alexander Plank libnet-1.1.2.1.ebuild:
Added macos keyword (thanks Ryan Ramsey )

08 May 2004; Joshua Kinard libnet-1.1.2.1.ebuild:
Added gnuconfig support for mips.

*libnet-1.1.2.1 (01 Apr 2004)

01 Apr 2004; Mike Frysinger :
Version bump #46327 by Alberto Ornaghi.

*libnet-1.1.2 (28 Mar 2004)

28 Mar 2004; Mike Frysinger :
Version bump #45876 by Alberto Ornaghi.

05 Mar 2004; Gustavo Zacarias libnet-1.1.1.ebuild:
stable on sparc

30 Jan 2004; Grant Goodyear libnet-1.1.1.ebuild,
metadata.xml:
Marking 1.1.1 x86 to enable netwox

17 Jan 2004; Michael Sterrett
libnet-1.0.2a-r3.ebuild:
update SRC_URI for old libnet (bug 38474); tidy

26 Dec 2003; Jason Wever libnet-1.1.1.ebuild:
Added ~sparc keyword.

*libnet-1.1.1 (30 Nov 2003)

30 Nov 2003; Mike Frysinger :
Version bump #34457.

14 Nov 2003; Brad House libnet-1.1.0-r3.ebuild:
mark stable on amd64

13 Nov 2003; libnet-1.1.0-r3.ebuild:
added mips to KEYWORDS

04 Nov 2003; Jason Wever libnet-1.0.2a-r3.ebuild:
Marked stable too early, changing back to ~sparc.

01 Nov 2003; Jason Wever libnet-1.0.2a-r3.ebuild:
Marked stable on sparc.

08 Oct 2003; Joel Hill libnet-1.1.0-r3.ebuild:
marking stable.

*libnet-1.1.0-r3 (21 Aug 2003)

21 Aug 2003; Mike Frysinger :
Stick libnet into better SLOT's ... that is, 1.0.x is deprecated so
libnet-1.1.x now occupies libnet.a, libnet.h, and libnet-config ... #17772

*libnet-1.0.2a-r3 (21 Aug 2003)

21 Aug 2003; Mike Frysinger :
While libnet-1.0.x now occupies libnet-1.0.a, libnet-1.0.h, and
libnet-1.0-config ... #17772

*libnet-1.1.0-r2 (16 Aug 2003)

16 Aug 2003; Mike Frysinger :
Rather than using ${PV} for file tagging, use ${SLOT} ...
Also, move library to /usr/lib/libnet${SLOT}.a

*libnet-1.1.0-r1 (02 Oct 2002)

21 May 2003; Tavis Ormandy libnet-1.1.0-r1.ebuild:
arking stable on alpha.

22 Apr 2003; Brandon Low libnet-1.1.0-r1.ebuild:
Change supersed dependencies

25 Mar 2003; Aron Griffis libnet-1.1.0-r1.ebuild:
Add ~alpha to KEYWORDS

*libnet-1.0.2a-r2 (02 Oct 2002)

24 Jul 2003; Hanno Boeck libnet-1.0.2a-r2.ebuild,
files/libnet-gcc33-fix:
Compile fix for gcc 3.3.

06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords

28 Apr 2003; Zach Welch libnet-1.0.2a-r2.ebuild:
add arm keyword

02 Oct 2002; Seemant Kulleen libnet-1.0.2a-r2.ebuild
files/digest-libnet-1.0.2a-r2 libnet-1.1.0-r1.ebuild
files/digest-libnet-1.1.0-r1 :

Small fixes which include manpage installation and CFLAGS being honoured.
Thanks to: kevin@aptbasilicata.it (Maurizio Disimino) j2ee in #-dev in bug
#7754. Now the two are SLOT'd

*libnet-1.1.0 (27 Aug 2002)

02 Sep 2002: Brandon Low
This package is NOT backward compatible with previous versoins of libnet.
Additionally the install process forgets to install libnet-config which
is necessary for library configuration, Added that script, and trying to
figure out what is b0rken with this new library.

27 Aug 2002; Daniel Ahlberg Version bump. Closes #7039. Ebuild contributed by kevin@aptbasilicata.it.

*libnet-1.0.2a-r1 (27 Mar 2002)

06 Aug 2002; Mark Guertin :
Added ppc to keywords

11 May 2002; Wout Mertens libnet-1.0.2a-r1.ebuild :

Made it copy libnet-config as well, so laptop-net builds.

27 Mar 2002; Seemant Kulleen libnet-1.0.2a-r1.ebuild :

Updated ebuild syntax, and man pages/LFH fixes by Matthew Kennedy.

*libnet-1.0.2a (1 Feb 2002)

1 Feb 2002; G.Bevin ChangeLog :

Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX 1.0.2a-slot.patch 7696 RMD160 9efca7d4e59ab46eaddb3932c39e86b7ad2bd9ce SHA1 4f4b0d316f8e61eb8d2daf25051036968d5d4594 SHA256 bd1d187bce4f5d618506d0149b469e4208eea0b45bbebec0aa190644be8d016e
AUX libnet-1.1.2.1-autotools.patch 2180 RMD160 005a05cc2b44e76c4eb2058d641c4475eef5a9bd SHA1 ce8e043fba6cea7b625efacad1a99954c5dff27c SHA256 1e2913b2c9323bc15e82c6e56060137bfafc1be07279c49f1d80f228c2003925
AUX libnet-1.1.2.1-fix-chksum.patch 564 RMD160 bce53058c481e552494dee88e193157b151a31b1 SHA1 5a2fc6f2a540016edb82743a73cb30fef5fb9f62 SHA256 65e751e0957a6b7b73499513ad4260050f4627c3f9b46d73afeed3f7bd281682
AUX libnet-gcc33-fix 563 RMD160 1d153e6ad09f447ab3ebc3568df9e595cc33f133 SHA1 5e29c42bfb18cd3bd55f8700bd0a2886d463c6e3 SHA256 b533c27f07bb27489b0a3941546788447cab6e767b489961ba7fc776ee49ed47
DIST libnet-1.0.2a.tar.gz 140191 RMD160 43dd2edc31e56b42792727b88d81342dc26d3308 SHA1 804eaf43bb90f93e505d46a9668c914a112bf136 SHA256 7c7f2e8ccb47bb47072c5cd583fea5e90ab892c75889b625346b60d10464459a
DIST libnet-1.1.2.1.tar.gz 1021236 RMD160 2d8d87930d09a74ab369bd7c240af4b5426ae380 SHA1 760783a2adbd845b731e2000aafa3cd9c3b028d5 SHA256 ab01882a3d0556176018c09342cd0731f7cbc8e687795009894c3326942c76ff
EBUILD libnet-1.0.2a-r3.ebuild 1607 RMD160 0ebdbc1690007a1e162af46571428b03bc2e55a9 SHA1 5029a99c817e834b26438a15a87a3ba6f04f24b0 SHA256 0ab0b47b5d1a6b3a1931b13676ab108ad760b3af75015d33017066c2cb31cc63
EBUILD libnet-1.1.2.1-r1.ebuild 1060 RMD160 7362399e879f7b76a8692774e82f9c4aef263dd2 SHA1 97f8074383acadd8d0b6a4109df8b977c16792f7 SHA256 2315d9f2d18e412671113551fac55ea42d840aeca8ef6ebb15a8d3da1e71b912
MISC ChangeLog 5810 RMD160 e98cf79f6eef32a2417acc44137ba0e9787efc1b SHA1 db01f0e5ac83560a5c5882671fd2b35ffe8e6499 SHA256 2ace91e97e1ac9a863c64201ffec94ead1d9ba3405ea42a876d764c4a23f8230
MISC metadata.xml 1021 RMD160 1e9e28f0dfd9ec6ffff940be53303d9b88b25b9f SHA1 6a1e29dba034a48b8dc54af7fb5bc3cfc1f6f364 SHA256 dde6801b0f8a66cc775c3cb6cadacf0a5c0f024d3535b22b2c787057b5b3e889
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFIQNrpj9hvisErhMIRAgpFAJ9yAOgGJVijinOIWHCJuL4BdGKipgCghrBV
fCyXXNj+1CU656yOuoSO4WU=
=selS
-----END PGP SIGNATURE-----

files

libnet-1.0.2a-r3.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/libnet-1.0.2a-r3.ebuild,v 1.17 2007/05/08 22:53:37 genone Exp $

inherit eutils

DESCRIPTION="library to provide an API for commonly used low-level network functions (mainly packet injection)"
HOMEPAGE="http://www.packetfactory.net/libnet/"
SRC_URI="http://www.packetfactory.net/libnet/dist/deprecated/${P}.tar.gz"

LICENSE="LGPL-2"
SLOT="1.0"
KEYWORDS="alpha amd64 ~hppa ppc ppc64 sparc x86"
IUSE=""

S=${WORKDIR}/Libnet-${PV}

src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/libnet-gcc33-fix
epatch "${FILESDIR}"/${PV}-slot.patch
cd "${S}"
mv libnet-config.in libnet-${SLOT}-config.in || die "moving libnet-config"
cd "${S}"/include
ln -s libnet.h libnet-${SLOT}.h
cd libnet
for f in *.h ; do
ln -s ${f} ${f/-/-${SLOT}-} || die "linking ${f}"
done
cd "${S}"/doc
ln -s libnet.3 libnet-${SLOT}.3 || die "linking manpage"
cd "${S}"
autoconf || die
}

src_compile() {
econf || die
emake CFLAGS="${CFLAGS}" || die "Failed to compile"
}

src_install() {
make DESTDIR="${D}" install || die "make install failed"
doman "${D}"/usr/man/man3/libnet-1.0.3
rm -r "${D}"/usr/man

dodoc VERSION doc/{README,TODO*,CHANGELOG*}
newdoc README README.1st
docinto example ; dodoc example/libnet*
docinto Ancillary ; dodoc doc/Ancillary/*
}

pkg_postinst(){
elog "libnet ${SLOT} is deprecated !"
elog "config script: libnet-${SLOT}-config"
elog "manpage: libnet-${SLOT}"
elog "library: libnet-${SLOT}.a"
elog "include: libnet-${SLOT}.h"
}

libnet-1.1.2.1-r1.ebuild

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/libnet-1.1.2.1-r1.ebuild,v 1.6 2008/01/02 09:12:14 grobian Exp $

WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
inherit eutils autotools

DESCRIPTION="library to provide an API for commonly used low-level network functions (mainly packet injection)"
HOMEPAGE="http://www.packetfactory.net/libnet/"
SRC_URI="http://www.packetfactory.net/libnet/dist/${P}.tar.gz"

LICENSE="LGPL-2"
SLOT="1.1"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="doc"

DEPEND="sys-devel/autoconf"
RDEPEND=""

S=${WORKDIR}/libnet

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-fix-chksum.patch
epatch "${FILESDIR}"/${P}-autotools.patch
eautoreconf
}

src_install(){
emake DESTDIR="${D}" install || die "Failed to install"

doman doc/man/man3/*.3
dodoc VERSION README doc/*
if use doc ; then
dohtml -r doc/html/*
docinto sample
dodoc sample/*.[ch]
fi
}

metadata.xml




netmon

Libnet is a high-level API (toolkit) allowing the application
programmer to construct and inject network packets. It provides a
portable and simplified interface for low-level network packet
shaping, handling and injection. Libnet hides much of the tedium
of packet creation from the application programmer such as
multiplexing, buffer management, arcane packet header
information, byte-ordering, OS-dependent issues, and much more.
Libnet features portable packet creation interfaces at the IP
layer and link layer, as well as a host of supplementary and
complementary functionality. Using libnet, quick and simple
packet assembly applications can be whipped up with little
effort. With a bit more time, more complex programs can be
written (Traceroute and ping were easily rewritten using libnet
and libpcap).