[hamradio-commits] [wwl] 02/11: Imported Debian patch 1.3+db-1.1
Iain Learmonth
irl-guest at moszumanska.debian.org
Mon Aug 10 22:33:21 UTC 2015
This is an automated email from the git hooks/post-receive script.
irl-guest pushed a commit to branch master
in repository wwl.
commit 65236b961804670a01e2d88eedf73636b0dc4323
Author: Joop Stakenborg <pa3aba at debian.org>
Date: Wed Nov 18 20:26:12 2009 +0000
Imported Debian patch 1.3+db-1.1
---
debian/changelog | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
debian/compat | 1 +
debian/control | 14 ++++++++++++
debian/copyright | 28 +++++++++++++++++++++++
debian/rules | 42 ++++++++++++++++++++++++++++++++++
debian/wwl.dirs | 3 +++
wwl.1 | 24 +------------------
wwl.c | 14 ++----------
8 files changed, 161 insertions(+), 35 deletions(-)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d1a802d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,70 @@
+wwl (1.3+db-1.1) unstable; urgency=low
+
+ * Retiring - remove myself from the uploaders list
+
+ -- Joop Stakenborg <pa3aba at debian.org> 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 <pa3aba at debian.org> 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 <hamish at debian.org> 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 <hamish at debian.org> Sun, 28 Aug 2005 12:31:44 +1000
+
+wwl (1.1-6) unstable; urgency=low
+
+ * Added manual page contributed by Kevin Kreamer <kkreamer at etherhogz.org>
+ (closes: #191903)
+ * Upgrade to debhelper 4
+
+ -- Hamish Moffatt <hamish at debian.org> Tue, 6 May 2003 00:03:20 +1000
+
+wwl (1.1-5) unstable; urgency=low
+
+ * Cleaned up some Lintian warnings
+
+ -- Hamish Moffatt <hamish at debian.org> 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 <hamish at debian.org> 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 <hamish at debian.org> Sat, 26 Aug 2000 12:32:09 +1000
+
+wwl (1.1-2) unstable; urgency=low
+
+ * FHS compliant
+
+ -- Hamish Moffatt <hamish at debian.org> Fri, 1 Oct 1999 19:07:00 +1000
+
+wwl (1.1-1) unstable; urgency=low
+
+ * First upload
+
+ -- Hamish Moffatt <hamish at debian.org> Sun, 13 Dec 1998 15:55:00 +1100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4b7ea0f
--- /dev/null
+++ b/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 <debian-hams at lists.debian.org>
+Uploaders: Jaime Robles <jaime at debian.org>, Patrick Ouellette <pouelle at debian.org>, Hamish Moffatt <hamish at debian.org>
+
+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.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5994c40
--- /dev/null
+++ b/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 <ik0zsn at amsat.org>, 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 at db.net db at 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 <ik0zsn at amsat.org>
+ * There is no code from the original (dead?) version of wwl.
+ *
+ * The bearing/distance code is from Amateur Radio Software by John
+ * Morris, GM4ANB.
+ *
+ * <db at FreeBSD.ORG> 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 <pa3aba at debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..20e6b39
--- /dev/null
+++ b/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
+
diff --git a/debian/wwl.dirs b/debian/wwl.dirs
new file mode 100644
index 0000000..9046445
--- /dev/null
+++ b/debian/wwl.dirs
@@ -0,0 +1,3 @@
+usr/bin
+usr/share/man/man1
+usr/share/doc/wwl
diff --git a/wwl.1 b/wwl.1
index e0718eb..a8808a5 100644
--- a/wwl.1
+++ b/wwl.1
@@ -18,32 +18,10 @@ qrb: 5810 kilometers, azimuth: 46 degrees
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 <ik0zsn at amsat.org>
.Pp
-locator, originally written by Harald M.
-Stauss harald.stauss at 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 at db.net
diff --git a/wwl.c b/wwl.c
index c91b78c..5a2fec5 100644
--- a/wwl.c
+++ b/wwl.c
@@ -66,26 +66,16 @@ main (int argc, char **argv)
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';
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/wwl.git
More information about the pkg-hamradio-commits
mailing list