# HG changeset patch # User Pascal Bellard # Date 1649149603 0 # Node ID 9aa1f88b45dbf527ef814e56f68d5fa624f3dc74 # Parent 5e42454844b263556f6b6277ff0a64f6ab8b6630 trafshow: libpcap 1.10 has its own pcap_init diff -r 5e42454844b2 -r 9aa1f88b45db python-pyajam/receipt --- a/python-pyajam/receipt Sat Apr 02 17:34:21 2022 +0100 +++ b/python-pyajam/receipt Tue Apr 05 09:06:43 2022 +0000 @@ -1,13 +1,14 @@ # SliTaz package receipt. PACKAGE="python-pyajam" -GITHASH="7df98e46bd1c2be024299b572e4ccfeab1b916be" -VERSION="${GITHASH:0:7}" +GITHASH="e8367de52f52b7381afaad1f7cc9c7e4df1b3acb" +VERSION="0.2" CATEGORY="development" SHORT_DESC="Pythonic interface of Asterisk AJAM protocol" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" -WEB_SITE="https://github.com/litnimax/PyAjam" +#WEB_SITE="https://github.com/litnimax/PyAjam" +WEB_SITE="https://github.com/gbour/PyAjam" TARBALL="$PACKAGE-$VERSION.zip" WGET_URL="$WEB_SITE/archive/$GITHASH.zip" @@ -17,7 +18,7 @@ # What is the latest version available today? current_version() { - wget -O - https://raw.githubusercontent.com/litnimax/PyAjam/master/CHANGES 2>/dev/null | \ + wget -O - https://raw.githubusercontent.com/gbour/PyAjam/master/CHANGES 2>/dev/null | \ sed '/^[0-9]/!d;s| .*||' | sort -Vr | sed q } diff -r 5e42454844b2 -r 9aa1f88b45db trafshow/receipt --- a/trafshow/receipt Sat Apr 02 17:34:21 2022 +0100 +++ b/trafshow/receipt Tue Apr 05 09:06:43 2022 +0000 @@ -28,6 +28,9 @@ # fix session.c bug sed -i '43d' session.c + # libpcap 1.10 has its own pcap_init + sed -i 's|pcap_init|&2|' trafshow.c + ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make diff -r 5e42454844b2 -r 9aa1f88b45db vim/receipt --- a/vim/receipt Sat Apr 02 17:34:21 2022 +0100 +++ b/vim/receipt Tue Apr 05 09:06:43 2022 +0000 @@ -54,6 +54,11 @@ mkdir -p $DESTDIR/etc/vim cp -a $src/runtime/vimrc_example.vim $DESTDIR/etc/vim/vimrc + + for i in GenericName Keywords ; do + l="$(grep $i= $DESTDIR/usr/share/applications/vim.desktop)" + sed -i "/$i=/d;s|$i\[de].*|$l\n&|" $DESTDIR/usr/share/applications/vim.desktop + done } # Rules to gen a SliTaz package suitable for Tazpkg.