summaryrefslogtreecommitdiff
path: root/comms/plptools
diff options
context:
space:
mode:
authorsakamoto <sakamoto>1999-07-14 05:41:47 +0000
committersakamoto <sakamoto>1999-07-14 05:41:47 +0000
commit216581520feee17dce75a1c73829c5c008066026 (patch)
treef55a06b16d712737851a771237e11f87aeb38f53 /comms/plptools
parentadf374feed05ed170601ae7930aed1b3abc9693b (diff)
downloadpkgsrc-216581520feee17dce75a1c73829c5c008066026.tar.gz
FTP-like and NFS-like access tools to talk to the PSION
Diffstat (limited to 'comms/plptools')
-rw-r--r--comms/plptools/Makefile16
-rw-r--r--comms/plptools/files/md53
-rw-r--r--comms/plptools/patches/patch-aa11
-rw-r--r--comms/plptools/patches/patch-ab26
-rw-r--r--comms/plptools/patches/patch-ac11
-rw-r--r--comms/plptools/pkg/COMMENT1
-rw-r--r--comms/plptools/pkg/DESCR21
-rw-r--r--comms/plptools/pkg/PLIST6
8 files changed, 95 insertions, 0 deletions
diff --git a/comms/plptools/Makefile b/comms/plptools/Makefile
new file mode 100644
index 00000000000..ba39f11d71b
--- /dev/null
+++ b/comms/plptools/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/07/14 05:41:47 sakamoto Exp $
+#
+
+DISTNAME= plptools-0.3
+CATEGORIES= comms
+MASTER_SITES= ftp://ftp.to.com/pub/psion/
+
+MAINTAINER= sakamoto@netbsd.org
+
+DEPENDS= readline-2.2:../../devel/readline
+
+USE_LIBTOOL= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ENV+= CPPFLAGS="-I${PREFIX}/include/"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/comms/plptools/files/md5 b/comms/plptools/files/md5
new file mode 100644
index 00000000000..0a6331c8cc9
--- /dev/null
+++ b/comms/plptools/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/07/14 05:41:47 sakamoto Exp $
+
+MD5 (plptools-0.3.tar.gz) = bdd8880b30049219abdcc4ea69959b61
diff --git a/comms/plptools/patches/patch-aa b/comms/plptools/patches/patch-aa
new file mode 100644
index 00000000000..4dd32197836
--- /dev/null
+++ b/comms/plptools/patches/patch-aa
@@ -0,0 +1,11 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/07/14 05:41:47 sakamoto Exp $
+
+--- ./ncpd/mp_serial.c.orig Tue Jul 6 06:48:56 1999
++++ ./ncpd/mp_serial.c Wed Jul 14 11:50:58 1999
+@@ -183,5 +183,5 @@
+ {
+ struct termios ti;
+- if (ioctl(fd, TCGETS, (caddr_t) & ti) < 0)
++ if (tcgetattr(fd, &ti) < 0)
+ perror("TCGETSW");
+ ti.c_cflag &= ~CRTSCTS;
diff --git a/comms/plptools/patches/patch-ab b/comms/plptools/patches/patch-ab
new file mode 100644
index 00000000000..2fcd8539ccc
--- /dev/null
+++ b/comms/plptools/patches/patch-ab
@@ -0,0 +1,26 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/07/14 05:41:47 sakamoto Exp $
+
+--- ./plpnfsd/mp_mount.c.orig Tue Jul 6 06:33:05 1999
++++ ./plpnfsd/mp_mount.c Wed Jul 14 11:50:58 1999
+@@ -60,4 +60,14 @@
+ #endif /* __FreeBSD__ */
+
++#ifdef __NetBSD__
++#include <sys/socket.h>
++#include <netinet/in.h>
++#include <arpa/inet.h>
++#include <sys/types.h>
++#include <unistd.h>
++#include <strings.h>
++#include <nfs/nfsmount.h>
++#endif /* __NetBSD__ */
++
+ #include <rpc/rpc.h>
+ #include "nfs_prot.h"
+@@ -418,5 +428,5 @@
+ nfs_args.hostname = PSIONHOSTNAME;
+ nfs_args.flags = NFSMNT_INT | NFSMNT_RETRANS | NFSMNT_TIMEO
+- | NFSMNT_NOCONN | NFSMNT_DUMBTIMR | NFSMNT_MYWRITE
++ | NFSMNT_NOCONN | NFSMNT_DUMBTIMR
+ | NFSMNT_WSIZE | NFSMNT_RSIZE;
+ #endif
diff --git a/comms/plptools/patches/patch-ac b/comms/plptools/patches/patch-ac
new file mode 100644
index 00000000000..5ddb0daac4f
--- /dev/null
+++ b/comms/plptools/patches/patch-ac
@@ -0,0 +1,11 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/07/14 05:41:47 sakamoto Exp $
+
+--- ./configure.orig Tue Jul 6 07:13:07 1999
++++ ./configure Wed Jul 14 11:51:59 1999
+@@ -1954,5 +1954,5 @@
+
+ # Always use our own libtool.
+-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
++LIBTOOL="$LIBTOOL"
+
+ # Redirect the config.log output again, so that the ltconfig log is not
diff --git a/comms/plptools/pkg/COMMENT b/comms/plptools/pkg/COMMENT
new file mode 100644
index 00000000000..2cc0ff728c1
--- /dev/null
+++ b/comms/plptools/pkg/COMMENT
@@ -0,0 +1 @@
+FTP-like and NFS-like access tools to talk to the PSION
diff --git a/comms/plptools/pkg/DESCR b/comms/plptools/pkg/DESCR
new file mode 100644
index 00000000000..aa121c9019a
--- /dev/null
+++ b/comms/plptools/pkg/DESCR
@@ -0,0 +1,21 @@
+ This package is heavily based on two other packages:
+
+ - p3nfsd-5.4 by Rudolf Koenig (rfkoenig@immd4.informatik.uni-erlangen.de)
+ an nfs daemon for Psion series 3 and 5
+ - plp_1_7 by Philip Proudman
+ (former email, current address unknown proudman@btinternet.com)
+
+ The programs:
+
+ ncpd is the daemon which handles the serial link to your Psion.
+ It listens at port 7501 for local connections and provides
+ basic PLP/NCP services for the other two programs. It auto-
+ connects to the psion, even after unplugging/switching off
+ therefore it can run always in background (if you have a
+ spare serial-device)
+
+ plpftp is a FTP-like program for manipulating files on the Psion.
+
+ plpnfsd is a daemon, which provides NFS-like access to your Psion.
+ It automatically makes the psion's filesystems available below
+ an NFS-mounted directory (default /mnt/psion).
diff --git a/comms/plptools/pkg/PLIST b/comms/plptools/pkg/PLIST
new file mode 100644
index 00000000000..b18a84bb848
--- /dev/null
+++ b/comms/plptools/pkg/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/07/14 05:41:47 sakamoto Exp $
+bin/plpftp
+lib/libplp.a
+lib/libplp.so.1.0
+sbin/ncpd
+sbin/plpnfsd