summaryrefslogtreecommitdiff
path: root/comms/plptools
diff options
context:
space:
mode:
authorskrll <skrll@pkgsrc.org>2000-06-12 13:36:08 +0000
committerskrll <skrll@pkgsrc.org>2000-06-12 13:36:08 +0000
commitce1ab761900a241e98b424f9a7f67d1068374c4a (patch)
tree9b103a594aa31b025c5e28ebd866623461132466 /comms/plptools
parentc1fcaff27462b2f7b1bb2b6f8f4ff4e4586fa828 (diff)
downloadpkgsrc-ce1ab761900a241e98b424f9a7f67d1068374c4a.tar.gz
Update plptools to version 0.6.
Sorry there doesn't seem to be a changelog. Changes by me: - Patch mp_mount.c so that it now works. - Remove BROKEN - Use LIBTOOL instead of PKGLIBTOOL.
Diffstat (limited to 'comms/plptools')
-rw-r--r--comms/plptools/Makefile14
-rw-r--r--comms/plptools/files/md54
-rw-r--r--comms/plptools/files/patch-sum5
-rw-r--r--comms/plptools/patches/patch-ab75
-rw-r--r--comms/plptools/patches/patch-ac11
-rw-r--r--comms/plptools/pkg/PLIST3
6 files changed, 84 insertions, 28 deletions
diff --git a/comms/plptools/Makefile b/comms/plptools/Makefile
index 564b4e163b8..a39c4a31038 100644
--- a/comms/plptools/Makefile
+++ b/comms/plptools/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2000/06/01 11:23:17 rh Exp $
+# $NetBSD: Makefile,v 1.7 2000/06/12 13:36:08 skrll Exp $
#
-DISTNAME= plptools-0.4
+DISTNAME= plptools-0.6
+PKGNAME= ${DISTNAME}nb1
CATEGORIES= comms
MASTER_SITES= ftp://ftp.to.com/pub/psion/
@@ -9,10 +10,11 @@ MAINTAINER= sakamoto@netbsd.org
DEPENDS= readline-4.0:../../devel/readline
-BROKEN= plptools does not work correctly
+WRKSRC= ${WRKDIR}/${DISTNAME}
-USE_PKGLIBTOOL= YES
-GNU_CONFIGURE= YES
-CONFIGURE_ENV+= CPPFLAGS="-I${PREFIX}/include/" LIBS="-ltermlib"
+USE_LIBTOOL= YES
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+GNU_CONFIGURE= YES
+CONFIGURE_ENV+= CPPFLAGS="-I${PREFIX}/include/" LIBS="-ltermlib"
.include "../../mk/bsd.pkg.mk"
diff --git a/comms/plptools/files/md5 b/comms/plptools/files/md5
index 01a35517114..ca090f420c6 100644
--- a/comms/plptools/files/md5
+++ b/comms/plptools/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.2 1999/08/26 06:03:48 sakamoto Exp $
+$NetBSD: md5,v 1.3 2000/06/12 13:36:13 skrll Exp $
-MD5 (plptools-0.4.tar.gz) = 2b0617ff4ec26c9ed177a451f4b736bb
+MD5 (plptools-0.6.tar.gz) = 596ace6b80e5a160f4036002df55bcc0
diff --git a/comms/plptools/files/patch-sum b/comms/plptools/files/patch-sum
index dbc78ce785f..ed8a0dc9bd1 100644
--- a/comms/plptools/files/patch-sum
+++ b/comms/plptools/files/patch-sum
@@ -1,5 +1,4 @@
-$NetBSD: patch-sum,v 1.1 1999/07/14 05:44:36 sakamoto Exp $
+$NetBSD: patch-sum,v 1.2 2000/06/12 13:36:13 skrll Exp $
MD5 (patch-aa) = 658c1cebb0489a376b3770dc4304fe18
-MD5 (patch-ab) = f2dd93248cb435d335d3bf9fc44f4338
-MD5 (patch-ac) = 37de33df938cb9814c44c016fab80b63
+MD5 (patch-ab) = 15e5d4944f1b8e50bccd7a6a22cc58e3
diff --git a/comms/plptools/patches/patch-ab b/comms/plptools/patches/patch-ab
index 2fcd8539ccc..e4fc569eca9 100644
--- a/comms/plptools/patches/patch-ab
+++ b/comms/plptools/patches/patch-ab
@@ -1,8 +1,18 @@
-$NetBSD: patch-ab,v 1.1.1.1 1999/07/14 05:41:47 sakamoto Exp $
+$NetBSD: patch-ab,v 1.2 2000/06/12 13:36:13 skrll 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 @@
+--- plpnfsd/mp_mount.c.orig Mon Jan 17 11:49:41 2000
++++ plpnfsd/mp_mount.c Sun Jun 11 17:03:47 2000
+@@ -16,7 +16,7 @@
+ #define PORTMAP /* I need svcudp_create in rpc/svc_soc.h, sol 2.4 */
+ #endif
+
+-#include <OSdefs.h>
++#include "OSdefs.h"
+ #include <stdio.h>
+ #include <signal.h>
+ #include <sys/stat.h>
+@@ -59,6 +59,16 @@
+ #endif
#endif /* __FreeBSD__ */
+#ifdef __NetBSD__
@@ -17,10 +27,65 @@ $NetBSD: patch-ab,v 1.1.1.1 1999/07/14 05:41:47 sakamoto Exp $
+
#include <rpc/rpc.h>
#include "nfs_prot.h"
-@@ -418,5 +428,5 @@
+
+@@ -147,7 +157,7 @@
+ struct mntent *ent;
+ #endif
+ #endif
+-#ifndef __FreeBSD__
++#if !defined(__FreeBSD__) && !defined(__NetBSD__)
+ struct stat statb;
+ #endif
+
+@@ -229,7 +239,7 @@
+ #else
+ struct nfs_args nfs_args;
+ #endif
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ int mount_flags;
+ #endif
+
+@@ -405,20 +415,23 @@
+ #endif
+
+ #ifdef __NetBSD__
++ nfs_args.version = NFS_ARGSVERSION;
+ nfs_args.addrlen = sizeof(sain);
+ nfs_args.sotype = SOCK_DGRAM;
+ nfs_args.maxgrouplist = NGROUPS;
+ nfs_args.readahead = 1;
+ nfs_args.addr = (struct sockaddr *) &sain;
+ nfs_args.fh = (void *) root_fh;
++ nfs_args.fhsize = sizeof(*root_fh);
+ nfs_args.wsize = PBUFSIZE;
+ nfs_args.rsize = PBUFSIZE;
+ nfs_args.retrans = 10;
+ nfs_args.timeo = 600;
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;
++ mount_flags = MNT_NOSUID | MNT_NODEV | MNT_NOEXEC | MNT_NOATIME;
#endif
+
+ #if defined(_IBMR2)
+@@ -448,7 +461,7 @@
+ #if defined(__sgi) || (defined(sun) && defined(__SVR4))
+ if (mount("", dir, MS_DATA, "nfs", &nfs_args, sizeof(nfs_args)))
+ #endif
+-#if defined(__NetBSD__) || defined(__NeXT__)
++#if defined(__NeXT__)
+ if (mount(MOUNT_NFS, dir, 0, (caddr_t) & nfs_args))
+ #endif
+ #ifdef hpux
+@@ -464,7 +477,7 @@
+ if (aix3_mount("psion:loc", dir, 0, MOUNT_TYPE_NFS, &nfs_args, "plpnfsd"))
+ #endif
+
+-#ifdef __FreeBSD__
++#if defined(__NetBSD__) || defined(__FreeBSD__)
+ #if __FreeBSD_version >= 300001
+ if (mount("nfs", dir, mount_flags, &nfs_args))
+ #else
diff --git a/comms/plptools/patches/patch-ac b/comms/plptools/patches/patch-ac
deleted file mode 100644
index 5ddb0daac4f..00000000000
--- a/comms/plptools/patches/patch-ac
+++ /dev/null
@@ -1,11 +0,0 @@
-$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/PLIST b/comms/plptools/pkg/PLIST
index b18a84bb848..6f7b6248ca9 100644
--- a/comms/plptools/pkg/PLIST
+++ b/comms/plptools/pkg/PLIST
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 1999/07/14 05:41:47 sakamoto Exp $
+@comment $NetBSD: PLIST,v 1.2 2000/06/12 13:36:20 skrll Exp $
bin/plpftp
lib/libplp.a
+lib/libplp.la
lib/libplp.so.1.0
sbin/ncpd
sbin/plpnfsd