FreeBSD Bugzilla – Attachment 225550 Details for
Bug 254731
[PATCH] security/pam_mysql: Add workaround for newer mysql version
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Updates to 0.8.2 instead
pam-mysql.diff (text/plain), 3.47 KB, created by
Jesper Schmitz Mouridsen
on 2021-06-04 18:09:10 UTC
(
hide
)
Description:
Updates to 0.8.2 instead
Filename:
MIME Type:
Creator:
Jesper Schmitz Mouridsen
Created:
2021-06-04 18:09:10 UTC
Size:
3.47 KB
patch
obsolete
>diff --git a/security/pam-mysql/Makefile b/security/pam-mysql/Makefile >index 70d44db6a..f225a4b72 100644 >--- a/security/pam-mysql/Makefile >+++ b/security/pam-mysql/Makefile >@@ -1,39 +1,35 @@ > # Created by: Anders Nordby <anders@fix.no> > > PORTNAME= pam_mysql >-PORTVERSION= 0.7.r1 >-PORTREVISION= 6 >+DISTVERSIONPREFIX= v >+DISTVERSION= 0.8.2 > CATEGORIES= security databases >-MASTER_SITES= SF/pam-mysql/pam-mysql/0.7RC1 >-DISTNAME= ${PORTNAME}-0.7RC1${DISTVERSIONSUFFIX} > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= jsm@FreeBSD.org > COMMENT= Pam module for authenticating with MySQL > > LICENSE= GPLv2+ > LICENSE_FILE= ${WRKSRC}/COPYING > >-USES= compiler:c11 libtool:keepla mysql >+USES= compiler:c11 libtool:keepla mysql autoreconf ssl pkgconfig >+USE_GITHUB= yes >+GH_ACCOUNT= NigelCunningham >+GH_PROJECT= pam-MySQL > GNU_CONFIGURE= yes >-CONFIGURE_ARGS= --with-mysql=${LOCALBASE} \ >- --with-pam-mods-dir=${PREFIX}/lib \ >- --with-pam=/usr > >+CONFIGURE_ARGS= --with-pam-mods-dir=${LOCALBASE}/lib > SUB_FILES= pkg-message > > PORTDOCS= * > PLIST_FILES= lib/pam_mysql.so lib/pam_mysql.la > >-OPTIONS_DEFINE= DOCS SSL >-SSL_DESC= Build with OpenSSL support (non-crypt()ish MD5 hash) >-SSL_CONFIGURE_WITH= openssl >- >+OPTIONS_DEFINE= DOCS > post-install: > @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pam_mysql.so > > post-install-DOCS-on: > @${MKDIR} ${STAGEDIR}${DOCSDIR} > ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/NEWS \ > ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} > > .include <bsd.port.mk> >diff --git a/security/pam-mysql/distinfo b/security/pam-mysql/distinfo >index 9f722f9bc..b4b3a6080 100644 >--- a/security/pam-mysql/distinfo >+++ b/security/pam-mysql/distinfo >@@ -1,2 +1,3 @@ >-SHA256 (pam_mysql-0.7RC1.tar.gz) = cb3cf89b9b51cb196ee8d731f85acbab72b4878a3a7c4183c5534161d4385ce7 >-SIZE (pam_mysql-0.7RC1.tar.gz) = 335240 >+TIMESTAMP = 1622744756 >+SHA256 (NigelCunningham-pam-MySQL-v0.8.2_GH0.tar.gz) = 012529868418bcb23b22d466ca7e526a6a08f42736cd67d41118151e285c777b >+SIZE (NigelCunningham-pam-MySQL-v0.8.2_GH0.tar.gz) = 55023 >diff --git a/security/pam-mysql/files/patch-acinclude.m4 b/security/pam-mysql/files/patch-acinclude.m4 >deleted file mode 100644 >index b506fcb9a..000000000 >--- a/security/pam-mysql/files/patch-acinclude.m4 >+++ /dev/null >@@ -1,10 +0,0 @@ >---- acinclude.m4.orig 2006-01-09 10:35:59 UTC >-+++ acinclude.m4 >-@@ -445,6 +445,7 @@ md5_calc(0, 0, 0); >- AC_MSG_RESULT([no]) >- >- AC_CHECK_HEADERS([md5.h]) >-+ AC_CHECK_LIB([md],[MD5Data]) >- AC_CHECK_FUNCS([MD5Data]) >- ]) >- ]) >diff --git a/security/pam-mysql/files/pkg-message.in b/security/pam-mysql/files/pkg-message.in >index c908f2d7c..345ede86f 100644 >--- a/security/pam-mysql/files/pkg-message.in >+++ b/security/pam-mysql/files/pkg-message.in >@@ -1,15 +1,7 @@ > [ > { type: install > message: <<EOM > Read files in %%DOCSDIR%% for info on how to set up. >- >-The PAM subsystem only looks for modules in /usr/lib: to use any pam module >-from the ports, either specify the full pathname in your pam.d config file >-(eg: %%PREFIX%%/lib/pam_mysql.so instead of pam_mysql.so) or copy/symlink >-%%PREFIX%%/lib/pam_mysql.so to /usr/lib/pam_mysql.so to be able to use it. >- >-Example: >-ln -sf %%PREFIX%%/lib/pam_mysql.so /usr/lib/pam_mysql.so > EOM > } > ] >diff --git a/security/pam-mysql/pkg-descr b/security/pam-mysql/pkg-descr >index 0317415bb..07c048c92 100644 >--- a/security/pam-mysql/pkg-descr >+++ b/security/pam-mysql/pkg-descr >@@ -1,3 +1,3 @@ > This is a PAM module for authenticating with MySQL. > >-WWW: http://pam-mysql.sourceforge.net/ >+WWW: https://github.com/NigelCunningham/pam-MySQL
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 254731
:
223777
|
223778
|
225532
|
225550