head 1.12; access; symbols pkgsrc-2013Q4:1.11.0.86 pkgsrc-2013Q4-base:1.11 pkgsrc-2013Q3:1.11.0.84 pkgsrc-2013Q3-base:1.11 pkgsrc-2013Q2:1.11.0.82 pkgsrc-2013Q2-base:1.11 pkgsrc-2013Q1:1.11.0.80 pkgsrc-2013Q1-base:1.11 pkgsrc-2012Q4:1.11.0.78 pkgsrc-2012Q4-base:1.11 pkgsrc-2012Q3:1.11.0.76 pkgsrc-2012Q3-base:1.11 pkgsrc-2012Q2:1.11.0.74 pkgsrc-2012Q2-base:1.11 pkgsrc-2012Q1:1.11.0.72 pkgsrc-2012Q1-base:1.11 pkgsrc-2011Q4:1.11.0.70 pkgsrc-2011Q4-base:1.11 pkgsrc-2011Q3:1.11.0.68 pkgsrc-2011Q3-base:1.11 pkgsrc-2011Q2:1.11.0.66 pkgsrc-2011Q2-base:1.11 pkgsrc-2011Q1:1.11.0.64 pkgsrc-2011Q1-base:1.11 pkgsrc-2010Q4:1.11.0.62 pkgsrc-2010Q4-base:1.11 pkgsrc-2010Q3:1.11.0.60 pkgsrc-2010Q3-base:1.11 pkgsrc-2010Q2:1.11.0.58 pkgsrc-2010Q2-base:1.11 pkgsrc-2010Q1:1.11.0.56 pkgsrc-2010Q1-base:1.11 pkgsrc-2009Q4:1.11.0.54 pkgsrc-2009Q4-base:1.11 pkgsrc-2009Q3:1.11.0.52 pkgsrc-2009Q3-base:1.11 pkgsrc-2009Q2:1.11.0.50 pkgsrc-2009Q2-base:1.11 pkgsrc-2009Q1:1.11.0.48 pkgsrc-2009Q1-base:1.11 pkgsrc-2008Q4:1.11.0.46 pkgsrc-2008Q4-base:1.11 pkgsrc-2008Q3:1.11.0.44 pkgsrc-2008Q3-base:1.11 cube-native-xorg:1.11.0.42 cube-native-xorg-base:1.11 pkgsrc-2008Q2:1.11.0.40 pkgsrc-2008Q2-base:1.11 cwrapper:1.11.0.38 pkgsrc-2008Q1:1.11.0.36 pkgsrc-2008Q1-base:1.11 pkgsrc-2007Q4:1.11.0.34 pkgsrc-2007Q4-base:1.11 pkgsrc-2007Q3:1.11.0.32 pkgsrc-2007Q3-base:1.11 pkgsrc-2007Q2:1.11.0.30 pkgsrc-2007Q2-base:1.11 pkgsrc-2007Q1:1.11.0.28 pkgsrc-2007Q1-base:1.11 pkgsrc-2006Q4:1.11.0.26 pkgsrc-2006Q4-base:1.11 pkgsrc-2006Q3:1.11.0.24 pkgsrc-2006Q3-base:1.11 pkgsrc-2006Q2:1.11.0.22 pkgsrc-2006Q2-base:1.11 pkgsrc-2006Q1:1.11.0.20 pkgsrc-2006Q1-base:1.11 pkgsrc-2005Q4:1.11.0.18 pkgsrc-2005Q4-base:1.11 pkgsrc-2005Q3:1.11.0.16 pkgsrc-2005Q3-base:1.11 pkgsrc-2005Q2:1.11.0.14 pkgsrc-2005Q2-base:1.11 pkgsrc-2005Q1:1.11.0.12 pkgsrc-2005Q1-base:1.11 pkgsrc-2004Q4:1.11.0.10 pkgsrc-2004Q4-base:1.11 pkgsrc-2004Q3:1.11.0.8 pkgsrc-2004Q3-base:1.11 pkgsrc-2004Q2:1.11.0.6 pkgsrc-2004Q2-base:1.11 pkgsrc-2004Q1:1.11.0.4 pkgsrc-2004Q1-base:1.11 pkgsrc-2003Q4:1.11.0.2 pkgsrc-2003Q4-base:1.11 netbsd-1-6-1:1.10.0.6 netbsd-1-6-1-base:1.10 netbsd-1-6:1.10.0.8 netbsd-1-6-RELEASE-base:1.10 pkgviews:1.10.0.4 pkgviews-base:1.10 buildlink2:1.10.0.2 buildlink2-base:1.10 netbsd-1-5-PATCH003:1.10 netbsd-1-5-PATCH001:1.10 netbsd-1-5-RELEASE:1.8 netbsd-1-4-PATCH003:1.8 netbsd-1-4-PATCH002:1.8 comdex-fall-1999:1.8 netbsd-1-4-PATCH001:1.6 netbsd-1-4-RELEASE:1.6 netbsd-1-3-PATCH003:1.3 FreeBSD-current-1997-11-18:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.12 date 2013.12.31.17.08.10; author wiz; state dead; branches; next 1.11; commitid Vb57LsqOW5rN8jjx; 1.11 date 2003.07.03.14.40.49; author agc; state Exp; branches; next 1.10; 1.10 date 2000.12.17.09.39.53; author hubertf; state Exp; branches; next 1.9; 1.9 date 2000.12.16.05.44.09; author hubertf; state Exp; branches; next 1.8; 1.8 date 99.10.28.02.40.24; author hubertf; state Exp; branches; next 1.7; 1.7 date 99.10.04.20.57.01; author is; state Exp; branches; next 1.6; 1.6 date 99.01.01.07.58.29; author garbled; state Exp; branches; next 1.5; 1.5 date 98.11.05.05.32.19; author mycroft; state Exp; branches; next 1.4; 1.4 date 98.10.02.06.47.29; author hubertf; state Exp; branches; next 1.3; 1.3 date 98.09.13.18.02.10; author garbled; state Exp; branches; next 1.2; 1.2 date 97.11.18.17.21.30; author is; state dead; branches; next 1.1; 1.1 date 97.11.18.17.05.16; author is; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 97.11.18.17.05.16; author is; state Exp; branches; next ; desc @@ 1.12 log @Remove packages that were either BROKEN for more than a year or BROKEN and explicitly scheduled to be removed after 2013Q4. @ text @$NetBSD: patch-ad,v 1.11 2003/07/03 14:40:49 agc Exp $ --- ../src/sdr.tcl.orig Mon Sep 4 18:30:39 2000 +++ ../src/sdr.tcl @@@@ -4457,7 +4457,7 @@@@ # find where we are installed set app_name $argv0 -while {[file type $app_name] == "link"} { +while {([file isfile $app_name]) && ([file type $app_name] == "link")} { # don't worry about recursion since we know app must exist. set app_name [file readlink $app_name] } @@@@ -4470,6 +4470,7 @@@@ $app_home/sdr/plugins \ $app_home/plugins \ $app_home/../plugins \ + @@PREFIX@@/etc/sdr/plugins \ /usr/local/etc/sdr/plugins \ [resource sdrHome]/plugins \ ] @@@@ -4538,7 +4539,7 @@@@ # find where we are installed set app_name $argv0 -while {[file type $app_name] == "link"} { +while {([file isfile $app_name]) && ([file type $app_name] == "link")} { # don't worry about recursion since we know app must exist. set app_name [file readlink $app_name] } @ 1.11 log @Avoid hardcoding /usr/pkg in this package, pointed out by Julio Merino @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.10 2000/12/17 09:39:53 hubertf Exp $ @ 1.10 log @Update sdr to 3.0. Changes: 3.0 K.Hasler/E.Whelan 22 Aug 2000 - new 'application' media type for session directories - fixed byte ordering of headers on intel machines - fixed IP6 address allocation for unix IP6 stacks - Authentication and encryption code fixed to allow for extra space for IPv6 addresses - Added IPv6 flags to configure scripts "--enable-ipv6" 3.0 K.Hasler 6 Dec 1999 - changed use of option get to use the resource procs in generic.tcl - store_address now returns if it already has the address. 3.0 C.Perkins 16 Nov 1999 - Remove TTL scoping option 2.9 K.Hasler 26 Oct 1999 - created a directory type for the directory icon, so that the directory icon is displayed for directory sessions in the main SDR window. - Fix reshow_sessions to delete sessbox when they exist - fixes problem when using the Apply button from the preferences window. 2.9 E.Whelan 25 Oct 1999 - fixed window problems caused by adding directories - fixes problems with passphrase window. - eg geometry option and key passphrase window at startup - FAQ has also been updated - Fixed problem which quit from SDR when closed directory windows 2.8 K.Hasler 9 Sep 1999 - fixdaysinmonth proc fixes daysinmonth variable for leap years. Used when creating a new session and in calendar. - Fix convert_vars to recognise other variable separators (ie not just /). - Fixed set_fmt_menu in create_proc_menu which had attributes in wrong order. - Directory SDP Patches from: http://www.live.com/sdrpatch.html 2.7e K.Hasler 15 July 1999 - enabled pgp @ text @d1 1 a1 1 $NetBSD$ d18 1 a18 1 + /usr/pkg/etc/sdr/plugins \ @ 1.9 log @Update to 2.7nb1 by applying the patches from PR 11019. Patches by Love PR 11019 by Manuel Bouyer @ text @d3 10 a12 70 --- sdr/src/sd_listen.c.orig Fri Jul 16 15:07:27 1999 +++ sdr/src/sd_listen.c Wed Dec 13 01:45:34 2000 @@@@ -55,6 +55,9 @@@@ #include #include #endif +#ifdef HAVE_SYS_INTTYPES_H +#include +#endif #include #include #include @@@@ -369,7 +372,7 @@@@ /* Note "symm" is asymmetrically and "crypt" is symmetrically encrypted ! */ if (strcmp(argv[2], "symm")==0) { - Tcl_Eval(interp, "pgpstate"); + sdr_Tcl_Eval(interp, "pgpstate"); if (strcmp(interp->result,"1") != 0) { writelog(printf("PGPSTATE != 1: Not loading %s\n",argv[1]);) retval = 0; @@@@ -515,10 +518,18 @@@@ /* set p to point to line following "n=....\nk=...\n" */ if (strncmp(k1, "k=", 2)==0) { +#ifdef HAVE_SYS_INTTYPES_H + if ((uintptr_t)k2>=(uintptr_t)k1+2) { + memcpy(key, k1+2, (uintptr_t)k2-((uintptr_t)k1+1)); + key[(uintptr_t)k2-((uintptr_t)k1+1)]='\0'; + } +#else if ((u_int)k2>=(u_int)k1+2) { memcpy(key, k1+2, (u_int)k2-((u_int)k1+1)); key[(u_int)k2-((u_int)k1+1)]='\0'; - } else { + } +#endif + else { key[0]='\0'; } p=strchr(k1, '\n')+1; @@@@ -698,7 +709,7 @@@@ /* this is X.509 code and hasn't been checked or tested yet */ - Tcl_Eval(interp, "x509state"); + sdr_Tcl_Eval(interp, "x509state"); if (strcmp(interp->result,"1") == 0) { irand = (lbl_random()&0xffff); authstatus= check_x509_authentication(auth_hdr, @@@@ -917,7 +928,7 @@@@ /* this is for the X.509 encryption and hasn't been checked */ - Tcl_Eval(interp, "x509state"); + sdr_Tcl_Eval(interp, "x509state"); if (strcmp(interp->result,"1") == 0) { irand = (lbl_random()&0xffff); encstatus_p = \ @@@@ -1014,7 +1025,7 @@@@ /* check whether the x509state variable is on - if not then ignore the auth */ - Tcl_Eval(interp, "x509state"); + sdr_Tcl_Eval(interp, "x509state"); if (strcmp(interp->result,"1") == 0) { @@@@ -1110,6 +1121,17 @@@@ return TCL_OK; d14 16 a29 52 +int +sdr_Tcl_Eval (Tcl_Interp *interp, char *script) +{ + char *copy = strdup (script); + int ret; + if (copy == NULL) abort(); + ret = Tcl_Eval (interp, copy); + free (copy); + return ret; +} + /* ---------------------------------------------------------------------- */ /* main */ @@@@ -1362,7 +1384,7 @@@@ /* load the cached sessions */ Tcl_CreateCommand(interp, "load_cache_entry", load_cache_entry, 0, 0); - Tcl_Eval(interp, "load_from_cache"); + sdr_Tcl_Eval(interp, "load_from_cache"); /*register our location with a SIP server (if desired)*/ sip_register(); @@@@ -1383,7 +1405,11 @@@@ if (cli) { init_cli(); inChannel = fileno(stdin); +#ifdef HAVE_SYS_INTTYPES_H + Tcl_CreateFileHandler(inChannel, TCL_READABLE, (Tcl_FileProc*)do_cli, (ClientData)(intptr_t) inChannel); +#else Tcl_CreateFileHandler(inChannel, TCL_READABLE, (Tcl_FileProc*)do_cli, (ClientData) inChannel); +#endif } #endif @@@@ -1403,7 +1429,7 @@@@ ui_visible=FALSE; } } - Tcl_Eval(interp, "write_cache"); + sdr_Tcl_Eval(interp, "write_cache"); clean_up_and_die(); return(0); } @@@@ -1426,7 +1452,7 @@@@ void remove_interface() { ui_visible=FALSE; -/* Tcl_Eval(interp, "write_cache");*/ +/* sdr_Tcl_Eval(interp, "write_cache");*/ /* signal(SIGPIPE, remove_interface);*/ a30 40 void rebuild_interface() @@@@ -1507,7 +1533,11 @@@@ unsigned long src, hfrom; unsigned long endtime; +#ifdef HAVE_SYS_INTTYPES_H + intptr_t ix = rfd2sock[PTOI(fd)]; +#else int ix = rfd2sock[PTOI(fd)]; +#endif writelog(printf("entered recv_packets\n");) @@@@ -1633,7 +1663,7 @@@@ /* don't try to decrypt it if PGPSTATE isn't set */ - Tcl_Eval(interp, "pgpstate"); + sdr_Tcl_Eval(interp, "pgpstate"); if (strcmp(interp->result,"1") == 0) { if (check_encryption(enc_p,data,length,enc_asym_keyid,encmessage,ENCMESSAGELEN,addata, enctype) != 0) { strcpy(encstatus_p,"failed"); @@@@ -1656,7 +1686,7 @@@@ memcpy(enctype,"x509",4); strcpy(recvkey,""); - Tcl_Eval(interp, "x509state"); + sdr_Tcl_Eval(interp, "x509state"); irand = (lbl_random()&0xffff); if (strcmp(interp->result,"1") == 0) { encstatus_p=check_x509_encryption(enc_p, @@@@ -1806,7 +1836,7 @@@@ /* PKCS7 authentication used - this hasn't been checked */ - Tcl_Eval(interp, "x509state"); + sdr_Tcl_Eval(interp, "x509state"); if (strcmp(interp->result,"1") == 0) { irand = (lbl_random()&0xffff); @ 1.8 log @add RCS IDs to patches, fix patchsum and move out of X11BASE @ text @d4 1 a4 1 +++ sdr/src/sd_listen.c Sat Oct 2 20:42:45 1999 d15 9 d44 55 a98 1 @@@@ -1383,7 +1394,11 @@@@ d110 19 a128 1 @@@@ -1507,7 +1522,11 @@@@ d140 27 @ 1.7 log @Upgrade to sdr-2.7. @ text @d1 2 @ 1.6 log @Make this pkg compile on alpha again: LP64 fixes to deal with -Werror Re-enable INTTYPES stuff that was lost in the recent update. Thanks to Matt for helping me with a nasty.. ;) @ text @d1 2 a2 3 $NetBSD$ --- src/sd_listen.c.orig Wed Oct 7 04:18:56 1998 +++ src/sd_listen.c Thu Dec 31 22:59:57 1998 d13 2 a14 2 @@@@ -484,10 +487,18 @@@@ } d33 1 a33 1 @@@@ -1344,7 +1355,11 @@@@ d45 3 a47 3 @@@@ -1509,7 +1524,11 @@@@ char buf[MAXADSIZE]; char debugbuf[MAXADSIZE]; d55 2 a56 2 memset(new_data, 0, MAXADSIZE); memset(aid, 0, AIDLEN); @ 1.5 log @2.5.8 @ text @d2 13 a14 4 --- src/sd_listen.c.orig Wed Oct 7 07:18:56 1998 +++ src/sd_listen.c Wed Nov 4 23:52:04 1998 @@@@ -484,10 +484,18 @@@@ d34 13 a46 1 @@@@ -1509,7 +1517,11 @@@@ @ 1.4 log @work around not present in 1.3 @ text @d1 6 a6 4 $NetBSD --- src/sd_listen.c.orig Thu Jan 8 20:39:21 1998 +++ src/sd_listen.c Fri Oct 2 08:30:50 1998 @@@@ -316,11 +316,19 @@@@ d8 1 a8 2 if (strncmp(k1, "k=", 2)==0) { d10 4 a13 5 + if ((uintptr_t)k2>=(uintptr_t)k1+2) + { + memcpy(key, k1+2, (uintptr_t)k2-((uintptr_t)k1+1)); + key[(uintptr_t)k2-((uintptr_t)k1+1)]='\0'; + } d15 5 a19 5 if ((u_int)k2>=(u_int)k1+2) { memcpy(key, k1+2, (u_int)k2-((u_int)k1+1)); key[(u_int)k2-((u_int)k1+1)]='\0'; } d21 8 a28 7 else { key[0]='\0'; @@@@ -648,7 +656,11 @@@@ struct timeval tv; unsigned long src, hfrom; char *data; d35 2 a36 2 fromlen=sizeof(struct sockaddr); @ 1.3 log @Make the makefile honor LDFLAGS from the environment, and fix up a few LP64'isms with help from kleink. @ text @d1 4 a4 4 $NetBSD$ --- src/sd_listen.c.orig Sun Sep 13 10:34:47 1998 +++ src/sd_listen.c Sun Sep 13 10:37:01 1998 @@@@ -316,10 +316,10 @@@@ d8 1 a8 1 - if ((u_int)k2>=(u_int)k1+2) d10 1 a10 3 { - memcpy(key, k1+2, (u_int)k2-((u_int)k1+1)); - key[(u_int)k2-((u_int)k1+1)]='\0'; d13 6 d20 1 d23 2 a24 1 @@@@ -648,7 +648,7 @@@@ d28 1 a28 1 - int ix = rfd2sock[PTOI(fd)]; d30 3 @ 1.2 log @- NetBSD RCS ids. - disabled unfinished tools. - make sdr compile & work on NetBSD @ text @d1 26 a26 19 *** src/Makefile.template.orig Sat Nov 23 16:41:26 1996 --- src/Makefile.template Sat Nov 23 16:41:35 1996 *************** *** 97,103 **** $(SDR_UI_FILES): tcl2c parsed_plugins.tcl: ../src/plugin2tcl.tcl ! tclsh7.5 ../src/plugin2tcl.tcl libs.tcl: $(TK_LIBRARY_FILES) cat $(TK_LIBRARY_FILES) | sed '/^[ ]*source[ ]/d' > libs.tcl --- 97,103 ---- $(SDR_UI_FILES): tcl2c parsed_plugins.tcl: ../src/plugin2tcl.tcl ! tclsh8.0 ../src/plugin2tcl.tcl libs.tcl: $(TK_LIBRARY_FILES) cat $(TK_LIBRARY_FILES) | sed '/^[ ]*source[ ]/d' > libs.tcl @ 1.1 log @Initial revision @ text @@ 1.1.1.1 log @Initial MBONE tools directory, bootstrapped from FreeBSD ports collection, sdr only. @ text @@