--- airport-utils-1.orig/debian/changelog +++ airport-utils-1/debian/changelog @@ -0,0 +1,65 @@ +airport-utils (1-8) unstable; urgency=low + + * debian/control: + + Bump Standards-Version to 3.8.1 (no changes). + + Build-depend on openjdk-6-jdk instead of jikes (closes: #528049). + + Depend on openjdk-6-jre instead of gij. + * debian/copyright: + + Updated upstream website URL. + + Put in proper copyright notice. + + -- Julien BLACHE Sun, 10 May 2009 17:02:55 +0200 + +airport-utils (1-7) unstable; urgency=low + + * debian/control: + + Drop dependency on libgcj7-1-awt, brought by gij anyway. + + Bump Standards-Version to 3.7.3 (no changes). + * debian/airport-utils.menu: + + Move entries under Applications/System/Hardware. + + -- Julien BLACHE Sat, 19 Jan 2008 10:54:45 +0100 + +airport-utils (1-6) unstable; urgency=low + + * debian/rules: + + Test for build.xml existence before cleaning (closes: #436317). + + -- Julien BLACHE Tue, 07 Aug 2007 11:55:32 +0200 + +airport-utils (1-5) unstable; urgency=low + + * debian/airport-utils.menu: + + Update for the new menu structure. + + Added descriptions. + + -- Julien BLACHE Sun, 05 Aug 2007 19:07:32 +0200 + +airport-utils (1-4) unstable; urgency=low + + * debian/control: + + Depend on the new libgcj7-1-awt (closes: #421727). + + -- Julien BLACHE Sun, 13 May 2007 14:22:06 +0200 + +airport-utils (1-3) unstable; urgency=low + + * debian/control: + + Added missing build-dependency on java-gcj-compat-dev (closes: #392112). + + -- Julien BLACHE Tue, 10 Oct 2006 16:55:07 +0200 + +airport-utils (1-2) unstable; urgency=low + + * Depend on libgcj7-awt, needed by gij to run the apps (closes: #375383). + I'm not sure this is the best solution, so if anyone has a better idea, + feel free to mail me. Packaging Java apps feels ... experimental :) + + -- Julien BLACHE Sun, 25 Jun 2006 22:29:45 +0200 + +airport-utils (1-1) unstable; urgency=low + + * Initial release (closes: #367116). + + -- Julien BLACHE Sat, 20 May 2006 18:24:48 +0200 + --- airport-utils-1.orig/debian/compat +++ airport-utils-1/debian/compat @@ -0,0 +1 @@ +5 --- airport-utils-1.orig/debian/airport-utils.docs +++ airport-utils-1/debian/airport-utils.docs @@ -0,0 +1 @@ +index.html --- airport-utils-1.orig/debian/airport-utils.dirs +++ airport-utils-1/debian/airport-utils.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/java/airport-utils --- airport-utils-1.orig/debian/move_files.sh +++ airport-utils-1/debian/move_files.sh @@ -0,0 +1,66 @@ +#!/bin/sh -e +# +# Move source files around to constitute java packages +# + +# airport2-config version +A2CVER=2.0.1 +# airport-config version +ACVER=1.5.2 +# hostmon version +HMVER=2.1 +# ipinspector version +IIVER=1.0 +# linkmon version +LMVER=1.1 +# modem version +MUVER=2.0 +# portinspector version +PIVER=1.0 + +if [ "$1" = "patch" ]; then + mkdir airport2config-${A2CVER}/airport2config + mv airport2config-${A2CVER}/*.java airport2config-${A2CVER}/airport2config/ + + mkdir airportconfig-${ACVER}/airportconfig + mv airportconfig-${ACVER}/*.java airportconfig-${ACVER}/airportconfig/ + + mkdir hostmon-${HMVER}/airporthostmon + mv hostmon-${HMVER}/*.java hostmon-${HMVER}/airporthostmon/ + + mkdir ipinspector-${IIVER}/airportipinspector + mv ipinspector-${IIVER}/*.java ipinspector-${IIVER}/airportipinspector/ + + mkdir linkmon-${LMVER}/airportlinkmon + mv linkmon-${LMVER}/*.java linkmon-${LMVER}/airportlinkmon/ + + mkdir modem-${MUVER}/airporthangup + mv modem-${MUVER}/*.java modem-${MUVER}/airporthangup/ + + mkdir portinspector-${PIVER}/airportinspector + mv portinspector-${PIVER}/*.java portinspector-${PIVER}/airportinspector/ +elif [ "$1" = "unpatch" ]; then + mv airport2config-${A2CVER}/airport2config/* airport2config-${A2CVER} + rmdir airport2config-${A2CVER}/airport2config + + mv airportconfig-${ACVER}/airportconfig/* airportconfig-${ACVER}/ + rmdir airportconfig-${ACVER}/airportconfig + + mv hostmon-${HMVER}/airporthostmon/* hostmon-${HMVER}/ + rmdir hostmon-${HMVER}/airporthostmon + + mv ipinspector-${IIVER}/airportipinspector/* ipinspector-${IIVER}/ + rmdir ipinspector-${IIVER}/airportipinspector + + mv linkmon-${LMVER}/airportlinkmon/* linkmon-${LMVER}/ + rmdir linkmon-${LMVER}/airportlinkmon + + mv modem-${MUVER}/airporthangup/* modem-${MUVER}/ + rmdir modem-${MUVER}/airporthangup + + mv portinspector-${PIVER}/airportinspector/* portinspector-${PIVER}/ + rmdir portinspector-${PIVER}/airportinspector +else + echo "Usage: move_files.sh {patch|unpatch}" + exit 1 +fi --- airport-utils-1.orig/debian/airport-utils.manpages +++ airport-utils-1/debian/airport-utils.manpages @@ -0,0 +1,7 @@ +debian/man/airport-config.1 +debian/man/airport2-config.1 +debian/man/airport-modem.1 +debian/man/airport-linkmon.1 +debian/man/airport-hostmon.1 +debian/man/airport2-portinspector.1 +debian/man/airport2-ipinspector.1 --- airport-utils-1.orig/debian/rules +++ airport-utils-1/debian/rules @@ -0,0 +1,77 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# Include dpatch rules +include /usr/share/dpatch/dpatch.make + +files-stamp: + chmod +x $(CURDIR)/debian/move_files.sh + $(CURDIR)/debian/move_files.sh patch + touch files-stamp + +move-files: + chmod +x $(CURDIR)/debian/move_files.sh + if test -e files-stamp; then $(CURDIR)/debian/move_files.sh unpatch; fi + rm -f files-stamp + +build: build-stamp +build-stamp: files-stamp patch-stamp + dh_testdir + + # Add here commands to compile the package. + ant jar + + touch build-stamp + +clean: real-clean unpatch move-files +real-clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f build.xml ] || ant distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/airport-utils. + for jar in $(shell find $(CURDIR) -name "*.jar"); do cp $$jar debian/airport-utils/usr/share/java/airport-utils/; done + + cp debian/bin/* debian/airport-utils/usr/bin/ + chmod +x debian/airport-utils/usr/bin/* + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installchangelogs -i + dh_installdocs -i + dh_installmenu -i + dh_installman -i + dh_link -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: +# We have nothing to do here. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install patch unpatch real-clean --- airport-utils-1.orig/debian/airport-utils.menu +++ airport-utils-1/debian/airport-utils.menu @@ -0,0 +1,45 @@ +?package(airport-utils):needs="X11" section="Applications/System/Hardware" \ + title="airport-config" \ + longtitle="AirPort Base Station Configurator" \ + command="/usr/bin/airport-config" \ + description="Original AirPort base station configurator, \ + for the Graphite base station and the Lucent RG-1000 APs" + +?package(airport-utils):needs="X11" section="Applications/System/Hardware" \ + title="airport-linkmon" \ + longtitle="AirPort Base Station Wireless Link Monitor" \ + command="/usr/bin/airport-linkmon" \ + description="Displays information on the wireless link \ + quality between the base station and the hosts connected to it" + +?package(airport-utils):needs="X11" section="Applications/System/Hardware" \ + title="airport2-config" \ + longtitle="AirPort Extreme Base Station Configurator" \ + command="/usr/bin/airport2-config" \ + description="AirPort Extreme base station configurator" + +?package(airport-utils):needs="X11" section="Applications/System/Hardware" \ + title="airport2-portinspector" \ + longtitle="AirPort Extreme Base Station Port Inspector" \ + command="/usr/bin/airport2-portinspector" \ + description="Lists established port mappings on the AirPort \ + Extreme base station" + +?package(airport-utils):needs="X11" section="Applications/System/Hardware" \ + title="airport2-ipinspector" \ + longtitle="AirPort Extreme Base Station IP Inspector" \ + command="/usr/bin/airport2-ipinspector" \ + description="Monitoring utility for the WAN interface of the \ + AirPort Extreme base station" + +?package(airport-utils):needs="X11" section="Applications/System/Hardware" \ + title="airport-hostmon" \ + longtitle="AirPort Base Station Host Monitor" \ + command="/usr/bin/airport-hostmon" \ + description="Lists wireless hosts connected to the base station" + +?package(airport-utils):needs="X11" section="Applications/System/Hardware" \ + title="airport-modem" \ + longtitle="AirPort Base Station Modem Utility" \ + command="/usr/bin/airport-modem" \ + description="Control utility for the base station integrated modem" --- airport-utils-1.orig/debian/control +++ airport-utils-1/debian/control @@ -0,0 +1,35 @@ +Source: airport-utils +Section: net +Priority: optional +Maintainer: Julien BLACHE +Build-Depends: debhelper (>= 5.0.0), dpatch, ant +Build-Depends-Indep: openjdk-6-jdk | java-compiler +Standards-Version: 3.8.1 + +Package: airport-utils +Architecture: all +Depends: ${misc:Depends}, openjdk-6-jre | java-virtual-machine +Description: configuration and management utilities for Apple AirPort base stations + This package contains various utilities to manage the Apple AirPort base + stations. + . + Be aware that Apple released several versions of the AirPort base station; + the original AirPort ("Graphite") was a rebranded Lucent RG-1000 base + station, doing 802.11a/b. The AirPort Extreme ("Snow") is an Apple-built + 802.11a/b/g base station. + . + For the original Apple AirPort and the Lucent RG-1000 base stations only: + - airport-config: base station configurator + - airport-linkmon: wireless link monitor, gives information on the wireless + link quality between the base station and the associated hosts + . + For the Apple AirPort Extreme base stations only: + - airport2-config: base station configurator + - airport2-portinspector: port maps monitor + - airport2-ipinspector: WAN interface monitoring utility + . + For all: + - airport-modem: modem control utility, displays modem state, starts/stops + modem connections, displays the approximate connection time (Extreme only) + - airport-hostmon: wireless hosts monitor, lists wireless hosts connected + to the base station (see airport2-portinspector for the Snow) --- airport-utils-1.orig/debian/copyright +++ airport-utils-1/debian/copyright @@ -0,0 +1,28 @@ +This package was debianized by Julien BLACHE on +Sat, 20 May 2006 18:23:02 +0200. + +It was downloaded from: + + +Copyright Holder: + Copyright (C) 2000-2003 Jon Sevy + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- airport-utils-1.orig/debian/patches/00list +++ airport-utils-1/debian/patches/00list @@ -0,0 +1,14 @@ +100-ant_build_files +101-a2c_fix_typo +102_a2c_editCellAt +103_ac_editCellAt +104_hm_editCellAt +105-ac_import_fixes +106-hm_class_names_fixes +107-a2c_packages +108-ac_packages +109-hm_packages +110-ii_packages +111-lm_packages +112-mu_packages +113-pi_packages --- airport-utils-1.orig/debian/patches/113-pi_packages.dpatch +++ airport-utils-1/debian/patches/113-pi_packages.dpatch @@ -0,0 +1,182 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 113-pi_packages.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Put all the orphan files into the airportinspector package. + +@DPATCH@ +--- airport-utils-1.orig/portinspector-1.0/airportinspector/AboutDialog.java 2003-01-25 23:36:40.000000000 +0100 ++++ airport-utils-1/portinspector-1.0/airportinspector/AboutDialog.java 2006-04-15 16:38:13.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airportinspector; + + + import java.awt.*; +--- airport-utils-1.orig/portinspector-1.0/airportinspector/AirportDiscoverer.java 2003-01-25 22:54:18.000000000 +0100 ++++ airport-utils-1/portinspector-1.0/airportinspector/AirportDiscoverer.java 2006-04-15 16:38:10.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airportinspector; + + + +--- airport-utils-1.orig/portinspector-1.0/airportinspector/AirportDiscoveryInfo.java 2003-01-25 22:54:40.000000000 +0100 ++++ airport-utils-1/portinspector-1.0/airportinspector/AirportDiscoveryInfo.java 2006-04-15 16:38:06.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airportinspector; + + import java.util.*; + +--- airport-utils-1.orig/portinspector-1.0/airportinspector/AirportInfoRecord.java 2003-01-25 22:54:50.000000000 +0100 ++++ airport-utils-1/portinspector-1.0/airportinspector/AirportInfoRecord.java 2006-04-15 16:38:03.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airportinspector; + + + import java.math.*; +--- airport-utils-1.orig/portinspector-1.0/airportinspector/ArpInfo.java 2003-01-25 22:54:56.000000000 +0100 ++++ airport-utils-1/portinspector-1.0/airportinspector/ArpInfo.java 2006-04-15 16:37:59.000000000 +0200 +@@ -20,7 +20,7 @@ + */ + + +- ++package airportinspector; + + + public class ArpInfo +--- airport-utils-1.orig/portinspector-1.0/airportinspector/ArpInfoTreeMap.java 2003-01-25 22:55:03.000000000 +0100 ++++ airport-utils-1/portinspector-1.0/airportinspector/ArpInfoTreeMap.java 2006-04-15 16:37:54.000000000 +0200 +@@ -19,6 +19,7 @@ + * + */ + ++package airportinspector; + + + import java.util.*; +--- airport-utils-1.orig/portinspector-1.0/airportinspector/JTextAreaWriter.java 2003-01-25 22:53:37.000000000 +0100 ++++ airport-utils-1/portinspector-1.0/airportinspector/JTextAreaWriter.java 2006-04-15 16:37:50.000000000 +0200 +@@ -18,6 +18,8 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ ++ ++package airportinspector; + + + import java.io.*; +--- airport-utils-1.orig/portinspector-1.0/airportinspector/PortCount.java 2003-01-25 22:55:10.000000000 +0100 ++++ airport-utils-1/portinspector-1.0/airportinspector/PortCount.java 2006-04-15 16:37:46.000000000 +0200 +@@ -20,6 +20,8 @@ + */ + + ++package airportinspector; ++ + public class PortCount + { + +--- airport-utils-1.orig/portinspector-1.0/airportinspector/PortInfo.java 2003-01-25 22:55:17.000000000 +0100 ++++ airport-utils-1/portinspector-1.0/airportinspector/PortInfo.java 2006-04-15 16:37:41.000000000 +0200 +@@ -20,7 +20,7 @@ + */ + + +- ++package airportinspector; + + + public class PortInfo +--- airport-utils-1.orig/portinspector-1.0/airportinspector/PortInfoChangeListener.java 2003-01-25 22:55:24.000000000 +0100 ++++ airport-utils-1/portinspector-1.0/airportinspector/PortInfoChangeListener.java 2006-04-15 16:37:38.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airportinspector; + + + +--- airport-utils-1.orig/portinspector-1.0/airportinspector/PortInfoTreeMap.java 2003-01-25 22:55:29.000000000 +0100 ++++ airport-utils-1/portinspector-1.0/airportinspector/PortInfoTreeMap.java 2006-04-15 16:37:34.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airportinspector; + + import java.util.*; + import java.math.*; +--- airport-utils-1.orig/portinspector-1.0/airportinspector/PortInspector.java 2003-01-25 22:55:43.000000000 +0100 ++++ airport-utils-1/portinspector-1.0/airportinspector/PortInspector.java 2006-04-15 16:37:31.000000000 +0200 +@@ -20,7 +20,7 @@ + */ + + +- ++package airportinspector; + + import java.util.*; + import java.net.*; +--- airport-utils-1.orig/portinspector-1.0/airportinspector/PortMapTable.java 2003-01-25 22:55:59.000000000 +0100 ++++ airport-utils-1/portinspector-1.0/airportinspector/PortMapTable.java 2006-04-15 16:37:27.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airportinspector; + + import java.awt.*; + import java.awt.event.*; +--- airport-utils-1.orig/portinspector-1.0/airportinspector/Preferences.java 2003-01-25 22:56:32.000000000 +0100 ++++ airport-utils-1/portinspector-1.0/airportinspector/Preferences.java 2006-04-15 16:37:23.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airportinspector; + + import java.io.*; + import java.net.*; +--- airport-utils-1.orig/portinspector-1.0/airportinspector/PreferencesDialog.java 2003-01-25 23:19:19.000000000 +0100 ++++ airport-utils-1/portinspector-1.0/airportinspector/PreferencesDialog.java 2006-04-15 16:37:20.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airportinspector; + + + import java.awt.*; +--- airport-utils-1.orig/portinspector-1.0/airportinspector/ValueFormatException.java 2003-01-25 22:54:26.000000000 +0100 ++++ airport-utils-1/portinspector-1.0/airportinspector/ValueFormatException.java 2006-04-15 16:37:16.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airportinspector; + + + /** --- airport-utils-1.orig/debian/patches/112-mu_packages.dpatch +++ airport-utils-1/debian/patches/112-mu_packages.dpatch @@ -0,0 +1,94 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 112-mu_packages.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Put all the orphan files into the airporthangup package. + +@DPATCH@ +--- airport-utils-1.orig/modem-2.0/airporthangup/AirportBaseStationHangup.java 2005-03-01 02:30:27.000000000 +0100 ++++ airport-utils-1/modem-2.0/airporthangup/AirportBaseStationHangup.java 2006-04-17 21:40:48.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airporthangup; + + import java.util.*; + import java.net.*; +--- airport-utils-1.orig/modem-2.0/airporthangup/AirportBaseStationHangupNoSwing.java 2005-03-01 00:35:29.000000000 +0100 ++++ airport-utils-1/modem-2.0/airporthangup/AirportBaseStationHangupNoSwing.java 2006-04-17 21:40:48.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airporthangup; + + import java.net.*; + import java.awt.*; +--- airport-utils-1.orig/modem-2.0/airporthangup/DialogResponse.java 2006-04-17 04:19:54.000000000 +0200 ++++ airport-utils-1/modem-2.0/airporthangup/DialogResponse.java 2006-04-17 21:41:23.000000000 +0200 +@@ -19,6 +19,8 @@ + * + */ + ++package airporthangup; ++ + public class DialogResponse + { + public Boolean cancelled; +--- airport-utils-1.orig/modem-2.0/airporthangup/InputDialog.java 2006-04-17 04:20:00.000000000 +0200 ++++ airport-utils-1/modem-2.0/airporthangup/InputDialog.java 2006-04-17 21:43:07.000000000 +0200 +@@ -19,11 +19,12 @@ + * + */ + ++package airporthangup; ++ + import java.awt.*; + import java.awt.event.*; + + +- + class InputDialog extends Dialog + implements ActionListener + { +--- airport-utils-1.orig/modem-2.0/airporthangup/MessageDialog.java 2006-04-17 04:20:05.000000000 +0200 ++++ airport-utils-1/modem-2.0/airporthangup/MessageDialog.java 2006-04-17 21:43:00.000000000 +0200 +@@ -19,11 +19,12 @@ + * + */ + ++package airporthangup; ++ + import java.awt.*; + import java.awt.event.*; + + +- + class MessageDialog extends Dialog + implements ActionListener + { +--- airport-utils-1.orig/modem-2.0/airporthangup/OSUNMSInfoElement.java 2005-03-01 00:35:55.000000000 +0100 ++++ airport-utils-1/modem-2.0/airporthangup/OSUNMSInfoElement.java 2006-04-17 21:40:48.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airporthangup; + + + +--- airport-utils-1.orig/modem-2.0/airporthangup/OSUNMSInfoHash.java 2002-06-18 17:12:07.000000000 +0200 ++++ airport-utils-1/modem-2.0/airporthangup/OSUNMSInfoHash.java 2006-04-17 21:40:48.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airporthangup; + + import java.util.*; + import java.io.*; --- airport-utils-1.orig/debian/patches/111-lm_packages.dpatch +++ airport-utils-1/debian/patches/111-lm_packages.dpatch @@ -0,0 +1,29 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 111-lm_packages.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Put all the orphan files into the airportlinkmon package. + +@DPATCH@ +--- airport-utils-1.orig/linkmon-1.1/airportlinkmon/AboutDialog.java 2001-05-14 21:49:04.000000000 +0200 ++++ airport-utils-1/linkmon-1.1/airportlinkmon/AboutDialog.java 2006-04-15 16:31:11.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airportlinkmon; + + import java.awt.*; + import javax.swing.*; +--- airport-utils-1.orig/linkmon-1.1/airportlinkmon/LinkMonitor.java 2001-05-14 21:50:00.000000000 +0200 ++++ airport-utils-1/linkmon-1.1/airportlinkmon/LinkMonitor.java 2006-04-15 16:31:05.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airportlinkmon; + + import java.util.*; + import java.net.*; --- airport-utils-1.orig/debian/patches/110-ii_packages.dpatch +++ airport-utils-1/debian/patches/110-ii_packages.dpatch @@ -0,0 +1,120 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 110-ii_packages.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Put all the orphan files into the airportipinspector package. + +@DPATCH@ +--- airport-utils-1.orig/ipinspector-1.0/airportipinspector/AboutDialog.java 2003-01-29 22:54:15.000000000 +0100 ++++ airport-utils-1/ipinspector-1.0/airportipinspector/AboutDialog.java 2006-04-15 16:56:21.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airportipinspector; + + import java.awt.*; + import java.awt.event.*; +--- airport-utils-1.orig/ipinspector-1.0/airportipinspector/AirportInfoChangeEmailer.java 2002-10-30 03:46:12.000000000 +0100 ++++ airport-utils-1/ipinspector-1.0/airportipinspector/AirportInfoChangeEmailer.java 2006-04-15 16:56:18.000000000 +0200 +@@ -18,7 +18,8 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ +- ++ ++package airportipinspector; + + import java.io.*; + import java.util.*; +--- airport-utils-1.orig/ipinspector-1.0/airportipinspector/AirportInfoChangeListener.java 2002-10-30 04:04:51.000000000 +0100 ++++ airport-utils-1/ipinspector-1.0/airportipinspector/AirportInfoChangeListener.java 2006-04-15 16:56:14.000000000 +0200 +@@ -18,7 +18,8 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ +- ++ ++package airportipinspector; + + import airport.*; + +--- airport-utils-1.orig/ipinspector-1.0/airportipinspector/IPInspector.java 2003-01-30 21:21:44.000000000 +0100 ++++ airport-utils-1/ipinspector-1.0/airportipinspector/IPInspector.java 2006-04-15 16:56:09.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airportipinspector; + + + import java.util.*; +--- airport-utils-1.orig/ipinspector-1.0/airportipinspector/JTextAreaWriter.java 2002-10-30 03:45:50.000000000 +0100 ++++ airport-utils-1/ipinspector-1.0/airportipinspector/JTextAreaWriter.java 2006-04-15 16:56:04.000000000 +0200 +@@ -18,7 +18,8 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ +- ++ ++package airportipinspector; + + import java.io.*; + import javax.swing.text.*; +--- airport-utils-1.orig/ipinspector-1.0/airportipinspector/MailerThread.java 2003-01-30 21:30:33.000000000 +0100 ++++ airport-utils-1/ipinspector-1.0/airportipinspector/MailerThread.java 2006-04-15 16:55:59.000000000 +0200 +@@ -18,7 +18,8 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ +- ++ ++package airportipinspector; + + import java.io.*; + import java.util.*; +--- airport-utils-1.orig/ipinspector-1.0/airportipinspector/Message.java 2002-10-30 03:44:53.000000000 +0100 ++++ airport-utils-1/ipinspector-1.0/airportipinspector/Message.java 2006-04-15 16:55:55.000000000 +0200 +@@ -19,6 +19,7 @@ + * + */ + ++package airportipinspector; + + /* Message class + +--- airport-utils-1.orig/ipinspector-1.0/airportipinspector/POPWeasel.java 2002-10-30 03:44:17.000000000 +0100 ++++ airport-utils-1/ipinspector-1.0/airportipinspector/POPWeasel.java 2006-04-15 16:55:47.000000000 +0200 +@@ -18,6 +18,8 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ ++ ++package airportipinspector; + + /* class POPWeasel + +--- airport-utils-1.orig/ipinspector-1.0/airportipinspector/Preferences.java 2002-10-30 03:44:40.000000000 +0100 ++++ airport-utils-1/ipinspector-1.0/airportipinspector/Preferences.java 2006-04-15 16:55:43.000000000 +0200 +@@ -18,6 +18,8 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ ++ ++package airportipinspector; + + /* Preferences class + +--- airport-utils-1.orig/ipinspector-1.0/airportipinspector/PreferencesDialog.java 2003-01-29 22:47:56.000000000 +0100 ++++ airport-utils-1/ipinspector-1.0/airportipinspector/PreferencesDialog.java 2006-04-15 16:55:37.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airportipinspector; + + import java.awt.*; + import javax.swing.*; --- airport-utils-1.orig/debian/patches/109-hm_packages.dpatch +++ airport-utils-1/debian/patches/109-hm_packages.dpatch @@ -0,0 +1,380 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 109-hm_packages.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Put all the orphan files into the airporthostmon package. + +@DPATCH@ +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/AboutDialog.java 2003-10-17 03:03:36.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/AboutDialog.java 2006-04-15 16:13:45.000000000 +0200 +@@ -20,7 +20,7 @@ + */ + + +- ++package airporthostmon; + + import java.awt.*; + import java.awt.event.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/AirportDiscoverer.java 2003-09-26 03:27:17.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/AirportDiscoverer.java 2006-04-15 16:13:40.000000000 +0200 +@@ -20,7 +20,7 @@ + */ + + +- ++package airporthostmon; + + + +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/AirportDiscoveryInfo.java 2003-09-26 03:27:44.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/AirportDiscoveryInfo.java 2006-04-15 16:13:36.000000000 +0200 +@@ -20,7 +20,7 @@ + */ + + +- ++package airporthostmon; + + import java.util.*; + +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/AirportExtremeHostInfoRetriever.java 2003-09-27 05:15:33.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/AirportExtremeHostInfoRetriever.java 2006-04-15 16:13:32.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airporthostmon; + + import snmp.*; + import java.io.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/AirportInfoRecord.java 2003-09-26 03:27:57.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/AirportInfoRecord.java 2006-04-15 16:13:29.000000000 +0200 +@@ -20,7 +20,7 @@ + */ + + +- ++package airporthostmon; + + import java.math.*; + import java.util.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/ArpInfo.java 2003-09-26 03:28:15.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/ArpInfo.java 2006-04-15 16:13:25.000000000 +0200 +@@ -20,7 +20,7 @@ + */ + + +- ++package airporthostmon; + + + public class ArpInfo +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/ArpInfoTreeMap.java 2003-09-26 03:31:32.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/ArpInfoTreeMap.java 2006-04-15 16:13:22.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airporthostmon; + + import java.util.*; + import java.math.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/EmailMessage.java 2003-10-16 03:08:04.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/EmailMessage.java 2006-04-15 16:13:19.000000000 +0200 +@@ -19,6 +19,7 @@ + * + */ + ++package airporthostmon; + + /* EmailMessage class + +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/GraphiteAirportHostInfoRetriever.java 2003-09-28 01:17:47.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/GraphiteAirportHostInfoRetriever.java 2006-04-15 16:13:14.000000000 +0200 +@@ -19,6 +19,7 @@ + * + */ + ++package airporthostmon; + + import snmp.*; + import java.io.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/HostInfo.java 2003-09-26 03:26:32.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/HostInfo.java 2006-04-15 16:13:10.000000000 +0200 +@@ -19,6 +19,8 @@ + * + */ + ++package airporthostmon; ++ + import java.util.*; + + public class HostInfo +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/HostInfoBeepAlerter.java 2003-10-15 03:50:33.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/HostInfoBeepAlerter.java 2006-04-15 16:13:06.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airporthostmon; + + import java.io.*; + import java.util.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/HostInfoChangeEmailer.java 2003-10-16 03:48:26.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/HostInfoChangeEmailer.java 2006-04-15 16:13:03.000000000 +0200 +@@ -18,7 +18,8 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ +- ++ ++package airporthostmon; + + import java.io.*; + import java.util.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/HostInfoChangeException.java 2003-10-10 13:33:25.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/HostInfoChangeException.java 2006-04-15 16:12:58.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airporthostmon; + + + /** +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/HostInfoChangeListener.java 2003-10-10 13:31:29.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/HostInfoChangeListener.java 2006-04-15 16:12:55.000000000 +0200 +@@ -20,7 +20,7 @@ + */ + + +- ++package airporthostmon; + + + public interface HostInfoChangeListener +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/HostInfoLogger.java 2003-10-14 04:23:37.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/HostInfoLogger.java 2006-04-15 16:12:49.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airporthostmon; + + import java.io.*; + import java.util.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/HostInfoRetriever.java 2003-09-27 03:15:22.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/HostInfoRetriever.java 2006-05-20 18:10:31.231825012 +0200 +@@ -19,6 +19,7 @@ + * + */ + ++package airporthostmon; + + import snmp.*; + +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/HostInfoTable.java 2003-10-19 23:40:31.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/HostInfoTable.java 2006-04-15 16:12:42.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airporthostmon; + + import java.awt.*; + import java.awt.event.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/HostInfoTreeMap.java 2003-10-19 22:23:13.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/HostInfoTreeMap.java 2006-04-15 16:12:39.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airporthostmon; + + import java.util.*; + import java.math.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/HostMonitor.java 2003-10-17 03:03:07.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/HostMonitor.java 2006-04-15 16:12:35.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airporthostmon; + + + import java.util.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/InfoPanel.java 2003-10-14 03:35:28.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/InfoPanel.java 2006-04-15 16:12:32.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airporthostmon; + + import java.awt.*; + import java.awt.event.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/JDataButton.java 2003-09-26 03:32:48.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/JDataButton.java 2006-04-15 16:12:28.000000000 +0200 +@@ -19,6 +19,7 @@ + * + */ + ++package airporthostmon; + + import javax.swing.*; + +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/JTextAreaWriter.java 2003-10-16 03:20:06.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/JTextAreaWriter.java 2006-04-15 16:12:24.000000000 +0200 +@@ -18,7 +18,8 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ +- ++ ++package airporthostmon; + + import java.io.*; + import javax.swing.text.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/KnownHostDialog.java 2003-09-26 03:33:07.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/KnownHostDialog.java 2006-04-15 16:12:17.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airporthostmon; + + + import java.awt.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/KnownHostInfo.java 2003-09-26 03:33:15.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/KnownHostInfo.java 2006-04-15 16:12:14.000000000 +0200 +@@ -18,7 +18,8 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ +- ++ ++package airporthostmon; + + import java.util.*; + import java.io.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/KnownHostTable.java 2003-09-26 03:33:24.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/KnownHostTable.java 2006-05-20 18:05:25.252829278 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airporthostmon; + + import java.awt.*; + import java.awt.event.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/MacAddress.java 2003-09-26 03:33:34.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/MacAddress.java 2006-04-15 16:12:03.000000000 +0200 +@@ -19,6 +19,8 @@ + * + */ + ++package airporthostmon; ++ + import java.util.*; + import java.io.*; + +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/MailerThread.java 2003-10-16 03:55:12.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/MailerThread.java 2006-04-15 16:11:58.000000000 +0200 +@@ -18,7 +18,8 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ +- ++ ++package airporthostmon; + + import java.io.*; + import java.util.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/POPWeasel.java 2003-10-16 03:14:06.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/POPWeasel.java 2006-04-15 16:11:49.000000000 +0200 +@@ -18,6 +18,8 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ ++ ++package airporthostmon; + + /* class POPWeasel + +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/Preferences.java 2003-10-12 02:10:05.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/Preferences.java 2006-04-15 16:11:44.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airporthostmon; + + import java.io.*; + import java.net.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/Preferences2.java 2003-10-15 02:37:28.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/Preferences2.java 2006-04-15 16:11:40.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airporthostmon; + + import java.io.*; + import java.net.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/PreferencesDialog.java 2003-10-16 03:39:14.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/PreferencesDialog.java 2006-04-15 16:11:35.000000000 +0200 +@@ -20,7 +20,7 @@ + */ + + +- ++package airporthostmon; + + import java.awt.*; + import javax.swing.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/RarpInfoTreeMap.java 2003-09-26 03:34:07.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/RarpInfoTreeMap.java 2006-04-15 16:11:31.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airporthostmon; + + import java.util.*; + import java.math.*; +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/SnowAirportHostInfoRetriever.java 2003-09-27 03:14:11.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/SnowAirportHostInfoRetriever.java 2006-04-15 16:11:27.000000000 +0200 +@@ -19,6 +19,7 @@ + * + */ + ++package airporthostmon; + + import snmp.*; + +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/ValueFormatException.java 2003-09-26 03:34:48.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/ValueFormatException.java 2006-04-15 16:11:22.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airporthostmon; + + + /** --- airport-utils-1.orig/debian/patches/108-ac_packages.dpatch +++ airport-utils-1/debian/patches/108-ac_packages.dpatch @@ -0,0 +1,62 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 108-ac_packages.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Put all the orphan files into the airportconfig package. + +@DPATCH@ +--- airport-utils-1.orig/airportconfig-1.5.2/airportconfig/AboutDialog.java 2002-06-18 17:11:08.000000000 +0200 ++++ airport-utils-1/airportconfig-1.5.2/airportconfig/AboutDialog.java 2006-04-15 13:34:26.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airportconfig; + + import java.awt.*; + import java.awt.event.*; +--- airport-utils-1.orig/airportconfig-1.5.2/airportconfig/AirportBaseStation128BitConfigurator.java 2002-06-18 17:11:08.000000000 +0200 ++++ airport-utils-1/airportconfig-1.5.2/airportconfig/AirportBaseStation128BitConfigurator.java 2006-04-15 13:34:26.000000000 +0200 +@@ -20,7 +20,7 @@ + */ + + +- ++package airportconfig; + + import java.util.*; + import java.net.*; +--- airport-utils-1.orig/airportconfig-1.5.2/airportconfig/AirportBaseStationConfigurator.java 2002-06-18 17:11:08.000000000 +0200 ++++ airport-utils-1/airportconfig-1.5.2/airportconfig/AirportBaseStationConfigurator.java 2006-04-15 13:34:26.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airportconfig; + + + import java.util.*; +--- airport-utils-1.orig/airportconfig-1.5.2/airportconfig/AirportBaseStationConfiguratorMicro.java 2002-06-18 17:11:08.000000000 +0200 ++++ airport-utils-1/airportconfig-1.5.2/airportconfig/AirportBaseStationConfiguratorMicro.java 2006-04-15 13:34:26.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airportconfig; + + + import java.util.*; +--- airport-utils-1.orig/airportconfig-1.5.2/airportconfig/AirportBaseStationMultiConfigurator.java 2002-06-18 17:11:08.000000000 +0200 ++++ airport-utils-1/airportconfig-1.5.2/airportconfig/AirportBaseStationMultiConfigurator.java 2006-04-15 13:34:26.000000000 +0200 +@@ -20,7 +20,7 @@ + */ + + +- ++package airportconfig; + + import java.util.*; + import java.net.*; --- airport-utils-1.orig/debian/patches/107-a2c_packages.dpatch +++ airport-utils-1/debian/patches/107-a2c_packages.dpatch @@ -0,0 +1,96 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 107-a2c_packages.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Put all the orphan files into the airport2config package. +## DP: Fix some files which were not declared into a package. + +@DPATCH@ +--- airport-utils-1.orig/airport2config-2.0.1/airport/Airport2InfoElement.java 2002-06-18 17:12:04.000000000 +0200 ++++ airport-utils-1/airport2config-2.0.1/airport/Airport2InfoElement.java 2006-04-18 12:13:38.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airport; + + import java.io.*; + +--- airport-utils-1.orig/airport2config-2.0.1/airport/Airport2InfoElementVector.java 2002-06-18 17:12:04.000000000 +0200 ++++ airport-utils-1/airport2config-2.0.1/airport/Airport2InfoElementVector.java 2006-05-20 17:56:17.844365677 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airport; + + import java.util.*; + import java.io.*; +--- airport-utils-1.orig/airport2config-2.0.1/airport2config/AboutDialog.java 2003-03-24 00:35:26.000000000 +0100 ++++ airport-utils-1/airport2config-2.0.1/airport2config/AboutDialog.java 2006-04-18 12:01:49.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airport2config; + + import java.awt.*; + import java.awt.event.*; +--- airport-utils-1.orig/airport2config-2.0.1/airport2config/AirportBaseStation128BitConfigurator.java 2002-06-18 17:12:04.000000000 +0200 ++++ airport-utils-1/airport2config-2.0.1/airport2config/AirportBaseStation128BitConfigurator.java 2006-04-18 12:01:45.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airport2config; + + + import java.util.*; +--- airport-utils-1.orig/airport2config-2.0.1/airport2config/AirportBaseStationCLI.java 2003-11-27 02:39:19.000000000 +0100 ++++ airport-utils-1/airport2config-2.0.1/airport2config/AirportBaseStationCLI.java 2006-04-18 12:01:41.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airport2config; + + + import java.util.*; +--- airport-utils-1.orig/airport2config-2.0.1/airport2config/AirportBaseStationConfigurator.java 2004-02-11 04:16:17.000000000 +0100 ++++ airport-utils-1/airport2config-2.0.1/airport2config/AirportBaseStationConfigurator.java 2006-04-18 12:01:38.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airport2config; + + + import java.util.*; +--- airport-utils-1.orig/airport2config-2.0.1/airport2config/AirportBaseStationConfiguratorMicro.java 2002-06-18 17:12:04.000000000 +0200 ++++ airport-utils-1/airport2config-2.0.1/airport2config/AirportBaseStationConfiguratorMicro.java 2006-04-18 12:01:34.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airport2config; + + + import java.util.*; +--- airport-utils-1.orig/airport2config-2.0.1/airport2config/AirportBaseStationMultiConfigurator.java 2002-06-18 17:12:04.000000000 +0200 ++++ airport-utils-1/airport2config-2.0.1/airport2config/AirportBaseStationMultiConfigurator.java 2006-04-18 12:01:30.000000000 +0200 +@@ -19,7 +19,7 @@ + * + */ + +- ++package airport2config; + + + import java.util.*; --- airport-utils-1.orig/debian/patches/106-hm_class_names_fixes.dpatch +++ airport-utils-1/debian/patches/106-hm_class_names_fixes.dpatch @@ -0,0 +1,20 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 106_hm_class_names_fixes.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix class names in host monitor. + +@DPATCH@ +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/HostInfoRetriever.java 2003-09-27 03:15:22.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/HostInfoRetriever.java 2006-04-15 16:24:22.000000000 +0200 +@@ -40,7 +41,9 @@ + static + { + Class retrieverClass; +- String[] retrieverClassNames = {"AirportExtremeHostInfoRetriever", "SnowAirportHostInfoRetriever", "GraphiteAirportHostInfoRetriever"}; ++ String[] retrieverClassNames = {"airporthostmon.AirportExtremeHostInfoRetriever", ++ "airporthostmon.SnowAirportHostInfoRetriever", ++ "airporthostmon.GraphiteAirportHostInfoRetriever"}; + + for (int i = 0; i < retrieverClassNames.length; i++) + { --- airport-utils-1.orig/debian/patches/105-ac_import_fixes.dpatch +++ airport-utils-1/debian/patches/105-ac_import_fixes.dpatch @@ -0,0 +1,32 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 105_ac_import_fixes.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix some imports. + +@DPATCH@ +--- airport-utils-1.orig/airportconfig-1.5.2/airport/AirportEncryptionPanel.java 2002-06-18 17:11:08.000000000 +0200 ++++ airport-utils-1/airportconfig-1.5.2/airport/AirportEncryptionPanel.java 2006-04-15 13:20:09.000000000 +0200 +@@ -25,9 +25,7 @@ + + import java.awt.*; + import javax.swing.*; +-import AirportBaseStationConfigurator; +- +- ++import airportconfig.*; + + + /** +--- airport-utils-1.orig/airportconfig-1.5.2/airport/AirportInfo.java 2002-06-18 17:11:08.000000000 +0200 ++++ airport-utils-1/airportconfig-1.5.2/airport/AirportInfo.java 2006-04-15 13:20:20.000000000 +0200 +@@ -25,8 +25,7 @@ + + import java.util.*; + import byteblock.*; +-import AirportBaseStationConfigurator; +- ++import airportconfig.*; + + /** + * Collects together information about the location of pieces of information --- airport-utils-1.orig/debian/patches/104_hm_editCellAt.dpatch +++ airport-utils-1/debian/patches/104_hm_editCellAt.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 104_hm_editCellAt.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Comment out editCellAt method calls, as it's unimplemented in Classpath. + +@DPATCH@ +--- airport-utils-1.orig/hostmon-2.1/airporthostmon/KnownHostTable.java 2003-09-26 03:33:24.000000000 +0200 ++++ airport-utils-1/hostmon-2.1/airporthostmon/KnownHostTable.java 2006-04-15 16:22:06.000000000 +0200 +@@ -287,7 +287,7 @@ + catch(ValueFormatException e) + { + // set the editing to the mac address in the row that caused the problem +- table.editCellAt(i,1); ++ //table.editCellAt(i,1); + + // rethrow the exception so can report it + throw e; --- airport-utils-1.orig/debian/patches/103_ac_editCellAt.dpatch +++ airport-utils-1/debian/patches/103_ac_editCellAt.dpatch @@ -0,0 +1,105 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 103-ac_editCelltAt.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Comment out editCellAt method calls as it's not implemented in Classpath. + +@DPATCH@ +--- airport-utils-1.orig/airportconfig-1.5.2/airport/AirportAccessControlTable.java 2002-06-18 17:11:08.000000000 +0200 ++++ airport-utils-1/airportconfig-1.5.2/airport/AirportAccessControlTable.java 2006-04-15 10:04:03.000000000 +0200 +@@ -222,7 +222,7 @@ + } + catch (ValueFormatException e) + { +- table.editCellAt(i,0); ++ //table.editCellAt(i,0); + throw e; + } + +@@ -235,7 +235,7 @@ + } + catch (ValueFormatException e) + { +- table.editCellAt(i,1); ++ //table.editCellAt(i,1); + throw e; + } + +--- airport-utils-1.orig/airportconfig-1.5.2/airport/AirportLoginStringTable.java 2002-06-18 17:11:08.000000000 +0200 ++++ airport-utils-1/airportconfig-1.5.2/airport/AirportLoginStringTable.java 2006-04-15 10:04:42.000000000 +0200 +@@ -296,7 +296,7 @@ + ++currentPosition; + if ((delayValue < 0) || (delayValue > 63)) + { +- table.editCellAt(i,1); ++ //table.editCellAt(i,1); + throw new ValueFormatException("Delay must be between 0 and 63 seconds"); + } + } +@@ -305,7 +305,7 @@ + } + catch (NumberFormatException e) + { +- table.editCellAt(i,1); ++ //table.editCellAt(i,1); + throw new ValueFormatException("Bad delay value"); + } + catch (ArrayIndexOutOfBoundsException e) +--- airport-utils-1.orig/airportconfig-1.5.2/airport/AirportPortMappingTable.java 2002-06-18 17:11:08.000000000 +0200 ++++ airport-utils-1/airportconfig-1.5.2/airport/AirportPortMappingTable.java 2006-04-15 10:05:17.000000000 +0200 +@@ -245,7 +245,7 @@ + } + catch (ValueFormatException e) + { +- table.editCellAt(i,0); ++ //table.editCellAt(i,0); + throw e; + } + +@@ -268,7 +268,7 @@ + } + catch (ValueFormatException e) + { +- table.editCellAt(i,1); ++ //table.editCellAt(i,1); + throw e; + } + +@@ -279,7 +279,7 @@ + } + catch (ValueFormatException e) + { +- table.editCellAt(i,2); ++ //table.editCellAt(i,2); + throw e; + } + +--- airport-utils-1.orig/airportconfig-1.5.2/airport/AirportSNMPAccessControlTable.java 2002-06-18 17:11:08.000000000 +0200 ++++ airport-utils-1/airportconfig-1.5.2/airport/AirportSNMPAccessControlTable.java 2006-04-15 10:05:35.000000000 +0200 +@@ -288,7 +288,7 @@ + } + catch (ValueFormatException e) + { +- table.editCellAt(i,0); ++ //table.editCellAt(i,0); + throw e; + } + +@@ -313,7 +313,7 @@ + } + catch (ValueFormatException e) + { +- table.editCellAt(i,1); ++ //table.editCellAt(i,1); + throw e; + } + +@@ -329,7 +329,7 @@ + } + catch (ValueFormatException e) + { +- table.editCellAt(i,2); ++ //table.editCellAt(i,2); + throw e; + } + --- airport-utils-1.orig/debian/patches/102_a2c_editCellAt.dpatch +++ airport-utils-1/debian/patches/102_a2c_editCellAt.dpatch @@ -0,0 +1,105 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 102-a2c_editCellAt.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Comment out editCellAt method calls as it's not implemented in Classpath. + +@DPATCH@ +--- airport-utils-1.orig/airport2config-2.0.1/airport/AirportAccessControlTable.java 2002-06-18 17:12:03.000000000 +0200 ++++ airport-utils-1/airport2config-2.0.1/airport/AirportAccessControlTable.java 2006-04-18 12:03:47.000000000 +0200 +@@ -185,7 +185,7 @@ + } + catch (ValueFormatException e) + { +- table.editCellAt(i,0); ++ //table.editCellAt(i,0); + throw e; + } + +@@ -217,7 +217,7 @@ + + catch (ValueFormatException e) + { +- table.editCellAt(i,1); ++ //table.editCellAt(i,1); + throw e; + } + +--- airport-utils-1.orig/airport2config-2.0.1/airport/AirportLoginStringTable.java 2002-06-18 17:12:04.000000000 +0200 ++++ airport-utils-1/airport2config-2.0.1/airport/AirportLoginStringTable.java 2006-04-18 12:03:38.000000000 +0200 +@@ -296,7 +296,7 @@ + + if ((delayValue < 0) || (delayValue > 63)) + { +- table.editCellAt(i,1); ++ //table.editCellAt(i,1); + throw new ValueFormatException("Delay must be between 0 and 63 seconds"); + } + } +@@ -305,7 +305,7 @@ + } + catch (NumberFormatException e) + { +- table.editCellAt(i,1); ++ //table.editCellAt(i,1); + throw new ValueFormatException("Bad delay value"); + } + catch (ArrayIndexOutOfBoundsException e) +--- airport-utils-1.orig/airport2config-2.0.1/airport/AirportPortMappingTable.java 2002-06-18 17:12:03.000000000 +0200 ++++ airport-utils-1/airport2config-2.0.1/airport/AirportPortMappingTable.java 2006-04-18 12:03:29.000000000 +0200 +@@ -193,7 +193,7 @@ + } + catch (ValueFormatException e) + { +- table.editCellAt(i,0); ++ //table.editCellAt(i,0); + throw e; + } + +@@ -209,7 +209,7 @@ + + catch (ValueFormatException e) + { +- table.editCellAt(i,1); ++ //table.editCellAt(i,1); + throw e; + } + +@@ -225,7 +225,7 @@ + + catch (ValueFormatException e) + { +- table.editCellAt(i,2); ++ //table.editCellAt(i,2); + throw e; + } + +--- airport-utils-1.orig/airport2config-2.0.1/airport/AirportSNMPAccessControlTable.java 2002-06-18 17:12:04.000000000 +0200 ++++ airport-utils-1/airport2config-2.0.1/airport/AirportSNMPAccessControlTable.java 2006-04-18 12:03:17.000000000 +0200 +@@ -288,7 +288,7 @@ + } + catch (ValueFormatException e) + { +- table.editCellAt(i,0); ++ //table.editCellAt(i,0); + throw e; + } + +@@ -313,7 +313,7 @@ + } + catch (ValueFormatException e) + { +- table.editCellAt(i,1); ++ //table.editCellAt(i,1); + throw e; + } + +@@ -329,7 +329,7 @@ + } + catch (ValueFormatException e) + { +- table.editCellAt(i,2); ++ //table.editCellAt(i,2); + throw e; + } + --- airport-utils-1.orig/debian/patches/101-a2c_fix_typo.dpatch +++ airport-utils-1/debian/patches/101-a2c_fix_typo.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 101-a2c_fix_typo.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix a typo in a class member name. + +@DPATCH@ +--- airport-utils-1.orig/airport2config-2.0.1/airport/Airport2InfoElementVector.java 2002-06-18 17:12:04.000000000 +0200 ++++ airport-utils-1/airport2config-2.0.1/airport/Airport2InfoElementVector.java 2006-04-18 12:07:51.000000000 +0200 +@@ -60,7 +60,7 @@ + //read the type + byte[] typeBytes = new byte[4]; + byteStream.read(typeBytes, 0, 4); +- element.type = getIntegerValue(typeBytes); ++ element.dataType = getIntegerValue(typeBytes); + + //read the length + byte[] lengthBytes = new byte[4]; --- airport-utils-1.orig/debian/patches/100-ant_build_files.dpatch +++ airport-utils-1/debian/patches/100-ant_build_files.dpatch @@ -0,0 +1,908 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 100-ant_build_files.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Create ant build files for each utility, and a general build file for the package. + +@DPATCH@ +--- airport-utils-1.orig/airport2config-2.0.1/build.xml 1970-01-01 01:00:00.000000000 +0100 ++++ airport-utils-1/airport2config-2.0.1/build.xml 2006-04-18 12:12:21.000000000 +0200 +@@ -0,0 +1,121 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ +--- airport-utils-1.orig/airportconfig-1.5.2/build.xml 1970-01-01 01:00:00.000000000 +0100 ++++ airport-utils-1/airportconfig-1.5.2/build.xml 2006-04-15 16:45:54.000000000 +0200 +@@ -0,0 +1,117 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ +--- airport-utils-1.orig/build.xml 1970-01-01 01:00:00.000000000 +0100 ++++ airport-utils-1/build.xml 2006-05-20 16:26:58.000000000 +0200 +@@ -0,0 +1,71 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ +--- airport-utils-1.orig/hostmon-2.1/build.xml 1970-01-01 01:00:00.000000000 +0100 ++++ airport-utils-1/hostmon-2.1/build.xml 2006-04-15 16:45:21.000000000 +0200 +@@ -0,0 +1,111 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ +--- airport-utils-1.orig/ipinspector-1.0/build.xml 1970-01-01 01:00:00.000000000 +0100 ++++ airport-utils-1/ipinspector-1.0/build.xml 2006-04-15 16:51:07.000000000 +0200 +@@ -0,0 +1,111 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ +--- airport-utils-1.orig/linkmon-1.1/build.xml 1970-01-01 01:00:00.000000000 +0100 ++++ airport-utils-1/linkmon-1.1/build.xml 2006-04-15 16:44:29.000000000 +0200 +@@ -0,0 +1,111 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ +--- airport-utils-1.orig/modem-2.0/build.xml 1970-01-01 01:00:00.000000000 +0100 ++++ airport-utils-1/modem-2.0/build.xml 2006-04-17 21:39:11.000000000 +0200 +@@ -0,0 +1,124 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ +--- airport-utils-1.orig/portinspector-1.0/build.xml 1970-01-01 01:00:00.000000000 +0100 ++++ airport-utils-1/portinspector-1.0/build.xml 2006-04-15 16:41:29.000000000 +0200 +@@ -0,0 +1,111 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ --- airport-utils-1.orig/debian/man/airport-config.1 +++ airport-utils-1/debian/man/airport-config.1 @@ -0,0 +1,70 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH AIRPORT-CONFIG 1 "May 20, 2006" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +airport-config \- Configurator for the original Apple AirPort Base +Station ("Graphite") and the Lucent RG-1000 base station +.SH SYNOPSIS +.B airport-config + +.SH DESCRIPTION + +\fBairport-config\fP allows you to manage your AirPort base station, +just like the AirPort software on Mac OS X. + +.SH OPTIONS + +\fBairport-config\fP accepts no command-line +options. \fBairport-config\fP is a wrapper script around the +\fIAirportBaseStationConfigurator.jar\fP jar file located in +\fI/usr/share/java/airport-utils\fP. + +You can set the \fBJAVACMD\fP environment variable to use a specific JVM +instead of the one chosen by the wrapper script. Set the \fBDEBUG\fP +environment variable to 1 to get the debug output from the wrapper +script. + +.SH ENVIRONMENT VARIABLES + +.TP +.B DEBUG +Set this variable to 1 to get the debug output from the wrapper +script. + +.TP +.B JAVACMD +The full path to the Java Virtual Machine to use. By default, the +wrapper uses \fBJAVACMD\fP; if it is not set, it looks for +\fBJAVA_BINDIR\fP/java, then for \fBJAVA_HOME\fP/bin/java before +looking for a java executable in the \fBPATH\fP. In the latter case, +the JVM used can be configured using the Debian alternatives system +(see \fBupdate-alternatives\fP(8)). + +.TP +.B JAVA_HOME +The full path where your JDK/JRE is installed. + +.TP +.B JAVA_BINDIR +The full path to the directory where the java executable is located. + +.TP +.B JAVA_ARGS +Extra command-line arguments to be passed to the Java Virtual Machine. + +.SH AUTHOR +airport-config was written by Jon Sevy . +.PP +This manual page was written by Julien BLACHE , +for the Debian project (but may be used by others). --- airport-utils-1.orig/debian/man/airport2-config.1 +++ airport-utils-1/debian/man/airport2-config.1 @@ -0,0 +1,70 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH AIRPORT2-CONFIG 1 "May 20, 2006" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +airport2-config \- Configurator for the Apple AirPort Extreme Base +Station ("Snow") +.SH SYNOPSIS +.B airport2-config + +.SH DESCRIPTION + +\fBairport2-config\fP allows you to manage your AirPort base station, +just like the AirPort software on Mac OS X. + +.SH OPTIONS + +\fBairport2-config\fP accepts no command-line +options. \fBairport2-config\fP is a wrapper script around the +\fIAirport2BaseStationConfigurator.jar\fP jar file located in +\fI/usr/share/java/airport-utils\fP. + +You can set the \fBJAVACMD\fP environment variable to use a specific JVM +instead of the one chosen by the wrapper script. Set the \fBDEBUG\fP +environment variable to 1 to get the debug output from the wrapper +script. + +.SH ENVIRONMENT VARIABLES + +.TP +.B DEBUG +Set this variable to 1 to get the debug output from the wrapper +script. + +.TP +.B JAVACMD +The full path to the Java Virtual Machine to use. By default, the +wrapper uses \fBJAVACMD\fP; if it is not set, it looks for +\fBJAVA_BINDIR\fP/java, then for \fBJAVA_HOME\fP/bin/java before +looking for a java executable in the \fBPATH\fP. In the latter case, +the JVM used can be configured using the Debian alternatives system +(see \fBupdate-alternatives\fP(8)). + +.TP +.B JAVA_HOME +The full path where your JDK/JRE is installed. + +.TP +.B JAVA_BINDIR +The full path to the directory where the java executable is located. + +.TP +.B JAVA_ARGS +Extra command-line arguments to be passed to the Java Virtual Machine. + +.SH AUTHOR +airport2-config was written by Jon Sevy . +.PP +This manual page was written by Julien BLACHE , +for the Debian project (but may be used by others). --- airport-utils-1.orig/debian/man/airport-modem.1 +++ airport-utils-1/debian/man/airport-modem.1 @@ -0,0 +1,74 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH AIRPORT-MODEM 1 "May 20, 2006" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +airport-modem \- Modem monitoring and hangup utility for the original +Apple AirPort Base Station ("Graphite"), the Lucent RG-1000 base +station and the Apple Airport Extreme base station +.SH SYNOPSIS +.B airport-modem + +.SH DESCRIPTION + +\fBairport-modem\fP allows you to monitor the state of the internal +modem of your base station and to start/stop the modem connection. + +On the AirPort Extreme base station, the modem utility can also +display the approximate duration of the modem connection. + +.SH OPTIONS + +\fBairport-modem\fP accepts no command-line +options. \fBairport-modem\fP is a wrapper script around the +\fIAirportBaseStationHangup.jar\fP jar file located in +\fI/usr/share/java/airport-utils\fP. + +You can set the \fBJAVACMD\fP environment variable to use a specific JVM +instead of the one chosen by the wrapper script. Set the \fBDEBUG\fP +environment variable to 1 to get the debug output from the wrapper +script. + +.SH ENVIRONMENT VARIABLES + +.TP +.B DEBUG +Set this variable to 1 to get the debug output from the wrapper +script. + +.TP +.B JAVACMD +The full path to the Java Virtual Machine to use. By default, the +wrapper uses \fBJAVACMD\fP; if it is not set, it looks for +\fBJAVA_BINDIR\fP/java, then for \fBJAVA_HOME\fP/bin/java before +looking for a java executable in the \fBPATH\fP. In the latter case, +the JVM used can be configured using the Debian alternatives system +(see \fBupdate-alternatives\fP(8)). + +.TP +.B JAVA_HOME +The full path where your JDK/JRE is installed. + +.TP +.B JAVA_BINDIR +The full path to the directory where the java executable is located. + +.TP +.B JAVA_ARGS +Extra command-line arguments to be passed to the Java Virtual Machine. + +.SH AUTHOR +airport-modem was written by Jon Sevy . +.PP +This manual page was written by Julien BLACHE , +for the Debian project (but may be used by others). --- airport-utils-1.orig/debian/man/airport-linkmon.1 +++ airport-utils-1/debian/man/airport-linkmon.1 @@ -0,0 +1,72 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH AIRPORT-LINKMON 1 "May 20, 2006" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +airport-linkmon \- Wireless link quality monitor for the original +Apple AirPort Base Station ("Graphite") and the Lucent RG-1000 base +station +.SH SYNOPSIS +.B airport-linkmon + +.SH DESCRIPTION + +\fBairport-linkmon\fP allows you to measure the signal strength and +noise on the wireless links between your base station and its +associated wireless hosts. + +.SH OPTIONS + +\fBairport-linkmon\fP accepts no command-line +options. \fBairport-linkmon\fP is a wrapper script around the +\fILinkMonitor.jar\fP jar file located in +\fI/usr/share/java/airport-utils\fP. + +You can set the \fBJAVACMD\fP environment variable to use a specific JVM +instead of the one chosen by the wrapper script. Set the \fBDEBUG\fP +environment variable to 1 to get the debug output from the wrapper +script. + +.SH ENVIRONMENT VARIABLES + +.TP +.B DEBUG +Set this variable to 1 to get the debug output from the wrapper +script. + +.TP +.B JAVACMD +The full path to the Java Virtual Machine to use. By default, the +wrapper uses \fBJAVACMD\fP; if it is not set, it looks for +\fBJAVA_BINDIR\fP/java, then for \fBJAVA_HOME\fP/bin/java before +looking for a java executable in the \fBPATH\fP. In the latter case, +the JVM used can be configured using the Debian alternatives system +(see \fBupdate-alternatives\fP(8)). + +.TP +.B JAVA_HOME +The full path where your JDK/JRE is installed. + +.TP +.B JAVA_BINDIR +The full path to the directory where the java executable is located. + +.TP +.B JAVA_ARGS +Extra command-line arguments to be passed to the Java Virtual Machine. + +.SH AUTHOR +airport-linkmon was written by Jon Sevy . +.PP +This manual page was written by Julien BLACHE , +for the Debian project (but may be used by others). --- airport-utils-1.orig/debian/man/airport-hostmon.1 +++ airport-utils-1/debian/man/airport-hostmon.1 @@ -0,0 +1,71 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH AIRPORT-HOSTMON 1 "May 20, 2006" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +airport-hostmon \- Host monitor for the original Apple AirPort Base +Station ("Graphite"), the Lucent RG-1000 base station and the Apple +AirPort Extreme Base Station +.SH SYNOPSIS +.B airport-hostmon + +.SH DESCRIPTION + +\fBairport-hostmon\fP allows you to monitor the wireless hosts +associated to your base station. + +.SH OPTIONS + +\fBairport-hostmon\fP accepts no command-line +options. \fBairport-hostmon\fP is a wrapper script around the +\fIHostMonitor.jar\fP jar file located in +\fI/usr/share/java/airport-utils\fP. + +You can set the \fBJAVACMD\fP environment variable to use a specific JVM +instead of the one chosen by the wrapper script. Set the \fBDEBUG\fP +environment variable to 1 to get the debug output from the wrapper +script. + +.SH ENVIRONMENT VARIABLES + +.TP +.B DEBUG +Set this variable to 1 to get the debug output from the wrapper +script. + +.TP +.B JAVACMD +The full path to the Java Virtual Machine to use. By default, the +wrapper uses \fBJAVACMD\fP; if it is not set, it looks for +\fBJAVA_BINDIR\fP/java, then for \fBJAVA_HOME\fP/bin/java before +looking for a java executable in the \fBPATH\fP. In the latter case, +the JVM used can be configured using the Debian alternatives system +(see \fBupdate-alternatives\fP(8)). + +.TP +.B JAVA_HOME +The full path where your JDK/JRE is installed. + +.TP +.B JAVA_BINDIR +The full path to the directory where the java executable is located. + +.TP +.B JAVA_ARGS +Extra command-line arguments to be passed to the Java Virtual Machine. + +.SH AUTHOR +airport-hostmon was written by Jon Sevy . +.PP +This manual page was written by Julien BLACHE , +for the Debian project (but may be used by others). --- airport-utils-1.orig/debian/man/airport2-portinspector.1 +++ airport-utils-1/debian/man/airport2-portinspector.1 @@ -0,0 +1,70 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH AIRPORT2-PORTINSPECTOR 1 "May 20, 2006" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +airport2-portinspector \- Port maps inspector for the Apple AirPort +Extreme Base Station ("Snow") +.SH SYNOPSIS +.B airport2-portinspector + +.SH DESCRIPTION + +\fBairport2-portinspector\fP allows you to inspect the port maps used +by the hosts associated with your base station. + +.SH OPTIONS + +\fBairport2-portinspector\fP accepts no command-line +options. \fBairport2-portinspector\fP is a wrapper script around the +\fIPortInspector.jar\fP jar file located in +\fI/usr/share/java/airport-utils\fP. + +You can set the \fBJAVACMD\fP environment variable to use a specific JVM +instead of the one chosen by the wrapper script. Set the \fBDEBUG\fP +environment variable to 1 to get the debug output from the wrapper +script. + +.SH ENVIRONMENT VARIABLES + +.TP +.B DEBUG +Set this variable to 1 to get the debug output from the wrapper +script. + +.TP +.B JAVACMD +The full path to the Java Virtual Machine to use. By default, the +wrapper uses \fBJAVACMD\fP; if it is not set, it looks for +\fBJAVA_BINDIR\fP/java, then for \fBJAVA_HOME\fP/bin/java before +looking for a java executable in the \fBPATH\fP. In the latter case, +the JVM used can be configured using the Debian alternatives system +(see \fBupdate-alternatives\fP(8)). + +.TP +.B JAVA_HOME +The full path where your JDK/JRE is installed. + +.TP +.B JAVA_BINDIR +The full path to the directory where the java executable is located. + +.TP +.B JAVA_ARGS +Extra command-line arguments to be passed to the Java Virtual Machine. + +.SH AUTHOR +airport2-portinspector was written by Jon Sevy . +.PP +This manual page was written by Julien BLACHE , +for the Debian project (but may be used by others). --- airport-utils-1.orig/debian/man/airport2-ipinspector.1 +++ airport-utils-1/debian/man/airport2-ipinspector.1 @@ -0,0 +1,71 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH AIRPORT2-IPINSPECTOR 1 "May 20, 2006" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +airport2-ipinspector \- WAN monitoring utility for the Apple AirPort +Extreme Base Station ("Snow") +.SH SYNOPSIS +.B airport2-ipinspector + +.SH DESCRIPTION + +\fBairport2-ipinspector\fP monitors the WAN interface of the base +station and sends an email notification whenever the external (WAN) IP +address of the base station changes. + +.SH OPTIONS + +\fBairport2-ipinspector\fP accepts no command-line +options. \fBairport2-ipinspector\fP is a wrapper script around the +\fIIPInspector.jar\fP jar file located in +\fI/usr/share/java/airport-utils\fP. + +You can set the \fBJAVACMD\fP environment variable to use a specific JVM +instead of the one chosen by the wrapper script. Set the \fBDEBUG\fP +environment variable to 1 to get the debug output from the wrapper +script. + +.SH ENVIRONMENT VARIABLES + +.TP +.B DEBUG +Set this variable to 1 to get the debug output from the wrapper +script. + +.TP +.B JAVACMD +The full path to the Java Virtual Machine to use. By default, the +wrapper uses \fBJAVACMD\fP; if it is not set, it looks for +\fBJAVA_BINDIR\fP/java, then for \fBJAVA_HOME\fP/bin/java before +looking for a java executable in the \fBPATH\fP. In the latter case, +the JVM used can be configured using the Debian alternatives system +(see \fBupdate-alternatives\fP(8)). + +.TP +.B JAVA_HOME +The full path where your JDK/JRE is installed. + +.TP +.B JAVA_BINDIR +The full path to the directory where the java executable is located. + +.TP +.B JAVA_ARGS +Extra command-line arguments to be passed to the Java Virtual Machine. + +.SH AUTHOR +airport2-ipinspector was written by Jon Sevy . +.PP +This manual page was written by Julien BLACHE , +for the Debian project (but may be used by others). --- airport-utils-1.orig/debian/bin/airport-config +++ airport-utils-1/debian/bin/airport-config @@ -0,0 +1,105 @@ +#!/bin/sh +# 2005-02-02, based on the start script from freemind package +# 2006-03-11, modified to start openjump instead of jump +# 2006-05-20, stolen from the openjump package + +# +# Note that we don't need half of the complicated classpath stuff +# but who knows, one day, maybe ... +# + +airportjar=AirportBaseStationConfig.jar + +DEB_JAR_PATH="/usr/share/java" + +_debug() +{ + if [ -n "${DEBUG}" ] + then + echo "DEBUG: $1" >&2 + shift + for text in "$@" + do + echo " ${text}" >&2 + done + fi +} + +_error() +{ + echo "ERROR: $1" >&2 + shift + for text in "$@" + do + echo " ${text}" >&2 + done +} + +findjava() +{ + # We try hard to find the proper 'java' command + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using \$JAVACMD to find java virtual machine." + elif [ -n "${JAVA_BINDIR}" ] && [ -x "${JAVA_BINDIR}/java" ] + then + JAVACMD="${JAVA_BINDIR}/java" + _debug "Using \$JAVA_BINDIR to find java virtual machine." + elif [ -n "${JAVA_HOME}" ] && [ -x "${JAVA_HOME}/bin/java" ] + then + JAVACMD="${JAVA_HOME}/bin/java" + _debug "Using \$JAVA_HOME to find java virtual machine." + else + JAVACMD=$(which java) + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using \$PATH to find java virtual machine." + elif [ -x /usr/bin/java ] + then + _debug "Using /usr/bin/java to find java virtual machine." + JAVACMD=/usr/bin/java + fi + fi + + # if we were successful, we return 0 else we complain and return 1 + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using '$JAVACMD' as java virtual machine..." + return 0 + else + _error "Couldn't find a java virtual machine," \ + "define JAVACMD, JAVA_BINDIR, JAVA_HOME or PATH." + return 1 + fi +} + +_debug "AirPort utility parameters are '${@}'." + +findjava +if [ $? -ne 0 ] +then + exit 1 +fi + +# List of java jar libraries from $DEB_JAR_PATH to load +JARS="" + +AP_CLASSPATH= +for jar in $JARS; do + if [ -f $DEB_JAR_PATH/$jar.jar ] ; then + AP_CLASSPATH="$AP_CLASSPATH:$DEB_JAR_PATH/$jar.jar" + else + _error "missing $DEB_JAR_PATH/$jar.jar" + fi +done + +_debug "Used classpath is '${AP_CLASSPATH}'" + +if [ -z "$JAVA_ARGS" ] ; then +# No special args required yet + JAVA_ARGS="" +fi + +exec ${JAVACMD} \ + ${JAVA_ARGS} \ + -jar /usr/share/java/airport-utils/$airportjar --- airport-utils-1.orig/debian/bin/airport2-config +++ airport-utils-1/debian/bin/airport2-config @@ -0,0 +1,105 @@ +#!/bin/sh +# 2005-02-02, based on the start script from freemind package +# 2006-03-11, modified to start openjump instead of jump +# 2006-05-20, stolen from the openjump package + +# +# Note that we don't need half of the complicated classpath stuff +# but who knows, one day, maybe ... +# + +airportjar=Airport2BaseStationConfig.jar + +DEB_JAR_PATH="/usr/share/java" + +_debug() +{ + if [ -n "${DEBUG}" ] + then + echo "DEBUG: $1" >&2 + shift + for text in "$@" + do + echo " ${text}" >&2 + done + fi +} + +_error() +{ + echo "ERROR: $1" >&2 + shift + for text in "$@" + do + echo " ${text}" >&2 + done +} + +findjava() +{ + # We try hard to find the proper 'java' command + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using \$JAVACMD to find java virtual machine." + elif [ -n "${JAVA_BINDIR}" ] && [ -x "${JAVA_BINDIR}/java" ] + then + JAVACMD="${JAVA_BINDIR}/java" + _debug "Using \$JAVA_BINDIR to find java virtual machine." + elif [ -n "${JAVA_HOME}" ] && [ -x "${JAVA_HOME}/bin/java" ] + then + JAVACMD="${JAVA_HOME}/bin/java" + _debug "Using \$JAVA_HOME to find java virtual machine." + else + JAVACMD=$(which java) + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using \$PATH to find java virtual machine." + elif [ -x /usr/bin/java ] + then + _debug "Using /usr/bin/java to find java virtual machine." + JAVACMD=/usr/bin/java + fi + fi + + # if we were successful, we return 0 else we complain and return 1 + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using '$JAVACMD' as java virtual machine..." + return 0 + else + _error "Couldn't find a java virtual machine," \ + "define JAVACMD, JAVA_BINDIR, JAVA_HOME or PATH." + return 1 + fi +} + +_debug "AirPort utility parameters are '${@}'." + +findjava +if [ $? -ne 0 ] +then + exit 1 +fi + +# List of java jar libraries from $DEB_JAR_PATH to load +JARS="" + +AP_CLASSPATH= +for jar in $JARS; do + if [ -f $DEB_JAR_PATH/$jar.jar ] ; then + AP_CLASSPATH="$AP_CLASSPATH:$DEB_JAR_PATH/$jar.jar" + else + _error "missing $DEB_JAR_PATH/$jar.jar" + fi +done + +_debug "Used classpath is '${AP_CLASSPATH}'" + +if [ -z "$JAVA_ARGS" ] ; then +# No special args required yet + JAVA_ARGS="" +fi + +exec ${JAVACMD} \ + ${JAVA_ARGS} \ + -jar /usr/share/java/airport-utils/$airportjar --- airport-utils-1.orig/debian/bin/airport-hostmon +++ airport-utils-1/debian/bin/airport-hostmon @@ -0,0 +1,105 @@ +#!/bin/sh +# 2005-02-02, based on the start script from freemind package +# 2006-03-11, modified to start openjump instead of jump +# 2006-05-20, stolen from the openjump package + +# +# Note that we don't need half of the complicated classpath stuff +# but who knows, one day, maybe ... +# + +airportjar=HostMonitor.jar + +DEB_JAR_PATH="/usr/share/java" + +_debug() +{ + if [ -n "${DEBUG}" ] + then + echo "DEBUG: $1" >&2 + shift + for text in "$@" + do + echo " ${text}" >&2 + done + fi +} + +_error() +{ + echo "ERROR: $1" >&2 + shift + for text in "$@" + do + echo " ${text}" >&2 + done +} + +findjava() +{ + # We try hard to find the proper 'java' command + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using \$JAVACMD to find java virtual machine." + elif [ -n "${JAVA_BINDIR}" ] && [ -x "${JAVA_BINDIR}/java" ] + then + JAVACMD="${JAVA_BINDIR}/java" + _debug "Using \$JAVA_BINDIR to find java virtual machine." + elif [ -n "${JAVA_HOME}" ] && [ -x "${JAVA_HOME}/bin/java" ] + then + JAVACMD="${JAVA_HOME}/bin/java" + _debug "Using \$JAVA_HOME to find java virtual machine." + else + JAVACMD=$(which java) + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using \$PATH to find java virtual machine." + elif [ -x /usr/bin/java ] + then + _debug "Using /usr/bin/java to find java virtual machine." + JAVACMD=/usr/bin/java + fi + fi + + # if we were successful, we return 0 else we complain and return 1 + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using '$JAVACMD' as java virtual machine..." + return 0 + else + _error "Couldn't find a java virtual machine," \ + "define JAVACMD, JAVA_BINDIR, JAVA_HOME or PATH." + return 1 + fi +} + +_debug "AirPort utility parameters are '${@}'." + +findjava +if [ $? -ne 0 ] +then + exit 1 +fi + +# List of java jar libraries from $DEB_JAR_PATH to load +JARS="" + +AP_CLASSPATH= +for jar in $JARS; do + if [ -f $DEB_JAR_PATH/$jar.jar ] ; then + AP_CLASSPATH="$AP_CLASSPATH:$DEB_JAR_PATH/$jar.jar" + else + _error "missing $DEB_JAR_PATH/$jar.jar" + fi +done + +_debug "Used classpath is '${AP_CLASSPATH}'" + +if [ -z "$JAVA_ARGS" ] ; then +# No special args required yet + JAVA_ARGS="" +fi + +exec ${JAVACMD} \ + ${JAVA_ARGS} \ + -jar /usr/share/java/airport-utils/$airportjar --- airport-utils-1.orig/debian/bin/airport2-ipinspector +++ airport-utils-1/debian/bin/airport2-ipinspector @@ -0,0 +1,105 @@ +#!/bin/sh +# 2005-02-02, based on the start script from freemind package +# 2006-03-11, modified to start openjump instead of jump +# 2006-05-20, stolen from the openjump package + +# +# Note that we don't need half of the complicated classpath stuff +# but who knows, one day, maybe ... +# + +airportjar=IPInspector.jar + +DEB_JAR_PATH="/usr/share/java" + +_debug() +{ + if [ -n "${DEBUG}" ] + then + echo "DEBUG: $1" >&2 + shift + for text in "$@" + do + echo " ${text}" >&2 + done + fi +} + +_error() +{ + echo "ERROR: $1" >&2 + shift + for text in "$@" + do + echo " ${text}" >&2 + done +} + +findjava() +{ + # We try hard to find the proper 'java' command + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using \$JAVACMD to find java virtual machine." + elif [ -n "${JAVA_BINDIR}" ] && [ -x "${JAVA_BINDIR}/java" ] + then + JAVACMD="${JAVA_BINDIR}/java" + _debug "Using \$JAVA_BINDIR to find java virtual machine." + elif [ -n "${JAVA_HOME}" ] && [ -x "${JAVA_HOME}/bin/java" ] + then + JAVACMD="${JAVA_HOME}/bin/java" + _debug "Using \$JAVA_HOME to find java virtual machine." + else + JAVACMD=$(which java) + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using \$PATH to find java virtual machine." + elif [ -x /usr/bin/java ] + then + _debug "Using /usr/bin/java to find java virtual machine." + JAVACMD=/usr/bin/java + fi + fi + + # if we were successful, we return 0 else we complain and return 1 + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using '$JAVACMD' as java virtual machine..." + return 0 + else + _error "Couldn't find a java virtual machine," \ + "define JAVACMD, JAVA_BINDIR, JAVA_HOME or PATH." + return 1 + fi +} + +_debug "AirPort utility parameters are '${@}'." + +findjava +if [ $? -ne 0 ] +then + exit 1 +fi + +# List of java jar libraries from $DEB_JAR_PATH to load +JARS="" + +AP_CLASSPATH= +for jar in $JARS; do + if [ -f $DEB_JAR_PATH/$jar.jar ] ; then + AP_CLASSPATH="$AP_CLASSPATH:$DEB_JAR_PATH/$jar.jar" + else + _error "missing $DEB_JAR_PATH/$jar.jar" + fi +done + +_debug "Used classpath is '${AP_CLASSPATH}'" + +if [ -z "$JAVA_ARGS" ] ; then +# No special args required yet + JAVA_ARGS="" +fi + +exec ${JAVACMD} \ + ${JAVA_ARGS} \ + -jar /usr/share/java/airport-utils/$airportjar --- airport-utils-1.orig/debian/bin/airport-linkmon +++ airport-utils-1/debian/bin/airport-linkmon @@ -0,0 +1,105 @@ +#!/bin/sh +# 2005-02-02, based on the start script from freemind package +# 2006-03-11, modified to start openjump instead of jump +# 2006-05-20, stolen from the openjump package + +# +# Note that we don't need half of the complicated classpath stuff +# but who knows, one day, maybe ... +# + +airportjar=LinkMonitor.jar + +DEB_JAR_PATH="/usr/share/java" + +_debug() +{ + if [ -n "${DEBUG}" ] + then + echo "DEBUG: $1" >&2 + shift + for text in "$@" + do + echo " ${text}" >&2 + done + fi +} + +_error() +{ + echo "ERROR: $1" >&2 + shift + for text in "$@" + do + echo " ${text}" >&2 + done +} + +findjava() +{ + # We try hard to find the proper 'java' command + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using \$JAVACMD to find java virtual machine." + elif [ -n "${JAVA_BINDIR}" ] && [ -x "${JAVA_BINDIR}/java" ] + then + JAVACMD="${JAVA_BINDIR}/java" + _debug "Using \$JAVA_BINDIR to find java virtual machine." + elif [ -n "${JAVA_HOME}" ] && [ -x "${JAVA_HOME}/bin/java" ] + then + JAVACMD="${JAVA_HOME}/bin/java" + _debug "Using \$JAVA_HOME to find java virtual machine." + else + JAVACMD=$(which java) + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using \$PATH to find java virtual machine." + elif [ -x /usr/bin/java ] + then + _debug "Using /usr/bin/java to find java virtual machine." + JAVACMD=/usr/bin/java + fi + fi + + # if we were successful, we return 0 else we complain and return 1 + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using '$JAVACMD' as java virtual machine..." + return 0 + else + _error "Couldn't find a java virtual machine," \ + "define JAVACMD, JAVA_BINDIR, JAVA_HOME or PATH." + return 1 + fi +} + +_debug "AirPort utility parameters are '${@}'." + +findjava +if [ $? -ne 0 ] +then + exit 1 +fi + +# List of java jar libraries from $DEB_JAR_PATH to load +JARS="" + +AP_CLASSPATH= +for jar in $JARS; do + if [ -f $DEB_JAR_PATH/$jar.jar ] ; then + AP_CLASSPATH="$AP_CLASSPATH:$DEB_JAR_PATH/$jar.jar" + else + _error "missing $DEB_JAR_PATH/$jar.jar" + fi +done + +_debug "Used classpath is '${AP_CLASSPATH}'" + +if [ -z "$JAVA_ARGS" ] ; then +# No special args required yet + JAVA_ARGS="" +fi + +exec ${JAVACMD} \ + ${JAVA_ARGS} \ + -jar /usr/share/java/airport-utils/$airportjar --- airport-utils-1.orig/debian/bin/airport-modem +++ airport-utils-1/debian/bin/airport-modem @@ -0,0 +1,105 @@ +#!/bin/sh +# 2005-02-02, based on the start script from freemind package +# 2006-03-11, modified to start openjump instead of jump +# 2006-05-20, stolen from the openjump package + +# +# Note that we don't need half of the complicated classpath stuff +# but who knows, one day, maybe ... +# + +airportjar=AirportBaseStationHangup.jar + +DEB_JAR_PATH="/usr/share/java" + +_debug() +{ + if [ -n "${DEBUG}" ] + then + echo "DEBUG: $1" >&2 + shift + for text in "$@" + do + echo " ${text}" >&2 + done + fi +} + +_error() +{ + echo "ERROR: $1" >&2 + shift + for text in "$@" + do + echo " ${text}" >&2 + done +} + +findjava() +{ + # We try hard to find the proper 'java' command + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using \$JAVACMD to find java virtual machine." + elif [ -n "${JAVA_BINDIR}" ] && [ -x "${JAVA_BINDIR}/java" ] + then + JAVACMD="${JAVA_BINDIR}/java" + _debug "Using \$JAVA_BINDIR to find java virtual machine." + elif [ -n "${JAVA_HOME}" ] && [ -x "${JAVA_HOME}/bin/java" ] + then + JAVACMD="${JAVA_HOME}/bin/java" + _debug "Using \$JAVA_HOME to find java virtual machine." + else + JAVACMD=$(which java) + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using \$PATH to find java virtual machine." + elif [ -x /usr/bin/java ] + then + _debug "Using /usr/bin/java to find java virtual machine." + JAVACMD=/usr/bin/java + fi + fi + + # if we were successful, we return 0 else we complain and return 1 + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using '$JAVACMD' as java virtual machine..." + return 0 + else + _error "Couldn't find a java virtual machine," \ + "define JAVACMD, JAVA_BINDIR, JAVA_HOME or PATH." + return 1 + fi +} + +_debug "AirPort utility parameters are '${@}'." + +findjava +if [ $? -ne 0 ] +then + exit 1 +fi + +# List of java jar libraries from $DEB_JAR_PATH to load +JARS="" + +AP_CLASSPATH= +for jar in $JARS; do + if [ -f $DEB_JAR_PATH/$jar.jar ] ; then + AP_CLASSPATH="$AP_CLASSPATH:$DEB_JAR_PATH/$jar.jar" + else + _error "missing $DEB_JAR_PATH/$jar.jar" + fi +done + +_debug "Used classpath is '${AP_CLASSPATH}'" + +if [ -z "$JAVA_ARGS" ] ; then +# No special args required yet + JAVA_ARGS="" +fi + +exec ${JAVACMD} \ + ${JAVA_ARGS} \ + -jar /usr/share/java/airport-utils/$airportjar --- airport-utils-1.orig/debian/bin/airport2-portinspector +++ airport-utils-1/debian/bin/airport2-portinspector @@ -0,0 +1,105 @@ +#!/bin/sh +# 2005-02-02, based on the start script from freemind package +# 2006-03-11, modified to start openjump instead of jump +# 2006-05-20, stolen from the openjump package + +# +# Note that we don't need half of the complicated classpath stuff +# but who knows, one day, maybe ... +# + +airportjar=PortInspector.jar + +DEB_JAR_PATH="/usr/share/java" + +_debug() +{ + if [ -n "${DEBUG}" ] + then + echo "DEBUG: $1" >&2 + shift + for text in "$@" + do + echo " ${text}" >&2 + done + fi +} + +_error() +{ + echo "ERROR: $1" >&2 + shift + for text in "$@" + do + echo " ${text}" >&2 + done +} + +findjava() +{ + # We try hard to find the proper 'java' command + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using \$JAVACMD to find java virtual machine." + elif [ -n "${JAVA_BINDIR}" ] && [ -x "${JAVA_BINDIR}/java" ] + then + JAVACMD="${JAVA_BINDIR}/java" + _debug "Using \$JAVA_BINDIR to find java virtual machine." + elif [ -n "${JAVA_HOME}" ] && [ -x "${JAVA_HOME}/bin/java" ] + then + JAVACMD="${JAVA_HOME}/bin/java" + _debug "Using \$JAVA_HOME to find java virtual machine." + else + JAVACMD=$(which java) + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using \$PATH to find java virtual machine." + elif [ -x /usr/bin/java ] + then + _debug "Using /usr/bin/java to find java virtual machine." + JAVACMD=/usr/bin/java + fi + fi + + # if we were successful, we return 0 else we complain and return 1 + if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ] + then + _debug "Using '$JAVACMD' as java virtual machine..." + return 0 + else + _error "Couldn't find a java virtual machine," \ + "define JAVACMD, JAVA_BINDIR, JAVA_HOME or PATH." + return 1 + fi +} + +_debug "AirPort utility parameters are '${@}'." + +findjava +if [ $? -ne 0 ] +then + exit 1 +fi + +# List of java jar libraries from $DEB_JAR_PATH to load +JARS="" + +AP_CLASSPATH= +for jar in $JARS; do + if [ -f $DEB_JAR_PATH/$jar.jar ] ; then + AP_CLASSPATH="$AP_CLASSPATH:$DEB_JAR_PATH/$jar.jar" + else + _error "missing $DEB_JAR_PATH/$jar.jar" + fi +done + +_debug "Used classpath is '${AP_CLASSPATH}'" + +if [ -z "$JAVA_ARGS" ] ; then +# No special args required yet + JAVA_ARGS="" +fi + +exec ${JAVACMD} \ + ${JAVA_ARGS} \ + -jar /usr/share/java/airport-utils/$airportjar