[slbackup-commit] CVS update: slbackup-php/debian changelog config
control postinst rules templates
finnarne-guest at alioth.debian.org
finnarne-guest at alioth.debian.org
Wed Apr 25 08:23:09 UTC 2007
User: finnarne-guest
Date: 07/04/25 08:23:09
Modified: debian changelog control postinst rules
Added: debian config templates
Log:
Updated debian/ with files from 0.1-branch
Revision Changes Path
1.20 +3 -4 slbackup-php/debian/changelog
Index: changelog
===================================================================
RCS file: /cvsroot/slbackup/slbackup-php/debian/changelog,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- changelog 18 Apr 2007 06:50:38 -0000 1.19
+++ changelog 25 Apr 2007 08:23:09 -0000 1.20
@@ -1,7 +1,6 @@
-slbackup-php (0.1-0) experimental; urgency=low
+slbackup-php (0.1-1) unstable; urgency=low
- [ Finn-Arne Johansen ]
- * First version ready for debian
+ * Initial upload (Closes: 419839)
- -- Finn-Arne Johansen <faj at bzz.no> Wed, 18 Apr 2007 08:46:57 +0200
+ -- Patrick Winnertz <patrick.winnertz at skolelinux.org> Wed, 18 Apr 2007 17:25:45 +0200
1.12 +2 -2 slbackup-php/debian/control
Index: control
===================================================================
RCS file: /cvsroot/slbackup/slbackup-php/debian/control,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- control 18 Apr 2007 05:24:51 -0000 1.11
+++ control 25 Apr 2007 08:23:09 -0000 1.12
@@ -1,8 +1,8 @@
Source: slbackup-php
Section: misc
Priority: optional
-Maintainer: Finn-Arne Johansen <faj at bzz.no>
-Uploaders: Morten Werner Olsen <werner at debian.org>
+Maintainer: Patrick Winnertz <patrick.winnertz at skolelinux.org>
+Uploaders: Morten Werner Olsen <werner at debian.org>, Finn-Arne Johansen <faj at bzz.no>
Standards-Version: 3.7.2
Build-Depends: debhelper (>= 5), po-debconf, php5-cli
1.5 +15 -7 slbackup-php/debian/postinst
Index: postinst
===================================================================
RCS file: /cvsroot/slbackup/slbackup-php/debian/postinst,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- postinst 17 Apr 2007 20:40:43 -0000 1.4
+++ postinst 25 Apr 2007 08:23:09 -0000 1.5
@@ -2,13 +2,19 @@
set -e
-if [ -x /usr/sbin/a2enmod ] && [ -L /etc/apache2/mods-enabled/ssl.conf ]; then
- /usr/sbin/a2enmod rewrite > /dev/null
- if [ -x /usr/sbin/invoke-rc.d ] ; then
- /usr/sbin/invoke-rc.d apache2 force-reload || :
- else
- [ -x /etc/init.d/apache2 ] && /etc/init.d/apache2 force-reload || :
- fi
+. /usr/share/debconf/confmodule
+
+db_get slbackup-php/use-ssl || true
+
+if [ "$RET" == "true" ]; then
+ if [ -x /usr/sbin/a2enmod ]; then
+ /usr/sbin/a2enmod rewrite > /dev/null
+ if [ -x /usr/sbin/invoke-rc.d ] ; then
+ /usr/sbin/invoke-rc.d apache2 force-reload || :
+ else
+ [ -x /etc/init.d/apache2 ] && /etc/init.d/apache2 force-reload || :
+ fi
+ fi
fi
mkdir -p /var/spool/slbackup-php
@@ -17,4 +23,6 @@
chown www-data:www-data /var/spool/slbackup-php/
fi
+db_stop
+
#DEBHELPER#
1.6 +2 -2 slbackup-php/debian/rules
Index: rules
===================================================================
RCS file: /cvsroot/slbackup/slbackup-php/debian/rules,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- rules 18 Apr 2007 06:50:38 -0000 1.5
+++ rules 25 Apr 2007 08:23:09 -0000 1.6
@@ -15,7 +15,7 @@
rm -f build-stamp
-$(MAKE) clean
dh_clean
- #debconf-updatepo
+ debconf-updatepo
install: build
dh_testdir
@@ -34,7 +34,7 @@
dh_installchangelogs
dh_installdocs ./ChangeLog
#dh_installdocs
- #mv $(CURDIR)/debian/slbackup-php/usr/share/doc/slbackup-php/ChangeLog $(CURDIR)/debian/slbackup-php/usr/share/doc/slbackup-php/changelog
+ mv $(CURDIR)/debian/slbackup-php/usr/share/doc/slbackup-php/ChangeLog $(CURDIR)/debian/slbackup-php/usr/share/doc/slbackup-php/changelog
dh_installcron
dh_installdebconf
dh_installman
1.2 +9 -0 slbackup-php/debian/config
1.2 +10 -0 slbackup-php/debian/templates
More information about the slbackup-commit
mailing list