From owner-svn-ports-head@FreeBSD.ORG Thu Jul 10 15:08:07 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DEC567BF; Thu, 10 Jul 2014 15:08:07 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CBD9D2411; Thu, 10 Jul 2014 15:08:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6AF87gd037120; Thu, 10 Jul 2014 15:08:07 GMT (envelope-from tijl@svn.freebsd.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6AF87TS037117; Thu, 10 Jul 2014 15:08:07 GMT (envelope-from tijl@svn.freebsd.org) Message-Id: <201407101508.s6AF87TS037117@svn.freebsd.org> From: Tijl Coosemans Date: Thu, 10 Jul 2014 15:08:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361459 - in head/net/libnss-mysql: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2014 15:08:08 -0000 Author: tijl Date: Thu Jul 10 15:08:07 2014 New Revision: 361459 URL: http://svnweb.freebsd.org/changeset/ports/361459 QAT: https://qat.redports.org/buildarchive/r361459/ Log: - Convert to USES=libtool - Add INSTALL_TARGET=install-strip - Replace a patch with post-patch and post-install and use @sample Deleted: head/net/libnss-mysql/files/ Modified: head/net/libnss-mysql/Makefile head/net/libnss-mysql/pkg-plist Modified: head/net/libnss-mysql/Makefile ============================================================================== --- head/net/libnss-mysql/Makefile Thu Jul 10 15:05:57 2014 (r361458) +++ head/net/libnss-mysql/Makefile Thu Jul 10 15:08:07 2014 (r361459) @@ -3,17 +3,27 @@ PORTNAME= libnss-mysql PORTVERSION= 1.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net MASTER_SITES= SF MAINTAINER= vd@FreeBSD.org COMMENT= NSS module using a MySQL database for backend -USE_AUTOTOOLS= libtool +GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-mysql=${LOCALBASE} +INSTALL_TARGET= install-strip +USES= libtool USE_LDCONFIG= yes -GNU_CONFIGURE= yes USE_MYSQL= yes +post-patch: + @${REINPLACE_CMD} 's,$${srcdir}/aux/mkinstalldirs,$${mkinstalldirs},' \ + ${WRKSRC}/Makefile.in + +post-install: +.for f in libnss-mysql.cfg libnss-mysql-root.cfg + ${MV} ${STAGEDIR}${PREFIX}/etc/$f ${STAGEDIR}${PREFIX}/etc/$f.sample +.endfor + .include Modified: head/net/libnss-mysql/pkg-plist ============================================================================== --- head/net/libnss-mysql/pkg-plist Thu Jul 10 15:05:57 2014 (r361458) +++ head/net/libnss-mysql/pkg-plist Thu Jul 10 15:08:07 2014 (r361459) @@ -1,6 +1,5 @@ -etc/libnss-mysql.cfg-dist -etc/libnss-mysql-root.cfg-dist -lib/nss_mysql.a -lib/nss_mysql.la +@sample etc/libnss-mysql.cfg.sample +@sample etc/libnss-mysql-root.cfg.sample lib/nss_mysql.so lib/nss_mysql.so.1 +lib/nss_mysql.so.1.0.0