wok-current diff mysqlsniffer/receipt @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (6 months ago)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mysqlsniffer/receipt	Fri Apr 19 12:48:51 2024 +0000
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mysqlsniffer"
     1.7 +GITHASH="37410e18bc8a407be59a19a0cbf10c8ab4469fa2"
     1.8 +VERSION="2021"
     1.9 +CATEGORY="network"
    1.10 +SHORT_DESC="Watch MySQL traffic on a TCP/IP network"
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="GPL3"
    1.13 +TARBALL="$PACKAGE-$VERSION.zip"
    1.14 +WEB_SITE="https://github.com/daniel-nichter/hackmysql.com/"
    1.15 +WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
    1.16 +
    1.17 +DEPENDS="libpcap"
    1.18 +BUILD_DEPENDS="libpcap-dev"
    1.19 +
    1.20 +# What is the latest version available today?
    1.21 +current_version()
    1.22 +{
    1.23 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
    1.24 +	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y -d
    1.25 +}
    1.26 +
    1.27 +# Rules to configure and make the package.
    1.28 +compile_rules()
    1.29 +{
    1.30 +	cd mysqlsniffer
    1.31 +	gcc -O2 -lpcap -o mysqlsniffer mysqlsniffer.c packet_handlers.c misc.c
    1.32 +}
    1.33 +
    1.34 +
    1.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +	mkdir -p $fs/usr/bin
    1.39 +	cp -a $src/mysqlsniffer/mysqlsniffer $fs/usr/bin
    1.40 +}