aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1997-02-22 22:56:46 +0800
committerandreas <andreas@FreeBSD.org>1997-02-22 22:56:46 +0800
commit959d95bcd7306a7fbb6fcc2d2f1a243ec2287f40 (patch)
tree2a5e64af89fdfaccce6fb1132eb165ab21ce4025 /news
parentbf858cc86bbfed1e9c466359f9d60f1482852b78 (diff)
downloadfreebsd-ports-gnome-959d95bcd7306a7fbb6fcc2d2f1a243ec2287f40.tar.gz
freebsd-ports-gnome-959d95bcd7306a7fbb6fcc2d2f1a243ec2287f40.tar.zst
freebsd-ports-gnome-959d95bcd7306a7fbb6fcc2d2f1a243ec2287f40.zip
New port dnews 2.7q.
This is the last official release of dnews and it's a FreeBSD binary ;-) Remember 4 weeks trial, after that you have to get a licence, even if you are a school or univerity, which get it for free.
Diffstat (limited to 'news')
-rw-r--r--news/dnews/Makefile86
-rw-r--r--news/dnews/distinfo1
-rw-r--r--news/dnews/files/dnews.sh12
-rw-r--r--news/dnews/pkg-comment1
-rw-r--r--news/dnews/pkg-descr82
-rw-r--r--news/dnews/pkg-plist19
6 files changed, 201 insertions, 0 deletions
diff --git a/news/dnews/Makefile b/news/dnews/Makefile
new file mode 100644
index 000000000000..46ec28676f0f
--- /dev/null
+++ b/news/dnews/Makefile
@@ -0,0 +1,86 @@
+# New ports collection makefile for: dnews
+# Version required: 27q
+# Date created: Sa 22 Feb 1997 14:38:05 MET
+# Whom: Andreas Klemm <andreas@klemm.gtn.com>
+#
+# $Id$
+#
+
+DISTNAME= dnews
+CATEGORIES= news
+MASTER_SITES= ftp://ftp.netwinsite.com/pub/netwinsite/dnews/
+DISTFILES= dnews27q_freebsd.tar.Z
+
+MAINTAINER= andreas@FreeBSD.ORG
+
+NO_CDROM= "have to ask the company, if we are allowed to put it on CDROM"
+RESTRICTED= "only free for non-profit organis. like schools + universities"
+NO_PACKAGE= "we are not allowed, sorry"
+
+# dnewsweb is a cgi program that allows you to read and post news through
+# your WWW Navigator of your choice, so that you don't need a special
+# news reader. Default is, not to install dnewsweb.
+
+pre-fetch:
+.if !defined(DNEWSWEB)
+ @${ECHO} "Install with dnewsweb cgi script, that enables you to "
+ @${ECHO} "read and post news using a Web Browser of your choice"
+ @${ECHO} "by typing \"make DNEWSWEB=yes install\"."
+.else
+ @${ECHO} "Installing with dnewsweb support"
+RUN_DEPENDS= ${PREFIX}/sbin/httpd:${PORTSDIR}/www/apache
+.endif
+
+# nothing to make, binary only
+NO_BUILD= yes
+
+# dnews' install script installs with too restrictive permissions
+# (only rwx for the owner news) and installs unneeded stuff into
+# the library directory, therefore I rearranged the installation:
+
+INST_PRG=${INSTALL} ${COPY} ${STRIP} -o news -g news -m 550
+INST_SCR=${INSTALL} ${COPY} -o news -g news -m 554
+INST_DAT=${INSTALL} ${COPY} -o news -g news -m 644
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/tellnews ${PREFIX}/bin
+ @${MKDIR} ${PREFIX}/dnews
+ @chown news.news ${PREFIX}/dnews
+ @chmod 0755 ${PREFIX}/dnews
+ @${INST_PRG} ${WRKSRC}/dnews ${PREFIX}/dnews
+ @${INST_PRG} ${WRKSRC}/dnews_start ${PREFIX}/dnews
+ @${INST_PRG} ${WRKSRC}/dposter ${PREFIX}/dnews
+ @${INST_PRG} ${WRKSRC}/xmit ${PREFIX}/dnews
+ @${INST_SCR} ${WRKSRC}/fixowner.sh ${PREFIX}/dnews
+ @${INST_DAT} ${WRKSRC}/access.conf ${PREFIX}/dnews
+ @${INST_DAT} ${WRKSRC}/control.conf ${PREFIX}/dnews
+ @${INST_DAT} ${WRKSRC}/dnews.conf ${PREFIX}/etc
+ @ln -sf ${PREFIX}/etc/dnews.conf /etc
+ @${INST_DAT} ${WRKSRC}/expire.conf ${PREFIX}/dnews
+ @${INST_DAT} ${WRKSRC}/fts.conf ${PREFIX}/dnews
+ @${INST_DAT} ${WRKSRC}/moderators.conf ${PREFIX}/dnews
+ @${INST_DAT} ${WRKSRC}/newsfeeds.conf ${PREFIX}/dnews
+ @${INST_DAT} ${WRKSRC}/nocached.body ${PREFIX}/dnews
+ @${INST_DAT} ${WRKSRC}/nocached.head ${PREFIX}/dnews
+ @${INST_DAT} ${WRKSRC}/install.txt ${PREFIX}/dnews
+ @${INST_DAT} ${WRKSRC}/license.txt ${PREFIX}/dnews
+ @${INST_DAT} ${WRKSRC}/manual.txt ${PREFIX}/dnews
+ @${MKDIR} /var/spool/dnews
+ @chown news.news /var/spool/dnews
+ @chmod 755 /var/spool/dnews
+ @${INSTALL_SCRIPT} ${FILESDIR}/dnews.sh ${PREFIX}/etc/rc.d
+.if defined(DNEWSWEB)
+ @${INSTALL_PROGRAM} ${WRKSRC}/dnewsweb ${PREFIX}/www/cgi-bin
+ @${INSTALL_DATA} ${WRKSRC}/dnewsweb.ini ${PREFIX}/www/cgi-bin
+ @${INSTALL_DATA} ${WRKSRC}/dnewsweb.txt ${PREFIX}/www/cgi-bin
+.endif
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "*** DNEWS is NOT free !!!"
+ @${ECHO_MSG} "*** Please read ${PREFIX}/dnews/license.txt"
+ @${ECHO_MSG} "*** Edit the following config files before use:"
+ @${ECHO_MSG} "/etc/dnews.conf, ${PREFIX}/dnews/*.conf"
+.if defined(DNEWSWEB)
+ @${ECHO_MSG} "and ${PREFIX}/www/cgi-bin/dnewsweb.ini !"
+.endif
+
+.include <bsd.port.mk>
diff --git a/news/dnews/distinfo b/news/dnews/distinfo
new file mode 100644
index 000000000000..36dd2e0e71b7
--- /dev/null
+++ b/news/dnews/distinfo
@@ -0,0 +1 @@
+MD5 (dnews27q_freebsd.tar.Z) = 5c10f132bcbb4e4f34f3e959a283ab7b
diff --git a/news/dnews/files/dnews.sh b/news/dnews/files/dnews.sh
new file mode 100644
index 000000000000..728457695634
--- /dev/null
+++ b/news/dnews/files/dnews.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# start dnews if it's really there ... usually in /usr/local ...
+
+[ -x /usr/local/dnews/dnews_start ] \
+ && /usr/local/dnews/dnews_start > /dev/null 2>&1 &
+
+# dnews started successfully if exit status = 0
+
+if [ $? -eq 0 ]; then
+ echo -n ' dnews'
+fi
diff --git a/news/dnews/pkg-comment b/news/dnews/pkg-comment
new file mode 100644
index 000000000000..ca3636475566
--- /dev/null
+++ b/news/dnews/pkg-comment
@@ -0,0 +1 @@
+commercial nntp server with feature and speed enhancements over inn and cnews
diff --git a/news/dnews/pkg-descr b/news/dnews/pkg-descr
new file mode 100644
index 000000000000..6bed76ffaf51
--- /dev/null
+++ b/news/dnews/pkg-descr
@@ -0,0 +1,82 @@
+Copyright note
+==============
+
+ ==> four week free trial period
+ ==> free for approved non-profit organisations like schools or
+ universities. But you still need to *register* your free copy
+ of DNEWS News Server to get the free license key.
+ ==> *payware* for other people and organisations
+
+More Infos
+==========
+
+ http://netwinsite.com/
+
+DNEWS Feature list
+==================
+
+ Dynamic sucking feed.
+ A sucking feed may use as little as 10% of the normal
+ disk space and network bandwidth.
+ By only getting news items that people usually read
+ very large savings are possible particularly for small
+ sites & workgroups. A hundred users can be supported
+ on 100 MB depending on their reading habbits!
+ I run a single user server on my NT as a background
+ service, it's using less than 5MB.
+ Flexible expire settings
+ By allowing expiration by 'number of items' low volume groups
+ become much more useful. Also by allowing settings
+ which change with disk space the system is much more
+ stable to large influxes of news.
+ Flexible access restrictions
+ Reading and Posting access can be given separately to
+ to different users and selections of news groups.
+ Binarys available for common platforms
+ On many platforms you do not need to build the binary
+ yourself, e.g. VMS, (VAX & ALPHA), Solaris, Linux, Windows NT
+ Email confirmation of posts
+ DNEWS can be configured to send email confirmations as it
+ sends items up to a main news server. This gives users
+ a clear record of a posted item and it's successful
+ transfer into the 'net'.
+ Items stored in a database
+ Items are stored in a database which puts items together
+ in blocks of 100. This saves directory entries, inodes,
+ and the empty space usually wasted due to blocking factors.
+ Also file open and closes are minimized, this is essential
+ on systems where this is a 'costly' operation, e.g. VMS.
+ Compiling and porting relatively easy
+ DNEWS was designed to be portable from the ground up, it
+ does not rely on obscure UNIX features.
+ Installation easy, totally configurable without recompiling
+ DNEWS can be configured without recompiling and all
+ the configuration scripts have been simplified where
+ possible.
+ Documentated
+ A user manual is available.
+ Supported
+ EMAIL support is available for help with installation
+ and management.
+ Speed
+ On comparable systems DNEWS typically out performs other
+ news software, (even the likes of CNEWS and INN in some
+ instances), other VMS news servers don't even come close.
+ This is partly because DNEWS uses a more advanced database
+ to store the news items. The difference is also very
+ noteable on smaller systems (e.g. Linux)
+ XOVER implemented in software
+ No xover database is created, the normal DNEWS database
+ is fast enough to create this information 'on the fly'
+ Streaming support
+ Streaming NNTP extensions are built in.
+ Strictly limited machine impact due to single threaded nature.
+ DNEWS runs on a single process, this speeds up connect
+ time as a process does not need to be created, and it
+ self-limits the impact on the system.
+Limitations
+===========
+
+ DNEWS does not store items in the same file structure as used by
+ INN and CNEWS, so old software which accesses these files directly
+ will not work.
diff --git a/news/dnews/pkg-plist b/news/dnews/pkg-plist
new file mode 100644
index 000000000000..62b78f52aaaa
--- /dev/null
+++ b/news/dnews/pkg-plist
@@ -0,0 +1,19 @@
+bin/tellnews
+dnews/access.conf
+dnews/control.conf
+dnews/dnews
+dnews/dnews_start
+dnews/dposter
+dnews/expire.conf
+dnews/fixowner.sh
+dnews/fts.conf
+dnews/install.txt
+dnews/license.txt
+dnews/manual.txt
+dnews/moderators.conf
+dnews/newsfeeds.conf
+dnews/nocached.body
+dnews/nocached.head
+dnews/xmit
+etc/dnews.conf
+etc/rc.d/dnews.sh