Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

11
ham/trustedQSL/DESCR Normal file
View File

@@ -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.

24
ham/trustedQSL/MESSAGE Normal file
View File

@@ -0,0 +1,24 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1 2013/12/06 05:52:42 mef Exp $
If you see following with "Sign log and upload it automatically to LoTW",
"Peer certificate cannot be authenticated with given CA certificates"
(SSL certificate problem: self signed certificate in certificate chain)
please see the info shown by following command and follow what to do:
pkg_info -D mozilla-rootcerts
To start the application, just type tqsl in shell. You will see
the icons for operations (with Window facility).
For help, man tqsl or see the following HTML file.
${PREFIX}/share/TrustedQSL/help/tqslapp/main.htm
Starting with 2.0, tqslcert function is included in tqsl,
the command tqslcert by itself is no longer provided.
Starting with 1.14, command line processing is available.
tqsl -h or tqsl --help will show the help message.
The license is arrl-license (and almost modified-bsd), its copy is also
installed at:
${PREFIX}/share/TrustedQSL/LICENSE.txt
===========================================================================

69
ham/trustedQSL/Makefile Normal file
View File

@@ -0,0 +1,69 @@
# $NetBSD: Makefile,v 1.10 2014/02/12 23:18:04 tron Exp $
DISTNAME= tqsl-2.0
PKGREVISION= 1
CATEGORIES= ham
MASTER_SITES= http://sourceforge.net/projects/trustedqsl/files/TrustedQSL/v2.0/
EXTRACT_SUFX= .tgz
MAINTAINER= makoto@ki.nu
HOMEPAGE= http://sourceforge.net/projects/trustedqsl/
COMMENT= TrustedQSL, uploading QSL Data to LoTW of ARRL
LICENSE= arrl-license
# A macro _S in /usr/include/ctype.h conflicts with one in apps/tqsltrace.h
# NOT_FOR_PLATFORM+= NetBSD-5.*
DEPENDS+= mozilla-rootcerts-[0-9]*:../../security/mozilla-rootcerts
USE_TOOLS+= perl gmake cmake
USE_LANGUAGES+= c c++
USE_LIBTOOL= yes
USE_CMAKE= yes
# 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.
# Following SUBST is really necessary only on NetBSD-5.*
SUBST_CLASSES+= macro_S
SUBST_MESSAGE.macro_S= Replace _S with _SS to avoid conflicts on include/ctypes.h and apps/tqsltrace.h
SUBST_STAGE.macro_S= pre-configure
SUBST_FILES.macro_S = \
apps/crqwiz.cpp \
apps/extwizard.cpp \
apps/getpassword.cpp \
apps/loadcertwiz.cpp \
apps/qsodatadialog.cpp \
apps/stationdial.cpp \
apps/tqsl.cpp \
apps/tqsl_prefs.cpp \
apps/tqslhelp.cpp \
apps/tqsltrace.h \
apps/tqslvalidator.cpp \
apps/tqslwiz.cpp
SUBST_SED.macro_S= -e 's,_S(,_SS(,g'
do-configure:
(cd $(WRKSRC) ; \
cmake \
-DBDB_PREFIX=${PREFIX} \
-DBDB_INCLUDE_DIR=${PREFIX}/include \
-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"

107
ham/trustedQSL/PLIST Normal file
View File

@@ -0,0 +1,107 @@
@comment $NetBSD: PLIST,v 1.3 2013/12/06 05:52:42 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
share/pixmaps/TrustedQSL.png

8
ham/trustedQSL/distinfo Normal file
View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.7 2013/12/06 05:52:42 mef Exp $
SHA1 (tqsl-2.0.tgz) = c132d83bb7bd2e805fe9d6df52ea235d55153153
RMD160 (tqsl-2.0.tgz) = 7f3e3af2336e43851fb419484e7cfea0ec0089e0
Size (tqsl-2.0.tgz) = 2626483 bytes
SHA1 (patch-apps_CMakeLists.txt) = 6057dd58f9297b5f23158e5a959564c864d46147
SHA1 (patch-apps_tqsl_cpp) = 93ba43c8ad0955d77b47622ac722765ba146586b
SHA1 (patch-src_tqslconvert_cpp) = 6a0a4e54c1f351a0bd8e0e6f8c04a87ea975330e

View File

@@ -0,0 +1,26 @@
$NetBSD: patch-apps_CMakeLists.txt,v 1.2 2013/09/24 11:16:04 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-22 00:44:59.000000000 +0900
+++ apps/CMakeLists.txt 2013-09-22 15:44:50.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,6 +121,6 @@ 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)
install(FILES icons/key48.png DESTINATION share/pixmaps RENAME TrustedQSL.png)
endif()

View File

@@ -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"

View File

@@ -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>