aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2013-07-03 17:45:02 +0000
committerDiane Bruce <db@FreeBSD.org>2013-07-03 17:45:02 +0000
commit94d43048e5fdb9433a08517b0a6e73cdf149505b (patch)
tree1aef642691d6d5954f6845a6379a8731ef415def /comms
parent0db52e997027840c789856d4985c80d27ddfa736 (diff)
downloadports-94d43048e5fdb9433a08517b0a6e73cdf149505b.tar.gz
ports-94d43048e5fdb9433a08517b0a6e73cdf149505b.zip
Notes
Diffstat (limited to 'comms')
-rw-r--r--comms/Makefile1
-rw-r--r--comms/tqsllib/Makefile43
-rw-r--r--comms/tqsllib/distinfo2
-rw-r--r--comms/tqsllib/pkg-descr7
-rw-r--r--comms/tqsllib/pkg-plist19
-rw-r--r--comms/trustedqsl/Makefile30
-rw-r--r--comms/trustedqsl/distinfo4
-rw-r--r--comms/trustedqsl/files/patch-Makefile.in42
-rw-r--r--comms/trustedqsl/files/patch-apps_CMakeLists.txt13
-rw-r--r--comms/trustedqsl/files/patch-cmakemodules_FindBDB.cmake18
-rw-r--r--comms/trustedqsl/files/patch-configure24
-rw-r--r--comms/trustedqsl/files/patch-src_tqslconvert.cpp11
-rw-r--r--comms/trustedqsl/pkg-plist41
13 files changed, 90 insertions, 165 deletions
diff --git a/comms/Makefile b/comms/Makefile
index 111d821f3ada..0dc101a10401 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -156,7 +156,6 @@
SUBDIR += tkhylafax
SUBDIR += tkscanfax
SUBDIR += tlf
- SUBDIR += tqsllib
SUBDIR += trustedqsl
SUBDIR += twpsk
SUBDIR += uarduno
diff --git a/comms/tqsllib/Makefile b/comms/tqsllib/Makefile
deleted file mode 100644
index 7823692b374a..000000000000
--- a/comms/tqsllib/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# $FreeBSD$
-#
-
-PORTNAME= tqsllib
-PORTVERSION= 2.2
-PORTREVISION= 1
-CATEGORIES= comms hamradio
-MASTER_SITES= SF/trustedqsl/tqsllib/V2.2/
-
-MAINTAINER= db@FreeBSD.org
-COMMENT= Amateur Radio Station electronic trusted logbook libraries
-
-LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2
-
-GNU_CONFIGURE= YES
-USE_LDCONFIG= YES
-
-CONFIGURE_ARGS+= "CXXFLAGS=${CXXFLAGS} -fpermissive" --enable-docs=no
-
-.include <bsd.port.pre.mk>
-
-WITH_OPENSSL_HACK7= yes
-.include "${PORTSDIR}/Mk/bsd.openssl.mk"
-CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
-
-pre-install:
- (cd ${WRKSRC}; \
- make converter;make gen_crq; \
- make load_cert;make station_loc)
-
-post-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/converter ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/gen_crq ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/load_cert ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/station_loc ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/tqsllib
- ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/tqsllib
- ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/tqsllib
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/comms/tqsllib/distinfo b/comms/tqsllib/distinfo
deleted file mode 100644
index 0c6de7d1e59e..000000000000
--- a/comms/tqsllib/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (tqsllib-2.2.tar.gz) = 1865a642e7e414eb47758ad26c527b84850d4cc4f2f7f1f119700b765ce636ea
-SIZE (tqsllib-2.2.tar.gz) = 616257
diff --git a/comms/tqsllib/pkg-descr b/comms/tqsllib/pkg-descr
deleted file mode 100644
index f383824b9e3e..000000000000
--- a/comms/tqsllib/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-tqsllibs for TrustedQSL
-
-The mission of the Trusted QSL Group is to keep eQSL an open and free
-activity for amateur radio operators by promoting the
-Digital Signature Standard (DSS).
-
-WWW: http://www.trustedqsl.org/trusted-qsl
diff --git a/comms/tqsllib/pkg-plist b/comms/tqsllib/pkg-plist
deleted file mode 100644
index 3f6144f9f8c4..000000000000
--- a/comms/tqsllib/pkg-plist
+++ /dev/null
@@ -1,19 +0,0 @@
-bin/converter
-bin/dumptqsldata
-bin/gen_crq
-bin/load_cert
-bin/station_loc
-include/tqsllib.h
-include/tqslerrno.h
-include/cabrillo.h
-include/adif.h
-include/tqslconvert.h
-lib/libtqsllib.so.1
-lib/libtqsllib.so
-lib/libtqsllib.la
-lib/libtqsllib.a
-share/tqsl/config.xml
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm share/tqsl
diff --git a/comms/trustedqsl/Makefile b/comms/trustedqsl/Makefile
index 6d3de2b79bbd..6d1dd6718c28 100644
--- a/comms/trustedqsl/Makefile
+++ b/comms/trustedqsl/Makefile
@@ -1,38 +1,26 @@
-# New ports collection makefile for: TrustedQSL
-# Date created: 20th July 2004
-# Whom: Diane Bruce <db@db.net>
-#
# $FreeBSD$
-#
PORTNAME= trustedqsl
-PORTVERSION= 1.13
+PORTVERSION= 1.14.2
CATEGORIES= comms hamradio
-MASTER_SITES= SF/${PORTNAME}/TrustedQSL/V1.13/
-DISTFILES= TrustedQSL-1.13.tar.gz
+MASTER_SITES= SF/${PORTNAME}/TrustedQSL/v1.14.2/
+DISTNAME= tqsl-1.14.2
MAINTAINER= db@FreeBSD.org
COMMENT= Amateur Radio Station electronic trusted logbook
-LIB_DEPENDS= tqsllib:${PORTSDIR}/comms/tqsllib
+LIB_DEPENDS= db-5:${PORTSDIR}/databases/db5 \
+ curl:${PORTSDIR}/ftp/curl
-GNU_CONFIGURE= yes
+USES= cmake
USE_WX= 2.8+
WX_UNICODE= yes
-CONFIGURE_ARGS= --with-wxwindows=${WX_CONFIG}
-USE_PERL5= yes
-USE_LDCONFIG= yes
-MAKE_ENV= INCDIR="-I${LOCALBASE}/include"
-LDFLAGS+= -L${LOCALBASE}/lib
-MAKE_JOBS_UNSAFE= yes
-WRKSRC= ${WRKDIR}/TrustedQSL-1.13
+MAN5= trustedqsl.5
-.include <bsd.port.pre.mk>
+USE_LDCONFIG= yes
-pre-configure:
- @${REINPLACE_CMD} -e 's|%%WX_CONFIG%%|${WX_CONFIG}|g' \
- ${WRKSRC}/configure
+.include <bsd.port.pre.mk>
post-install:
@${ECHO_MSG}
diff --git a/comms/trustedqsl/distinfo b/comms/trustedqsl/distinfo
index cab18ed1683d..fb3818507f72 100644
--- a/comms/trustedqsl/distinfo
+++ b/comms/trustedqsl/distinfo
@@ -1,2 +1,2 @@
-SHA256 (TrustedQSL-1.13.tar.gz) = 4272bc1d9f525c38dc33d7977879161459694df50d41f89e069e1f92e0aac832
-SIZE (TrustedQSL-1.13.tar.gz) = 362767
+SHA256 (tqsl-1.14.2.tar.gz) = 7644a8236493035848c3f10df5f05929bca35a7b65df2a3eea39a1a8f7de3466
+SIZE (tqsl-1.14.2.tar.gz) = 796754
diff --git a/comms/trustedqsl/files/patch-Makefile.in b/comms/trustedqsl/files/patch-Makefile.in
deleted file mode 100644
index 36f8aceffdb0..000000000000
--- a/comms/trustedqsl/files/patch-Makefile.in
+++ /dev/null
@@ -1,42 +0,0 @@
---- Makefile.in.orig 2010-09-29 11:41:29.000000000 -0500
-+++ Makefile.in 2012-08-11 18:44:55.000000000 -0500
-@@ -105,9 +105,9 @@
- distcleancheck_listfiles = find . -type f -print
- ACLOCAL = @ACLOCAL@
- AMTAR = @AMTAR@
--AUTOCONF = @AUTOCONF@
--AUTOHEADER = @AUTOHEADER@
--AUTOMAKE = @AUTOMAKE@
-+AUTOCONF =
-+AUTOHEADER =
-+AUTOMAKE =
- AWK = @AWK@
- BUILD = @BUILD@
- CC = @CC@
-@@ -143,7 +143,7 @@
- LTLIBOBJS = @LTLIBOBJS@
- MAKEINFO = @MAKEINFO@
- MKDIR = @MKDIR@
--MKDIR_P = @MKDIR_P@
-+MKDIR_P = /bin/mkdir -p
- OBJEXT = @OBJEXT@
- OPENSSL = @OPENSSL@
- PACKAGE = @PACKAGE@
-@@ -208,7 +208,7 @@
- localedir = @localedir@
- localstatedir = @localstatedir@
- mandir = @mandir@
--mkdir_p = @mkdir_p@
-+mkdir_p = /bin/mkdir
- oldincludedir = @oldincludedir@
- pdfdir = @pdfdir@
- platform = @platform@
-@@ -226,7 +226,7 @@
- tqslresources = @tqslresources@
- wxwin_libs = @wxwin_libs@
- WXWIN_STATIC = @wxwin_static@
--WXCONFIG = "$(WXDIR)/bin/wx-config"
-+WXCONFIG = "$(WXDIR)"
- helpdir = $(datadir)
- AM_CXXFLAGS = -Wall `$(WXCONFIG) --cxxflags` -I$(TQSLINC) -I$(ZLIB)/include -I$(EXPAT)/include
- AM_LDFLAGS = -L$(TQSLLIB) -L$(ZLIB)/lib -L$(EXPAT)/lib -L$(OPENSSL)/lib
diff --git a/comms/trustedqsl/files/patch-apps_CMakeLists.txt b/comms/trustedqsl/files/patch-apps_CMakeLists.txt
new file mode 100644
index 000000000000..d827fe019255
--- /dev/null
+++ b/comms/trustedqsl/files/patch-apps_CMakeLists.txt
@@ -0,0 +1,13 @@
+--- apps/CMakeLists.txt.orig 2013-06-25 20:03:58.000000000 -0500
++++ apps/CMakeLists.txt 2013-06-25 20:05:42.000000000 -0500
+@@ -101,5 +101,9 @@
+ install(TARGETS tqsl DESTINATION bin)
+ install(TARGETS tqslcert DESTINATION bin)
+ install(DIRECTORY help DESTINATION share/TrustedQSL)
+-install(FILES trustedqsl.5 DESTINATION share/man/man5)
++if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
++ install(FILES trustedqsl.5 DESTINATION man/man5)
++else()
++ install(FILES trustedqsl.5 DESTINATION share/man/man5)
++endif()
+ endif()
diff --git a/comms/trustedqsl/files/patch-cmakemodules_FindBDB.cmake b/comms/trustedqsl/files/patch-cmakemodules_FindBDB.cmake
new file mode 100644
index 000000000000..87a3f58bce52
--- /dev/null
+++ b/comms/trustedqsl/files/patch-cmakemodules_FindBDB.cmake
@@ -0,0 +1,18 @@
+--- cmakemodules/FindBDB.cmake.orig 2013-06-23 17:20:25.000000000 -0700
++++ cmakemodules/FindBDB.cmake 2013-06-23 17:24:59.000000000 -0700
+@@ -4,6 +4,7 @@
+ if(APPLE) #exclude obsolete default OSX db
+ FIND_PATH(BDB_INCLUDE_DIR db.h NO_DEFAULT_PATH PATHS
+ "/usr/local/BerkeleyDB.5.3/include"
++ "/usr/local/include/db5"
+ "${BDB_PREFIX}/include"
+ )
+ else()
+@@ -26,6 +27,7 @@
+ "C:\\db-5.3.21\\build_windows\\Win32\\Static_Release\\" #vc08 adds underscore
+ #OSX (and probably other unix) src build
+ "/usr/local/BerkeleyDB.5.3/lib"
++ "/usr/local/lib/db5"
+ "${BDB_PREFIX}/lib"
+ )
+ MARK_AS_ADVANCED(BDB_LIBRARY)
diff --git a/comms/trustedqsl/files/patch-configure b/comms/trustedqsl/files/patch-configure
deleted file mode 100644
index 7a72f636f5aa..000000000000
--- a/comms/trustedqsl/files/patch-configure
+++ /dev/null
@@ -1,24 +0,0 @@
---- configure.orig 2012-08-11 14:24:17.000000000 -0500
-+++ configure 2012-08-11 14:28:58.000000000 -0500
-@@ -4601,7 +4601,7 @@
-
- checkwxdir(){
- if test -z "$WXDIR"; then
-- if test -e "$1/bin/wx-config"; then
-+ if test -e "%%WX_CONFIG%%"; then
- WXDIR="$1"
- fi
- fi
-@@ -4813,10 +4813,10 @@
- fi
-
-
--wxwin_libs=`$WXDIR/bin/wx-config --libs`
-+wxwin_libs=`%%WX_CONFIG%% --libs`
- # Check whether --enable-wxwin-static was given.
- if test "${enable_wxwin_static+set}" = set; then
-- enableval=$enable_wxwin_static; if test "$enableval" = "yes"; then wxwin_libs=`$WXDIR/bin/wx-config --static --libs`; fi
-+ enableval=$enable_wxwin_static; if test "$enableval" = "yes"; then wxwin_libs=`%%WX_CONFIG%% --static --libs`; fi
- fi
-
-
diff --git a/comms/trustedqsl/files/patch-src_tqslconvert.cpp b/comms/trustedqsl/files/patch-src_tqslconvert.cpp
new file mode 100644
index 000000000000..c29ed5624807
--- /dev/null
+++ b/comms/trustedqsl/files/patch-src_tqslconvert.cpp
@@ -0,0 +1,11 @@
+--- src/tqslconvert.cpp.orig 2013-06-23 17:30:50.000000000 -0700
++++ src/tqslconvert.cpp 2013-06-23 17:31:00.000000000 -0700
+@@ -22,7 +22,7 @@
+ #include <vector>
+ #include <ctype.h>
+ #include <set>
+-#include <db.h>
++#include <db5/db.h>
+
+ #include <locale.h>
+ //#include <iostream>
diff --git a/comms/trustedqsl/pkg-plist b/comms/trustedqsl/pkg-plist
index 03dfc46bdca5..5a95e7473545 100644
--- a/comms/trustedqsl/pkg-plist
+++ b/comms/trustedqsl/pkg-plist
@@ -1,34 +1,67 @@
bin/tqsl
bin/tqslcert
+lib/libtqsllib.so
+share/TrustedQSL/config.xml
+include/tqsllib.h
+include/tqslerrno.h
+include/cabrillo.h
+include/adif.h
+include/tqslconvert.h
+share/TrustedQSL/help/tqslapp/P12.bmp
+share/TrustedQSL/help/tqslapp/Pending.bmp
+share/TrustedQSL/help/tqslapp/TQ5.bmp
+share/TrustedQSL/help/tqslapp/TQ6.bmp
+share/TrustedQSL/help/tqslapp/TQ8.bmp
+share/TrustedQSL/help/tqslapp/TQSLCert.bmp
+share/TrustedQSL/help/tqslapp/addcertaccept.htm
+share/TrustedQSL/help/tqslapp/addcertreq.htm
share/TrustedQSL/help/tqslapp/addcont.bmp
+share/TrustedQSL/help/tqslapp/additional-info.htm
share/TrustedQSL/help/tqslapp/addstnl.bmp
share/TrustedQSL/help/tqslapp/addstnl0.bmp
share/TrustedQSL/help/tqslapp/adifdial.bmp
+share/TrustedQSL/help/tqslapp/cabrillo.htm
+share/TrustedQSL/help/tqslapp/certaccept.htm
+share/TrustedQSL/help/tqslapp/certreq.htm
share/TrustedQSL/help/tqslapp/cmdline.htm
+share/TrustedQSL/help/tqslapp/configops.htm
+share/TrustedQSL/help/tqslapp/configxml.htm
share/TrustedQSL/help/tqslapp/contents.hhc
share/TrustedQSL/help/tqslapp/daterng.bmp
share/TrustedQSL/help/tqslapp/daterng.htm
+share/TrustedQSL/help/tqslapp/duplicate.bmp
+share/TrustedQSL/help/tqslapp/example1.htm
+share/TrustedQSL/help/tqslapp/expiration.htm
+share/TrustedQSL/help/tqslapp/fileops.htm
+share/TrustedQSL/help/tqslapp/files-icons.htm
share/TrustedQSL/help/tqslapp/glossary.htm
+share/TrustedQSL/help/tqslapp/index.htm
+share/TrustedQSL/help/tqslapp/installation.htm
+share/TrustedQSL/help/tqslapp/lotw.htm
share/TrustedQSL/help/tqslapp/main.htm
+share/TrustedQSL/help/tqslapp/moving.htm
share/TrustedQSL/help/tqslapp/pref-adi.bmp
share/TrustedQSL/help/tqslapp/pref-adi.htm
share/TrustedQSL/help/tqslapp/pref-cab.bmp
share/TrustedQSL/help/tqslapp/pref-cab.htm
share/TrustedQSL/help/tqslapp/pref-opt.bmp
share/TrustedQSL/help/tqslapp/pref-opt.htm
-share/TrustedQSL/help/tqslapp/pref.htm
+share/TrustedQSL/help/tqslapp/primary.htm
share/TrustedQSL/help/tqslapp/qsodata.bmp
share/TrustedQSL/help/tqslapp/qsodata.htm
+share/TrustedQSL/help/tqslapp/renewing.htm
share/TrustedQSL/help/tqslapp/savestnl.bmp
+share/TrustedQSL/help/tqslapp/secondarycertops.htm
share/TrustedQSL/help/tqslapp/signconf.bmp
share/TrustedQSL/help/tqslapp/signdone.bmp
share/TrustedQSL/help/tqslapp/signing.htm
+share/TrustedQSL/help/tqslapp/signupload.htm
share/TrustedQSL/help/tqslapp/stnloc.bmp
share/TrustedQSL/help/tqslapp/stnloc.htm
-share/TrustedQSL/help/tqslapp/stnloc1.htm
-share/TrustedQSL/help/tqslapp/stnloc2.htm
-share/TrustedQSL/help/tqslapp/tqsl.htm
+share/TrustedQSL/help/tqslapp/tqslapp.chm
share/TrustedQSL/help/tqslapp/tqslapp.hhp
+share/TrustedQSL/help/tqslapp/tqslstyle.css
+share/TrustedQSL/help/tqslapp/update.htm
%%PORTDOCS%%share/TrustedQSL/help/tqslcert/broken-cert.bmp
%%PORTDOCS%%share/TrustedQSL/help/tqslcert/contents.hhc
%%PORTDOCS%%share/TrustedQSL/help/tqslcert/crq.bmp