[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gforge-commits] gforge/debian sourceforge.preinst.dsfh-in, 1.1.2.1, 1.
From: |
lo-lan-do |
Subject: |
[Gforge-commits] gforge/debian sourceforge.preinst.dsfh-in, 1.1.2.1, 1.1.2.2 sourceforge.postinst, NONE, 1.35.2.1 control, 1.49.2.9, 1.49.2.10 changelog, 1.348.2.52, 1.348.2.53 |
Date: |
Thu, 05 Aug 2004 15:40:21 -0500 |
Update of /cvsroot/gforge/gforge/debian
In directory db.perdue.net:/tmp/cvs-serv20207/debian
Modified Files:
Tag: Branch_3_1
sourceforge.preinst.dsfh-in control changelog
Added Files:
Tag: Branch_3_1
sourceforge.postinst
Log Message:
Fallback to doing debconf-related stuff in sourceforge.postinst
instead of sourceforge.preinst if needed. I refuse to add a
Pre-Depends to an empty package (closes: #263784).
Index: sourceforge.preinst.dsfh-in
===================================================================
RCS file: /cvsroot/gforge/gforge/debian/sourceforge.preinst.dsfh-in,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- sourceforge.preinst.dsfh-in 2 Mar 2004 22:12:51 -0000 1.1.2.1
+++ sourceforge.preinst.dsfh-in 5 Aug 2004 20:40:17 -0000 1.1.2.2
@@ -14,8 +14,11 @@
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
-
-. /usr/share/debconf/confmodule
+if [ -e /usr/share/debconf/confmodule ] ; then
+ . /usr/share/debconf/confmodule
+else
+ exit 0
+fi
case "$1" in
install|upgrade)
--- NEW FILE: sourceforge.postinst ---
#! /bin/sh
# postinst script for sourceforge
#
# see: dh_installdeb(1)
set -e
# set -x # Be verbose, be very verbose.
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see /usr/share/doc/packaging-manual/
#
# quoting from the policy:
# Any necessary prompting should almost always be confined to the
# post-installation script, and should be protected with a conditional
# so that unnecessary prompting doesn't happen if a package's
# installation fails and the `postinst' is called with `abort-upgrade',
# `abort-remove' or `abort-deconfigure'.
. /usr/share/debconf/confmodule
case "$1" in
configure)
db_input medium gforge/sourceforge_empty_package
db_stop
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 0
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
Index: control
===================================================================
RCS file: /cvsroot/gforge/gforge/debian/control,v
retrieving revision 1.49.2.9
retrieving revision 1.49.2.10
diff -u -d -r1.49.2.9 -r1.49.2.10
--- control 1 Apr 2004 10:03:55 -0000 1.49.2.9
+++ control 5 Aug 2004 20:40:18 -0000 1.49.2.10
@@ -215,9 +215,10 @@
Architecture: all
Depends: gforge-sourceforge-transition
Description: Empty package to help with Sourceforge to Gforge transition
- Sourceforge has been renamed Gforge, and is no longer maintained.
- This package is only here to help you upgrade to Gforge. Once you
- have installed this package and the one it depends on
+ Sourceforge has been renamed Gforge, and the software known as
+ Sourceforge is no longer maintained as free software. This package
+ is only here to help you upgrade to Gforge. Once you have installed
+ this package and the one it depends on
(gforge-sourceforge-transition), your data have been saved, and you
can safely uninstall the "sourceforge" package and proceed to install
Gforge. Your data will be migrated.
Index: changelog
===================================================================
RCS file: /cvsroot/gforge/gforge/debian/changelog,v
retrieving revision 1.348.2.52
retrieving revision 1.348.2.53
diff -u -d -r1.348.2.52 -r1.348.2.53
--- changelog 4 Aug 2004 19:13:39 -0000 1.348.2.52
+++ changelog 5 Aug 2004 20:40:18 -0000 1.348.2.53
@@ -1,3 +1,12 @@
+gforge (3.1-19+1) unstable; urgency=low
+
+ * [Roland] The "I can only assume you're being facetious" release.
+ * [Roland] Fallback to doing debconf-related stuff in
+ sourceforge.postinst instead of sourceforge.preinst if needed. I
+ refuse to add a Pre-Depends to an empty package (closes: #263784).
+
+ -- Roland Mas <address@hidden> Thu, 5 Aug 2004 22:29:25 +0200
+
gforge (3.1-19) unstable; urgency=medium
* [Roland] Evidently *sigh* I now have to protect users against
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gforge-commits] gforge/debian sourceforge.preinst.dsfh-in, 1.1.2.1, 1.1.2.2 sourceforge.postinst, NONE, 1.35.2.1 control, 1.49.2.9, 1.49.2.10 changelog, 1.348.2.52, 1.348.2.53,
lo-lan-do <=
- Prev by Date:
[Gforge-commits] gforge/www tarballs.php,1.1,1.1.2.1
- Next by Date:
[Gforge-commits] gforge/debian control, 1.49.2.10, 1.49.2.11 changelog, 1.348.2.53, 1.348.2.54
- Previous by thread:
[Gforge-commits] gforge/www tarballs.php,1.1,1.1.2.1
- Next by thread:
[Gforge-commits] gforge/debian control, 1.49.2.10, 1.49.2.11 changelog, 1.348.2.53, 1.348.2.54
- Index(es):