Index: head/security/p5-openxpki-deployment/Makefile =================================================================== --- head/security/p5-openxpki-deployment/Makefile (revision 357690) +++ head/security/p5-openxpki-deployment/Makefile (revision 357691) @@ -1,49 +1,46 @@ -# Created by: Sergei Vyshenski +# Created by: Sergei Vyshenski # $FreeBSD$ PORTNAME= openxpki-deployment PORTVERSION= 0.9.1386 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security perl5 MASTER_SITES= SF/openxpki/openxpki/0.9.1300 PKGNAMEPREFIX= p5- DIST_SUBDIR= openxpki MAINTAINER= svysh.fbsd@gmail.com COMMENT= Perl based enterprise class trustcenter software for PKI -BROKEN= not staged +LICENSE= ART20 + BUILD_DEPENDS= \ p5-openxpki-client>=0:${PORTSDIR}/security/p5-openxpki-client \ p5-Config-Std>=0:${PORTSDIR}/devel/p5-Config-Std \ p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit \ bash:${PORTSDIR}/shells/bash RUN_DEPENDS:= ${BUILD_DEPENDS} -MAN1= openxpki-configure.1 \ - openxpki-metaconf.1 \ - openxpkiadm.1 \ - openxpkictl.1 USES= perl5 gmake USE_RC_SUBR= openxpki HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix ${PREFIX} +# Do not prepend PREFIX with STAGEDIR here, it is not a "destination". -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|>/dev/null 2>&1 | |' ${WRKSRC}/configure post-install: @${ECHO_MSG} "" @${ECHO_MSG} "================================ A piece of advice ===================================" @${ECHO_MSG} "===> Install your favorite database (enable utf-8 support if needed) and a web server." @${ECHO_MSG} "===> Perform deployment procedure for openxpki in a regular way." @${ECHO_MSG} "===> When asked for the name of the \"openxpki user\" answer \"openxpki\"," @${ECHO_MSG} "===> and do not forget to add a line: \"User openxpki\" to the zone of your" @${ECHO_MSG} "===> OpenXPI-related (virtual) web server in your Apache configuration file." @${ECHO_MSG} "" .if !defined(BATCH) @sleep 9 .endif .include Index: head/security/p5-openxpki-deployment/files/openxpki.in =================================================================== --- head/security/p5-openxpki-deployment/files/openxpki.in (revision 357690) +++ head/security/p5-openxpki-deployment/files/openxpki.in (revision 357691) @@ -1,36 +1,32 @@ #!/bin/sh # $FreeBSD$ # PROVIDE: openxpki # REQUIRE: LOGIN # REQUIRE: postgresql # REQUIRE: mysql # KEYWORD: shutdown # Define this variable in the file /etc/rc.conf: # openxpki_enable="YES" # to ensure that openxpki starts at boot time. # # DO NOT CHANGE THESE DEFAULT VALUES HERE +# SET THEM IN THE /etc/rc.conf FILE # -# openxpki_flags (Set as needed) -openxpki_enable="${openxpki_enable-NO}" -openxpki_pidfile="%%PREFIX%%/var/openxpki/openxpki.pid" - -case "$1" in - *start) command_args="start";; -esac - . /etc/rc.subr -name="openxpki" +name=openxpki rcvar=openxpki_enable +load_rc_config $name command="%%PREFIX%%/bin/openxpkictl" -procname="openxpkid" -load_rc_config $name +openxpki_enable="${openxpki_enable-NO}" +openxpki_pidfile="%%PREFIX%%/var/openxpki/openxpki.pid" -pidfile="${openxpki_pidfile}" +procname=openxpkid + +pidfile=${openxpki_pidfile} run_rc_command "$1" Index: head/security/p5-openxpki-deployment/pkg-plist =================================================================== --- head/security/p5-openxpki-deployment/pkg-plist (revision 357690) +++ head/security/p5-openxpki-deployment/pkg-plist (revision 357691) @@ -1,74 +1,78 @@ bin/openxpki-configure bin/openxpki-metaconf bin/openxpkiadm bin/openxpkictl +man/man1/openxpki-configure.1.gz +man/man1/openxpki-metaconf.1.gz +man/man1/openxpkiadm.1.gz +man/man1/openxpkictl.1.gz share/openxpki/templates/default/acl.xml share/openxpki/templates/default/auth.xml share/openxpki/templates/default/config.xml share/openxpki/templates/default/database.xml share/openxpki/templates/default/ldappublic.xml share/openxpki/templates/default/log.conf share/openxpki/templates/default/log_database.xml share/openxpki/templates/default/notification.xml share/openxpki/templates/default/notification/en/certificate_issued_correspond.txt share/openxpki/templates/default/notification/en/csr_approvals_canceled_comment.txt share/openxpki/templates/default/notification/en/csr_approved_comment.txt share/openxpki/templates/default/notification/en/csr_created_comment.txt share/openxpki/templates/default/notification/en/csr_created_correspond.txt share/openxpki/templates/default/notification/en/csr_rejected_correspond.txt share/openxpki/templates/default/openxpki.conf share/openxpki/templates/default/profile.xml share/openxpki/templates/default/token.xml share/openxpki/templates/default/workflow.xml share/openxpki/templates/default/workflow_activity_certificate_issuance.xml share/openxpki/templates/default/workflow_activity_certificate_ldap_publishing.xml share/openxpki/templates/default/workflow_activity_certificate_revocation_request.xml share/openxpki/templates/default/workflow_activity_certificate_signing_request.xml share/openxpki/templates/default/workflow_activity_crl_issuance.xml share/openxpki/templates/default/workflow_activity_dataexchange.xml share/openxpki/templates/default/workflow_activity_null.xml share/openxpki/templates/default/workflow_activity_password_safe.xml share/openxpki/templates/default/workflow_activity_scep_request.xml share/openxpki/templates/default/workflow_activity_smartcard_personalization.xml share/openxpki/templates/default/workflow_condition.xml share/openxpki/templates/default/workflow_def_certificate_issuance.xml share/openxpki/templates/default/workflow_def_certificate_ldap_publishing.xml share/openxpki/templates/default/workflow_def_certificate_revocation_request.xml share/openxpki/templates/default/workflow_def_certificate_signing_request.xml share/openxpki/templates/default/workflow_def_crl_issuance.xml share/openxpki/templates/default/workflow_def_password_safe.xml share/openxpki/templates/default/workflow_def_scep_request.xml share/openxpki/templates/default/workflow_def_smartcard_personalization.xml share/openxpki/templates/default/workflow_validator_certificate_revocation_request.xml share/openxpki/templates/default/workflow_validator_certificate_signing_request.xml share/openxpki/templates/default/workflow_validator_password_safe.xml share/openxpki/templates/quickstart/acl.xml share/openxpki/templates/quickstart/auth.xml share/openxpki/templates/quickstart/config.xml share/openxpki/templates/quickstart/database.xml share/openxpki/templates/quickstart/log.conf share/openxpki/templates/quickstart/log_database.xml share/openxpki/templates/quickstart/notification.xml share/openxpki/templates/quickstart/openxpki.conf share/openxpki/templates/quickstart/profile.xml share/openxpki/templates/quickstart/token.xml share/openxpki/templates/quickstart/workflow.xml share/openxpki/templates/quickstart/workflow_activity_certificate_issuance.xml share/openxpki/templates/quickstart/workflow_activity_certificate_revocation_request.xml share/openxpki/templates/quickstart/workflow_activity_certificate_signing_request.xml share/openxpki/templates/quickstart/workflow_activity_crl_issuance.xml share/openxpki/templates/quickstart/workflow_activity_null.xml share/openxpki/templates/quickstart/workflow_condition.xml share/openxpki/templates/quickstart/workflow_def_certificate_issuance.xml share/openxpki/templates/quickstart/workflow_def_certificate_revocation_request.xml share/openxpki/templates/quickstart/workflow_def_certificate_signing_request.xml share/openxpki/templates/quickstart/workflow_def_crl_issuance.xml share/openxpki/templates/quickstart/workflow_validator_certificate_revocation_request.xml share/openxpki/templates/quickstart/workflow_validator_certificate_signing_request.xml -@dirrmtry share/openxpki/templates/quickstart/notification -@dirrmtry share/openxpki/templates/quickstart @dirrmtry share/openxpki/templates/default/notification/en @dirrmtry share/openxpki/templates/default/notification @dirrmtry share/openxpki/templates/default +@dirrmtry share/openxpki/templates/quickstart/notification +@dirrmtry share/openxpki/templates/quickstart @dirrmtry share/openxpki/templates @dirrmtry share/openxpki