summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-10-02 08:42:39 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-10-02 08:42:39 +0000
commitc16c44e03b91f266b3ba589587331470fbb19ea3 (patch)
tree79435a681d6b98e9d06c7fe3f5de2298ea2146c6 /net-libs/libnet
parentmoved from app-office (diff)
downloadhistorical-c16c44e03b91f266b3ba589587331470fbb19ea3.tar.gz
historical-c16c44e03b91f266b3ba589587331470fbb19ea3.tar.bz2
historical-c16c44e03b91f266b3ba589587331470fbb19ea3.zip
SLOTification
Diffstat (limited to 'net-libs/libnet')
-rw-r--r--net-libs/libnet/ChangeLog12
-rw-r--r--net-libs/libnet/files/digest-libnet-1.0.2a-r21
-rw-r--r--net-libs/libnet/files/digest-libnet-1.1.0-r11
-rw-r--r--net-libs/libnet/libnet-1.0.2a-r2.ebuild31
-rw-r--r--net-libs/libnet/libnet-1.1.0-r1.ebuild45
5 files changed, 89 insertions, 1 deletions
diff --git a/net-libs/libnet/ChangeLog b/net-libs/libnet/ChangeLog
index 8e482484b681..e58df2906234 100644
--- a/net-libs/libnet/ChangeLog
+++ b/net-libs/libnet/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for net-libs/libnet
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/ChangeLog,v 1.7 2002/09/03 08:12:24 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/ChangeLog,v 1.8 2002/10/02 08:42:39 seemant Exp $
+
+*libnet-1.0.2a-r2 (02 Oct 2002)
+
+ 02 Oct 2002; Seemant Kulleen <seemant@gentoo.org> 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)
diff --git a/net-libs/libnet/files/digest-libnet-1.0.2a-r2 b/net-libs/libnet/files/digest-libnet-1.0.2a-r2
new file mode 100644
index 000000000000..b7debea8cbbc
--- /dev/null
+++ b/net-libs/libnet/files/digest-libnet-1.0.2a-r2
@@ -0,0 +1 @@
+MD5 ddf53f0f484184390e8c2a1bd0853667 libnet.tar.gz 140191
diff --git a/net-libs/libnet/files/digest-libnet-1.1.0-r1 b/net-libs/libnet/files/digest-libnet-1.1.0-r1
new file mode 100644
index 000000000000..bdfe61b76eae
--- /dev/null
+++ b/net-libs/libnet/files/digest-libnet-1.1.0-r1
@@ -0,0 +1 @@
+MD5 b46e650d9d0e7ad5ef9439c7cd281922 libnet-1.1.0.tar.gz 210621
diff --git a/net-libs/libnet/libnet-1.0.2a-r2.ebuild b/net-libs/libnet/libnet-1.0.2a-r2.ebuild
new file mode 100644
index 000000000000..29f1f0535881
--- /dev/null
+++ b/net-libs/libnet/libnet-1.0.2a-r2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/libnet-1.0.2a-r2.ebuild,v 1.1 2002/10/02 08:42:39 seemant Exp $
+
+S=${WORKDIR}/Libnet-1.0.2a
+DESCRIPTION="library to provide an API for commonly used low-level network
+functions (mainly packet injection). Used by packet scrubbers and the like,
+not to be confused with the perl libnet"
+SRC_URI="http://www.packetfactory.net/${PN}/dist/${PN}.tar.gz"
+HOMEPAGE="http://www.packefactory.net/${PN}/"
+
+DEPEND=""
+
+SLOT="1.0"
+LICENSE="LGPL-2"
+KEYWORDS="x86 ppc sparc sparc64"
+
+src_compile(){
+ econf || die
+ emake CFLAGS="${CFLAGS}" || die "Failed to compile"
+}
+
+src_install () {
+ einstall \
+ MAN_PREFIX=${D}/usr/share/man/man3 || die
+
+ dodoc VERSION doc/{README,TODO*,CHANGELOG*,COPYING}
+ newdoc README README.1st
+ docinto example ; dodoc example/libnet*
+ docinto Ancillary ; dodoc doc/Ancillary/*
+}
diff --git a/net-libs/libnet/libnet-1.1.0-r1.ebuild b/net-libs/libnet/libnet-1.1.0-r1.ebuild
new file mode 100644
index 000000000000..d125a5a824da
--- /dev/null
+++ b/net-libs/libnet/libnet-1.1.0-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnet/libnet-1.1.0-r1.ebuild,v 1.1 2002/10/02 08:42:39 seemant Exp $
+
+S=${WORKDIR}/Libnet-latest
+DESCRIPTION="library to provide an API for commonly used low-level network
+functions (mainly packet injection). Used by packet scrubbers and the like,
+not to be confused with the perl libnet"
+SRC_URI="http://www.packetfactory.net/${PN}/dist/${P}.tar.gz"
+HOMEPAGE="http://www.packetfactory.net/libnet/"
+
+DEPEND="sys-apps/supersed"
+
+SLOT="1.1"
+LICENSE="LGPL-2"
+KEYWORDS="x86"
+
+src_compile(){
+ econf \
+ --libdir=/usr/lib/libnet-${PV} \
+ --includedir=/usr/include/libnet-${PV} \
+ --program-suffix=-${PV} \
+ || die
+
+ emake || die "Failed to compile"
+}
+
+src_install(){
+ make DESTDIR=${D} install || die "Failed to install"
+
+ ssed -i "s/libnet-config/&-${PV}/" libnet-config
+ exeinto /usr/bin
+ newexe libnet-config libnet-config-${PV}
+
+ dodoc VERSION README doc/*
+ docinto Ancillary ; dodoc doc/Ancillary/README*
+ docinto sample ; dodoc sample/*.[ch]
+}
+
+pkg_postinst(){
+ echo
+ einfo "config script for libnet version ${PV} is libnet-config-${PV}"
+ einfo "manpage for libnet version ${PV} is libnet-${PV}"
+ echo
+}