aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am6
-rw-r--r--debian/README.Debian12
-rw-r--r--debian/changelog31
-rw-r--r--debian/control49
-rw-r--r--debian/copyright26
-rw-r--r--debian/klipsi.files7
-rw-r--r--debian/kpsion.files9
-rw-r--r--debian/kpsion.menu7
-rw-r--r--debian/plptools-dev.docs4
-rw-r--r--debian/plptools-dev.files3
-rw-r--r--debian/plptools-kde.files10
-rw-r--r--debian/plptools.conf5
-rw-r--r--debian/plptools.conffiles1
-rw-r--r--debian/plptools.dirs3
-rw-r--r--debian/plptools.docs4
-rw-r--r--debian/plptools.files9
-rw-r--r--debian/plptools.init64
-rw-r--r--debian/plptools.manpages6
-rw-r--r--debian/plptools.menu5
-rw-r--r--debian/plptools.postinst48
-rw-r--r--debian/plptools.templates14
-rwxr-xr-xdebian/rules91
22 files changed, 411 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 2e142d2..55cead3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -9,7 +9,7 @@ endif
SUBDIRS = intl po lib ncpd plpnfsd plpftp plpbackup plpprint sisinstall \
$(KDESUB) doc .
-EXTRA_DIST = CHANGES COPYING README TODO INSTALL ABOUT-NLS include/*.h* etc/*magic etc/*.in patches conf/m4/kde/*.m4 conf/m4/plptools/*.m4 conf/[a-l]* conf/missing conf/mkinstalldirs
+EXTRA_DIST = CHANGES COPYING README TODO INSTALL ABOUT-NLS include/*.h* etc/*magic etc/*.in patches conf/m4/kde/*.m4 conf/m4/plptools/*.m4 conf/[a-l]* conf/missing conf/mkinstalldirs debian
DISTCLEANFILES = etc/psion
AUTOMAKE_OPTIONS = foreign
@@ -27,9 +27,9 @@ maintainer-clean-local:
find . -name "\.\#*" -exec rm -f {} \;
sh conf/intlclean
-# Suse doesn't have chkconfig, so we need to create the symlinks here.
install-data-local:
- install -m 755 etc/psion $(DESTDIR)$(initdir)/psion
+ test "$(initdir)" != "none" && \
+ install -m 755 etc/psion $(DESTDIR)$(initdir)/psion
dist-hook:
$(MAKE) TMPDEST=$(distdir)/ kdoc specfile
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..db73139
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,12 @@
+plptools for Debian
+----------------------
+
+Built from the CVS version, extracted at 7:30 on 2 Nov 2001
+This version defaults to connecting the Psion 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)
+
+The debian version of plpnfsd mounts the Psion disks to /var/lib/plptools/mnt
+
+
+ -- John Lines <john@paladin.demon.co.uk>, Sat Nov 10 13:10:45 GMT 2001
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f7ce4ff
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,31 @@
+plptools (0.11-1) 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
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c2d5fcf
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,49 @@
+Source: plptools
+Build-Depends: debhelper, automake (>= 1:1.4-p4-1.1), autoconf, libtool, gettext, libncurses5-dev, libreadline4-dev, libnewt-dev, kdoc, kdebase-dev
+Section: otherosfs
+Priority: optional
+Maintainer: John Lines <john@paladin.demon.co.uk>
+Standards-Version: 3.5.6
+
+Package: plptools
+Architecture: any
+Depends: ${shlibs:Depends}, debconf
+Description: Access a Psion PDA over a serial link
+ This package lets you access Psion drives over a serial link. You
+ can mount them, pseudo NFS style, access them ftp-like, use a local
+ printer from the Psion (Psion S5 only) and perform backup/restore.
+ .
+ The software is partially based on p3nfs, which is also packed for
+ Debian, but plptools uses the native Psion protocol, whereas p3nfs
+ requires a program to be installed on the Psion.
+
+Package: plptools-dev
+Architecture: any
+Section: devel
+Depends: plptools (= ${Source-Version})
+Description: plptools (development files)
+ You need these files if you want to build programs which use libplp.
+
+Package: plptools-kde
+Architecture: any
+Depends: ${shlibs:Depends}, kdebase-libs, konqueror, plptools (= ${Source-Version})
+Description: KDE integration of plptools
+ This package provides integrated access to a Psion PDA into KDE
+ Using a kioslave, any KDE compliant application can access files on
+ a Psion using a new URL protocol type "psion:/". Furthermore, a plugin
+ for KDE's advanced file manager konqueror adds Psion-related entries
+ to it's property dialog.
+
+Package: kpsion
+Architecture: any
+Depends: ${shlibs:Depends}, kdebase-libs, plptools (= ${Source-Version})
+Description: Backup and Restore of a Psion PDA
+ This package provides a KDE frontend for backup/restore of a Psion PDA
+
+Package: klipsi
+Architecture: any
+Depends: ${shlibs:Depends}, kdebase-libs, plptools (= ${Source-Version})
+Description: Remote Cut&Paste for Psion PDA
+ This package provides a KDE systray application which allows to share
+ KDE's clipboard remotely with a Psion PDA.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3fc7ca2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+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 via CVS
+
+Upstream Author(s): Fritz Elfert
+
+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., 59 Temple Place Suite 330, Boston, MA 02111-1307 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/klipsi.files b/debian/klipsi.files
new file mode 100644
index 0000000..79f66d9
--- /dev/null
+++ b/debian/klipsi.files
@@ -0,0 +1,7 @@
+usr/bin/klipsi
+usr/lib/klipsi.*
+usr/share/applnk/*/klipsi*
+usr/share/apps/klipsi/*
+usr/share/icons/*/*/apps/klipsi*
+usr/share/icons/*/*/actions/klipsi*
+usr/share/locale/*/LC_MESSAGES/klipsi.mo
diff --git a/debian/kpsion.files b/debian/kpsion.files
new file mode 100644
index 0000000..65779b8
--- /dev/null
+++ b/debian/kpsion.files
@@ -0,0 +1,9 @@
+usr/bin/kpsion
+usr/lib/libkpsion.*
+usr/share/applnk/*/kpsion*
+usr/share/apps/kpsion/*
+usr/share/apps/konqueror/*
+usr/share/icons/*/*/apps/kpsion*
+usr/share/icons/*/*/actions/psion*
+usr/share/locale/*/LC_MESSAGES/kpsion.mo
+usr/share/doc/HTML/*/kpsion
diff --git a/debian/kpsion.menu b/debian/kpsion.menu
new file mode 100644
index 0000000..9262bdd
--- /dev/null
+++ b/debian/kpsion.menu
@@ -0,0 +1,7 @@
+?package(kpsion):\
+ needs=x11\
+ section=Apps/Tools\
+ hints="KDE"\
+ kderemove="y"\
+ title="Psion backup/restore"\
+ command="/usr/bin/kpsion"
diff --git a/debian/plptools-dev.docs b/debian/plptools-dev.docs
new file mode 100644
index 0000000..9d002f6
--- /dev/null
+++ b/debian/plptools-dev.docs
@@ -0,0 +1,4 @@
+etc/psidump*
+etc/*magic*
+etc/ttytap.c
+doc/api
diff --git a/debian/plptools-dev.files b/debian/plptools-dev.files
new file mode 100644
index 0000000..25d4b2f
--- /dev/null
+++ b/debian/plptools-dev.files
@@ -0,0 +1,3 @@
+usr/lib/libplp.so
+usr/lib/libplp.a
+usr/include/plptools
diff --git a/debian/plptools-kde.files b/debian/plptools-kde.files
new file mode 100644
index 0000000..f90dfdc
--- /dev/null
+++ b/debian/plptools-kde.files
@@ -0,0 +1,10 @@
+usr/lib/kio_plp.so*
+usr/lib/kio_plp.la
+usr/lib/libplpprops.so*
+usr/lib/libplpprops.la
+usr/share/services/*
+usr/share/icons/*/*/mimetypes/*
+usr/share/icons/*/*/devices/*
+usr/share/icons/*/*/apps/psion*
+usr/share/locale/*/LC_MESSAGES/libplpprops.mo
+usr/share/mimelnk/*/*
diff --git a/debian/plptools.conf b/debian/plptools.conf
new file mode 100644
index 0000000..5b090a3
--- /dev/null
+++ b/debian/plptools.conf
@@ -0,0 +1,5 @@
+NCPD_ARGS=
+START_PLPNFSD=yes
+PLPNFSD_ARGS=
+START_PLPPRINTD=no
+PLPPRINTD_ARGS=
diff --git a/debian/plptools.conffiles b/debian/plptools.conffiles
new file mode 100644
index 0000000..05275a7
--- /dev/null
+++ b/debian/plptools.conffiles
@@ -0,0 +1 @@
+/etc/psion.conf
diff --git a/debian/plptools.dirs b/debian/plptools.dirs
new file mode 100644
index 0000000..9693826
--- /dev/null
+++ b/debian/plptools.dirs
@@ -0,0 +1,3 @@
+usr/bin
+usr/sbin
+var/lib/plptools/mnt
diff --git a/debian/plptools.docs b/debian/plptools.docs
new file mode 100644
index 0000000..272bb94
--- /dev/null
+++ b/debian/plptools.docs
@@ -0,0 +1,4 @@
+README
+TODO
+CHANGES
+ChangeLog
diff --git a/debian/plptools.files b/debian/plptools.files
new file mode 100644
index 0000000..8962d70
--- /dev/null
+++ b/debian/plptools.files
@@ -0,0 +1,9 @@
+usr/sbin/*
+usr/bin/plpbackup
+usr/bin/plpftp
+usr/bin/sisinstall
+usr/lib/libplp.la
+usr/lib/libplp.so.*
+usr/share/locale/*/LC_MESSAGES/plptools.mo
+usr/share/man
+usr/share/plptools
diff --git a/debian/plptools.init b/debian/plptools.init
new file mode 100644
index 0000000..1108970
--- /dev/null
+++ b/debian/plptools.init
@@ -0,0 +1,64 @@
+#! /bin/sh
+#
+# start or stop the plptools daemon
+#
+# This file was automatically customized by dh-make on Wed, 13 Dec 2000 11:35:52 +0000
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/ncpd
+NAME=plptools
+DESC=plptools
+SERIAL=/dev/ttyS0
+
+test -f $DAEMON || exit 0
+
+set -e
+
+case "$1" in
+ start)
+ echo -n "Starting $DESC: "
+ start-stop-daemon --start --quiet \
+ --exec $DAEMON -- -s $SERIAL
+ echo "$NAME."
+ ;;
+ stop)
+ echo -n "Stopping $DESC: "
+ start-stop-daemon --stop --quiet \
+ --exec $DAEMON
+ echo "$NAME."
+ ;;
+ #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".
+ #
+ echo -n "Restarting $DESC: "
+ start-stop-daemon --stop --quiet --pidfile \
+ /var/run/$NAME.pid --exec $DAEMON
+ sleep 1
+ start-stop-daemon --start --quiet --pidfile \
+ /var/run/$NAME.pid --exec $DAEMON
+ echo "$NAME."
+ ;;
+ *)
+ 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.manpages b/debian/plptools.manpages
new file mode 100644
index 0000000..157c02e
--- /dev/null
+++ b/debian/plptools.manpages
@@ -0,0 +1,6 @@
+usr/share/man/man1/plpbackup.1
+usr/share/man/man1/plpftp.1
+usr/share/man/man1/sisinstall.1
+usr/share/man/man8/ncpd.8
+usr/share/man/man8/plpnfsd.8
+usr/share/man/man8/plpprintd.8
diff --git a/debian/plptools.menu b/debian/plptools.menu
new file mode 100644
index 0000000..4dd06d6
--- /dev/null
+++ b/debian/plptools.menu
@@ -0,0 +1,5 @@
+?package(plptools):needs=text section=Apps/Tools\
+ title="plpftp" command="/usr/bin/plpftp"
+
+?package(plptools):needs=text section=Apps/Tools\
+ title="plpbackup" command="/usr/bin/plpbackup"
diff --git a/debian/plptools.postinst b/debian/plptools.postinst
new file mode 100644
index 0000000..5e36acb
--- /dev/null
+++ b/debian/plptools.postinst
@@ -0,0 +1,48 @@
+#! /bin/sh
+# postinst script for plptools
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# 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)
+ /sbin/ldconfig
+
+ ;;
+
+ 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#
+
+exit 0
+
+
diff --git a/debian/plptools.templates b/debian/plptools.templates
new file mode 100644
index 0000000..f0eb4ee
--- /dev/null
+++ b/debian/plptools.templates
@@ -0,0 +1,14 @@
+Template: plptools/setup
+Type: note
+Description: 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.
+Description-de: Zusätzlich zum Haupt-Daemon "ncpd", stellt das Packet plptools
+ zwei optionale Daemonen zur Verfügung:
+ plpnfsd (zum Einhängen von Psion-Laufwerken - ähnlich wie NFS)
+ plpprintd (zum Drucken via PC von einem Psion Serie 5)
+ Beide Daemonen sind standardmäßig abgeschaltet. Sie können aktiviert weden,
+ indem die Datei /etc/plptools.conf editiert wird.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ed8b8b5
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,91 @@
+#!/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=3
+
+tmp = $(shell pwd)/debian/tmp
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+ aclocal -I conf/m4/plptools -I conf/m4/kde
+ echo n | gettextize -f
+ -test -f po/ChangeLog~ && mv -f po/ChangeLog~ po/ChangeLog
+ libtoolize --force
+ autoheader
+ automake --add-missing
+ make -C kde2 -f Makefile.am am_edit
+ autoconf
+ touch include/stamp-h.in
+ ./configure --prefix=/usr --with-mountdir=/var/lib/plptools/mnt \
+ --with-initdir=none --enable-kde
+ 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
+ # Add here commands to clean up after the build process.
+ -$(MAKE) maintainer-clean
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/tmp.
+ $(MAKE) DESTDIR=$(tmp) install
+
+
+# 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
+ dh_installchangelogs
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ # You may want to make some executables suid here.
+# dh_suidregister
+# dh_makeshlibs
+ 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