wok-4.x rev 1924

volatile.cpio.gz in receipt is incompatible with tazpkg stuff
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 23 10:31:12 2008 +0000 (2008-12-23)
parents d3bf4c35c370
children 011647445dd9
files asterisk/receipt busybox/receipt cyrus-imapd/receipt freeradius-dialupadmin/receipt krb5/receipt mgetty/receipt mysql/receipt netatalk/receipt openldap/receipt perdition/receipt php-common/receipt phpldapadmin/receipt phpmyadmin/receipt phppgadmin/receipt postfix/receipt postgrey/receipt samba/receipt slim/receipt slitaz-base-files/receipt slitaz-boot-scripts/receipt slitaz-tools/receipt smbwebclient/receipt squid/receipt squidguard/receipt squirrelmail-multilogin/receipt squirrelmail-quota/receipt squirrelmail-vkeyboard/receipt squirrelmail/receipt zaptel/receipt
line diff
     1.1 --- a/asterisk/receipt	Tue Dec 23 10:01:16 2008 +0000
     1.2 +++ b/asterisk/receipt	Tue Dec 23 10:31:12 2008 +0000
     1.3 @@ -86,17 +86,3 @@
     1.4  		;;
     1.5  	esac
     1.6  }
     1.7 -
     1.8 -# Pre and post install commands for Tazpkg.
     1.9 -post_install()
    1.10 -{
    1.11 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    1.12 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    1.13 -$(cd $1/ ; find etc/asterisk -type f)
    1.14 -EOT
    1.15 -}
    1.16 -
    1.17 -repack_cleanup()
    1.18 -{
    1.19 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
    1.20 -}
     2.1 --- a/busybox/receipt	Tue Dec 23 10:01:16 2008 +0000
     2.2 +++ b/busybox/receipt	Tue Dec 23 10:31:12 2008 +0000
     2.3 @@ -79,17 +79,5 @@
     2.4  
     2.5  post_install()
     2.6  {
     2.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
     2.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
     2.9 -etc/dnsd.conf
    2.10 -etc/inetd.conf
    2.11 -etc/udhcpd.conf
    2.12 -etc/resolv.conf
    2.13 -EOT
    2.14  	mv -f /etc/resolv.conf-busybox-install /etc/resolv.conf
    2.15  }
    2.16 -
    2.17 -repack_cleanup()
    2.18 -{
    2.19 -	zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
    2.20 -}
     3.1 --- a/cyrus-imapd/receipt	Tue Dec 23 10:01:16 2008 +0000
     3.2 +++ b/cyrus-imapd/receipt	Tue Dec 23 10:31:12 2008 +0000
     3.3 @@ -51,11 +51,6 @@
     3.4  # Pre and post install commands for Tazpkg.
     3.5  post_install()
     3.6  {
     3.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
     3.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
     3.9 -etc/cyrus.conf
    3.10 -etc/imapd.conf
    3.11 -EOT
    3.12          # adduser cyrus if needed
    3.13  	if ! grep -q cyrus $1/etc/passwd; then
    3.14  		echo -n "Adding user cyrus..."
    3.15 @@ -126,8 +121,3 @@
    3.16  	deluser cyrus
    3.17  	delgroup mail
    3.18  }
    3.19 -
    3.20 -repack_cleanup()
    3.21 -{
    3.22 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
    3.23 -}
     4.1 --- a/freeradius-dialupadmin/receipt	Tue Dec 23 10:01:16 2008 +0000
     4.2 +++ b/freeradius-dialupadmin/receipt	Tue Dec 23 10:31:12 2008 +0000
     4.3 @@ -23,10 +23,6 @@
     4.4  
     4.5  post_install()
     4.6  {
     4.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
     4.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
     4.9 -etc/dialupadmin
    4.10 -EOT
    4.11  	# Configure lighttpd server
    4.12  	if [ -f $1/etc/lighttpd/lighttpd.conf ]; then
    4.13  		if ! grep -q /usr/share/dialup_admin/ $1/etc/lighttpd/lighttpd.conf; then
    4.14 @@ -61,8 +57,3 @@
    4.15  		fi
    4.16  	fi
    4.17  }
    4.18 -
    4.19 -repack_cleanup()
    4.20 -{
    4.21 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
    4.22 -}
     5.1 --- a/krb5/receipt	Tue Dec 23 10:01:16 2008 +0000
     5.2 +++ b/krb5/receipt	Tue Dec 23 10:31:12 2008 +0000
     5.3 @@ -46,10 +46,6 @@
     5.4  # Pre and post install commands for Tazpkg.
     5.5  post_install()
     5.6  {
     5.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
     5.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
     5.9 -$(cd $1/ ; find etc/krb5 -type f)
    5.10 -EOT
    5.11  	cat <<EOF
    5.12  ----
    5.13  To start $PACKAGE server you can run :
    5.14 @@ -60,8 +56,3 @@
    5.15  ----
    5.16  EOF
    5.17  }
    5.18 -
    5.19 -repack_cleanup()
    5.20 -{
    5.21 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
    5.22 -}
     6.1 --- a/mgetty/receipt	Tue Dec 23 10:01:16 2008 +0000
     6.2 +++ b/mgetty/receipt	Tue Dec 23 10:31:12 2008 +0000
     6.3 @@ -53,10 +53,6 @@
     6.4  # Pre and post install commands for Tazpkg.
     6.5  post_install()
     6.6  {
     6.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
     6.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
     6.9 -$(cd $1/ ; find etc/mgetty+sendfax -type f)
    6.10 -EOT
    6.11          # adduser fax if needed
    6.12  	if ! grep -q fax $1/etc/passwd; then
    6.13  		echo -n "Adding user fax..."
    6.14 @@ -70,8 +66,3 @@
    6.15  {
    6.16  	deluser fax
    6.17  }
    6.18 -
    6.19 -repack_cleanup()
    6.20 -{
    6.21 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
    6.22 -}
     7.1 --- a/mysql/receipt	Tue Dec 23 10:01:16 2008 +0000
     7.2 +++ b/mysql/receipt	Tue Dec 23 10:31:12 2008 +0000
     7.3 @@ -52,10 +52,6 @@
     7.4  # Pre and post install commands for Tazpkg.
     7.5  post_install()
     7.6  {
     7.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
     7.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
     7.9 -etc/my.cnf
    7.10 -EOT
    7.11  	# adduser mysql if needed
    7.12  	if ! grep -q mysql $1/etc/passwd; then
    7.13  		echo -n "Adding user mysql..."
    7.14 @@ -85,8 +81,3 @@
    7.15  	deluser mysql
    7.16  	delgroup mysql
    7.17  }
    7.18 -
    7.19 -repack_cleanup()
    7.20 -{
    7.21 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
    7.22 -}
     8.1 --- a/netatalk/receipt	Tue Dec 23 10:01:16 2008 +0000
     8.2 +++ b/netatalk/receipt	Tue Dec 23 10:31:12 2008 +0000
     8.3 @@ -44,10 +44,6 @@
     8.4  # Pre and post install commands for Tazpkg.
     8.5  post_install()
     8.6  {
     8.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
     8.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
     8.9 -$(ls etc/netatalk/AppleVolumes.* etc/netatalk/*.conf)
    8.10 -EOT
    8.11  	cat <<EOF
    8.12  ----
    8.13  To start $PACKAGE server you can run :
    8.14 @@ -58,8 +54,3 @@
    8.15  ----
    8.16  EOF
    8.17  }
    8.18 -
    8.19 -repack_cleanup()
    8.20 -{
    8.21 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
    8.22 -}
     9.1 --- a/openldap/receipt	Tue Dec 23 10:01:16 2008 +0000
     9.2 +++ b/openldap/receipt	Tue Dec 23 10:31:12 2008 +0000
     9.3 @@ -45,11 +45,6 @@
     9.4  # Pre and post install commands for Tazpkg.
     9.5  post_install()
     9.6  {
     9.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
     9.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
     9.9 -etc/openldap/ldap.conf
    9.10 -etc/openldap/slapd.conf
    9.11 -EOT
    9.12  	( cd $1/$INSTALLED/ ; grep -l /etc/openldap/slapd.conf */receipt ) | \
    9.13  	while read file; do
    9.14  		pkg=$(dirname $file)
    9.15 @@ -58,8 +53,3 @@
    9.16  		tazpkg reconfigure $pkg
    9.17  	done
    9.18  }
    9.19 -
    9.20 -repack_cleanup()
    9.21 -{
    9.22 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
    9.23 -}
    10.1 --- a/perdition/receipt	Tue Dec 23 10:01:16 2008 +0000
    10.2 +++ b/perdition/receipt	Tue Dec 23 10:31:12 2008 +0000
    10.3 @@ -48,10 +48,6 @@
    10.4  # Pre and post install commands for Tazpkg.
    10.5  post_install()
    10.6  {
    10.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    10.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    10.9 -$(cd $1/ ; find etc/perdition -type f)
   10.10 -EOT
   10.11  	for i in pop3 pop3s imap4 imap4s imaps; do
   10.12  		chown nobody.nogroup $1/var/run/perdition.$i
   10.13  	done
   10.14 @@ -68,8 +64,3 @@
   10.15  ----
   10.16  EOF
   10.17  }
   10.18 -
   10.19 -repack_cleanup()
   10.20 -{
   10.21 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
   10.22 -}
    11.1 --- a/php-common/receipt	Tue Dec 23 10:01:16 2008 +0000
    11.2 +++ b/php-common/receipt	Tue Dec 23 10:31:12 2008 +0000
    11.3 @@ -31,10 +31,6 @@
    11.4  }
    11.5  post_install()
    11.6  {
    11.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    11.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    11.9 -etc/php.ini
   11.10 -EOT
   11.11  	# Restore original php.ini
   11.12  	if [ -f "$1/etc/php.ini.bak" ]; then
   11.13  		echo -n "Restoring php.ini backup..."
   11.14 @@ -42,8 +38,3 @@
   11.15  		status
   11.16  	fi
   11.17  }
   11.18 -
   11.19 -repack_cleanup()
   11.20 -{
   11.21 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
   11.22 -}
    12.1 --- a/phpldapadmin/receipt	Tue Dec 23 10:01:16 2008 +0000
    12.2 +++ b/phpldapadmin/receipt	Tue Dec 23 10:31:12 2008 +0000
    12.3 @@ -27,10 +27,6 @@
    12.4  
    12.5  post_install()
    12.6  {
    12.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    12.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    12.9 -etc/phpldapadmin/config.php
   12.10 -EOT
   12.11  	if [ -s $1/etc/openldap/slapd.conf ]; then
   12.12  		rootdn=$(awk '/^rootdn/ { print $2 }' < $1/etc/openldap/slapd.conf | sed 's/"//g')
   12.13  		sed -i "s|'login','dn','');|'login','dn','');\\n\$ldapservers->SetValue(\$i,'login','dn','$rootdn');|" $1/etc/phpldapadmin/config.php
   12.14 @@ -77,8 +73,3 @@
   12.15  ------
   12.16  EOT
   12.17  }
   12.18 -
   12.19 -repack_cleanup()
   12.20 -{
   12.21 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
   12.22 -}
    13.1 --- a/phpmyadmin/receipt	Tue Dec 23 10:01:16 2008 +0000
    13.2 +++ b/phpmyadmin/receipt	Tue Dec 23 10:31:12 2008 +0000
    13.3 @@ -34,10 +34,6 @@
    13.4  
    13.5  post_install()
    13.6  {
    13.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    13.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    13.9 -etc/phpmyadmin/config.inc.php
   13.10 -EOT
   13.11  	# Configure lighttpd server
   13.12  	if [ -f $1/etc/lighttpd/lighttpd.conf ]; then
   13.13  		if ! grep -q /usr/share/phpmyadmin/ $1/etc/lighttpd/lighttpd.conf; then
   13.14 @@ -72,8 +68,3 @@
   13.15  		fi
   13.16  	fi
   13.17  }
   13.18 -
   13.19 -repack_cleanup()
   13.20 -{
   13.21 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
   13.22 -}
    14.1 --- a/phppgadmin/receipt	Tue Dec 23 10:01:16 2008 +0000
    14.2 +++ b/phppgadmin/receipt	Tue Dec 23 10:31:12 2008 +0000
    14.3 @@ -28,10 +28,6 @@
    14.4  
    14.5  post_install()
    14.6  {
    14.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    14.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    14.9 -etc/phppgadmin/config.inc.php
   14.10 -EOT
   14.11  	# Configure lighttpd server
   14.12  	if [ -f $1/etc/lighttpd/lighttpd.conf ]; then
   14.13  		if ! grep -q /usr/share/phppgadmin/ $1/etc/lighttpd/lighttpd.conf; then
   14.14 @@ -72,8 +68,3 @@
   14.15  ------
   14.16  EOT
   14.17  }
   14.18 -
   14.19 -repack_cleanup()
   14.20 -{
   14.21 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
   14.22 -}
    15.1 --- a/postfix/receipt	Tue Dec 23 10:01:16 2008 +0000
    15.2 +++ b/postfix/receipt	Tue Dec 23 10:31:12 2008 +0000
    15.3 @@ -57,10 +57,6 @@
    15.4  # Pre and post install commands for Tazpkg.
    15.5  post_install()
    15.6  {
    15.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    15.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    15.9 -$(cd $1/ ; find etc/postfix -type f)
   15.10 -EOT
   15.11          # adduser postfix if needed
   15.12  	if ! grep -q postfix $1/etc/passwd; then
   15.13  		echo -n "Adding user postfix..."
   15.14 @@ -107,8 +103,3 @@
   15.15  	delgroup postfix
   15.16  	delgroup postdrop
   15.17  }
   15.18 -
   15.19 -repack_cleanup()
   15.20 -{
   15.21 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
   15.22 -}
    16.1 --- a/postgrey/receipt	Tue Dec 23 10:01:16 2008 +0000
    16.2 +++ b/postgrey/receipt	Tue Dec 23 10:31:12 2008 +0000
    16.3 @@ -24,10 +24,6 @@
    16.4  # Pre and post install commands for Tazpkg.
    16.5  post_install()
    16.6  {
    16.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    16.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    16.9 -$(cd $1/ ; find etc/postgrey -type f)
   16.10 -EOT
   16.11  	chown postfix /var/spool/postfix/postgrey
   16.12  	cat <<EOF
   16.13  ----
   16.14 @@ -47,8 +43,3 @@
   16.15  ----
   16.16  EOF
   16.17  }
   16.18 -
   16.19 -repack_cleanup()
   16.20 -{
   16.21 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
   16.22 -}
    17.1 --- a/samba/receipt	Tue Dec 23 10:01:16 2008 +0000
    17.2 +++ b/samba/receipt	Tue Dec 23 10:31:12 2008 +0000
    17.3 @@ -54,10 +54,6 @@
    17.4  # Pre and post install commands for Tazpkg.
    17.5  post_install()
    17.6  {
    17.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    17.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    17.9 -etc/samba
   17.10 -EOT
   17.11  	cat <<EOF
   17.12  ----
   17.13  The main configuration file is /etc/samba/smb.conf
   17.14 @@ -70,8 +66,3 @@
   17.15  ----
   17.16  EOF
   17.17  }
   17.18 -
   17.19 -repack_cleanup()
   17.20 -{
   17.21 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
   17.22 -}
    18.1 --- a/slim/receipt	Tue Dec 23 10:01:16 2008 +0000
    18.2 +++ b/slim/receipt	Tue Dec 23 10:31:12 2008 +0000
    18.3 @@ -39,13 +39,4 @@
    18.4  	USER=$(awk -F: '/:1000:1000:/ { print $1 }' < $1/etc/passwd)
    18.5  	[ -n "$USER" ] &&
    18.6  	sed -i s/"default_user .*"/"default_user        $USER"/ $1/etc/slim.conf
    18.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    18.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    18.9 -etc/slim.conf
   18.10 -EOT
   18.11  }
   18.12 -
   18.13 -repack_cleanup()
   18.14 -{
   18.15 -	zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
   18.16 -}
    19.1 --- a/slitaz-base-files/receipt	Tue Dec 23 10:01:16 2008 +0000
    19.2 +++ b/slitaz-base-files/receipt	Tue Dec 23 10:31:12 2008 +0000
    19.3 @@ -89,26 +89,6 @@
    19.4  {
    19.5  	local root
    19.6  	root=$1
    19.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    19.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    19.9 -etc/adduser.conf
   19.10 -etc/passwd
   19.11 -etc/fstab
   19.12 -etc/issue
   19.13 -etc/hosts
   19.14 -etc/host.conf
   19.15 -etc/hostname
   19.16 -etc/group
   19.17 -etc/gshadow
   19.18 -etc/shadow
   19.19 -etc/daemons.conf
   19.20 -etc/nsswitch.conf
   19.21 -etc/networks
   19.22 -etc/profile
   19.23 -etc/securetty
   19.24 -etc/services
   19.25 -etc/shells
   19.26 -EOT
   19.27  	echo "Restoring files from /etc/etc.bak..."
   19.28  	cp -a $root/tmp/etc.bak/* $root/etc 2>/dev/null
   19.29  	rm -rf $root/tmp/etc.bak
   19.30 @@ -137,9 +117,6 @@
   19.31  		echo '' >> $root/etc/daemons.conf
   19.32  	fi
   19.33  }
   19.34 +
   19.35 +# We need this package on build host to install it in target directory
   19.36  SELF_INSTALL=1
   19.37 -
   19.38 -repack_cleanup()
   19.39 -{
   19.40 -	zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
   19.41 -}
    20.1 --- a/slitaz-boot-scripts/receipt	Tue Dec 23 10:01:16 2008 +0000
    20.2 +++ b/slitaz-boot-scripts/receipt	Tue Dec 23 10:31:12 2008 +0000
    20.3 @@ -47,11 +47,6 @@
    20.4  {
    20.5   	local root
    20.6   	root=$1
    20.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    20.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    20.9 -etc/rcS.conf
   20.10 -etc/network.conf
   20.11 -EOT
   20.12  	echo "Restoring configs backups..."
   20.13  	mv -f $root/etc/rcS.conf.bak $root/etc/rcS.conf 2>/dev/null
   20.14  	mv -f $root/etc/network.conf.bak $root/etc/network.conf 2>/dev/null
   20.15 @@ -86,8 +81,3 @@
   20.16  		chown -R 1000.1000 $root/home/hacker
   20.17  	fi 
   20.18  }
   20.19 -
   20.20 -repack_cleanup()
   20.21 -{
   20.22 -	zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
   20.23 -}
    21.1 --- a/slitaz-tools/receipt	Tue Dec 23 10:01:16 2008 +0000
    21.2 +++ b/slitaz-tools/receipt	Tue Dec 23 10:31:12 2008 +0000
    21.3 @@ -105,15 +105,6 @@
    21.4  # Post install
    21.5  post_install()
    21.6  {
    21.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    21.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    21.9 -etc/TZ
   21.10 -etc/motd
   21.11 -etc/keymap.conf
   21.12 -etc/X11/screen.conf
   21.13 -etc/locale.conf
   21.14 -etc/firewall.conf
   21.15 -EOT
   21.16  	echo "Restoring configs backups..."
   21.17  	mv -f $root/etc/TZ.bak $root/etc/TZ 2>/dev/null
   21.18  	mv -f $root/etc/keymap.conf.bak $root/etc/keymap.conf 2>/dev/null
   21.19 @@ -121,8 +112,3 @@
   21.20  	mv -f $root/etc/locale.conf.bak $root/etc/locale.conf 2>/dev/null
   21.21  	mv -f $root/etc/firewall.conf.bak $root/etc/firewall.conf 2>/dev/null
   21.22  }
   21.23 -
   21.24 -repack_cleanup()
   21.25 -{
   21.26 -	zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
   21.27 -}
    22.1 --- a/smbwebclient/receipt	Tue Dec 23 10:01:16 2008 +0000
    22.2 +++ b/smbwebclient/receipt	Tue Dec 23 10:31:12 2008 +0000
    22.3 @@ -30,10 +30,6 @@
    22.4  
    22.5  post_install()
    22.6  {
    22.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    22.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    22.9 -etc/samba/smbwebclient.conf
   22.10 -EOT
   22.11  	if [ -f $1/etc/locale.conf ]; then
   22.12  		lang=$(. /etc/locale.conf; echo ${LANG%_*})
   22.13  		sed -i "s/DefaultLanguage = 'us'/DefaultLanguage = '$lang'/" \
   22.14 @@ -77,8 +73,3 @@
   22.15  ---
   22.16  EOF
   22.17  }
   22.18 -
   22.19 -repack_cleanup()
   22.20 -{
   22.21 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
   22.22 -}
    23.1 --- a/squid/receipt	Tue Dec 23 10:01:16 2008 +0000
    23.2 +++ b/squid/receipt	Tue Dec 23 10:31:12 2008 +0000
    23.3 @@ -57,10 +57,6 @@
    23.4  # Pre and post install commands for Tazpkg.
    23.5  post_install()
    23.6  {
    23.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    23.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    23.9 -$(cd $1/ ; find etc/squid -type f)
   23.10 -EOT
   23.11  	chown nobody.nogroup /var/cache/squid /var/log/squid
   23.12  	cat <<EOF
   23.13  ----
   23.14 @@ -72,8 +68,3 @@
   23.15  ----
   23.16  EOF
   23.17  }
   23.18 -
   23.19 -repack_cleanup()
   23.20 -{
   23.21 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
   23.22 -}
    24.1 --- a/squidguard/receipt	Tue Dec 23 10:01:16 2008 +0000
    24.2 +++ b/squidguard/receipt	Tue Dec 23 10:31:12 2008 +0000
    24.3 @@ -41,10 +41,6 @@
    24.4  # Pre and post install commands for Tazpkg.
    24.5  post_install()
    24.6  {
    24.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    24.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOF
    24.9 -etc/squid/squidGuard.conf
   24.10 -EOF
   24.11  	chown -R nobody /var/lib/squidGuard/* /usr/squidGuard
   24.12  	if ! grep ^redirect_program $1/etc/squid/squid.conf ; then
   24.13  		echo "Updating /etc/squid/squid.conf"
   24.14 @@ -53,8 +49,3 @@
   24.15  EOF
   24.16  	fi
   24.17  }
   24.18 -
   24.19 -repack_cleanup()
   24.20 -{
   24.21 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
   24.22 -}
    25.1 --- a/squirrelmail-multilogin/receipt	Tue Dec 23 10:01:16 2008 +0000
    25.2 +++ b/squirrelmail-multilogin/receipt	Tue Dec 23 10:31:12 2008 +0000
    25.3 @@ -27,18 +27,9 @@
    25.4  
    25.5  post_install()
    25.6  {
    25.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    25.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    25.9 -etc/squirrelmail/config-multilogin.php
   25.10 -EOT
   25.11  	chown www $1/var/lib/squirrelmail/slitaz.org/data
   25.12  	( cd $1/usr/share/squirrelmail/plugins/multilogin
   25.13  	  patch -p0 < patches/multilogin-squirrelmail-$(. $1/$INSTALLED/squirrelmail/receipt; echo $VERSION).diff )
   25.14  	echo "$PACKAGE" >> $1/$INSTALLED/squirrelmail/modifiers
   25.15  	echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php
   25.16  }
   25.17 -
   25.18 -repack_cleanup()
   25.19 -{
   25.20 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
   25.21 -}
    26.1 --- a/squirrelmail-quota/receipt	Tue Dec 23 10:01:16 2008 +0000
    26.2 +++ b/squirrelmail-quota/receipt	Tue Dec 23 10:31:12 2008 +0000
    26.3 @@ -27,14 +27,5 @@
    26.4  
    26.5  post_install()
    26.6  {
    26.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    26.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    26.9 -etc/squirrelmail/config-quota.php
   26.10 -EOT
   26.11  	echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php
   26.12  }
   26.13 -
   26.14 -repack_cleanup()
   26.15 -{
   26.16 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
   26.17 -}
    27.1 --- a/squirrelmail-vkeyboard/receipt	Tue Dec 23 10:01:16 2008 +0000
    27.2 +++ b/squirrelmail-vkeyboard/receipt	Tue Dec 23 10:31:12 2008 +0000
    27.3 @@ -25,14 +25,5 @@
    27.4  
    27.5  post_install()
    27.6  {
    27.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    27.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    27.9 -etc/squirrelmail/config-vkeyboard.php
   27.10 -EOT
   27.11  	echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php
   27.12  }
   27.13 -
   27.14 -repack_cleanup()
   27.15 -{
   27.16 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
   27.17 -}
    28.1 --- a/squirrelmail/receipt	Tue Dec 23 10:01:16 2008 +0000
    28.2 +++ b/squirrelmail/receipt	Tue Dec 23 10:31:12 2008 +0000
    28.3 @@ -47,11 +47,6 @@
    28.4  
    28.5  post_install()
    28.6  {
    28.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    28.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    28.9 -etc/squirrelmail/config.php
   28.10 -etc/squirrelmail/config_local.php
   28.11 -EOT
   28.12  	#echo "Update /short_open_tag in /etc/php.ini"
   28.13  	#sed -i 's/^short_open_tag.*/short_open_tag = On/' /etc/php.ini
   28.14  	if [ -f $1/etc/lighttpd/lighttpd.conf ]; then
   28.15 @@ -86,8 +81,3 @@
   28.16  		fi
   28.17  	fi
   28.18  }
   28.19 -
   28.20 -repack_cleanup()
   28.21 -{
   28.22 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
   28.23 -}
    29.1 --- a/zaptel/receipt	Tue Dec 23 10:01:16 2008 +0000
    29.2 +++ b/zaptel/receipt	Tue Dec 23 10:31:12 2008 +0000
    29.3 @@ -44,10 +44,6 @@
    29.4  # Post install/remove commands for Tazpkg.
    29.5  post_install()
    29.6  {
    29.7 -	( cd $1/ ; cpio -o -H newc | gzip -9 ) > \
    29.8 -		$1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT
    29.9 -etc/zaptel.conf
   29.10 -EOT
   29.11  	depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
   29.12  }
   29.13  
   29.14 @@ -55,8 +51,3 @@
   29.15  {
   29.16  	depmod -a
   29.17  }
   29.18 -
   29.19 -repack_cleanup()
   29.20 -{
   29.21 -        zcat $INSTALLED/$PACKAGE/volatile.cpio.gz | ( cd $1 ; cpio -id )
   29.22 -}