[interchange-cvs] interchange - racke modified 4 files
interchange-core@interchange.redhat.com
interchange-core@interchange.redhat.com
Wed Jan 30 18:56:01 2002
User: racke
Date: 2002-01-30 23:55:06 GMT
Modified: debian Tag: STABLE_4_8-branch changelog
Modified: interchange-cat-foundation.config
Modified: interchange-cat-foundation.postinst
Modified: interchange-cat-foundation.templates
Log:
query username and password for UI superuser account in the foundation
catalog from the user via debconf
Revision Changes Path
No revision
No revision
2.10.2.16 +4 -2 interchange/debian/changelog
rev 2.10.2.16, prev_rev 2.10.2.15
Index: changelog
===================================================================
RCS file: /anon_cvs/repository/interchange/debian/changelog,v
retrieving revision 2.10.2.15
retrieving revision 2.10.2.16
diff -u -r2.10.2.15 -r2.10.2.16
--- changelog 23 Jan 2002 02:50:33 -0000 2.10.2.15
+++ changelog 30 Jan 2002 23:55:06 -0000 2.10.2.16
@@ -1,9 +1,11 @@
-interchange (4.8.3-1.4) unstable; urgency=low
+interchange (4.8.4-1) unstable; urgency=low
* /etc/interchange/usertag directory for locally used global usertags added
* interchange-ui package suggests now a HTTPS server
+ * query username and password for UI superuser account in the foundation
+ catalog from the user via debconf
- -- Stefan Hornburg (Racke) <racke@linuxia.de> Tue, 22 Jan 2002 21:43:54 -0500
+ -- Stefan Hornburg (Racke) <racke@linuxia.de> Wed, 30 Jan 2002 18:54:11 -0500
interchange (4.8.3-1) unstable; urgency=low
2.3.2.1 +4 -0 interchange/debian/interchange-cat-foundation.config
rev 2.3.2.1, prev_rev 2.3
Index: interchange-cat-foundation.config
===================================================================
RCS file: /anon_cvs/repository/interchange/debian/interchange-cat-foundation.config,v
retrieving revision 2.3
retrieving revision 2.3.2.1
diff -u -r2.3 -r2.3.2.1
--- interchange-cat-foundation.config 12 Aug 2001 20:36:25 -0000 2.3
+++ interchange-cat-foundation.config 30 Jan 2002 23:55:06 -0000 2.3.2.1
@@ -28,6 +28,10 @@
if [ "$RET" == "true" ]; then
db_input medium interchange-cat-foundation/purge || [ $? -eq 30 ]
db_go
+ db_input high interchange-cat-foundation/username || [ $? -eq 30 ]
+ db_go
+ db_input high interchange-cat-foundation/password || [ $? -eq 30 ]
+ db_go
else
exit 0
fi
2.7.2.2 +5 -1 interchange/debian/interchange-cat-foundation.postinst
rev 2.7.2.2, prev_rev 2.7.2.1
Index: interchange-cat-foundation.postinst
===================================================================
RCS file: /anon_cvs/repository/interchange/debian/interchange-cat-foundation.postinst,v
retrieving revision 2.7.2.1
retrieving revision 2.7.2.2
diff -u -r2.7.2.1 -r2.7.2.2
--- interchange-cat-foundation.postinst 23 Aug 2001 23:55:49 -0000 2.7.2.1
+++ interchange-cat-foundation.postinst 30 Jan 2002 23:55:06 -0000 2.7.2.2
@@ -68,8 +68,12 @@
# replace catalog directory
mkdir /var/lib/interchange/catalogs/$CATALOG
chown $USER.$GROUP /var/lib/interchange/catalogs/$CATALOG
+ db_get interchange-cat-foundation/username
+ UI_SUPERUSER=$RET
+ db_get interchange-cat-foundation/password
+ UI_PASSWORD=$RET
SERVERNAME=`hostname --fqdn`
- MVC_ENABLESECURE=1 MVC_UISECURE=1 /usr/bin/makecat \
+ MVC_ENABLESECURE=1 MVC_UISECURE=1 MVC_SUPERUSER="$UI_SUPERUSER" MVC_CRYPTPW="$UI_PASSWORD" /usr/bin/makecat \
-F \
-l /var/log/interchange/makecat.log \
--demotype=$CATALOG \
2.4.2.1 +28 -0 interchange/debian/interchange-cat-foundation.templates
rev 2.4.2.1, prev_rev 2.4
Index: interchange-cat-foundation.templates
===================================================================
RCS file: /anon_cvs/repository/interchange/debian/interchange-cat-foundation.templates,v
retrieving revision 2.4
retrieving revision 2.4.2.1
diff -u -r2.4 -r2.4.2.1
--- interchange-cat-foundation.templates 12 Aug 2001 11:20:02 -0000 2.4
+++ interchange-cat-foundation.templates 30 Jan 2002 23:55:06 -0000 2.4.2.1
@@ -39,3 +39,31 @@
There seems to already exist an Interchange demo catalog.
Description-de: Interchange Demokatalog ersetzen ?
Es ist bereits ein Demokatalog vorhanden.
+
+Template: interchange-cat-foundation/username
+Type: string
+Default: interchange
+Description: What is the username for the administration of this catalog ?
+ Please provide an username for administering the demo catalog. The username
+ must be at least 2 characters long and only contain letters, digits,
+ underscore, @ or the dot as characters.
+Description-de: Was ist der Benutzername für die Adminstration dieses Katalogs ?
+ Bitte einen Benutzernamen für die Verwaltung des Demokatalogs eingeben.
+ Der Benutzername muß mindestens zwei Zeichen lang sein und nur Buchstaben,
+ Ziffern, den Unterstrich, @ oder den Punkt als Zeichen enthalten.
+
+Template: interchange-cat-foundation/password
+Type: password
+Default: pass
+Description: What is the password for the administration of this catalog ?
+ Please provide a password for administering the foundation demo
+ catalog. Choose one which can not be easily guessed. Default is pass.
+ The password must be at least 4 characters long and only contain letters,
+ digits, underscore @ or the dot as characters.
+Description-de: Was ist das Passwort für die Adminstration dieses Katalogs ?
+ Bitte ein Passwort für die Verwaltung des Demokatalogs eingeben. Das
+ ausgewählte sollte nicht leicht erraten werden können. Das Wort pass
+ ist die Voreinstellung.
+ Das Passwort muß mindestens vier Zeichen lang sein und nur Buchstaben,
+ Ziffern, den Unterstrich, @ oder den Punkt als Zeichen enthalten.
+