wok-current rev 24890
trafshow: libpcap 1.10 has its own pcap_init
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 05 09:06:43 2022 +0000 (2022-04-05) |
parents | 5e42454844b2 |
children | 617f7ee416b1 |
files | python-pyajam/receipt trafshow/receipt vim/receipt |
line diff
1.1 --- a/python-pyajam/receipt Sat Apr 02 17:34:21 2022 +0100 1.2 +++ b/python-pyajam/receipt Tue Apr 05 09:06:43 2022 +0000 1.3 @@ -1,13 +1,14 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="python-pyajam" 1.7 -GITHASH="7df98e46bd1c2be024299b572e4ccfeab1b916be" 1.8 -VERSION="${GITHASH:0:7}" 1.9 +GITHASH="e8367de52f52b7381afaad1f7cc9c7e4df1b3acb" 1.10 +VERSION="0.2" 1.11 CATEGORY="development" 1.12 SHORT_DESC="Pythonic interface of Asterisk AJAM protocol" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="GPL3" 1.15 -WEB_SITE="https://github.com/litnimax/PyAjam" 1.16 +#WEB_SITE="https://github.com/litnimax/PyAjam" 1.17 +WEB_SITE="https://github.com/gbour/PyAjam" 1.18 TARBALL="$PACKAGE-$VERSION.zip" 1.19 WGET_URL="$WEB_SITE/archive/$GITHASH.zip" 1.20 1.21 @@ -17,7 +18,7 @@ 1.22 # What is the latest version available today? 1.23 current_version() 1.24 { 1.25 - wget -O - https://raw.githubusercontent.com/litnimax/PyAjam/master/CHANGES 2>/dev/null | \ 1.26 + wget -O - https://raw.githubusercontent.com/gbour/PyAjam/master/CHANGES 2>/dev/null | \ 1.27 sed '/^[0-9]/!d;s| .*||' | sort -Vr | sed q 1.28 } 1.29
2.1 --- a/trafshow/receipt Sat Apr 02 17:34:21 2022 +0100 2.2 +++ b/trafshow/receipt Tue Apr 05 09:06:43 2022 +0000 2.3 @@ -28,6 +28,9 @@ 2.4 # fix session.c bug 2.5 sed -i '43d' session.c 2.6 2.7 + # libpcap 1.10 has its own pcap_init 2.8 + sed -i 's|pcap_init|&2|' trafshow.c 2.9 + 2.10 ./configure \ 2.11 --prefix=/usr \ 2.12 $CONFIGURE_ARGS && make
3.1 --- a/vim/receipt Sat Apr 02 17:34:21 2022 +0100 3.2 +++ b/vim/receipt Tue Apr 05 09:06:43 2022 +0000 3.3 @@ -54,6 +54,11 @@ 3.4 3.5 mkdir -p $DESTDIR/etc/vim 3.6 cp -a $src/runtime/vimrc_example.vim $DESTDIR/etc/vim/vimrc 3.7 + 3.8 + for i in GenericName Keywords ; do 3.9 + l="$(grep $i= $DESTDIR/usr/share/applications/vim.desktop)" 3.10 + sed -i "/$i=/d;s|$i\[de].*|$l\n&|" $DESTDIR/usr/share/applications/vim.desktop 3.11 + done 3.12 } 3.13 3.14 # Rules to gen a SliTaz package suitable for Tazpkg.