slitaz-modular rev 118
Update local-mirror script to support ssfs for local hg.slitaz.org.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jun 12 21:46:42 2011 +0000 (2011-06-12) |
parents | b8442301c073 |
children | 37db3f3750ae |
files | initramfs/etc/lighttpd/vhosts-local-tank.conf initramfs/etc/lighttpd/vhosts-tank.conf initramfs/etc/local-mirror.conf initramfs/linuxrc initramfs/usr/bin/local-mirror |
line diff
1.1 --- a/initramfs/etc/lighttpd/vhosts-local-tank.conf Sun Jun 12 21:40:51 2011 +0000 1.2 +++ b/initramfs/etc/lighttpd/vhosts-local-tank.conf Sun Jun 12 21:46:42 2011 +0000 1.3 @@ -93,14 +93,14 @@ 1.4 accesslog.filename = "/var/log/lighttpd/bb.slitaz.org-access.log" 1.5 } 1.6 1.7 +# cook.slitaz.org 1.8 +# 1.9 $HTTP["host"] =~ "cook\.slitaz\.org$" { 1.10 - server.document-root = "/home/slitaz/www/cook" 1.11 - server.errorlog = "/var/log/lighttpd/cook.slitaz.org-error.log" 1.12 - accesslog.filename = "/var/log/lighttpd/cook.slitaz.org-access.log" 1.13 cgi.assign = ( 1.14 ".cgi" => "/bin/sh" 1.15 ) 1.16 index-file.names = ( "cooker.cgi" ) 1.17 + server.document-root = "/home/slitaz/www/cook" 1.18 } 1.19 1.20 # hg.slitaz.org (Mercurial repos)
2.1 --- a/initramfs/etc/lighttpd/vhosts-tank.conf Sun Jun 12 21:40:51 2011 +0000 2.2 +++ b/initramfs/etc/lighttpd/vhosts-tank.conf Sun Jun 12 21:46:42 2011 +0000 2.3 @@ -101,6 +101,16 @@ 2.4 ) 2.5 server.document-root = "/home/slitaz/www/hg" 2.6 url.rewrite-once = ( "(.*)" => "/hgwebdir.cgi$1" ) 2.7 + auth.backend = "plain" 2.8 + auth.backend.plain.userfile = "/etc/lighttpd/plain.passwd" 2.9 + $HTTP["querystring"] =~ "cmd=unmundle" { 2.10 + auth.require = ( "/" => ( 2.11 + "method" => "basic", 2.12 + "realm" => "SliTaz Mercurial repositories protected area", 2.13 + "require" => "valid-user" 2.14 + ) 2.15 + ) 2.16 + } 2.17 } 2.18 2.19 # repos.slitaz.org (Mercurial repos with auth and write access)
3.1 --- a/initramfs/etc/local-mirror.conf Sun Jun 12 21:40:51 2011 +0000 3.2 +++ b/initramfs/etc/local-mirror.conf Sun Jun 12 21:46:42 2011 +0000 3.3 @@ -1,7 +1,7 @@ 3.4 REPOS="cookutils flavors flavors-stable slitaz-base-files \ 3.5 slitaz-boot-scripts slitaz-dev-tools slitaz-configs slitaz-doc \ 3.6 slitaz-doc-wiki-data slitaz-forge slitaz-modular slitaz-pizza \ 3.7 - slitaz-tools slitaz-vz tazlito tazpanel tazpkg tazusb \ 3.8 + slitaz-tools slitaz-vz ssfs tazlito tazpanel tazpkg tazusb \ 3.9 tazwok slitaz-dev-tools website wok wok-stable wok-tiny \ 3.10 wok-undigest wok-tank my-cookutils" 3.11 WWW="website people doc pizza cook pkgs mirror boot tank hg lfs"
4.1 --- a/initramfs/linuxrc Sun Jun 12 21:40:51 2011 +0000 4.2 +++ b/initramfs/linuxrc Sun Jun 12 21:46:42 2011 +0000 4.3 @@ -284,7 +284,6 @@ 4.4 if [ -d $MIRRORCMD ]; then 4.5 mkdir -p $MEMORY/$MIRROR 4.6 mount_device $MIRRORCMD $MEMORY/$MIRROR #rbind 4.7 - #mount -n -o bind $MIRRORCMD $FINDISOMNT/$MIRROR 4.8 fi 4.9 fi 4.10
5.1 --- a/initramfs/usr/bin/local-mirror Sun Jun 12 21:40:51 2011 +0000 5.2 +++ b/initramfs/usr/bin/local-mirror Sun Jun 12 21:46:42 2011 +0000 5.3 @@ -301,6 +301,7 @@ 5.4 [ "$repo" = "slitaz-pizza" ] && echo "contact = Pascal Bellard" >> $REPOS_DIR/$repo/.hg/hgrc 5.5 [ "$repo" = "slitaz-tools" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 5.6 [ "$repo" = "slitaz-vz" ] && echo "contact = Eric Joseph-Alexandre" >> $REPOS_DIR/$repo/.hg/hgrc 5.7 + [ "$repo" = "ssfs" ] && echo "contact Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 5.8 [ "$repo" = "tazlito" ] && echo "contact = Pascal Bellard" >> $REPOS_DIR/$repo/.hg/hgrc 5.9 [ "$repo" = "tazpanel" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 5.10 [ "$repo" = "tazpkg" ] && echo "contact = Christophe Lincoln" >> $REPOS_DIR/$repo/.hg/hgrc 5.11 @@ -330,6 +331,7 @@ 5.12 [ "$repo" = "slitaz-pizza" ] && echo "description = SliTaz Online flavor builder" >> $REPOS_DIR/$repo/.hg/hgrc 5.13 [ "$repo" = "slitaz-tools" ] && echo "description = SliTaz Tools and Tinyutils" >> $REPOS_DIR/$repo/.hg/hgrc 5.14 [ "$repo" = "slitaz-vz" ] && echo "description = SliTaz OpenVZ integration" >> $REPOS_DIR/$repo/.hg/hgrc 5.15 + [ "$repo" = "ssfs" ] && echo "description = SliTaz Secure File Storage" >> $REPOS_DIR/$repo/.hg/hgrc 5.16 [ "$repo" = "tazlito" ] && echo "description = SliTaz Live Tool" >> $REPOS_DIR/$repo/.hg/hgrc 5.17 [ "$repo" = "tazpanel" ] && echo "description = Slitaz Administration Panel" >> $REPOS_DIR/$repo/.hg/hgrc 5.18 [ "$repo" = "tazpkg" ] && echo "description = SliTaz Packages manager" >> $REPOS_DIR/$repo/.hg/hgrc