View | Details | Raw Unified | Return to bug 283162 | Differences between
and this patch

Collapse All | Expand All

(-)b/news/nzbget/Makefile (-3 / +20 lines)
Lines 1-6 Link Here
1
PORTNAME=	nzbget
1
PORTNAME=	nzbget
2
DISTVERSIONPREFIX=	v
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	24.3
3
DISTVERSION=	24.4
4
PORTREVISION=	1
4
PORTREVISION=	1
5
CATEGORIES=	news
5
CATEGORIES=	news
6
6
Lines 15-24 LIB_DEPENDS= libboost_json.so:devel/boost-libs \ Link Here
15
RUN_DEPENDS=	7-zip>0:archivers/7-zip \
15
RUN_DEPENDS=	7-zip>0:archivers/7-zip \
16
		unrar>0:archivers/unrar
16
		unrar>0:archivers/unrar
17
17
18
USES=		cmake:testing python:build ssl
18
# Since v24.4 nzbget maintainers switched from libpar2 to a fork of par2cmdline-turbo which is in its own repository.
19
# See https://github.com/nzbgetcom/nzbget/blob/v24.4/cmake/par2-turbo.cmake for the version to pull
20
PAR2CMDLINE_TURBO_VERSION=1.1.1-nzbget
21
22
USES=		cmake:testing ssl
19
USE_GITHUB=	yes
23
USE_GITHUB=	yes
20
GH_ACCOUNT=	nzbgetcom
24
GH_ACCOUNT=	nzbgetcom
21
GH_PROJECT=	nzbget
25
GH_PROJECT=	nzbget par2cmdline-turbo:par2
26
GH_TAGNAME= ${DISTVERSIONPREFIX}${PAR2CMDLINE_TURBO_VERSION}:par2
22
USE_RC_SUBR=	nzbget
27
USE_RC_SUBR=	nzbget
23
28
24
BINMODE=	0755
29
BINMODE=	0755
Lines 26-31 BINMODE= 0755 Link Here
26
SUB_FILES=	pkg-message
31
SUB_FILES=	pkg-message
27
32
28
OPTIONS_DEFINE=				DOCS NCURSES PAR2
33
OPTIONS_DEFINE=				DOCS NCURSES PAR2
34
OPTIONS_SUB=				yes
29
OPTIONS_DEFAULT=			NCURSES PAR2
35
OPTIONS_DEFAULT=			NCURSES PAR2
30
36
31
PAR2_DESC=					PAR 2.0 compatible file verification and repair. Disable if you have trouble when compiling par2 module
37
PAR2_DESC=					PAR 2.0 compatible file verification and repair. Disable if you have trouble when compiling par2 module
Lines 42-47 CMAKE_TESTING_ON= ENABLE_TESTS Link Here
42
CMAKE_ARGS+=		-DDISABLE_SIGCHLD_HANDLER=ON
48
CMAKE_ARGS+=		-DDISABLE_SIGCHLD_HANDLER=ON
43
.endif
49
.endif
44
50
51
# We need to manually extract par2cmdline-turbo source repository as the cmake option FETCHCONTENT_FULLY_DISCONNECTED is ON by default for ports
52
post-extract-PAR2-on:
53
	${MKDIR} ${BUILD_WRKSRC}/_deps
54
	${MV} ${WRKDIR}/par2cmdline-turbo-${PAR2CMDLINE_TURBO_VERSION} ${BUILD_WRKSRC}/_deps/par2-turbo-src
55
56
# par2cmdline-turbo assets are staged outside of ${STAGEDIR}${PREFIX} so we need to move them
57
# Remove empty leftover directories so that check-plist target does not show them orphaned.
58
post-stage-PAR2-on:
59
	${MV} ${STAGEDIR}${BUILD_WRKSRC}/lib/*.a ${STAGEDIR}${PREFIX}/lib
60
	${FIND} ${STAGEDIR} -depth -type d -not -path "${STAGEDIR}${PREFIX}*" -empty -delete
61
45
post-install:
62
post-install:
46
	${INSTALL_DATA} ${WRKSRC}/nzbget.conf \
63
	${INSTALL_DATA} ${WRKSRC}/nzbget.conf \
47
		${STAGEDIR}${PREFIX}/etc/nzbget.conf.sample
64
		${STAGEDIR}${PREFIX}/etc/nzbget.conf.sample
(-)b/news/nzbget/distinfo (-3 / +5 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1727776422
1
TIMESTAMP = 1733307178
2
SHA256 (nzbgetcom-nzbget-v24.3_GH0.tar.gz) = b20ff0da1367825fbf00337a48196e81514195748d3d96f620f28ab2cc0b7cc0
2
SHA256 (nzbgetcom-nzbget-v24.4_GH0.tar.gz) = ea3ebe13f5d48f040f1614b62bff9b51da134f4f689ec918997f5896cf51f337
3
SIZE (nzbgetcom-nzbget-v24.3_GH0.tar.gz) = 5533518
3
SIZE (nzbgetcom-nzbget-v24.4_GH0.tar.gz) = 7279980
4
SHA256 (nzbgetcom-par2cmdline-turbo-v1.1.1-nzbget_GH0.tar.gz) = b471a76e6ac7384da87af9314826bc6d89ce879afb9485136b949cc5ce019ddf
5
SIZE (nzbgetcom-par2cmdline-turbo-v1.1.1-nzbget_GH0.tar.gz) = 3959897
(-)b/news/nzbget/files/patch-cmake_posix.cmake (+10 lines)
Added Link Here
1
--- cmake/posix.cmake.orig	2024-11-19 07:09:42 UTC
2
+++ cmake/posix.cmake
3
@@ -93,7 +93,6 @@ else()
4
 
5
 	if(NOT DISABLE_CURSES)
6
 		set(CURSES_NEED_NCURSES TRUE)
7
-		set(CURSES_NEED_WIDE TRUE)
8
 		find_package(Curses REQUIRED)
9
 		set(INCLUDES ${INCLUDES} ${CURSES_INCLUDE_DIRS})
10
 		set(LIBS ${LIBS} ${CURSES_LIBRARIES})
(-)b/news/nzbget/pkg-plist (-1 / +4 lines)
Lines 1-7 Link Here
1
bin/nzbget
1
bin/nzbget
2
%%PAR2%%lib/libgf16.a
3
%%PAR2%%lib/libhasher.a
4
%%PAR2%%lib/libpar2-turbo.a
2
%%ETCDIR%%.conf.sample
5
%%ETCDIR%%.conf.sample
3
%%DATADIR%%/doc/COPYING
6
%%DATADIR%%/doc/COPYING
4
%%DATADIR%%/doc/ChangeLog.md
7
%%DATADIR%%/doc/ChangeLog.md
8
%%DATADIR%%/nzbget.conf
5
%%DATADIR%%/webui/config.js
9
%%DATADIR%%/webui/config.js
6
%%DATADIR%%/webui/dark-theme.css
10
%%DATADIR%%/webui/dark-theme.css
7
%%DATADIR%%/webui/downloads.js
11
%%DATADIR%%/webui/downloads.js
8
- 

Return to bug 283162