Add nget (modernized replacement for news/nget).
This commit is contained in:
parent
7a12c3bff6
commit
1bec99902d
1
Makefile
1
Makefile
|
@ -2394,6 +2394,7 @@ SUBDIR+= netwox
|
|||
SUBDIR+= netx
|
||||
SUBDIR+= newsboat
|
||||
SUBDIR+= newsboat213
|
||||
SUBDIR+= nget
|
||||
SUBDIR+= nicotine+
|
||||
SUBDIR+= nightfall
|
||||
SUBDIR+= nih-current
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
nget is a command line nntp file grabber.
|
||||
It automatically pieces together multipart postings for easy
|
||||
retrieval, even substituting parts from multiple servers and
|
||||
newsgroups. Handles disconnects gracefully, resuming after the
|
||||
last part succesfully downloaded.
|
||||
|
||||
This version replaces news/nget because it became too out of date
|
||||
to compile with gcc 7.
|
||||
|
||||
Features:
|
||||
* Automatic multi-part post joining
|
||||
* Automatic binary decoding (using uulib)
|
||||
* Caches header data for quick access
|
||||
* Full multi-server support, transparently joining parts
|
||||
from different servers
|
||||
* Full multi-group support, transparently joining parts from
|
||||
multiple newsgroups
|
||||
* Automatic retries on network errors
|
||||
* Resumes after the last part successfully downloaded
|
||||
* Dupe file detection to avoid unneeded downloads
|
||||
* Select what to retrieve based upon a regular expresson (-r),
|
||||
or even a more complex expression (-R) based upon any of the
|
||||
file's subject, author, lines, bytes, # of parts we have,
|
||||
# of parts req, date, age, messageid, and references.
|
||||
* Search for newsgroups based on their names and/or descriptions
|
||||
* Automatic handling of PAR and PAR2 files retrieves only as many
|
||||
recovery files as necessary to repair any missing/damaged files.
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
# $NetBSD$
|
||||
|
||||
DISTNAME= nget-0.30
|
||||
CATEGORIES= news
|
||||
MASTER_SITES= https://gitlab.com/Rhialto/nget/
|
||||
GIT_REPO= https://gitlab.com/Rhialto/nget.git
|
||||
GIT_TAG= nget-0_30
|
||||
EXTRACT_SUFX= # none
|
||||
|
||||
MAINTAINER= rhialto@NetBSD.org
|
||||
HOMEPAGE= https://gitlab.com/Rhialto/nget/
|
||||
COMMENT= Command line nntp file grabber
|
||||
LICENSE= gnu-gpl-v2
|
||||
|
||||
USE_PKGLOCALEDIR= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_TOOLS+= gmake aclocal autoconf autoheader
|
||||
USE_LANGUAGES= c c++11
|
||||
|
||||
CONFIGURE_ARGS+= --with-pcre
|
||||
CONFIGURE_ARGS+= --with-popt
|
||||
|
||||
EGDIR= ${PREFIX}/share/examples/nget
|
||||
MESSAGE_SUBST+= EGDIR=${EGDIR}
|
||||
|
||||
INSTALLATION_DIRS= share/nget share/examples/nget
|
||||
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
|
||||
mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ./autogen.sh
|
||||
|
||||
post-install:
|
||||
for f in COPYING Changelog FAQ README TODO; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/$${f} ${DESTDIR}${PREFIX}/share/nget; done
|
||||
${INSTALL_DATA} ${WRKSRC}/.ngetrc ${DESTDIR}${EGDIR}/dot.ngetrc
|
||||
|
||||
.include "../../converters/uulib/buildlink3.mk"
|
||||
.include "../../devel/pcre/buildlink3.mk"
|
||||
.include "../../devel/popt/buildlink3.mk"
|
||||
.include "../../devel/zlib/buildlink3.mk"
|
||||
.include "../../mk/termcap.buildlink3.mk"
|
||||
.include "../../wip/mk/git-package.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
|
@ -0,0 +1,11 @@
|
|||
@comment $NetBSD$
|
||||
bin/nget
|
||||
bin/ngetlite
|
||||
man/man1/nget.1
|
||||
man/man1/ngetlite.1
|
||||
share/examples/nget/dot.ngetrc
|
||||
share/nget/COPYING
|
||||
share/nget/Changelog
|
||||
share/nget/FAQ
|
||||
share/nget/README
|
||||
share/nget/TODO
|
Loading…
Reference in New Issue