wok-undigest rev 727

move to wok umplayer-svn
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 01 18:11:06 2012 +0200 (2012-06-01)
parents be96b5d6f611
children f2c55702b2e2
files awstats-hotspot/stuff/loghotspot.sh umplayer-svn/receipt
line diff
     1.1 --- a/awstats-hotspot/stuff/loghotspot.sh	Fri Jun 01 17:14:10 2012 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,36 +0,0 @@
     1.4 -#!/bin/sh
     1.5 -
     1.6 -HOTSPOT="hotspot"
     1.7 -DIRDATA="/var/lib/awstats/$HOTSPOT"
     1.8 -
     1.9 -if [ "$1" == "--install" ]; then
    1.10 -	cp /etc/awstats/awstats.model.conf /etc/awstats/awstats.$HOTSPOT.conf
    1.11 -	while read line; do
    1.12 -		sed -i "s,^${line%=*}.*,$line," /etc/awstats/awstats.$HOTSPOT.conf
    1.13 -	done <<EOT
    1.14 -LogFile="$0 < /var/log/squid/access.log |"
    1.15 -LogFormat="%code %time4 %bytesd %method %query %host %url"
    1.16 -SiteDomain="$HOTSPOT"
    1.17 -DirData="$DIRDATA"
    1.18 -LevelForBrowsersDetection=0
    1.19 -LevelForOSDetection=0
    1.20 -LevelForRefererAnalyze=0
    1.21 -LevelForRobotsDetection=0
    1.22 -LevelForSearchEnginesDetection=0
    1.23 -LevelForKeywordsDetection=0
    1.24 -ShowRobotsStats=0
    1.25 -ShowOSStats=0
    1.26 -ShowBrowsersStats=0
    1.27 -ShowOriginStats=0
    1.28 -ShowKeyphrasesStats=0
    1.29 -ShowKeywordsStats=0
    1.30 -ShowMiscStats=0
    1.31 -ShowHTTPErrorsStats=0
    1.32 -EOT
    1.33 -else
    1.34 -	while read time skip1 iprouter skip2 bytesd method query skip3 ; do
    1.35 -		host=$(echo $query | sed 's#.*//\([^/]*\)/.*#\1#')
    1.36 -		url=$(echo $query | sed 's#.*//##')
    1.37 -		echo "200 ${time%.*} $bytesd $method $query $host $url"
    1.38 -	done
    1.39 -fi
     2.1 --- a/umplayer-svn/receipt	Fri Jun 01 17:14:10 2012 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,32 +0,0 @@
     2.4 -# SliTaz package receipt.
     2.5 -
     2.6 -PACKAGE="umplayer-svn"
     2.7 -VERSION="181"
     2.8 -CATEGORY="multimedia"
     2.9 -SHORT_DESC="Ultimate Multimedia Player (QT MPlayer frontend)"
    2.10 -MAINTAINER="paul@slitaz.org"
    2.11 -DEPENDS="mplayer libQtCore libQtGui libQtXml"
    2.12 -BUILD_DEPENDS="subversion qt4 Qt4-dev qmake"
    2.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.14 -WEB_SITE="http://www.umplayer.com/" 
    2.15 -WGET_URL="subversion|https://umplayer.svn.sourceforge.net/svnroot/umplayer/umplayer/trunk"
    2.16 -BRANCH="$VERSION"
    2.17 -TAGS="player audio video movie"
    2.18 -
    2.19 -# Rules to configure and make the package.
    2.20 -compile_rules()
    2.21 -{
    2.22 -	cd $src	
    2.23 -	make PREFIX=/usr &&
    2.24 -	make PREFIX=/usr DESTDIR=$DESTDIR install
    2.25 -}
    2.26 -
    2.27 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.28 -genpkg_rules()
    2.29 -{
    2.30 -	mkdir -p $fs/usr
    2.31 -	cp -a $_pkg/usr/bin $fs/usr
    2.32 -	cp -a $_pkg/usr/share $fs/usr
    2.33 -	rm -rf $fs/usr/share/man
    2.34 -}
    2.35 -