Leafnode v1.11 is a simple, IPv6 enabled NNTP server and client
designed for small sites. (Think store & forward proxy if you like.)
It "learns" which newsgroups should be downloaded based on what's accessed.
Use it to enable online newsreaders to offline reading or to reduce your
external bandwidth if you have several users accessing Usenet news.
@postunexec if test -d "/var/spool/leafnode" || test -d "%D/etc/leafnode" ; then echo ; echo "==============================================================================" ; echo "If you want to remove leafnode for good, delete spool and configuration:" ; echo "type: rm -rf %D/etc/leafnode /var/spool/leafnode" ; echo "==============================================================================" ; fi
===> The following configuration options are available for leafnode-1.12.0_1:
DOCS=on: Build and/or install documentation
===> 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: 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 )
news/leafnode: update to 1.12.0
- switched to PCRE2 library, https://github.com/PhilipHazel/pcre2
- Documentation for running under daemontools/ucspi-tcp (tcpserver)
has been removed, only UNINSTALL-daemontools remains as documentation.
After an include, PLIST_SUB must be appended to, not overwritten.
If it is overwritten, many values will be clobbered, and
pain will ensue.
PR: 230864
Submitted by: mat
exp-runs by: antoine
Remove support for variables that have been deprecated for a while.
variables deprecation revision
WITHOUT_NLS 2013-12-13 r336337
WITH_/WITHOUT_ 2014-02-24 r345870
NOPORT(DOC|EXAMPLE)S 2014-04-19 r351587
WITH_BDB_VER 2016-05-02 r414444
OVERRIDE_LINUX_BASE_PORT 2016-09-05 r421387
WITH_OPENSSL_(BASE|PORT) 2016-06-16 r416965
While there, add an ERROR variable that works like DEV_ERROR, but for
user facing errors, and move NOPORTDOCS,
NOPORTEXAMPLES and WITHOUT_NLS to it.
Cleanup bsd.sanity.mk a bit.
Fix fallout.
PR: 224613
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D13490
The vast majority of pkg-descr files had the following format when they
had both lines:
Author: ...
WWW: ....
So standardize on that, and move them to the end of the file when necessary.
Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.
s/AUTHOR/Author/
A few other various formatting issues
- Retire MASTER_SITE_SOURCEFORGE_EXTENDED, it's no longer needed - all mirrors
actually have all distfiles
- Merge all SF mirrors to MASTER_SITE_SOURCEFORGE, resort according to quick
download speed survey
- Fix MASTER_SITES for all port that have used SOURCEFORGE_EXTENTED
Approved by: portmgr (pav)
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk
(Only the first 15 lines of the commit message are shown above )
- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them. This is determined by running ``configure --help'' in
do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
subdirectory detection.
PR: ports/111470
Approved by: portmgr
Discussed with: stas (Mk/*), gerald (info related stuffs)
Tested by: pointyhat exp run
- Update to 1.11.6 RC1
- Respect PREFIX
- Rearrange master sites order, so we don't try all sf and sunsite mirrors
first (the rc version only exists on local mirror).
PR: ports/109527
Submitted by: Matthias Andree <matthias.andree at gmx.de> (maintainer)
- Update to 1.11.3 [1]
- When pkg-install is called by pkg_add:
- respect ${LEAFNODE_SPOOLDIR}
- set same directory permissions than the port
PR: ports/82056 [1]
Submitted by: maintainer [1]
Fix a bug that could cause the refetch of the multi-MByte active
file from ALL servers when one server was unreachable.
PR: ports/72297
Submitted by: maintainer
Approved by: portmgr (implicit)
- Update to 1.9.48
### SECURITY BUGFIX ###
- Fetchnews: when a. minlines=0 (default) and b. delaybody=0 (default) and
either c. no filterfile is configured (default) or a. and b. and d.
article_despite_filter=1 are configured, an article with missing mandatory
headers and without body can hang fetchnews and/or prevent the fetch of
further articles from the current group or server.
Reported by Toni Viemer?, SourceForge bug 873149.
This was a denial-of-service bug, not one that could lead to local or remote
privilege escalation.
PR: 61105
Submitted by: Matthias Andree <matthias.andree@gmx.de>
Approved by: erwin (mentor) (implicitly)
- Update to 1.9.46
* Minor bugfixes, NTL workaround update, documentation fixes
- Drop IPv6 category since only some parts are IPv6 capable, not
the entire package. This is to prevent any false hopes of full
IPv6 capability
PR: 60016
Submitted by: Matthias Andree <matthias.andree@gmx.de> (maintainer)
Maintainer update [1]:
- Update to 1.9.45, lots of bugfixes, too many to list here,
see http://mandree.home.pages.de/leafnode/NEWS
- Install German manual pages into standard location so that man(1) can find
them. (MANLANG and all that, along the lines used in security/nmap)
- Fix up NOPORTDOCS mode so it actually works
- Fix pkg-message to not contain the same text twice
While I'm here [2]:
- simplify/shorten post-install target a bit by using few new variables
and unrolling loops
- rename ${PREFIX}/share/doc/leafnode/doc_german to just .../german.
I think extra "doc_" there is unnecessary
- s/ECHO/ECHO_MSG/
- whitespace changes to shorten line lengths in Makefile
PR: 58799 [1]
Submitted by: maintainer [1], sergei [2]
Approved by: maintainer [2]
- Update to version 1.9.43
o Bug fixes
o Documentation enhancements
o Major speedup in post-download
fetchnews XOVER update process
o Use %%DOCSDIR%% in pkg-plist
o Convert spaces to TABs in Makefile to make portlint happy
PR: 56470
Submitted by: maintainer
Update to 1.9.42. Bugfixes:
- Check lastreply() against NULL, in an effort to fix obscure sporadic and
non-reproducable crashes on OpenBSD sparc64.
- Fix bogus "Cannot open .../interesting.group/group.name for reading" when a
group subscription has expired.
- Fix hang when trying to download an article that lacked mandatory headers.
PR: 53838
Submitted by: Matthias Andree <matthias.andree@gmx.de>
This update to 1.9.40 fixes a "leafnode abort()" bug when leafnode
creates a Date: line, for example as part of a pseudo article.
PR: 51966
Submitted by: Matthias Andree <matthias.andree@web.de>
* Update to upstream version 1.9.36, fixing download issues when filters
are configured.
* LOCALBASE -> PREFIX
* Fix extra files after uninstall
* Add "deinstall for good" instructions.
* Use the more efficient quickmkdir program from pkg-install.
* Move spooldir into ${PREFIX} and lockfile into ${SPOOLDIR}
(compatibility hack for ports that aren't turned into packages to allow for
continued use of /var/spool/news for ${SPOOLDIR} is in place)
* Execute pkg-install contents only once (in POST-INSTALL phase).
PR: 48750
Submitted by: Matthias Andree <matthias.andree@web.de>
Drop some URLs of unfetchable distfiles, and reorder SourceForge
to the top because they are a) first to carry the distfiles, b) the
most reliable site.
Thanks to Bill Fenner for his portsurvey and unfetchable distfile
reminders.
PR: 48222
Submitted by: Matthias Andree <matthias.andree@web.de>
* Pass maintainership to Matthias Andree.
* Update to 1.9.29, which fixes a persistent SIGSEGV as upstream
NNTP servers offer new newsgroups, and fixes having multiple
upstream servers with the same name but different port.
* Add another critical bugfix.
PR: 45151
Submitted by: Matthias Andree <matthias.andree@web.de>
Approved by: brian
Update to 1.9.27, fixing a bug that caused leafnode to
get stuck in an infinite loop on machines with a larger
than usual number of interfaces.
PR: 43346
Submitted by: Matthias Andree <matthias.andree@web.de>
Approved by: Will (portsmgr)
Upgrade to 1.9.24
NOTE: You may need to ``allowSTRANGERS = 42'' in the config file if you're
also using IPv6.
Submitted by: Matthias Andree <matthias.andree@gmx.de>