[interchange-cvs] interchange - racke modified 5 files

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Wed Jan 31 05:35:36 EST 2007


User:      racke
Date:      2007-01-31 10:35:35 GMT
Modified:  debian   Tag: STABLE_5_4-branch changelog control
Modified:           interchange.config interchange.postinst
Modified:           interchange.templates
Log:
  * require versions of Perl and DBI which allow to run Interchange
    without (known) crashes with threaded Perl (Closes: #339335, thanks to
    Henrik Holmboe <henrik at holmboe.se>)
  * removed notice about threaded Perl and no longer set MV_GETPPID_BROKEN

Revision  Changes    Path
No                   revision



No                   revision



2.67.2.13 +7 -2      interchange/debian/changelog


rev 2.67.2.13, prev_rev 2.67.2.12
Index: changelog
===================================================================
RCS file: /var/cvs/interchange/debian/changelog,v
retrieving revision 2.67.2.12
retrieving revision 2.67.2.13
diff -u -r2.67.2.12 -r2.67.2.13
--- changelog	25 Dec 2006 18:00:52 -0000	2.67.2.12
+++ changelog	31 Jan 2007 10:35:35 -0000	2.67.2.13
@@ -1,5 +1,10 @@
-interchange (5.4.1-1.1) unstable; urgency=low
+interchange (5.4.2-1) unstable; urgency=low
 
+  * new upstream release
+  * require versions of Perl and DBI which allow to run Interchange
+    without (known) crashes with threaded Perl (Closes: #339335, thanks to
+    Henrik Holmboe <henrik at holmboe.se>)
+  * removed notice about threaded Perl and no longer set MV_GETPPID_BROKEN
   * fixed stupid typo in postinst script of interchange package which
     caused creation of a directory named 775 (Closes: #404391, thanks to
     Filippo Giunchedi <filippo at debian.org> for the report and the
@@ -9,7 +14,7 @@
   * updated Czech translation of Debconf templates (Closes: #391541, thanks
     to Martin Sín <martin.sin at seznam.cz>)
 
- -- Stefan Hornburg (Racke) <racke at linuxia.de>  Tue,  5 Dec 2006 17:43:29 +0100
+ -- Stefan Hornburg (Racke) <racke at linuxia.de>  Wed, 31 Jan 2007 10:53:25 +0100
 
 interchange (5.4.1-1) unstable; urgency=low
 



2.21.2.1  +2 -1      interchange/debian/control


rev 2.21.2.1, prev_rev 2.21
Index: control
===================================================================
RCS file: /var/cvs/interchange/debian/control,v
retrieving revision 2.21
retrieving revision 2.21.2.1
diff -u -r2.21 -r2.21.2.1
--- control	28 Oct 2005 09:48:06 -0000	2.21
+++ control	31 Jan 2007 10:35:35 -0000	2.21.2.1
@@ -27,7 +27,8 @@
 
 Package: interchange
 Architecture: any
-Depends: ${perl:Depends}, debconf | debconf-2.0, libdigest-md5-perl, libhtml-parser-perl, libmime-base64-perl, libsafe-hole-perl (>=0.06), libstorable-perl, liburi-perl, logrotate, libwww-perl, libset-crontab-perl
+Depends: perl (>= 5.8.8), debconf | debconf-2.0, libdigest-md5-perl, libhtml-parser-perl, libmime-base64-perl, libsafe-hole-perl (>=0.06), libstorable-perl, liburi-perl, logrotate, libwww-perl, libset-crontab-perl
+Conflicts: libdbi-perl (<< 1.53)
 Recommends: interchange-ui
 Suggests: apache-ssl | libapache-mod-ssl
 Description: e-commerce and general HTTP database display system



2.10.2.2  +1 -7      interchange/debian/interchange.config


rev 2.10.2.2, prev_rev 2.10.2.1
Index: interchange.config
===================================================================
RCS file: /var/cvs/interchange/debian/interchange.config,v
retrieving revision 2.10.2.1
retrieving revision 2.10.2.2
diff -u -r2.10.2.1 -r2.10.2.2
--- interchange.config	15 May 2006 16:41:12 -0000	2.10.2.1
+++ interchange.config	31 Jan 2007 10:35:35 -0000	2.10.2.2
@@ -1,6 +1,6 @@
 #! /bin/sh -e
 #
-# Copyright 2000,2001,2002,2003,2004,2005 by Stefan Hornburg (Racke) <racke at linuxia.de>
+# Copyright 2000,2001,2002,2003,2004,2005,2007 by Stefan Hornburg (Racke) <racke at linuxia.de>
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -19,12 +19,6 @@
 
 # Source debconf library
 . /usr/share/debconf/confmodule
-
-# Check for thread enabled Perl
-PERLTHREADS=`perl -MConfig -e 'print $Config{usethreads} || $Config{useithreads} || $Config{use5005threads}'`
-if [ "$PERLTHREADS" ]; then
-	db_input critical interchange/threadenabledperl || [ $? -eq 30 ]
-fi
 
 if [ -e /etc/interchange/init.cfg ]; then
 	# Read current state from configuration file



2.21.2.3  +1 -12     interchange/debian/interchange.postinst


rev 2.21.2.3, prev_rev 2.21.2.2
Index: interchange.postinst
===================================================================
RCS file: /var/cvs/interchange/debian/interchange.postinst,v
retrieving revision 2.21.2.2
retrieving revision 2.21.2.3
diff -u -r2.21.2.2 -r2.21.2.3
--- interchange.postinst	25 Dec 2006 18:00:52 -0000	2.21.2.2
+++ interchange.postinst	31 Jan 2007 10:35:35 -0000	2.21.2.3
@@ -20,9 +20,6 @@
 # Source debconf library
 . /usr/share/debconf/confmodule
 
-# Check for thread enabled Perl
-PERLTHREADS=`perl -MConfig -e 'print $Config{usethreads} || $Config{useithreads} || $Config{use5005threads}'`
-
 # Get interchange user and group
 db_get interchange/user
 USER=$RET
@@ -95,8 +92,6 @@
 
 # 2. Settings which influence the global configuration
 # and make senses to be configured by debconf
-# Additionally we place a variable to help Interchange
-# running on installations with threaded Perls.
 
 db_get interchange/full_url
 if [ "$RET" = true ]; then
@@ -115,13 +110,7 @@
 db_get interchange/traffic
 TRAFFIC="$RET"
 
-if [ "$PERLTHREADS" ]; then
-	HASTHREADS=1
-else
-	HASTHREADS=0
-fi
-
-/usr/sbin/interchangeconfig DEBUG=$DEBUG FULL_URL=$FULL_URL SOAP=$SOAP TRAFFIC=$RET MV_GETPPID_BROKEN=$HASTHREADS
+/usr/sbin/interchangeconfig DEBUG=$DEBUG FULL_URL=$FULL_URL SOAP=$SOAP TRAFFIC=$RET
 
 # Make configuration files owned by the interchange user
 chown -R $USER.$GROUP /etc/interchange



2.8.2.1   +0 -10     interchange/debian/interchange.templates


rev 2.8.2.1, prev_rev 2.8
Index: interchange.templates
===================================================================
RCS file: /var/cvs/interchange/debian/interchange.templates,v
retrieving revision 2.8
retrieving revision 2.8.2.1
diff -u -r2.8 -r2.8.2.1
--- interchange.templates	22 Sep 2005 15:19:18 -0000	2.8
+++ interchange.templates	31 Jan 2007 10:35:35 -0000	2.8.2.1
@@ -113,13 +113,3 @@
  /etc/interchange/robots.cfg for the directives RobotUA, RobotIP and
  RobotHost. It is recommended to include these settings so that Interchange can
  distinguish between robots and ordinary users.
-
-Template: interchange/threadenabledperl
-Type: note
-_Description: Important Perl Incompatibility
- The authors of Interchange strongly disencourage the use of their software
- on top of a thread enabled Perl. It is likely to cause serious problems,
- especially in high load situations, and has no benefit at all for
- Interchange servers. The development team asserts that the thread-safeness
- of Perl and the bunch of modules Interchange uses can hardly be relied upon.
- Please use this package only for testing and debugging purposes.








More information about the interchange-cvs mailing list