Permalink
Browse files

Debian packages support the selection of the GnuPG home directory

during installation now.
  • Loading branch information...
1 parent d826242 commit fd79b4d0a1f20d8e8c647e926adb0c0fac0a4f7a @racke racke committed Dec 30, 2002
Showing with 29 additions and 3 deletions.
  1. +5 −0 WHATSNEW
  2. +3 −2 debian/changelog
  3. +5 −1 debian/interchange.config
  4. +4 −0 debian/interchange.init
  5. +3 −0 debian/interchange.postinst
  6. +9 −0 debian/interchange.templates
View
@@ -97,6 +97,11 @@ Foundation
* Payment routes use now generic MV_PAYMENT_* variables.
+Installation
+------------
+
+* Debian packages support the selection of the GnuPG home directory
+ during installation now.
------------------------------------------------------------------------------
View
@@ -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
@@ -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
@@ -138,6 +138,10 @@ fi
db_input low interchange/debug || true
db_go
+# GNUPG Home
+db_input low interchange/gpghome || true
+db_go
+
# Catalog configuration
db_input medium interchange/docroot || true
db_go
@@ -35,6 +35,10 @@ MODE="--unix"
USER=interchange
. /etc/interchange/init.cfg
+if [ "$GPGDIR" ]; then
+ export GNUPGHOME=$GPGHOME
+fi
+
case "$1" in
start)
# skip start during unfinished installation
@@ -84,6 +84,9 @@ echo GROUP=$GROUP >> $INITCFG
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
@@ -62,3 +62,12 @@ Default: false
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.

0 comments on commit fd79b4d

Please sign in to comment.