View | Details | Raw Unified | Return to bug 220383 | Differences between
and this patch

Collapse All | Expand All

(-)b/security/opensc/Makefile (-33 / +13 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	opensc
4
PORTNAME=	opensc
5
PORTVERSION=	0.16.0
5
PORTVERSION=	0.16.0
6
PORTREVISION=	1
6
CATEGORIES=	security devel
7
CATEGORIES=	security devel
7
MASTER_SITES=	SF/${PORTNAME}/OpenSC/${DISTNAME}
8
MASTER_SITES=	SF/${PORTNAME}/OpenSC/${DISTNAME}
8
9
Lines 15-20 OPTIONS_SINGLE= BACKEND Link Here
15
OPTIONS_SINGLE_BACKEND=PCSC OPENCT CTAPI
16
OPTIONS_SINGLE_BACKEND=PCSC OPENCT CTAPI
16
OPTIONS_DEFINE=	SM DOCS MANPAGES
17
OPTIONS_DEFINE=	SM DOCS MANPAGES
17
OPTIONS_DEFAULT=PCSC SM MANPAGES
18
OPTIONS_DEFAULT=PCSC SM MANPAGES
19
OPTIONS_SUB=	yes
18
20
19
PCSC_DESC=	Use PC/SC backend
21
PCSC_DESC=	Use PC/SC backend
20
OPENCT_DESC=	Use OpenCT backend
22
OPENCT_DESC=	Use OpenCT backend
Lines 32-37 CONFIGURE_ENV= \ Link Here
32
34
33
PORTDOCS=	*
35
PORTDOCS=	*
34
36
37
MANPAGES_CONFIGURE_ARGS_OFF=--disable-man
38
39
OPENCT_LIB_DEPENDS=	libopenct.so:security/openct
40
OPENCT_CONFIGURE_ARGS=	--enable-openct
41
42
PCSC_LIB_DEPENDS=	libpcsclite.so:devel/pcsc-lite
43
PCSC_CONFIGURE_ARGS_OFF=	--disable-pcsc
44
CTAPI_CONFIGURE_ARGS=	--enable-ctapi
45
SM_CONFIGURE_ARGS_OFF=	--disable-sm
46
DOCS_CONFIGURE_ARGS+=--enable-doc
47
35
.include <bsd.port.options.mk>
48
.include <bsd.port.options.mk>
36
49
37
.if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MMANPAGES}
50
.if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MMANPAGES}
Lines 44-80 CONFIGURE_ENV+= XSLTPROC="${FALSE}" Link Here
44
CONFIGURE_ARGS+=--without-xsl-stylesheetsdir
57
CONFIGURE_ARGS+=--without-xsl-stylesheetsdir
45
.endif
58
.endif
46
59
47
.if ${PORT_OPTIONS:MMANPAGES}
48
PLIST_SUB+=	MANPAGES=""
49
.else
50
CONFIGURE_ARGS+=--disable-man
51
PLIST_SUB+=	MANPAGES="@comment "
52
.endif
53
54
.if ${PORT_OPTIONS:MOPENCT}
55
LIB_DEPENDS+=	libopenct.so:security/openct
56
CONFIGURE_ARGS+=--enable-openct
57
.endif
58
59
.if ${PORT_OPTIONS:MPCSC}
60
LIB_DEPENDS+=	libpcsclite.so:devel/pcsc-lite
61
.else
62
CONFIGURE_ARGS+=--disable-pcsc
63
.endif
64
65
.if ${PORT_OPTIONS:MCTAPI}
66
CONFIGURE_ARGS+=--enable-ctapi
67
.endif
68
69
.if ${PORT_OPTIONS:MSM}
70
PLIST_SUB+=	SM=""
71
.else
72
CONFIGURE_ARGS+=--disable-sm
73
PLIST_SUB+=	SM="@comment "
74
.endif
75
76
.if ${PORT_OPTIONS:MDOCS}
77
CONFIGURE_ARGS+=--enable-doc
78
.endif
79
80
.include <bsd.port.mk>
60
.include <bsd.port.mk>
(-)b/security/opensc/files/patch-etc_Makefile.in (-1 / +1 lines)
Lines 9-15 Link Here
9
-	else \
9
-	else \
10
-		$(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf"; \
10
-		$(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf"; \
11
-	fi
11
-	fi
12
+	$(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf-sample"
12
+	$(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf.sample"
13
 
13
 
14
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
14
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
15
 # Otherwise a system limit (for SysV at least) may be exceeded.
15
 # Otherwise a system limit (for SysV at least) may be exceeded.
(-)b/security/opensc/pkg-plist (-1 / +1 lines)
Lines 32-38 etc/bash_completion.d/pkcs15-init Link Here
32
etc/bash_completion.d/pkcs15-tool
32
etc/bash_completion.d/pkcs15-tool
33
etc/bash_completion.d/sc-hsm-tool
33
etc/bash_completion.d/sc-hsm-tool
34
etc/bash_completion.d/westcos-tool
34
etc/bash_completion.d/westcos-tool
35
etc/opensc.conf-sample
35
@sample etc/opensc.conf.sample
36
lib/libopensc.a
36
lib/libopensc.a
37
lib/libopensc.so
37
lib/libopensc.so
38
lib/libopensc.so.4
38
lib/libopensc.so.4

Return to bug 220383