wok rev 24605

Add zmap
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 02 15:59:03 2022 +0000 (2022-03-02)
parents e6b809c621b6
children dac441f6f78d
files byacc/description.txt byacc/receipt gengetopt/description.txt gengetopt/receipt zmap/description.txt zmap/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/byacc/description.txt	Wed Mar 02 15:59:03 2022 +0000
     1.3 @@ -0,0 +1,3 @@
     1.4 +Berkeley Yacc (byacc) is generally conceded to be the best yacc variant
     1.5 +available. In contrast to bison, it is written to avoid dependencies upon
     1.6 +a particular compiler. 
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/byacc/receipt	Wed Mar 02 15:59:03 2022 +0000
     2.3 @@ -0,0 +1,35 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="byacc"
     2.7 +VERSION="20220128"
     2.8 +CATEGORY="development"
     2.9 +TAGS="parser language"
    2.10 +SHORT_DESC="Berkeley Yacc variant."
    2.11 +MAINTAINER="pascal.bellard@slitaz.org"
    2.12 +LICENSE="PublicDomain"
    2.13 +WEB_SITE="https://invisible-island.net/byacc/"
    2.14 +
    2.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.16 +WGET_URL="https://invisible-mirror.net/archives/byacc/byacc-$VERSION.tgz"
    2.17 +
    2.18 +# What is the latest version available today?
    2.19 +current_version()
    2.20 +{
    2.21 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    2.22 +	sed '/byacc-/!d;s|.*byacc-||;s|.t.*||' | sort -Vr | sed q
    2.23 +}
    2.24 +
    2.25 +# Rules to configure and make the package.
    2.26 +compile_rules()
    2.27 +{
    2.28 +	./configure $CONFIGURE_ARGS &&
    2.29 +	make &&
    2.30 +	make install
    2.31 +}
    2.32 +
    2.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.34 +genpkg_rules()
    2.35 +{
    2.36 +	cp -a $install/usr	$fs/
    2.37 +	mv $fs/usr/bin/yacc $fs/usr/bin/byacc
    2.38 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/gengetopt/description.txt	Wed Mar 02 15:59:03 2022 +0000
     3.3 @@ -0,0 +1,3 @@
     3.4 +Gengetopt is a tool to generate C code to parse the command line arguments argc
     3.5 +and argv that are part of every C or C++ program. The generated code uses the C
     3.6 +library function getopt_long to perform the actual command line parsing.
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/gengetopt/receipt	Wed Mar 02 15:59:03 2022 +0000
     4.3 @@ -0,0 +1,36 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="gengetopt"
     4.7 +VERSION="2.23"
     4.8 +CATEGORY="development"
     4.9 +SHORT_DESC="A tool to write command line option parsing code for C programs"
    4.10 +MAINTAINER="pascal.bellard@slitaz.org"
    4.11 +LICENSE="GPL3"
    4.12 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    4.13 +WEB_SITE="http://www.gnu.org/software/gengetopt/gengetopt.html"
    4.14 +WGET_URL="https://ftp.gnu.org/gnu/gengetopt/gengetopt-$VERSION.tar.xz"
    4.15 +
    4.16 +DEPENDS="gcc-lib-base"
    4.17 +BUILD_DEPENDS="flex"
    4.18 +
    4.19 +# What is the latest version available today?
    4.20 +current_version()
    4.21 +{
    4.22 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    4.23 +	sed '/gengetopt-/!d;s|.*gengetopt-||;s|.t.*||' | sort -Vr | sed q
    4.24 +}
    4.25 +
    4.26 +# Rules to configure and make the package.
    4.27 +compile_rules()
    4.28 +{
    4.29 +	./configure --prefix=/usr \
    4.30 +		$CONFIGURE_ARGS &&
    4.31 +	make &&
    4.32 +	make DESTDIR=$DESTDIR install
    4.33 +}
    4.34 +
    4.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.36 +genpkg_rules()
    4.37 +{
    4.38 +	cp -a $install/* $fs/
    4.39 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/zmap/description.txt	Wed Mar 02 15:59:03 2022 +0000
     5.3 @@ -0,0 +1,4 @@
     5.4 +ZMap is a fast single-packet network scanner optimized for Internet-wide
     5.5 +network surveys. On a computer with a gigabit connection, ZMap can scan the
     5.6 +entire public IPv4 address space in under 45 minutes. With a 10gigE connection
     5.7 +and PF_RING, ZMap can scan the IPv4 address space in 5 minutes.
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/zmap/receipt	Wed Mar 02 15:59:03 2022 +0000
     6.3 @@ -0,0 +1,37 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="zmap"
     6.7 +VERSION="3.0.0-beta1"
     6.8 +CATEGORY="network"
     6.9 +SHORT_DESC="A fast single packet network scanner for Internet-wide network surveys"
    6.10 +MAINTAINER="pascal.bellard@slitaz.org"
    6.11 +LICENSE="Apache"
    6.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    6.13 +WEB_SITE="https://zmap.io/"
    6.14 +WGET_URL="https://github.com/zmap/zmap/archive/refs/tags/v$VERSION.tar.gz"
    6.15 +
    6.16 +BUILD_DEPENDS="cmake gmp-dev gengetopt libpcap-dev flex byacc libjson-c-dev pkg-config \
    6.17 +libunistring-dev hiredis-dev"
    6.18 +
    6.19 +# What is the latest version available today?
    6.20 +current_version()
    6.21 +{
    6.22 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    6.23 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    6.24 +}
    6.25 +
    6.26 +# Rules to configure and make the package.
    6.27 +compile_rules()
    6.28 +{
    6.29 +	mkdir build_linux
    6.30 +	cd build_linux
    6.31 +	cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
    6.32 +	make DESTDIR=$DESTDIR install
    6.33 +}
    6.34 +
    6.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.36 +genpkg_rules()
    6.37 +{
    6.38 +	cp -a $install/etc $fs/
    6.39 +	cp -a $install/usr $fs/
    6.40 +}