# HG changeset patch # User Hans-G?nter Theisgen # Date 1647965316 -3600 # Node ID 91df889f52feba11fcb0fcee0bc715a0100af8f6 # Parent cc97ba804eb3ee060142fbd745b423ef754f9d54 updated libnet and libnet-dev (1.1.6 -> 1.2) diff -r cc97ba804eb3 -r 91df889f52fe libnet-dev/receipt --- a/libnet-dev/receipt Tue Mar 22 15:59:26 2022 +0000 +++ b/libnet-dev/receipt Tue Mar 22 17:08:36 2022 +0100 @@ -1,22 +1,19 @@ # SliTaz package receipt. PACKAGE="libnet-dev" -VERSION="1.1.6" +VERSION="1.2" CATEGORY="development" -SHORT_DESC="devel files for libnet" +SHORT_DESC="Development files for libnet" MAINTAINER="slaxemulator@gmail.com" LICENSE="BSD" -WEB_SITE="https://sourceforge.net/projects/libnet-dev/" -WANTED="libnet" +WEB_SITE="https://github.com/libnet/libnet" DEPENDS="libnet" +WANTED="libnet" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib + get_dev_files } diff -r cc97ba804eb3 -r 91df889f52fe libnet/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libnet/description.txt Tue Mar 22 17:08:36 2022 +0100 @@ -0,0 +1,6 @@ +Libnet is an API to help with the construction and injection of network packets. +It provides a portable framework for low-level network packet writing and +handling (use libnet in conjunction with libpcap and you can write some really +cool stuff). +Libnet includes packet creation at the IP layer and at the link layer as well +as a host of supplementary and complementary functionality. diff -r cc97ba804eb3 -r 91df889f52fe libnet/receipt --- a/libnet/receipt Tue Mar 22 15:59:26 2022 +0000 +++ b/libnet/receipt Tue Mar 22 17:08:36 2022 +0100 @@ -1,14 +1,15 @@ # SliTaz package receipt. PACKAGE="libnet" -VERSION="1.1.6" +VERSION="1.2" CATEGORY="network" SHORT_DESC="A library which provides API for commonly used low-level net functions." MAINTAINER="slaxemulator@gmail.com" LICENSE="BSD" +WEB_SITE="https://github.com/libnet/libnet" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://sourceforge.net/projects/libnet-dev/" -WGET_URL="$SF_MIRROR/$PACKAGE-dev/$TARBALL" +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL" # What is the latest version available today? current_version() @@ -20,18 +21,17 @@ # Rules to configure and make the package. compile_rules() { - ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ $CONFIGURE_ARGS && - make && make DESTDIR=$DESTDIR install + make && + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib + cook_copy_files *.so* } -