Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Dec 2016 09:01:03 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r429962 - in head/security/pam-mysql: . files
Message-ID:  <201612300901.uBU913Jt091950@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Dec 30 09:01:02 2016
New Revision: 429962
URL: https://svnweb.freebsd.org/changeset/ports/429962

Log:
  - Add LICENSE
  - Pet portlint
  - Switch to options helpers
  - Regenerate patches

Added:
  head/security/pam-mysql/files/patch-acinclude.m4
     - copied, changed from r429961, head/security/pam-mysql/files/patch-acinclude_m4
Deleted:
  head/security/pam-mysql/files/patch-acinclude_m4
Modified:
  head/security/pam-mysql/Makefile

Modified: head/security/pam-mysql/Makefile
==============================================================================
--- head/security/pam-mysql/Makefile	Fri Dec 30 08:08:19 2016	(r429961)
+++ head/security/pam-mysql/Makefile	Fri Dec 30 09:01:02 2016	(r429962)
@@ -11,10 +11,15 @@ DISTNAME=	${PORTNAME}-0.7RC1${DISTVERSIO
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Pam module for authenticating with MySQL
 
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USES=		libtool:keepla
 USE_MYSQL=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-mysql=${LOCALBASE} --with-pam-mods-dir=${PREFIX}/lib --with-pam=/usr
+CONFIGURE_ARGS=	--with-mysql=${LOCALBASE} \
+		--with-pam-mods-dir=${PREFIX}/lib \
+		--with-pam=/usr
 
 SUB_FILES=	pkg-message
 PKGMESSAGE=	${WRKDIR}/pkg-message
@@ -27,10 +32,11 @@ SSL_DESC= 	Build with OpenSSL support (n
 SSL_CONFIGURE_WITH= openssl
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pam_mysql.so
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pam_mysql.so
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/ChangeLog \
-		${WRKSRC}/NEWS \
+	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/NEWS \
 		${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Copied and modified: head/security/pam-mysql/files/patch-acinclude.m4 (from r429961, head/security/pam-mysql/files/patch-acinclude_m4)
==============================================================================
--- head/security/pam-mysql/files/patch-acinclude_m4	Fri Dec 30 08:08:19 2016	(r429961, copy source)
+++ head/security/pam-mysql/files/patch-acinclude.m4	Fri Dec 30 09:01:02 2016	(r429962)
@@ -1,12 +1,10 @@
-*** acinclude.m4.orig	Sat Mar 11 23:36:42 2006
---- acinclude.m4	Sat Mar 11 23:37:14 2006
-***************
-*** 445,450 ****
---- 445,451 ----
-      AC_MSG_RESULT([no])
-  
-      AC_CHECK_HEADERS([md5.h])
-+     AC_CHECK_LIB([md],[MD5Data])
-      AC_CHECK_FUNCS([MD5Data])
-    ])
-  ])
+--- 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])
+   ])
+ ])



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612300901.uBU913Jt091950>