diff options
-rw-r--r-- | www/kwebwatch/Makefile | 26 | ||||
-rw-r--r-- | www/kwebwatch/distinfo | 1 | ||||
-rw-r--r-- | www/kwebwatch/files/patch-aa | 42 | ||||
-rw-r--r-- | www/kwebwatch/files/patch-ab | 11 | ||||
-rw-r--r-- | www/kwebwatch/files/patch-ac | 48 | ||||
-rw-r--r-- | www/kwebwatch/files/patch-ad | 12 | ||||
-rw-r--r-- | www/kwebwatch/files/patch-ae | 11 | ||||
-rw-r--r-- | www/kwebwatch/files/patch-af | 11 | ||||
-rw-r--r-- | www/kwebwatch/files/patch-ag | 10 | ||||
-rw-r--r-- | www/kwebwatch/files/patch-ah | 12 | ||||
-rw-r--r-- | www/kwebwatch/files/patch-ai | 11 | ||||
-rw-r--r-- | www/kwebwatch/files/patch-aj | 19 | ||||
-rw-r--r-- | www/kwebwatch/pkg-comment | 1 | ||||
-rw-r--r-- | www/kwebwatch/pkg-descr | 7 | ||||
-rw-r--r-- | www/kwebwatch/pkg-plist | 25 |
15 files changed, 247 insertions, 0 deletions
diff --git a/www/kwebwatch/Makefile b/www/kwebwatch/Makefile new file mode 100644 index 000000000000..0347a93c9869 --- /dev/null +++ b/www/kwebwatch/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: kwebwatch +# Date created: 11 June 2000 +# Whom: Mario S F Ferreira <lioux@linf.unb.br> et al. +# +# $FreeBSD$ +# + +PORTNAME= kwebwatch +PORTVERSION= 0.72 +CATEGORIES= www kde +MASTER_SITES= http://linuxberg.uol.com.br/files/kde/network/ \ + http://www.kde.gr.jp/~hanawa/apps/kwebwatch/ + +MAINTAINER= lioux@linf.unb.br + +LIB_DEPENDS= kdecore.3:${PORTSDIR}/x11/kdelibs11 \ + kdeui.3:${PORTSDIR}/x11/kdelibs11 \ + kfile.3:${PORTSDIR}/x11/kdelibs11 \ + kfm.3:${PORTSDIR}/x11/kdelibs11 + +USE_XLIB= yes +USE_QT= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes + +.include <bsd.port.mk> diff --git a/www/kwebwatch/distinfo b/www/kwebwatch/distinfo new file mode 100644 index 000000000000..271ea9f56411 --- /dev/null +++ b/www/kwebwatch/distinfo @@ -0,0 +1 @@ +MD5 (kwebwatch-0.72.tar.gz) = ae4b4fad8ad7e8fa3d4ee3e38f1e74a2 diff --git a/www/kwebwatch/files/patch-aa b/www/kwebwatch/files/patch-aa new file mode 100644 index 000000000000..8f9a88134de2 --- /dev/null +++ b/www/kwebwatch/files/patch-aa @@ -0,0 +1,42 @@ +--- kwebwatch/main.cpp.orig Sun Aug 8 19:10:47 1999 ++++ kwebwatch/main.cpp Sat Jun 17 02:49:46 2000 +@@ -23,14 +23,20 @@ + + /* main.cpp */ + ++#if defined(HAVE_CONFIG_H) ++#include <../config.h> ++#endif + ++#if defined(HAVE_SYS_PARAM_H) ++#include <sys/param.h> ++#endif + + #include <kapp.h> + #include <signal.h> + + #include "mainwidget.h" + +-#if defined(__hpux) ++#if defined(__hpux) || (defined(BSD) && (BSD >= 199103)) + static void SigChild(int) + { + int pid; +@@ -69,6 +75,9 @@ + // With SysV all we need to do is ignore the signal. + // With BSD, however, we have to catch each signal + // and execute the wait3() system call. ++#if (defined(BSD) && (BSD >= 199103)) ++ signal(SIGCHLD, SigChild); ++#else + #if defined(__hpux) + signal(SIGCLD, SigChild); + #else +@@ -82,6 +91,7 @@ + sigignore(SIGCHLD); + #else + signal(SIGCLD, SIG_IGN); ++#endif + #endif + #endif + diff --git a/www/kwebwatch/files/patch-ab b/www/kwebwatch/files/patch-ab new file mode 100644 index 000000000000..34e882f18f97 --- /dev/null +++ b/www/kwebwatch/files/patch-ab @@ -0,0 +1,11 @@ +--- configure.in.orig Wed Aug 19 21:29:58 1998 ++++ configure.in Sat Jun 17 02:46:57 2000 +@@ -41,7 +41,7 @@ + dnl Checks for header files. + AC_HEADER_DIRENT + AC_HEADER_STDC +-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) ++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) + AC_CHECK_FUNCS(flock) + + dnl Checks for typedefs, structures, and compiler characteristics. diff --git a/www/kwebwatch/files/patch-ac b/www/kwebwatch/files/patch-ac new file mode 100644 index 000000000000..7da39081b829 --- /dev/null +++ b/www/kwebwatch/files/patch-ac @@ -0,0 +1,48 @@ +--- kwebwatch/mainwidget.cpp.orig Sat Jun 17 02:52:31 2000 ++++ kwebwatch/mainwidget.cpp Sat Jun 17 02:52:41 2000 +@@ -24,6 +24,14 @@ + + #define DB_DBM_HSEARCH 1 + ++#if defined(HAVE_CONFIG_H) ++#include <../config.h> ++#endif ++ ++#if defined(HAVE_NDBM_H) ++#include <ndbm.h> ++#endif ++ + #include "mainwidget.h" + #include <qdatetm.h> + #include <qpainter.h> +@@ -662,7 +670,7 @@ + + void MainWidget::UpdateListBox( UrlItem* pItem, bool checked_this_session ) + { +- QColor color; ++ QColor color,nullcolor; + int position; + QString item_text = pItem->GetAlias(); + int result; +@@ -695,7 +703,7 @@ + switch( result ) + { + case NOT_YET_CHECKED: +- color = NULL; ++ color = nullcolor; + break; + case UPDATE_FOUND: /* FALLTHRU */ + case CHECK_NOT_NEEDED: +@@ -704,10 +712,10 @@ + pPix = new QPixmap( g_pics_dir+ "/kww_new.xpm" ); + break; + case UPDATE_READ: +- color = NULL; ++ color = nullcolor; + break; + case NO_CHANGE: +- color = NULL; ++ color = nullcolor; + break; + case CONNECT_FAILED: + color = CONNECT_FAILED_COLOR; diff --git a/www/kwebwatch/files/patch-ad b/www/kwebwatch/files/patch-ad new file mode 100644 index 000000000000..089950d625f3 --- /dev/null +++ b/www/kwebwatch/files/patch-ad @@ -0,0 +1,12 @@ +--- kwebwatch/options.h.orig Sat Jul 1 01:51:18 2000 ++++ kwebwatch/options.h Sat Jul 1 01:53:11 2000 +@@ -26,6 +26,9 @@ + #ifndef OPTIONS_H + #define OPTIONS_H + ++#include <sys/types.h> ++#include <limits.h> ++ + #include <qdialog.h> + #include <qpushbt.h> + #include <qlined.h> diff --git a/www/kwebwatch/files/patch-ae b/www/kwebwatch/files/patch-ae new file mode 100644 index 000000000000..499ee0157a64 --- /dev/null +++ b/www/kwebwatch/files/patch-ae @@ -0,0 +1,11 @@ +--- kwebwatch/urlitem.h.orig Sat Jul 1 01:51:42 2000 ++++ kwebwatch/urlitem.h Sat Jul 1 01:57:26 2000 +@@ -29,7 +29,7 @@ + #define DB_DBM_HSEARCH 1 + + #include <kmsgbox.h> +-#include <db.h> ++#include <ndbm.h> + #include <fcntl.h> + #include <stdlib.h> + #include <unistd.h> diff --git a/www/kwebwatch/files/patch-af b/www/kwebwatch/files/patch-af new file mode 100644 index 000000000000..a3b6aaee97c0 --- /dev/null +++ b/www/kwebwatch/files/patch-af @@ -0,0 +1,11 @@ +--- kwebwatch/utils.cpp.orig Sat Jul 1 02:03:06 2000 ++++ kwebwatch/utils.cpp Sat Jul 1 02:06:15 2000 +@@ -133,7 +133,7 @@ + bool FirstInstance(long* pid) + { + bool first_instance = true; +- flock lock; ++ struct flock lock; + int fd = 0; + + QString local_data_dir = kapp->localkdedir() + "/share/apps/kwebwatch"; diff --git a/www/kwebwatch/files/patch-ag b/www/kwebwatch/files/patch-ag new file mode 100644 index 000000000000..652f1a25a9a5 --- /dev/null +++ b/www/kwebwatch/files/patch-ag @@ -0,0 +1,10 @@ +--- kwebwatch/web.h.orig Sat Jul 1 02:16:56 2000 ++++ kwebwatch/web.h Sat Jul 1 02:17:12 2000 +@@ -26,6 +26,7 @@ + #ifndef WEB_H + #define WEB_H + ++#include <sys/types.h> + #include <sys/socket.h> /* basic socket definitions */ + #include <sys/time.h> /* timeval{} for select() */ + #include <errno.h> diff --git a/www/kwebwatch/files/patch-ah b/www/kwebwatch/files/patch-ah new file mode 100644 index 000000000000..6123885ac709 --- /dev/null +++ b/www/kwebwatch/files/patch-ah @@ -0,0 +1,12 @@ +--- kwebwatch/web.cpp.orig Sat Jul 1 02:16:33 2000 ++++ kwebwatch/web.cpp Sat Jul 1 02:16:40 2000 +@@ -27,8 +27,8 @@ + // by W. Richard Stevens + #include <stdlib.h> + #include <qapp.h> +-#include <netinet/in.h> /* if I include this from web.h, compile fails !?! */ + #include "web.h" ++#include <netinet/in.h> /* if I include this from web.h, compile fails !?! */ + + /* Write "n" bytes to a descriptor. */ + ssize_t writen(int fd, const void *vptr, size_t n) diff --git a/www/kwebwatch/files/patch-ai b/www/kwebwatch/files/patch-ai new file mode 100644 index 000000000000..da288f673e44 --- /dev/null +++ b/www/kwebwatch/files/patch-ai @@ -0,0 +1,11 @@ +--- kwebwatch/Makefile.in.orig Sat Jul 1 02:26:48 2000 ++++ kwebwatch/Makefile.in Sat Jul 1 02:26:56 2000 +@@ -169,7 +169,7 @@ + + # the libraries to link against. Be aware of the order. First the libraries, + # that depend on the following ones. +-kwebwatch_LDADD = -ldb -lkdeui -lkdecore -lkfile -lkfm -lqt -lX11 -lXext @LIBSOCKET@ ++kwebwatch_LDADD = -lkdeui -lkdecore -lkfile -lkfm -lqt -lX11 -lXext @LIBSOCKET@ + + # this option you can leave out. Just, if you use "make dist", you need it + #noinst_HEADERS = main.h mainwidget.h dockwidget.h mainlistbox.h \ diff --git a/www/kwebwatch/files/patch-aj b/www/kwebwatch/files/patch-aj new file mode 100644 index 000000000000..61d43d645d07 --- /dev/null +++ b/www/kwebwatch/files/patch-aj @@ -0,0 +1,19 @@ +--- kwebwatch/utils.h.orig Sat Jul 1 03:35:28 2000 ++++ kwebwatch/utils.h Sat Jul 1 03:44:47 2000 +@@ -37,10 +37,14 @@ + "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }; + + const char* const timechoices[] = { "6 hours", "24 hours", "12 hours", "3 hours", +- "1 hour", "30 minutes", "10 minutes", 0 }; ++ "1 hour", "30 minutes", "10 minutes", ++ "1 week", "1 month", "3 months", ++ "6 months", "1 year", 0 }; + + const int time_in_seconds[] = { 6*60*60, 24*60*60, 12*60*60, +- 3*60*60, 60*60, 30*60, 10*60 }; ++ 3*60*60, 60*60, 30*60, 10*60, ++ 7*24*60*60, 30*24*60*60, 3*30*24*60*60, ++ 6*30*24*60*60, 365*24*60*60 }; + + QDateTime* GetDateTimeFromString( QString str ); + QString StripTime( QDateTime dt ); diff --git a/www/kwebwatch/pkg-comment b/www/kwebwatch/pkg-comment new file mode 100644 index 000000000000..45332e7dac98 --- /dev/null +++ b/www/kwebwatch/pkg-comment @@ -0,0 +1 @@ +Monitors your favorite web pages and notifies you of updates diff --git a/www/kwebwatch/pkg-descr b/www/kwebwatch/pkg-descr new file mode 100644 index 000000000000..6d2e0844ef40 --- /dev/null +++ b/www/kwebwatch/pkg-descr @@ -0,0 +1,7 @@ +KWebWatch is a utility designed to run in the background and +periodically poll a user's favorite web sites, looking for changes. +Additionally, KWebWatch serves as a launching pad for viewing +favorite web sites, using whatever browser is preferred on a URL +by URL basis. + +WWW: http://linuxberg.uol.com.br/kdehtml/preview/021-008-008-013C.html diff --git a/www/kwebwatch/pkg-plist b/www/kwebwatch/pkg-plist new file mode 100644 index 000000000000..b25e0c52e846 --- /dev/null +++ b/www/kwebwatch/pkg-plist @@ -0,0 +1,25 @@ +bin/kwebwatch +share/applnk/Internet/kwebwatch.kdelnk +share/apps/kwebwatch/pics/kww_eye.xpm +share/apps/kwebwatch/pics/kww_eye_new.xpm +share/apps/kwebwatch/pics/kww_green-bullet.xpm +share/apps/kwebwatch/pics/kww_grey-bullet.xpm +share/apps/kwebwatch/pics/kww_new.xpm +share/apps/kwebwatch/pics/kww_red-bullet.xpm +share/doc/HTML/en/kwebwatch/index.html +share/doc/HTML/en/kwebwatch/kwebwatch-1.html +share/doc/HTML/en/kwebwatch/kwebwatch-10.html +share/doc/HTML/en/kwebwatch/kwebwatch-2.html +share/doc/HTML/en/kwebwatch/kwebwatch-3.html +share/doc/HTML/en/kwebwatch/kwebwatch-4.html +share/doc/HTML/en/kwebwatch/kwebwatch-5.html +share/doc/HTML/en/kwebwatch/kwebwatch-6.html +share/doc/HTML/en/kwebwatch/kwebwatch-7.html +share/doc/HTML/en/kwebwatch/kwebwatch-8.html +share/doc/HTML/en/kwebwatch/kwebwatch-9.html +share/doc/HTML/en/kwebwatch/logotp3.gif +share/icons/kwebwatch.xpm +share/icons/mini/kwebwatch.xpm +@dirrm share/apps/kwebwatch/pics +@dirrm share/apps/kwebwatch +@dirrm share/doc/HTML/en/kwebwatch |