From 04d95ca1fa2a57a05150b0904203429c0a3f63c1 Mon Sep 17 00:00:00 2001 From: Dmitry Sivachenko Date: Tue, 27 Jan 2004 13:24:43 +0000 Subject: New port: qca-tls. A plugin to provide SSL/TLS capability to programs that utilize the Qt Cryptographic Architecture (QCA). --- security/Makefile | 1 + security/qca-tls/Makefile | 29 +++++++++++++++++++++++++++++ security/qca-tls/distinfo | 1 + security/qca-tls/files/patch-configure | 29 +++++++++++++++++++++++++++++ security/qca-tls/pkg-descr | 4 ++++ 5 files changed, 64 insertions(+) create mode 100644 security/qca-tls/Makefile create mode 100644 security/qca-tls/distinfo create mode 100644 security/qca-tls/files/patch-configure create mode 100644 security/qca-tls/pkg-descr diff --git a/security/Makefile b/security/Makefile index 8a17d83204ec..4fc9f12e0918 100644 --- a/security/Makefile +++ b/security/Makefile @@ -327,6 +327,7 @@ SUBDIR += py-pycrypto SUBDIR += py-rijndael SUBDIR += py-twofish + SUBDIR += qca-tls SUBDIR += qident SUBDIR += qtfw SUBDIR += quintuple-agent diff --git a/security/qca-tls/Makefile b/security/qca-tls/Makefile new file mode 100644 index 000000000000..3f74b9e078dd --- /dev/null +++ b/security/qca-tls/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: qca-tls +# Date created: 27 January 2004 +# Whom: Dmitry Sivachenko +# +# $FreeBSD$ +# + +PORTNAME= qca-tls +PORTVERSION= 1.0 +CATEGORIES= security +MASTER_SITES= http://psi.affinix.com/beta/ + +MAINTAINER= demon@FreeBSD.org +COMMENT= SSL/TLS plugin for Qt + +HAS_CONFIGURE= yes +USE_X_PREFIX= yes +USE_BZIP2= yes +USE_GMAKE= yes +USE_QT_VER= 3 +QT_NONSTANDARD= yes +CONFIGURE_ENV= QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ +CONFIGURE_ARGS= --qtdir=${X11BASE} +MAKE_ARGS+= QTDIR=${X11BASE} \ + QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ + +PLIST_FILES= lib/plugins/crypto/libqca-tls.so + +.include diff --git a/security/qca-tls/distinfo b/security/qca-tls/distinfo new file mode 100644 index 000000000000..6c885af6fb46 --- /dev/null +++ b/security/qca-tls/distinfo @@ -0,0 +1 @@ +MD5 (qca-tls-1.0.tar.bz2) = 886b1f60fc31de3b1a0bd93281e27b73 diff --git a/security/qca-tls/files/patch-configure b/security/qca-tls/files/patch-configure new file mode 100644 index 000000000000..36ac56a8fda7 --- /dev/null +++ b/security/qca-tls/files/patch-configure @@ -0,0 +1,29 @@ +--- configure.orig Thu Dec 18 01:54:50 2003 ++++ configure Tue Jan 27 14:58:26 2004 +@@ -43,6 +43,8 @@ + esac + done + ++QC_WITH_OPENSSL_INC=/usr/include ++QC_WITH_OPENSSL_LIB=/usr/lib + + echo "Configuring qca-tls ..." + +@@ -84,7 +86,7 @@ + echo Warning: qmake not in \$QTDIR/bin/qmake + echo trying to find it in \$PATH + fi +- qm=`type -p qmake` ++ qm=`which qmake` + if [ -x "$qm" ]; then + if [ "$QC_DEBUG" = "Y" ]; then + echo qmake found in $qm +@@ -144,8 +146,6 @@ + + s = conf->getenv("QC_WITH_OPENSSL_LIB"); + if(!s.isEmpty()) { +- if(!conf->checkLibrary(s, "ssl")) +- return false; + lib = s; + } + else { diff --git a/security/qca-tls/pkg-descr b/security/qca-tls/pkg-descr new file mode 100644 index 000000000000..e0b5eaea2d46 --- /dev/null +++ b/security/qca-tls/pkg-descr @@ -0,0 +1,4 @@ +A plugin to provide SSL/TLS capability to programs that utilize the +Qt Cryptographic Architecture (QCA). + +WWW: http://psi.affinix.com/ -- cgit v1.2.3