--- wwl-1.3+db.orig/wwl.c +++ wwl-1.3+db/wwl.c @@ -66,26 +66,16 @@ char my_wwl[SCRATCH_WWL_LEN], dx_wwl[SCRATCH_WWL_LEN]; if (argc < 2) { - printf("wwl/locator by va3db 1.0\n"); - printf("wwl home_locator dx_locator or\n"); - printf("locator locator\n"); + printf("wwl by va3db 1.0\n"); + printf("wwl home_locator dx_locator\n"); exit(EXIT_FAILURE); } - if (strcmp(basename(argv[0]), "locator") == 0) { - locator = 1; - if (argc != 2) { - fprintf(stderr, - "Usage: locator wwl\n"); - exit(EXIT_FAILURE); - } - } else { if (argc != 3) { fprintf(stderr, "Usage: wwl home_locator dx_locator\n"); exit(EXIT_FAILURE); } - } snprintf(my_wwl, sizeof(my_wwl), "%sAA", argv[1]); my_wwl[WWL_LEN] ='\0'; --- wwl-1.3+db.orig/wwl.1 +++ wwl-1.3+db/wwl.1 @@ -18,32 +18,10 @@ wwl jo55 ec41 .br qrb: 15996 kilometers, azimuth: 216 degrees -.Pp -locator FN25di -.br -Locator : FN25DI -.br -Coordinates: Long: (W) -75.75 Lat : (N) 45.3333 -.Pp -locator jo55ei -.br -Locator : JO55EI -.br -Coordinates: Long: (E) 10.33 Lat : (N) 55.3333 -.Pp -locator ec41 -.br -Locator : EC41AA -.br -Coordinates: Long: (W) -92.00 Lat : (S) -69.0000 .Sh HISTORY .Pp wwl, Originally by IK0ZSN Mirko Caserta .Pp -locator, originally written by Harald M. -Stauss harald.stauss@web.de DO1JHS @ DB0GR.#BLN.DEU.EU -.Pp -There is no code from the original (dead?) version of wwl or -the original (dead?) version of locator in this version. +There is no code from the original (dead?) version of wwl. .Sh AUTHORS Diane Bruce (VA3DB) db@db.net --- wwl-1.3+db.orig/debian/rules +++ wwl-1.3+db/debian/rules @@ -0,0 +1,42 @@ +#!/usr/bin/make -f + +build: + dh_testdir + $(MAKE) + touch build + +clean: + dh_testdir + -rm -f build + $(MAKE) clean + -rm -f `find . -name "*~"` + dh_clean + +binary-indep: build +# nothing else to do + +binary-arch: build + dh_clean + dh_installdirs + + install wwl `pwd`/debian/wwl/usr/bin + + dh_installdocs + dh_installman wwl.1 + dh_installchangelogs + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_makeshlibs + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +checkroot: + dh_testdir + dh_testroot + --- wwl-1.3+db.orig/debian/control +++ wwl-1.3+db/debian/control @@ -0,0 +1,14 @@ +Source: wwl +Section: hamradio +Priority: optional +Standards-Version: 3.7.2 +Build-Depends: debhelper (>= 4) +Maintainer: Debian Hamradio Maintainers +Uploaders: Jaime Robles , Patrick Ouellette , Hamish Moffatt + +Package: wwl +Architecture: any +Depends: ${shlibs:Depends} +Description: Calculates distance and azimuth between two Maidenhead locators + Given two Maidenhead locators, wwl calculates distance (qrb) and azimuth. + --- wwl-1.3+db.orig/debian/copyright +++ wwl-1.3+db/debian/copyright @@ -0,0 +1,28 @@ +This is the Debian GNU/Linux package of wwl. + +wwl was downloaded from http://www.db.net/downloads, the program was +originally written by Mirko Caserta , there is no code +from the original (dead?) version of wwl. + +This version comes with a new license, taken from wwl.c: + +/* This version by va3db db@db.net db@FreeBSD.org Oct 1 2007 + * rewritten completely. There were equator crossing bugs in the original + * (dead) version of wwl on sunsite, so I rewrote it from scratch. + * + * wwl -- Originally by IK0ZSN Mirko Caserta + * There is no code from the original (dead?) version of wwl. + * + * The bearing/distance code is from Amateur Radio Software by John + * Morris, GM4ANB. + * + * wrote this file. As long as you retain this notice you + * can do whatever you want with this code, except you may not + * license it under any form of the GPL. + * A postcard or QSL card showing me you appreciate + * this code would be nice. Diane Bruce va3db + */ + +The Debian packaging is (C) 2007, Joop Stakenborg and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + --- wwl-1.3+db.orig/debian/compat +++ wwl-1.3+db/debian/compat @@ -0,0 +1 @@ +4 --- wwl-1.3+db.orig/debian/wwl.dirs +++ wwl-1.3+db/debian/wwl.dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/man/man1 +usr/share/doc/wwl --- wwl-1.3+db.orig/debian/changelog +++ wwl-1.3+db/debian/changelog @@ -0,0 +1,70 @@ +wwl (1.3+db-1.1) unstable; urgency=low + + * Retiring - remove myself from the uploaders list + + -- Joop Stakenborg Wed, 18 Nov 2009 20:26:12 +0000 + +wwl (1.3+db-1) unstable; urgency=low + + * New upstream release. Closes: 243762. + * License change, see the copyright file. + + -- Joop Stakenborg Mon, 05 Nov 2007 18:45:21 +0100 + +wwl (1.2-2) unstable; urgency=low + + * Donate to debian-hams team. + * Update to latest standards-revision. + * Update FSF address in debian/copyright file. + + -- Hamish Moffatt Fri, 19 Oct 2007 00:52:19 +1000 + +wwl (1.2-1) unstable; urgency=low + + * Sync with "new" (~2000) upstream release, which doesn't change anything + not already fixed in Debian + * Support 4-charactor locators; if the last two characters are not + supplied, AA is assumed (closes: #229698, #222026) + * Update for standards-revision 3.6.2 + + -- Hamish Moffatt Sun, 28 Aug 2005 12:31:44 +1000 + +wwl (1.1-6) unstable; urgency=low + + * Added manual page contributed by Kevin Kreamer + (closes: #191903) + * Upgrade to debhelper 4 + + -- Hamish Moffatt Tue, 6 May 2003 00:03:20 +1000 + +wwl (1.1-5) unstable; urgency=low + + * Cleaned up some Lintian warnings + + -- Hamish Moffatt Thu, 31 Jan 2002 00:03:51 +1100 + +wwl (1.1-4) unstable; urgency=low + + * Fixed bugs in calculating azimuth (closes: #70425) + Thanks to Pieter-Tjerk de Boer for the fixes. + + -- Hamish Moffatt Tue, 2 Jan 2001 23:01:29 +1100 + +wwl (1.1-3) unstable; urgency=low + + * Fixed bugs with lower case and incorrect locators (closes: #69826) + + -- Hamish Moffatt Sat, 26 Aug 2000 12:32:09 +1000 + +wwl (1.1-2) unstable; urgency=low + + * FHS compliant + + -- Hamish Moffatt Fri, 1 Oct 1999 19:07:00 +1000 + +wwl (1.1-1) unstable; urgency=low + + * First upload + + -- Hamish Moffatt Sun, 13 Dec 1998 15:55:00 +1100 +