From owner-freebsd-ports Sat Jul 1 0: 0:22 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2197437B8FD for ; Sat, 1 Jul 2000 00:00:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id AAA29009; Sat, 1 Jul 2000 00:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from 200-191-158-24-as.acessonet.com.br (200-191-158-24-as.acessonet.com.br [200.191.158.24]) by hub.freebsd.org (Postfix) with ESMTP id 0A1E637BB95 for ; Fri, 30 Jun 2000 23:57:14 -0700 (PDT) (envelope-from lioux@uol.com.br) Received: (qmail 69989 invoked by uid 1001); 1 Jul 2000 06:57:26 -0000 Message-Id: <20000701065726.69988.qmail@Fedaykin.here> Date: 1 Jul 2000 06:57:26 -0000 From: "Mario Sergio Fujikawa Ferreira" Reply-To: lioux@uol.com.br To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/19621: New port www/kwebwatch Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19621 >Category: ports >Synopsis: New port www/kwebwatch >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jul 01 00:00:02 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Mario Sergio Fujikawa Ferreira >Release: FreeBSD 4.0-STABLE i386 >Organization: >Environment: FreeBSD Here.here 4.0-STABLE FreeBSD 4.0-STABLE #2: Fri Jun 9 13:22:10 EST 2000 lioux@Here.here:/usr/src/sys/compile/LIOUX i386 >Description: Simple kde application that runs in the background monitoring your favorite web pages, notifying you of updates >How-To-Repeat: n/a >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # kwebwatch # kwebwatch/Makefile # kwebwatch/files # kwebwatch/files/md5 # kwebwatch/pkg # kwebwatch/pkg/COMMENT # kwebwatch/pkg/DESCR # kwebwatch/pkg/PLIST # kwebwatch/patches # kwebwatch/patches/patch-aa # kwebwatch/patches/patch-ab # kwebwatch/patches/patch-ac # kwebwatch/patches/patch-ad # kwebwatch/patches/patch-ae # kwebwatch/patches/patch-af # kwebwatch/patches/patch-ag # kwebwatch/patches/patch-ah # kwebwatch/patches/patch-ai # kwebwatch/patches/patch-aj # echo c - kwebwatch mkdir -p kwebwatch > /dev/null 2>&1 echo x - kwebwatch/Makefile sed 's/^X//' >kwebwatch/Makefile << 'END-of-kwebwatch/Makefile' X# New ports collection makefile for: kwebwatch X# Date created: 11 June 2000 X# Whom: Mario S F Ferreira et al. X# X# $FreeBSD$ X# X XPORTNAME= kwebwatch XPORTVERSION= 0.72 XCATEGORIES= www kde XMASTER_SITES= http://linuxberg.uol.com.br/files/kde/network/ \ X http://www.kde.gr.jp/~hanawa/apps/kwebwatch/ X XMAINTAINER= lioux@linf.unb.br X XLIB_DEPENDS= kdecore.3:${PORTSDIR}/x11/kdelibs11 \ X kdeui.3:${PORTSDIR}/x11/kdelibs11 \ X kfile.3:${PORTSDIR}/x11/kdelibs11 \ X kfm.3:${PORTSDIR}/x11/kdelibs11 X XUSE_XLIB= yes XUSE_QT= yes XGNU_CONFIGURE= yes XUSE_GMAKE= yes X X.include END-of-kwebwatch/Makefile echo c - kwebwatch/files mkdir -p kwebwatch/files > /dev/null 2>&1 echo x - kwebwatch/files/md5 sed 's/^X//' >kwebwatch/files/md5 << 'END-of-kwebwatch/files/md5' XMD5 (kwebwatch-0.72.tar.gz) = ae4b4fad8ad7e8fa3d4ee3e38f1e74a2 END-of-kwebwatch/files/md5 echo c - kwebwatch/pkg mkdir -p kwebwatch/pkg > /dev/null 2>&1 echo x - kwebwatch/pkg/COMMENT sed 's/^X//' >kwebwatch/pkg/COMMENT << 'END-of-kwebwatch/pkg/COMMENT' XRun in the background monitoring your favorite web pages, notifying of updates END-of-kwebwatch/pkg/COMMENT echo x - kwebwatch/pkg/DESCR sed 's/^X//' >kwebwatch/pkg/DESCR << 'END-of-kwebwatch/pkg/DESCR' XKWebWatch is a utility designed to run in the background and Xperiodically poll a user's favorite web sites, looking for changes. XAdditionally, KWebWatch serves as a launching pad for viewing Xfavorite web sites, using whatever browser is preferred on a URL Xby URL basis. X XWWW: http://linuxberg.uol.com.br/kdehtml/preview/021-008-008-013C.html END-of-kwebwatch/pkg/DESCR echo x - kwebwatch/pkg/PLIST sed 's/^X//' >kwebwatch/pkg/PLIST << 'END-of-kwebwatch/pkg/PLIST' Xbin/kwebwatch Xshare/applnk/Internet/kwebwatch.kdelnk Xshare/apps/kwebwatch/pics/kww_eye.xpm Xshare/apps/kwebwatch/pics/kww_eye_new.xpm Xshare/apps/kwebwatch/pics/kww_green-bullet.xpm Xshare/apps/kwebwatch/pics/kww_grey-bullet.xpm Xshare/apps/kwebwatch/pics/kww_new.xpm Xshare/apps/kwebwatch/pics/kww_red-bullet.xpm Xshare/doc/HTML/en/kwebwatch/index.html Xshare/doc/HTML/en/kwebwatch/kwebwatch-1.html Xshare/doc/HTML/en/kwebwatch/kwebwatch-10.html Xshare/doc/HTML/en/kwebwatch/kwebwatch-2.html Xshare/doc/HTML/en/kwebwatch/kwebwatch-3.html Xshare/doc/HTML/en/kwebwatch/kwebwatch-4.html Xshare/doc/HTML/en/kwebwatch/kwebwatch-5.html Xshare/doc/HTML/en/kwebwatch/kwebwatch-6.html Xshare/doc/HTML/en/kwebwatch/kwebwatch-7.html Xshare/doc/HTML/en/kwebwatch/kwebwatch-8.html Xshare/doc/HTML/en/kwebwatch/kwebwatch-9.html Xshare/doc/HTML/en/kwebwatch/logotp3.gif Xshare/icons/kwebwatch.xpm Xshare/icons/mini/kwebwatch.xpm X@dirrm share/doc/HTML/en/kwebwatch X@dirrm share/apps/kwebwatch/pics X@dirrm share/apps/kwebwatch END-of-kwebwatch/pkg/PLIST echo c - kwebwatch/patches mkdir -p kwebwatch/patches > /dev/null 2>&1 echo x - kwebwatch/patches/patch-aa sed 's/^X//' >kwebwatch/patches/patch-aa << 'END-of-kwebwatch/patches/patch-aa' X--- kwebwatch/main.cpp.orig Sun Aug 8 19:10:47 1999 X+++ kwebwatch/main.cpp Sat Jun 17 02:49:46 2000 X@@ -23,14 +23,20 @@ X X /* main.cpp */ X X+#if defined(HAVE_CONFIG_H) X+#include <../config.h> X+#endif X X+#if defined(HAVE_SYS_PARAM_H) X+#include X+#endif X X #include X #include X X #include "mainwidget.h" X X-#if defined(__hpux) X+#if defined(__hpux) || (defined(BSD) && (BSD >= 199103)) X static void SigChild(int) X { X int pid; X@@ -69,6 +75,9 @@ X // With SysV all we need to do is ignore the signal. X // With BSD, however, we have to catch each signal X // and execute the wait3() system call. X+#if (defined(BSD) && (BSD >= 199103)) X+ signal(SIGCHLD, SigChild); X+#else X #if defined(__hpux) X signal(SIGCLD, SigChild); X #else X@@ -82,6 +91,7 @@ X sigignore(SIGCHLD); X #else X signal(SIGCLD, SIG_IGN); X+#endif X #endif X #endif X END-of-kwebwatch/patches/patch-aa echo x - kwebwatch/patches/patch-ab sed 's/^X//' >kwebwatch/patches/patch-ab << 'END-of-kwebwatch/patches/patch-ab' X--- configure.in.orig Wed Aug 19 21:29:58 1998 X+++ configure.in Sat Jun 17 02:46:57 2000 X@@ -41,7 +41,7 @@ X dnl Checks for header files. X AC_HEADER_DIRENT X AC_HEADER_STDC X-AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h sys/types.h sys/stat.h re_comp.h net/errno.h getopt.h sys/param.h) X+AC_CHECK_HEADERS(fcntl.h ndbm.h sys/time.h unistd.h sys/types.h sys/stat.h re_comp.h net/errno.h getopt.h sys/param.h) X AC_CHECK_FUNCS(flock) X X dnl Checks for typedefs, structures, and compiler characteristics. END-of-kwebwatch/patches/patch-ab echo x - kwebwatch/patches/patch-ac sed 's/^X//' >kwebwatch/patches/patch-ac << 'END-of-kwebwatch/patches/patch-ac' X--- kwebwatch/mainwidget.cpp.orig Sat Jun 17 02:52:31 2000 X+++ kwebwatch/mainwidget.cpp Sat Jun 17 02:52:41 2000 X@@ -24,6 +24,14 @@ X X #define DB_DBM_HSEARCH 1 X X+#if defined(HAVE_CONFIG_H) X+#include <../config.h> X+#endif X+ X+#if defined(HAVE_NDBM_H) X+#include X+#endif X+ X #include "mainwidget.h" X #include X #include X@@ -662,7 +670,7 @@ X X void MainWidget::UpdateListBox( UrlItem* pItem, bool checked_this_session ) X { X- QColor color; X+ QColor color,nullcolor; X int position; X QString item_text = pItem->GetAlias(); X int result; X@@ -695,7 +703,7 @@ X switch( result ) X { X case NOT_YET_CHECKED: X- color = NULL; X+ color = nullcolor; X break; X case UPDATE_FOUND: /* FALLTHRU */ X case CHECK_NOT_NEEDED: X@@ -704,10 +712,10 @@ X pPix = new QPixmap( g_pics_dir+ "/kww_new.xpm" ); X break; X case UPDATE_READ: X- color = NULL; X+ color = nullcolor; X break; X case NO_CHANGE: X- color = NULL; X+ color = nullcolor; X break; X case CONNECT_FAILED: X color = CONNECT_FAILED_COLOR; END-of-kwebwatch/patches/patch-ac echo x - kwebwatch/patches/patch-ad sed 's/^X//' >kwebwatch/patches/patch-ad << 'END-of-kwebwatch/patches/patch-ad' X--- kwebwatch/options.h.orig Sat Jul 1 01:51:18 2000 X+++ kwebwatch/options.h Sat Jul 1 01:53:11 2000 X@@ -26,6 +26,9 @@ X #ifndef OPTIONS_H X #define OPTIONS_H X X+#include X+#include X+ X #include X #include X #include END-of-kwebwatch/patches/patch-ad echo x - kwebwatch/patches/patch-ae sed 's/^X//' >kwebwatch/patches/patch-ae << 'END-of-kwebwatch/patches/patch-ae' X--- kwebwatch/urlitem.h.orig Sat Jul 1 01:51:42 2000 X+++ kwebwatch/urlitem.h Sat Jul 1 01:57:26 2000 X@@ -29,7 +29,7 @@ X #define DB_DBM_HSEARCH 1 X X #include X-#include X+#include X #include X #include X #include END-of-kwebwatch/patches/patch-ae echo x - kwebwatch/patches/patch-af sed 's/^X//' >kwebwatch/patches/patch-af << 'END-of-kwebwatch/patches/patch-af' X--- kwebwatch/utils.cpp.orig Sat Jul 1 02:03:06 2000 X+++ kwebwatch/utils.cpp Sat Jul 1 02:06:15 2000 X@@ -133,7 +133,7 @@ X bool FirstInstance(long* pid) X { X bool first_instance = true; X- flock lock; X+ struct flock lock; X int fd = 0; X X QString local_data_dir = kapp->localkdedir() + "/share/apps/kwebwatch"; END-of-kwebwatch/patches/patch-af echo x - kwebwatch/patches/patch-ag sed 's/^X//' >kwebwatch/patches/patch-ag << 'END-of-kwebwatch/patches/patch-ag' X--- kwebwatch/web.h.orig Sat Jul 1 02:16:56 2000 X+++ kwebwatch/web.h Sat Jul 1 02:17:12 2000 X@@ -26,6 +26,7 @@ X #ifndef WEB_H X #define WEB_H X X+#include X #include /* basic socket definitions */ X #include /* timeval{} for select() */ X #include END-of-kwebwatch/patches/patch-ag echo x - kwebwatch/patches/patch-ah sed 's/^X//' >kwebwatch/patches/patch-ah << 'END-of-kwebwatch/patches/patch-ah' X--- kwebwatch/web.cpp.orig Sat Jul 1 02:16:33 2000 X+++ kwebwatch/web.cpp Sat Jul 1 02:16:40 2000 X@@ -27,8 +27,8 @@ X // by W. Richard Stevens X #include X #include X-#include /* if I include this from web.h, compile fails !?! */ X #include "web.h" X+#include /* if I include this from web.h, compile fails !?! */ X X /* Write "n" bytes to a descriptor. */ X ssize_t writen(int fd, const void *vptr, size_t n) END-of-kwebwatch/patches/patch-ah echo x - kwebwatch/patches/patch-ai sed 's/^X//' >kwebwatch/patches/patch-ai << 'END-of-kwebwatch/patches/patch-ai' X--- kwebwatch/Makefile.in.orig Sat Jul 1 02:26:48 2000 X+++ kwebwatch/Makefile.in Sat Jul 1 02:26:56 2000 X@@ -169,7 +169,7 @@ X X # the libraries to link against. Be aware of the order. First the libraries, X # that depend on the following ones. X-kwebwatch_LDADD = -ldb -lkdeui -lkdecore -lkfile -lkfm -lqt -lX11 -lXext @LIBSOCKET@ X+kwebwatch_LDADD = -lkdeui -lkdecore -lkfile -lkfm -lqt -lX11 -lXext @LIBSOCKET@ X X # this option you can leave out. Just, if you use "make dist", you need it X #noinst_HEADERS = main.h mainwidget.h dockwidget.h mainlistbox.h \ END-of-kwebwatch/patches/patch-ai echo x - kwebwatch/patches/patch-aj sed 's/^X//' >kwebwatch/patches/patch-aj << 'END-of-kwebwatch/patches/patch-aj' X--- kwebwatch/utils.h.orig Sat Jul 1 03:35:28 2000 X+++ kwebwatch/utils.h Sat Jul 1 03:44:47 2000 X@@ -37,10 +37,14 @@ X "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; X X const char* const timechoices[] = { "6 hours", "24 hours", "12 hours", "3 hours", X- "1 hour", "30 minutes", "10 minutes", 0 }; X+ "1 hour", "30 minutes", "10 minutes", X+ "1 week", "1 month", "3 months", X+ "6 months", "1 year", 0 }; X X const int time_in_seconds[] = { 6*60*60, 24*60*60, 12*60*60, X- 3*60*60, 60*60, 30*60, 10*60 }; X+ 3*60*60, 60*60, 30*60, 10*60, X+ 7*24*60*60, 30*24*60*60, 3*30*24*60*60, X+ 6*30*24*60*60, 365*24*60*60 }; X X QDateTime* GetDateTimeFromString( QString str ); X QString StripTime( QDateTime dt ); END-of-kwebwatch/patches/patch-aj exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message