wok-6.x rev 12973

Move from undigest screenlets python-werkzeug plymouth network-manager n2nc kompozer hiawatha awstats-hotspot
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 01 17:13:28 2012 +0200 (2012-06-01)
parents 1adac4b0fd89
children 5c31ac1caa1a
files awstats-hotspot/receipt awstats-hotspot/stuff/loghotspot.sh hiawatha/receipt kompozer/receipt kompozer/stuff/kompozer.mozconfig n2nc/receipt network-manager/receipt plymouth/receipt python-werkzeug/receipt screenlets/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/awstats-hotspot/receipt	Fri Jun 01 17:13:28 2012 +0200
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="awstats-hotspot"
     1.7 +VERSION="1.0"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Squid Log file analyzer configuration"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +DEPENDS="squid awstats"
    1.12 +WEB_SITE="http://www.slitaz.org/"
    1.13 +TAGS="log analyze"
    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/bin
    1.19 +	cp $stuff/* $fs/usr/bin
    1.20 +}
    1.21 +
    1.22 +post_install()
    1.23 +{
    1.24 +	chroot $1/ /usr/bin/loghotspot.sh --install
    1.25 +}
    1.26 +
    1.27 +post_remove()
    1.28 +{
    1.29 +	grep -l loghotspot.sh /etc/awstats/*.conf | xargs rm -f
    1.30 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/awstats-hotspot/stuff/loghotspot.sh	Fri Jun 01 17:13:28 2012 +0200
     2.3 @@ -0,0 +1,36 @@
     2.4 +#!/bin/sh
     2.5 +
     2.6 +HOTSPOT="hotspot"
     2.7 +DIRDATA="/var/lib/awstats/$HOTSPOT"
     2.8 +
     2.9 +if [ "$1" == "--install" ]; then
    2.10 +	cp /etc/awstats/awstats.model.conf /etc/awstats/awstats.$HOTSPOT.conf
    2.11 +	while read line; do
    2.12 +		sed -i "s,^${line%=*}.*,$line," /etc/awstats/awstats.$HOTSPOT.conf
    2.13 +	done <<EOT
    2.14 +LogFile="$0 < /var/log/squid/access.log |"
    2.15 +LogFormat="%code %time4 %bytesd %method %query %host %url"
    2.16 +SiteDomain="$HOTSPOT"
    2.17 +DirData="$DIRDATA"
    2.18 +LevelForBrowsersDetection=0
    2.19 +LevelForOSDetection=0
    2.20 +LevelForRefererAnalyze=0
    2.21 +LevelForRobotsDetection=0
    2.22 +LevelForSearchEnginesDetection=0
    2.23 +LevelForKeywordsDetection=0
    2.24 +ShowRobotsStats=0
    2.25 +ShowOSStats=0
    2.26 +ShowBrowsersStats=0
    2.27 +ShowOriginStats=0
    2.28 +ShowKeyphrasesStats=0
    2.29 +ShowKeywordsStats=0
    2.30 +ShowMiscStats=0
    2.31 +ShowHTTPErrorsStats=0
    2.32 +EOT
    2.33 +else
    2.34 +	while read time skip1 iprouter skip2 bytesd method query skip3 ; do
    2.35 +		host=$(echo $query | sed 's#.*//\([^/]*\)/.*#\1#')
    2.36 +		url=$(echo $query | sed 's#.*//##')
    2.37 +		echo "200 ${time%.*} $bytesd $method $query $host $url"
    2.38 +	done
    2.39 +fi
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/hiawatha/receipt	Fri Jun 01 17:13:28 2012 +0200
     3.3 @@ -0,0 +1,37 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="hiawatha"
     3.7 +VERSION="8.3.1"
     3.8 +CATEGORY="network"
     3.9 +SHORT_DESC="Advanced and secure webserver."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.12 +WEB_SITE="http://www.hiawatha-webserver.org/"
    3.13 +WGET_URL="${WEB_SITE}files/$TARBALL"
    3.14 +PROVIDE="lighttpd"
    3.15 +CONFIG_FILES="/etc/hiawatha"
    3.16 +TAGS="webserver http server"
    3.17 +
    3.18 +DEPENDS="openssl libxml2 libxslt zlib"
    3.19 +BUILD_DEPENDS="openssl-dev libxml2-dev libxslt-dev zlib-dev cmake"
    3.20 +
    3.21 +# Rules to configure and make the package.
    3.22 +compile_rules()
    3.23 +{
    3.24 +	cd $src
    3.25 +	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc \
    3.26 +	      -DLOG_DIR=/var/log -DWEBROOT_DIR=/var/www -DPID_DIR=/var/run \
    3.27 +	      -DWORK_DIR=/var/lib .
    3.28 +	make DESTDIR=$DESTDIR install
    3.29 +}
    3.30 +
    3.31 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    3.32 +genpkg_rules()                                      
    3.33 +{
    3.34 +	mkdir -p $fs/usr
    3.35 +	cp -a $_pkg/var $fs
    3.36 +	cp -a $_pkg/etc $fs
    3.37 +	cp -a $_pkg/usr/lib $fs/usr
    3.38 +	cp -a $_pkg/usr/bin $fs/usr
    3.39 +	cp -a $_pkg/usr/sbin $fs/usr
    3.40 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/kompozer/receipt	Fri Jun 01 17:13:28 2012 +0200
     4.3 @@ -0,0 +1,31 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="kompozer"
     4.7 +VERSION="0.8b3"
     4.8 +CATEGORY="network"
     4.9 +SHORT_DESC="KompoZer is a complete web authoring system."
    4.10 +MAINTAINER="pankso@slitaz.org"
    4.11 +TARBALL="$PACKAGE-$VERSION-src.tar.bz2"
    4.12 +WEB_SITE="http://kompozer.net"
    4.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    4.14 +
    4.15 +DEPENDS="gtk+"
    4.16 +BUILD_DEPENDS="gtk+-dev libIDL zip coreutils findutils"
    4.17 +
    4.18 +# Rules to configure and make the package.
    4.19 +compile_rules()
    4.20 +{
    4.21 +	cp -a $stuff/kompozer.mozconfig $src/.mozconfig
    4.22 +	cd $src
    4.23 +	./configure \
    4.24 +		$CONFIGURE_ARGS &&
    4.25 +	make && make install
    4.26 +}
    4.27 +
    4.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.29 +genpkg_rules()
    4.30 +{
    4.31 +	mkdir -p $fs/usr/lib
    4.32 +	cp -a $install/usr/bin $fs/usr
    4.33 +	cp -a $install/usr/lib/kompozer $fs/usr/lib
    4.34 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/kompozer/stuff/kompozer.mozconfig	Fri Jun 01 17:13:28 2012 +0200
     5.3 @@ -0,0 +1,65 @@
     5.4 +export BUILD_OFFICIAL=1
     5.5 +export MOZILLA_OFFICIAL=1
     5.6 +
     5.7 +mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj-@CONFIG_GUESS@
     5.8 +#mk_add_options MOZ_CO_PROJECT=composer
     5.9 +ac_add_options --enable-application=composer
    5.10 +
    5.11 +ac_add_options --enable-optimize 
    5.12 +ac_add_options --disable-debug
    5.13 +#ac_add_options --disable-optimize 
    5.14 +#ac_add_options --enable-debug
    5.15 +
    5.16 +#ac_add_options --disable-shared
    5.17 +#ac_add_options --enable-static
    5.18 +#ac_add_options --disable-libxul 
    5.19 +#ac_add_options --disable-xpfe-components
    5.20 +ac_add_options --enable-xpfe-components
    5.21 +ac_add_options --disable-tests
    5.22 +ac_add_options --disable-installer
    5.23 +
    5.24 +#ac_add_options --disable-libxul
    5.25 +
    5.26 +#ac_add_options --disable-crashreporter 
    5.27 +
    5.28 +#ac_add_options --enable-optimize 
    5.29 +#ac_add_options --enable-default-toolkit=gtk2
    5.30 +##ac_add_options --enable-default-toolkit=cairo-gtk2
    5.31 +#ac_add_options --enable-xft
    5.32 +#ac_add_options --disable-canvas
    5.33 +##ac_add_options --disable-cairo
    5.34 +
    5.35 +#ac_add_options --enable-extensions="default inspector venkman"
    5.36 +ac_add_options --enable-extensions="default spellcheck"
    5.37 +#ac_add_options --enable-inspector-apis
    5.38 +
    5.39 +##ac_add_options  --enable-extensions=wallet,xml-rpc,xmlextras,pref,universalchardet,spellcheck
    5.40 +##ac_add_options  --enable-extensions=xml-rpc,xmlextras,pref,universalchardet
    5.41 +#ac_add_options --disable-extensions
    5.42 +ac_add_options  --enable-necko-protocols=http,ftp,file,jar,viewsource,res,data
    5.43 +##ac_add_options  --enable-mathml
    5.44 +#ac_add_options  --enable-svg
    5.45 +
    5.46 +
    5.47 +ac_add_options --enable-default-toolkit=gtk2
    5.48 +ac_add_options --enable-xft
    5.49 +ac_add_options --enable-pango
    5.50 +ac_add_options --enable-postscript
    5.51 +ac_add_options --disable-xprint
    5.52 +
    5.53 +ac_add_options --enable-mathml
    5.54 +ac_add_options --enable-svg
    5.55 +ac_add_options --enable-svg-renderer=cairo
    5.56 +ac_add_options --enable-system-cairo
    5.57 +ac_add_options --enable-canvas
    5.58 +
    5.59 +ac_add_options --with-system-png=/usr
    5.60 +ac_add_options --with-system-jpeg=/usr
    5.61 +ac_add_options --with-system-zlib=/usr
    5.62 +
    5.63 +#ac_add_options --enable-gnomevfs
    5.64 +ac_add_options --enable-xinerama
    5.65 +ac_add_options --enable-single-profile
    5.66 +ac_add_options --disable-profilesharing
    5.67 +ac_add_options --enable-system-myspell
    5.68 +
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/n2nc/receipt	Fri Jun 01 17:13:28 2012 +0200
     6.3 @@ -0,0 +1,33 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="n2nc"
     6.7 +VERSION="r_133"
     6.8 +CATEGORY="network"
     6.9 +SHORT_DESC="Nat 2 Nat COnnector."
    6.10 +MAINTAINER="pascal.bellard@slitaz.org"
    6.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    6.12 +WEB_SITE="http://n2nc.sourceforge.net/"
    6.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    6.14 +
    6.15 +DEPENDS="zlib libcrypto gcc-lib-base"
    6.16 +BUILD_DEPENDS="bash openssl-dev bzip2-dev zlib-dev"
    6.17 +
    6.18 +# Rules to configure and make the package.
    6.19 +compile_rules()
    6.20 +{
    6.21 +	mv $PACKAGE $src 2> /dev/null
    6.22 +	cd $src
    6.23 +	./configure --prefix=/usr --mandir=/usr/share/man \
    6.24 +		--localstatedir=/var \
    6.25 +	$CONFIGURE_ARGS &&
    6.26 +	make &&
    6.27 +	make DESTDIR=$DESTDIR install
    6.28 +}
    6.29 +
    6.30 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    6.31 +genpkg_rules()                                      
    6.32 +{
    6.33 +	mkdir -p $fs/usr
    6.34 +	cp -a $_pkg/usr/bin $fs/usr
    6.35 +	cp -a $_pkg/usr/lib $fs/usr
    6.36 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/network-manager/receipt	Fri Jun 01 17:13:28 2012 +0200
     7.3 @@ -0,0 +1,38 @@
     7.4 +# SliTaz package receipt.
     7.5 +
     7.6 +PACKAGE="network-manager"
     7.7 +VERSION="0.9.2.0"
     7.8 +CATEGORY="system-tools"
     7.9 +SHORT_DESC="Gnome network manager."
    7.10 +MAINTAINER="pankso@slitaz.org"
    7.11 +SOURCE="NetworkManager"
    7.12 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    7.13 +WEB_SITE="http://projects.gnome.org/NetworkManager/"
    7.14 +WGET_URL="$GNOME_MIRROR/$SOURCE/0.9/$TARBALL"
    7.15 +
    7.16 +DEPENDS="dbus dbus-glib gtk+ wireless_tools libgudev libnl nss ppp iptables"
    7.17 +BUILD_DEPENDS="dbus-dev dbus-glib-dev gtk+-dev wireless_tools-dev libgudev-dev \
    7.18 +libnl-dev nss-dev ppp-dev iptables-dev"
    7.19 +
    7.20 +# Rules to configure and make the package.
    7.21 +compile_rules()
    7.22 +{
    7.23 +	cd $src
    7.24 +	./configure \
    7.25 +		--prefix=/usr \
    7.26 +		--libexecdir=/usr/lib/$PACKAGE \
    7.27 +		--sysconfdir=/etc \
    7.28 +		--localstatedir=/var \
    7.29 +		--with-distro=arch \
    7.30 +		$CONFIGURE_ARGS &&
    7.31 +	make && make install
    7.32 +}
    7.33 +
    7.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    7.35 +genpkg_rules()
    7.36 +{
    7.37 +	mkdir -p $fs/usr
    7.38 +	cp -a $install/etc $fs
    7.39 +	cp -a $install/ $fs
    7.40 +	cp -a $install/usr/* $fs/usr
    7.41 +}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/plymouth/receipt	Fri Jun 01 17:13:28 2012 +0200
     8.3 @@ -0,0 +1,46 @@
     8.4 +# SliTaz package receipt.
     8.5 +
     8.6 +PACKAGE="plymouth"
     8.7 +VERSION="0.8.4"
     8.8 +CATEGORY="base-system"
     8.9 +SHORT_DESC="A graphical boot splash screen with KMS support."
    8.10 +MAINTAINER="pankso@slitaz.org"
    8.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    8.12 +WEB_SITE="http://www.freedesktop.org/wiki/Software/Plymouth"
    8.13 +WGET_URL="http://www.freedesktop.org/software/plymouth/releases/$TARBALL"
    8.14 +
    8.15 +DEPENDS="libpng pango gtk+ xorg-libpciaccess libdrm"
    8.16 +BUILD_DEPENDS="libpng-dev pango-dev gtk+-dev xorg-libpciaccess-dev libdrm-dev"
    8.17 +
    8.18 +# Rules to configure and make the package.
    8.19 +compile_rules()
    8.20 +{
    8.21 +	cd $src
    8.22 +	./configure \
    8.23 +		--sysconfdir=/etc \
    8.24 +		--localstatedir=/var \
    8.25 +		--libexecdir=/usr/lib \
    8.26 +		--with-system-root-install \
    8.27 +		--with-log-viewer \
    8.28 +		--with-release-file=/etc/slitaz-release \
    8.29 +		--disable-libdrm_nouveau \
    8.30 +		$CONFIGURE_ARGS &&
    8.31 +	make && make install
    8.32 +}
    8.33 +
    8.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    8.35 +genpkg_rules()
    8.36 +{
    8.37 +	mkdir -p $fs/lib $fs/usr/lib $fs/usr/share
    8.38 +	cp -a $install/bin $fs
    8.39 +	cp -a $install/etc $fs
    8.40 +	cp -a $install/sbin $fs
    8.41 +	cp -a $install/lib/*.so* $fs/lib
    8.42 +	cp -a $install/usr/bin $fs/usr
    8.43 +	cp -a $install/usr/sbin $fs/usr
    8.44 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    8.45 +	cp -a $install/usr/lib/plymouth $fs/usr/lib
    8.46 +	rm $fs/usr/lib/plymouth/*.*a
    8.47 +	rm $fs/usr/lib/plymouth/*/*.*a
    8.48 +}
    8.49 +
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/python-werkzeug/receipt	Fri Jun 01 17:13:28 2012 +0200
     9.3 @@ -0,0 +1,32 @@
     9.4 +# SliTaz package receipt.
     9.5 +
     9.6 +PACKAGE="python-werkzeug"
     9.7 +GITHASH="8c085bba3d0abe1139fd84bdb542efdb579b0205"
     9.8 +VERSION=${GITHASH:0:7}
     9.9 +CATEGORY="development"
    9.10 +SHORT_DESC="WSGI utility modules"
    9.11 +MAINTAINER="pascal.bellard@slitaz.org"
    9.12 +WEB_SITE="http://werkzeug.pocoo.org/"
    9.13 +GIT_URL="https://nodeload.github.com/mitsuhiko/werkzeug/tarball/$GITHASH"
    9.14 +
    9.15 +DEPENDS="python"
    9.16 +BUILD_DEPENDS="wget python python-dev setuptools"
    9.17 +
    9.18 +# Rules to configure and make the package.
    9.19 +compile_rules()
    9.20 +{
    9.21 +	if [ ! -s $src ]; then
    9.22 +		mkdir -p $(dirname $src)
    9.23 +		wget --no-check-certificate -O - $GIT_URL | tar xzf - &&
    9.24 +		mv mitsuhiko-werkzeug-$VERSION $src
    9.25 +	fi
    9.26 +	cd $src
    9.27 +	python setup.py install --root=$DESTDIR
    9.28 +}
    9.29 +
    9.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    9.31 +genpkg_rules()
    9.32 +{
    9.33 +	cp -a $_pkg/usr $fs
    9.34 +}
    9.35 +
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/screenlets/receipt	Fri Jun 01 17:13:28 2012 +0200
    10.3 @@ -0,0 +1,46 @@
    10.4 +# SliTaz package receipt.
    10.5 +
    10.6 +PACKAGE="screenlets"
    10.7 +VERSION="0.1.6"
    10.8 +CATEGORY="system-tools"
    10.9 +SHORT_DESC="Desktop widgets framework."
   10.10 +MAINTAINER="pankso@slitaz.org"
   10.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
   10.12 +WEB_SITE="http://screenlets.org"
   10.13 +WGET_URL="https://launchpad.net/screenlets/trunk/$VERSION/+download/$TARBALL"
   10.14 +
   10.15 +DEPENDS="python pygtk python-xdg beautifulsoup gnome-python-desktop dbus-python gnome-icon-theme"
   10.16 +BUILD_DEPENDS="python-dev wget"
   10.17 +
   10.18 +# Rules to configure and make the package.
   10.19 +compile_rules()
   10.20 +{
   10.21 +	cd $src
   10.22 +	python setup.py install --root=$install
   10.23 +}
   10.24 +
   10.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
   10.26 +genpkg_rules()
   10.27 +{
   10.28 +	mkdir -p $fs/usr/share/icons $fs/etc/screenlets
   10.29 +	cp -a $install/usr/bin $fs/usr
   10.30 +	cp -a $install/usr/lib $fs/usr
   10.31 +	cp -a $install/usr/share/screenlets* $fs/usr/share
   10.32 +	cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons
   10.33 +	echo '/usr' > $fs/etc/screenlets/prefix
   10.34 +}
   10.35 +
   10.36 +# Post install/remove commands for Tazpkg.
   10.37 +post_install()
   10.38 +{
   10.39 +  echo "Processing post-install commands..."
   10.40 +  chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
   10.41 +}
   10.42 +
   10.43 +post_remove()
   10.44 +{
   10.45 +  echo "Processing post-remove commands..."
   10.46 +  chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
   10.47 +}
   10.48 +
   10.49 +