Index: head/databases/percona-pam-for-mysql/Makefile =================================================================== --- head/databases/percona-pam-for-mysql/Makefile (revision 553639) +++ head/databases/percona-pam-for-mysql/Makefile (revision 553640) @@ -1,33 +1,36 @@ # Created by: Mark Felder # $FreeBSD$ PORTNAME= percona PORTREVISION= 1 PKGNAMESUFFIX= -pam-for-mysql COMMENT= PAM plugin for MySQL BROKEN_armv6= fails to compile: cannot combine with previous 'type-name' declaration specifier BROKEN_armv7= fails to compile: cannot combine with previous 'type-name' declaration specifier BROKEN_mips= fails to configure: CMake Error: Generator: execution of make failed BROKEN_mips64= fails to configure: CMake Error: Generator: execution of make failed MASTERDIR= ${.CURDIR}/../percona56-server PKGMESSAGE= ${.CURDIR}/pkg-message PATCHDIR= ${MASTERDIR}/files FILESDIR= ${.CURDIR}/files PLIST= ${.CURDIR}/pkg-plist DESCR= ${.CURDIR}/pkg-descr CMAKE_ARGS+= -DWITH_PAM=1 +# Workaround to clang11/gcc10 with -fno-common by default +CFLAGS+= -fcommon + PLUGIN_ONLY= yes do-install: (cd ${WRKSRC}/plugin/percona-pam-for-mysql && ${MAKE} ${MAKE_ARGS} install) ${INSTALL_DATA} ${FILESDIR}/pam.conf ${STAGEDIR}${PREFIX}/etc/pam.d/mysqld.sample .include "${MASTERDIR}/Makefile" RUN_DEPENDS= # This plugin has no run dependencies. It should work with any desired mysql client/server. Index: head/databases/percona-pam-for-mysql/pkg-plist =================================================================== --- head/databases/percona-pam-for-mysql/pkg-plist (revision 553639) +++ head/databases/percona-pam-for-mysql/pkg-plist (revision 553640) @@ -1,4 +1,10 @@ @sample etc/pam.d/mysqld.sample lib/mysql/plugin/auth_pam.so lib/mysql/plugin/auth_pam_compat.so lib/mysql/plugin/dialog.so +%%DATADIR%%/tests/suite/percona-pam-for-mysql/auth_pam-master.opt +%%DATADIR%%/tests/suite/percona-pam-for-mysql/auth_pam.result +%%DATADIR%%/tests/suite/percona-pam-for-mysql/auth_pam.test +%%DATADIR%%/tests/suite/percona-pam-for-mysql/auth_pam_compat-master.opt +%%DATADIR%%/tests/suite/percona-pam-for-mysql/auth_pam_compat.result +%%DATADIR%%/tests/suite/percona-pam-for-mysql/auth_pam_compat.test