head	1.50;
access;
symbols
	RELEASE_8_3_0:1.48
	RELEASE_9_0_0:1.48
	RELEASE_7_4_0:1.46
	RELEASE_8_2_0:1.46
	RELEASE_6_EOL:1.43
	RELEASE_8_1_0:1.43
	RELEASE_7_3_0:1.41
	RELEASE_8_0_0:1.38
	RELEASE_7_2_0:1.35
	RELEASE_7_1_0:1.33
	RELEASE_6_4_0:1.33
	RELEASE_5_EOL:1.30
	RELEASE_7_0_0:1.27
	RELEASE_6_3_0:1.27
	PRE_XORG_7:1.24
	RELEASE_4_EOL:1.24
	RELEASE_6_2_0:1.23
	RELEASE_6_1_0:1.20
	RELEASE_5_5_0:1.20
	RELEASE_6_0_0:1.14
	RELEASE_5_4_0:1.13
	RELEASE_4_11_0:1.11
	RELEASE_5_3_0:1.11
	RELEASE_4_10_0:1.11
	RELEASE_5_2_1:1.7
	RELEASE_5_2_0:1.7
	RELEASE_4_9_0:1.7
	RELEASE_5_1_0:1.4
	RELEASE_4_8_0:1.3;
locks; strict;
comment	@# @;


1.50
date	2012.12.05.10.25.44;	author svnexp;	state Exp;
branches;
next	1.49;

1.49
date	2012.11.17.06.01.09;	author svnexp;	state Exp;
branches;
next	1.48;

1.48
date	2011.08.09.10.43.53;	author ale;	state Exp;
branches;
next	1.47;

1.47
date	2011.06.09.07.04.13;	author ale;	state Exp;
branches;
next	1.46;

1.46
date	2010.12.27.09.55.39;	author ale;	state Exp;
branches;
next	1.45;

1.45
date	2010.12.22.19.16.12;	author dougb;	state Exp;
branches;
next	1.44;

1.44
date	2010.12.04.07.33.29;	author ade;	state Exp;
branches;
next	1.43;

1.43
date	2010.06.28.07.40.41;	author ale;	state Exp;
branches;
next	1.42;

1.42
date	2010.06.14.00.42.52;	author dougb;	state Exp;
branches;
next	1.41;

1.41
date	2010.02.16.11.22.29;	author ale;	state Exp;
branches;
next	1.40;

1.40
date	2009.12.30.08.34.32;	author ale;	state Exp;
branches;
next	1.39;

1.39
date	2009.10.27.06.57.32;	author ale;	state Exp;
branches;
next	1.38;

1.38
date	2009.08.02.19.35.31;	author mezz;	state Exp;
branches;
next	1.37;

1.37
date	2009.07.29.07.53.20;	author ale;	state Exp;
branches;
next	1.36;

1.36
date	2009.05.12.06.37.13;	author ale;	state Exp;
branches;
next	1.35;

1.35
date	2009.03.10.11.55.54;	author ale;	state Exp;
branches;
next	1.34;

1.34
date	2009.01.10.02.45.40;	author mezz;	state Exp;
branches;
next	1.33;

1.33
date	2008.08.28.06.21.53;	author ale;	state Exp;
branches;
next	1.32;

1.32
date	2008.08.27.09.27.02;	author ale;	state Exp;
branches;
next	1.31;

1.31
date	2008.08.26.15.39.09;	author ale;	state Exp;
branches;
next	1.30;

1.30
date	2008.04.19.17.53.27;	author miwi;	state Exp;
branches;
next	1.29;

1.29
date	2008.03.22.08.55.36;	author miwi;	state Exp;
branches;
next	1.28;

1.28
date	2008.01.17.13.17.25;	author ale;	state Exp;
branches;
next	1.27;

1.27
date	2007.09.10.18.57.00;	author ale;	state Exp;
branches;
next	1.26;

1.26
date	2007.07.23.09.36.31;	author rafan;	state Exp;
branches;
next	1.25;

1.25
date	2007.07.17.09.22.46;	author ale;	state Exp;
branches;
next	1.24;

1.24
date	2006.11.28.07.00.17;	author ale;	state Exp;
branches;
next	1.23;

1.23
date	2006.06.12.21.30.00;	author ale;	state Exp;
branches;
next	1.22;

1.22
date	2006.06.12.16.55.49;	author ale;	state Exp;
branches;
next	1.21;

1.21
date	2006.05.13.04.15.09;	author edwin;	state Exp;
branches;
next	1.20;

1.20
date	2006.02.23.10.39.03;	author ade;	state Exp;
branches;
next	1.19;

1.19
date	2006.02.07.11.40.12;	author simon;	state Exp;
branches;
next	1.18;

1.18
date	2006.01.15.20.51.06;	author simon;	state Exp;
branches;
next	1.17;

1.17
date	2005.12.12.21.53.38;	author bms;	state Exp;
branches;
next	1.16;

1.16
date	2005.11.15.06.51.02;	author ade;	state Exp;
branches;
next	1.15;

1.15
date	2005.09.15.00.05.57;	author pav;	state Exp;
branches;
next	1.14;

1.14
date	2005.04.20.12.42.05;	author arved;	state Exp;
branches;
next	1.13;

1.13
date	2005.01.18.16.20.05;	author bms;	state Exp;
branches;
next	1.12;

1.12
date	2005.01.14.15.08.22;	author bms;	state Exp;
branches;
next	1.11;

1.11
date	2004.02.23.22.03.30;	author kris;	state Exp;
branches;
next	1.10;

1.10
date	2004.02.22.01.11.49;	author bms;	state Exp;
branches;
next	1.9;

1.9
date	2004.02.04.05.08.49;	author marcus;	state Exp;
branches;
next	1.8;

1.8
date	2003.12.10.12.55.35;	author bms;	state Exp;
branches;
next	1.7;

1.7
date	2003.09.09.04.31.48;	author edwin;	state Exp;
branches;
next	1.6;

1.6
date	2003.08.14.22.12.22;	author kuriyama;	state Exp;
branches;
next	1.5;

1.5
date	2003.07.28.06.02.45;	author daichi;	state Exp;
branches;
next	1.4;

1.4
date	2003.04.05.22.11.37;	author kris;	state Exp;
branches;
next	1.3;

1.3
date	2003.02.24.02.56.36;	author edwin;	state Exp;
branches;
next	1.2;

1.2
date	2003.02.21.13.26.49;	author knu;	state Exp;
branches;
next	1.1;

1.1
date	2003.01.08.12.02.38;	author perky;	state Exp;
branches;
next	;


desc
@@


1.50
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308321
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308321 | ale | 2012-12-05 10:22:18 +0000 (Wed, 05 Dec 2012) | 4 lines
## SVN ##
## SVN ## Update to 0.13.0 release.
## SVN ##
## SVN ## Feature safe:	yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: Bruce M Simpson
# $FreeBSD: head/security/opensc/Makefile 308321 2012-12-05 10:22:18Z ale $

PORTNAME=	opensc
PORTVERSION=	0.13.0
CATEGORIES=	security devel
MASTER_SITES=	SF/${PORTNAME}/OpenSC/${DISTNAME}

MAINTAINER=	ale@@FreeBSD.org
COMMENT=	Libraries and utilities to access smart cards

LICENSE=	LGPL21

BUILD_DEPENDS=	xsltproc:${PORTSDIR}/textproc/libxslt \
		${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl

OPTIONS_SINGLE=	BACKEND
OPTIONS_SINGLE_BACKEND=PCSC OPENCT CTAPI
OPTIONS_DEFINE=	SM DOCS
OPTIONS_DEFAULT=PCSC

PCSC_DESC=	Use PC/SC backend
OPENCT_DESC=	Use OpenCT backend
CTAPI_DESC=	Use CT-API backend
SM_DESC=	Enable secure messaging support

USE_OPENSSL=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
USE_PKGCONFIG=	build
USE_LDCONFIG=	yes

CONFIGURE_ENV=	\
		OPENSSL_CFLAGS="-I${OPENSSLINC}" \
		OPENSSL_LIBS="-L${OPENSSLLIB} -lssl" \
		XSLTPROC="${LOCALBASE}/bin/xsltproc"

CONFIGURE_ARGS=	--with-xsl-stylesheetsdir=${LOCALBASE}/share/xsl/docbook

PORTDOCS=	*

MANCOMPRESSED=	no
MAN1=		cardos-tool.1 cryptoflex-tool.1 eidenv.1 iasecc-tool.1 \
		netkey-tool.1 openpgp-tool.1 \
		opensc-explorer.1 opensc-tool.1 piv-tool.1 \
		pkcs11-tool.1 pkcs15-crypt.1 pkcs15-init.1 pkcs15-tool.1 \
		sc-hsm-tool.1 westcos-tool.1
MAN5=		pkcs15-profile.5

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MOPENCT}
LIB_DEPENDS+=	openct:${PORTSDIR}/security/openct
CONFIGURE_ARGS+=--enable-openct
.endif

.if ${PORT_OPTIONS:MPCSC}
LIB_DEPENDS+=	pcsclite:${PORTSDIR}/devel/pcsc-lite
.else
CONFIGURE_ARGS+=--disable-pcsc
.endif

.if ${PORT_OPTIONS:MCTAPI}
CONFIGURE_ARGS+=--enable-ctapi
.endif

.if ${PORT_OPTIONS:MSM}
CONFIGURE_ARGS+=--enable-sm
PLIST_SUB+=	SM=""
.else
PLIST_SUB+=	SM="@@comment "
.endif

.if ${PORT_OPTIONS:MDOCS}
CONFIGURE_ARGS+=--enable-doc
.endif

post-patch:
	@@${REINPLACE_CMD} 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' \
		${WRKSRC}/configure
.if ! ${PORT_OPTIONS:MDOCS}
	@@${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \
		${WRKSRC}/Makefile.in
	@@${REINPLACE_CMD} 's|install-data-am: install-htmlDATA install-man|install-data-am: install-man|' \
		${WRKSRC}/doc/Makefile.in ${WRKSRC}/doc/tools/Makefile.in
.endif

post-install:
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.49
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	opensc
# Date created:		10 September 2002
# Whom:			Bruce M Simpson
#
# $FreeBSD: head/security/opensc/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d5 1
a5 1
PORTVERSION=	0.12.2
d7 1
a7 2
MASTER_SITES=	http://www.opensc-project.org/files/${PORTNAME}/ \
		http://www.opensc-project.org/files/${PORTNAME}/testing/
d12 2
d17 9
a25 6
OPTIONS=	PCSC "Enable PC/SC backend support" on \
		OPENCT "Enable direct OpenCT backend support" off \
		CTAPI "Enable CT-API backend support" off

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING
d30 1
a30 1
USE_GNOME=	pkgconfig
d43 2
a44 1
MAN1=		cardos-tool.1 cryptoflex-tool.1 eidenv.1 netkey-tool.1 \
d47 1
a47 1
		westcos-tool.1
d52 2
a53 2
.if defined(WITH_OPENCT)
LIB_DEPENDS+=	openct.1:${PORTSDIR}/security/openct
d57 2
a58 2
.if !defined(WITHOUT_PCSC)
LIB_DEPENDS+=	pcsclite.1:${PORTSDIR}/devel/pcsc-lite
d63 1
a63 1
.if defined(WITH_CTAPI)
d67 8
a74 1
.ifndef(NOPORTDOCS)
d81 1
a81 1
.ifdef(NOPORTDOCS)
d85 1
a85 1
		${WRKSRC}/doc/Makefile.in
@


1.48
log
@Update to 0.12.2 release.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.47
log
@Update to 0.12.1 release.
@
text
@d9 1
a9 1
PORTVERSION=	0.12.1
@


1.46
log
@Update OpenSC to 0.12.0 release.
@
text
@d9 1
a9 1
PORTVERSION=	0.12.0
a26 1
USE_AUTOTOOLS=	libltdl
d33 1
a33 2
CONFIGURE_ENV=	LTLIB_CFLAGS="-I${LOCALBASE}/include" \
		LTLIB_LIBS="-L${LOCALBASE}/lib -lltdl" \
d43 2
a44 2
MAN1=		cardos-tool.1 cryptoflex-tool.1 netkey-tool.1 \
		opensc-explorer.1 opensc-tool.1 \
@


1.45
log
@Update libassuan to version 2.0.1:

* Input and output notification handler can now really access the
  parsed fd as stated in the manual.

* Cleaned up the logging.

Bump PORTREVISION and libassuan version number in related ports
@
text
@d9 1
a9 2
PORTVERSION=	0.11.13
PORTREVISION=	2
d17 6
a22 3
OPTIONS=	OPENCT "Enable direct OpenCT backend support" on \
		PCSC "Enable PC/SC backend support" off \
		SIGNER "Enable signer browser plugin" off
a27 1
USE_ICONV=	yes
a35 2
		ICONV_CFLAGS="-I${LOCALBASE}/include" \
		ICONV_LIBS="-L${LOCALBASE}/lib -liconv" \
d37 4
a40 1
		OPENSSL_LIBS="-L${OPENSSLLIB} -lssl"
d46 1
a46 1
		opensc-config.1 opensc-explorer.1 opensc-tool.1 \
a48 20
MAN3=		sc_app_info_t.3 sc_append_record.3 sc_asn1_decode.3 \
		sc_asn1_encode.3 sc_asn1_entry.3 sc_asn1_find_tag.3 \
		sc_asn1_print_tags.3 sc_asn1_put_tag.3 sc_asn1_read_tag.3 \
		sc_asn1_skip_tag.3 sc_asn1_verify_tag.3 sc_base64_decode.3 \
		sc_base64_encode.3 sc_card_ctl.3 sc_card_t.3 \
		sc_card_valid.3 sc_check_sw.3 sc_connect_card.3 \
		sc_copy_asn1_entry.3 sc_create_file.3 sc_delete_file.3 \
		sc_delete_record.3 sc_der_clear.3 sc_der_copy.3 \
		sc_detect_card_presence.3 sc_disconnect_card.3 \
		sc_enum_apps.3 sc_establish_context.3 sc_file_dup.3 \
		sc_file_free.3 sc_file_new.3 sc_file_t.3 \
		sc_find_app_by_aid.3 sc_find_pkcs15_app.3 sc_format_apdu.3 \
		sc_format_asn1_entry.3 sc_free_apps.3 sc_get_cache_dir.3 \
		sc_get_challenge.3 sc_get_data.3 sc_list_files.3 \
		sc_lock.3 sc_make_cache_dir.3 sc_put_data.3 \
		sc_read_binary.3 sc_read_record.3 sc_release_context.3 \
		sc_select_file.3 sc_set_card_driver.3 sc_strerror.3 \
		sc_transmit_apdu.3 sc_unlock.3 sc_update_binary.3 \
		sc_update_dir.3 sc_update_record.3 sc_wait_for_event.3 \
		sc_write_binary.3 sc_write_record.3
d51 1
a51 1
.include <bsd.port.pre.mk>
d53 1
a53 1
.if !defined(WITHOUT_OPENCT)
d58 1
a58 1
.if defined(WITH_PCSC)
d60 2
a61 1
CONFIGURE_ARGS+=--enable-pcsc
d64 2
a65 17
.if defined(WITH_SIGNER)
LIB_DEPENDS+=	assuan.1:${PORTSDIR}/security/libassuan
PINENTRY?=	${LOCALBASE}/bin/pinentry
PINENTRY_PORT?=	security/pinentry
RUN_DEPENDS+=	pinentry:${PORTSDIR}/${PINENTRY_PORT}
USE_XORG=	x11 xt
CONFIGURE_ARGS+=--enable-nsplugin \
		--with-libassuan-prefix=${LOCALBASE} \
		--with-plugindir=${WEBPLUGINS_DIR} \
		--with-pinentry=${PINENTRY}
PLIST_SUB+=	SIGNER=""

USE_WEBPLUGINS=	gecko*
WEBPLUGINS_FILES=opensc-signer.so
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
.else
PLIST_SUB+=	SIGNER="@@comment "
a74 6
	@@${REINPLACE_CMD} 's|tmp=1:0\.9\.2|tmp=2:2.0.0|' \
		${WRKSRC}/configure
.if !defined(WITH_SIGNER)
	@@${REINPLACE_CMD} 's|install-data-am: install-pluginDATA|install-data-am:|' \
		${WRKSRC}/src/signer/Makefile.in
.endif
d78 1
a78 1
	@@${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA install-dist_htmlDATA|install-data-am:|' \
d85 1
a85 1
.include <bsd.port.post.mk>
@


1.44
log
@Sync to new bsd.autotools.mk
@
text
@d10 1
a10 1
PORTREVISION=	1
d82 1
a82 1
LIB_DEPENDS+=	assuan.0:${PORTSDIR}/security/libassuan
@


1.43
log
@Even if opensc 0.12.x will drop signer plugin, update it to use libassuan2.

PR:		ports/148164
Submitted by:	lioux
Feature safe:	yes
@
text
@d25 1
a25 1
USE_AUTOTOOLS=	libltdl:22
@


1.42
log
@Update security/libassuan to version 2.0.0, which is required by gnupg 2.0.15

Unfortunately version 2.0.0 is largely incompatible with version 1.x, so it
is necessary to have a stopgap measure while ports that depend on libassuan
can be updated. In conversation with the maintainers of the dependent ports
it was originally considered ideal to prepare updates for the ports first,
then upgrade everything to libassuan 2.x en masse. Since no action has
arisen on that front, go with plan B:

Copy security/libassuan to security/libassuan-1, and update the dependent
ports accordingly. Because this is (intended to be) a _temporary_ measure,
and because no updates for libassuan 1.x are anticipated, and because the
hope is that it can be removed sooner rather than later, it's a copy instead
of a repocopy.
@
text
@d22 3
d82 1
a82 1
BUILD_DEPENDS+=	${LOCALBASE}/lib/libassuan.a:${PORTSDIR}/security/libassuan-1
d86 1
a86 1
USE_XORG=	x11
d107 2
@


1.41
log
@Update to 0.11.13 release.

Feature safe:	yes
@
text
@d10 1
d79 1
a79 1
BUILD_DEPENDS+=	${LOCALBASE}/lib/libassuan.a:${PORTSDIR}/security/libassuan
@


1.40
log
@Update to 0.11.12 release.
@
text
@d9 1
a9 1
PORTVERSION=	0.11.12
@


1.39
log
@Update to 0.11.11 release.
@
text
@d9 1
a9 1
PORTVERSION=	0.11.11
@


1.38
log
@-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
@
text
@d9 1
a9 2
PORTVERSION=	0.11.9
PORTREVISION=	1
d41 2
a42 1
		pkcs11-tool.1 pkcs15-crypt.1 pkcs15-init.1 pkcs15-tool.1
@


1.37
log
@Update to 0.11.9 release.
@
text
@d10 1
d22 1
a22 1
USE_AUTOTOOLS=	libltdl:15
@


1.36
log
@Update to 0.11.8 release.
@
text
@d9 1
a9 1
PORTVERSION=	0.11.8
@


1.35
log
@Update to 0.11.7 release.
@
text
@d9 1
a9 1
PORTVERSION=	0.11.7
@


1.34
log
@Add a new framework for browser plugins, USE_WEBPLUGINS. It is for which foo
plugins support one of web browsers and can take care of plist (depend on how
you use it) at the same time. I have written a complete document and even show
how it works in the www/firefox/Makefile.webplugins so be sure to read in
there. If there is anything that isn't clear in the document, please feel free
to ask and I will try my best to improvement it.

FYI: GNOME 2.24 depends on this, so it's coming.

BTW: It's based on www/linux-mplayer-plugin/Makefile.npapi with heavy modified.

Approved by:	portmgr
@
text
@d9 1
a9 2
PORTVERSION=	0.11.6
PORTREVISION=	1
d22 1
d31 2
d39 1
a39 1
MAN1=		cardos-info.1 cryptoflex-tool.1 netkey-tool.1 \
@


1.33
log
@Cosmetic fixes.
@
text
@d10 1
d82 1
a82 1
		--with-plugindir=${LOCALBASE}/lib/browser_plugins \
d85 4
@


1.32
log
@Update to 0.11.6 release.
@
text
@d70 1
a70 2
CONFIGURE_ARGS+=--enable-pcsc \
		--with-pcsc-provider=${LOCALBASE}/lib/libpcsclite.so
@


1.31
log
@Update to 0.11.5 release.
@
text
@d9 1
a9 1
PORTVERSION=	0.11.5
@


1.30
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@d9 1
a9 2
DISTVERSION=	0.11.4
PORTREVISION=	2
d25 1
a25 1
USE_GNOME=	gnomehack pkgconfig
d28 2
a29 5
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" \
		LDFLAGS="${LDFLAGS}" \
a32 2
DOC_FILES=	README *.sh *.xsl *.css *.html api html tools

d65 1
a65 2
.else
CONFIGURE_ARGS+=--disable-openct
d70 2
a71 2
.else
CONFIGURE_ARGS+=--disable-pcsc-lite
d80 4
a83 3
CONFIGURE_ARGS+=--with-libassuan-prefix=${LOCALBASE} \
		--with-plugin-dir=${LOCALBASE}/lib/browser_plugins \
		--with-pin-entry=${PINENTRY}
a85 1
CONFIGURE_ARGS+=--disable-nsplugin
a88 2
post-install:
	${INSTALL_DATA} ${WRKSRC}/etc/opensc.conf ${PREFIX}/etc/opensc.conf-sample
d90 1
a90 2
	@@${MKDIR} ${DOCSDIR}
	@@(cd ${WRKSRC}/doc && ${CP} -R ${DOC_FILES} ${DOCSDIR})
d92 16
@


1.29
log
@- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Bump PORTREVISION

Approved by:	portmgr (xorg cleanup)
@
text
@d27 1
a27 1
INSTALLS_SHLIB=	yes
d29 2
a30 2
CPPFLAGS+=	-I${LOCALBASE}/include -I${X11BASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib -I${X11BASE}/lib
@


1.28
log
@CKA_CERTIFICATE_TYPE value is CK_ULONG.
This fixes storing certificates on 64-bit platforms.
@
text
@d10 1
a10 1
PORTREVISION=	1
d86 1
a86 1
USE_XLIB=	yes
@


1.27
log
@Update to 0.11.4 release.
@
text
@d10 1
@


1.26
log
@- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
  supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
@
text
@d9 1
a9 1
DISTVERSION=	0.11.3
d19 1
a19 1
		SIGNER "Install signer browser plugin" off
d80 1
a80 1
.if defined(WITH_SIGNER) || exists(${LOCALBASE}/lib/libassuan.a)
d91 1
@


1.25
log
@Update to 0.11.3 release.
@
text
@a35 2
CONFIGURE_ARGS=	--mandir=${PREFIX}/man

@


1.24
log
@Update to 0.11.2-pre3 release:
- add optional signer plugin
- fix build when libassuan is installed
@
text
@d9 1
a9 1
DISTVERSION=	0.11.2-pre3
d17 2
a18 2
OPTIONS=	OPENCT "Install openct for direct OpenCT backend support" on \
		PCSC "Install pcsc-lite for PC/SC backend support" off \
d70 1
a70 1
.if !defined(WITHOUT_OPENCT) || exists(${LOCALBASE}/lib/libopenct.so)
d72 2
d76 1
a76 1
.if defined(WITH_PCSC) || exists(${LOCALBASE}/lib/libpcsclite.so)
d78 2
@


1.23
log
@Really grab maintainership.
@
text
@d9 1
a9 1
PORTVERSION=	0.11.1
d11 2
a12 1
MASTER_SITES=	http://www.opensc-project.org/files/${PORTNAME}/
d18 2
a19 1
		PCSC "Install pcsc-lite for PC/SC backend support" off
d28 2
a29 2
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
d36 2
d78 14
@


1.22
log
@Update to 0.11.1 release:
- OPTIONS'ify
- take maintainership

Approved by:	maintainer
@
text
@d13 1
a13 1
MAINTAINER=	simon@@FreeBSD.org
@


1.21
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d9 1
a9 2
PORTVERSION=	0.9.6
PORTREVISION=	1
d11 1
a11 1
MASTER_SITES=	http://www.opensc-project.org/files/opensc/
d14 1
a14 1
COMMENT=	ISO 7816 Smartcard API
d16 4
a19 2
USE_GNOME=	pkgconfig
INSTALLS_SHLIB=	yes
d23 5
d29 4
a32 21
MANCOMPRESSED=	no
MAN1=	pkcs15-crypt.1 pkcs15-init.1 pkcs15-tool.1 opensc-tool.1 \
	opensc-explorer.1 opensc-config.1 cryptoflex-tool.1 \
	pkcs11-tool.1 cardos-info.1
MAN3=	sc_select_file.3 sc_release_context.3 sc_read_record.3 \
	sc_read_binary.3 sc_pkcs15_compute_signature.3 sc_lock.3 \
	sc_list_files.3 sc_file_new.3 sc_file_free.3 sc_file.3 \
	sc_establish_context.3 sc_disconnect_card.3 \
	sc_detect_card_presence.3 sc_connect_card.3
MAN5=	pkcs15-profile.5
MAN7=	pkcs15.7 opensc.7

# Compilation Options
#
# Define boolean switches:
# WITHOUT_PAM WITHOUT_PCSC_LITE WITHOUT_LDAP
# WITH_DEBUG WITH_DOCBOOK WITH_FIREFOX_PLUGIN WITH_MOZILLA_PLUGIN
#
# Default: WITH_PAM, WITH_PCSC_LITE, WITH_LDAP.
#
CONFIGURE_ARGS=		--prefix=${PREFIX} --disable-dependency-tracking
d34 1
a34 3
.if !defined(WITHOUT_PAM)
CONFIGURE_ARGS+=	--with-pam
.endif
d36 1
a36 4
.if !defined(WITHOUT_PCSC_LITE)
LIB_DEPENDS+=		pcsclite.1:${PORTSDIR}/devel/pcsc-lite
CONFIGURE_ARGS+=	--with-pcsclite=${LOCALBASE}
.endif
d38 25
a62 10
.if !defined(WITHOUT_LDAP)
USE_OPENLDAP=		yes
CONFIGURE_ARGS+=	--enable-ldap			\
			--with-ldap-lib=openldap	\
			--with-ldap-dir=${LOCALBASE}
PLIST_SUB+=		LDAP=""
.else
CONFIGURE_ARGS+=	--disable-ldap
PLIST_SUB+=		LDAP="@@comment "
.endif
d64 1
a64 9
.if defined(WITH_FIREFOX_PLUGIN)
RUN_DEPENDS?=		firefox:${PORTSDIR}/www/firefox
PLUGIN_DIR?=		lib/firefox/plugins
CONFIGURE_ARGS+=	--with-plugin-dir="${PREFIX}/${PLUGIN_DIR}"
.elif defined(WITH_MOZILLA_PLUGIN)
RUN_DEPENDS?=		mozilla:${PORTSDIR}/www/mozilla
PLUGIN_DIR?=		lib/browser_plugins
CONFIGURE_ARGS+=	--with-plugin-dir="${PREFIX}/${PLUGIN_DIR}"
.endif
d66 2
a67 2
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=	--enable-debug
d70 2
a71 2
.if !defined(WITH_DOCBOOK)
CONFIGURE_ARGS+=	--without-docbook
d74 5
a78 4
.if defined(WITH_OPENCT)
CONFIGURE_ARGS+=	--with-openct=${LOCALBASE}
RUN_DEPENDS+=		openct-tool:${PORTSDIR}/security/openct
BUILD_DEPENDS+=		${RUN_DEPENDS}
d80 1
a80 6

.include <bsd.port.pre.mk>
#
#
#post-patch:
#	${REINPLACE_CMD} -e "s,ulong,u_long," ${WRKSRC}/src/openscd/openscd.c
@


1.20
log
@Conversion to a single libtool environment.

Approved by:	portmgr (kris)
@
text
@a21 1
USE_REINPLACE=	yes
@


1.19
log
@Case MASTER_SITES redirect as reported by the Distfiles survey.
@
text
@d10 1
a20 1
USE_AUTOTOOLS=	libtool:15
@


1.18
log
@- Fix MASTER_SITE (distfile has moved).
- Grab this port since I recently started using opensc, and I'm
  currently working on upgrading the port to the latest version.
@
text
@d11 1
a11 1
MASTER_SITES=	http://www.opensc.org/files/opensc/
@


1.17
log
@Drop maintainership for ports which I sadly no longer have
the time, hardware, or resources to maintain.
@
text
@d11 1
a11 1
MASTER_SITES=	http://www.opensc.org/files/
d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
@


1.16
log
@Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
@
text
@d13 1
a13 1
MAINTAINER=	bms@@FreeBSD.org
@


1.15
log
@- Update to 0.9.6

PR:		ports/83453
Submitted by:	Janos Mohacsi <janos.mohacsi@@bsd.hu>
Approved by:	bms (maintainer; blanket)
@
text
@d20 1
a20 1
USE_LIBTOOL_VER=	15
@


1.14
log
@pcsc-lite:
- Upgrade to 1.2.9.b.7
- Use libtool15
- make hier(7)-compliant by moving the pcsc/drivers to lib/pcsc/drivers
- Compile with USB support per default. Use WITHOUT_USB to disable usb
  support
- Chase libusb shared library version (Forgotten by leeym)

Based on:	PR 76068
Reviewed by:	maintainer, sem (earlier patch)

ifd-devkit:
- Chase pcsclite sharedlibrary version

ifd-gempc410:
- Unbreak by updating to 0.9.3
- Move library to lib/pcsc/drivers
- Chase pcsclite sharedlibrary version
  NOTE: This was not tested, I don't own the specific hardware

ifd-gpr400:
- Chase pcsclite sharedlibrary version
- Fix build with new pcsc-lite
- Chase new pcsclite drivers location

ifd-slb_rf60:
- Chase pcsclite sharedlibrary version

ifd-test:
- Chase pcsclite sharedlibrary version
- Fix build with new pcsclite

libchipcard:
- Update to 0.9.1[1]
- Chase pcsclite shared library version
- Fix build with new pcsclite

[1]PR:			78815
[1]Submitted by:	lofi

opensc:
- Chase pcsclite shared library version
- Fix build on CURRENT

opensc-esteid
- Chase pcsclite shared library version
- Fix build with new pcsclite

p5-PCSC-Card:
- Update to 1.4.2
- Chase pcsclite shared library version
- Fix build with new pcsclite

ruby-pcsc-lite
- Mark broken, does not compile with new pcsc-lite
  Maintainer will work on new version

Submitted by:	maintainer
@
text
@d9 1
a9 2
PORTVERSION=	0.9.4
PORTREVSION=	1
d86 2
d91 4
a94 3

post-patch:
	${REINPLACE_CMD} -e "s,ulong,u_long," ${WRKSRC}/src/openscd/openscd.c
@


1.13
log
@Fix plist, unmark broken.
@
text
@d10 1
d23 1
d52 1
a52 1
LIB_DEPENDS+=		pcsclite.0:${PORTSDIR}/devel/pcsc-lite
d89 6
a94 1
.include <bsd.port.mk>
@


1.12
log
@Update to 0.9.4.
@
text
@d87 1
a87 7
.include <bsd.port.pre.mk>

.if ${ARCH} != "i386" && ${ARCH} != "sparc64"
BROKEN=		"Does not compile on !i386 and !sparc64"
.endif

.include <bsd.port.post.mk>
@


1.11
log
@BROKEN on !i386 and !sparc64: Does not compile
@
text
@d9 1
a9 2
PORTVERSION=	0.8.1
PORTREVISION=	1
d16 2
a17 3
RUN_DEPENDS=	${LOCALBASE}/bin/pkg-config:${PORTSDIR}/devel/pkgconfig

INSTALLS_SHLIB= yes
d20 1
d25 2
a26 1
	opensc-explorer.1 opensc-config.1 cryptoflex-tool.1
d39 1
a39 1
# WITH_USBTOKEN WITH_DOCBOOK WITH_MOZILLA
d48 1
d59 1
d62 15
d83 2
a84 6
# XXX USB token support doesn't work yet on FreeBSD. Accepting patches.
.if defined(WITH_USBTOKEN)
CONFIGURE_ARGS+=	--enable-usbtoken
.endif
.if defined(WITH_MOZILLA)
CONFIGURE_ARGS+=	--with-plugin-dir=${X11BASE}/lib/mozilla/plugins
@


1.10
log
@Heed USE_OPENLDAP.
@
text
@d74 7
a80 1
.include <bsd.port.mk>
@


1.9
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d54 1
a54 7
WITH_OPENLDAP_VER?=	21
.if ${WITH_OPENLDAP_VER} == "21"
LIB_DEPENDS+=	ldap.2:${PORTSDIR}/net/openldap21-client
.elif ${WITH_OPENLDAP_VER} == "20"
LIB_DEPENDS+=	ldap.2:${PORTSDIR}/net/openldap20-client
.endif

@


1.8
log
@Maintenance update of OpenSC to 0.8.1. USB token support is not yet enabled
for FreeBSD; patches for this will be graciously accepted.

Sponsored by:	Weyland-Yutani Corporation
@
text
@d10 1
@


1.7
log
@Fix MASTER_SITE

Submitted by:	EvilBMS@@#bsdcode
@
text
@d3 1
a3 1
# Whom:			Bruce M Simpson <bms@@spc.org>
d9 1
a9 2
PORTVERSION=	0.7.0
PORTREVISION=	1
d11 1
a11 1
MASTER_SITES=	http://www.opensc.org/files/old/
d14 1
a14 1
COMMENT=	ISO 7816 Smartcard API Library (OpenSSH Compatible)
d16 1
a16 2
LIB_DEPENDS=	pcsclite.0:${PORTSDIR}/devel/pcsc-lite	\
		ldap.2:${PORTSDIR}/net/openldap20-client
d22 56
a77 8
CONFIGURE_ARGS=	--with-pcsclite=${LOCALBASE}	\
		--with-ldap-lib=openldap	\
		--with-ldap-dir=${LOCALBASE}	\
		--with-plugin-dir=${LOCALBASE}/share/opensc/plugins

MAN1=		pkcs15-crypt.1 pkcs15-init.1
MAN5=		pkcs15-profile.5
MAN7=		pkcs15.7
@


1.6
log
@Quick fix for INDEX build breakage by openldap2[012] split.
We should use net/openldap20/bsd.openldap.mk later...

Pointy hat to:	kuriyama
@
text
@d12 1
a12 1
MASTER_SITES=	http://www.opensc.org/files/
d14 1
a14 1
MAINTAINER=	bms@@spc.org
@


1.5
log
@fix security/opensc: fix mozilla plugin path

PR:		54909
Submitted by:	Bruce M Simpson <bms@@spc.org> (maintainer)
@
text
@d10 1
d18 1
a18 1
		ldap.2:${PORTSDIR}/net/openldap20
@


1.4
log
@BROKEN: Creates /usr/lib/mozilla
@
text
@a15 2
BROKEN=		"Creates /usr/lib/mozilla"

d25 2
a26 1
		--with-ldap-dir=${LOCALBASE}
@


1.3
log
@Point dependencies on net/openldap2 to net/openldap20
@
text
@d16 2
@


1.2
log
@De-pkg-comment.
@
text
@d17 1
a17 1
		ldap.2:${PORTSDIR}/net/openldap2
@


1.1
log
@Add opensc 0.7.0, ISO 7816 Smartcard API Library (OpenSSH Compatible).

PR:		42698
Submitted by:	Bruce M Simpson <bms@@spc.org>
@
text
@d14 1
@

