Newsstar fetches news and posts it to a local server; INN, s-news and sn are
supported, and it should be easy to adapt for other servers with some
configuration and extra scripts. It's designed for Unix-like systems, and all
the development was done on Linux.
There are already plenty of other programs to do this, but what makes newsstar
special is that it can make multiple simultaneous connections, not only to
one server, but to several, supporting up to 10 threads. Before fetching each
article it checks that it hasn't already been downloaded by another thread or
in a previous session. It can also pipeline article requests to make better
use of available bandwidth.
I wrote it because a number of ISPs I have used suffer from unreliable
newsfeeds. There is an excellent free server made available by
news.individual.net, but it can be a bit slow at times, and using external
servers uses more bandwidth. Therefore I wanted a program which could fetch
whatever articles my ISP has available, but use the foreign server to avoid
missing posts or getting them very late, and to do it as fast as possible.
@postunexec if [ -d /var/spool/newsstar ] ; then echo "==================================================" ; echo "If you are deinstalling newsstar for good" ; echo "remove the spool: type: rm -rf /var/spool/newsstar"; echo "==================================================" ; fi
===> The following configuration options are available for newsstar-1.5.6_5:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
SSL=on: SSL protocol support
===> Use 'make config' to modify these settings
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
news/newsstar: fix OpenSSL detection & cleanups
OpenSSL detection was broken because it looked for SSL_library_init(),
which has been gone since OpenSSL 1.1.0 already. Patch to look for
OPENSSL_init_ssl() instead.
Replace @exec by @postexec.
Add USES=ncurses.
Rearrange Makefile to reduce complaints from portclippy and portlint.
news: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Adam David <adam@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Andreas Klemm <andreas@klemm.gtn.com>
* Andrey Slusar <anray@FreeBSD.org>
* Brian Somers <brian@FreeBSD.org>
* Carey Jones <mcj@acquiesce.org>
* David O'Brien (obrien@cs.ucdavis.edu)
* Denis Shaposhnikov <dsh@vlink.ru>
* Don Croyle <croyle@gelemna.org>
* Donald Burr <dburr@FreeBSD.org>
* Frederic Cambus
(Only the first 15 lines of the commit message are shown above )
Update `databases/gdbm' to version 1.18.1, an important bugfix release
which restores compatibility with old databases (version 1.8) and some
later versions which were built without mmap(2) support. Due to shlib
version change, bump port revisions of the consumer ports.
PR: 233059
Exp-run by: antoine
Approved by: maintainer (johans, numerous timeouts)
Remove libiconv.so.3 compatibility link that was added in r374303 to
prevent massive PORTREVISION bumps. Bump dependent ports that have not
been bumped since.
Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS. Also remove references to
PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
required additional patches.
Somewhat simplified a linker command line looks like:
${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}
where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us. If possible -L and -l flags need to be
(Only the first 15 lines of the commit message are shown above )
Support staging.
Reorder Makefile targets (post-install after post-patch).
Update to new LIB_DEPENDS format.
Disable chown, and leave that to the package.
Note that this apparently exposes issues with
poudriere testport/make check-orphans due to absolute /var paths.
Convert to OptionsNG.
Fix an installation error to fresh PREFIX directories, where a file was
installed one directory level too close to the root (lib/newsstar) and
renamed.
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
- Update to upstream release 1.5.4 (2009)
+ This unbreaks the build, removing BROKEN= tag.
- For examples, use [NO]PORTEXAMPLES instead of [NO]PORTDOCS
- HAS_CONFIGURE -> GNU_CONFIGURE
- Drop all patches from files/,
+ patch-configure.in and patch-newsstar.in integrated in upstream
+ patch-Makefile.am no longer needed after further upstream fixes
- Drop USE_AUTOTOOLS, we're no longer patching *.ac/*.am files.
- Mark MAKE_JOBS_SAFE for parallel builds.
- Note I cannot actually test the resulting executable for lack of local
news servers, hence I'm not taking maintainership either.
Feature safe: yes
Set USE_PERL5/WANT_PERL as appropriate, for ports that either depend on
perl unconditonally, or conditionally. To be able to conditionalize the
inclusion of bsd.perl.mk, they now need to be defined before the inclusion
of bsd.port.pre.mk.
Hat: portmgr
Change option WITH_SN to WITH_INN and remove RUN_DEPENDS.
Add s-news to COMMENT.
Fix autosearch paths to newsservers.
Fix running overview program if using s-news.
Fix path to sendmail.
Bump portrevision.
PR: ports/70437
Submitted by: maintainer
Add newsstar, a program that fetches news from a number of remote NNTP servers
and posts it to a local server (INN or sn), and also posts outgoing articles
from the local server to the remote ones. It uses a configurable number of
multiple processes or "threads" to maximise bandwidth utilisation. The threads
are coordinated to avoid downloading multiple copies of the same article.
PR: ports/66441
Submitted by: Andrey Slusar <vasallia@ukr.net>