Import Debian patch 0.29-5
Bastian Kleineidam authored 16 years ago
Mattia Rizzolo committed 7 years ago
7 | 7 | . |
8 | 8 | Note that per-user configuration files ($HOME/.pam_mount.conf) |
9 | 9 | have still to be converted manually. |
10 | . | |
11 | IMPORTANT: please check the validity of the converted file | |
12 | /etc/security/pam_mount.conf.xml, since the converter might | |
13 | have introduced bugs. | |
10 | 14 | |
11 | 15 | -- Bastian Kleineidam <calvin@debian.org> Tue, 18 Sep 2007 19:31:13 +0200 |
12 | 16 |
0 | libpam-mount (0.29-5) unstable; urgency=low | |
1 | ||
2 | * Let the user decide wether to automatically convert the | |
3 | configuration to the new XML format or not. Also display a note | |
4 | to check the converted configuration, in case something goes wrong. | |
5 | (Downgrades: #452901) | |
6 | ||
7 | -- Bastian Kleineidam <calvin@debian.org> Mon, 26 Nov 2007 08:20:10 +0000 | |
8 | ||
0 | 9 | libpam-mount (0.29-4) unstable; urgency=low |
1 | 10 | |
2 | 11 | * New patch 04_convert_local_fstype_fix: convert 'local' fstype |
11 | 11 | Package: libpam-mount |
12 | 12 | Section: admin |
13 | 13 | Architecture: any |
14 | Depends: ${shlibs:Depends}, mount (>= 2.12-3), libxml-writer-perl | |
14 | Depends: ${shlibs:Depends}, mount (>= 2.12-3), libxml-writer-perl, debconf | |
15 | 15 | Suggests: ncpfs, smbfs, cryptsetup, openssl, fuse-utils, truecrypt-utils, |
16 | 16 | davfs2, lsof, psmisc |
17 | 17 | Conflicts: libncp (<< 2.2.0.19.10) |
0 | #!/bin/sh | |
1 | set -e | |
2 | . /usr/share/debconf/confmodule | |
3 | if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt "0.20"; then | |
4 | db_input high libpam-mount/convert-xml-config || : | |
5 | fi | |
6 | db_go || : |
16 | 16 | # for details, see http://www.debian.org/doc/debian-policy/ or |
17 | 17 | # the debian-policy package |
18 | 18 | |
19 | . /usr/share/debconf/confmodule | |
19 | 20 | |
20 | 21 | OLDCONF=/etc/security/pam_mount.conf |
21 | 22 | NEWCONF=${OLDCONF}.xml |
22 | 23 | case "$1" in |
23 | configure) | |
24 | if dpkg --compare-versions "$2" lt 0.20; then | |
24 | configure) | |
25 | if dpkg --compare-versions "$2" lt 0.20; then | |
25 | 26 | if [ -f $OLDCONF -a ! -f ${NEWCONF}.default ]; then |
26 | mv $NEWCONF ${NEWCONF}.default | |
27 | /usr/share/doc/libpam-mount/examples/convert_pam_mount_conf.pl < $OLDCONF > $NEWCONF | |
27 | db_get libpam-mount/convert-xml-config | |
28 | if [ "$RET" = "true" ]; then | |
29 | mv $NEWCONF ${NEWCONF}.default | |
30 | /usr/share/doc/libpam-mount/examples/convert_pam_mount_conf.pl < $OLDCONF > $NEWCONF | |
31 | fi | |
28 | 32 | fi |
29 | fi | |
33 | fi | |
30 | 34 | ;; |
31 | 35 | |
32 | abort-upgrade|abort-remove|abort-deconfigure) | |
36 | abort-upgrade|abort-remove|abort-deconfigure) | |
33 | 37 | ;; |
34 | 38 | |
35 | *) | |
36 | echo "postinst called with unknown argument \`$1'" >&2 | |
37 | exit 1 | |
38 | ;; | |
39 | *) | |
40 | echo "postinst called with unknown argument \`$1'" >&2 | |
41 | exit 1 | |
42 | ;; | |
39 | 43 | esac |
40 | 44 | |
41 | 45 | # dh_installdeb will replace this with shell code automatically |
0 | Template: libpam-mount/convert-xml-config | |
1 | Type: boolean | |
2 | Default: false | |
3 | _Description: Automatic conversion to new XML configuration? | |
4 | The configuration format of libpam-mount changed and can be converted | |
5 | automatically with the `convert_pam_mount_conf.pl' script found | |
6 | in /usr/share/doc/libpam-mount/examples/. The old configuration | |
7 | /etc/security/pam_mount.conf will not be changed. | |
8 | . | |
9 | You can also convert the old configuration manually. | |
10 | . | |
11 | You should in all cases check the converted XML configuration file | |
12 | to avoid errors in the login process. |
0 | [type: gettext/rfc822deb] libpam-mount.templates |
0 | # Translation for debconf template | |
1 | # Copyright (C) 2007 Bastian Kleineidam | |
2 | # This file is distributed under the same license as the libpam-mount package. | |
3 | # Bastian Kleineidam <calvin@debian.org>, 2007 | |
4 | # | |
5 | msgid "" | |
6 | msgstr "" | |
7 | "Project-Id-Version: PACKAGE VERSION\n" | |
8 | "Report-Msgid-Bugs-To: Source: libpam-mount@packages.debian.org\n" | |
9 | "POT-Creation-Date: 2007-11-26 08:13+0000\n" | |
10 | "PO-Revision-Date: 2007-11-26 08:18-0000\n" | |
11 | "Last-Translator: Bastian Kleineidam <calvin@users.sourceforge.net>\n" | |
12 | "Language-Team: LANGUAGE <LL@li.org>\n" | |
13 | "MIME-Version: 1.0\n" | |
14 | "Content-Type: text/plain; charset=utf-8\n" | |
15 | "Content-Transfer-Encoding: 8bit\n" | |
16 | ||
17 | #. Type: boolean | |
18 | #. Description | |
19 | #: ../libpam-mount.templates:1001 | |
20 | msgid "Automatic conversion to new XML configuration?" | |
21 | msgstr "Automatische Konvertierung zur neuen XML Konfiguration?" | |
22 | ||
23 | #. Type: boolean | |
24 | #. Description | |
25 | #: ../libpam-mount.templates:1001 | |
26 | msgid "The configuration format of libpam-mount changed and can be converted automatically with the `convert_pam_mount_conf.pl' script found in /usr/share/doc/libpam-mount/examples/. The old configuration /etc/security/pam_mount.conf will not be changed." | |
27 | msgstr "Das Konfigurationsformat von libpam-mount has sich geändert und kann automatisch mit dem Skript `convert_pam_mount_conf.pl', zu finden in /usr/share/doc/libpam-mount/examples/, konvertiert werden. Die alte Konfiguration /etc/security/pam_mount.conf wird dabei nicht verändert." | |
28 | ||
29 | #. Type: boolean | |
30 | #. Description | |
31 | #: ../libpam-mount.templates:1001 | |
32 | msgid "You can also convert the old configuration manually." | |
33 | msgstr "Sie können die alte Konfiguration auch manuell konvertieren." | |
34 | ||
35 | #. Type: boolean | |
36 | #. Description | |
37 | #: ../libpam-mount.templates:1001 | |
38 | msgid "You should in all cases check the converted XML configuration file to avoid errors in the login process." | |
39 | msgstr "Sie sollten immer die konvertierte XML Konfiguration überprüfen, um Fehler beim Anmelden zu vermeiden." | |
40 |
0 | # Translation for debconf template | |
1 | # Copyright (C) 2007 Bastian Kleineidam | |
2 | # This file is distributed under the same license as the libpam-mount package. | |
3 | # Bastian Kleineidam <calvin@debian.org>, 2007 | |
4 | # | |
5 | #, fuzzy | |
6 | msgid "" | |
7 | msgstr "" | |
8 | "Project-Id-Version: PACKAGE VERSION\n" | |
9 | "Report-Msgid-Bugs-To: Source: libpam-mount@packages.debian.org\n" | |
10 | "POT-Creation-Date: 2007-11-26 08:13+0000\n" | |
11 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | |
12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
13 | "Language-Team: LANGUAGE <LL@li.org>\n" | |
14 | "MIME-Version: 1.0\n" | |
15 | "Content-Type: text/plain; charset=CHARSET\n" | |
16 | "Content-Transfer-Encoding: 8bit\n" | |
17 | ||
18 | #. Type: boolean | |
19 | #. Description | |
20 | #: ../libpam-mount.templates:1001 | |
21 | msgid "Automatic conversion to new XML configuration?" | |
22 | msgstr "" | |
23 | ||
24 | #. Type: boolean | |
25 | #. Description | |
26 | #: ../libpam-mount.templates:1001 | |
27 | msgid "" | |
28 | "The configuration format of libpam-mount changed and can be converted " | |
29 | "automatically with the `convert_pam_mount_conf.pl' script found in /usr/" | |
30 | "share/doc/libpam-mount/examples/. The old configuration /etc/security/" | |
31 | "pam_mount.conf will not be changed." | |
32 | msgstr "" | |
33 | ||
34 | #. Type: boolean | |
35 | #. Description | |
36 | #: ../libpam-mount.templates:1001 | |
37 | msgid "You can also convert the old configuration manually." | |
38 | msgstr "" | |
39 | ||
40 | #. Type: boolean | |
41 | #. Description | |
42 | #: ../libpam-mount.templates:1001 | |
43 | msgid "" | |
44 | "You should in all cases check the converted XML configuration file to avoid " | |
45 | "errors in the login process." | |
46 | msgstr "" |