# HG changeset patch # User Aleksej Bobylev # Date 1520813933 -7200 # Node ID b278b2018965b1c02a960d89741e7d5450432586 # Parent 0c003fc1895757388959080828b2c1b4632233b0 Proper packing for v2 diff -r 0c003fc18957 -r b278b2018965 decibel/receipt --- a/decibel/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/decibel/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,35 +1,32 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="decibel" VERSION="1.06" CATEGORY="multimedia" -SHORT_DESC="Decibel audio player for Gnome Desktop." +SHORT_DESC="Decibel audio player for GNOME Desktop" MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" -SOURCE="$PACKAGE-audio-player" -TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://decibel.silent-blade.org/" + +TARBALL="decibel-audio-player-$VERSION.tar.gz" WGET_URL="http://decibel.silent-blade.org/uploads/Main/$TARBALL" -DEPENDS="python gst0-python notify-python pygtk dbus-python mutagen" -BUILD_DEPENDS="gettext" +BUILD_DEPENDS="gettext findutils" -# Rules to configure and make the package. -compile_rules() -{ - cd $src - # needed to install locale files - [ -L /usr/bin/find ]; tazpkg get-install findutils --forced - make prefix=/usr DESTDIR=$DESTDIR install +compile_rules() { + make \ + prefix=/usr \ + DESTDIR=$DESTDIR \ + install || return 1 + + mkdir -p $install/usr/share + cp -a $install/usr/bin $install/usr + cp -a $install/usr/share/decibel-audio-player $install/usr/share + cp -a $install/usr/share/pixmaps $install/usr/share + cp -a $install/usr/share/applications $install/usr/share } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/share/$SOURCE $fs/usr/share - cp -a $install/usr/share/pixmaps $fs/usr/share - cp -a $install/usr/share/applications $fs/usr/share +genpkg_rules() { + copy @std + DEPENDS="python gst0-python notify-python pygtk dbus-python mutagen" } - diff -r 0c003fc18957 -r b278b2018965 fpc/receipt --- a/fpc/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/fpc/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="fpc" VERSION="2.6.4" @@ -6,53 +6,39 @@ SHORT_DESC="The Free Pascal Compiler" MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2 LGPL2.1" -SOURCE="fpcbuild" -TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.freepascal.org/" + +TARBALL="fpcbuild-$VERSION.tar.gz" WGET_URL="ftp://ftp.freepascal.org/pub/fpc/dist/$VERSION/source/$TARBALL" -CONFIG_FILE="/etc/fpc.cfg" -TAGS="compiler pascal" +BUILD_DEPENDS_arm="" +BUILD_DEPENDS="fpc-bootstrap" CROSS_BUGS="arm-slitaz-gnueabi-as: Command not found" -DEPENDS="ncurses" -BUILD_DEPENDS="fpc-bootstrap" - -# Handle cross compilation. ARM: fpc-bootstrap build host must be installed -case "$ARCH" in - arm*) BUILD_DEPENDS="" ;; -esac - -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { case "$ARCH" in - i?86) - make ${ARCH_ARGS} NOGDB=1 build - make -j1 NOGDB=1 PREFIX=$DESTDIR/usr install ;; - arm*) - make crossinstall \ - NOGDB=1 \ - CPU_TARGET=arm \ - OS_TARGET=linux \ - OPT=-dFPC_ARMEL \ - CROSSBINDIR=/cross/$ARCH/tools/bin \ - BINUTILSPREFIX=arm-slitaz-gnueabi- \ - INSTALL_PREFIX=$DESTDIR/usr ;; - esac && + arm*) + make crossinstall \ + NOGDB=1 \ + CPU_TARGET=arm \ + OS_TARGET=linux \ + OPT=-dFPC_ARMEL \ + CROSSBINDIR=/cross/$ARCH/tools/bin \ + BINUTILSPREFIX=arm-slitaz-gnueabi- \ + INSTALL_PREFIX=$DESTDIR/usr + ;; + *) + make NOGDB=1 build && + make -j1 NOGDB=1 PREFIX=$DESTDIR/usr install + ;; + esac || return 1 # install package license - install -m 755 -d $DESTDIR/usr/share/licenses/fpc && - install -m 644 $src/fpcsrc/rtl/COPYING.FPC \ - $DESTDIR/usr/share/licenses/fpc/ - - # move man pages to the right place - mv $install/usr/man $install/usr/share + install -Dm 644 $src/fpcsrc/rtl/COPYING.FPC \ + $DESTDIR/usr/share/licenses/fpc/COPYING.FPC } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { mkdir -p $fs/usr $fs/etc cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib $fs/usr @@ -63,12 +49,14 @@ # config file #mkdir -p $fs/etc #cp -a $fs/usr/lib/fpc/$VERSION/samplecfg $fs/etc/fpc.cfg + DEPENDS="ncurses" + CONFIG_FILE="/etc/fpc.cfg" + TAGS="compiler pascal" } -post_install() -{ +post_install() { if [ ! -f "$1/etc/fpc.cfg" ]; then - chroot "$1/" fpcmkcfg > /etc/fpc.cfg + chroot "$1/" fpcmkcfg > /etc/fpc.cfg fi # Fix units search path diff -r 0c003fc18957 -r b278b2018965 gtkballs/receipt --- a/gtkballs/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/gtkballs/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -12,7 +12,7 @@ WGET_URL="http://gtkballs.antex.ru/dist/$TARBALL" BUILD_DEPENDS="gtk+-dev" -SPLIT="gtkballs=themes" +SPLIT="gtkballs-themes gtkballs" compile_rules() { ./configure \ @@ -22,35 +22,32 @@ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && - make DESTDIR=$DESTDIR install + make DESTDIR=$DESTDIR install || return 1 + + cp -a $stuff/cell.xpm $install/usr/share/gtkballs/themes/Default/ + mv $install/usr/share/gtkballs/themes/Default \ + $install/usr/share/gtkballs/themes/Original + cp -a $install/usr/share/gtkballs/themes/klines \ + $install/usr/share/gtkballs/themes/Default + rm -rf $install/usr/share/gtkballs/themes/klines + + mkdir -p $install/usr/share/pixmaps/ + cp -a $install/usr/share/gtkballs/gtkballs_16x16.png \ + $install/usr/share/pixmaps/gtkballs.png + + chmod 666 $install/var/games/gtkballs-scores } genpkg_rules() { case $PACKAGE in + gtkballs-themes) + copy themes/ + CAT="games|game themes" + ;; gtkballs) - mkdir -p $fs/usr/share/gtkballs/themes $fs/usr/share/pixmaps - cp -a $install/usr/games $fs/usr - # Themes - #cp -a $install/usr/share/gtkballs/themes/Default \ - # $fs/usr/share/gtkballs/themes - cp -a $install/usr/share/gtkballs/themes/klines \ - $fs/usr/share/gtkballs/themes/Default - cp -a stuff/cell.xpm $fs/usr/share/gtkballs/themes/Default - # Pixmaps - cp -a $install/usr/share/gtkballs/gtkballs_16x16.png \ - $fs/usr/share/pixmaps/gtkballs.png - cp -a $install/var $fs - chmod 666 $fs/var/games/gtkballs-scores + copy @std @rm DEPENDS="gtk+ xorg-libXdamage" SUGGESTED="gtkballs-themes" ;; - gtkballs-themes) - CAT="games|game themes" - mkdir -p $fs/usr/share/gtkballs - cp -a $install/usr/share/gtkballs/themes $fs/usr/share/gtkballs - rm -rf $fs/usr/share/gtkballs/themes/klines - mv $fs/usr/share/gtkballs/themes/Default \ - $fs/usr/share/gtkballs/themes/Original - ;; esac } diff -r 0c003fc18957 -r b278b2018965 libdisasm/receipt --- a/libdisasm/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/libdisasm/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -14,19 +14,20 @@ BUILD_DEPENDS="gfortran" SPLIT="libdisasm-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { + case $ARCH in + i?86) ARCH_ARGS='CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32';; + *) ARCH_ARGS='';; + esac + ./configure \ - "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" \ + $ARCH_ARGS \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { case $PACKAGE in libdisasm) copy @std;; *-dev) copy @dev;; diff -r 0c003fc18957 -r b278b2018965 libquicktime/receipt --- a/libquicktime/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/libquicktime/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -12,7 +12,7 @@ WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" BUILD_DEPENDS="gtk+-dev ffmpeg-dev alsa-lib-dev xorg-libXv-dev xorg-libXaw-dev \ -x264-dev zlib-dev mesa-dev" +x264-dev zlib-dev mesa17-dev" SPLIT="libquicktime-dev" compile_rules() { @@ -32,7 +32,7 @@ case $PACKAGE in libquicktime) copy @std - DEPENDS="gtk+ ffmpeg alsa-lib xorg-libXv mesa xorg-libXaw x264" + DEPENDS="gtk+ ffmpeg alsa-lib xorg-libXv mesa17 xorg-libXaw x264" ;; *-dev) copy @dev diff -r 0c003fc18957 -r b278b2018965 libsdl2-ttf/receipt --- a/libsdl2-ttf/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/libsdl2-ttf/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -12,7 +12,7 @@ WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL" BUILD_DEPENDS="freetype-dev libsdl2-dev xorg-libX11-dev xorg-libICE-dev \ -mesa17-dev" +mesa17-dev expat-dev" SPLIT="libsdl2-ttf-dev" compile_rules() { diff -r 0c003fc18957 -r b278b2018965 linux-cloop/receipt --- a/linux-cloop/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/linux-cloop/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,7 +1,6 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="linux-cloop" -SOURCE="cloop" GITHASH="897009b4b2fe70433a1e8aea8a024aeebc32b209" # 3.4 VERSION="${GITHASH:0:7}" EXTRAVERSION="_$kvers" @@ -10,41 +9,40 @@ LICENSE="GPL2" SHORT_DESC="The read-only compressed loop device kernel module." WEB_SITE="http://knoppix.net/wiki/Cloop" -TARBALL="$SOURCE-$VERSION.zip" -#WGET_URL="http://debian-knoppix.alioth.debian.org/packages/$SOURCE/$TARBALL" + +TARBALL="cloop-$VERSION.zip" +#WGET_URL="http://debian-knoppix.alioth.debian.org/packages/cloop/$TARBALL" #WGET_URL="https://github.com/KlausKnopper/cloop/archive/$GITHASH.zip" WGET_URL="https://github.com/Outernet-Project/cloop/archive/$GITHASH.zip" -DEPENDS="linux" BUILD_DEPENDS="linux-module-headers xz" -SUGGESTED="cloop-utils" -# Rules to configure and make the package. - -compile_rules() -{ +compile_rules() { sed -i 's|dev_t.*|&\n#define uint64_t loff_t|' cloop_suspend.c make cloop_suspend && - make KERNEL_DIR="/usr/src/linux" cloop.ko && xz cloop.ko -} + make KERNEL_DIR="/usr/src/linux" cloop.ko && xz cloop.ko || return 1 -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/lib/modules/$kvers-slitaz/kernel/misc $fs/dev $fs/usr/bin - cp $src/cloop_suspend $fs/usr/bin - cp $src/cloop.ko.xz $fs/lib/modules/$kvers-slitaz/kernel/misc + mkdir -p \ + $install/lib/modules/$kvers-slitaz/kernel/misc \ + $install/dev \ + $install/usr/bin + cp $src/cloop_suspend $install/usr/bin + cp $src/cloop.ko.xz $install/lib/modules/$kvers-slitaz/kernel/misc for i in $(seq 0 7); do - mknod $fs/dev/cloop$i b 240 $i + mknod $install/dev/cloop$i b 240 $i done } -post_install() -{ +genpkg_rules() { + copy @std + DEPENDS="linux" + SUGGESTED="cloop-utils" +} + +post_install() { chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz } -post_remove() -{ +post_remove() { depmod -a } diff -r 0c003fc18957 -r b278b2018965 lionwiki/receipt --- a/lionwiki/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/lionwiki/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,28 +1,24 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="lionwiki" VERSION="3.2.9" CATEGORY="office" -SHORT_DESC="Minimalist Wiki engine programmed in PHP." +SHORT_DESC="Minimalist Wiki engine programmed in PHP" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://lionwiki.0o.cz" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://lionwiki.0o.cz" WGET_URL="$WEB_SITE/download/$VERSION/$TARBALL" -CONFIG_FILES="/var/www/lionwikiss/config.php" -DEPENDS="lighttpd php" - -# Rules to configure and make the package. -compile_rules() -{ - cd $src +compile_rules() { + mkdir -p $install/var/www + cp -a $src $install/var/www/lionwiki + chown -R www.www $install/var/www/lionwiki } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/var/www - cp -a $src $fs/var/www/lionwiki - chown -R www.www $fs/var/www/lionwiki +genpkg_rules() { + copy @std + DEPENDS="lighttpd php" + CONFIG_FILES="/var/www/lionwikiss/config.php" } diff -r 0c003fc18957 -r b278b2018965 logfsprogs/receipt --- a/logfsprogs/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/logfsprogs/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="logfsprogs" VERSION="20121013" @@ -7,22 +7,19 @@ SHORT_DESC="Utilities for making LogFS file-system" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://github.com/prasad-joshi/logfsprogs" + TARBALL="$PACKAGE-$VERSION.zip" -WEB_SITE="https://github.com/prasad-joshi/logfsprogs" WGET_URL="$WEB_SITE/archive/$HASH.zip" -DEPENDS="zlib" BUILD_DEPENDS="zlib-dev" -# Rules to configure and make the package. -compile_rules() -{ - make -} +compile_rules() { + make && + install -Dm755 $src/mklogfs $install/usr/sbin/mklogfs +} -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/sbin - cp -a $src/mklogfs $fs/usr/sbin +genpkg_rules() { + copy @std + DEPENDS="zlib" } diff -r 0c003fc18957 -r b278b2018965 lsscsi/receipt --- a/lsscsi/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/lsscsi/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,28 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="lsscsi" VERSION="0.21" CATEGORY="system-tools" -SHORT_DESC="Lists information about SCSI devices." +SHORT_DESC="Lists information about SCSI devices" MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://sg.danny.cz/scsi/lsscsi.html" + TARBALL="$PACKAGE-$VERSION.tgz" -WEB_SITE="http://sg.danny.cz/scsi/lsscsi.html" WGET_URL="http://sg.danny.cz/scsi/$TARBALL" #WGET_URL="http://www.sfr-fresh.com/linux/misc/$TARBALL" -# Rules to configure and make the package. -compile_rules() -{ - cd $src - ./configure --prefix=/usr $CONFIGURE_ARGS && - make +compile_rules() { + ./configure \ + --prefix=/usr \ + $CONFIGURE_ARGS && + make && + install -Dm755 $src/lsscsi $install/usr/bin/lsscsi } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp -a $src/$PACKAGE $fs/usr/bin +genpkg_rules() { + copy @std } - diff -r 0c003fc18957 -r b278b2018965 lua5.1/receipt --- a/lua5.1/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/lua5.1/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -20,7 +20,12 @@ sed -i "s#/include#/include/lua/5.1#g" etc/lua.pc sed -i "s#/usr/local/#/usr/#" src/luaconf.h sed -i "s#share/lua/5.1/#lib/lua/5.1/#" src/luaconf.h - sed -i s"/-O2/-Os -march=$ARCH/" src/Makefile + + case $ARCH in + x86_64) Arch='nocona';; + *) Arch="$ARCH";; + esac + sed -i s"/-O2/-Os -march=$Arch/" src/Makefile make linux && make install \ diff -r 0c003fc18957 -r b278b2018965 lxappearance-obconf/receipt --- a/lxappearance-obconf/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/lxappearance-obconf/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -7,16 +7,14 @@ MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="http://lxde.org/" - +LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxappearance-obconf.html" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$SF_MIRROR/lxde/$TARBALL" -BUILD_DEPENDS="intltool openbox-dev gtk+-dev lxappearance-dev" +BUILD_DEPENDS="intltool openbox-dev gtk+-dev lxappearance-dev \ +xorg-libXrandr-dev" -# Rules to configure and make the package. -compile_rules() -{ - # http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxappearance-obconf.html +compile_rules() { ./configure \ --sysconfdir=/etc \ --disable-static \ @@ -24,9 +22,7 @@ make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { copy @std DEPENDS="openbox lxappearance" TAGS="LXDE" diff -r 0c003fc18957 -r b278b2018965 marco/receipt --- a/marco/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/marco/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -12,14 +12,16 @@ WGET_URL="https://github.com/mate-desktop/marco/archive/v$VERSION.tar.gz" BUILD_DEPENDS="mate-common yelp-tools gtk+3-dev startup-notification-dev \ -xorg-libXcursor-dev libgtop-dev libcanberra-dev zenity itstool" +xorg-libXcursor-dev libgtop-dev libcanberra-dev zenity itstool xcb-util-dev" SPLIT="marco-dev" compile_rules() { + fix ld ./autogen.sh \ --sysconfdir=/etc \ --localstatedir=/var \ $CONFIGURE_ARGS && + fix libtool && make && make install } diff -r 0c003fc18957 -r b278b2018965 mate-screensaver/receipt --- a/mate-screensaver/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/mate-screensaver/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -13,14 +13,16 @@ BUILD_DEPENDS="mate-common xorg-libX11-dev xorg-libXScrnSaver-dev gtk+3-dev \ dbus-glib-dev mate-desktop-dev mate-menus-dev xmlto xorg-libXext-dev \ -mesa17-dev libmatekbd-dev libnotify-gtk3-dev" +mesa17-dev libmatekbd-dev libnotify-gtk3-dev expat-dev" SPLIT="mate-screensaver-dev" compile_rules() { + fix ld ./autogen.sh \ --sysconfdir=/etc \ --localstatedir=/var \ $CONFIGURE_ARGS && + fix libtool && make && make install } diff -r 0c003fc18957 -r b278b2018965 mate-terminal/receipt --- a/mate-terminal/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/mate-terminal/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -12,13 +12,15 @@ WGET_URL="https://github.com/mate-desktop/mate-terminal/archive/v$VERSION.tar.gz" BUILD_DEPENDS="mate-common yelp-tools vte-dev gtk+3-dev dconf-dev \ -xorg-libX11-dev itstool" +xorg-libX11-dev itstool xorg-libSM-dev" compile_rules() { + fix ld ./autogen.sh \ --sysconfdir=/etc \ --localstatedir=/var \ $CONFIGURE_ARGS && + fix libtool && make && make install } diff -r 0c003fc18957 -r b278b2018965 mate-utils/receipt --- a/mate-utils/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/mate-utils/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -12,14 +12,16 @@ WGET_URL="https://github.com/mate-desktop/mate-utils/archive/v$VERSION.tar.gz" BUILD_DEPENDS="mate-common yelp-tools gtk-doc gtk+3-dev mate-panel-dev \ -libgtop-dev libcanberra-dev itstool" +libgtop-dev libcanberra-dev itstool xorg-libSM-dev" SPLIT="mate-utils-dev" compile_rules() { + fix ld ./autogen.sh \ --sysconfdir=/etc \ --localstatedir=/var \ $CONFIGURE_ARGS && + fix libtool && make && make install } diff -r 0c003fc18957 -r b278b2018965 memo/receipt --- a/memo/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/memo/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,28 +1,24 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="memo" VERSION="1.0" CATEGORY="office" -SHORT_DESC="Memo is a command line, Unix-style note-taking software." +SHORT_DESC="Memo is a command line, Unix-style note-taking software" MAINTAINER="paul@slitaz.org" -TARBALL="$PACKAGE-$VERSION.tar.gz" LICENSE="GPL3" WEB_SITE="http://www.ideabyte.net/memo/" + +TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://www.ideabyte.net/memo/$TARBALL" -DEPENDS="ncurses" BUILD_DEPENDS="ncurses-dev" -# Rules to configure and make the package. -compile_rules() -{ - make +compile_rules() { + make && + install -Dm 755 $src/memo $install/usr/bin/memo } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp -a $src/$PACKAGE $fs/usr/bin +genpkg_rules() { + copy @std + DEPENDS="ncurses" } - diff -r 0c003fc18957 -r b278b2018965 memtester/receipt --- a/memtester/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/memtester/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,29 +1,22 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="memtester" VERSION="4.3.0" CATEGORY="misc" -SHORT_DESC="A userspace utility for testing the memory subsystem for faults." +SHORT_DESC="A userspace utility for testing the memory subsystem for faults" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://pyropus.ca/software/memtester" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://pyropus.ca/software/memtester" WGET_URL="$WEB_SITE/old-versions/$TARBALL" -TAGS="test diagnostic RAM" -DEPENDS="" -BUILD_DEPENDS="" - -# Rules to configure and make the package. -compile_rules() -{ - make +compile_rules() { + make && + install -Dm755 $src/memtester $install/usr/bin/memtester } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp -a $src/memtester $fs/usr/bin +genpkg_rules() { + copy @std + TAGS="test diagnostic RAM" } - diff -r 0c003fc18957 -r b278b2018965 micro_proxy/receipt --- a/micro_proxy/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/micro_proxy/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,26 +1,23 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="micro_proxy" VERSION="30oct2002" CATEGORY="network" -SHORT_DESC="A small HTTP/HTTPS proxy." +SHORT_DESC="A small HTTP/HTTPS proxy" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" +WEB_SITE="http://www.acme.com/software/micro_proxy/" + TARBALL="${PACKAGE}_$VERSION.tar.gz" -WEB_SITE="http://www.acme.com/software/micro_proxy/" WGET_URL="${WEB_SITE}$TARBALL" -# Rules to configure and make the package. -compile_rules() -{ - mv $PACKAGE $PACKAGE-$VERSION 2> /dev/null +compile_rules() { + mv $PACKAGE $PACKAGE-$VERSION 2>/dev/null cd $src - make + make && + install -Dm 755 $src/micro_proxy $install/usr/bin/micro_proxy } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp -a $src/$PACKAGE $fs/usr/bin +genpkg_rules() { + copy @std } diff -r 0c003fc18957 -r b278b2018965 microperl/receipt --- a/microperl/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/microperl/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,9 +1,9 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="microperl" VERSION="5.24.0" CATEGORY="development" -SHORT_DESC="A micro version of Perl." +SHORT_DESC="A micro version of Perl" MAINTAINER="pankso@slitaz.org" LICENSE="GPL" WEB_SITE="https://www.perl.org/" @@ -11,24 +11,20 @@ TARBALL="perl-$VERSION.tar.bz2" WGET_URL="http://www.cpan.org/src/5.0/$TARBALL" -DEPENDS="glibc-base" SIBLINGS="perl" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { # cp Makefile.micro Makefile.micro.orig patch -p1 -i $stuff/microperl.patch sed -i "s|usr/local|usr|; s|perl5/5.24|perl5/5.24.0|; s|unknown|$HOST_SYSTEM|" \ uconfig.sh make -f Makefile.micro regen_uconfig && - make -f Makefile.micro + make -f Makefile.micro && + install -Dm 755 $src/microperl $install/usr/bin/microperl } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp -a $src/microperl $fs/usr/bin +genpkg_rules() { + copy @std + DEPENDS="glibc-base" } diff -r 0c003fc18957 -r b278b2018965 monitorix/receipt --- a/monitorix/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/monitorix/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,46 +1,44 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="monitorix" VERSION="3.2.1" CATEGORY="misc" -SHORT_DESC="A lightweight system monitoring tool." +SHORT_DESC="A lightweight system monitoring tool" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="http://www.monitorix.org/" + TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}$TARBALL" -SUGGESTED="iptables logrotate" -DEPENDS="rrdtool-perl perl-libwww-perl perl-dbi perl-xml-simple perl-cgi \ -perl-mailtools perl-mime-lite perl-config-general perl-http-server-simple" -BUILD_DEPENDS="" - -# Rules to configure and make the package. -compile_rules() -{ - cd $src -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/bin $fs/etc/logrotate.d - mkdir -p $fs/usr/share/monitorix/cgi - cp -a $src/monitorix.conf $fs/etc - sed -i 's|/var/lib/monitorix|/usr/lib/monitorix|' $fs/etc/monitorix.conf - sed -i 's|group = nobody|group = nogroup|' $fs/etc/monitorix.conf - cp -a $src/docs/monitorix.logrotate $fs/etc/logrotate.d/monitorix - cp -a $src/monitorix $fs/usr/bin - cp -a $src/lib $fs/usr/lib/monitorix - cp -a $src/monitorix.cgi $src/*.png $src/reports $fs/usr/share/monitorix +compile_rules() { + mkdir -p \ + $install/usr/lib \ + $install/usr/bin \ + $install/etc/logrotate.d \ + $install/usr/share/monitorix/cgi + cp -a $src/monitorix.conf $install/etc + sed -i 's|/var/lib/monitorix|/usr/lib/monitorix|' $install/etc/monitorix.conf + sed -i 's|group = nobody|group = nogroup|' $install/etc/monitorix.conf + cp -a $src/docs/monitorix.logrotate $install/etc/logrotate.d/monitorix + cp -a $src/monitorix $install/usr/bin + cp -a $src/lib $install/usr/lib/monitorix + cp -a $src/monitorix.cgi $src/*.png $src/reports \ + $install/usr/share/monitorix } -post_install() -{ +genpkg_rules() { + copy @std + DEPENDS="rrdtool-perl perl-libwww-perl perl-dbi perl-xml-simple perl-cgi \ + perl-mailtools perl-mime-lite perl-config-general perl-http-server-simple" + SUGGESTED="iptables logrotate" +} + +post_install() { # Configure lighttpd server if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then if ! grep -q /usr/share/monitorix/ "$1/etc/lighttpd/lighttpd.conf"; then - 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" + 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" if [ -z "$1" ]; then # Start Web server. /etc/init.d/lighttpd stop diff -r 0c003fc18957 -r b278b2018965 mountlo/receipt --- a/mountlo/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/mountlo/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,33 +1,29 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="mountlo" VERSION="0.6" CATEGORY="system-tools" -SHORT_DESC="loopback filesystem mount implemented with FUSE." +SHORT_DESC="loopback filesystem mount implemented with FUSE" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://sourceforge.net/apps/mediawiki/fuse/index.php?title=FileSystems#Mountlo" + TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$SF_MIRROR/fuse/$TARBALL" EXTRA_SOURCE_FILES="$PACKAGE-i386-$VERSION.tar.gz" -WEB_SITE="http://sourceforge.net/apps/mediawiki/fuse/index.php?title=FileSystems#Mountlo" -WGET_URL="$SF_MIRROR/fuse/$PACKAGE/$TARBALL" -TAGS="filesystem" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +compile_rules() { [ -f $SOURCES_REPOSITORY/$PACKAGE-i386-$VERSION.tar.gz ] || wget $SF_MIRROR/fuse/$PACKAGE/$VERSION/$PACKAGE-i386-$VERSION.tar.gz \ -P $SOURCES_REPOSITORY if [ ! -f mountlo-$VERSION/mountlo ]; then tar xzf $SOURCES_REPOSITORY/$PACKAGE-i386-$VERSION.tar.gz fi + + install -Dm 755 $src/mountlo-$VERSION/mountlo $install/usr/bin/mountlo } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp -a $src/mountlo-$VERSION/mountlo $fs/usr/bin - chown root.root $fs/usr/bin/mountlo +genpkg_rules() { + copy @std + TAGS="filesystem" } diff -r 0c003fc18957 -r b278b2018965 mozplugger/receipt --- a/mozplugger/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/mozplugger/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,34 +1,36 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="mozplugger" VERSION="1.14.3" CATEGORY="multimedia" -SHORT_DESC="A Mozilla & Firefox multimedia plugin." +SHORT_DESC="A Mozilla & Firefox multimedia plugin" MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" +WEB_SITE="http://mozplugger.mozdev.org" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://mozplugger.mozdev.org" WGET_URL="$WEB_SITE/files/$TARBALL" -DEPENDS="xorg-libX11" BUILD_DEPENDS="xorg-libX11-dev" -# Rules to configure and make the package. -compile_rules() -{ - ./configure --prefix=/usr --sysconfdir=/etc && - make +compile_rules() { + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc && + make || return 1 + + mkdir -p \ + $install/usr/lib/mozilla/plugins \ + $install/etc \ + $install/usr/bin + cp -a $src/mozplugger.so $install/usr/lib/mozilla/plugins + cp -a $src/mozpluggerrc $install/etc + cp -a $src/mozplugger-helper $install/usr/bin + cp -a $src/mozplugger-controller $install/usr/bin + cp -a $src/mozplugger-linker $install/usr/bin } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/mozilla/plugins \ - $fs/etc \ - $fs/usr/bin - cp -a $src/mozplugger.so $fs/usr/lib/mozilla/plugins - cp -a $src/mozpluggerrc $fs/etc - cp -a $src/mozplugger-helper $fs/usr/bin - cp -a $src/mozplugger-controller $fs/usr/bin - cp -a $src/mozplugger-linker $fs/usr/bin +genpkg_rules() { + copy @std + DEPENDS="xorg-libX11" } diff -r 0c003fc18957 -r b278b2018965 mp3gain/receipt --- a/mp3gain/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/mp3gain/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,29 +1,21 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="mp3gain" VERSION="1_5_2_r2" CATEGORY="multimedia" -SHORT_DESC="Analyzes and adjusts volume on mp3 files." +SHORT_DESC="Analyzes and adjusts volume on mp3 files" MAINTAINER="paul@slitaz.org" LICENSE="LGPL2.1" +WEB_SITE="http://mp3gain.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION-src.zip" -WEB_SITE="http://mp3gain.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="" -BUILD_DEPENDS="" - -# Rules to configure and make the package. -compile_rules() -{ - cd $src - make +compile_rules() { + make && + install -Dm 755 $src/mp3gain $install/usr/bin/mp3gain } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp -a $src/$PACKAGE $fs/usr/bin +genpkg_rules() { + copy @std } - diff -r 0c003fc18957 -r b278b2018965 mp3val/receipt --- a/mp3val/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/mp3val/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,28 +1,22 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="mp3val" VERSION="0.1.8" CATEGORY="multimedia" -SHORT_DESC="MP3val is a small, high-speed, free software tool for checking MPEG audio files' integrity" +SHORT_DESC="Checking MPEG audio files integrity" MAINTAINER="devl547@gmail.com" LICENSE="GPL2" WEB_SITE="http://mp3val.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION-src.tar.gz" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="" -BUILD_DEPENDS="" - -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { mv Makefile.linux Makefile - make + make && + install -Dm 755 $src/mp3val $fs/usr/bin/mp3val } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp -a $src/mp3val $fs/usr/bin +genpkg_rules() { + copy @std } diff -r 0c003fc18957 -r b278b2018965 multipath-tools/receipt --- a/multipath-tools/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/multipath-tools/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,30 +1,27 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="multipath-tools" VERSION="0.5.0" CATEGORY="x-window" -SHORT_DESC="Device Mapper multipathing driver (provide kpartx)." +SHORT_DESC="Device Mapper multipathing driver (provide kpartx)" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://christophe.varoqui.free.fr/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://christophe.varoqui.free.fr/" WGET_URL="http://christophe.varoqui.free.fr/multipath-tools/$TARBALL" -PROVIDE="kpartx" -DEPENDS="libdevmapper udev libaio readline" BUILD_DEPENDS="libdevmapper-dev udev-dev libaio-dev readline-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src/kpartx - make && cd .. +compile_rules() { + cd $src/kpartx + make && #make LIB="/usr/lib" DESTDIR=${DESTDIR} install + install -Dm 755 $src/kpartx/kpartx $install/usr/bin/kpartx } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp -a $src/kpartx/kpartx $fs/usr/bin +genpkg_rules() { + copy @std + DEPENDS="libdevmapper udev libaio readline" + PROVIDE="kpartx" } diff -r 0c003fc18957 -r b278b2018965 multitail/receipt --- a/multitail/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/multitail/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,36 +1,28 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="multitail" VERSION="5.2.9" CATEGORY="system-tools" -SHORT_DESC="Monitor multiple log files." +SHORT_DESC="Monitor multiple log files" MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://www.vanheusden.com/multitail/" + TARBALL="$PACKAGE-$VERSION.tgz" -WEB_SITE="http://www.vanheusden.com/multitail/" WGET_URL="http://www.vanheusden.com/multitail/$TARBALL" -CONFIG_FILES="/etc/multitail.conf" -DEPENDS="ncurses" BUILD_DEPENDS="ncurses-dev" -# Rules to configure and make the package. -compile_rules() -{ - if [ ! -f done.tail_busybox.patch ]; then - patch -p1 -i $stuff/tail_busybox.patch && \ - touch done.tail_busybox.patch - fi - make +compile_rules() { + make || return 1 + install -Dm 755 $src/multitail $install/usr/bin/multitail + install -Dm 644 $src/multitail.conf $install/etc/multitail.conf } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin $fs/etc - cp -a $src/$PACKAGE $fs/usr/bin - cp -a $src/$PACKAGE.conf $fs/etc - +genpkg_rules() { + copy @std # Set minimum config. sed -i 's/check_mail:5/check_mail:0/' $fs/etc/multitail.conf + DEPENDS="ncurses" + CONFIG_FILES="/etc/multitail.conf" } diff -r 0c003fc18957 -r b278b2018965 multitail/stuff/patches/series --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/multitail/stuff/patches/series Mon Mar 12 02:18:53 2018 +0200 @@ -0,0 +1,1 @@ +-p1|tail_busybox.patch diff -r 0c003fc18957 -r b278b2018965 multitail/stuff/patches/tail_busybox.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/multitail/stuff/patches/tail_busybox.patch Mon Mar 12 02:18:53 2018 +0200 @@ -0,0 +1,40 @@ +--- multitail-5.2.2.ori/Makefile Mon May 19 11:19:09 2008 ++++ multitail-5.2.2/Makefile Wed May 6 15:37:03 2009 +@@ -6,7 +6,7 @@ + DEBUG=-g # -D_DEBUG # -pg # -D_DEBUG #-pg -W -pedantic # -pg #-fprofile-arcs + LDFLAGS+=-lpanel -lncurses -lutil -lm $(DEBUG) -rdynamic + # LDFLAGS+=-lc_p -lpanel_g -lncurses_g -lutil -lm -pg -g -rdynamic +-CFLAGS+=-funsigned-char -D`uname` -O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$(CONFIG_FILE)\" ++CFLAGS+=-funsigned-char -D`uname` -D__Busybox__ -O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$(CONFIG_FILE)\" + + 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 + +--- multitail-5.2.2.ori/exec.c Mon May 19 11:19:09 2008 ++++ multitail-5.2.2/exec.c Wed May 6 15:34:59 2009 +@@ -77,13 +77,15 @@ + posix_version = getenv("_POSIX2_VERSION"); + + /* follow filename is only supported on *BSD and Linux */ +-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(linux) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__GNU__) ++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(linux) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__GNU__) || defined(__Busybox__) + if (follow_filename) + { +-#if defined(linux) || defined(__CYGWIN__) || defined(__GNU__) ++#if !defined(__Busybox__) && (defined(linux) || defined(__CYGWIN__) || defined(__GNU__)) + pars[npars++] = "--follow=name"; + #elif defined(__OpenBSD__) + pars[npars++] = "-f"; ++#elif defined(__Busybox__) ++ pars[npars++] = "-f"; + #else + pars[npars++] = "-F"; + #endif +@@ -95,7 +97,7 @@ + else + #endif + { +-#if !defined(linux) && !defined(__CYGWIN__) && !defined(__GNU__) ++#if !defined(linux) && !defined(__CYGWIN__) && !defined(__GNU__) && !defined(__Busybox__) + if (follow_filename && gnu_tail) + pars[npars++] = "--follow=name"; + #endif diff -r 0c003fc18957 -r b278b2018965 multitail/stuff/tail_busybox.patch --- a/multitail/stuff/tail_busybox.patch Mon Mar 12 00:04:19 2018 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,40 +0,0 @@ ---- multitail-5.2.2.ori/Makefile Mon May 19 11:19:09 2008 -+++ multitail-5.2.2/Makefile Wed May 6 15:37:03 2009 -@@ -6,7 +6,7 @@ - DEBUG=-g # -D_DEBUG # -pg # -D_DEBUG #-pg -W -pedantic # -pg #-fprofile-arcs - LDFLAGS+=-lpanel -lncurses -lutil -lm $(DEBUG) -rdynamic - # LDFLAGS+=-lc_p -lpanel_g -lncurses_g -lutil -lm -pg -g -rdynamic --CFLAGS+=-funsigned-char -D`uname` -O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$(CONFIG_FILE)\" -+CFLAGS+=-funsigned-char -D`uname` -D__Busybox__ -O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$(CONFIG_FILE)\" - - 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 - ---- multitail-5.2.2.ori/exec.c Mon May 19 11:19:09 2008 -+++ multitail-5.2.2/exec.c Wed May 6 15:34:59 2009 -@@ -77,13 +77,15 @@ - posix_version = getenv("_POSIX2_VERSION"); - - /* follow filename is only supported on *BSD and Linux */ --#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(linux) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__GNU__) -+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(linux) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__GNU__) || defined(__Busybox__) - if (follow_filename) - { --#if defined(linux) || defined(__CYGWIN__) || defined(__GNU__) -+#if !defined(__Busybox__) && (defined(linux) || defined(__CYGWIN__) || defined(__GNU__)) - pars[npars++] = "--follow=name"; - #elif defined(__OpenBSD__) - pars[npars++] = "-f"; -+#elif defined(__Busybox__) -+ pars[npars++] = "-f"; - #else - pars[npars++] = "-F"; - #endif -@@ -95,7 +97,7 @@ - else - #endif - { --#if !defined(linux) && !defined(__CYGWIN__) && !defined(__GNU__) -+#if !defined(linux) && !defined(__CYGWIN__) && !defined(__GNU__) && !defined(__Busybox__) - if (follow_filename && gnu_tail) - pars[npars++] = "--follow=name"; - #endif diff -r 0c003fc18957 -r b278b2018965 muninlite/receipt --- a/muninlite/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/muninlite/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,34 +1,28 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="muninlite" VERSION="1.0.4" CATEGORY="network" -SHORT_DESC="Simple Munin node." +SHORT_DESC="Simple Munin node" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://$PACKAGE.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://$PACKAGE.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" BUILD_DEPENDS="perl" -# Rules to configure and make the package. -compile_rules() -{ - cd $src - make +compile_rules() { + make && + install -Dm 755 $src/munin-node $install/usr/bin/munin-node } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp -a $src/munin-node $fs/usr/bin +genpkg_rules() { + copy @std } -# Pre and post install commands for Tazpkg. -post_install() -{ +post_install() { grep -q 4949 "$1/etc/services" || echo "munin 4949/tcp" >> "$1/etc/services" grep -q ^munin "$1/etc/inetd.conf" || cat >> "$1/etc/inetd.conf" < $install/etc/mysql.d/nareto < /dev/null 2>&1 || mysql < $install/etc/initcron.d/nareto < /dev/null 2>&1 +#FIXME LEAK?#2 * * * * root /usr/bin/php /usr/share/nareto/scripts/nareto_dispo_cron_1h.php > /dev/null 2>&1 +#FIXME LEAK?#4 14 * * * root /usr/bin/php /usr/share/nareto/scripts/nareto_dispo_cron_1jour.php > /dev/null 2>&1 + +# Suivi des alarmes +#FIXME LEAK?#30 0 * * * root /usr/bin/perl /usr/share/nareto/scripts/nagios_alert.pl > /dev/null 2>&1 +#FIXME LEAK?#0 1 * * * root /usr/bin/perl /usr/share/nareto/scripts/nagios_alert_agregation.pl > /dev/null 2>&1 + +EOT + chmod +x $install/etc/initcron.d/nareto + + mkdir -p $install/usr/share/nareto + cp -a $src/docs $install/usr/share/nareto } genpkg_rules() { case $PACKAGE in + nareto-doc) + copy docs/ + CAT="network|documentation" + DEPENDS="nareto" + ;; nareto) - mkdir -p $fs/usr/share $fs/etc/mysql.d $fs/etc/initcron.d $fs/etc/nagios - - cp -a $src $fs/usr/share/nareto - cp -a stuff/* $fs + copy @std @rm sed -i 's/oreon.jpg/centreon.png/' $fs/usr/share/nareto/index.php sed -i -e 's/oreon/centreon/g' -e 's/Oreon/Centreon/g' \ $fs/usr/share/nareto/index.php \ @@ -44,50 +92,9 @@ sed -i 's/ $fs/etc/mysql.d/nareto < /dev/null 2>&1 || mysql < $fs/etc/initcron.d/nareto < /dev/null 2>&1 -#FIXME LEAK?#2 * * * * root /usr/bin/php /usr/share/nareto/scripts/nareto_dispo_cron_1h.php > /dev/null 2>&1 -#FIXME LEAK?#4 14 * * * root /usr/bin/php /usr/share/nareto/scripts/nareto_dispo_cron_1jour.php > /dev/null 2>&1 - -# Suivi des alarmes -#FIXME LEAK?#30 0 * * * root /usr/bin/perl /usr/share/nareto/scripts/nagios_alert.pl > /dev/null 2>&1 -#FIXME LEAK?#0 1 * * * root /usr/bin/perl /usr/share/nareto/scripts/nagios_alert_agregation.pl > /dev/null 2>&1 - -EOT - chmod +x $fs/etc/initcron.d/nareto - - # Move doc in nareto-doc package. - rm -rf $fs/usr/share/nareto/docs - ;; - nareto-doc) - mkdir -p $fs/usr/share/nareto - cp -a $src/docs $fs/usr/share/nareto - CAT="network|documentation" - DEPENDS="nareto" ;; esac } diff -r 0c003fc18957 -r b278b2018965 nethogs/receipt --- a/nethogs/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/nethogs/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,28 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="nethogs" VERSION="0.8.0" CATEGORY="network" -SHORT_DESC="Small 'net top' tool." +SHORT_DESC="Small 'net top' tool" MAINTAINER="paul@slitaz.org" LICENSE="GPL" +WEB_SITE="http://nethogs.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://nethogs.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -TAGS="network" -DEPENDS="ncurses gcc-lib-base libpcap" BUILD_DEPENDS="ncurses-dev libpcap libpcap-dev" -# Rules to configure and make the package. -compile_rules() -{ - make +compile_rules() { + make && + install -Dm 755 $src/nethogs $install/usr/sbin/nethogs } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/sbin - cp $src/$PACKAGE $fs/usr/sbin +genpkg_rules() { + copy @std + DEPENDS="ncurses gcc-lib-base libpcap" + TAGS="network" } diff -r 0c003fc18957 -r b278b2018965 nmon/receipt --- a/nmon/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/nmon/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,27 +1,25 @@ -# SliTaz package receipt +# SliTaz package receipt v2. + PACKAGE="nmon" VERSION="14g" CATEGORY="system-tools" -SHORT_DESC="Nigel's performance Monitor." +SHORT_DESC="Nigel's performance Monitor" MAINTAINER="meshca@clarkson.edu" -TARBALL="lmon$VERSION.c" LICENSE="GPL3" WEB_SITE="http://nmon.sourceforge.net/" + +TARBALL="lmon$VERSION.c" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="ncurses" BUILD_DEPENDS="linux-api-headers ncurses-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { cc -o nmon lmon$VERSION.c -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM \ - -lncurses -g -D POWER + -lncurses -g -D POWER && + install -Dm 755 $src/nmon $install/usr/bin/nmon } - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin/ - cp -a $src/nmon $fs/usr/bin/nmon + +genpkg_rules() { + copy @std + DEPENDS="ncurses" } diff -r 0c003fc18957 -r b278b2018965 ntl/receipt --- a/ntl/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/ntl/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="ntl" VERSION="5.5.2" @@ -7,25 +7,31 @@ MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL" WEB_SITE="http://shoup.net/ntl/" + TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/$TARBALL" -DEPENDS="" BUILD_DEPENDS="gmp-dev gf2x-dev libtool" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { + case $ARCH in + x86_64) Arch='nocona';; + *) Arch="$ARCH";; + esac + cd $src/src - ./configure CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer" \ - DEF_PREFIX=/usr NTL_STD_CXX=on NTL_GMP_LIP=on NTL_GF2X_LIB=on && + ./configure \ + CFLAGS="-march=$Arch -Os -pipe -fomit-frame-pointer" \ + DEF_PREFIX=/usr \ + NTL_STD_CXX=on \ + NTL_GMP_LIP=on \ + NTL_GF2X_LIB=on \ + && make && - sed -i '/^DEF_PREFIX=\/usr$/d' makefile + sed -i '/^DEF_PREFIX=\/usr$/d' makefile && make DEF_PREFIX=$install/usr install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/* $fs +genpkg_rules() { + copy @std } diff -r 0c003fc18957 -r b278b2018965 ntlmaps/receipt --- a/ntlmaps/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/ntlmaps/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,36 +1,34 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="ntlmaps" VERSION="0.9.9.0.1" CATEGORY="network" -SHORT_DESC="NTLM Authorization Proxy Server to authenticate via an MS Proxy." +SHORT_DESC="NTLM Authorization Proxy Server to authenticate via an MS Proxy" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://ntlmaps.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://ntlmaps.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -CONFIG_FILES="/etc/ntlmaps.conf" -TAGS="proxy server" -DEPENDS="python" - -# Rules to configure and make the package. -compile_rules() -{ - cd $src -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share/ntlmaps $fs/usr/bin $fs/etc - cp -a $src/* $fs/usr/share/ntlmaps - mv $fs/usr/share/ntlmaps/server.cfg $fs/etc/ntlmaps.conf - ln -s /etc/ntlmaps.conf $fs/usr/share/ntlmaps/server.cfg - cat > $fs/usr/bin/ntlmaps < $install/usr/bin/ntlmaps <" + cat < | + '------------------------------' +EOT fi } diff -r 0c003fc18957 -r b278b2018965 othello/receipt --- a/othello/receipt Mon Mar 12 00:04:19 2018 +0100 +++ b/othello/receipt Mon Mar 12 02:18:53 2018 +0200 @@ -1,26 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="othello" VERSION="1.0" CATEGORY="games" SHORT_DESC="Othello game in javascript" -TARBALL="$PACKAGE-$VERSION.tar.lzma" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" WEB_SITE="http://www.posi.net/software/othello/" -# Rules to configure and make the package. -compile_rules() -{ - mkdir -p $src/images 2> /dev/null +TARBALL="$PACKAGE-$VERSION.tar.lzma" + +compile_rules() { + mkdir -p $src/images 2>/dev/null cd $src if [ ! -s othello.js ]; then - if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then - unlzma -c $SOURCES_REPOSITORY/$TARBALL | tar xf - + if [ -f $SRC/$TARBALL ]; then + unlzma -c $SRC/$TARBALL | tar xf - mv $PACKAGE-$VERSION/* . else - wget -O $SOURCES_REPOSITORY/$TARBALL http://mirror.slitaz.org/sources/packages/o/$TARBALL && - unlzma -c $SOURCES_REPOSITORY/$TARBALL | tar xf - + wget -O $SRC/$TARBALL http://mirror.slitaz.org/sources/packages/o/$TARBALL && + unlzma -c $SRC/$TARBALL | tar xf - mv $PACKAGE-$VERSION/* . fi fi @@ -30,15 +29,13 @@ # [ -s $i ] || wget -P $(dirname $i) $WEB_SITE/$i #done sed -i 's|TITLE>.*Othello $fs/usr/share/applications/othello.desktop < $install/usr/share/applications/othello.desktop <