Skip to content

Commit

Permalink
Update SABnzbd to 4.2.2 (#6003)
Browse files Browse the repository at this point in the history
  • Loading branch information
Safihre authored Feb 5, 2024
1 parent df14b70 commit 9aaad74
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cross/sabnzbd/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME = SABnzbd
PKG_VERS = 4.2.1
PKG_VERS = 4.2.2
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS)-src.$(PKG_EXT)
PKG_DIST_SITE = https://github.com/sabnzbd/sabnzbd/releases/download/$(PKG_VERS)
Expand Down
6 changes: 3 additions & 3 deletions cross/sabnzbd/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
SABnzbd-4.2.1-src.tar.gz SHA1 642a1d8fbeea42b7f7273675ab5e4f7f1a0d921e
SABnzbd-4.2.1-src.tar.gz SHA256 0d59eefd883774fcb9e3f58a073f4e53467341b34026db08dce506625052ab49
SABnzbd-4.2.1-src.tar.gz MD5 b5489f668a5e528d4176930e9bead006
SABnzbd-4.2.2-src.tar.gz SHA1 6c67bf493314fc17ffd4af333f6f4f7b297c66ad
SABnzbd-4.2.2-src.tar.gz SHA256 c4996a2ba65f279af81c93b1330591d8a58c2144b718d134972878cf4b527cd1
SABnzbd-4.2.2-src.tar.gz MD5 b839e793ded8c15f7518ff2e7f0ec61a
28 changes: 28 additions & 0 deletions cross/sabnzbd/patches/001-disable_new_version_check.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
--- interfaces/Config/templates/config_general.tmpl
+++ interfaces/Config/templates/config_general.tmpl
@@ -165,14 +165,6 @@
<input type="checkbox" name="auto_browser" id="auto_browser" value="1" <!--#if int($auto_browser) > 0 then 'checked="checked"' else ""#--> />
<span class="desc">$T('explain-auto_browser')</span>
</div>
- <div class="field-pair">
- <label class="config" for="check_new_rel">$T('opt-check_new_rel')</label>
- <select name="check_new_rel" id="check_new_rel">
- <option value="0" <!--#if $check_new_rel == 0 then 'selected="selected"' else ""#--> >$T('off')</option>
- <option value="1" <!--#if $check_new_rel == 1 then 'selected="selected"' else ""#--> >$T('on')</option>
- <option value="2" <!--#if $check_new_rel == 2 then 'selected="selected"' else ""#--> >$T('also-test')</option>
- </select>
- </div>
<div class="field-pair advanced-settings">
<label class="config" for="enable_https_verification">$T('opt-enable_https_verification')</label>
<input type="checkbox" name="enable_https_verification" id="enable_https_verification" value="1" <!--#if int($enable_https_verification) > 0 then 'checked="checked"' else ""#--> />
--- sabnzbd/misc.py
+++ sabnzbd/misc.py
@@ -470,6 +470,8 @@
they are already using an alpha/beta/rc.
RC's are valued higher than Beta's, which are valued higher than Alpha's.
"""
+ logging.info("Version check disabled by SynoCommunity packaging")
+ return

if not cfg.version_check():
return
6 changes: 3 additions & 3 deletions spk/sabnzbd/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SPK_NAME = sabnzbd
SPK_VERS = 4.2.1
SPK_REV = 67
SPK_VERS = 4.2.2
SPK_REV = 68
SPK_ICON = src/sabnzbd.png

PYTHON_PACKAGE = python311
Expand All @@ -15,7 +15,7 @@ DESCRIPTION_FRE = SABnzbd rend Usenet aussi simple et automatisé que possible.
DESCRIPTION_SPN = SABnzbd hace que Usenet sea lo más simple posible, automatizando todo lo que se puede. Todo lo que tienes que hacer es agregar un archivo .nzb. SABnzbd empieza desde ahí. Tus archivos serán automáticamente descargados, verificados, reparados, descomprimidos y archivados.
DISPLAY_NAME = SABnzbd
STARTABLE = yes
CHANGELOG = "Update SABnzbd to 4.2.1."
CHANGELOG = "Update SABnzbd to 4.2.2."

HOMEPAGE = https://sabnzbd.org
LICENSE = GPL
Expand Down
2 changes: 1 addition & 1 deletion spk/sabnzbd/src/requirements-pure.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jaraco.collections==5.0.0
jaraco.text==3.8.1 # Newer version introduces irrelevant extra dependencies
jaraco.classes==3.3.0
jaraco.context==4.3.0
more-itertools==10.1.0
more-itertools==10.2.0
zc.lockfile==3.0.post1
python-dateutil==2.8.2
tempora==5.5.0
Expand Down

0 comments on commit 9aaad74

Please sign in to comment.