summaryrefslogtreecommitdiff
path: root/comms/plp
diff options
context:
space:
mode:
authorsakamoto <sakamoto@pkgsrc.org>1999-05-06 07:39:08 +0000
committersakamoto <sakamoto@pkgsrc.org>1999-05-06 07:39:08 +0000
commita6e11ad8057db47b1aeb3b088a454451b55fd4a2 (patch)
tree8b7421a774afc78e059f93df9639b89b474cc68f /comms/plp
parentfd13b887378683c6f0698e2e6bda4bf12d3db9df (diff)
downloadpkgsrc-a6e11ad8057db47b1aeb3b088a454451b55fd4a2.tar.gz
Tools to talk to the PSION organiser
Diffstat (limited to 'comms/plp')
-rw-r--r--comms/plp/Makefile22
-rw-r--r--comms/plp/files/md53
-rw-r--r--comms/plp/patches/patch-aa13
-rw-r--r--comms/plp/patches/patch-ab15
-rw-r--r--comms/plp/patches/patch-ac24
-rw-r--r--comms/plp/patches/patch-ad24
-rw-r--r--comms/plp/patches/patch-ae24
-rw-r--r--comms/plp/patches/patch-af67
-rw-r--r--comms/plp/pkg/COMMENT1
-rw-r--r--comms/plp/pkg/DESCR6
-rw-r--r--comms/plp/pkg/PLIST7
11 files changed, 206 insertions, 0 deletions
diff --git a/comms/plp/Makefile b/comms/plp/Makefile
new file mode 100644
index 00000000000..c9c49c72c8c
--- /dev/null
+++ b/comms/plp/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/05/06 07:39:08 sakamoto Exp $
+#
+
+DISTNAME= plp_1_7
+PKGNAME= plp-1.7
+CATEGORIES= comms
+MASTER_SITES= http://www.btinternet.com/~philip.proudman/psion/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= ${MASTER_SITES}
+
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+
+do-install:
+ ${LIBTOOL} --mode=install ${INSTALL_DATA} ${WRKSRC}/utils/libplputils.la ${PREFIX}/lib
+ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/ncp/ncp ${PREFIX}/bin
+ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/rfsv/rfsv ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/plp
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/plp
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/comms/plp/files/md5 b/comms/plp/files/md5
new file mode 100644
index 00000000000..cd1cd4b38ca
--- /dev/null
+++ b/comms/plp/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/05/06 07:39:08 sakamoto Exp $
+
+MD5 (plp_1_7.tar.gz) = 72bd98c5eb67f184e40560fe40bd9534
diff --git a/comms/plp/patches/patch-aa b/comms/plp/patches/patch-aa
new file mode 100644
index 00000000000..e78abb3f0a7
--- /dev/null
+++ b/comms/plp/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/05/06 07:39:08 sakamoto Exp $
+
+--- defaults.h.orig Tue Apr 13 07:25:01 1999
++++ defaults.h Mon Apr 19 10:36:39 1999
+@@ -19,7 +19,7 @@
+
+ // This is the default device driver for the serial link
+ // N.B. This was "/dev/cua1" in the previous release
+-#define DEFAULT_SERIAL_DEVICE "/dev/ttyS1"
++#define DEFAULT_SERIAL_DEVICE "/dev/tty00"
+
+ // This is the default drive to use on the psion
+ #define DEFAULT_DRIVE "C:\\"
diff --git a/comms/plp/patches/patch-ab b/comms/plp/patches/patch-ab
new file mode 100644
index 00000000000..db2effc2b63
--- /dev/null
+++ b/comms/plp/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/05/06 07:39:08 sakamoto Exp $
+
+--- ncp/mp_serial.c.orig Mon Feb 1 19:14:31 1999
++++ ncp/mp_serial.c Mon Apr 19 10:51:46 1999
+@@ -223,8 +223,8 @@
+ void ser_exit(int fd)
+ {
+ struct termios ti;
+- if(ioctl(fd, TCGETS, (caddr_t)&ti) < 0) {
+- perror("TCGETSW");
++ if(tcgetattr(fd, &ti) < 0) {
++ perror("TIOCGETA");
+ }
+ ti.c_cflag &= ~CRTSCTS;
+ if(tcsetattr(fd, TCSANOW, &ti) < 0) {
diff --git a/comms/plp/patches/patch-ac b/comms/plp/patches/patch-ac
new file mode 100644
index 00000000000..457e4a94757
--- /dev/null
+++ b/comms/plp/patches/patch-ac
@@ -0,0 +1,24 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/05/06 07:39:08 sakamoto Exp $
+
+--- ncp/Makefile.orig Tue Feb 2 21:16:05 1999
++++ ncp/Makefile Mon Apr 19 11:58:15 1999
+@@ -3,14 +3,14 @@
+
+ OBJ=$(CCSOURCE:%.cc=%.o) $(CSOURCE:%.c=%.o)
+
+-../bin/ncp : $(OBJ)
+- $(LD) $(OBJ) $(LIBS) -o $@
++ncp : $(OBJ)
++ $(LD) $(OBJ) $(LIBS) -o $@
+
+ %.o : %.cc
+- $(CC) -c $< -o $@
++ $(CC) -c $<
+
+ %.o : %.c
+- $(CC) -c $< -o $@
++ $(CC) -c $<
+
+ clean :
+- rm -f ../bin/ncp core $(OBJ) *~
++ rm -f .libs ncp core $(OBJ) *~
diff --git a/comms/plp/patches/patch-ad b/comms/plp/patches/patch-ad
new file mode 100644
index 00000000000..c5d61a71ae3
--- /dev/null
+++ b/comms/plp/patches/patch-ad
@@ -0,0 +1,24 @@
+$NetBSD: patch-ad,v 1.1.1.1 1999/05/06 07:39:08 sakamoto Exp $
+
+--- rfsv/Makefile.orig Tue Feb 2 21:16:15 1999
++++ rfsv/Makefile Mon Apr 19 12:00:07 1999
+@@ -3,14 +3,14 @@
+
+ OBJ=$(CCSOURCE:%.cc=%.o) $(CSOURCE:%.c=%.o)
+
+-../bin/rfsv : $(OBJ)
+- $(LD) $(OBJ) $(LIBS) -o $@
++rfsv : $(OBJ)
++ $(LD) $(OBJ) $(LIBS) -o $@
+
+ %.o : %.cc
+- $(CC) -c $< -o $@
++ $(CC) -c $<
+
+ %.o : %.c
+- $(CC) -c $< -o $@
++ $(CC) -c $<
+
+ clean :
+- rm -f ../bin/rfsv core $(OBJ) *~
++ rm -f .libs rfsv core $(OBJ) *~
diff --git a/comms/plp/patches/patch-ae b/comms/plp/patches/patch-ae
new file mode 100644
index 00000000000..45b3bc34f60
--- /dev/null
+++ b/comms/plp/patches/patch-ae
@@ -0,0 +1,24 @@
+$NetBSD: patch-ae,v 1.1.1.1 1999/05/06 07:39:08 sakamoto Exp $
+
+--- utils/Makefile.orig Mon Jan 18 01:22:40 1999
++++ utils/Makefile Mon Apr 19 12:56:10 1999
+@@ -3,14 +3,14 @@
+
+ OBJ=$(CCSOURCE:%.cc=%.o) $(CSOURCE:%.c=%.o)
+
+-libutils.a : $(OBJ)
+- $(AR) $@ $(OBJ)
++libplputils.la : $(OBJ)
++ $(LD) -o $@ $(OBJ:.o=.lo) -rpath $(PREFIX)/lib -version-info 1:7
+
+ %.o : %.cc
+- $(CC) -c $< -o $@
++ $(CC) -c $<
+
+ %.o : %.c
+- $(CC) -c $< -o $@
++ $(CC) -c $<
+
+ clean :
+- rm -f *.a core $(OBJ) *~
++ rm -f .libs *.la core $(OBJ) *~
diff --git a/comms/plp/patches/patch-af b/comms/plp/patches/patch-af
new file mode 100644
index 00000000000..b4c9b38c8c3
--- /dev/null
+++ b/comms/plp/patches/patch-af
@@ -0,0 +1,67 @@
+$NetBSD: patch-af,v 1.1.1.1 1999/05/06 07:39:08 sakamoto Exp $
+
+--- Makefile.orig Sun Apr 11 21:15:17 1999
++++ Makefile Mon Apr 19 15:35:32 1999
+@@ -17,17 +17,11 @@
+ # Compiler & flags
+ INCLUDE=-I../utils
+ CFLAGS= -Wall -g -O2
+-CC=g++ $(CFLAGS) $(INCLUDE)
++CC=$(LIBTOOL) --mode=compile g++ $(CFLAGS) $(INCLUDE)
+
+ # Linker and flags
+-LIBDIR=-L../utils
+-# Solaris users uncomment this line instead of the next one
+-#LIBS=-lutils -lsocket -lnsl
+-LIBS=-lutils
+-LD=g++ $(LIBDIR)
+-
+-# Archiver
+-AR=ar -cr
++LIBS=../utils/libplputils.la
++LD=$(LIBTOOL) --mode=link g++
+
+ #######################################
+ # You shouldn't need to look any further..
+@@ -38,20 +32,23 @@
+ export LD
+ export LIBS
+
+-all: bin/ncp bin/rfsv
++all: _utils _ncp _rfsv
++ rm -f bin/ncp bin/rfsv
++ ln -s ../ncp/ncp bin/ncp
++ ln -s ../rfsv/rfsv bin/rfsv
++
++_utils:
++ cd utils; $(MAKE)
+
+-bin/ncp: $(wildcard ncp/*.cc) ncp utils/libutils.a
++_ncp:
+ cd ncp; $(MAKE)
+
+-bin/rfsv: $(wildcard rfsv/*.cc) utils/libutils.a
++_rfsv:
+ cd rfsv; $(MAKE)
+
+-utils/libutils.a:
+- cd utils; $(MAKE)
+-
+-install:
+- cp bin/rfsv /usr/local/bin/rfsv
+- cp bin/ncp /usr/local/bin/ncp
++install: all
++ cp rfsv/rfsv /usr/local/bin/rfsv
++ cp ncp/ncp /usr/local/bin/ncp
+
+ clean:
+ cd utils; $(MAKE) clean
+@@ -59,7 +56,7 @@
+ cd rfsv; $(MAKE) clean
+ rm -f ncp.log *~ core
+
+-test: bin/ncp bin/rfsv
++test: all
+ PATH=`pwd`/bin:$${PATH}; export PATH;\
+ rfsv dir "C:/documents/"
+ @echo
diff --git a/comms/plp/pkg/COMMENT b/comms/plp/pkg/COMMENT
new file mode 100644
index 00000000000..8836a7b7eb3
--- /dev/null
+++ b/comms/plp/pkg/COMMENT
@@ -0,0 +1 @@
+Tools to talk to the PSION organiser
diff --git a/comms/plp/pkg/DESCR b/comms/plp/pkg/DESCR
new file mode 100644
index 00000000000..019b67e3445
--- /dev/null
+++ b/comms/plp/pkg/DESCR
@@ -0,0 +1,6 @@
+PSION link
+
+This distribution is for transferring files between a PSION organiser and
+a Unix machine, via a serial cable. The code has been used successfully on
+a PC running linux and a PSION 5, but it ought to work with other flavours
+of unix and the PSION series 3 machines also.
diff --git a/comms/plp/pkg/PLIST b/comms/plp/pkg/PLIST
new file mode 100644
index 00000000000..7dd00ce61bd
--- /dev/null
+++ b/comms/plp/pkg/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/05/06 07:39:08 sakamoto Exp $
+bin/ncp
+bin/rfsv
+lib/libplputils.a
+lib/libplputils.so.1.7
+share/doc/plp/README
+@dirrm share/doc/plp