head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.44 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.42 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.40 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.38 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.36 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.34 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.32 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.30 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.28 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.26 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.24 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.22 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.20 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.18 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.16 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.14 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.12 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.10 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.8 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.6 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.4 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.2 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.3.0.18 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.16 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.14 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.12 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.10 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2005.01.03.14.32.31; author wiz; state dead; branches; next 1.3; 1.3 date 2001.12.13.00.58.31; author skrll; state Exp; branches; next 1.2; 1.2 date 2001.10.15.22.46.16; author skrll; state dead; branches; next 1.1; 1.1 date 2001.03.14.16.07.30; author skrll; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.03.14.16.07.30; author skrll; state Exp; branches; next ; desc @@ 1.4 log @Remove KDE2 packages (and their dependencies) as proposed on tech-pkg. @ text @$NetBSD: patch-aa,v 1.3 2001/12/13 00:58:31 skrll Exp $ --- kppp/pppstats.cpp.orig Sun Dec 2 09:48:05 2001 +++ kppp/pppstats.cpp @@@@ -208,27 +208,29 @@@@ strcpy(ifr.ifr_name, unitName); + local_ip_address = ""; if (ioctl(s, SIOCGIFADDR, &ifr) < 0) { - } + kdDebug(5002) << "Cannot get ip address" << endl; + } else { + sinp = (struct sockaddr_in*)&ifr.ifr_addr; - sinp = (struct sockaddr_in*)&ifr.ifr_addr; + if(sinp->sin_addr.s_addr) + local_ip_address = inet_ntoa(sinp->sin_addr); - if(sinp->sin_addr.s_addr) - local_ip_address = inet_ntoa(sinp->sin_addr); - else - local_ip_address = ""; - kdDebug(5002) << "Local IP: " << local_ip_address << endl; + kdDebug(5002) << "Local IP: " << local_ip_address << endl; + } - if (ioctl(s, SIOCGIFDSTADDR, &ifr) < 0) - ; + remote_ip_address = ""; + if (ioctl(s, SIOCGIFDSTADDR, &ifr) < 0) { + kdDebug(5002) << "Cannot get remote ip address" << endl; + } else { + sinp = (struct sockaddr_in*)&ifr.ifr_dstaddr; - sinp = (struct sockaddr_in*)&ifr.ifr_dstaddr; + if(sinp->sin_addr.s_addr) + remote_ip_address = inet_ntoa(sinp->sin_addr); - if(sinp->sin_addr.s_addr) - remote_ip_address = inet_ntoa(sinp->sin_addr); - else - remote_ip_address = ""; - kdDebug(5002) << "Remote IP: " << remote_ip_address << endl; + kdDebug(5002) << "Remote IP: " << remote_ip_address << endl; + } return true; @ 1.3 log @Be more careful when trying to get the local and destination IP addresses and wait a bit more time on NetBSD for pppd to start. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to KDE 2.2.1 With apologies to Al I wouldn't know where to start with a summary of the changes between 2.1 and 2.2.1 - there are just too many. A couple of hopefully static URLS that contain useful information are http://www.kde.org/announcements/changelog2_1to2_2.html http://www.kde.org/announcements/changelog2_2to2_2_1.html Support for a.out for kde{libs,base} added by me. The libtool/a.out combination doesn't like the linking of modules into binaries. A better way of doing this will appear in future versions of KDE/pkgsrc. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2001/03/14 16:07:30 skrll Exp $ d3 47 a49 36 --- kppp/devices.h.orig Wed Dec 13 18:25:52 2000 +++ kppp/devices.h @@@@ -9,6 +9,23 @@@@ "/dev/cuaa1", "/dev/cuaa2", "/dev/cuaa3", +#elif defined(__NetBSD__) + "/dev/tty00", /* "normal" modem lines */ + "/dev/tty01", + "/dev/tty02", + "/dev/tty03", + "/dev/dty00", /* Dial out devices */ + "/dev/dty01", + "/dev/dty02", + "/dev/dty03", + "/dev/ttyU0", /* USB stuff modems */ + "/dev/ttyU1", + "/dev/ttyU2", + "/dev/ttyU3", + "/dev/dtyU0", /* USB stuff, too (dial out device) */ + "/dev/dtyU1", + "/dev/dtyU2", + "/dev/dtyU3", #elif defined (__linux__) "/dev/modem", // Linux from 2.1.x on discourages from using this devices @@@@ -41,3 +58,9 @@@@ const int DEV_DEFAULT = 0; #endif + + + + + + @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Import of KDE 2.1 kdenetwork package. @ text @@