slitaz-modular rev 27
Updated core profile. Added local-mirror script. Local-mirror will allow one to use the hg repos on slitaz to make a local network of slitaz.org.
line diff
1.1 --- a/.hgignore Tue Feb 22 10:53:22 2011 +0000 1.2 +++ b/.hgignore Wed Feb 23 05:03:35 2011 +0000 1.3 @@ -1,2 +1,5 @@ 1.4 syntax: glob 1.5 -working/** 1.6 \ No newline at end of file 1.7 +working/** 1.8 +*.iso 1.9 +*.md5 1.10 +full-desktop/** 1.11 \ No newline at end of file
2.1 --- a/core/config Tue Feb 22 10:53:22 2011 +0000 2.2 +++ b/core/config Wed Feb 23 05:03:35 2011 +0000 2.3 @@ -1,7 +1,8 @@ 2.4 2.5 # names of modular package lists 2.6 # equals names of .list files in the order to build 2.7 -MODULES="a.000.base a.001.justx a.002.core-basic a.003.core a.004.firefox a.005.core-xfce" 2.8 +#MODULES="a.000.base a.001.justx a.002.core-basic a.003.core a.004.firefox a.005.core-xfce" 2.9 +MODULES="a.000.base a.001.justx a.002.core-basic a.003.core a.004.firefox a.005.server a.006.mesa a.007.xorg-xf86-video a.008.libs a.009.apps a.010.frozen-bubble a.011.warzone2100 a.012.celestia" 2.10 2.11 # download local copies of hg repos for iso 2.12 # equals yes or no 2.13 @@ -11,10 +12,13 @@ 2.14 # equals yes or no 2.15 UPDATE_HG="no" 2.16 2.17 +#HG_URL="https://bitbucket.org/gokhlayeh" 2.18 + 2.19 # clean modules folders by removing them 2.20 # equals yes or no 2.21 -CLEAN_MODULES_DIR="yes" 2.22 +CLEAN_MODULES_DIR="no" 2.23 2.24 # remove initramfs folder 2.25 # equals yes or no 2.26 -CLEAN_INITRAMFS="yes" 2.27 +CLEAN_INITRAMFS="no" 2.28 +
3.1 --- a/core/list/a.000.base.list Tue Feb 22 10:53:22 2011 +0000 3.2 +++ b/core/list/a.000.base.list Wed Feb 23 05:03:35 2011 +0000 3.3 @@ -1,4 +1,5 @@ 3.4 busybox 3.5 +bash 3.6 bzlib 3.7 dialog 3.8 dropbear 3.9 @@ -11,6 +12,7 @@ 3.10 kbd-busybox 3.11 libcap 3.12 linux 3.13 +linux-drm 3.14 lzlib 3.15 lzma 3.16 pcmciautils 3.17 @@ -29,3 +31,6 @@ 3.18 udev 3.19 zlib 3.20 ncurses-common 3.21 +kqemu 3.22 +linux-firmware 3.23 +aufs-utils 3.24 \ No newline at end of file
4.1 --- a/core/list/a.003.core.list Tue Feb 22 10:53:22 2011 +0000 4.2 +++ b/core/list/a.003.core.list Wed Feb 23 05:03:35 2011 +0000 4.3 @@ -81,6 +81,7 @@ 4.4 tazpkg 4.5 tazusb 4.6 tazwikiss 4.7 +tazchroot 4.8 tazwok 4.9 tiff 4.10 transset-df 4.11 @@ -134,8 +135,11 @@ 4.12 desktop-file-utils 4.13 xorg-server 4.14 xorg-xf86-input-evdev 4.15 +xorg-xf86-input-mouse 4.16 +xorg-xf86-input-keyboard 4.17 xorg-xf86-video-vesa 4.18 xorg-setxkbmap 4.19 +xorg-libXvMC 4.20 mhwaveedit 4.21 isomaster 4.22 gcolor2
5.1 --- a/core/list/a.004.firefox.list Tue Feb 22 10:53:22 2011 +0000 5.2 +++ b/core/list/a.004.firefox.list Wed Feb 23 05:03:35 2011 +0000 5.3 @@ -1,161 +1,1 @@ 5.4 -alsa-lib 5.5 -alsaplayer 5.6 -alsa-utils 5.7 -atk 5.8 -attr 5.9 -busybox 5.10 -bzlib 5.11 -cairo 5.12 -cdrkit 5.13 -clearlooks 5.14 -dbus 5.15 -dbus-glib 5.16 -desktop-file-utils 5.17 -dialog 5.18 -dropbear 5.19 -e2fsprogs 5.20 -expat 5.21 firefox 5.22 -fontconfig 5.23 -freetype 5.24 -fuse 5.25 -galculator 5.26 -gamin 5.27 -gcc-lib-base 5.28 -get-google-earth 5.29 -get-opera 5.30 -get-skype 5.31 -get-wifi-firmware 5.32 -glib 5.33 -glibc-base 5.34 -gpxe 5.35 -grub4dos-linux 5.36 -gtk+ 5.37 -gtkdialog 5.38 -hal 5.39 -hardinfo 5.40 -hicolor-icon-theme 5.41 -isapnptools 5.42 -jpeg 5.43 -kbd-busybox 5.44 -leafpad 5.45 -libcap 5.46 -libcomerr 5.47 -libcrypto 5.48 -libdrm 5.49 -libgcrypt 5.50 -libgio 5.51 -libglade 5.52 -libmad 5.53 -libogg 5.54 -libpng 5.55 -libssl 5.56 -libvorbis 5.57 -libxcb 5.58 -libxml2 5.59 -linux 5.60 -linux-acpi 5.61 -linux-crypto 5.62 -linux-sound 5.63 -linux-wireless 5.64 -locale-de 5.65 -locale-es 5.66 -locale-fr 5.67 -locale-pt 5.68 -lxappearance 5.69 -lxpanel 5.70 -lxtask 5.71 -lzlib 5.72 -lzma 5.73 -menu-cache 5.74 -mesa 5.75 -nano 5.76 -nanochess 5.77 -ncurses 5.78 -ntfs-3g 5.79 -ntfsprogs 5.80 -obconf 5.81 -openbox 5.82 -pango 5.83 -pciutils 5.84 -pcmanfm 5.85 -pcmciautils 5.86 -pcre 5.87 -pixman 5.88 -popt 5.89 -ppp 5.90 -rp-pppoe 5.91 -shared-mime-info 5.92 -slim 5.93 -slitaz-base-files 5.94 -slitaz-boot-scripts 5.95 -slitaz-configs 5.96 -slitaz-doc 5.97 -slitaz-icon 5.98 -slitaz-menus 5.99 -slitaz-polar-cursors 5.100 -slitaz-tools 5.101 -slitaz-tools-boxes 5.102 -sqlite 5.103 -startup-notification 5.104 -sudoku 5.105 -sysfsutils 5.106 -syslinux 5.107 -syslinux-extra 5.108 -tazlito 5.109 -tazpkg 5.110 -tazusb 5.111 -tazwikiss 5.112 -tazwok 5.113 -tiff 5.114 -transset-df 5.115 -ttf-dejavu 5.116 -udev 5.117 -util-linux-ng-blkid 5.118 -util-linux-ng-cfdisk 5.119 -util-linux-ng-getopt 5.120 -util-linux-ng-uuid 5.121 -viewnior 5.122 -web-applications 5.123 -wireless_tools 5.124 -wpa_supplicant 5.125 -xcb-util 5.126 -xorg 5.127 -xorg-base-fonts 5.128 -xorg-libfontenc 5.129 -xorg-libICE 5.130 -xorg-libpciaccess 5.131 -xorg-libSM 5.132 -xorg-libX11 5.133 -xorg-libXau 5.134 -xorg-libXaw 5.135 -xorg-libXcomposite 5.136 -xorg-libXcursor 5.137 -xorg-libXdamage 5.138 -xorg-libXdmcp 5.139 -xorg-libXext 5.140 -xorg-libXfixes 5.141 -xorg-libXfont 5.142 -xorg-libXft 5.143 -xorg-libXi 5.144 -xorg-libXinerama 5.145 -xorg-libxkbfile 5.146 -xorg-libXmu 5.147 -xorg-libXpm 5.148 -xorg-libXrandr 5.149 -xorg-libXrender 5.150 -xorg-libXt 5.151 -xorg-libXtst 5.152 -xorg-libXxf86vm 5.153 -xorg-rgb 5.154 -xorg-server 5.155 -xorg-setxkbmap 5.156 -xorg-xauth 5.157 -xorg-xcompmgr 5.158 -xorg-xf86-input-evdev 5.159 -xorg-xf86-video-vesa 5.160 -xorg-xkbcomp 5.161 -xorg-xkeyboard-config 5.162 -xorg-xrandr 5.163 -xterm 5.164 -zlib
6.1 --- a/core/list/a.005.core-xfce.list Tue Feb 22 10:53:22 2011 +0000 6.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 6.3 @@ -1,250 +0,0 @@ 6.4 -915resolution 6.5 -alsa-lib 6.6 -alsaplayer 6.7 -alsa-utils 6.8 -asunder 6.9 -atk 6.10 -attr 6.11 -beaver 6.12 -busybox 6.13 -busybox-pam 6.14 -bzlib 6.15 -cairo 6.16 -cairomm 6.17 -cdparanoia-III 6.18 -cdrkit 6.19 -clearlooks 6.20 -conspy 6.21 -curl 6.22 -dbus 6.23 -dbus-glib 6.24 -depmod 6.25 -desktop-file-utils 6.26 -dialog 6.27 -dropbear 6.28 -e2fsprogs 6.29 -enchant 6.30 -epdfview 6.31 -expat 6.32 -firefox 6.33 -fontconfig 6.34 -freetype 6.35 -fuse 6.36 -galculator 6.37 -gamin 6.38 -gcc-lib-base 6.39 -gcolor2 6.40 -GConf 6.41 -gdbm 6.42 -get-flash-plugin 6.43 -gettext-base 6.44 -get-wifi-firmware 6.45 -glib 6.46 -glibc-base 6.47 -glibmm 6.48 -gparted 6.49 -gpxe 6.50 -grub 6.51 -gtk+ 6.52 -gtkdialog 6.53 -gtkmm 6.54 -gtk-xfce-engine 6.55 -hal 6.56 -hardinfo 6.57 -hicolor-icon-theme 6.58 -isapnptools 6.59 -isomaster 6.60 -jpeg 6.61 -kbd-busybox 6.62 -lcms 6.63 -leafpad 6.64 -libcap 6.65 -libcddb 6.66 -libcdio 6.67 -libcomerr 6.68 -libcrypto 6.69 -libcurl 6.70 -libdb 6.71 -libdrm 6.72 -libexif 6.73 -libexo 6.74 -libfirefox 6.75 -libgcrypt 6.76 -libgio 6.77 -libgiomm 6.78 -libglade 6.79 -libgnutls 6.80 -libgpg-error 6.81 -libical 6.82 -libIDL 6.83 -libidn 6.84 -libmad 6.85 -libnotify 6.86 -libogg 6.87 -libpng 6.88 -libsexy 6.89 -libsigc++ 6.90 -libsoup 6.91 -libssl 6.92 -libtasn1 6.93 -libtool 6.94 -libunique 6.95 -libusb 6.96 -libusb-compat 6.97 -libvorbis 6.98 -libwebkit 6.99 -libwnck 6.100 -libxcb 6.101 -libxfce4menu 6.102 -libxfce4util 6.103 -libxfcegui4 6.104 -libxml2 6.105 -libxslt 6.106 -linux 6.107 -linux-crypto 6.108 -linux-sound 6.109 -linux-wireless 6.110 -locale-de 6.111 -locale-es 6.112 -locale-fr 6.113 -locale-pt 6.114 -lostirc 6.115 -lua 6.116 -lxappearance 6.117 -lxpanel 6.118 -lxtask 6.119 -lzlib 6.120 -lzma 6.121 -menu-cache 6.122 -mercurial 6.123 -mesa 6.124 -mhwaveedit 6.125 -midori 6.126 -mtpaint 6.127 -nano 6.128 -ncurses 6.129 -ncurses-common 6.130 -ncursesw 6.131 -ntfs-3g 6.132 -ntfsprogs 6.133 -obconf 6.134 -openbox 6.135 -openssl 6.136 -ORBit2 6.137 -osmo 6.138 -pam 6.139 -pango 6.140 -pangomm 6.141 -parted 6.142 -patch 6.143 -pciutils 6.144 -pcmanfm 6.145 -pcmciautils 6.146 -pcre 6.147 -perl 6.148 -perl-uri 6.149 -perl-xml-parser 6.150 -pixman 6.151 -PolicyKit0 6.152 -poppler 6.153 -popt 6.154 -ppp 6.155 -python 6.156 -readline 6.157 -rp-pppoe 6.158 -shared-mime-info 6.159 -slim 6.160 -slitaz-base-files 6.161 -slitaz-boot-scripts 6.162 -slitaz-configs 6.163 -slitaz-doc 6.164 -slitaz-icon 6.165 -slitaz-menus 6.166 -slitaz-polar-cursors 6.167 -slitaz-tools 6.168 -slitaz-tools-boxes 6.169 -sqlite 6.170 -startup-notification 6.171 -sudo 6.172 -sudoku-savant 6.173 -suggested-applications 6.174 -sysfsutils 6.175 -syslinux 6.176 -syslinux-extra 6.177 -tazlito 6.178 -tazpkg 6.179 -tazusb 6.180 -tazwok 6.181 -tcl 6.182 -thunar 6.183 -thunar-archive-plugin 6.184 -thunar-volman 6.185 -tiff 6.186 -tk 6.187 -transmission 6.188 -transset-df 6.189 -ttf-dejavu 6.190 -udev 6.191 -util-linux-ng-blkid 6.192 -util-linux-ng-getopt 6.193 -util-linux-ng-uuid 6.194 -viewnior 6.195 -web-applications 6.196 -wireless_tools 6.197 -wpa_supplicant 6.198 -xcb-util 6.199 -xfce4 6.200 -xfce4-icon-theme 6.201 -xfce4-panel 6.202 -xfce4-session 6.203 -xfce4-settings 6.204 -xfce4-slitaz-config 6.205 -xfce-utils 6.206 -xfconf 6.207 -xfdesktop 6.208 -xfdesktop-extras 6.209 -xfwm4 6.210 -xfwm4-themes 6.211 -terminal 6.212 -xorg 6.213 -xorg-base-fonts 6.214 -xorg-iceauth 6.215 -xorg-libfontenc 6.216 -xorg-libICE 6.217 -xorg-libpciaccess 6.218 -xorg-libSM 6.219 -xorg-libX11 6.220 -xorg-libXau 6.221 -xorg-libXaw 6.222 -xorg-libXcomposite 6.223 -xorg-libXcursor 6.224 -xorg-libXdamage 6.225 -xorg-libXdmcp 6.226 -xorg-libXext 6.227 -xorg-libXfixes 6.228 -xorg-libXfont 6.229 -xorg-libXft 6.230 -xorg-libXi 6.231 -xorg-libXinerama 6.232 -xorg-libxkbfile 6.233 -xorg-libXmu 6.234 -xorg-libXp 6.235 -xorg-libXpm 6.236 -xorg-libXrandr 6.237 -xorg-libXrender 6.238 -xorg-libXss 6.239 -xorg-libXt 6.240 -xorg-libXtst 6.241 -xorg-libXxf86vm 6.242 -xorg-rgb 6.243 -xorg-server 6.244 -xorg-setxkbmap 6.245 -xorg-xauth 6.246 -xorg-xcompmgr 6.247 -xorg-xf86-input-keyboard 6.248 -xorg-xf86-input-mouse 6.249 -xorg-xf86-video-vesa 6.250 -xorg-xkbcomp 6.251 -xorg-xkeyboard-config 6.252 -xterm 6.253 -zlib
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/core/list/a.005.server.list Wed Feb 23 05:03:35 2011 +0000 7.3 @@ -0,0 +1,10 @@ 7.4 +lighttpd 7.5 +lighttpd-modules 7.6 +php-cli 7.7 +mercurial 7.8 +awstats 7.9 +rrdtool 7.10 +slitaz-mercurial-style 7.11 +tazpkg-web 7.12 +coreutils-context-system 7.13 +coreutils-disk 7.14 \ No newline at end of file
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/core/list/a.006.mesa.list Wed Feb 23 05:03:35 2011 +0000 8.3 @@ -0,0 +1,3 @@ 8.4 +mesa 8.5 +mesa-dri 8.6 +mesa-demos
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 9.2 +++ b/core/list/a.007.xorg-xf86-video.list Wed Feb 23 05:03:35 2011 +0000 9.3 @@ -0,0 +1,13 @@ 9.4 +xorg-xf86-video-ati 9.5 +xorg-xf86-video-i740 9.6 +xorg-xf86-video-intel 9.7 +#xorg-xf86-video-mga 9.8 +xorg-xf86-video-neomagic 9.9 +xorg-xf86-video-nv 9.10 +xorg-xf86-video-openchrome 9.11 +xorg-xf86-video-s3 9.12 +xorg-xf86-video-savage 9.13 +xorg-xf86-video-sis 9.14 +xorg-xf86-video-trident 9.15 +xorg-xf86-video-v4l 9.16 +xorg-xf86-video-vmware 9.17 \ No newline at end of file
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 10.2 +++ b/core/list/a.008.libs.list Wed Feb 23 05:03:35 2011 +0000 10.3 @@ -0,0 +1,45 @@ 10.4 +espeak 10.5 +unzip 10.6 +p7zip 10.7 +htop 10.8 +mc 10.9 +httpfs-fuse 10.10 +fuseiso 10.11 +rsync 10.12 +file 10.13 +tar 10.14 +squashfs 10.15 +cdparanoia-III 10.16 +ttf-dejavu 10.17 +ttf-dejavu-extra 10.18 +openssl 10.19 +aspell-en 10.20 +dvd+rw-tools 10.21 +cdrkit 10.22 +# apps-modules 10.23 +gimp 10.24 +gimp-console 10.25 +gimp-plug-ins 10.26 +mplayer 10.27 +mencoder 10.28 +zsnes 10.29 +xbill 10.30 +comix 10.31 +abiword 10.32 +gnumeric 10.33 +gtkpod 10.34 +pidgin 10.35 +xarchiver 10.36 +geany 10.37 +frozen-bubble 10.38 +warzone2100 10.39 +virtualbox-ose 10.40 +xfburn 10.41 +blender 10.42 +pcsxr-svn 10.43 +lmms 10.44 +devede 10.45 +mixxx 10.46 +avidemux 10.47 +audacious 10.48 +audacious-plugins
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 11.2 +++ b/core/list/a.008.libs.removelist Wed Feb 23 05:03:35 2011 +0000 11.3 @@ -0,0 +1,26 @@ 11.4 +# apps-modules 11.5 +gimp 11.6 +gimp-console 11.7 +gimp-plug-ins 11.8 +mplayer 11.9 +mencoder 11.10 +zsnes 11.11 +xbill 11.12 +comix 11.13 +abiword 11.14 +gnumeric 11.15 +gtkpod 11.16 +pidgin 11.17 +xarchiver 11.18 +geany 11.19 +frozen-bubble 11.20 +warzone2100 11.21 +virtualbox-ose 11.22 +xfburn 11.23 +blender 11.24 +pcsxr-svn 11.25 +lmms 11.26 +devede 11.27 +avidemux 11.28 +audacious 11.29 +audacious-plugins 11.30 \ No newline at end of file
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 12.2 +++ b/core/list/a.009.apps.list Wed Feb 23 05:03:35 2011 +0000 12.3 @@ -0,0 +1,25 @@ 12.4 +gimp 12.5 +gimp-console 12.6 +gimp-plug-ins 12.7 +mplayer 12.8 +mencoder 12.9 +zsnes 12.10 +xbill 12.11 +comix 12.12 +abiword 12.13 +gnumeric 12.14 +gtkpod 12.15 +pidgin 12.16 +xarchiver 12.17 +geany 12.18 +virtualbox-ose 12.19 +xfburn 12.20 +blender 12.21 +pcsxr-svn 12.22 +lmms 12.23 +devede 12.24 +avidemux 12.25 +audacious 12.26 +audacious-plugins 12.27 +# other-apps 12.28 +uget
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 13.2 +++ b/core/list/a.010.frozen-bubble.list Wed Feb 23 05:03:35 2011 +0000 13.3 @@ -0,0 +1,1 @@ 13.4 +frozen-bubble
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 14.2 +++ b/core/list/a.011.warzone2100.list Wed Feb 23 05:03:35 2011 +0000 14.3 @@ -0,0 +1,1 @@ 14.4 +warzone2100
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 15.2 +++ b/core/list/a.012.celestia.list Wed Feb 23 05:03:35 2011 +0000 15.3 @@ -0,0 +1,1 @@ 15.4 +celestia 15.5 \ No newline at end of file
16.1 --- a/core/overlay/etc/fstab Tue Feb 22 10:53:22 2011 +0000 16.2 +++ b/core/overlay/etc/fstab Wed Feb 23 05:03:35 2011 +0000 16.3 @@ -4,5 +4,6 @@ 16.4 sysfs /sys sysfs defaults 0 0 16.5 devpts /dev/pts devpts rw,gid=5,mode=620 0 0 16.6 tmpfs /dev/shm tmpfs defaults 0 0 16.7 +tmpfs /tmp tmpfs defaults 0 0 16.8 #/dev/hda3 /home ext3 defaults 0 2 16.9 #/dev/hdb1 /mnt/data ext3 defaults 0 2
17.1 --- a/core/overlay/etc/group Tue Feb 22 10:53:22 2011 +0000 17.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 17.3 @@ -1,17 +0,0 @@ 17.4 -root:x:0: 17.5 -tty:x:5: 17.6 -lp:x:10: 17.7 -audio:x:20: 17.8 -messagebus:x:25: 17.9 -haldaemon:x:26: 17.10 -nogroup:x:99: 17.11 -www:x:80: 17.12 -cdrom:x:30: 17.13 -dialout:x:31: 17.14 -disk:x:32: 17.15 -floppy:x:33: 17.16 -kmem:x:34: 17.17 -tape:x:35: 17.18 -vboxusers:x:37: 17.19 -video:x:38: 17.20 -clamav:x:39:
18.1 --- a/core/overlay/etc/gshadow Tue Feb 22 10:53:22 2011 +0000 18.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 18.3 @@ -1,16 +0,0 @@ 18.4 -root:*:: 18.5 -tty:!:: 18.6 -audio:!:: 18.7 -nogroup:!::vboxusers 18.8 -www:!:: 18.9 -cdrom:!:: 18.10 -dialout:!:: 18.11 -disk:!:: 18.12 -floppy:!:: 18.13 -kmem:!:: 18.14 -tape:!:: 18.15 -vboxusers:!:: 18.16 -video:!:: 18.17 -clamav:!:: 18.18 -messagebus:!:: 18.19 -haldaemon:!::
19.1 --- a/core/overlay/etc/init.d/bootopts.sh Tue Feb 22 10:53:22 2011 +0000 19.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 19.3 @@ -1,224 +0,0 @@ 19.4 -#!/bin/sh 19.5 -# /etc/init.d/bootopts.sh - SliTaz boot options from the cmdline. 19.6 -# 19.7 -# Earlier boot options are in rcS, ex: config= and modprobe= 19.8 -# 19.9 -. /etc/init.d/rc.functions 19.10 - 19.11 -# Update fstab for swapon/swapoff 19.12 -add_swap_in_fstab() 19.13 -{ 19.14 - grep -q "$1 " /etc/fstab || cat >> /etc/fstab <<EOT 19.15 -$1 swap swap default 0 0 19.16 -EOT 19.17 -} 19.18 - 19.19 -# Default user account without password (uid=1000). In live mode the option 19.20 -# user=name can be used, but user must be added before home= to have home dir. 19.21 -# This option is not handled by a loop and case like others and has no 19.22 -# effect on an installed system. 19.23 -if ! grep -q "100[0-9]:100[0-9]" /etc/passwd; then 19.24 - if grep -q "user=" /proc/cmdline; then 19.25 - USER=`cat /proc/cmdline | sed 's/.*user=\([^ ]*\).*/\1/'` 19.26 - # Avoid usage of an existing system user or root. 19.27 - if grep -q ^$USER /etc/passwd; then 19.28 - USER=tux 19.29 - fi 19.30 - else 19.31 - USER=tux 19.32 - fi 19.33 - echo -n "Configuring user and group: $USER..." 19.34 - echo "$USER:x:1000:1000:SliTaz User,,,:/home/$USER:/bin/sh" >> /etc/passwd 19.35 - echo "$USER::14035:0:99999:7:::" >> /etc/shadow 19.36 - echo "$USER:x:1000:" >> /etc/group 19.37 - echo "$USER:!::" >> /etc/gshadow 19.38 - status 19.39 - # Audio and cdrom group. 19.40 - addgroup $USER audio 19.41 - addgroup $USER cdrom 19.42 - addgroup $USER video 19.43 - # /home/$USER files from /etc/skel. 19.44 - if [ -d /etc/skel ]; then 19.45 - cp -a /etc/skel /home/$USER 19.46 - # Path for user desktop files. 19.47 - for i in /home/$USER/.local/share/applications/*.desktop 19.48 - do 19.49 - sed -i s/"user_name"/"$USER"/g $i 19.50 - done 19.51 - else 19.52 - mkdir -p /home/$USER 19.53 - fi 19.54 - # Set permissions. 19.55 - if [ ! $(ls -l | grep "$USER $USER" 2>/dev/null) ]; then 19.56 - chown -R $USER.$USER /home/$USER 19.57 - fi 19.58 - # Slim default user. 19.59 - if [ -f /etc/slim.conf ]; then 19.60 - sed -i s/"default_user .*"/"default_user $USER"/\ 19.61 - /etc/slim.conf 19.62 - fi 19.63 -fi 19.64 - 19.65 -# Parse /proc/cmdline for boot options. 19.66 -echo "Parsing kernel cmdline for SliTaz live options... " 19.67 - 19.68 -for opt in `cat /proc/cmdline` 19.69 -do 19.70 - case $opt in 19.71 - eject) 19.72 - # Eject cdrom. 19.73 - eject /dev/cdrom ;; 19.74 - autologin) 19.75 - # Autologin option to skip first graphic login prompt. 19.76 - echo "auto_login yes" >> /etc/slim.conf ;; 19.77 - lang=*) 19.78 - # Check for a specified locale (lang=*). 19.79 - LANG=${opt#lang=} 19.80 - echo -n "Setting system locale to: $LANG... " 19.81 - echo "LANG=$LANG" > /etc/locale.conf 19.82 - echo "LC_ALL=$LANG" >> /etc/locale.conf 19.83 - [ ! -d /usr/lib/locale/$LANG ] && localedef \ 19.84 - -i $LANG -c -f UTF-8 /usr/lib/locale/$LANG & 19.85 - tazlocale link-files 19.86 - status ;; 19.87 - kmap=*) 19.88 - # Check for a specified keymap (kmap=*). 19.89 - KEYMAP=${opt#kmap=} 19.90 - echo -n "Setting system keymap to: $KEYMAP..." 19.91 - echo "$KEYMAP" > /etc/keymap.conf 19.92 - status ;; 19.93 - home=*) 19.94 - # Check for a specified home partition (home=*) and check for 19.95 - # user home dir. Note: home=usb is a shorter and easier way to 19.96 - # have home=/dev/sda1. 19.97 - DEVICE=${opt#home=} 19.98 - [ "$DEVICE" = "usb" ] && DEVICE=sda1 19.99 - echo "Home has been specified to $DEVICE..." 19.100 - USBDELAY=`cat /sys/module/usb_storage/parameters/delay_use` 19.101 - USBDELAY=$((1+$USBDELAY)) 19.102 - echo "Sleeping $USBDELAY s to let the kernel detect the device... " 19.103 - sleep $USBDELAY 19.104 - USER=`cat /etc/passwd | grep 1000 | cut -d ":" -f 1` 19.105 - DEVID=$DEVICE 19.106 - if [ -x /sbin/blkid ]; then 19.107 - # Can be a label, uuid or devname. DEVID gives us first: /dev/name. 19.108 - DEVID=`/sbin/blkid | grep $DEVICE | cut -d: -f1` 19.109 - DEVID=${DEVID##*/} 19.110 - fi 19.111 - if [ -n "$DEVID" ] && grep -q "$DEVID" /proc/partitions ; then 19.112 - echo "Mounting /home on /dev/$DEVID... " 19.113 - [ -d /home/$USER ] && mv /home/$USER /tmp/$USER-files 19.114 - mount /dev/$DEVID /home -o uid=1000,gid=1000 2>/dev/null \ 19.115 - || mount /dev/$DEVID /home 19.116 - # Check if swap file must be generated in /home: swap=size (Mb). 19.117 - # This option is only used within home=device. 19.118 - if grep -q "swap=[1-9]*" /proc/cmdline; then 19.119 - SWAP_SIZE=`cat /proc/cmdline | sed 's/.*swap=\([^ ]*\).*/\1/'` 19.120 - # DD to gen a virtual disk. 19.121 - echo "Generating swap file: /home/swap ($SWAP_SIZE)..." 19.122 - dd if=/dev/zero of=/home/swap bs=1M count=$SWAP_SIZE 19.123 - # Make the Linux swap filesystem. 19.124 - mkswap /home/swap 19.125 - add_swap_in_fstab /home/swap 19.126 - fi 19.127 - else 19.128 - echo "Unable to find $DEVICE... " 19.129 - fi 19.130 - # Move all user dir if needed. 19.131 - if [ ! -d "/home/$USER" ] ; then 19.132 - mv /tmp/$USER-files /home/$USER 19.133 - chown -R $USER.$USER /home/$USER 19.134 - else 19.135 - rm -rf /tmp/$USER-files 19.136 - fi 19.137 - # Install all packages in /home/boot/packages. In live CD and 19.138 - # USB mode the option home= mounts the device on /home, so we 19.139 - # already have a boot directory with the Kernel and rootfs. 19.140 - if [ -d "/home/boot/packages" ]; then 19.141 - for pkg in /home/boot/packages/*.tazpkg 19.142 - do 19.143 - tazpkg install $pkg 19.144 - done 19.145 - fi ;; 19.146 - laptop) 19.147 - # Laptop option to load related Kernel modules. 19.148 - echo "Loading laptop modules: ac, battery, fan, yenta_socket..." 19.149 - for mod in ac battery fan yenta_socket 19.150 - do 19.151 - modprobe $mod 19.152 - done 19.153 - grep -qs batt /etc/lxpanel/default/panels/panel || 19.154 - sed -i 's/= cpu/= batt\n}\n\nPlugin {\n type = cpu/' \ 19.155 - /etc/lxpanel/default/panels/panel 2> /dev/null 19.156 - # Enable Kernel Laptop mode. 19.157 - echo "5" > /proc/sys/vm/laptop_mode ;; 19.158 - mount) 19.159 - # Mount all ext3 partitions found (opt: mount). 19.160 - # Get the list of partitions. 19.161 - DEVICES_LIST=`fdisk -l | grep 83 | cut -d " " -f 1` 19.162 - # Mount filesystems rw. 19.163 - for device in $DEVICES_LIST 19.164 - do 19.165 - name=${device#/dev/} 19.166 - # Device can be already used by home=usb. 19.167 - if ! mount | grep ^$device >/dev/null; then 19.168 - echo "Mounting partition: $name on /mnt/$name" 19.169 - mkdir /mnt/$name 19.170 - mount $device /mnt/$name 19.171 - fi 19.172 - done ;; 19.173 - mount-packages) 19.174 - # Mount and install packages-XXX.iso (useful without Internet 19.175 - # connection). 19.176 - PKGSIGN="LABEL=\"packages-$(cat /etc/slitaz-release)\" TYPE=\"iso9660\"" 19.177 - PKGDEV=$(blkid | grep "$PKGSIGN" | cut -d: -f1) 19.178 - [ -z "$PKGDEV" -a -L /dev/cdrom ] && \ 19.179 - PKGDEV=$(blkid /dev/cdrom | grep "$PKGSIGN" | cut -d: -f1) 19.180 - if [ -n "$PKGDEV" ]; then 19.181 - echo -n "Mounting packages archive from $PKGDEV..." 19.182 - mkdir /packages && mount -t iso9660 -o ro $PKGDEV /packages 19.183 - status 19.184 - /packages/install.sh 19.185 - fi ;; 19.186 - wm=*) 19.187 - # Check for a Window Manager (for a flavor, default WM can be changed 19.188 - # with boot options or with an addfile in /etc/X11/wm.default. 19.189 - WM=${opt#wm=} 19.190 - mkdir -p /etc/X11 19.191 - case $WM in 19.192 - jwm) 19.193 - echo "jwm" > /etc/X11/wm.default ;; 19.194 - ob|openbox|openbox-session) 19.195 - echo "openbox" > /etc/X11/wm.default ;; 19.196 - e17|enlightenment|enlightenment_start) 19.197 - echo "enlightenment" > /etc/X11/wm.default ;; 19.198 - fluxbox|startfluxbox) 19.199 - echo "fluxbox" > /etc/X11/wm.default ;; 19.200 - awesome) 19.201 - echo "awesome" > /etc/X11/wm.default ;; 19.202 - pekwm) 19.203 - echo "pekwm" > /etc/X11/wm.default ;; 19.204 - xfce|xfce4|xfce4-session) 19.205 - echo "xfce" > /etc/X11/wm.default ;; 19.206 - esac ;; 19.207 - *) 19.208 - continue ;; 19.209 - esac 19.210 -done 19.211 - 19.212 -# If no default WM fallback to Openbox (we never know). 19.213 -if [ ! -f /etc/X11/wm.default ]; then 19.214 - echo "openbox" > /etc/X11/wm.default 19.215 -fi 19.216 - 19.217 -# Activate an eventual swap file or partition. 19.218 -if [ "`fdisk -l | grep swap`" ]; then 19.219 - for SWAP_DEV in `fdisk -l | grep swap | awk '{ print $1 }'`; do 19.220 - echo "Swap memory detected on: $SWAP_DEV" 19.221 - add_swap_in_fstab $SWAP_DEV 19.222 - done 19.223 -fi 19.224 -if grep -q swap /etc/fstab; then 19.225 - echo "Activating swap memory..." 19.226 - swapon -a 19.227 -fi
20.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 20.2 +++ b/core/overlay/etc/init.d/hwconf.sh Wed Feb 23 05:03:35 2011 +0000 20.3 @@ -0,0 +1,130 @@ 20.4 +#!/bin/sh 20.5 +# /etc/init.d/hwconf.sh - SliTaz hardware configuration. 20.6 +# 20.7 +# This script configures the sound card and screen. Tazhw is used earlier 20.8 +# at boot time to autoconfigure PCI and USB devices. 20.9 +# 20.10 +. /etc/init.d/rc.functions 20.11 + 20.12 +# Parse cmdline args for boot options (See also rcS and bootopts.sh). 20.13 +XARG="" 20.14 +for opt in `cat /proc/cmdline` 20.15 +do 20.16 + case $opt in 20.17 + sound=*) 20.18 + DRIVER=${opt#sound=} ;; 20.19 + xarg=*) 20.20 + XARG="$XARG ${opt#xarg=}" ;; 20.21 + screen=text) 20.22 + SCREEN=text 20.23 + # Disable X. 20.24 + echo -n "Disabling X login manager: slim..." 20.25 + . /etc/rcS.conf 20.26 + RUN_DAEMONS=`echo $RUN_DAEMONS | sed s/' slim'/''/` 20.27 + sed -i s/"RUN_DAEMONS.*"/"RUN_DAEMONS=\"$RUN_DAEMONS\"/" /etc/rcS.conf 20.28 + status ;; 20.29 + screen=*) 20.30 + SCREEN=${opt#screen=} ;; 20.31 + *) 20.32 + continue ;; 20.33 + esac 20.34 +done 20.35 + 20.36 +# Sound configuration stuff. First check if sound=no and remove all 20.37 +# sound Kernel modules. 20.38 +if [ -n "$DRIVER" ]; then 20.39 + case "$DRIVER" in 20.40 + no) 20.41 + echo -n "Removing all sound kernel modules..." 20.42 + rm -rf /lib/modules/`uname -r`/kernel/sound 20.43 + status 20.44 + echo -n "Removing all sound packages..." 20.45 + for i in $(grep -l '^DEPENDS=.*alsa-lib' /var/lib/tazpkg/installed/*/receipt) ; do 20.46 + pkg=${i#/var/lib/tazpkg/installed/} 20.47 + echo 'y' | tazpkg remove ${pkg%/*} > /dev/null 20.48 + done 20.49 + for i in alsa-lib mhwaveedit asunder libcddb ; do 20.50 + echo 'y' | tazpkg remove $i > /dev/null 20.51 + done 20.52 + status ;; 20.53 + noconf) 20.54 + echo "Sound configuration was disabled from cmdline..." ;; 20.55 + *) 20.56 + if [ -x /usr/sbin/soundconf ]; then 20.57 + echo "Using sound kernel module $DRIVER..." 20.58 + /usr/sbin/soundconf -M $DRIVER 20.59 + fi ;; 20.60 + esac 20.61 +# Sound card may already be detected by PCI-detect. 20.62 +elif [ -d /proc/asound ]; then 20.63 + # Restore sound config for installed system. 20.64 + if [ -s /etc/asound.state ]; then 20.65 + echo -n "Restoring last alsa configuration..." 20.66 + alsactl restore 20.67 + status 20.68 + else 20.69 + /usr/sbin/setmixer 20.70 + fi 20.71 + # Start soundconf to config driver and load module for Live mode 20.72 + # if not yet detected. 20.73 + /usr/bin/amixer >/dev/null || /usr/sbin/soundconf 20.74 +else 20.75 + echo "Unable to configure sound card." 20.76 +fi 20.77 + 20.78 +# Xorg auto configuration. 20.79 +if [ "$SCREEN" != "text" -a ! -s /etc/X11/xorg.conf -a -x /usr/bin/Xorg ]; then 20.80 + echo "Configuring Xorg..." 20.81 + # $HOME is not yet set. 20.82 + HOME=/root 20.83 + sed -i 's|/usr/bin/Xvesa|/usr/bin/Xorg|' /etc/slim.conf 20.84 + sed -i s/"^xserver_arguments"/'\#xserver_arguments'/ /etc/slim.conf 20.85 + if [ "$SCREEN" != "noxconf" ]; then 20.86 + tazx config-xorg 20.87 + fi 20.88 +fi 20.89 + 20.90 +# Screen size config for slim/Xvesa (last config dialog before login). 20.91 +# 20.92 +# NOTE: Xvesa is unmaintained, package will be removed and all related 20.93 +# code cleaned 20.94 +# 20.95 +if [ "$SCREEN" != "text" -a ! -s /etc/X11/screen.conf -a -x /usr/bin/Xvesa ]; then 20.96 + # $HOME is not yet set. 20.97 + HOME=/root 20.98 + if [ -n "$XARG" ]; then 20.99 + # Add an extra argument to xserver_arguments (xarg=-2button) 20.100 + sed -i "s| -screen|$XARG -screen|" /etc/slim.conf 20.101 + fi 20.102 + if [ -n "$SCREEN" ]; then 20.103 + case "$SCREEN" in 20.104 + text) 20.105 + # Disable X. 20.106 + echo -n "Disabling X login manager: slim..." 20.107 + . /etc/rcS.conf 20.108 + RUN_DAEMONS=`echo $RUN_DAEMONS | sed s/' slim'/''/` 20.109 + sed -i s/"RUN_DAEMONS.*"/"RUN_DAEMONS=\"$RUN_DAEMONS\"/" /etc/rcS.conf 20.110 + status ;; 20.111 + auto) 20.112 + # Auto detect screen resolution. 20.113 + export NEW_SCREEN=`Xvesa -listmodes 2>&1 | grep ^0x | \ 20.114 + awk '{ printf "%s %s\n",$2 }' \ 20.115 + | sort -nr | grep x[1-2][4-6] | head -n 1` 20.116 + tazx `cat /etc/X11/wm.default` ;; 20.117 + 1024x600*|800x480*) 20.118 + set -- $(echo $SCREEN | sed 's/x/ /g') 20.119 + 915resolution -l 2>/dev/null | \ 20.120 + grep " ${1}x" | awk -v h=$1 -v v=$2 \ 20.121 + 'END {system("915resolution " $2 " " h " " v)}' 20.122 + # Use specified screen resolution. 20.123 + export NEW_SCREEN=$SCREEN 20.124 + tazx `cat /etc/X11/wm.default` ;; 20.125 + *) 20.126 + # Use specified screen resolution. 20.127 + export NEW_SCREEN=$SCREEN 20.128 + tazx `cat /etc/X11/wm.default` ;; 20.129 + esac 20.130 + else 20.131 + tazx `cat /etc/X11/wm.default` 20.132 + fi 20.133 +fi
21.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 21.2 +++ b/core/overlay/etc/lighttpd/common.conf Wed Feb 23 05:03:35 2011 +0000 21.3 @@ -0,0 +1,3 @@ 21.4 + 21.5 +var.basedir = "/home/slitaz/www/" 21.6 +var.logdir = "/var/log/lighttpd/" 21.7 \ No newline at end of file
22.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 22.2 +++ b/core/overlay/etc/lighttpd/lighttpd.conf Wed Feb 23 05:03:35 2011 +0000 22.3 @@ -0,0 +1,164 @@ 22.4 +# /etc/lighttpd/lighttpd.conf: SliTaz LightTPD 22.5 +# Web server configuration file. 22.6 +# Configuration du serveur web. 22.7 +# 22.8 +# Documentation : /usr/share/doc/slitaz/handbook/web-server.html 22.9 +# http://trac.lighttpd.net/trac/wiki#Documentation 22.10 +# 22.11 +# 22.12 + 22.13 +# Root documents. 22.14 +# 22.15 +server.document-root = "/var/www/" 22.16 + 22.17 +# Port, default for HTTP traffic is 80. 22.18 +# 22.19 +server.port = 80 22.20 + 22.21 +# Server, user and group name. 22.22 +# 22.23 +server.username = "www" 22.24 +server.groupname = "www" 22.25 + 22.26 +# Server header. 22.27 +# Be nice and keep it at lighttpd and SliTaz GNU/Linux. 22.28 +# 22.29 +server.tag = "lighttpd (SliTaz GNU/Linux)" 22.30 + 22.31 +# Directory listings. 22.32 +# 22.33 +dir-listing.activate = "enable" 22.34 +dir-listing.encoding = "iso8859-1" 22.35 + 22.36 +# File to open by default. 22.37 +# 22.38 +index-file.names = ( "index.html","index.php", "index.cgi", "index.sh" ) 22.39 + 22.40 +# Log messages. 22.41 +# 22.42 +accesslog.filename = "/var/log/lighttpd/access.log" 22.43 +server.errorlog = "/var/log/lighttpd/error.log" 22.44 + 22.45 +# Server pid file 22.46 +server.pid-file = "/var/run/lighttpd.pid" 22.47 + 22.48 +# MIME type. 22.49 +# 22.50 +mimetype.assign = ( 22.51 + ".php" => "text/php", 22.52 + ".html" => "text/html", 22.53 + ".txt" => "text/plain", 22.54 + ".js" => "text/javascript", 22.55 + ".css" => "text/css", 22.56 + ".xml" => "text/xml", 22.57 + ".diff" => "text/plain", 22.58 + ".patch" => "text/plain", 22.59 + ".list" => "text/plain", 22.60 + ".log" => "text/plain", 22.61 + ".conf" => "text/plain", 22.62 + ".pdf" => "application/pdf", 22.63 + ".ps" => "application/postscript", 22.64 + ".jpg" => "image/jpeg", 22.65 + ".jpeg" => "image/jpeg", 22.66 + ".png" => "image/png", 22.67 + ".gif" => "image/gif", 22.68 + ".xbm" => "image/x-xbitmap", 22.69 + ".xpm" => "image/x-xpixmap", 22.70 + ".gz" => "application/x-gzip", 22.71 + ".tar.gz" => "application/x-tgz", 22.72 + ".torrent" => "application/x-bittorrent", 22.73 + ".ogg" => "application/ogg", 22.74 + ".cooklist" => "text/plain", 22.75 + ".tazpkg" => "application/x-tazpkg", 22.76 + "README" => "text/plain", 22.77 + "receipt" => "text/plain", 22.78 +) 22.79 + 22.80 +# Deny access the file-extensions. 22.81 +# 22.82 +url.access-deny = ( "~", ".inc" ) 22.83 + 22.84 +# Modules to load. 22.85 +# See /usr/lib/lighttpd for all available modules. 22.86 +# 22.87 +server.modules = ( 22.88 + "mod_access", 22.89 + "mod_accesslog", 22.90 + "mod_alias", 22.91 + "mod_cgi", 22.92 + "mod_compress", 22.93 + "mod_rewrite", 22.94 + "mod_redirect", 22.95 + "mod_status", 22.96 + "mod_userdir", 22.97 + "mod_fastcgi", 22.98 + "mod_auth" 22.99 +) 22.100 + 22.101 +# User directory module. 22.102 +# 22.103 +userdir.path = "Public" 22.104 +userdir.exclude-user = ("root") 22.105 + 22.106 +# Status module. 22.107 +# 22.108 +status.status-url = "/server-status" 22.109 +status.statistics-url = "/server-counters" 22.110 + 22.111 +# Compress module 22.112 +# 22.113 +#compress.cache-dir = "/var/cache/lighttpd/compress/" 22.114 +#compress.filetype = ("text/plain", "text/html") 22.115 + 22.116 +## CGI module. You can install Perl and assign .pl and .cgi script 22.117 +# to /usr/bin/perl. 22.118 +# 22.119 +$HTTP["url"] =~ "/cgi-bin/" { 22.120 + cgi.assign = ( 22.121 + ".sh" => "/bin/sh", 22.122 + ".cgi" => "/bin/sh" 22.123 + ) 22.124 +} 22.125 + 22.126 +# Fast CGI modules for PHP. 22.127 +fastcgi.map-extensions = ( ".php3" => ".php", ".php4" => ".php", ".php5" => ".php" ) 22.128 +# 22.129 +fastcgi.server = ( ".php" => (( 22.130 + "bin-path" => "/usr/bin/php-cgi", 22.131 + "socket" => "/tmp/php.socket" 22.132 + ))) 22.133 + #))) 22.134 + 22.135 +# Alias urls for localhost (doc, examples and PHP info). 22.136 +# 22.137 +$HTTP["remoteip"] =~ "127.0.0.1" { 22.138 + alias.url += ( 22.139 + "/doc/" => "/usr/share/doc/", 22.140 + "/examples/" => "/usr/share/examples/", 22.141 + "/phpinfo/" => "/usr/share/phpinfo/" 22.142 + ) 22.143 +} 22.144 + 22.145 +## Virtual hosts. 22.146 +# 22.147 +# If you want name-based virtual hosting load mod_simple_vhost. 22.148 +# 22.149 +# You can directly put vhost in this file or use a sepate one for all 22.150 +# virtual hosting. 22.151 +# 22.152 +include "vhosts.conf" 22.153 + 22.154 +# Example.org 22.155 +# 22.156 +#$HTTP["host"] =~ "(^|\.)example\.org$" { 22.157 + #server.document-root = "/var/www/vhost/exemple.com/html" 22.158 + #server.errorlog = "/var/log/lighttpd/example.org-error.log" 22.159 + #accesslog.filename = "/var/log/lighttpd/example.org-access.log" 22.160 +#} 22.161 + 22.162 +# Deny access for all image stealers (anti-hotlinking for images) 22.163 +# 22.164 +#$HTTP["referer"] !~ "^($|http://www\.example\.org)" { 22.165 +# url.access-deny = ( ".jpg", ".jpeg", ".png" ) 22.166 +#} 22.167 +
23.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 23.2 +++ b/core/overlay/etc/lighttpd/vhosts-local.conf Wed Feb 23 05:03:35 2011 +0000 23.3 @@ -0,0 +1,68 @@ 23.4 + 23.5 +include "common.conf" 23.6 + 23.7 +# tank.slitaz.org (Server canonical hostname) 23.8 +# 23.9 +$HTTP["host"] =~ "local\.tank$" { 23.10 + server.name = "tank" 23.11 + server.document-root = basedir + server.name 23.12 + server.errorlog = logdir + "localhost-tank-error.log" 23.13 + accesslog.filename = logdir + "localhost-tank-access.log" 23.14 + include "awstats.conf" 23.15 + index-file.names += ( "index.php" ) 23.16 +} 23.17 + 23.18 +# slitaz.org 23.19 +# 23.20 +$HTTP["host"] =~ "local\.www$" { 23.21 + server.name = "website" 23.22 + server.document-root = basedir + server.name 23.23 + server.errorlog = logdir + "localhost-www-error.log" 23.24 + accesslog.filename = logdir + "localhost-www-access.log" 23.25 + 23.26 + include "awstats.conf" 23.27 + index-file.names += ( "index.php" ) 23.28 + index-file.names += ( "index.html" ) 23.29 + 23.30 + url.rewrite-once = ( 23.31 + "^/about" => "/fr/about", 23.32 + "^/artwork" => "/fr/artwork", 23.33 + "^/devel" => "/fr/devel", 23.34 + "^/doc" => "/fr/doc", 23.35 + "^/get" => "/fr/get", 23.36 + "^/packages" => "/fr/packages" 23.37 + ) 23.38 + 23.39 +} 23.40 + 23.41 +# people.slitaz.org 23.42 +# 23.43 +$HTTP["host"] =~ "local\.people$" { 23.44 + server.name = "people" 23.45 + userdir.path = "Public" 23.46 + userdir.exclude-user = ("root") 23.47 + server.document-root = basedir + server.name 23.48 + server.errorlog = logdir + "people.slitaz.org-error.log" 23.49 + accesslog.filename = logdir + "people.slitaz.org-access.log" 23.50 +} 23.51 + 23.52 +# bb.slitaz.org (Build Bot) 23.53 +# 23.54 +$HTTP["host"] =~ "local\.bb$" { 23.55 + server.name = "bb" 23.56 + server.document-root = basedir + server.name 23.57 + server.errorlog = logdir + "local.bb-error.log" 23.58 + accesslog.filename = logdir + "local.bb-access.log" 23.59 +} 23.60 + 23.61 +# hg.slitaz.org (Mercurial repos) 23.62 +# 23.63 +$HTTP["host"] =~ "local\.hg$" { 23.64 + cgi.assign = ( 23.65 + ".cgi" => "/usr/bin/python" 23.66 + ) 23.67 + server.name = "hg" 23.68 + server.document-root = basedir + "hg" 23.69 + url.rewrite-once = ( "(.*)" => "/hgwebdir.cgi$1" ) 23.70 +} 23.71 +
24.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 24.2 +++ b/core/overlay/etc/lighttpd/vhosts-localnet.conf Wed Feb 23 05:03:35 2011 +0000 24.3 @@ -0,0 +1,159 @@ 24.4 +# /etc/lighttpd/vhosts.conf : Virtual hosts configuration file. 24.5 +# 24.6 + 24.7 +# Nice url's for Drupal 24.8 +# 24.9 +#url.rewrite-final = ( 24.10 +# "^/system/test/(.*)$" => "/index.php?q=system/test/$1", 24.11 +# "^/([^.?]*)\?(.*)$" => "/index.php?q=$1&$2", 24.12 +# "^/([^.?]*)$" => "/index.php?q=$1", 24.13 +# "^/rss.xml" => "/index.php?q=rss.xml" 24.14 +# ) 24.15 + 24.16 +include "common.conf" 24.17 + 24.18 +# tank.slitaz.org (Server canonical hostname) 24.19 +# 24.20 +$HTTP["host"] =~ "tank\.slitaz\.org$" { 24.21 + server.name = "tank" 24.22 + server.document-root = basedir + server.name 24.23 + server.errorlog = logdir + "localhost-tank-error.log" 24.24 + accesslog.filename = logdir + "localhost-tank-access.log" 24.25 + include "awstats.conf" 24.26 + index-file.names += ( "index.php" ) 24.27 +} 24.28 + 24.29 +# slitaz.org 24.30 +# 24.31 +$HTTP["host"] =~ "(^|www\.)slitaz\.org$" { 24.32 + server.name = "website" 24.33 + server.document-root = basedir + server.name 24.34 + server.errorlog = logdir + "slitaz.org-error.log" 24.35 + accesslog.filename = logdir + "slitaz.org-access.log" 24.36 + 24.37 + include "awstats.conf" 24.38 + index-file.names += ( "index.php" ) 24.39 + index-file.names += ( "index.html" ) 24.40 + 24.41 + url.rewrite-once = ( 24.42 + "^/about" => "/fr/about", 24.43 + "^/artwork" => "/fr/artwork", 24.44 + "^/devel" => "/fr/devel", 24.45 + "^/doc" => "/fr/doc", 24.46 + "^/get" => "/fr/get", 24.47 + "^/packages" => "/fr/packages" 24.48 + ) 24.49 + 24.50 +} 24.51 + 24.52 +# pro.slitaz.org 24.53 +# 24.54 +$HTTP["host"] =~ "pro\.slitaz\.org$" { 24.55 + server.name = "pro" 24.56 + server.document-root = basedir + server.name 24.57 + server.errorlog = logdir + "pro.slitaz.org-error.log" 24.58 + accesslog.filename = logdir + "pro.slitaz.org-access.log" 24.59 + url.rewrite-final = ( 24.60 + "^/system/test/(.*)$" => "/index.php?q=system/test/$1", 24.61 + "^/([^.?]*)\?(.*)$" => "/index.php?q=$1&$2", 24.62 + "^/([^.?]*)$" => "/index.php?q=$1", 24.63 + "^/rss.xml" => "/index.php?q=rss.xml" 24.64 + ) 24.65 +} 24.66 + 24.67 +# people.slitaz.org 24.68 +# 24.69 +$HTTP["host"] =~ "people\.slitaz\.org$" { 24.70 + server.name = "people" 24.71 + userdir.path = "Public" 24.72 + userdir.exclude-user = ("root") 24.73 + server.document-root = basedir + server.name 24.74 + server.errorlog = logdir + "people.slitaz.org-error.log" 24.75 + accesslog.filename = logdir + "people.slitaz.org-access.log" 24.76 +} 24.77 + 24.78 +# boot.slitaz.org 24.79 +# 24.80 +$HTTP["host"] =~ "boot\.slitaz\.org$" { 24.81 + server.name = "boot" 24.82 + server.document-root = basedir + server.name 24.83 + server.errorlog = logdir + "boot.slitaz.org-error.log" 24.84 + accesslog.filename = logdir + "boot.slitaz.org-access.log" 24.85 +} 24.86 + 24.87 +# pkgs.slitaz.org 24.88 +# 24.89 +$HTTP["host"] =~ "pkgs\.slitaz\.org$" { 24.90 + server.name = "pkgs" 24.91 + server.document-root = basedir + server.name 24.92 + server.errorlog = logdir + "pkgs.slitaz.org-error.log" 24.93 + accesslog.filename = logdir + "pkgs.slitaz.org-access.log" 24.94 + cgi.assign = ( 24.95 + ".cgi" => "/bin/sh" 24.96 + ) 24.97 +} 24.98 + 24.99 +# bb.slitaz.org (Build Bot) 24.100 +# 24.101 +$HTTP["host"] =~ "bb\.slitaz\.org$" { 24.102 + server.name = "bb" 24.103 + server.document-root = basedir + server.name 24.104 + server.errorlog = logdir + "bb.slitaz.org-error.log" 24.105 + accesslog.filename = logdir + "bb.slitaz.org-access.log" 24.106 +} 24.107 + 24.108 +# hg.slitaz.org (Mercurial repos) 24.109 +# 24.110 +$HTTP["host"] =~ "hg\.slitaz\.org$" { 24.111 + cgi.assign = ( 24.112 + ".cgi" => "/usr/bin/python" 24.113 + ) 24.114 + server.name = "hg" 24.115 + server.document-root = basedir + server.name 24.116 + url.rewrite-once = ( "(.*)" => "/hgwebdir.cgi$1" ) 24.117 +} 24.118 + 24.119 +# repos.slitaz.org (Mercurial repos with auth and write access) 24.120 +# 24.121 +$HTTP["host"] =~ "repos\.slitaz\.org" { 24.122 + cgi.assign = ( 24.123 + ".cgi" => "/usr/bin/python" 24.124 + ) 24.125 + server.name = "hg" 24.126 + server.document-root = basedir + server.name 24.127 + url.rewrite-once = ( "(.*)" => "/hgwebdir.cgi$1" ) 24.128 + auth.backend = "plain" 24.129 + auth.backend.plain.userfile = "/etc/lighttpd/plain.passwd" 24.130 + auth.require = ( "/" => 24.131 + ( 24.132 + "method" => "basic", 24.133 + "realm" => "SliTaz Mercurial repositories protected area", 24.134 + "require" => "valid-user" 24.135 + ) 24.136 + ) 24.137 + 24.138 +} 24.139 + 24.140 +# doc.slitaz.org 24.141 +# 24.142 +$HTTP["host"] =~ "doc\.slitaz\.org" { 24.143 + server.name = "doc" 24.144 + server.document-root = basedir + server.name 24.145 + index-file.names = ("doku.php") 24.146 + var.dokudir = "" 24.147 + # Rewrites for dokuwiki 24.148 + url.rewrite = ( 24.149 + "^" + var.dokudir + "/lib/.*$" => "$0", 24.150 + "^" + var.dokudir + "/_media/(.*)?\?(.*)$" => var.dokudir + "/lib/exe/fetch.php?media=$1&$2", 24.151 + "^" + var.dokudir + "/_media/(.*)$" => var.dokudir + "/lib/exe/fetch.php?media=$1", 24.152 + "^" + var.dokudir + "/_detail/(.*)?\?(.*)$" => var.dokudir + "/lib/exe/detail.php?media=$1&$2", 24.153 + "^" + var.dokudir + "/_detail/(.*)?$" => var.dokudir + "/lib/exe/detail.php?media=$1", 24.154 + "^" + var.dokudir + "/_export/([^/]+)/(.*)\?(.*)$" => var.dokudir + "/doku.php?do=export_$1&id=$2&$3", 24.155 + "^" + var.dokudir + "/_export/([^/]+)/(.*)" => var.dokudir + "/doku.php?do=export_$1&id=$2", 24.156 + "^" + var.dokudir + "/doku.php.*" => "$0", 24.157 + "^" + var.dokudir + "/feed.php.*" => "$0", 24.158 + "^" + var.dokudir + "/(.*)\?(.*)" => var.dokudir + "/doku.php?id=$1&$2", 24.159 + "^" + var.dokudir + "/(.*)" => var.dokudir + "/doku.php?id=$1" 24.160 + ) 24.161 +} 24.162 +
25.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 25.2 +++ b/core/overlay/etc/lighttpd/vhosts-tank.conf Wed Feb 23 05:03:35 2011 +0000 25.3 @@ -0,0 +1,209 @@ 25.4 +# /etc/lighttpd/vhosts.conf : Virtual hosts configuration file. 25.5 +# 25.6 + 25.7 +# Nice url's for Drupal 25.8 +# 25.9 +#url.rewrite-final = ( 25.10 +# "^/system/test/(.*)$" => "/index.php?q=system/test/$1", 25.11 +# "^/([^.?]*)\?(.*)$" => "/index.php?q=$1&$2", 25.12 +# "^/([^.?]*)$" => "/index.php?q=$1", 25.13 +# "^/rss.xml" => "/index.php?q=rss.xml" 25.14 +# ) 25.15 + 25.16 +# tank.slitaz.org (Server canonical hostname) 25.17 +# 25.18 +$HTTP["host"] =~ "tank\.slitaz\.org$" { 25.19 + server.document-root = "/home/slitaz/www/tank" 25.20 + server.errorlog = "/var/log/lighttpd/tank.slitaz.org-error.log" 25.21 + accesslog.filename = "/var/log/lighttpd/tank.slitaz.org-access.log" 25.22 + include "awstats.conf" 25.23 + index-file.names += ( "index.php" ) 25.24 +} 25.25 + 25.26 +# slitaz.org 25.27 +# 25.28 +$HTTP["host"] =~ "(^|www\.)slitaz\.org$" { 25.29 + server.document-root = "/home/slitaz/www/website" 25.30 + server.errorlog = "/var/log/lighttpd/slitaz.org-error.log" 25.31 + accesslog.filename = "/var/log/lighttpd/slitaz.org-access.log" 25.32 + 25.33 + include "awstats.conf" 25.34 + index-file.names += ( "index.php" ) 25.35 + index-file.names += ( "index.html" ) 25.36 + 25.37 + url.rewrite-once = ( 25.38 + "^/about" => "/fr/about", 25.39 + "^/artwork" => "/fr/artwork", 25.40 + "^/devel" => "/fr/devel", 25.41 + "^/doc" => "/fr/doc", 25.42 + "^/get" => "/fr/get", 25.43 + "^/packages" => "/fr/packages" 25.44 + ) 25.45 + 25.46 +} 25.47 + 25.48 +# pro.slitaz.org 25.49 +# 25.50 +$HTTP["host"] =~ "pro\.slitaz\.org$" { 25.51 + server.document-root = "/home/slitaz/www/pro" 25.52 + server.errorlog = "/var/log/lighttpd/pro.slitaz.org-error.log" 25.53 + accesslog.filename = "/var/log/lighttpd/pro.slitaz.org-access.log" 25.54 + url.rewrite-final = ( 25.55 + "^/system/test/(.*)$" => "/index.php?q=system/test/$1", 25.56 + "^/([^.?]*)\?(.*)$" => "/index.php?q=$1&$2", 25.57 + "^/([^.?]*)$" => "/index.php?q=$1", 25.58 + "^/rss.xml" => "/index.php?q=rss.xml" 25.59 + ) 25.60 +} 25.61 + 25.62 +# people.slitaz.org 25.63 +# 25.64 +$HTTP["host"] =~ "people\.slitaz\.org$" { 25.65 + userdir.path = "Public" 25.66 + userdir.exclude-user = ("root") 25.67 + server.document-root = "/home/slitaz/www/people" 25.68 + server.errorlog = "/var/log/lighttpd/people.slitaz.org-error.log" 25.69 + accesslog.filename = "/var/log/lighttpd/people.slitaz.org-access.log" 25.70 +} 25.71 + 25.72 +# boot.slitaz.org 25.73 +# 25.74 +$HTTP["host"] =~ "boot\.slitaz\.org$" { 25.75 + server.document-root = "/home/slitaz/www/boot" 25.76 + server.errorlog = "/var/log/lighttpd/boot.slitaz.org-error.log" 25.77 + accesslog.filename = "/var/log/lighttpd/boot.slitaz.org-access.log" 25.78 +} 25.79 + 25.80 +# pkgs.slitaz.org 25.81 +# 25.82 +$HTTP["host"] =~ "pkgs\.slitaz\.org$" { 25.83 + server.document-root = "/home/slitaz/www/pkgs" 25.84 + server.errorlog = "/var/log/lighttpd/pkgs.slitaz.org-error.log" 25.85 + accesslog.filename = "/var/log/lighttpd/pkgs.slitaz.org-access.log" 25.86 + cgi.assign = ( 25.87 + ".cgi" => "/bin/sh" 25.88 + ) 25.89 +} 25.90 + 25.91 +# bb.slitaz.org (Build Bot) 25.92 +# 25.93 +$HTTP["host"] =~ "bb\.slitaz\.org$" { 25.94 + server.document-root = "/home/slitaz/www/bb" 25.95 + server.errorlog = "/var/log/lighttpd/bb.slitaz.org-error.log" 25.96 + accesslog.filename = "/var/log/lighttpd/bb.slitaz.org-access.log" 25.97 +} 25.98 + 25.99 +# hg.slitaz.org (Mercurial repos) 25.100 +# 25.101 +$HTTP["host"] =~ "hg\.slitaz\.org" { 25.102 + cgi.assign = ( 25.103 + ".cgi" => "/usr/bin/python" 25.104 + ) 25.105 + server.document-root = "/home/slitaz/www/hg" 25.106 + url.rewrite-once = ( "(.*)" => "/hgwebdir.cgi$1" ) 25.107 +} 25.108 + 25.109 +# repos.slitaz.org (Mercurial repos with auth and write access) 25.110 +# 25.111 +$HTTP["host"] =~ "repos\.slitaz\.org" { 25.112 + cgi.assign = ( 25.113 + ".cgi" => "/usr/bin/python" 25.114 + ) 25.115 + server.document-root = "/home/slitaz/www/hg" 25.116 + url.rewrite-once = ( "(.*)" => "/hgwebdir.cgi$1" ) 25.117 + auth.backend = "plain" 25.118 + auth.backend.plain.userfile = "/etc/lighttpd/plain.passwd" 25.119 + auth.require = ( "/" => 25.120 + ( 25.121 + "method" => "basic", 25.122 + "realm" => "SliTaz Mercurial repositories protected area", 25.123 + "require" => "valid-user" 25.124 + ) 25.125 + ) 25.126 + 25.127 +} 25.128 + 25.129 +# doc.slitaz.org 25.130 +# 25.131 +$HTTP["host"] =~ "doc\.slitaz\.org" { 25.132 + server.document-root = "/home/slitaz/www/doc" 25.133 + index-file.names = ("doku.php") 25.134 + var.dokudir = "" 25.135 + # Rewrites for dokuwiki 25.136 + url.rewrite = ( 25.137 + "^" + var.dokudir + "/lib/.*$" => "$0", 25.138 + "^" + var.dokudir + "/_media/(.*)?\?(.*)$" => var.dokudir + "/lib/exe/fetch.php?media=$1&$2", 25.139 + "^" + var.dokudir + "/_media/(.*)$" => var.dokudir + "/lib/exe/fetch.php?media=$1", 25.140 + "^" + var.dokudir + "/_detail/(.*)?\?(.*)$" => var.dokudir + "/lib/exe/detail.php?media=$1&$2", 25.141 + "^" + var.dokudir + "/_detail/(.*)?$" => var.dokudir + "/lib/exe/detail.php?media=$1", 25.142 + "^" + var.dokudir + "/_export/([^/]+)/(.*)\?(.*)$" => var.dokudir + "/doku.php?do=export_$1&id=$2&$3", 25.143 + "^" + var.dokudir + "/_export/([^/]+)/(.*)" => var.dokudir + "/doku.php?do=export_$1&id=$2", 25.144 + "^" + var.dokudir + "/doku.php.*" => "$0", 25.145 + "^" + var.dokudir + "/feed.php.*" => "$0", 25.146 + "^" + var.dokudir + "/(.*)\?(.*)" => var.dokudir + "/doku.php?id=$1&$2", 25.147 + "^" + var.dokudir + "/(.*)" => var.dokudir + "/doku.php?id=$1" 25.148 + ) 25.149 +} 25.150 + 25.151 +# scn.slitaz.org 25.152 +# 25.153 +$HTTP["host"] =~ "scn\.slitaz\.org$" { 25.154 + server.document-root = "/home/slitaz/www/scn" 25.155 + server.errorlog = "/var/log/lighttpd/scn.slitaz.org-error.log" 25.156 + accesslog.filename = "/var/log/lighttpd/scn.slitaz.org-access.log" 25.157 + url.rewrite-final = ( 25.158 + "^/system/test/(.*)$" => "/index.php?q=system/test/$1", 25.159 + "^/([^.?]*)\?(.*)$" => "/index.php?q=$1&$2", 25.160 + "^/([^.?]*)$" => "/index.php?q=$1", 25.161 + "^/rss.xml" => "/index.php?q=rss.xml" 25.162 + ) 25.163 +} 25.164 + 25.165 +# store.slitaz.org 25.166 +# 25.167 +$HTTP["host"] =~ "store\.slitaz\.org$" { 25.168 + server.document-root = "/home/slitaz/www/store" 25.169 + server.errorlog = "/var/log/lighttpd/store.slitaz.org-error.log" 25.170 + accesslog.filename = "/var/log/lighttpd/store.slitaz.org-access.log" 25.171 +} 25.172 + 25.173 +# groups.slitaz.org 25.174 +# 25.175 +$HTTP["host"] =~ "groups\.slitaz\.org$" { 25.176 + server.document-root = "/home/slitaz/www/groups" 25.177 + server.errorlog = "/var/log/lighttpd/groups.slitaz.org-error.log" 25.178 + accesslog.filename = "/var/log/lighttpd/groups.slitaz.org-access.log" 25.179 + url.rewrite-final = ( 25.180 + "^/system/test/(.*)$" => "/index.php?q=system/test/$1", 25.181 + "^/([^.?]*)\?(.*)$" => "/index.php?q=$1&$2", 25.182 + "^/([^.?]*)$" => "/index.php?q=$1", 25.183 + "^/rss.xml" => "/index.php?q=rss.xml" 25.184 + ) 25.185 +} 25.186 + 25.187 +# These hosts are personnal website for me and my family, pankso. 25.188 + 25.189 + 25.190 +# libordux 25.191 +# 25.192 +$HTTP["host"] =~ "(^|\.)libordux\.$" { 25.193 + server.document-root = "/home/pankso/vhosts/libordux" 25.194 + server.errorlog = "/var/log/lighttpd/libordux.error.log" 25.195 + accesslog.filename = "/var/log/lighttpd/libordux.access.log" 25.196 +} 25.197 + 25.198 +# lincolm.ch 25.199 +# 25.200 +$HTTP["host"] =~ "(^|\.)lincolm\.ch$" { 25.201 + server.document-root = "/home/pankso/vhosts/lincolm" 25.202 + server.errorlog = "/var/log/lighttpd/lincolm-error.log" 25.203 + accesslog.filename = "/var/log/lighttpd/lincolm-access.log" 25.204 +} 25.205 + 25.206 +# solufina.ch 25.207 +# 25.208 +$HTTP["host"] =~ "(^|\.)solufina\.ch$" { 25.209 + server.document-root = "/home/pankso/vhosts/solufina" 25.210 + server.errorlog = "/var/log/lighttpd/solufina.log" 25.211 + accesslog.filename = "/var/log/lighttpd/solufina.log" 25.212 +}
26.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 26.2 +++ b/core/overlay/etc/mercurial/hgweb.config Wed Feb 23 05:03:35 2011 +0000 26.3 @@ -0,0 +1,13 @@ 26.4 +# /etc/mercurial/hgweb.config - System-wide mercurial configuration file 26.5 +# 26.6 + 26.7 +[collections] 26.8 +/home/slitaz/repos = /home/slitaz/repos 26.9 + 26.10 +#[paths] 26.11 +#virtual/path = /real/path 26.12 + 26.13 +[web] 26.14 +style = slitaz 26.15 +allow_archive = gz bz2 26.16 +baseurl = /
27.1 --- a/core/overlay/etc/passwd Tue Feb 22 10:53:22 2011 +0000 27.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 27.3 @@ -1,8 +0,0 @@ 27.4 -root:x:0:0:Root Administrator:/root:/bin/sh 27.5 -nobody:x:99:99:Unprivileged User:/dev/null:/bin/false 27.6 -www:x:80:80:Web Server User:/var/www:/bin/false 27.7 -vboxusers:x:100:99:Linux User,,,:/home/vboxusers:/bin/false 27.8 -messagebus:x:25:25:DBUS Daemon User:/dev/null:/bin/false 27.9 -haldaemon:x:26:26:HAL Daemon User:/dev/null:/bin/false 27.10 -clamav:x:39:39:Linux User,,,:/home/clamav:/bin/false 27.11 -privoxy:x:40:40:Linux User,,,:/home/privoxy:/bin/false
28.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 28.2 +++ b/core/overlay/etc/rcS.conf Wed Feb 23 05:03:35 2011 +0000 28.3 @@ -0,0 +1,45 @@ 28.4 +# /etc/rcS.conf - Initial boot script configuration for SliTaz GNU/Linux. 28.5 +# Config file used by /etc/init.d/rcS 28.6 +# 28.7 + 28.8 +# Use udev to populate /dev and handle hotplug events. 28.9 +UDEV="yes" 28.10 + 28.11 +# Clean up the system removing all tmp and pid files. 28.12 +CLEAN_UP_SYSTEM="yes" 28.13 + 28.14 +# Filesystems to check integrity of at boot time. You should check the 28.15 +# rootfs (where SliTaz is installed) and all partitions listed in 28.16 +# /etc/fstab. Example: CHECK_FS="/dev/hda5 /dev/hdb1" 28.17 +CHECK_FS="" 28.18 + 28.19 +# Fast boot into X by setting the system keymap-locale and starting 28.20 +# the Slim login manager earlier at boot time. If fast X is enabled 28.21 +# then dbus, hald and slim can be removed from RUN_DAEMONS. 28.22 +FAST_BOOT_X="no" 28.23 + 28.24 +# Start Kernel log daemons (syslogd and klogd). 28.25 +KERNEL_LOG_DAEMONS="yes" 28.26 +SYSLOGD_ROTATED_SIZE="60" 28.27 + 28.28 +# Kernel modules to automatically load at boot time. You can use 'modprobe -l' 28.29 +# to get a list of all kernel modules available. 28.30 +# 28.31 +# For Intel and some Nvidia sound cards : snd_intel8x0 snd_intel8x0m snd_hda_intel 28.32 +# 28.33 +LOAD_MODULES="" 28.34 + 28.35 +# Initialization scripts to run at boot time. Boot order is important: 28.36 +# bootopts.sh (boot options) must start first, hwconf.sh after network.sh (tazx 28.37 +# needs an active connection to install Xorg), then you are free to choose. 28.38 +# Note that the local.sh script exists to let you quickly add some local startup 28.39 +# commands. 28.40 +RUN_SCRIPTS="bootopts.sh network.sh i18n.sh hwconf.sh local.sh" 28.41 + 28.42 +# Daemons to start at boot time. SliTaz only provides a few daemons: firewall, 28.43 +# Web server (httpd), SSH server (dropbear) and rsyncd, so boot order is 28.44 +# not really important, but dbus/hald should be started before slim. 28.45 +RUN_DAEMONS="dbus hald firewall httpd slim" 28.46 + 28.47 +# Pre login bold message. 28.48 +MESSAGE="Welcome to your box."
29.1 --- a/core/overlay/etc/shadow Tue Feb 22 10:53:22 2011 +0000 29.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 29.3 @@ -1,8 +0,0 @@ 29.4 -root:$1$EbR327ag$7NFmnOi7JQc5/lG0JLiU8/:13525:0:99999:7::: 29.5 -nobody:*:13509:0:99999:7::: 29.6 -www:*:13509:0:99999:7::: 29.7 -vboxusers:!:14966:0:99999:7::: 29.8 -messagebus:!:14013:0:99999:7::: 29.9 -haldaemon:!:14013:0:99999:7::: 29.10 -clamav:!:14945:0:99999:7::: 29.11 -privoxy:!:14945:0:99999:7:::
30.1 --- a/core/overlay/etc/slim.conf Tue Feb 22 10:53:22 2011 +0000 30.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 30.3 @@ -1,80 +0,0 @@ 30.4 -# /etc/slim.conf: Slim login manger configuration file 30.5 -# 30.6 - 30.7 -# Path, X server and arguments (if needed) 30.8 -# Note: -xauth $authfile is automatically appended 30.9 -default_path ./:/bin:/usr/bin:/usr/local/bin 30.10 -default_xserver /usr/bin/Xvesa 30.11 -xserver_arguments -ac -shadow dpms +extension Composite -screen 1024x768x24 30.12 - 30.13 -# Commands for halt, login, etc. 30.14 -halt_cmd /sbin/poweroff 30.15 -reboot_cmd /sbin/reboot 30.16 -console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -l -c "exec /bin/login" 30.17 -#suspend_cmd /usr/sbin/suspend 30.18 - 30.19 -# Full path to the xauth binary 30.20 -xauth_path /usr/bin/xauth 30.21 - 30.22 -# Xauth file for server 30.23 -authfile /var/run/slim.auth 30.24 - 30.25 -# Activate numlock when slim starts. Valid values: on|off 30.26 -# numlock on 30.27 - 30.28 -# Hide the mouse cursor (note: does not work with some WMs). 30.29 -# Valid values: true|false 30.30 -hidecursor true 30.31 - 30.32 -# This command is executed after a succesful login. 30.33 -# you can place the %session and %theme variables 30.34 -# to handle launching of specific commands in .xinitrc 30.35 -# depending of chosen session and slim theme 30.36 -login_cmd exec /bin/sh -l ~/.xinitrc %session 30.37 - 30.38 -# Commands executed when starting and exiting a session. 30.39 -# They can be used for registering a X11 session with 30.40 -# sessreg. You can use the %user variable 30.41 -# 30.42 -# sessionstart_cmd some command 30.43 -# sessionstop_cmd some command 30.44 - 30.45 -# Start in daemon mode. Valid values: yes | no 30.46 -# Note that this can overridden by the command line 30.47 -# option "-d" 30.48 -#daemon yes 30.49 - 30.50 -# Available sessions (first one is the default). 30.51 -# The current chosen session name is replaced in the login_cmd 30.52 -# above, so your login command can handle different sessions. 30.53 -# see the xinitrc.sample file shipped with slim sources 30.54 -sessions openbox,e17,jwm,xfce,fluxbox 30.55 - 30.56 -# Executed when pressing F11 (requires imagemagick) 30.57 -#screenshot_cmd mtpaint -s /root/slim-shot.png 30.58 - 30.59 -# welcome message. Available variables: %host, %domain 30.60 -welcome_msg Welcome to %host 30.61 - 30.62 -# shutdown / reboot messages 30.63 -shutdown_msg The system is going down... 30.64 -reboot_msg The system is rebooting... 30.65 - 30.66 -# default user, leave blank or remove this line 30.67 -# for avoid pre-loading the username. 30.68 -default_user tux 30.69 - 30.70 -# current theme, use comma separated list to specify a set to 30.71 -# randomly choose from 30.72 -current_theme slitaz,base 30.73 - 30.74 -# Lock file 30.75 -lockfile /var/lock/slim.lock 30.76 - 30.77 -# Log file 30.78 -logfile /var/log/slim.log 30.79 - 30.80 -# Let normal users have access to systems commands. If the value is true, 30.81 -# then the root password is requiered to start a system command. 30.82 -# Valid values: true|false 30.83 -# root_password false
31.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 31.2 +++ b/core/overlay/usr/sbin/local-mirror Wed Feb 23 05:03:35 2011 +0000 31.3 @@ -0,0 +1,120 @@ 31.4 +#!/bin/sh 31.5 + 31.6 +REPOS="flavors flavors-stable libtaz slitaz-base-files \ 31.7 + slitaz-boot-scripts slitaz-configs slitaz-doc slitaz-forge \ 31.8 + slitaz-pizza slitaz-tools tank tazchroot tazlito tazpkg tazusb \ 31.9 + tazwok tazwok-experimental website wok wok-stable wok-tiny \ 31.10 + wok-undigest" 31.11 +WWW="tank hg pkgs bb doc website people" 31.12 +BASE_IP="127.0.0" 31.13 +END_IP="1" 31.14 +#ADDRESS="local.www local.tank local.hg local.bb local.people" 31.15 +ADDRESS="www.slitaz.org tank.slitaz.org pkgs.slitaz.org hg.slitaz.org bb.slitaz.org people.slitaz.org" 31.16 +#VHOST_FILE="/etc/lighttpd/vhosts-local.conf" 31.17 +VHOST_FILE="/etc/lighttpd/vhosts-localnet.conf" 31.18 +REPOS_DIR="/home/slitaz/repos" 31.19 +WWW_DIR="/home/slitaz/www" 31.20 + 31.21 +if [ "$1" = "network" ]; then 31.22 + BASE_IP="192.168.1" 31.23 + END_IP="110" 31.24 + ADDRESS="www.slitaz.org tank.slitaz.org hg.slitaz.org bb.slitaz.org people.slitaz.org" 31.25 + VHOST_FILE="/etc/lighttpd/vhosts-localnet.conf" 31.26 +fi 31.27 + 31.28 +[ -d $REPOS_DIR ] || continue 31.29 +[ -d $WWW_DIR ] || mkdir -p $WWW_DIR 31.30 +for b in $WWW; do 31.31 + [ -d $WWW_DIR/$b ] && continue 31.32 + if [ "$b" = "website" ]; then 31.33 + [ -d $REPOS_DIR/$b ] && ln -s $REPOS_DIR/$b $WWW_DIR 31.34 + fi 31.35 + if [ "$b" = "people" ]; then 31.36 + [ -d $REPOS_DIR/slitaz-forge/people ] && ln -sf $REPOS_DIR/slitaz-forge/people $WWW_DIR 31.37 + fi 31.38 + if [ "$b" = "doc" ]; then 31.39 + [ -d $REPOS_DIR/slitaz-forge/doc ] && ln -sf $REPOS_DIR/slitaz-forge/doc $WWW_DIR 31.40 + fi 31.41 + if [ "$b" = "tank" ]; then 31.42 + [ -d $REPOS_DIR/$b/web ] && ln -sf $REPOS_DIR/$b/web $WWW_DIR/$b 31.43 + fi 31.44 + if [ "$b" = "hg" ]; then 31.45 + [ -d $WWW_DIR/hg ] || mkdir -p $WWW_DIR/hg 31.46 + [ -f /usr/share/examples/mercurial/hgwebdir.cgi ] && ln -sf /usr/share/examples/mercurial/hgwebdir.cgi $WWW_DIR/hg 31.47 + fi 31.48 +done 31.49 + 31.50 +for repo in $REPOS; do 31.51 + if [ ! -f $REPOS_DIR/$repo/.hg/hgrc-web ]; then 31.52 + touch $REPOS_DIR/$repo/.hg/hgrc-web 31.53 + echo "[web]" >> $REPOS_DIR/$repo/.hg/hgrc-web 31.54 + echo "style = slitaz" >> $REPOS_DIR/$repo/.hg/hgrc-web 31.55 + echo "push_ssl = false" >> $REPOS_DIR/$repo/.hg/hgrc-web 31.56 + echo "allow_push = *" >> $REPOS_DIR/$repo/.hg/hgrc-web 31.57 + [ ! -f $REPOS_DIR/$repo/.hg/hgrc-pull ] && mv $REPOS_DIR/$repo/.hg/hgrc $REPOS_DIR/$repo/.hg/hgrc-pull 31.58 + [ ! -f $REPOS_DIR/$repo/.hg/hgrc ] && cp -a $REPOS_DIR/$repo/.hg/hgrc-web $REPOS_DIR/$repo/.hg/hgrc 31.59 + fi 31.60 + 31.61 + if [ ! $(grep -l 'name = ' $REPOS_DIR/$repo/.hg/hgrc ) ]; then 31.62 + echo "name = $repo" >> $REPOS_DIR/$repo/.hg/hgrc 31.63 + fi 31.64 + 31.65 + if [ ! $(grep -l 'contact = ' $REPOS_DIR/$repo/.hg/hgrc ) ]; then 31.66 + [ "$repo" = "flavors" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 31.67 + [ "$repo" = "flavors-stable" ] && echo "contact = Pascal Bellard" >> $REPOS_DIR/$repo/.hg/hgrc 31.68 + [ "$repo" = "libtaz" ] && echo "contact = Antoine Bodin" >> $REPOS_DIR/$repo/.hg/hgrc 31.69 + [ "$repo" = "slitaz-base-files" ] && echo "contact = Pascal Bellard" >> $REPOS_DIR/$repo/.hg/hgrc 31.70 + [ "$repo" = "slitaz-boot-scripts" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 31.71 + [ "$repo" = "slitaz-configs" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 31.72 + [ "$repo" = "slitaz-doc" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 31.73 + [ "$repo" = "slitaz-forge" ] && echo "contact = Eric Joseph-Alexandre" >> $REPOS_DIR/$repo/.hg/hgrc 31.74 + [ "$repo" = "slitaz-pizza" ] && echo "contact = Pascal Bellard" >> $REPOS_DIR/$repo/.hg/hgrc 31.75 + [ "$repo" = "slitaz-tools" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 31.76 + [ "$repo" = "tank" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 31.77 + [ "$repo" = "tazchroot" ] && echo "contact = Antoine Bodin" >> $REPOS_DIR/$repo/.hg/hgrc 31.78 + [ "$repo" = "tazlito" ] && echo "contact = Pascal Bellard" >> $REPOS_DIR/$repo/.hg/hgrc 31.79 + [ "$repo" = "tazpkg" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 31.80 + [ "$repo" = "tazusb" ] && echo "contact = Eric Joseph-Alexandre" >> $REPOS_DIR/$repo/.hg/hgrc 31.81 + [ "$repo" = "tazwok" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 31.82 + [ "$repo" = "website" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 31.83 + [ "$repo" = "wok" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 31.84 + [ "$repo" = "wok-stable" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 31.85 + [ "$repo" = "wok-tiny" ] && echo "contact = Pascal Bellard" >> $REPOS_DIR/$repo/.hg/hgrc 31.86 + [ "$repo" = "wok-undigest" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 31.87 + fi 31.88 + 31.89 + if [ ! $(grep -l 'description = ' $REPOS_DIR/$repo/.hg/hgrc) ]; then 31.90 + [ "$repo" = "flavors" ] && echo "description = SliTaz Cooking flavors" >> $REPOS_DIR/$repo/.hg/hgrc 31.91 + [ "$repo" = "flavors-stable" ] && echo "description = SliTaz Stable flavors" >> $REPOS_DIR/$repo/.hg/hgrc 31.92 + [ "$repo" = "libtaz" ] && echo "description = SliTaz shared libraries" >> $REPOS_DIR/$repo/.hg/hgrc 31.93 + [ "$repo" = "slitaz-base-files" ] && echo "description = SliTaz base files" >> $REPOS_DIR/$repo/.hg/hgrc 31.94 + [ "$repo" = "slitaz-boot-scripts" ] && echo "description = SliTaz boot scripts" >> $REPOS_DIR/$repo/.hg/hgrc 31.95 + [ "$repo" = "slitaz-configs" ] && echo "description = SliTaz configuration files" >> $REPOS_DIR/$repo/.hg/hgrc 31.96 + [ "$repo" = "slitaz-doc" ] && echo "description = SliTaz system doc" >> $REPOS_DIR/$repo/.hg/hgrc 31.97 + [ "$repo" = "slitaz-forge" ] && echo "description = SliTaz Forge Config" >> $REPOS_DIR/$repo/.hg/hgrc 31.98 + [ "$repo" = "slitaz-pizza" ] && echo "description = SliTaz Online flavor builder" >> $REPOS_DIR/$repo/.hg/hgrc 31.99 + [ "$repo" = "slitaz-tools" ] && echo "description = SliTaz Tools and Tinyutils" >> $REPOS_DIR/$repo/.hg/hgrc 31.100 + [ "$repo" = "tank" ] && echo "description = SliTaz main server tools/vhost" >> $REPOS_DIR/$repo/.hg/hgrc 31.101 + [ "$repo" = "tazchroot" ] && echo "description = SliTaz chroot manager" >> $REPOS_DIR/$repo/.hg/hgrc 31.102 + [ "$repo" = "tazlito" ] && echo "description = SliTaz Live Tool" >> $REPOS_DIR/$repo/.hg/hgrc 31.103 + [ "$repo" = "tazpkg" ] && echo "description = SliTaz Packages manager" >> $REPOS_DIR/$repo/.hg/hgrc 31.104 + [ "$repo" = "tazusb" ] && echo "description = SliTaz LiveUSB utility" >> $REPOS_DIR/$repo/.hg/hgrc 31.105 + [ "$repo" = "tazwok" ] && echo "description = Slitaz Packages builder" >> $REPOS_DIR/$repo/.hg/hgrc 31.106 + [ "$repo" = "website" ] && echo "description = SliTaz Website" >> $REPOS_DIR/$repo/.hg/hgrc 31.107 + [ "$repo" = "wok" ] && echo "description = SliTaz Cooking wok" >> $REPOS_DIR/$repo/.hg/hgrc 31.108 + [ "$repo" = "wok-stable" ] && echo "description = SliTaz Stable wok" >> $REPOS_DIR/$repo/.hg/hgrc 31.109 + [ "$repo" = "wok-tiny" ] && echo "description = Tiny SliTaz wok" >> $REPOS_DIR/$repo/.hg/hgrc 31.110 + [ "$repo" = "wok-undigest" ] && echo "description = SliTaz Undigest wok" >> $REPOS_DIR/$repo/.hg/hgrc 31.111 + fi 31.112 +done 31.113 + 31.114 +for hostname in $ADDRESS; do 31.115 + END_IP=$(($END_IP+1)) 31.116 + for i in $END_IP; do 31.117 + if [ ! $(grep -l "${BASE_IP}.$i $hostname" /etc/hosts) ]; then 31.118 + echo "${BASE_IP}.$i $hostname" >> /etc/hosts 31.119 + fi 31.120 + done 31.121 +done 31.122 + 31.123 +[ -f $VHOST_FILE ] && ln -sf $VHOST_FILE /etc/lighttpd/vhosts.conf
32.1 --- a/mkiso.sh Tue Feb 22 10:53:22 2011 +0000 32.2 +++ b/mkiso.sh Wed Feb 23 05:03:35 2011 +0000 32.3 @@ -38,7 +38,7 @@ 32.4 BACKUP_PACKAGES="no" 32.5 CLEAN_MODULES_DIR="no" 32.6 CLEAN_INITRAMFS="no" 32.7 -HG_LIST="flavors flavors-stable libtaz slitaz-base-files slitaz-boot-scripts slitaz-configs slitaz-doc slitaz-forge slitaz-pizza slitaz-tools tank tazchroot tazlito tazpkg tazusb tazwok tazwok-experimental website wok wok-stable wok-tiny wok-undigest" 32.8 +HG_LIST="flavors flavors-stable libtaz slitaz-base-files slitaz-boot-scripts slitaz-configs slitaz-doc slitaz-forge slitaz-pizza slitaz-tools tank tazchroot tazlito tazpkg tazusb tazwok website wok wok-stable wok-tiny wok-undigest" 32.9 32.10 error () { echo -e "\033[1;31;40m!!! \033[1;37;40m$@\033[1;0m"; } 32.11 warn () { echo -e "\033[1;33;40m*** \033[1;37;40m$@\033[1;0m"; }