head 1.4; access; symbols pkgsrc-2017Q3:1.3.0.102 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.98 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.96 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.94 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.92 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.90 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.88 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.86 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.84 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.82 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.80 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.78 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.76 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.74 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.72 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.70 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.68 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.66 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.64 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.62 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.60 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.58 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.56 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.54 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.52 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.50 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.48 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.46 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.44 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.42 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.40 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.38 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.36 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.34 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.32 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.30 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.28 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.26 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.24 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.22 pkgsrc-2008Q1:1.3.0.20 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.18 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.16 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.14 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.12 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.10 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.8 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.6 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.4 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.2 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.2.0.4 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.2 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.1.0.4 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.2; locks; strict; comment @# @; 1.4 date 2017.09.26.10.27.08; author wiz; state dead; branches; next 1.3; commitid 9ARpkXTuh9Wg2H8A; 1.3 date 2005.12.11.11.34.39; author markd; state Exp; branches; next 1.2; 1.2 date 2005.03.23.22.11.57; author markd; state dead; branches; next 1.1; 1.1 date 2005.02.20.11.31.11; author markd; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2005.02.20.11.31.11; author snj; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2005.02.20.18.45.05; author snj; state Exp; branches; next ; desc @@ 1.4 log @*: remove qt3 and the packages using it, including KDE3 Announced in https://mail-index.netbsd.org/pkgsrc-users/2017/09/10/msg025556.html @ text @$NetBSD: patch-ac,v 1.3 2005/12/11 11:34:39 markd Exp $ --- kalzium/src/Makefile.in.orig 2005-12-03 00:26:35.000000000 +1300 +++ kalzium/src/Makefile.in @@@@ -520,7 +520,7 @@@@ kalzium_SOURCES=eqresult.cpp eqchemview. moleculeparser.cpp \ tempunit.cpp settings_colors.cpp settings_misc.cpp settings_units.cpp plotsetupwidget.cpp molcalcwidgetbase.cpp timewidget.cpp somwidget.cpp spectrumview.cpp prefs.cpp -kalzium_LDADD = ../../libkdeedu/kdeeduplot/libkdeeduplot.la ../../libkdeedu/kdeeduui/libkdeeduui.la $(LIB_KIO) $(LIB_KDEUI) $(LIB_KHTML) -L$(OCAMLLIB) -L$(FACILELIB) $(EQCHEM_LDADD) +kalzium_LDADD = ../../libkdeedu/kdeeduplot/libkdeeduplot.la ../../libkdeedu/kdeeduui/libkdeeduui.la $(LIB_KIO) $(LIB_KDEUI) $(LIB_KHTML) $(EQCHEM_LDADD) KDE_CXXFLAGS = -D_ISOC99_SOURCE SUBDIRS = icons elementpics data $(EQCHEM_SUB) EXTRA_DIST = main.cpp \ @ 1.3 log @Update to KDE 3.5 Many new features and refinements. Notable changes include: * Konqueror is the second web browser to pass the Acid2 CSS test, ahead of Firefox and Internet Explorer * Konqueror can also now free web pages from adverts with its ad-block feature * SuperKaramba is included in KDE, providing well-integrated and easy-to-install widgets for the user's desktop * Kopete has support for MSN and Yahoo! webcams * The edutainment module has three new applications (KGeography, Kanagram and blinKen), and has seen huge improvements in Kalzium @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to KDE 3.4 Highlights at a glance * Text-to-speech system with support built into Konqueror, Kate, KPDF and the standalone application KSayIt * Support for text to speech synthesis is integrated with the desktop * Completely redesigned, more flexible trash system * Kicker with improved look and feel * KPDF now enables you to select, copy & paste text and images from PDFs, along with many other improvements * Kontact supports now various groupware servers, including eGroupware, GroupWise, Kolab, OpenGroupware.org and SLOX * Kopete supports Novell Groupwise and Lotus Sametime and gets integrated into Kontact * DBUS/HAL support allows to keep dynamic device icons in media:/ and on the desktop in sync with the state of all devices * KHTML has improved standard support and now close to full support for CSS 2.1 and the CSS 3 Selectors module * Better synchronization between 2 PCs * A new high contrast style and a complete monochrome icon set * An icon effect to paint all icons in two chosen colors, converting third party application icons into high contrast monochrome icons * Akregator allows you to read news from your favourite RSS-enabled websites in one application * Juk has now an album cover management via Google Image Search * KMail now stores passwords securely with KWallet * SVG files can now be used as wallpapers * KHTML plug-ins are now configurable, so the user can selectively disable ones that are not used. This does not include Netscape-style plug-ins. Netscape plug-in in CPU usage can be manually lowered, and plug-ins are more stable. * more than 6,500 bugs have been fixed * more than 1,700 wishes have been fullfilled * more than 80,000 contributions with several million lines of code and documentation added or changed @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 2005/02/20 11:31:11 markd Exp $ d3 11 a13 100 --- kstars/kstars/devicemanager.cpp.orig 2004-07-18 05:52:56.000000000 +1200 +++ kstars/kstars/devicemanager.cpp @@@@ -17,6 +17,7 @@@@ #include "indiproperty.h" #include "indigroup.h" #include "indidevice.h" +#include "indi/indicom.h" #include "kstars.h" #include "kstarsdatetime.h" @@@@ -136,50 +137,51 @@@@ bool DeviceManager::indiConnect(QString void DeviceManager::dataReceived() { char ibuf[32]; /* not so much user input lags */ - char msg[1024]; + char errmsg[ERRMSG_SIZE]; int i, nr; /* read INDI command */ - nr = read (serverFD, ibuf, sizeof(ibuf)); + nr = read (serverFD, ibuf, sizeof(ibuf)-1); if (nr <= 0) { if (nr < 0) - sprintf (msg, "INDI: input error."); + strcpy (errmsg, "INDI: input error."); else - sprintf (msg, "INDI: agent closed connection."); + strcpy (errmsg, "INDI: agent closed connection."); tcflush(serverFD, TCIFLUSH); sNotifier->disconnect(); close(serverFD); parent->removeDeviceMgr(mgrID); - KMessageBox::error(0, QString(msg)); + KMessageBox::error(0, QString::fromLatin1(errmsg)); return; } + ibuf[ sizeof( ibuf )-1 ] = '\0'; + /* process each char */ for (i = 0; i < nr; i++) { if (!XMLParser) return; - XMLEle *root = readXMLEle (XMLParser, (int)ibuf[i], msg); + XMLEle *root = readXMLEle (XMLParser, (int)ibuf[i], errmsg); if (root) { //prXMLEle (stdout, root, 0); - if (dispatchCommand(root, msg) < 0) + if (dispatchCommand(root, errmsg) < 0) { - //kdDebug() << msg << endl; - fprintf(stderr, msg); + fprintf(stderr, "%s", errmsg); prXMLEle (stdout, root, 0); } delXMLEle (root); } - else if (msg[0]) + else if (*errmsg) { - kdDebug() << msg << endl; + kdDebug() << errmsg << endl; } } } @@@@ -271,7 +273,7 @@@@ int DeviceManager::removeDevice(QString } } - sprintf(errmsg, "Device %s not found" , devName.ascii()); + snprintf(errmsg, ERRMSG_SIZE, "Device %.32s not found" , devName.ascii()); return -1; } @@@@ -284,7 +286,7 @@@@ INDI_D * DeviceManager::findDev (QString return (indi_dev.at(i)); } - sprintf (errmsg, "INDI: no such device %s", devName.ascii()); + snprintf (errmsg, ERRMSG_SIZE, "INDI: no such device %.32s", devName.ascii()); kdDebug() << errmsg; return NULL; @@@@ -342,7 +344,7 @@@@ INDI_D * DeviceManager::findDev (XMLEle return (addDevice (root, errmsg)); - sprintf (errmsg, "INDI: <%s> no such device %s", tagXMLEle(root), dn); + snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.32s> no such device %.32s", tagXMLEle(root), dn); return NULL; } @ 1.1 log @Fix for http://www.kde.org/info/security/advisory-20050215-1.txt. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.1.2.1 log @file patch-ac was added on branch pkgsrc-2004Q4 on 2005-02-20 11:31:11 +0000 @ text @d1 102 @ 1.1.2.2 log @Pullup ticket 299 - requested by Mark Davies security fix for kdeedu3 Revisions pulled up: - pkgsrc/misc/kdeedu3/Makefile 1.29 - pkgsrc/misc/kdeedu3/distinfo 1.22 - pkgsrc/misc/kdeedu3/patches/patch-ac 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ad 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ae 1.1 - pkgsrc/misc/kdeedu3/patches/patch-af 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ag 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ah 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ai 1.1 - pkgsrc/misc/kdeedu3/patches/patch-aj 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ak 1.1 - pkgsrc/misc/kdeedu3/patches/patch-al 1.1 - pkgsrc/misc/kdeedu3/patches/patch-am 1.1 - pkgsrc/misc/kdeedu3/patches/patch-an 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ao 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ap 1.1 - pkgsrc/misc/kdeedu3/patches/patch-aq 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ar 1.1 - pkgsrc/misc/kdeedu3/patches/patch-as 1.1 - pkgsrc/misc/kdeedu3/patches/patch-at 1.1 - pkgsrc/misc/kdeedu3/patches/patch-au 1.1 - pkgsrc/misc/kdeedu3/patches/patch-av 1.1 - pkgsrc/misc/kdeedu3/patches/patch-aw 1.1 - pkgsrc/misc/kdeedu3/patches/patch-ax 1.1 Module Name: pkgsrc Committed By: markd Date: Sun Feb 20 11:31:11 UTC 2005 Modified Files: pkgsrc/misc/kdeedu3: Makefile distinfo Added Files: pkgsrc/misc/kdeedu3/patches: patch-ac patch-ad patch-ae patch-af patch-ag patch-ah patch-ai patch-aj patch-ak patch-al patch-am patch-an patch-ao patch-ap patch-aq patch-ar patch-as patch-at patch-au patch-av patch-aw patch-ax Log Message: Fix for http://www.kde.org/info/security/advisory-20050215-1.txt. Bump PKGREVISION. @ text @a0 102 $NetBSD: patch-ac,v 1.1.2.1 2005/02/20 18:45:05 snj Exp $ --- kstars/kstars/devicemanager.cpp.orig 2004-07-18 05:52:56.000000000 +1200 +++ kstars/kstars/devicemanager.cpp @@@@ -17,6 +17,7 @@@@ #include "indiproperty.h" #include "indigroup.h" #include "indidevice.h" +#include "indi/indicom.h" #include "kstars.h" #include "kstarsdatetime.h" @@@@ -136,50 +137,51 @@@@ bool DeviceManager::indiConnect(QString void DeviceManager::dataReceived() { char ibuf[32]; /* not so much user input lags */ - char msg[1024]; + char errmsg[ERRMSG_SIZE]; int i, nr; /* read INDI command */ - nr = read (serverFD, ibuf, sizeof(ibuf)); + nr = read (serverFD, ibuf, sizeof(ibuf)-1); if (nr <= 0) { if (nr < 0) - sprintf (msg, "INDI: input error."); + strcpy (errmsg, "INDI: input error."); else - sprintf (msg, "INDI: agent closed connection."); + strcpy (errmsg, "INDI: agent closed connection."); tcflush(serverFD, TCIFLUSH); sNotifier->disconnect(); close(serverFD); parent->removeDeviceMgr(mgrID); - KMessageBox::error(0, QString(msg)); + KMessageBox::error(0, QString::fromLatin1(errmsg)); return; } + ibuf[ sizeof( ibuf )-1 ] = '\0'; + /* process each char */ for (i = 0; i < nr; i++) { if (!XMLParser) return; - XMLEle *root = readXMLEle (XMLParser, (int)ibuf[i], msg); + XMLEle *root = readXMLEle (XMLParser, (int)ibuf[i], errmsg); if (root) { //prXMLEle (stdout, root, 0); - if (dispatchCommand(root, msg) < 0) + if (dispatchCommand(root, errmsg) < 0) { - //kdDebug() << msg << endl; - fprintf(stderr, msg); + fprintf(stderr, "%s", errmsg); prXMLEle (stdout, root, 0); } delXMLEle (root); } - else if (msg[0]) + else if (*errmsg) { - kdDebug() << msg << endl; + kdDebug() << errmsg << endl; } } } @@@@ -271,7 +273,7 @@@@ int DeviceManager::removeDevice(QString } } - sprintf(errmsg, "Device %s not found" , devName.ascii()); + snprintf(errmsg, ERRMSG_SIZE, "Device %.32s not found" , devName.ascii()); return -1; } @@@@ -284,7 +286,7 @@@@ INDI_D * DeviceManager::findDev (QString return (indi_dev.at(i)); } - sprintf (errmsg, "INDI: no such device %s", devName.ascii()); + snprintf (errmsg, ERRMSG_SIZE, "INDI: no such device %.32s", devName.ascii()); kdDebug() << errmsg; return NULL; @@@@ -342,7 +344,7 @@@@ INDI_D * DeviceManager::findDev (XMLEle return (addDevice (root, errmsg)); - sprintf (errmsg, "INDI: <%s> no such device %s", tagXMLEle(root), dn); + snprintf (errmsg, ERRMSG_SIZE, "INDI: <%.32s> no such device %.32s", tagXMLEle(root), dn); return NULL; } @