wok-current rev 24811
updated libnet and libnet-dev (1.1.6 -> 1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 17:08:36 2022 +0100 (2022-03-22) |
parents | cc97ba804eb3 |
children | cd7e29388d40 |
files | libnet-dev/receipt libnet/description.txt libnet/receipt |
line diff
1.1 --- a/libnet-dev/receipt Tue Mar 22 15:59:26 2022 +0000 1.2 +++ b/libnet-dev/receipt Tue Mar 22 17:08:36 2022 +0100 1.3 @@ -1,22 +1,19 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="libnet-dev" 1.7 -VERSION="1.1.6" 1.8 +VERSION="1.2" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="devel files for libnet" 1.11 +SHORT_DESC="Development files for libnet" 1.12 MAINTAINER="slaxemulator@gmail.com" 1.13 LICENSE="BSD" 1.14 -WEB_SITE="https://sourceforge.net/projects/libnet-dev/" 1.15 -WANTED="libnet" 1.16 +WEB_SITE="https://github.com/libnet/libnet" 1.17 1.18 DEPENDS="libnet" 1.19 +WANTED="libnet" 1.20 1.21 # Rules to gen a SliTaz package suitable for Tazpkg. 1.22 genpkg_rules() 1.23 { 1.24 - mkdir -p $fs/usr/lib 1.25 - cp -a $install/usr/include $fs/usr 1.26 - cp -a $install/usr/bin $fs/usr 1.27 - cp -a $install/usr/lib/*.*a $fs/usr/lib 1.28 + get_dev_files 1.29 } 1.30
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libnet/description.txt Tue Mar 22 17:08:36 2022 +0100 2.3 @@ -0,0 +1,6 @@ 2.4 +Libnet is an API to help with the construction and injection of network packets. 2.5 +It provides a portable framework for low-level network packet writing and 2.6 +handling (use libnet in conjunction with libpcap and you can write some really 2.7 +cool stuff). 2.8 +Libnet includes packet creation at the IP layer and at the link layer as well 2.9 +as a host of supplementary and complementary functionality.
3.1 --- a/libnet/receipt Tue Mar 22 15:59:26 2022 +0000 3.2 +++ b/libnet/receipt Tue Mar 22 17:08:36 2022 +0100 3.3 @@ -1,14 +1,15 @@ 3.4 # SliTaz package receipt. 3.5 3.6 PACKAGE="libnet" 3.7 -VERSION="1.1.6" 3.8 +VERSION="1.2" 3.9 CATEGORY="network" 3.10 SHORT_DESC="A library which provides API for commonly used low-level net functions." 3.11 MAINTAINER="slaxemulator@gmail.com" 3.12 LICENSE="BSD" 3.13 +WEB_SITE="https://github.com/libnet/libnet" 3.14 + 3.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 3.16 -WEB_SITE="https://sourceforge.net/projects/libnet-dev/" 3.17 -WGET_URL="$SF_MIRROR/$PACKAGE-dev/$TARBALL" 3.18 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL" 3.19 3.20 # What is the latest version available today? 3.21 current_version() 3.22 @@ -20,18 +21,17 @@ 3.23 # Rules to configure and make the package. 3.24 compile_rules() 3.25 { 3.26 - ./configure \ 3.27 - --prefix=/usr \ 3.28 - --infodir=/usr/share/info \ 3.29 - --mandir=/usr/share/man \ 3.30 + ./configure \ 3.31 + --prefix=/usr \ 3.32 + --infodir=/usr/share/info \ 3.33 + --mandir=/usr/share/man \ 3.34 $CONFIGURE_ARGS && 3.35 - make && make DESTDIR=$DESTDIR install 3.36 + make && 3.37 + make install DESTDIR=$DESTDIR 3.38 } 3.39 3.40 # Rules to gen a SliTaz package suitable for Tazpkg. 3.41 genpkg_rules() 3.42 { 3.43 - mkdir -p $fs/usr/lib 3.44 - cp -a $install/usr/lib/*.so* $fs/usr/lib 3.45 + cook_copy_files *.so* 3.46 } 3.47 -