update to 2.0.2, make it build concurrently with qca1

This commit is contained in:
espie 2010-06-22 00:35:42 +00:00
parent af735ee97a
commit 7c6c0a1515
5 changed files with 38 additions and 37 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.3 2010/04/15 20:44:19 dcoppa Exp $
# $OpenBSD: Makefile,v 1.4 2010/06/22 00:35:42 espie Exp $
COMMENT = Qt Cryptographic Architecture
SHARED_ONLY = Yes
DISTNAME = qca-2.0.0
PKGNAME = qca2-2.0.0p1
DISTNAME = qca-2.0.2
PKGNAME = qca2-2.0.2
CATEGORIES = security
SHARED_LIBS += qca 3.0
@ -19,18 +19,15 @@ PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://delta.affinix.com/download/qca/2.0/
EXTRACT_SUFX = .tar.bz2
MODULES = x11/qt4 devel/cmake
MODULES = x11/qt4
post-extract:
cd ${WRKDIST}/cmake/modules && rm FindQt4.cmake
CONFIGURE_STYLE = simple
CONFIGURE_ENV += QTDIR=${MODQT_LIBDIR} HOME=${WRKDIR} LOCALBASE=${LOCALBASE} X11BASE=${X11BASE}
CONFIGURE_STYLE = cmake
SEPARATE_BUILD = simple
CONFIGURE_ENV += QTDIR=${MODQT_LIBDIR} HOME=${WRKDIR}
MAKE_FLAGS = LIBqca_VERSION=${LIBqca_VERSION}
FAKE_FLAGS = INSTALL_ROOT=${WRKINST}
WANTLIB += QtGui
WANTLIB += ICE SM X11 Xcursor Xext Xfixes Xi Xinerama Xrandr Xrender
WANTLIB += c fontconfig freetype glib-2.0 gthread-2.0 iconv m
WANTLIB += png pthread pthread-stubs stdc++ xcb z
WANTLIB += c m
WANTLIB += pthread stdc++
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (qca-2.0.0.tar.bz2) = B9VDWO9IgNBbPG9WtimqVQ==
RMD160 (qca-2.0.0.tar.bz2) = JWylGP6lB9A7Z8D10muirHs9tRc=
SHA1 (qca-2.0.0.tar.bz2) = W4lmR0JmN+GXRwPylQeGdGQIxws=
SHA256 (qca-2.0.0.tar.bz2) = LtDUkwBFmuHy0Tj8Lmjtf5KFAGWYEDLJbyU44YePwtM=
SIZE (qca-2.0.0.tar.bz2) = 5106520
MD5 (qca-2.0.2.tar.bz2) = J+vfvZhp2Q2uB4pt7NAp9A==
RMD160 (qca-2.0.2.tar.bz2) = GLD0l3CflwAidkSXeUZzXS7DxiM=
SHA1 (qca-2.0.2.tar.bz2) = WkFMMpbNN9HsNBgr4NCJxQc/Vag=
SHA256 (qca-2.0.2.tar.bz2) = SbVHRFAQSiKYdHwkPeFFGremru1L999D/6S3EoooN7g=
SIZE (qca-2.0.2.tar.bz2) = 1937201

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-CMakeLists_txt,v 1.1.1.1 2008/02/09 10:45:36 espie Exp $
--- CMakeLists.txt.orig Mon Feb 4 17:54:11 2008
+++ CMakeLists.txt Mon Feb 4 17:54:15 2008
@@ -131,7 +131,7 @@ INSTALL(FILES "${CMAKE_BINARY_DIR}/crypto.prf" DESTINA
add_subdirectory(src)
add_subdirectory(tools)
-add_subdirectory(plugins)
+#add_subdirectory(plugins)
if(BUILD_TESTS)
ENABLE_TESTING()
add_subdirectory(unittest)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-crypto_prf_in,v 1.1 2010/06/22 00:35:42 espie Exp $
--- crypto.prf.in.orig Tue Jun 22 02:20:10 2010
+++ crypto.prf.in Tue Jun 22 02:21:19 2010
@@ -28,7 +28,7 @@ mac: {
# else, link normally
isEmpty(LINKAGE) {
INCLUDEPATH += $$QCA_INCDIR/QtCrypto
- LIBS += -L$$QCA_LIBDIR
+ QMAKE_LFLAGS += -L$$QCA_LIBDIR
LINKAGE = -lqca
CONFIG(debug, debug|release) {
windows:LINKAGE = -lqcad

View File

@ -1,7 +1,5 @@
@comment $OpenBSD: PLIST,v 1.2 2010/04/15 20:44:20 dcoppa Exp $
@comment $OpenBSD: PLIST,v 1.3 2010/06/22 00:35:42 espie Exp $
@bin bin/qcatool2
certs/
certs/rootcerts.pem
include/QtCrypto/
include/QtCrypto/QtCrypto
include/QtCrypto/qca.h
@ -18,8 +16,14 @@ include/QtCrypto/qca_textfilter.h
include/QtCrypto/qca_tools.h
include/QtCrypto/qcaprovider.h
include/QtCrypto/qpipe.h
lib/libqca.prl
@lib lib/libqca.so.${LIBqca_VERSION}
lib/pkgconfig/qca.pc
mkspecs/
mkspecs/features/
mkspecs/features/crypto.prf
lib/pkgconfig/qca2.pc
lib/qt4/mkspecs/features/crypto.prf
share/man/
share/man/man1/
@man share/man/man1/qcatool2.1
share/qca/
share/qca/certs/
share/qca/certs/README
share/qca/certs/rootcerts.pem