--- pilot-link-0.11.7.orig/bindings/Makefile.am
+++ pilot-link-0.11.7/bindings/Makefile.am
@@ -13,7 +13,7 @@
 	cd $(srcdir)/Python && $(PYTHON) setup.py build
 
 python-install: python-build
-	cd $(srcdir)/Python && $(PYTHON) setup.py install --prefix=$(prefix) --root=$(DESTDIR)
+	cd $(srcdir)/Python && $(PYTHON) setup.py install --prefix=$(prefix)
 
 python-clean: Python/setup.py
 	-cd $(srcdir)/Python && $(PYTHON) setup.py clean 
@@ -41,7 +41,7 @@
 	cd Perl && $(MAKE)
 
 perl-install: perl-build
-	cd Perl && $(MAKE) install PREFIX=$(PREFIX)
+	cd Perl && $(MAKE) install PREFIX=$(prefix)
 
 perl-uninstall: Perl/Makefile
 	cd Perl && $(MAKE) uninstall
--- pilot-link-0.11.7.orig/bindings/Makefile.in
+++ pilot-link-0.11.7/bindings/Makefile.in
@@ -1,7 +1,6 @@
-# Makefile.in generated automatically by automake 1.5 from Makefile.am.
+# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
 
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
-# Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -11,7 +10,6 @@
 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 # PARTICULAR PURPOSE.
 
-@SET_MAKE@
 
 SHELL = @SHELL@
 
@@ -33,9 +31,13 @@
 mandir = @mandir@
 includedir = @includedir@
 oldincludedir = /usr/include
+
+DESTDIR =
+
 pkgdatadir = $(datadir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
+
 top_builddir = ..
 
 ACLOCAL = @ACLOCAL@
@@ -44,11 +46,11 @@
 AUTOHEADER = @AUTOHEADER@
 
 INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
 INSTALL_DATA = @INSTALL_DATA@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_HEADER = $(INSTALL_DATA)
 transform = @program_transform_name@
+
 NORMAL_INSTALL = :
 PRE_INSTALL = :
 POST_INSTALL = :
@@ -83,6 +85,7 @@
 JAVAC = @JAVAC@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
+MAKEINFO = @MAKEINFO@
 OBJDUMP = @OBJDUMP@
 OBJEXT = @OBJEXT@
 PACKAGE = @PACKAGE@
@@ -130,12 +133,10 @@
 am__include = @am__include@
 am__quote = @am__quote@
 install_sh = @install_sh@
-
 @WITH_JAVA_TRUE@JAVA_DIR = Java
 @WITH_JAVA_FALSE@JAVA_DIR = 
 
 SUBDIRS = $(JAVA_DIR)
-
 @WITH_PYTHON_TRUE@PYTHON_ALL = python-build
 @WITH_PYTHON_FALSE@PYTHON_ALL = 
 @WITH_PYTHON_TRUE@PYTHON_INSTALL = python-install
@@ -143,7 +144,6 @@
 @WITH_PYTHON_TRUE@PYTHON_CLEAN = python-clean
 @WITH_PYTHON_FALSE@PYTHON_CLEAN = 
 @WITH_PYTHON_FALSE@PYTHON_MCLEAN = 
-
 @WITH_PERL_TRUE@PERL_ALL = perl-build
 @WITH_PERL_FALSE@PERL_ALL = 
 @WITH_PERL_TRUE@PERL_INSTALL = perl-install
@@ -153,38 +153,26 @@
 @WITH_PERL_FALSE@PERL_MCLEAN = 
 
 EXTRA_DIST = Python Java Perl Tcl
-subdir = bindings
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = $(top_builddir)/config.h
-CONFIG_CLEAN_FILES =
-DIST_SOURCES =
-
-RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
-	uninstall-info-recursive all-recursive install-data-recursive \
-	install-exec-recursive installdirs-recursive install-recursive \
-	uninstall-recursive check-recursive installcheck-recursive
-DIST_COMMON = README Makefile.am Makefile.in
-DIST_SUBDIRS = Java
-all: all-recursive
+CONFIG_HEADER = ../config.h
+CONFIG_CLEAN_FILES = 
+DIST_COMMON =  README Makefile.am Makefile.in
 
-.SUFFIXES:
 
-mostlyclean-libtool:
-	-rm -f *.lo
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
-clean-libtool:
-	-rm -rf .libs _libs
+TAR = tar
+GZIP_ENV = --best
+DIST_SUBDIRS =  Java
+all: all-redirect
+.SUFFIXES:
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+	cd $(top_srcdir) && $(AUTOMAKE) --gnu bindings/Makefile
+
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
+	cd $(top_builddir) \
+	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
-distclean-libtool:
-	-rm -f libtool
-$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
-	cd $(top_srcdir) && \
-	  $(AUTOMAKE) --gnu  bindings/Makefile
-Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
-	cd $(top_builddir) && \
-	  CONFIG_HEADERS= CONFIG_LINKS= \
-	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
-uninstall-info-am:
 
 # This directory's subdirectories are mostly independent; you can cd
 # into them and run `make' without going through this Makefile.
@@ -192,7 +180,12 @@
 # (1) if the variable is set in `config.status', edit `config.status'
 #     (which will cause the Makefiles to be regenerated when you run `make');
 # (2) otherwise, pass the desired values on the `make' command line.
-$(RECURSIVE_TARGETS):
+
+@SET_MAKE@
+
+all-recursive install-data-recursive install-exec-recursive \
+installdirs-recursive install-recursive uninstall-recursive  \
+check-recursive installcheck-recursive info-recursive dvi-recursive:
 	@set fnord $(MAKEFLAGS); amf=$$2; \
 	dot_seen=no; \
 	target=`echo $@ | sed s/-recursive//`; \
@@ -215,16 +208,11 @@
 maintainer-clean-recursive:
 	@set fnord $(MAKEFLAGS); amf=$$2; \
 	dot_seen=no; \
-	case "$@" in \
-	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
-	  *) list='$(SUBDIRS)' ;; \
-	esac; \
-	rev=''; for subdir in $$list; do \
-	  if test "$$subdir" = "."; then :; else \
-	    rev="$$subdir $$rev"; \
-	  fi; \
+	rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+	  rev="$$subdir $$rev"; \
+	  test "$$subdir" != "." || dot_seen=yes; \
 	done; \
-	rev="$$rev ."; \
+	test "$$dot_seen" = "no" && rev=". $$rev"; \
 	target=`echo $@ | sed s/-recursive//`; \
 	for subdir in $$rev; do \
 	  echo "Making $$target in $$subdir"; \
@@ -243,60 +231,56 @@
 
 tags: TAGS
 
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
-	unique=`for i in $$list; do \
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-	  done | \
-	  $(AWK) '    { files[$$0] = 1; } \
+ID: $(HEADERS) $(SOURCES) $(LISP)
+	list='$(SOURCES) $(HEADERS)'; \
+	unique=`for i in $$list; do echo $$i; done | \
+	  awk '    { files[$$0] = 1; } \
 	       END { for (i in files) print i; }'`; \
-	mkid -fID $$unique $(LISP)
+	here=`pwd` && cd $(srcdir) \
+	  && mkid -f$$here/ID $$unique $(LISP)
 
-TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-		$(TAGS_FILES) $(LISP)
+TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
 	tags=; \
 	here=`pwd`; \
 	list='$(SUBDIRS)'; for subdir in $$list; do \
-	  if test "$$subdir" = .; then :; else \
+   if test "$$subdir" = .; then :; else \
 	    test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
-	  fi; \
+   fi; \
 	done; \
-	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
-	unique=`for i in $$list; do \
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-	  done | \
-	  $(AWK) '    { files[$$0] = 1; } \
+	list='$(SOURCES) $(HEADERS)'; \
+	unique=`for i in $$list; do echo $$i; done | \
+	  awk '    { files[$$0] = 1; } \
 	       END { for (i in files) print i; }'`; \
 	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
-	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
+	  || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags  $$unique $(LISP))
+
+mostlyclean-tags:
 
-GTAGS:
-	here=`CDPATH=: && cd $(top_builddir) && pwd` \
-	  && cd $(top_srcdir) \
-	  && gtags -i $(GTAGS_ARGS) $$here
+clean-tags:
 
 distclean-tags:
-	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+	-rm -f TAGS ID
 
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+maintainer-clean-tags:
 
-top_distdir = ..
-distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+subdir = bindings
 
 distdir: $(DISTFILES)
+	here=`cd $(top_builddir) && pwd`; \
+	top_distdir=`cd $(top_distdir) && pwd`; \
+	distdir=`cd $(distdir) && pwd`; \
+	cd $(top_srcdir) \
+	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu bindings/Makefile
 	@for file in $(DISTFILES); do \
-	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
-	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
-	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
-	    $(mkinstalldirs) "$(distdir)/$$dir"; \
-	  fi; \
+	  d=$(srcdir); \
 	  if test -d $$d/$$file; then \
-	    cp -pR $$d/$$file $(distdir) \
-	    || exit 1; \
+	    cp -pr $$d/$$file $(distdir)/$$file; \
 	  else \
 	    test -f $(distdir)/$$file \
-	    || cp -p $$d/$$file $(distdir)/$$file \
-	    || exit 1; \
+	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+	    || cp -p $$d/$$file $(distdir)/$$file || :; \
 	  fi; \
 	done
 	for subdir in $(DIST_SUBDIRS); do \
@@ -304,102 +288,81 @@
 	    test -d $(distdir)/$$subdir \
 	    || mkdir $(distdir)/$$subdir \
 	    || exit 1; \
-	    (cd $$subdir && \
-	      $(MAKE) $(AM_MAKEFLAGS) \
-	        top_distdir="$(top_distdir)" \
-	        distdir=../$(distdir)/$$subdir \
-	        distdir) \
+	    chmod 777 $(distdir)/$$subdir; \
+	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
 	      || exit 1; \
 	  fi; \
 	done
-	$(MAKE) $(AM_MAKEFLAGS) \
-	  top_distdir="${top_distdir}" distdir="$(distdir)" \
-	  dist-hook
+	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
+info-am:
+info: info-recursive
+dvi-am:
+dvi: dvi-recursive
 check-am: all-am
 check: check-recursive
-all-am: Makefile all-local
-installdirs: installdirs-recursive
-installdirs-am:
-
-install: install-recursive
+installcheck-am:
+installcheck: installcheck-recursive
+install-exec-am: install-exec-local
 install-exec: install-exec-recursive
+
+install-data-am:
 install-data: install-data-recursive
-uninstall: uninstall-recursive
 
 install-am: all-am
 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-recursive
+install: install-recursive
+uninstall-am: uninstall-local
+uninstall: uninstall-recursive
+all-am: Makefile all-local
+all-redirect: all-recursive
 install-strip:
-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	  `test -z '$(STRIP)' || \
-	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+installdirs: installdirs-recursive
+installdirs-am:
+
+
 mostlyclean-generic:
 
 clean-generic:
 
 distclean-generic:
-	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+	-rm -f Makefile $(CONFIG_CLEAN_FILES)
+	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
 
 maintainer-clean-generic:
-	@echo "This command is intended for maintainers to use"
-	@echo "it deletes files that may require special tools to rebuild."
-clean: clean-recursive
-
-clean-am: clean-generic clean-libtool clean-local mostlyclean-am
-
-distclean: distclean-recursive
-
-distclean-am: clean-am distclean-generic distclean-libtool \
-	distclean-local distclean-tags
-
-dvi: dvi-recursive
-
-dvi-am:
-
-info: info-recursive
+mostlyclean-am:  mostlyclean-tags mostlyclean-generic
 
-info-am:
+mostlyclean: mostlyclean-recursive
 
-install-data-am:
+clean-am:  clean-tags clean-generic mostlyclean-am clean-local
 
-install-exec-am: install-exec-local
+clean: clean-recursive
 
-install-info: install-info-recursive
+distclean-am:  distclean-tags distclean-generic clean-am distclean-local
+	-rm -f libtool
 
-install-man:
+distclean: distclean-recursive
 
-installcheck-am:
+maintainer-clean-am:  maintainer-clean-tags maintainer-clean-generic \
+		distclean-am maintainer-clean-local
+	@echo "This command is intended for maintainers to use;"
+	@echo "it deletes files that may require special tools to rebuild."
 
 maintainer-clean: maintainer-clean-recursive
 
-maintainer-clean-am: distclean-am maintainer-clean-generic \
-	maintainer-clean-local
-
-mostlyclean: mostlyclean-recursive
-
-mostlyclean-am: mostlyclean-generic mostlyclean-libtool
-
-uninstall-am: uninstall-info-am uninstall-local
-
-uninstall-info: uninstall-info-recursive
-
-.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am all-local check check-am \
-	clean clean-generic clean-libtool clean-local clean-recursive \
-	distclean distclean-generic distclean-libtool distclean-local \
-	distclean-recursive distclean-tags distdir dvi dvi-am \
-	dvi-recursive info info-am info-recursive install install-am \
-	install-data install-data-am install-data-recursive \
-	install-exec install-exec-am install-exec-local \
-	install-exec-recursive install-info install-info-am \
-	install-info-recursive install-man install-recursive \
-	install-strip installcheck installcheck-am installdirs \
-	installdirs-am installdirs-recursive maintainer-clean \
-	maintainer-clean-generic maintainer-clean-local \
-	maintainer-clean-recursive mostlyclean mostlyclean-generic \
-	mostlyclean-libtool mostlyclean-recursive tags tags-recursive \
-	uninstall uninstall-am uninstall-info-am \
-	uninstall-info-recursive uninstall-local uninstall-recursive
+.PHONY: install-data-recursive uninstall-data-recursive \
+install-exec-recursive uninstall-exec-recursive installdirs-recursive \
+uninstalldirs-recursive all-recursive check-recursive \
+installcheck-recursive info-recursive dvi-recursive \
+mostlyclean-recursive distclean-recursive clean-recursive \
+maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
+distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
+dvi-am dvi check check-am installcheck-am installcheck \
+install-exec-local install-exec-am install-exec install-data-am \
+install-data install-am install uninstall-local uninstall-am uninstall \
+all-local all-redirect all-am all installdirs-am installdirs \
+mostlyclean-generic distclean-generic clean-generic \
+maintainer-clean-generic clean mostlyclean distclean maintainer-clean
 
 
 #
@@ -409,7 +372,7 @@
 	cd $(srcdir)/Python && $(PYTHON) setup.py build
 
 python-install: python-build
-	cd $(srcdir)/Python && $(PYTHON) setup.py install --prefix=$(prefix) --root=$(DESTDIR)
+	cd $(srcdir)/Python && $(PYTHON) setup.py install --prefix=$(prefix)
 
 python-clean: Python/setup.py
 	-cd $(srcdir)/Python && $(PYTHON) setup.py clean 
@@ -426,7 +389,7 @@
 	cd Perl && $(MAKE)
 
 perl-install: perl-build
-	cd Perl && $(MAKE) install PREFIX=$(PREFIX)
+	cd Perl && $(MAKE) install PREFIX=$(prefix)
 
 perl-uninstall: Perl/Makefile
 	cd Perl && $(MAKE) uninstall
@@ -448,6 +411,7 @@
 
 dist-hook:
 	rm -rf `find $(distdir) -name CVS`
+
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
--- pilot-link-0.11.7.orig/bindings/Java/Makefile
+++ pilot-link-0.11.7/bindings/Java/Makefile
@@ -18,7 +18,7 @@
 
 srcdir = .
 top_srcdir = ../..
-prefix = /usr/local
+prefix = /usr
 exec_prefix = ${prefix}
 
 bindir = ${exec_prefix}/bin
@@ -30,7 +30,7 @@
 localstatedir = ${prefix}/var
 libdir = ${exec_prefix}/lib
 infodir = ${prefix}/info
-mandir = ${prefix}/man
+mandir = /home/bgdarnel/src/pilot-link/0.11.7/pilot-link-0.11.7/debian/tmp/usr/share/man
 includedir = ${prefix}/include
 oldincludedir = /usr/include
 pkgdatadir = $(datadir)/pilot-link
@@ -38,10 +38,10 @@
 pkgincludedir = $(includedir)/pilot-link
 top_builddir = ../..
 
-ACLOCAL = ${SHELL} /src/cvs/palm/pilot-link/work/pilot-link/missing --run aclocal
-AUTOCONF = ${SHELL} /src/cvs/palm/pilot-link/work/pilot-link/missing --run autoconf
-AUTOMAKE = ${SHELL} /src/cvs/palm/pilot-link/work/pilot-link/missing --run automake
-AUTOHEADER = ${SHELL} /src/cvs/palm/pilot-link/work/pilot-link/missing --run autoheader
+ACLOCAL = ${SHELL} /home/bgdarnel/src/pilot-link/0.11.7/pilot-link-0.11.7/missing --run aclocal
+AUTOCONF = ${SHELL} /home/bgdarnel/src/pilot-link/0.11.7/pilot-link-0.11.7/missing --run autoconf
+AUTOMAKE = ${SHELL} /home/bgdarnel/src/pilot-link/0.11.7/pilot-link-0.11.7/missing --run automake
+AUTOHEADER = ${SHELL} /home/bgdarnel/src/pilot-link/0.11.7/pilot-link-0.11.7/missing --run autoheader
 
 INSTALL = /usr/bin/install -c
 INSTALL_PROGRAM = ${INSTALL}
@@ -61,11 +61,11 @@
 host_triplet = i686-pc-linux-gnu
 target_alias = i686-pc-linux-gnu
 target_triplet = i686-pc-linux-gnu
-AMTAR = ${SHELL} /src/cvs/palm/pilot-link/work/pilot-link/missing --run tar
+AMTAR = ${SHELL} /home/bgdarnel/src/pilot-link/0.11.7/pilot-link-0.11.7/missing --run tar
 AS = @AS@
 AWK = mawk
-CC = ccache gcc
-CFLAGS = -g -O2 -Werror
+CC = gcc
+CFLAGS = -g -O2
 CXX = c++
 CXXFLAGS = -g -O2
 DEBIANTCL = 
@@ -75,7 +75,7 @@
 ECHO = echo
 EXEEXT = 
 ICONV_CFLAGS = 
-ICONV_LIBS =  -liconv
+ICONV_LIBS = 
 INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
 JAR = 
 JAVA = 
@@ -86,7 +86,7 @@
 OBJDUMP = @OBJDUMP@
 OBJEXT = o
 PACKAGE = pilot-link
-PERL = 
+PERL = /usr/bin/perl
 PILOT_LINK_MAJOR = 11
 PILOT_LINK_MINOR = 7
 PILOT_LINK_PATCH = 
@@ -102,7 +102,7 @@
 PISYNC_REVISION = 0
 PNG_CFLAGS = 
 PNG_LIBS =  -lpng
-PYTHON = 
+PYTHON = /usr/bin/python
 RANLIB = ranlib
 RL_CFLAGS = 
 RL_LIBS = -lreadline
@@ -129,7 +129,7 @@
 YACC = bison -y
 am__include = include
 am__quote = 
-install_sh = /src/cvs/palm/pilot-link/work/pilot-link/install-sh
+install_sh = /home/bgdarnel/src/pilot-link/0.11.7/pilot-link-0.11.7/install-sh
 
 INCLUDES = \
 	-I../../include			\
--- pilot-link-0.11.7.orig/configure
+++ pilot-link-0.11.7/configure
@@ -8106,7 +8106,7 @@
 
 
 if test "x$with_python" != "xno"; then
-        for ac_prog in python2 python
+        for ac_prog in python2.2 python
 do
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
--- pilot-link-0.11.7.orig/configure.in
+++ pilot-link-0.11.7/configure.in
@@ -659,7 +659,7 @@
 AC_ARG_WITH(python,   [  --with-python=pybase    use Python [default=no]],  , with_python=no)
 
 if test "x$with_python" != "xno"; then
-        AC_PATH_PROGS(PYTHON, [python2 python])
+        AC_PATH_PROGS(PYTHON, [python2.2 python])
 	if test "x$PYTHON" != "x"; then
 		use_python=true
 	fi
--- pilot-link-0.11.7.orig/debian/rules
+++ pilot-link-0.11.7/debian/rules
@@ -0,0 +1,222 @@
+#!/usr/bin/make -f
+
+# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+libpkg = libpisock8
+cxxlibpkg = libpisock++0
+synclibpkg = libpisync0
+devpkg = libpisock-dev
+runpkg = pilot-link
+perlpkg = libpda-pilot-perl
+pythonpkg = python-pisock
+
+ifeq (hppa,$(DEB_BUILD_ARCH))
+CC = gcc -ffunction-sections
+else
+CC = gcc
+endif
+
+pwd := $(shell pwd)
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+archlib = $(shell $(PERL) -MConfig -e 'print $$Config{installvendorarch}')
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	# Add here commands to compile the package.
+	CC="$(CC)" ./configure --prefix=/usr \
+		--mandir=$(pwd)/debian/tmp/usr/share/man \
+		--with-cpp --with-perl --with-python
+	#sed < libtool > libtool-2 \
+	#	-e 's/^hardcode_libdir_flag_spec.*$$/hardcode_libdir_flag_spec=" -D__LIBTOOL_IS_A_FOOL__ "/' \
+	#	-e '/^archive_cmds="/s/"$$/ \\$$deplibs"/'
+	#mv libtool-2 libtool
+	#chmod 755 libtool
+	make CC="$(CC)"
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp pre-binary-stamp
+	# Add here commands to clean up after the build process.
+	#-(cd tools/Perl5; make realclean)
+#	(cd tools/Python; make distclean)
+#	./configure --prefix=/usr && make distclean
+	-make distclean
+	dh_clean
+
+pre-binary: build pre-binary-stamp
+pre-binary-stamp:
+	dh_testdir
+	dh_testroot
+	dh_clean
+	dh_installdirs
+	LIBRARY_PATH=`pwd`/debian/tmp/usr/lib make install prefix=`pwd`/debian/tmp/usr
+	rm debian/tmp/usr/share/man/man1/ietf2datebook.1
+	#(cd tools/Perl5; make pure_install PREFIX=`pwd`/../../debian/tmp/usr)
+#	done by dh_perl now.  -DS
+#	find debian/tmp -type f -name .packlist | xargs rm -f
+#	-find debian/tmp/usr/lib/perl5 -type d -empty | xargs rmdir -p
+#	(cd tools/Python; make install)
+
+#	rm debian/tmp/usr/lib/libpisock.so
+#	rm debian/tmp/usr/lib/libpisock.so.3
+	dh_movefiles
+#	-rm -f debian/pilot-link-perl/usr/lib/perl/5.6.0/auto/PDA/Pilot/.packlist
+	touch pre-binary-stamp
+
+# Build architecture-independent files here.
+binary-indep: build
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build $(libpkg) $(cxxlibpkg) $(devpkg) $(perlpkg) $(pythonpkg) $(runpkg) $(synclibpkg)
+
+$(libpkg): build pre-binary
+	dh_testdir -p$(libpkg)
+	dh_testroot -p$(libpkg)
+	dh_installdirs -p$(libpkg)
+	dh_installdocs -p$(libpkg)
+	dh_undocumented -p$(libpkg)
+	dh_installchangelogs -p$(libpkg)
+	dh_strip -p$(libpkg)
+	dh_compress -p$(libpkg)
+	dh_fixperms -p$(libpkg)
+	dh_installdeb -p$(libpkg)
+	dh_shlibdeps -p$(libpkg)
+	dh_gencontrol -p$(libpkg)
+	dh_makeshlibs -p$(libpkg)
+	dh_md5sums -p$(libpkg)
+	dh_builddeb -p$(libpkg)
+
+$(cxxlibpkg): build pre-binary
+	dh_testdir -p$(cxxlibpkg)
+	dh_testroot -p$(cxxlibpkg)
+	dh_installdirs -p$(cxxlibpkg)
+	dh_installdocs -p$(cxxlibpkg)
+	dh_undocumented -p$(cxxlibpkg)
+	dh_installchangelogs -p$(cxxlibpkg)
+	dh_strip -p$(cxxlibpkg)
+	dh_compress -p$(cxxlibpkg)
+	dh_fixperms -p$(cxxlibpkg)
+	dh_installdeb -p$(cxxlibpkg)
+	dh_shlibdeps -p$(cxxlibpkg)
+	dh_gencontrol -p$(cxxlibpkg)
+	dh_makeshlibs -p$(cxxlibpkg)
+	dh_md5sums -p$(cxxlibpkg)
+	dh_builddeb -p$(cxxlibpkg)
+
+$(synclibpkg): build pre-binary
+	dh_testdir -p$(synclibpkg)
+	dh_testroot -p$(synclibpkg)
+	dh_installdirs -p$(synclibpkg)
+	dh_installdocs -p$(synclibpkg)
+	dh_undocumented -p$(synclibpkg)
+	dh_installchangelogs -p$(synclibpkg)
+	dh_strip -p$(synclibpkg)
+	dh_compress -p$(synclibpkg)
+	dh_fixperms -p$(synclibpkg)
+	dh_installdeb -p$(synclibpkg)
+	dh_shlibdeps -p$(synclibpkg)
+	dh_gencontrol -p$(synclibpkg)
+	dh_makeshlibs -p$(synclibpkg)
+	dh_md5sums -p$(synclibpkg)
+	dh_builddeb -p$(synclibpkg)
+	
+$(devpkg): build pre-binary
+	dh_testdir -p$(devpkg)
+	dh_testroot -p$(devpkg)
+	dh_installdirs -p$(devpkg)
+	dh_installdocs -p$(devpkg)
+	dh_installchangelogs -p$(devpkg)
+#	rm -f debian/$(devpkg)/usr/lib/libpisock.so
+#	ln -s libpisock.so.3.0.1 debian/$(devpkg)/usr/lib/libpisock.so
+	mv debian/$(devpkg)/usr/include/*.h* \
+		debian/$(devpkg)/usr/include/libpisock/
+	dh_strip -p$(devpkg)
+	dh_compress -p$(devpkg)
+	dh_fixperms -p$(devpkg)
+	dh_installdeb -p$(devpkg)
+	dh_shlibdeps -p$(devpkg)
+	dh_gencontrol -p$(devpkg)
+	dh_makeshlibs -p$(devpkg)
+	dh_md5sums -p$(devpkg)
+	dh_builddeb -p$(devpkg)
+
+$(runpkg): build pre-binary
+	dh_testdir -p$(runpkg)
+	dh_testroot -p$(runpkg)
+	dh_installdirs -p$(runpkg)
+	dh_installdocs -p$(runpkg) README NEWS doc/TODO doc/README.usb
+	cp ChangeLog debian/tmp/usr/share/doc/$(runpkg)/changelog
+	gzip -9 debian/tmp/usr/share/doc/$(runpkg)/changelog
+	dh_installexamples -p$(runpkg)
+	dh_installmenu -p$(runpkg)
+	dh_installman -p$(runpkg) debian/*.1
+	#dh_installmanpages -p$(runpkg) debian/tmp/usr/share/man1/ietf2datebook.1
+	dh_undocumented -p$(runpkg)
+	#-cp debian/*.1 debian/tmp/usr/share/man/man1/
+	dh_installchangelogs -p$(runpkg)
+	dh_installdebconf -p$(runpkg)
+	rm -Rf debian/tmp/usr/include
+	rm -Rf debian/tmp/usr/lib/perl5 
+	rm -Rf debian/tmp/usr/lib/python2.2
+	dh_strip -p$(runpkg)
+	dh_compress -p$(runpkg)
+	dh_fixperms -p$(runpkg)
+	dh_installdeb -p$(runpkg)
+	dh_shlibdeps -p$(runpkg) -ldebian/$(libpkg)/usr/lib
+#	LD_LIBRARY_PATH=`pwd`/debian/$(libpkg)/usr/lib dh_shlibdeps -p$(runpkg)
+	dh_gencontrol -p$(runpkg)
+	dh_md5sums -p$(runpkg)
+	dh_builddeb -p$(runpkg)
+
+$(perlpkg): build pre-binary
+	dh_testdir -p$(perlpkg)
+	dh_testroot -p$(perlpkg)
+	dh_installdirs -p$(perlpkg)
+	dh_installchangelogs -p$(perlpkg)
+	dh_installdocs -p$(perlpkg)
+	dh_installexamples -p$(perlpkg) bindings/Perl/test.pl
+	chmod a+x debian/$(perlpkg)$(archlib)/PDA/*.pl
+	dh_undocumented -p$(perlpkg)
+	dh_strip -p$(perlpkg)
+	dh_compress -p$(perlpkg)
+	dh_fixperms -p$(perlpkg)
+	dh_installdeb -p$(perlpkg)
+	dh_perl -p$(perlpkg) 
+	dh_shlibdeps -p$(perlpkg) -ldebian/$(libpkg)/usr/lib
+#	LD_LIBRARY_PATH=$(pwd)/debian/$(libpkg)/usr/lib dh_shlibdeps -p$(perlpkg)
+	dh_gencontrol -p$(perlpkg) -- -Tdebian/libpda-pilot-perl.substvars.debhelper -Tdebian/libpda-pilot-perl.substvars
+	dh_md5sums -p$(perlpkg)
+	dh_builddeb -p$(perlpkg)
+
+$(pythonpkg): build pre-binary
+	dh_testdir -p$(pythonpkg)
+	dh_testroot -p$(pythonpkg)
+	dh_installdirs -p$(pythonpkg)
+	dh_installchangelogs -p$(pythonpkg)
+	dh_installdocs -p$(pythonpkg)
+	dh_strip -p$(pythonpkg)
+	dh_compress -p$(pythonpkg)
+	dh_fixperms -p$(pythonpkg)
+	dh_installdeb -p$(pythonpkg)
+	dh_shlibdeps -p$(pythonpkg) -ldebian/$(libpkg)/usr/lib
+#	LD_LIBRARY_PATH=`pwd`/debian/$(libpkg)/usr/lib dh_shlibdeps -p$(pythonpkg)
+	dh_makeshlibs -p$(pythonpkg)
+	dh_gencontrol -p$(pythonpkg)
+	dh_md5sums -p$(pythonpkg)
+	dh_builddeb -p$(pythonpkg)
+
+source diff:
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary \
+	$(libpkg) $(devpkg) $(runpkg) $(perlpkg) $(pythonpkg) pre-binary
--- pilot-link-0.11.7.orig/debian/control
+++ pilot-link-0.11.7/debian/control
@@ -0,0 +1,73 @@
+Source: pilot-link
+Section: otherosfs
+Build-Depends: debhelper (>= 3.0.18), perl (>= 5.6), python2.2-dev, libpng3-dev, libreadline4-dev
+Priority: optional
+Maintainer: Ben Darnell <bgdarnel@debian.org>
+Standards-Version: 3.2.1
+
+Package: pilot-link
+Architecture: any
+Depends: ${shlibs:Depends}, debconf
+Description: Tools to communicate with a PalmOS PDA over a serial port
+ pilot-link is a set of tools that communicate with a PalmOS PDA.
+
+Package: libpda-pilot-perl
+Architecture: any
+Section: devel
+Priority: extra
+Depends: ${shlibs:Depends}, ${perl:Depends}, libdigest-md5-perl, data-dumper
+Replaces: pilot-link (<< 0.9.3-1), pilot-link-perl
+Conflicts: pilot-link-perl
+Provides: pilot-link-perl
+Description: Perl tools to communicate with a PalmOS PDA over a serial port
+ This package provides the PDA::Pilot module, which provides Perl programs 
+ with a means of communicating directly with a PalmOS device.
+
+Package: python-pisock
+Architecture: any
+Section: devel
+Priority: extra
+Depends: ${shlibs:Depends}, python2.2
+Replaces: pilot-link (<< 0.9.3-1), pilot-link-python
+Conflicts: pilot-link-python
+Provides: pilot-link-python
+Description: Python tools to communicate with PalmOS PDA over a serial port
+ This package provides the pisock module, which provides Python programs
+ with a means of communicating directly with a PalmOS device.
+
+Package: libpisock8
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: Libraries for communicating with a PalmOS PDA
+ libpisock contains libraries used by pilot-link and any other packages
+ that want to communicate with a PalmOS device.
+
+Package: libpisock++0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Conflicts: libpisock5 (<= 0.10.99-4)
+Replaces: libpisock5 (<= 0.10.99-4)
+Description: C++ libraries for communicating with a PalmOS PDA
+ libpisock++ contains libraries used by pilot-link and other packages
+ that want to communicate with a PalmOS device.
+
+Package: libpisync0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: Synchronization library for PalmOS devices
+ libpisync is a framework for applications to synchronize data with PalmOS
+ devices.
+
+Package: libpisock-dev
+Architecture: any
+Section: devel
+Priority: extra
+Depends: libpisock8, libpisock++0, libpisync0, libncurses-dev|libncurses5-dev
+Conflicts: libpisock3 (<= 0.9.5-pre5-1.1), pilot-link (<= 0.11.3-4)
+Replaces: pilot-link (<= 0.11.3-4)
+Description: Development files for communicating with a PalmOS PDA
+ libpisockdev contains static libraries and header files for writing
+ applications that want to communicate with a PalmOS device.
--- pilot-link-0.11.7.orig/debian/changelog
+++ pilot-link-0.11.7/debian/changelog
@@ -0,0 +1,372 @@
+pilot-link (0.11.7-2.woody.1) unstable; urgency=low
+
+  * Backport of unstable for woody by Adam Powell
+  * Using python2.2(-dev) instead of python(-dev)
+
+ -- Adam C. Powell, IV <hazelsct@debian.org>  Mon, 10 Feb 2003 11:54:06 -0500
+
+pilot-link (0.11.7-2) unstable; urgency=low
+
+  * Fix depends on ncurses (closes: #175466)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Sat,  1 Feb 2003 10:09:00 -0800
+
+pilot-link (0.11.7-1) unstable; urgency=low
+
+  * New upstream version (closes: #175568)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Mon,  6 Jan 2003 23:10:48 -0800
+
+pilot-link (0.11.6-1) unstable; urgency=low
+
+  * New upstream version
+  * Relaxed perl build-depends (closes: #169408)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Sun, 29 Dec 2002 21:43:57 -0800
+
+pilot-link (0.11.4-2) unstable; urgency=low
+
+  * Add README.usb
+
+ -- Ben Darnell <bgdarnel@debian.org>  Wed,  2 Oct 2002 22:35:02 -0700
+
+pilot-link (0.11.4-1) unstable; urgency=low
+
+  * New upstream version
+  * Fixed build-depends (closes: #159528)
+  * Fix build problem on hppa (closes: #159602)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Mon, 16 Sep 2002 20:56:22 -0700
+
+pilot-link (0.11.3-6) unstable; urgency=low
+
+  * Remove libpng dependency from library packages (closes: #160107)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Tue, 10 Sep 2002 23:38:46 -0700
+
+pilot-link (0.11.3-5) unstable; urgency=low
+
+  * Move libpisync development files to libpisock-dev
+  * Change devfs support from deprecated symlinks.d to i
+    conf.d (closes: #127287)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Tue,  3 Sep 2002 21:36:54 -0700
+
+pilot-link (0.11.3-4) unstable; urgency=low
+
+  * Update Python bindings to Python 2.2
+
+ -- Ben Darnell <bgdarnel@debian.org>  Mon,  2 Sep 2002 14:47:09 -0700
+
+pilot-link (0.11.3-3) unstable; urgency=low
+
+  * Update for Perl 5.8 (closes: #158348, #158386)
+  * Update copyright notice (closes: #157684)
+  * Build libpisync0 package (closes: #158011)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Mon, 26 Aug 2002 21:21:36 -0700
+
+pilot-link (0.11.3-2) unstable; urgency=low
+
+  * Applied patch to fix USB segfault issue
+  * Fix depends on libpisock-dev
+
+ -- Ben Darnell <bgdarnel@debian.org>  Fri,  9 Aug 2002 18:49:53 -0700
+
+pilot-link (0.11.3-1) unstable; urgency=low
+
+  * New upstream version (this one will get uploaded, I promise)
+    (closes: #154549, #152782) 
+  * Fix depends/conflict/replace on libpisock++0 (closes: #155546, #153532)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Wed,  7 Aug 2002 19:42:25 -0700
+
+pilot-link (0.11.1-1) unstable; urgency=low
+
+  * New upstream version (closes: #154549)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Mon, 29 Jul 2002 22:42:52 -0700
+
+pilot-link (0.11.0-1) unstable; urgency=low
+
+  * New upstream version (closes: #152782, #141211)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Fri, 12 Jul 2002 14:54:59 -0700
+
+pilot-link (0.10.99-4) unstable; urgency=low
+
+  * Add Provdes: for renamed Perl and Python packages (closes: #152452)
+  * Fix dependencies for Perl package (closes: #152039)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Tue,  9 Jul 2002 15:19:31 -0700
+
+pilot-link (0.10.99-3) unstable; urgency=low
+
+  * Fix makefiles for C++, Perl and Python bindings; will now build without
+    libpisock5 already installed (closes: #150925)
+  * Fix typo in debian/rules (closes: #151081)
+  * Update dependency information (closes: #151038)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Tue, 25 Jun 2002 10:59:31 -0700
+
+pilot-link (0.10.99-2) unstable; urgency=low
+
+  * Re-build for new version of automake/autoconf (closes: #150794)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Mon, 24 Jun 2002 16:47:23 -0700
+
+pilot-link (0.10.99-1) unstable; urgency=low
+
+  * Real upload of 0.10.99.  It's a pre-release, but better than the very
+    old 0.9.5.  This version features support for USB devices.  Be aware,
+    some components have been renamed or deleted since 0.9.5.
+
+ -- Ben Darnell <bgdarnel@debian.org>  Sun, 16 Jun 2002 23:02:43 -0700
+
+pilot-link (0.10.99-0.2) unstable; urgency=low
+
+  * Update the (very old) package descriptions, readmes, etc.
+  * Fix Python bindings
+
+ -- Ben Darnell <bgdarnel@debian.org>  Sun,  7 Apr 2002 15:40:05 -0400
+
+pilot-link (0.10.99-0.1) unstable; urgency=low
+
+  * New upstream version (test packages)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Thu,  4 Apr 2002 22:40:53 -0500
+
+pilot-link (0.9.5.0-8) unstable; urgency=low
+
+  * Apply patch to fix "Weird packet" error (closes: #120459)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Sat, 16 Feb 2002 10:52:06 -0500
+
+pilot-link (0.9.5.0-7) unstable; urgency=low
+
+  * Fix templates file (closes: #124053)
+  * Apply patch to pilot-addresses (closes: #114096)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Sat, 15 Dec 2001 20:20:16 -0500
+
+pilot-link (0.9.5.0-6) unstable; urgency=low
+
+  * Add version to build-depend on perl (closes: #109664)
+  * Updated config.guess and config.sub
+  * Added German translation of debconf prompts (closes: #102086)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Wed, 29 Aug 2001 19:10:39 -0400
+
+pilot-link (0.9.5.0-5) unstable; urgency=low
+
+  * Fix compilation problems on gcc 3.0 (closes: #106256)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Mon, 23 Jul 2001 12:48:13 -0400
+
+pilot-link (0.9.5.0-4) unstable; urgency=low
+
+  * Fix dependency versions
+
+ -- Ben Darnell <bgdarnel@debian.org>  Thu, 19 Jul 2001 17:38:05 -0400
+
+pilot-link (0.9.5.0-3) unstable; urgency=low
+
+  * Fixed build problem on ia64 (closes:#105766)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Wed, 18 Jul 2001 12:21:41 -0400
+
+pilot-link (0.9.5.0-2) unstable; urgency=low
+
+  * Fix missing dependencies (closes:#104400)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Wed, 11 Jul 2001 22:31:14 -0400
+
+pilot-link (0.9.5.0-1) unstable; urgency=low
+
+  * New official upstream release (upstream version number is 0.9.5, 
+    this package uses 0.9.5.0 because the prerelease NMUs were 
+    misnumbered)
+  * Not an NMU (closes:#71476,#84498,#86622,#80730,#53256,#64377,#66000)
+  * Fixed self-build-dependency (closes: #99696, #92547)
+  * Add version to dependency on libpisock (closes: #97549)
+  * Re-wrote configuration scripts to use debconf (and devfs when available)
+   (closes:#99067,#99070,#98862,#99069)
+  * Fixed perl version depend (closes: #80661)
+  * Incremented library package version number to libpisock4
+
+ -- Ben Darnell <bgdarnel@debian.org>  Tue, 19 Jun 2001 15:49:51 -0400
+
+pilot-link (0.9.5-pre5-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fixed location of perl tools to follow perl policy (closes:#95420)
+  * Build-depends on debhelper with working dh_perl.
+  * Now using -l argument to dh_shlibdeps, which means that with a
+    sufficiently recent version of debhelper, you can use fakeroot to
+    build this package again.
+  * Note on the version number: I think the non-maintainer who uploaded
+    the previous version made a horrible mistake here.  Unfortunately, it's
+    too late to do anything.  Whoever uploads 0.9.5, when it's finally
+    released, will have to use a version number like 0.9.5-rel5-1.
+    Fortunately, 0.9.6 will be able to return to a normal numbering
+    scheme.
+  * Removed lintian overrides improperly added by last non-maintainer
+    upload.
+
+ -- Chris Waters <xtifr@debian.org>  Fri, 25 May 2001 19:11:14 -0700
+
+pilot-link (0.9.5-pre5-1) unstable; urgency=low
+ 
+  * New upstream version
+  * Updated debian/rules to reflect new location of perl tools as well as
+    added fixes for new perl 5.6.0
+  * NMU
+  * Fix build from source issues (Closes: #86622, #84498)
+  * Fix Weird Packets problem (Closes: #71476)
+  * Adding Build-Depends
+  * Provide manpage links (Closes: #53256)
+  * Some lintian cleanup
+  * Including new man page (Closes: #64377)
+  * Fix for install-datebook timeless entry (Closes: #66000)
+  * Fix problem with pilot-xfer restoration (Closes: #80730)
+  * Adding in lintian overrides
+  * Remove old suidregister calls in debian/rules
+ 
+ -- Ivan E. Moore II <rkrusty@debian.org>  Sat, 24 Mar 2001 03:28:30 -0700
+
+pilot-link (0.9.3-3) unstable; urgency=low
+
+  * pilot-link-perl should now *really* build without pilot-link
+    installed (closes: #53891) 
+
+ -- Ben Darnell <bgdarnel@debian.org>  Mon,  3 Jan 2000 16:24:30 -0500
+
+pilot-link (0.9.3-2) unstable; urgency=low
+
+  * Change pilot-link-perl dependency from libmd5-perl to
+    libdigest-md5-perl (closes: #47519)
+  * pilot-link-perl now builds without pilot-link installed 
+    (closes: #51594)
+  * Applied patch from Jay Sekora (adds verbose option to memos.c,
+    tcl output option to pilot-addresses.c)
+
+ -- Ben Darnell <bgdarnel@debian.org>  Thu, 21 Oct 1999 19:11:08 -0400
+
+pilot-link (0.9.3-1) unstable; urgency=low
+
+  *  New maintainer
+  *  Fix "Press HotSync button" in pilot-xfer.c and pilot-mail.c 
+  (closes Bug#46346, #38382)
+  *  Remove bogus sigint handler in pilot-mail.c (closes Bug#38383)
+  *  Close dangling file handles in install-memo.c (closes Bug#42830)
+  *  Move pilot-debug to pilot-link-tcl, to remove dependency on tcl/tk
+     (and therefore X) (closes Bug#31631)
+  *  Move ietf2datebook, pilot-undelete, and sync-plan to
+     pilot-link-perl to remove dependency
+  *  Update to policy 3.0.0
+
+ -- Ben Darnell <bgdarnel@debian.org>  Thu,  7 Oct 1999 19:50:54 -0400
+
+pilot-link (0.9.3-0.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Conform to Perl Policy 1.0.1.  (fixes Bug#41511)
+  * Apply patch from Hiroaki KOJIMA to make install-datebook work
+    correctly.  (fixes Bug#40343)
+  * Change the dependencies of pilot-link from libmd5-perl to
+    libdigest-md5-perl since the latter is replacing the former.
+  * Add --no-ask option to pilotconfig so that it won't ask the user about 
+    the /dev/pilot symlink if it already exists during install. (fixes
+    Bug#37361)
+    Wrote a manpage for pilotconfig since it now has options.
+  * Make pilot-xfer put the message "press the HotSync button now" on
+    stderr instead of stdout.  This way the output can be filtered and you 
+    still know when to press the button.  (fixes Bug#34423)
+  
+ -- Darren Stalder <torin@daft.com>  Thu,  7 Oct 1999 19:50:01 -0400
+
+pilot-link (0.9.3-0.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * New upstream release (fixes bugs #36299, #37800)
+  * debian/copyright: updated download URL.
+  * Rebuilt with latest glibc 2.1 (fixes bugs #31630, #33489, #36646;
+    also, there is no sign of #31806 or #32874).
+  * debian/rules: find and remove .packlist from Perl module directory
+    (fixes lintian error).
+  * debian/rules: chmod 755 /usr/sbin/pilotconfig (fixes lintian
+    warning, and error during postinst).
+
+ -- Rob Tillotson <robt@debian.org>  Fri, 14 May 1999 23:01:41 -0500
+
+pilot-link (0.9.0-1) unstable; urgency=low
+
+  * Upgraded to latest upstream release (closes bug #29853).
+  * Now compiled using egcc.
+  * Added pilot-link-perl, perl, and libmd5-perl to the dependancies
+    for pilot-link (closes bugs #13872 #27835 and #31122).
+  * Pilot-link's ChangeLog and TODO files are now put into
+    /usr/doc/pilot-link closes bug #23067).
+  * Added data-dumper to the dependancies for pilot-link-perl.
+  * Revised copyright file to cover libpisock being undr LGPL now.
+  * Added note about sync-ical not being present to README.Debian
+    (closes bug #13871).
+  * Bugs #16101 #16554 and #17739 were already fixed by the previous
+    release - now closed.
+  * The getrom.prc and getrom2.prc files are now put into
+    /usr/doc/pilot-link and a comment has been added to README.Debian
+    (closes bugs #23093 and #24284).
+  * Modified pilotconfig to close bugs #23463 #23616 and #25638.
+  * Bugs #23663 and #24285 do not occur with this release and so are
+    now closed.
+  * pilot-xfer.c modified to fix opendir security issue. This new upstream
+    release seems to have code to fix the fopen issue. (closes bug #24361).
+  * Change rules file so that doing a clean doesn't fail if there is no
+    Makefile in either the Perl5 or Tcl directories (closes bugs #27466
+    and #27941).
+
+ -- Dermot Bradley <bradley@debian.org>  Sun,  6 Sep 1998 11:56:54 +0100
+
+pilot-link (0.8.11-1) unstable; urgency=low
+
+  * New maintainer.
+  * Upgraded to latest upstream release.
+  * debian/rules now uses debhelper.
+  * Changed from one package into separates for the shared library,
+    static library and header files, main pilot-link binaries,
+    and separate Perl and TCL APIs.
+  * Changed all references of cua in the code to ttyS.
+  * Added pilotconfig to set up /dev/pilot.
+
+ -- Dermot Bradley <bradley@debian.org>  Sun, 12 Apr 1998 23:23:49 +0100
+
+pilot-link (0.8.7-1) unstable; urgency=low
+
+  * upgrade upstream release
+
+ -- Mark W. Eichin <eichin@kitten.gen.ma.us>  Thu,  9 Oct 1997 01:43:42 -0400
+
+pilot-link (0.8.5-1) unstable; urgency=low
+
+  * upgrade upstream release
+
+ -- Mark W. Eichin <eichin@kitten.gen.ma.us>  Mon,  8 Sep 1997 10:59:56 -0400
+
+pilot-link (0.7.2-2) unstable; urgency=low
+
+  * debian/rules: move getrom to pilot-getrom to avoid conflict with
+    dosemu getrom.
+
+ -- Mark W. Eichin <eichin@kitten.gen.ma.us>  Mon,  3 Jul 1997 14:42:00 -0400
+
+pilot-link (0.7.2-1) unstable; urgency=low
+
+  * Initial Release.
+  * debian/rules (build): normal Makefile already uses -g -O2 and -Wall,
+    so don't override the other bits.  Pass TCL_INC and TK_INC directly to
+    make, since configure and {tk,tcl}Config.sh don't set them usefully.
+  * debian/dirs: specifically include usr/man/man1.
+
+ -- Mark W. Eichin <eichin@kitten.gen.ma.us>  Tue,  1 Jul 1997 01:38:08 -0400
+
+
--- pilot-link-0.11.7.orig/debian/README.debian
+++ pilot-link-0.11.7/debian/README.debian
@@ -0,0 +1,20 @@
+pilot-link for DEBIAN
+----------------------
+
+This is the pilot-link tools for Unix and consists of several packages:
+libpisock5 (the run-time library), libpisock-dev (for developers),
+pilot-link (the main package), libpda-pilot-perl and python-pisock (Perl
+and Python interfaces, respectively, to libpisock).
+
+Notes:
+
+The environment variable PILOTRATE overrides the default serial speed
+of 9600. You should probably set this in your .bashrc (or equivalent)
+to the maximum, H115200. (i.e., if you use bash, add the line 
+	export PILOTRATE=H115200
+to ~/.bashrc)
+
+The 2 pilot programs getrom.prc and getrom2.prc which are used in
+conjunction get pil-getrom are in /usr/share/pilot-link.
+
+Ben Darnell <bgdarnel@debian.org>, Thu, 7 Oct 1999
--- pilot-link-0.11.7.orig/debian/dirs
+++ pilot-link-0.11.7/debian/dirs
@@ -0,0 +1,4 @@
+usr/bin
+usr/sbin
+usr/share/man/man1
+usr/share/pilot-link
--- pilot-link-0.11.7.orig/debian/libpisock-dev.files
+++ pilot-link-0.11.7/debian/libpisock-dev.files
@@ -0,0 +1,10 @@
+usr/include/
+usr/lib/libpisock.so
+usr/lib/libpisock.a
+usr/lib/libpisock.la
+usr/lib/libpisock++.so
+usr/lib/libpisock++.a
+usr/lib/libpisock++.la
+usr/lib/libpisync.so
+usr/lib/libpisync.a
+usr/lib/libpisync.la
--- pilot-link-0.11.7.orig/debian/copyright
+++ pilot-link-0.11.7/debian/copyright
@@ -0,0 +1,14 @@
+This package was first debianized by Mark W. Eichin eichin@kitten.gen.ma.us on
+Tue,  1 Jul 1997 01:38:08 -0400.
+
+The latest version of pilot-link can be found at 
+http://www.pilot-link.org
+
+Copyright:
+
+The libraries in pilot-link are covered by the GNU LGPL (see 
+/usr/share/common-licenses/LGPL)
+
+The rest of pilot-link is covered by the GNU GPL (see
+/usr/share/common-licenses/GPL)
+
--- pilot-link-0.11.7.orig/debian/libpisock-dev.dirs
+++ pilot-link-0.11.7/debian/libpisock-dev.dirs
@@ -0,0 +1,2 @@
+usr/include/libpisock
+usr/lib
--- pilot-link-0.11.7.orig/debian/postinst
+++ pilot-link-0.11.7/debian/postinst
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+
+#DEBHELPER#
+
+exit 0
--- pilot-link-0.11.7.orig/debian/pilot-link-tcl.dirs
+++ pilot-link-0.11.7/debian/pilot-link-tcl.dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/lib
--- pilot-link-0.11.7.orig/debian/pilot-link-tcl.files
+++ pilot-link-0.11.7/debian/pilot-link-tcl.files
@@ -0,0 +1,4 @@
+usr/lib/libpitcl*
+usr/lib/pitcl*
+usr/bin/pitcl*
+usr/bin/piwish*
--- pilot-link-0.11.7.orig/debian/undocumented
+++ pilot-link-0.11.7/debian/undocumented
@@ -0,0 +1,16 @@
+ccexample.1
+debugsh.1
+iambicexample.1
+install-todos.1
+memos.1
+money2qif.1
+pi-csd.1
+pi-nredir.1
+pi-port.1
+pilot-clip.1
+pilot-dedupe.1
+pilot-file.1
+pilot-schlep.1
+read-expenses.1
+read-todos.1
+reminders.1
--- pilot-link-0.11.7.orig/debian/pilot-link-tcl.postinst
+++ pilot-link-0.11.7/debian/pilot-link-tcl.postinst
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+#DEBHELPER#
+
+case "$1" in
+	configure)
+		ldconfig
+		;;
+
+esac
+
+exit 0
--- pilot-link-0.11.7.orig/debian/shlibs.local
+++ pilot-link-0.11.7/debian/shlibs.local
@@ -0,0 +1,3 @@
+libpisock 8 libpisock8
+libpisock++ 0 libpisock++0
+libpisync 0 libpisync0
--- pilot-link-0.11.7.orig/debian/watch
+++ pilot-link-0.11.7/debian/watch
@@ -0,0 +1,6 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site		Directory		Pattern			Version	Script
+uiarchive.uiuc.edu /pub/systems/PalmOS/ pilot-link.*.tar.gz debian uupdate
+ryeham.ee.ryerson.ca /pub/PalmOS/ pilot-link.*.tar.gz debian uupdate
--- pilot-link-0.11.7.orig/debian/pilot-mail.1
+++ pilot-link-0.11.7/debian/pilot-mail.1
@@ -0,0 +1,92 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.TH PILOT-MAIL 1 "May 19, 2000"
+.\" Please adjust this date whenever revising the manpage.
+.SH NAME
+pilot-mail \- transfer mail to and from a Palm Pilot
+.SH SYNOPSIS
+.B pilot-mail
+.RI [ options ]
+.SH DESCRIPTION
+This manual page documents the
+.B pilot-mail
+command.
+.PP
+\fBpilot-mail\fP is a program that synchronises mail between the Mail
+application on a Palm Pilot and a POP3 mailbox or MH mail folder and
+sends any outbound mail from the Palm.  Not all Palms will have the
+mail application available.
+.SH OPTIONS
+A summary of options is included below.  Each option may be set either
+on the command line or using an environment variable.  If a command
+line option is present it overrides the environment variable.
+.TP
+.B \-p port
+Serial port to use.  Defaults to none.
+.TP
+.B \-h host
+Host to download POP3 mail from.  Defaults to none.
+.TP
+.B \-u username
+User name to use when fetching POP3 mail.  No default.
+.TP
+.B \-P password
+Password to use when fetching POP3 mail.  No default.
+.TP
+.B \-f address
+Value of "From:" header to use in outgoing messages.  Default is
+provided by \fBsendmail(1)\fP.
+.TP
+.B \-s command
+Command used to invoke \fBsendmail(1)\fP.  Defaults to
+"/usr/lib/sendmail -t -i".  If a null value is specified then mail
+will not be sent.
+.TP
+.B \-k <keep|delete>
+Keep or delete mail on POP server after transferring it to Pilot.
+Default is to keep mail.
+.TP
+.B \-d <keep|delete|file>
+Disposition of mail sent from Pilot.  Default is to keep the mail.
+.TP
+.B \-m mhdir
+MH spool directory to download to Pilot.  Default is none.
+.SH ENVIRONMENT
+Defaults for all command line options can be set using these
+environment variables.
+.TP
+.B PILOTPORT
+Serial port to use.  Defaults to none.
+.TP
+.B POPHOST
+POP3 host to download mail from.  Defaults to none.
+.TP
+.B POPUSER
+User name to use when fetching mail with POP3.  No default.
+.TP
+.B POPPASS
+Password to use when fetching POP3 mail.  No default.
+.TP
+.B PILOTFROM
+Value of "From:" header to use in outgoing messages.  Default is
+provided by \fBsendmail(1)\fP.
+.TP
+.B SENDMAIL
+Command used to invoke \fBsendmail(1)\fP.  Defaults to
+"/usr/lib/sendmail -t -i".  If a null value is specified then mail
+will not be sent.
+.TP
+.B POPKEEP
+Keep or delete mail on POP server after transferring it to Pilot.  Can
+be either "keep" or "delete", defaulting to "keep".
+.TP
+.B TOPILOT_MHDIR
+MH spool directory to download to Pilot.  Default is none.
+.SH SECURITY
+If the POP3 password is specified on the command line other users on
+the system will be able to view it while \fBpilot-mail\fP using (for
+example) \fBps(1)\fN.
+.SH AUTHORS
+\fBpilot-mail\fB was written by Kenneth Albanowski
+<kjahds@kjahds.com>.  This manual page was written by Mark Brown
+<broonie@tardis.ed.ac.uk> for the Debian GNU/Linux system (but may be
+used by others).
--- pilot-link-0.11.7.orig/debian/libpda-pilot-perl.files
+++ pilot-link-0.11.7/debian/libpda-pilot-perl.files
@@ -0,0 +1 @@
+usr/lib/perl5
--- pilot-link-0.11.7.orig/debian/python-pisock.files
+++ pilot-link-0.11.7/debian/python-pisock.files
@@ -0,0 +1 @@
+usr/lib/python2.2
--- pilot-link-0.11.7.orig/debian/templates
+++ pilot-link-0.11.7/debian/templates
@@ -0,0 +1,26 @@
+Template: shared/pilot/create-link
+Type: boolean
+Default: true
+Description: Should pilot-link create a /dev/pilot symlink?
+ Many tools in the pilot-link packages use /dev/pilot as the default
+ port.  If you answer "yes" here, /dev/pilot will be created as
+ an alias for the port you specify.  If you answer "no", you will have
+ to either create the symlink yourself or declare the serial port on 
+ each use of the tools (by environment variable or command line parameter).
+Description-de: Soll pilot-link einen Symbolischen Link /dev/pilot erstellen?
+ Viele Tools des pilot-link-Pakets benutzen standardmäßig /dev/pilot.
+ Wenn Sie hier mit "yes" antworten, dann wird /dev/pilot als Link zum
+ von Ihnen angegebenem Port erstellt. Wenn Sie mit "no" antworten,
+ dann müssen Sie den Link selbst erstellen, oder aber Sie geben die
+ benutzte Schnittstelle jedem Programm einzeln an (per Umgebungsvariable
+ oder über eine Kommandozeilenparameter).
+
+Template: shared/pilot/port
+Type: string
+Default: ttyS0
+Description: To what serial port is your Palm cradle connected?
+ /dev/pilot will be created as a symbolic link to this port.  Serial 
+ ports typically have a name of the form ttyXX.  
+Description-de: An welcher Schnittstelle ist die Cradle angeschlossen?
+ /dev/pilot wird als Link zu dieser Schnittstelle erstellt. Serielle
+ Schnittstellen haben Namen in der Form ttyXX.
--- pilot-link-0.11.7.orig/debian/config
+++ pilot-link-0.11.7/debian/config
@@ -0,0 +1,32 @@
+#!/bin/sh -e
+
+. /usr/share/debconf/confmodule
+
+if [ -L /dev/pilot ]
+then
+	exit 0
+fi
+
+db_input medium shared/pilot/create-link || true
+db_go
+
+db_get shared/pilot/create-link
+if [ "$RET" = "true" ]; then
+	db_input medium shared/pilot/port || true
+	db_go
+
+	db_get shared/pilot/port
+	port=$(echo $RET | sed s_^/dev/__)
+	rm -f /dev/pilot
+	ln -s $port /dev/pilot
+
+	# remove old devfs stuff (from before 0.11.3-5)
+	if [ -f /etc/devfs/symlinks.d/pilot-link ]; then
+		rm /etc/devfs/symlinks.d/pilot-link
+	fi
+	
+	if [ -d /etc/devfs/conf.d ]; then
+		echo "REGISTER  ^$port$ CFUNCTION GLOBAL symlink \$devname pilot" > /etc/devfs/conf.d/pilot-link
+		echo "UNREGISTER ^$port$ CFUNCTION GLOBAL unlink pilot" >> /etc/devfs/conf.d/pilot-link
+	fi
+fi
--- pilot-link-0.11.7.orig/debian/libpisock++0.files
+++ pilot-link-0.11.7/debian/libpisock++0.files
@@ -0,0 +1,2 @@
+usr/lib/libpisock++.so.0.0.0
+usr/lib/libpisock++.so.0
--- pilot-link-0.11.7.orig/debian/libpisync0.files
+++ pilot-link-0.11.7/debian/libpisync0.files
@@ -0,0 +1,2 @@
+usr/lib/libpisync.so.0.0.0
+usr/lib/libpisync.so.0
--- pilot-link-0.11.7.orig/debian/libpisock8.files
+++ pilot-link-0.11.7/debian/libpisock8.files
@@ -0,0 +1,2 @@
+usr/lib/libpisock.so.8.0.4
+usr/lib/libpisock.so.8
