aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2007-12-09 19:52:40 +0000
committerReuben Thomas <rrt@sc3d.org>2007-12-09 19:52:40 +0000
commitc955b685baf27df2e3d4145f0337bcf8077789bb (patch)
tree6ab1d6e87e05c649c8bc91e826ac37fd894605d9 /debian
parent600afc7ff1df3aedc69dd34d7a3d8c0a40b10a82 (diff)
downloadplptools-c955b685baf27df2e3d4145f0337bcf8077789bb.tar.gz
plptools-c955b685baf27df2e3d4145f0337bcf8077789bb.tar.bz2
plptools-c955b685baf27df2e3d4145f0337bcf8077789bb.zip
Remove Debian files
Diffstat (limited to 'debian')
-rw-r--r--debian/README.Debian16
-rw-r--r--debian/changelog230
-rw-r--r--debian/control35
-rw-r--r--debian/copyright28
-rw-r--r--debian/libplpc2a.files2
-rw-r--r--debian/plptools-dev.docs4
-rw-r--r--debian/plptools-dev.files3
-rw-r--r--debian/plptools.conf27
-rw-r--r--debian/plptools.conffiles1
-rw-r--r--debian/plptools.config54
-rw-r--r--debian/plptools.dirs3
-rw-r--r--debian/plptools.docs5
-rw-r--r--debian/plptools.files9
-rw-r--r--debian/plptools.init103
-rw-r--r--debian/plptools.menu2
-rw-r--r--debian/plptools.postinst115
-rw-r--r--debian/plptools.postrm25
-rw-r--r--debian/plptools.templates80
-rwxr-xr-xdebian/rules110
19 files changed, 0 insertions, 852 deletions
diff --git a/debian/README.Debian b/debian/README.Debian
deleted file mode 100644
index 75d9b09..0000000
--- a/debian/README.Debian
+++ /dev/null
@@ -1,16 +0,0 @@
-plptools for Debian
-----------------------
-
-This version defaults to connecting the EPOC device to /dev/ttyS0 - if
-you connect to a different serial line you will need to change the
-plptools init script (e.g. /etc/init.d/plptools if you use SV5 init).
-
-If you connect your EPOC device via a USB serial device, you may want to
-use udev to start and stop plptools instead. Sample rules are given in
-the file /usr/share/doc/etc/udev-usbserial-plptools.rules
-
-The Debian version of plpnfsd mounts the EPOC disks under
-/var/lib/plptools/mnt
-
-
- -- John Lines <john@paladin.demon.co.uk>, Sun Aug 20 06:59:58 BST 2006
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644
index 7697045..0000000
--- a/debian/changelog
+++ /dev/null
@@ -1,230 +0,0 @@
-plptools (0.15-2) unstable; urgency=low
-
- * Acknowledge NMUs
- * Add --wildcards switch to tar in plpbackup (closes: #386834, #378208)
- thanks to Reuben Thomas for the patch.
- * Stop plpnfsd more gracefully in /etc/init.d/plptools (Closes: #386841)
- * Fix problem in plptools-kde prerm and postinst (Closes: #347365)
-
- -- John Lines <john@paladin.demon.co.uk> Tue, 16 Jan 2007 22:16:08 +0000
-
-plptools (0.15-1.2) unstable; urgency=medium
-
- * Non-maintainer upload (Utrecht BSP)
- * Fix FTBFS on amd64 by removing obsolete typedefs
- thanks to Frits Daalmans for the patch.
- (closes: #384146, #386833, #388831)
-
- -- Bas Zoetekouw <bas@debian.org> Sun, 1 Oct 2006 13:15:26 +0200
-
-plptools (0.15-1.1) unstable; urgency=medium
-
- * Non-maintainer upload (Utrecht BSP)
- * Fix FTBFS by chnaging the ENUM_DEFINITION macro;
- thanks to Mike O'Connor for the patch.
- (closes: #384146, #386833, #388831)
-
- -- Bas Zoetekouw <bas@debian.org> Fri, 29 Sep 2006 14:38:16 +0000
-
-plptools (0.15-1) unstable; urgency=low
-
- * New upstream release (Closes: #371044)
- * Build with --with-serial=/dev/ttyS0 (Closes: #341822)
- * libplpc2a Replaces plptools <=0.14-4 (Closes: #365031)
-
- -- John Lines <john@paladin.demon.co.uk> Sun, 20 Aug 2006 07:22:41 +0100
-
-plptools (0.14-4) unstable; urgency=low
-
- * Split libplp into its own library package (Closes: #339251)
- * Suggest portmap for plptools as plpnfsd needs it, but plpftp does not (Closes: #341166)
- * Add Swedish debconf template (Closes: #351350)
-
- -- John Lines <john@paladin.demon.co.uk> Sun, 9 Apr 2006 15:21:24 +0100
-
-plptools (0.14-3) unstable; urgency=low
-
- * Rebuild C++ ABI transition (Closes: #339251) - note library is internal to plptools suite
- * Allow dh_installdebconf to set up correct debconf dependancy (Closes: #332069)
-
- -- John Lines <john@paladin.demon.co.uk> Tue, 27 Dec 2005 17:34:49 +0000
-
-plptools (0.14-2) unstable; urgency=low
-
- * Fix build on amd64, patch from Andreas Jochens (Closes: #330034)
- * Fix typos in debconf question (Closes: #251601)
- * Mark plptools templates strings as translatable (Closes: #338133)
- * Incorporate Czech and Vietnamese debconf templates (Closes: #316870,#318434)
- * Correct some spelling errors in de.po, patch from Jens Seidel (Closes: #313940)
-
- -- John Lines <john@paladin.demon.co.uk> Sat, 12 Nov 2005 14:24:48 +0000
-
-plptools (0.14-1) unstable; urgency=low
-
- * New Upstream release (Closes: #325483,#304950)
- * Use libreadline5 (Closes: #326308)
- * Add po-debconf to Build-Depends
- * Add plptools-kde, kpsion and klipsi back into control file
- * Correct spelling in plptools-kde control section (Closes: #268538)
- * New upstream contains fixes to enable gcc 4.0 compile (Closes: #303721)
-
- -- John Lines <john@paladin.demon.co.uk> Sun, 18 Sep 2005 18:33:25 +0100
-
-plptools (0.12-5) unstable; urgency=low
-
- * Only build plptools and plptools-dev, remove the KDE dependent targets
- as a workaround to get plptools into testing (Closes: #246475)
-
- -- John Lines <john@paladin.demon.co.uk> Sun, 12 Sep 2004 10:41:01 +0100
-
-plptools (0.12-4) unstable; urgency=low
-
- * Acknowledge bugs fixed in NMUs
- * Closes: #173345: undeclared dep on kdelibs-dev
- * Closes: #189113: plptools_0.12-1.1(unstable/sparc): broken build-
- depends
- * Closes: #201753: plptools_0.12-1.2(mipsel/unstable): broken build-
- depends
- * Closes: #175728: plptools_0.11-1.1(unstable/ia64): FTBFS: versioned
- dependency on provided package
- * Closes: #189135: plpbackup doesn't work
- * Also fix translation bugs.
- * Closes: #228468: Some strings shouldn't be marked for translation
-
- -- John Lines <john@paladin.demon.co.uk> Mon, 26 Jan 2004 22:19:17 +0000
-
-plptools (0.12-3) unstable; urgency=low
-
- * Closes: #207100 fix libnewt dependencies.
-
- -- John Lines <john@paladin.demon.co.uk> Sun, 11 Jan 2004 12:28:27 +0000
-
-plptools (0.12-2) unstable; urgency=low
-
- * Closes: #217900: FTBFS on ia64 - conflicting type declarations
- * Closes: #221004: config.sub/config.guess out of date
- libtoolize -c --force to regenerate these files
- * Closes: #191986: prerm script breaks if system has two kdebugrc
- files
- * Closes: #200062: Upgrade problems
- * Closes: #208869: Please switch to gettext-based debconf templates
- * Closes: #211268: French translation of gettext debconf template
-
- -- John Lines <john@paladin.demon.co.uk> Tue, 16 Dec 2003 12:00:40 +0000
-
-plptools (0.12-1.3) unstable; urgency=low
-
- * NMU (again) to DELAYED/7-day:
- - Build-Depends is now _really_ fixed by removing the or
- dependancies, as should have done previously (Closes: #201753)
- - Recompiled with libnewt0.51 (Closes: #207100)
-
- -- Javier Fernandez-Sanguino Pen~a <jfs@computer.org> Thu, 18 Sep 2003 02:11:51 +0200
-
-plptools (0.12-1.2) unstable; urgency=low
-
- * NMU upload (again) since Jon does not answer emails:
- (I cannot access the CVS server of plptools at sourceforge since it
- is down for maintenance so I don't know if this has been fixed
- upstream)
- - Fixed the Build-Depends and used --with-qt-dir=/usr/share/qt3
- in debian/rules as suggested by KDE developer Ralf Nolden
- (Closes: #189113)
- - Added the patch which fixes plbackup's unfriendly behavior of not
- printing an error if called with no arguments (Closes: #189135)
- - Added <cassert> to Enum in order for it to compile with g++ 3.3
- (the includes should be cleaned too since they use deprecated calls,
- upstream should do this -if not done already in CVS)
-
- -- Javier Fernandez-Sanguino Pen~a <jfs@computer.org> Fri, 20 Jun 2003 19:01:52 +0200
-
-plptools (0.12-1.1) unstable; urgency=high
-
- * NMU upload since the maintainer cannot upload it himself.
- (after much struggling trying to get kdebase4 into my environment)
- - added John's Build-Depends for 0.12 (uses automake1.7)
- - Improved Build-Depends to avoid using versioning depends on
- automake use automake1.X instead (Closes: #175728)
- - added 0.11 changelog entries.
- - included 'fake' 0.12-1 entry
- - removes kde-config from plptools-dev (Closes: #173345)
- - Added the Homepage to all packages
- - Added libqte-mt3-dev to Build-Depend, after a lot of issues
- trying to make it compile in unstable
- (kdelibs4-dev pulls in libqte-mt3-dev and that one conflicts
- with libqt3-dev)
- - Modified m4 macros for QT detection and regerenated
- aclocal.m4 to look for libqt properly and use -lqt-mt in Debian!
- (ugly hack which works with libqte-mt-dev)
- - Changed maintainer-clean to distclean in debian/rules (why
- was maintainer-clean done?)
- - Fixed psitime.cc use of Psitime::Psitime
- - Note: Be careful when compiling this package using libqte-mt-dev
- and make sure that /usr/bin/moc points to /usr/bin/moc-qt3 and not
- /usr/bin/moc-qt2 (otherwise it will _not_ compile)
- - Debian/rules no longer moves files which should be kept on debian/
- (still, I don't like the find done after the previous 'mv')
- * Based on new upstream version which fixes a local root vulnerability
- (Closes: #178981)
- (Note to John: there were no .tar.gz or .diff.gz for the 0.12 version
- at http://www.paladin.demon.co.uk/packages/ so I had to take them
- from sourceforge and shake & mix with version in unstable and your .changes)
-
- -- Javier Fernandez-Sanguino Pen~a <jfs@computer.org> Fri, 11 Apr 2003 12:35:46 +0200
-
-plptools (0.12-1) unstable; urgency=low
-
- * Build from CVS version to incorporate gcc3.2 changes
-
- -- John Lines <john@paladin.demon.co.uk> Thu, 13 Feb 2003 22:12:59 +0000
-
-plptools (0.12-0) unstable; urgency=low
-
- * Security fix for several formatstring exploits
-
- -- Fritz Elfert <felfert@users.sf.net> Mon, 3 Feb 2003 06:01:22 +0100
-
-plptools (0.11-1.1) unstable; urgency=high
-
- * Non-maintainer upload
- * This is due to John Lines' problems with his pgp key.
-
- -- Hugo Espuny <hec@debian.org> Fri, 15 Nov 2002 14:06:30 +0100
-
-plptools (0.11-1) unstable; urgency=low
-
- * Official package, based on Fritz's packaging.
- * contains LaMont Jones' patch for gcc3 build - Closes: #104967
- * plpbackup now has a restore function - Closes: #149615
- * Contains fixes for cpu eating problems - Closes: #119948, #146702
-
- -- John Lines <john@paladin.demon.co.uk> Thu, 25 Jul 2002 21:46:15 +0100
-
-
-plptools (0.11-0) unstable; urgency=low
-
- * New upstream version
- * Made separate binaries for KDE dependant programs
- * Made separate dev package
-
- -- Fritz Elfert <felfert@users.sf.net> Sun, 14 Jul 2002 04:22:58 +0100
-
-plptools (0.10-1) unstable; urgency=low
-
- * New upstream version Closes: #102107
- * Depend on libreadline4, Closes: #89415
- * Add Build-Depends (might fix autobuilder problems on hppa and m68k
-
- -- John Lines <john@paladin.demon.co.uk> Tue, 6 Nov 2001 21:24:21 +0000
-
-plptools (0.7-2) unstable; urgency=low
-
- * rebuild for libreadline4 Closes: #89415
-
- -- John Lines <john@paladin.demon.co.uk> Sun, 13 May 2001 18:55:40 +0100
-
-plptools (0.7-1) unstable; urgency=low
-
- * Initial Release.
-
- -- John Lines <john@paladin.demon.co.uk> Wed, 13 Dec 2000 11:35:52 +0000
diff --git a/debian/control b/debian/control
deleted file mode 100644
index 1e09049..0000000
--- a/debian/control
+++ /dev/null
@@ -1,35 +0,0 @@
-Source: plptools
-Build-Depends: debhelper (>= 5), automake1.7, autoconf, libtool, gettext, libncurses5-dev, libreadline5-dev, kdoc, po-debconf
-Section: otherosfs
-Priority: optional
-Maintainer: John Lines <john@paladin.demon.co.uk>
-Standards-Version: 3.6.2.0
-
-Package: plptools
-Architecture: any
-Depends: ${shlibs:Depends},${misc:Depends}
-Suggests: portmap
-Description: Access a Psion PDA over a serial link
- This package lets you access EPOC devices' drives over a serial link.
- You can mount them NFS-style, access them FTP-style, and use a local
- printer from the remote device (EPOC32 only).
- .
- Homepage: http://plptools.sourceforge.net/
-
-Package: libplpc2a
-Architecture: any
-Section: libs
-Depends: ${shlibs:Depends},${misc:Depends}
-Replaces: plptools (<=0.14-4)
-Description: Library functions for plptools EPOC PDA access functions
- This library provides the internal APIs used by the plptools programs
- which are used to access a EPOC PDA from a Unix system
-
-Package: plptools-dev
-Architecture: any
-Section: devel
-Depends: libplpc2a (= ${Source-Version})
-Description: plptools (development files)
- This package provides a static library, headers and API documentation
- for plptools development. You need these files if you want to build
- programs which use libplp.
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644
index 7b09590..0000000
--- a/debian/copyright
+++ /dev/null
@@ -1,28 +0,0 @@
-This package was debianized by John Lines <john@paladin.demon.co.uk> on
-Wed, 13 Dec 2000 11:35:52 +0000.
-
-It was downloaded from plptools.sourceforge.net version 0.19.tar.gz and
-repackaged with ??? to remove the upstream debian directory.
-
-Upstream Author(s): Fritz Elfert, Philip Proudman, Rudolf Koenig,
-Matt Gumbley, Reuben Thomas
-
-Copyright:
-
- This program 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, or (at your option)
- any later version.
-
- This program 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 program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
-
-On Debian GNU/Linux systems, the complete text of the GNU General
-Public License can be found in `/usr/share/common-licenses/GPL'.
-
diff --git a/debian/libplpc2a.files b/debian/libplpc2a.files
deleted file mode 100644
index 3a9a529..0000000
--- a/debian/libplpc2a.files
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/lib/libplp.la
-usr/lib/libplp.so.*
diff --git a/debian/plptools-dev.docs b/debian/plptools-dev.docs
deleted file mode 100644
index 9d002f6..0000000
--- a/debian/plptools-dev.docs
+++ /dev/null
@@ -1,4 +0,0 @@
-etc/psidump*
-etc/*magic*
-etc/ttytap.c
-doc/api
diff --git a/debian/plptools-dev.files b/debian/plptools-dev.files
deleted file mode 100644
index 25d4b2f..0000000
--- a/debian/plptools-dev.files
+++ /dev/null
@@ -1,3 +0,0 @@
-usr/lib/libplp.so
-usr/lib/libplp.a
-usr/include/plptools
diff --git a/debian/plptools.conf b/debian/plptools.conf
deleted file mode 100644
index 53de0b3..0000000
--- a/debian/plptools.conf
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# Set this to yes, if you want to start ncpd during boot.
-#
-START_NCPD=yes
-#
-# Add any arguments for ncpd here. See ncpd(8) for info about possible
-# arguments.
-#
-NCPD_ARGS=""
-#
-# Set this to yes, if you want to start plpnfsd during boot.
-#
-START_PLPNFSD=no
-#
-# Add any arguments for plpnfsd here. See plpnfsd(8) for info about possible
-# arguments.
-#
-PLPNFSD_ARGS=""
-#
-# Set this to yes, if you want to start plpprintd during boot.
-#
-START_PLPPRINTD=no
-#
-# Add any arguments for plpprintd here. See plpprintd(8) for info about possible
-# arguments. Note: You also need to set up a printer for this to work.
-#
-PLPPRINTD_ARGS=""
diff --git a/debian/plptools.conffiles b/debian/plptools.conffiles
deleted file mode 100644
index 1a6c30a..0000000
--- a/debian/plptools.conffiles
+++ /dev/null
@@ -1 +0,0 @@
-/etc/plptools.conf
diff --git a/debian/plptools.config b/debian/plptools.config
deleted file mode 100644
index 8c2b002..0000000
--- a/debian/plptools.config
+++ /dev/null
@@ -1,54 +0,0 @@
-#! /bin/sh
-
-set -e
-# Use debconf baby
-. /usr/share/debconf/confmodule
-
-db_input medium plptools/ncpd/start || true
-db_go
-db_get plptools/ncpd/start
-if [ "$RET" = "true" ] ; then
- db_input medium plptools/ncpd/serial || true
- db_go
- db_input medium plptools/ncpd/listenat || true
- db_go
- db_get plptools/ncpd/listenat
- SEENREM=false
- case "$RET" in
- 0.0.0.0)
- ;;
- 127.0.0.1)
- ;;
- 0.0.0.0:7501)
- ;;
- 127.0.0.1:7501)
- ;;
- *)
- SEENREM=true
- db_set plptools/frontends/remoteaddr "$RET"
- esac
- db_fset plptools/frontends/remoteaddr seen $SEENREM
-else
- db_fset plptools/frontends/remoteaddr seen false
-fi
-
-db_input medium plptools/plpnfsd/start || true
-db_go
-db_input medium plptools/plpnfsd/suid || true
-db_go
-
-db_input medium plptools/plpprintd/start || true
-db_go
-db_get plptools/plpprintd/start
-if [ "$RET" = "true" ] ; then
- db_input medium plptools/plpprintd/printqueue || true
- db_go
-fi
-
-db_get plptools/ncpd/start
-if [ "$RET" = "false" ] ; then
- db_input medium plptools/frontends/remoteaddr || true
- db_go
-fi
-
-exit 0
diff --git a/debian/plptools.dirs b/debian/plptools.dirs
deleted file mode 100644
index 9693826..0000000
--- a/debian/plptools.dirs
+++ /dev/null
@@ -1,3 +0,0 @@
-usr/bin
-usr/sbin
-var/lib/plptools/mnt
diff --git a/debian/plptools.docs b/debian/plptools.docs
deleted file mode 100644
index 00573e1..0000000
--- a/debian/plptools.docs
+++ /dev/null
@@ -1,5 +0,0 @@
-README
-TODO
-changelog
-obsolete-changes
-etc/udev-usbserial-plptools.rules
diff --git a/debian/plptools.files b/debian/plptools.files
deleted file mode 100644
index 0afadb0..0000000
--- a/debian/plptools.files
+++ /dev/null
@@ -1,9 +0,0 @@
-usr/sbin/*
-usr/bin/plpftp
-usr/bin/sisinstall
-usr/share/locale/*/LC_MESSAGES/plptools.mo
-usr/share/man/man8
-usr/share/man/man1/plp*.1
-usr/share/man/man1/sis*.1
-usr/share/plptools
-etc/plptools.conf
diff --git a/debian/plptools.init b/debian/plptools.init
deleted file mode 100644
index d0f7549..0000000
--- a/debian/plptools.init
+++ /dev/null
@@ -1,103 +0,0 @@
-#! /bin/sh
-#
-# start or stop the plptools daemons
-#
-
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON1=/usr/sbin/ncpd
-DAEMON2=/usr/sbin/plpnfsd
-DAEMON3=/usr/sbin/plpprintd
-NAME=plptools
-DESC=plptools
-CONFIG=/etc/plptools.conf
-
-test -x $DAEMON1 || exit 0
-test -x $DAEMON2 || exit 0
-test -x $DAEMON3 || exit 0
-test -f $CONFIG && . $CONFIG || exit 0
-
-set -e
-
-case "$1" in
- start)
- if test "$START_NCPD" = "yes" ; then
- echo -n "Starting $DESC ($DAEMON1): "
- start-stop-daemon --start --quiet \
- --exec $DAEMON1 -- $NCPD_ARGS && \
- echo -n "done" || echo -n "failed"
- echo "."
- sleep 1
- fi
- if test "$START_PLPNFSD" = "yes" ; then
- echo -n "Starting $DESC ($DAEMON2): "
- start-stop-daemon --start --quiet \
- --exec $DAEMON2 -- $PLPNFSD_ARGS && \
- echo -n "done" || echo -n "failed"
- echo "."
- fi
- if test "$START_PLPPRINTD" = "yes" ; then
- echo -n "Starting $DESC ($DAEMON3): "
- start-stop-daemon --start --quiet \
- --exec $DAEMON3 -- $PLPPRINTD_ARGS && \
- echo -n "done" || echo -n "failed"
- echo "."
- fi
- ;;
- stop)
- if test "$START_PLPNFSD" = "yes" ; then
- echo -n "Stopping $DESC ($DAEMON2): "
-# Stop the daemon more gently
- if test -e /var/lib/plptools/mnt/proc/exit ; then
- echo "stop" > /var/lib/plptools/mnt/proc/exit
- sleep 1
- fi
- start-stop-daemon --stop --retry HUP/5/TERM/1 --quiet \
- --exec $DAEMON2 && \
- echo -n "done" || echo -n "already stopped"
- echo "."
- fi
- if test "$START_PLPPRINTD" = "yes" ; then
- echo -n "Stopping $DESC ($DAEMON3): "
- start-stop-daemon --stop --quiet --exec $DAEMON3 && \
- echo -n "done" || echo -n "already stopped"
- echo "."
- fi
- if test "$START_NCPD" = "yes" ; then
- echo -n "Stopping $DESC ($DAEMON1): "
- start-stop-daemon --stop --quiet --exec $DAEMON1 && \
- echo -n "done" || echo -n "already stopped"
- echo "."
- fi
-
- ;;
- #reload)
- #
- # If the daemon can reload its config files on the fly
- # for example by sending it SIGHUP, do it here.
- #
- # If the daemon responds to changes in its config file
- # directly anyway, make this a do-nothing entry.
- #
- # echo "Reloading $DESC configuration files."
- # start-stop-daemon --stop --signal 1 --quiet --pidfile \
- # /var/run/$NAME.pid --exec $DAEMON
- #;;
- restart|force-reload)
- #
- # If the "reload" option is implemented, move the "force-reload"
- # option to the "reload" entry above. If not, "force-reload" is
- # just the same as "restart".
- #
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- N=/etc/init.d/$NAME
- # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
- echo "Usage: $N {start|stop|restart|force-reload}" >&2
- exit 1
- ;;
-esac
-
-exit 0
diff --git a/debian/plptools.menu b/debian/plptools.menu
deleted file mode 100644
index 8720058..0000000
--- a/debian/plptools.menu
+++ /dev/null
@@ -1,2 +0,0 @@
-?package(plptools):needs="text" section="Apps/Tools"\
- title="plpftp" command="/usr/bin/plpftp"
diff --git a/debian/plptools.postinst b/debian/plptools.postinst
deleted file mode 100644
index 97c6825..0000000
--- a/debian/plptools.postinst
+++ /dev/null
@@ -1,115 +0,0 @@
-#! /bin/sh
-# postinst script for plptools
-#
-# see: dh_installdeb(1)
-
-set -e
-. /usr/share/debconf/confmodule
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see /usr/share/doc/packaging-manual/
-#
-# quoting from the policy:
-# Any necessary prompting should almost always be confined to the
-# post-installation script, and should be protected with a conditional
-# so that unnecessary prompting doesn't happen if a package's
-# installation fails and the `postinst' is called with `abort-upgrade',
-# `abort-remove' or `abort-deconfigure'.
-
-case "$1" in
- configure)
- START_NCPD=no
- START_PLPNFSD=no
- START_PLPPRINTD=no
- NCPD_ARGS=
- PLPNFSD_ARGS=
- PLPPRINTD_ARGS=
- FREM=
- db_get plptools/ncpd/start
- if [ "$RET" = "true" ] ; then
- START_NCPD=yes
- db_get plptools/ncpd/serial
- if [ "$RET" != "/dev/ttyS0" ] ; then
- NCPD_ARGS="$NCPD_ARGS -s $RET"
- fi
- db_get plptools/ncpd/listenat
- case "$RET" in
- 127.0.0.1)
- ;;
- 127.0.0.1:7501)
- ;;
- *)
- NCPD_ARGS="$NCPD_ARGS -p $RET"
- ;;
- esac
- else
- db_get plptools/frontends/remoteaddr
- case "$RET" in
- 127.0.0.1)
- ;;
- 127.0.0.1:7501)
- ;;
- *)
- FREM="-p $RET"
- ;;
- esac
- fi
- db_get plptools/plpnfsd/start
- if [ "$RET" = "true" ] ; then
- START_PLPNFSD=yes
- PLPNFSD_ARGS="$FREM"
- fi
- db_get plptools/plpprintd/start
- if [ "$RET" = "true" ] ; then
- START_PLPPRINTD=yes
- PLPPRINTD_ARGS="$FREM"
- db_get plptools/plpprintd/printqueue
- if [ "$RET" != "psion" ] ; then
- PLPPRINTD_ARGS="$PLPPRINTD_ARGS -s \"lpr -P$RET\""
- fi
- fi
- cp /etc/plptools.conf /etc/plptools.conf.$$
- cat /etc/plptools.conf.$$ | sed \
- -e "s@START_NCPD=.*@START_NCPD=$START_NCPD@" \
- -e "s@START_PLPNFSD=.*@START_PLPNFSD=$START_PLPNFSD@" \
- -e "s@START_PLPPRINTD=.*@START_PLPPRINTD=$START_PLPPRINTD@" \
- -e "s@NCPD_ARGS=.*@NCPD_ARGS=\"$NCPD_ARGS\"@" \
- -e "s@PLPNFSD_ARGS=.*@PLPNFSD_ARGS=\"$PLPNFSD_ARGS\"@" \
- -e "s@PLPPRINTD_ARGS=.*@PLPPRINTD_ARGS=\"$PLPPRINTD_ARGS\"@" \
- > /etc/plptools.conf \
- && rm -f /etc/plptools.conf.$$ \
- || mv /etc/plptools.conf.$$ /etc/plptools.conf || :
- db_get plptools/plpnfsd/suid
- if [ "$RET" = "true" ] ; then
- chmod u+s /usr/sbin/plpnfsd
- else
- chmod u-s /usr/sbin/plpnfsd
- fi
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 0
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-db_stop
-
-exit 0
-
-
diff --git a/debian/plptools.postrm b/debian/plptools.postrm
deleted file mode 100644
index 6b5752e..0000000
--- a/debian/plptools.postrm
+++ /dev/null
@@ -1,25 +0,0 @@
-#! /bin/sh
-# postrm script for plptools
-#
-# see: dh_installdeb(1)
-
-set -e
-
-case "$1" in
- remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
- ;;
-
- purge)
- rm -f /etc/plptools.conf
- ;;
-
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 0
- ;;
-
-esac
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/plptools.templates b/debian/plptools.templates
deleted file mode 100644
index 285aab7..0000000
--- a/debian/plptools.templates
+++ /dev/null
@@ -1,80 +0,0 @@
-Template: plptools/customize
-Type: note
-_Description: Customize /etc/plptools.conf
- In addition to plptools' main daemon "ncpd", plptools provides two optional
- daemons:
- .
- plpnfsd (for nfs-like mounting a Psion's drives)
- plpprintd (for printing via PC from a Psion Series 5)
- .
- Both daemons are disabled by default. You can enable them by editing
- /etc/plptools.conf.
-
-Template: plptools/ncpd/start
-Type: boolean
-Default: true
-_Description: Should ncpd be started during boot?
- Normally, ncpd - the daemon which handles the serial connection to a
- Psion - is started on boot-up. If you intend to connect your Psion to
- another machine on the net and NEVER will use it locally, you can
- disable this here.
-
-Template: plptools/ncpd/serial
-Type: string
-Default: /dev/ttyS0
-_Description: Specify serial line to be used
- By default, the Psion is expected to be connected to the first serial
- line (COM1:) of your machine. You can change this here.
-
-Template: plptools/ncpd/listenat
-Type: string
-Default: 127.0.0.1
-_Description: Specify the IP address and port for ncpd
- If you intend to use the plptools front-ends from other machines, you
- can specify 0.0.0.0 or the IP address of your machine here. Normal
- users should keep the default 127.0.0.1!
- .
- Note, that THIS IS A SECURITY THREAT as no authentication and no
- encryption is used! DO NOT USE THIS on machines which are accessible
- from the Internet!
-
-Template: plptools/plpnfsd/start
-Type: boolean
-Default: false
-_Description: Should plpnfsd be started during boot?
- If plpnfsd is started during boot-up, it will wait for a Psion being
- connected and then automatically mount that Psion. Since this is
- done as root, non-privileged users will not have access to the
- mounted directory. If you have a single-user machine, you probably
- want to start plpnfsd manually when you need it.
-
-Template: plptools/plpnfsd/suid
-Type: boolean
-Default: false
-_Description: Set SUID-root bit of plpnfsd?
- For convenience on a single-user machine, plpnfsd can be installed with
- the setuid bit enabled. This allows any local user to mount and unmount
- a connected Psion. Be warned, that THIS IS A SECURITY THREAT to your
- machine. NEVER ENABLE THIS ON A MULTIUSER MACHINE.
-
-Template: plptools/plpprintd/start
-Type: boolean
-Default: false
-_Description: Should plpprintd be started during boot?
- If you intend to use the Psion's "Print via PC" feature, you can
- enable this option. You must have a working print queue which
- is capable of printing Postscript in order to use this feature.
-
-Template: plptools/plpprintd/printqueue
-Type: string
-Default: psion
-_Description: Specify the print queue to be used
- Please enter the name of the print queue you want to use for
- printing from the Psion.
-
-Template: plptools/frontends/remoteaddr
-Type: string
-_Description: Specify remote host to be contacted
- Since you have ncpd either disabled or listening on a non-standard
- address, you should specify the address for the frontends again.
-
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index 9f6e2de..0000000
--- a/debian/rules
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-
-# Uncomment this to turn on verbose mode.
-export DH_VERBOSE=1
-
-# This is the debhelper compatability version to use.
-export DH_COMPAT=5
-
-# Set config options
-export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-# FOR AUTOCONF 2.52 AND NEWER ONLY
-ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
- confflags += --build $(DEB_HOST_GNU_TYPE)
-else
- confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
-endif
-
-tmp = $(shell pwd)/debian/tmp
-ltmp = $(tmp)/usr/share/lintian/overrides
-
-%.1: %.1.in
- MANDATE=`grep CHECKIN $< | awk '{print $$4}'` ; \
- sed -e "s%@MANDATE@%$$MANDATE%g" $< > $@
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- ./configure $(confflags) --prefix=/usr \
- --with-mountdir=/var/lib/plptools/mnt \
- --mandir=/usr/share/man --with-initdir=none \
- --with-serial=/dev/ttyS0 \
- --disable-rpath
- touch configure-stamp
-
-build: configure-stamp build-stamp
-build-stamp:
- dh_testdir
- # Add here commands to compile the package.
- $(MAKE)
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
- -$(MAKE) distclean
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
- # install into debian/tmp.
- install -d $(tmp)/etc
- install -d $(ltmp)
- install -m 644 debian/plptools.conf $(tmp)/etc
- cp CHANGES obsolete-changes
- cp ChangeLog changelog
- for i in debian/*.override ; do \
- cp -a $$i $(ltmp)/`basename $$i .override` ; \
- done
- for i in `find debian/ -type l -name "common"`; do \
- rm -f $$i && ln -s ../common $$i ; \
- done
- # Split into sub-packages
- dh_movefiles -pplptools
- dh_movefiles -plibplpc2a
- dh_movefiles -pplptools-dev
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# dh_testversion
- dh_testdir
- dh_testroot
- dh_installdebconf -a
- dh_installdocs -a
-# dh_installexamples
- dh_installmenu -a
-# dh_installemacsen
-# dh_installpam
- dh_installinit -a
-# dh_installcron
- dh_installman -a
-# dh_installinfo
- dh_undocumented -a
- dh_installchangelogs
- dh_link
- dh_strip
- dh_compress -a -X.docbook -X.css -X-license -X.dcl -X.bz2
- dh_fixperms
- # You may want to make some executables suid here.
-# dh_suidregister
- dh_makeshlibs -a -V
- dh_installdeb
-# dh_perl
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install