libraries/libnet: Updated for version 1.1.5.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Joe Rozner 2011-11-09 13:11:59 -02:00 committed by Robby Workman
parent 883de473de
commit 0e71d65bba
4 changed files with 22 additions and 23 deletions

View file

@ -1,11 +1,12 @@
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 both 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
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
both 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).

View file

@ -8,16 +8,14 @@
# - remove CVS directories from source tree and miscellaneous script cleanup
PRGNAM=libnet
VERSION=${VERSION:-1.1.4}
VERSION=${VERSION:-1.1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -65,12 +63,12 @@ CFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
make install DESTDIR=$PKG
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
cp -a \

View file

@ -1,10 +1,10 @@
PRGNAM="libnet"
VERSION="1.1.4"
VERSION="1.1.5"
HOMEPAGE="http://sourceforge.net/projects/libnet-dev/"
DOWNLOAD="http://downloads.sourceforge.net/sourceforge/libnet-dev/libnet-1.1.4.tar.gz"
MD5SUM="c5e06418a89cc4209f677a776a798fd9"
DOWNLOAD="http://downloads.sourceforge.net/sourceforge/libnet-dev/libnet-1.1.5.tar.gz"
MD5SUM="a9bc1d75a610efcfee200d3e28d8eb8f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Joe Rozner"
EMAIL="livinded@deadbytes.net"
APPROVED="rworkman"
APPROVED="rworkman,Niels Horn"

View file

@ -5,7 +5,7 @@
# exactly 11 lines for the formatting to be correct. It's also customary to
# leave one space after the ':'.
|-----handy-ruler----------------------------------------------------|
|-----handy-ruler------------------------------------------------------|
libnet: libnet (Packet Construction Library)
libnet:
libnet: Libnet is a high-level API (toolkit) allowing the application