diff options
author | pav <pav@FreeBSD.org> | 2005-11-23 05:40:50 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-11-23 05:40:50 +0800 |
commit | ce8cdae9deb87066fcae02ac4d24552847178099 (patch) | |
tree | 715eebf7a09160ea8a5b7cf01ae82940f1162e63 /comms/trustedqsl/files | |
parent | 9e07dec8bb71d9093d8a583dcdae1323a13c920b (diff) | |
download | freebsd-ports-gnome-ce8cdae9deb87066fcae02ac4d24552847178099.tar.gz freebsd-ports-gnome-ce8cdae9deb87066fcae02ac4d24552847178099.tar.zst freebsd-ports-gnome-ce8cdae9deb87066fcae02ac4d24552847178099.zip |
- Update to 1.11
PR: ports/89430
Submitted by: Diane Bruce <db@db.net> (maintainer)
Diffstat (limited to 'comms/trustedqsl/files')
-rw-r--r-- | comms/trustedqsl/files/Makefile | 4 | ||||
-rw-r--r-- | comms/trustedqsl/files/Makefile.TrustedQSL-1.11 | 65 | ||||
-rw-r--r-- | comms/trustedqsl/files/Makefile.tqsllib | 4 | ||||
-rw-r--r-- | comms/trustedqsl/files/Makefile.tqsllib-apps | 56 | ||||
-rw-r--r-- | comms/trustedqsl/files/patch-TrustedQSL-1.11_left.xpm | 9 | ||||
-rw-r--r-- | comms/trustedqsl/files/patch-TrustedQSL-1.11_qsodatadialog.cpp | 18 | ||||
-rw-r--r-- | comms/trustedqsl/files/patch-TrustedQSL-1.11_right.xpm | 9 | ||||
-rw-r--r-- | comms/trustedqsl/files/patch-tqsllib_sysconfig.h | 31 | ||||
-rw-r--r-- | comms/trustedqsl/files/sysconfig.h.TrustedQSL-1.11 | 80 | ||||
-rw-r--r-- | comms/trustedqsl/files/sysconfig.h.tqsllib | 45 |
10 files changed, 230 insertions, 91 deletions
diff --git a/comms/trustedqsl/files/Makefile b/comms/trustedqsl/files/Makefile index ba304dc4ce5e..553f160a83dd 100644 --- a/comms/trustedqsl/files/Makefile +++ b/comms/trustedqsl/files/Makefile @@ -2,8 +2,8 @@ all: (cd tqsllib;make) - (cd tqsllib-apps;make) + (cd TrustedQSL-1.11;make) install: (cd tqsllib;make install) - (cd tqsllib-apps;make install) + (cd TrustedQSL-1.11;make install) diff --git a/comms/trustedqsl/files/Makefile.TrustedQSL-1.11 b/comms/trustedqsl/files/Makefile.TrustedQSL-1.11 new file mode 100644 index 000000000000..d8527c17b62f --- /dev/null +++ b/comms/trustedqsl/files/Makefile.TrustedQSL-1.11 @@ -0,0 +1,65 @@ +TQSLLIB=../tqsllib +TQSLINC=../tqsllib +TQSL_VERSION_MAJOR = 1 +TQSL_VERSION_MINOR = 11 +OPENSSL=/usr/local +LIBS=-lz -lexpat -lcrypto +INCDIR = -I$(TQSLINC) +BUILD = unofficial +WXFLAGS=`wxgtk2-2.6-config --cflags` +WXLIBS=`wxgtk2-2.6-config --libs` +DEFS = -DHAVE_CONFIG_H +CXXFLAGS += $(DEFS) $(INCDIR) -DHAVE_LIBCRYPTO=1 -DSTDC_HEADERS=1 -DHAVE_MKDIR=1 -DHAVE_STRERROR=1 $(WXFLAGS) + +LDLIBS = -L$(TQSLLIB) -L$(OPENSSL)/lib -ltqsllib $(LIBS) $(WXLIBS) +TQSLLIBFILE=$(TQSLLIB)/libtqsllib.a +CCDEPMODE = depmode=gcc3 +BINDIR=${PREFIX}/bin +DOCDIR=${PREFIX}/share/doc +ETCDIR=${PREFIX}/etc +PERL ?=perl +CP ?=cp +TOUCH ?=touch + +TARGETS = tqslcert tqsl + +all: tqslcertbuild.h tqslbuild.h $(TARGETS) + +TQSLCERT_OBJ = tqslcert.o crqwiz.o dxcc.o certtree.o tqslcert_prefs.o \ + getpassword.o extwizard.o loadcertwiz.o wxutil.o + +TQSL_OBJ = tqsl.o extwizard.o tqslwiz.o dxcc.o stationdial.o qsodatadialog.o \ + tqslvalidator.o tqsl_prefs.o wxutil.o + +tqslcert: $(TQSLCERT_OBJ) $(TQSLLIBFILE) + $(CC) $(CXXFLAGS) -o $@ $(TQSLCERT_OBJ) $(LDLIBS) -lstdc++ + +tqsl: $(TQSL_OBJ) $(TQSLLIBFILE) + $(CC) $(CXXFLAGS) -o $@ $(TQSL_OBJ) $(LDLIBS) -lstdc++ + +tqslcert.o: + ${CXX} $(CXXFLAGS) -c -o $@ $*.cpp + +tqslcertbuild.h: tqslcertbuild.h.in Makefile + $(PERL) touchver.pl tqslcertbuild.h.in BUILD $(BUILD) + $(CP) tqslcertbuild.h.in tqslcertbuild.h + $(TOUCH) tqslcertbuild.h.in + +tqslbuild.h: tqslbuild.h.in Makefile + $(PERL) touchver.pl tqslbuild.h.in BUILD $(BUILD) + $(CP) tqslbuild.h.in tqslbuild.h + $(TOUCH) tqslbuild.h.in + +tqsl.o: + ${CXX} $(CXXFLAGS) -c -o $@ $*.cpp + +%.o: %.cpp + ${CXX} $(CXXFLAGS) -c -o $@ $*.cpp + +clean: + rm -f $(TARGETS) *.o *.a *~ xxx.* + +install: + ${INSTALL} -d $(BINDIR) $(ETCDIR)/tqsl + ${INSTALL} -C $(TARGETS) $(BINDIR) + ${INSTALL} -C ../tqsllib/config.xml $(ETCDIR)/tqsl diff --git a/comms/trustedqsl/files/Makefile.tqsllib b/comms/trustedqsl/files/Makefile.tqsllib index 509c68f152b4..89bbe3851aaa 100644 --- a/comms/trustedqsl/files/Makefile.tqsllib +++ b/comms/trustedqsl/files/Makefile.tqsllib @@ -1,8 +1,8 @@ CXX = g++ CC ?= gcc LIBS=-lcrypto -lexpat -CXXFLAGS += -I. $(INCDIR) -DHAVE_CONFIG_H -LDFLAGS += -L. $(LIBS) -lstdc++ +CXXFLAGS += -I. -I${LOCALBASE}/include -DHAVE_CONFIG_H +LDFLAGS = -L. $(LIBS) -L${LOCALBASE}/lib -lstdc++ TARGETS = gen_crq load_cert station_loc dumptqsldata converter ZLIB=z MYLIB=tqsllib diff --git a/comms/trustedqsl/files/Makefile.tqsllib-apps b/comms/trustedqsl/files/Makefile.tqsllib-apps deleted file mode 100644 index 26548b007b57..000000000000 --- a/comms/trustedqsl/files/Makefile.tqsllib-apps +++ /dev/null @@ -1,56 +0,0 @@ -TQSLLIB=../tqsllib -TQSLINC=../tqsllib -OPENSSL=/usr -LIBS=-lz -lexpat -lcrypto -INCDIR = -I$(TQSLINC) -BUILD=unofficial -WXFLAGS=`wxgtk2-2.4-config --cflags` -WXLIBS=`wxgtk2-2.4-config --libs` -CXXFLAGS += $(INCDIR) -DHAVE_LIBCRYPTO=1 -DSTDC_HEADERS=1 -DHAVE_MKDIR=1 -DHAVE_STRERROR=1 $(WXFLAGS) -LDLIBS = -L$(OPENSSL)/lib -L$(TQSLLIB) -ltqsllib $(LIBS) $(WXLIBS) -TQSLLIBFILE=$(TQSLLIB)/libtqsllib.a - -BINDIR=${PREFIX}/bin -DOCDIR=${PREFIX}/share/doc -ETCDIR=${PREFIX}/etc - -TARGETS = tqslcert tqsl - -all: $(TARGETS) - -TQSLCERT_OBJ = tqslcert.o crqwiz.o dxcc.o certtree.o tqslcert_prefs.o \ - getpassword.o extwizard.o loadcertwiz.o wxutil.o - -TQSL_OBJ = tqsl.o extwizard.o tqslwiz.o dxcc.o stationdial.o qsodatadialog.o \ - tqslvalidator.o tqsl_prefs.o wxutil.o - -tqslcert: $(TQSLCERT_OBJ) $(TQSLLIBFILE) - $(CC) $(CXXFLAGS) $(LDFLAGS) -o $@ $(TQSLCERT_OBJ) $(LDLIBS) -lstdc++ - -tqsl: $(TQSL_OBJ) $(TQSLLIBFILE) - $(CC) $(CXXFLAGS) $(LDFLAGS) -o $@ $(TQSL_OBJ) $(LDLIBS) -lstdc++ - -include apps.depends - -tqslcertbuild.h: buildskel.h - cp buildskel.h tqslcertbuild.h - -tqslcert.o: - ${CXX} $(CXXFLAGS) -c -o $@ $*.cpp - -tqslbuild.h: buildskel.h - cp buildskel.h tqslbuild.h - -tqsl.o: - ${CXX} $(CXXFLAGS) -c -o $@ $*.cpp - -%.o: %.cpp - ${CXX} $(CXXFLAGS) -c -o $@ $*.cpp - -clean: - rm -f $(TARGETS) *.o *.a *~ xxx.* - -install: - ${INSTALL} -d $(BINDIR) $(ETCDIR)/tqsl - ${INSTALL} -C $(TARGETS) $(BINDIR) - ${INSTALL} -C ../tqsllib/config.xml $(ETCDIR)/tqsl diff --git a/comms/trustedqsl/files/patch-TrustedQSL-1.11_left.xpm b/comms/trustedqsl/files/patch-TrustedQSL-1.11_left.xpm new file mode 100644 index 000000000000..1e83e4bb9c2e --- /dev/null +++ b/comms/trustedqsl/files/patch-TrustedQSL-1.11_left.xpm @@ -0,0 +1,9 @@ +--- TrustedQSL-1.11/left.xpm.orig Mon Nov 21 21:27:38 2005 ++++ TrustedQSL-1.11/left.xpm Mon Nov 21 21:33:47 2005 +@@ -1,5 +1,5 @@ + /* XPM */ +-static char *left[]={ ++static char *left_i[]={ + "10 10 29 1", + ". c None", + "d c #000000", diff --git a/comms/trustedqsl/files/patch-TrustedQSL-1.11_qsodatadialog.cpp b/comms/trustedqsl/files/patch-TrustedQSL-1.11_qsodatadialog.cpp new file mode 100644 index 000000000000..4e597f366c7f --- /dev/null +++ b/comms/trustedqsl/files/patch-TrustedQSL-1.11_qsodatadialog.cpp @@ -0,0 +1,18 @@ +--- TrustedQSL-1.11/qsodatadialog.cpp.orig Mon Nov 21 21:27:29 2005 ++++ TrustedQSL-1.11/qsodatadialog.cpp Mon Nov 21 21:34:00 2005 +@@ -302,13 +302,13 @@ + sizer = new wxBoxSizer(wxHORIZONTAL); + _recbottom_ctrl = new wxBitmapButton(this, QD_RECBOTTOM, wxBitmap(bottom), wxDefaultPosition, wxSize(18, TEXT_HEIGHT)), + sizer->Add(_recbottom_ctrl, 0, wxTOP|wxBOTTOM, 5); +- _recdown_ctrl = new wxBitmapButton(this, QD_RECDOWN, wxBitmap(left), wxDefaultPosition, wxSize(18, TEXT_HEIGHT)); ++ _recdown_ctrl = new wxBitmapButton(this, QD_RECDOWN, wxBitmap(left_i), wxDefaultPosition, wxSize(18, TEXT_HEIGHT)); + sizer->Add(_recdown_ctrl, 0, wxTOP|wxBOTTOM, 5); + _recno_ctrl = new wxTextCtrl(this, QD_RECNO, wxT("1"), wxDefaultPosition, + wxSize(4*TEXT_WIDTH,TEXT_HEIGHT)); + _recno_ctrl->Enable(FALSE); + sizer->Add(_recno_ctrl, 0, wxALL, 5); +- _recup_ctrl = new wxBitmapButton(this, QD_RECUP, wxBitmap(right), wxDefaultPosition, wxSize(18, TEXT_HEIGHT)); ++ _recup_ctrl = new wxBitmapButton(this, QD_RECUP, wxBitmap(right_i), wxDefaultPosition, wxSize(18, TEXT_HEIGHT)); + sizer->Add(_recup_ctrl, 0, wxTOP|wxBOTTOM, 5); + _rectop_ctrl = new wxBitmapButton(this, QD_RECTOP, wxBitmap(top), wxDefaultPosition, wxSize(18, TEXT_HEIGHT)), + sizer->Add(_rectop_ctrl, 0, wxTOP|wxBOTTOM, 5); diff --git a/comms/trustedqsl/files/patch-TrustedQSL-1.11_right.xpm b/comms/trustedqsl/files/patch-TrustedQSL-1.11_right.xpm new file mode 100644 index 000000000000..56b2d8d0101e --- /dev/null +++ b/comms/trustedqsl/files/patch-TrustedQSL-1.11_right.xpm @@ -0,0 +1,9 @@ +--- TrustedQSL-1.11/right.xpm.orig Mon Nov 21 21:27:56 2005 ++++ TrustedQSL-1.11/right.xpm Mon Nov 21 21:33:41 2005 +@@ -1,5 +1,5 @@ + /* XPM */ +-static char *right[]={ ++static char *right_i[]={ + "10 10 30 1", + "a c None", + "g c #000000", diff --git a/comms/trustedqsl/files/patch-tqsllib_sysconfig.h b/comms/trustedqsl/files/patch-tqsllib_sysconfig.h deleted file mode 100644 index a801e4e3e78c..000000000000 --- a/comms/trustedqsl/files/patch-tqsllib_sysconfig.h +++ /dev/null @@ -1,31 +0,0 @@ ---- tqsllib/sysconfig.h.orig Wed Jul 21 11:51:59 2004 -+++ tqsllib/sysconfig.h Wed Jul 21 11:54:05 2004 -@@ -14,7 +14,7 @@ - /* #undef TM_IN_SYS_TIME */ - - /* Defined if this is LOTW server code */ --#define LOTW_SERVER 1 -+#undef LOTW_SERVER - - /* Define if you have the mkdir function. */ - #define HAVE_MKDIR 1 -@@ -29,7 +29,7 @@ - #define HAVE_UNISTD_H 1 - - /* Define if you have the <getopt.h> header file. */ --/* #undef HAVE_GETOPT_H */ -+#define HAVE_GETOPT_H - - /* Define if you have the crypto library (-lcrypto). */ - #define HAVE_LIBCRYPTO 1 -@@ -38,8 +38,8 @@ - #define HAVE_LIBDL 1 - - /* Define if you have the pcrl library (-lpcrl). */ --#define HAVE_LIBPCRL 1 -+#undef HAVE_LIBPCRL - - /* Define if you have the sqlca library (-lsqlca). */ --#define HAVE_LIBSQLCA 1 -+#undef HAVE_LIBSQLCA - diff --git a/comms/trustedqsl/files/sysconfig.h.TrustedQSL-1.11 b/comms/trustedqsl/files/sysconfig.h.TrustedQSL-1.11 new file mode 100644 index 000000000000..cddeb15f995d --- /dev/null +++ b/comms/trustedqsl/files/sysconfig.h.TrustedQSL-1.11 @@ -0,0 +1,80 @@ +/* sysconfig.h. Generated by configure. */ +/* sysconfig.h.in. Generated from configure.in by autoheader. */ + +/* Define to 1 if you have the <inttypes.h> header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if you have the `crypto' library (-lcrypto). */ +#define HAVE_LIBCRYPTO 1 + +/* Define to 1 if you have the `expat' library (-lexpat). */ +#define HAVE_LIBEXPAT 1 + +/* Define to 1 if you have the `tqsllib' library (-ltqsllib). */ +#define HAVE_LIBTQSLLIB 1 + +/* Define to 1 if you have the `tqsllibd' library (-ltqsllibd). */ +/* #undef HAVE_LIBTQSLLIBD */ + +/* Define to 1 if you have the `z' library (-lz). */ +#define HAVE_LIBZ 1 + +/* Define to 1 if you have the <memory.h> header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the `mkdir' function. */ +#define HAVE_MKDIR 1 + +/* Define to 1 if you have the <stdint.h> header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the <stdlib.h> header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the `strerror' function. */ +#define HAVE_STRERROR 1 + +/* Define to 1 if you have the <strings.h> header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the <string.h> header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the <sys/types.h> header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the <unistd.h> header file. */ +#define HAVE_UNISTD_H 1 + +/* Name of package */ +#define PACKAGE "TrustedQSL" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "lotw-help@arrl.org" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "TrustedQSL" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "TrustedQSL 1.11" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "TrustedQSL" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "1.11" + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Version number of package */ +#define VERSION "1.11" + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* Define to `unsigned' if <sys/types.h> does not define. */ +/* #undef size_t */ diff --git a/comms/trustedqsl/files/sysconfig.h.tqsllib b/comms/trustedqsl/files/sysconfig.h.tqsllib new file mode 100644 index 000000000000..de7c9c9b2d01 --- /dev/null +++ b/comms/trustedqsl/files/sysconfig.h.tqsllib @@ -0,0 +1,45 @@ +/* tqsllib/sysconfig.h. Generated automatically by configure. */ +/* lotwdb/sysconfig.h.in. Generated automatically from configure.in by autoheader. */ + +/* Define to empty if the keyword does not work. */ +/* #undef const */ + +/* Define to `int' if <sys/types.h> doesn't define. */ +/* #undef mode_t */ + +/* Define if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define if your <sys/time.h> declares struct tm. */ +/* #undef TM_IN_SYS_TIME */ + +/* Defined if this is LOTW server code */ +#undef LOTW_SERVER + +/* Define if you have the mkdir function. */ +#define HAVE_MKDIR 1 + +/* Define if you have the strerror function. */ +#define HAVE_STRERROR 1 + +/* Define if you have the snprintf function. */ +#define HAVE_SNPRINTF 1 + +/* Define if you have the <unistd.h> header file. */ +#define HAVE_UNISTD_H 1 + +/* Define if you have the <getopt.h> header file. */ +#define HAVE_GETOPT_H + +/* Define if you have the crypto library (-lcrypto). */ +#define HAVE_LIBCRYPTO 1 + +/* Define if you have the dl library (-ldl). */ +#define HAVE_LIBDL 1 + +/* Define if you have the pcrl library (-lpcrl). */ +#undef HAVE_LIBPCRL + +/* Define if you have the sqlca library (-lsqlca). */ +#undef HAVE_LIBSQLCA + |