If you have the environment variable that is responsible for localization, while a version of gnupg support languages other than English, then when you enter the wrong password to the secret pgp-key program pwman, then all records from the file pwman.db will be removed. This patch corrects this error by setting the environment variable environment LC_ALL = C. Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->anders Over to maintainer (via the GNATS Auto Assign Tool)
I'm sorry, I mistaken. In patch, at end of line with setenv() call should be ';', not ':'. --- src/pwman.c.orig 2009-12-08 17:54:19.000000000 +0300 +++ src/pwman.c 2009-12-08 17:54:23.000000000 +0300 @@ -151,6 +151,7 @@ int main(int argc, char *argv[]) { + setenv("LC_ALL", "C", 1); pwman_init(argc, argv); ui_run(); -- Vyacheslav Anikin (ansl) mailto:anikinsl@gmail.com
Responsible Changed From-To: anders->pgollucci committer & maintainer timeout (anders ; 277 days) / last commit: 20100511 (123 days ago)
State Changed From-To: open->closed Committed, Thanks!
pgollucci 2010-09-14 02:44:11 UTC FreeBSD ports repository Added files: security/pwman/files patch-src__convert_pwdb.c patch-src__pwman.c patch-src__pwman.h Removed files: security/pwman/files patch-src-convert_pwdb.c patch-src-pwman.h Log: - Set LC_LANG=C so that pgp-key gpg key integration works PR: ports/141281 Submitted by: Vyacheslav Anikin <anikinsl@gmail.com> Approved by: maintainer timeout (anders ; 277 days) Revision Changes Path 1.2 +0 -40 ports/security/pwman/files/patch-src-convert_pwdb.c (dead) 1.2 +0 -10 ports/security/pwman/files/patch-src-pwman.h (dead) 1.1 +40 -0 ports/security/pwman/files/patch-src__convert_pwdb.c (new) 1.1 +10 -0 ports/security/pwman/files/patch-src__pwman.c (new) 1.1 +10 -0 ports/security/pwman/files/patch-src__pwman.h (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"