summaryrefslogtreecommitdiff
path: root/news/newscache
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>1999-08-22 13:44:19 +0000
committerrh <rh@pkgsrc.org>1999-08-22 13:44:19 +0000
commitcbf16a4308a8db95784e364c54966a0059859b81 (patch)
tree9e3b932c5f9ffe3558709e9df6b2b01bc54d01cf /news/newscache
parent01cb9dd4221eb193e6a7528f13a53bc34ca7b557 (diff)
downloadpkgsrc-cbf16a4308a8db95784e364c54966a0059859b81.tar.gz
Initial import of newscache-0.99.15, a free cache server for USENET News.
Diffstat (limited to 'news/newscache')
-rw-r--r--news/newscache/Makefile13
-rw-r--r--news/newscache/files/md53
-rw-r--r--news/newscache/files/patch-sum6
-rw-r--r--news/newscache/patches/patch-aa33
-rw-r--r--news/newscache/patches/patch-ab17
-rw-r--r--news/newscache/patches/patch-ac21
-rw-r--r--news/newscache/patches/patch-ad16
-rw-r--r--news/newscache/pkg/COMMENT1
-rw-r--r--news/newscache/pkg/DESCR23
-rw-r--r--news/newscache/pkg/PLIST16
10 files changed, 149 insertions, 0 deletions
diff --git a/news/newscache/Makefile b/news/newscache/Makefile
new file mode 100644
index 00000000000..b120f0ead98
--- /dev/null
+++ b/news/newscache/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/08/22 13:44:19 rh Exp $
+#
+
+DISTNAME= NewsCache-0.99.15
+CATEGORIES= news
+MASTER_SITES= http://www.infosys.tuwien.ac.at/NewsCache/download/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.infosys.tuwien.ac.at/NewsCache/
+
+GNU_CONFIGURE= YES
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/news/newscache/files/md5 b/news/newscache/files/md5
new file mode 100644
index 00000000000..0db1bbf33a3
--- /dev/null
+++ b/news/newscache/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/08/22 13:44:20 rh Exp $
+
+MD5 (NewsCache-0.99.15.tar.gz) = f2358e3bfb2ffa0086ce329161439616
diff --git a/news/newscache/files/patch-sum b/news/newscache/files/patch-sum
new file mode 100644
index 00000000000..fe5b54a99c0
--- /dev/null
+++ b/news/newscache/files/patch-sum
@@ -0,0 +1,6 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/08/22 13:44:20 rh Exp $
+
+MD5 (patch-aa) = e9a3c2d240477f824dc9ae9e2aa4c1c0
+MD5 (patch-ab) = e8adc00a54ccb02f8e90301f67c510a5
+MD5 (patch-ac) = 6dd55e38d56b56109d5fe8cc910009e4
+MD5 (patch-ad) = 80398a0de9f5e0c23abbc664ba843f80
diff --git a/news/newscache/patches/patch-aa b/news/newscache/patches/patch-aa
new file mode 100644
index 00000000000..355fb4d0edb
--- /dev/null
+++ b/news/newscache/patches/patch-aa
@@ -0,0 +1,33 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/08/22 13:44:20 rh Exp $
+
+--- configure.orig Sat Jul 3 23:14:38 1999
++++ configure Sun Aug 22 13:34:41 1999
+@@ -1181,6 +1181,8 @@
+ /* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+ char hosts_ctl();
++int allow_severity;
++int deny_severity;
+
+ int main() {
+ hosts_ctl()
+@@ -1207,9 +1209,10 @@
+ #define $ac_tr_lib 1
+ EOF
+
+- LIBS="-lwrap $LIBS"
++ LIBWRAP="-lwrap"
+
+ else
++ LIBWRAP=""
+ echo "$ac_t""no" 1>&6
+ fi
+
+@@ -2361,6 +2364,7 @@
+ s%@DEFS@%$DEFS%g
+ s%@LDFLAGS@%$LDFLAGS%g
+ s%@LIBS@%$LIBS%g
++s%@LIBWRAP@%$LIBWRAP%g
+ s%@exec_prefix@%$exec_prefix%g
+ s%@prefix@%$prefix%g
+ s%@program_transform_name@%$program_transform_name%g
diff --git a/news/newscache/patches/patch-ab b/news/newscache/patches/patch-ab
new file mode 100644
index 00000000000..411b52dfa42
--- /dev/null
+++ b/news/newscache/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/08/22 13:44:20 rh Exp $
+
+--- src/NewsCache.cc.orig Mon Jul 5 15:47:32 1999
++++ src/NewsCache.cc Sun Aug 22 13:41:40 1999
+@@ -18,9 +18,12 @@
+ */
+ #include "config.h"
+
++#ifdef HAVE_CRYPT_H
+ #include <crypt.h>
++#endif
+ #include <ctype.h>
+ #include <unistd.h>
++#include <stdio.h>
+ #include <string.h>
+ #include <errno.h>
+ #include <netinet/in.h>
diff --git a/news/newscache/patches/patch-ac b/news/newscache/patches/patch-ac
new file mode 100644
index 00000000000..357dfacccfa
--- /dev/null
+++ b/news/newscache/patches/patch-ac
@@ -0,0 +1,21 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/08/22 13:44:20 rh Exp $
+
+--- src/Makefile.in.orig Mon Jul 5 19:08:49 1999
++++ src/Makefile.in Sun Aug 22 13:37:26 1999
+@@ -120,6 +120,7 @@
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
++LIBWRAP = @LIBWRAP@
+ cConfig_OBJECTS = AccessList.o cConfig.o Config.o
+ cConfig_LDADD = $(LDADD)
+ cConfig_DEPENDENCIES = ../NServer-0.9.1/libnserver.a \
+@@ -264,7 +265,7 @@
+
+ NewsCache: $(NewsCache_OBJECTS) $(NewsCache_DEPENDENCIES)
+ @rm -f NewsCache
+- $(CXXLINK) $(NewsCache_LDFLAGS) $(NewsCache_OBJECTS) $(NewsCache_LDADD) $(LIBS)
++ ${CXXLINK} ${NewsCache_LDFLAGS} ${NewsCache_OBJECTS} ${NewsCache_LDADD} ${LIBS} ${LIBWRAP}
+
+ NewsCacheClean: $(NewsCacheClean_OBJECTS) $(NewsCacheClean_DEPENDENCIES)
+ @rm -f NewsCacheClean
diff --git a/news/newscache/patches/patch-ad b/news/newscache/patches/patch-ad
new file mode 100644
index 00000000000..cb03616c255
--- /dev/null
+++ b/news/newscache/patches/patch-ad
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.1.1.1 1999/08/22 13:44:20 rh Exp $
+
+--- doc/NewsCache.info.orig Thu Jan 14 20:24:53 1999
++++ doc/NewsCache.info Sun Aug 22 14:03:42 1999
+@@ -1,6 +1,11 @@
+ This is Info file NewsCache.info, produced by Makeinfo version 1.68
+ from the input file NewsCache.texinfo.
+
++INFO-DIR-SECTION Net Utilities
++START-INFO-DIR-ENTRY
++* NewsCache: (NewsCache). NewsCache Reference Manual.
++END-INFO-DIR-ENTRY
++
+ This is the NewsCache Reference Manual.
+
+ Copyright (C) 1998 Thomas Gschwind <tom@infosys.tuwien.ac.at>
diff --git a/news/newscache/pkg/COMMENT b/news/newscache/pkg/COMMENT
new file mode 100644
index 00000000000..32587275cb9
--- /dev/null
+++ b/news/newscache/pkg/COMMENT
@@ -0,0 +1 @@
+a free cache server for USENET News
diff --git a/news/newscache/pkg/DESCR b/news/newscache/pkg/DESCR
new file mode 100644
index 00000000000..e7afbcb0e38
--- /dev/null
+++ b/news/newscache/pkg/DESCR
@@ -0,0 +1,23 @@
+ NewsCache is a free cache server for USENET News available under the GNU
+General Public License. NewsCache can be plugged in between your news
+reader(s) and your news server. NewsCache acts to news readers like a news
+server and retrieves news articles from the news server like a news reader.
+Whenever, a client requests an article from NewsCache, NewsCache checks
+whether the article has already been stored in the cache area. If this is
+the case, the article is sent directly to its client. Otherwise, the article
+is requested from the upstream news server, stored in the cache area and sent
+back to the client.
+
+ NewsCache provides the following functionality:
+
+ * Offline news reading.
+ * Small articles are stored within a single database. This improves
+ performance and reduces the number of inodes used of your system.
+ * The overview-database is generated on the fly for articles already
+ cached by the cache server.
+ * This reduces the amount of disk space used, but decreases performance
+ slightly.
+ * The newsgroup-database is now managed as an array instead of a list to
+ allow direct access to articles.
+ * Merging different news servers to a virtual feed (on a per newsgroup
+ basis).
diff --git a/news/newscache/pkg/PLIST b/news/newscache/pkg/PLIST
new file mode 100644
index 00000000000..af1f9bb7823
--- /dev/null
+++ b/news/newscache/pkg/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/08/22 13:44:19 rh Exp $
+bin/updatenews
+etc/newscache.conf-dist
+@unexec install-info --delete %D/info/NewsCache.info %D/info/dir
+info/NewsCache.info
+@exec install-info %D/info/NewsCache.info %D/info/dir
+man/man5/newscache.conf.5
+man/man8/NewsCache.8
+man/man8/NewsCacheClean.8
+man/man8/updatenews.8
+sbin/NewsCache
+sbin/NewsCacheClean
+sbin/accesslog
+sbin/cachestat
+sbin/hostlog
+sbin/hoststat