Index: head/security/p5-openxpki/Makefile =================================================================== --- head/security/p5-openxpki/Makefile (revision 477445) +++ head/security/p5-openxpki/Makefile (revision 477446) @@ -1,140 +1,140 @@ # Created by: Sergei Vyshenski # $FreeBSD$ PORTNAME= openxpki -PORTVERSION= 2.0.2 +PORTVERSION= 2.0.3 DISTVERSIONPREFIX= v CATEGORIES= security perl5 PKGNAMEPREFIX= p5- MAINTAINER= svysh.fbsd@gmail.com COMMENT= Perl based trustcenter for PKI: universal server building block LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_SSL= openssl-devel BUILD_DEPENDS= bash:shells/bash \ openca-tools-forked>=1.4.0:security/openca-tools-forked \ p5-Archive-Zip>=0:archivers/p5-Archive-Zip \ p5-CGI-Fast>=2.10:www/p5-CGI-Fast \ p5-CGI-Session>=0:www/p5-CGI-Session \ p5-CGI>=4.21:www/p5-CGI \ p5-Class-Accessor-Chained>=0:devel/p5-Class-Accessor-Chained \ p5-Class-Std>=0:devel/p5-Class-Std \ p5-Config-GitLike>=0:devel/p5-Config-GitLike \ p5-Config-Merge>=0:devel/p5-Config-Merge \ p5-Config-Std>=0:devel/p5-Config-Std \ p5-Connector>=0:devel/p5-Connector \ p5-Crypt-CBC>=0:security/p5-Crypt-CBC \ p5-Crypt-OpenSSL-AES>=0:security/p5-Crypt-OpenSSL-AES \ p5-Crypt-PKCS10>=1.3:security/p5-Crypt-PKCS10 \ p5-Crypt-SMIME>=0:security/p5-Crypt-SMIME \ p5-Crypt-SSLeay>=0:security/p5-Crypt-SSLeay \ p5-Crypt-X509>=0:security/p5-Crypt-X509 \ p5-Crypt-X509-CRL>=0.1:security/p5-Crypt-X509-CRL \ p5-DBD-Mock>=0:databases/p5-DBD-Mock \ p5-DBIx-Handler>=0:databases/p5-DBIx-Handler \ p5-Data-Password>=0:security/p5-Data-Password \ p5-Data-Serializer>=0:devel/p5-Data-Serializer \ p5-Data-UUID>=0:devel/p5-Data-UUID \ p5-DateTime-Format-DateParse>=0:devel/p5-DateTime-Format-DateParse \ p5-Devel-NYTProf>=0:devel/p5-Devel-NYTProf \ p5-IO-Prompt>=0:devel/p5-IO-Prompt \ p5-IPC-ShareLite>=0:devel/p5-IPC-ShareLite \ p5-JSON>=0:converters/p5-JSON \ p5-LWP-Protocol-connect>=0:www/p5-LWP-Protocol-connect \ p5-LWP-Protocol-https>=0:www/p5-LWP-Protocol-https \ p5-Locale-libintl>=0:devel/p5-Locale-libintl \ p5-Mail-RFC822-Address>=0:mail/p5-Mail-RFC822-Address \ p5-Moose>=0:devel/p5-Moose \ p5-MooseX-Params-Validate>=0:devel/p5-MooseX-Params-Validate \ p5-Net-DNS>0.83:dns/p5-Net-DNS \ p5-Net-IP>=0:net-mgmt/p5-Net-IP \ p5-Net-Server>=0:net/p5-Net-Server \ p5-NetAddr-IP>=0:net-mgmt/p5-NetAddr-IP \ p5-Path-Class>=0:devel/p5-Path-Class \ p5-Proc-Daemon>=0:devel/p5-Proc-Daemon \ p5-Proc-ProcessTable>=0:devel/p5-Proc-ProcessTable \ p5-Proc-SafeExec>=0:devel/p5-Proc-SafeExec \ p5-RT-Client-REST>=0:www/p5-RT-Client-REST \ p5-Regexp-Common>=0:textproc/p5-Regexp-Common \ p5-SOAP-Lite>=0:net/p5-SOAP-Lite \ p5-SQL-Abstract-More>=0:databases/p5-SQL-Abstract-More \ p5-Switch>=0:lang/p5-Switch \ p5-Sys-SigAction>=0:devel/p5-Sys-SigAction \ p5-Template-Toolkit>=0:www/p5-Template-Toolkit \ p5-Test-Pod-Coverage>=0:devel/p5-Test-Pod-Coverage \ p5-Test-Pod>=0:devel/p5-Test-Pod \ p5-Test-Prereq>=0:devel/p5-Test-Prereq \ p5-Text-CSV_XS>=0:textproc/p5-Text-CSV_XS \ p5-TimeDate>=0:devel/p5-TimeDate \ p5-Workflow>=0.31:devel/p5-Workflow \ p5-XML-Filter-XInclude>=0:textproc/p5-XML-Filter-XInclude \ p5-XML-SAX-Writer>=0:textproc/p5-XML-SAX-Writer \ p5-XML-Validator-Schema>=0:textproc/p5-XML-Validator-Schema \ - p5-openxpki-i18n>=0.20.0.1:security/p5-openxpki-i18n \ + p5-openxpki-i18n>=2.0.3:security/p5-openxpki-i18n \ p5-perl-ldap>=0:net/p5-perl-ldap RUN_DEPENDS:= ${BUILD_DEPENDS} CONFLICTS= p5-openxpki-client-[0-9]* \ p5-openxpki-client-scep-[0-9]* \ p5-openxpki-client-deployment-[0-9]* \ p5-openxpki-client-html-mason-[0-9]* USES= gmake perl5 ssl USE_GITHUB= yes USE_PERL5= configure USE_RC_SUBR= openxpki SUB_FILES= pkg-message PORTDOCS= * PORTEXAMPLES= * WRKSRC_SUBDIR= core/server USERS= openxpki GROUPS= openxpki OPTIONS_DEFINE= GRAPHVIZ DOCS EXAMPLES GRAPHVIZ_DESC= With graphical visualization of workflows? GRAPHVIZ_RUN_DEPENDS= dot:graphics/graphviz \ imgsize:graphics/p5-Image-Size post-patch: @${REINPLACE_CMD} -e 's|..ENV{PERL} .vergen --format version.|"${PORTVERSION}"|g' ${WRKSRC}/Makefile.PL @${REINPLACE_CMD} -e 's|..vergen --format version.|"${PORTVERSION}"|g' ${WRKSRC}/Makefile.PL @( \ cd ${WRKSRC}/../..; \ ${FIND} config core/server doc qatest tools -type f -print0 >filelist; \ ${CAT} filelist | ${XARGS} -0 -I % ${REINPLACE_CMD} -e 's|/etc/openxpki|${PREFIX}/etc/openxpki|g' "%"; \ ${CAT} filelist | ${XARGS} -0 -I % ${REINPLACE_CMD} -e 's|/var/run/openxpkid.pid|/var/openxpki/openxpkid.pid|g' "%"; \ ${CAT} filelist | ${XARGS} -0 -I % ${REINPLACE_CMD} -e 's|/var/openxpki/\([^\.]*\)\.log|/var/log/openxpki/\1\.log|g' "%"; \ ${CAT} filelist | ${XARGS} -0 -I % ${RM} "%.bak"; \ ${RM} filelist; \ ) @${MKDIR} ${WRKSRC}/t/var/log/openxpki .include .if ${SSL_DEFAULT:Mlibressl*} IGNORE= this version of OpenXPKI is not fully functional with LibreSSL library, use OpenSSL instead .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/OpenXPKI/OpenXPKI.so @${MKDIR} ${STAGEDIR}/var/openxpki/session @${MKDIR} ${STAGEDIR}/var/log/openxpki @${MKDIR} ${STAGEDIR}${PREFIX}/etc/openxpki post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/../.. && ${COPYTREE_SHARE} config ${STAGEDIR}${EXAMPLESDIR}) (cd ${WRKSRC} && ${COPYTREE_SHARE} "htdocs cgi-bin" ${STAGEDIR}${EXAMPLESDIR}) post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/../../doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include Index: head/security/p5-openxpki/distinfo =================================================================== --- head/security/p5-openxpki/distinfo (revision 477445) +++ head/security/p5-openxpki/distinfo (revision 477446) @@ -1,3 +1,3 @@ -TIMESTAMP = 1525778337 -SHA256 (openxpki-openxpki-v2.0.2_GH0.tar.gz) = cc83273686ec2d91415e24f26e906b303e78593fc1b4c9cb99d62c1edf48bf18 -SIZE (openxpki-openxpki-v2.0.2_GH0.tar.gz) = 34814060 +TIMESTAMP = 1532952025 +SHA256 (openxpki-openxpki-v2.0.3_GH0.tar.gz) = 540d6229e28de8a6c524854dd40183fafb86a61a7b849fdd274a280291c00c6e +SIZE (openxpki-openxpki-v2.0.3_GH0.tar.gz) = 34916918 Index: head/security/p5-openxpki/files/pkg-message.in =================================================================== --- head/security/p5-openxpki/files/pkg-message.in (revision 477445) +++ head/security/p5-openxpki/files/pkg-message.in (revision 477446) @@ -1,64 +1,55 @@ ================================================================= - Universal server building block (OpenXPKI) for arbitrary PKI: installed. - SCEP prerequisite binary and i18n tools for UI: installed. - Enable utf8 locale (e.g. en_US.utf8) for the translation staff to operate (translation is needed even for English language). - Install your favorite database (enable utf8 support), e.g. databases/mysql56-server - Install perl interface for your favorite database, e.g. databases/p5-DBD-mysql - Install your favorite web server. Choose from two versions of the handler: based on CGI or FastCGI perl core modules. Copy CGI or FastCGI scripts from %%EXAMPLESDIR%%/cgi-bin to the location where your web server can use them. Set executable permissions for them. Copy htdocs files from %%EXAMPLESDIR%%/htdocs to the location where your web server can use them. You can see some samples in %%EXAMPLESDIR%%/config/apache. - If you want your server to act just as the simplest CA, then the basic deployment procedure is all you need: copy sample configuration for this case with cp -R %%EXAMPLESDIR%%/config/openxpki/* %%PREFIX%%/etc/openxpki/ and follow advice at: https://openxpki.readthedocs.org/en/latest/quickstart.html Without this deployment procedure OpenXPKI server would not start. - If you want more complex role for your server inside the PKI infrastructure, then you need to perform further deployment procedure for your server atop the basic deployment. - This port has created user:group as openxpki:openxpki, which owns the OpenXPKI server. - After first fresh installation, create empty log files as follows (assuming your web server is owned by user www): install -m 660 -o openxpki -g openxpki /dev/null /var/log/openxpki/openxpki.log install -m 660 -o www -g www /dev/null /var/log/openxpki/webui.log install -m 660 -o www -g www /dev/null /var/log/openxpki/scep.log install -m 660 -o www -g www /dev/null /var/log/openxpki/soap.log - It is essential that www and openpki are two different users in your system. - Start daemons in this order: database server, OpenXPKI server (%%PREFIX%%/etc/rc.d/openxpki start), web server. - Docs installed (if you opted so) into %%DOCSDIR%% - Mind FreeBSD specific file structure: %%PREFIX%%/etc/openxpki: server configuration, logs configuration. /var/openxpki: pid file, socket file, ... /var/openxpki/session: session files. /var/log/openxpki: server log files. /var/tmp: temporary directory. ================================================================== -If you update across v1.10, please update your SQL schema and logger config -as described here: -http://openxpki.readthedocs.io/en/latest/upgrading.html#release-v1-10 - -If you are unable to update your schema, you can workaround the problem by -removing the "DBI" target from the "AUTH" facility in -%%PREFIX%%/etc/openxpki/log.conf: - -log4perl.category.openxpki.auth = INFO, Logfile - -If you update across v1.19.0, please take care as recommended here: -http://openxpki.readthedocs.io/en/latest/upgrading.html#release-v1-19 +If you update existing installation, please check if extra handwork +is needed in your case: +http://openxpki.readthedocs.io/en/latest/upgrading.html ================================================================== Index: head/security/p5-openxpki-i18n/Makefile =================================================================== --- head/security/p5-openxpki-i18n/Makefile (revision 477445) +++ head/security/p5-openxpki-i18n/Makefile (revision 477446) @@ -1,24 +1,24 @@ # Created by: Sergei Vyshenski # $FreeBSD$ PORTNAME= openxpki -PORTVERSION= 2.0.2 +PORTVERSION= 2.0.3 DISTVERSIONPREFIX= v CATEGORIES= security perl5 PKGNAMEPREFIX= p5- PKGNAMESUFFIX= -i18n MAINTAINER= svysh.fbsd@gmail.com COMMENT= Perl based trustcenter software for PKI: i18n tools LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/../../LICENSE USE_GITHUB= yes ### We can not go without_NLS. Internationalization is needed even for English USES= gettext-runtime gettext-tools gmake perl5 ALL_TARGET= scan default WRKSRC_SUBDIR= core/i18n .include Index: head/security/p5-openxpki-i18n/distinfo =================================================================== --- head/security/p5-openxpki-i18n/distinfo (revision 477445) +++ head/security/p5-openxpki-i18n/distinfo (revision 477446) @@ -1,3 +1,3 @@ -TIMESTAMP = 1525792651 -SHA256 (openxpki-openxpki-v2.0.2_GH0.tar.gz) = cc83273686ec2d91415e24f26e906b303e78593fc1b4c9cb99d62c1edf48bf18 -SIZE (openxpki-openxpki-v2.0.2_GH0.tar.gz) = 34814060 +TIMESTAMP = 1532952256 +SHA256 (openxpki-openxpki-v2.0.3_GH0.tar.gz) = 540d6229e28de8a6c524854dd40183fafb86a61a7b849fdd274a280291c00c6e +SIZE (openxpki-openxpki-v2.0.3_GH0.tar.gz) = 34916918