summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2002-11-10 17:19:36 +0000
committerDima Dorfman <dd@FreeBSD.org>2002-11-10 17:19:36 +0000
commit26b57800ed37bea20d160b656d81881a06ade816 (patch)
tree0ffa1bf21eac0e144af496dda446c7b86ff2ec4d /devel
parentUse openjade on all non-i386 platforms, not just alpha. (diff)
Add qssl, a Qt plugin to help applications use OpenSSL. This was
developed for net/psi, but might be useful generally.
Notes
Notes: svn path=/head/; revision=69813
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/qssl/Makefile36
-rw-r--r--devel/qssl/distinfo1
-rw-r--r--devel/qssl/files/patch-qssl.pro9
-rw-r--r--devel/qssl/pkg-comment1
-rw-r--r--devel/qssl/pkg-descr4
-rw-r--r--devel/qssl/pkg-plist2
7 files changed, 54 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 9b82a974bedc..0a06ce34f09d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -686,6 +686,7 @@
SUBDIR += py-xoltar-toolkit
SUBDIR += pychecker
SUBDIR += pyrex
+ SUBDIR += qssl
SUBDIR += qt-designer
SUBDIR += qtez
SUBDIR += qtk
diff --git a/devel/qssl/Makefile b/devel/qssl/Makefile
new file mode 100644
index 000000000000..08588bdaa23b
--- /dev/null
+++ b/devel/qssl/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: qssl
+# Date created: 10 November 2002
+# Whom: dd
+#
+# $FreeBSD$
+#
+
+PORTNAME= qssl
+PORTVERSION= 1.0
+CATEGORIES= devel security
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= psi
+
+MAINTAINER= dd@FreeBSD.org
+
+LIB_DEPENDS= qt-mt.3:${PORTSDIR}/x11-toolkits/qt30
+
+SHLIB_MAJOR= 0
+
+USE_OPENSSL= yes
+USE_X_PREFIX= yes
+USE_BZIP2= yes
+INSTALLS_SHLIB= yes
+MAKE_ARGS= QTDIR=${X11BASE}
+PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
+
+do-configure:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ARGS} qmake \
+ -spec ${X11BASE}/mkspecs/freebsd-g++ qssl.pro
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/libqssl.so \
+ ${PREFIX}/lib/libqssl.so.${SHLIB_MAJOR}
+ ${LN} -s libqssl.so.${SHLIB_MAJOR} ${PREFIX}/lib/libqssl.so
+
+.include <bsd.port.mk>
diff --git a/devel/qssl/distinfo b/devel/qssl/distinfo
new file mode 100644
index 000000000000..ac2c49247283
--- /dev/null
+++ b/devel/qssl/distinfo
@@ -0,0 +1 @@
+MD5 (qssl-1.0.tar.bz2) = 7dd4e476536fb65d001baad6e440d9d4
diff --git a/devel/qssl/files/patch-qssl.pro b/devel/qssl/files/patch-qssl.pro
new file mode 100644
index 000000000000..0056977ef82c
--- /dev/null
+++ b/devel/qssl/files/patch-qssl.pro
@@ -0,0 +1,9 @@
+--- qssl.pro~ Sun Nov 10 09:16:44 2002
++++ qssl.pro Sun Nov 10 09:16:49 2002
+@@ -8,5 +8,5 @@
+ SOURCES = qssl.cpp
+
+ # link with OpenSSL
+-LIBS += -lssl
++LIBS += -lssl -lcrypto
+
diff --git a/devel/qssl/pkg-comment b/devel/qssl/pkg-comment
new file mode 100644
index 000000000000..54c4cfa4012b
--- /dev/null
+++ b/devel/qssl/pkg-comment
@@ -0,0 +1 @@
+QSSL is a Qt plugin that helps applications use OpenSSL
diff --git a/devel/qssl/pkg-descr b/devel/qssl/pkg-descr
new file mode 100644
index 000000000000..4ec3cdc8fbd4
--- /dev/null
+++ b/devel/qssl/pkg-descr
@@ -0,0 +1,4 @@
+QSSL is a Qt plugin that helps applications use OpenSSL. It was
+originally written to be used with the Psi Jabber client (see net/psi).
+
+WWW: http://psi.sourceforge.net/
diff --git a/devel/qssl/pkg-plist b/devel/qssl/pkg-plist
new file mode 100644
index 000000000000..ddaeec0785a5
--- /dev/null
+++ b/devel/qssl/pkg-plist
@@ -0,0 +1,2 @@
+lib/libqssl.so
+lib/libqssl.so.%%SHLIB_MAJOR%%