Your message dated Sat, 21 Nov 2009 22:19:31 +0000
with message-id <[email protected]>
and subject line Bug#557390: fixed in cracklib2 2.8.15-2
has caused the Debian Bug report #557390,
regarding python-cracklib: cracklib translations are not used in the Python 
binding
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
557390: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557390
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-cracklib
Version: 2.8.15-1
Severity: wishlist
Tags: patch

The Python binding for cracklib does not use the available
translations of cracklib. The attached patch (from cracklib's upstream
svn r152) fixes this behaviour.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-cracklib depends on:
ii  cracklib-runtime              2.8.15-1   runtime support for password check
ii  libc6                         2.10.1-7   GNU C Library: Shared libraries
ii  libcrack2                     2.8.15-1   pro-active password checker librar
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-support                1.0.4      automated rebuilding support for P
Author: Jan Dittberner <[email protected]>
Description: use translations in Python extension
 .
 * python/_cracklibmodule.c:
  - add calls to gettext functions to use cracklib's translations
--- a/python/_cracklibmodule.c
+++ b/python/_cracklibmodule.c
@@ -32,6 +32,7 @@
 #include <pthread.h>
 #endif
 #include <crack.h>
+#include <locale.h>
 
 #ifdef HAVE_PTHREAD_H
 static pthread_mutex_t cracklib_mutex = PTHREAD_MUTEX_INITIALIZER;
@@ -131,6 +132,9 @@ _cracklib_FascistCheck(PyObject *self, PyObject *args, PyObject *kwargs)
         free(dictfile);
     }
 
+       setlocale(LC_ALL, "");
+       textdomain("cracklib");
+
     LOCK();
     result = FascistCheck(candidate, dict ? dict : defaultdict);
     UNLOCK();

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: cracklib2
Source-Version: 2.8.15-2

We believe that the bug you reported is fixed in the latest version of
cracklib2, which is due to be installed in the Debian FTP archive:

cracklib-runtime_2.8.15-2_amd64.deb
  to main/c/cracklib2/cracklib-runtime_2.8.15-2_amd64.deb
cracklib2_2.8.15-2.debian.tar.gz
  to main/c/cracklib2/cracklib2_2.8.15-2.debian.tar.gz
cracklib2_2.8.15-2.dsc
  to main/c/cracklib2/cracklib2_2.8.15-2.dsc
libcrack2-dev_2.8.15-2_amd64.deb
  to main/c/cracklib2/libcrack2-dev_2.8.15-2_amd64.deb
libcrack2_2.8.15-2_amd64.deb
  to main/c/cracklib2/libcrack2_2.8.15-2_amd64.deb
python-crack_2.8.15-2_all.deb
  to main/c/cracklib2/python-crack_2.8.15-2_all.deb
python-cracklib_2.8.15-2_amd64.deb
  to main/c/cracklib2/python-cracklib_2.8.15-2_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jan Dittberner <[email protected]> (supplier of updated cracklib2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 21 Nov 2009 22:20:26 +0100
Source: cracklib2
Binary: libcrack2 libcrack2-dev cracklib-runtime python-cracklib python-crack
Architecture: source amd64 all
Version: 2.8.15-2
Distribution: unstable
Urgency: low
Maintainer: Jan Dittberner <[email protected]>
Changed-By: Jan Dittberner <[email protected]>
Description: 
 cracklib-runtime - runtime support for password checker library cracklib2
 libcrack2  - pro-active password checker library
 libcrack2-dev - pro-active password checker library - development files
 python-crack - transitional package from python-crack to python-cracklib
 python-cracklib - Python bindings for password checker library cracklib2
Closes: 557390
Changes: 
 cracklib2 (2.8.15-2) unstable; urgency=low
 .
   * add debian/patches/svn-r152-python-use-translations.patch to use
     cracklib translations in the Python binding (Closes: #557390) and
     update debian/patches/series accordingly
Checksums-Sha1: 
 2201d9e73ef45127ac3bd21064f6d00b175f36aa 2084 cracklib2_2.8.15-2.dsc
 da3d1da1b54dda79806be463bac9de14e8b55c45 28002 cracklib2_2.8.15-2.debian.tar.gz
 76fe9b933a12d8cbd1a000e61a91b228c3f0c53d 205512 libcrack2_2.8.15-2_amd64.deb
 668616849158b01f215638337d65296185adadf9 34054 libcrack2-dev_2.8.15-2_amd64.deb
 4344ecf5955b5aa51d84a8ead63e3abd2cf496a1 31272 
cracklib-runtime_2.8.15-2_amd64.deb
 5a2260ded86f8e0720a961ee3fcf7ab2029c8e23 23284 
python-cracklib_2.8.15-2_amd64.deb
 9616cb6f9e6a67ef5d0dc734fdc06de8530ffd97 16710 python-crack_2.8.15-2_all.deb
Checksums-Sha256: 
 fd57291054cd3aaaece84fa354fb85cd30940b998622132fb147bb92969c5531 2084 
cracklib2_2.8.15-2.dsc
 cb4031121cbd6bd8be4b170e6b4382a13d552e6b945a8da8d30077f8c1a3c9af 28002 
cracklib2_2.8.15-2.debian.tar.gz
 7451d6bc7cb60729f286c7a0e77aafb66f2fbe3610748f604a8a6c26ea63c536 205512 
libcrack2_2.8.15-2_amd64.deb
 0d2ca66bd2085970c5e291d5d854a90e10884eb830b9f64143e0f18bb34d1944 34054 
libcrack2-dev_2.8.15-2_amd64.deb
 be2a09dc4aa0de580b9517157193bffc22b2ac01fd175318cb14c44de15fab9d 31272 
cracklib-runtime_2.8.15-2_amd64.deb
 4e562a7971991e93d8cc6a73f56bc9dc175028489717f4c6cd9436a70a9aa786 23284 
python-cracklib_2.8.15-2_amd64.deb
 e53629be6ae870e88c97ff2fc46b9555d71fffe22c0da45e878e28490a00e104 16710 
python-crack_2.8.15-2_all.deb
Files: 
 906c1030638cedf38efc7fd21f2db6eb 2084 libs optional cracklib2_2.8.15-2.dsc
 5f3bc8f0d29866a4baadff78c7be8107 28002 libs optional 
cracklib2_2.8.15-2.debian.tar.gz
 aa277b333b0ce59bccc92c5f8a86544d 205512 libs optional 
libcrack2_2.8.15-2_amd64.deb
 ac6202f1ccde53149c9d55414aa89ef5 34054 libdevel extra 
libcrack2-dev_2.8.15-2_amd64.deb
 de20f1ead391880e10683cf209cf2edd 31272 admin optional 
cracklib-runtime_2.8.15-2_amd64.deb
 8553875c5383408fa7ffa7d9c2debe79 23284 python optional 
python-cracklib_2.8.15-2_amd64.deb
 8521ac778dd1efaf801d67cb3d3c02e0 16710 python extra 
python-crack_2.8.15-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJLCGFzAAoJEKc+AFVVj7jdHa4P/2bSLEHJOkrdasDasDy6KozW
SJDQ7jB+NvbputQZi+6k3DIPyFnHK/8PBW3Q+rsEhaoCe42DZWVlYkMbHfVhyLlp
mg3bqXiot/wrcM76ITP+H/3Y4/8C9ZMO7VZeyZYlw5WzEfWWx7eYkup+DLepPzYy
UrRnNjD+YZ8LdmmoQ4R/dGGOrSfXTqRT2r+NKk3+mmTJ2zrNTVONfB3FFd3HVRp4
tOpkGRlvvcfArUrsC9ycKI+IHg10ik8uY5XXpdB6b4A9MmajUiS9kXELPXPo4Wza
v/XHGT76fGml8oVBcHx7YnTwUdhD1SB80WwKgnNFmzoZcaHjuIBaAloUBoClMIJt
w0zAWaT0wdpD9L4vD4R6ReBIPA1USWHtOHk4n21VtnN8xb7NyNjzq+gsiEAOLOoY
VlCyy4jB1B8ffv64oWl8IcZL6/7B4jN5XhYKoWxaiCt49H+2hNlqYgtiPR96JbK9
LNYH+3qMMcSVixWNeNuty1WQuyKhnUS6eYr56hfq5GOuBkMv8zo0aX3Wmq83vbGB
hb9kHghxbxxuFr7JwaEFWfB/2nSaGCEIomCYMMe/Eu0ow0E7AE2/m8L/yPCcnjVa
To6DqfbD/QaGiKv0iMwax6sedsutIKWo9o1qahPcAQ2PZjSpqLW4hyC/PcFJlOI2
/zbabOzrOiznRb6Ao+7Q
=wF64
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to