wok-current 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 | 2cb5636c1d2d |
children | 5f700fbba05c |
files | adeskbar/receipt ajaxterm/receipt amsn/receipt anacron/receipt arora/receipt asciiquarium/receipt assaultcube-data/receipt asterisk-sound-fr/receipt asterisk-sound/receipt attr-dev/receipt attr/receipt audacious/receipt avidemux/receipt awstats/receipt bind-dev/receipt binutils/receipt blogotext/receipt bootchart/receipt btanks/receipt bzip2-dev/receipt c-client/receipt cairo-dock/receipt |
line diff
1.1 --- a/adeskbar/receipt Mon Jul 08 02:17:10 2013 +0000 1.2 +++ b/adeskbar/receipt Mon Jul 08 11:45:27 2013 +0300 1.3 @@ -3,22 +3,28 @@ 1.4 PACKAGE="adeskbar" 1.5 VERSION="0.4.2" 1.6 CATEGORY="system-tools" 1.7 -SHORT_DESC="Quick launch bar." 1.8 +SHORT_DESC="ADesk Bar - application launcher for Openbox" 1.9 MAINTAINER="gokhlayeh@slitaz.org" 1.10 +LICENSE="GPL3" 1.11 +WEB_SITE="https://launchpad.net/adeskbar" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WGET_URL="http://download.tuxfamily.org/$PACKAGE/sources/$TARBALL" 1.14 + 1.15 DEPENDS="python pygtk pycairo gnome-menus python-xdg" 1.16 -SUGGESTED="dbus-python python-pyalsaaudio" 1.17 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.18 -WEB_SITE="https://launchpad.net/adeskbar" 1.19 -WGET_URL="http://www.ad-comp.be/public/projets/ADeskBar/$TARBALL" 1.20 +SUGGESTED="python-xlib dbus-python python-pyalsaaudio" 1.21 1.22 # Rules to gen a SliTaz package suitable for Tazpkg. 1.23 genpkg_rules() 1.24 { 1.25 - mkdir -p $fs/usr/share/adeskbar $fs/usr/bin \ 1.26 - $fs/usr/share/pixmaps $fs/usr/share/applications 1.27 + mkdir -p \ 1.28 + $fs/usr/share/adeskbar \ 1.29 + $fs/usr/bin \ 1.30 + $fs/usr/share/pixmaps \ 1.31 + $fs/usr/share/applications 1.32 cp -a $src/src/* $fs/usr/share/adeskbar 1.33 cp $src/src/images/adeskbar.png $fs/usr/share/pixmaps 1.34 cp $src/adeskbar.desktop $fs/usr/share/applications 1.35 cp $src/adeskbar.sh $fs/usr/bin/adeskbar 1.36 + chown -R root:root $fs 1.37 } 1.38
2.1 --- a/ajaxterm/receipt Mon Jul 08 02:17:10 2013 +0000 2.2 +++ b/ajaxterm/receipt Mon Jul 08 11:45:27 2013 +0300 2.3 @@ -5,13 +5,14 @@ 2.4 CATEGORY="network" 2.5 SHORT_DESC="Login terminal for the web." 2.6 MAINTAINER="pascal.bellard@slitaz.org" 2.7 +WEB_SITE="http://antony.lesuisse.org/software/ajaxterm/" 2.8 SOURCE="Ajaxterm" 2.9 TARBALL="$SOURCE-$VERSION.tar.gz" 2.10 -WEB_SITE="http://antony.lesuisse.org/software/ajaxterm/" 2.11 WGET_URL="${WEB_SITE}files/$TARBALL" 2.12 +TAGS="web application" 2.13 + 2.14 DEPENDS="python" 2.15 SUGGESTED="apache lighttpd-ssl lighttpd-modules" 2.16 -TAGS="web application" 2.17 2.18 # Rules to gen a SliTaz package suitable for Tazpkg. 2.19 genpkg_rules() 2.20 @@ -19,6 +20,8 @@ 2.21 mkdir -p $fs/usr/share/ajaxterm 2.22 cp -a $src/*.py $src/*.js $src/*.css $src/*.html $fs/usr/share/ajaxterm 2.23 cp -a $stuff/* $fs/ 2.24 + chown -R root:root $fs 2.25 + find $fs -type f -name '*.py' -exec chmod a+x \{\} \; 2.26 } 2.27 2.28 post_install()
3.1 --- a/amsn/receipt Mon Jul 08 02:17:10 2013 +0000 3.2 +++ b/amsn/receipt Mon Jul 08 11:45:27 2013 +0300 3.3 @@ -5,8 +5,8 @@ 3.4 CATEGORY="network" 3.5 SHORT_DESC="Alvaro's Messenger" 3.6 MAINTAINER="erjo@slitaz.org" 3.7 +WEB_SITE="http://amsn-project.net/" 3.8 TARBALL="$PACKAGE-$VERSION-src.tar.gz" 3.9 -WEB_SITE="http://amsn-project.net/" 3.10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 3.11 TAGS="chat messenger im" 3.12 3.13 @@ -34,5 +34,8 @@ 3.14 mkdir -p $fs/usr 3.15 cp -a $install/usr/bin $fs/usr 3.16 cp -a $install/usr/share $fs/usr 3.17 + for ext in png xml css; do 3.18 + find $fs -type f -name '*.'$ext -exec chmod a-x \{\} \; 3.19 + done 3.20 } 3.21
4.1 --- a/anacron/receipt Mon Jul 08 02:17:10 2013 +0000 4.2 +++ b/anacron/receipt Mon Jul 08 11:45:27 2013 +0300 4.3 @@ -5,8 +5,8 @@ 4.4 CATEGORY="utilities" 4.5 SHORT_DESC="Periodic command scheduler." 4.6 MAINTAINER="pascal.bellard@slitaz.org" 4.7 +WEB_SITE="http://anacron.sourceforge.net/" 4.8 TARBALL="$PACKAGE-$VERSION.tar.gz" 4.9 -WEB_SITE="http://anacron.sourceforge.net/" 4.10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 4.11 4.12 DEPENDS="" 4.13 @@ -25,4 +25,5 @@ 4.14 genpkg_rules() 4.15 { 4.16 cp -a $install/* $fs 4.17 + find $fs/usr/man -type f -exec chmod a-x \{\} \; 4.18 }
5.1 --- a/arora/receipt Mon Jul 08 02:17:10 2013 +0000 5.2 +++ b/arora/receipt Mon Jul 08 11:45:27 2013 +0300 5.3 @@ -5,8 +5,8 @@ 5.4 CATEGORY="network" 5.5 SHORT_DESC="A cross-platform Qt4 WebKit browser" 5.6 MAINTAINER="devl547@gmail.com" 5.7 +WEB_SITE="http://arora.googlecode.com/" 5.8 TARBALL="$PACKAGE-$VERSION.tar.gz" 5.9 -WEB_SITE="http://arora.googlecode.com/" 5.10 WGET_URL="$WEB_SITE/files/$TARBALL" 5.11 5.12 BUILD_DEPENDS="Qt4-dev qmake libsqlite" 5.13 @@ -26,4 +26,5 @@ 5.14 { 5.15 mkdir -p $fs/usr/bin 5.16 cp $src/arora $fs/usr/bin 5.17 + find $fs -type f -name '*.desktop' -exec chmod a-x \{\} \; 5.18 }
6.1 --- a/asciiquarium/receipt Mon Jul 08 02:17:10 2013 +0000 6.2 +++ b/asciiquarium/receipt Mon Jul 08 11:45:27 2013 +0300 6.3 @@ -5,11 +5,12 @@ 6.4 CATEGORY="system-tools" 6.5 SHORT_DESC="Text console screensaver." 6.6 MAINTAINER="pascal.bellard@slitaz.org" 6.7 +WEB_SITE="http://www.robobunny.com/projects/$PACKAGE/html/" 6.8 TARBALL="${PACKAGE}_${VERSION}.tar.gz" 6.9 -WEB_SITE="http://www.robobunny.com/projects/$PACKAGE/html/" 6.10 WGET_URL="http://www.robobunny.com/projects/$PACKAGE/$TARBALL" 6.11 +TAGS="screensaver" 6.12 + 6.13 DEPENDS="perl-animation perl-curses" 6.14 -TAGS="screensaver" 6.15 6.16 # Rules to configure and make the package. 6.17 compile_rules() 6.18 @@ -24,5 +25,6 @@ 6.19 mkdir -p $fs/usr/bin 6.20 cp -a $src/asciiquarium $fs/usr/bin 6.21 chmod a+x $fs/usr/bin/asciiquarium 6.22 + chown -R root:root $fs 6.23 } 6.24
7.1 --- a/assaultcube-data/receipt Mon Jul 08 02:17:10 2013 +0000 7.2 +++ b/assaultcube-data/receipt Mon Jul 08 11:45:27 2013 +0300 7.3 @@ -5,10 +5,10 @@ 7.4 CATEGORY="games" 7.5 SHORT_DESC="data files for assaultcube" 7.6 MAINTAINER="slaxemulator@gmail.com" 7.7 +WEB_SITE="http://assault.cubers.net/" 7.8 SOURCE="AssaultCube" 7.9 TARBALL="${SOURCE}_v${VERSION}.tar.bz2" 7.10 SOURCE="AssaultCube-Data" 7.11 -WEB_SITE="http://assault.cubers.net/" 7.12 WGET_URL="$SF_MIRROR/actiongame/$TARBALL" 7.13 7.14 # Rules to gen a SliTaz package suitable for Tazpkg. 7.15 @@ -19,5 +19,7 @@ 7.16 cp -a $src/packages $fs/usr/share/assaultcube 7.17 cp -a $src/docs $fs/usr/share/assaultcube 7.18 cp -a $src/mods $fs/usr/share/assaultcube 7.19 + chown -R root:root $fs 7.20 + find $fs -type f -exec chmod a-x \{\} \; 7.21 } 7.22
8.1 --- a/asterisk-sound-fr/receipt Mon Jul 08 02:17:10 2013 +0000 8.2 +++ b/asterisk-sound-fr/receipt Mon Jul 08 11:45:27 2013 +0300 8.3 @@ -29,5 +29,6 @@ 8.4 # Rules to gen a SliTaz package suitable for Tazpkg. 8.5 genpkg_rules() 8.6 { 8.7 - cp -a $_pkg/* $fs 8.8 + cp -a $install/* $fs 8.9 + chown -R root:root $fs 8.10 }
9.1 --- a/asterisk-sound/receipt Mon Jul 08 02:17:10 2013 +0000 9.2 +++ b/asterisk-sound/receipt Mon Jul 08 11:45:27 2013 +0300 9.3 @@ -22,5 +22,6 @@ 9.4 # Rules to gen a SliTaz package suitable for Tazpkg. 9.5 genpkg_rules() 9.6 { 9.7 - cp -a $_pkg/* $fs 9.8 + cp -a $install/* $fs 9.9 + chown -R root:root $fs 9.10 }
10.1 --- a/attr-dev/receipt Mon Jul 08 02:17:10 2013 +0000 10.2 +++ b/attr-dev/receipt Mon Jul 08 11:45:27 2013 +0300 10.3 @@ -17,4 +17,5 @@ 10.4 cp -a $install/usr/lib/*.*a $fs/usr/lib 10.5 cp -a $install/lib/*.*a $fs/lib 10.6 cp -a $install/usr/include $fs/usr 10.7 + find $fs -type f -name '*.la' -exec chmod a+x \{\} \; 10.8 }
11.1 --- a/attr/receipt Mon Jul 08 02:17:10 2013 +0000 11.2 +++ b/attr/receipt Mon Jul 08 11:45:27 2013 +0300 11.3 @@ -5,8 +5,8 @@ 11.4 CATEGORY="system-tools" 11.5 SHORT_DESC="Commands for Manipulating Filesystem Extended Attributes." 11.6 MAINTAINER="rcx@zoominternet.net" 11.7 +WEB_SITE="http://savannah.nongnu.org/projects/attr/" 11.8 TARBALL="${PACKAGE}-${VERSION}.src.tar.gz" 11.9 -WEB_SITE="http://savannah.nongnu.org/projects/attr/" 11.10 WGET_URL="http://download.savannah.gnu.org/releases-noredirect/$PACKAGE/$TARBALL" 11.11 HOST_ARCH="i486 arm" 11.12 11.13 @@ -39,7 +39,8 @@ 11.14 genpkg_rules() 11.15 { 11.16 mkdir -p $fs/lib $fs/usr/lib 11.17 - cp -a $_pkg/lib/*.so* $fs/lib 11.18 - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 11.19 - cp -a $_pkg/usr/bin $fs/usr 11.20 + cp -a $install/lib/*.so* $fs/lib 11.21 + cp -a $install/usr/lib/*.so* $fs/usr/lib 11.22 + cp -a $install/usr/bin $fs/usr 11.23 + find $fs -type f -name '*.so' -exec chmod a+x \{\} \; 11.24 }
12.1 --- a/audacious/receipt Mon Jul 08 02:17:10 2013 +0000 12.2 +++ b/audacious/receipt Mon Jul 08 11:45:27 2013 +0300 12.3 @@ -36,5 +36,6 @@ 12.4 cp -a $install/usr/share/$PACKAGE $fs/usr/share 12.5 cp -a $install/usr/share/pixmaps $fs/usr/share 12.6 tar -xzf $stuff/Skins.tar.gz -C $fs/usr/share/$PACKAGE 12.7 + find $fs/usr/share/audacious/Skins/Default -type f -exec chmod a-x \{\} \; 12.8 } 12.9
13.1 --- a/avidemux/receipt Mon Jul 08 02:17:10 2013 +0000 13.2 +++ b/avidemux/receipt Mon Jul 08 11:45:27 2013 +0300 13.3 @@ -5,8 +5,8 @@ 13.4 CATEGORY="multimedia" 13.5 SHORT_DESC="free video editor" 13.6 MAINTAINER="allan316@gmail.com" 13.7 +WEB_SITE="http://fixounet.free.fr/$PACKAGE" 13.8 TARBALL="${PACKAGE}_${VERSION}.tar.gz" 13.9 -WEB_SITE="http://fixounet.free.fr/$PACKAGE" 13.10 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" 13.11 TAGS="video movie editor avi mpeg mp4" 13.12 13.13 @@ -29,16 +29,16 @@ 13.14 make -j 1 && make -j1 DESTDIR=$DESTDIR install 13.15 13.16 mkdir -p $DESTDIR/usr/share/pixmaps $DESTDIR/usr/share/applications 13.17 - cp -a $src/avidemux_icon.png $DESTDIR/usr/share/pixmaps/avidemux.png 13.18 - cp -a $src/avidemux2.desktop $DESTDIR/usr/share/applications/avidemux2.desktop 13.19 + cp $src/avidemux_icon.png $DESTDIR/usr/share/pixmaps/avidemux.png 13.20 + cp $src/avidemux2.desktop $DESTDIR/usr/share/applications 13.21 } 13.22 13.23 # Rules to gen a SliTaz package suitable for Tazpkg. 13.24 genpkg_rules() 13.25 { 13.26 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps $fs/usr/share/applications 13.27 - cp -a $_pkg/usr/bin $fs/usr 13.28 - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 13.29 - cp -a $_pkg/usr/share/ADM_scripts $fs/usr/share 13.30 + cp -a $install/usr/bin $fs/usr 13.31 + cp -a $install/usr/lib/*.so* $fs/usr/lib 13.32 + cp -a $install/usr/share/ADM_scripts $fs/usr/share 13.33 13.34 }
14.1 --- a/awstats/receipt Mon Jul 08 02:17:10 2013 +0000 14.2 +++ b/awstats/receipt Mon Jul 08 11:45:27 2013 +0300 14.3 @@ -5,12 +5,13 @@ 14.4 CATEGORY="network" 14.5 SHORT_DESC="Log file analyzer" 14.6 MAINTAINER="erjo@slitaz.org" 14.7 +WEB_SITE="http://awstats.sourceforge.net/" 14.8 +TARBALL="$PACKAGE-$VERSION.tar.gz" 14.9 +WGET_URL="http://prdownloads.sourceforge.net/awstats/$TARBALL" 14.10 +TAGS="log analyze web mail ftp" 14.11 + 14.12 DEPENDS="perl" 14.13 SUGGESTED="perl-net-xwhois" 14.14 -TARBALL="$PACKAGE-$VERSION.tar.gz" 14.15 -WEB_SITE="http://awstats.sourceforge.net/" 14.16 -WGET_URL="http://prdownloads.sourceforge.net/awstats/$TARBALL" 14.17 -TAGS="log analyze web mail ftp" 14.18 14.19 # Rules to gen a SliTaz package suitable for Tazpkg. 14.20 genpkg_rules() 14.21 @@ -19,7 +20,7 @@ 14.22 $fs/var/www/cgi-bin \ 14.23 $fs/var/lib/awstats \ 14.24 $fs/etc/awstats \ 14.25 - 14.26 + 14.27 cp -a $src/wwwroot/classes $fs/usr/share/awstats 14.28 cp -a $src/wwwroot/css $fs/usr/share/awstats 14.29 cp -a $src/wwwroot/icon $fs/usr/share/awstats 14.30 @@ -27,17 +28,17 @@ 14.31 cp -a $src/wwwroot/cgi-bin/lang $fs/usr/share/awstats 14.32 cp -a $src/wwwroot/cgi-bin/lib $fs/usr/share/awstats 14.33 cp -a $src/wwwroot/cgi-bin/plugins $fs/usr/share/awstats 14.34 - 14.35 + 14.36 cp -a $src/wwwroot/cgi-bin/awstats.pl $fs/var/www/cgi-bin 14.37 cp -a $src/wwwroot/cgi-bin/awstats.model.conf $fs/etc/awstats 14.38 - 14.39 + 14.40 cp $stuff/* $fs/usr/share/awstats/extras 14.41 14.42 # Add a link using google map 14.43 sed -i 's|Full Whois Field"|Full Whois Field <a href=\\"http://en.utrace.de/?query=".$HostResolved."\\">?</a>"|' \ 14.44 $fs/usr/share/awstats/plugins/hostinfo.pm 14.45 14.46 - # Avoid alias conflits 14.47 + # Avoid alias conflicts 14.48 for i in classes css icon ; do 14.49 sed -i "s| /$i| /awstats$i|" \ 14.50 $fs/usr/share/awstats/extras/awstats-apache.conf 14.51 @@ -48,11 +49,18 @@ 14.52 $fs/etc/awstats/awstats.model.conf 14.53 sed -i 's/classes/awstatsclasses/' \ 14.54 $fs/usr/share/awstats/plugins/graphapplet.pm 14.55 + 14.56 + chown -R root:root $fs 14.57 + find $fs -type f -exec chmod a-x \{\} \; 14.58 + chmod a+x \ 14.59 + $fs/usr/share/awstats/extras/update \ 14.60 + $fs/var/www/cgi-bin/awstats.pl \ 14.61 + $fs/usr/share/awstats/classes/src/Makefile.pl 14.62 } 14.63 14.64 post_install() 14.65 { 14.66 - echo "Processing post-install commands..." 14.67 + echo "Processing post-install commands..." 14.68 # Set lighttpd or apache config 14.69 if [ -f $1/etc/apache/httpd.conf ]; then 14.70 if [ ! -f $1/etc/apache/conf.d/awstats.conf ]; then 14.71 @@ -71,7 +79,7 @@ 14.72 if [ -f $1/etc/lighttpd/lighttpd.conf ]; then 14.73 if [ ! -f $1/etc/lighttpd/awstats.conf ]; then 14.74 cp $1/usr/share/awstats/extras/awstats-lighttpd.conf \ 14.75 - $1/etc/lighttpd/awstats.conf 14.76 + $1/etc/lighttpd/awstats.conf 14.77 fi 14.78 # Start Web server if necessary. 14.79 if [ -f /var/run/lighttpd.pid ]; then 14.80 @@ -89,18 +97,17 @@ 14.81 { 14.82 echo "Remove orphan dirctories." 14.83 [ -d /usr/share/awstats ] && rm -rf /usr/share/awstats 14.84 - 14.85 + 14.86 # 14.87 echo "All database and configuratoin files will be removed" 14.88 echo -n "Please confirm removing (y/N) : "; read answer 14.89 - 14.90 + 14.91 case $answer in 14.92 - y|Y) 14.93 - rm -rf /var/lib/awstats 14.94 - rm -rf /etc/awstats 14.95 - ;; 14.96 - *) 14.97 - ;; 14.98 + y|Y) 14.99 + rm -rf /var/lib/awstats 14.100 + rm -rf /etc/awstats 14.101 + ;; 14.102 + *) 14.103 + ;; 14.104 esac 14.105 - 14.106 }
15.1 --- a/bind-dev/receipt Mon Jul 08 02:17:10 2013 +0000 15.2 +++ b/bind-dev/receipt Mon Jul 08 11:45:27 2013 +0300 15.3 @@ -14,5 +14,6 @@ 15.4 mkdir -p $fs/usr/lib 15.5 cp -a $install/usr/lib/*a $fs/usr/lib 15.6 cp -a $install/usr/include $fs/usr 15.7 + find $fs -type f -name '*.la' -exec chmod a+x \{\} \; 15.8 } 15.9
16.1 --- a/binutils/receipt Mon Jul 08 02:17:10 2013 +0000 16.2 +++ b/binutils/receipt Mon Jul 08 11:45:27 2013 +0300 16.3 @@ -96,4 +96,7 @@ 16.4 # Remove build directory (cookutils and tazwok path). 16.5 rm -rf $WOK/$PACKAGE/source/$PACKAGE-build 16.6 rm -rf $WOK/$PACKAGE/$PACKAGE-build 16.7 + 16.8 + chown -R root:root $fs/usr/include/libiberty.h 16.9 + chmod g-x,o-x $fs/usr/include/libiberty.h 16.10 }
17.1 --- a/blogotext/receipt Mon Jul 08 02:17:10 2013 +0000 17.2 +++ b/blogotext/receipt Mon Jul 08 11:45:27 2013 +0300 17.3 @@ -5,8 +5,8 @@ 17.4 CATEGORY="network" 17.5 SHORT_DESC="Simple blog engine." 17.6 MAINTAINER="pascal.bellard@slitaz.org" 17.7 +WEB_SITE="http://lehollandaisvolant.net/blogotext" 17.8 TARBALL="$PACKAGE-$VERSION.zip" 17.9 -WEB_SITE="http://lehollandaisvolant.net/blogotext" 17.10 URL="$WEB_SITE/archives/$TARBALL" 17.11 17.12 DEPENDS="php-gd" 17.13 @@ -23,8 +23,9 @@ 17.14 chown -R 80.80 $DESTDIR/var/www/blogotext 17.15 } 17.16 17.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 17.18 -genpkg_rules() 17.19 +# Rules to gen a SliTaz package suitable for Tazpkg. 17.20 +genpkg_rules() 17.21 { 17.22 cp -a $install/* $fs 17.23 + find $fs -type f -exec chmod a-x \{\} \; 17.24 }
18.1 --- a/bootchart/receipt Mon Jul 08 02:17:10 2013 +0000 18.2 +++ b/bootchart/receipt Mon Jul 08 11:45:27 2013 +0300 18.3 @@ -5,51 +5,45 @@ 18.4 CATEGORY="misc" 18.5 SHORT_DESC="boot process performance analyzer (add init=/sbin/bootchartd to boot options)" 18.6 MAINTAINER="jozee@slitaz.org" 18.7 -SUGGESTED="pybootchartgui" 18.8 +WEB_SITE="http://www.bootchart.org/" 18.9 TARBALL="$PACKAGE-$VERSION.tar.bz2" 18.10 -WEB_SITE="http://www.bootchart.org/" 18.11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 18.12 TAGS="boot performance profile analyze" 18.13 18.14 - 18.15 +SUGGESTED="pybootchartgui" 18.16 18.17 # Rules to gen a SliTaz package suitable for Tazpkg. 18.18 genpkg_rules() 18.19 { 18.20 - mkdir -p $fs/sbin $fs/etc 18.21 + mkdir -p $fs/sbin $fs/etc 18.22 cp -a $src/script/bootchartd $fs/sbin/bootchartd 18.23 - cp -a $src/script/bootchartd.conf $fs/etc 18.24 + cp -a $src/script/bootchartd.conf $fs/etc 18.25 sed -i "s/SAMPLE_PERIOD=0.2/SAMPLE_PERIOD=1/" $fs/etc/bootchartd.conf 18.26 sed -i "s/kdm_greet/kdm_greet slim /" $fs/sbin/bootchartd 18.27 - sed -i "s|\/usr\/bin\/bootchart|\/usr\/bin\/pybootchartgui|g" $fs/sbin/bootchartd 18.28 - 18.29 + sed -i 's|/usr/bin/bootchart|/usr/bin/pybootchartgui|g' $fs/sbin/bootchartd 18.30 } 18.31 18.32 post_install() 18.33 { 18.34 - KERNEL_VERSION=`uname -a | cut -d ' ' -f3 | cut -d '-' -f1` 18.35 - if [ -f "$1/boot/grub/menu.lst" ]; then 18.36 - # add an entry only if slitaz is installed and bootchart is not configured 18.37 - if ! grep -q "vmlinuz-$KERNEL_VERSION-slitaz.*sbin/bootchartd.*" $1/boot/grub/menu.lst; then 18.38 - root_dev=`cat $1/boot/grub/menu.lst | grep root= | sed 's/.*root=\([^ ]*\).*/\1/' | head -n 1` 18.39 - grub_dev=`cat $1/boot/grub/menu.lst | grep "root.* (" | head -n 1` 18.40 - # Add new kernel entry for bootchart 18.41 - cat >> $1/boot/grub/menu.lst << EOT 18.42 + KERNEL_VERSION=$(uname -r | cut -d- -f1) 18.43 + MENU="$1/boot/grub/menu.lst" 18.44 + if [ -f "$MENU" ]; then 18.45 + # add an entry only if slitaz is installed and bootchart is not configured 18.46 + if ! grep -q "vmlinuz-$KERNEL_VERSION-slitaz.*sbin/bootchartd.*" "$MENU"; then 18.47 + # FIXME: really use the first comer value? 18.48 + # (our lines will be LAST) 18.49 + root_dev=`sed -n 's/.*root=\([^ ]*\).*/\1/p' "$MENU" | head -n1` 18.50 + grub_dev=`sed -n '/^[^#]*root.* (/p' "$MENU" | head -n1` 18.51 + # Add new kernel entry for bootchart and display information message 18.52 + echo "----" 18.53 + echo "GRUB is installed, these tree lines has been added to the menu.lst:" 18.54 + tee -a "$MENU" << EOT 18.55 18.56 title SliTaz GNU/Linux (Kernel $KERNEL_VERSION-slitaz) with bootchart 18.57 $grub_dev 18.58 kernel /boot/vmlinuz-$KERNEL_VERSION-slitaz root=$root_dev init=/sbin/bootchartd 18.59 EOT 18.60 - # Display information message. 18.61 - cat <<EOT 18.62 ----- 18.63 -GRUB is installed, these tree lines has been added to the menu.lst: 18.64 - 18.65 -title SliTaz GNU/Linux (Kernel $KERNEL_VERSION-slitaz) 18.66 -$grub_dev 18.67 - kernel /boot/vmlinuz-$KERNEL_VERSION-slitaz root=$root_dev init=/sbin/bootchartd 18.68 ----- 18.69 -EOT 18.70 + echo "----" 18.71 else 18.72 echo "Grub menu.lst seems already configured to boot new Kernel..." 18.73 fi
19.1 --- a/btanks/receipt Mon Jul 08 02:17:10 2013 +0000 19.2 +++ b/btanks/receipt Mon Jul 08 11:45:27 2013 +0300 19.3 @@ -5,8 +5,8 @@ 19.4 CATEGORY="games" 19.5 SHORT_DESC="A fast 2d tank arcade game with multiplayer and split-screen modes." 19.6 MAINTAINER="slaxemulator@gmail.com" 19.7 +WEB_SITE="http://btanks.sourceforge.net/" 19.8 TARBALL="$PACKAGE-$VERSION.tar.bz2" 19.9 -WEB_SITE="http://btanks.sourceforge.net" 19.10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 19.11 19.12 DEPENDS="expat mesa libsigc++ libvorbis lua5.1 openal libsdl libsdl-image libsmpeg" 19.13 @@ -25,8 +25,20 @@ 19.14 # Rules to gen a SliTaz package suitable for Tazpkg. 19.15 genpkg_rules() 19.16 { 19.17 - mkdir -p $fs/usr/lib/btanks $fs/usr/share/applications $fs/usr/bin 19.18 + mkdir -p \ 19.19 + $fs/usr/bin \ 19.20 + $fs/usr/lib/btanks \ 19.21 + $fs/usr/share/applications \ 19.22 + $fs/usr/share/btanks 19.23 + 19.24 + # libs 19.25 cp -a $src/*.so $fs/usr/lib/btanks 19.26 + 19.27 + ls -1 $fs/usr/lib/btanks/ | while read A; do 19.28 + ln -s /usr/lib/btanks/$A $fs/usr/share/btanks/$A || return 1 19.29 + done 19.30 + 19.31 + # executables & wrappers 19.32 cp -a $src/btanks $fs/usr/bin/btanks-bin 19.33 cp -a $src/bted $fs/usr/bin/bted-bin 19.34 19.35 @@ -35,21 +47,17 @@ 19.36 chmod +x $fs/usr/bin/btanks 19.37 chmod +x $fs/usr/bin/bted 19.38 19.39 - mkdir -p $fs/usr/share/btanks 19.40 - 19.41 - # Make settings saveable 19.42 - 19.43 - touch $fs/usr/share/btanks/bt.xml 19.44 - chgrp 1000 $fs/usr/share/btanks/bt.xml 19.45 - chmod 664 $fs/usr/share/btanks/bt.xml 19.46 - 19.47 ln -s /usr/bin/btanks-bin $fs/usr/share/btanks/btanks && \ 19.48 ln -s /usr/bin/bted-bin $fs/usr/share/btanks/bted || return 1 19.49 19.50 - ls -1 $fs/usr/lib/btanks/ | while read A; do 19.51 - ln -s /usr/lib/btanks/$A $fs/usr/share/btanks/$A || return 1 19.52 - done 19.53 - 19.54 # game data 19.55 cp -a $src/data $fs/usr/share/btanks 19.56 + chown -R root:root $fs 19.57 + chmod a-x $fs/usr/share/btanks/data/sounds/boomerang-missile.ogg 19.58 + 19.59 + # make settings saveable 19.60 + SETTINGS=$fs/usr/share/btanks/bt.xml 19.61 + touch $SETTINGS 19.62 + chgrp 1000 $SETTINGS 19.63 + chmod 664 $SETTINGS 19.64 }
20.1 --- a/bzip2-dev/receipt Mon Jul 08 02:17:10 2013 +0000 20.2 +++ b/bzip2-dev/receipt Mon Jul 08 11:45:27 2013 +0300 20.3 @@ -5,9 +5,9 @@ 20.4 CATEGORY="development" 20.5 SHORT_DESC="High-quality data compressor dev files." 20.6 MAINTAINER="pankso@slitaz.org" 20.7 -WANTED="bzip2" 20.8 WEB_SITE="http://www.bzip.org/" 20.9 HOST_ARCH="i486 arm" 20.10 +WANTED="bzip2" 20.11 20.12 DEPENDS="bzip2" 20.13 20.14 @@ -15,7 +15,7 @@ 20.15 genpkg_rules() 20.16 { 20.17 mkdir -p $fs/usr/include $fs/usr/lib 20.18 - cp -a $src/*.h $fs/usr/include 20.19 + cp $src/*.h $fs/usr/include 20.20 cp -a $src/*.*a $fs/usr/lib 20.21 } 20.22
21.1 --- a/c-client/receipt Mon Jul 08 02:17:10 2013 +0000 21.2 +++ b/c-client/receipt Mon Jul 08 11:45:27 2013 +0300 21.3 @@ -5,12 +5,13 @@ 21.4 CATEGORY="development" 21.5 SHORT_DESC="mail store formats support." 21.6 MAINTAINER="pascal.bellard@slitaz.org" 21.7 +WEB_SITE="http://www.washington.edu/imap/" 21.8 SOURCE="imap" 21.9 TARBALL="$SOURCE-$VERSION.tar.gz" 21.10 -WEB_SITE="http://www.washington.edu/imap/" 21.11 WGET_URL="ftp://ftp.cac.washington.edu/mail/$TARBALL" 21.12 +TAGS="imap pop3 smtp" 21.13 + 21.14 BUILD_DEPENDS="openssl-dev" 21.15 -TAGS="imap pop3 smtp" 21.16 21.17 # Rules to configure and make the package. 21.18 compile_rules() 21.19 @@ -20,16 +21,14 @@ 21.20 src/osdep/unix/Makefile 21.21 make slx 21.22 mkdir -p $DESTDIR/usr/include/c-client $DESTDIR/usr/lib 21.23 - cp -a src/c-client/*.h $DESTDIR/usr/include/c-client 21.24 - cp c-client/linkage.h $DESTDIR/usr/include/c-client 21.25 - cp c-client/osdep.h $DESTDIR/usr/include/c-client 21.26 - cp c-client/env_unix.h $DESTDIR/usr/include/c-client 21.27 + cp src/c-client/*.h c-client/linkage.h c-client/osdep.h c-client/env_unix.h \ 21.28 + $DESTDIR/usr/include/c-client 21.29 cp c-client/c-client.a $DESTDIR/usr/lib 21.30 } 21.31 21.32 # Rules to gen a SliTaz package suitable for Tazpkg. 21.33 genpkg_rules() 21.34 { 21.35 - cp -a $_pkg/* $fs 21.36 + cp -a $install/* $fs 21.37 + chown -R root:root $fs 21.38 } 21.39 -
22.1 --- a/cairo-dock/receipt Mon Jul 08 02:17:10 2013 +0000 22.2 +++ b/cairo-dock/receipt Mon Jul 08 11:45:27 2013 +0300 22.3 @@ -5,14 +5,14 @@ 22.4 CATEGORY="x-window" 22.5 SHORT_DESC="Cairo-Dock is a light and eye-candy dock to launch." 22.6 MAINTAINER="pankso@slitaz.org" 22.7 -DEPENDS="gtk+ cairo librsvg xorg-xcompmgr mesa gtkglext dbus \ 22.8 -libcurl" 22.9 +WEB_SITE="http://www.glx-dock.org/" 22.10 +TARBALL="$PACKAGE-$VERSION.tar.gz" 22.11 +WGET_URL="https://launchpad.net/cairo-dock-core/${VERSION:0:3}/${VERSION:0:5}/+download/$TARBALL" 22.12 + 22.13 +DEPENDS="gtk+ cairo librsvg xorg-xcompmgr mesa gtkglext dbus libcurl" 22.14 BUILD_DEPENDS="$DEPENDS cmake gtk+-dev cairo-dev librsvg-dev mesa-dev \ 22.15 gtkglext-dev dbus-dev dbus-glib-dev curl-dev libcroco wget libxml2-dev" 22.16 SUGGESTED="cairo-dock-plugins" 22.17 -TARBALL="$PACKAGE-$VERSION.tar.gz" 22.18 -WEB_SITE="http://www.glx-dock.org/" 22.19 -WGET_URL="https://launchpad.net/cairo-dock-core/${VERSION:0:3}/${VERSION:0:5}/+download/$TARBALL" 22.20 22.21 # Rules to configure and make the package. 22.22 compile_rules() 22.23 @@ -33,4 +33,5 @@ 22.24 cp -a $install/usr/bin $fs/usr 22.25 cp -a $install/usr/lib/*.so* $fs/usr/lib 22.26 cp -a $install/usr/share/$PACKAGE $fs/usr/share 22.27 + chmod a+x $fs/usr/lib/libgldi.so.2.4.0~2 22.28 }