Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Dec 2013 01:10:41 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335651 - in head: . security/opencryptoki
Message-ID:  <201312050110.rB51Af62077408@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Thu Dec  5 01:10:41 2013
New Revision: 335651
URL: http://svnweb.freebsd.org/changeset/ports/335651

Log:
  - Fix _pkcs11 group entry.
  - Add STAGEDIR support.
  - Bump PORTREVISION because of pkg-plist change.

Modified:
  head/GIDs
  head/security/opencryptoki/Makefile
  head/security/opencryptoki/pkg-plist

Modified: head/GIDs
==============================================================================
--- head/GIDs	Thu Dec  5 00:23:35 2013	(r335650)
+++ head/GIDs	Thu Dec  5 01:10:41 2013	(r335651)
@@ -186,7 +186,7 @@ assp:*:587:
 avahi-autoipd:*:588:
 _xsi:*:600:
 _tss:*:601:
-_pkcs11:*:602:_pkcs11
+_pkcs11:*:602:
 freeswitch:*:610:
 monkeysphere:*:641:
 aox:*:666:

Modified: head/security/opencryptoki/Makefile
==============================================================================
--- head/security/opencryptoki/Makefile	Thu Dec  5 00:23:35 2013	(r335650)
+++ head/security/opencryptoki/Makefile	Thu Dec  5 01:10:41 2013	(r335651)
@@ -3,7 +3,7 @@
 
 PORTNAME=	opencryptoki
 PORTVERSION=	2.3.2
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	security
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
 
@@ -39,19 +39,14 @@ SUB_LIST=	USERS=${USERS} GROUPS=${GROUPS
 USERS=		_pkcs11
 GROUPS=		_pkcs11
 
-MAN1=		pkcs11_startup.1 pkcsconf.1
-MAN5=		pk_config_data.5
-MAN7=		opencryptoki.7
-MAN8=		pkcsslotd.8
-
 run-autotools:	run-autotools-autoreconf
 
-NO_STAGE=	yes
 run-autotools-autoreconf:
 	@cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -i
 
 post-install:
-	@cd ${PREFIX}/lib && ${LN} -s opencryptoki/libopencryptoki* .
-	@${CAT} ${PKGMESSAGE}
+	cd ${STAGEDIR}${PREFIX}/lib && ${LN} -s opencryptoki/libopencryptoki* .
+	${MKDIR} ${STAGEDIR}${PREFIX}/var/lib/opencryptoki/swtok \
+	    ${STAGEDIR}${PREFIX}/var/lib/opencryptoki/tpm
 
 .include <bsd.port.mk>

Modified: head/security/opencryptoki/pkg-plist
==============================================================================
--- head/security/opencryptoki/pkg-plist	Thu Dec  5 00:23:35 2013	(r335650)
+++ head/security/opencryptoki/pkg-plist	Thu Dec  5 01:10:41 2013	(r335651)
@@ -26,10 +26,19 @@ sbin/pkcs11_startup
 sbin/pkcs_slot
 sbin/pkcsconf
 sbin/pkcsslotd
-@exec mkdir -p %D/var/lib/opencryptoki/swtok
-@exec mkdir -p %D/var/lib/opencryptoki/tpm
+man/man1/pkcs11_startup.1.gz
+man/man1/pkcsconf.1.gz
+man/man5/pk_config_data.5.gz
+man/man7/opencryptoki.7.gz
+man/man8/pkcsslotd.8.gz
+@owner _pkcs11
+@group _pkcs11
+@mode 0700
 @dirrmtry var/lib/opencryptoki/tpm
 @dirrmtry var/lib/opencryptoki/swtok
+@owner
+@group
+@mode
 @dirrmtry var/lib/opencryptoki
 @dirrmtry var/lib
 @dirrmtry var



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