wok-6.x rev 221
Removed slitaz-config + slitaz-users (repalced by slitaz-hacker)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Feb 15 12:15:56 2008 +0100 (2008-02-15) |
parents | 650e8529e055 |
children | d35736b2e79e |
files | slitaz-config/receipt slitaz-users/receipt |
line diff
1.1 --- a/slitaz-config/receipt Fri Feb 15 11:26:23 2008 +0100 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,17 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="slitaz-config" 1.7 -VERSION="1.0" 1.8 -CATEGORY="misc" 1.9 -SHORT_DESC="Config tree for the base system." 1.10 -MAINTAINER="pankso@slitaz.org" 1.11 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 -WEB_SITE="http://www.slitaz.org/" 1.13 -WGET_URL="http://download.tuxfamily.org/slitaz/sources/base-files/$TARBALL" 1.14 - 1.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 -genpkg_rules() 1.17 -{ 1.18 - # Copy all rootfs from the stuff and set permissions. 1.19 - cp -a $src/rootfs/* $fs 1.20 -}
2.1 --- a/slitaz-users/receipt Fri Feb 15 11:26:23 2008 +0100 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,44 +0,0 @@ 2.4 -# SliTaz package receipt. 2.5 - 2.6 -PACKAGE="slitaz-users" 2.7 -VERSION="1.0" 2.8 -CATEGORY="misc" 2.9 -SHORT_DESC="SliTaz users." 2.10 -MAINTAINER="pankso@slitaz.org" 2.11 -TARBALL="$PACKAGE-$VERSION.tar.gz" 2.12 -WEB_SITE="http://www.slitaz.org/" 2.13 -WGET_URL="http://download.tuxfamily.org/slitaz/sources/base-files/$TARBALL" 2.14 - 2.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.16 -genpkg_rules() 2.17 -{ 2.18 - # Copy all rootfs from the stuff and set permissions. 2.19 - cp -a $src/rootfs/* $fs 2.20 -} 2.21 - 2.22 -pre_install() 2.23 -{ 2.24 - local root 2.25 - local i 2.26 - root=$1/etc 2.27 - while read file line; do 2.28 - grep -qs "$line" $file || echo "$line" >> $file 2.29 - done <<EOT 2.30 -$root/passwd "root:x:0:0:root:/root:/bin/sh" 2.31 -$root/group "root:x:0:" 2.32 -$root/shadow "root:\$1\$EbR327ag\$7NFmnOi7JQc5/lG0JLiU8/:13525:0:99999:7:::" 2.33 -$root/gshadow "root:*::" 2.34 -EOT 2.35 - for i in $(cd $fs/home ; ls); do 2.36 - # get uid in $3 and gid in $4 2.37 - set -- $(ls -ldn $fs/home/$i) 2.38 - while read file line; do 2.39 - grep -qs "$line" $file || echo "$line" >> $file 2.40 - done <<EOT 2.41 -$root/passwd "$i:x:$3:$4:Linux User,,,:/home/$i:/bin/ash" 2.42 -$root/group "$i:x:$4:" 2.43 -$root/shadow "$i::13646:0:99999:7:::" 2.44 -$root/gshadow "$i:!::" 2.45 -EOT 2.46 - done 2.47 -}