# HG changeset patch # User Pascal Bellard # Date 1509639077 -3600 # Node ID 384441c3ddea0cade5fe861debb6a39cab035393 # Parent c78b38baa3f0ffdada5dbca7e392daa11a98f204 Up llvm (5.0.0) diff -r c78b38baa3f0 -r 384441c3ddea cairo-gl-dev/receipt --- a/cairo-gl-dev/receipt Thu Nov 02 16:04:40 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="cairo-gl-dev" -VERSION="1.14.4" -CATEGORY="development" -SHORT_DESC="2D graphics library with GL support, development files" -MAINTAINER="pankso@slitaz.org" -LICENSE="MPL LGPL2.1" -WEB_SITE="https://www.cairographics.org/" -HOST_ARCH="i486" - -WANTED="cairo-gl" -DEPENDS="cairo-gl cairo-gl-tools fontconfig-dev freetype-dev glib-dev \ -harfbuzz-dev libdrm-dev libffi-dev libpng-dev libxcb-dev libxml2-dev \ -mesa-wayland-dev pcre-dev pixman-dev udev-dev wayland-dev xorg-libX11-dev \ -xorg-libXau-dev xorg-libXdamage-dev xorg-libXdmcp-dev xorg-libXext-dev \ -xorg-libXfixes-dev xorg-libXrender-dev xorg-libXxf86vm-dev" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr -} diff -r c78b38baa3f0 -r 384441c3ddea cairo-gl-tools/receipt --- a/cairo-gl-tools/receipt Thu Nov 02 16:04:40 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="cairo-gl-tools" -VERSION="1.14.4" -CATEGORY="development" -SHORT_DESC="2D graphics library, development tools" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="MPL LGPL2.1" -WEB_SITE="https://www.cairographics.org/" -HOST_ARCH="i486 arm" - -WANTED="cairo-gl" -DEPENDS="cairo-gl libbfd wayland" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/cairo - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/cairo/*.so* $fs/usr/lib/cairo -} diff -r c78b38baa3f0 -r 384441c3ddea cairo-gl/receipt --- a/cairo-gl/receipt Thu Nov 02 16:04:40 2017 +0100 +++ b/cairo-gl/receipt Thu Nov 02 17:11:17 2017 +0100 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="cairo-gl" VERSION="1.14.4" @@ -11,16 +11,12 @@ WEB_SITE="https://www.cairographics.org/" WGET_URL="${WEB_SITE}releases/$TARBALL" -DEPENDS="bzlib fontconfig freetype glib glibc-base harfbuzz libdrm libffi \ -libpng16 libxcb libxml2 mesa libegl-mesa pcre pixman eudev xorg-libX11 \ -xorg-libXau xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \ -xorg-libXrender xorg-libXxf86vm zlib" BUILD_DEPENDS="pkg-config glib-dev libpng16-dev zlib-dev fontconfig-dev \ freetype-dev xorg-libX11-dev xorg-pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \ xorg-libXrender-dev xorg-xcb-util-dev xorg-libxcb-dev expat-dev libxml2-dev \ mesa-dev eudev-dev xorg-libXxf86vm-dev libdrm-dev libegl-mesa \ xorg-libxshmfence-dev" -SPLIT="cairo-gl-tools" +SPLIT="cairo-gl cairo-gl-dev cairo-gl-tools" SIBLINGS="cairo" # Rules to configure and make the package. @@ -40,6 +36,36 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib + case $PACKAGE in + cairo-gl) + DEPENDS="bzlib fontconfig freetype glib glibc-base harfbuzz \ + libdrm libffi libpng16 libxcb libxml2 mesa libegl-mesa \ + pcre pixman eudev xorg-libX11 xorg-libXau \ + xorg-libXdamage xorg-libXdmcp xorg-libXext \ + xorg-libXfixes xorg-libXrender xorg-libXxf86vm zlib" + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib + ;; + cairo-gl-dev) + CAT="development|2D graphics library with GL support, development files" + DEPENDS="cairo-gl cairo-gl-tools fontconfig-dev freetype-dev \ + glib-dev harfbuzz-dev libdrm-dev libffi-dev libpng-dev \ + libxcb-dev libxml2-dev mesa-wayland-dev pcre-dev \ + pixman-dev udev-dev wayland-dev xorg-libX11-dev \ + xorg-libXau-dev xorg-libXdamage-dev xorg-libXdmcp-dev \ + xorg-libXext-dev xorg-libXfixes-dev \ + xorg-libXrender-dev xorg-libXxf86vm-dev" + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include $fs/usr + ;; + cairo-gl-tools) + CAT="development|2D graphics library, development tools" + DEPENDS="cairo-gl libbfd wayland" + mkdir -p $fs/usr/lib/cairo + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/cairo/*.so* $fs/usr/lib/cairo + ;; + esac } diff -r c78b38baa3f0 -r 384441c3ddea cherokee-dev/receipt --- a/cherokee-dev/receipt Thu Nov 02 16:04:40 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="cherokee-dev" -VERSION="1.2.101" -CATEGORY="development" -SHORT_DESC="devel files for cherokee" -MAINTAINER="slaxemulator@gmail.com" -LICENSE="GPL2" -WEB_SITE="http://www.cherokee-project.com/" -WANTED="cherokee" - -DEPENDS="cherokee pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/cherokee $fs/usr/share - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/cherokee/*.*a $fs/usr/lib/cherokee - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/share/aclocal $fs/usr/share -} - diff -r c78b38baa3f0 -r 384441c3ddea cherokee-doc/receipt --- a/cherokee-doc/receipt Thu Nov 02 16:04:40 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="cherokee-doc" -VERSION="1.2.101" -CATEGORY="misc" -SHORT_DESC="Docs for cherokee" -MAINTAINER="slaxemulator@gmail.com" -LICENSE="GPL2" -WEB_SITE="http://www.cherokee-project.com/" -WANTED="cherokee" - -DEPENDS="cherokee" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share - cp -a $install/usr/share/doc $fs/usr/share -} - diff -r c78b38baa3f0 -r 384441c3ddea cherokee/receipt --- a/cherokee/receipt Thu Nov 02 16:04:40 2017 +0100 +++ b/cherokee/receipt Thu Nov 02 17:11:17 2017 +0100 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="cherokee" VERSION="1.2.101" @@ -9,10 +9,9 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.cherokee-project.com/" WGET_URL="http://www.cherokee-project.com/download/${VERSION%.*}/$VERSION/$TARBALL" -PROVIDE="lighttpd" -DEPENDS="pcre cyrus-sasl openssl python libmysqlclient libldap ffmpeg" BUILD_DEPENDS="pcre-dev cyrus-sasl-dev openssl-dev openldap-dev python-dev pam-dev libmysqlclient ffmpeg-dev gettext autoconf automake" +SPLIT="cherokee cherokee-dev cherokee-doc" # Rules to configure and make the package. compile_rules() @@ -43,13 +42,35 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib/cherokee $fs/usr/share $fs/etc/init.d - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/sbin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/cherokee/*.so* $fs/usr/lib/cherokee - cp -a $install/usr/share/cherokee $fs/usr/share - cp -a $install/var $fs - cp -a $install/etc $fs - cp -a $stuff/cherokee $fs/etc/init.d + case $PACKAGE in + cherokee) + PROVIDE="lighttpd" + DEPENDS="pcre cyrus-sasl openssl python libmysqlclient \ + libldap ffmpeg" + mkdir -p $fs/usr/lib/cherokee $fs/usr/share $fs/etc/init.d + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/sbin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/cherokee/*.so* $fs/usr/lib/cherokee + cp -a $install/usr/share/cherokee $fs/usr/share + cp -a $install/var $fs + cp -a $install/etc $fs + cp -a $stuff/cherokee $fs/etc/init.d + ;; + cherokee-dev) + CAT="development|devel files for cherokee" + DEPENDS="cherokee pkg-config" + mkdir -p $fs/usr/lib/cherokee $fs/usr/share + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/cherokee/*.*a $fs/usr/lib/cherokee + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/share/aclocal $fs/usr/share + ;; + cherokee-doc) + CAT="misc|Docs for cherokee" + DEPENDS="cherokee" + mkdir -p $fs/usr/share + cp -a $install/usr/share/doc $fs/usr/share + ;; + esac } diff -r c78b38baa3f0 -r 384441c3ddea fluxbox-themes/receipt --- a/fluxbox-themes/receipt Thu Nov 02 16:04:40 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="fluxbox-themes" -VERSION="1.3.7" -CATEGORY="x-window" -SHORT_DESC="Fluxbox additionnal themes." -MAINTAINER="pankso@slitaz.org" -LICENSE="MIT" -WEB_SITE="http://www.fluxbox.org/" -WANTED="fluxbox" - -DEPENDS="fluxbox" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share/fluxbox - cp -a $install/usr/share/fluxbox/styles $fs/usr/share/fluxbox - # Rome style provided by fluxbox package - for s in Shade Flux Results - do - rm -rf $fs/usr/share/fluxbox/styles/$s - done -} - diff -r c78b38baa3f0 -r 384441c3ddea fluxbox-tools/receipt --- a/fluxbox-tools/receipt Thu Nov 02 16:04:40 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="fluxbox-tools" -VERSION="1.3.7" -CATEGORY="x-window" -SHORT_DESC="Fluxbox additionnal tools (fbsetroot)." -MAINTAINER="pankso@slitaz.org" -LICENSE="MIT" -WEB_SITE="http://www.fluxbox.org/" -WANTED="fluxbox" - -DEPENDS="fluxbox" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - for t in fbsetroot fbsetbg fluxbox-generate_menu fluxbox-remote \ - fluxbox-update_configs - do - cp -a $install/usr/bin/$t $fs/usr/bin - done -} diff -r c78b38baa3f0 -r 384441c3ddea fluxbox/receipt --- a/fluxbox/receipt Thu Nov 02 16:04:40 2017 +0100 +++ b/fluxbox/receipt Thu Nov 02 17:11:17 2017 +0100 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="fluxbox" VERSION="1.3.7" @@ -9,15 +9,13 @@ TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.fluxbox.org/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -TAGS="window-manager" -DEPENDS="xorg fontconfig imlib2 hsetroot xorg-xcompmgr" BUILD_DEPENDS="xorg-dev fontconfig-dev imlib2-dev" +SPLIT="fluxbox fluxbox-themes fluxbox-tools" # Rules to configure and make the package. compile_rules() { - cd $src ./configure $CONFIGURE_ARGS && make 2>&1 | grep -v defaults.cc: && make install } @@ -25,41 +23,68 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share/fluxbox/styles - cp -a $install/usr/bin $fs/usr - for f in apps keys overlay windowmenu init menu - do - cp -a $install/usr/share/fluxbox/$f $fs/usr/share/fluxbox - done + case $PACKAGE in + fluxbox) + TAGS="window-manager" + DEPENDS="xorg fontconfig imlib2 hsetroot xorg-xcompmgr" + mkdir -p $fs/usr/share/fluxbox/styles + cp -a $install/usr/bin $fs/usr + for f in apps keys overlay windowmenu init menu + do + cp -a $install/usr/share/fluxbox/$f $fs/usr/share/fluxbox + done - # 3 Default themes --> fluxbox-themes - for s in Shade Flux Results - do - cp -a $install/usr/share/fluxbox/styles/$s \ - $fs/usr/share/fluxbox/styles - done + # 3 Default themes --> fluxbox-themes + for s in Shade Flux Results + do + cp -a $install/usr/share/fluxbox/styles/$s \ + $fs/usr/share/fluxbox/styles + done - # Split tools --> fluxbox-tools - for t in fbsetroot fbsetbg fluxbox-generate_menu fluxbox-remote \ - fluxbox-update_configs - do - rm $fs/usr/bin/$t - done + # Split tools --> fluxbox-tools + for t in fbsetroot fbsetbg fluxbox-generate_menu fluxbox-remote \ + fluxbox-update_configs + do + rm $fs/usr/bin/$t + done - # XDG Xsessions - cp -a $stuff/xsessions $fs/usr/share + # XDG Xsessions + cp -a $stuff/xsessions $fs/usr/share - # Custom SliTaz integration - mkdir -p $fs/usr/share/slitaz/fluxbox - cp -a $stuff/fluxbox-session $fs/usr/bin - cp -a $stuff/startup $fs/usr/share/slitaz/fluxbox - cp -a $stuff/styles $fs/usr/share/fluxbox - # Overwrite - cp -f $stuff/menu $fs/usr/share/fluxbox - cp -f $stuff/init $fs/usr/share/fluxbox + # Custom SliTaz integration + mkdir -p $fs/usr/share/slitaz/fluxbox + cp -a $stuff/fluxbox-session $fs/usr/bin + cp -a $stuff/startup $fs/usr/share/slitaz/fluxbox + cp -a $stuff/styles $fs/usr/share/fluxbox + # Overwrite + cp -f $stuff/menu $fs/usr/share/fluxbox + cp -f $stuff/init $fs/usr/share/fluxbox + ;; + fluxbox-themes) + CAT="x-window|Fluxbox additionnal themes." + DEPENDS="fluxbox" + mkdir -p $fs/usr/share/fluxbox + cp -a $install/usr/share/fluxbox/styles $fs/usr/share/fluxbox + # Rome style provided by fluxbox package + for s in Shade Flux Results + do + rm -rf $fs/usr/share/fluxbox/styles/$s + done + ;; + fluxbox-tools) + CAT="x-window|Fluxbox additionnal tools (fbsetroot)." + DEPENDS="fluxbox" + mkdir -p $fs/usr/bin + for t in fbsetroot fbsetbg fluxbox-generate_menu fluxbox-remote \ + fluxbox-update_configs + do + cp -a $install/usr/bin/$t $fs/usr/bin + done + ;; + esac } -post_install() +post_install_fluxbox() { res=$(cat "$1/etc/slim.conf" | grep ^session | sed s/"sessions. *"//) # Adding WM to SLIM available sessions. @@ -70,11 +95,10 @@ fi } -post_remove() +post_remove_fluxbox() { # Remove WM from SLIM available sessions. if grep -q $PACKAGE "$1/etc/slim.conf"; then sed -i s/,$PACKAGE// "$1/etc/slim.conf" fi } - diff -r c78b38baa3f0 -r 384441c3ddea freeradius-dialupadmin/receipt --- a/freeradius-dialupadmin/receipt Thu Nov 02 16:04:40 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,61 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="freeradius-dialupadmin" -VERSION="2.1.12" -CATEGORY="network" -SHORT_DESC="radius server web interface" -MAINTAINER="sdaigl@lacitec.on.ca" -LICENSE="GPL2 LGPL2" -WEB_SITE="http://www.freeradius.org/" -SOURCE="freeradius-server" -WANTED="freeradius" -CONFIG_FILES="/etc/dialupadmin" - -DEPENDS="php" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share $fs/etc/dialupadmin - cp -a $src/dialup_admin $fs/usr/share - cp -a $src/dialup_admin/conf/* $fs/etc/dialupadmin - rm -rf $fs/usr/share/dialup_admin/conf - ln -s /etc/dialupadmin $fs/usr/share/dialup_admin -} - -post_install() -{ - # Configure lighttpd server - if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then - if ! grep -q /usr/share/dialup_admin/ "$1/etc/lighttpd/lighttpd.conf"; then - 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" - if [ -z "$1" ]; then - # Start Web server. - /etc/init.d/lighttpd stop - /etc/init.d/lighttpd start - fi - fi - fi - # Configure apache server - if [ -f "$1/etc/apache/httpd.conf" ]; then - if [ ! -f "$1/etc/apache/conf.d/dialupadmin" ]; then - cat > "$1/etc/apache/conf.d/dialupadmin" < - Alias /dialupadmin /usr/share/dialup_admin/htdocs - - - DirectoryIndex index.html - Options +FollowSymLinks - AllowOverride None - Order allow,deny - Allow from all - -EOT - if [ -z "$1" ]; then - # Start Web server. - /etc/init.d/apache stop - /etc/init.d/apache start - fi - fi - fi -} diff -r c78b38baa3f0 -r 384441c3ddea freeradius-pam/receipt --- a/freeradius-pam/receipt Thu Nov 02 16:04:40 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="freeradius-pam" -VERSION="2.1.12" -CATEGORY="security" -SHORT_DESC="pam module for radius server" -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="GPL2 LGPL2" -WEB_SITE="http://www.freeradius.org/" -WANTED="freeradius" -SOURCE="freeradius-server" -PROVIDE="freeradius:pam" - -DEPENDS="freeradius pam" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/etc/raddb/modules - cp -a $install/usr/lib/rlm_pam*.so* $fs/usr/lib - cp -a $install/etc/raddb/modules/pam $fs/etc/raddb/modules -} - diff -r c78b38baa3f0 -r 384441c3ddea freeradius/receipt --- a/freeradius/receipt Thu Nov 02 16:04:40 2017 +0100 +++ b/freeradius/receipt Thu Nov 02 17:11:17 2017 +0100 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="freeradius" VERSION="2.1.12" @@ -10,12 +10,10 @@ TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.freeradius.org/" WGET_URL="ftp://ftp.freeradius.org/pub/freeradius/$TARBALL" -CONFIG_FILES="/etc/raddb" -DEPENDS="libssl cyrus-sasl libldap libltdl python readline libunixODBC \ -libkrb5 libcomerr3 libmysqlclient gdbm" BUILD_DEPENDS="libtool openldap-dev openssl-dev pam-dev krb5-dev gdbm-dev \ libtool" +SPLIT="freeradius freeradius-dialupadmin freeradius-pam" # Rules to configure and make the package. compile_rules() @@ -33,14 +31,76 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib $fs/usr/share $fs/etc/init.d $fs/var/run/radiusd + case $PACKAGE in + freeradius) + CONFIG_FILES="/etc/raddb" + DEPENDS="libssl cyrus-sasl libldap libltdl python readline \ + libunixODBC libkrb5 libcomerr3 libmysqlclient gdbm" + mkdir -p $fs/usr/lib $fs/usr/share $fs/etc/init.d $fs/var/run/radiusd - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/sbin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/share/freeradius $fs/usr/share - cp -a $install/etc $fs - cp -a $install/var $fs - rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam - cp -a $stuff/freeradius $fs/etc/init.d/ + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/sbin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/share/freeradius $fs/usr/share + cp -a $install/etc $fs + cp -a $install/var $fs + rm -f $fs/usr/lib/rlm_pam* $fs/etc/raddb/modules/pam + cp -a $stuff/freeradius $fs/etc/init.d/ + ;; + freeradius-dialupadmin) + CAT="network|radius server web interface" + CONFIG_FILES="/etc/dialupadmin" + DEPENDS="php" + mkdir -p $fs/usr/share $fs/etc/dialupadmin + cp -a $src/dialup_admin $fs/usr/share + cp -a $src/dialup_admin/conf/* $fs/etc/dialupadmin + rm -rf $fs/usr/share/dialup_admin/conf + ln -s /etc/dialupadmin $fs/usr/share/dialup_admin + ;; + freeradius-pam) + CAT="security|pam module for radius server" + PROVIDE="freeradius:pam" + DEPENDS="freeradius pam" + mkdir -p $fs/usr/lib $fs/etc/raddb/modules + cp -a $install/usr/lib/rlm_pam*.so* $fs/usr/lib + cp -a $install/etc/raddb/modules/pam $fs/etc/raddb/modules + ;; + esac } + +post_install_freeradius_dialupadmin() +{ + # Configure lighttpd server + if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then + if ! grep -q /usr/share/dialup_admin/ "$1/etc/lighttpd/lighttpd.conf"; then + 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" + if [ -z "$1" ]; then + # Start Web server. + /etc/init.d/lighttpd stop + /etc/init.d/lighttpd start + fi + fi + fi + # Configure apache server + if [ -f "$1/etc/apache/httpd.conf" ]; then + if [ ! -f "$1/etc/apache/conf.d/dialupadmin" ]; then + cat > "$1/etc/apache/conf.d/dialupadmin" < + Alias /dialupadmin /usr/share/dialup_admin/htdocs + + + DirectoryIndex index.html + Options +FollowSymLinks + AllowOverride None + Order allow,deny + Allow from all + +EOT + if [ -z "$1" ]; then + # Start Web server. + /etc/init.d/apache stop + /etc/init.d/apache start + fi + fi + fi +} diff -r c78b38baa3f0 -r 384441c3ddea gnome-python-dev/receipt --- a/gnome-python-dev/receipt Thu Nov 02 16:04:40 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gnome-python-dev" -VERSION="2.28.1" -CATEGORY="development" -SHORT_DESC="Python bindings for GNOME, development files." -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL2" -WEB_SITE="http://www.gnome.org/" -WANTED="gnome-python" - -DEPENDS="gnome-python pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/gnome-vfs-2.0/modules - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/gnome-vfs-2.0/modules/*.so $fs/usr/lib/gnome-vfs-2.0/modules - cp -a $install/usr/include $fs/usr -} diff -r c78b38baa3f0 -r 384441c3ddea gnome-python/receipt --- a/gnome-python/receipt Thu Nov 02 16:04:40 2017 +0100 +++ b/gnome-python/receipt Thu Nov 02 17:11:17 2017 +0100 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gnome-python" VERSION="2.28.1" @@ -10,9 +10,9 @@ WEB_SITE="http://www.gnome.org/" WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="python pygobject pygtk libgnome" BUILD_DEPENDS="python-dev pygobject-dev pygtk-dev libgnome-dev audiofile \ esound libxml2-dev" +SPLIT="gnome-python gnome-python-dev python-gconf" # Rules to configure and make the package. compile_rules() @@ -27,9 +27,29 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share - cp -a $install/usr/share/pygtk $fs/usr/share - cp -a $install/usr/lib $fs/usr - rm -rf $fs/usr/lib/pkgconfig - rm -rf $fs/usr/lib/gnome-vfs-2.0/modules/*a + case $PACKAGE in + gnome-python) + DEPENDS="python pygobject pygtk libgnome" + mkdir -p $fs/usr/share + cp -a $install/usr/share/pygtk $fs/usr/share + cp -a $install/usr/lib $fs/usr + rm -rf $fs/usr/lib/pkgconfig + rm -rf $fs/usr/lib/gnome-vfs-2.0/modules/*a + ;; + gnome-python-dev) + CAT="development|Python bindings for GNOME, development files." + DEPENDS="gnome-python pkg-config" + mkdir -p $fs/usr/lib/gnome-vfs-2.0/modules + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/lib/gnome-vfs-2.0/modules/*.so $fs/usr/lib/gnome-vfs-2.0/modules + cp -a $install/usr/include $fs/usr + ;; + python-gconf) + CAT="system-tools|Python bindings for gconf." + _PYTHONVER=$(grep ^VERSION= $WOK/python/receipt | cut -d "=" -f2 | sed -e 's/"//g') + mkdir -p $fs/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0 + cp -a $install/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0/gconf.so \ + $fs/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0 + ;; + esac } diff -r c78b38baa3f0 -r 384441c3ddea gnome-vfs-dev/receipt --- a/gnome-vfs-dev/receipt Thu Nov 02 16:04:40 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gnome-vfs-dev" -VERSION="2.24.4" -CATEGORY="development" -SHORT_DESC="The GNOME Virtual File System libraries dev files" -MAINTAINER="erjo@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://www.gnome.org" -WANTED="gnome-vfs" - -DEPENDS="gnome-vfs GConf-dev glib-dev pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/gnome-vfs-2.0 $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - - # Clean unwated files - cd $fs/usr/lib ; find . -name "*.so*" -exec rm -f {} \; -} diff -r c78b38baa3f0 -r 384441c3ddea gnome-vfs-i18n/receipt --- a/gnome-vfs-i18n/receipt Thu Nov 02 16:04:40 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gnome-vfs-i18n" -VERSION="2.24.4" -CATEGORY="localization" -SHORT_DESC="Language files for the GNOME Virtual File System libraries" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="GPL2" -WEB_SITE="http://www.gnome.org/" -WANTED="gnome-vfs" - -DEPENDS="gnome-vfs" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share/locale - cp -a $install/usr/share/locale/* $fs/usr/share/locale -} diff -r c78b38baa3f0 -r 384441c3ddea gnome-vfs/receipt --- a/gnome-vfs/receipt Thu Nov 02 16:04:40 2017 +0100 +++ b/gnome-vfs/receipt Thu Nov 02 17:11:17 2017 +0100 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gnome-vfs" VERSION="2.24.4" @@ -10,10 +10,9 @@ WEB_SITE="http://www.gnome.org" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libxml2 ORBit2 \ -zlib" BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev shared-mime-info \ gnome-mime-data libxml2-dev zlib-dev intltool pkg-config" +SPLIT="gnome-vfs gnome-vfs-dev gnome-vfs-i18n" # Rules to configure and make the package. compile_rules() @@ -31,14 +30,39 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/gnome-vfs* $fs/usr/lib - cp -a $install/usr/share/dbus* $fs/usr/share - cp -a $install/etc /$fs + case $PACKAGE in + gnome-vfs) + DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libxml2 \ + ORBit2 zlib" + mkdir -p $fs/usr/share $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/gnome-vfs* $fs/usr/lib + cp -a $install/usr/share/dbus* $fs/usr/share + cp -a $install/etc /$fs - # Clean unwated files - cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \; - rm -rf ./include + # Clean unwated files + cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \; + rm -rf ./include + ;; + gnome-vfs-dev) + CAT="development|The GNOME Virtual File System libraries dev files" + DEPENDS="gnome-vfs GConf-dev glib-dev pkg-config" + mkdir -p $fs/usr/lib + + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/gnome-vfs-2.0 $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + + # Clean unwated files + cd $fs/usr/lib ; find . -name "*.so*" -exec rm -f {} \; + ;; + gnome-vfs-i18n) + CAT="localization|Language files for the GNOME Virtual File System libraries" + DEPENDS="gnome-vfs" + mkdir -p $fs/usr/share/locale + cp -a $install/usr/share/locale/* $fs/usr/share/locale + ;; + esac } diff -r c78b38baa3f0 -r 384441c3ddea llvm/receipt --- a/llvm/receipt Thu Nov 02 16:04:40 2017 +0100 +++ b/llvm/receipt Thu Nov 02 17:11:17 2017 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="llvm" -VERSION="3.9.1" +VERSION="5.0.0" CATEGORY="development" SHORT_DESC="LLVM (Low Level Virtual Machine): collection of modular and reusable compiler and toolchain technologies" MAINTAINER="pascal.bellard@slitaz.org" @@ -12,7 +12,7 @@ WGET_URL="${WEB_SITE}releases/$VERSION/$TARBALL" BUILD_DEPENDS="cmake zlib-dev libffi-dev python" -SPLIT="llvm- llvm-dev llvm-libs" +SPLIT="llvm llvm-dev llvm-libs" # Rules to configure and make the package. compile_rules() diff -r c78b38baa3f0 -r 384441c3ddea python-gconf/receipt --- a/python-gconf/receipt Thu Nov 02 16:04:40 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="python-gconf" -VERSION="2.28.1" -CATEGORY="system-tools" -SHORT_DESC="Python bindings for gconf." -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL2" -DEPENDS="python GConf" -WANTED="gnome-python" -WEB_SITE="http://www.gnome.org/" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - _PYTHONVER=$(grep ^VERSION= $WOK/python/receipt | cut -d "=" -f2 | sed -e 's/"//g') - mkdir -p $fs/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0 - cp -a $install/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0/gconf.so \ - $fs/usr/lib/python${_PYTHONVER%.*}/site-packages/gtk-2.0 -}