summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
Diffstat (limited to 'news')
-rw-r--r--news/newsx/DESCR13
-rw-r--r--news/newsx/Makefile21
-rw-r--r--news/newsx/PLIST7
-rw-r--r--news/newsx/distinfo5
-rw-r--r--news/newsx/patches/patch-aa41
5 files changed, 87 insertions, 0 deletions
diff --git a/news/newsx/DESCR b/news/newsx/DESCR
new file mode 100644
index 00000000000..e837cb67db1
--- /dev/null
+++ b/news/newsx/DESCR
@@ -0,0 +1,13 @@
+Newsx is an NNTP client for Unix. It will connect to a remote NNTP server and
+post outgoing articles batched by the news system, as well as fetch incoming
+articles.
+
+It provides the NNTP capabilities required for small local news spools on
+installations with NNTP access only through limited ISP accounts. It works well
+via a dialup SLIP/PPP connection.
+
+Newsx is also well suited for large spools with normal feeds, being used for
+pulling newsgroups from specific NNTP servers that are not distributed in the
+usual manner. Since newsx obeys the normal news spool configuration file and
+requires little or no specific configuration, the administrative burden should
+be minimized.
diff --git a/news/newsx/Makefile b/news/newsx/Makefile
new file mode 100644
index 00000000000..c5b7c9d8bba
--- /dev/null
+++ b/news/newsx/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/31 13:28:36 cube Exp $
+#
+
+DISTNAME= newsx-1.6
+CATEGORIES= news
+MASTER_SITES= ftp://ftp.kvaleberg.com/pub/
+
+MAINTAINER= cube@NetBSD.org
+HOMEPAGE= http://www.kvaleberg.com/newsx.html
+COMMENT= NNTP news exchange program
+
+GNU_CONFIGURE= YES
+USE_BUILDLINK2= YES
+
+.include "../../news/inn/Makefile.common"
+CONFIGURE_ARGS+= --with-newshome=${INN_PREFIX}/lib
+CONFIGURE_ARGS+= --with-rnews=${INN_PREFIX}/bin/rnews
+CONFIGURE_ARGS+= --with-inews=${INN_PREFIX}/bin/inews
+
+.include "../../news/inn/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/news/newsx/PLIST b/news/newsx/PLIST
new file mode 100644
index 00000000000..3e20ee1c1db
--- /dev/null
+++ b/news/newsx/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/31 13:28:36 cube Exp $
+bin/newsx
+bin/newsq
+man/man1/newsq.1
+man/man5/newsx.conf.5
+man/man5/in.hosts.5
+man/man8/newsx.8
diff --git a/news/newsx/distinfo b/news/newsx/distinfo
new file mode 100644
index 00000000000..c59ca02efef
--- /dev/null
+++ b/news/newsx/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/31 13:28:36 cube Exp $
+
+SHA1 (newsx-1.6.tar.gz) = e128e89ba161ceb4ab6d652d8c132ae3a33fbb20
+Size (newsx-1.6.tar.gz) = 302821 bytes
+SHA1 (patch-aa) = 3928dcda9f7c1686a598dd38e141c96373280aa5
diff --git a/news/newsx/patches/patch-aa b/news/newsx/patches/patch-aa
new file mode 100644
index 00000000000..8a68aa5c657
--- /dev/null
+++ b/news/newsx/patches/patch-aa
@@ -0,0 +1,41 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/12/31 13:28:36 cube Exp $
+
+--- configure.orig 2003-05-18 19:25:34.000000000 +0200
++++ configure
+@@ -1965,35 +1965,8 @@ echo $ECHO_N "checking history... $ECHO_
+ fi
+ fi
+ if test -f $HISTORY; then
+- if test -f $HISTORY.index; then
+- echo "$as_me:$LINENO: result: $HISTORY" >&5
+-echo "${ECHO_T}$HISTORY" >&6
+- elif test -f $HISTORY.pag; then
+-
+-cat >>confdefs.h <<_ACEOF
+-#define DO_TAGGED_HASH 1
+-_ACEOF
+-
+- echo "$as_me:$LINENO: result: $HISTORY" >&5
+-echo "${ECHO_T}$HISTORY" >&6
+- elif test -f $HISTORY.n.index; then
+- echo "$as_me:$LINENO: result: $HISTORY" >&5
+-echo "${ECHO_T}$HISTORY" >&6
+- elif test -f $HISTORY.n.pag; then
+-
+-cat >>confdefs.h <<_ACEOF
+-#define DO_TAGGED_HASH 1
+-_ACEOF
+-
+- echo "$as_me:$LINENO: result: $HISTORY" >&5
++ echo "$as_me:$LINENO: result: $HISTORY" >&5
+ echo "${ECHO_T}$HISTORY" >&6
+- else
+- echo "$as_me:$LINENO: result: ERROR: cannot determine hash mode of $HISTORY" >&5
+-echo "${ECHO_T}ERROR: cannot determine hash mode of $HISTORY" >&6
+- echo "$as_me:$LINENO: result: Try running makehistory first" >&5
+-echo "${ECHO_T}Try running makehistory first" >&6
+- exit 1
+- fi
+ else
+ echo "$as_me:$LINENO: result: ERROR: cannot find database $HISTORY" >&5
+ echo "${ECHO_T}ERROR: cannot find database $HISTORY" >&6