[interchange-cvs] interchange - racke modified 6 files

interchange-core@icdevgroup.org interchange-core@icdevgroup.org
Sun Dec 29 19:45:01 2002


User:      racke
Date:      2002-12-30 00:44:39 GMT
Modified:  .        WHATSNEW
Modified:  debian   changelog interchange.config interchange.init
Modified:           interchange.postinst interchange.templates
Log:
Debian packages support the selection of the GnuPG home directory
during installation now.

Revision  Changes    Path
2.75      +5 -0      interchange/WHATSNEW


rev 2.75, prev_rev 2.74
Index: WHATSNEW
===================================================================
RCS file: /var/cvs/interchange/WHATSNEW,v
retrieving revision 2.74
retrieving revision 2.75
diff -u -r2.74 -r2.75
--- WHATSNEW	30 Dec 2002 00:22:01 -0000	2.74
+++ WHATSNEW	30 Dec 2002 00:44:38 -0000	2.75
@@ -97,6 +97,11 @@
 
 * Payment routes use now generic MV_PAYMENT_* variables.
 
+Installation
+------------
+
+* Debian packages support the selection of the GnuPG home directory 
+  during installation now.
 
 ------------------------------------------------------------------------------
 



2.23      +3 -2      interchange/debian/changelog


rev 2.23, prev_rev 2.22
Index: changelog
===================================================================
RCS file: /var/cvs/interchange/debian/changelog,v
retrieving revision 2.22
retrieving revision 2.23
diff -u -r2.22 -r2.23
--- changelog	13 Dec 2002 21:20:02 -0000	2.22
+++ changelog	30 Dec 2002 00:44:38 -0000	2.23
@@ -1,8 +1,9 @@
 interchange (4.9.6-1) unstable; urgency=low
 
   * new upstream release
-
- -- Stefan Hornburg (Racke) <racke@linuxia.de>  Fri, 13 Dec 2002 22:13:07 +0100
+  * new debconf option for GnuPG home directory
+  
+ -- Stefan Hornburg (Racke) <racke@linuxia.de>  Mon, 30 Dec 2002 01:39:19 +0100
 
 interchange (4.8.6.20021206-1) unstable; urgency=high
 



2.2       +5 -1      interchange/debian/interchange.config


rev 2.2, prev_rev 2.1
Index: interchange.config
===================================================================
RCS file: /var/cvs/interchange/debian/interchange.config,v
retrieving revision 2.1
retrieving revision 2.2
diff -u -r2.1 -r2.2
--- interchange.config	24 Jul 2001 13:05:43 -0000	2.1
+++ interchange.config	30 Dec 2002 00:44:39 -0000	2.2
@@ -1,6 +1,6 @@
 #! /bin/sh -e
 #
-# Copyright 2000,2001 by Stefan Hornburg (Racke) <racke@linuxia.de>
+# Copyright 2000,2001,2002 by Stefan Hornburg (Racke) <racke@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
@@ -136,6 +136,10 @@
 fi
 
 db_input low interchange/debug || true
+db_go
+
+# GNUPG Home
+db_input low interchange/gpghome || true
 db_go
 
 # Catalog configuration



2.4       +4 -0      interchange/debian/interchange.init


rev 2.4, prev_rev 2.3
Index: interchange.init
===================================================================
RCS file: /var/cvs/interchange/debian/interchange.init,v
retrieving revision 2.3
retrieving revision 2.4
diff -u -r2.3 -r2.4
--- interchange.init	24 May 2002 21:01:14 -0000	2.3
+++ interchange.init	30 Dec 2002 00:44:39 -0000	2.4
@@ -35,6 +35,10 @@
 USER=interchange
 . /etc/interchange/init.cfg
 
+if [ "$GPGDIR" ]; then
+	export GNUPGHOME=$GPGHOME
+fi
+
 case "$1" in
   start)
 	# skip start during unfinished installation



2.11      +3 -0      interchange/debian/interchange.postinst


rev 2.11, prev_rev 2.10
Index: interchange.postinst
===================================================================
RCS file: /var/cvs/interchange/debian/interchange.postinst,v
retrieving revision 2.10
retrieving revision 2.11
diff -u -r2.10 -r2.11
--- interchange.postinst	16 Dec 2002 18:03:38 -0000	2.10
+++ interchange.postinst	30 Dec 2002 00:44:39 -0000	2.11
@@ -84,6 +84,9 @@
 db_get interchange/docroot
 echo DOCROOT=$RET >> $INITCFG
 
+db_get interchange/gpghome
+echo GPGHOME=$GPGHOME >> $INITCFG
+
 # 2. Settings which influence the global configuration
 # and make senses to be configured by debconf
 



2.1       +9 -0      interchange/debian/interchange.templates


rev 2.1, prev_rev 2.0
Index: interchange.templates
===================================================================
RCS file: /var/cvs/interchange/debian/interchange.templates,v
retrieving revision 2.0
retrieving revision 2.1
diff -u -r2.0 -r2.1
--- interchange.templates	18 Jul 2001 02:20:38 -0000	2.0
+++ interchange.templates	30 Dec 2002 00:44:39 -0000	2.1
@@ -62,3 +62,12 @@
 Description: Whether to enable debug mode or not
  Debug mode is only useful if you modified the Interchange sources
  accordingly.
+
+Template: interchange/gpghome
+Type: string
+Default: /var/lib/interchange/.gnupg
+Description: Directory for GnuPG public keyring
+ For enhanced security, credit card information retrieved from customers
+ will be encrypted and mailed to the shop owner instead of storing it
+ on the server. Please choose the directory Interchange uses for the
+ GnuPG public keyring.