wok rev 9383

Fix firefox. Added mesa-dev a build depends. Doesn't need mesa in depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Mar 25 23:29:53 2011 +0000 (2011-03-25)
parents 62e25e868000
children 8458f8ab687f
files cairo/receipt dnsmasq/receipt firefox/receipt privoxy/receipt
line diff
     1.1 --- a/cairo/receipt	Fri Mar 25 22:56:16 2011 +0000
     1.2 +++ b/cairo/receipt	Fri Mar 25 23:29:53 2011 +0000
     1.3 @@ -22,6 +22,7 @@
     1.4   		--mandir=/usr/share/man \
     1.5  		--with-html-dir=/usr/share/doc \
     1.6  		--enable-xcb \
     1.7 +		--enable-tee \
     1.8  		--disable-static \
     1.9   		$CONFIGURE_ARGS &&
    1.10  	make -j 4 &&
     2.1 --- a/dnsmasq/receipt	Fri Mar 25 22:56:16 2011 +0000
     2.2 +++ b/dnsmasq/receipt	Fri Mar 25 23:29:53 2011 +0000
     2.3 @@ -15,7 +15,9 @@
     2.4  {
     2.5  	cd $src
     2.6  	sed -i -e 's/nawk/awk/' -e 's|/usr/local|/usr|' Makefile
     2.7 -	make PREFIX=/usr && make DESTDIR=$PWD/_pkg install
     2.8 +	make PREFIX=/usr && make install
     2.9 +	mkdir -p $DESTDIR/etc
    2.10 +	cp -a $src/dnsmasq.conf.example $DESTDIR/etc/dnsmasq.conf
    2.11  }
    2.12  
    2.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.14 @@ -23,6 +25,7 @@
    2.15  {
    2.16  	mkdir -p $fs/usr
    2.17  	cp -a $_pkg/usr/sbin $fs/usr
    2.18 -	cp -a stuff/* $fs
    2.19 +	cp -a $_pkg/etc $fs
    2.20 +	cp -a $stuff/* $fs
    2.21  }
    2.22  
     3.1 --- a/firefox/receipt	Fri Mar 25 22:56:16 2011 +0000
     3.2 +++ b/firefox/receipt	Fri Mar 25 23:29:53 2011 +0000
     3.3 @@ -5,10 +5,10 @@
     3.4  CATEGORY="network"
     3.5  SHORT_DESC="User friendly, secure and fast web browser."
     3.6  MAINTAINER="pankso@slitaz.org"
     3.7 -DEPENDS="gtk+ sqlite dbus mesa libglu-mesa dbus-glib glib jpeg xorg-libX11 xorg-libXdamage alsa-lib xorg-libXt libfirefox libnotify"
     3.8 +DEPENDS="gtk+ sqlite dbus dbus-glib glib jpeg xorg-libX11 xorg-libXdamage alsa-lib xorg-libXt libfirefox libnotify"
     3.9  BUILD_DEPENDS="gtk+-dev zip libIDL coreutils findutils xorg-libXft-dev \
    3.10  dbus-dev dbus-glib-dev alsa-lib alsa-lib-dev libnotify-dev wireless_tools-dev perl \
    3.11 -python yasm"
    3.12 +python yasm mesa-dev"
    3.13  TARBALL="$PACKAGE-$VERSION.source.tar.bz2"
    3.14  WEB_SITE="http://www.mozilla.org/"
    3.15  WGET_URL="http://releases.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/source/$TARBALL"
     4.1 --- a/privoxy/receipt	Fri Mar 25 22:56:16 2011 +0000
     4.2 +++ b/privoxy/receipt	Fri Mar 25 23:29:53 2011 +0000
     4.3 @@ -16,6 +16,7 @@
     4.4  {
     4.5  	# Have to create privoxy user/group to be able to compile
     4.6  	adduser -s /bin/false -H -D -u 42 privoxy
     4.7 +	addgroup -g 42 privoxy
     4.8  	
     4.9  	cd $src
    4.10  
    4.11 @@ -54,12 +55,18 @@
    4.12  		status
    4.13  	fi
    4.14  
    4.15 +	if ! grep -q privoxy $1/etc/group; then
    4.16 +		echo -n "Adding group privoxy..."
    4.17 +		chroot $1/ addgroup -g 42 privoxy
    4.18 +		status
    4.19 +	fi
    4.20 +
    4.21  	# and change file permissions
    4.22  	echo -n "Changing file permissions..."
    4.23 -	chown -R root.privoxy $1/etc/privoxy
    4.24 +	chown -R privoxy.privoxy $1/etc/privoxy
    4.25  	chown -R root.root $1/etc/privoxy/templates
    4.26  	chown root.root $1/etc/privoxy
    4.27 -	chown root.privoxy $1/var/log/privoxy/logfile
    4.28 +	chown privoxy.privoxy $1/var/log/privoxy/logfile
    4.29  	status
    4.30  }
    4.31  
    4.32 @@ -67,4 +74,5 @@
    4.33  post_remove()
    4.34  {
    4.35  	deluser privoxy
    4.36 +	delgroup privoxy
    4.37  }