wok rev 24815

updated libnids (1.24 -> 1.26)
author Hans-G?nter Theisgen
date Wed Mar 23 06:19:41 2022 +0100 (2022-03-23)
parents 76d48bfbaefd
children 21a4d655af02
files libnids/description.txt libnids/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libnids/description.txt	Wed Mar 23 06:19:41 2022 +0100
     1.3 @@ -0,0 +1,10 @@
     1.4 +Libnids is a library that provides a functionality of one of NIDS 
     1.5 +(Network Intrusion Detection System) components, namely E-component.
     1.6 +It means that libnids code watches all local network traffic, cooks
     1.7 +received datagrams a bit (quite a bit ;)), and provides convenient
     1.8 +information on them to analyzing modules of NIDS.
     1.9 +
    1.10 +Libnids performs:
    1.11 +a) assembly of TCP segments into TCP streams
    1.12 +b) IP defragmentation
    1.13 +c) TCP port scan detection
     2.1 --- a/libnids/receipt	Tue Mar 22 17:39:27 2022 +0100
     2.2 +++ b/libnids/receipt	Wed Mar 23 06:19:41 2022 +0100
     2.3 @@ -1,18 +1,17 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libnids"
     2.7 -VERSION="1.24"
     2.8 +VERSION="1.26"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="An E-component of Network Intrusion Detection System."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="GPL2"
    2.13 +WEB_SITE="https://github.com/MITRECND/libnids/"
    2.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.15 -WEB_SITE="http://libnids.sourceforge.net/"
    2.16 -WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
    2.17 -#https://sourceforge.net/projects/libnids/files/libnids/1.24/libnids-1.24.tar.gz
    2.18 +WGET_URL="https://github.com/MITRECND/$PACKAGE/archive/refs/tags/$VERSION.tar.gz"
    2.19  
    2.20  DEPENDS=""
    2.21 -BUILD_DEPENDS="pkg-config libpcap-dev glib-dev libnet-dev"
    2.22 +BUILD_DEPENDS="glib-dev libpcap-dev libnet-dev pkg-config"
    2.23  
    2.24  # What is the latest version available today?
    2.25  current_version()
    2.26 @@ -25,14 +24,19 @@
    2.27  # Rules to configure and make the package.
    2.28  compile_rules()
    2.29  {
    2.30 -	sed -i "s|^install_prefix.*|install_prefix = $DESTDIR|" src/Makefile*
    2.31 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
    2.32 +	sed -i "s|^install_prefix.*|install_prefix = $DESTDIR|" \
    2.33 +		src/Makefile*
    2.34 +
    2.35 +	./configure		\
    2.36 +		--prefix=/usr	\
    2.37 +		$CONFIGURE_ARGS &&
    2.38  	make &&
    2.39 -	make DESTDIR=$DESTDIR install
    2.40 +	make install DESTDIR=$DESTDIR
    2.41  }
    2.42  
    2.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.44  genpkg_rules()
    2.45  {
    2.46 -	cp -a $install/* $fs/
    2.47 +	cook_copy_folders	include
    2.48 +	cook_copy_folders	lib
    2.49  }