Re: UPDATE: Nextcloud-12.0.5

2018-01-25 Thread Gonzalo L. Rodriguez
A better diff.

On [24/01/18] [05:31P], Gonzalo L. Rodriguez wrote:
; Hello,
; 
; Update for Nextcloud to 12.0.5:
; 
; https://nextcloud.com/changelog/
; 
; OK? Comments?
; 
; 
; Cheers.-
; 
; 
; -- 
; Sending from my toaster.

; Index: Makefile
; ===
; RCS file: /cvs/ports/www/nextcloud/Makefile,v
; retrieving revision 1.7
; diff -u -p -r1.7 Makefile
; --- Makefile  6 Dec 2017 14:20:06 -   1.7
; +++ Makefile  24 Jan 2018 16:14:09 -
; @@ -2,7 +2,7 @@
;  
;  COMMENT= easy and universal access to shared and/or personal 
files
;  
; -V=   12.0.4
; +V=   12.0.5
;  DISTNAME=nextcloud-${V}
;  EXTRACT_SUFX=.tar.bz2
;  
; Index: distinfo
; ===
; RCS file: /cvs/ports/www/nextcloud/distinfo,v
; retrieving revision 1.6
; diff -u -p -r1.6 distinfo
; --- distinfo  6 Dec 2017 14:20:06 -   1.6
; +++ distinfo  24 Jan 2018 16:14:09 -
; @@ -1,2 +1,2 @@
; -SHA256 (nextcloud-12.0.4.tar.bz2) = 
ZUFhp0zq+aYMdzHX1nAuZxCpcmM6l5VdFvAavrCdCbY=
; -SIZE (nextcloud-12.0.4.tar.bz2) = 43583313
; +SHA256 (nextcloud-12.0.5.tar.bz2) = 
yL4prOaCEHnogYGCZv5J0ogStaoMfS52URFz1IgoykM=
; +SIZE (nextcloud-12.0.5.tar.bz2) = 43704324
; Index: patches/patch-version_php
; ===
; RCS file: /cvs/ports/www/nextcloud/patches/patch-version_php,v
; retrieving revision 1.5
; diff -u -p -r1.5 patch-version_php
; --- patches/patch-version_php 6 Dec 2017 14:20:06 -   1.5
; +++ patches/patch-version_php 24 Jan 2018 16:14:09 -
; @@ -3,8 +3,8 @@ Index: version.php
;  --- version.php.orig
;  +++ version.php
;  @@ -2,7 +2,7 @@
; - $OC_Version = array(12,0,4,3);
; - $OC_VersionString = '12.0.4';
; + $OC_Version = array(12,0,5,3);
; + $OC_VersionString = '12.0.5';
;   $OC_Edition = '';
;  -$OC_Channel = 'stable';
;  +$OC_Channel = 'OpenBSD ports';
; Index: pkg/PLIST
; ===
; RCS file: /cvs/ports/www/nextcloud/pkg/PLIST,v
; retrieving revision 1.7
; diff -u -p -r1.7 PLIST
; --- pkg/PLIST 6 Dec 2017 14:20:06 -   1.7
; +++ pkg/PLIST 24 Jan 2018 16:14:11 -
; @@ -5054,6 +5054,8 @@ nextcloud/apps/activity/l10n/bg.js
;  nextcloud/apps/activity/l10n/bg.json
;  nextcloud/apps/activity/l10n/bn_BD.js
;  nextcloud/apps/activity/l10n/bn_BD.json
; +nextcloud/apps/activity/l10n/br.js
; +nextcloud/apps/activity/l10n/br.json
;  nextcloud/apps/activity/l10n/ca.js
;  nextcloud/apps/activity/l10n/ca.json
;  nextcloud/apps/activity/l10n/cs.js
; @@ -5554,6 +5556,8 @@ nextcloud/apps/dav/l10n/en_GB.js
;  nextcloud/apps/dav/l10n/en_GB.json
;  nextcloud/apps/dav/l10n/es.js
;  nextcloud/apps/dav/l10n/es.json
; +nextcloud/apps/dav/l10n/es_419.js
; +nextcloud/apps/dav/l10n/es_419.json
;  nextcloud/apps/dav/l10n/es_AR.js
;  nextcloud/apps/dav/l10n/es_AR.json
;  nextcloud/apps/dav/l10n/es_CL.js
; @@ -5586,6 +5590,8 @@ nextcloud/apps/dav/l10n/es_SV.js
;  nextcloud/apps/dav/l10n/es_SV.json
;  nextcloud/apps/dav/l10n/es_UY.js
;  nextcloud/apps/dav/l10n/es_UY.json
; +nextcloud/apps/dav/l10n/et_EE.js
; +nextcloud/apps/dav/l10n/et_EE.json
;  nextcloud/apps/dav/l10n/eu.js
;  nextcloud/apps/dav/l10n/eu.json
;  nextcloud/apps/dav/l10n/fi.js
; @@ -5708,7 +5714,6 @@ nextcloud/apps/dav/lib/CardDAV/Converter
;  nextcloud/apps/dav/lib/CardDAV/ImageExportPlugin.php
;  nextcloud/apps/dav/lib/CardDAV/PhotoCache.php
;  nextcloud/apps/dav/lib/CardDAV/Plugin.php
; -nextcloud/apps/dav/lib/CardDAV/SyncJob.php
;  nextcloud/apps/dav/lib/CardDAV/SyncService.php
;  nextcloud/apps/dav/lib/CardDAV/UserAddressBooks.php
;  nextcloud/apps/dav/lib/CardDAV/Xml/
; @@ -5858,6 +5863,8 @@ nextcloud/apps/encryption/l10n/eo.js
;  nextcloud/apps/encryption/l10n/eo.json
;  nextcloud/apps/encryption/l10n/es.js
;  nextcloud/apps/encryption/l10n/es.json
; +nextcloud/apps/encryption/l10n/es_419.js
; +nextcloud/apps/encryption/l10n/es_419.json
;  nextcloud/apps/encryption/l10n/es_AR.js
;  nextcloud/apps/encryption/l10n/es_AR.json
;  nextcloud/apps/encryption/l10n/es_CL.js
; @@ -6077,6 +6084,8 @@ nextcloud/apps/federatedfilesharing/l10n
;  nextcloud/apps/federatedfilesharing/l10n/eo.json
;  nextcloud/apps/federatedfilesharing/l10n/es.js
;  nextcloud/apps/federatedfilesharing/l10n/es.json
; +nextcloud/apps/federatedfilesharing/l10n/es_419.js
; +nextcloud/apps/federatedfilesharing/l10n/es_419.json
;  nextcloud/apps/federatedfilesharing/l10n/es_AR.js
;  nextcloud/apps/federatedfilesharing/l10n/es_AR.json
;  nextcloud/apps/federatedfilesharing/l10n/es_CL.js
; @@ -6255,6 +6264,8 @@ nextcloud/apps/federation/l10n/eo.js
;  nextcloud/apps/federation/l10n/eo.json
;  nextcloud/apps/federation/l10n/es.js
;  nextcloud/apps/federation/l10n/es.json
; +nextcloud/apps/federation/l10n/es_419.js
; +nextcloud/apps/federation/l10n/es_419.json
;  nextcloud/apps/federation/l10n/es_AR.js
;  nextclou

[UPDATE] devel/py-xdis

2018-01-25 Thread Remi Pointel

Hi,

this is the diff to update py-xdis to latest release.

I enabled regress tests because it works fine with python3 FLAVOR.

Ok?

Cheers,

Remi.Index: Makefile
===
RCS file: /cvs/ports/devel/py-xdis/Makefile,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 Makefile
--- Makefile	21 May 2017 17:54:10 -	1.11
+++ Makefile	25 Jan 2018 10:12:34 -
@@ -2,7 +2,7 @@
 
 COMMENT =		cross-version byte-code disassembler and marshal routines
 
-MODPY_EGG_VERSION =	3.3.1
+MODPY_EGG_VERSION =	3.6.7
 DISTNAME =		xdis-${MODPY_EGG_VERSION}
 PKGNAME =		py-xdis-${MODPY_EGG_VERSION}
 CATEGORIES =		devel
@@ -24,8 +24,6 @@ BUILD_DEPENDS =		devel/py-test-runner${M
 
 FLAVORS =		python3
 FLAVOR ?=
-
-NO_TEST =		Yes
 
 post-install:
 	mv ${PREFIX}/bin/pydisasm{,${MODPY_BIN_SUFFIX}}
Index: distinfo
===
RCS file: /cvs/ports/devel/py-xdis/distinfo,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 distinfo
--- distinfo	21 May 2017 17:54:10 -	1.9
+++ distinfo	25 Jan 2018 10:12:34 -
@@ -1,2 +1,2 @@
-SHA256 (xdis-3.3.1.tar.gz) = 1uVDkmmiq+H6caxMtnCsbfyeGKCeDErLL2RX8FQtU4M=
-SIZE (xdis-3.3.1.tar.gz) = 154152
+SHA256 (xdis-3.6.7.tar.gz) = VWfzHOT+Ap/DOfS9nIw7FkgL/TkgcxJvOby1/E9X/Fc=
+SIZE (xdis-3.6.7.tar.gz) = 169114
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/py-xdis/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 PLIST
--- pkg/PLIST	26 Mar 2017 11:17:22 -	1.6
+++ pkg/PLIST	25 Jan 2018 10:12:34 -
@@ -16,6 +16,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/xdis/${MODPY_PYCACHE}magics.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/xdis/${MODPY_PYCACHE}main.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/xdis/${MODPY_PYCACHE}marsh.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/xdis/${MODPY_PYCACHE}op_imports.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/xdis/${MODPY_PYCACHE}std.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/xdis/${MODPY_PYCACHE}unmarshal.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/xdis/${MODPY_PYCACHE}util.${MODPY_PYC_MAGIC_TAG}pyc
@@ -34,11 +35,13 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/xdis/magics.py
 lib/python${MODPY_VERSION}/site-packages/xdis/main.py
 lib/python${MODPY_VERSION}/site-packages/xdis/marsh.py
+lib/python${MODPY_VERSION}/site-packages/xdis/op_imports.py
 lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/
 lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/__init__.py
 ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/${MODPY_PYCACHE}/
 lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/${MODPY_PYCACHE}base.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/${MODPY_PYCACHE}check-stackeffect.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/${MODPY_PYCACHE}opcode_15.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/${MODPY_PYCACHE}opcode_20.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/${MODPY_PYCACHE}opcode_21.${MODPY_PYC_MAGIC_TAG}pyc
@@ -47,20 +50,27 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/${MODPY_PYCACHE}opcode_24.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/${MODPY_PYCACHE}opcode_25.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/${MODPY_PYCACHE}opcode_26.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/${MODPY_PYCACHE}opcode_26pypy.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/${MODPY_PYCACHE}opcode_27.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/${MODPY_PYCACHE}opcode_27pypy.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/${MODPY_PYCACHE}opcode_2x.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/${MODPY_PYCACHE}opcode_30.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/${MODPY_PYCACHE}opcode_31.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/${MODPY_PYCACHE}opcode_32.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/${MODPY_PYCACHE}opcode_32pypy.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/${MODPY_PYCACHE}opcode_33.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/xdis/opcodes/${MODPY_PYCACHE}opcode_34.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packag

desktop files and console apps [Re: UPDATE: sysutils/ranger 1.7.2 -> 1.8.1]

2018-01-25 Thread Stuart Henderson
On 2018/01/25 04:07, Klemens Nanni wrote:
> On Wed, Jan 24, 2018 at 10:10:55PM +0100, Rafael Sadowski wrote:
> > On Tue Jan 23, 2018 at 12:43:36AM +0100, Klemens Nanni wrote:
> > > +
> > >  # libarchive (bsdtar) used as an alternative to atool; see scope.sh patch
> > >  RUN_DEPENDS =archivers/libarchive \
> > > - textproc/py-chardet
> > > + devel/desktop-file-utils \
> > 
> > [...]
> > 
> > > +@exec %D/bin/update-desktop-database
> > > +@unexec-delete %D/bin/update-desktop-database
> > > 
> > 
> > Please don't pull that in for a console file manager.
> Those came in for completeness (portcheck also complains without them)
> but I can see why one would rather ignore it.

I wonder if we should come up with a better policy for console apps with
desktop files, as obviously it's useful to update the database if you
*do* have a desktop environment.

Any thoughts on using "@exec %D/bin/update-desktop-database || true" (etc)
and not listing the desktop-file-utils dep *only* for console apps?

What do you think Antoine?



Re: [update] net/transmission

2018-01-25 Thread Josh Grosse
I was advised via private Email to update $HOMEPAGE.

Version 2 of both patch sets are attached.
Index: Makefile
===
RCS file: /systems/cvs/ports/net/transmission/Makefile,v
retrieving revision 1.122
diff -u -p -r1.122 Makefile
--- Makefile12 Jan 2018 16:09:42 -  1.122
+++ Makefile25 Jan 2018 11:25:50 -
@@ -4,15 +4,13 @@ COMMENT-main= BitTorrent command line an
 COMMENT-gtk=   BitTorrent client with GTK+ interface
 COMMENT-qt=BitTorrent client with Qt interface
 
-VER=   2.92
+VER=   2.93
 DISTNAME=  transmission-${VER}
 PKGNAME-main=  transmission-${VER}
 PKGNAME-gtk=   transmission-gtk-${VER}
 PKGNAME-qt=transmission-qt-${VER}
-REVISION=  5
-REVISION-main= 6
 CATEGORIES=net
-HOMEPAGE=  http://www.transmissionbt.com/
+HOMEPAGE=  https://transmissionbt.com/
 MAINTAINER=Josh Grosse 
 
 # GPLv2+
@@ -39,7 +37,7 @@ FLAVOR?=
 WANTLIB-common=c crypto curl event_core event_extra m miniupnpc>=2.0 \
natpmp pthread ssl z intl
 WANTLIB-main=  ${WANTLIB-common} nghttp2 iconv
-WANTLIB-gtk=   ${WANTLIB-common} ICE SM X11 Xcomposite Xcursor Xdamage \
+WANTLIB-gtk=   ${WANTLIB-common} X11 Xcomposite Xcursor Xdamage \
Xext Xfixes Xi Xinerama Xrandr Xrender \
atk-1.0 atk-bridge-2.0 atspi cairo cairo-gobject \
dbus-1 expat ffi fontconfig freetype \
@@ -47,7 +45,7 @@ WANTLIB-gtk=  ${WANTLIB-common} ICE SM X1
gobject-2.0 graphite2 gthread-2.0 gtk-3 \
harfbuzz pango-1.0 pangoft2-1.0 \
pangocairo-1.0 pixman-1 png pcre xcb \
-   xcb-render xcb-shm epoxy nghttp2 iconv
+   xcb-render xcb-shm epoxy nghttp2 iconv Xtst
 WANTLIB-qt=${WANTLIB-common} ${MODQT_WANTLIB} \
GL Qt5Core Qt5DBus Qt5Gui Qt5Network Qt5Widgets \
fontconfig freetype $(COMPILER_LIBCXX)
Index: distinfo
===
RCS file: /systems/cvs/ports/net/transmission/distinfo,v
retrieving revision 1.50
diff -u -p -r1.50 distinfo
--- distinfo8 Mar 2016 16:14:16 -   1.50
+++ distinfo24 Jan 2018 01:02:17 -
@@ -1,2 +1,2 @@
-SHA256 (transmission-2.92.tar.xz) = 
Oo0EXDBq2ay3v4ESaTm5WUVTo4hILvoOwb+2eyKs018=
-SIZE (transmission-2.92.tar.xz) = 3378116
+SHA256 (transmission-2.93.tar.xz) = 
iBWSDgpEmbza276JpBFQktq0LOUZn3H/mpJs/RK5uQs=
+SIZE (transmission-2.93.tar.xz) = 3363868
Index: patches/patch-libtransmission_crypto-utils-openssl_c
===
RCS file: patches/patch-libtransmission_crypto-utils-openssl_c
diff -N patches/patch-libtransmission_crypto-utils-openssl_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-libtransmission_crypto-utils-openssl_c25 Jan 2018 
04:21:09 -
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Use upstream provided OpenSSL functions
+
+Index: libtransmission/crypto-utils-openssl.c
+--- libtransmission/crypto-utils-openssl.c.orig
 libtransmission/crypto-utils-openssl.c
+@@ -230,7 +230,7 @@ tr_rc4_process (tr_rc4_ctx_t   handle,
+ 
+ ***/
+ 
+-#if OPENSSL_VERSION_NUMBER < 0x1010
++#if OPENSSL_VERSION_NUMBER < 0x1010 || defined(LIBRESSL_VERSION_NUMBER)
+ static inline int
+ DH_set0_pqg (DH * dh,
+  BIGNUM * p,
Index: Makefile
===
RCS file: /systems/cvs/ports/net/transmission/Makefile,v
retrieving revision 1.118
diff -u -p -r1.118 Makefile
--- Makefile26 Jul 2017 22:45:28 -  1.118
+++ Makefile25 Jan 2018 11:27:17 -
@@ -4,14 +4,13 @@ COMMENT-main= BitTorrent command line an
 COMMENT-gtk=   BitTorrent client with GTK+ interface
 COMMENT-qt=BitTorrent client with Qt interface
 
-VER=   2.92
+VER=   2.93
 DISTNAME=  transmission-${VER}
 PKGNAME-main=  transmission-${VER}
 PKGNAME-gtk=   transmission-gtk-${VER}
 PKGNAME-qt=transmission-qt-${VER}
-REVISION=  4
 CATEGORIES=net
-HOMEPAGE=  http://www.transmissionbt.com/
+HOMEPAGE=  https://transmissionbt.com/
 MAINTAINER=Josh Grosse 
 
 # GPLv2+
Index: distinfo
===
RCS file: /systems/cvs/ports/net/transmission/distinfo,v
retrieving revision 1.50
diff -u -p -r1.50 distinfo
--- distinfo8 Mar 2016 16:14:16 -   1.50
+++ distinfo25 Jan 2018 11:27:17 -
@@ -1,2 +1,2 @@
-SHA256 (transmission-2.92.tar.xz) = 
Oo0EXDBq2ay3v4ESaTm5WUVTo4hILvoOwb+2eyKs018=
-SIZE (transmission-2.92.tar.xz) = 3378116
+SHA256 (transmission-2.93.tar.xz) = 
iBWSDgpEmbza276JpBFQktq0LOUZn3H/mpJs/RK5uQs=
+SIZE (transmission-2.93.tar.xz) = 3363868
Index: patches/patch-libtransmission_crypto-utils-openssl_c
===
RCS file: patches/patch-libtransmission_crypto-utils-openssl_c
diff -N patches/patch-libtransmissi

Re: desktop files and console apps [Re: UPDATE: sysutils/ranger 1.7.2 -> 1.8.1]

2018-01-25 Thread Landry Breuil
On Thu, Jan 25, 2018 at 11:18:12AM +, Stuart Henderson wrote:
> On 2018/01/25 04:07, Klemens Nanni wrote:
> > On Wed, Jan 24, 2018 at 10:10:55PM +0100, Rafael Sadowski wrote:
> > > On Tue Jan 23, 2018 at 12:43:36AM +0100, Klemens Nanni wrote:
> > > > +
> > > >  # libarchive (bsdtar) used as an alternative to atool; see scope.sh 
> > > > patch
> > > >  RUN_DEPENDS =  archivers/libarchive \
> > > > -   textproc/py-chardet
> > > > +   devel/desktop-file-utils \
> > > 
> > > [...]
> > > 
> > > > +@exec %D/bin/update-desktop-database
> > > > +@unexec-delete %D/bin/update-desktop-database
> > > > 
> > > 
> > > Please don't pull that in for a console file manager.
> > Those came in for completeness (portcheck also complains without them)
> > but I can see why one would rather ignore it.
> 
> I wonder if we should come up with a better policy for console apps with
> desktop files, as obviously it's useful to update the database if you
> *do* have a desktop environment.
> 
> Any thoughts on using "@exec %D/bin/update-desktop-database || true" (etc)
> and not listing the desktop-file-utils dep *only* for console apps?


Hmm that's actually a good idea, i like it...
Last time this came up it was for editors/joe where the entries were
@comment'ed out.

Landry



Re: desktop files and console apps [Re: UPDATE: sysutils/ranger 1.7.2 -> 1.8.1]

2018-01-25 Thread Antoine Jacoutot
On Thu, Jan 25, 2018 at 11:18:12AM +, Stuart Henderson wrote:
> On 2018/01/25 04:07, Klemens Nanni wrote:
> > On Wed, Jan 24, 2018 at 10:10:55PM +0100, Rafael Sadowski wrote:
> > > On Tue Jan 23, 2018 at 12:43:36AM +0100, Klemens Nanni wrote:
> > > > +
> > > >  # libarchive (bsdtar) used as an alternative to atool; see scope.sh 
> > > > patch
> > > >  RUN_DEPENDS =  archivers/libarchive \
> > > > -   textproc/py-chardet
> > > > +   devel/desktop-file-utils \
> > > 
> > > [...]
> > > 
> > > > +@exec %D/bin/update-desktop-database
> > > > +@unexec-delete %D/bin/update-desktop-database
> > > > 
> > > 
> > > Please don't pull that in for a console file manager.
> > Those came in for completeness (portcheck also complains without them)
> > but I can see why one would rather ignore it.
> 
> I wonder if we should come up with a better policy for console apps with
> desktop files, as obviously it's useful to update the database if you
> *do* have a desktop environment.
> 
> Any thoughts on using "@exec %D/bin/update-desktop-database || true" (etc)
> and not listing the desktop-file-utils dep *only* for console apps?
> 
> What do you think Antoine?

Not a fan honestly. I'd rather keep things simple and just remove the desktop
files in such case. That said if we could find a "clever" solution, I'd be all
for it. But I don't like having to handle exceptions.

-- 
Antoine



[NEW] devel/lua-compat53

2018-01-25 Thread Frederic Cambus
Hi ports@,

Here is a new port: devel/lua-compat53

>From DESCR:

Compatibility module that aims to make it easier to write code in a
Lua 5.3 style that is compatible with Lua 5.1, Lua 5.2, and Lua 5.3.

This does not make Lua 5.2 (or even Lua 5.1) entirely compatible with
Lua 5.3, but it brings the API closer to that of Lua 5.3.

Comments? OK?


lua-compat53.tar.gz
Description: application/tar-gz


Re: [NEW] net/lua-mmdb

2018-01-25 Thread Frederic Cambus
On Fri, Dec 01, 2017 at 03:55:50PM +0100, Frederic Cambus wrote:

> > Here is a new port: net/lua-mmdb

Here is a revised tarball which also allows the port to work with
Lua 5.1 and Lua 5.2 using the previously posted devel/lua-compat53
port.

>From DESCR:

Lua library for reading MaxMind GeoIP2/GeoLite2 IP geolocation database
format.

Comments? OK?


lua-mmdb.tar.gz
Description: application/tar-gz


Re: UPDATE: sysutils/parallel 20170222 -> 20171222

2018-01-25 Thread Klemens Nanni
On Wed, Jan 17, 2018 at 05:00:35PM +0100, Klemens Nanni wrote:
> Simple update including:
> 
> * env_parset for ash, dash, ksh, sh, zsh
> * Automatically create hostgroups if argument ends in @sshlogin
> * Initial support for XDG Base Directory $XDG_* environment variables.
> * Use '--limit myprog' to make a dynamic job limit. Just return 0 to
>   spawn another job, 1 to not spawn another job, and 2 to kill the
>   youngest job.
> * PARALLEL_RSYNC_OPTS and --rsync-opts sets the options for rsync
>  (Default: -rlDzR).
> * --line-buffer no longer uses tempfiles. This is faster and makes it
>   possible for a single process to output more data than there is free
>   disk space.
> * The command line can now contain \257 (Macron) or UTF characters
>   containing \257.
> * --timeout can now use s=second,m=minute,h=hour,d=day.
> * --dr is now an alias for --dry-run.
> * --halt supports done in addition to success and fail.
> * parset will set variables in parallel in Bash.
> * --rpl can now take arguments by adding '(regexp)' in the replacement
>   string.
> * Bug fixes and man page updates.
> 
> Works fine for me on amd64.
> 
> Feedback? Anyone willing to commit this?
I got an OK from pascal@ today, anyone else?



[update] lang/rust 1.23

2018-01-25 Thread Sebastien Marie
Hi,

The following diff updates lang/rust to 1.23 (released since approx 3
weeks).

I was still able to build it on i386 (but with effort), so I keep it
BROKEN-i386.

The diff was tested on amd64:
  - lang/rust build+testsuite
  - textproc/ripgrep build+testsuite
  - www/mozilla-firefox build

I only built it on i386.

Thanks.
-- 
Sebastien Marie


Index: Makefile
===
RCS file: /cvs/ports/lang/rust/Makefile,v
retrieving revision 1.56
diff -u -p -r1.56 Makefile
--- Makefile10 Dec 2017 13:27:03 -  1.56
+++ Makefile25 Jan 2018 13:52:18 -
@@ -9,13 +9,13 @@ DPB_PROPERTIES =  parallel
 COMMENT-main = compiler for Rust Language
 COMMENT-doc =  html documentation for rustc
 
-V =1.22.1
-CARGO_V =  0.23.0
+V =1.23.0
+CARGO_V =  0.24.0
 DISTNAME = rustc-${V}-src
 
 # rustc bootstrap version
-BV-amd64 = 1.22.0-20171121
-BV-i386 =  1.22.1-20171125
+BV-amd64 = 1.23.0-20180124
+BV-i386 =  1.23.0-20180125
 BV =   ${BV-${MACHINE_ARCH}}
 
 PKGNAME =  rust-${V}
@@ -66,17 +66,14 @@ MODPY_RUNDEP =  No
 BUILD_DEPENDS +=   devel/cmake
 BUILD_DEPENDS +=   shells/bash
 BUILD_DEPENDS +=   devel/llvm
-
-.if ! ${BUILD_DEPENDS:Mdevel/llvm}
-# use ninja to compile embedded llvm
 BUILD_DEPENDS +=   devel/ninja
-.endif
 
 LIB_DEPENDS += devel/libgit2/libgit2 \
net/curl \
security/libssh2
 
-MAKE_ENV = LIBGIT2_SYS_USE_PKG_CONFIG=1
+MAKE_ENV = LIBGIT2_SYS_USE_PKG_CONFIG=1 \
+   RUST_BACKTRACE=1
 
 # build/configuration variables
 PATCHORIG =.openbsd.orig
@@ -124,9 +121,6 @@ do-configure:
echo 'channel = "stable"' >>${WRKBUILD}/config.toml
echo 'rpath = false' >>${WRKBUILD}/config.toml
echo 'codegen-tests = false' >>${WRKBUILD}/config.toml
-.if "${MACHINE_ARCH}" == "i386"
-   echo 'codegen-units = 16' >>${WRKBUILD}/config.toml
-.endif
 
echo '[dist]' >>${WRKBUILD}/config.toml
echo 'src-tarball = false' >>${WRKBUILD}/config.toml
Index: distinfo
===
RCS file: /cvs/ports/lang/rust/distinfo,v
retrieving revision 1.29
diff -u -p -r1.29 distinfo
--- distinfo4 Dec 2017 17:31:49 -   1.29
+++ distinfo25 Jan 2018 13:52:18 -
@@ -1,6 +1,6 @@
-SHA256 (rust/rustc-1.22.1-src.tar.gz) = 
i3pCvdbrIFqMUz60G1xCOJqIFY0GCu0eD0YfaMH9P9M=
-SHA256 (rust/rustc-bootstrap-amd64-1.22.0-20171121.tar.gz) = 
SBeEKS/rfrQTNriS3/neoiQ+8yeolU5kPE99A06vz7s=
-SHA256 (rust/rustc-bootstrap-i386-1.22.1-20171125.tar.gz) = 
xwA7caAZJfqO/2SPaUP+iA0ktGnPaFKG+tuJCK2ixgE=
-SIZE (rust/rustc-1.22.1-src.tar.gz) = 54935620
-SIZE (rust/rustc-bootstrap-amd64-1.22.0-20171121.tar.gz) = 70165988
-SIZE (rust/rustc-bootstrap-i386-1.22.1-20171125.tar.gz) = 70668161
+SHA256 (rust/rustc-1.23.0-src.tar.gz) = 
dGSVOHHc/fqK/MU2kWpobdFWqDM52OxNXLTrL+FGy5E=
+SHA256 (rust/rustc-bootstrap-amd64-1.23.0-20180124.tar.gz) = 
C15P+JfoE6nuMD0u6WMxd5ipli+Tybr1u5u/WQrq/Sc=
+SHA256 (rust/rustc-bootstrap-i386-1.23.0-20180125.tar.gz) = 
dZuoJj8CW6+bXkmhgHLvzsP00k9fro1JZQaN1yaC1f4=
+SIZE (rust/rustc-1.23.0-src.tar.gz) = 60010149
+SIZE (rust/rustc-bootstrap-amd64-1.23.0-20180124.tar.gz) = 74050566
+SIZE (rust/rustc-bootstrap-i386-1.23.0-20180125.tar.gz) = 75732565
Index: patches/patch-src_bootstrap_bin_rustc_rs
===
RCS file: patches/patch-src_bootstrap_bin_rustc_rs
diff -N patches/patch-src_bootstrap_bin_rustc_rs
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_bootstrap_bin_rustc_rs25 Jan 2018 13:52:18 -
@@ -0,0 +1,19 @@
+$OpenBSD$
+try to reduce memory usage on i386:
+ - small code size to optimize (more codegen-units)
+ - optimization level to 1 (instead of 2) to reduce the work in memory
+Index: src/bootstrap/bin/rustc.rs
+--- src/bootstrap/bin/rustc.rs.orig
 src/bootstrap/bin/rustc.rs
+@@ -183,6 +183,11 @@ fn main() {
+ cmd.arg("-C").arg(format!("codegen-units={}", s));
+ }
+ 
++if target.contains("i686-unknown-openbsd") && crate_name == "rustc" {
++cmd.arg("-C").arg("codegen-units=16")
++   .arg("-C").arg("opt-level=1");
++}
++
+ // Emit save-analysis info.
+ if env::var("RUSTC_SAVE_ANALYSIS") == Ok("api".to_string()) {
+ cmd.arg("-Zsave-analysis");
Index: patches/patch-src_bootstrap_dist_rs
===
RCS file: /cvs/ports/lang/rust/patches/patch-src_

UPDATE: graphics/libraw

2018-01-25 Thread Rafael Sadowski
Simple update to the latest stable version.

Changlog:

https://github.com/LibRaw/LibRaw/compare/0.18.7...master

ok? I don't want to build all consumers. It is worthwhile to push it
into a bulk?

Index: Makefile
===
RCS file: /cvs/ports/graphics/libraw/Makefile,v
retrieving revision 1.33
diff -u -p -u -p -r1.33 Makefile
--- Makefile20 Jan 2018 14:03:39 -  1.33
+++ Makefile25 Jan 2018 20:18:37 -
@@ -2,7 +2,7 @@
 
 COMMENT =  library for reading RAW files
 
-DISTNAME = LibRaw-0.18.6
+DISTNAME = LibRaw-0.18.7
 PKGNAME =  ${DISTNAME:L}
 CATEGORIES =   graphics
 
Index: distinfo
===
RCS file: /cvs/ports/graphics/libraw/distinfo,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 distinfo
--- distinfo21 Dec 2017 07:55:47 -  1.9
+++ distinfo25 Jan 2018 20:18:37 -
@@ -1,2 +1,2 @@
-SHA256 (LibRaw-0.18.6.tar.gz) = 5bisylWKpFe8khSAIAQyDFYQ0UNMKtsfPqNn8CavpTs=
-SIZE (LibRaw-0.18.6.tar.gz) = 1282212
+SHA256 (LibRaw-0.18.7.tar.gz) = h+NHwmGo6Hk12aI6/XUNJ2drmfVA6FUjFNQNsOoxV3E=
+SIZE (LibRaw-0.18.7.tar.gz) = 1280935



Re: NEW: devel/catch2

2018-01-25 Thread Rafael Sadowski
On Wed Jan 24, 2018 at 12:31:27AM +0100, Klemens Nanni wrote:
> > Any objections to import?
> Same test results here. I don't use Catch2 but here's an updated port
> with the following fixes:
> 
> Drop DISTNAME as it's autogenerated by GH_* and stick to "Catch2" (with
> capital C) as that's the project's proper name.

I defiantly prefer lowercase directory and DISTNAME.

> 
> Add missing license version (see http://www.boost.org/users/history/).

There is only one boost license and only one version.

> 
> Fixing hardcoded `python' invocations with sed in pre-configure always
> seems dirty to me, we have patches and SUBST_CMD for that. But since
> all scripts use `#!/usr/bin/env python' as shebang just symlink
> MODPY_BIN into PORTPATH here.

Your approach is much better, Thanks!

> 
> Python 3 works fine so use that (afaik the policy is to not import
> further Python 2 ports). As Python is used for tests only, drop it from
> BDEP and RDEP as well.

ACK; MODPY_BUILDDEP and MODPY_RUNDEP added.

> 
> Looks good to me otherwise.

Thanks for the review!

Please find attached a new tarball. ok?




catch2.tar.gz
Description: Binary data


Re: UPDATE: TeX Live 2017

2018-01-25 Thread Matthias Kilian
Hi,

On Fri, Jan 12, 2018 at 11:20:34PM +0100, Matthias Kilian wrote:
> On Thu, Jan 11, 2018 at 11:56:16PM +, Edd Barrett wrote:
> > Here's an initial TeX Live 2017 diff. If you rely on TeX stuff, please
> > give it a spin and report breakage!
> 
> I'll give it a try on sunday, I hope.

A little bit late, and it's not even sunday, but I rebuilt all ports
containing print/texlive and/or print/texinfo (because the latter
contains texi2dvi, which is used by other ports during build time)
in their dependencies. No problems at all.

I also updated my home desktop without any problems and ran
pkg_check(8) after the update to see wether some junk had been left
around. Also not problems at all.

However, I only had texlive_base and texlive_texmf-buildset installed,
so that update test wasn't complete. I'll retest this with the
complete set (texlive_texmf-minimal and texlive_texmf-full) on my
work desktop tomorrow. If this doesn't show any problems, I think
your update should go in as it is. Any pending minor nits can be
fixed later.

Ciao,
Kili



python.port.mk: Respect SEPARATE_BUILD in MODPY_DISTUTILS_BUILD

2018-01-25 Thread Klemens Nanni
Out-of-tree builds for simple python ports are currently built in WRKSRC
even when SEPARATE_BUILD is set.

Simple example:

$ cd /usr/ports/www/linkchecker
$ make build
[...]
$ make show='SEPARATE_BUILD WRKSRC WRKBUILD'
SEPARATE_BUILD=Yes
WRKSRC=/usr/obj/ports/linkchecker-9.3/linkchecker-upstream-9.3
WRKBUILD=/usr/obj/ports/linkchecker-9.3/build-amd64
$ ls `make show=WRKBUILD`
$

That's because MODPY_DISTUTILS_BUILD hardcodes WRKSRC, the following
diff changes that to WRKBUILD which defaults to WRKSRC if SEPARATE_BUILD
set to "no".

Tested successfully with ports like www/linkchecker and sysutils/ranger.

Feedback?

Index: lang/python/python.port.mk
===
RCS file: /cvs/ports/lang/python/python.port.mk,v
retrieving revision 1.95
diff -u -p -r1.95 python.port.mk
--- lang/python/python.port.mk  8 Jul 2017 08:28:00 -   1.95
+++ lang/python/python.port.mk  25 Jan 2018 21:49:23 -
@@ -128,7 +128,7 @@ MODPY_SITEPKG = ${MODPY_LIBDIR}/site-pa
 MODPY_SETUP ?= setup.py
 
 # build or build_ext are commonly used
-MODPY_DISTUTILS_BUILD ?=   build --build-base=${WRKSRC}
+MODPY_DISTUTILS_BUILD ?=   build --build-base=${WRKBUILD}
 
 .if ${MODPY_SETUPUTILS:L} == "yes"
 MODPY_DISTUTILS_INSTALL ?= install --prefix=${LOCALBASE} \



Re: UPDATE: TeX Live 2017

2018-01-25 Thread Edd Barrett
Great! 

Thanks so much for testing!!



On 25 January 2018 21:41:04 GMT, Matthias Kilian  wrote:
>Hi,
>
>On Fri, Jan 12, 2018 at 11:20:34PM +0100, Matthias Kilian wrote:
>> On Thu, Jan 11, 2018 at 11:56:16PM +, Edd Barrett wrote:
>> > Here's an initial TeX Live 2017 diff. If you rely on TeX stuff,
>please
>> > give it a spin and report breakage!
>> 
>> I'll give it a try on sunday, I hope.
>
>A little bit late, and it's not even sunday, but I rebuilt all ports
>containing print/texlive and/or print/texinfo (because the latter
>contains texi2dvi, which is used by other ports during build time)
>in their dependencies. No problems at all.
>
>I also updated my home desktop without any problems and ran
>pkg_check(8) after the update to see wether some junk had been left
>around. Also not problems at all.
>
>However, I only had texlive_base and texlive_texmf-buildset installed,
>so that update test wasn't complete. I'll retest this with the
>complete set (texlive_texmf-minimal and texlive_texmf-full) on my
>work desktop tomorrow. If this doesn't show any problems, I think
>your update should go in as it is. Any pending minor nits can be
>fixed later.
>
>Ciao,
>   Kili

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Re: [UPDATE] textproc/py-podcastparser for net/gpodder update

2018-01-25 Thread trondd
"trondd"  wrote:

> On Fri, January 12, 2018 6:08 pm, trondd wrote:
> > Small update to py-podcastparser used by gPodder.  Also convert to python3
> > and pull the release from git.
> >
> > gPodder is the only user of py-podcastparser so instead of flavoring it,
> > I'm going python3 only as the new gPodder is also python3 only.  Correct
> > me if it's prefered to flavor this port instead.
> >
> > Also with this update will be net/mygpoclient and net/gpodder.
> >
> > Tim,
> >
> 

Reposting using MODPY_PI to pull the package from PyPi instead of GitHub.

Tim.


Index: Makefile
===
RCS file: /cvs/ports/textproc/py-podcastparser/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile18 Apr 2017 02:13:26 -  1.1.1.1
+++ Makefile26 Jan 2018 00:58:16 -
@@ -2,32 +2,32 @@
 
 COMMENT=   simple, fast and efficient podcast parser
 
-MODPY_EGG_VERSION= 0.6.1
+MODPY_EGG_VERSION= 0.6.2
 DISTNAME=  podcastparser-${MODPY_EGG_VERSION}
 PKGNAME=   py-${DISTNAME}
 CATEGORIES=textproc
 
-HOMEPAGE=  http://gpodder.org/podcastparser/
-
 MAINTAINER=Tim Meunier 
 
 # ISC
 PERMIT_PACKAGE_CDROM=  Yes
 
-MASTER_SITES=  ${HOMEPAGE}
-
 MODULES=   lang/python
 
-BUILD_DEPENDS= textproc/py-sphinx
+MODPY_PI=  Yes
+MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
+
+BUILD_DEPENDS= textproc/py-sphinx${MODPY_FLAVOR}
 
-TEST_DEPENDS=  devel/py-nose \
-   devel/py-coverage
+TEST_DEPENDS=  devel/py-nose${MODPY_FLAVOR} \
+   devel/py-coverage${MODPY_FLAVOR}
 
 MAKE_FILE= makefile
 MAKE_ENV=  PYTHON=${MODPY_BIN}
 
 post-build:
-   cd ${WRKSRC}/doc && ${MAKE_ENV} ${MAKE_PROGRAM} man
+   cd ${WRKSRC}/doc && ${MAKE_ENV} ${MAKE_PROGRAM} man \
+   SPHINXBUILD=sphinx-build${MODPY_BIN_SUFFIX}
 
 post-install:
${INSTALL_DATA} ${WRKSRC}/doc/_build/man/*.1 ${PREFIX}/man/man1/
Index: distinfo
===
RCS file: /cvs/ports/textproc/py-podcastparser/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo18 Apr 2017 02:13:26 -  1.1.1.1
+++ distinfo26 Jan 2018 00:58:16 -
@@ -1,2 +1,2 @@
-SHA256 (podcastparser-0.6.1.tar.gz) = 
o0eQqUC8WC99Y4jEO2mvchRDK6G9fUANGZxjvS2hPRQ=
-SIZE (podcastparser-0.6.1.tar.gz) = 18006
+SHA256 (podcastparser-0.6.2.tar.gz) = 
i5FSJMAPK/JIETn4C/Nl7SB0KjkH9DdxHJawqGqHiWg=
+SIZE (podcastparser-0.6.2.tar.gz) = 21871
Index: pkg/PLIST
===
RCS file: /cvs/ports/textproc/py-podcastparser/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   18 Apr 2017 02:13:26 -  1.1.1.1
+++ pkg/PLIST   26 Jan 2018 00:58:16 -
@@ -1,5 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2017/04/18 02:13:26 danj Exp $
+lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}/
+lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}podcastparser.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/podcastparser-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
 lib/python${MODPY_VERSION}/site-packages/podcastparser.py
-lib/python${MODPY_VERSION}/site-packages/podcastparser.pyc
 @man man/man1/podcastparser.1



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&m=151679036824627&w=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
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rs

Re: [update] lang/rust 1.23

2018-01-25 Thread Landry Breuil
On Thu, Jan 25, 2018 at 05:27:16PM +0100, Sebastien Marie wrote:
> Hi,
> 
> The following diff updates lang/rust to 1.23 (released since approx 3
> weeks).
> 
> I was still able to build it on i386 (but with effort), so I keep it
> BROKEN-i386.
> 
> The diff was tested on amd64:
>   - lang/rust build+testsuite
>   - textproc/ripgrep build+testsuite
>   - www/mozilla-firefox build
> 
> I only built it on i386.

Thanks for working on this. Rust itself builds on amd64 (with ulimit -d
4G, 3G wasnt enough) and i386 (with ulimit -d to the max)

< Extended { stage: 2, host: "x86_64-unknown-openbsd", target: 
"x86_64-unknown-openbsd" }
Build completed successfully in 2:22:46
< Extended { stage: 2, host: "i686-unknown-openbsd", target: 
"i686-unknown-openbsd" }
Build completed successfully in 5:47:02

firefox 59.0beta3 built fine on amd64 with that version. Will try i386
next.

Landry



UPDATE: net/gajim

2018-01-25 Thread Rafael Sadowski
Hi ports@, Hi pea@

Simple update to the latest latest  version.

Changelog:

  * Improve Zeroconf behavior
  * Fix showing normal message event
  * remove usage of OpenSSL.rand
  * a few minor bugfixes

Ok? Comments?

Rafael Sadowski

Index: Makefile
===
RCS file: /cvs/ports/net/gajim/Makefile,v
retrieving revision 1.77
diff -u -p -u -p -r1.77 Makefile
--- Makefile7 Sep 2017 12:29:31 -   1.77
+++ Makefile26 Jan 2018 07:09:54 -
@@ -1,8 +1,7 @@
 # $OpenBSD: Makefile,v 1.77 2017/09/07 12:29:31 ajacoutot Exp $
 
 COMMENT=   jabber client written in pygtk
-DISTNAME=  gajim-0.16.8
-REVISION=  1
+DISTNAME=  gajim-0.16.9
 CATEGORIES=net x11
 
 HOMEPAGE=  https://www.gajim.org/
Index: distinfo
===
RCS file: /cvs/ports/net/gajim/distinfo,v
retrieving revision 1.26
diff -u -p -u -p -r1.26 distinfo
--- distinfo15 Jun 2017 10:55:42 -  1.26
+++ distinfo26 Jan 2018 07:09:54 -
@@ -1,2 +1,2 @@
-SHA256 (gajim-0.16.8.tar.gz) = c8CYgvenZUOLYyTxtD0NCJR0eKsU9MDOKmUpaGW0jGI=
-SIZE (gajim-0.16.8.tar.gz) = 6005731
+SHA256 (gajim-0.16.9.tar.gz) = iZpm8vYmyLxtA28OGE+6jF7+ETIBxlbAppD+QYbe2K4=
+SIZE (gajim-0.16.9.tar.gz) = 6037667



Re: [update] dunst-1.3.0

2018-01-25 Thread Timo Myyrä
timo.my...@bittivirhe.fi (Timo Myyrä) writes:

> Klemens Nanni  writes:
>
>> On Sat, Jan 13, 2018 at 05:21:56PM +0200, Timo Myyrä wrote:
>>> As mentioned, here's update to dunst to bring it to latest version.
>>> Also includes pledge tweak to fix the port when using icons in 
>>> notifications.
>>>
>>> Quickly tested on amd64 where icons work. More tests would be welcome.
>> The update works but needs further work as indicated by
>> `make port-lib-depends-check'.
>>
>> 1.3.0 installs systemd files only if systemctl is present so we can drop
>> the @comment lines in PLIST.
>>
>> Paths in the example dunst.rc need to be adjusted so copying it over
>> will work without manually fixing them.
>>
>> diff --git a/x11/dunst/Makefile b/x11/dunst/Makefile
>> index 04fce54839a..40568fe1b36 100644
>> --- a/x11/dunst/Makefile
>> +++ b/x11/dunst/Makefile
>> @@ -4,23 +4,21 @@ COMMENT=   customizable and lightweight notification-daemon
>>
>>  GH_ACCOUNT =dunst-project
>>  GH_PROJECT =dunst
>> -GH_TAGNAME =v1.2.0
>> +GH_TAGNAME =v1.3.0
>>
>>  CATEGORIES =x11
>>
>>  HOMEPAGE=   https://dunst-project.org/
>>
>> -MAINTAINER =Timo Myyra 
>> +MAINTAINER =Timo Myyra 
>>
>>  # BSD
>>  PERMIT_PACKAGE_CDROM=   Yes
>>
>>  # uses pledge()
>> -WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
>> -WANTLIB += Xrandr Xrender Xss c cairo dbus-1 fontconfig freetype
>> -WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
>> -WANTLIB += intl m pango-1.0 pangocairo-1.0 pthread xdg-basedir
>> -WANTLIB += z
>> +WANTLIB +=  X11 Xinerama Xrandr Xss c cairo dbus-1 gdk_pixbuf-2.0
>> +WANTLIB +=  gio-2.0 glib-2.0 gobject-2.0 intl m pango-1.0
>> +WANTLIB +=  pangocairo-1.0 pthread xdg-basedir
>>
>>  USE_GMAKE = Yes
>>
>> @@ -29,12 +27,14 @@ LIB_DEPENDS +=  devel/gettext \
>>  devel/pango \
>>  graphics/cairo \
>>  graphics/gdk-pixbuf2 \
>> -x11/gtk+2 \
>> -x11/libxdg-basedir \
>> -x11/dbus
>> +x11/dbus \
>> +x11/libxdg-basedir
>>
>>  MAKE_FLAGS =V=1 PREFIX="${PREFIX}" MANPREFIX="${PREFIX}/man"
>>
>> +pre-configure:
>> +${SUBST_CMD} ${WRKSRC}/docs/dunst.pod
>> +
>>  post-install:
>>  mv ${PREFIX}/share/dunst ${PREFIX}/share/examples/dunst
>>
>> diff --git a/x11/dunst/distinfo b/x11/dunst/distinfo
>> index c4ce11f412d..538648e5292 100644
>> --- a/x11/dunst/distinfo
>> +++ b/x11/dunst/distinfo
>> @@ -1,2 +1,2 @@
>> -SHA256 (dunst-1.2.0.tar.gz) = o8BbXvh+iHBKYgcjbkJ3PfvPUMsjx89R5JSnI2t1xa0> 
>> -SIZE (dunst-1.2.0.tar.gz) = 110628
>> +SHA256 (dunst-1.3.0.tar.gz) = dMCxFlz3qccfVivZdpeXBSjq5iXTTIcU+LmVG9XKW+Y> 
>> +SIZE (dunst-1.3.0.tar.gz) = 121499
>> diff --git a/x11/dunst/patches/patch-config_mk 
>> b/x11/dunst/patches/patch-config_mk
>> index d65ac67549d..367fbe15450 100644
>> --- a/x11/dunst/patches/patch-config_mk
>> +++ b/x11/dunst/patches/patch-config_mk
>> @@ -2,12 +2,12 @@ $OpenBSD: patch-config_mk,v 1.2 2017/08/31 20:57:00 sthen 
>> Exp $
>>  Index: config.mk
>>  --- config.mk.orig
>>  +++ config.mk
>> -@@ -28,7 +28,7 @@ endif
>> +@@ -12,7 +12,7 @@ MANPREFIX = ${PREFIX}/share/man
>>
>>   # flags
>>   CPPFLAGS += -D_DEFAULT_SOURCE -DVERSION=\"${VERSION}\"
>>  -CFLAGS   += -g --std=gnu99 -pedantic -Wall -Wno-overlength-strings -Os 
>> ${STATIC} ${CPPFLAGS}
>>  +CFLAGS   += -g --std=gnu99 -pedantic -Wall -Wno-overlength-strings 
>> ${STATIC} ${CPPFLAGS}
>> + LDFLAGS  += -lm -L${X11LIB}
>>
>> - pkg_config_packs := dbus-1 x11 xscrnsaver \
>> - "glib-2.0 >= 2.36" gio-2.0 \
>> + CPPFLAGS_DEBUG := -DDEBUG_BUILD
>> diff --git a/x11/dunst/patches/patch-docs_dunst_pod 
>> b/x11/dunst/patches/patch-docs_dunst_pod
>> new file mode 100644
>> index 000..f0749ca680c
>> --- /dev/null
>> +++ b/x11/dunst/patches/patch-docs_dunst_pod
>> @@ -0,0 +1,38 @@
>> +$OpenBSD$
>> +
>> +Index: docs/dunst.pod
>> +--- docs/dunst.pod.orig
>>  docs/dunst.pod
>> +@@ -35,7 +35,7 @@ rules or using the output in other scripts.
>> +
>> + =head1 CONFIGURATION
>> +
>> +-An example configuration file is included (usually 
>> /usr/share/dunst/dunstrc).
>> ++An example configuration file is included at 
>> ${PREFIX}/share/examples/dunst/dunstrc.
>> + To change the configuration, copy this file to ~/.config/dunst/dunstrc and 
>> edit
>> + it accordingly.
>> +
>> +@@ -395,7 +395,7 @@ Set to 0 to disable icon scaling. (default)
>> +
>> + If B is set to off, this setting is ignored.
>> +
>> +-=item B (default: 
>> "/usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/")
>> ++=item B (default: 
>> "${LOCALBASE}/share/icons/gnome/16x16/status/:${LOCALBASE}/share/icons/gnome/16x16/devices/")
>> +
>> + Can be set to a colon-separated list of paths to search for icons to use 
>> with
>> + notifications.
>> +@@ -414,12 +414,12 @@ Maximum number of notifications that will be kept in h
>> + is reached, older notifications will be deleted once a new on

Re: [update] kawa-3.0

2018-01-25 Thread Timo Myyrä
timo.my...@bittivirhe.fi (Timo Myyrä) writes:

> Klemens Nanni  writes:
>
>> On Sat, Jan 13, 2018 at 12:08:25AM +0200, Timo Myyrä wrote:
>>>  pre-patch:
>>> find ${WRKSRC} -type f | \
>>> -   xargs sed -i 's,^JAR =.*,JAR = ${JAVA_HOME}/bin/jar,g'
>>> +   xargs fgrep -l "JAR =" | \
>>> +   xargs sed -i 's,^JAR =.*,JAR = ${JAVA_HOME}/bin/jar,g'; \
>> That seems overly complicated to me. find can do what xargs does here,
>> running two xargs just makes it worse and after all there's no need for
>> grep. Since you'll encounter only one "JAR =..." assignment per line,
>> sed's `g' flag can be dropped as well.
>>
>> Might be nitpicking but how about this (untested):
>>
>>  find ${WRKSRC} -type f -exec \
>>  sed -i '/^JAR =/s,=.*,= ${JAVA_HOME}/bin/jar,' {} +
>
> I recall that there was some build issue which was solved this. The previous
> version was similar than you have.
>
> timo

Didn't find the discussion about the build error but IIRC the first version of
the command updated the file access times which made the make re-compile files
and this somehow didn't work. Thats why there's a bit more complex command to
patch the files.

Timo