Package: pam-mysql / 0.8.2-3

Metadata

Package Version Patches format
pam-mysql 0.8.2-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Convert AUTHORS file to UTF 8 to eliminate uncertainty.patch | (download)

AUTHORS | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 convert authors file to utf-8 to eliminate uncertainty


Fix FTCBFS fails finding mysql libraries.patch | (download)

m4/pam-mysql.m4 | 126 68 + 58 - 0 !
1 file changed, 68 insertions(+), 58 deletions(-)

 fix ftcbfs: fails finding mysql libraries

pam-mysql fails to cross build from source, because it fails finding
mysql libraries. It tries to do so using mysql_config, but mysql_config
does not work during cross compilation at all. Instead, pkg-config
should be used. This patch implements pkg-config-based detection
and inserts it after mysql_config, but before searching hard coded
locations. As such any previous detection is retained while supporting
cross compilation via pkg-config.

Closes: #972891

Embed xgethostname 20020413 for Hurd compatibility.patch | (download)

Makefile.am | 2 1 + 1 - 0 !
pam_mysql.c | 27 20 + 7 - 0 !
xgethostname/AUTHOR | 1 1 + 0 - 0 !
xgethostname/COPYING | 14 14 + 0 - 0 !
xgethostname/ChangeLog | 64 64 + 0 - 0 !
xgethostname/Makefile | 11 11 + 0 - 0 !
xgethostname/README | 1 1 + 0 - 0 !
xgethostname/VERSION | 5 5 + 0 - 0 !
xgethostname/xgethostname.2 | 37 37 + 0 - 0 !
xgethostname/xgethostname.c | 125 125 + 0 - 0 !
xgethostname/xgethostname.h | 48 48 + 0 - 0 !
11 files changed, 327 insertions(+), 8 deletions(-)

 embed xgethostname 20020413 for hurd compatibility

As recommended by
https://www.gnu.org/software/hurd/hurd/porting/guidelines.html.
Source: http://walfield.org/pub/people/neal/xgethostname/

Avoid segfault on unexpected Joomla hash value.patch | (download)

pam_mysql.c | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 avoid segfault on unexpected joomla hash value

For example Joomla 3.2 uses crypt-like formats (like $P$...), which
aren't colon-separated, so salt becomes NULL and strlen() bombs.

apply patch for missing 323 code in more modern mysql cli.patch | (download)

README | 5 5 + 0 - 0 !
compat_323_password.h | 106 106 + 0 - 0 !
pam_mysql.c | 20 18 + 2 - 0 !
3 files changed, 129 insertions(+), 2 deletions(-)

 apply patch for missing 323 code in more modern mysql client libs
 and appropriate readme warnings


Get compat_make_scrambled_password_323 compile.patch | (download)

compat_323_password.h | 19 10 + 9 - 0 !
pam_mysql.c | 2 2 + 0 - 0 !
2 files changed, 12 insertions(+), 9 deletions(-)

 get compat_make_scrambled_password_323() compile


The bundled crypto routines check WORDS_BIGENDIAN.patch | (download)

configure.ac | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 the bundled crypto routines check words_bigendian

Closes: #984888

Update README.patch | (download)

README | 8 8 + 0 - 0 !
1 file changed, 8 insertions(+)

 update readme

Added crypt option 6 - 9