wok-next rev 20184
Up llvm (5.0.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 02 17:11:17 2017 +0100 (2017-11-02) |
parents | c78b38baa3f0 |
children | 3417c3ffbd13 |
files | cairo-gl-dev/receipt cairo-gl-tools/receipt cairo-gl/receipt cherokee-dev/receipt cherokee-doc/receipt cherokee/receipt fluxbox-themes/receipt fluxbox-tools/receipt fluxbox/receipt freeradius-dialupadmin/receipt freeradius-pam/receipt freeradius/receipt gnome-python-dev/receipt gnome-python/receipt gnome-vfs-dev/receipt gnome-vfs-i18n/receipt gnome-vfs/receipt llvm/receipt python-gconf/receipt |
line diff
1.1 --- a/cairo-gl-dev/receipt Thu Nov 02 16:04:40 2017 +0100 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,26 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="cairo-gl-dev" 1.7 -VERSION="1.14.4" 1.8 -CATEGORY="development" 1.9 -SHORT_DESC="2D graphics library with GL support, development files" 1.10 -MAINTAINER="pankso@slitaz.org" 1.11 -LICENSE="MPL LGPL2.1" 1.12 -WEB_SITE="https://www.cairographics.org/" 1.13 -HOST_ARCH="i486" 1.14 - 1.15 -WANTED="cairo-gl" 1.16 -DEPENDS="cairo-gl cairo-gl-tools fontconfig-dev freetype-dev glib-dev \ 1.17 -harfbuzz-dev libdrm-dev libffi-dev libpng-dev libxcb-dev libxml2-dev \ 1.18 -mesa-wayland-dev pcre-dev pixman-dev udev-dev wayland-dev xorg-libX11-dev \ 1.19 -xorg-libXau-dev xorg-libXdamage-dev xorg-libXdmcp-dev xorg-libXext-dev \ 1.20 -xorg-libXfixes-dev xorg-libXrender-dev xorg-libXxf86vm-dev" 1.21 - 1.22 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.23 -genpkg_rules() 1.24 -{ 1.25 - mkdir -p $fs/usr/lib 1.26 - cp -a $install/usr/lib/*.*a $fs/usr/lib 1.27 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.28 - cp -a $install/usr/include $fs/usr 1.29 -}
2.1 --- a/cairo-gl-tools/receipt Thu Nov 02 16:04:40 2017 +0100 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,21 +0,0 @@ 2.4 -# SliTaz package receipt. 2.5 - 2.6 -PACKAGE="cairo-gl-tools" 2.7 -VERSION="1.14.4" 2.8 -CATEGORY="development" 2.9 -SHORT_DESC="2D graphics library, development tools" 2.10 -MAINTAINER="al.bobylev@gmail.com" 2.11 -LICENSE="MPL LGPL2.1" 2.12 -WEB_SITE="https://www.cairographics.org/" 2.13 -HOST_ARCH="i486 arm" 2.14 - 2.15 -WANTED="cairo-gl" 2.16 -DEPENDS="cairo-gl libbfd wayland" 2.17 - 2.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.19 -genpkg_rules() 2.20 -{ 2.21 - mkdir -p $fs/usr/lib/cairo 2.22 - cp -a $install/usr/bin $fs/usr 2.23 - cp -a $install/usr/lib/cairo/*.so* $fs/usr/lib/cairo 2.24 -}
3.1 --- a/cairo-gl/receipt Thu Nov 02 16:04:40 2017 +0100 3.2 +++ b/cairo-gl/receipt Thu Nov 02 17:11:17 2017 +0100 3.3 @@ -1,4 +1,4 @@ 3.4 -# SliTaz package receipt. 3.5 +# SliTaz package receipt v2. 3.6 3.7 PACKAGE="cairo-gl" 3.8 VERSION="1.14.4" 3.9 @@ -11,16 +11,12 @@ 3.10 WEB_SITE="https://www.cairographics.org/" 3.11 WGET_URL="${WEB_SITE}releases/$TARBALL" 3.12 3.13 -DEPENDS="bzlib fontconfig freetype glib glibc-base harfbuzz libdrm libffi \ 3.14 -libpng16 libxcb libxml2 mesa libegl-mesa pcre pixman eudev xorg-libX11 \ 3.15 -xorg-libXau xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \ 3.16 -xorg-libXrender xorg-libXxf86vm zlib" 3.17 BUILD_DEPENDS="pkg-config glib-dev libpng16-dev zlib-dev fontconfig-dev \ 3.18 freetype-dev xorg-libX11-dev xorg-pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \ 3.19 xorg-libXrender-dev xorg-xcb-util-dev xorg-libxcb-dev expat-dev libxml2-dev \ 3.20 mesa-dev eudev-dev xorg-libXxf86vm-dev libdrm-dev libegl-mesa \ 3.21 xorg-libxshmfence-dev" 3.22 -SPLIT="cairo-gl-tools" 3.23 +SPLIT="cairo-gl cairo-gl-dev cairo-gl-tools" 3.24 SIBLINGS="cairo" 3.25 3.26 # Rules to configure and make the package. 3.27 @@ -40,6 +36,36 @@ 3.28 # Rules to gen a SliTaz package suitable for Tazpkg. 3.29 genpkg_rules() 3.30 { 3.31 - mkdir -p $fs/usr/lib 3.32 - cp -a $install/usr/lib/*.so* $fs/usr/lib 3.33 + case $PACKAGE in 3.34 + cairo-gl) 3.35 + DEPENDS="bzlib fontconfig freetype glib glibc-base harfbuzz \ 3.36 + libdrm libffi libpng16 libxcb libxml2 mesa libegl-mesa \ 3.37 + pcre pixman eudev xorg-libX11 xorg-libXau \ 3.38 + xorg-libXdamage xorg-libXdmcp xorg-libXext \ 3.39 + xorg-libXfixes xorg-libXrender xorg-libXxf86vm zlib" 3.40 + mkdir -p $fs/usr/lib 3.41 + cp -a $install/usr/lib/*.so* $fs/usr/lib 3.42 + ;; 3.43 + cairo-gl-dev) 3.44 + CAT="development|2D graphics library with GL support, development files" 3.45 + DEPENDS="cairo-gl cairo-gl-tools fontconfig-dev freetype-dev \ 3.46 + glib-dev harfbuzz-dev libdrm-dev libffi-dev libpng-dev \ 3.47 + libxcb-dev libxml2-dev mesa-wayland-dev pcre-dev \ 3.48 + pixman-dev udev-dev wayland-dev xorg-libX11-dev \ 3.49 + xorg-libXau-dev xorg-libXdamage-dev xorg-libXdmcp-dev \ 3.50 + xorg-libXext-dev xorg-libXfixes-dev \ 3.51 + xorg-libXrender-dev xorg-libXxf86vm-dev" 3.52 + mkdir -p $fs/usr/lib 3.53 + cp -a $install/usr/lib/*.*a $fs/usr/lib 3.54 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 3.55 + cp -a $install/usr/include $fs/usr 3.56 + ;; 3.57 + cairo-gl-tools) 3.58 + CAT="development|2D graphics library, development tools" 3.59 + DEPENDS="cairo-gl libbfd wayland" 3.60 + mkdir -p $fs/usr/lib/cairo 3.61 + cp -a $install/usr/bin $fs/usr 3.62 + cp -a $install/usr/lib/cairo/*.so* $fs/usr/lib/cairo 3.63 + ;; 3.64 + esac 3.65 }
4.1 --- a/cherokee-dev/receipt Thu Nov 02 16:04:40 2017 +0100 4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 4.3 @@ -1,23 +0,0 @@ 4.4 -# SliTaz package receipt. 4.5 - 4.6 -PACKAGE="cherokee-dev" 4.7 -VERSION="1.2.101" 4.8 -CATEGORY="development" 4.9 -SHORT_DESC="devel files for cherokee" 4.10 -MAINTAINER="slaxemulator@gmail.com" 4.11 -LICENSE="GPL2" 4.12 -WEB_SITE="http://www.cherokee-project.com/" 4.13 -WANTED="cherokee" 4.14 - 4.15 -DEPENDS="cherokee pkg-config" 4.16 - 4.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 4.18 -genpkg_rules() 4.19 -{ 4.20 - mkdir -p $fs/usr/lib/cherokee $fs/usr/share 4.21 - cp -a $install/usr/lib/*.*a $fs/usr/lib 4.22 - cp -a $install/usr/lib/cherokee/*.*a $fs/usr/lib/cherokee 4.23 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 4.24 - cp -a $install/usr/share/aclocal $fs/usr/share 4.25 -} 4.26 -
5.1 --- a/cherokee-doc/receipt Thu Nov 02 16:04:40 2017 +0100 5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 5.3 @@ -1,20 +0,0 @@ 5.4 -# SliTaz package receipt. 5.5 - 5.6 -PACKAGE="cherokee-doc" 5.7 -VERSION="1.2.101" 5.8 -CATEGORY="misc" 5.9 -SHORT_DESC="Docs for cherokee" 5.10 -MAINTAINER="slaxemulator@gmail.com" 5.11 -LICENSE="GPL2" 5.12 -WEB_SITE="http://www.cherokee-project.com/" 5.13 -WANTED="cherokee" 5.14 - 5.15 -DEPENDS="cherokee" 5.16 - 5.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 5.18 -genpkg_rules() 5.19 -{ 5.20 - mkdir -p $fs/usr/share 5.21 - cp -a $install/usr/share/doc $fs/usr/share 5.22 -} 5.23 -
6.1 --- a/cherokee/receipt Thu Nov 02 16:04:40 2017 +0100 6.2 +++ b/cherokee/receipt Thu Nov 02 17:11:17 2017 +0100 6.3 @@ -1,4 +1,4 @@ 6.4 -# SliTaz package receipt. 6.5 +# SliTaz package receipt v2. 6.6 6.7 PACKAGE="cherokee" 6.8 VERSION="1.2.101" 6.9 @@ -9,10 +9,9 @@ 6.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 6.11 WEB_SITE="http://www.cherokee-project.com/" 6.12 WGET_URL="http://www.cherokee-project.com/download/${VERSION%.*}/$VERSION/$TARBALL" 6.13 -PROVIDE="lighttpd" 6.14 6.15 -DEPENDS="pcre cyrus-sasl openssl python libmysqlclient libldap ffmpeg" 6.16 BUILD_DEPENDS="pcre-dev cyrus-sasl-dev openssl-dev openldap-dev python-dev pam-dev libmysqlclient ffmpeg-dev gettext autoconf automake" 6.17 +SPLIT="cherokee cherokee-dev cherokee-doc" 6.18 6.19 # Rules to configure and make the package. 6.20 compile_rules() 6.21 @@ -43,13 +42,35 @@ 6.22 # Rules to gen a SliTaz package suitable for Tazpkg. 6.23 genpkg_rules() 6.24 { 6.25 - mkdir -p $fs/usr/lib/cherokee $fs/usr/share $fs/etc/init.d 6.26 - cp -a $install/usr/bin $fs/usr 6.27 - cp -a $install/usr/sbin $fs/usr 6.28 - cp -a $install/usr/lib/*.so* $fs/usr/lib 6.29 - cp -a $install/usr/lib/cherokee/*.so* $fs/usr/lib/cherokee 6.30 - cp -a $install/usr/share/cherokee $fs/usr/share 6.31 - cp -a $install/var $fs 6.32 - cp -a $install/etc $fs 6.33 - cp -a $stuff/cherokee $fs/etc/init.d 6.34 + case $PACKAGE in 6.35 + cherokee) 6.36 + PROVIDE="lighttpd" 6.37 + DEPENDS="pcre cyrus-sasl openssl python libmysqlclient \ 6.38 + libldap ffmpeg" 6.39 + mkdir -p $fs/usr/lib/cherokee $fs/usr/share $fs/etc/init.d 6.40 + cp -a $install/usr/bin $fs/usr 6.41 + cp -a $install/usr/sbin $fs/usr 6.42 + cp -a $install/usr/lib/*.so* $fs/usr/lib 6.43 + cp -a $install/usr/lib/cherokee/*.so* $fs/usr/lib/cherokee 6.44 + cp -a $install/usr/share/cherokee $fs/usr/share 6.45 + cp -a $install/var $fs 6.46 + cp -a $install/etc $fs 6.47 + cp -a $stuff/cherokee $fs/etc/init.d 6.48 + ;; 6.49 + cherokee-dev) 6.50 + CAT="development|devel files for cherokee" 6.51 + DEPENDS="cherokee pkg-config" 6.52 + mkdir -p $fs/usr/lib/cherokee $fs/usr/share 6.53 + cp -a $install/usr/lib/*.*a $fs/usr/lib 6.54 + cp -a $install/usr/lib/cherokee/*.*a $fs/usr/lib/cherokee 6.55 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 6.56 + cp -a $install/usr/share/aclocal $fs/usr/share 6.57 + ;; 6.58 + cherokee-doc) 6.59 + CAT="misc|Docs for cherokee" 6.60 + DEPENDS="cherokee" 6.61 + mkdir -p $fs/usr/share 6.62 + cp -a $install/usr/share/doc $fs/usr/share 6.63 + ;; 6.64 + esac 6.65 }
7.1 --- a/fluxbox-themes/receipt Thu Nov 02 16:04:40 2017 +0100 7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 7.3 @@ -1,25 +0,0 @@ 7.4 -# SliTaz package receipt. 7.5 - 7.6 -PACKAGE="fluxbox-themes" 7.7 -VERSION="1.3.7" 7.8 -CATEGORY="x-window" 7.9 -SHORT_DESC="Fluxbox additionnal themes." 7.10 -MAINTAINER="pankso@slitaz.org" 7.11 -LICENSE="MIT" 7.12 -WEB_SITE="http://www.fluxbox.org/" 7.13 -WANTED="fluxbox" 7.14 - 7.15 -DEPENDS="fluxbox" 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/share/fluxbox 7.21 - cp -a $install/usr/share/fluxbox/styles $fs/usr/share/fluxbox 7.22 - # Rome style provided by fluxbox package 7.23 - for s in Shade Flux Results 7.24 - do 7.25 - rm -rf $fs/usr/share/fluxbox/styles/$s 7.26 - done 7.27 -} 7.28 -
8.1 --- a/fluxbox-tools/receipt Thu Nov 02 16:04:40 2017 +0100 8.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 8.3 @@ -1,23 +0,0 @@ 8.4 -# SliTaz package receipt. 8.5 - 8.6 -PACKAGE="fluxbox-tools" 8.7 -VERSION="1.3.7" 8.8 -CATEGORY="x-window" 8.9 -SHORT_DESC="Fluxbox additionnal tools (fbsetroot)." 8.10 -MAINTAINER="pankso@slitaz.org" 8.11 -LICENSE="MIT" 8.12 -WEB_SITE="http://www.fluxbox.org/" 8.13 -WANTED="fluxbox" 8.14 - 8.15 -DEPENDS="fluxbox" 8.16 - 8.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 8.18 -genpkg_rules() 8.19 -{ 8.20 - mkdir -p $fs/usr/bin 8.21 - for t in fbsetroot fbsetbg fluxbox-generate_menu fluxbox-remote \ 8.22 - fluxbox-update_configs 8.23 - do 8.24 - cp -a $install/usr/bin/$t $fs/usr/bin 8.25 - done 8.26 -}
9.1 --- a/fluxbox/receipt Thu Nov 02 16:04:40 2017 +0100 9.2 +++ b/fluxbox/receipt Thu Nov 02 17:11:17 2017 +0100 9.3 @@ -1,4 +1,4 @@ 9.4 -# SliTaz package receipt. 9.5 +# SliTaz package receipt v2. 9.6 9.7 PACKAGE="fluxbox" 9.8 VERSION="1.3.7" 9.9 @@ -9,15 +9,13 @@ 9.10 TARBALL="$PACKAGE-$VERSION.tar.bz2" 9.11 WEB_SITE="http://www.fluxbox.org/" 9.12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 9.13 -TAGS="window-manager" 9.14 9.15 -DEPENDS="xorg fontconfig imlib2 hsetroot xorg-xcompmgr" 9.16 BUILD_DEPENDS="xorg-dev fontconfig-dev imlib2-dev" 9.17 +SPLIT="fluxbox fluxbox-themes fluxbox-tools" 9.18 9.19 # Rules to configure and make the package. 9.20 compile_rules() 9.21 { 9.22 - cd $src 9.23 ./configure $CONFIGURE_ARGS && 9.24 make 2>&1 | grep -v defaults.cc: && make install 9.25 } 9.26 @@ -25,41 +23,68 @@ 9.27 # Rules to gen a SliTaz package suitable for Tazpkg. 9.28 genpkg_rules() 9.29 { 9.30 - mkdir -p $fs/usr/share/fluxbox/styles 9.31 - cp -a $install/usr/bin $fs/usr 9.32 - for f in apps keys overlay windowmenu init menu 9.33 - do 9.34 - cp -a $install/usr/share/fluxbox/$f $fs/usr/share/fluxbox 9.35 - done 9.36 + case $PACKAGE in 9.37 + fluxbox) 9.38 + TAGS="window-manager" 9.39 + DEPENDS="xorg fontconfig imlib2 hsetroot xorg-xcompmgr" 9.40 + mkdir -p $fs/usr/share/fluxbox/styles 9.41 + cp -a $install/usr/bin $fs/usr 9.42 + for f in apps keys overlay windowmenu init menu 9.43 + do 9.44 + cp -a $install/usr/share/fluxbox/$f $fs/usr/share/fluxbox 9.45 + done 9.46 9.47 - # 3 Default themes --> fluxbox-themes 9.48 - for s in Shade Flux Results 9.49 - do 9.50 - cp -a $install/usr/share/fluxbox/styles/$s \ 9.51 - $fs/usr/share/fluxbox/styles 9.52 - done 9.53 + # 3 Default themes --> fluxbox-themes 9.54 + for s in Shade Flux Results 9.55 + do 9.56 + cp -a $install/usr/share/fluxbox/styles/$s \ 9.57 + $fs/usr/share/fluxbox/styles 9.58 + done 9.59 9.60 - # Split tools --> fluxbox-tools 9.61 - for t in fbsetroot fbsetbg fluxbox-generate_menu fluxbox-remote \ 9.62 - fluxbox-update_configs 9.63 - do 9.64 - rm $fs/usr/bin/$t 9.65 - done 9.66 + # Split tools --> fluxbox-tools 9.67 + for t in fbsetroot fbsetbg fluxbox-generate_menu fluxbox-remote \ 9.68 + fluxbox-update_configs 9.69 + do 9.70 + rm $fs/usr/bin/$t 9.71 + done 9.72 9.73 - # XDG Xsessions 9.74 - cp -a $stuff/xsessions $fs/usr/share 9.75 + # XDG Xsessions 9.76 + cp -a $stuff/xsessions $fs/usr/share 9.77 9.78 - # Custom SliTaz integration 9.79 - mkdir -p $fs/usr/share/slitaz/fluxbox 9.80 - cp -a $stuff/fluxbox-session $fs/usr/bin 9.81 - cp -a $stuff/startup $fs/usr/share/slitaz/fluxbox 9.82 - cp -a $stuff/styles $fs/usr/share/fluxbox 9.83 - # Overwrite 9.84 - cp -f $stuff/menu $fs/usr/share/fluxbox 9.85 - cp -f $stuff/init $fs/usr/share/fluxbox 9.86 + # Custom SliTaz integration 9.87 + mkdir -p $fs/usr/share/slitaz/fluxbox 9.88 + cp -a $stuff/fluxbox-session $fs/usr/bin 9.89 + cp -a $stuff/startup $fs/usr/share/slitaz/fluxbox 9.90 + cp -a $stuff/styles $fs/usr/share/fluxbox 9.91 + # Overwrite 9.92 + cp -f $stuff/menu $fs/usr/share/fluxbox 9.93 + cp -f $stuff/init $fs/usr/share/fluxbox 9.94 + ;; 9.95 + fluxbox-themes) 9.96 + CAT="x-window|Fluxbox additionnal themes." 9.97 + DEPENDS="fluxbox" 9.98 + mkdir -p $fs/usr/share/fluxbox 9.99 + cp -a $install/usr/share/fluxbox/styles $fs/usr/share/fluxbox 9.100 + # Rome style provided by fluxbox package 9.101 + for s in Shade Flux Results 9.102 + do 9.103 + rm -rf $fs/usr/share/fluxbox/styles/$s 9.104 + done 9.105 + ;; 9.106 + fluxbox-tools) 9.107 + CAT="x-window|Fluxbox additionnal tools (fbsetroot)." 9.108 + DEPENDS="fluxbox" 9.109 + mkdir -p $fs/usr/bin 9.110 + for t in fbsetroot fbsetbg fluxbox-generate_menu fluxbox-remote \ 9.111 + fluxbox-update_configs 9.112 + do 9.113 + cp -a $install/usr/bin/$t $fs/usr/bin 9.114 + done 9.115 + ;; 9.116 + esac 9.117 } 9.118 9.119 -post_install() 9.120 +post_install_fluxbox() 9.121 { 9.122 res=$(cat "$1/etc/slim.conf" | grep ^session | sed s/"sessions. *"//) 9.123 # Adding WM to SLIM available sessions. 9.124 @@ -70,11 +95,10 @@ 9.125 fi 9.126 } 9.127 9.128 -post_remove() 9.129 +post_remove_fluxbox() 9.130 { 9.131 # Remove WM from SLIM available sessions. 9.132 if grep -q $PACKAGE "$1/etc/slim.conf"; then 9.133 sed -i s/,$PACKAGE// "$1/etc/slim.conf" 9.134 fi 9.135 } 9.136 -
10.1 --- a/freeradius-dialupadmin/receipt Thu Nov 02 16:04:40 2017 +0100 10.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 10.3 @@ -1,61 +0,0 @@ 10.4 -# SliTaz package receipt. 10.5 - 10.6 -PACKAGE="freeradius-dialupadmin" 10.7 -VERSION="2.1.12" 10.8 -CATEGORY="network" 10.9 -SHORT_DESC="radius server web interface" 10.10 -MAINTAINER="sdaigl@lacitec.on.ca" 10.11 -LICENSE="GPL2 LGPL2" 10.12 -WEB_SITE="http://www.freeradius.org/" 10.13 -SOURCE="freeradius-server" 10.14 -WANTED="freeradius" 10.15 -CONFIG_FILES="/etc/dialupadmin" 10.16 - 10.17 -DEPENDS="php" 10.18 - 10.19 -# Rules to gen a SliTaz package suitable for Tazpkg. 10.20 -genpkg_rules() 10.21 -{ 10.22 - mkdir -p $fs/usr/share $fs/etc/dialupadmin 10.23 - cp -a $src/dialup_admin $fs/usr/share 10.24 - cp -a $src/dialup_admin/conf/* $fs/etc/dialupadmin 10.25 - rm -rf $fs/usr/share/dialup_admin/conf 10.26 - ln -s /etc/dialupadmin $fs/usr/share/dialup_admin 10.27 -} 10.28 - 10.29 -post_install() 10.30 -{ 10.31 - # Configure lighttpd server 10.32 - if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then 10.33 - if ! grep -q /usr/share/dialup_admin/ "$1/etc/lighttpd/lighttpd.conf"; then 10.34 - sed -e 's|.*"/examples/" => "/usr/share/examples/",| "/examples/" => "/usr/share/examples/",\n "/dialupadmin/" => "/usr/share/dialup_admin/htdocs/",|g' -i "$1/etc/lighttpd/lighttpd.conf" 10.35 - if [ -z "$1" ]; then 10.36 - # Start Web server. 10.37 - /etc/init.d/lighttpd stop 10.38 - /etc/init.d/lighttpd start 10.39 - fi 10.40 - fi 10.41 - fi 10.42 - # Configure apache server 10.43 - if [ -f "$1/etc/apache/httpd.conf" ]; then 10.44 - if [ ! -f "$1/etc/apache/conf.d/dialupadmin" ]; then 10.45 - cat > "$1/etc/apache/conf.d/dialupadmin" <<EOT 10.46 -<IfModule mod_alias.c> 10.47 - Alias /dialupadmin /usr/share/dialup_admin/htdocs 10.48 -</IfModule> 10.49 -<DirectoryMatch /usr/share/dialup_admin/htdocs/> 10.50 - DirectoryIndex index.html 10.51 - Options +FollowSymLinks 10.52 - AllowOverride None 10.53 - Order allow,deny 10.54 - Allow from all 10.55 -</DirectoryMatch> 10.56 -EOT 10.57 - if [ -z "$1" ]; then 10.58 - # Start Web server. 10.59 - /etc/init.d/apache stop 10.60 - /etc/init.d/apache start 10.61 - fi 10.62 - fi 10.63 - fi 10.64 -}
11.1 --- a/freeradius-pam/receipt Thu Nov 02 16:04:40 2017 +0100 11.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 11.3 @@ -1,23 +0,0 @@ 11.4 -# SliTaz package receipt. 11.5 - 11.6 -PACKAGE="freeradius-pam" 11.7 -VERSION="2.1.12" 11.8 -CATEGORY="security" 11.9 -SHORT_DESC="pam module for radius server" 11.10 -MAINTAINER="pascal.bellard@slitaz.org" 11.11 -LICENSE="GPL2 LGPL2" 11.12 -WEB_SITE="http://www.freeradius.org/" 11.13 -WANTED="freeradius" 11.14 -SOURCE="freeradius-server" 11.15 -PROVIDE="freeradius:pam" 11.16 - 11.17 -DEPENDS="freeradius pam" 11.18 - 11.19 -# Rules to gen a SliTaz package suitable for Tazpkg. 11.20 -genpkg_rules() 11.21 -{ 11.22 - mkdir -p $fs/usr/lib $fs/etc/raddb/modules 11.23 - cp -a $install/usr/lib/rlm_pam*.so* $fs/usr/lib 11.24 - cp -a $install/etc/raddb/modules/pam $fs/etc/raddb/modules 11.25 -} 11.26 -
12.1 --- a/freeradius/receipt Thu Nov 02 16:04:40 2017 +0100 12.2 +++ b/freeradius/receipt Thu Nov 02 17:11:17 2017 +0100 12.3 @@ -1,4 +1,4 @@ 12.4 -# SliTaz package receipt. 12.5 +# SliTaz package receipt v2. 12.6 12.7 PACKAGE="freeradius" 12.8 VERSION="2.1.12" 12.9 @@ -10,12 +10,10 @@ 12.10 TARBALL="$SOURCE-$VERSION.tar.gz" 12.11 WEB_SITE="http://www.freeradius.org/" 12.12 WGET_URL="ftp://ftp.freeradius.org/pub/freeradius/$TARBALL" 12.13 -CONFIG_FILES="/etc/raddb" 12.14 12.15 -DEPENDS="libssl cyrus-sasl libldap libltdl python readline libunixODBC \ 12.16 -libkrb5 libcomerr3 libmysqlclient gdbm" 12.17 BUILD_DEPENDS="libtool openldap-dev openssl-dev pam-dev krb5-dev gdbm-dev \ 12.18 libtool" 12.19 +SPLIT="freeradius freeradius-dialupadmin freeradius-pam" 12.20 12.21 # Rules to configure and make the package. 12.22 compile_rules() 12.23 @@ -33,14 +31,76 @@ 12.24 # Rules to gen a SliTaz package suitable for Tazpkg. 12.25 genpkg_rules() 12.26 { 12.27 - mkdir -p $fs/usr/lib $fs/usr/share $fs/etc/init.d $fs/var/run/radiusd 12.28 + case $PACKAGE in 12.29 + freeradius) 12.30 + CONFIG_FILES="/etc/raddb" 12.31 + DEPENDS="libssl cyrus-sasl libldap libltdl python readline \ 12.32 + libunixODBC libkrb5 libcomerr3 libmysqlclient gdbm" 12.33 + mkdir -p $fs/usr/lib $fs/usr/share $fs/etc/init.d $fs/var/run/radiusd 12.34 12.35 - cp -a $install/usr/bin $fs/usr 12.36 - cp -a $install/usr/sbin $fs/usr 12.37 - cp -a $install/usr/lib/*.so* $fs/usr/lib 12.38 - cp -a $install/usr/share/freeradius $fs/usr/share 12.39 - cp -a $install/etc $fs 12.40 - cp -a $install/var $fs 12.41 - rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam 12.42 - cp -a $stuff/freeradius $fs/etc/init.d/ 12.43 + cp -a $install/usr/bin $fs/usr 12.44 + cp -a $install/usr/sbin $fs/usr 12.45 + cp -a $install/usr/lib/*.so* $fs/usr/lib 12.46 + cp -a $install/usr/share/freeradius $fs/usr/share 12.47 + cp -a $install/etc $fs 12.48 + cp -a $install/var $fs 12.49 + rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam 12.50 + cp -a $stuff/freeradius $fs/etc/init.d/ 12.51 + ;; 12.52 + freeradius-dialupadmin) 12.53 + CAT="network|radius server web interface" 12.54 + CONFIG_FILES="/etc/dialupadmin" 12.55 + DEPENDS="php" 12.56 + mkdir -p $fs/usr/share $fs/etc/dialupadmin 12.57 + cp -a $src/dialup_admin $fs/usr/share 12.58 + cp -a $src/dialup_admin/conf/* $fs/etc/dialupadmin 12.59 + rm -rf $fs/usr/share/dialup_admin/conf 12.60 + ln -s /etc/dialupadmin $fs/usr/share/dialup_admin 12.61 + ;; 12.62 + freeradius-pam) 12.63 + CAT="security|pam module for radius server" 12.64 + PROVIDE="freeradius:pam" 12.65 + DEPENDS="freeradius pam" 12.66 + mkdir -p $fs/usr/lib $fs/etc/raddb/modules 12.67 + cp -a $install/usr/lib/rlm_pam*.so* $fs/usr/lib 12.68 + cp -a $install/etc/raddb/modules/pam $fs/etc/raddb/modules 12.69 + ;; 12.70 + esac 12.71 } 12.72 + 12.73 +post_install_freeradius_dialupadmin() 12.74 +{ 12.75 + # Configure lighttpd server 12.76 + if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then 12.77 + if ! grep -q /usr/share/dialup_admin/ "$1/etc/lighttpd/lighttpd.conf"; then 12.78 + sed -e 's|.*"/examples/" => "/usr/share/examples/",| "/examples/" => "/usr/share/examples/",\n "/dialupadmin/" => "/usr/share/dialup_admin/htdocs/",|g' -i "$1/etc/lighttpd/lighttpd.conf" 12.79 + if [ -z "$1" ]; then 12.80 + # Start Web server. 12.81 + /etc/init.d/lighttpd stop 12.82 + /etc/init.d/lighttpd start 12.83 + fi 12.84 + fi 12.85 + fi 12.86 + # Configure apache server 12.87 + if [ -f "$1/etc/apache/httpd.conf" ]; then 12.88 + if [ ! -f "$1/etc/apache/conf.d/dialupadmin" ]; then 12.89 + cat > "$1/etc/apache/conf.d/dialupadmin" <<EOT 12.90 +<IfModule mod_alias.c> 12.91 + Alias /dialupadmin /usr/share/dialup_admin/htdocs 12.92 +</IfModule> 12.93 +<DirectoryMatch /usr/share/dialup_admin/htdocs/> 12.94 + DirectoryIndex index.html 12.95 + Options +FollowSymLinks 12.96 + AllowOverride None 12.97 + Order allow,deny 12.98 + Allow from all 12.99 +</DirectoryMatch> 12.100 +EOT 12.101 + if [ -z "$1" ]; then 12.102 + # Start Web server. 12.103 + /etc/init.d/apache stop 12.104 + /etc/init.d/apache start 12.105 + fi 12.106 + fi 12.107 + fi 12.108 +}
13.1 --- a/gnome-python-dev/receipt Thu Nov 02 16:04:40 2017 +0100 13.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 13.3 @@ -1,21 +0,0 @@ 13.4 -# SliTaz package receipt. 13.5 - 13.6 -PACKAGE="gnome-python-dev" 13.7 -VERSION="2.28.1" 13.8 -CATEGORY="development" 13.9 -SHORT_DESC="Python bindings for GNOME, development files." 13.10 -MAINTAINER="pankso@slitaz.org" 13.11 -LICENSE="LGPL2" 13.12 -WEB_SITE="http://www.gnome.org/" 13.13 -WANTED="gnome-python" 13.14 - 13.15 -DEPENDS="gnome-python pkg-config" 13.16 - 13.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 13.18 -genpkg_rules() 13.19 -{ 13.20 - mkdir -p $fs/usr/lib/gnome-vfs-2.0/modules 13.21 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 13.22 - cp -a $install/usr/lib/gnome-vfs-2.0/modules/*.so $fs/usr/lib/gnome-vfs-2.0/modules 13.23 - cp -a $install/usr/include $fs/usr 13.24 -}
14.1 --- a/gnome-python/receipt Thu Nov 02 16:04:40 2017 +0100 14.2 +++ b/gnome-python/receipt Thu Nov 02 17:11:17 2017 +0100 14.3 @@ -1,4 +1,4 @@ 14.4 -# SliTaz package receipt. 14.5 +# SliTaz package receipt v2. 14.6 14.7 PACKAGE="gnome-python" 14.8 VERSION="2.28.1" 14.9 @@ -10,9 +10,9 @@ 14.10 WEB_SITE="http://www.gnome.org/" 14.11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 14.12 14.13 -DEPENDS="python pygobject pygtk libgnome" 14.14 BUILD_DEPENDS="python-dev pygobject-dev pygtk-dev libgnome-dev audiofile \ 14.15 esound libxml2-dev" 14.16 +SPLIT="gnome-python gnome-python-dev python-gconf" 14.17 14.18 # Rules to configure and make the package. 14.19 compile_rules() 14.20 @@ -27,9 +27,29 @@ 14.21 # Rules to gen a SliTaz package suitable for Tazpkg. 14.22 genpkg_rules() 14.23 { 14.24 - mkdir -p $fs/usr/share 14.25 - cp -a $install/usr/share/pygtk $fs/usr/share 14.26 - cp -a $install/usr/lib $fs/usr 14.27 - rm -rf $fs/usr/lib/pkgconfig 14.28 - rm -rf $fs/usr/lib/gnome-vfs-2.0/modules/*a 14.29 + case $PACKAGE in 14.30 + gnome-python) 14.31 + DEPENDS="python pygobject pygtk libgnome" 14.32 + mkdir -p $fs/usr/share 14.33 + cp -a $install/usr/share/pygtk $fs/usr/share 14.34 + cp -a $install/usr/lib $fs/usr 14.35 + rm -rf $fs/usr/lib/pkgconfig 14.36 + rm -rf $fs/usr/lib/gnome-vfs-2.0/modules/*a 14.37 + ;; 14.38 + gnome-python-dev) 14.39 + CAT="development|Python bindings for GNOME, development files." 14.40 + DEPENDS="gnome-python pkg-config" 14.41 + mkdir -p $fs/usr/lib/gnome-vfs-2.0/modules 14.42 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 14.43 + cp -a $install/usr/lib/gnome-vfs-2.0/modules/*.so $fs/usr/lib/gnome-vfs-2.0/modules 14.44 + cp -a $install/usr/include $fs/usr 14.45 + ;; 14.46 + python-gconf) 14.47 + CAT="system-tools|Python bindings for gconf." 14.48 + _PYTHONVER=$(grep ^VERSION= $WOK/python/receipt | cut -d "=" -f2 | sed -e 's/"//g') 14.49 + mkdir -p $fs/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0 14.50 + cp -a $install/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0/gconf.so \ 14.51 + $fs/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0 14.52 + ;; 14.53 + esac 14.54 }
15.1 --- a/gnome-vfs-dev/receipt Thu Nov 02 16:04:40 2017 +0100 15.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 15.3 @@ -1,26 +0,0 @@ 15.4 -# SliTaz package receipt. 15.5 - 15.6 -PACKAGE="gnome-vfs-dev" 15.7 -VERSION="2.24.4" 15.8 -CATEGORY="development" 15.9 -SHORT_DESC="The GNOME Virtual File System libraries dev files" 15.10 -MAINTAINER="erjo@slitaz.org" 15.11 -LICENSE="GPL2" 15.12 -WEB_SITE="http://www.gnome.org" 15.13 -WANTED="gnome-vfs" 15.14 - 15.15 -DEPENDS="gnome-vfs GConf-dev glib-dev pkg-config" 15.16 - 15.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 15.18 -genpkg_rules() 15.19 -{ 15.20 - mkdir -p $fs/usr/lib 15.21 - 15.22 - cp -a $install/usr/include $fs/usr 15.23 - cp -a $install/usr/lib/*.*a $fs/usr/lib 15.24 - cp -a $install/usr/lib/gnome-vfs-2.0 $fs/usr/lib 15.25 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 15.26 - 15.27 - # Clean unwated files 15.28 - cd $fs/usr/lib ; find . -name "*.so*" -exec rm -f {} \; 15.29 -}
16.1 --- a/gnome-vfs-i18n/receipt Thu Nov 02 16:04:40 2017 +0100 16.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 16.3 @@ -1,19 +0,0 @@ 16.4 -# SliTaz package receipt. 16.5 - 16.6 -PACKAGE="gnome-vfs-i18n" 16.7 -VERSION="2.24.4" 16.8 -CATEGORY="localization" 16.9 -SHORT_DESC="Language files for the GNOME Virtual File System libraries" 16.10 -MAINTAINER="al.bobylev@gmail.com" 16.11 -LICENSE="GPL2" 16.12 -WEB_SITE="http://www.gnome.org/" 16.13 -WANTED="gnome-vfs" 16.14 - 16.15 -DEPENDS="gnome-vfs" 16.16 - 16.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 16.18 -genpkg_rules() 16.19 -{ 16.20 - mkdir -p $fs/usr/share/locale 16.21 - cp -a $install/usr/share/locale/* $fs/usr/share/locale 16.22 -}
17.1 --- a/gnome-vfs/receipt Thu Nov 02 16:04:40 2017 +0100 17.2 +++ b/gnome-vfs/receipt Thu Nov 02 17:11:17 2017 +0100 17.3 @@ -1,4 +1,4 @@ 17.4 -# SliTaz package receipt. 17.5 +# SliTaz package receipt v2. 17.6 17.7 PACKAGE="gnome-vfs" 17.8 VERSION="2.24.4" 17.9 @@ -10,10 +10,9 @@ 17.10 WEB_SITE="http://www.gnome.org" 17.11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 17.12 17.13 -DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libxml2 ORBit2 \ 17.14 -zlib" 17.15 BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev shared-mime-info \ 17.16 gnome-mime-data libxml2-dev zlib-dev intltool pkg-config" 17.17 +SPLIT="gnome-vfs gnome-vfs-dev gnome-vfs-i18n" 17.18 17.19 # Rules to configure and make the package. 17.20 compile_rules() 17.21 @@ -31,14 +30,39 @@ 17.22 # Rules to gen a SliTaz package suitable for Tazpkg. 17.23 genpkg_rules() 17.24 { 17.25 - mkdir -p $fs/usr/share $fs/usr/lib 17.26 - cp -a $install/usr/bin $fs/usr 17.27 - cp -a $install/usr/lib/*.so* $fs/usr/lib 17.28 - cp -a $install/usr/lib/gnome-vfs* $fs/usr/lib 17.29 - cp -a $install/usr/share/dbus* $fs/usr/share 17.30 - cp -a $install/etc /$fs 17.31 + case $PACKAGE in 17.32 + gnome-vfs) 17.33 + DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libxml2 \ 17.34 + ORBit2 zlib" 17.35 + mkdir -p $fs/usr/share $fs/usr/lib 17.36 + cp -a $install/usr/bin $fs/usr 17.37 + cp -a $install/usr/lib/*.so* $fs/usr/lib 17.38 + cp -a $install/usr/lib/gnome-vfs* $fs/usr/lib 17.39 + cp -a $install/usr/share/dbus* $fs/usr/share 17.40 + cp -a $install/etc /$fs 17.41 17.42 - # Clean unwated files 17.43 - cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \; 17.44 - rm -rf ./include 17.45 + # Clean unwated files 17.46 + cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \; 17.47 + rm -rf ./include 17.48 + ;; 17.49 + gnome-vfs-dev) 17.50 + CAT="development|The GNOME Virtual File System libraries dev files" 17.51 + DEPENDS="gnome-vfs GConf-dev glib-dev pkg-config" 17.52 + mkdir -p $fs/usr/lib 17.53 + 17.54 + cp -a $install/usr/include $fs/usr 17.55 + cp -a $install/usr/lib/*.*a $fs/usr/lib 17.56 + cp -a $install/usr/lib/gnome-vfs-2.0 $fs/usr/lib 17.57 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 17.58 + 17.59 + # Clean unwated files 17.60 + cd $fs/usr/lib ; find . -name "*.so*" -exec rm -f {} \; 17.61 + ;; 17.62 + gnome-vfs-i18n) 17.63 + CAT="localization|Language files for the GNOME Virtual File System libraries" 17.64 + DEPENDS="gnome-vfs" 17.65 + mkdir -p $fs/usr/share/locale 17.66 + cp -a $install/usr/share/locale/* $fs/usr/share/locale 17.67 + ;; 17.68 + esac 17.69 }
18.1 --- a/llvm/receipt Thu Nov 02 16:04:40 2017 +0100 18.2 +++ b/llvm/receipt Thu Nov 02 17:11:17 2017 +0100 18.3 @@ -1,7 +1,7 @@ 18.4 # SliTaz package receipt v2. 18.5 18.6 PACKAGE="llvm" 18.7 -VERSION="3.9.1" 18.8 +VERSION="5.0.0" 18.9 CATEGORY="development" 18.10 SHORT_DESC="LLVM (Low Level Virtual Machine): collection of modular and reusable compiler and toolchain technologies" 18.11 MAINTAINER="pascal.bellard@slitaz.org" 18.12 @@ -12,7 +12,7 @@ 18.13 WGET_URL="${WEB_SITE}releases/$VERSION/$TARBALL" 18.14 18.15 BUILD_DEPENDS="cmake zlib-dev libffi-dev python" 18.16 -SPLIT="llvm- llvm-dev llvm-libs" 18.17 +SPLIT="llvm llvm-dev llvm-libs" 18.18 18.19 # Rules to configure and make the package. 18.20 compile_rules()
19.1 --- a/python-gconf/receipt Thu Nov 02 16:04:40 2017 +0100 19.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 19.3 @@ -1,20 +0,0 @@ 19.4 -# SliTaz package receipt. 19.5 - 19.6 -PACKAGE="python-gconf" 19.7 -VERSION="2.28.1" 19.8 -CATEGORY="system-tools" 19.9 -SHORT_DESC="Python bindings for gconf." 19.10 -MAINTAINER="pankso@slitaz.org" 19.11 -LICENSE="LGPL2" 19.12 -DEPENDS="python GConf" 19.13 -WANTED="gnome-python" 19.14 -WEB_SITE="http://www.gnome.org/" 19.15 - 19.16 -# Rules to gen a SliTaz package suitable for Tazpkg. 19.17 -genpkg_rules() 19.18 -{ 19.19 - _PYTHONVER=$(grep ^VERSION= $WOK/python/receipt | cut -d "=" -f2 | sed -e 's/"//g') 19.20 - mkdir -p $fs/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0 19.21 - cp -a $install/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0/gconf.so \ 19.22 - $fs/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0 19.23 -}