head 1.9; access; symbols pkgsrc-2013Q2:1.9.0.8 pkgsrc-2013Q2-base:1.9 pkgsrc-2012Q4:1.9.0.6 pkgsrc-2012Q4-base:1.9 pkgsrc-2011Q4:1.9.0.4 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q2:1.9.0.2 pkgsrc-2011Q2-base:1.9 pkgsrc-2009Q4:1.8.0.48 pkgsrc-2009Q4-base:1.8 pkgsrc-2009Q3:1.8.0.46 pkgsrc-2009Q3-base:1.8 pkgsrc-2009Q2:1.8.0.44 pkgsrc-2009Q2-base:1.8 pkgsrc-2009Q1:1.8.0.42 pkgsrc-2009Q1-base:1.8 pkgsrc-2008Q4:1.8.0.40 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.8.0.38 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.36 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.8.0.34 pkgsrc-2008Q2-base:1.8 cwrapper:1.8.0.32 pkgsrc-2008Q1:1.8.0.30 pkgsrc-2008Q1-base:1.8 pkgsrc-2007Q4:1.8.0.28 pkgsrc-2007Q4-base:1.8 pkgsrc-2007Q3:1.8.0.26 pkgsrc-2007Q3-base:1.8 pkgsrc-2007Q2:1.8.0.24 pkgsrc-2007Q2-base:1.8 pkgsrc-2007Q1:1.8.0.22 pkgsrc-2007Q1-base:1.8 pkgsrc-2006Q4:1.8.0.20 pkgsrc-2006Q4-base:1.8 pkgsrc-2006Q3:1.8.0.18 pkgsrc-2006Q3-base:1.8 pkgsrc-2006Q2:1.8.0.16 pkgsrc-2006Q2-base:1.8 pkgsrc-2006Q1:1.8.0.14 pkgsrc-2006Q1-base:1.8 pkgsrc-2005Q4:1.8.0.12 pkgsrc-2005Q4-base:1.8 pkgsrc-2005Q3:1.8.0.10 pkgsrc-2005Q3-base:1.8 pkgsrc-2005Q2:1.8.0.8 pkgsrc-2005Q2-base:1.8 pkgsrc-2005Q1:1.8.0.6 pkgsrc-2005Q1-base:1.8 pkgsrc-2004Q4:1.8.0.4 pkgsrc-2004Q4-base:1.8 pkgsrc-2004Q3:1.8.0.2 pkgsrc-2004Q3-base:1.8 pkgsrc-2004Q2:1.7.0.12 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.7.0.10 pkgsrc-2004Q1-base:1.7 pkgsrc-2003Q4:1.7.0.8 pkgsrc-2003Q4-base:1.7 netbsd-1-6-1:1.7.0.4 netbsd-1-6-1-base:1.7 netbsd-1-6:1.7.0.6 netbsd-1-6-RELEASE-base:1.7 pkgviews:1.7.0.2 pkgviews-base:1.7 buildlink2:1.6.0.2 buildlink2-base:1.6 netbsd-1-5-PATCH003:1.6 netbsd-1-5-PATCH001:1.3 netbsd-1-4-PATCH002:1.1.1.1 comdex-fall-1999:1.1.1.1 netbsd-1-4-PATCH001:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.9 date 2010.02.10.17.08.22; author joerg; state dead; branches; next 1.8; 1.8 date 2004.09.08.12.14.59; author wiz; state Exp; branches; next 1.7; 1.7 date 2002.06.28.19.05.23; author agc; state Exp; branches; next 1.6; 1.6 date 2001.11.06.22.23.50; author jlam; state Exp; branches; next 1.5; 1.5 date 2001.08.24.12.52.06; author hubertf; state Exp; branches; next 1.4; 1.4 date 2001.08.20.01.51.04; author hubertf; state Exp; branches; next 1.3; 1.3 date 2001.04.04.08.53.44; author skrll; state Exp; branches; next 1.2; 1.2 date 2000.06.12.13.36.16; author skrll; state dead; branches; next 1.1; 1.1 date 99.07.14.05.41.47; author sakamoto; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.07.14.05.41.47; author sakamoto; state Exp; branches; next ; desc @@ 1.9 log @Retire comms/plptools. @ text @$NetBSD: patch-ac,v 1.8 2004/09/08 12:14:59 wiz Exp $ --- lib/ppsocket.cc.orig 2002-08-05 14:36:02.000000000 +0200 +++ lib/ppsocket.cc @@@@ -45,6 +45,10 @@@@ #define INVALID_SOCKET -1 #define SOCKET_ERROR -1 +#ifndef MSG_NOSIGNAL +#define MSG_NOSIGNAL 0 +#endif + using namespace std; ppsocket::ppsocket(const ppsocket & another) @ 1.8 log @Update to 0.12 to fix build with gcc3. Changes since 0.8 are not documented except in the ChangeLog. Changes from Version 0.7 to 0.8 - Fixed lot of bugs, especially in nfs code - Series 3 _should_ work again. - Added support for KDE (KDE >= 2.1) - Added KDE Application "kpsion" Changes from Version 0.6 to 0.7 - Changed timezone-stuff again. With S5, now the machine-info is evaluated. This info holds the Psion's time-offset so that we are able to calculate the offset correctly, regardless of the Psion's setting. All that is done in a new class PsiTime. For S3, a Fallback is provided using an Env-Variable "PSI_TZ" which can be set to the Psion's time-offset in seconds. - Added lots of rpc related stuff: - Implemented a procfs-like subdir in plpnfsd. Processes can be examined and misc. parameters can be examined/changed using the entries in /proc/ Several parameters can now be changed on the fly: attribute-cache timeout in seconds: proc/acache (rw) debuglevel: proc/debuglevel (rw) directory-cache timeout in seconds: proc/dcache (rw) Psion's owner-info: proc/owner (ro) Unix-owner of mounted directory: proc/unixowner (rw) Stopping of plpnfsd has now changed: Old: reference /mnt/psion/exit New: echo stop > /mnt/psion/proc/exit This should be safer than accidentally referencing a file. For every process running on the psion, a subdir in proc/ is created with two files "cmd" and "args" (both ro). cmd is the process-name, args is it's commandline. - Added machinfo command in plpftp for displaying lot of interesting information about S5. (E.g. battery status etc.) - Added killsave and runrestore to plpftpd. Both take a unix file as argument. killsave kills all processes on the Psion and saves restart-information to the specified file. runrestore reads a file created by killsave and starts all processes saved in this file. -> Functionality similar to the behavior of PsiWin before/after backup. @ text @d1 1 a1 1 $NetBSD$ @ 1.7 log @Make this package compile on 1.6 and above (thanks, Johnny) @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.6 2001/11/06 22:23:50 jlam Exp $ d3 5 a7 5 --- plpftp/ftp.cc.orig Mon Jan 17 06:49:41 2000 +++ plpftp/ftp.cc @@@@ -34,6 +34,10 @@@@ #include #include d9 2 a10 2 +#ifdef __NetBSD__ +#include d13 1 a13 32 #include "defs.h" #include "ftp.h" #include "rfsv.h" @@@@ -335,7 +339,7 @@@@ // never used to do this char dateBuff[100]; struct tm *t; - t = localtime(&time); + t = localtime((time_t *)&time); strftime(dateBuff, 100, "%c", t); cout << a.opAttr(attr); cout << " " << dec << setw(10) << setfill(' ') << size; @@@@ -365,7 +369,7 @@@@ else { char dateBuff[100]; struct tm *t; - t = localtime(&mtime); + t = localtime((time_t *)&mtime); strftime(dateBuff, 100, "%c %Z", t); cout << dateBuff << endl; } @@@@ -457,7 +461,7 @@@@ long attr = s.getDWord(8); char dateBuff[100]; struct tm *t; - t = localtime(&date); + t = localtime((time_t *)&date); strftime(dateBuff, 100, "%c", t); cout << a.opAttr(attr); cout << " " << dec << setw(10) << setfill(' ') << size; @@@@ -849,7 +853,7 @@@@ static long maskAttr; d15 1 a15 50 static char* -filename_generator(char *text, int state) +filename_generator(const char *text, int state) { static int len; @@@@ -884,7 +888,7 @@@@ } static char * -command_generator(char *text, int state) +command_generator(const char *text, int state) { static int idx, len; char *name; @@@@ -907,13 +911,13 @@@@ } static char ** -do_completion(char *text, int start, int end) +do_completion(const char *text, int start, int end) { char **matches = NULL; - rl_completion_entry_function = (Function *)null_completion; + rl_completion_entry_function = (CPFunction *)null_completion; if (start == 0) - matches = completion_matches(text, command_generator); + matches = rl_completion_matches(text, command_generator); else { int idx = 0; char *name; @@@@ -934,7 +938,7 @@@@ maskAttr = 0x0010; } - matches = completion_matches(text, filename_generator); + matches = rl_completion_matches(text, filename_generator); } return matches; } @@@@ -945,7 +949,7 @@@@ { #if HAVE_LIBREADLINE rl_readline_name = "plpftp"; - rl_completion_entry_function = (Function *)null_completion; + rl_completion_entry_function = (CPFunction *)null_completion; rl_attempted_completion_function = (CPPFunction *)do_completion; #endif } @ 1.6 log @Use the proper typecasts to make this compile. @ text @d1 1 a1 1 $NetBSD$ d43 24 a66 1 @@@@ -911,7 +915,7 @@@@ d73 2 a74 1 matches = completion_matches(text, command_generator); d76 11 @ 1.5 log @fix path in patch @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.4 2001/08/20 01:51:04 hubertf Exp $ d3 2 a4 2 --- plpftp/ftp.cc.orig Mon Jan 17 12:49:41 2000 +++ plpftp/ftp.cc Mon Aug 20 03:45:51 2001 d43 18 @ 1.4 log @#include on NetBSD. It seems there's some (NetBSD!) systems out there where this compiles without that header, and some where it fails. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- ftp.cc.orig Mon Jan 17 12:49:41 2000 +++ ftp.cc Mon Aug 20 03:45:51 2001 @ 1.3 log @Fixes so that alpha will (hopefully) build. Mainly addition of includes. @ text @d3 14 a16 3 --- plpftp/ftp.cc.orig Mon Jan 17 11:49:41 2000 +++ plpftp/ftp.cc @@@@ -335,7 +335,7 @@@@ d25 1 a25 1 @@@@ -365,7 +365,7 @@@@ d34 1 a34 1 @@@@ -457,7 +457,7 @@@@ @ 1.2 log @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. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 1999/07/14 05:41:47 sakamoto Exp $ d3 29 a31 9 --- ./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 @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @FTP-like and NFS-like access tools to talk to the PSION @ text @@