Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
news/nzbhydra2: update to v4.7.4
Summary:
- Add environment variable to suppress update dialog
- Update JDK to v17 to satisfy future requirement
- Maintainer change
- Remove build leftover

Changes: https://github.com/theotherp/nzbhydra2/blob/v4.7.4/changelog.md

PR:	268430
Approved by: pkubaj (mentor)
Differential Revision: https://reviews.freebsd.org/D37782
  • Loading branch information
herrbischoff authored and Ronald Klop committed Dec 22, 2022
1 parent 68bafed commit 07e39d1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
10 changes: 7 additions & 3 deletions news/nzbhydra2/Makefile
@@ -1,10 +1,10 @@
PORTNAME= nzbhydra2
DISTVERSION= 4.7.2
DISTVERSION= 4.7.4
DISTVERSIONSUFFIX= -linux
CATEGORIES= news java
MASTER_SITES= https://github.com/theotherp/${PORTNAME}/releases/download/v${DISTVERSION}/

MAINTAINER= daniel@shafer.cc
MAINTAINER= marcel@herrbischoff.com
COMMENT= Usenet meta search
WWW= https://github.com/theotherp/nzbhydra2

Expand All @@ -24,7 +24,7 @@ SUB_FILES= nzbhydra2
SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \
JAVA=${JAVA}

JAVA_VERSION= 8+
JAVA_VERSION= 17+
JAVA_VENDOR= openjdk
JAVA_RUN= yes

Expand All @@ -42,6 +42,10 @@ post-extract:
# Cleanup unnecessary files
@${RM} -r ${WRKSRC}/systemd ${WRKSRC}/sysv ${WRKSRC}/rc.d ${WRKSRC}/upstart ${WRKSRC}/nzbhydra2wrapper.py

pre-install:
# temp fix for https://github.com/theotherp/nzbhydra2/issues/812
${RM} -r ${WRKSRC}/data

do-install:
@${MKDIR} ${STAGEDIR}/${DATADIR}
${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}
Expand Down
6 changes: 3 additions & 3 deletions news/nzbhydra2/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1669893469
SHA256 (nzbhydra2-4.7.2-linux.zip) = 3d3f281563e64d104a59b47ba337b7ee2ffcbdb0574cfd6874640f5ad3470ca5
SIZE (nzbhydra2-4.7.2-linux.zip) = 83317938
TIMESTAMP = 1671278127
SHA256 (nzbhydra2-4.7.4-linux.zip) = 70ca65452f1e80f010a61bd5a760961efcab04e06cd0599403b174af753d8a84
SIZE (nzbhydra2-4.7.4-linux.zip) = 83396533
1 change: 1 addition & 0 deletions news/nzbhydra2/files/nzbhydra2.in
Expand Up @@ -43,6 +43,7 @@ start_precmd=nzbhydra2_precmd
nzbhydra2_precmd()
{
export XDG_CONFIG_HOME=${nzbhydra2_data_dir}
export NZBHYDRA_DISABLE_UPDATE=1

if [ -f ${pidfile} ]; then
rm -f ${pidfile}
Expand Down

0 comments on commit 07e39d1

Please sign in to comment.