summaryrefslogtreecommitdiff
path: root/ham/trustedQSL
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2013-09-13 08:45:52 +0000
committermef <mef@pkgsrc.org>2013-09-13 08:45:52 +0000
commit9b964a1a5415ae61ff638c8425b886ead46f678d (patch)
tree6635e9232fe354cc6c586e7ae527aeaa25c328b5 /ham/trustedQSL
parentf14f158e6451a5fea2c5521788ad3eca752ed476 (diff)
downloadpkgsrc-9b964a1a5415ae61ff638c8425b886ead46f678d.tar.gz
Import tqsl-2.0rc3 as ham/trustedQSL.
TrustedQSL is a LoTW (Logbook of The World) application to upload QSO's (contacts) information onto Logbook servers maintained by the ARRL (American Radio Relay League). Logbook of The World - LoTW - is an exciting way for Radio Amateurs to confirm two-way contacts they have made and use the confirmations as credit toward various awards. Because Logbook of The World uses double blind comparison, users cannot see what other users have uploaded unless there is a matched QSO.
Diffstat (limited to 'ham/trustedQSL')
-rw-r--r--ham/trustedQSL/DESCR11
-rw-r--r--ham/trustedQSL/Makefile46
-rw-r--r--ham/trustedQSL/PLIST106
-rw-r--r--ham/trustedQSL/distinfo8
-rw-r--r--ham/trustedQSL/patches/patch-apps_CMakeLists.txt25
-rw-r--r--ham/trustedQSL/patches/patch-apps_tqsl_cpp18
-rw-r--r--ham/trustedQSL/patches/patch-src_tqslconvert_cpp15
7 files changed, 229 insertions, 0 deletions
diff --git a/ham/trustedQSL/DESCR b/ham/trustedQSL/DESCR
new file mode 100644
index 00000000000..9239988034e
--- /dev/null
+++ b/ham/trustedQSL/DESCR
@@ -0,0 +1,11 @@
+TrustedQSL is a LoTW (Logbook of The World) application to upload
+QSO's (contacts) information onto Logbook servers maintained by the
+ARRL (American Radio Relay League).
+
+Logbook of The World - LoTW - is an exciting way for Radio Amateurs
+to confirm two-way contacts they have made and use the confirmations
+as credit toward various awards.
+
+Because Logbook of The World uses double blind comparison, users
+cannot see what other users have uploaded unless there is a matched
+QSO.
diff --git a/ham/trustedQSL/Makefile b/ham/trustedQSL/Makefile
new file mode 100644
index 00000000000..80b70bfb7f1
--- /dev/null
+++ b/ham/trustedQSL/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1 2013/09/13 08:45:52 mef Exp $
+
+DISTNAME= tqsl-2.0
+PKGNAME= ${DISTNAME}rc3
+CATEGORIES= ham
+MASTER_SITES= http://www.arrl.org/files/file/LoTW%20Instructions/
+MASTER_SITES= http://downloads.sourceforge.net/project/trustedqsl/TrustedQSL/v2.0-rc3/
+
+MAINTAINER= makoto@ki.nu
+HOMEPAGE= http://sourceforge.net/projects/trustedqsl/
+COMMENT= TrustedQSL, uploading QSL Data to LoTW of ARRL
+#LICENSE= modified-bsd but see LICENSE.txt (ARRL)
+
+DIST_SUBDIR= ${PKGNAME_NOREV}
+USE_TOOLS+= perl gmake cmake
+USE_LANGUAGES+= c c++
+USE_LIBTOOL= yes
+USE_CMAKE= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}
+
+# There is an unresolved build failure, where -R for /usr/pkg/lib does
+# not precede /usr/X11R7/lib, and on a netbsd-5 system with base xorg,
+# an old version of pixman is found by the pkgsrc cairo. The root
+# cause (aside from having two pixman versions installed) is ad hoc -L
+# usage in Makefile.am, without matching -R.
+
+do-configure:
+ (cd $(WRKSRC) ; \
+ cmake \
+ -DBDB_PREFIX=${PREFIX} \
+ -DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE \
+ -DCMAKE_INSTALL_PREFIX=${PREFIX} \
+ -DCMAKE_INSTALL_RPATH=${PREFIX}/lib \
+ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=FALSE \
+ .)
+
+post-install:
+ (cd ${WRKSRC} ;\
+ ${INSTALL_DATA} LICENSE.txt ${DESTDIR}${PREFIX}/share/TrustedQSL/ \
+ )
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../databases/db5/buildlink3.mk"
+.include "../../x11/wxGTK28/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/ham/trustedQSL/PLIST b/ham/trustedQSL/PLIST
new file mode 100644
index 00000000000..1b117816a08
--- /dev/null
+++ b/ham/trustedQSL/PLIST
@@ -0,0 +1,106 @@
+@comment $NetBSD: PLIST,v 1.1 2013/09/13 08:45:52 mef Exp $
+bin/tqsl
+include/adif.h
+include/cabrillo.h
+include/tqslconvert.h
+include/tqslerrno.h
+include/tqsllib.h
+lib/libtqsllib.so
+man/man5/tqsl.5
+share/TrustedQSL/LICENSE.txt
+share/TrustedQSL/config.xml
+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/about.bmp
+share/TrustedQSL/help/tqslapp/addcert1.bmp
+share/TrustedQSL/help/tqslapp/addcertaccept.htm
+share/TrustedQSL/help/tqslapp/addcertreq.htm
+share/TrustedQSL/help/tqslapp/additional-info.htm
+share/TrustedQSL/help/tqslapp/addstnl0.bmp
+share/TrustedQSL/help/tqslapp/backuprestore.htm
+share/TrustedQSL/help/tqslapp/cabrillo.htm
+share/TrustedQSL/help/tqslapp/certaccept.htm
+share/TrustedQSL/help/tqslapp/certaccept1.bmp
+share/TrustedQSL/help/tqslapp/certaccept2.bmp
+share/TrustedQSL/help/tqslapp/certreq.htm
+share/TrustedQSL/help/tqslapp/certreq1.bmp
+share/TrustedQSL/help/tqslapp/certs-icons.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/crq0.htm
+share/TrustedQSL/help/tqslapp/crq1.htm
+share/TrustedQSL/help/tqslapp/crq2.htm
+share/TrustedQSL/help/tqslapp/crq3.htm
+share/TrustedQSL/help/tqslapp/crq4.htm
+share/TrustedQSL/help/tqslapp/daterng.bmp
+share/TrustedQSL/help/tqslapp/daterng.htm
+share/TrustedQSL/help/tqslapp/deletecert.htm
+share/TrustedQSL/help/tqslapp/diagmode.htm
+share/TrustedQSL/help/tqslapp/duplicate.bmp
+share/TrustedQSL/help/tqslapp/example1.htm
+share/TrustedQSL/help/tqslapp/expiration.bmp
+share/TrustedQSL/help/tqslapp/expiration.htm
+share/TrustedQSL/help/tqslapp/expired.bmp
+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/loadcert.htm
+share/TrustedQSL/help/tqslapp/login.htm
+share/TrustedQSL/help/tqslapp/logopstab.bmp
+share/TrustedQSL/help/tqslapp/lotw.htm
+share/TrustedQSL/help/tqslapp/main.htm
+share/TrustedQSL/help/tqslapp/moving.htm
+share/TrustedQSL/help/tqslapp/netproxy.htm
+share/TrustedQSL/help/tqslapp/newp12pw.bmp
+share/TrustedQSL/help/tqslapp/newpw.bmp
+share/TrustedQSL/help/tqslapp/pref-adi.htm
+share/TrustedQSL/help/tqslapp/pref-adi1.bmp
+share/TrustedQSL/help/tqslapp/pref-adi2.bmp
+share/TrustedQSL/help/tqslapp/pref-adi3.bmp
+share/TrustedQSL/help/tqslapp/pref-cab.htm
+share/TrustedQSL/help/tqslapp/pref-cab1.bmp
+share/TrustedQSL/help/tqslapp/pref-cab2.bmp
+share/TrustedQSL/help/tqslapp/pref-cab3.bmp
+share/TrustedQSL/help/tqslapp/pref-opt.bmp
+share/TrustedQSL/help/tqslapp/pref-opt.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/renewing1.bmp
+share/TrustedQSL/help/tqslapp/renewing2.bmp
+share/TrustedQSL/help/tqslapp/replaced.bmp
+share/TrustedQSL/help/tqslapp/save.htm
+share/TrustedQSL/help/tqslapp/savestnl.bmp
+share/TrustedQSL/help/tqslapp/secondarycertops.htm
+share/TrustedQSL/help/tqslapp/sign1.bmp
+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/signupload1.bmp
+share/TrustedQSL/help/tqslapp/stnloc.bmp
+share/TrustedQSL/help/tqslapp/stnloc.htm
+share/TrustedQSL/help/tqslapp/stnloc1.bmp
+share/TrustedQSL/help/tqslapp/stnloc1.htm
+share/TrustedQSL/help/tqslapp/stnloc2.bmp
+share/TrustedQSL/help/tqslapp/stnloc2.htm
+share/TrustedQSL/help/tqslapp/stnloc3.bmp
+share/TrustedQSL/help/tqslapp/stnloc4.bmp
+share/TrustedQSL/help/tqslapp/stnloc5.bmp
+share/TrustedQSL/help/tqslapp/tqslapp.chm
+share/TrustedQSL/help/tqslapp/tqslapp.hhp
+share/TrustedQSL/help/tqslapp/tqslstyle.css
+share/TrustedQSL/help/tqslapp/unlock.bmp
+share/TrustedQSL/help/tqslapp/unlock.htm
+share/TrustedQSL/help/tqslapp/update.htm
+share/TrustedQSL/help/tqslapp/update1.bmp
+share/TrustedQSL/help/tqslapp/update2.bmp
diff --git a/ham/trustedQSL/distinfo b/ham/trustedQSL/distinfo
new file mode 100644
index 00000000000..8864f4bae9a
--- /dev/null
+++ b/ham/trustedQSL/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2013/09/13 08:45:52 mef Exp $
+
+SHA1 (tqsl-2.0rc3/tqsl-2.0.tar.gz) = 60c144446b696453c2481b176f6d9ada13a81f2f
+RMD160 (tqsl-2.0rc3/tqsl-2.0.tar.gz) = a82186b1d9e056ee221e61d675782386f4fdb24d
+Size (tqsl-2.0rc3/tqsl-2.0.tar.gz) = 2158923 bytes
+SHA1 (patch-apps_CMakeLists.txt) = 670af4437b1869b963e15718706cf93311ec56da
+SHA1 (patch-apps_tqsl_cpp) = 93ba43c8ad0955d77b47622ac722765ba146586b
+SHA1 (patch-src_tqslconvert_cpp) = 6a0a4e54c1f351a0bd8e0e6f8c04a87ea975330e
diff --git a/ham/trustedQSL/patches/patch-apps_CMakeLists.txt b/ham/trustedQSL/patches/patch-apps_CMakeLists.txt
new file mode 100644
index 00000000000..abc39e25840
--- /dev/null
+++ b/ham/trustedQSL/patches/patch-apps_CMakeLists.txt
@@ -0,0 +1,25 @@
+$NetBSD: patch-apps_CMakeLists.txt,v 1.1 2013/09/13 08:45:52 mef Exp $
+
+(1) Avoid ${WRKSRC} included in RPATH.
+(2) WARN: PLIST:105: Man pages should be installed into man/, not share/man/.
+
+--- apps/CMakeLists.txt.orig 2013-09-03 04:17:12.000000000 +0900
++++ apps/CMakeLists.txt 2013-09-09 11:05:07.000000000 +0900
+@@ -93,8 +93,8 @@ set(TQSL_RCFILE ${OSX_ICONFILE})
+ endif()
+
+ if(NOT WIN32) #rpath setup
+-SET(CMAKE_SKIP_BUILD_RPATH FALSE)
+-SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
++SET(CMAKE_SKIP_BUILD_RPATH TRUE)
++SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
+ SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
+ SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
+ endif()
+@@ -121,5 +121,5 @@ if(NOT APPLE AND NOT WIN32)
+ add_definitions("-DCONFDIR=\"${CMAKE_INSTALL_PREFIX}/share/TrustedQSL/\"")
+ install(TARGETS tqsl DESTINATION bin)
+ install(DIRECTORY help DESTINATION share/TrustedQSL)
+-install(FILES tqsl.5 DESTINATION share/man/man5)
++install(FILES tqsl.5 DESTINATION man/man5)
+ endif()
diff --git a/ham/trustedQSL/patches/patch-apps_tqsl_cpp b/ham/trustedQSL/patches/patch-apps_tqsl_cpp
new file mode 100644
index 00000000000..ce6e4dd3da6
--- /dev/null
+++ b/ham/trustedQSL/patches/patch-apps_tqsl_cpp
@@ -0,0 +1,18 @@
+$NetBSD: patch-apps_tqsl_cpp,v 1.1 2013/09/13 08:45:52 mef Exp $
+
+Avoid following error (interim, only valid with db5)
+/usr/pkgsrc/wip/trustedQSL/work/tqsl-2.0/apps/tqsl.cpp:1133:36: error: 'DB_VERSION_STRING' was not declared in this scope
+gmake[2]: *** [apps/CMakeFiles/tqsl.dir/tqsl.cpp.o] Error 1
+gmake[1]: *** [apps/CMakeFiles/tqsl.dir/all] Error 2
+
+--- apps/tqsl.cpp.orig 2013-08-18 22:07:48.000000000 +0900
++++ apps/tqsl.cpp 2013-09-01 00:39:30.000000000 +0900
+@@ -71,7 +71,7 @@
+ #endif
+ #include <zlib.h>
+ #include <openssl/opensslv.h> // only for version info!
+-#include <db.h> //only for version info!
++#include <db5/db.h> //only for version info!
+ #include "tqslwiz.h"
+ #include "qsodatadialog.h"
+ #include "tqslerrno.h"
diff --git a/ham/trustedQSL/patches/patch-src_tqslconvert_cpp b/ham/trustedQSL/patches/patch-src_tqslconvert_cpp
new file mode 100644
index 00000000000..a255cf79e69
--- /dev/null
+++ b/ham/trustedQSL/patches/patch-src_tqslconvert_cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_tqslconvert_cpp,v 1.1 2013/09/13 08:45:52 mef Exp $
+
+Convert db.h name to pkgsrc current name
+
+--- src/tqslconvert.cpp.orig 2013-04-20 21:51:36.000000000 +0900
++++ src/tqslconvert.cpp 2013-04-25 10:54:50.000000000 +0900
+@@ -22,7 +22,7 @@
+ #include <vector>
+ #include <ctype.h>
+ #include <set>
+-#include <db.h>
++#include <db5/db.h>
+
+ #include <locale.h>
+ //#include <iostream>