Permalink
Browse files

Interchange variable MV_GETPPID_BROKEN has been added to

/etc/interchange/features.cfg to starting Interchange properly on
systems with threaded Perl (Closes: #221939)
  • Loading branch information...
1 parent 45e1d6e commit 75968a5a6ee4528cf655c2d3bd7932b551cc52c2 @racke racke committed Dec 6, 2003
Showing with 23 additions and 6 deletions.
  1. +7 −0 WHATSNEW
  2. +5 −2 debian/changelog
  3. +10 −3 debian/interchange.postinst
  4. +1 −1 debian/interchangeconfig
View
@@ -108,6 +108,13 @@ i18n
* Add and improve foundation and UI translations.
+Debian
+------
+
+* Add Interchange variable MV_GETPPID_BROKEN to
+ /etc/interchange/features.cfg in order to start Interchange
+ properly on systems with threaded Perl (Closes: #221939)
+
------------------------------------------------------------------------------
View
@@ -1,8 +1,11 @@
interchange (5.0.0-1) unstable; urgency=low
* new upstream release
-
- -- Stefan Hornburg (Racke) <racke@linuxia.de> Thu, 4 Dec 2003 18:18:46 +0100
+ * Interchange variable MV_GETPPID_BROKEN has been added to
+ /etc/interchange/features.cfg in order to start Interchange properly
+ on systems with threaded Perl (Closes: #221939)
+
+ -- Stefan Hornburg (Racke) <racke@linuxia.de> Sat, 6 Dec 2003 00:57:21 +0100
interchange (4.9.9-1) unstable; urgency=low
@@ -90,10 +90,10 @@ echo DOCROOT=$RET >> $INITCFG
db_get interchange/gpghome
echo GPGHOME=$RET >> $INITCFG
-echo PERLTHREADS="$PERLTHREADS" >> $INITCFG
-
# 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/debug
if [ "$RET" = true ]; then
@@ -109,7 +109,14 @@ else
fi
db_get interchange/traffic
TRAFFIC="$RET"
-/usr/sbin/interchangeconfig DEBUG=$DEBUG FULL_URL=$FULL_URL TRAFFIC=$RET
+
+if [ "$PERLTHREADS" ]; then
+ HASTHREADS=1
+else
+ HASTHREADS=0
+fi
+
+/usr/sbin/interchangeconfig DEBUG=$DEBUG FULL_URL=$FULL_URL TRAFFIC=$RET MV_GETPPID_BROKEN=$HASTHREADS
# Make configuration files owned by the interchange user
chown -R $USER.$GROUP /etc/interchange
View
@@ -32,7 +32,7 @@ my $settingsconf = '/etc/interchange/settings.cfg';
my %setvars = (DEBUG => 0, FULL_URL => 0, ROBOTS => 1, SOAP => 0,
TRAFFIC => 'low', UI_LOCALE => 'en_US');
my %requires = (SOAP => ['SOAP::Lite']);
-my %featvars = (UI => '', USE_FOUNDATION => '');
+my %featvars = (UI => '', USE_FOUNDATION => '', MV_GETPPID_BROKEN => 0);
my %skipvars;
# other variables

0 comments on commit 75968a5

Please sign in to comment.