diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2020-05-28 00:02:19 +1000 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2020-05-28 00:05:21 +1000 |
commit | a8c2653f9709a8a47157ecf8505b6712fa21b4bc (patch) | |
tree | 88edc4b36bb6597fe7082a17707fd62122c364ed /libnet | |
parent | 34b8f11bbdc899c81e213558725142ee2a7ce96c (diff) | |
download | contrib-a8c2653f9709a8a47157ecf8505b6712fa21b4bc.tar.gz contrib-a8c2653f9709a8a47157ecf8505b6712fa21b4bc.tar.xz |
libnet: 1.2-rc3 -> 1.2
Diffstat (limited to 'libnet')
-rw-r--r-- | libnet/.footprint | 8 | ||||
-rw-r--r-- | libnet/.signature | 8 | ||||
-rw-r--r-- | libnet/Pkgfile | 19 |
3 files changed, 16 insertions, 19 deletions
diff --git a/libnet/.footprint b/libnet/.footprint index 50a32bfc6..2444fa3bb 100644 --- a/libnet/.footprint +++ b/libnet/.footprint @@ -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 diff --git a/libnet/.signature b/libnet/.signature index 63d047db2..5caaeda35 100644 --- a/libnet/.signature +++ b/libnet/.signature @@ -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 diff --git a/libnet/Pkgfile b/libnet/Pkgfile index 25100db20..117ff3662 100644 --- a/libnet/Pkgfile +++ b/libnet/Pkgfile @@ -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 } |