diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/okteta/Makefile | 5 | ||||
-rw-r--r-- | devel/qca-legacy/Makefile | 57 | ||||
-rw-r--r-- | devel/qca-legacy/distinfo | 3 | ||||
-rw-r--r-- | devel/qca-legacy/files/patch-plugins_qca-botan_CMakeLists.txt (renamed from devel/qca/files/patch-plugins_qca-botan_CMakeLists.txt) | 0 | ||||
-rw-r--r-- | devel/qca-legacy/files/patch-plugins_qca-ossl_ossl110-compat.h (renamed from devel/qca/files/patch-plugins_qca-ossl_ossl110-compat.h) | 0 | ||||
-rw-r--r-- | devel/qca-legacy/files/patch-plugins_qca-ossl_qca-ossl.cpp (renamed from devel/qca/files/patch-plugins_qca-ossl_qca-ossl.cpp) | 0 | ||||
-rw-r--r-- | devel/qca-legacy/pkg-descr | 13 | ||||
-rw-r--r-- | devel/qca-legacy/pkg-plist | 33 | ||||
-rw-r--r-- | devel/qca/Makefile | 11 | ||||
-rw-r--r-- | devel/qca/distinfo | 6 |
11 files changed, 120 insertions, 9 deletions
diff --git a/devel/Makefile b/devel/Makefile index 89305787591d..0761ef2c4583 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5227,6 +5227,7 @@ SUBDIR += pythontidy SUBDIR += qbs SUBDIR += qca + SUBDIR += qca-legacy SUBDIR += qconf SUBDIR += qgit SUBDIR += qjson diff --git a/devel/okteta/Makefile b/devel/okteta/Makefile index 8473e19483e5..881e326f7438 100644 --- a/devel/okteta/Makefile +++ b/devel/okteta/Makefile @@ -2,6 +2,7 @@ PORTNAME= okteta DISTVERSION= 0.26.3 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= devel kde MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION}/src @@ -9,9 +10,7 @@ MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION}/src MAINTAINER= kde@FreeBSD.org COMMENT= KDE hex editor -LIB_DEPENDS= libqca-qt5.so:devel/qca - -USES= cmake compiler:c++11-lang gettext kde:5 qt:5 \ +USES= cmake compiler:c++11-lang gettext kde:5 qca qt:5 \ shared-mime-info tar:xz USE_KDE= attica auth bookmarks codecs completion crash \ config configwidgets coreaddons dbusaddons doctools \ diff --git a/devel/qca-legacy/Makefile b/devel/qca-legacy/Makefile new file mode 100644 index 000000000000..79623bab964f --- /dev/null +++ b/devel/qca-legacy/Makefile @@ -0,0 +1,57 @@ +# Created by: Vsevolod Stakhov <vsevolod@highsecure.ru> +# $FreeBSD$ + +PORTNAME= qca +PORTVERSION= 2.2.1 +PORTREVISION= 5 +CATEGORIES= devel +MASTER_SITES= KDE/stable/qca/${PORTVERSION} +PKGNAMESUFFIX= -legacy-qt5 + +MAINTAINER= kde@FreeBSD.org +COMMENT= Cross-platform crypto API for Qt ${FLAVOR:C/qt//} -- for FreeBSD 11 + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING + +CONFLICTS_INSTALL= qca-qt5-* + +BUILD_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss +RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss + +USES= cmake compiler:c++11-lang qt:5 tar:xz +CMAKE_ARGS= -DBUILD_PLUGINS=none -DBUILD_TESTS=no \ + -DPKGCONFIG_INSTALL_PREFIX=${PREFIX}/libdata/pkgconfig \ + -DQCA_FEATURE_INSTALL_DIR=${QT_MKSPECDIR}/features \ + -DQCA_MAN_INSTALL_DIR=${PREFIX}/man +CONFIGURE_ENV= QC_CERTSTORE_PATH=${LOCALBASE}/share/certs/ca-root-nss.crt +USE_LDCONFIG= yes + +CMAKE_ARGS+= -DQCA_SUFFIX=qt5 +USE_QT= core buildtools_build qmake_build + +PLIST_SUB= SHLIB_VER=${PORTVERSION} + +OPTIONS_DEFINE= BOTAN GNUPG OPENSSL SASL TEST +OPTIONS_DEFAULT=GNUPG OPENSSL +OPTIONS_SUB= yes + +BOTAN_CMAKE_ON= -DWITH_botan_PLUGIN=yes +BOTAN_DESC= Build with Botan crypto library +BOTAN_LIB_DEPENDS= libbotan-2.so:security/botan2 +BOTAN_USES= pkgconfig + +GNUPG_CMAKE_ON= -DWITH_gnupg_PLUGIN=yes +GNUPG_RUN_DEPENDS= gpg2:security/gnupg + +OPENSSL_CMAKE_ON= -DWITH_ossl_PLUGIN=yes +OPENSSL_USES= ssl + +SASL_CMAKE_ON= -DWITH_cyrus-sasl_PLUGIN=yes +SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 + +TEST_CMAKE_BOOL= BUILD_TESTS +TEST_TEST_TARGET= test +TEST_USE= QT=network,testlib + +.include <bsd.port.mk> diff --git a/devel/qca-legacy/distinfo b/devel/qca-legacy/distinfo new file mode 100644 index 000000000000..b4e73a9c7888 --- /dev/null +++ b/devel/qca-legacy/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1556314674 +SHA256 (qca-2.2.1.tar.xz) = d716d2d8e3ed8d95bbdb061f03081d7d032206f746a30a4d29d72196f50e7b02 +SIZE (qca-2.2.1.tar.xz) = 691676 diff --git a/devel/qca/files/patch-plugins_qca-botan_CMakeLists.txt b/devel/qca-legacy/files/patch-plugins_qca-botan_CMakeLists.txt index fa9fe230c79a..fa9fe230c79a 100644 --- a/devel/qca/files/patch-plugins_qca-botan_CMakeLists.txt +++ b/devel/qca-legacy/files/patch-plugins_qca-botan_CMakeLists.txt diff --git a/devel/qca/files/patch-plugins_qca-ossl_ossl110-compat.h b/devel/qca-legacy/files/patch-plugins_qca-ossl_ossl110-compat.h index a0e197ef3e4e..a0e197ef3e4e 100644 --- a/devel/qca/files/patch-plugins_qca-ossl_ossl110-compat.h +++ b/devel/qca-legacy/files/patch-plugins_qca-ossl_ossl110-compat.h diff --git a/devel/qca/files/patch-plugins_qca-ossl_qca-ossl.cpp b/devel/qca-legacy/files/patch-plugins_qca-ossl_qca-ossl.cpp index a5ddc5f874ad..a5ddc5f874ad 100644 --- a/devel/qca/files/patch-plugins_qca-ossl_qca-ossl.cpp +++ b/devel/qca-legacy/files/patch-plugins_qca-ossl_qca-ossl.cpp diff --git a/devel/qca-legacy/pkg-descr b/devel/qca-legacy/pkg-descr new file mode 100644 index 000000000000..72df515b47b5 --- /dev/null +++ b/devel/qca-legacy/pkg-descr @@ -0,0 +1,13 @@ +QCA aims to provide a straightforward and cross-platform crypto API, +using Qt datatypes and conventions. + +Supported features: + + * SSL/TLS + * X509 + * SASL + * RSA + * Hashing (SHA1, MD5) + * Ciphers (Blowfish, 3DES, AES) + +WWW: http://delta.affinix.com/qca/ diff --git a/devel/qca-legacy/pkg-plist b/devel/qca-legacy/pkg-plist new file mode 100644 index 000000000000..d9a46b9672ff --- /dev/null +++ b/devel/qca-legacy/pkg-plist @@ -0,0 +1,33 @@ +bin/mozcerts-qt5 +bin/qcatool-qt5 +include/Qca-qt5/QtCrypto/QtCrypto +include/Qca-qt5/QtCrypto/qca.h +include/Qca-qt5/QtCrypto/qca_basic.h +include/Qca-qt5/QtCrypto/qca_cert.h +include/Qca-qt5/QtCrypto/qca_core.h +include/Qca-qt5/QtCrypto/qca_export.h +include/Qca-qt5/QtCrypto/qca_keystore.h +include/Qca-qt5/QtCrypto/qca_publickey.h +include/Qca-qt5/QtCrypto/qca_safetimer.h +include/Qca-qt5/QtCrypto/qca_securelayer.h +include/Qca-qt5/QtCrypto/qca_securemessage.h +include/Qca-qt5/QtCrypto/qca_support.h +include/Qca-qt5/QtCrypto/qca_textfilter.h +include/Qca-qt5/QtCrypto/qca_tools.h +include/Qca-qt5/QtCrypto/qca_version.h +include/Qca-qt5/QtCrypto/qcaprovider.h +include/Qca-qt5/QtCrypto/qpipe.h +lib/cmake/Qca-qt5/Qca-qt5Config.cmake +lib/cmake/Qca-qt5/Qca-qt5ConfigVersion.cmake +lib/cmake/Qca-qt5/Qca-qt5Targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/Qca-qt5/Qca-qt5Targets.cmake +lib/libqca-qt5.so +lib/libqca-qt5.so.2 +lib/libqca-qt5.so.%%SHLIB_VER%% +%%BOTAN%%lib/qca-qt5/crypto/libqca-botan.so +%%SASL%%lib/qca-qt5/crypto/libqca-cyrus-sasl.so +%%GNUPG%%lib/qca-qt5/crypto/libqca-gnupg.so +%%OPENSSL%%lib/qca-qt5/crypto/libqca-ossl.so +%%QT_MKSPECDIR%%/features/crypto.prf +libdata/pkgconfig/qca2-qt5.pc +man/man1/qcatool-qt5.1.gz diff --git a/devel/qca/Makefile b/devel/qca/Makefile index bf85d6421f51..4331d115bc66 100644 --- a/devel/qca/Makefile +++ b/devel/qca/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= qca -PORTVERSION= 2.2.1 -PORTREVISION= 4 +DISTVERSION= 2.3.0 CATEGORIES= devel MASTER_SITES= KDE/stable/qca/${PORTVERSION} PKGNAMESUFFIX= -qt5 @@ -52,4 +51,10 @@ TEST_CMAKE_BOOL= BUILD_TESTS TEST_TEST_TARGET= test TEST_USE= QT=network,testlib -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} == base +IGNORE= Does not support OpenSSL < 1.1 +.endif + +.include <bsd.port.post.mk> diff --git a/devel/qca/distinfo b/devel/qca/distinfo index b4e73a9c7888..01c9e8ca5be7 100644 --- a/devel/qca/distinfo +++ b/devel/qca/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1556314674 -SHA256 (qca-2.2.1.tar.xz) = d716d2d8e3ed8d95bbdb061f03081d7d032206f746a30a4d29d72196f50e7b02 -SIZE (qca-2.2.1.tar.xz) = 691676 +TIMESTAMP = 1583676075 +SHA256 (qca-2.3.0.tar.xz) = 1d68ef41a1b61dc9786beb923a68902a6276a77cced5e5ea7ff985ef113932d7 +SIZE (qca-2.3.0.tar.xz) = 729504 |