From owner-svn-ports-all@FreeBSD.ORG Tue May 13 12:32:52 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 1147F76E; Tue, 13 May 2014 12:32:52 +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 F2A88219C; Tue, 13 May 2014 12:32:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4DCWpOF064962; Tue, 13 May 2014 12:32:51 GMT (envelope-from ale@svn.freebsd.org) Received: (from ale@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4DCWpVN064959; Tue, 13 May 2014 12:32:51 GMT (envelope-from ale@svn.freebsd.org) Message-Id: <201405131232.s4DCWpVN064959@svn.freebsd.org> From: Alex Dupre Date: Tue, 13 May 2014 12:32:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353943 - head/security/openct 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: Tue, 13 May 2014 12:32:52 -0000 Author: ale Date: Tue May 13 12:32:51 2014 New Revision: 353943 URL: http://svnweb.freebsd.org/changeset/ports/353943 QAT: https://qat.redports.org/buildarchive/r353943/ Log: Stagify. Modified: head/security/openct/Makefile head/security/openct/pkg-descr head/security/openct/pkg-plist Modified: head/security/openct/Makefile ============================================================================== --- head/security/openct/Makefile Tue May 13 12:26:47 2014 (r353942) +++ head/security/openct/Makefile Tue May 13 12:32:51 2014 (r353943) @@ -5,43 +5,37 @@ PORTNAME= openct PORTVERSION= 0.6.20 PORTREVISION= 1 CATEGORIES= security -MASTER_SITES= SF -MASTER_SITE_SUBDIR= opensc/${PORTNAME} +MASTER_SITES= SF/opensc/${PORTNAME} MAINTAINER= ale@FreeBSD.org COMMENT= Middleware framework for smart card terminals +LICENSE= LGPL21 + OPTIONS_DEFINE= PCSC DOCS PCSC_DESC= Enable PC/SC support USE_AUTOTOOLS= libltdl GNU_CONFIGURE= yes -USES= gmake pkgconfig +USES= gmake libtool pkgconfig USE_LDCONFIG= yes USE_RC_SUBR= openct SUB_FILES= etoken.conf CONFIGURE_ENV= LTLIB_CFLAGS="-I${LOCALBASE}/include" \ - LTLIB_LIBS="-L${LOCALBASE}/lib -lltdl" - -CONFIGURE_ARGS= --localstatedir=/var + LTLIB_LIBS="-L${LOCALBASE}/lib -lltdl" \ + LIBUSB_CFLAGS="-I/usr/include" \ + LIBUSB_LIBS="-lusb" -MAN1= openct-tool.1 +CONFIGURE_ARGS= --localstatedir=/var --enable-usb PORTDOCS= * +PORTEXAMPLES= * -NO_STAGE= yes -.include - -.if ${OSVERSION} >= 800069 -CONFIGURE_ENV+= LIBUSB_CFLAGS="-I/usr/include" \ - LIBUSB_LIBS="-lusb" - -CONFIGURE_ARGS+=--enable-usb -.endif +.include .if ${PORT_OPTIONS:MPCSC} -LIB_DEPENDS+= pcsclite.1:${PORTSDIR}/devel/pcsc-lite +LIB_DEPENDS+= libpcsclite.so:${PORTSDIR}/devel/pcsc-lite CONFIGURE_ARGS+=--enable-pcsc PLIST_SUB+= PCSC="" .else @@ -55,19 +49,11 @@ CONFIGURE_ARGS+=--enable-doc post-patch: @${REINPLACE_CMD} 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' \ ${WRKSRC}/configure -.if ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} 's|install-data-am: install-dist_apidocDATA install-dist_docDATA|install-data-am: install-dist_docDATA|' \ ${WRKSRC}/doc/Makefile.in -.else - @${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \ - ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} 's|install-data-am: install-dist_apidocDATA install-dist_docDATA|install-data-am:|' \ - ${WRKSRC}/doc/Makefile.in -.endif post-install: - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKDIR}/etoken.conf ${EXAMPLESDIR} - @${CAT} ${PKGMESSAGE} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKDIR}/etoken.conf ${STAGEDIR}${EXAMPLESDIR} -.include +.include Modified: head/security/openct/pkg-descr ============================================================================== --- head/security/openct/pkg-descr Tue May 13 12:26:47 2014 (r353942) +++ head/security/openct/pkg-descr Tue May 13 12:32:51 2014 (r353943) @@ -7,4 +7,4 @@ applications can use it with minimal ove OpenCT also has a primitive mechanism to export smart card readers to remote machines via tcp/ip. -WWW: http://www.opensc-project.org/openct/ +WWW: https://github.com/OpenSC/openct Modified: head/security/openct/pkg-plist ============================================================================== --- head/security/openct/pkg-plist Tue May 13 12:26:47 2014 (r353942) +++ head/security/openct/pkg-plist Tue May 13 12:32:51 2014 (r353943) @@ -17,19 +17,16 @@ include/openct/tlv.h include/openct/types.h include/openct/ctapi.h lib/libopenct.a -lib/libopenct.la lib/libopenct.so lib/libopenct.so.1 +lib/libopenct.so.1.0.0 lib/libopenctapi.a -lib/libopenctapi.la lib/libopenctapi.so %%PCSC%%lib/openct-ifd.a -%%PCSC%%lib/openct-ifd.la %%PCSC%%lib/openct-ifd.so libdata/pkgconfig/libopenct.pc +man/man1/openct-tool.1.gz sbin/ifdhandler sbin/ifdproxy sbin/openct-control -%%EXAMPLESDIR%%/etoken.conf @dirrm include/openct -@dirrm %%EXAMPLESDIR%%