Enclosed a diff for bringing nzbget to 20.0, which brings performance
optimisations in the downloader, and fixes several bugs. Overview on
changes can be found at https://github.com/nzbget/nzbget/releases

This version requires gmake to build, as such set USE_GMAKE=Yes. While
here change email address MAINTAINER.

Tests OK on amd64.

OK?


Index: Makefile
===================================================================
RCS file: /cvs/ports/news/nzbget/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile    3 Apr 2018 17:45:43 -0000       1.1.1.1
+++ Makefile    7 Jun 2018 03:33:55 -0000
@@ -2,15 +2,14 @@
 
 COMMENT =      binary newsreader supporting NZB files
 
-VERSION =      19.1
-PKGNAME =      nzbget-${VERSION}
-DISTNAME =     ${PKGNAME}-src
+VERSION =      20.0
+DISTNAME =     nzbget-${VERSION}
 
 CATEGORIES =   news
 
 HOMEPAGE =     https://nzbget.net/
 
-MAINTAINER =   Bjorn Ketelaars <[email protected]>
+MAINTAINER =   Bjorn Ketelaars <[email protected]>
 
 # GPLv2+
 PERMIT_PACKAGE_CDROM = Yes
@@ -18,6 +17,7 @@ PERMIT_PACKAGE_CDROM =        Yes
 WANTLIB =      ${COMPILER_LIBCXX} c crypto curses m ssl xml2 z
 
 MASTER_SITES = https://github.com/nzbget/nzbget/releases/download/v${VERSION}/
+EXTRACT_SUFX = -src.tar.gz
 
 # C++14
 COMPILER =     base-clang ports-clang ports-gcc
@@ -26,17 +26,17 @@ RUN_DEPENDS =       archivers/unrar \
                archivers/p7zip
 LIB_DEPENDS =  textproc/libxml
 
+MAKE_FLAGS =   MAKE=${MAKE_PROGRAM}
 FAKE_FLAGS =   exampleconfdir=${PREFIX}/share/examples/nzbget \
                scriptsdir=${PREFIX}/share/examples/nzbget
 
 SEPARATE_BUILD =       Yes
+USE_GMAKE =            Yes
 CONFIGURE_STYLE =      gnu
 CONFIGURE_ARGS =       --with-libcurses-includes=/usr/include \
                        --with-libcurses-libraries=/usr/lib
 
 NO_TEST =      Yes
-
-WRKDIST =      ${WRKDIR}/${PKGNAME}
 
 pre-configure:
        ${SUBST_CMD} ${WRKSRC}/nzbget.conf
Index: distinfo
===================================================================
RCS file: /cvs/ports/news/nzbget/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo    3 Apr 2018 17:45:43 -0000       1.1.1.1
+++ distinfo    7 Jun 2018 03:33:55 -0000
@@ -1,2 +1,2 @@
-SHA256 (nzbget-19.1-src.tar.gz) = Bt9CNWrC1ju8n3hhq+nDIW31b6BoAuCeilCwX0rZXOY=
-SIZE (nzbget-19.1-src.tar.gz) = 1809849
+SHA256 (nzbget-20.0-src.tar.gz) = BNw21DJUnDPVUUXs2VzEMJs6tKdzGhoD2VTeOJ6s0G8=
+SIZE (nzbget-20.0-src.tar.gz) = 1925665
Index: patches/patch-nzbget_conf
===================================================================
RCS file: /cvs/ports/news/nzbget/patches/patch-nzbget_conf,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-nzbget_conf
--- patches/patch-nzbget_conf   3 Apr 2018 17:45:43 -0000       1.1.1.1
+++ patches/patch-nzbget_conf   7 Jun 2018 03:33:55 -0000
@@ -12,16 +12,16 @@ Index: nzbget.conf
  
  # Destination directory for downloaded files.
  #
-@@ -297,7 +297,7 @@ Server1.Notes=
- #
- # NOTE: If you set the option to "127.0.0.1" you will be able to connect to 
NZBGet
- # only from the computer running NZBGet. This restriction applies to 
web-interface too.
+@@ -301,7 +301,7 @@ Server1.Notes=
+ # NOTE: NZBGet also supports listening on Unix domain sockets instead of 
TCP/IP
+ # sockets. To activate this mode set option <ControlIP> to a local path
+ # (e. g. "ControlIP=/var/sock").
 -ControlIP=0.0.0.0
 +ControlIP=127.0.0.1
  
  # Port which NZBGet server and remote client use (1-65535).
  #
-@@ -437,7 +437,7 @@ CertCheck=no
+@@ -452,7 +452,7 @@ UpdateCheck=stable
  # NOTE: This option has effect only if the program was started from
  # root-account, otherwise it is ignored and the daemon runs under
  # current user id.
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/news/nzbget/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   3 Apr 2018 17:45:43 -0000       1.1.1.1
+++ pkg/PLIST   7 Jun 2018 03:33:55 -0000
@@ -1,6 +1,17 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2018/04/03 17:45:43 bket Exp $
 @newgroup _nzbget:805
 @newuser _nzbget:805:805:daemon:NZBGet 
Account:${LOCALSTATEDIR}/nzbget:/sbin/nologin
+@rcscript ${RCDIR}/nzbget
+@mode 750
+@owner _nzbget
+@group _nzbget
+@sample ${LOCALSTATEDIR}/nzbget/
+@sample ${LOCALSTATEDIR}/nzbget/nzb/
+@sample ${LOCALSTATEDIR}/nzbget/tmp/
+@sample ${LOCALSTATEDIR}/nzbget/queue/
+@mode
+@owner
+@group
 @bin bin/nzbget
 share/doc/nzbget/
 share/doc/nzbget/COPYING
@@ -27,6 +38,8 @@ share/nzbget/webui/history.js
 share/nzbget/webui/img/
 share/nzbget/webui/img/download-anim-green-2x.png
 share/nzbget/webui/img/download-anim-orange-2x.png
+share/nzbget/webui/img/favicon-256x256-opaque.png
+share/nzbget/webui/img/favicon-256x256.png
 share/nzbget/webui/img/favicon.ico
 share/nzbget/webui/img/icons-2x.png
 share/nzbget/webui/img/icons.png
@@ -50,11 +63,3 @@ share/nzbget/webui/status.js
 share/nzbget/webui/style.css
 share/nzbget/webui/upload.js
 share/nzbget/webui/util.js
-@rcscript ${RCDIR}/nzbget
-@mode 750
-@owner _nzbget
-@group _nzbget
-@sample ${LOCALSTATEDIR}/nzbget/
-@sample ${LOCALSTATEDIR}/nzbget/nzb/
-@sample ${LOCALSTATEDIR}/nzbget/tmp/
-@sample ${LOCALSTATEDIR}/nzbget/queue/

Reply via email to