1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

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
This commit is contained in:
Marcel Bischoff 2022-12-20 13:08:01 +01:00 committed by Ronald Klop
parent 68bafed5be
commit 07e39d15a1
No known key found for this signature in database
GPG Key ID: 551E8E6207A42166
3 changed files with 11 additions and 6 deletions

View File

@ -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
@ -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
@ -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}

View File

@ -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

View File

@ -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}