wok-next rev 20324
linux-libre-api-headers: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 12 00:47:34 2017 +0100 (2017-11-12) |
parents | 2580cc4152a5 |
children | e65af2bd0cc3 |
files | asterisk-dev/receipt asterisk/receipt foobillardplus-music/receipt foobillardplus/receipt gpxe-pxe/receipt gpxe/receipt libimobiledevice-dev/receipt libimobiledevice/receipt linux-libre-api-headers/receipt poedit-i18n/receipt poedit/receipt postfix-mysql/receipt postfix/receipt seed-dev/receipt seed/receipt supertux-data/receipt supertux/receipt warmux-music/receipt warmux/receipt |
line diff
1.1 --- a/asterisk-dev/receipt Sat Nov 11 23:40:00 2017 +0100 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,17 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="asterisk-dev" 1.7 -VERSION="11.1.1" 1.8 -CATEGORY="development" 1.9 -SHORT_DESC="Open Source PBX and telephony toolkit development files." 1.10 -MAINTAINER="pascal.bellard@slitaz.org" 1.11 -LICENSE="GPL2" 1.12 -WEB_SITE="http://www.asterisk.org/" 1.13 -WANTED="asterisk" 1.14 - 1.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 -genpkg_rules() 1.17 -{ 1.18 - mkdir -p $fs/usr 1.19 - cp -a $install/usr/include $fs/usr 1.20 -}
2.1 --- a/asterisk/receipt Sat Nov 11 23:40:00 2017 +0100 2.2 +++ b/asterisk/receipt Sun Nov 12 00:47:34 2017 +0100 2.3 @@ -1,4 +1,4 @@ 2.4 -# SliTaz package receipt. 2.5 +# SliTaz package receipt v2. 2.6 2.7 PACKAGE="asterisk" 2.8 VERSION="11.1.1" 2.9 @@ -10,14 +10,8 @@ 2.10 EXTRA_SOURCE_FILES="rfc3951.txt" 2.11 WEB_SITE="http://www.asterisk.org/" 2.12 WGET_URL="http://downloads.asterisk.org/pub/telephony/asterisk/releases/$TARBALL" 2.13 -CONFIG_FILES="/etc/asterisk" 2.14 TAGS="telephony" 2.15 2.16 -DEPENDS="openssl ncurses zlib libogg libvorbis curl newt libusb-compat alsa-lib \ 2.17 -speex iksemel spandsp tiff radiusclient-ng nbs freetds libpostgresqlclient \ 2.18 -libmysqlclient libunixODBC popt dahdi libpri lua libcap attr net-snmp \ 2.19 -portaudio sqlite3 libkrb5 libcomerr3 libsdl libsdl-image libssl libxml2 bluez \ 2.20 -libldap libical neon util-linux-uuid" 2.21 BUILD_DEPENDS="gtk+-dev libxml2-dev postgresql-dev libsdl-dev ncurses-dev \ 2.22 gmime gmime-dev unixODBC-dev unixODBC openldap-dev openldap \ 2.23 dahdi-linux dahdi-tools dahdi-dev \ 2.24 @@ -26,6 +20,7 @@ 2.25 libsdl-image-dev net-snmp iksemel libical-dev curl-dev libcap-dev iksemel-dev \ 2.26 jack-dev radiusclient-ng-dev radiusclient-ng \ 2.27 libvorbis-dev speex-dev" 2.28 +SPLIT="asterisk-dev" 2.29 2.30 # Rules to configure and make the package. 2.31 # 2.32 @@ -71,12 +66,28 @@ 2.33 # Rules to gen a SliTaz package suitable for Tazpkg. 2.34 genpkg_rules() 2.35 { 2.36 - mkdir -p $fs/usr 2.37 - cp -a $install/etc $fs 2.38 - cp -a $install/var $fs 2.39 - cp -a $install/usr/lib $fs/usr 2.40 - cp -a $install/usr/sbin $fs/usr 2.41 - cp -a $stuff/*/ $fs 2.42 + case $PACKAGE in 2.43 + asterisk) 2.44 + CONFIG_FILES="/etc/asterisk" 2.45 + DEPENDS="openssl ncurses zlib libogg libvorbis curl newt \ 2.46 + libusb-compat alsa-lib speex iksemel spandsp tiff \ 2.47 + radiusclient-ng nbs freetds libpostgresqlclient \ 2.48 + libmysqlclient libunixODBC popt dahdi libpri lua \ 2.49 + libcap attr net-snmp portaudio sqlite3 libkrb5 \ 2.50 + libcomerr3 libsdl libsdl-image libssl libxml2 bluez \ 2.51 + libldap libical neon util-linux-uuid" 2.52 + mkdir -p $fs/usr 2.53 + cp -a $install/etc $fs 2.54 + cp -a $install/var $fs 2.55 + cp -a $install/usr/lib $fs/usr 2.56 + cp -a $install/usr/sbin $fs/usr 2.57 + cp -a $stuff/*/ $fs 2.58 + ;; 2.59 + asterisk-dev) 2.60 + mkdir -p $fs/usr 2.61 + cp -a $install/usr/include $fs/usr 2.62 + ;; 2.63 + esac 2.64 } 2.65 2.66 # Rules to configure package
3.1 --- a/foobillardplus-music/receipt Sat Nov 11 23:40:00 2017 +0100 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,19 +0,0 @@ 3.4 -# SliTaz package receipt. 3.5 - 3.6 -PACKAGE="foobillardplus-music" 3.7 -VERSION="3.42beta" 3.8 -CATEGORY="games" 3.9 -SHORT_DESC="Music files for FooBillard++" 3.10 -MAINTAINER="al.bobylev@gmail.com" 3.11 -LICENSE="GPL2" 3.12 -WEB_SITE="http://foobillard.sourceforge.net/" 3.13 - 3.14 -WANTED="foobillardplus" 3.15 -DEPENDS="foobillardplus" 3.16 - 3.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.18 -genpkg_rules() 3.19 -{ 3.20 - mkdir -p $fs/usr/share/foobillardplus 3.21 - cp -a $src/data/music $fs/usr/share/foobillardplus 3.22 -}
4.1 --- a/foobillardplus/receipt Sat Nov 11 23:40:00 2017 +0100 4.2 +++ b/foobillardplus/receipt Sun Nov 12 00:47:34 2017 +0100 4.3 @@ -1,4 +1,4 @@ 4.4 -# SliTaz package receipt. 4.5 +# SliTaz package receipt v2. 4.6 4.7 PACKAGE="foobillardplus" 4.8 VERSION="3.42beta" 4.9 @@ -14,6 +14,7 @@ 4.10 4.11 BUILD_DEPENDS="bash automake autoconf libsdl-dev libsdl-mixer-dev \ 4.12 libsdl-net-dev mesa-dev libglu-mesa freetype-dev libpng-dev libglu-mesa-dev" 4.13 +SPLIT="foobillardplus foobillardplus-music" 4.14 4.15 # Rules to configure and make the package. 4.16 compile_rules() 4.17 @@ -29,12 +30,22 @@ 4.18 # Rules to gen a SliTaz package suitable for Tazpkg. 4.19 genpkg_rules() 4.20 { 4.21 - mkdir -p $fs/usr/bin $fs/usr/share/foobillardplus 4.22 - cp -a $src/src/foobillardplus $fs/usr/bin 4.23 - DATADIR=$fs/usr/share/foobillardplus 4.24 - cp -a $src/data/* $DATADIR 4.25 - rm -f $DATADIR/*.ttf 4.26 - rm -f $DATADIR/*.ico 4.27 - # move to package foobillardplus-music 4.28 - rm -rf $DATADIR/music 4.29 + case $PACKAGE in 4.30 + foobillardplus) 4.31 + mkdir -p $fs/usr/bin $fs/usr/share/foobillardplus 4.32 + cp -a $src/src/foobillardplus $fs/usr/bin 4.33 + DATADIR=$fs/usr/share/foobillardplus 4.34 + cp -a $src/data/* $DATADIR 4.35 + rm -f $DATADIR/*.ttf 4.36 + rm -f $DATADIR/*.ico 4.37 + # move to package foobillardplus-music 4.38 + rm -rf $DATADIR/music 4.39 + ;; 4.40 + foobillardplus-music) 4.41 + CAT="games|Music files for FooBillard++" 4.42 + DEPENDS="foobillardplus" 4.43 + mkdir -p $fs/usr/share/foobillardplus 4.44 + cp -a $src/data/music $fs/usr/share/foobillardplus 4.45 + ;; 4.46 + esac 4.47 }
5.1 --- a/gpxe-pxe/receipt Sat Nov 11 23:40:00 2017 +0100 5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 5.3 @@ -1,23 +0,0 @@ 5.4 -# SliTaz package receipt. 5.5 - 5.6 -PACKAGE="gpxe-pxe" 5.7 -VERSION="0.9.3" 5.8 -CATEGORY="system-tools" 5.9 -SHORT_DESC="Ethernet bootloader for pxe server." 5.10 -MAINTAINER="pascal.bellard@slitaz.org" 5.11 -LICENSE="GPL2" 5.12 -WEB_SITE="http://www.etherboot.org/" 5.13 -WANTED="gpxe" 5.14 - 5.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 5.16 -genpkg_rules() 5.17 -{ 5.18 - mkdir -p $fs/usr/share/boot 5.19 - cp $src/src/bin/undionly.kpxe $fs/usr/share/boot/gpxe.pxe 5.20 - # install 255 bytes of forced url at offset 5 5.21 - echo -n "\ 5.22 -http://mirror.slitaz.org/pxe/pxelinux.0,\ 5.23 -http://mirror.switch.ch/ftp/mirror/pxe/pxelinux.0,\ 5.24 -http://download.tuxfamily.org/slitaz/pxe/pxelinux.0" | cat - /dev/zero | \ 5.25 - dd bs=1 seek=5 count=255 conv=notrunc of=$fs/usr/share/boot/gpxe.pxe 5.26 -}
6.1 --- a/gpxe/receipt Sat Nov 11 23:40:00 2017 +0100 6.2 +++ b/gpxe/receipt Sun Nov 12 00:47:34 2017 +0100 6.3 @@ -1,4 +1,4 @@ 6.4 -# SliTaz package receipt. 6.5 +# SliTaz package receipt v2. 6.6 6.7 PACKAGE="gpxe" 6.8 VERSION="0.9.3" 6.9 @@ -11,6 +11,7 @@ 6.10 WGET_URL="http://kernel.org/pub/software/utils/boot/$PACKAGE/Old/$TARBALL" 6.11 6.12 BUILD_DEPENDS="perl" 6.13 +SPLIT="gpxe gpxe-pxe" 6.14 6.15 # Rules to configure and make the package. 6.16 compile_rules() 6.17 @@ -32,12 +33,27 @@ 6.18 # Rules to gen a SliTaz package suitable for Tazpkg. 6.19 genpkg_rules() 6.20 { 6.21 - mkdir -p $fs/boot 6.22 - cp $src/src/bin/gpxe.lkrn $fs/boot/gpxe 6.23 - # install 255 bytes of forced url at offset 519 6.24 - echo -n "\ 6.25 + case $PACKAGE in 6.26 + gpxe) 6.27 + mkdir -p $fs/boot 6.28 + cp $src/src/bin/gpxe.lkrn $fs/boot/gpxe 6.29 + # install 255 bytes of forced url at offset 519 6.30 + echo -n "\ 6.31 http://mirror.slitaz.org/pxe/pxelinux.0,\ 6.32 http://mirror.switch.ch/ftp/mirror/pxe/pxelinux.0,\ 6.33 http://download.tuxfamily.org/slitaz/pxe/pxelinux.0" | cat - /dev/zero | \ 6.34 - dd bs=1 seek=519 count=255 conv=notrunc of=$fs/boot/gpxe 6.35 + dd bs=1 seek=519 count=255 conv=notrunc of=$fs/boot/gpxe 6.36 + ;; 6.37 + gpxe-pxe) 6.38 + CAT="system-tools|Ethernet bootloader for pxe server." 6.39 + mkdir -p $fs/usr/share/boot 6.40 + cp $src/src/bin/undionly.kpxe $fs/usr/share/boot/gpxe.pxe 6.41 + # install 255 bytes of forced url at offset 5 6.42 + echo -n "\ 6.43 +http://mirror.slitaz.org/pxe/pxelinux.0,\ 6.44 +http://mirror.switch.ch/ftp/mirror/pxe/pxelinux.0,\ 6.45 +http://download.tuxfamily.org/slitaz/pxe/pxelinux.0" | cat - /dev/zero | \ 6.46 + dd bs=1 seek=5 count=255 conv=notrunc of=$fs/usr/share/boot/gpxe.pxe 6.47 + ;; 6.48 + esac 6.49 }
7.1 --- a/libimobiledevice-dev/receipt Sat Nov 11 23:40:00 2017 +0100 7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 7.3 @@ -1,21 +0,0 @@ 7.4 -# SliTaz package receipt. 7.5 - 7.6 -PACKAGE="libimobiledevice-dev" 7.7 -VERSION="1.1.1" 7.8 -CATEGORY="development" 7.9 -SHORT_DESC="devel files for libimobledevice" 7.10 -MAINTAINER="slaxemulator@gmail.com" 7.11 -LICENSE="GPL2" 7.12 -WEB_SITE="http://libimobiledevice.org" 7.13 -WANTED="libimobiledevice" 7.14 - 7.15 -DEPENDS="libimobiledevice pkg-config" 7.16 - 7.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 7.18 -genpkg_rules() 7.19 -{ 7.20 - mkdir -p $fs/usr/lib 7.21 - cp -a $install/usr/include $fs/usr 7.22 - cp -a $install/usr/lib/*.*a $fs/usr/lib 7.23 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 7.24 -}
8.1 --- a/libimobiledevice/receipt Sat Nov 11 23:40:00 2017 +0100 8.2 +++ b/libimobiledevice/receipt Sun Nov 12 00:47:34 2017 +0100 8.3 @@ -1,4 +1,4 @@ 8.4 -# SliTaz package receipt. 8.5 +# SliTaz package receipt v2. 8.6 8.7 PACKAGE="libimobiledevice" 8.8 VERSION="1.1.1" 8.9 @@ -10,9 +10,9 @@ 8.10 TARBALL="$PACKAGE-$VERSION.tar.bz2" 8.11 WGET_URL="$WEB_SITE/downloads/$TARBALL" 8.12 8.13 -DEPENDS="gnutls glib libplist usbmuxd" 8.14 BUILD_DEPENDS="gnutls-dev glib-dev libplist-dev usbmuxd-dev python-dev swig \ 8.15 libxml2-dev libgcrypt-dev" 8.16 +SPLIT="libimobiledevice-dev" 8.17 8.18 # Rules to configure and make the package. 8.19 compile_rules() 8.20 @@ -27,8 +27,20 @@ 8.21 # Rules to gen a SliTaz package suitable for Tazpkg. 8.22 genpkg_rules() 8.23 { 8.24 - mkdir -p $fs/usr/lib 8.25 - cp -a $install/usr/bin $fs/usr 8.26 - cp -a $install/usr/lib/*.so* $fs/usr/lib 8.27 - cp -a $install/usr/lib/python* $fs/usr/lib 8.28 + case $PACKAGE in 8.29 + libimobiledevice) 8.30 + DEPENDS="gnutls glib libplist usbmuxd" 8.31 + mkdir -p $fs/usr/lib 8.32 + cp -a $install/usr/bin $fs/usr 8.33 + cp -a $install/usr/lib/*.so* $fs/usr/lib 8.34 + cp -a $install/usr/lib/python* $fs/usr/lib 8.35 + ;; 8.36 + libimobiledevice-dev) 8.37 + DEPENDS="libimobiledevice pkg-config" 8.38 + mkdir -p $fs/usr/lib 8.39 + cp -a $install/usr/include $fs/usr 8.40 + cp -a $install/usr/lib/*.*a $fs/usr/lib 8.41 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 8.42 + ;; 8.43 + esac 8.44 }
9.1 --- a/linux-libre-api-headers/receipt Sat Nov 11 23:40:00 2017 +0100 9.2 +++ b/linux-libre-api-headers/receipt Sun Nov 12 00:47:34 2017 +0100 9.3 @@ -12,6 +12,8 @@ 9.4 WEB_SITE="http://www.fsfla.org/svnwiki/selibre/linux-libre/" 9.5 WGET_URL="http://www.fsfla.org/svnwiki/selibre/linux-libre/download/releases/$VERSION/$TARBALL" 9.6 9.7 +BUILD_DEPENDS="perl" 9.8 + 9.9 # Rules to compile & install the temporary toolchain. 9.10 cook_tmp_toolchain() 9.11 {
10.1 --- a/poedit-i18n/receipt Sat Nov 11 23:40:00 2017 +0100 10.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 10.3 @@ -1,19 +0,0 @@ 10.4 -# SliTaz package receipt. 10.5 - 10.6 -PACKAGE="poedit-i18n" 10.7 -VERSION="1.8.6" 10.8 -CATEGORY="localization" 10.9 -SHORT_DESC="Translations for Poedit" 10.10 -MAINTAINER="al.bobylev@gmail.com" 10.11 -LICENSE="MIT" 10.12 -WEB_SITE="http://poedit.net/" 10.13 - 10.14 -WANTED="poedit" 10.15 -DEPENDS="poedit" 10.16 - 10.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 10.18 -genpkg_rules() 10.19 -{ 10.20 - mkdir -p $fs/usr/share 10.21 - cp -a $install/usr/share/locale $fs/usr/share 10.22 -}
11.1 --- a/poedit/receipt Sat Nov 11 23:40:00 2017 +0100 11.2 +++ b/poedit/receipt Sun Nov 12 00:47:34 2017 +0100 11.3 @@ -1,4 +1,4 @@ 11.4 -# SliTaz package receipt. 11.5 +# SliTaz package receipt v2. 11.6 11.7 PACKAGE="poedit" 11.8 VERSION="1.8.6" 11.9 @@ -10,11 +10,10 @@ 11.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 11.11 WGET_URL="https://github.com/vslavik/$PACKAGE/archive/v$VERSION-oss.tar.gz" 11.12 11.13 -DEPENDS="wxWidgets lucene++ gtkspell gcc49-lib-base gettext-tools" 11.14 BUILD_DEPENDS="automake gettext asciidoc libxslt xmlto util-linux-getopt \ 11.15 docbook-xsl gcc49 wxWidgets-dev icu-dev gtkspell-dev \ 11.16 lucene++-dev db-dev libdb libdb-cxx expat-dev" 11.17 -SUGGESTED="aspell" 11.18 +SPLIT="poedit poedit-i18n" 11.19 11.20 # Rules to configure and make the package. 11.21 compile_rules() 11.22 @@ -33,6 +32,18 @@ 11.23 # Rules to gen a SliTaz package suitable for Tazpkg. 11.24 genpkg_rules() 11.25 { 11.26 - cp -a $install/* $fs 11.27 - rm -r $fs/usr/share/locale $fs/usr/share/man 11.28 + case $PACKAGE in 11.29 + poedit) 11.30 + SUGGESTED="aspell" 11.31 + DEPENDS="wxWidgets lucene++ gtkspell gcc49-lib-base gettext-tools" 11.32 + cp -a $install/* $fs 11.33 + rm -r $fs/usr/share/locale $fs/usr/share/man 11.34 + ;; 11.35 + poedit-18n) 11.36 + CAT="localization|Translations for Poedit" 11.37 + DEPENDS="poedit" 11.38 + mkdir -p $fs/usr/share 11.39 + cp -a $install/usr/share/locale $fs/usr/share 11.40 + ;; 11.41 + esac 11.42 }
12.1 --- a/postfix-mysql/receipt Sat Nov 11 23:40:00 2017 +0100 12.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 12.3 @@ -1,20 +0,0 @@ 12.4 -# SliTaz package receipt. 12.5 - 12.6 -PACKAGE="postfix-mysql" 12.7 -VERSION="2.10.2" 12.8 -CATEGORY="network" 12.9 -SHORT_DESC="MySQL support for Postfix." 12.10 -MAINTAINER="erjo@slitaz.org" 12.11 -LICENSE="other" 12.12 -WEB_SITE="http://www.postfix.org/" 12.13 -WANTED="postfix" 12.14 - 12.15 -DEPENDS="postfix libmysqlclient" 12.16 - 12.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 12.18 -genpkg_rules() 12.19 -{ 12.20 - mkdir -p $fs/usr/lib/postfix/ 12.21 - cp -a $src/src/global/dict_mysql.o $fs/usr/lib/postfix 12.22 -} 12.23 -
13.1 --- a/postfix/receipt Sat Nov 11 23:40:00 2017 +0100 13.2 +++ b/postfix/receipt Sun Nov 12 00:47:34 2017 +0100 13.3 @@ -1,22 +1,18 @@ 13.4 -# SliTaz package receipt. 13.5 +# SliTaz package receipt v2. 13.6 13.7 PACKAGE="postfix" 13.8 VERSION="2.10.2" 13.9 CATEGORY="network" 13.10 -SHORT_DESC="fast, easy to administer, and secure mailer." 13.11 +SHORT_DESC="fast, easy to administer, and secure mailer" 13.12 MAINTAINER="pascal.bellard@slitaz.org" 13.13 LICENSE="other" 13.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 13.15 WEB_SITE="http://www.postfix.org/" 13.16 WGET_URL="ftp://ftp.cs.tu-berlin.de/pub/net/mail/postfix/official/$TARBALL" 13.17 -TAZPANEL_DAEMON="man|edit::/etc/postfix/main.cf|options|web::$WEB_SITE" 13.18 -CONFIG_FILES="/etc/postfix" 13.19 -PROVIDE="sendmail" 13.20 13.21 -DEPENDS="libdb libldap pcre libssl slitaz-base-files libsasl libkrb5 \ 13.22 -libcomerr3 libmysqlclient" 13.23 BUILD_DEPENDS="db-dev openldap-dev pcre-dev openssl-dev perl mysql-dev \ 13.24 cyrus-sasl-dev libsasl" 13.25 +SPLIT="postfix postfix-mysql" 13.26 13.27 # Rules to configure and make the package. 13.28 compile_rules() 13.29 @@ -38,43 +34,58 @@ 13.30 # Rules to gen a SliTaz package suitable for Tazpkg. 13.31 genpkg_rules() 13.32 { 13.33 - mkdir -p $fs/usr/share/licenses/ 13.34 - cp -a $install/usr/lib $fs/usr 13.35 - cp -a $install/usr/bin $fs/usr 13.36 - cp -a $install/usr/sbin $fs/usr 13.37 - cp -a $install/etc $fs 13.38 + case $PACKAGE in 13.39 + postfix) 13.40 + TAZPANEL_DAEMON="man|edit::/etc/postfix/main.cf|options|web::$WEB_SITE" 13.41 + CONFIG_FILES="/etc/postfix" 13.42 + PROVIDE="sendmail" 13.43 + DEPENDS="libdb libldap pcre libssl slitaz-base-files libsasl \ 13.44 + libkrb5 libcomerr3 libmysqlclient" 13.45 + mkdir -p $fs/usr/share/licenses/ 13.46 + cp -a $install/usr/lib $fs/usr 13.47 + cp -a $install/usr/bin $fs/usr 13.48 + cp -a $install/usr/sbin $fs/usr 13.49 + cp -a $install/etc $fs 13.50 13.51 - awk 'BEGIN {n=0} /MUST/ {n++} /ALIASES/ {n++} { if (n==1) print }' \ 13.52 - < $install/etc/postfix/aliases > $fs/etc/postfix/aliases 13.53 - while read keyword data; do 13.54 - grep -q ^$keyword $fs/etc/postfix/main.cf && continue 13.55 - mv $fs/etc/postfix/main.cf $fs/etc/postfix/main.cf.$$ 13.56 - awk "BEGIN { scan=1 } /^#$keyword / { if (scan) { print \"$keyword $data\" ; scan=0 } } { print }" \ 13.57 - < $fs/etc/postfix/main.cf.$$ > $fs/etc/postfix/main.cf 13.58 - rm -f $fs/etc/postfix/main.cf.$$ 13.59 - done << EOF 13.60 + awk 'BEGIN {n=0} /MUST/ {n++} /ALIASES/ {n++} { if (n==1) print }' \ 13.61 + < $install/etc/postfix/aliases > $fs/etc/postfix/aliases 13.62 + while read keyword data; do 13.63 + grep -q ^$keyword $fs/etc/postfix/main.cf && continue 13.64 + mv $fs/etc/postfix/main.cf $fs/etc/postfix/main.cf.$$ 13.65 + awk "BEGIN { scan=1 } /^#$keyword / { if (scan) { print \"$keyword $data\" ; scan=0 } } { print }" \ 13.66 + < $fs/etc/postfix/main.cf.$$ > $fs/etc/postfix/main.cf 13.67 + rm -f $fs/etc/postfix/main.cf.$$ 13.68 + done << EOF 13.69 mydomain = localdomain 13.70 myorigin = localhost 13.71 mydestination = localhost, localhost.\$mydomain 13.72 mynetworks = 127.0.0.0/8 13.73 alias_maps = hash:/etc/postfix/aliases 13.74 EOF 13.75 - cat >> $fs/etc/postfix/main.cf <<EOF 13.76 + cat >> $fs/etc/postfix/main.cf <<EOF 13.77 13.78 # Unsafe, see CVE-2014-3566 POODLE 13.79 smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3 13.80 EOF 13.81 - cp -a $stuff/etc $fs 13.82 - cp -a $install/var $fs 13.83 - mv $fs/etc/postfix/TLS_LICENSE $fs/usr/share/licenses/POSTFIX_TLS_LICENSE 13.84 - mv $fs/etc/postfix/LICENSE $fs/usr/share/licenses/POSTFIX_LICENSE 13.85 - cp -a $stuff/etc/init.d $fs/etc 13.86 - rm -f $fs/usr/lib/postfix/post* $fs/usr/lib/postfix/*.cf 13.87 - strip -s $fs/usr/lib/postfix/* 13.88 + cp -a $stuff/etc $fs 13.89 + cp -a $install/var $fs 13.90 + mv $fs/etc/postfix/TLS_LICENSE $fs/usr/share/licenses/POSTFIX_TLS_LICENSE 13.91 + mv $fs/etc/postfix/LICENSE $fs/usr/share/licenses/POSTFIX_LICENSE 13.92 + cp -a $stuff/etc/init.d $fs/etc 13.93 + rm -f $fs/usr/lib/postfix/post* $fs/usr/lib/postfix/*.cf 13.94 + strip -s $fs/usr/lib/postfix/* 13.95 + ;; 13.96 + postfix-mysql) 13.97 + CAT="network|MySQL support for postfix" 13.98 + DEPENDS="postfix libmysqlclient" 13.99 + mkdir -p $fs/usr/lib/postfix/ 13.100 + cp -a $src/src/global/dict_mysql.o $fs/usr/lib/postfix 13.101 + ;; 13.102 + esac 13.103 } 13.104 13.105 # Pre and post install commands for Tazpkg. 13.106 -post_install() 13.107 +post_install_postfix() 13.108 { 13.109 13.110 local user 13.111 @@ -122,12 +133,12 @@ 13.112 } 13.113 13.114 # Overlap busybox 13.115 -pre_install() 13.116 +pre_install_postfix() 13.117 { 13.118 rm -f "$1/usr/sbin/sendmail" 13.119 } 13.120 13.121 -post_remove() 13.122 +post_remove_postfix() 13.123 { 13.124 deluser postfix 13.125 delgroup postdrop
14.1 --- a/seed-dev/receipt Sat Nov 11 23:40:00 2017 +0100 14.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 14.3 @@ -1,24 +0,0 @@ 14.4 -# SliTaz package receipt. 14.5 - 14.6 -PACKAGE="seed-dev" 14.7 -VERSION="3.2.0" 14.8 -CATEGORY="development" 14.9 -SHORT_DESC="Gnome JavaScript REPL/Interpreter devel files." 14.10 -MAINTAINER="pankso@slitaz.org" 14.11 -LICENSE="GPL2" 14.12 -WEB_SITE="http://www.gnome.org/" 14.13 -WANTED="seed" 14.14 - 14.15 -DEPENDS="libffi-dev libwebkit-dev gobject-introspection-dev dbus-dev \ 14.16 -dbus-glib-dev readline-dev mpfr-dev gmp-dev libxslt-dev util-linux-uuid-dev \ 14.17 -cairo-dev gnome-js-common pkg-config" 14.18 - 14.19 -# Rules to gen a SliTaz package suitable for Tazpkg. 14.20 -genpkg_rules() 14.21 -{ 14.22 - mkdir -p $fs/usr/lib/seed 14.23 - cp -a $install/usr/include $fs/usr 14.24 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 14.25 - cp -a $install/usr/lib/*.*a $fs/usr/lib 14.26 - cp -a $install/usr/lib/seed/*.*a $fs/usr/lib/seed 14.27 -}
15.1 --- a/seed/receipt Sat Nov 11 23:40:00 2017 +0100 15.2 +++ b/seed/receipt Sun Nov 12 00:47:34 2017 +0100 15.3 @@ -1,4 +1,4 @@ 15.4 -# SliTaz package receipt. 15.5 +# SliTaz package receipt v2. 15.6 15.7 PACKAGE="seed" 15.8 VERSION="3.2.0" 15.9 @@ -10,16 +10,14 @@ 15.10 WEB_SITE="http://www.gnome.org/" 15.11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 15.12 15.13 -DEPENDS="libffi libwebkit gobject-introspection dbus dbus-glib readline \ 15.14 -mpfr gmp libxslt util-linux-uuid cairo gnome-js-common" 15.15 BUILD_DEPENDS="libffi-dev libwebkit-dev gobject-introspection-dev dbus-dev \ 15.16 dbus-glib-dev readline-dev mpfr-dev gmp-dev libxslt-dev util-linux-uuid-dev \ 15.17 cairo-dev gnome-js-common intltool gtk+-dev" 15.18 +SPLIT="seed-dev" 15.19 15.20 # Rules to configure and make the package. 15.21 compile_rules() 15.22 { 15.23 - cd $src 15.24 ./configure \ 15.25 --with-webkit=1.0 \ 15.26 $CONFIGURE_ARGS && 15.27 @@ -29,9 +27,27 @@ 15.28 # Rules to gen a SliTaz package suitable for Tazpkg. 15.29 genpkg_rules() 15.30 { 15.31 - mkdir -p $fs/usr/lib/seed $fs/usr/share 15.32 - cp -a $install/usr/bin $fs/usr 15.33 - cp -a $install/usr/lib/*.so* $fs/usr/lib 15.34 - cp -a $install/usr/lib/seed/*.so* $fs/usr/lib/seed 15.35 - cp -a $install/usr/share/seed $fs/usr/share 15.36 + case $PACKAGE in 15.37 + seed) 15.38 + DEPENDS="libffi libwebkit gobject-introspection dbus dbus-glib \ 15.39 + readline mpfr gmp libxslt util-linux-uuid cairo \ 15.40 + gnome-js-common" 15.41 + mkdir -p $fs/usr/lib/seed $fs/usr/share 15.42 + cp -a $install/usr/bin $fs/usr 15.43 + cp -a $install/usr/lib/*.so* $fs/usr/lib 15.44 + cp -a $install/usr/lib/seed/*.so* $fs/usr/lib/seed 15.45 + cp -a $install/usr/share/seed $fs/usr/share 15.46 + ;; 15.47 + seed-dev) 15.48 + DEPENDS="libffi-dev libwebkit-dev gobject-introspection-dev \ 15.49 + dbus-dev dbus-glib-dev readline-dev mpfr-dev gmp-dev \ 15.50 + libxslt-dev util-linux-uuid-dev cairo-dev \ 15.51 + gnome-js-common pkg-config" 15.52 + mkdir -p $fs/usr/lib/seed 15.53 + cp -a $install/usr/include $fs/usr 15.54 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 15.55 + cp -a $install/usr/lib/*.*a $fs/usr/lib 15.56 + cp -a $install/usr/lib/seed/*.*a $fs/usr/lib/seed 15.57 + ;; 15.58 + esac 15.59 }
16.1 --- a/supertux-data/receipt Sat Nov 11 23:40:00 2017 +0100 16.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 16.3 @@ -1,18 +0,0 @@ 16.4 -# SliTaz package receipt. 16.5 - 16.6 -PACKAGE="supertux-data" 16.7 -VERSION="0.3.3" 16.8 -CATEGORY="games" 16.9 -SHORT_DESC="SuperTux data files" 16.10 -MAINTAINER="slaxemulator@gmail.com" 16.11 -LICENSE="GPL3" 16.12 -WEB_SITE="http://supertux.lethargik.org/" 16.13 -WANTED="supertux" 16.14 - 16.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 16.16 -genpkg_rules() 16.17 -{ 16.18 - echo Copying data... 16.19 - mkdir -p $fs/usr/share 16.20 - cp -a $install/usr/share/games $fs/usr/share 16.21 -}
17.1 --- a/supertux/receipt Sat Nov 11 23:40:00 2017 +0100 17.2 +++ b/supertux/receipt Sun Nov 12 00:47:34 2017 +0100 17.3 @@ -1,4 +1,4 @@ 17.4 -# SliTaz package receipt. 17.5 +# SliTaz package receipt v2. 17.6 17.7 PACKAGE="supertux" 17.8 VERSION="0.3.3" 17.9 @@ -11,15 +11,13 @@ 17.10 WEB_SITE="http://supertux.lethargik.org/" 17.11 WGET_URL="http://supertux.googlecode.com/files/$TARBALL" 17.12 17.13 -DEPENDS="libsdl libsdl-image libsdl-mixer curl physfs openal mesa glew \ 17.14 -supertux-data" 17.15 BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev curl-dev \ 17.16 physfs-dev openal-dev mesa-dev glew-dev cmake libboost-dev libvorbis-dev" 17.17 +SPLIT="supertux-data" 17.18 17.19 # Rules to configure and make the package. 17.20 compile_rules() 17.21 { 17.22 - cd $src 17.23 cp $stuff/menu.h src 17.24 sed -i 's|# include <curl/types.h>||g' src/addon/addon_manager.cpp 17.25 sed -i '1i#include <cstddef>' src/supertux/screen_manager.hpp 17.26 @@ -30,6 +28,18 @@ 17.27 # Rules to gen a SliTaz package suitable for Tazpkg. 17.28 genpkg_rules() 17.29 { 17.30 - mkdir -p $fs/usr 17.31 - cp -a $install/usr/bin $fs/usr 17.32 + case $PACKAGE in 17.33 + supertux) 17.34 + DEPENDS="libsdl libsdl-image libsdl-mixer curl physfs openal \ 17.35 + mesa glew supertux-data" 17.36 + mkdir -p $fs/usr 17.37 + cp -a $install/usr/bin $fs/usr 17.38 + ;; 17.39 + supertux-data) 17.40 + CAT="games|data files" 17.41 + echo Copying data... 17.42 + mkdir -p $fs/usr/share 17.43 + cp -a $install/usr/share/games $fs/usr/share 17.44 + ;; 17.45 + esac 17.46 }
18.1 --- a/warmux-music/receipt Sat Nov 11 23:40:00 2017 +0100 18.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 18.3 @@ -1,19 +0,0 @@ 18.4 -# SliTaz package receipt. 18.5 - 18.6 -PACKAGE="warmux-music" 18.7 -VERSION="11.04.1" 18.8 -CATEGORY="games" 18.9 -SHORT_DESC="Warmux game music (~35Mb)" 18.10 -MAINTAINER="slaxemulator@gmail.com" 18.11 -LICENSE="GPL2" 18.12 -WEB_SITE="http://www.wormux.org/" 18.13 - 18.14 -WANTED="warmux" 18.15 -DEPENDS="warmux" 18.16 - 18.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 18.18 -genpkg_rules() 18.19 -{ 18.20 - mkdir -p $fs/usr/share/warmux 18.21 - cp -a $install/usr/share/warmux/music $fs/usr/share/warmux 18.22 -}
19.1 --- a/warmux/receipt Sat Nov 11 23:40:00 2017 +0100 19.2 +++ b/warmux/receipt Sun Nov 12 00:47:34 2017 +0100 19.3 @@ -1,4 +1,4 @@ 19.4 -# SliTaz package receipt. 19.5 +# SliTaz package receipt v2. 19.6 19.7 PACKAGE="warmux" 19.8 VERSION="11.04.1" 19.9 @@ -9,14 +9,11 @@ 19.10 WEB_SITE="http://www.wormux.org/" 19.11 TARBALL="$PACKAGE-$VERSION.tar.bz2" 19.12 WGET_URL="http://download.gna.org/warmux/$TARBALL" 19.13 -PROVIDE="wormux" 19.14 -SUGGESTED="warmux-music" 19.15 19.16 -DEPENDS="libsdl-gfx libsdl-image libsdl-mixer libsdl-net libsdl-ttf \ 19.17 -curl freetype libxml2 libxml++ gcc-lib-base gettext-base" 19.18 BUILD_DEPENDS="libsdl-dev libsdl-gfx-dev libsdl-image-dev libsdl-mixer-dev \ 19.19 libsdl-net-dev libsdl-ttf-dev curl-dev freetype-dev libxml2-dev libxml++-dev \ 19.20 pkg-config" 19.21 +SPLIT="warmux warmux-music" 19.22 19.23 # Rules to configure and make the package. 19.24 compile_rules() 19.25 @@ -37,13 +34,28 @@ 19.26 # Rules to gen a SliTaz package suitable for Tazpkg. 19.27 genpkg_rules() 19.28 { 19.29 - mkdir -p $fs/usr/share 19.30 - cp -a $install/usr/games $fs/usr 19.31 - cp -a $install/usr/share/pixmaps $fs/usr/share 19.32 - cp -a $install/usr/share/warmux $fs/usr/share 19.33 + case $PACKAGE in 19.34 + warmux) 19.35 + PROVIDE="wormux" 19.36 + SUGGESTED="warmux-music" 19.37 + DEPENDS="libsdl-gfx libsdl-image libsdl-mixer libsdl-net \ 19.38 + libsdl-ttf curl freetype libxml2 libxml++ gcc-lib-base \ 19.39 + gettext-base" 19.40 + mkdir -p $fs/usr/share 19.41 + cp -a $install/usr/games $fs/usr 19.42 + cp -a $install/usr/share/pixmaps $fs/usr/share 19.43 + cp -a $install/usr/share/warmux $fs/usr/share 19.44 19.45 - # Remove unecessary files 19.46 - rm -rf $fs/usr/share/warmux/font 19.47 - rm -rf $fs/usr/share/warmux/music 19.48 - #rm -rf $fs/usr/share/warmux/sound 19.49 + # Remove unecessary files 19.50 + rm -rf $fs/usr/share/warmux/font 19.51 + rm -rf $fs/usr/share/warmux/music 19.52 + #rm -rf $fs/usr/share/warmux/sound 19.53 + ;; 19.54 + warmux-music) 19.55 + CAT="games|game music (~35Mb)" 19.56 + DEPENDS="warmux" 19.57 + mkdir -p $fs/usr/share/warmux 19.58 + cp -a $install/usr/share/warmux/music $fs/usr/share/warmux 19.59 + ;; 19.60 + esac 19.61 }