This is the stow-jail project ("stow-jail")
This project was registered on SourceForge.net on Mar 24, 2011, and is described by the project team as follows:
This is an add-on to stow. If the make command did not work with DESTDIR argument:
make DESTDIR=/stow/package_name install
or program use another insteller,"Stow-jail" would close the installer command to the sandbox(unionfs+chroot),
in this way all go to the "/stow/package_name-version" directory.
project summary page
+Database updater commands handling (for example:ldconfig)
(-normal shell enviroment)
-GNU Stow
-aufs kernel module
http://savannah.gnu.org/projects/stow
- Download: http://git.savannah.gnu.org/cgit/stow.git/snapshot/stow-master.tar.gz
- Unpack, cd
$ ./configure
$ make
$ sudo mkdir /stow
$ sudo make DESTDIR=/stow/stow-master install
$ sudo /stow/stow-master/usr/local/bin/stow --verbose --target=/ --dir=/stow stow-master
- Copy this "stow-jail-0.8" directory to /stow
$ sudo /stow/stow-jail-0.8/usr/bin/stow-install stow-jail 0.8
$ sudo stow-install stow master
taxy@msi-desktop:~/compile/amsn/amsn$ ./configure
taxy@msi-desktop:~/compile/amsn/amsn$ make
taxy@msi-desktop:~/compile/amsn/amsn$ sudo stow-create amsn r12306
[sudo] password for taxy:
Mounting jail...
chroot /tmp/jailroot
cd /home/taxy/compile/amsn/amsn
root@msi-desktop:~/compile/amsn/amsn# make install
rm -Rf /usr/share/amsn
mkdir -p /usr/share/amsn
mkdir -p /usr/bin
mkdir -p /usr/share/applications/
mkdir -p /usr/share/pixmaps/
find /usr/share/amsn -name '.svn' -print | xargs rm -Rf
ln -sf /usr/share/amsn/amsn /usr/bin/amsn
ln -sf /usr/share/amsn/amsn-remote /usr/bin/amsn-remote
ln -sf /usr/share/amsn/amsn-remote-CLI /usr/bin/amsn-remote-CLI
cp ./amsn.desktop /usr/share/applications/
ln -sf /usr/share/amsn/desktop-icons/48x48/apps/amsn.png /usr/share/pixmaps/
root@msi-desktop:~/compile/amsn/amsn# exit
exit
Cleanup...
Relativising link /usr/bin/amsn-remote-CLI -> ../share/amsn/amsn-remote-CLI
Relativising link /usr/bin/amsn-remote -> ../share/amsn/amsn-remote
Relativising link /usr/bin/amsn -> ../share/amsn/amsn
Relativising link /usr/share/pixmaps/amsn.png -> ../amsn/desktop-icons/48x48/apps/amsn.png
taxy@msi-desktop:~/compile/amsn/amsn$ sudo stow-install amsn r12306
LINK: usr/bin/amsn-remote-CLI => ../../stow/amsn-r12311/usr/bin/amsn-remote-CLI
LINK: usr/bin/amsn-remote => ../../stow/amsn-r12311/usr/bin/amsn-remote
LINK: usr/bin/amsn => ../../stow/amsn-r12311/usr/bin/amsn
LINK: usr/share/pixmaps/amsn.png => ../../../stow/amsn-r12311/usr/share/pixmaps/amsn.png
LINK: usr/share/applications/amsn.desktop => ../../../stow/amsn-r12311/usr/share/applications/amsn.desktop
LINK: usr/share/amsn => ../../stow/amsn-r12311/usr/share/amsn
taxy@msi-desktop:~/compile/amsn/amsn$ make clean
...
taxy@msi-desktop:~/compile/amsn/amsn$ svn update
U plugins/music/infoamarok2
U plugins/music/plugininfo.xml
U protocol.tcl
U gui.tcl
U utils/windows/NSIS/aMSN.nsi
Updated to revision 12311.
taxy@msi-desktop:~/compile/amsn/amsn$ ./configure
...
taxy@msi-desktop:~/compile/amsn/amsn$ make
...
taxy@msi-desktop:~/compile/amsn/amsn$ sudo stow-upgrade amsn r12311
[sudo] password for taxy:
UNLINK: usr/bin/amsn-remote-CLI
UNLINK: usr/bin/amsn-remote
UNLINK: usr/bin/amsn
UNLINK: usr/share/pixmaps/amsn.png
UNLINK: usr/share/applications/amsn.desktop
UNLINK: usr/share/amsn
Mounting jail...
chroot /tmp/jailroot
cd /home/taxy/compile/amsn/amsn
root@msi-desktop:~/compile/amsn/amsn# make install
rm -Rf /usr/share/amsn
mkdir -p /usr/share/amsn
mkdir -p /usr/bin
mkdir -p /usr/share/applications/
mkdir -p /usr/share/pixmaps/
find /usr/share/amsn -name '.svn' -print | xargs rm -Rf
ln -sf /usr/share/amsn/amsn /usr/bin/amsn
ln -sf /usr/share/amsn/amsn-remote /usr/bin/amsn-remote
ln -sf /usr/share/amsn/amsn-remote-CLI /usr/bin/amsn-remote-CLI
cp ./amsn.desktop /usr/share/applications/
ln -sf /usr/share/amsn/desktop-icons/48x48/apps/amsn.png /usr/share/pixmaps/
root@msi-desktop:~/compile/amsn/amsn# exit
exit
Cleanup...
Relativising link /usr/bin/amsn-remote-CLI -> ../share/amsn/amsn-remote-CLI
Relativising link /usr/bin/amsn-remote -> ../share/amsn/amsn-remote
Relativising link /usr/bin/amsn -> ../share/amsn/amsn
Relativising link /usr/share/pixmaps/amsn.png -> ../amsn/desktop-icons/48x48/apps/amsn.png
LINK: usr/bin/amsn-remote-CLI => ../../stow/amsn-r12311/usr/bin/amsn-remote-CLI
LINK: usr/bin/amsn-remote => ../../stow/amsn-r12311/usr/bin/amsn-remote
LINK: usr/bin/amsn => ../../stow/amsn-r12311/usr/bin/amsn
LINK: usr/share/pixmaps/amsn.png => ../../../stow/amsn-r12311/usr/share/pixmaps/amsn.png
LINK: usr/share/applications/amsn.desktop => ../../../stow/amsn-r12311/usr/share/applications/amsn.desktop
LINK: usr/share/amsn => ../../stow/amsn-r12311/usr/share/amsn
Configuration files: Delete, merge, or save the latest config file.
Database files: If you discover that during the installation a database file is changed,
then the following needs to be done:
1.Uninstall and remove package from the /stow directory.
2.Find out from the installer source code which command caused the change in database.
3.Add this command full path name to the /usr/share/stow-jail/update-commands file.
4.Recreate package with the stow-create command.
SourceForge.net is the world's largest provider of hosting for Open Source software development projects. SourceForge.net provides a variety of services to projects, including a download mirror network, collaborative development tools (like CVS and Subversion), and tools to support discussion and support. These services are provided to projects and their end-users free-of-charge.
Of benefit to users, Open Source software is licensed so you can download and use the software free-of-charge. The source code for this software is made available free-of-charge, you (or a programmer you hire) can make changes to this software to better meet your needs, and you can release your changed code back to the community passing the benefit on to other users.
The exact license terms used by this project on their project summary page and in the licensing documents included in their downloads.
To join this project, please contact the project administrators of this project, as shown on the project summary page.
Source code for this project may be available as downloads or through one of the SCM repositories used by the project, as accessible from the project develop page.
This page is the default project web page supplied by SourceForge.net. If you are a member of this project, you can deploy your own project web pages as per our site documentation.
If you are a web page developer interested in this project, please consider reaching out to the project admin (per the "Join this project" section, above) to offer your assistance.
©Copyright 1999-2009 - Geeknet, Inc., All Rights Reserved