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

Collapse All | Expand All

(-)b/security/libpki/Makefile (-8 / +31 lines)
Lines 1-6 Link Here
1
PORTNAME=	libpki
1
PORTNAME=	libpki
2
DISTVERSIONPREFIX=	v
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	0.9.2
3
DISTVERSION=	0.9.2
4
PORTREVISION=	1
4
CATEGORIES=	security
5
CATEGORIES=	security
5
6
6
PATCH_SITES=	https://github.com/openca/libpki/commit/
7
PATCH_SITES=	https://github.com/openca/libpki/commit/
Lines 12-17 COMMENT= OpenCA PKI library (libpki) and tools Link Here
12
LICENSE=	APACHE20
13
LICENSE=	APACHE20
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
LICENSE_FILE=	${WRKSRC}/COPYING
14
15
16
NOT_FOR_ARCHS=	arm64
17
15
USES=		autoreconf gnome libtool ssl
18
USES=		autoreconf gnome libtool ssl
16
USE_GITHUB=	yes
19
USE_GITHUB=	yes
17
GH_ACCOUNT=	openca
20
GH_ACCOUNT=	openca
Lines 20-36 USE_LDCONFIG= yes Link Here
20
23
21
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
22
CONFIGURE_ARGS=	--disable-dependency-tracking \
25
CONFIGURE_ARGS=	--disable-dependency-tracking \
23
		--disable-dns \
26
		--disable-iphone
24
		--disable-iphone \
27
25
		--disable-ldap \
26
		--disable-mysql \
27
		--disable-pg
28
INSTALL_TARGET=	install-strip
28
INSTALL_TARGET=	install-strip
29
29
30
OPTIONS_DEFINE=		LDAP MYSQL PGSQL DNS
31
32
DNS_DESC=		"Enable DNS support"
33
LDAP_DESC=		"Enable LDAP support"
34
MYSQL_DESC=		"Enable MySQL support"
35
PGSQL_DESC=		"Enable PostgreSQL support"
36
37
DNS_CONFIGURE_ENABLE=	dns
38
LDAP_LIB_DEPENDS=	liblber.so:net/openldap24-client libldap_r.so:net/openldap24-client
39
LDAP_CONFIGURE_ENABLE=	ldap
40
LDAP_LDFLAGS+=		-llber
41
MYSQL_USES=		mysql
42
MYSQL_CONFIGURE_ENABLE=	mysql
43
PGSQL_USES=		pgsql
44
PGSQL_CONFIGURE_ENABLE=	pg
45
30
post-stage:
46
post-stage:
31
	${MV} ${STAGEDIR}${PREFIX}/etc/pki.conf ${STAGEDIR}${PREFIX}/etc/pki.conf.sample; \
47
	${MKDIR} ${STAGEDIR}${PREFIX}/share/libpki/etc; \
32
	for f in $$(find ${STAGEDIR}${PREFIX}/etc/libpki -type f); do \
48
	${MKDIR} ${STAGEDIR}${PREFIX}/share/libpki/etc/libpki; \
33
		${MV} $$f $$f.sample; \
49
	${MKDIR} ${STAGEDIR}${PREFIX}/share/libpki/etc/libpki/hsm.d; \
50
	${MKDIR} ${STAGEDIR}${PREFIX}/share/libpki/etc/libpki/profile.d; \
51
	${MKDIR} ${STAGEDIR}${PREFIX}/share/libpki/etc/libpki/store.d; \
52
	${MKDIR} ${STAGEDIR}${PREFIX}/share/libpki/etc/libpki/token.d; \
53
	${MV} ${STAGEDIR}${PREFIX}/etc/pki.conf ${STAGEDIR}${PREFIX}/share/libpki/etc/pki.conf.sample; \
54
	cd ${STAGEDIR}${PREFIX}/etc/libpki; \
55
	for f in $$(find * -type f); do \
56
		${MV} ${STAGEDIR}${PREFIX}/etc/libpki/$$f ${STAGEDIR}${PREFIX}/share/libpki/etc/libpki/$$f.sample; \
34
	done; \
57
	done; \
35
	${RM} -rf ${STAGEDIR}${PREFIX}/include/internal
58
	${RM} -rf ${STAGEDIR}${PREFIX}/include/internal
36
59
(-)b/security/libpki/pkg-message (+17 lines)
Added Link Here
1
[
2
{ type: install,
3
  message: <<EOM
4
  Sample Configuration files have been installed in $PREFIX/share/libpki/etc, in a
5
  hierachy that mimics the one created in $PREFIX/etc.
6
  They may be used as templates to be copied into the corresponding subdirectory
7
  under $PREFIX/etc and customized according to user context.
8
  EOM
9
}
10
{
11
  type: remove
12
  message: <<EOM
13
  User-installed configuration files under $PREFIX/etc/libpki have been preserved and
14
  must be removed manually if needed, as well as this directory. 
15
  EOM"
16
}
17
]
(-)b/security/libpki/pkg-plist (-22 / +25 lines)
Lines 8-34 bin/pki-siginfo Link Here
8
bin/pki-tool
8
bin/pki-tool
9
bin/pki-xpair
9
bin/pki-xpair
10
bin/url-tool
10
bin/url-tool
11
@sample %%ETCDIR%%/hsm.d/eracom-sdk.xml.sample
12
@sample %%ETCDIR%%/hsm.d/etoken-engine.xml.sample
13
@sample %%ETCDIR%%/hsm.d/etoken-pkcs11.xml.sample
14
@sample %%ETCDIR%%/hsm.d/etoken.xml.sample
15
@sample %%ETCDIR%%/hsm.d/opencryptoki.xml.sample
16
@sample %%ETCDIR%%/hsm.d/tpm.xml.sample
17
@sample %%ETCDIR%%/objectIdentifiers.xml.sample
18
@sample %%ETCDIR%%/profile.d/crl.xml.sample
19
@sample %%ETCDIR%%/profile.d/server.xml.sample
20
@sample %%ETCDIR%%/profile.d/test.xml.sample
21
@sample %%ETCDIR%%/profile.d/user.xml.sample
22
@sample %%ETCDIR%%/store.d/empty.xml.sample
23
@sample %%ETCDIR%%/token.d/default.xml.sample
24
@sample %%ETCDIR%%/token.d/eracom.xml.sample
25
@sample %%ETCDIR%%/token.d/etoken-engine.xml.sample
26
@sample %%ETCDIR%%/token.d/etoken.xml.sample
27
@sample %%ETCDIR%%/token.d/opencryptoki.xml.sample
28
@sample %%ETCDIR%%/token.d/software.xml.sample
29
@sample %%ETCDIR%%/token.d/test.xml.sample
30
@sample %%ETCDIR%%/token.d/tpm.xml.sample
31
@sample etc/pki.conf.sample
32
include/libpki/banners.h
11
include/libpki/banners.h
33
include/libpki/cmc.h
12
include/libpki/cmc.h
34
include/libpki/cmc/cmc_cert_req.h
13
include/libpki/cmc/cmc_cert_req.h
Lines 176-178 lib/libpki.so.92.92.4 Link Here
176
%%DATADIR%%/doxygen-pdf.conf
155
%%DATADIR%%/doxygen-pdf.conf
177
%%DATADIR%%/doxygen.conf
156
%%DATADIR%%/doxygen.conf
178
%%DATADIR%%/pkginfo
157
%%DATADIR%%/pkginfo
179
- 
158
%%DATADIR%%/etc/pki.conf.sample
159
%%DATADIR%%/etc/libpki/hsm.d/eracom-sdk.xml.sample
160
%%DATADIR%%/etc/libpki/hsm.d/etoken-engine.xml.sample
161
%%DATADIR%%/etc/libpki/hsm.d/etoken-pkcs11.xml.sample
162
%%DATADIR%%/etc/libpki/hsm.d/etoken.xml.sample
163
%%DATADIR%%/etc/libpki/hsm.d/opencryptoki.xml.sample
164
%%DATADIR%%/etc/libpki/hsm.d/tpm.xml.sample
165
%%DATADIR%%/etc/libpki/objectIdentifiers.xml.sample
166
%%DATADIR%%/etc/libpki/profile.d/crl.xml.sample
167
%%DATADIR%%/etc/libpki/profile.d/server.xml.sample
168
%%DATADIR%%/etc/libpki/profile.d/test.xml.sample
169
%%DATADIR%%/etc/libpki/profile.d/user.xml.sample
170
%%DATADIR%%/etc/libpki/store.d/empty.xml.sample
171
%%DATADIR%%/etc/libpki/token.d/default.xml.sample
172
%%DATADIR%%/etc/libpki/token.d/eracom.xml.sample
173
%%DATADIR%%/etc/libpki/token.d/etoken-engine.xml.sample
174
%%DATADIR%%/etc/libpki/token.d/etoken.xml.sample
175
%%DATADIR%%/etc/libpki/token.d/opencryptoki.xml.sample
176
%%DATADIR%%/etc/libpki/token.d/software.xml.sample
177
%%DATADIR%%/etc/libpki/token.d/test.xml.sample
178
%%DATADIR%%/etc/libpki/token.d/tpm.xml.sample
179
@dir etc/libpki/hsm.d
180
@dir etc/libpki/profile.d
181
@dir etc/libpki/store.d
182
@dir etc/libpki/token.d

Return to bug 265189