Index: head/security/xca/files/patch-widgets_MW__help.cpp
===================================================================
--- head/security/xca/files/patch-widgets_MW__help.cpp (revision 484896)
+++ head/security/xca/files/patch-widgets_MW__help.cpp (nonexistent)
@@ -1,13 +0,0 @@
---- widgets/MW_help.cpp.orig 2015-10-10 12:54:12 UTC
-+++ widgets/MW_help.cpp
-@@ -67,8 +67,8 @@ void MainWindow::about()
- {
- version = QString("
"
- "Compile time: | "
-- ""OPENSSL_VERSION_TEXT" | "
-- "QT version: "QT_VERSION_STR" | "
-+ "" OPENSSL_VERSION_TEXT " | "
-+ "QT version: " QT_VERSION_STR " | "
- "
"
- "Run time: | "
- "%1 | "
Property changes on: head/security/xca/files/patch-widgets_MW__help.cpp
___________________________________________________________________
Deleted: fbsd:nokeywords
## -1 +0,0 ##
-yes
\ No newline at end of property
Deleted: svn:eol-style
## -1 +0,0 ##
-native
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: head/security/xca/files/patch-lib_pki__temp.cpp
===================================================================
--- head/security/xca/files/patch-lib_pki__temp.cpp (revision 484896)
+++ head/security/xca/files/patch-lib_pki__temp.cpp (nonexistent)
@@ -1,11 +0,0 @@
---- lib/pki_temp.cpp.orig 2015-10-10 12:54:12 UTC
-+++ lib/pki_temp.cpp
-@@ -363,7 +363,7 @@ BIO *pki_temp::pem(BIO *b, int format)
- QByteArray ba = toExportData();
- if (!b)
- b = BIO_new(BIO_s_mem());
--#if OPENSSL_VERSION_NUMBER < 0x10002000L
-+#if OPENSSL_VERSION_NUMBER < 0x10002000L || defined(LIBRESSL_VERSION_NUMBER)
- PEM_write_bio(b, PEM_STRING_XCA_TEMPLATE, (char*)"",
- (unsigned char*)(ba.data()), ba.size());
- #else
Property changes on: head/security/xca/files/patch-lib_pki__temp.cpp
___________________________________________________________________
Deleted: fbsd:nokeywords
## -1 +0,0 ##
-yes
\ No newline at end of property
Deleted: svn:eol-style
## -1 +0,0 ##
-native
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-text/plain
\ No newline at end of property
Index: head/security/xca/Makefile
===================================================================
--- head/security/xca/Makefile (revision 484896)
+++ head/security/xca/Makefile (revision 484897)
@@ -1,51 +1,44 @@
# Created by: Valentin Zahariev
# $FreeBSD$
PORTNAME= xca
-PORTVERSION= 1.3.2
+PORTVERSION= 2.1.2
+DISTVERSIONPREFIX= RELEASE.
CATEGORIES= security
-MASTER_SITES= SF
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= madpilot@FreeBSD.org
COMMENT= Graphical certification authority
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LIB_DEPENDS= libltdl.so:devel/libltdl
-USES= desktop-file-utils gmake localbase pkgconfig \
- shared-mime-info ssl
+USES= autoreconf compiler:c++11-lang desktop-file-utils gmake \
+ localbase pkgconfig qt:5 shared-mime-info shebangfix ssl
+USE_QT= buildtools_build core gui linguist_build sql widgets
+USE_CXXSTD= c++11
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-openssl=${OPENSSLDIR} \
- --with-qt=${PREFIX}
+ --with-qt=${PREFIX} \
+ --with-qt-version=5
MAKE_ARGS= DOCTOOL="${TRUE}"
DESTDIRNAME= destdir
+SHEBANG_FILES= doc/code2html
-OPTIONS_DEFINE= DOCS
-OPTIONS_SINGLE= TOOLKIT
-OPTIONS_SINGLE_TOOLKIT= QT4 QT5
-OPTIONS_DEFAULT= QT4
+USE_GITHUB= yes
+GH_ACCOUNT= chris2511
-QT4_USES= qt:4
-QT4_USE= qt=gui,linguist_build,moc_build,qmake_build \
- qt=rcc_build,uic_build
-QT5_USES= qt:5
-QT5_USE= qt=widgets,buildtools_build,linguist_build \
- CXXSTD=c++11
-TOOLKIT_DESC= Qt toolkit
+OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
'/^CFLAGS/s|-O2||' ${WRKSRC}/Local.mak.in
@${REINPLACE_CMD} -e \
'/install/s|-D|-c|' ${WRKSRC}/img/Makefile
-
-post-patch-QT5-off:
- @${REINPLACE_CMD} -e \
- 's|Qt5|Qt0|g' ${WRKSRC}/configure
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xca*
.include
Index: head/security/xca/distinfo
===================================================================
--- head/security/xca/distinfo (revision 484896)
+++ head/security/xca/distinfo (revision 484897)
@@ -1,2 +1,3 @@
-SHA256 (xca-1.3.2.tar.gz) = 04f11f2148c8369c1a1b4e109956ed8cc807ec266d0d936410624ba8ee4b5ce4
-SIZE (xca-1.3.2.tar.gz) = 897947
+TIMESTAMP = 1542022933
+SHA256 (chris2511-xca-RELEASE.2.1.2_GH0.tar.gz) = 19da0b19e5d3b145f630e9b18b3e29d5a569495d6dd3ab927f41e6b490a99cec
+SIZE (chris2511-xca-RELEASE.2.1.2_GH0.tar.gz) = 1048019
Index: head/security/xca/pkg-descr
===================================================================
--- head/security/xca/pkg-descr (revision 484896)
+++ head/security/xca/pkg-descr (revision 484897)
@@ -1,8 +1,8 @@
Graphical certification authority is an interface for managing RSA keys
and certificates, and the creation and signing of PKCS#10 requests. It
uses the OpenSSL library and a Berkeley DB for key and certificate
storage. It supports importing and exporting keys and PEM DER PKCS8
certificates, signing and revoking of PEM DER PKCS12, and selection of
x509v3 extensions. A tree view of certificates is presented.
-WWW: http://xca.sourceforge.net/
+WWW: https://www.hohnstaedt.de/xca/
Index: head/security/xca/pkg-plist
===================================================================
--- head/security/xca/pkg-plist (revision 484896)
+++ head/security/xca/pkg-plist (revision 484897)
@@ -1,37 +1,36 @@
bin/xca
-bin/xca_db_stat
man/man1/xca.1.gz
-man/man1/xca_db_stat.1.gz
share/applications/xca.desktop
%%PORTDOCS%%%%DOCSDIR%%/xca-1.html
%%PORTDOCS%%%%DOCSDIR%%/xca-10.html
%%PORTDOCS%%%%DOCSDIR%%/xca-11.html
%%PORTDOCS%%%%DOCSDIR%%/xca-12.html
%%PORTDOCS%%%%DOCSDIR%%/xca-13.html
%%PORTDOCS%%%%DOCSDIR%%/xca-14.html
%%PORTDOCS%%%%DOCSDIR%%/xca-15.html
%%PORTDOCS%%%%DOCSDIR%%/xca-2.html
%%PORTDOCS%%%%DOCSDIR%%/xca-3.html
%%PORTDOCS%%%%DOCSDIR%%/xca-4.html
%%PORTDOCS%%%%DOCSDIR%%/xca-5.html
%%PORTDOCS%%%%DOCSDIR%%/xca-6.html
%%PORTDOCS%%%%DOCSDIR%%/xca-7.html
%%PORTDOCS%%%%DOCSDIR%%/xca-8.html
%%PORTDOCS%%%%DOCSDIR%%/xca-9.html
%%PORTDOCS%%%%DOCSDIR%%/xca.html
share/mime/packages/xca.xml
share/pixmaps/xca-32x32.xpm
%%DATADIR%%/CA.xca
%%DATADIR%%/HTTPS_client.xca
%%DATADIR%%/HTTPS_server.xca
-%%DATADIR%%/aia.txt
%%DATADIR%%/dn.txt
%%DATADIR%%/eku.txt
%%DATADIR%%/oids.txt
-%%DATADIR%%/release.txt
%%DATADIR%%/xca_de.qm
%%DATADIR%%/xca_es.qm
%%DATADIR%%/xca_fr.qm
%%DATADIR%%/xca_hr.qm
+%%DATADIR%%/xca_pl.qm
+%%DATADIR%%/xca_pt_BR.qm
%%DATADIR%%/xca_ru.qm
+%%DATADIR%%/xca_sk.qm
%%DATADIR%%/xca_tr.qm