Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2024 15:18:35 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5e0d1cd6403d - main - news/nzbget: Upgrade to v24.3
Message-ID:  <202411061518.4A6FIZJN044943@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5e0d1cd6403dbf3002715bb282bedd4ab734a2a3

commit 5e0d1cd6403dbf3002715bb282bedd4ab734a2a3
Author:     Alexandre Levy <a13xlevy@pm.me>
AuthorDate: 2024-10-01 14:00:42 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-11-06 15:14:31 +0000

    news/nzbget: Upgrade to v24.3
    
     * Change the build system to cmake only
     * Expose the most relevant build options as port options
     * Configure make test to run ctest
     * Assign maintainership to submitter, old maintainer is AWOL
    
    Changelog: https://github.com/nzbgetcom/nzbget/releases/tag/v24.3
    
    PR:             281800
    Approved by:    alexis.praga@free.fr (maintainer timeout)
---
 news/nzbget/Makefile                               | 29 +++++++++++-----------
 news/nzbget/distinfo                               |  6 ++---
 .../files/extra-disable-optimized-flags.patch      | 16 ------------
 news/nzbget/files/patch-configure.ac               | 20 ---------------
 news/nzbget/pkg-plist                              |  3 +--
 5 files changed, 18 insertions(+), 56 deletions(-)

diff --git a/news/nzbget/Makefile b/news/nzbget/Makefile
index 17f2236a11a9..e67ff943ed04 100644
--- a/news/nzbget/Makefile
+++ b/news/nzbget/Makefile
@@ -1,10 +1,9 @@
 PORTNAME=	nzbget
-PORTVERSION=	24.1
-PORTREVISION=	1
 DISTVERSIONPREFIX=	v
+DISTVERSION=	24.3
 CATEGORIES=	news
 
-MAINTAINER=	alexis.praga@free.fr
+MAINTAINER=	a13xlevy@pm.me
 COMMENT=	Binary newsreader supporting NZB files
 WWW=		https://nzbget.net/
 
@@ -15,31 +14,31 @@ LIB_DEPENDS=	libboost_json.so:devel/boost-libs \
 RUN_DEPENDS=	7-zip>0:archivers/7-zip \
 		unrar>0:archivers/unrar
 
-USES=		cmake ncurses python:build ssl
+USES=		cmake:testing python:build ssl
 USE_GITHUB=	yes
 GH_ACCOUNT=	nzbgetcom
 GH_PROJECT=	nzbget
 USE_RC_SUBR=	nzbget
 
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-libcurses-includes=${NCURSESINC} \
-		--with-libcurses-libraries=${NCURSESLIB} \
-		--with-openssl-includes=${OPENSSLINC} \
-		--with-openssl-libraries=${OPENSSLLIB} \
-		--with-tlslib=OpenSSL
-
 BINMODE=	0755
 
 SUB_FILES=	pkg-message
 
-OPTIONS_DEFINE=				DOCS OPTIMIZED_FLAGS
-OPTIMIZED_FLAGS_DESC=			Enable optimized CPU instructions (SSE2/SSE3/NEON/etc)
-OPTIMIZED_FLAGS_EXTRA_PATCHES_OFF=	${FILESDIR}/extra-disable-optimized-flags.patch
+OPTIONS_DEFINE=				DOCS NCURSES PAR2
+OPTIONS_DEFAULT=			NCURSES PAR2
+
+PAR2_DESC=					PAR 2.0 compatible file verification and repair. Disable if you have trouble when compiling par2 module
+
+NCURSES_USES=	ncurses
+
+NCURSES_CMAKE_BOOL_OFF=		DISABLE_CURSES
+PAR2_CMAKE_BOOL_OFF=		DISABLE_PARCHECK
+CMAKE_TESTING_ON=			ENABLE_TESTS
 
 .include <bsd.port.options.mk>
 
 .if (${ARCH} == "i386")
-CONFIGURE_ARGS+=	--disable-sigchld-handler
+CMAKE_ARGS+=		-DDISABLE_SIGCHLD_HANDLER=ON
 .endif
 
 post-install:
diff --git a/news/nzbget/distinfo b/news/nzbget/distinfo
index ffe859c52e52..26771fc83a49 100644
--- a/news/nzbget/distinfo
+++ b/news/nzbget/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1720705072
-SHA256 (nzbgetcom-nzbget-v24.1_GH0.tar.gz) = 9b823f5be183573cc51a7e4db5ac0529f5e3b98260676a7ce400784fdf230393
-SIZE (nzbgetcom-nzbget-v24.1_GH0.tar.gz) = 5365282
+TIMESTAMP = 1727776422
+SHA256 (nzbgetcom-nzbget-v24.3_GH0.tar.gz) = b20ff0da1367825fbf00337a48196e81514195748d3d96f620f28ab2cc0b7cc0
+SIZE (nzbgetcom-nzbget-v24.3_GH0.tar.gz) = 5533518
diff --git a/news/nzbget/files/extra-disable-optimized-flags.patch b/news/nzbget/files/extra-disable-optimized-flags.patch
deleted file mode 100644
index e138ea5bfbcd..000000000000
--- a/news/nzbget/files/extra-disable-optimized-flags.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- configure.ac.orig	2018-06-06 19:34:34 UTC
-+++ configure.ac
-@@ -569,12 +569,8 @@ case $host_cpu in
- 		USE_SIMD=yes
- 		;;
- esac
-+USE_SIMD=no
- AC_MSG_RESULT($USE_SIMD)
--AC_SUBST([SSE2_CXXFLAGS])
--AC_SUBST([SSSE3_CXXFLAGS])
--AC_SUBST([PCLMUL_CXXFLAGS])
--AC_SUBST([NEON_CXXFLAGS])
--AC_SUBST([ACLECRC_CXXFLAGS])
- 
- 
- dnl 
diff --git a/news/nzbget/files/patch-configure.ac b/news/nzbget/files/patch-configure.ac
deleted file mode 100644
index f23d7de16403..000000000000
--- a/news/nzbget/files/patch-configure.ac
+++ /dev/null
@@ -1,20 +0,0 @@
---- configure.ac.orig	2023-08-18 02:50:39 UTC
-+++ configure.ac
-@@ -37,7 +37,7 @@ dnl Check for programs.
- dnl
- AC_PROG_CXX
- AC_PATH_PROG(TAR, tar, $FALSE)
--AC_PATH_PROG(MAKE, make, $FALSE)
-+AC_PATH_PROG(MAKE, gmake, $FALSE)
- AC_PROG_INSTALL
- 
- 
-@@ -554,7 +554,7 @@ dnl
- AC_MSG_CHECKING(whether to use SIMD-optimized routines)
- USE_SIMD=no
- case $host_cpu in
--	i?86|x86_64)
-+	i?86|x86_64|amd64)
- 		SSE2_CXXFLAGS="-msse2"
- 		SSSE3_CXXFLAGS="-mssse3"
- 		PCLMUL_CXXFLAGS="-msse4.1 -mpclmul"
diff --git a/news/nzbget/pkg-plist b/news/nzbget/pkg-plist
index 23cdb72cdcfe..d73666ff1b19 100644
--- a/news/nzbget/pkg-plist
+++ b/news/nzbget/pkg-plist
@@ -1,9 +1,7 @@
 bin/nzbget
-%%ETCDIR%%.conf
 %%ETCDIR%%.conf.sample
 %%DATADIR%%/doc/COPYING
 %%DATADIR%%/doc/ChangeLog.md
-%%DATADIR%%/nzbget.conf
 %%DATADIR%%/webui/config.js
 %%DATADIR%%/webui/dark-theme.css
 %%DATADIR%%/webui/downloads.js
@@ -38,5 +36,6 @@ bin/nzbget
 %%DATADIR%%/webui/messages.js
 %%DATADIR%%/webui/status.js
 %%DATADIR%%/webui/style.css
+%%DATADIR%%/webui/system-info.js
 %%DATADIR%%/webui/upload.js
 %%DATADIR%%/webui/util.js



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411061518.4A6FIZJN044943>