FreeBSD Bugzilla – Attachment 255666 Details for
Bug 283162
news/nzbget: Update to 24.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to update nzbget to v24.4
0001-Upgrade-news-nzbget-to-v24.4.patch (text/plain), 4.31 KB, created by
Alex Levy
on 2024-12-06 13:51:07 UTC
(
hide
)
Description:
Patch to update nzbget to v24.4
Filename:
MIME Type:
Creator:
Alex Levy
Created:
2024-12-06 13:51:07 UTC
Size:
4.31 KB
patch
obsolete
>From 01aefb26496c620fc8b70867aa82ed96fa06e6a1 Mon Sep 17 00:00:00 2001 >From: Alexandre Levy <a13xlevy@pm.me> >Date: Fri, 6 Dec 2024 11:11:29 +0000 >Subject: [PATCH] Upgrade news/nzbget to v24.4 > >--- > news/nzbget/Makefile | 23 ++++++++++++++++++++--- > news/nzbget/distinfo | 8 +++++--- > news/nzbget/files/patch-cmake_posix.cmake | 10 ++++++++++ > news/nzbget/pkg-plist | 4 ++++ > 4 files changed, 39 insertions(+), 6 deletions(-) > create mode 100644 news/nzbget/files/patch-cmake_posix.cmake > >diff --git a/news/nzbget/Makefile b/news/nzbget/Makefile >index a3259da00e..b81f7a6733 100644 >--- a/news/nzbget/Makefile >+++ b/news/nzbget/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= nzbget > DISTVERSIONPREFIX= v >-DISTVERSION= 24.3 >+DISTVERSION= 24.4 > PORTREVISION= 1 > CATEGORIES= news > >@@ -15,10 +15,15 @@ LIB_DEPENDS= libboost_json.so:devel/boost-libs \ > RUN_DEPENDS= 7-zip>0:archivers/7-zip \ > unrar>0:archivers/unrar > >-USES= cmake:testing python:build ssl >+# Since v24.4 nzbget maintainers switched from libpar2 to a fork of par2cmdline-turbo which is in its own repository. >+# See https://github.com/nzbgetcom/nzbget/blob/v24.4/cmake/par2-turbo.cmake for the version to pull >+PAR2CMDLINE_TURBO_VERSION=1.1.1-nzbget >+ >+USES= cmake:testing ssl > USE_GITHUB= yes > GH_ACCOUNT= nzbgetcom >-GH_PROJECT= nzbget >+GH_PROJECT= nzbget par2cmdline-turbo:par2 >+GH_TAGNAME= ${DISTVERSIONPREFIX}${PAR2CMDLINE_TURBO_VERSION}:par2 > USE_RC_SUBR= nzbget > > BINMODE= 0755 >@@ -26,6 +31,7 @@ BINMODE= 0755 > SUB_FILES= pkg-message > > OPTIONS_DEFINE= DOCS NCURSES PAR2 >+OPTIONS_SUB= yes > OPTIONS_DEFAULT= NCURSES PAR2 > > PAR2_DESC= PAR 2.0 compatible file verification and repair. Disable if you have trouble when compiling par2 module >@@ -42,6 +48,17 @@ CMAKE_TESTING_ON= ENABLE_TESTS > CMAKE_ARGS+= -DDISABLE_SIGCHLD_HANDLER=ON > .endif > >+# We need to manually extract par2cmdline-turbo source repository as the cmake option FETCHCONTENT_FULLY_DISCONNECTED is ON by default for ports >+post-extract-PAR2-on: >+ ${MKDIR} ${BUILD_WRKSRC}/_deps >+ ${MV} ${WRKDIR}/par2cmdline-turbo-${PAR2CMDLINE_TURBO_VERSION} ${BUILD_WRKSRC}/_deps/par2-turbo-src >+ >+# par2cmdline-turbo assets are staged outside of ${STAGEDIR}${PREFIX} so we need to move them >+# Remove empty leftover directories so that check-plist target does not show them orphaned. >+post-stage-PAR2-on: >+ ${MV} ${STAGEDIR}${BUILD_WRKSRC}/lib/*.a ${STAGEDIR}${PREFIX}/lib >+ ${FIND} ${STAGEDIR} -depth -type d -not -path "${STAGEDIR}${PREFIX}*" -empty -delete >+ > post-install: > ${INSTALL_DATA} ${WRKSRC}/nzbget.conf \ > ${STAGEDIR}${PREFIX}/etc/nzbget.conf.sample >diff --git a/news/nzbget/distinfo b/news/nzbget/distinfo >index 26771fc83a..0c39f584b8 100644 >--- a/news/nzbget/distinfo >+++ b/news/nzbget/distinfo >@@ -1,3 +1,5 @@ >-TIMESTAMP = 1727776422 >-SHA256 (nzbgetcom-nzbget-v24.3_GH0.tar.gz) = b20ff0da1367825fbf00337a48196e81514195748d3d96f620f28ab2cc0b7cc0 >-SIZE (nzbgetcom-nzbget-v24.3_GH0.tar.gz) = 5533518 >+TIMESTAMP = 1733307178 >+SHA256 (nzbgetcom-nzbget-v24.4_GH0.tar.gz) = ea3ebe13f5d48f040f1614b62bff9b51da134f4f689ec918997f5896cf51f337 >+SIZE (nzbgetcom-nzbget-v24.4_GH0.tar.gz) = 7279980 >+SHA256 (nzbgetcom-par2cmdline-turbo-v1.1.1-nzbget_GH0.tar.gz) = b471a76e6ac7384da87af9314826bc6d89ce879afb9485136b949cc5ce019ddf >+SIZE (nzbgetcom-par2cmdline-turbo-v1.1.1-nzbget_GH0.tar.gz) = 3959897 >diff --git a/news/nzbget/files/patch-cmake_posix.cmake b/news/nzbget/files/patch-cmake_posix.cmake >new file mode 100644 >index 0000000000..05f9b14169 >--- /dev/null >+++ b/news/nzbget/files/patch-cmake_posix.cmake >@@ -0,0 +1,10 @@ >+--- cmake/posix.cmake.orig 2024-11-19 07:09:42 UTC >++++ cmake/posix.cmake >+@@ -93,7 +93,6 @@ else() >+ >+ if(NOT DISABLE_CURSES) >+ set(CURSES_NEED_NCURSES TRUE) >+- set(CURSES_NEED_WIDE TRUE) >+ find_package(Curses REQUIRED) >+ set(INCLUDES ${INCLUDES} ${CURSES_INCLUDE_DIRS}) >+ set(LIBS ${LIBS} ${CURSES_LIBRARIES}) >diff --git a/news/nzbget/pkg-plist b/news/nzbget/pkg-plist >index d73666ff1b..a966334cad 100644 >--- a/news/nzbget/pkg-plist >+++ b/news/nzbget/pkg-plist >@@ -1,7 +1,11 @@ > bin/nzbget >+%%PAR2%%lib/libgf16.a >+%%PAR2%%lib/libhasher.a >+%%PAR2%%lib/libpar2-turbo.a > %%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 >-- >2.45.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 283162
:
255663
|
255666
|
255667
|
255887