wok rev 25621

Add sngrep
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 31 08:29:57 2023 +0000 (14 months ago)
parents aff60e1ea082
children 76c8a51f118d
files bzip3/receipt sngrep/description.txt sngrep/receipt
line diff
     1.1 --- a/bzip3/receipt	Wed Aug 30 10:53:19 2023 +0000
     1.2 +++ b/bzip3/receipt	Thu Aug 31 08:29:57 2023 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="bzip3"
     1.7 -VERSION="1.3.1"
     1.8 +VERSION="1.3.2"
     1.9  CATEGORY="utilities"
    1.10  TAGS="compression archive"
    1.11  SHORT_DESC="High-quality data compressor."
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/sngrep/description.txt	Thu Aug 31 08:29:57 2023 +0000
     2.3 @@ -0,0 +1,2 @@
     2.4 +sngrep is a tool for displaying SIP calls message flows from terminal.
     2.5 +It supports live capture to display realtime SIP packets and can also be used as PCAP viewer.
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/sngrep/receipt	Thu Aug 31 08:29:57 2023 +0000
     3.3 @@ -0,0 +1,45 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="sngrep"
     3.7 +VERSION="1.7.0"
     3.8 +CATEGORY="network"
     3.9 +SHORT_DESC="Ncurses SIP Messages flow viewer."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +LICENSE="GPL3"
    3.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.13 +WEB_SITE="https://github.com/irontec/sngrep"
    3.14 +WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz"
    3.15 +CONFIG_FILES="/etc/sngreprc"
    3.16 +
    3.17 +DEPENDS="libpcap libgnutls libgcrypt pcre zlib libpanel libform \
    3.18 +libmenu libnl libffi nettle"
    3.19 +BUILD_DEPENDS="ncursesw-dev libpcap-dev gnutls-dev pcre-dev zlib-dev \
    3.20 +libpanel libform libmenu automake"
    3.21 +
    3.22 +# What is the latest version available today?
    3.23 +current_version()
    3.24 +{
    3.25 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    3.26 +	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    3.27 +}
    3.28 +
    3.29 +# Rules to configure and make the package.
    3.30 +compile_rules()
    3.31 +{
    3.32 +	./bootstrap.sh
    3.33 +	./configure --sysconfdir=/etc \
    3.34 +		--with-gnutls --with-pcre \
    3.35 +		--enable-ipv6 --enable-unicode \
    3.36 +		--with-zlib --enable-eep \
    3.37 +		$CONFIGURE_ARGS &&
    3.38 +	make &&
    3.39 +	make install 
    3.40 +}
    3.41 +
    3.42 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.43 +genpkg_rules()
    3.44 +{
    3.45 +	mkdir -p $fs/usr
    3.46 +	cp -a $install/etc $fs/
    3.47 +	cp -a $install/usr/bin $fs/usr
    3.48 +}