Index: openacs-dist/changelog-debian22 =================================================================== RCS file: /usr/local/cvsroot/openacs-dist/changelog-debian22,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-dist/changelog-debian22 6 Dec 2006 22:22:41 -0000 1.1 @@ -0,0 +1,5 @@ +debian22 (2.2.0-0) stable; urgeny=low + + * Initial Release. + + -- Dirk Gomez Index: openacs-dist/changelog-openacs52 =================================================================== RCS file: /usr/local/cvsroot/openacs-dist/changelog-openacs52,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-dist/changelog-openacs52 6 Dec 2006 22:22:41 -0000 1.1 @@ -0,0 +1,5 @@ +openacs52 (5.2.0-0) stable; urgeny=low + + * Initial Release. + + -- Dirk Gomez Index: openacs-dist/control-debian22 =================================================================== RCS file: /usr/local/cvsroot/openacs-dist/control-debian22,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-dist/control-debian22 6 Dec 2006 22:22:41 -0000 1.1 @@ -0,0 +1,8 @@ +Package: dotlrn +Version: 2.2.0-0 +Section: web +Priority: optional +Architecture: i386 +Depends: aolserver4, aolserver4-nscache, aolserver4-nspostgres, aolserver4-nssha1, tdom, postgresql, adduser +Maintainer: Dirk Gomez +Description: .LRN 2.2.0 Index: openacs-dist/control-openacs52 =================================================================== RCS file: /usr/local/cvsroot/openacs-dist/control-openacs52,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-dist/control-openacs52 6 Dec 2006 22:22:41 -0000 1.1 @@ -0,0 +1,8 @@ +Package: openacs +Version: 5.2.3-0 +Section: web +Priority: optional +Architecture: i386 +Depends: aolserver4, aolserver4-nscache, aolserver4-nspostgres, aolserver4-nssha1, tdom, postgresql, adduser +Maintainer: Dirk Gomez +Description: OpenACS 5.2 Index: openacs-dist/create-package.sh =================================================================== RCS file: /usr/local/cvsroot/openacs-dist/create-package.sh,v diff -u -r1.7 -r1.8 --- openacs-dist/create-package.sh 20 Oct 2006 22:21:58 -0000 1.7 +++ openacs-dist/create-package.sh 6 Dec 2006 22:22:41 -0000 1.8 @@ -3,15 +3,42 @@ # Written by Dirk Gomez (openacs@dirkgomez.de) on 11-Sep-2006 # License: GPL -if [ ! -d debian/debian/var/www/www ]; then - echo "You need to put a .LRN or OpenACS checkout into debian/debian/var/www/. " - exit 1 +if [ $# != 1 ]; then + echo "invoke with these command-line arguments" + echo "1 - for openacs-5-2-3" + echo "2 - for dotlrn-2-2-0" fi -echo "Removing CVS directories" +if [ $1 eq "1" ]; then + CVSTAG="openacs-5-2-3" + PACKAGENAME=openacs52.deb +fi + +if [ $1 eq "2" ]; then + CVSTAG="openacs-5-2-3" + PACKAGENAME=dotlrn22.deb +fi + +pushd debian/debian/var/www/ +rm -rf * +cvs -d:pserver:anonymous@cvs.openacs.org:/cvsroot -r $CVSTAG co openacs-4/ +mv openacs-4/* . +escho "Removing CVS directories" find . -name "CVS" -exec rm -rf {} \; +popd echo "Setting the permissions on the package shell scripts" + +if [ $1 eq "1" ]; then + cp control-openacs52 debian/debian/DEBIAN/control + cp changelog-openacs52 debian/debian/DEBIAN/changelog +fi + +if [ $1 eq "2" ]; then + cp control-dotlrn22 debian/debian/DEBIAN/control + cp changelog-dotlrn22 debian/debian/DEBIAN/changelog +fi + chmod 755 debian/debian/DEBIAN/control debian/debian/DEBIAN/postinst debian/debian/DEBIAN/prerm chown -R root:root debian/debian/DEBIAN/control debian/debian/DEBIAN/postinst debian/debian/DEBIAN/prerm @@ -22,5 +49,5 @@ echo "Building the debian package" pushd debian dpkg-deb --build debian -mv debian.deb ../dotlrn-2.2.0-0.deb +mv debian.deb ../openacs52.deb popd Fisheye: Tag 1.3 refers to a dead (removed) revision in file `openacs-dist/debian/debian/DEBIAN/control'. Fisheye: No comparison available. Pass `N' to diff?