wok-next rev 20481
Proper packing for v2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Mar 12 02:18:53 2018 +0200 (2018-03-12) |
parents | 0c003fc18957 |
children | 73e86e69e5a1 |
files | decibel/receipt fpc/receipt gtkballs/receipt libdisasm/receipt libquicktime/receipt libsdl2-ttf/receipt linux-cloop/receipt lionwiki/receipt logfsprogs/receipt lsscsi/receipt lua5.1/receipt lxappearance-obconf/receipt marco/receipt mate-screensaver/receipt mate-terminal/receipt mate-utils/receipt memo/receipt memtester/receipt micro_proxy/receipt microperl/receipt monitorix/receipt mountlo/receipt mozplugger/receipt mp3gain/receipt mp3val/receipt multipath-tools/receipt multitail/receipt multitail/stuff/patches/series multitail/stuff/patches/tail_busybox.patch multitail/stuff/tail_busybox.patch muninlite/receipt mxml/receipt nagios/receipt nagvis/receipt nareto/receipt nethogs/receipt nmon/receipt ntl/receipt ntlmaps/receipt ntpclient/receipt othello/receipt outguess/receipt p0f/receipt p7zip/receipt unrar/receipt |
line diff
1.1 --- a/decibel/receipt Mon Mar 12 00:04:19 2018 +0100 1.2 +++ b/decibel/receipt Mon Mar 12 02:18:53 2018 +0200 1.3 @@ -1,35 +1,32 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="decibel" 1.8 VERSION="1.06" 1.9 CATEGORY="multimedia" 1.10 -SHORT_DESC="Decibel audio player for Gnome Desktop." 1.11 +SHORT_DESC="Decibel audio player for GNOME Desktop" 1.12 MAINTAINER="slaxemulator@gmail.com" 1.13 LICENSE="GPL2" 1.14 -SOURCE="$PACKAGE-audio-player" 1.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 WEB_SITE="http://decibel.silent-blade.org/" 1.17 + 1.18 +TARBALL="decibel-audio-player-$VERSION.tar.gz" 1.19 WGET_URL="http://decibel.silent-blade.org/uploads/Main/$TARBALL" 1.20 1.21 -DEPENDS="python gst0-python notify-python pygtk dbus-python mutagen" 1.22 -BUILD_DEPENDS="gettext" 1.23 +BUILD_DEPENDS="gettext findutils" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 - cd $src 1.29 - # needed to install locale files 1.30 - [ -L /usr/bin/find ]; tazpkg get-install findutils --forced 1.31 - make prefix=/usr DESTDIR=$DESTDIR install 1.32 +compile_rules() { 1.33 + make \ 1.34 + prefix=/usr \ 1.35 + DESTDIR=$DESTDIR \ 1.36 + install || return 1 1.37 + 1.38 + mkdir -p $install/usr/share 1.39 + cp -a $install/usr/bin $install/usr 1.40 + cp -a $install/usr/share/decibel-audio-player $install/usr/share 1.41 + cp -a $install/usr/share/pixmaps $install/usr/share 1.42 + cp -a $install/usr/share/applications $install/usr/share 1.43 } 1.44 1.45 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.46 -genpkg_rules() 1.47 -{ 1.48 - mkdir -p $fs/usr/share 1.49 - cp -a $install/usr/bin $fs/usr 1.50 - cp -a $install/usr/share/$SOURCE $fs/usr/share 1.51 - cp -a $install/usr/share/pixmaps $fs/usr/share 1.52 - cp -a $install/usr/share/applications $fs/usr/share 1.53 +genpkg_rules() { 1.54 + copy @std 1.55 + DEPENDS="python gst0-python notify-python pygtk dbus-python mutagen" 1.56 } 1.57 -
2.1 --- a/fpc/receipt Mon Mar 12 00:04:19 2018 +0100 2.2 +++ b/fpc/receipt Mon Mar 12 02:18:53 2018 +0200 2.3 @@ -1,4 +1,4 @@ 2.4 -# SliTaz package receipt. 2.5 +# SliTaz package receipt v2. 2.6 2.7 PACKAGE="fpc" 2.8 VERSION="2.6.4" 2.9 @@ -6,53 +6,39 @@ 2.10 SHORT_DESC="The Free Pascal Compiler" 2.11 MAINTAINER="slaxemulator@gmail.com" 2.12 LICENSE="GPL2 LGPL2.1" 2.13 -SOURCE="fpcbuild" 2.14 -TARBALL="$SOURCE-$VERSION.tar.gz" 2.15 WEB_SITE="http://www.freepascal.org/" 2.16 + 2.17 +TARBALL="fpcbuild-$VERSION.tar.gz" 2.18 WGET_URL="ftp://ftp.freepascal.org/pub/fpc/dist/$VERSION/source/$TARBALL" 2.19 -CONFIG_FILE="/etc/fpc.cfg" 2.20 -TAGS="compiler pascal" 2.21 2.22 +BUILD_DEPENDS_arm="" 2.23 +BUILD_DEPENDS="fpc-bootstrap" 2.24 CROSS_BUGS="arm-slitaz-gnueabi-as: Command not found" 2.25 2.26 -DEPENDS="ncurses" 2.27 -BUILD_DEPENDS="fpc-bootstrap" 2.28 - 2.29 -# Handle cross compilation. ARM: fpc-bootstrap build host must be installed 2.30 -case "$ARCH" in 2.31 - arm*) BUILD_DEPENDS="" ;; 2.32 -esac 2.33 - 2.34 -# Rules to configure and make the package. 2.35 -compile_rules() 2.36 -{ 2.37 +compile_rules() { 2.38 case "$ARCH" in 2.39 - i?86) 2.40 - make ${ARCH_ARGS} NOGDB=1 build 2.41 - make -j1 NOGDB=1 PREFIX=$DESTDIR/usr install ;; 2.42 - arm*) 2.43 - make crossinstall \ 2.44 - NOGDB=1 \ 2.45 - CPU_TARGET=arm \ 2.46 - OS_TARGET=linux \ 2.47 - OPT=-dFPC_ARMEL \ 2.48 - CROSSBINDIR=/cross/$ARCH/tools/bin \ 2.49 - BINUTILSPREFIX=arm-slitaz-gnueabi- \ 2.50 - INSTALL_PREFIX=$DESTDIR/usr ;; 2.51 - esac && 2.52 + arm*) 2.53 + make crossinstall \ 2.54 + NOGDB=1 \ 2.55 + CPU_TARGET=arm \ 2.56 + OS_TARGET=linux \ 2.57 + OPT=-dFPC_ARMEL \ 2.58 + CROSSBINDIR=/cross/$ARCH/tools/bin \ 2.59 + BINUTILSPREFIX=arm-slitaz-gnueabi- \ 2.60 + INSTALL_PREFIX=$DESTDIR/usr 2.61 + ;; 2.62 + *) 2.63 + make NOGDB=1 build && 2.64 + make -j1 NOGDB=1 PREFIX=$DESTDIR/usr install 2.65 + ;; 2.66 + esac || return 1 2.67 2.68 # install package license 2.69 - install -m 755 -d $DESTDIR/usr/share/licenses/fpc && 2.70 - install -m 644 $src/fpcsrc/rtl/COPYING.FPC \ 2.71 - $DESTDIR/usr/share/licenses/fpc/ 2.72 - 2.73 - # move man pages to the right place 2.74 - mv $install/usr/man $install/usr/share 2.75 + install -Dm 644 $src/fpcsrc/rtl/COPYING.FPC \ 2.76 + $DESTDIR/usr/share/licenses/fpc/COPYING.FPC 2.77 } 2.78 2.79 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.80 -genpkg_rules() 2.81 -{ 2.82 +genpkg_rules() { 2.83 mkdir -p $fs/usr $fs/etc 2.84 cp -a $install/usr/bin $fs/usr 2.85 cp -a $install/usr/lib $fs/usr 2.86 @@ -63,12 +49,14 @@ 2.87 # config file 2.88 #mkdir -p $fs/etc 2.89 #cp -a $fs/usr/lib/fpc/$VERSION/samplecfg $fs/etc/fpc.cfg 2.90 + DEPENDS="ncurses" 2.91 + CONFIG_FILE="/etc/fpc.cfg" 2.92 + TAGS="compiler pascal" 2.93 } 2.94 2.95 -post_install() 2.96 -{ 2.97 +post_install() { 2.98 if [ ! -f "$1/etc/fpc.cfg" ]; then 2.99 - chroot "$1/" fpcmkcfg > /etc/fpc.cfg 2.100 + chroot "$1/" fpcmkcfg > /etc/fpc.cfg 2.101 fi 2.102 2.103 # Fix units search path
3.1 --- a/gtkballs/receipt Mon Mar 12 00:04:19 2018 +0100 3.2 +++ b/gtkballs/receipt Mon Mar 12 02:18:53 2018 +0200 3.3 @@ -12,7 +12,7 @@ 3.4 WGET_URL="http://gtkballs.antex.ru/dist/$TARBALL" 3.5 3.6 BUILD_DEPENDS="gtk+-dev" 3.7 -SPLIT="gtkballs=themes" 3.8 +SPLIT="gtkballs-themes gtkballs" 3.9 3.10 compile_rules() { 3.11 ./configure \ 3.12 @@ -22,35 +22,32 @@ 3.13 --mandir=/usr/share/man \ 3.14 $CONFIGURE_ARGS && 3.15 make && 3.16 - make DESTDIR=$DESTDIR install 3.17 + make DESTDIR=$DESTDIR install || return 1 3.18 + 3.19 + cp -a $stuff/cell.xpm $install/usr/share/gtkballs/themes/Default/ 3.20 + mv $install/usr/share/gtkballs/themes/Default \ 3.21 + $install/usr/share/gtkballs/themes/Original 3.22 + cp -a $install/usr/share/gtkballs/themes/klines \ 3.23 + $install/usr/share/gtkballs/themes/Default 3.24 + rm -rf $install/usr/share/gtkballs/themes/klines 3.25 + 3.26 + mkdir -p $install/usr/share/pixmaps/ 3.27 + cp -a $install/usr/share/gtkballs/gtkballs_16x16.png \ 3.28 + $install/usr/share/pixmaps/gtkballs.png 3.29 + 3.30 + chmod 666 $install/var/games/gtkballs-scores 3.31 } 3.32 3.33 genpkg_rules() { 3.34 case $PACKAGE in 3.35 + gtkballs-themes) 3.36 + copy themes/ 3.37 + CAT="games|game themes" 3.38 + ;; 3.39 gtkballs) 3.40 - mkdir -p $fs/usr/share/gtkballs/themes $fs/usr/share/pixmaps 3.41 - cp -a $install/usr/games $fs/usr 3.42 - # Themes 3.43 - #cp -a $install/usr/share/gtkballs/themes/Default \ 3.44 - # $fs/usr/share/gtkballs/themes 3.45 - cp -a $install/usr/share/gtkballs/themes/klines \ 3.46 - $fs/usr/share/gtkballs/themes/Default 3.47 - cp -a stuff/cell.xpm $fs/usr/share/gtkballs/themes/Default 3.48 - # Pixmaps 3.49 - cp -a $install/usr/share/gtkballs/gtkballs_16x16.png \ 3.50 - $fs/usr/share/pixmaps/gtkballs.png 3.51 - cp -a $install/var $fs 3.52 - chmod 666 $fs/var/games/gtkballs-scores 3.53 + copy @std @rm 3.54 DEPENDS="gtk+ xorg-libXdamage" 3.55 SUGGESTED="gtkballs-themes" 3.56 ;; 3.57 - gtkballs-themes) 3.58 - CAT="games|game themes" 3.59 - mkdir -p $fs/usr/share/gtkballs 3.60 - cp -a $install/usr/share/gtkballs/themes $fs/usr/share/gtkballs 3.61 - rm -rf $fs/usr/share/gtkballs/themes/klines 3.62 - mv $fs/usr/share/gtkballs/themes/Default \ 3.63 - $fs/usr/share/gtkballs/themes/Original 3.64 - ;; 3.65 esac 3.66 }
4.1 --- a/libdisasm/receipt Mon Mar 12 00:04:19 2018 +0100 4.2 +++ b/libdisasm/receipt Mon Mar 12 02:18:53 2018 +0200 4.3 @@ -14,19 +14,20 @@ 4.4 BUILD_DEPENDS="gfortran" 4.5 SPLIT="libdisasm-dev" 4.6 4.7 -# Rules to configure and make the package. 4.8 -compile_rules() 4.9 -{ 4.10 +compile_rules() { 4.11 + case $ARCH in 4.12 + i?86) ARCH_ARGS='CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32';; 4.13 + *) ARCH_ARGS='';; 4.14 + esac 4.15 + 4.16 ./configure \ 4.17 - "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" \ 4.18 + $ARCH_ARGS \ 4.19 $CONFIGURE_ARGS && 4.20 make && 4.21 make DESTDIR=$DESTDIR install 4.22 } 4.23 4.24 -# Rules to gen a SliTaz package suitable for Tazpkg. 4.25 -genpkg_rules() 4.26 -{ 4.27 +genpkg_rules() { 4.28 case $PACKAGE in 4.29 libdisasm) copy @std;; 4.30 *-dev) copy @dev;;
5.1 --- a/libquicktime/receipt Mon Mar 12 00:04:19 2018 +0100 5.2 +++ b/libquicktime/receipt Mon Mar 12 02:18:53 2018 +0200 5.3 @@ -12,7 +12,7 @@ 5.4 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 5.5 5.6 BUILD_DEPENDS="gtk+-dev ffmpeg-dev alsa-lib-dev xorg-libXv-dev xorg-libXaw-dev \ 5.7 -x264-dev zlib-dev mesa-dev" 5.8 +x264-dev zlib-dev mesa17-dev" 5.9 SPLIT="libquicktime-dev" 5.10 5.11 compile_rules() { 5.12 @@ -32,7 +32,7 @@ 5.13 case $PACKAGE in 5.14 libquicktime) 5.15 copy @std 5.16 - DEPENDS="gtk+ ffmpeg alsa-lib xorg-libXv mesa xorg-libXaw x264" 5.17 + DEPENDS="gtk+ ffmpeg alsa-lib xorg-libXv mesa17 xorg-libXaw x264" 5.18 ;; 5.19 *-dev) 5.20 copy @dev
6.1 --- a/libsdl2-ttf/receipt Mon Mar 12 00:04:19 2018 +0100 6.2 +++ b/libsdl2-ttf/receipt Mon Mar 12 02:18:53 2018 +0200 6.3 @@ -12,7 +12,7 @@ 6.4 WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL" 6.5 6.6 BUILD_DEPENDS="freetype-dev libsdl2-dev xorg-libX11-dev xorg-libICE-dev \ 6.7 -mesa17-dev" 6.8 +mesa17-dev expat-dev" 6.9 SPLIT="libsdl2-ttf-dev" 6.10 6.11 compile_rules() {
7.1 --- a/linux-cloop/receipt Mon Mar 12 00:04:19 2018 +0100 7.2 +++ b/linux-cloop/receipt Mon Mar 12 02:18:53 2018 +0200 7.3 @@ -1,7 +1,6 @@ 7.4 -# SliTaz package receipt. 7.5 +# SliTaz package receipt v2. 7.6 7.7 PACKAGE="linux-cloop" 7.8 -SOURCE="cloop" 7.9 GITHASH="897009b4b2fe70433a1e8aea8a024aeebc32b209" # 3.4 7.10 VERSION="${GITHASH:0:7}" 7.11 EXTRAVERSION="_$kvers" 7.12 @@ -10,41 +9,40 @@ 7.13 LICENSE="GPL2" 7.14 SHORT_DESC="The read-only compressed loop device kernel module." 7.15 WEB_SITE="http://knoppix.net/wiki/Cloop" 7.16 -TARBALL="$SOURCE-$VERSION.zip" 7.17 -#WGET_URL="http://debian-knoppix.alioth.debian.org/packages/$SOURCE/$TARBALL" 7.18 + 7.19 +TARBALL="cloop-$VERSION.zip" 7.20 +#WGET_URL="http://debian-knoppix.alioth.debian.org/packages/cloop/$TARBALL" 7.21 #WGET_URL="https://github.com/KlausKnopper/cloop/archive/$GITHASH.zip" 7.22 WGET_URL="https://github.com/Outernet-Project/cloop/archive/$GITHASH.zip" 7.23 7.24 -DEPENDS="linux" 7.25 BUILD_DEPENDS="linux-module-headers xz" 7.26 -SUGGESTED="cloop-utils" 7.27 7.28 -# Rules to configure and make the package. 7.29 - 7.30 -compile_rules() 7.31 -{ 7.32 +compile_rules() { 7.33 sed -i 's|dev_t.*|&\n#define uint64_t loff_t|' cloop_suspend.c 7.34 make cloop_suspend && 7.35 - make KERNEL_DIR="/usr/src/linux" cloop.ko && xz cloop.ko 7.36 -} 7.37 + make KERNEL_DIR="/usr/src/linux" cloop.ko && xz cloop.ko || return 1 7.38 7.39 -# Rules to gen a SliTaz package suitable for Tazpkg. 7.40 -genpkg_rules() 7.41 -{ 7.42 - mkdir -p $fs/lib/modules/$kvers-slitaz/kernel/misc $fs/dev $fs/usr/bin 7.43 - cp $src/cloop_suspend $fs/usr/bin 7.44 - cp $src/cloop.ko.xz $fs/lib/modules/$kvers-slitaz/kernel/misc 7.45 + mkdir -p \ 7.46 + $install/lib/modules/$kvers-slitaz/kernel/misc \ 7.47 + $install/dev \ 7.48 + $install/usr/bin 7.49 + cp $src/cloop_suspend $install/usr/bin 7.50 + cp $src/cloop.ko.xz $install/lib/modules/$kvers-slitaz/kernel/misc 7.51 for i in $(seq 0 7); do 7.52 - mknod $fs/dev/cloop$i b 240 $i 7.53 + mknod $install/dev/cloop$i b 240 $i 7.54 done 7.55 } 7.56 7.57 -post_install() 7.58 -{ 7.59 +genpkg_rules() { 7.60 + copy @std 7.61 + DEPENDS="linux" 7.62 + SUGGESTED="cloop-utils" 7.63 +} 7.64 + 7.65 +post_install() { 7.66 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz 7.67 } 7.68 7.69 -post_remove() 7.70 -{ 7.71 +post_remove() { 7.72 depmod -a 7.73 }
8.1 --- a/lionwiki/receipt Mon Mar 12 00:04:19 2018 +0100 8.2 +++ b/lionwiki/receipt Mon Mar 12 02:18:53 2018 +0200 8.3 @@ -1,28 +1,24 @@ 8.4 -# SliTaz package receipt. 8.5 +# SliTaz package receipt v2. 8.6 8.7 PACKAGE="lionwiki" 8.8 VERSION="3.2.9" 8.9 CATEGORY="office" 8.10 -SHORT_DESC="Minimalist Wiki engine programmed in PHP." 8.11 +SHORT_DESC="Minimalist Wiki engine programmed in PHP" 8.12 MAINTAINER="pascal.bellard@slitaz.org" 8.13 LICENSE="GPL2" 8.14 +WEB_SITE="http://lionwiki.0o.cz" 8.15 + 8.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 8.17 -WEB_SITE="http://lionwiki.0o.cz" 8.18 WGET_URL="$WEB_SITE/download/$VERSION/$TARBALL" 8.19 -CONFIG_FILES="/var/www/lionwikiss/config.php" 8.20 8.21 -DEPENDS="lighttpd php" 8.22 - 8.23 -# Rules to configure and make the package. 8.24 -compile_rules() 8.25 -{ 8.26 - cd $src 8.27 +compile_rules() { 8.28 + mkdir -p $install/var/www 8.29 + cp -a $src $install/var/www/lionwiki 8.30 + chown -R www.www $install/var/www/lionwiki 8.31 } 8.32 8.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 8.34 -genpkg_rules() 8.35 -{ 8.36 - mkdir -p $fs/var/www 8.37 - cp -a $src $fs/var/www/lionwiki 8.38 - chown -R www.www $fs/var/www/lionwiki 8.39 +genpkg_rules() { 8.40 + copy @std 8.41 + DEPENDS="lighttpd php" 8.42 + CONFIG_FILES="/var/www/lionwikiss/config.php" 8.43 }
9.1 --- a/logfsprogs/receipt Mon Mar 12 00:04:19 2018 +0100 9.2 +++ b/logfsprogs/receipt Mon Mar 12 02:18:53 2018 +0200 9.3 @@ -1,4 +1,4 @@ 9.4 -# SliTaz package receipt. 9.5 +# SliTaz package receipt v2. 9.6 9.7 PACKAGE="logfsprogs" 9.8 VERSION="20121013" 9.9 @@ -7,22 +7,19 @@ 9.10 SHORT_DESC="Utilities for making LogFS file-system" 9.11 MAINTAINER="pascal.bellard@slitaz.org" 9.12 LICENSE="GPL2" 9.13 +WEB_SITE="https://github.com/prasad-joshi/logfsprogs" 9.14 + 9.15 TARBALL="$PACKAGE-$VERSION.zip" 9.16 -WEB_SITE="https://github.com/prasad-joshi/logfsprogs" 9.17 WGET_URL="$WEB_SITE/archive/$HASH.zip" 9.18 9.19 -DEPENDS="zlib" 9.20 BUILD_DEPENDS="zlib-dev" 9.21 9.22 -# Rules to configure and make the package. 9.23 -compile_rules() 9.24 -{ 9.25 - make 9.26 -} 9.27 +compile_rules() { 9.28 + make && 9.29 + install -Dm755 $src/mklogfs $install/usr/sbin/mklogfs 9.30 +} 9.31 9.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 9.33 -genpkg_rules() 9.34 -{ 9.35 - mkdir -p $fs/usr/sbin 9.36 - cp -a $src/mklogfs $fs/usr/sbin 9.37 +genpkg_rules() { 9.38 + copy @std 9.39 + DEPENDS="zlib" 9.40 }
10.1 --- a/lsscsi/receipt Mon Mar 12 00:04:19 2018 +0100 10.2 +++ b/lsscsi/receipt Mon Mar 12 02:18:53 2018 +0200 10.3 @@ -1,28 +1,25 @@ 10.4 -# SliTaz package receipt. 10.5 +# SliTaz package receipt v2. 10.6 10.7 PACKAGE="lsscsi" 10.8 VERSION="0.21" 10.9 CATEGORY="system-tools" 10.10 -SHORT_DESC="Lists information about SCSI devices." 10.11 +SHORT_DESC="Lists information about SCSI devices" 10.12 MAINTAINER="erjo@slitaz.org" 10.13 LICENSE="GPL2" 10.14 +WEB_SITE="http://sg.danny.cz/scsi/lsscsi.html" 10.15 + 10.16 TARBALL="$PACKAGE-$VERSION.tgz" 10.17 -WEB_SITE="http://sg.danny.cz/scsi/lsscsi.html" 10.18 WGET_URL="http://sg.danny.cz/scsi/$TARBALL" 10.19 #WGET_URL="http://www.sfr-fresh.com/linux/misc/$TARBALL" 10.20 10.21 -# Rules to configure and make the package. 10.22 -compile_rules() 10.23 -{ 10.24 - cd $src 10.25 - ./configure --prefix=/usr $CONFIGURE_ARGS && 10.26 - make 10.27 +compile_rules() { 10.28 + ./configure \ 10.29 + --prefix=/usr \ 10.30 + $CONFIGURE_ARGS && 10.31 + make && 10.32 + install -Dm755 $src/lsscsi $install/usr/bin/lsscsi 10.33 } 10.34 10.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 10.36 -genpkg_rules() 10.37 -{ 10.38 - mkdir -p $fs/usr/bin 10.39 - cp -a $src/$PACKAGE $fs/usr/bin 10.40 +genpkg_rules() { 10.41 + copy @std 10.42 } 10.43 -
11.1 --- a/lua5.1/receipt Mon Mar 12 00:04:19 2018 +0100 11.2 +++ b/lua5.1/receipt Mon Mar 12 02:18:53 2018 +0200 11.3 @@ -20,7 +20,12 @@ 11.4 sed -i "s#/include#/include/lua/5.1#g" etc/lua.pc 11.5 sed -i "s#/usr/local/#/usr/#" src/luaconf.h 11.6 sed -i "s#share/lua/5.1/#lib/lua/5.1/#" src/luaconf.h 11.7 - sed -i s"/-O2/-Os -march=$ARCH/" src/Makefile 11.8 + 11.9 + case $ARCH in 11.10 + x86_64) Arch='nocona';; 11.11 + *) Arch="$ARCH";; 11.12 + esac 11.13 + sed -i s"/-O2/-Os -march=$Arch/" src/Makefile 11.14 11.15 make linux && 11.16 make install \
12.1 --- a/lxappearance-obconf/receipt Mon Mar 12 00:04:19 2018 +0100 12.2 +++ b/lxappearance-obconf/receipt Mon Mar 12 02:18:53 2018 +0200 12.3 @@ -7,16 +7,14 @@ 12.4 MAINTAINER="pankso@slitaz.org" 12.5 LICENSE="GPL2" 12.6 WEB_SITE="http://lxde.org/" 12.7 - 12.8 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxappearance-obconf.html" 12.9 TARBALL="$PACKAGE-$VERSION.tar.xz" 12.10 WGET_URL="$SF_MIRROR/lxde/$TARBALL" 12.11 12.12 -BUILD_DEPENDS="intltool openbox-dev gtk+-dev lxappearance-dev" 12.13 +BUILD_DEPENDS="intltool openbox-dev gtk+-dev lxappearance-dev \ 12.14 +xorg-libXrandr-dev" 12.15 12.16 -# Rules to configure and make the package. 12.17 -compile_rules() 12.18 -{ 12.19 - # http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxappearance-obconf.html 12.20 +compile_rules() { 12.21 ./configure \ 12.22 --sysconfdir=/etc \ 12.23 --disable-static \ 12.24 @@ -24,9 +22,7 @@ 12.25 make && make install 12.26 } 12.27 12.28 -# Rules to gen a SliTaz package suitable for Tazpkg. 12.29 -genpkg_rules() 12.30 -{ 12.31 +genpkg_rules() { 12.32 copy @std 12.33 DEPENDS="openbox lxappearance" 12.34 TAGS="LXDE"
13.1 --- a/marco/receipt Mon Mar 12 00:04:19 2018 +0100 13.2 +++ b/marco/receipt Mon Mar 12 02:18:53 2018 +0200 13.3 @@ -12,14 +12,16 @@ 13.4 WGET_URL="https://github.com/mate-desktop/marco/archive/v$VERSION.tar.gz" 13.5 13.6 BUILD_DEPENDS="mate-common yelp-tools gtk+3-dev startup-notification-dev \ 13.7 -xorg-libXcursor-dev libgtop-dev libcanberra-dev zenity itstool" 13.8 +xorg-libXcursor-dev libgtop-dev libcanberra-dev zenity itstool xcb-util-dev" 13.9 SPLIT="marco-dev" 13.10 13.11 compile_rules() { 13.12 + fix ld 13.13 ./autogen.sh \ 13.14 --sysconfdir=/etc \ 13.15 --localstatedir=/var \ 13.16 $CONFIGURE_ARGS && 13.17 + fix libtool && 13.18 make && 13.19 make install 13.20 }
14.1 --- a/mate-screensaver/receipt Mon Mar 12 00:04:19 2018 +0100 14.2 +++ b/mate-screensaver/receipt Mon Mar 12 02:18:53 2018 +0200 14.3 @@ -13,14 +13,16 @@ 14.4 14.5 BUILD_DEPENDS="mate-common xorg-libX11-dev xorg-libXScrnSaver-dev gtk+3-dev \ 14.6 dbus-glib-dev mate-desktop-dev mate-menus-dev xmlto xorg-libXext-dev \ 14.7 -mesa17-dev libmatekbd-dev libnotify-gtk3-dev" 14.8 +mesa17-dev libmatekbd-dev libnotify-gtk3-dev expat-dev" 14.9 SPLIT="mate-screensaver-dev" 14.10 14.11 compile_rules() { 14.12 + fix ld 14.13 ./autogen.sh \ 14.14 --sysconfdir=/etc \ 14.15 --localstatedir=/var \ 14.16 $CONFIGURE_ARGS && 14.17 + fix libtool && 14.18 make && 14.19 make install 14.20 }
15.1 --- a/mate-terminal/receipt Mon Mar 12 00:04:19 2018 +0100 15.2 +++ b/mate-terminal/receipt Mon Mar 12 02:18:53 2018 +0200 15.3 @@ -12,13 +12,15 @@ 15.4 WGET_URL="https://github.com/mate-desktop/mate-terminal/archive/v$VERSION.tar.gz" 15.5 15.6 BUILD_DEPENDS="mate-common yelp-tools vte-dev gtk+3-dev dconf-dev \ 15.7 -xorg-libX11-dev itstool" 15.8 +xorg-libX11-dev itstool xorg-libSM-dev" 15.9 15.10 compile_rules() { 15.11 + fix ld 15.12 ./autogen.sh \ 15.13 --sysconfdir=/etc \ 15.14 --localstatedir=/var \ 15.15 $CONFIGURE_ARGS && 15.16 + fix libtool && 15.17 make && 15.18 make install 15.19 }
16.1 --- a/mate-utils/receipt Mon Mar 12 00:04:19 2018 +0100 16.2 +++ b/mate-utils/receipt Mon Mar 12 02:18:53 2018 +0200 16.3 @@ -12,14 +12,16 @@ 16.4 WGET_URL="https://github.com/mate-desktop/mate-utils/archive/v$VERSION.tar.gz" 16.5 16.6 BUILD_DEPENDS="mate-common yelp-tools gtk-doc gtk+3-dev mate-panel-dev \ 16.7 -libgtop-dev libcanberra-dev itstool" 16.8 +libgtop-dev libcanberra-dev itstool xorg-libSM-dev" 16.9 SPLIT="mate-utils-dev" 16.10 16.11 compile_rules() { 16.12 + fix ld 16.13 ./autogen.sh \ 16.14 --sysconfdir=/etc \ 16.15 --localstatedir=/var \ 16.16 $CONFIGURE_ARGS && 16.17 + fix libtool && 16.18 make && 16.19 make install 16.20 }
17.1 --- a/memo/receipt Mon Mar 12 00:04:19 2018 +0100 17.2 +++ b/memo/receipt Mon Mar 12 02:18:53 2018 +0200 17.3 @@ -1,28 +1,24 @@ 17.4 -# SliTaz package receipt. 17.5 +# SliTaz package receipt v2. 17.6 17.7 PACKAGE="memo" 17.8 VERSION="1.0" 17.9 CATEGORY="office" 17.10 -SHORT_DESC="Memo is a command line, Unix-style note-taking software." 17.11 +SHORT_DESC="Memo is a command line, Unix-style note-taking software" 17.12 MAINTAINER="paul@slitaz.org" 17.13 -TARBALL="$PACKAGE-$VERSION.tar.gz" 17.14 LICENSE="GPL3" 17.15 WEB_SITE="http://www.ideabyte.net/memo/" 17.16 + 17.17 +TARBALL="$PACKAGE-$VERSION.tar.gz" 17.18 WGET_URL="http://www.ideabyte.net/memo/$TARBALL" 17.19 17.20 -DEPENDS="ncurses" 17.21 BUILD_DEPENDS="ncurses-dev" 17.22 17.23 -# Rules to configure and make the package. 17.24 -compile_rules() 17.25 -{ 17.26 - make 17.27 +compile_rules() { 17.28 + make && 17.29 + install -Dm 755 $src/memo $install/usr/bin/memo 17.30 } 17.31 17.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 17.33 -genpkg_rules() 17.34 -{ 17.35 - mkdir -p $fs/usr/bin 17.36 - cp -a $src/$PACKAGE $fs/usr/bin 17.37 +genpkg_rules() { 17.38 + copy @std 17.39 + DEPENDS="ncurses" 17.40 } 17.41 -
18.1 --- a/memtester/receipt Mon Mar 12 00:04:19 2018 +0100 18.2 +++ b/memtester/receipt Mon Mar 12 02:18:53 2018 +0200 18.3 @@ -1,29 +1,22 @@ 18.4 -# SliTaz package receipt. 18.5 +# SliTaz package receipt v2. 18.6 18.7 PACKAGE="memtester" 18.8 VERSION="4.3.0" 18.9 CATEGORY="misc" 18.10 -SHORT_DESC="A userspace utility for testing the memory subsystem for faults." 18.11 +SHORT_DESC="A userspace utility for testing the memory subsystem for faults" 18.12 MAINTAINER="pascal.bellard@slitaz.org" 18.13 LICENSE="GPL2" 18.14 +WEB_SITE="http://pyropus.ca/software/memtester" 18.15 + 18.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 18.17 -WEB_SITE="http://pyropus.ca/software/memtester" 18.18 WGET_URL="$WEB_SITE/old-versions/$TARBALL" 18.19 -TAGS="test diagnostic RAM" 18.20 18.21 -DEPENDS="" 18.22 -BUILD_DEPENDS="" 18.23 - 18.24 -# Rules to configure and make the package. 18.25 -compile_rules() 18.26 -{ 18.27 - make 18.28 +compile_rules() { 18.29 + make && 18.30 + install -Dm755 $src/memtester $install/usr/bin/memtester 18.31 } 18.32 18.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 18.34 -genpkg_rules() 18.35 -{ 18.36 - mkdir -p $fs/usr/bin 18.37 - cp -a $src/memtester $fs/usr/bin 18.38 +genpkg_rules() { 18.39 + copy @std 18.40 + TAGS="test diagnostic RAM" 18.41 } 18.42 -
19.1 --- a/micro_proxy/receipt Mon Mar 12 00:04:19 2018 +0100 19.2 +++ b/micro_proxy/receipt Mon Mar 12 02:18:53 2018 +0200 19.3 @@ -1,26 +1,23 @@ 19.4 -# SliTaz package receipt. 19.5 +# SliTaz package receipt v2. 19.6 19.7 PACKAGE="micro_proxy" 19.8 VERSION="30oct2002" 19.9 CATEGORY="network" 19.10 -SHORT_DESC="A small HTTP/HTTPS proxy." 19.11 +SHORT_DESC="A small HTTP/HTTPS proxy" 19.12 MAINTAINER="pascal.bellard@slitaz.org" 19.13 LICENSE="BSD" 19.14 +WEB_SITE="http://www.acme.com/software/micro_proxy/" 19.15 + 19.16 TARBALL="${PACKAGE}_$VERSION.tar.gz" 19.17 -WEB_SITE="http://www.acme.com/software/micro_proxy/" 19.18 WGET_URL="${WEB_SITE}$TARBALL" 19.19 19.20 -# Rules to configure and make the package. 19.21 -compile_rules() 19.22 -{ 19.23 - mv $PACKAGE $PACKAGE-$VERSION 2> /dev/null 19.24 +compile_rules() { 19.25 + mv $PACKAGE $PACKAGE-$VERSION 2>/dev/null 19.26 cd $src 19.27 - make 19.28 + make && 19.29 + install -Dm 755 $src/micro_proxy $install/usr/bin/micro_proxy 19.30 } 19.31 19.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 19.33 -genpkg_rules() 19.34 -{ 19.35 - mkdir -p $fs/usr/bin 19.36 - cp -a $src/$PACKAGE $fs/usr/bin 19.37 +genpkg_rules() { 19.38 + copy @std 19.39 }
20.1 --- a/microperl/receipt Mon Mar 12 00:04:19 2018 +0100 20.2 +++ b/microperl/receipt Mon Mar 12 02:18:53 2018 +0200 20.3 @@ -1,9 +1,9 @@ 20.4 -# SliTaz package receipt. 20.5 +# SliTaz package receipt v2. 20.6 20.7 PACKAGE="microperl" 20.8 VERSION="5.24.0" 20.9 CATEGORY="development" 20.10 -SHORT_DESC="A micro version of Perl." 20.11 +SHORT_DESC="A micro version of Perl" 20.12 MAINTAINER="pankso@slitaz.org" 20.13 LICENSE="GPL" 20.14 WEB_SITE="https://www.perl.org/" 20.15 @@ -11,24 +11,20 @@ 20.16 TARBALL="perl-$VERSION.tar.bz2" 20.17 WGET_URL="http://www.cpan.org/src/5.0/$TARBALL" 20.18 20.19 -DEPENDS="glibc-base" 20.20 SIBLINGS="perl" 20.21 20.22 -# Rules to configure and make the package. 20.23 -compile_rules() 20.24 -{ 20.25 +compile_rules() { 20.26 # cp Makefile.micro Makefile.micro.orig 20.27 patch -p1 -i $stuff/microperl.patch 20.28 sed -i "s|usr/local|usr|; s|perl5/5.24|perl5/5.24.0|; s|unknown|$HOST_SYSTEM|" \ 20.29 uconfig.sh 20.30 20.31 make -f Makefile.micro regen_uconfig && 20.32 - make -f Makefile.micro 20.33 + make -f Makefile.micro && 20.34 + install -Dm 755 $src/microperl $install/usr/bin/microperl 20.35 } 20.36 20.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 20.38 -genpkg_rules() 20.39 -{ 20.40 - mkdir -p $fs/usr/bin 20.41 - cp -a $src/microperl $fs/usr/bin 20.42 +genpkg_rules() { 20.43 + copy @std 20.44 + DEPENDS="glibc-base" 20.45 }
21.1 --- a/monitorix/receipt Mon Mar 12 00:04:19 2018 +0100 21.2 +++ b/monitorix/receipt Mon Mar 12 02:18:53 2018 +0200 21.3 @@ -1,46 +1,44 @@ 21.4 -# SliTaz package receipt. 21.5 +# SliTaz package receipt v2. 21.6 21.7 PACKAGE="monitorix" 21.8 VERSION="3.2.1" 21.9 CATEGORY="misc" 21.10 -SHORT_DESC="A lightweight system monitoring tool." 21.11 +SHORT_DESC="A lightweight system monitoring tool" 21.12 MAINTAINER="pascal.bellard@slitaz.org" 21.13 LICENSE="GPL2" 21.14 WEB_SITE="http://www.monitorix.org/" 21.15 + 21.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 21.17 WGET_URL="${WEB_SITE}$TARBALL" 21.18 -SUGGESTED="iptables logrotate" 21.19 21.20 -DEPENDS="rrdtool-perl perl-libwww-perl perl-dbi perl-xml-simple perl-cgi \ 21.21 -perl-mailtools perl-mime-lite perl-config-general perl-http-server-simple" 21.22 -BUILD_DEPENDS="" 21.23 - 21.24 -# Rules to configure and make the package. 21.25 -compile_rules() 21.26 -{ 21.27 - cd $src 21.28 -} 21.29 - 21.30 -# Rules to gen a SliTaz package suitable for Tazpkg. 21.31 -genpkg_rules() 21.32 -{ 21.33 - mkdir -p $fs/usr/lib $fs/usr/bin $fs/etc/logrotate.d 21.34 - mkdir -p $fs/usr/share/monitorix/cgi 21.35 - cp -a $src/monitorix.conf $fs/etc 21.36 - sed -i 's|/var/lib/monitorix|/usr/lib/monitorix|' $fs/etc/monitorix.conf 21.37 - sed -i 's|group = nobody|group = nogroup|' $fs/etc/monitorix.conf 21.38 - cp -a $src/docs/monitorix.logrotate $fs/etc/logrotate.d/monitorix 21.39 - cp -a $src/monitorix $fs/usr/bin 21.40 - cp -a $src/lib $fs/usr/lib/monitorix 21.41 - cp -a $src/monitorix.cgi $src/*.png $src/reports $fs/usr/share/monitorix 21.42 +compile_rules() { 21.43 + mkdir -p \ 21.44 + $install/usr/lib \ 21.45 + $install/usr/bin \ 21.46 + $install/etc/logrotate.d \ 21.47 + $install/usr/share/monitorix/cgi 21.48 + cp -a $src/monitorix.conf $install/etc 21.49 + sed -i 's|/var/lib/monitorix|/usr/lib/monitorix|' $install/etc/monitorix.conf 21.50 + sed -i 's|group = nobody|group = nogroup|' $install/etc/monitorix.conf 21.51 + cp -a $src/docs/monitorix.logrotate $install/etc/logrotate.d/monitorix 21.52 + cp -a $src/monitorix $install/usr/bin 21.53 + cp -a $src/lib $install/usr/lib/monitorix 21.54 + cp -a $src/monitorix.cgi $src/*.png $src/reports \ 21.55 + $install/usr/share/monitorix 21.56 } 21.57 21.58 -post_install() 21.59 -{ 21.60 +genpkg_rules() { 21.61 + copy @std 21.62 + DEPENDS="rrdtool-perl perl-libwww-perl perl-dbi perl-xml-simple perl-cgi \ 21.63 + perl-mailtools perl-mime-lite perl-config-general perl-http-server-simple" 21.64 + SUGGESTED="iptables logrotate" 21.65 +} 21.66 + 21.67 +post_install() { 21.68 # Configure lighttpd server 21.69 if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then 21.70 if ! grep -q /usr/share/monitorix/ "$1/etc/lighttpd/lighttpd.conf"; then 21.71 - sed -e 's|.*"/examples/" => "/usr/share/examples/",| "/examples/" => "/usr/share/examples/",\n "/monitorix/" => "/usr/share/monitorix/",\n "/monitorix-cgi/" => "/usr/share/monitorix/cgi/",|g' -i "$1/etc/lighttpd/lighttpd.conf" 21.72 + sed -e 's|.*"/examples/" => "/usr/share/examples/",| "/examples/" => "/usr/share/examples/",\n "/monitorix/" => "/usr/share/monitorix/",\n "/monitorix-cgi/" => "/usr/share/monitorix/cgi/",|g' -i "$1/etc/lighttpd/lighttpd.conf" 21.73 if [ -z "$1" ]; then 21.74 # Start Web server. 21.75 /etc/init.d/lighttpd stop
22.1 --- a/mountlo/receipt Mon Mar 12 00:04:19 2018 +0100 22.2 +++ b/mountlo/receipt Mon Mar 12 02:18:53 2018 +0200 22.3 @@ -1,33 +1,29 @@ 22.4 -# SliTaz package receipt. 22.5 +# SliTaz package receipt v2. 22.6 22.7 PACKAGE="mountlo" 22.8 VERSION="0.6" 22.9 CATEGORY="system-tools" 22.10 -SHORT_DESC="loopback filesystem mount implemented with FUSE." 22.11 +SHORT_DESC="loopback filesystem mount implemented with FUSE" 22.12 MAINTAINER="pascal.bellard@slitaz.org" 22.13 LICENSE="GPL2" 22.14 +WEB_SITE="http://sourceforge.net/apps/mediawiki/fuse/index.php?title=FileSystems#Mountlo" 22.15 + 22.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 22.17 +WGET_URL="$SF_MIRROR/fuse/$TARBALL" 22.18 EXTRA_SOURCE_FILES="$PACKAGE-i386-$VERSION.tar.gz" 22.19 -WEB_SITE="http://sourceforge.net/apps/mediawiki/fuse/index.php?title=FileSystems#Mountlo" 22.20 -WGET_URL="$SF_MIRROR/fuse/$PACKAGE/$TARBALL" 22.21 -TAGS="filesystem" 22.22 22.23 -# Rules to configure and make the package. 22.24 -compile_rules() 22.25 -{ 22.26 - cd $src 22.27 +compile_rules() { 22.28 [ -f $SOURCES_REPOSITORY/$PACKAGE-i386-$VERSION.tar.gz ] || 22.29 wget $SF_MIRROR/fuse/$PACKAGE/$VERSION/$PACKAGE-i386-$VERSION.tar.gz \ 22.30 -P $SOURCES_REPOSITORY 22.31 if [ ! -f mountlo-$VERSION/mountlo ]; then 22.32 tar xzf $SOURCES_REPOSITORY/$PACKAGE-i386-$VERSION.tar.gz 22.33 fi 22.34 + 22.35 + install -Dm 755 $src/mountlo-$VERSION/mountlo $install/usr/bin/mountlo 22.36 } 22.37 22.38 -# Rules to gen a SliTaz package suitable for Tazpkg. 22.39 -genpkg_rules() 22.40 -{ 22.41 - mkdir -p $fs/usr/bin 22.42 - cp -a $src/mountlo-$VERSION/mountlo $fs/usr/bin 22.43 - chown root.root $fs/usr/bin/mountlo 22.44 +genpkg_rules() { 22.45 + copy @std 22.46 + TAGS="filesystem" 22.47 }
23.1 --- a/mozplugger/receipt Mon Mar 12 00:04:19 2018 +0100 23.2 +++ b/mozplugger/receipt Mon Mar 12 02:18:53 2018 +0200 23.3 @@ -1,34 +1,36 @@ 23.4 -# SliTaz package receipt. 23.5 +# SliTaz package receipt v2. 23.6 23.7 PACKAGE="mozplugger" 23.8 VERSION="1.14.3" 23.9 CATEGORY="multimedia" 23.10 -SHORT_DESC="A Mozilla & Firefox multimedia plugin." 23.11 +SHORT_DESC="A Mozilla & Firefox multimedia plugin" 23.12 MAINTAINER="slaxemulator@gmail.com" 23.13 LICENSE="GPL2" 23.14 +WEB_SITE="http://mozplugger.mozdev.org" 23.15 + 23.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 23.17 -WEB_SITE="http://mozplugger.mozdev.org" 23.18 WGET_URL="$WEB_SITE/files/$TARBALL" 23.19 23.20 -DEPENDS="xorg-libX11" 23.21 BUILD_DEPENDS="xorg-libX11-dev" 23.22 23.23 -# Rules to configure and make the package. 23.24 -compile_rules() 23.25 -{ 23.26 - ./configure --prefix=/usr --sysconfdir=/etc && 23.27 - make 23.28 +compile_rules() { 23.29 + ./configure \ 23.30 + --prefix=/usr \ 23.31 + --sysconfdir=/etc && 23.32 + make || return 1 23.33 + 23.34 + mkdir -p \ 23.35 + $install/usr/lib/mozilla/plugins \ 23.36 + $install/etc \ 23.37 + $install/usr/bin 23.38 + cp -a $src/mozplugger.so $install/usr/lib/mozilla/plugins 23.39 + cp -a $src/mozpluggerrc $install/etc 23.40 + cp -a $src/mozplugger-helper $install/usr/bin 23.41 + cp -a $src/mozplugger-controller $install/usr/bin 23.42 + cp -a $src/mozplugger-linker $install/usr/bin 23.43 } 23.44 23.45 -# Rules to gen a SliTaz package suitable for Tazpkg. 23.46 -genpkg_rules() 23.47 -{ 23.48 - mkdir -p $fs/usr/lib/mozilla/plugins \ 23.49 - $fs/etc \ 23.50 - $fs/usr/bin 23.51 - cp -a $src/mozplugger.so $fs/usr/lib/mozilla/plugins 23.52 - cp -a $src/mozpluggerrc $fs/etc 23.53 - cp -a $src/mozplugger-helper $fs/usr/bin 23.54 - cp -a $src/mozplugger-controller $fs/usr/bin 23.55 - cp -a $src/mozplugger-linker $fs/usr/bin 23.56 +genpkg_rules() { 23.57 + copy @std 23.58 + DEPENDS="xorg-libX11" 23.59 }
24.1 --- a/mp3gain/receipt Mon Mar 12 00:04:19 2018 +0100 24.2 +++ b/mp3gain/receipt Mon Mar 12 02:18:53 2018 +0200 24.3 @@ -1,29 +1,21 @@ 24.4 -# SliTaz package receipt. 24.5 +# SliTaz package receipt v2. 24.6 24.7 PACKAGE="mp3gain" 24.8 VERSION="1_5_2_r2" 24.9 CATEGORY="multimedia" 24.10 -SHORT_DESC="Analyzes and adjusts volume on mp3 files." 24.11 +SHORT_DESC="Analyzes and adjusts volume on mp3 files" 24.12 MAINTAINER="paul@slitaz.org" 24.13 LICENSE="LGPL2.1" 24.14 +WEB_SITE="http://mp3gain.sourceforge.net/" 24.15 + 24.16 TARBALL="$PACKAGE-$VERSION-src.zip" 24.17 -WEB_SITE="http://mp3gain.sourceforge.net/" 24.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 24.19 24.20 -DEPENDS="" 24.21 -BUILD_DEPENDS="" 24.22 - 24.23 -# Rules to configure and make the package. 24.24 -compile_rules() 24.25 -{ 24.26 - cd $src 24.27 - make 24.28 +compile_rules() { 24.29 + make && 24.30 + install -Dm 755 $src/mp3gain $install/usr/bin/mp3gain 24.31 } 24.32 24.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 24.34 -genpkg_rules() 24.35 -{ 24.36 - mkdir -p $fs/usr/bin 24.37 - cp -a $src/$PACKAGE $fs/usr/bin 24.38 +genpkg_rules() { 24.39 + copy @std 24.40 } 24.41 -
25.1 --- a/mp3val/receipt Mon Mar 12 00:04:19 2018 +0100 25.2 +++ b/mp3val/receipt Mon Mar 12 02:18:53 2018 +0200 25.3 @@ -1,28 +1,22 @@ 25.4 -# SliTaz package receipt. 25.5 +# SliTaz package receipt v2. 25.6 25.7 PACKAGE="mp3val" 25.8 VERSION="0.1.8" 25.9 CATEGORY="multimedia" 25.10 -SHORT_DESC="MP3val is a small, high-speed, free software tool for checking MPEG audio files' integrity" 25.11 +SHORT_DESC="Checking MPEG audio files integrity" 25.12 MAINTAINER="devl547@gmail.com" 25.13 LICENSE="GPL2" 25.14 WEB_SITE="http://mp3val.sourceforge.net/" 25.15 + 25.16 TARBALL="$PACKAGE-$VERSION-src.tar.gz" 25.17 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 25.18 25.19 -DEPENDS="" 25.20 -BUILD_DEPENDS="" 25.21 - 25.22 -# Rules to configure and make the package. 25.23 -compile_rules() 25.24 -{ 25.25 +compile_rules() { 25.26 mv Makefile.linux Makefile 25.27 - make 25.28 + make && 25.29 + install -Dm 755 $src/mp3val $fs/usr/bin/mp3val 25.30 } 25.31 25.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 25.33 -genpkg_rules() 25.34 -{ 25.35 - mkdir -p $fs/usr/bin 25.36 - cp -a $src/mp3val $fs/usr/bin 25.37 +genpkg_rules() { 25.38 + copy @std 25.39 }
26.1 --- a/multipath-tools/receipt Mon Mar 12 00:04:19 2018 +0100 26.2 +++ b/multipath-tools/receipt Mon Mar 12 02:18:53 2018 +0200 26.3 @@ -1,30 +1,27 @@ 26.4 -# SliTaz package receipt. 26.5 +# SliTaz package receipt v2. 26.6 26.7 PACKAGE="multipath-tools" 26.8 VERSION="0.5.0" 26.9 CATEGORY="x-window" 26.10 -SHORT_DESC="Device Mapper multipathing driver (provide kpartx)." 26.11 +SHORT_DESC="Device Mapper multipathing driver (provide kpartx)" 26.12 MAINTAINER="pankso@slitaz.org" 26.13 LICENSE="GPL2" 26.14 +WEB_SITE="http://christophe.varoqui.free.fr/" 26.15 + 26.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 26.17 -WEB_SITE="http://christophe.varoqui.free.fr/" 26.18 WGET_URL="http://christophe.varoqui.free.fr/multipath-tools/$TARBALL" 26.19 -PROVIDE="kpartx" 26.20 26.21 -DEPENDS="libdevmapper udev libaio readline" 26.22 BUILD_DEPENDS="libdevmapper-dev udev-dev libaio-dev readline-dev" 26.23 26.24 -# Rules to configure and make the package. 26.25 -compile_rules() 26.26 -{ 26.27 - cd $src/kpartx 26.28 - make && cd .. 26.29 +compile_rules() { 26.30 + cd $src/kpartx 26.31 + make && 26.32 #make LIB="/usr/lib" DESTDIR=${DESTDIR} install 26.33 + install -Dm 755 $src/kpartx/kpartx $install/usr/bin/kpartx 26.34 } 26.35 26.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 26.37 -genpkg_rules() 26.38 -{ 26.39 - mkdir -p $fs/usr/bin 26.40 - cp -a $src/kpartx/kpartx $fs/usr/bin 26.41 +genpkg_rules() { 26.42 + copy @std 26.43 + DEPENDS="libdevmapper udev libaio readline" 26.44 + PROVIDE="kpartx" 26.45 }
27.1 --- a/multitail/receipt Mon Mar 12 00:04:19 2018 +0100 27.2 +++ b/multitail/receipt Mon Mar 12 02:18:53 2018 +0200 27.3 @@ -1,36 +1,28 @@ 27.4 -# SliTaz package receipt. 27.5 +# SliTaz package receipt v2. 27.6 27.7 PACKAGE="multitail" 27.8 VERSION="5.2.9" 27.9 CATEGORY="system-tools" 27.10 -SHORT_DESC="Monitor multiple log files." 27.11 +SHORT_DESC="Monitor multiple log files" 27.12 MAINTAINER="erjo@slitaz.org" 27.13 LICENSE="GPL2" 27.14 +WEB_SITE="http://www.vanheusden.com/multitail/" 27.15 + 27.16 TARBALL="$PACKAGE-$VERSION.tgz" 27.17 -WEB_SITE="http://www.vanheusden.com/multitail/" 27.18 WGET_URL="http://www.vanheusden.com/multitail/$TARBALL" 27.19 -CONFIG_FILES="/etc/multitail.conf" 27.20 27.21 -DEPENDS="ncurses" 27.22 BUILD_DEPENDS="ncurses-dev" 27.23 27.24 -# Rules to configure and make the package. 27.25 -compile_rules() 27.26 -{ 27.27 - if [ ! -f done.tail_busybox.patch ]; then 27.28 - patch -p1 -i $stuff/tail_busybox.patch && \ 27.29 - touch done.tail_busybox.patch 27.30 - fi 27.31 - make 27.32 +compile_rules() { 27.33 + make || return 1 27.34 + install -Dm 755 $src/multitail $install/usr/bin/multitail 27.35 + install -Dm 644 $src/multitail.conf $install/etc/multitail.conf 27.36 } 27.37 27.38 -# Rules to gen a SliTaz package suitable for Tazpkg. 27.39 -genpkg_rules() 27.40 -{ 27.41 - mkdir -p $fs/usr/bin $fs/etc 27.42 - cp -a $src/$PACKAGE $fs/usr/bin 27.43 - cp -a $src/$PACKAGE.conf $fs/etc 27.44 - 27.45 +genpkg_rules() { 27.46 + copy @std 27.47 # Set minimum config. 27.48 sed -i 's/check_mail:5/check_mail:0/' $fs/etc/multitail.conf 27.49 + DEPENDS="ncurses" 27.50 + CONFIG_FILES="/etc/multitail.conf" 27.51 }
28.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 28.2 +++ b/multitail/stuff/patches/series Mon Mar 12 02:18:53 2018 +0200 28.3 @@ -0,0 +1,1 @@ 28.4 +-p1|tail_busybox.patch
29.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 29.2 +++ b/multitail/stuff/patches/tail_busybox.patch Mon Mar 12 02:18:53 2018 +0200 29.3 @@ -0,0 +1,40 @@ 29.4 +--- multitail-5.2.2.ori/Makefile Mon May 19 11:19:09 2008 29.5 ++++ multitail-5.2.2/Makefile Wed May 6 15:37:03 2009 29.6 +@@ -6,7 +6,7 @@ 29.7 + DEBUG=-g # -D_DEBUG # -pg # -D_DEBUG #-pg -W -pedantic # -pg #-fprofile-arcs 29.8 + LDFLAGS+=-lpanel -lncurses -lutil -lm $(DEBUG) -rdynamic 29.9 + # LDFLAGS+=-lc_p -lpanel_g -lncurses_g -lutil -lm -pg -g -rdynamic 29.10 +-CFLAGS+=-funsigned-char -D`uname` -O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$(CONFIG_FILE)\" 29.11 ++CFLAGS+=-funsigned-char -D`uname` -D__Busybox__ -O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$(CONFIG_FILE)\" 29.12 + 29.13 + OBJS=utils.o mt.o error.o my_pty.o term.o scrollback.o help.o mem.o cv.o selbox.o stripstring.o color.o misc.o ui.o exec.o diff.o config.o cmdline.o globals.o history.o 29.14 + 29.15 +--- multitail-5.2.2.ori/exec.c Mon May 19 11:19:09 2008 29.16 ++++ multitail-5.2.2/exec.c Wed May 6 15:34:59 2009 29.17 +@@ -77,13 +77,15 @@ 29.18 + posix_version = getenv("_POSIX2_VERSION"); 29.19 + 29.20 + /* follow filename is only supported on *BSD and Linux */ 29.21 +-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(linux) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__GNU__) 29.22 ++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(linux) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__GNU__) || defined(__Busybox__) 29.23 + if (follow_filename) 29.24 + { 29.25 +-#if defined(linux) || defined(__CYGWIN__) || defined(__GNU__) 29.26 ++#if !defined(__Busybox__) && (defined(linux) || defined(__CYGWIN__) || defined(__GNU__)) 29.27 + pars[npars++] = "--follow=name"; 29.28 + #elif defined(__OpenBSD__) 29.29 + pars[npars++] = "-f"; 29.30 ++#elif defined(__Busybox__) 29.31 ++ pars[npars++] = "-f"; 29.32 + #else 29.33 + pars[npars++] = "-F"; 29.34 + #endif 29.35 +@@ -95,7 +97,7 @@ 29.36 + else 29.37 + #endif 29.38 + { 29.39 +-#if !defined(linux) && !defined(__CYGWIN__) && !defined(__GNU__) 29.40 ++#if !defined(linux) && !defined(__CYGWIN__) && !defined(__GNU__) && !defined(__Busybox__) 29.41 + if (follow_filename && gnu_tail) 29.42 + pars[npars++] = "--follow=name"; 29.43 + #endif
30.1 --- a/multitail/stuff/tail_busybox.patch Mon Mar 12 00:04:19 2018 +0100 30.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 30.3 @@ -1,40 +0,0 @@ 30.4 ---- multitail-5.2.2.ori/Makefile Mon May 19 11:19:09 2008 30.5 -+++ multitail-5.2.2/Makefile Wed May 6 15:37:03 2009 30.6 -@@ -6,7 +6,7 @@ 30.7 - DEBUG=-g # -D_DEBUG # -pg # -D_DEBUG #-pg -W -pedantic # -pg #-fprofile-arcs 30.8 - LDFLAGS+=-lpanel -lncurses -lutil -lm $(DEBUG) -rdynamic 30.9 - # LDFLAGS+=-lc_p -lpanel_g -lncurses_g -lutil -lm -pg -g -rdynamic 30.10 --CFLAGS+=-funsigned-char -D`uname` -O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$(CONFIG_FILE)\" 30.11 -+CFLAGS+=-funsigned-char -D`uname` -D__Busybox__ -O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$(CONFIG_FILE)\" 30.12 - 30.13 - OBJS=utils.o mt.o error.o my_pty.o term.o scrollback.o help.o mem.o cv.o selbox.o stripstring.o color.o misc.o ui.o exec.o diff.o config.o cmdline.o globals.o history.o 30.14 - 30.15 ---- multitail-5.2.2.ori/exec.c Mon May 19 11:19:09 2008 30.16 -+++ multitail-5.2.2/exec.c Wed May 6 15:34:59 2009 30.17 -@@ -77,13 +77,15 @@ 30.18 - posix_version = getenv("_POSIX2_VERSION"); 30.19 - 30.20 - /* follow filename is only supported on *BSD and Linux */ 30.21 --#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(linux) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__GNU__) 30.22 -+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(linux) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__GNU__) || defined(__Busybox__) 30.23 - if (follow_filename) 30.24 - { 30.25 --#if defined(linux) || defined(__CYGWIN__) || defined(__GNU__) 30.26 -+#if !defined(__Busybox__) && (defined(linux) || defined(__CYGWIN__) || defined(__GNU__)) 30.27 - pars[npars++] = "--follow=name"; 30.28 - #elif defined(__OpenBSD__) 30.29 - pars[npars++] = "-f"; 30.30 -+#elif defined(__Busybox__) 30.31 -+ pars[npars++] = "-f"; 30.32 - #else 30.33 - pars[npars++] = "-F"; 30.34 - #endif 30.35 -@@ -95,7 +97,7 @@ 30.36 - else 30.37 - #endif 30.38 - { 30.39 --#if !defined(linux) && !defined(__CYGWIN__) && !defined(__GNU__) 30.40 -+#if !defined(linux) && !defined(__CYGWIN__) && !defined(__GNU__) && !defined(__Busybox__) 30.41 - if (follow_filename && gnu_tail) 30.42 - pars[npars++] = "--follow=name"; 30.43 - #endif
31.1 --- a/muninlite/receipt Mon Mar 12 00:04:19 2018 +0100 31.2 +++ b/muninlite/receipt Mon Mar 12 02:18:53 2018 +0200 31.3 @@ -1,34 +1,28 @@ 31.4 -# SliTaz package receipt. 31.5 +# SliTaz package receipt v2. 31.6 31.7 PACKAGE="muninlite" 31.8 VERSION="1.0.4" 31.9 CATEGORY="network" 31.10 -SHORT_DESC="Simple Munin node." 31.11 +SHORT_DESC="Simple Munin node" 31.12 MAINTAINER="pascal.bellard@slitaz.org" 31.13 LICENSE="GPL2" 31.14 +WEB_SITE="http://$PACKAGE.sourceforge.net/" 31.15 + 31.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 31.17 -WEB_SITE="http://$PACKAGE.sourceforge.net/" 31.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 31.19 31.20 BUILD_DEPENDS="perl" 31.21 31.22 -# Rules to configure and make the package. 31.23 -compile_rules() 31.24 -{ 31.25 - cd $src 31.26 - make 31.27 +compile_rules() { 31.28 + make && 31.29 + install -Dm 755 $src/munin-node $install/usr/bin/munin-node 31.30 } 31.31 31.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 31.33 -genpkg_rules() 31.34 -{ 31.35 - mkdir -p $fs/usr/bin 31.36 - cp -a $src/munin-node $fs/usr/bin 31.37 +genpkg_rules() { 31.38 + copy @std 31.39 } 31.40 31.41 -# Pre and post install commands for Tazpkg. 31.42 -post_install() 31.43 -{ 31.44 +post_install() { 31.45 grep -q 4949 "$1/etc/services" || 31.46 echo "munin 4949/tcp" >> "$1/etc/services" 31.47 grep -q ^munin "$1/etc/inetd.conf" || cat >> "$1/etc/inetd.conf" <<EOT
32.1 --- a/mxml/receipt Mon Mar 12 00:04:19 2018 +0100 32.2 +++ b/mxml/receipt Mon Mar 12 02:18:53 2018 +0200 32.3 @@ -14,7 +14,9 @@ 32.4 SPLIT="mxml-dev" 32.5 32.6 compile_rules() { 32.7 - ./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install 32.8 + ./configure $CONFIGURE_ARGS && 32.9 + make && 32.10 + make BUILDROOT=$install install 32.11 } 32.12 32.13 genpkg_rules() {
33.1 --- a/nagios/receipt Mon Mar 12 00:04:19 2018 +0100 33.2 +++ b/nagios/receipt Mon Mar 12 02:18:53 2018 +0200 33.3 @@ -15,6 +15,8 @@ 33.4 SPLIT="nagios-dev" 33.5 33.6 compile_rules() { 33.7 + sed -i '/sysconfdir=/ s|^|#|' /etc/slitaz/cook.site # default sysconfdir=/etc 33.8 + 33.9 ./configure \ 33.10 --prefix=/usr \ 33.11 --infodir=/usr/share/info \ 33.12 @@ -45,7 +47,8 @@ 33.13 genpkg_rules() { 33.14 case $PACKAGE in 33.15 nagios) 33.16 - mkdir -p $fs/usr $fs/etc/init.d \ 33.17 + mkdir -p \ 33.18 + $fs/usr $fs/etc/init.d \ 33.19 $fs/var/lib/nagios/rw \ 33.20 $fs/var/log/nagios \ 33.21 $fs/var/spool/nagios/checkresults \
34.1 --- a/nagvis/receipt Mon Mar 12 00:04:19 2018 +0100 34.2 +++ b/nagvis/receipt Mon Mar 12 02:18:53 2018 +0200 34.3 @@ -3,132 +3,136 @@ 34.4 PACKAGE="nagvis" 34.5 VERSION="1.5.7" 34.6 CATEGORY="network" 34.7 -SHORT_DESC="Visualization addon for nagios." 34.8 +SHORT_DESC="Visualization addon for nagios" 34.9 MAINTAINER="erjo@slitaz.org" 34.10 LICENSE="GPL2" 34.11 +WEB_SITE="http://www.nagvis.org/" 34.12 + 34.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 34.14 -WEB_SITE="http://www.nagvis.org/" 34.15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 34.16 34.17 -SPLIT="nagvis nagvis-doc nagvis-flex" 34.18 +SPLIT="nagvis-flex nagvis-doc nagvis" 34.19 34.20 -# Rules to configure and make the package. 34.21 -compile_rules() 34.22 -{ 34.23 - cd $src 34.24 +compile_rules() { 34.25 + mkdir -p \ 34.26 + $install/usr/share/nagvis \ 34.27 + $install/etc/apache/conf.d \ 34.28 + $install/var/lib/nagvis/var/tmpl/cache \ 34.29 + $install/var/lib/nagvis/var/tmpl/compile \ 34.30 + $install/usr/share/doc/nagvis 34.31 + 34.32 + cp -a $src/share $install/usr/share/nagvis 34.33 + cp -a $src/etc $install/etc/nagvis 34.34 + 34.35 + # copy demo maps. 34.36 + #~ cp $install/usr/share/nagios/nagvis/nagvis/images/maps/nagvis-demo.png \ 34.37 + #~ $install/var/lib/nagvis/automap.png 34.38 + 34.39 + # link var direcxtory (FHS) 34.40 + ln -s /var/lib/nagvis/var $install/usr/share/nagvis/var 34.41 + 34.42 + # move config files 34.43 + ln -s /etc/nagvis $install/usr/share/nagvis/etc 34.44 + 34.45 + # nagvis config 34.46 + mv $install/etc/nagvis/nagvis.ini.php-sample \ 34.47 + $install/etc/nagvis/nagvis.ini.php 34.48 + 34.49 + # Apache config 34.50 + mv $install/etc/nagvis/apache2-nagvis.conf-sample \ 34.51 + $install/etc/nagvis/apache2-nagvis.conf 34.52 + ln -s /etc/nagvis/apache2-nagvis.conf $install/etc/apache/conf.d/nagvis.conf 34.53 + 34.54 + # Fix perms 34.55 + chown -R www.www $install/usr/share/nagvis $install/var/lib/nagvis 34.56 + chown -R root.www $install/etc/nagvis 34.57 + 34.58 + chmod 664 $install/etc/nagvis/nagvis.ini.php 34.59 + chmod 775 $install/etc/nagvis/maps 34.60 + chmod 664 $install/etc/nagvis/maps/* 34.61 + chmod 664 $install/etc/nagvis/geomap/* 34.62 + chmod 664 $install/etc/nagvis/automaps/* 34.63 + chmod 775 $install/var/lib/nagvis 34.64 + 34.65 + 34.66 + mv $install/usr/share/nagvis/share/userfiles/images/maps \ 34.67 + $install/var/lib/nagvis 34.68 + chmod 775 $install/var/lib/nagvis/maps 34.69 + chmod 664 $install/var/lib/nagvis/maps/* 34.70 + ln -s /var/lib/nagvis/maps $install/usr/share/nagvis/share/userfiles/images/ 34.71 + 34.72 + # Nagvis Flex 34.73 + mkdir -p $install/usr/share/nagvis 34.74 + cp -a $src/uifx $install/usr/share/nagvis 34.75 + 34.76 + cook_pick_docs INSTALL LICENCE README ChangeLog 34.77 + 34.78 + mkdir -p $install/usr/share/nagvis/ 34.79 + cp -a $src/docs $install/usr/share/nagvis/ 34.80 } 34.81 34.82 -# Rules to gen a SliTaz package suitable for Tazpkg. 34.83 -genpkg_rules() 34.84 -{ 34.85 +genpkg_rules() { 34.86 case $PACKAGE in 34.87 - nagvis) 34.88 - SUGGESTED="graphviz" 34.89 - DEPENDS="nagios php-mysql php-gd ndoutils mk-livestatus" 34.90 - mkdir -p $fs/usr/share/nagvis \ 34.91 - $fs/etc/apache/conf.d \ 34.92 - $fs/var/lib/nagvis/var/tmpl/cache \ 34.93 - $fs/var/lib/nagvis/var/tmpl/compile \ 34.94 - $fs/usr/share/doc/nagvis 34.95 - 34.96 - cp -a $src/share $fs/usr/share/nagvis 34.97 - cp -a $src/etc $fs/etc/nagvis 34.98 - 34.99 - # copy demo maps. 34.100 - #~ cp $fs/usr/share/nagios/nagvis/nagvis/images/maps/nagvis-demo.png \ 34.101 - #~ $fs/var/lib/nagvis/automap.png 34.102 - 34.103 - # link var direcxtory (FHS) 34.104 - ln -s /var/lib/nagvis/var $fs/usr/share/nagvis/var 34.105 - 34.106 - # move config files 34.107 - ln -s /etc/nagvis $fs/usr/share/nagvis/etc 34.108 - 34.109 - # nagvis config 34.110 - mv $fs/etc/nagvis/nagvis.ini.php-sample $fs/etc/nagvis/nagvis.ini.php 34.111 - sed -i -e 's|;language=|language=|' \ 34.112 - -e 's|;dateformat="Y-m-d H:i:s"|dateformat="d-m-Y H:i:s"|' \ 34.113 - -e 's|;base=.*|base="/usr/share/nagvis/"|' \ 34.114 - -e 's|;htmlbase=|htmlbase=|' \ 34.115 - -e 's|;htmlcgi=|htmlcgi=|' \ 34.116 - -e 's|;backendtype=|backendtype=|' \ 34.117 - -e 's|;dbhost=|dbhost=|' \ 34.118 - -e 's|;dbport=|dbport=|' \ 34.119 - -e 's|;dbname=|dbname=|' \ 34.120 - -e 's|;dbname=|dbname=|' \ 34.121 - -e 's|;dbuser=|dbuser=|' \ 34.122 - -e 's|;dbpass=""|dbpass=|' \ 34.123 - -e 's|;dbprefix=|dbprefix=|' \ 34.124 - -e 's|;dbinstancename=|dbinstancename=|' \ 34.125 - $fs/etc/nagvis/nagvis.ini.php 34.126 - 34.127 - sed -i -e '/;logonmodule=/ { 34.128 + nagvis-flex) 34.129 + copy uifx 34.130 + CAT="network|Nagvis Flex" 34.131 + DEPENDS="nagvis" 34.132 + ;; 34.133 + nagvis-doc) 34.134 + copy docs/ 34.135 + CAT="network|documentation" 34.136 + DEPENDS="nagvis" 34.137 + ;; 34.138 + nagvis) 34.139 + copy @std @rm 34.140 + SUGGESTED="graphviz" 34.141 + DEPENDS="nagios php-mysql php-gd ndoutils mk-livestatus" 34.142 + 34.143 + # nagvis config 34.144 + sed -i -e 's|;language=|language=|' \ 34.145 + -e 's|;dateformat="Y-m-d H:i:s"|dateformat="d-m-Y H:i:s"|' \ 34.146 + -e 's|;base=.*|base="/usr/share/nagvis/"|' \ 34.147 + -e 's|;htmlbase=|htmlbase=|' \ 34.148 + -e 's|;htmlcgi=|htmlcgi=|' \ 34.149 + -e 's|;backendtype=|backendtype=|' \ 34.150 + -e 's|;dbhost=|dbhost=|' \ 34.151 + -e 's|;dbport=|dbport=|' \ 34.152 + -e 's|;dbname=|dbname=|' \ 34.153 + -e 's|;dbname=|dbname=|' \ 34.154 + -e 's|;dbuser=|dbuser=|' \ 34.155 + -e 's|;dbpass=""|dbpass=|' \ 34.156 + -e 's|;dbprefix=|dbprefix=|' \ 34.157 + -e 's|;dbinstancename=|dbinstancename=|' \ 34.158 + -e '/;socket/ a\socket="unix:/var/lib/nagios/rw/live"' \ 34.159 + -e 's/;showautomaps=1/showautomaps=0/' \ 34.160 + -e '/;logonmodule=/ { 34.161 a\logonmodule="LogonEnv"\ 34.162 logonenvvar="REMOTE_USER"\ 34.163 logonenvcreateuser="0" 34.164 - }' $fs/etc/nagvis/nagvis.ini.php 34.165 - sed -i -e '/;socket/ a\socket="unix:/var/lib/nagios/rw/live"' $fs/etc/nagvis/nagvis.ini.php 34.166 - sed -i -e 's/;showautomaps=1/showautomaps=0/' $fs/etc/nagvis/nagvis.ini.php 34.167 - 34.168 - # Apache config 34.169 - mv $fs/etc/nagvis/apache2-nagvis.conf-sample $fs/etc/nagvis/apache2-nagvis.conf 34.170 - ln -s /etc/nagvis/apache2-nagvis.conf $fs/etc/apache/conf.d/nagvis.conf 34.171 - sed -i -e 's|@NAGVIS_WEB@|/nagvis|' \ 34.172 - -e 's|@NAGVIS_PATH@|/usr/share/nagvis|' \ 34.173 - -e 's|#AuthName|AuthName|' \ 34.174 - -e 's|#AuthType|AuthType|' \ 34.175 - -e 's|#AuthUserFile|AuthUserFile|' \ 34.176 - -e 's|@NAGIOS_PATH@.*|/etc/nagios/htpasswd.users|' \ 34.177 - -e 's| #Require|Require|' $fs/etc/nagvis/apache2-nagvis.conf 34.178 - 34.179 - # Fix perms 34.180 - chown -R www.www $fs/usr/share/nagvis $fs/var/lib/nagvis 34.181 - chown -R root.www $fs/etc/nagvis 34.182 - 34.183 - chmod 664 $fs/etc/nagvis/nagvis.ini.php 34.184 - chmod 775 $fs/etc/nagvis/maps 34.185 - chmod 664 $fs/etc/nagvis/maps/* 34.186 - chmod 664 $fs/etc/nagvis/geomap/* 34.187 - chmod 664 $fs/etc/nagvis/automaps/* 34.188 - chmod 775 $fs/var/lib/nagvis 34.189 + }' \ 34.190 + $fs/etc/nagvis/nagvis.ini.php 34.191 34.192 - # Cleanup 34.193 - rm -f $fs/usr/share/nagvis/install.* 34.194 - rm -f $fs/usr/share/nagvis/share/uifx 34.195 - 34.196 - mv $fs/usr/share/nagvis/share/userfiles/images/maps $fs/var/lib/nagvis 34.197 - chmod 775 $fs/var/lib/nagvis/maps 34.198 - chmod 664 $fs/var/lib/nagvis/maps/* 34.199 - ln -s /var/lib/nagvis/maps $fs/usr/share/nagvis/share/userfiles/images/ 34.200 - ;; 34.201 - nagvis-doc) 34.202 - CAT="network|Nagvis documentation and licence" 34.203 - DEPENDS="nagvis" 34.204 - mkdir -p $fs/usr/share/doc/nagvis \ 34.205 - $fs/usr/share/nagvis 34.206 - 34.207 - # Copy doc and licence 34.208 - cp -a $src/INSTALL $fs/usr/share/doc/nagvis 34.209 - cp -a $src/LICENCE $fs/usr/share/doc/nagvis 34.210 - cp -a $src/README $fs/usr/share/doc/nagvis 34.211 - cp -a $src/ChangeLog $fs/usr/share/doc/nagvis 34.212 - cp -pa $src/docs $fs/usr/share/nagvis 34.213 - ;; 34.214 - nagvis-flex) 34.215 - CAT="network|Nagvis Flex" 34.216 - DEPENDS="nagvis" 34.217 - mkdir -p $fs/usr/share/nagvis 34.218 - 34.219 - # Copy doc and licence 34.220 - cp -a $src/uifx $fs/usr/share/nagvis 34.221 - ;; 34.222 + # Apache config 34.223 + sed -i -e 's|@NAGVIS_WEB@|/nagvis|' \ 34.224 + -e 's|@NAGVIS_PATH@|/usr/share/nagvis|' \ 34.225 + -e 's|#AuthName|AuthName|' \ 34.226 + -e 's|#AuthType|AuthType|' \ 34.227 + -e 's|#AuthUserFile|AuthUserFile|' \ 34.228 + -e 's|@NAGIOS_PATH@.*|/etc/nagios/htpasswd.users|' \ 34.229 + -e 's| #Require|Require|' $fs/etc/nagvis/apache2-nagvis.conf 34.230 + 34.231 + # Cleanup 34.232 + rm -f $fs/usr/share/nagvis/install.* 34.233 + ;; 34.234 esac 34.235 } 34.236 34.237 -post_install_nagvis() 34.238 -{ 34.239 - cat <<EOT 34.240 -Now visit http://localhost/nagvis 34.241 +post_install_nagvis() { 34.242 + [ -n "$quiet" ] || cat <<EOT 34.243 + 34.244 + .-----------------------------------. 34.245 + | Now visit http://localhost/nagvis | 34.246 + '-----------------------------------' 34.247 EOT 34.248 if [ -z "$1" ]; then 34.249 /etc/init.d/nagios stop
35.1 --- a/nareto/receipt Mon Mar 12 00:04:19 2018 +0100 35.2 +++ b/nareto/receipt Mon Mar 12 02:18:53 2018 +0200 35.3 @@ -14,21 +14,69 @@ 35.4 CONFIG_FILES="/etc/nagios" 35.5 35.6 DEPENDS="nagios apache php php-cli mysql perl-dbd-mysql perl-dbi" 35.7 -SPLIT="nareto-doc" 35.8 +SPLIT="nareto-doc nareto" 35.9 35.10 compile_rules() { 35.11 chown -R www.www * 35.12 chmod -R 755 * 35.13 chmod u+x scripts/*.pl 35.14 + 35.15 + mkdir -p \ 35.16 + $install/usr/share/nareto/ \ 35.17 + $install/etc/mysql.d/ \ 35.18 + $install/etc/initcron.d/ \ 35.19 + $install/etc/nagios/ 35.20 + cp -a $src $install/usr/share/nareto/ 35.21 + cp -a stuff/* $install 35.22 + 35.23 + mv $install/usr/share/nareto/include/config.ini.php \ 35.24 + $install/etc/nagios/nareto.init.php 35.25 + ln -s /etc/nagios/nareto.init.php \ 35.26 + $install/usr/share/nareto/include/config.ini.php 35.27 + 35.28 + cat > $install/etc/mysql.d/nareto <<EOM 35.29 +#!/bin/sh 35.30 + 35.31 +mysqldump nareto > /dev/null 2>&1 || mysql <<EOT 35.32 +create database nareto; 35.33 +use nareto; 35.34 + 35.35 +\. /usr/share/nareto/scripts/nareto.sql 35.36 + 35.37 +GRANT USAGE ON nareto.* TO 'nareto'@'localhost' IDENTIFIED BY 'nareto'; 35.38 +FLUSH PRIVILEGES; 35.39 + 35.40 +EOT 35.41 +chmod -x /etc/mysql.d/nareto 35.42 +EOM 35.43 + chmod +x $install/etc/mysql.d/nareto 35.44 + 35.45 + cat > $install/etc/initcron.d/nareto <<EOT 35.46 +# Reporting 35.47 +#FIXME LEAK?#*/5 * * * * root /usr/bin/php /usr/share/nareto/scripts/nareto_dispo_cron_5min.php > /dev/null 2>&1 35.48 +#FIXME LEAK?#2 * * * * root /usr/bin/php /usr/share/nareto/scripts/nareto_dispo_cron_1h.php > /dev/null 2>&1 35.49 +#FIXME LEAK?#4 14 * * * root /usr/bin/php /usr/share/nareto/scripts/nareto_dispo_cron_1jour.php > /dev/null 2>&1 35.50 + 35.51 +# Suivi des alarmes 35.52 +#FIXME LEAK?#30 0 * * * root /usr/bin/perl /usr/share/nareto/scripts/nagios_alert.pl > /dev/null 2>&1 35.53 +#FIXME LEAK?#0 1 * * * root /usr/bin/perl /usr/share/nareto/scripts/nagios_alert_agregation.pl > /dev/null 2>&1 35.54 + 35.55 +EOT 35.56 + chmod +x $install/etc/initcron.d/nareto 35.57 + 35.58 + mkdir -p $install/usr/share/nareto 35.59 + cp -a $src/docs $install/usr/share/nareto 35.60 } 35.61 35.62 genpkg_rules() { 35.63 case $PACKAGE in 35.64 + nareto-doc) 35.65 + copy docs/ 35.66 + CAT="network|documentation" 35.67 + DEPENDS="nareto" 35.68 + ;; 35.69 nareto) 35.70 - mkdir -p $fs/usr/share $fs/etc/mysql.d $fs/etc/initcron.d $fs/etc/nagios 35.71 - 35.72 - cp -a $src $fs/usr/share/nareto 35.73 - cp -a stuff/* $fs 35.74 + copy @std @rm 35.75 sed -i 's/oreon.jpg/centreon.png/' $fs/usr/share/nareto/index.php 35.76 sed -i -e 's/oreon/centreon/g' -e 's/Oreon/Centreon/g' \ 35.77 $fs/usr/share/nareto/index.php \ 35.78 @@ -44,50 +92,9 @@ 35.79 sed -i 's/<?php php/<?php/g' "$file" 35.80 sed -i 's/<?php =/<?php echo /g' "$file" 35.81 done 35.82 - mv $fs/usr/share/nareto/include/config.ini.php \ 35.83 - $fs/etc/nagios/nareto.init.php 35.84 - ln -s /etc/nagios/nareto.init.php \ 35.85 - $fs/usr/share/nareto/include/config.ini.php 35.86 sed -i -e 's/user$/nareto/' -e 's/password$/nareto/' \ 35.87 $fs/etc/nagios/nareto.init.php 35.88 chmod 700 $fs/etc/nagios/nareto.init.php 35.89 - cat > $fs/etc/mysql.d/nareto <<EOM 35.90 -#!/bin/sh 35.91 - 35.92 -mysqldump nareto > /dev/null 2>&1 || mysql <<EOT 35.93 -create database nareto; 35.94 -use nareto; 35.95 - 35.96 -\. /usr/share/nareto/scripts/nareto.sql 35.97 - 35.98 -GRANT USAGE ON nareto.* TO 'nareto'@'localhost' IDENTIFIED BY 'nareto'; 35.99 -FLUSH PRIVILEGES; 35.100 - 35.101 -EOT 35.102 -chmod -x /etc/mysql.d/nareto 35.103 -EOM 35.104 - chmod +x $fs/etc/mysql.d/nareto 35.105 - cat > $fs/etc/initcron.d/nareto <<EOT 35.106 -# Reporting 35.107 -#FIXME LEAK?#*/5 * * * * root /usr/bin/php /usr/share/nareto/scripts/nareto_dispo_cron_5min.php > /dev/null 2>&1 35.108 -#FIXME LEAK?#2 * * * * root /usr/bin/php /usr/share/nareto/scripts/nareto_dispo_cron_1h.php > /dev/null 2>&1 35.109 -#FIXME LEAK?#4 14 * * * root /usr/bin/php /usr/share/nareto/scripts/nareto_dispo_cron_1jour.php > /dev/null 2>&1 35.110 - 35.111 -# Suivi des alarmes 35.112 -#FIXME LEAK?#30 0 * * * root /usr/bin/perl /usr/share/nareto/scripts/nagios_alert.pl > /dev/null 2>&1 35.113 -#FIXME LEAK?#0 1 * * * root /usr/bin/perl /usr/share/nareto/scripts/nagios_alert_agregation.pl > /dev/null 2>&1 35.114 - 35.115 -EOT 35.116 - chmod +x $fs/etc/initcron.d/nareto 35.117 - 35.118 - # Move doc in nareto-doc package. 35.119 - rm -rf $fs/usr/share/nareto/docs 35.120 - ;; 35.121 - nareto-doc) 35.122 - mkdir -p $fs/usr/share/nareto 35.123 - cp -a $src/docs $fs/usr/share/nareto 35.124 - CAT="network|documentation" 35.125 - DEPENDS="nareto" 35.126 ;; 35.127 esac 35.128 }
36.1 --- a/nethogs/receipt Mon Mar 12 00:04:19 2018 +0100 36.2 +++ b/nethogs/receipt Mon Mar 12 02:18:53 2018 +0200 36.3 @@ -1,28 +1,25 @@ 36.4 -# SliTaz package receipt. 36.5 +# SliTaz package receipt v2. 36.6 36.7 PACKAGE="nethogs" 36.8 VERSION="0.8.0" 36.9 CATEGORY="network" 36.10 -SHORT_DESC="Small 'net top' tool." 36.11 +SHORT_DESC="Small 'net top' tool" 36.12 MAINTAINER="paul@slitaz.org" 36.13 LICENSE="GPL" 36.14 +WEB_SITE="http://nethogs.sourceforge.net/" 36.15 + 36.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 36.17 -WEB_SITE="http://nethogs.sourceforge.net/" 36.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 36.19 -TAGS="network" 36.20 36.21 -DEPENDS="ncurses gcc-lib-base libpcap" 36.22 BUILD_DEPENDS="ncurses-dev libpcap libpcap-dev" 36.23 36.24 -# Rules to configure and make the package. 36.25 -compile_rules() 36.26 -{ 36.27 - make 36.28 +compile_rules() { 36.29 + make && 36.30 + install -Dm 755 $src/nethogs $install/usr/sbin/nethogs 36.31 } 36.32 36.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 36.34 -genpkg_rules() 36.35 -{ 36.36 - mkdir -p $fs/usr/sbin 36.37 - cp $src/$PACKAGE $fs/usr/sbin 36.38 +genpkg_rules() { 36.39 + copy @std 36.40 + DEPENDS="ncurses gcc-lib-base libpcap" 36.41 + TAGS="network" 36.42 }
37.1 --- a/nmon/receipt Mon Mar 12 00:04:19 2018 +0100 37.2 +++ b/nmon/receipt Mon Mar 12 02:18:53 2018 +0200 37.3 @@ -1,27 +1,25 @@ 37.4 -# SliTaz package receipt 37.5 +# SliTaz package receipt v2. 37.6 + 37.7 PACKAGE="nmon" 37.8 VERSION="14g" 37.9 CATEGORY="system-tools" 37.10 -SHORT_DESC="Nigel's performance Monitor." 37.11 +SHORT_DESC="Nigel's performance Monitor" 37.12 MAINTAINER="meshca@clarkson.edu" 37.13 -TARBALL="lmon$VERSION.c" 37.14 LICENSE="GPL3" 37.15 WEB_SITE="http://nmon.sourceforge.net/" 37.16 + 37.17 +TARBALL="lmon$VERSION.c" 37.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 37.19 37.20 -DEPENDS="ncurses" 37.21 BUILD_DEPENDS="linux-api-headers ncurses-dev" 37.22 37.23 -# Rules to configure and make the package. 37.24 -compile_rules() 37.25 -{ 37.26 +compile_rules() { 37.27 cc -o nmon lmon$VERSION.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM \ 37.28 - -lncurses -g -D POWER 37.29 + -lncurses -g -D POWER && 37.30 + install -Dm 755 $src/nmon $install/usr/bin/nmon 37.31 } 37.32 - 37.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 37.34 -genpkg_rules() 37.35 -{ 37.36 - mkdir -p $fs/usr/bin/ 37.37 - cp -a $src/nmon $fs/usr/bin/nmon 37.38 + 37.39 +genpkg_rules() { 37.40 + copy @std 37.41 + DEPENDS="ncurses" 37.42 }
38.1 --- a/ntl/receipt Mon Mar 12 00:04:19 2018 +0100 38.2 +++ b/ntl/receipt Mon Mar 12 02:18:53 2018 +0200 38.3 @@ -1,4 +1,4 @@ 38.4 -# SliTaz package receipt. 38.5 +# SliTaz package receipt v2. 38.6 38.7 PACKAGE="ntl" 38.8 VERSION="5.5.2" 38.9 @@ -7,25 +7,31 @@ 38.10 MAINTAINER="al.bobylev@gmail.com" 38.11 LICENSE="GPL" 38.12 WEB_SITE="http://shoup.net/ntl/" 38.13 + 38.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 38.15 WGET_URL="$WEB_SITE/$TARBALL" 38.16 38.17 -DEPENDS="" 38.18 BUILD_DEPENDS="gmp-dev gf2x-dev libtool" 38.19 38.20 -# Rules to configure and make the package. 38.21 -compile_rules() 38.22 -{ 38.23 +compile_rules() { 38.24 + case $ARCH in 38.25 + x86_64) Arch='nocona';; 38.26 + *) Arch="$ARCH";; 38.27 + esac 38.28 + 38.29 cd $src/src 38.30 - ./configure CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer" \ 38.31 - DEF_PREFIX=/usr NTL_STD_CXX=on NTL_GMP_LIP=on NTL_GF2X_LIB=on && 38.32 + ./configure \ 38.33 + CFLAGS="-march=$Arch -Os -pipe -fomit-frame-pointer" \ 38.34 + DEF_PREFIX=/usr \ 38.35 + NTL_STD_CXX=on \ 38.36 + NTL_GMP_LIP=on \ 38.37 + NTL_GF2X_LIB=on \ 38.38 + && 38.39 make && 38.40 - sed -i '/^DEF_PREFIX=\/usr$/d' makefile 38.41 + sed -i '/^DEF_PREFIX=\/usr$/d' makefile && 38.42 make DEF_PREFIX=$install/usr install 38.43 } 38.44 38.45 -# Rules to gen a SliTaz package suitable for Tazpkg. 38.46 -genpkg_rules() 38.47 -{ 38.48 - cp -a $install/* $fs 38.49 +genpkg_rules() { 38.50 + copy @std 38.51 }
39.1 --- a/ntlmaps/receipt Mon Mar 12 00:04:19 2018 +0100 39.2 +++ b/ntlmaps/receipt Mon Mar 12 02:18:53 2018 +0200 39.3 @@ -1,36 +1,34 @@ 39.4 -# SliTaz package receipt. 39.5 +# SliTaz package receipt v2. 39.6 39.7 PACKAGE="ntlmaps" 39.8 VERSION="0.9.9.0.1" 39.9 CATEGORY="network" 39.10 -SHORT_DESC="NTLM Authorization Proxy Server to authenticate via an MS Proxy." 39.11 +SHORT_DESC="NTLM Authorization Proxy Server to authenticate via an MS Proxy" 39.12 MAINTAINER="pascal.bellard@slitaz.org" 39.13 LICENSE="GPL2" 39.14 +WEB_SITE="http://ntlmaps.sourceforge.net/" 39.15 + 39.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 39.17 -WEB_SITE="http://ntlmaps.sourceforge.net/" 39.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 39.19 -CONFIG_FILES="/etc/ntlmaps.conf" 39.20 -TAGS="proxy server" 39.21 39.22 -DEPENDS="python" 39.23 - 39.24 -# Rules to configure and make the package. 39.25 -compile_rules() 39.26 -{ 39.27 - cd $src 39.28 -} 39.29 - 39.30 -# Rules to gen a SliTaz package suitable for Tazpkg. 39.31 -genpkg_rules() 39.32 -{ 39.33 - mkdir -p $fs/usr/share/ntlmaps $fs/usr/bin $fs/etc 39.34 - cp -a $src/* $fs/usr/share/ntlmaps 39.35 - mv $fs/usr/share/ntlmaps/server.cfg $fs/etc/ntlmaps.conf 39.36 - ln -s /etc/ntlmaps.conf $fs/usr/share/ntlmaps/server.cfg 39.37 - cat > $fs/usr/bin/ntlmaps <<EOT 39.38 +compile_rules() { 39.39 + mkdir -p \ 39.40 + $install/usr/share/ntlmaps \ 39.41 + $install/usr/bin \ 39.42 + $install/etc 39.43 + cp -a $src/* $install/usr/share/ntlmaps 39.44 + mv $install/usr/share/ntlmaps/server.cfg $install/etc/ntlmaps.conf 39.45 + ln -s /etc/ntlmaps.conf $install/usr/share/ntlmaps/server.cfg 39.46 + cat > $install/usr/bin/ntlmaps <<EOT 39.47 #!/bin/sh 39.48 exec python /usr/share/ntlmaps/main.py 39.49 EOT 39.50 - chmod +x $fs/usr/bin/ntlmaps 39.51 + chmod +x $install/usr/bin/ntlmaps 39.52 } 39.53 39.54 +genpkg_rules() { 39.55 + copy @std 39.56 + DEPENDS="python" 39.57 + CONFIG_FILES="/etc/ntlmaps.conf" 39.58 + TAGS="proxy server" 39.59 +}
40.1 --- a/ntpclient/receipt Mon Mar 12 00:04:19 2018 +0100 40.2 +++ b/ntpclient/receipt Mon Mar 12 02:18:53 2018 +0200 40.3 @@ -1,4 +1,4 @@ 40.4 -# SliTaz package receipt. 40.5 +# SliTaz package receipt v2. 40.6 40.7 PACKAGE="ntpclient" 40.8 VERSION="2015_365" 40.9 @@ -6,27 +6,23 @@ 40.10 SHORT_DESC="Tiny NTP Client" 40.11 MAINTAINER="erjo@slitaz.org" 40.12 LICENSE="GPL2" 40.13 +WEB_SITE="http://doolittle.icarus.com/ntpclient/" 40.14 + 40.15 TARBALL="${PACKAGE}_$VERSION.tar.gz" 40.16 -WEB_SITE="http://doolittle.icarus.com/ntpclient/" 40.17 WGET_URL="${WEB_SITE}$TARBALL" 40.18 40.19 -# Rules to configure and make the package. 40.20 -compile_rules() 40.21 -{ 40.22 +compile_rules() { 40.23 # disable debug 40.24 sed -i 's/\(^CFLAGS += -DENABLE_DEBUG\)/#\1/' Makefile && 40.25 - make 40.26 + make && 40.27 + install -Dm 755 $src/ntpclient $install/usr/bin/ntpclient 40.28 } 40.29 40.30 -# Rules to gen a SliTaz package suitable for Tazpkg. 40.31 -genpkg_rules() 40.32 -{ 40.33 - mkdir -p $fs/usr/bin 40.34 - cp -a $src/ntpclient $fs/usr/bin 40.35 +genpkg_rules() { 40.36 + copy @std 40.37 } 40.38 40.39 -post_install() 40.40 -{ 40.41 +post_install() { 40.42 [ -n "$1" -o -n "$quiet" ] && return 40.43 echo -en '\nDo you want to run ntpclient in automatic mode (y/N): ' 40.44 read -t 30 anser 40.45 @@ -39,6 +35,13 @@ 40.46 0 0 * * * /usr/bin/ntpclient -s -h $srv 40.47 EOT 40.48 else 40.49 - echo "Don't forget to run ntpclient -s -h <NTP Server>" 40.50 + cat <<EOT 40.51 + 40.52 + .------------------------------. 40.53 + | Don't forget to run: | 40.54 + | | 40.55 + | ntpclient -s -h <NTP Server> | 40.56 + '------------------------------' 40.57 +EOT 40.58 fi 40.59 }
41.1 --- a/othello/receipt Mon Mar 12 00:04:19 2018 +0100 41.2 +++ b/othello/receipt Mon Mar 12 02:18:53 2018 +0200 41.3 @@ -1,26 +1,25 @@ 41.4 -# SliTaz package receipt. 41.5 +# SliTaz package receipt v2. 41.6 41.7 PACKAGE="othello" 41.8 VERSION="1.0" 41.9 CATEGORY="games" 41.10 SHORT_DESC="Othello game in javascript" 41.11 -TARBALL="$PACKAGE-$VERSION.tar.lzma" 41.12 MAINTAINER="pascal.bellard@slitaz.org" 41.13 LICENSE="MIT" 41.14 WEB_SITE="http://www.posi.net/software/othello/" 41.15 41.16 -# Rules to configure and make the package. 41.17 -compile_rules() 41.18 -{ 41.19 - mkdir -p $src/images 2> /dev/null 41.20 +TARBALL="$PACKAGE-$VERSION.tar.lzma" 41.21 + 41.22 +compile_rules() { 41.23 + mkdir -p $src/images 2>/dev/null 41.24 cd $src 41.25 if [ ! -s othello.js ]; then 41.26 - if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then 41.27 - unlzma -c $SOURCES_REPOSITORY/$TARBALL | tar xf - 41.28 + if [ -f $SRC/$TARBALL ]; then 41.29 + unlzma -c $SRC/$TARBALL | tar xf - 41.30 mv $PACKAGE-$VERSION/* . 41.31 else 41.32 - wget -O $SOURCES_REPOSITORY/$TARBALL http://mirror.slitaz.org/sources/packages/o/$TARBALL && 41.33 - unlzma -c $SOURCES_REPOSITORY/$TARBALL | tar xf - 41.34 + wget -O $SRC/$TARBALL http://mirror.slitaz.org/sources/packages/o/$TARBALL && 41.35 + unlzma -c $SRC/$TARBALL | tar xf - 41.36 mv $PACKAGE-$VERSION/* . 41.37 fi 41.38 fi 41.39 @@ -30,15 +29,13 @@ 41.40 # [ -s $i ] || wget -P $(dirname $i) $WEB_SITE/$i 41.41 #done 41.42 sed -i 's|TITLE>.*</TITLE|TITLE>Othello</TITLE|' index.html 41.43 -} 41.44 41.45 -# Rules to gen a SliTaz package suitable for Tazpkg. 41.46 -genpkg_rules() 41.47 -{ 41.48 - mkdir -p $fs/var/www/othello $fs/usr/share/applications 41.49 - cp -a $src/* $fs/var/www/othello 41.50 - chown -R 80.80 $fs/var/www/othello 41.51 - cat > $fs/usr/share/applications/othello.desktop <<EOT 41.52 + mkdir -p \ 41.53 + $install/var/www/othello \ 41.54 + $install/usr/share/applications 41.55 + cp -a $src/* $install/var/www/othello 41.56 + chown -R 80.80 $install/var/www/othello 41.57 + cat > $install/usr/share/applications/othello.desktop <<EOT 41.58 [Desktop Entry] 41.59 Type=Application 41.60 Name=Othello 41.61 @@ -50,3 +47,7 @@ 41.62 EOT 41.63 } 41.64 41.65 +genpkg_rules() { 41.66 + copy @std 41.67 +} 41.68 +
42.1 --- a/outguess/receipt Mon Mar 12 00:04:19 2018 +0100 42.2 +++ b/outguess/receipt Mon Mar 12 02:18:53 2018 +0200 42.3 @@ -1,27 +1,25 @@ 42.4 -# SliTaz package receipt. 42.5 +# SliTaz package receipt v2. 42.6 42.7 PACKAGE="outguess" 42.8 VERSION="0.2" 42.9 CATEGORY="security" 42.10 -SHORT_DESC="steganographic tool for JPEG and PNG images." 42.11 +SHORT_DESC="Steganographic tool for JPEG and PNG images" 42.12 MAINTAINER="pascal.bellard@slitaz.org" 42.13 LICENSE="BSD" 42.14 +WEB_SITE="http://www.outguess.org/" 42.15 + 42.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 42.17 -WEB_SITE="http://www.outguess.org/" 42.18 WGET_URL="$WEB_SITE/$TARBALL" 42.19 -TAGS="stenography" 42.20 42.21 -# Rules to configure and make the package. 42.22 -compile_rules() 42.23 -{ 42.24 - ./configure --prefix=/usr \ 42.25 +compile_rules() { 42.26 + ./configure \ 42.27 + --prefix=/usr \ 42.28 $CONFIGURE_ARGS && 42.29 - make 42.30 + make && 42.31 + install -Dm 755 $src/outguess $fs/usr/bin/outguess 42.32 } 42.33 42.34 -# Rules to gen a SliTaz package suitable for Tazpkg. 42.35 -genpkg_rules() 42.36 -{ 42.37 - mkdir -p $fs/usr/bin 42.38 - cp -a $src/outguess $fs/usr/bin 42.39 +genpkg_rules() { 42.40 + copy @std 42.41 + TAGS="stenography" 42.42 }
43.1 --- a/p0f/receipt Mon Mar 12 00:04:19 2018 +0100 43.2 +++ b/p0f/receipt Mon Mar 12 02:18:53 2018 +0200 43.3 @@ -1,30 +1,34 @@ 43.4 -# SliTaz package receipt. 43.5 +# SliTaz package receipt v2. 43.6 43.7 PACKAGE="p0f" 43.8 VERSION="3.01b" 43.9 CATEGORY="network" 43.10 -SHORT_DESC="passive OS fingerprinting tool" 43.11 +SHORT_DESC="Passive OS fingerprinting tool" 43.12 MAINTAINER="slaxemulator@gmail.com" 43.13 LICENSE="LGPL" 43.14 +WEB_SITE="http://lcamtuf.coredump.cx/p0f.shtml" 43.15 + 43.16 TARBALL="$PACKAGE-$VERSION.tgz" 43.17 -WEB_SITE="http://lcamtuf.coredump.cx/p0f.shtml" 43.18 WGET_URL="http://lcamtuf.coredump.cx/p0f${VERSION%.*}/releases/$TARBALL" 43.19 43.20 BUILD_DEPENDS="libpcap-dev" 43.21 43.22 -# Rules to configure and make the package. 43.23 -compile_rules() 43.24 -{ 43.25 - cd $src 43.26 - make && cd tools && make 43.27 +compile_rules() { 43.28 + make && 43.29 + cd tools && make || return 1 43.30 + 43.31 + mkdir -p \ 43.32 + $install/usr/sbin/ \ 43.33 + $install/etc/p0f/ 43.34 + install -m744 \ 43.35 + $src/p0f \ 43.36 + $src/tools/p0f-client \ 43.37 + $src/tools/p0f-sendsyn \ 43.38 + $src/tools/p0f-sendsyn6 \ 43.39 + $install/usr/sbin/ 43.40 + install -m644 $src/p0f.fp $install/etc/p0f/ 43.41 } 43.42 43.43 -# Rules to gen a SliTaz package suitable for Tazpkg. 43.44 -genpkg_rules() 43.45 -{ 43.46 - mkdir -p $fs/usr/sbin $fs/etc/p0f 43.47 - install -m744 $src/p0f $src/tools/p0f-client $src/tools/p0f-sendsyn \ 43.48 - $src/tools/p0f-sendsyn6 $fs/usr/sbin 43.49 - install -m644 $src/p0f.fp $fs/etc/p0f 43.50 +genpkg_rules() { 43.51 + copy @std 43.52 } 43.53 -
44.1 --- a/p7zip/receipt Mon Mar 12 00:04:19 2018 +0100 44.2 +++ b/p7zip/receipt Mon Mar 12 02:18:53 2018 +0200 44.3 @@ -12,7 +12,7 @@ 44.4 TARBALL="${PACKAGE}_${VERSION}_src_all.tar.bz2" 44.5 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 44.6 44.7 -BUILD_DEPENDS="nasm" 44.8 +BUILD_DEPENDS="nasm yasm" 44.9 SPLIT="p7zip p7zip-full" 44.10 44.11 compile_rules() { 44.12 @@ -37,7 +37,6 @@ 44.13 # ln -s -t $install/usr/share/licenses/p7zip/ \ 44.14 # /usr/share/doc/p7zip/DOC/License.txt \ 44.15 # /usr/share/doc/p7zip/DOC/unRarLicense.txt 44.16 - 44.17 } 44.18 44.19 genpkg_rules() {
45.1 --- a/unrar/receipt Mon Mar 12 00:04:19 2018 +0100 45.2 +++ b/unrar/receipt Mon Mar 12 02:18:53 2018 +0200 45.3 @@ -1,4 +1,4 @@ 45.4 -# SliTaz package receipt. 45.5 +# SliTaz package receipt v2. 45.6 45.7 PACKAGE="unrar" 45.8 VERSION="5.3.7" 45.9 @@ -6,21 +6,17 @@ 45.10 SHORT_DESC="The free unrar" 45.11 MAINTAINER="gokhlayeh@slitaz.org" 45.12 LICENSE="freeware" 45.13 +WEB_SITE="http://www.rarlab.com" 45.14 + 45.15 TARBALL="${PACKAGE}src-$VERSION.tar.gz" 45.16 -WEB_SITE="http://www.rarlab.com" 45.17 WGET_URL="$WEB_SITE/rar/$TARBALL" 45.18 45.19 -DEPENDS="gcc-lib-base" 45.20 - 45.21 -# Rules to configure and make the package. 45.22 -compile_rules() 45.23 -{ 45.24 - make 45.25 +compile_rules() { 45.26 + make && 45.27 + install -Dm 755 $src/unrar $install/usr/bin/unrar 45.28 } 45.29 45.30 -# Rules to gen a SliTaz package suitable for Tazpkg. 45.31 -genpkg_rules() 45.32 -{ 45.33 - mkdir -p $fs/usr/bin 45.34 - cp -a $src/unrar $fs/usr/bin 45.35 +genpkg_rules() { 45.36 + copy @std 45.37 + DEPENDS="gcc-lib-base" 45.38 }