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

Collapse All | Expand All

(-)security/p5-openxpki-deployment/Makefile (+46 lines)
Line 0 Link Here
1
# Created by: Sergei Vyshenski <svysh.fbsd@gmail.com>
2
# $FreeBSD: head/security/p5-openxpki-deployment/Makefile 355321 2014-05-26 12:50:40Z miwi $
3
4
PORTNAME=	openxpki-deployment
5
PORTVERSION=	0.9.1386
6
PORTREVISION=	2
7
CATEGORIES=	security perl5
8
MASTER_SITES=	SF/openxpki/openxpki/0.9.1300
9
PKGNAMEPREFIX=	p5-
10
DIST_SUBDIR=	openxpki
11
12
MAINTAINER=	svysh.fbsd@gmail.com
13
COMMENT=	Perl based enterprise class trustcenter software for PKI
14
15
LICENSE=	ART20
16
17
BUILD_DEPENDS=	\
18
	p5-openxpki-client>=0:${PORTSDIR}/security/p5-openxpki-client \
19
	p5-Config-Std>=0:${PORTSDIR}/devel/p5-Config-Std \
20
	p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit \
21
	bash:${PORTSDIR}/shells/bash
22
RUN_DEPENDS:=	${BUILD_DEPENDS}
23
24
USES=		perl5 gmake
25
USE_RC_SUBR=	openxpki
26
HAS_CONFIGURE=	yes
27
CONFIGURE_ARGS=	--prefix ${PREFIX}
28
# Do not prepend PREFIX with STAGEDIR here, it is not a "destination".
29
30
post-patch:
31
	@${REINPLACE_CMD} -e 's|>/dev/null 2>&1 | |' ${WRKSRC}/configure
32
33
post-install:
34
	@${ECHO_MSG} ""
35
	@${ECHO_MSG} "================================ A piece of advice ==================================="
36
	@${ECHO_MSG} "===> Install your favorite database (enable utf-8 support if needed) and a web server."
37
	@${ECHO_MSG} "===> Perform deployment procedure for openxpki in a regular way."
38
	@${ECHO_MSG} "===> When asked for the name of the \"openxpki user\" answer \"openxpki\","
39
	@${ECHO_MSG} "===> and do not forget to add a line: \"User openxpki\" to the zone of your"
40
	@${ECHO_MSG} "===> OpenXPI-related (virtual) web server in your Apache configuration file."
41
	@${ECHO_MSG} ""
42
.if !defined(BATCH)
43
	@sleep 9
44
.endif
45
46
.include <bsd.port.mk>
(-)security/p5-openxpki-deployment/Makefile.orig (-49 lines)
Lines 1-49 Link Here
1
# Created by: Sergei Vyshenski <svysh@pn.sinp.msu.ru>
2
# $FreeBSD: head/security/p5-openxpki-deployment/Makefile 355321 2014-05-26 12:50:40Z miwi $
3
4
PORTNAME=	openxpki-deployment
5
PORTVERSION=	0.9.1386
6
PORTREVISION=	1
7
CATEGORIES=	security perl5
8
MASTER_SITES=	SF/openxpki/openxpki/0.9.1300
9
PKGNAMEPREFIX=	p5-
10
DIST_SUBDIR=	openxpki
11
12
MAINTAINER=	svysh.fbsd@gmail.com
13
COMMENT=	Perl based enterprise class trustcenter software for PKI
14
15
BROKEN=		not staged
16
BUILD_DEPENDS=	\
17
	p5-openxpki-client>=0:${PORTSDIR}/security/p5-openxpki-client \
18
	p5-Config-Std>=0:${PORTSDIR}/devel/p5-Config-Std \
19
	p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit \
20
	bash:${PORTSDIR}/shells/bash
21
RUN_DEPENDS:=	${BUILD_DEPENDS}
22
23
MAN1=	openxpki-configure.1 \
24
	openxpki-metaconf.1 \
25
	openxpkiadm.1 \
26
	openxpkictl.1
27
USES=		perl5 gmake
28
USE_RC_SUBR=	openxpki
29
HAS_CONFIGURE=	yes
30
CONFIGURE_ARGS=	--prefix ${PREFIX}
31
32
NO_STAGE=	yes
33
post-patch:
34
	@${REINPLACE_CMD} -e 's|>/dev/null 2>&1 | |' ${WRKSRC}/configure
35
36
post-install:
37
	@${ECHO_MSG} ""
38
	@${ECHO_MSG} "================================ A piece of advice ==================================="
39
	@${ECHO_MSG} "===> Install your favorite database (enable utf-8 support if needed) and a web server."
40
	@${ECHO_MSG} "===> Perform deployment procedure for openxpki in a regular way."
41
	@${ECHO_MSG} "===> When asked for the name of the \"openxpki user\" answer \"openxpki\","
42
	@${ECHO_MSG} "===> and do not forget to add a line: \"User openxpki\" to the zone of your"
43
	@${ECHO_MSG} "===> OpenXPI-related (virtual) web server in your Apache configuration file."
44
	@${ECHO_MSG} ""
45
.if !defined(BATCH)
46
	@sleep 9
47
.endif
48
49
.include <bsd.port.mk>
(-)security/p5-openxpki-deployment/files/openxpki.in (+32 lines)
Line 0 Link Here
1
#!/bin/sh
2
# $FreeBSD: head/security/p5-openxpki-deployment/files/openxpki.in 340872 2014-01-24 00:14:07Z mat $
3
4
# PROVIDE: openxpki
5
# REQUIRE: LOGIN
6
# REQUIRE: postgresql
7
# REQUIRE: mysql
8
# KEYWORD: shutdown
9
10
# Define this variable in the file /etc/rc.conf:
11
# openxpki_enable="YES"
12
# to ensure that openxpki starts at boot time.
13
#
14
# DO NOT CHANGE THESE DEFAULT VALUES HERE
15
# SET THEM IN THE /etc/rc.conf FILE
16
#
17
18
. /etc/rc.subr
19
20
name=openxpki
21
rcvar=openxpki_enable
22
load_rc_config $name
23
command="%%PREFIX%%/bin/openxpkictl"
24
25
openxpki_enable="${openxpki_enable-NO}"
26
openxpki_pidfile="%%PREFIX%%/var/openxpki/openxpki.pid"
27
28
procname=openxpkid
29
30
pidfile=${openxpki_pidfile}
31
32
run_rc_command "$1"
(-)security/p5-openxpki-deployment/files/openxpki.in.orig (-36 lines)
Lines 1-36 Link Here
1
#!/bin/sh
2
# $FreeBSD: head/security/p5-openxpki-deployment/files/openxpki.in 340872 2014-01-24 00:14:07Z mat $
3
4
# PROVIDE: openxpki
5
# REQUIRE: LOGIN
6
# REQUIRE: postgresql
7
# REQUIRE: mysql
8
# KEYWORD: shutdown
9
10
# Define this variable in the file /etc/rc.conf:
11
# openxpki_enable="YES"
12
# to ensure that openxpki starts at boot time.
13
#
14
# DO NOT CHANGE THESE DEFAULT VALUES HERE
15
#
16
# openxpki_flags	(Set as needed)
17
18
openxpki_enable="${openxpki_enable-NO}"
19
openxpki_pidfile="%%PREFIX%%/var/openxpki/openxpki.pid"
20
21
case "$1" in 
22
    *start) command_args="start";;
23
esac
24
25
. /etc/rc.subr
26
27
name="openxpki"
28
rcvar=openxpki_enable
29
command="%%PREFIX%%/bin/openxpkictl"
30
procname="openxpkid"
31
32
load_rc_config $name
33
34
pidfile="${openxpki_pidfile}"
35
36
run_rc_command "$1"
(-)security/p5-openxpki-deployment/pkg-plist (+78 lines)
Line 0 Link Here
1
bin/openxpki-configure
2
bin/openxpki-metaconf
3
bin/openxpkiadm
4
bin/openxpkictl
5
man/man1/openxpki-configure.1.gz
6
man/man1/openxpki-metaconf.1.gz
7
man/man1/openxpkiadm.1.gz
8
man/man1/openxpkictl.1.gz
9
share/openxpki/templates/default/acl.xml
10
share/openxpki/templates/default/auth.xml
11
share/openxpki/templates/default/config.xml
12
share/openxpki/templates/default/database.xml
13
share/openxpki/templates/default/ldappublic.xml
14
share/openxpki/templates/default/log.conf
15
share/openxpki/templates/default/log_database.xml
16
share/openxpki/templates/default/notification.xml
17
share/openxpki/templates/default/notification/en/certificate_issued_correspond.txt
18
share/openxpki/templates/default/notification/en/csr_approvals_canceled_comment.txt
19
share/openxpki/templates/default/notification/en/csr_approved_comment.txt
20
share/openxpki/templates/default/notification/en/csr_created_comment.txt
21
share/openxpki/templates/default/notification/en/csr_created_correspond.txt
22
share/openxpki/templates/default/notification/en/csr_rejected_correspond.txt
23
share/openxpki/templates/default/openxpki.conf
24
share/openxpki/templates/default/profile.xml
25
share/openxpki/templates/default/token.xml
26
share/openxpki/templates/default/workflow.xml
27
share/openxpki/templates/default/workflow_activity_certificate_issuance.xml
28
share/openxpki/templates/default/workflow_activity_certificate_ldap_publishing.xml
29
share/openxpki/templates/default/workflow_activity_certificate_revocation_request.xml
30
share/openxpki/templates/default/workflow_activity_certificate_signing_request.xml
31
share/openxpki/templates/default/workflow_activity_crl_issuance.xml
32
share/openxpki/templates/default/workflow_activity_dataexchange.xml
33
share/openxpki/templates/default/workflow_activity_null.xml
34
share/openxpki/templates/default/workflow_activity_password_safe.xml
35
share/openxpki/templates/default/workflow_activity_scep_request.xml
36
share/openxpki/templates/default/workflow_activity_smartcard_personalization.xml
37
share/openxpki/templates/default/workflow_condition.xml
38
share/openxpki/templates/default/workflow_def_certificate_issuance.xml
39
share/openxpki/templates/default/workflow_def_certificate_ldap_publishing.xml
40
share/openxpki/templates/default/workflow_def_certificate_revocation_request.xml
41
share/openxpki/templates/default/workflow_def_certificate_signing_request.xml
42
share/openxpki/templates/default/workflow_def_crl_issuance.xml
43
share/openxpki/templates/default/workflow_def_password_safe.xml
44
share/openxpki/templates/default/workflow_def_scep_request.xml
45
share/openxpki/templates/default/workflow_def_smartcard_personalization.xml
46
share/openxpki/templates/default/workflow_validator_certificate_revocation_request.xml
47
share/openxpki/templates/default/workflow_validator_certificate_signing_request.xml
48
share/openxpki/templates/default/workflow_validator_password_safe.xml
49
share/openxpki/templates/quickstart/acl.xml
50
share/openxpki/templates/quickstart/auth.xml
51
share/openxpki/templates/quickstart/config.xml
52
share/openxpki/templates/quickstart/database.xml
53
share/openxpki/templates/quickstart/log.conf
54
share/openxpki/templates/quickstart/log_database.xml
55
share/openxpki/templates/quickstart/notification.xml
56
share/openxpki/templates/quickstart/openxpki.conf
57
share/openxpki/templates/quickstart/profile.xml
58
share/openxpki/templates/quickstart/token.xml
59
share/openxpki/templates/quickstart/workflow.xml
60
share/openxpki/templates/quickstart/workflow_activity_certificate_issuance.xml
61
share/openxpki/templates/quickstart/workflow_activity_certificate_revocation_request.xml
62
share/openxpki/templates/quickstart/workflow_activity_certificate_signing_request.xml
63
share/openxpki/templates/quickstart/workflow_activity_crl_issuance.xml
64
share/openxpki/templates/quickstart/workflow_activity_null.xml
65
share/openxpki/templates/quickstart/workflow_condition.xml
66
share/openxpki/templates/quickstart/workflow_def_certificate_issuance.xml
67
share/openxpki/templates/quickstart/workflow_def_certificate_revocation_request.xml
68
share/openxpki/templates/quickstart/workflow_def_certificate_signing_request.xml
69
share/openxpki/templates/quickstart/workflow_def_crl_issuance.xml
70
share/openxpki/templates/quickstart/workflow_validator_certificate_revocation_request.xml
71
share/openxpki/templates/quickstart/workflow_validator_certificate_signing_request.xml
72
@dirrmtry share/openxpki/templates/default/notification/en
73
@dirrmtry share/openxpki/templates/default/notification
74
@dirrmtry share/openxpki/templates/default
75
@dirrmtry share/openxpki/templates/quickstart/notification
76
@dirrmtry share/openxpki/templates/quickstart
77
@dirrmtry share/openxpki/templates
78
@dirrmtry share/openxpki
(-)security/p5-openxpki-deployment/pkg-plist.orig (-74 lines)
Lines 1-74 Link Here
1
bin/openxpki-configure
2
bin/openxpki-metaconf
3
bin/openxpkiadm
4
bin/openxpkictl
5
share/openxpki/templates/default/acl.xml
6
share/openxpki/templates/default/auth.xml
7
share/openxpki/templates/default/config.xml
8
share/openxpki/templates/default/database.xml
9
share/openxpki/templates/default/ldappublic.xml
10
share/openxpki/templates/default/log.conf
11
share/openxpki/templates/default/log_database.xml
12
share/openxpki/templates/default/notification.xml
13
share/openxpki/templates/default/notification/en/certificate_issued_correspond.txt
14
share/openxpki/templates/default/notification/en/csr_approvals_canceled_comment.txt
15
share/openxpki/templates/default/notification/en/csr_approved_comment.txt
16
share/openxpki/templates/default/notification/en/csr_created_comment.txt
17
share/openxpki/templates/default/notification/en/csr_created_correspond.txt
18
share/openxpki/templates/default/notification/en/csr_rejected_correspond.txt
19
share/openxpki/templates/default/openxpki.conf
20
share/openxpki/templates/default/profile.xml
21
share/openxpki/templates/default/token.xml
22
share/openxpki/templates/default/workflow.xml
23
share/openxpki/templates/default/workflow_activity_certificate_issuance.xml
24
share/openxpki/templates/default/workflow_activity_certificate_ldap_publishing.xml
25
share/openxpki/templates/default/workflow_activity_certificate_revocation_request.xml
26
share/openxpki/templates/default/workflow_activity_certificate_signing_request.xml
27
share/openxpki/templates/default/workflow_activity_crl_issuance.xml
28
share/openxpki/templates/default/workflow_activity_dataexchange.xml
29
share/openxpki/templates/default/workflow_activity_null.xml
30
share/openxpki/templates/default/workflow_activity_password_safe.xml
31
share/openxpki/templates/default/workflow_activity_scep_request.xml
32
share/openxpki/templates/default/workflow_activity_smartcard_personalization.xml
33
share/openxpki/templates/default/workflow_condition.xml
34
share/openxpki/templates/default/workflow_def_certificate_issuance.xml
35
share/openxpki/templates/default/workflow_def_certificate_ldap_publishing.xml
36
share/openxpki/templates/default/workflow_def_certificate_revocation_request.xml
37
share/openxpki/templates/default/workflow_def_certificate_signing_request.xml
38
share/openxpki/templates/default/workflow_def_crl_issuance.xml
39
share/openxpki/templates/default/workflow_def_password_safe.xml
40
share/openxpki/templates/default/workflow_def_scep_request.xml
41
share/openxpki/templates/default/workflow_def_smartcard_personalization.xml
42
share/openxpki/templates/default/workflow_validator_certificate_revocation_request.xml
43
share/openxpki/templates/default/workflow_validator_certificate_signing_request.xml
44
share/openxpki/templates/default/workflow_validator_password_safe.xml
45
share/openxpki/templates/quickstart/acl.xml
46
share/openxpki/templates/quickstart/auth.xml
47
share/openxpki/templates/quickstart/config.xml
48
share/openxpki/templates/quickstart/database.xml
49
share/openxpki/templates/quickstart/log.conf
50
share/openxpki/templates/quickstart/log_database.xml
51
share/openxpki/templates/quickstart/notification.xml
52
share/openxpki/templates/quickstart/openxpki.conf
53
share/openxpki/templates/quickstart/profile.xml
54
share/openxpki/templates/quickstart/token.xml
55
share/openxpki/templates/quickstart/workflow.xml
56
share/openxpki/templates/quickstart/workflow_activity_certificate_issuance.xml
57
share/openxpki/templates/quickstart/workflow_activity_certificate_revocation_request.xml
58
share/openxpki/templates/quickstart/workflow_activity_certificate_signing_request.xml
59
share/openxpki/templates/quickstart/workflow_activity_crl_issuance.xml
60
share/openxpki/templates/quickstart/workflow_activity_null.xml
61
share/openxpki/templates/quickstart/workflow_condition.xml
62
share/openxpki/templates/quickstart/workflow_def_certificate_issuance.xml
63
share/openxpki/templates/quickstart/workflow_def_certificate_revocation_request.xml
64
share/openxpki/templates/quickstart/workflow_def_certificate_signing_request.xml
65
share/openxpki/templates/quickstart/workflow_def_crl_issuance.xml
66
share/openxpki/templates/quickstart/workflow_validator_certificate_revocation_request.xml
67
share/openxpki/templates/quickstart/workflow_validator_certificate_signing_request.xml
68
@dirrmtry share/openxpki/templates/quickstart/notification
69
@dirrmtry share/openxpki/templates/quickstart
70
@dirrmtry share/openxpki/templates/default/notification/en
71
@dirrmtry share/openxpki/templates/default/notification
72
@dirrmtry share/openxpki/templates/default
73
@dirrmtry share/openxpki/templates
74
@dirrmtry share/openxpki

Return to bug 190920