ssfs rev 61

Up Makefile and README + tiny changes to ssfs-server
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 12 23:09:24 2011 +0200 (2011-06-12)
parents 8554492c73b1
children 9e10fc3abd71
files Makefile README ssfs-server
line diff
     1.1 --- a/Makefile	Sun Jun 12 22:31:08 2011 +0200
     1.2 +++ b/Makefile	Sun Jun 12 23:09:24 2011 +0200
     1.3 @@ -17,11 +17,13 @@
     1.4  		$(DESTDIR)$(PREFIX)/sbin \
     1.5  		$(DESTDIR)/var/lib/$(PACKAGE) \
     1.6  		$(DESTDIR)$(PREFIX)/share/applications \
     1.7 -		$(DESTDIR)$(PREFIX)/share/pixmaps
     1.8 +		$(DESTDIR)$(PREFIX)/share/pixmaps \
     1.9 +		$(DESTDIR)$(PREFIX)/share/$(PACKAGE)
    1.10  	install -m 0755 $(PACKAGE)-sh $(DESTDIR)/bin
    1.11  	install -m 0755 $(PACKAGE) $(DESTDIR)$(PREFIX)/bin
    1.12  	install -m 0755 $(PACKAGE)-box $(DESTDIR)$(PREFIX)/bin
    1.13  	install -m 0755 $(PACKAGE)-server $(DESTDIR)$(PREFIX)/sbin
    1.14 +	install -m 0755 $(PACKAGE)-env $(DESTDIR)$(PREFIX)/share/$(PACKAGE)
    1.15  	install -m 0644 README $(DESTDIR)$(DOCDIR)/$(PACKAGE)
    1.16  	install -m 0644 data/$(PACKAGE)-server.conf $(DESTDIR)/etc/$(PACKAGE)
    1.17  	install -m 0644 data/$(PACKAGE).png $(DESTDIR)$(PREFIX)/share/pixmaps
     2.1 --- a/README	Sun Jun 12 22:31:08 2011 +0200
     2.2 +++ b/README	Sun Jun 12 23:09:24 2011 +0200
     2.3 @@ -120,7 +120,7 @@
     2.4  ~/Sync folder in user home. You can have both, standard accounts or chrooted
     2.5  accounts, for a hosted service it is recommended to use a chroot and a Ssfs
     2.6  virtual disk. The vdisk can be any size you want and have a minimal chroot
     2.7 -environment that is under 3Mb.
     2.8 +environment that is under 2Mb with all binaries in /bin and libraries in /lib.
     2.9  
    2.10  If you want to create a vdisk and chroot automatically you can use use the tool
    2.11  ssfs-server. Here is a short example to create a chroot and create a user
     3.1 --- a/ssfs-server	Sun Jun 12 22:31:08 2011 +0200
     3.2 +++ b/ssfs-server	Sun Jun 12 23:09:24 2011 +0200
     3.3 @@ -298,8 +298,9 @@
     3.4  		done && status
     3.5  		
     3.6  		# Ssfs chroot SHell and declare vdisk config.
     3.7 -		gettext "Installing Ssfs SHell..."
     3.8 +		gettext "Installing Ssfs SHell and utility..."
     3.9  		install -m 0755 /bin/ssfs-sh $root/bin
    3.10 +		install -m 0755 $share/ssfs-env $root/bin
    3.11  		touch $root/etc/vdisk.conf
    3.12  		status
    3.13