Geändert:

* Packager neu erstellt.
  XAMPP Paket noch nicht drin. ERRORS! :(


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@175 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2006-06-13 21:05:40 +00:00
parent 1217aa018d
commit a8b159e729
30 changed files with 304 additions and 352 deletions

View File

@@ -1,28 +0,0 @@
#!/bin/bash
########################################################
## ##
## Make packages ##
## ##
## (c) www.ipfire.org - GPL v2 ##
## ##
########################################################
echo "`date -u '+%b %e %T'`: Packing $1" | tee -a $LOGFILE
cd / && mkdir -p /paks/$1/ROOT
## Copy install.sh/uninstall.sh to pak-dir and make executeable
#
cp -f /usr/src/src/paks/$1/{,un}install.sh /paks/$1
chmod 755 /paks/$1/{,un}install.sh
# This tar+untar+tar is for removing files compressed twice
tar -c -C / --files-from=/usr/src/src/paks/$1/ROOTFILES -f /paks/$1/filestmp.tar --exclude=#*
tar -x -C /paks/$1/ROOT -f /paks/$1/filestmp.tar
rm -f /paks/$1/filestmp.tar
cd /paks/$1/ROOT && tar zcf /paks/$1/files.tgz *
cd /paks/$1 && tar cvfz ../$2.tar.gz files.tgz install.sh uninstall.sh
cd .. && md5sum $2.tar.gz > $2.tar.gz.md5
rm -fr /paks/$1
exit 0