From owner-svn-ports-all@FreeBSD.ORG Sat Jul 5 19:25:28 2014 Return-Path: Delivered-To: svn-ports-all@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 8AE0858B; Sat, 5 Jul 2014 19:25:28 +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 5EB0B25A5; Sat, 5 Jul 2014 19:25:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s65JPSVA023591; Sat, 5 Jul 2014 19:25:28 GMT (envelope-from tijl@svn.freebsd.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s65JPSpD023589; Sat, 5 Jul 2014 19:25:28 GMT (envelope-from tijl@svn.freebsd.org) Message-Id: <201407051925.s65JPSpD023589@svn.freebsd.org> From: Tijl Coosemans Date: Sat, 5 Jul 2014 19:25:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360809 - head/security/softhsm X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2014 19:25:28 -0000 Author: tijl Date: Sat Jul 5 19:25:27 2014 New Revision: 360809 URL: http://svnweb.freebsd.org/changeset/ports/360809 QAT: https://qat.redports.org/buildarchive/r360809/ Log: - Add USES=libtool - Use INSTALL_TARGET=install-strip - Use /var/lib instead of PREFIX/var/lib Modified: head/security/softhsm/Makefile head/security/softhsm/pkg-plist Modified: head/security/softhsm/Makefile ============================================================================== --- head/security/softhsm/Makefile Sat Jul 5 19:24:03 2014 (r360808) +++ head/security/softhsm/Makefile Sat Jul 5 19:25:27 2014 (r360809) @@ -3,7 +3,7 @@ PORTNAME= softhsm PORTVERSION= 1.3.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://dist.opendnssec.org/source/ @@ -16,11 +16,10 @@ LIB_DEPENDS= libbotan-1.10.so:${PORTSDIR libsqlite3.so:${PORTSDIR}/databases/sqlite3 GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-botan=${LOCALBASE} --with-sqlite3=${LOCALBASE} - +CONFIGURE_ARGS= --with-botan=${LOCALBASE} --with-sqlite3=${LOCALBASE} \ + --localstatedir=/var +INSTALL_TARGET= install-strip +USES= libtool USE_LDCONFIG= yes -post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/softhsm/libsofthsm.so - .include Modified: head/security/softhsm/pkg-plist ============================================================================== --- head/security/softhsm/pkg-plist Sat Jul 5 19:24:03 2014 (r360808) +++ head/security/softhsm/pkg-plist Sat Jul 5 19:25:27 2014 (r360809) @@ -1,15 +1,13 @@ -@unexec if cmp -s %D/etc/softhsm.conf %D/etc/softhsm.conf.sample; then rm -f %D/etc/softhsm.conf; else echo If permanently deleting this package, %D/etc/softhsm.conf must be removed manually; fi bin/softhsm bin/softhsm-keyconv +@sample etc/softhsm.conf.sample lib/softhsm/libsofthsm.a -lib/softhsm/libsofthsm.la lib/softhsm/libsofthsm.so -@sample etc/softhsm.conf.sample @dirrm lib/softhsm -@exec install -d -o root -g wheel -m 700 %D/var/lib/softhsm man/man1/softhsm-keyconv.1.gz man/man1/softhsm.1.gz man/man5/softhsm.conf.5.gz -@dirrm var/lib/softhsm -@dirrmtry var/lib -@dirrmtry var +@exec mkdir -p /var/lib +@exec install -d -o root -g wheel -m 700 /var/lib/softhsm +@unexec rmdir /var/lib/softhsm 2>/dev/null || true +@unexec rmdir /var/lib 2>/dev/null || true