wok-6.x diff trafshow/receipt @ rev 14789
Fix ownership and permissions for some files in some packages: adeskbar, ajaxterm, amsn, anacron, arora, asciiquarium, assaultcube-data, asterisk-sound-fr, asterisk-sound, attr-dev, attr, audacious, avidemux, awstats, bind-dev, binutils, blogotext, bootchart, btanks, bzip2-dev, c-client, cairo-dock.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 08 11:45:27 2013 +0300 (2013-07-08) |
parents | |
children | 23c3aed67cd9 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/trafshow/receipt Mon Jul 08 11:45:27 2013 +0300 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="trafshow" 1.7 +VERSION="5.2.3" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Full screen network traffic monitor." 1.10 +MAINTAINER="paul@slitaz.org" 1.11 +DEPENDS="ncurses libpcap" 1.12 +BUILD_DEPENDS="ncurses-dev libpcap-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tgz" 1.14 +WEB_SITE="http://soft.risp.ru/trafshow/index_en.shtml" 1.15 +WGET_URL="http://fossies.org/linux/misc/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + 1.22 + # fix session.c bug 1.23 + sed -i '43d' session.c 1.24 + 1.25 + ./configure \ 1.26 + --prefix=/usr \ 1.27 + $CONFIGURE_ARGS && make 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr/bin $fs/etc 1.34 + cp -a $src/$PACKAGE $fs/usr/bin 1.35 + cp -a $src/.trafshow $fs/etc/trafshow 1.36 + 1.37 + # tidy config file and change perms 1.38 + chown root:root $fs/etc/trafshow 1.39 + sed -i 's|*/icmp|#*/icmp|' $fs/etc/trafshow 1.40 + sed -i 's|nfs|#nfs|' $fs/etc/trafshow 1.41 + sed -i 's|513|#513|' $fs/etc/trafshow 1.42 + sed -i 's|514|#514|' $fs/etc/trafshow 1.43 +} 1.44 +