wok-current rev 50
Add : slitaz-config + slitaz-users
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Dec 20 17:35:35 2007 +0100 (2007-12-20) |
parents | 9303fd1ff234 |
children | b9474e3f7037 |
files | slitaz-config/files.list slitaz-config/receipt slitaz-users/files.list slitaz-users/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/slitaz-config/files.list Thu Dec 20 17:35:35 2007 +0100 1.3 @@ -0,0 +1,6 @@ 1.4 +/etc/jwm/system.jwmrc 1.5 +/etc/tazlito 1.6 +/etc/daemons.conf 1.7 +/usr/share/images/slitaz-darkblue-1280x1024.png 1.8 +/usr/share/images/slitaz-darkblue-1024x768.png 1.9 +/var/lib/tazpkg/mirror
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/slitaz-config/receipt Thu Dec 20 17:35:35 2007 +0100 2.3 @@ -0,0 +1,17 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="slitaz-config" 2.7 +VERSION="1.0" 2.8 +CATEGORY="base-system" 2.9 +SHORT_DESC="Config tree for the base system." 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 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/slitaz-users/files.list Thu Dec 20 17:35:35 2007 +0100 3.3 @@ -0,0 +1,56 @@ 3.4 +/home/hacker 3.5 +/home/hacker/Bin 3.6 +/home/hacker/.clexrc 3.7 +/home/hacker/.retawq 3.8 +/home/hacker/.retawq/bookmarks.html 3.9 +/home/hacker/.retawq/config 3.10 +/home/hacker/.isomaster 3.11 +/home/hacker/.rhapsodyrc 3.12 +/home/hacker/Public 3.13 +/home/hacker/Public/cgi-bin 3.14 +/home/hacker/Public/cgi-bin/tests.sh 3.15 +/home/hacker/Public/wikiss 3.16 +/home/hacker/Public/wikiss/template.html 3.17 +/home/hacker/Public/wikiss/_config.php 3.18 +/home/hacker/Public/wikiss/index.php 3.19 +/home/hacker/Public/wikiss/plugins 3.20 +/home/hacker/Public/wikiss/plugins/wkp_Tables.php 3.21 +/home/hacker/Public/wikiss/plugins/wkp_ListPlugins.php 3.22 +/home/hacker/Public/wikiss/plugins/wkp_Rss.php 3.23 +/home/hacker/Public/wikiss/style.css 3.24 +/home/hacker/Public/wikiss/historique 3.25 +/home/hacker/Public/wikiss/historique/Accueil 3.26 +/home/hacker/Public/wikiss/historique/Accueil/20071105-2356.bak 3.27 +/home/hacker/Public/wikiss/historique/Aide 3.28 +/home/hacker/Public/wikiss/historique/Aide/20070912-1846.bak 3.29 +/home/hacker/Public/wikiss/COPYING 3.30 +/home/hacker/Public/wikiss/pages 3.31 +/home/hacker/Public/wikiss/pages/AideTables.txt 3.32 +/home/hacker/Public/wikiss/pages/Accueil.txt 3.33 +/home/hacker/Public/wikiss/pages/Aide.txt 3.34 +/home/hacker/.profile 3.35 +/home/hacker/.ash_history 3.36 +/home/hacker/.gtkrc-2.0 3.37 +/home/hacker/.gqview 3.38 +/home/hacker/.gqview/gqviewrc 3.39 +/home/hacker/.gtk-bookmarks 3.40 +/home/hacker/.mozilla 3.41 +/home/hacker/.mozilla/plugins 3.42 +/home/hacker/Templates 3.43 +/home/hacker/Templates/shell-script.sh 3.44 +/home/hacker/Templates/html.html 3.45 +/home/hacker/Templates/cgi-bin-html.sh 3.46 +/home/hacker/Templates/cgi-bin-text.sh 3.47 +/home/hacker/Templates/php-script.php 3.48 +/home/hacker/Templates/Makefile 3.49 +/home/hacker/.bashrc 3.50 +/home/hacker/.clexbm 3.51 +/home/hacker/Images 3.52 +/home/hacker/Images/ASCII 3.53 +/home/hacker/Images/ASCII/gnu-linux.txt 3.54 +/home/hacker/Images/ASCII/tux.txt 3.55 +/home/hacker/Images/ASCII/tux-mini.txt 3.56 +/home/hacker/Images/ASCII/gnu.txt 3.57 +/home/hacker/Documents 3.58 +/root/.jwmrc 3.59 +/root/.gtkrc-2.0
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/slitaz-users/receipt Thu Dec 20 17:35:35 2007 +0100 4.3 @@ -0,0 +1,44 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="slitaz-users" 4.7 +VERSION="1.0" 4.8 +CATEGORY="base-system" 4.9 +SHORT_DESC="Config tree for the base system." 4.10 +MAINTAINER="pankso@slitaz.org" 4.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 4.12 +WEB_SITE="http://www.slitaz.org/" 4.13 +WGET_URL="http://download.tuxfamily.org/slitaz/sources/base-files/$TARBALL" 4.14 + 4.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.16 +genpkg_rules() 4.17 +{ 4.18 + # Copy all rootfs from the stuff and set permissions. 4.19 + cp -a $src/rootfs/* $fs 4.20 +} 4.21 + 4.22 +pre_install() 4.23 +{ 4.24 + local root 4.25 + local i 4.26 + root=$1/etc 4.27 + while read file line; do 4.28 + grep -qs "$line" $file || echo "$line" >> $file 4.29 + done <<EOT 4.30 +$root/passwd "root:x:0:0:root:/root:/bin/sh" 4.31 +$root/group "root:x:0:" 4.32 +$root/shadow "root:\$1\$EbR327ag\$7NFmnOi7JQc5/lG0JLiU8/:13525:0:99999:7:::" 4.33 +$root/gshadow "root:*::" 4.34 +EOT 4.35 + for i in $(cd fs/home ; ls); do 4.36 + # get uid in $3 and gid in $4 4.37 + set -- $(ls -ldn fs/home/$i) 4.38 + while read file line; do 4.39 + grep -qs "$line" $file || echo "$line" >> $file 4.40 + done <<EOT 4.41 +$root/passwd "$i:x:$3:$4:Linux User,,,:/home/$i:/bin/ash" 4.42 +$root/group "$i:x:$4:" 4.43 +$root/shadow "$i::13646:0:99999:7:::" 4.44 +$root/gshadow "$i:!::" 4.45 +EOT 4.46 + done 4.47 +}