mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
security/pam-mysql: Update to 0.8.2
Old upstream is unmaintained and taken over by github.com/NigelCunningham/pam-MySQL This version supports newer versions of MySQL and MariaDB, that do not define make_scrambled_password(). Since pam now looks in LOCALBASE for modules change pkg-message accordingly PR: 254731 Reviewed_by: koobs (ports) Differential_Revision: 30646
This commit is contained in:
parent
c567676136
commit
e5e4475fb7
@ -1,32 +1,37 @@
|
||||
# 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
|
||||
COMMENT= Pam module for authenticating with MySQL
|
||||
MAINTAINER= jsm@FreeBSD.org
|
||||
COMMENT= PAM module for authenticating with MySQL
|
||||
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= compiler:c11 libtool:keepla mysql
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-mysql=${LOCALBASE} \
|
||||
--with-pam-mods-dir=${PREFIX}/lib \
|
||||
--with-pam=/usr
|
||||
USES= autoreconf compiler:c11 libtool:keepla mysql pkgconfig
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= NigelCunningham
|
||||
GH_PROJECT= pam-MySQL
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CONFIGURE_ARGS= --with-pam=/usr/lib --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 SSL
|
||||
OPTIONS_DEFAULT= DOCS SSL
|
||||
|
||||
SSL_DESC= Build with OpenSSL support (non-crypt()ish MD5 and SHA1 hash)
|
||||
SSL_CONFIGURE_ENV= openssl_CFLAGS="${OPENSSLINC}" \
|
||||
openssl_LIBS="${OPENSSLLIB}"
|
||||
SSL_CONFIGURE_WITH=openssl
|
||||
SSL_USES= ssl
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pam_mysql.so
|
||||
|
@ -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
|
||||
|
@ -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])
|
||||
])
|
||||
])
|
@ -2,14 +2,6 @@
|
||||
{ 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
|
||||
}
|
||||
]
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user