libnet: 1.2-rc3 -> 1.2

This commit is contained in:
Danny Rawlins 2020-05-28 00:02:19 +10:00
parent 34b8f11bbd
commit a8c2653f97
3 changed files with 16 additions and 19 deletions

View File

@ -12,13 +12,9 @@ drwxr-xr-x root/root usr/include/libnet/
-rw-r--r-- root/root usr/include/libnet/libnet-types.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libnet.a
-rwxr-xr-x root/root usr/lib/libnet.la
lrwxrwxrwx root/root usr/lib/libnet.so -> libnet.so.9.0.0
lrwxrwxrwx root/root usr/lib/libnet.so.9 -> libnet.so.9.0.0
-rwxr-xr-x root/root usr/lib/libnet.so.9.0.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libnet.pc
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man3/
-rw-r--r-- root/root usr/share/man/man3/libnet-functions.h.3.gz
-rw-r--r-- root/root usr/share/man/man3/libnet-macros.h.3.gz
-rw-r--r-- root/root usr/share/man/man3/libnet.h.3.gz

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF305ZE40bJMNHLqsBOdU5+wjrwmPPOoiUxBhizdi/JhnIEIXIfxzA38XLqAtNJ/W6UVh/UmgqAqe2KrKmvTEN8gU=
SHA256 (Pkgfile) = 8cf8ae510397c54b501b72a217ea4bad53d65ce8d1ef82d137218f3feb2a9a96
SHA256 (.footprint) = b07480d5c91c4f96c8a482fdd58918733a278bfc92b5299dd0a57897c3208f3c
SHA256 (libnet-1.2-rc3.tar.gz) = 72c380785ad44183005e654b47cc12485ee0228d7fa6b0a87109ff7614be4a63
RWSagIOpLGJF33rCczo/0rxGisp7zCwYDfIXpx5JlKJgnF3sREEemREfmLSslutixrzg+EgZWRfTYChw2KGG0l6rkMigEz4EOQw=
SHA256 (Pkgfile) = 83bcc1845dd53a98ebb414103c637175706db6de33cead90390bb10bdddda93b
SHA256 (.footprint) = 4cbd51da5a0d03df0575f1f7ec9641a2985ce1a6ff79c4a42282cc92b1df3111
SHA256 (libnet-1.2.tar.gz) = caa4868157d9e5f32e9c7eac9461efeff30cb28357f7f6bf07e73933fb4edaa7

View File

@ -1,19 +1,20 @@
# Description: Library for constructing and injecting network packets
# URL: http://libnet-dev.sf.net
# Maintainer: Thomas Penteker, tek at serverop dot de
# Optional: help2man doxygen
name=libnet
version=1.2-rc3
version=1.2
release=1
source=(http://downloads.sourceforge.net/project/libnet-dev/libnet-$version.tar.gz)
source=(https://github.com/$name/$name/releases/download/v$version/$name-$version.tar.gz)
build() {
cd $name-$version
export CFLAGS=$CFLAGS" -fPIC"
cd $name-$version
./configure --prefix=/usr
sed -i 's/ sample//g' Makefile
make
make DESTDIR=$PKG install
install -D -m 755 libnet-config $PKG/usr/bin/libnet-config
./configure --prefix=/usr
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/doc
find $PKG -name '*.la' -delete
}