summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Joe Rozner2011-11-09 16:11:59 +0100
committer Robby Workman2011-11-26 16:09:09 +0100
commit0e71d65bba6b6d531bccdfcf2f758c9e4441d612 (patch)
treeb868ce451f5f0ef4e904327f95e9fb6c3c484ae1
parent883de473de412d29c0b7b84d1a9ca317c9e80b3c (diff)
downloadslackbuilds-0e71d65bba6b6d531bccdfcf2f758c9e4441d612.tar.gz
libraries/libnet: Updated for version 1.1.5.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r--libraries/libnet/README21
-rw-r--r--libraries/libnet/libnet.SlackBuild14
-rw-r--r--libraries/libnet/libnet.info8
-rw-r--r--libraries/libnet/slack-desc2
4 files changed, 22 insertions, 23 deletions
diff --git a/libraries/libnet/README b/libraries/libnet/README
index 01654cca75..2764a8ad2b 100644
--- a/libraries/libnet/README
+++ b/libraries/libnet/README
@@ -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).
diff --git a/libraries/libnet/libnet.SlackBuild b/libraries/libnet/libnet.SlackBuild
index 0dc2bdf28f..cb402cfc8f 100644
--- a/libraries/libnet/libnet.SlackBuild
+++ b/libraries/libnet/libnet.SlackBuild
@@ -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 \
diff --git a/libraries/libnet/libnet.info b/libraries/libnet/libnet.info
index c0e485f5f2..004f9d03e2 100644
--- a/libraries/libnet/libnet.info
+++ b/libraries/libnet/libnet.info
@@ -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"
diff --git a/libraries/libnet/slack-desc b/libraries/libnet/slack-desc
index ef5bf40cd9..1bec708b99 100644
--- a/libraries/libnet/slack-desc
+++ b/libraries/libnet/slack-desc
@@ -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