UPDATE news/sabnzbd-4.0.0

2023-04-28 Thread Bjorn Ketelaars
SABnzbd-4.0.0 has been released, which is a major update that optimized
a core part of the SSL handling, resulting in large performance
increases when downloading from news servers with SSL enabled. In
addition, the general connection handling was improved, resulting in
performance improvements for all news servers. Overview on changes can
be found at https://github.com/sabnzbd/sabnzbd/releases/tag/4.0.0.

This update depends on py-sabctools that has been send in a separate
mail to ports@.

Run tested on amd64.

Comments/OK?


diff --git Makefile Makefile
index 898f5f05211..69b98278126 100644
--- Makefile
+++ Makefile
@@ -1,7 +1,6 @@
 COMMENT =  retrieve and process nzb-files via web interface
 
-VERSION =  3.7.2
-REVISION = 1
+VERSION =  4.0.0
 DISTNAME = SABnzbd-${VERSION}
 PKGNAME =  sabnzbd-${VERSION}
 
@@ -18,35 +17,45 @@ MASTER_SITES =  
https://github.com/sabnzbd/sabnzbd/releases/download/${VERSION}
 EXTRACT_SUFX = -src.tar.gz
 
 MODULES =  lang/python
-# XXX broken, needs pyfakefs, pytest-httpserver, tavern and tavalidate (not in
-# ports)
-MODPY_PYTEST = Yes
 
 BUILD_DEPENDS =${_MODPY_BUILD_DEPENDS}
 RUN_DEPENDS =  archivers/par2cmdline \
archivers/unrar \
archivers/unzip \
-   devel/py-cheetah${MODPY_FLAVOR}>=3.0.0 \
+   devel/py-cffi${MODPY_FLAVOR} \
+   devel/py-cheetah${MODPY_FLAVOR} \
devel/py-configobj${MODPY_FLAVOR} \
+   devel/py-cparser${MODPY_FLAVOR} \
+   devel/py-dateutil${MODPY_FLAVOR} \
+   devel/py-jaraco-classes${MODPY_FLAVOR} \
+   devel/py-jaraco-collections${MODPY_FLAVOR} \
+   devel/py-jaraco-context${MODPY_FLAVOR} \
+   devel/py-jaraco-functools${MODPY_FLAVOR} \
+   devel/py-more-itertools${MODPY_FLAVOR} \
devel/py-puremagic${MODPY_FLAVOR} \
+   devel/py-six${MODPY_FLAVOR} \
+   devel/py-tempora${MODPY_FLAVOR} \
+   devel/py-tz${MODPY_FLAVOR} \
+   devel/py-zc-lockfile${MODPY_FLAVOR} \
+   misc/py-babelfish${MODPY_FLAVOR} \
multimedia/py-guessit${MODPY_FLAVOR} \
net/py-portend${MODPY_FLAVOR} \
net/py-socks${MODPY_FLAVOR} \
-   news/py-sabyenc${MODPY_FLAVOR}>=5.4.4v0 \
+   news/py-sabctools${MODPY_FLAVOR} \
security/py-cryptography${MODPY_FLAVOR} \
textproc/py-chardet${MODPY_FLAVOR} \
textproc/py-feedparser${MODPY_FLAVOR} \
+   textproc/py-jaraco-text${MODPY_FLAVOR} \
+   textproc/py-rebulk${MODPY_FLAVOR} \
www/py-CherryPy${MODPY_FLAVOR} \
www/py-cheroot${MODPY_FLAVOR}
-TEST_DEPENDS = devel/py-flaky${MODPY_FLAVOR} \
-   devel/py-test-httpbin${MODPY_FLAVOR} \
-   textproc/py-lxml${MODPY_FLAVOR} \
-   textproc/py-xmltodict${MODPY_FLAVOR} \
-   www/py-requests${MODPY_FLAVOR} \
-   www/py-selenium${MODPY_FLAVOR}
 
 NO_BUILD = Yes
 
+# XXX broken, needs pyfakefs, pytest-httpserver, tavern and tavalidate (not in
+# ports)
+NO_TEST =  Yes
+
 do-install:
${INSTALL_DATA_DIR} \
${PREFIX}/lib/python${MODPY_VERSION}/site-packages/sabnzbd
diff --git distinfo distinfo
index 7431007c045..fc455af4916 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (SABnzbd-3.7.2-src.tar.gz) = 
ASUOzQnNtQ2ovogp5PRPM/C/G88fz/E2rWBF5fSioXI=
-SIZE (SABnzbd-3.7.2-src.tar.gz) = 5108729
+SHA256 (SABnzbd-4.0.0-src.tar.gz) = 
MuYHOiONJXR++GkZ/wgEclz1ndvPq2DIEuIcmYzi7XE=
+SIZE (SABnzbd-4.0.0-src.tar.gz) = 5079964



Re: UPDATE news/sabnzbd

2018-11-25 Thread Mikolaj Kucharski
On Sat, Nov 10, 2018 at 08:16:14PM +, Mikolaj Kucharski wrote:
> I managed to botch the PLIST in the last patch. I've looked
> into archives, why _MODPY_BUILD_DEPENDS is needed and it's
> for post-install and compileall.py, so I've added it back.
> 
> To sum up again..
> 
> - update to version 2.3.5
> - homepage supports https
> - added textproc/py-lxml to run depends, per advice in sabnzbd's logs
> - switched from news/py-yenc to news/py-sabyenc
> - use WRKDIST, instead of WRKSRC (I hit a problem with WRKSRC)
> - allow spaces in arguments to launcher script
> - patch for https://github.com/sabnzbd/sabnzbd/issues/1095
> - fix ownership of bin/sabnzbd (package install doesn't fix it though, pkg 
> tools bug?)
> - plist regen (properly this time)
> - added 2 min timeout as I had situation when sabnzbd needed more time than 
> usual to stop
> 
> New port of py-sabyenc is in my previous email. Direct link to the
> tarball:
> 
> https://marc.info/?l=openbsd-ports=154187615730618=p3
> 

Any comments?


Index: Makefile
===
RCS file: /cvs/ports/news/sabnzbd/Makefile,v
retrieving revision 1.13
diff -u -p -u -r1.13 Makefile
--- Makefile28 May 2018 12:25:20 -  1.13
+++ Makefile25 Nov 2018 19:58:36 -
@@ -1,13 +1,12 @@
 # $OpenBSD: Makefile,v 1.13 2018/05/28 12:25:20 sthen Exp $
 
 COMMENT =  retrieve and process nzb-files via web interface
-VERSION =  1.2.1
+VERSION =  2.3.5
 DISTNAME = SABnzbd-${VERSION}-src
-PKGNAME =  sabnzbd-${VERSION}
+PKGNAME =  sabnzbd-${VERSION:L}
 CATEGORIES =   news
-HOMEPAGE = http://sabnzbd.org/
+HOMEPAGE = https://sabnzbd.org/
 MAINTAINER =   Marcus Glocker 
-REVISION = 1
 
 # GPLv2
 PERMIT_PACKAGE_CDROM = Yes
@@ -22,14 +21,15 @@ RUN_DEPENDS =   archivers/par2cmdline \
archivers/unzip \
devel/py-cheetah \
devel/py-notify \
-   news/py-yenc \
+   textproc/py-lxml \
+   news/py-sabyenc \
security/py-openssl
 
 NO_BUILD = Yes
 NO_TEST =  Yes
 PKG_ARCH = *
 
-WRKSRC =   ${WRKDIR}/SABnzbd-${VERSION}
+WRKDIST =  ${WRKDIR}/SABnzbd-${VERSION}
 
 do-install:
${INSTALL_DATA_DIR} \
Index: distinfo
===
RCS file: /cvs/ports/news/sabnzbd/distinfo,v
retrieving revision 1.7
diff -u -p -u -r1.7 distinfo
--- distinfo25 Feb 2017 20:11:33 -  1.7
+++ distinfo25 Nov 2018 19:58:36 -
@@ -1,2 +1,2 @@
-SHA256 (SABnzbd-1.2.1-src.tar.gz) = 
MHL2R9PnQYGSybxYgc/JtYMUoA8NvNj4LxwRsTTENLs=
-SIZE (SABnzbd-1.2.1-src.tar.gz) = 2725395
+SHA256 (SABnzbd-2.3.5-src.tar.gz) = 
4m+z6K/jXYLjGqHTVofKA/FodIIxomwSYXcXY1RfsrQ=
+SIZE (SABnzbd-2.3.5-src.tar.gz) = 2750437
Index: files/sabnzbd
===
RCS file: /cvs/ports/news/sabnzbd/files/sabnzbd,v
retrieving revision 1.2
diff -u -p -u -r1.2 sabnzbd
--- files/sabnzbd   20 May 2013 18:36:06 -  1.2
+++ files/sabnzbd   25 Nov 2018 19:58:36 -
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-exec ${MODPY_BIN} 
${TRUEPREFIX}/lib/python${MODPY_VERSION}/site-packages/sabnzbd/SABnzbd.py $*
+exec ${MODPY_BIN} 
${TRUEPREFIX}/lib/python${MODPY_VERSION}/site-packages/sabnzbd/SABnzbd.py "$@"
Index: patches/patch-sabnzbd_assembler_py
===
RCS file: patches/patch-sabnzbd_assembler_py
diff -N patches/patch-sabnzbd_assembler_py
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-sabnzbd_assembler_py  25 Nov 2018 19:58:36 -
@@ -0,0 +1,19 @@
+$OpenBSD$
+
+- https://github.com/sabnzbd/sabnzbd/issues/1095
+
+Index: sabnzbd/assembler.py
+--- sabnzbd/assembler.py.orig
 sabnzbd/assembler.py
+@@ -81,11 +81,6 @@ class Assembler(Thread):
+ # Abort all direct unpackers, just to be sure
+ sabnzbd.directunpacker.abort_all()
+ 
+-# Place job back in queue and wait 30 seconds to hope it 
gets resolved
+-self.process(job)
+-sleep(30)
+-continue
+-
+ # Prepare filename
+ nzo.verify_nzf_filename(nzf)
+ nzf.filename = sanitize_filename(nzf.filename)
Index: pkg/PLIST
===
RCS file: /cvs/ports/news/sabnzbd/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -u -r1.6 PLIST
--- pkg/PLIST   28 May 2018 12:25:20 -  1.6
+++ pkg/PLIST   

Re: UPDATE news/sabnzbd

2018-11-10 Thread Mikolaj Kucharski
I managed to botch the PLIST in the last patch. I've looked
into archives, why _MODPY_BUILD_DEPENDS is needed and it's
for post-install and compileall.py, so I've added it back.

To sum up again..

- update to version 2.3.5
- homepage supports https
- added textproc/py-lxml to run depends, per advice in sabnzbd's logs
- switched from news/py-yenc to news/py-sabyenc
- use WRKDIST, instead of WRKSRC (I hit a problem with WRKSRC)
- allow spaces in arguments to launcher script
- patch for https://github.com/sabnzbd/sabnzbd/issues/1095
- fix ownership of bin/sabnzbd (package install doesn't fix it though, pkg 
tools bug?)
- plist regen (properly this time)
- added 2 min timeout as I had situation when sabnzbd needed more time than 
usual to stop

New port of py-sabyenc is in my previous email. Direct link to the
tarball:

https://marc.info/?l=openbsd-ports=154187615730618=p3


Index: Makefile
===
RCS file: /cvs/ports/news/sabnzbd/Makefile,v
retrieving revision 1.13
diff -u -p -u -r1.13 Makefile
--- Makefile28 May 2018 12:25:20 -  1.13
+++ Makefile10 Nov 2018 20:05:12 -
@@ -1,13 +1,12 @@
 # $OpenBSD: Makefile,v 1.13 2018/05/28 12:25:20 sthen Exp $
 
 COMMENT =  retrieve and process nzb-files via web interface
-VERSION =  1.2.1
+VERSION =  2.3.5
 DISTNAME = SABnzbd-${VERSION}-src
-PKGNAME =  sabnzbd-${VERSION}
+PKGNAME =  sabnzbd-${VERSION:L}
 CATEGORIES =   news
-HOMEPAGE = http://sabnzbd.org/
+HOMEPAGE = https://sabnzbd.org/
 MAINTAINER =   Marcus Glocker 
-REVISION = 1
 
 # GPLv2
 PERMIT_PACKAGE_CDROM = Yes
@@ -22,14 +21,15 @@ RUN_DEPENDS =   archivers/par2cmdline \
archivers/unzip \
devel/py-cheetah \
devel/py-notify \
-   news/py-yenc \
+   textproc/py-lxml \
+   news/py-sabyenc \
security/py-openssl
 
 NO_BUILD = Yes
 NO_TEST =  Yes
 PKG_ARCH = *
 
-WRKSRC =   ${WRKDIR}/SABnzbd-${VERSION}
+WRKDIST =  ${WRKDIR}/SABnzbd-${VERSION}
 
 do-install:
${INSTALL_DATA_DIR} \
Index: distinfo
===
RCS file: /cvs/ports/news/sabnzbd/distinfo,v
retrieving revision 1.7
diff -u -p -u -r1.7 distinfo
--- distinfo25 Feb 2017 20:11:33 -  1.7
+++ distinfo10 Nov 2018 20:05:12 -
@@ -1,2 +1,2 @@
-SHA256 (SABnzbd-1.2.1-src.tar.gz) = 
MHL2R9PnQYGSybxYgc/JtYMUoA8NvNj4LxwRsTTENLs=
-SIZE (SABnzbd-1.2.1-src.tar.gz) = 2725395
+SHA256 (SABnzbd-2.3.5-src.tar.gz) = 
4m+z6K/jXYLjGqHTVofKA/FodIIxomwSYXcXY1RfsrQ=
+SIZE (SABnzbd-2.3.5-src.tar.gz) = 2750437
Index: files/sabnzbd
===
RCS file: /cvs/ports/news/sabnzbd/files/sabnzbd,v
retrieving revision 1.2
diff -u -p -u -r1.2 sabnzbd
--- files/sabnzbd   20 May 2013 18:36:06 -  1.2
+++ files/sabnzbd   10 Nov 2018 20:05:12 -
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-exec ${MODPY_BIN} 
${TRUEPREFIX}/lib/python${MODPY_VERSION}/site-packages/sabnzbd/SABnzbd.py $*
+exec ${MODPY_BIN} 
${TRUEPREFIX}/lib/python${MODPY_VERSION}/site-packages/sabnzbd/SABnzbd.py "$@"
Index: patches/patch-sabnzbd_assembler_py
===
RCS file: patches/patch-sabnzbd_assembler_py
diff -N patches/patch-sabnzbd_assembler_py
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-sabnzbd_assembler_py  10 Nov 2018 20:05:12 -
@@ -0,0 +1,19 @@
+$OpenBSD$
+
+- https://github.com/sabnzbd/sabnzbd/issues/1095
+
+Index: sabnzbd/assembler.py
+--- sabnzbd/assembler.py.orig
 sabnzbd/assembler.py
+@@ -81,11 +81,6 @@ class Assembler(Thread):
+ # Abort all direct unpackers, just to be sure
+ sabnzbd.directunpacker.abort_all()
+ 
+-# Place job back in queue and wait 30 seconds to hope it 
gets resolved
+-self.process(job)
+-sleep(30)
+-continue
+-
+ # Prepare filename
+ nzo.verify_nzf_filename(nzf)
+ nzf.filename = sanitize_filename(nzf.filename)
Index: pkg/PLIST
===
RCS file: /cvs/ports/news/sabnzbd/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -u -r1.6 PLIST
--- pkg/PLIST   28 May 2018 12:25:20 -  1.6
+++ pkg/PLIST   10 Nov 2018 20:05:12 -
@@ -7,13 +7,7 @@
 @owner
 @group
 @rcscript ${RCDIR}/sabnzbd
-@owner _sabnzbd
-@group _sabnzbd
 

Re: UPDATE news/sabnzbd

2018-11-10 Thread Mikolaj Kucharski
My local working dir was out of date. New patch below..

On Sat, Nov 10, 2018 at 06:25:37PM +, Mikolaj Kucharski wrote:
> Hi,
> 
> Sorry for so late reply, but here is my version of sabnzbd update,
> which I tested a while a go and I'm pretty happy with it. This is
> version used to report the problem of failed downloads when free
> disk space is below threshold configured in sabnzbd:
> 
> https://github.com/sabnzbd/sabnzbd/issues/1095
> 
> What is in my version of update:
> 
> - update to version 2.3.5
> - homepage supports https
> - dropped ${_MODPY_BUILD_DEPENDS}, build worked for me without it
> - added textproc/py-lxml to run depends, per advice in sabnzbd's logs
> - switched from news/py-yenc to news/py-sabyenc (see attached tarball of new 
> port)
> - use WRKDIST, instead of WRKSRC (I hit a problem with WRKSRC)
> - allow spaces in arguments to launcher script
> - patch for GitHub sabnzbd/issues/1095
> - fix newuser/newgroup in plist
> - fix ownership of bin/sabnzbd (package install doesn't fix it though, pkg 
> tools bug?)
> - plist regen
> - added 2 min timeout as I had situation when sabnzbd needed more time than 
> usual to stop
> 
> I wrote that update couple of weeks ago and didn't had time to look into
> it recently, so I would appreciate double-checking what I did.
> 
> Regards,
>  Mikolaj
> 


Index: Makefile
===
RCS file: /cvs/ports/news/sabnzbd/Makefile,v
retrieving revision 1.13
diff -u -p -u -r1.13 Makefile
--- Makefile28 May 2018 12:25:20 -  1.13
+++ Makefile10 Nov 2018 18:35:57 -
@@ -1,13 +1,12 @@
 # $OpenBSD: Makefile,v 1.13 2018/05/28 12:25:20 sthen Exp $
 
 COMMENT =  retrieve and process nzb-files via web interface
-VERSION =  1.2.1
+VERSION =  2.3.5
 DISTNAME = SABnzbd-${VERSION}-src
-PKGNAME =  sabnzbd-${VERSION}
+PKGNAME =  sabnzbd-${VERSION:L}
 CATEGORIES =   news
-HOMEPAGE = http://sabnzbd.org/
+HOMEPAGE = https://sabnzbd.org/
 MAINTAINER =   Marcus Glocker 
-REVISION = 1
 
 # GPLv2
 PERMIT_PACKAGE_CDROM = Yes
@@ -16,20 +15,20 @@ MASTER_SITES =  https://github.com/sabn
 
 MODULES =  lang/python
 
-BUILD_DEPENDS =${_MODPY_BUILD_DEPENDS}
 RUN_DEPENDS =  archivers/par2cmdline \
archivers/unrar \
archivers/unzip \
devel/py-cheetah \
devel/py-notify \
-   news/py-yenc \
+   textproc/py-lxml \
+   news/py-sabyenc \
security/py-openssl
 
 NO_BUILD = Yes
 NO_TEST =  Yes
 PKG_ARCH = *
 
-WRKSRC =   ${WRKDIR}/SABnzbd-${VERSION}
+WRKDIST =  ${WRKDIR}/SABnzbd-${VERSION}
 
 do-install:
${INSTALL_DATA_DIR} \
Index: distinfo
===
RCS file: /cvs/ports/news/sabnzbd/distinfo,v
retrieving revision 1.7
diff -u -p -u -r1.7 distinfo
--- distinfo25 Feb 2017 20:11:33 -  1.7
+++ distinfo10 Nov 2018 18:35:57 -
@@ -1,2 +1,2 @@
-SHA256 (SABnzbd-1.2.1-src.tar.gz) = 
MHL2R9PnQYGSybxYgc/JtYMUoA8NvNj4LxwRsTTENLs=
-SIZE (SABnzbd-1.2.1-src.tar.gz) = 2725395
+SHA256 (SABnzbd-2.3.5-src.tar.gz) = 
4m+z6K/jXYLjGqHTVofKA/FodIIxomwSYXcXY1RfsrQ=
+SIZE (SABnzbd-2.3.5-src.tar.gz) = 2750437
Index: files/sabnzbd
===
RCS file: /cvs/ports/news/sabnzbd/files/sabnzbd,v
retrieving revision 1.2
diff -u -p -u -r1.2 sabnzbd
--- files/sabnzbd   20 May 2013 18:36:06 -  1.2
+++ files/sabnzbd   10 Nov 2018 18:35:57 -
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-exec ${MODPY_BIN} 
${TRUEPREFIX}/lib/python${MODPY_VERSION}/site-packages/sabnzbd/SABnzbd.py $*
+exec ${MODPY_BIN} 
${TRUEPREFIX}/lib/python${MODPY_VERSION}/site-packages/sabnzbd/SABnzbd.py "$@"
Index: patches/patch-sabnzbd_assembler_py
===
RCS file: patches/patch-sabnzbd_assembler_py
diff -N patches/patch-sabnzbd_assembler_py
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-sabnzbd_assembler_py  10 Nov 2018 18:35:57 -
@@ -0,0 +1,19 @@
+$OpenBSD$
+
+- https://github.com/sabnzbd/sabnzbd/issues/1095
+
+Index: sabnzbd/assembler.py
+--- sabnzbd/assembler.py.orig
 sabnzbd/assembler.py
+@@ -81,11 +81,6 @@ class Assembler(Thread):
+ # Abort all direct unpackers, just to be sure
+ sabnzbd.directunpacker.abort_all()
+ 
+-# Place job back in queue and wait 30 

Re: UPDATE news/sabnzbd

2018-11-10 Thread Mikolaj Kucharski
Hi,

Sorry for so late reply, but here is my version of sabnzbd update,
which I tested a while a go and I'm pretty happy with it. This is
version used to report the problem of failed downloads when free
disk space is below threshold configured in sabnzbd:

https://github.com/sabnzbd/sabnzbd/issues/1095

What is in my version of update:

- update to version 2.3.5
- homepage supports https
- dropped ${_MODPY_BUILD_DEPENDS}, build worked for me without it
- added textproc/py-lxml to run depends, per advice in sabnzbd's logs
- switched from news/py-yenc to news/py-sabyenc (see attached tarball of new 
port)
- use WRKDIST, instead of WRKSRC (I hit a problem with WRKSRC)
- allow spaces in arguments to launcher script
- patch for GitHub sabnzbd/issues/1095
- fix newuser/newgroup in plist
- fix ownership of bin/sabnzbd (package install doesn't fix it though, pkg 
tools bug?)
- plist regen
- added 2 min timeout as I had situation when sabnzbd needed more time than 
usual to stop

I wrote that update couple of weeks ago and didn't had time to look into
it recently, so I would appreciate double-checking what I did.

Regards,
 Mikolaj

On Wed, Oct 24, 2018 at 07:01:15AM +0200, Björn Ketelaars wrote:
> On Tue 16/10/2018 16:33, Björn Ketelaars wrote:
> > Another attempt to update sabnzbd [0]:
> > 
> > Enclosed diff brings sabnzbd to the latest version (2.3.5). Delta
> > between the version in ports and the proposed update are hundreds of
> > commits: bugs have been fixed and features have been added.
> > 
> > Previous attempt to update sabnzbd was halted because of a bug reported
> > upstream by an OpenBSD user [1]. Fix for this issue has been
> > cherrypicked.
> > 
> > Diff is somewhat lighter than the previous diff as it does not rely on a
> > new port (py-sabyenc [2]), and instead uses py-yenc. Switching to
> > py-sabyenc is something we can do later.
> > 
> > While here switch HOMEPAGE to https.
> > 
> > MAINTAINER does not respond.
> > 
> > Tested lightly on amd64.
> > 
> > Comments/OKs?
> 
> 
> Ping
> 



Index: Makefile
===
RCS file: /cvs/ports/news/sabnzbd/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile11 Jan 2018 19:27:08 -  1.12
+++ Makefile10 Nov 2018 18:11:31 -
@@ -1,13 +1,12 @@
-# $OpenBSD: Makefile,v 1.12 2018/01/11 19:27:08 rpe Exp $
+# $OpenBSD: Makefile,v 1.13 2018/05/28 12:25:20 sthen Exp $
 
 COMMENT =  retrieve and process nzb-files via web interface
-VERSION =  1.2.1
+VERSION =  2.3.5
 DISTNAME = SABnzbd-${VERSION}-src
-PKGNAME =  sabnzbd-${VERSION}
+PKGNAME =  sabnzbd-${VERSION:L}
 CATEGORIES =   news
-HOMEPAGE = http://sabnzbd.org/
+HOMEPAGE = https://sabnzbd.org/
 MAINTAINER =   Marcus Glocker 
-REVISION = 0
 
 # GPLv2
 PERMIT_PACKAGE_CDROM = Yes
@@ -16,20 +15,20 @@ MASTER_SITES =  https://github.com/sabn
 
 MODULES =  lang/python
 
-BUILD_DEPENDS =${_MODPY_BUILD_DEPENDS}
 RUN_DEPENDS =  archivers/par2cmdline \
archivers/unrar \
archivers/unzip \
devel/py-cheetah \
devel/py-notify \
-   news/py-yenc \
+   textproc/py-lxml \
+   news/py-sabyenc \
security/py-openssl
 
 NO_BUILD = Yes
 NO_TEST =  Yes
 PKG_ARCH = *
 
-WRKSRC =   ${WRKDIR}/SABnzbd-${VERSION}
+WRKDIST =  ${WRKDIR}/SABnzbd-${VERSION}
 
 do-install:
${INSTALL_DATA_DIR} \
Index: distinfo
===
RCS file: /cvs/ports/news/sabnzbd/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo25 Feb 2017 20:11:33 -  1.7
+++ distinfo10 Nov 2018 18:11:31 -
@@ -1,2 +1,2 @@
-SHA256 (SABnzbd-1.2.1-src.tar.gz) = 
MHL2R9PnQYGSybxYgc/JtYMUoA8NvNj4LxwRsTTENLs=
-SIZE (SABnzbd-1.2.1-src.tar.gz) = 2725395
+SHA256 (SABnzbd-2.3.5-src.tar.gz) = 
4m+z6K/jXYLjGqHTVofKA/FodIIxomwSYXcXY1RfsrQ=
+SIZE (SABnzbd-2.3.5-src.tar.gz) = 2750437
Index: files/sabnzbd
===
RCS file: /cvs/ports/news/sabnzbd/files/sabnzbd,v
retrieving revision 1.2
diff -u -p -r1.2 sabnzbd
--- files/sabnzbd   20 May 2013 18:36:06 -  1.2
+++ files/sabnzbd   10 Nov 2018 18:11:31 -
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-exec ${MODPY_BIN} 
${TRUEPREFIX}/lib/python${MODPY_VERSION}/site-packages/sabnzbd/SABnzbd.py $*
+exec ${MODPY_BIN} 

Re: UPDATE news/sabnzbd

2018-10-23 Thread Björn Ketelaars
On Tue 16/10/2018 16:33, Björn Ketelaars wrote:
> Another attempt to update sabnzbd [0]:
> 
> Enclosed diff brings sabnzbd to the latest version (2.3.5). Delta
> between the version in ports and the proposed update are hundreds of
> commits: bugs have been fixed and features have been added.
> 
> Previous attempt to update sabnzbd was halted because of a bug reported
> upstream by an OpenBSD user [1]. Fix for this issue has been
> cherrypicked.
> 
> Diff is somewhat lighter than the previous diff as it does not rely on a
> new port (py-sabyenc [2]), and instead uses py-yenc. Switching to
> py-sabyenc is something we can do later.
> 
> While here switch HOMEPAGE to https.
> 
> MAINTAINER does not respond.
> 
> Tested lightly on amd64.
> 
> Comments/OKs?


Ping



UPDATE news/sabnzbd

2018-10-16 Thread Björn Ketelaars
Another attempt to update sabnzbd [0]:

Enclosed diff brings sabnzbd to the latest version (2.3.5). Delta
between the version in ports and the proposed update are hundreds of
commits: bugs have been fixed and features have been added.

Previous attempt to update sabnzbd was halted because of a bug reported
upstream by an OpenBSD user [1]. Fix for this issue has been
cherrypicked.

Diff is somewhat lighter than the previous diff as it does not rely on a
new port (py-sabyenc [2]), and instead uses py-yenc. Switching to
py-sabyenc is something we can do later.

While here switch HOMEPAGE to https.

MAINTAINER does not respond.

Tested lightly on amd64.

Comments/OKs?


[0] https://marc.info/?l=openbsd-ports=151679011724515=2
[1] https://github.com/sabnzbd/sabnzbd/issues/1095
[2] https://marc.info/?l=openbsd-ports=151679036824627=2


diff --git Makefile Makefile
index a6f4c839713..429651980f9 100644
--- Makefile
+++ Makefile
@@ -1,18 +1,18 @@
 # $OpenBSD: Makefile,v 1.13 2018/05/28 12:25:20 sthen Exp $
 
 COMMENT =  retrieve and process nzb-files via web interface
-VERSION =  1.2.1
-DISTNAME = SABnzbd-${VERSION}-src
+VERSION =  2.3.5
+DISTNAME = SABnzbd-${VERSION}
 PKGNAME =  sabnzbd-${VERSION}
 CATEGORIES =   news
-HOMEPAGE = http://sabnzbd.org/
+HOMEPAGE = https://sabnzbd.org/
 MAINTAINER =   Marcus Glocker 
-REVISION = 1
 
 # GPLv2
 PERMIT_PACKAGE_CDROM = Yes
 
 MASTER_SITES = 
https://github.com/sabnzbd/sabnzbd/releases/download/${VERSION}/
+EXTRACT_SUFX = -src.tar.gz
 
 MODULES =  lang/python
 
@@ -29,8 +29,6 @@ NO_BUILD =Yes
 NO_TEST =  Yes
 PKG_ARCH = *
 
-WRKSRC =   ${WRKDIR}/SABnzbd-${VERSION}
-
 do-install:
${INSTALL_DATA_DIR} \
${PREFIX}/lib/python${MODPY_VERSION}/site-packages/sabnzbd
diff --git distinfo distinfo
index 49b198776a3..be9b0647809 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (SABnzbd-1.2.1-src.tar.gz) = 
MHL2R9PnQYGSybxYgc/JtYMUoA8NvNj4LxwRsTTENLs=
-SIZE (SABnzbd-1.2.1-src.tar.gz) = 2725395
+SHA256 (SABnzbd-2.3.5-src.tar.gz) = 
4m+z6K/jXYLjGqHTVofKA/FodIIxomwSYXcXY1RfsrQ=
+SIZE (SABnzbd-2.3.5-src.tar.gz) = 2750437
diff --git patches/patch-sabnzbd_assembler_py patches/patch-sabnzbd_assembler_py
new file mode 100644
index 000..33ee88f93d7
--- /dev/null
+++ patches/patch-sabnzbd_assembler_py
@@ -0,0 +1,21 @@
+$OpenBSD$
+
+Prevent endless loop when disk-space is exceeded.
+
+https://github.com/sabnzbd/sabnzbd/issues/1095
+
+Index: sabnzbd/assembler.py
+--- sabnzbd/assembler.py.orig
 sabnzbd/assembler.py
+@@ -81,11 +81,6 @@ class Assembler(Thread):
+ # Abort all direct unpackers, just to be sure
+ sabnzbd.directunpacker.abort_all()
+ 
+-# Place job back in queue and wait 30 seconds to hope it 
gets resolved
+-self.process(job)
+-sleep(30)
+-continue
+-
+ # Prepare filename
+ nzo.verify_nzf_filename(nzf)
+ nzf.filename = sanitize_filename(nzf.filename)
diff --git pkg/PLIST pkg/PLIST
index bd5845c2a6f..6e0274ffae1 100644
--- pkg/PLIST
+++ pkg/PLIST
@@ -12,8 +12,6 @@
 bin/sabnzbd
 @owner
 @group
-lib/python${MODPY_VERSION}/
-lib/python${MODPY_VERSION}/site-packages/
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/ABOUT.txt
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/COPYRIGHT.txt
@@ -129,8 +127,6 @@ 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/ssl_builtin
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/ssl_builtin.pyc
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/ssl_pyopenssl.py
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/ssl_pyopenssl.pyc
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/test_wsgiserver.py
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/test_wsgiserver.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-da.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-de.tmpl
@@ -138,6 +134,7 @@ 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-en.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-es.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-fi.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-fr.tmpl
+lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-he.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-nb.tmpl
 

Re: UPDATE news/sabnzbd

2018-02-13 Thread Mikolaj Kucharski
On Fri, Jan 26, 2018 at 05:36:56AM +0100, Björn Ketelaars wrote:
> On Wed 24/01/2018 11:34, Björn Ketelaars wrote:
> > SABnzbd received a couple of updates, fixing several bugs. The diff below
> > brings news/sabnzbd to the latest version. A noticeable change is that 
> > sabnzbd
> > requires a modified version of yEnc, which is currently not in ports.
> > A tarball for py-sabyenc will be sent in a different mail.
> 
> Klemens Nanni contacted me offlist and noted that SABnbzd only supports
> Python2, and to set MODPY_VERSION explicitly to make that clear. Guess
> this makes sense as this is done for other ports as well. Included a new
> diff.
> 
> Please note that SABnzbd 2.3.2 relies on py-sabyenc for which a port has
> been sent to this list [0].
> 
> I mailed the maintainer a couple of days before sending my initial diff
> to this list. As of yet no response.
> 
> [0] https://marc.info/?l=openbsd-ports=151679036824627=2
> 

This is what I'm testing. I'm slow with this as I don't have a lot of
time to look into it. I'm emailing, so you see what I have on my end.


I'm still facing those issues from github bug 1095

 
Index: Makefile
===
RCS file: /cvs/ports/news/sabnzbd/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile11 Jan 2018 19:27:08 -  1.12
+++ Makefile13 Feb 2018 06:46:46 -
@@ -1,13 +1,12 @@
 # $OpenBSD: Makefile,v 1.12 2018/01/11 19:27:08 rpe Exp $
 
 COMMENT =  retrieve and process nzb-files via web interface
-VERSION =  1.2.1
+VERSION =  2.3.2
 DISTNAME = SABnzbd-${VERSION}-src
 PKGNAME =  sabnzbd-${VERSION}
 CATEGORIES =   news
-HOMEPAGE = http://sabnzbd.org/
+HOMEPAGE = https://sabnzbd.org/
 MAINTAINER =   Marcus Glocker 
-REVISION = 0
 
 # GPLv2
 PERMIT_PACKAGE_CDROM = Yes
@@ -15,14 +14,14 @@ PERMIT_PACKAGE_CDROM =  Yes
 MASTER_SITES = 
https://github.com/sabnzbd/sabnzbd/releases/download/${VERSION}/
 
 MODULES =  lang/python
+MODPY_VERSION =${MODPY_DEFAULT_VERSION_2}
 
-BUILD_DEPENDS =${_MODPY_BUILD_DEPENDS}
 RUN_DEPENDS =  archivers/par2cmdline \
archivers/unrar \
archivers/unzip \
devel/py-cheetah \
devel/py-notify \
-   news/py-yenc \
+   news/py-sabyenc \
security/py-openssl
 
 NO_BUILD = Yes
Index: distinfo
===
RCS file: /cvs/ports/news/sabnzbd/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo25 Feb 2017 20:11:33 -  1.7
+++ distinfo13 Feb 2018 06:46:46 -
@@ -1,2 +1,2 @@
-SHA256 (SABnzbd-1.2.1-src.tar.gz) = 
MHL2R9PnQYGSybxYgc/JtYMUoA8NvNj4LxwRsTTENLs=
-SIZE (SABnzbd-1.2.1-src.tar.gz) = 2725395
+SHA256 (SABnzbd-2.3.2-src.tar.gz) = 
ijjTpjCuzXHjzaFAgovajQYsadbwnKYkbfuZir/7+1A=
+SIZE (SABnzbd-2.3.2-src.tar.gz) = 2745451
Index: files/sabnzbd
===
RCS file: /cvs/ports/news/sabnzbd/files/sabnzbd,v
retrieving revision 1.2
diff -u -p -r1.2 sabnzbd
--- files/sabnzbd   20 May 2013 18:36:06 -  1.2
+++ files/sabnzbd   13 Feb 2018 06:46:46 -
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-exec ${MODPY_BIN} 
${TRUEPREFIX}/lib/python${MODPY_VERSION}/site-packages/sabnzbd/SABnzbd.py $*
+exec ${MODPY_BIN} 
${TRUEPREFIX}/lib/python${MODPY_VERSION}/site-packages/sabnzbd/SABnzbd.py "$@"
Index: pkg/PLIST
===
RCS file: /cvs/ports/news/sabnzbd/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- pkg/PLIST   25 Feb 2017 20:11:33 -  1.5
+++ pkg/PLIST   13 Feb 2018 06:46:46 -
@@ -122,8 +122,6 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/ssl_builtin.pyc
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/ssl_${MODPY_PYOEXTENSION}penssl.py
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/ssl_${MODPY_PYOEXTENSION}penssl.pyc
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/test_wsgiserver.py
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/test_wsgiserver.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-da.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-de.tmpl
@@ -131,6 +129,7 @@ lib/python${MODPY_VERSION}/site-packages
 

Re: UPDATE news/sabnzbd

2018-02-04 Thread Mikolaj Kucharski
On Sun, Feb 04, 2018 at 10:02:45PM +, Mikolaj Kucharski wrote:
> Not sure where is the problem, but so far it feels like to go for this
> update :/

Feelks like *no* go.

-- 
best regards
q#



Re: UPDATE news/sabnzbd

2018-02-04 Thread Mikolaj Kucharski
I'm not running exactly the same version of the port, as I already
had my own work in progress update os SABnzbd, but I think this update
is affected by issue 1095.

I see very often downloads stuck at 100% with `Found idle job` messanges
in logs.

When I take nzb-file and download it with simple perl script which
talks NNTP all articles are fetched and I can recreate archives with
uudeview(1) and verify them with par2(1) without any repair needed.

Not sure where is the problem, but so far it feels like to go for this
update :/

On Fri, Jan 26, 2018 at 05:36:56AM +0100, Björn Ketelaars wrote:
> On Wed 24/01/2018 11:34, Björn Ketelaars wrote:
> > SABnzbd received a couple of updates, fixing several bugs. The diff below
> > brings news/sabnzbd to the latest version. A noticeable change is that 
> > sabnzbd
> > requires a modified version of yEnc, which is currently not in ports.
> > A tarball for py-sabyenc will be sent in a different mail.
> 
> Klemens Nanni contacted me offlist and noted that SABnbzd only supports
> Python2, and to set MODPY_VERSION explicitly to make that clear. Guess
> this makes sense as this is done for other ports as well. Included a new
> diff.
> 
> Please note that SABnzbd 2.3.2 relies on py-sabyenc for which a port has
> been sent to this list [0].
> 
> I mailed the maintainer a couple of days before sending my initial diff
> to this list. As of yet no response.
> 
> [0] https://marc.info/?l=openbsd-ports=151679036824627=2
> 
> 
> diff --git news/sabnzbd/Makefile news/sabnzbd/Makefile
> index 2f6cc848b42..3438fec47e7 100644
> --- news/sabnzbd/Makefile
> +++ news/sabnzbd/Makefile
> @@ -1,13 +1,12 @@
>  # $OpenBSD: Makefile,v 1.12 2018/01/11 19:27:08 rpe Exp $
>  
>  COMMENT =retrieve and process nzb-files via web interface
> -VERSION =1.2.1
> +VERSION =2.3.2
>  DISTNAME =   SABnzbd-${VERSION}-src
>  PKGNAME =sabnzbd-${VERSION}
>  CATEGORIES = news
>  HOMEPAGE =   http://sabnzbd.org/
>  MAINTAINER = Marcus Glocker 
> -REVISION =   0
>  
>  # GPLv2
>  PERMIT_PACKAGE_CDROM =   Yes
> @@ -15,14 +14,14 @@ PERMIT_PACKAGE_CDROM =Yes
>  MASTER_SITES =   
> https://github.com/sabnzbd/sabnzbd/releases/download/${VERSION}/
>  
>  MODULES =lang/python
> +MODPY_VERSION =  ${MODPY_DEFAULT_VERSION_2}
>  
> -BUILD_DEPENDS =  ${_MODPY_BUILD_DEPENDS}
>  RUN_DEPENDS =archivers/par2cmdline \
>   archivers/unrar \
>   archivers/unzip \
>   devel/py-cheetah \
>   devel/py-notify \
> - news/py-yenc \
> + news/py-sabyenc \
>   security/py-openssl
>  
>  NO_BUILD =   Yes
> diff --git news/sabnzbd/distinfo news/sabnzbd/distinfo
> index 49b198776a3..99cfffe2e38 100644
> --- news/sabnzbd/distinfo
> +++ news/sabnzbd/distinfo
> @@ -1,2 +1,2 @@
> -SHA256 (SABnzbd-1.2.1-src.tar.gz) = 
> MHL2R9PnQYGSybxYgc/JtYMUoA8NvNj4LxwRsTTENLs=
> -SIZE (SABnzbd-1.2.1-src.tar.gz) = 2725395
> +SHA256 (SABnzbd-2.3.2-src.tar.gz) = 
> ijjTpjCuzXHjzaFAgovajQYsadbwnKYkbfuZir/7+1A=
> +SIZE (SABnzbd-2.3.2-src.tar.gz) = 2745451
> diff --git news/sabnzbd/pkg/PLIST news/sabnzbd/pkg/PLIST
> index a7ec4bb5510..f4bb0a6954b 100644
> --- news/sabnzbd/pkg/PLIST
> +++ news/sabnzbd/pkg/PLIST
> @@ -122,8 +122,6 @@ 
> lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/ssl_builtin
>  
> lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/ssl_builtin.pyc
>  
> lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/ssl_${MODPY_PYOEXTENSION}penssl.py
>  
> lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/ssl_${MODPY_PYOEXTENSION}penssl.pyc
> -lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/test_wsgiserver.py
> -lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/test_wsgiserver.pyc
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-da.tmpl
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-de.tmpl
> @@ -131,6 +129,7 @@ 
> lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-en.tmpl
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-es.tmpl
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-fi.tmpl
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-fr.tmpl
> +lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-he.tmpl
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-nb.tmpl
>  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-nl.tmpl
>  

Re: UPDATE news/sabnzbd

2018-01-25 Thread Björn Ketelaars
On Wed 24/01/2018 11:34, Björn Ketelaars wrote:
> SABnzbd received a couple of updates, fixing several bugs. The diff below
> brings news/sabnzbd to the latest version. A noticeable change is that sabnzbd
> requires a modified version of yEnc, which is currently not in ports.
> A tarball for py-sabyenc will be sent in a different mail.

Klemens Nanni contacted me offlist and noted that SABnbzd only supports
Python2, and to set MODPY_VERSION explicitly to make that clear. Guess
this makes sense as this is done for other ports as well. Included a new
diff.

Please note that SABnzbd 2.3.2 relies on py-sabyenc for which a port has
been sent to this list [0].

I mailed the maintainer a couple of days before sending my initial diff
to this list. As of yet no response.

[0] https://marc.info/?l=openbsd-ports=151679036824627=2


diff --git news/sabnzbd/Makefile news/sabnzbd/Makefile
index 2f6cc848b42..3438fec47e7 100644
--- news/sabnzbd/Makefile
+++ news/sabnzbd/Makefile
@@ -1,13 +1,12 @@
 # $OpenBSD: Makefile,v 1.12 2018/01/11 19:27:08 rpe Exp $
 
 COMMENT =  retrieve and process nzb-files via web interface
-VERSION =  1.2.1
+VERSION =  2.3.2
 DISTNAME = SABnzbd-${VERSION}-src
 PKGNAME =  sabnzbd-${VERSION}
 CATEGORIES =   news
 HOMEPAGE = http://sabnzbd.org/
 MAINTAINER =   Marcus Glocker 
-REVISION = 0
 
 # GPLv2
 PERMIT_PACKAGE_CDROM = Yes
@@ -15,14 +14,14 @@ PERMIT_PACKAGE_CDROM =  Yes
 MASTER_SITES = 
https://github.com/sabnzbd/sabnzbd/releases/download/${VERSION}/
 
 MODULES =  lang/python
+MODPY_VERSION =${MODPY_DEFAULT_VERSION_2}
 
-BUILD_DEPENDS =${_MODPY_BUILD_DEPENDS}
 RUN_DEPENDS =  archivers/par2cmdline \
archivers/unrar \
archivers/unzip \
devel/py-cheetah \
devel/py-notify \
-   news/py-yenc \
+   news/py-sabyenc \
security/py-openssl
 
 NO_BUILD = Yes
diff --git news/sabnzbd/distinfo news/sabnzbd/distinfo
index 49b198776a3..99cfffe2e38 100644
--- news/sabnzbd/distinfo
+++ news/sabnzbd/distinfo
@@ -1,2 +1,2 @@
-SHA256 (SABnzbd-1.2.1-src.tar.gz) = 
MHL2R9PnQYGSybxYgc/JtYMUoA8NvNj4LxwRsTTENLs=
-SIZE (SABnzbd-1.2.1-src.tar.gz) = 2725395
+SHA256 (SABnzbd-2.3.2-src.tar.gz) = 
ijjTpjCuzXHjzaFAgovajQYsadbwnKYkbfuZir/7+1A=
+SIZE (SABnzbd-2.3.2-src.tar.gz) = 2745451
diff --git news/sabnzbd/pkg/PLIST news/sabnzbd/pkg/PLIST
index a7ec4bb5510..f4bb0a6954b 100644
--- news/sabnzbd/pkg/PLIST
+++ news/sabnzbd/pkg/PLIST
@@ -122,8 +122,6 @@ 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/ssl_builtin
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/ssl_builtin.pyc
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/ssl_${MODPY_PYOEXTENSION}penssl.py
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/ssl_${MODPY_PYOEXTENSION}penssl.pyc
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/test_wsgiserver.py
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/wsgiserver/test_wsgiserver.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-da.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-de.tmpl
@@ -131,6 +129,7 @@ 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-en.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-es.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-fi.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-fr.tmpl
+lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-he.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-nb.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-nl.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-pl.tmpl
@@ -146,6 +145,7 @@ 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-en.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-es.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-fi.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-fr.tmpl
+lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-he.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-nb.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-nl.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-pl.tmpl
@@ -161,6 +161,7 @@ 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-en.tmpl
 

[update] news/sabnzbd to 1.2.1

2017-02-25 Thread Carlin Bingham
Changelog: https://github.com/sabnzbd/sabnzbd/releases/tag/1.2.1


-- 
Carlin


Index: news/sabnzbd/Makefile
===
RCS file: /cvs/ports/news/sabnzbd/Makefile,v
retrieving revision 1.10
diff -u -p -u -r1.10 Makefile
--- news/sabnzbd/Makefile   5 Jun 2016 19:13:57 -   1.10
+++ news/sabnzbd/Makefile   25 Feb 2017 13:25:41 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.10 2016/06/05 19:13:57 mglocker Exp $
 
 COMMENT =  retrieve and process nzb-files via web interface
-VERSION =  1.0.3
+VERSION =  1.2.1
 DISTNAME = SABnzbd-${VERSION}-src
 PKGNAME =  sabnzbd-${VERSION}
 CATEGORIES =   news
Index: news/sabnzbd/distinfo
===
RCS file: /cvs/ports/news/sabnzbd/distinfo,v
retrieving revision 1.6
diff -u -p -u -r1.6 distinfo
--- news/sabnzbd/distinfo   5 Jun 2016 19:13:57 -   1.6
+++ news/sabnzbd/distinfo   25 Feb 2017 13:25:41 -
@@ -1,2 +1,2 @@
-SHA256 (SABnzbd-1.0.3-src.tar.gz) = 
z4fT8X/APos6SzAQJhEVwq1+L3c7Xt6VqAAls0DbvTU=
-SIZE (SABnzbd-1.0.3-src.tar.gz) = 2975111
+SHA256 (SABnzbd-1.2.1-src.tar.gz) = 
MHL2R9PnQYGSybxYgc/JtYMUoA8NvNj4LxwRsTTENLs=
+SIZE (SABnzbd-1.2.1-src.tar.gz) = 2725395
Index: news/sabnzbd/pkg/PLIST
===
RCS file: /cvs/ports/news/sabnzbd/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -u -r1.4 PLIST
--- news/sabnzbd/pkg/PLIST  21 Mar 2016 23:30:08 -  1.4
+++ news/sabnzbd/pkg/PLIST  25 Feb 2017 13:25:42 -
@@ -22,8 +22,6 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/SABnzbd.py
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/SABnzbd.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/LICENSE.txt
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/Patch-for-CP-3.8.0.diff
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/VERSION.txt
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/__init__.py
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/__init__.pyc
@@ -33,8 +31,6 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpchecker.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpcompat.py
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpcompat.pyc
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpcompat_subprocess.py
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpcompat_subprocess.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpconfig.py
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpconfig.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpdispatch.py
@@ -53,8 +49,6 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cprequest.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpserver.py
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpserver.pyc
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpthreadinglocal.py
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpthreadinglocal.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cptools.py
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cptools.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cptree.py
@@ -63,6 +57,8 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpwsgi.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpwsgi_server.py
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpwsgi_server.pyc
+lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_helper.py
+lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_helper.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/cherryd
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/daemon.py
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/daemon.pyc
@@ -88,8 +84,6 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/lib/encoding.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/lib/gctools.py
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/lib/gctools.pyc
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/lib/http.py
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/lib/http.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/lib/httpauth.py
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/lib/httpauth.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/lib/httputil.py
@@ -126,12 +120,10 @@ lib/python${MODPY_VERSION}/site-packages
 

[update] news/sabnzbd to 1.2.0

2017-01-14 Thread Carlin Bingham
Changelog: https://github.com/sabnzbd/sabnzbd/releases/tag/1.2.0


--
Carlin


Index: news/sabnzbd/Makefile
===
RCS file: /cvs/ports/news/sabnzbd/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- news/sabnzbd/Makefile   5 Jun 2016 19:13:57 -   1.10
+++ news/sabnzbd/Makefile   14 Jan 2017 15:46:23 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.10 2016/06/05 19:13:57 mglocker Exp $
 
 COMMENT =  retrieve and process nzb-files via web interface
-VERSION =  1.0.3
+VERSION =  1.2.0
 DISTNAME = SABnzbd-${VERSION}-src
 PKGNAME =  sabnzbd-${VERSION}
 CATEGORIES =   news
Index: news/sabnzbd/distinfo
===
RCS file: /cvs/ports/news/sabnzbd/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- news/sabnzbd/distinfo   5 Jun 2016 19:13:57 -   1.6
+++ news/sabnzbd/distinfo   14 Jan 2017 15:46:23 -
@@ -1,2 +1,2 @@
-SHA256 (SABnzbd-1.0.3-src.tar.gz) = 
z4fT8X/APos6SzAQJhEVwq1+L3c7Xt6VqAAls0DbvTU=
-SIZE (SABnzbd-1.0.3-src.tar.gz) = 2975111
+SHA256 (SABnzbd-1.2.0-src.tar.gz) = 
Bjm26Ahu5G6Nh27/wtRmcl6LM+a2XgU4UY82mG5EBbk=
+SIZE (SABnzbd-1.2.0-src.tar.gz) = 2721490
Index: news/sabnzbd/pkg/PLIST
===
RCS file: /cvs/ports/news/sabnzbd/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- news/sabnzbd/pkg/PLIST  21 Mar 2016 23:30:08 -  1.4
+++ news/sabnzbd/pkg/PLIST  14 Jan 2017 15:46:23 -
@@ -22,8 +22,6 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/SABnzbd.py
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/SABnzbd.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/LICENSE.txt
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/Patch-for-CP-3.8.0.diff
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/VERSION.txt
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/__init__.py
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/__init__.pyc
@@ -33,8 +31,6 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpchecker.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpcompat.py
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpcompat.pyc
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpcompat_subprocess.py
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpcompat_subprocess.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpconfig.py
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpconfig.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpdispatch.py
@@ -53,8 +49,6 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cprequest.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpserver.py
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpserver.pyc
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpthreadinglocal.py
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpthreadinglocal.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cptools.py
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cptools.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cptree.py
@@ -63,6 +57,8 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpwsgi.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpwsgi_server.py
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_cpwsgi_server.pyc
+lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_helper.py
+lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/_helper.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/cherryd
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/daemon.py
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/daemon.pyc
@@ -88,8 +84,6 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/lib/encoding.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/lib/gctools.py
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/lib/gctools.pyc
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/lib/http.py
-lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/lib/http.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/lib/httpauth.py
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/lib/httpauth.pyc
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/cherrypy/lib/httputil.py
@@ -128,10 +122,8 @@ lib/python${MODPY_VERSION}/site-packages
 

Re: [update] news/sabnzbd to 1.0.3

2016-06-05 Thread Marcus Glocker
On Mon, Jun 06, 2016 at 01:39:10AM +1200, Carlin Bingham wrote:

> The last update gets commited and they release a new version.
> 
> 
> 1.0.3 changelog:
> 
> - Fix jobs hanging at 99% or 100%
> - Support X-DNZB-PASSWORD header
> - Prevent fatal "too many connections" issue
> - Show checksum errors reported by unrar
> 
> 
> --
> Carlin

It's in, thanks.
 
> Index: news/sabnzbd/Makefile
> ===
> RCS file: /cvs/ports/news/sabnzbd/Makefile,v
> retrieving revision 1.9
> diff -u -p -u -r1.9 Makefile
> --- news/sabnzbd/Makefile 1 Jun 2016 17:25:56 -   1.9
> +++ news/sabnzbd/Makefile 5 Jun 2016 13:03:16 -
> @@ -1,7 +1,7 @@
>  # $OpenBSD: Makefile,v 1.9 2016/06/01 17:25:56 mglocker Exp $
>  
>  COMMENT =retrieve and process nzb-files via web interface
> -VERSION =1.0.2
> +VERSION =1.0.3
>  DISTNAME =   SABnzbd-${VERSION}-src
>  PKGNAME =sabnzbd-${VERSION}
>  CATEGORIES = news
> Index: news/sabnzbd/distinfo
> ===
> RCS file: /cvs/ports/news/sabnzbd/distinfo,v
> retrieving revision 1.5
> diff -u -p -u -r1.5 distinfo
> --- news/sabnzbd/distinfo 1 Jun 2016 17:25:56 -   1.5
> +++ news/sabnzbd/distinfo 5 Jun 2016 13:03:16 -
> @@ -1,2 +1,2 @@
> -SHA256 (SABnzbd-1.0.2-src.tar.gz) = 
> nO0vS5SGZ06LCpIHaXELFufZapmB1apHtlhPLDoeC2I=
> -SIZE (SABnzbd-1.0.2-src.tar.gz) = 2974940
> +SHA256 (SABnzbd-1.0.3-src.tar.gz) = 
> z4fT8X/APos6SzAQJhEVwq1+L3c7Xt6VqAAls0DbvTU=
> +SIZE (SABnzbd-1.0.3-src.tar.gz) = 2975111



[update] news/sabnzbd to 1.0.3

2016-06-05 Thread Carlin Bingham
The last update gets commited and they release a new version.


1.0.3 changelog:

- Fix jobs hanging at 99% or 100%
- Support X-DNZB-PASSWORD header
- Prevent fatal "too many connections" issue
- Show checksum errors reported by unrar


--
Carlin


Index: news/sabnzbd/Makefile
===
RCS file: /cvs/ports/news/sabnzbd/Makefile,v
retrieving revision 1.9
diff -u -p -u -r1.9 Makefile
--- news/sabnzbd/Makefile   1 Jun 2016 17:25:56 -   1.9
+++ news/sabnzbd/Makefile   5 Jun 2016 13:03:16 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.9 2016/06/01 17:25:56 mglocker Exp $
 
 COMMENT =  retrieve and process nzb-files via web interface
-VERSION =  1.0.2
+VERSION =  1.0.3
 DISTNAME = SABnzbd-${VERSION}-src
 PKGNAME =  sabnzbd-${VERSION}
 CATEGORIES =   news
Index: news/sabnzbd/distinfo
===
RCS file: /cvs/ports/news/sabnzbd/distinfo,v
retrieving revision 1.5
diff -u -p -u -r1.5 distinfo
--- news/sabnzbd/distinfo   1 Jun 2016 17:25:56 -   1.5
+++ news/sabnzbd/distinfo   5 Jun 2016 13:03:16 -
@@ -1,2 +1,2 @@
-SHA256 (SABnzbd-1.0.2-src.tar.gz) = 
nO0vS5SGZ06LCpIHaXELFufZapmB1apHtlhPLDoeC2I=
-SIZE (SABnzbd-1.0.2-src.tar.gz) = 2974940
+SHA256 (SABnzbd-1.0.3-src.tar.gz) = 
z4fT8X/APos6SzAQJhEVwq1+L3c7Xt6VqAAls0DbvTU=
+SIZE (SABnzbd-1.0.3-src.tar.gz) = 2975111



Re: [update] news/sabnzbd to 1.0.2

2016-06-01 Thread Marcus Glocker
On Wed, Jun 01, 2016 at 01:44:45PM +0200, Marcus Glocker wrote:

> On Wed, Jun 01, 2016 at 10:20:06PM +1200, Carlin Bingham wrote:
> 
> > Ping?
> 
> Sorry, I oversaw this.  I'll check it and come back shortly.

It's committed.  Thanks for the diff.



Re: [update] news/sabnzbd to 1.0.2

2016-06-01 Thread Marcus Glocker
On Wed, Jun 01, 2016 at 10:20:06PM +1200, Carlin Bingham wrote:

> Ping?

Sorry, I oversaw this.  I'll check it and come back shortly.



Re: [update] news/sabnzbd to 1.0.2

2016-06-01 Thread Carlin Bingham
Ping?


On Sat, May 07, 2016 at 03:22:30PM +1200, Carlin Bingham wrote:
> Disregard my earlier patch, they've released a bufix release since that.
> 
> This updates sabnzbd from 1.0.0 to 1.0.2
> 
> 1.0.2 bugfixes:
> 
> - Fix hangups at 100% when QuickCheck is off and "all-pars" is on
> - Fix handling of "too many connections" for some Usenet servers
> 
> 
> 1.0.1 changelog:
> 
> - Prevent creating orphan items in "incomplete" when deleting
>   downloading jobs.
> - Forced item with missing articles caused overflow into paused jobs
> - Do QuickCheck even on files that would be removed by the
> - Cleanup-list (problematic for RAR files).
> - Fix "Download all par2 files" behaviour
> - Treat ambiguous numeric values as number of minutes for custom pause
>   time.
> - Accept MIME records that have only LF line endings (error in some
>   third-party utilities)
> - Fix PushOver support.
> - Fix breaking Glitter bug with large script_log
> - Fix issues with deleting jobs via the API
> - Fix issue where Sonarr could not read using the History-API
> - Increase default cache to 450M
> - The pre-queue script can now return an accept value of 2, meaning
>   immediate failure. (Useful for Sonarr.)
> - Add start script for portable Windows installations
> 
> 
> --
> Carlin
> 
> 
> Index: news/sabnzbd/Makefile
> ===
> RCS file: /cvs/ports/news/sabnzbd/Makefile,v
> retrieving revision 1.8
> diff -u -p -u -r1.8 Makefile
> --- news/sabnzbd/Makefile 21 Mar 2016 23:30:08 -  1.8
> +++ news/sabnzbd/Makefile 7 May 2016 03:11:14 -
> @@ -1,7 +1,7 @@
>  # $OpenBSD: Makefile,v 1.8 2016/03/21 23:30:08 abieber Exp $
>  
>  COMMENT =retrieve and process nzb-files via web interface
> -VERSION =1.0.0
> +VERSION =1.0.2
>  DISTNAME =   SABnzbd-${VERSION}-src
>  PKGNAME =sabnzbd-${VERSION}
>  CATEGORIES = news
> Index: news/sabnzbd/distinfo
> ===
> RCS file: /cvs/ports/news/sabnzbd/distinfo,v
> retrieving revision 1.4
> diff -u -p -u -r1.4 distinfo
> --- news/sabnzbd/distinfo 21 Mar 2016 23:30:08 -  1.4
> +++ news/sabnzbd/distinfo 7 May 2016 03:11:14 -
> @@ -1,2 +1,2 @@
> -SHA256 (SABnzbd-1.0.0-src.tar.gz) = 
> dXPfr9bztR6Jn0dDbeDgs9joOlaOKm8PPaCqofPUz6o=
> -SIZE (SABnzbd-1.0.0-src.tar.gz) = 2973807
> +SHA256 (SABnzbd-1.0.2-src.tar.gz) = 
> nO0vS5SGZ06LCpIHaXELFufZapmB1apHtlhPLDoeC2I=
> +SIZE (SABnzbd-1.0.2-src.tar.gz) = 2974940
> 



[update] news/sabnzbd to 1.0.2

2016-05-06 Thread Carlin Bingham
Disregard my earlier patch, they've released a bufix release since that.

This updates sabnzbd from 1.0.0 to 1.0.2

1.0.2 bugfixes:

- Fix hangups at 100% when QuickCheck is off and "all-pars" is on
- Fix handling of "too many connections" for some Usenet servers


1.0.1 changelog:

- Prevent creating orphan items in "incomplete" when deleting
  downloading jobs.
- Forced item with missing articles caused overflow into paused jobs
- Do QuickCheck even on files that would be removed by the
- Cleanup-list (problematic for RAR files).
- Fix "Download all par2 files" behaviour
- Treat ambiguous numeric values as number of minutes for custom pause
  time.
- Accept MIME records that have only LF line endings (error in some
  third-party utilities)
- Fix PushOver support.
- Fix breaking Glitter bug with large script_log
- Fix issues with deleting jobs via the API
- Fix issue where Sonarr could not read using the History-API
- Increase default cache to 450M
- The pre-queue script can now return an accept value of 2, meaning
  immediate failure. (Useful for Sonarr.)
- Add start script for portable Windows installations


--
Carlin


Index: news/sabnzbd/Makefile
===
RCS file: /cvs/ports/news/sabnzbd/Makefile,v
retrieving revision 1.8
diff -u -p -u -r1.8 Makefile
--- news/sabnzbd/Makefile   21 Mar 2016 23:30:08 -  1.8
+++ news/sabnzbd/Makefile   7 May 2016 03:11:14 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.8 2016/03/21 23:30:08 abieber Exp $
 
 COMMENT =  retrieve and process nzb-files via web interface
-VERSION =  1.0.0
+VERSION =  1.0.2
 DISTNAME = SABnzbd-${VERSION}-src
 PKGNAME =  sabnzbd-${VERSION}
 CATEGORIES =   news
Index: news/sabnzbd/distinfo
===
RCS file: /cvs/ports/news/sabnzbd/distinfo,v
retrieving revision 1.4
diff -u -p -u -r1.4 distinfo
--- news/sabnzbd/distinfo   21 Mar 2016 23:30:08 -  1.4
+++ news/sabnzbd/distinfo   7 May 2016 03:11:14 -
@@ -1,2 +1,2 @@
-SHA256 (SABnzbd-1.0.0-src.tar.gz) = 
dXPfr9bztR6Jn0dDbeDgs9joOlaOKm8PPaCqofPUz6o=
-SIZE (SABnzbd-1.0.0-src.tar.gz) = 2973807
+SHA256 (SABnzbd-1.0.2-src.tar.gz) = 
nO0vS5SGZ06LCpIHaXELFufZapmB1apHtlhPLDoeC2I=
+SIZE (SABnzbd-1.0.2-src.tar.gz) = 2974940



[update] news/sabnzbd 1.0.1

2016-04-27 Thread Carlin Bingham
This updates sabnzbd from 1.0.0 to 1.0.1

Changelog:
* Prevent creating orphan items in "incomplete" when deleting downloading
  jobs.
* Forced item with missing articles caused overflow into paused jobs
* Do QuickCheck even on files that would be removed by the Cleanup-list
* (problematic for RAR files).
* Fix "Download all par2 files" behaviour
* Treat ambiguous numeric values as number of minutes for custom pause
  time.
* Accept MIME records that have only LF line endings (error in some
* third-party utilities)
* Fix PushOver support
* Fix breaking Glitter bug with large script_log
* Fix issues with deleting jobs via the API
* Fix issue where Sonarr could not read using the History-API
* Increase default cache to 450M
* The pre-queue script can now return an accept value of 2, meaning
  immediate failure. (Useful for Sonarr.)
* Add start script for portable Windows installations

--
Carlin


Index: news/sabnzbd/Makefile
===
RCS file: /cvs/ports/news/sabnzbd/Makefile,v
retrieving revision 1.8
diff -u -p -u -r1.8 Makefile
--- news/sabnzbd/Makefile   21 Mar 2016 23:30:08 -  1.8
+++ news/sabnzbd/Makefile   27 Apr 2016 12:31:47 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.8 2016/03/21 23:30:08 abieber Exp $
 
 COMMENT =  retrieve and process nzb-files via web interface
-VERSION =  1.0.0
+VERSION =  1.0.1
 DISTNAME = SABnzbd-${VERSION}-src
 PKGNAME =  sabnzbd-${VERSION}
 CATEGORIES =   news
Index: news/sabnzbd/distinfo
===
RCS file: /cvs/ports/news/sabnzbd/distinfo,v
retrieving revision 1.4
diff -u -p -u -r1.4 distinfo
--- news/sabnzbd/distinfo   21 Mar 2016 23:30:08 -  1.4
+++ news/sabnzbd/distinfo   27 Apr 2016 12:31:47 -
@@ -1,2 +1,2 @@
-SHA256 (SABnzbd-1.0.0-src.tar.gz) = 
dXPfr9bztR6Jn0dDbeDgs9joOlaOKm8PPaCqofPUz6o=
-SIZE (SABnzbd-1.0.0-src.tar.gz) = 2973807
+SHA256 (SABnzbd-1.0.1-src.tar.gz) = 
Q9rJaOJ2IwViHNpJd1VJIows01uYiKBZWUbzfu9xusw=
+SIZE (SABnzbd-1.0.1-src.tar.gz) = 2974729



Re: [update] news/sabnzbd to 0.7.20

2015-04-17 Thread Jérémie Courrèges-Anglas
Marcus Glocker mar...@nazgul.ch writes:

 On Tue, Jan 27, 2015 at 08:47:07AM +1300, Carlin Bingham wrote:

 This updates sabnzbd from 0.7.11 to 0.7.20
 
 The changelogs for the all the intervening versions can be found at 
 https://forums.sabnzbd.org/viewforum.php?f=8
 
 
 --
 Carlin

 I've tested this patch successfully in case somebody wants to
 commit it, fine for me.

Committed.

Cheers,
-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: [update] news/sabnzbd to 0.7.20

2015-04-16 Thread Marcus Glocker
On Tue, Jan 27, 2015 at 08:47:07AM +1300, Carlin Bingham wrote:

 This updates sabnzbd from 0.7.11 to 0.7.20
 
 The changelogs for the all the intervening versions can be found at 
 https://forums.sabnzbd.org/viewforum.php?f=8
 
 
 --
 Carlin

I've tested this patch successfully in case somebody wants to
commit it, fine for me.
 
 Index: news/sabnzbd//Makefile
 ===
 RCS file: /cvs/ports/news/sabnzbd/Makefile,v
 retrieving revision 1.4
 diff -u -p -r1.4 Makefile
 --- news/sabnzbd//Makefile20 May 2013 18:36:06 -  1.4
 +++ news/sabnzbd//Makefile23 Jan 2015 19:03:02 -
 @@ -1,7 +1,7 @@
  # $OpenBSD: Makefile,v 1.4 2013/05/20 18:36:06 abieber Exp $
  
  COMMENT =retrieve and process nzb-files via web interface
 -VERSION =0.7.11
 +VERSION =0.7.20
  DISTNAME =   SABnzbd-${VERSION}-src
  PKGNAME =sabnzbd-${VERSION}
  CATEGORIES = news
 Index: news/sabnzbd//distinfo
 ===
 RCS file: /cvs/ports/news/sabnzbd/distinfo,v
 retrieving revision 1.2
 diff -u -p -r1.2 distinfo
 --- news/sabnzbd//distinfo20 May 2013 18:36:06 -  1.2
 +++ news/sabnzbd//distinfo23 Jan 2015 19:03:02 -
 @@ -1,2 +1,2 @@
 -SHA256 (SABnzbd-0.7.11-src.tar.gz) = 
 3pwiN36JsIG3wmSZPBWViKy4YgbRuCpGVVTi+d85sxE=
 -SIZE (SABnzbd-0.7.11-src.tar.gz) = 2273355
 +SHA256 (SABnzbd-0.7.20-src.tar.gz) = 
 ILOkYToOze3k/f62KK6AbkWKwab7aEMGMo3U7R+vh0I=
 +SIZE (SABnzbd-0.7.20-src.tar.gz) = 2389762
 Index: news/sabnzbd//pkg/PLIST
 ===
 RCS file: /cvs/ports/news/sabnzbd/pkg/PLIST,v
 retrieving revision 1.2
 diff -u -p -r1.2 PLIST
 --- news/sabnzbd//pkg/PLIST   20 May 2013 18:36:06 -  1.2
 +++ news/sabnzbd//pkg/PLIST   23 Jan 2015 19:03:03 -
 @@ -108,6 +108,7 @@ lib/python${MODPY_VERSION}/site-packages
  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-de.tmpl
  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-en.tmpl
  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-es.tmpl
 +lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-fi.tmpl
  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-fr.tmpl
  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-nb.tmpl
  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-nl.tmpl
 @@ -119,6 +120,7 @@ lib/python${MODPY_VERSION}/site-packages
  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-de.tmpl
  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-en.tmpl
  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-es.tmpl
 +lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-fi.tmpl
  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-fr.tmpl
  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-nb.tmpl
  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-nl.tmpl
 @@ -130,6 +132,7 @@ lib/python${MODPY_VERSION}/site-packages
  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-de.tmpl
  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-en.tmpl
  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-es.tmpl
 +lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-fi.tmpl
  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-fr.tmpl
  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-nb.tmpl
  lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-nl.tmpl
 @@ -355,10 +358,14 @@ lib/python${MODPY_VERSION}/site-packages
  
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/nav/rss-grey.png
  
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/nav/rss.png
  
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/sabnzbdplus.ico
 +lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/sound16.png
  
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/sprite-config.png
  
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/sprite-main.png
  
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/sprite-tilex.png
  
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/sprite-tiley.png
 +lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/thumbdown20.png
 

[update] news/sabnzbd to 0.7.20

2015-01-26 Thread Carlin Bingham
This updates sabnzbd from 0.7.11 to 0.7.20

The changelogs for the all the intervening versions can be found at 
https://forums.sabnzbd.org/viewforum.php?f=8


--
Carlin



Index: news/sabnzbd//Makefile
===
RCS file: /cvs/ports/news/sabnzbd/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- news/sabnzbd//Makefile  20 May 2013 18:36:06 -  1.4
+++ news/sabnzbd//Makefile  23 Jan 2015 19:03:02 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.4 2013/05/20 18:36:06 abieber Exp $
 
 COMMENT =  retrieve and process nzb-files via web interface
-VERSION =  0.7.11
+VERSION =  0.7.20
 DISTNAME = SABnzbd-${VERSION}-src
 PKGNAME =  sabnzbd-${VERSION}
 CATEGORIES =   news
Index: news/sabnzbd//distinfo
===
RCS file: /cvs/ports/news/sabnzbd/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- news/sabnzbd//distinfo  20 May 2013 18:36:06 -  1.2
+++ news/sabnzbd//distinfo  23 Jan 2015 19:03:02 -
@@ -1,2 +1,2 @@
-SHA256 (SABnzbd-0.7.11-src.tar.gz) = 
3pwiN36JsIG3wmSZPBWViKy4YgbRuCpGVVTi+d85sxE=
-SIZE (SABnzbd-0.7.11-src.tar.gz) = 2273355
+SHA256 (SABnzbd-0.7.20-src.tar.gz) = 
ILOkYToOze3k/f62KK6AbkWKwab7aEMGMo3U7R+vh0I=
+SIZE (SABnzbd-0.7.20-src.tar.gz) = 2389762
Index: news/sabnzbd//pkg/PLIST
===
RCS file: /cvs/ports/news/sabnzbd/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- news/sabnzbd//pkg/PLIST 20 May 2013 18:36:06 -  1.2
+++ news/sabnzbd//pkg/PLIST 23 Jan 2015 19:03:03 -
@@ -108,6 +108,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-de.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-en.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-es.tmpl
+lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-fi.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-fr.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-nb.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-nl.tmpl
@@ -119,6 +120,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-de.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-en.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-es.tmpl
+lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-fi.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-fr.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-nb.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-nl.tmpl
@@ -130,6 +132,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-de.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-en.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-es.tmpl
+lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-fi.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-fr.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-nb.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-nl.tmpl
@@ -355,10 +358,14 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/nav/rss-grey.png
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/nav/rss.png
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/sabnzbdplus.ico
+lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/sound16.png
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/sprite-config.png
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/sprite-main.png
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/sprite-tilex.png
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/sprite-tiley.png
+lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/thumbdown20.png
+lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/thumbup20.png