# HG changeset patch # User Hans-G?nter Theisgen # Date 1641105524 -3600 # Node ID be4f6d921ef0aaa65cd64ffced034c9b5bd35656 # Parent 8b05a456a6843cbfe5880aaa7fa44eafb75c9f05 updated perl-net-pcap (0.18 -> 0.20) diff -r 8b05a456a684 -r be4f6d921ef0 perl-net-pcap/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-net-pcap/description.txt Sun Jan 02 07:38:44 2022 +0100 @@ -0,0 +1,10 @@ +Net::Pcap is a Perl binding to the LBL pcap(3) library and its Win32 counterpart, +the WinPcap library. +Pcap (packet capture) is a portable API to capture network packet: +it allows applications to capture packets at link-layer, bypassing the normal +protocol stack. +It also provides features like kernel-level packet filtering and access to +internal statistics. + +Common applications include network statistics collection, security monitoring, +network debugging, etc. diff -r 8b05a456a684 -r be4f6d921ef0 perl-net-pcap/receipt --- a/perl-net-pcap/receipt Sun Jan 02 07:34:22 2022 +0100 +++ b/perl-net-pcap/receipt Sun Jan 02 07:38:44 2022 +0100 @@ -1,17 +1,18 @@ # SliTaz package receipt. PACKAGE="perl-net-pcap" -VERSION="0.18" +VERSION="0.20" CATEGORY="development" SHORT_DESC="Net::Pcap module is a Perl extension." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL" +WEB_SITE="https://metacpan.org/pod/Net::Pcap" +REPOLOGY="perl:net-pcap" +SOURCE="Net-Pcap" +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="https://www.cpan.org/modules/by-module/Net/$TARBALL" DEPENDS="perl libpcap" BUILD_DEPENDS="perl libpcap libpcap-dev" -SOURCE="Net-Pcap" -TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="https://metacpan.org/dist/Net-Pcap" -WGET_URL="http://cpan.org/authors/id/S/SA/SAPER/$TARBALL" current_version() { @@ -26,15 +27,13 @@ sed '/pcap_samp {/{NNNNNNNNNd};/pcap_rmtauth {/{NNNNd}' -i stubs.inc sed 's|cpp_defines(@funcs)|&. "-DHAVE_PCAP_SETSAMPLING"|' -i Makefile.PL - perl Makefile.PL - make - make DESTDIR=$DESTDIR install + perl Makefile.PL && + make && + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr + cook_copy_folders lib } -