# HG changeset patch # User Pascal Bellard # Date 1646236743 0 # Node ID dd8bca24b693fb6e703dfc52f5fe3e4420400875 # Parent e6b809c621b600372e5b79d6728afc1f0b6aacec Add zmap diff -r e6b809c621b6 -r dd8bca24b693 byacc/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/byacc/description.txt Wed Mar 02 15:59:03 2022 +0000 @@ -0,0 +1,3 @@ +Berkeley Yacc (byacc) is generally conceded to be the best yacc variant +available. In contrast to bison, it is written to avoid dependencies upon +a particular compiler. diff -r e6b809c621b6 -r dd8bca24b693 byacc/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/byacc/receipt Wed Mar 02 15:59:03 2022 +0000 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="byacc" +VERSION="20220128" +CATEGORY="development" +TAGS="parser language" +SHORT_DESC="Berkeley Yacc variant." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="PublicDomain" +WEB_SITE="https://invisible-island.net/byacc/" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://invisible-mirror.net/archives/byacc/byacc-$VERSION.tgz" + +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/byacc-/!d;s|.*byacc-||;s|.t.*||' | sort -Vr | sed q +} + +# Rules to configure and make the package. +compile_rules() +{ + ./configure $CONFIGURE_ARGS && + make && + make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs/ + mv $fs/usr/bin/yacc $fs/usr/bin/byacc +} diff -r e6b809c621b6 -r dd8bca24b693 gengetopt/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gengetopt/description.txt Wed Mar 02 15:59:03 2022 +0000 @@ -0,0 +1,3 @@ +Gengetopt is a tool to generate C code to parse the command line arguments argc +and argv that are part of every C or C++ program. The generated code uses the C +library function getopt_long to perform the actual command line parsing. diff -r e6b809c621b6 -r dd8bca24b693 gengetopt/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gengetopt/receipt Wed Mar 02 15:59:03 2022 +0000 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="gengetopt" +VERSION="2.23" +CATEGORY="development" +SHORT_DESC="A tool to write command line option parsing code for C programs" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL3" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WEB_SITE="http://www.gnu.org/software/gengetopt/gengetopt.html" +WGET_URL="https://ftp.gnu.org/gnu/gengetopt/gengetopt-$VERSION.tar.xz" + +DEPENDS="gcc-lib-base" +BUILD_DEPENDS="flex" + +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/gengetopt-/!d;s|.*gengetopt-||;s|.t.*||' | sort -Vr | sed q +} + +# Rules to configure and make the package. +compile_rules() +{ + ./configure --prefix=/usr \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs/ +} diff -r e6b809c621b6 -r dd8bca24b693 zmap/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zmap/description.txt Wed Mar 02 15:59:03 2022 +0000 @@ -0,0 +1,4 @@ +ZMap is a fast single-packet network scanner optimized for Internet-wide +network surveys. On a computer with a gigabit connection, ZMap can scan the +entire public IPv4 address space in under 45 minutes. With a 10gigE connection +and PF_RING, ZMap can scan the IPv4 address space in 5 minutes. diff -r e6b809c621b6 -r dd8bca24b693 zmap/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zmap/receipt Wed Mar 02 15:59:03 2022 +0000 @@ -0,0 +1,37 @@ +# SliTaz package receipt. + +PACKAGE="zmap" +VERSION="3.0.0-beta1" +CATEGORY="network" +SHORT_DESC="A fast single packet network scanner for Internet-wide network surveys" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="Apache" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://zmap.io/" +WGET_URL="https://github.com/zmap/zmap/archive/refs/tags/v$VERSION.tar.gz" + +BUILD_DEPENDS="cmake gmp-dev gengetopt libpcap-dev flex byacc libjson-c-dev pkg-config \ +libunistring-dev hiredis-dev" + +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + +# Rules to configure and make the package. +compile_rules() +{ + mkdir build_linux + cd build_linux + cmake -DCMAKE_INSTALL_PREFIX=/usr .. && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/etc $fs/ + cp -a $install/usr $fs/ +}