diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-auth/pam_blue/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-auth/pam_blue/files')
-rw-r--r-- | sys-auth/pam_blue/files/pam_blue-0.9.0-bad-log.patch | 11 | ||||
-rw-r--r-- | sys-auth/pam_blue/files/pam_blue-0.9.0-char-locales.patch | 17 |
2 files changed, 28 insertions, 0 deletions
diff --git a/sys-auth/pam_blue/files/pam_blue-0.9.0-bad-log.patch b/sys-auth/pam_blue/files/pam_blue-0.9.0-bad-log.patch new file mode 100644 index 000000000000..5f2a2628e4b0 --- /dev/null +++ b/sys-auth/pam_blue/files/pam_blue-0.9.0-bad-log.patch @@ -0,0 +1,11 @@ +--- a/src/bluepmain.c ++++ b/src/bluepmain.c +@@ -88,7 +88,7 @@ + + if ( (lst = parse_rc()) == NULL) { /* something goes wrong (no config file, ...) */ + user = NULL; +- syslog (LOG_ERR, "Can't parse configuration file [%s]!" CONFIG_FILE); ++ syslog (LOG_ERR, "Can't parse configuration file [%s]!", CONFIG_FILE); + return PAM_AUTH_ERR; + } + diff --git a/sys-auth/pam_blue/files/pam_blue-0.9.0-char-locales.patch b/sys-auth/pam_blue/files/pam_blue-0.9.0-char-locales.patch new file mode 100644 index 000000000000..40d2810f486c --- /dev/null +++ b/sys-auth/pam_blue/files/pam_blue-0.9.0-char-locales.patch @@ -0,0 +1,17 @@ +https://bugs.gentoo.org/412941 + +fix matching in various locales + +patch by Leho Kraav <leho@kraav.com> + +--- a/src/lexer.l ++++ b/src/lexer.l +@@ -28,7 +28,7 @@ + bluemac { return BLUEMAC; } + @ { return AT;} + ; { return SEMICOLON; } +-[a-zA-Z][a-zA-Z0-9_]* { yylval.word = (char *) strdup(yytext); return WORD; } ++[[:alpha:]][[:alnum:]_-]* { yylval.word = (char *) strdup(yytext); return WORD; } + {HXDIGD}{HXDIGD}{HXDIG} { yylval.word = (char *) strdup(yytext); return MAC; } + [0-9][0-9]* { yylval.value = atoi(yytext); return DIGIT; } + = { return EQUAL; } |