Re: [py-h5py fix] Re: sparc64 bulk build report

2020-03-08 Thread Martin Reindl
On Sun, Mar 08, 2020 at 07:12:59PM +0100, Theo Buehler wrote:
> > You certainly don't want to wait any longer. From the sparc64 build log:
> > 
> > KILLED: math/py-h5py,python3 build stuck at  255131 frozen for 12 HOURS!
> 
> Yes, that's why I stopped it..
> 
> > 
> > How do tests behave on sparc64?
> 
> They fail about halfway through. Full test.log below:
> 
> cd /usr/ports/pobj/py-h5py-2.10.0-python3 && CC=cc PYTHONUSERBASE= 
> PORTSDIR="/usr/ports" LIBTOOL="/usr/bin/libtool"  
> PATH='/usr/ports/pobj/py-h5py-2.10.0-python3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin'
>  PREFIX='/usr/local'  LOCALBASE='/usr/local' X11BASE='/usr/X11R6'  
> CFLAGS='-O2 -pipe'  TRUEPREFIX='/usr/local' DESTDIR=''  
> HOME='/py-h5py-2.10.0_writes_to_HOME' PICFLAG="-fPIC"  BINGRP=bin BINOWN=root 
> BINMODE=755 NONBINMODE=644  DIRMODE=755  INSTALL_COPY=-c INSTALL_STRIP=-s  
> MANGRP=bin MANOWN=root MANMODE=644 
> BSD_INSTALL_PROGRAM="/usr/ports/pobj/py-h5py-2.10.0-python3/bin/install -c -s 
> -m 755"  
> BSD_INSTALL_SCRIPT="/usr/ports/pobj/py-h5py-2.10.0-python3/bin/install -c -m 
> 755"  BSD_INSTALL_DATA="/usr/ports/pobj/py-h5py-2.10.0-python3/bin/install -c 
> -m 644"  BSD_INSTALL_MAN="/usr/ports/pobj/py-h5py-2.10.0-python3/bin/install 
> -c -m 644"  
> BSD_INSTALL_PROGRAM_DIR="/usr/ports/pobj/py-h5py-2.10.0-python3/bin/install 
> -d -m 755"  
> BSD_INSTALL_SCRIPT_DIR="/usr/ports/pobj/py-h5py-2.10.0-python3/bin/install -d 
> -m 755"  
> BSD_INSTALL_DATA_DIR="/usr/ports/pobj/py-h5py-2.10.0-python3/bin/install -d 
> -m 755"  
> BSD_INSTALL_MAN_DIR="/usr/ports/pobj/py-h5py-2.10.0-python3/bin/install -d -m 
> 755" 
> PYTHONPATH=/usr/ports/pobj/py-h5py-2.10.0-python3/fake-sparc64-python3/usr/local/lib/python3.7/site-packages
>   /usr/local/bin/python3.7 -c 'import h5py; h5py.run_tests()'
> = test session starts 
> ==
> platform openbsd6 -- Python 3.7.6, pytest-4.4.0, py-1.8.0, pluggy-0.11.0
> hypothesis profile 'default' -> 
> database=DirectoryBasedExampleDatabase('/usr/ports/pobj/py-h5py-2.10.0-python3/.hypothesis/examples')
> rootdir: /usr/ports/pobj/py-h5py-2.10.0-python3
> plugins: cov-2.8.1, hypothesis-4.15.0
> collected 549 items
> 
> fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_attribute_create.py
>  . [  0%]
> ...  [  
> 0%]
> fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_attrs.py
>  . [  0%]
>  [  
> 3%]
> fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_attrs_data.py
>  . [  4%]
> ...  [  
> 7%]
> fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_base.py
>  . [  7%]
>  [  
> 8%]
> fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_completions.py
>  . [  8%]
> .[  
> 8%]
> fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_dataset.py
>  . [  8%]
> x...s... [ 
> 22%]
> ..x..[ 
> 27%]
> fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_dataset_getitem.py
>  . [ 27%]
> x... [ 
> 40%]
> .[ 
> 42%]
> fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_dataset_swmr.py
>  s [ 43%]
> sss..[ 
> 45%]
> fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_datatype.py
>  . [ 45%]
> .[ 
> 45%]
> fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_deprecation.py
>  . [ 46%]
>  [ 
> 46%]
> fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_dimension_scales.py
>  . [ 46%]
> ...s [ 
> 49%]
> fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_dims_dimensionproxy.py
>  . [ 50%]
>  [ 
> 50%]
> fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_dtype.py
>  . [ 50%]
> /usr/local/lib/python3.7/site-packages/numpy/core/getlimits.py:411: 
> UserWarning: Signature 
> b'\x00\x00\x00\x00\x00\x00\x00\xa0\x99\x99\x99\x99\x99\x99\xfb\xbf' for 
>  does not match any known type: falling back to type 
> p

lang/ghc fixups

2020-03-08 Thread Greg Steuck
Hi Matthias,

I made a couple of simplifications that pass lang/ghc build and the
resulting ghc package works for building a subset of Haskell packages (e.g.
xmonad, xmobar). I only tested on amd64.

* Remove unneeded patch-libffi_ghc_mk
* Use ghc 8.6 for bootstrap, cut gcc dependency

Thanks
Greg
-- 
nest.cx is Gmail hosted, use PGP:
https://pgp.key-server.io/0x0B1542BD8DF5A1B0
Fingerprint: 5E2B 2D0E 1E03 2046 BEC3  4D50 0B15 42BD 8DF5 A1B0
From 5af03d55127188f0427f23781b08559e489d6ab8 Mon Sep 17 00:00:00 2001
From: Greg Steuck 
Date: Sun, 8 Mar 2020 17:08:16 -0700
Subject: [PATCH 1/2] Remove unneeded patch-libffi_ghc_mk

---
 lang/ghc/Makefile|  2 +-
 lang/ghc/patches/patch-libffi_ghc_mk | 17 -
 2 files changed, 1 insertion(+), 18 deletions(-)
 delete mode 100644 lang/ghc/patches/patch-libffi_ghc_mk

diff --git lang/ghc/Makefile lang/ghc/Makefile
index 7a10d6d569a..b6ef0e463c7 100644
--- lang/ghc/Makefile
+++ lang/ghc/Makefile
@@ -12,7 +12,7 @@ COMMENT =		compiler for the functional language Haskell
 NO_CCACHE =		Yes
 
 DISTNAME =		ghc-${MODGHC_VER}
-REVISION =		0
+REVISION =		1
 CATEGORIES =		lang devel
 HOMEPAGE =		https://www.haskell.org/ghc/
 
diff --git lang/ghc/patches/patch-libffi_ghc_mk lang/ghc/patches/patch-libffi_ghc_mk
deleted file mode 100644
index 73a1655df20..000
--- lang/ghc/patches/patch-libffi_ghc_mk
+++ /dev/null
@@ -1,17 +0,0 @@
-$OpenBSD: patch-libffi_ghc_mk,v 1.6 2017/11/07 02:58:34 kili Exp $
-
-Unbreak the build on OpenBSD/amd64: undefined references to
-'ffi_call_unix64', 'ffi_closure_unix64'
-
-gcc supports @unwind sections while ld (binutils 2.15) does not
-
 libffi/ghc.mk.orig	Mon May 16 19:08:53 2016
-+++ libffi/ghc.mk	Wed Nov  2 11:07:58 2016
-@@ -96,6 +96,7 @@ $(libffi_STAMP_CONFIGURE): $(TOUCH_DEP)
- 	RANLIB=$(REAL_RANLIB_CMD) \
- CFLAGS="$(SRC_CC_OPTS) $(CONF_CC_OPTS_STAGE1) -w" \
- LDFLAGS="$(SRC_LD_OPTS) -w" \
-+libffi_cv_as_x86_64_unwind_section_type=no \
- "$(SHELL)" ./configure \
- 	  --prefix=$(TOP)/libffi/build/inst \
- 	  --libdir=$(TOP)/libffi/build/inst/lib \
-- 
2.25.1

From e0c681fd62e248f9eb64348c00cfb3038f77a8a9 Mon Sep 17 00:00:00 2001
From: Greg Steuck 
Date: Sun, 8 Mar 2020 21:59:07 -0700
Subject: [PATCH 2/2] Use ghc 8.6 for bootstrap, cut gcc dependency

---
 lang/ghc/Makefile | 12 +++-
 lang/ghc/distinfo | 16 
 2 files changed, 11 insertions(+), 17 deletions(-)

diff --git lang/ghc/Makefile lang/ghc/Makefile
index b6ef0e463c7..59578fd4c46 100644
--- lang/ghc/Makefile
+++ lang/ghc/Makefile
@@ -12,12 +12,12 @@ COMMENT =		compiler for the functional language Haskell
 NO_CCACHE =		Yes
 
 DISTNAME =		ghc-${MODGHC_VER}
-REVISION =		1
+REVISION =		2
 CATEGORIES =		lang devel
 HOMEPAGE =		https://www.haskell.org/ghc/
 
 # Version of the precompiled binaries
-BIN_VER =		8.4.2.20190113
+BIN_VER =		8.6.4.20200103
 
 # Pull in lang/ghc to get MODGHC_VER and ONLY_FOR_ARCHS, which is maintained
 # in ghc.port.mk. lang/python needed for regression tests.
@@ -43,11 +43,6 @@ BUILD_DEPENDS =		archivers/bzip2 \
 			textproc/py-sphinx
 RUN_DEPENDS =
 
-# The bootstrapping compiler needs gcc, but the new ghc can be built
-# with clang. So we just BUILD_DEPEND on gcc instead of using the gcc
-# MODULE, because the latter would also add some wrapper scripts
-BUILD_DEPENDS +=	lang/gcc/8>=8,<9
-
 # We can't use the wrapper script, because it then gets hardcoded into
 # the packaged ghc. So we explicitly use -Wl,-z,wxneeded (see
 # CONFIGURE_ENV below)
@@ -170,8 +165,7 @@ post-patch:
 	cd ${WRKDIR}/ghc-${BIN_VER} && \
 	LD_LIBRARY_PATH=${BOOTSTRAP_SHLIBS} \
 	CONFIGURE_ENV=${CONFIGURE_ENV} \
-	./configure --prefix=${WRKDIR}/bootstrap \
-		CC=${LOCALBASE}/bin/egcc && \
+	./configure --prefix=${WRKDIR}/bootstrap CC="${CC}" && \
 	LD_LIBRARY_PATH=${BOOTSTRAP_SHLIBS} \
 	${MAKE_PROGRAM} install
 	rm -rf ${WRKDIR}/ghc-${BIN_VER}
diff --git lang/ghc/distinfo lang/ghc/distinfo
index 953ef0bec1b..a76f191c9b0 100644
--- lang/ghc/distinfo
+++ lang/ghc/distinfo
@@ -1,12 +1,12 @@
-SHA256 (ghc/ghc-8.4.2.20190113-amd64-unknown-openbsd.tar.xz) = mgX+n73l3DcSbSztQDuoLbg7SFNE0thfeyZnoXkP+aA=
-SHA256 (ghc/ghc-8.4.2.20190113-i386-unknown-openbsd.tar.xz) = Lunq6hJN267fQBn8xO91ECDdGDChzF02RLhw/Q2CIwY=
-SHA256 (ghc/ghc-8.4.2.20190113-shlibs-amd64.tar.gz) = fPgINvftpK632NOGqBuQ4Z7G730YRoq99aOaZrQGqAQ=
-SHA256 (ghc/ghc-8.4.2.20190113-shlibs-i386.tar.gz) = vMf8iRC17T9fZx5jcGwX/Y/5CHfQ/BFGq7QMKoyzqNg=
 SHA256 (ghc/ghc-8.6.4-src.tar.xz) = W10H5EYyA6Qzw+099GG6bM4RttK5smTbMfNCkHXQMDo=
 SHA256 (ghc/ghc-8.6.4-testsuite.tar.xz) = 6gLWerJMD10UfXSW4nuQQ+NlnUkd79LR4cewJo/q6/k=
-SIZE (ghc/ghc-8.4.2.20190113-amd64-unknown-openbsd.tar.xz) = 54549160
-SIZE (ghc/ghc-8.4.2.20190113-i386-unknown-openbsd.tar.xz) = 51355360
-SIZE (ghc/ghc-8.4.2.20190113-shlibs-amd64.tar.gz) = 2911998
-SIZE (ghc/ghc-8.4.2.20190113-shlibs-i386.tar.gz) = 2787557
+SHA256 (ghc/ghc-8.6.4.20200103-amd64-unknown-openbsd.

UPDATE: math/veusz 3.1 => 3.2

2020-03-08 Thread Brian Callahan

Hi ports --

Attached is a very straightforward update to Veusz.
I'm sending it here because it is a Qt5/py-qt5 port. I have not been 
keeping up-to-date with the Qt5 upgrade.
Is it safe to update such ports or are we in a holding pattern until Qt5 
has been updated?


Thanks.

~Brian

Index: Makefile
===
RCS file: /cvs/ports/math/veusz/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- Makefile	23 Nov 2019 17:51:57 -	1.22
+++ Makefile	9 Mar 2020 01:55:23 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.22 2019/11/23 17:51:57 bcallah Exp $
 
 COMMENT =	scientific plotting and graphing package
-MODPY_EGG_VERSION =	3.1
+MODPY_EGG_VERSION =	3.2
 DISTNAME =	veusz-${MODPY_EGG_VERSION}
 CATEGORIES =	math graphics
 
Index: distinfo
===
RCS file: /cvs/ports/math/veusz/distinfo,v
retrieving revision 1.14
diff -u -p -r1.14 distinfo
--- distinfo	23 Nov 2019 17:51:57 -	1.14
+++ distinfo	9 Mar 2020 01:55:23 -
@@ -1,2 +1,2 @@
-SHA256 (veusz-3.1.tar.gz) = wuLBvWiRwh/AVITzuH21InQ3jpv41M+kTqaJ5Wsi934=
-SIZE (veusz-3.1.tar.gz) = 2524607
+SHA256 (veusz-3.2.tar.gz) = Z9StzIOzMJj0dArANuVLMHjFlrZzY7Z07xZ6w6gSsBg=
+SIZE (veusz-3.2.tar.gz) = 2528125


Re: update: www/py-gnunicorn

2020-03-08 Thread Paco Esteban
On Sun, 08 Mar 2020, Paco Esteban wrote:

> About the port itself, I made it py3 only, as the consumers are already
> py3 only.

Forgot to mention that commits for www/Makefile and quirks will follow
if this gets ok, of course.

Cheers,

-- 
Paco Esteban.
0x5818130B8A6DBC03



graphics/pdf2dvju: fix for new poppler

2020-03-08 Thread Matthias Kilian
Hi,

this fixes the build with poppler-0.86.*

ok? (noe, we really don't need a REVISION bump here)

Ciao,
Kili

Index: patches/patch-pdf2djvu_cc
===
RCS file: patches/patch-pdf2djvu_cc
diff -N patches/patch-pdf2djvu_cc
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-pdf2djvu_cc   8 Mar 2020 21:03:09 -
@@ -0,0 +1,54 @@
+$OpenBSD$
+
+From upstream version 0.9.17.
+
+Index: pdf2djvu.cc
+--- pdf2djvu.cc.orig
 pdf2djvu.cc
+@@ -81,7 +81,11 @@ static int get_page_for_goto_link(pdf::link::GoTo *got
+ #endif
+   pdf::link::Destination *orig_dest = goto_link->getDest();
+   if (orig_dest == nullptr)
++#if POPPLER_VERSION >= 8600
++dest = catalog->findDest(goto_link->getNamedDest());
++#else
+ dest.reset(catalog->findDest(goto_link->getNamedDest()));
++#endif
+   else
+ dest.reset(orig_dest->copy());
+   if (dest.get() != nullptr)
+@@ -469,7 +473,11 @@ class MutedRenderer: public pdf::Renderer (public)
+ switch (link_action->getKind())
+ {
+ case actionURI:
++#if POPPLER_VERSION >= 8600
++  uri = dynamic_cast(link_action)->getURI();
++#else
+   uri += 
pdf::get_c_string(dynamic_cast(link_action)->getURI());
++#endif
+   break;
+ case actionGoTo:
+ {
+@@ -707,11 +715,19 @@ static void pdf_outline_to_djvu_outline(pdf::Object *n
+   {
+ pdf::OwnedObject destination;
+ std::unique_ptr link_action;
+-if (!pdf::dict_lookup(current, "Dest", &destination)->isNull())
++if (!pdf::dict_lookup(current, "Dest", &destination)->isNull()) {
++#if POPPLER_VERSION >= 8600
++  link_action = pdf::link::Action::parseDest(&destination);
++#else
+   link_action.reset(pdf::link::Action::parseDest(&destination));
+-else if (!pdf::dict_lookup(current, "A", &destination)->isNull())
++#endif
++} else if (!pdf::dict_lookup(current, "A", &destination)->isNull()) {
++#if POPPLER_VERSION >= 8600
++  link_action = pdf::link::Action::parseAction(&destination);
++#else
+   link_action.reset(pdf::link::Action::parseAction(&destination));
+-else
++#endif
++} else
+   throw NoPageForBookmark();
+ if (link_action.get() == nullptr || link_action->getKind() != 
actionGoTo)
+   throw NoPageForBookmark();



Re: 回复: [Update] devel/p5-Perl-Critic : update to 1.134

2020-03-08 Thread Andrew Hewus Fresh
On Thu, Mar 05, 2020 at 02:52:27AM +, wen heping wrote:
> Hi,
> 
>Here is the revised patch:
>i) Updated to 1.138
>ii) Remove p5-Test-Deep from BUILD_DEPENDS
> 
>This patch require textproc/p5-PPIx-QuoteLike, which I submitted
> before.
> 
> Cheers !
> wen

OK afresh1@ after the import of textproc/p5-PPIx-QuoteLike


> 
> 发件人: Andrew Hewus Fresh 
> 发送时间: 2019年8月26日 7:23
> 收件人: wen heping 
> 抄送: ports@openbsd.org 
> 主题: Re: [Update] devel/p5-Perl-Critic : update to 1.134
> 
> On Fri, Jul 26, 2019 at 01:13:31PM +, wen heping wrote:
> > Hi, ports@:
> >
> > Here is a patch for devel/p5-Perl-Critic:
> > i) Update to 1.134
> > ii) Add textproc/p5-PPIx-QuoteLike as RUN_DEPENDS, which is a new
> > port I submitted just now.
> > It build well and passed all tests on amd64-head system.
> >
> > Four ports depends on devel/p5-Perl-Critic:
> >devel/p5-FileHandle-Unget
> >devel/p5-Getargs-Long
> >devel/p5-Test-Compile
> >devel/p5-Test-Perl-Critic
> > All build well and passed all tests on amd64-head system.
> >
> > Comments? OK?
> > wen
> 
> OK afresh1@
> 
> (needs textproc/p5-PPIx-QuoteLike that I also OK'd imported first)
> 
> 
> > Index: Makefile
> > ===
> > RCS file: /cvs/ports/devel/p5-Perl-Critic/Makefile,v
> > retrieving revision 1.21
> > diff -u -p -r1.21 Makefile
> > --- Makefile  12 Jul 2019 20:45:04 -  1.21
> > +++ Makefile  26 Jul 2019 13:07:51 -
> > @@ -2,7 +2,7 @@
> >
> >  COMMENT =critique Perl source code for best-practices
> >
> > -DISTNAME =   Perl-Critic-1.126
> > +DISTNAME =   Perl-Critic-1.134
> >
> >  CATEGORIES = devel
> >
> > @@ -34,7 +34,8 @@ RUN_DEPENDS =   devel/p5-B-Keywords>=1.05
> >devel/perltidy \
> >mail/p5-Email-Address>=1.889 \
> >sysutils/p5-File-Which \
> > - textproc/p5-PPI>=1.220 \
> > + textproc/p5-PPI>=1.265 \
> > + textproc/p5-PPIx-QuoteLike \
> >textproc/p5-PPIx-Regexp>=0.027 \
> >textproc/p5-PPIx-Utilities>=1.001 \
> >textproc/p5-Pod-Spell>=1
> > Index: distinfo
> > ===
> > RCS file: /cvs/ports/devel/p5-Perl-Critic/distinfo,v
> > retrieving revision 1.7
> > diff -u -p -r1.7 distinfo
> > --- distinfo  5 Mar 2016 15:58:05 -   1.7
> > +++ distinfo  26 Jul 2019 13:07:51 -
> > @@ -1,2 +1,2 @@
> > -SHA256 (Perl-Critic-1.126.tar.gz) = 
> > saYVHLNgOu+FVRlbgH6DFlXIMAO4Hi9k//CV/3EU9a8=
> > -SIZE (Perl-Critic-1.126.tar.gz) = 646552
> > +SHA256 (Perl-Critic-1.134.tar.gz) = 
> > kOyH7Y1J3V/WhqDkyO93Joli+vFLGLQ/I4XbeeNAhes=
> > +SIZE (Perl-Critic-1.134.tar.gz) = 649465
> > Index: pkg/PLIST
> > ===
> > RCS file: /cvs/ports/devel/p5-Perl-Critic/pkg/PLIST,v
> > retrieving revision 1.6
> > diff -u -p -r1.6 PLIST
> > --- pkg/PLIST 5 Mar 2016 15:58:05 -   1.6
> > +++ pkg/PLIST 26 Jul 2019 13:07:51 -
> > @@ -40,6 +40,7 @@ ${P5SITE}/Perl/Critic/Policy/BuiltinFunc
> >  ${P5SITE}/Perl/Critic/Policy/BuiltinFunctions/ProhibitComplexMappings.pm
> >  ${P5SITE}/Perl/Critic/Policy/BuiltinFunctions/ProhibitLvalueSubstr.pm
> >  ${P5SITE}/Perl/Critic/Policy/BuiltinFunctions/ProhibitReverseSortBlock.pm
> > +${P5SITE}/Perl/Critic/Policy/BuiltinFunctions/ProhibitShiftRef.pm
> >  ${P5SITE}/Perl/Critic/Policy/BuiltinFunctions/ProhibitSleepViaSelect.pm
> >  ${P5SITE}/Perl/Critic/Policy/BuiltinFunctions/ProhibitStringyEval.pm
> >  ${P5SITE}/Perl/Critic/Policy/BuiltinFunctions/ProhibitStringySplit.pm
> > @@ -80,7 +81,6 @@ ${P5SITE}/Perl/Critic/Policy/Documentati
> >  ${P5SITE}/Perl/Critic/Policy/Documentation/PodSpelling.pm
> >  ${P5SITE}/Perl/Critic/Policy/Documentation/RequirePackageMatchesPodName.pm
> >  ${P5SITE}/Perl/Critic/Policy/Documentation/RequirePodAtEnd.pm
> > -${P5SITE}/Perl/Critic/Policy/Documentation/RequirePodLinksIncludeText.pm
> >  ${P5SITE}/Perl/Critic/Policy/Documentation/RequirePodSections.pm
> >  ${P5SITE}/Perl/Critic/Policy/ErrorHandling/
> >  ${P5SITE}/Perl/Critic/Policy/ErrorHandling/RequireCarping.pm
> > @@ -262,6 +262,7 @@ ${P5SITE}/Test/Perl/Critic/Policy.pm
> >  @man 
> > man/man3p/Perl::Critic::Policy::BuiltinFunctions::ProhibitComplexMappings.3p
> >  @man 
> > man/man3p/Perl::Critic::Policy::BuiltinFunctions::ProhibitLvalueSubstr.3p
> >  @man 
> > man/man3p/Perl::Critic::Policy::BuiltinFunctions::ProhibitReverseSortBlock.3p
> > +@man man/man3p/Perl::Critic::Policy::BuiltinFunctions::ProhibitShiftRef.3p
> >  @man 
> > man/man3p/Perl::Critic::Policy::BuiltinFunctions::ProhibitSleepViaSelect.3p
> >  @man 
> > man/man3p/Perl::Critic::Policy::BuiltinFunctions::ProhibitStringyEval.3p
> >  @man 
> > man/man3p/Perl::Critic::Policy::BuiltinFuncti

Re: [Update] textproc/p5-PPIx-Regexp : Update to 0.070

2020-03-08 Thread Andrew Hewus Fresh
On Thu, Mar 05, 2020 at 07:24:17AM +, wen heping wrote:
> Hi, ports@:
> 
>Here is a patch for textproc/p5-PPIx-Regexp :
>   i) Update to 0.070
>   ii) Remove the line of BUILD_DEPENDS=${RUN_DEPENDS}
> 
>It build well and pass all the tests on amd64-current system.
> 
>Only one ports depends on it : devel/p5-Perl-Critic. The version
> in ports failed the tests with this patch. But after update it to
> new version, which I submitted just now, it build well and pass all
> tests.
> 
> Cheers !
> wen

OK afresh1@

> Index: Makefile
> ===
> RCS file: /cvs/ports/textproc/p5-PPIx-Regexp/Makefile,v
> retrieving revision 1.13
> diff -u -p -r1.13 Makefile
> --- Makefile  12 Jul 2019 20:50:04 -  1.13
> +++ Makefile  5 Mar 2020 03:37:02 -
> @@ -4,7 +4,7 @@ COMMENT=  parse regular expressions
>  
>  MODULES= cpan
>  PKG_ARCH=*
> -DISTNAME =   PPIx-Regexp-0.063
> +DISTNAME =   PPIx-Regexp-0.070
>  CATEGORIES=  textproc
>  
>  # perl
> @@ -12,7 +12,6 @@ PERMIT_PACKAGE= Yes
>  
>  CPAN_AUTHOR= WYANT
>  
> -BUILD_DEPENDS=   ${RUN_DEPENDS}
>  RUN_DEPENDS= devel/p5-List-MoreUtils \
>   devel/p5-Task-Weaken \
>   textproc/p5-PPI
> Index: distinfo
> ===
> RCS file: /cvs/ports/textproc/p5-PPIx-Regexp/distinfo,v
> retrieving revision 1.7
> diff -u -p -r1.7 distinfo
> --- distinfo  13 Jan 2019 14:33:42 -  1.7
> +++ distinfo  5 Mar 2020 03:37:02 -
> @@ -1,2 +1,2 @@
> -SHA256 (PPIx-Regexp-0.063.tar.gz) = 
> I5UOaN8FvOhpdm6B3WsBRx4n+3CYBzfqHCKGp+z5SLw=
> -SIZE (PPIx-Regexp-0.063.tar.gz) = 222334
> +SHA256 (PPIx-Regexp-0.070.tar.gz) = 
> 2pPAhrwFzG/QFvOF0k2xf0WxrnLQfwfBEftOk14xfVM=
> +SIZE (PPIx-Regexp-0.070.tar.gz) = 231892


-- 
andrew - http://afresh1.com

A printer consists of three main parts:
the case, the jammed paper tray and the blinking red light.



Re: 回复: 回复: 回复: 回复: [NEW] textproc/p5-PPIx-QuoteLike

2020-03-08 Thread Andrew Hewus Fresh
On Thu, Mar 05, 2020 at 02:18:24AM +, wen heping wrote:
> Hi, all:
> 
>Here is the re-revised patch, now it is version 0.009.
> 
>Would some committer have a look of it ? It block the update of some others
> ports.

New version OK afresh1@ if someone wants to import.


> Cheers !
> wen
> 
> 发件人: Andrew Hewus Fresh 
> 发送时间: 2019年9月17日 9:48
> 收件人: wen heping 
> 抄送: Stuart Henderson ; ports@openbsd.org 
> 
> 主题: Re: 回复: 回复: 回复: [NEW] textproc/p5-PPIx-QuoteLike
> 
> On Sat, Aug 24, 2019 at 02:15:38AM +, wen heping wrote:
> > ping ...
> > The update of p5-Perl-Critic is waiting for it.
> 
> OK afresh1@, after changing the version from 0.007 to 0.008 and running
> `make makesum`.
> 
> > 
> > 发件人: owner-po...@openbsd.org  代表 wen heping 
> > 
> > 发送时间: 2019年8月17日 7:20
> > 收件人: Stuart Henderson 
> > 抄送: ports@openbsd.org 
> > 主题: 回复: 回复: [NEW] textproc/p5-PPIx-QuoteLike
> >
> > ping ...
> > 
> > 发件人: owner-po...@openbsd.org  代表 wen heping 
> > 
> > 发送时间: 2019年7月27日 15:49
> > 收件人: Stuart Henderson 
> > 抄送: ports@openbsd.org 
> > 主题: 回复: [NEW] textproc/p5-PPIx-QuoteLike
> >
> > Revised patch, fixed RUN_DEPENDS.
> > Thank Stuart Henderson !
> >
> > wen
> > 
> > 发件人: Stuart Henderson 
> > 发送时间: 2019年7月26日 22:42
> > 收件人: wen heping 
> > 抄送: ports@openbsd.org 
> > 主题: Re: [NEW] textproc/p5-PPIx-QuoteLike
> >
> > On 2019/07/26 12:37, wen heping wrote:
> > > Hi, ports@:
> > >
> > > Here is a patch to create new port textproc/p5-PPIx-QuoteLike,
> > > which is required by the update of devel/p5-Perl-Critic.
> > >  It build well and passed all tests on amd64-head system.
> > >
> > > Comments? OK?
> > > wen
> >
> > RUN_DEPENDS =   cpan/p5-PPI>=1.117
> >
> >
> 
> --
> andrew - http://afresh1.com
> 
> The programmer's national anthem is 'GH!!'.



-- 
andrew - http://afresh1.com

At the source of every error which is blamed on the computer, you
will find at least two human errors, including the error of blaming
it on the computer.



aarch64 bulk build report

2020-03-08 Thread phessler
bulk build on arm64.ports.openbsd.org
started on  Fri Mar 6 02:43:35 MST 2020
finished at Sun Mar 8 14:04:56 MDT 2020
lasted 2D10h21m
done with kern.version=OpenBSD 6.6-current (GENERIC.MP) #486: Thu Mar  5 
23:22:04 MST 2020

built packages:10577
Mar 6:3864
Mar 7:2261
Mar 8:4451


critical path missing pkgs:  
http://build-failures.rhaalovely.net/aarch64/2020-03-06/summary.log

build failures: 23
http://build-failures.rhaalovely.net/aarch64/2020-03-06/editors/xwpe.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/graphics/vulkan-loader.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/lang/pfe.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/lang/pypy.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/net/filezilla.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/net/minio/client.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/security/age.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/security/sn0int.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/shells/elvish.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/sysutils/amazon-ecs-cli.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/sysutils/beats/heartbeat.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/sysutils/beats/metricbeat.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/sysutils/beats/packetbeat.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/sysutils/node_exporter.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/sysutils/nomad.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/sysutils/restic.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/sysutils/serf.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/sysutils/telegraf.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/sysutils/terraform/provider-dns.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/sysutils/terragrunt.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/www/tor-browser/browser.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/x11/e17/elementary.log
http://build-failures.rhaalovely.net/aarch64/2020-03-06/x11/x2goclient.log

recurrent failures
 failures/editors/xwpe.log
 failures/graphics/vulkan-loader.log
 failures/lang/pfe.log
 failures/lang/pypy.log
 failures/net/filezilla.log
 failures/net/minio/client.log
 failures/security/age.log
 failures/security/sn0int.log
 failures/shells/elvish.log
 failures/sysutils/amazon-ecs-cli.log
 failures/sysutils/telegraf.log
 failures/sysutils/terraform/provider-dns.log
 failures/sysutils/terragrunt.log
 failures/www/tor-browser/browser.log
new failures
+++ ls-failures Sun Mar  8 14:05:06 2020
+failures/x11/e17/elementary.log
+failures/x11/x2goclient.log
resolved failures
--- ../old/aarch64/last//ls-failuresTue Feb 25 06:28:25 2020
-failures/devel/jdk/11.log
-failures/lang/haxe.log
-failures/security/nss.log
-failures/www/hugo.log
-failures/x11/e17/e.log
-failures/x11/qt5/qtwebkit.log



[UPDATE] ropper et filebytes

2020-03-08 Thread Remi Pointel

Hi,

these are the diff to update filebytes and ropper to latest releases.

Ok?

Cheers,

Remi.
Index: Makefile
===
RCS file: /cvs/ports/security/py-ropper/Makefile,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 Makefile
--- Makefile	27 Sep 2019 05:48:12 -	1.6
+++ Makefile	8 Mar 2020 19:35:00 -
@@ -2,7 +2,7 @@
 
 COMMENT =	rop gadget finder and binary information tool
 
-MODPY_EGG_VERSION =	1.12.5
+MODPY_EGG_VERSION =	1.13.3
 DISTNAME =	ropper-${MODPY_EGG_VERSION}
 PKGNAME =	py-${DISTNAME}
 
Index: distinfo
===
RCS file: /cvs/ports/security/py-ropper/distinfo,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 distinfo
--- distinfo	27 Sep 2019 05:48:12 -	1.3
+++ distinfo	8 Mar 2020 19:35:00 -
@@ -1,2 +1,2 @@
-SHA256 (ropper-1.12.5.tar.gz) = DevhcizzVtgjyravsr632K1sZEFHl4wf9UpbNEicdBg=
-SIZE (ropper-1.12.5.tar.gz) = 68836
+SHA256 (ropper-1.13.3.tar.gz) = 38h0d8D1PT0oNqOEwQY3PXYcxDXq/Ed/KZUj5UBN2kM=
+SIZE (ropper-1.13.3.tar.gz) = 68927
Index: Makefile
===
RCS file: /cvs/ports/devel/py-filebytes/Makefile,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 Makefile
--- Makefile	27 Sep 2019 05:46:30 -	1.7
+++ Makefile	8 Mar 2020 19:34:44 -
@@ -2,7 +2,7 @@
 
 COMMENT =	python module to read and write ELF, PE, MachO or OAT
 
-MODPY_EGG_VERSION =	0.9.21
+MODPY_EGG_VERSION =	0.10.2
 DISTNAME =	filebytes-${MODPY_EGG_VERSION}
 PKGNAME =	py-${DISTNAME}
 
Index: distinfo
===
RCS file: /cvs/ports/devel/py-filebytes/distinfo,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 distinfo
--- distinfo	27 Sep 2019 05:46:30 -	1.5
+++ distinfo	8 Mar 2020 19:34:44 -
@@ -1,2 +1,2 @@
-SHA256 (filebytes-0.9.21.tar.gz) = CeMG/q/UNeJAtsoi5jGc5Rhi2+meNIE2j8mi0V0iY9U=
-SIZE (filebytes-0.9.21.tar.gz) = 19174
+SHA256 (filebytes-0.10.2.tar.gz) = dkIC901551h/BLatRvfFBIXY8yxK7d0CIA8WUaCJJ0E=
+SIZE (filebytes-0.10.2.tar.gz) = 20358


[UPDATE] databases/py-ldap3 to 2.7

2020-03-08 Thread Lucas Raab
Hello,

Attached a version bump for py-ldap3 from 2.6.1 to 2.7. Builds fine and
runs fine with the AD/LDAP servers I have. Anyone want to chime in?

Lucas
Index: Makefile
===
RCS file: /cvs/ports/databases/py-ldap3/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile27 Dec 2019 20:39:36 -  1.3
+++ Makefile8 Mar 2020 19:11:54 -
@@ -2,7 +2,7 @@
 
 COMMENT =  RFC4510 conforming LDAP V3 pure Python client library
 
-MODPY_EGG_VERSION =2.6.1
+MODPY_EGG_VERSION =2.7
 DISTNAME = ldap3-${MODPY_EGG_VERSION}
 PKGNAME =  py-${DISTNAME}
 
Index: distinfo
===
RCS file: /cvs/ports/databases/py-ldap3/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo27 Dec 2019 20:39:36 -  1.2
+++ distinfo8 Mar 2020 19:11:54 -
@@ -1,2 +1,2 @@
-SHA256 (ldap3-2.6.1.tar.gz) = J8tnPnr8tTn2rcrlo+ysTnTrN8oKLVDcmPKaOCnu5Sk=
-SIZE (ldap3-2.6.1.tar.gz) = 378619
+SHA256 (ldap3-2.7.tar.gz) = F/BCmLcL9+yqXbin2GIrWpYu9/wrJFsu6nBawcJDOMA=
+SIZE (ldap3-2.7.tar.gz) = 387586
Index: pkg/PLIST
===
RCS file: /cvs/ports/databases/py-ldap3/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   27 Dec 2019 20:39:36 -  1.2
+++ pkg/PLIST   8 Mar 2020 19:11:54 -
@@ -229,6 +229,7 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/ldap3/utils/${MODPY_PYCACHE}log.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/ldap3/utils/${MODPY_PYCACHE}ntlm.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/ldap3/utils/${MODPY_PYCACHE}ordDict.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/ldap3/utils/${MODPY_PYCACHE}port_validators.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/ldap3/utils/${MODPY_PYCACHE}repr.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/ldap3/utils/${MODPY_PYCACHE}tls_backport.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/ldap3/utils/${MODPY_PYCACHE}uri.${MODPY_PYC_MAGIC_TAG}pyc
@@ -241,6 +242,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/ldap3/utils/log.py
 lib/python${MODPY_VERSION}/site-packages/ldap3/utils/ntlm.py
 lib/python${MODPY_VERSION}/site-packages/ldap3/utils/ordDict.py
+lib/python${MODPY_VERSION}/site-packages/ldap3/utils/port_validators.py
 lib/python${MODPY_VERSION}/site-packages/ldap3/utils/repr.py
 lib/python${MODPY_VERSION}/site-packages/ldap3/utils/tls_backport.py
 lib/python${MODPY_VERSION}/site-packages/ldap3/utils/uri.py


Re: devel/cargo: add few magic for crates linking to libraries (in order to use system libraries)

2020-03-08 Thread Laurence Tratt
On Sun, Mar 01, 2020 at 08:12:31PM +0100, Sebastien Marie wrote:

Hello Sebastien,

> The following diff adds few magic to devel/cargo module in order to use system
> libraries instead of building embedded version in crates in an automatic way.
[...]
> With it, it should be more simple to add new rust port, as the infrastructure
> will deal/configure magically several crates for using system libraries if
> possible.

This certainly worked well for an update of the devel/snare port I've been
working on -- is this likely to go into tree soon? I'd prefer not to add
another port with the same old openssl-sys patch if possible!


Laurie



update: www/py-gnunicorn

2020-03-08 Thread Paco Esteban
Hi ports@,

This is an update for www/py-gunicorn from 19.9.0 to 20.0.4.
Here's a list of changes to the software:

20.0.4

* fix binding a socket using the file descriptor
* remove support for the bdist_rpm build

20.0.3

* fixed load of a config file without a Python extension
* fixed socketfromfd.fromfd when defaults are not set

20.0.2

* fix changelog

20.0.1

* fixed the way the config module is loaded. __file__ is now available
* fixed wsgi.input_terminated. It is always true.
* use the highest protocol version of openssl by default
* only support Python >= 3.5
* added __repr__ method to Config instance
* fixed support of AIX platform and musl libc in socketfromfd.fromfd
  function
* fixed support of applications loaded from a factory function
* fixed chunked encoding support to prevent any request smuggling
  
_
* Capture os.sendfile before patching in gevent and eventlet workers.
* fix RecursionError.
* removed locking in reloader when adding new files
* load the WSGI application before the loader to pick up all files

20.0

* Fixed fdopen RuntimeWarning in Python 3.8
* Added check and exception for str type on value in Response
  process_headers method.
* Ensure WSGI header value is string before conducting regex search on
  it.
* Added pypy3 to list of tested environments
* Grouped StopIteration and KeyboardInterrupt exceptions with same body
  together in Arbiter.run()
* Added setproctitle module to extras_require in setup.py
* Avoid unnecessary chown of temporary files
* Logging: Handle auth type case insensitively
* Removed util.import_module
* Removed fallback for types.SimpleNamespace in tests utils
* Use SourceFileLoader instead instead of execfile_
* Use importlib instead of __import__ and eval`
* Fixed eventlet patching
* Added optional datadog _ tags for statsd
  metrics
* Header values now are encoded using latin-1, not ascii.
* Rewritten parse_address util added test
* Removed redundant super() arguments
* Simplify futures import in gthread module
* Fixed worker_connections` setting to also affects the Gthread worker
  type
* Fixed setting max_requests
* Bump minimum Eventlet and Gevent versions to 0.24 and 1.4
* Use Python default SSL cipher list by default
* handle wsgi.input_terminated extension
* Simplify Paste Deployment documentation
* Fix root logging: root and logger are same level.
* Fixed typo in ssl_version documentation
* Documented systemd deployement unit examples
* Added systemd sd_notify support
* Fixed typo in gthread.py
* Added tornado _ 5 and 6 support
* Declare our setuptools dependency
* Added support to --bind to open file descriptors
* Document how to serve WSGI app modules from Gunicorn
* Provide guidance on X-Forwarded-For access log in documentation
* Add support for named constants in the --ssl-version flag
* Clarify log format usage of header & environment in documentation
* Fixed systemd documentation to properly setup gunicorn unix socket
* Prevent removal unix socket for reuse_port
* Fix ResourceWarning when reading a Python config module
* Remove unnecessary call to dict keys method
* Support str and bytes for UNIX socket addresses
* fixed InotifyReloadeder: handle module.__file__ is None
* /dev/shm as a convenient alternative to making your own tmpfs mount in
  fchmod FAQ
* fix examples to work on python3
* Fix typo in --max-requests documentation
* Clear tornado ioloop before os.fork
* Miscellaneous fixes and improvement for linting using Pylint

About the port itself, I made it py3 only, as the consumers are already
py3 only.
All tests pass for me on amd64.  The consumers for this port both have
NO_TEST=yes.  For reference they are:

* www/puppetboard
* www/py-aiohttp
  (I tried to update this one and enable tests.  I gave up because some
  tests try to contact secure.aiohttp.io which does not even resolve for
  me ...)

Comments and/or ok welcome.

Index: Makefile
===
RCS file: /home/cvs/ports/www/py-gunicorn/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- Makefile12 Jul 2019 20:51:01 -  1.23
+++ Makefile8 Mar 2020 17:53:18 -
@@ -2,11 +2,10 @@
 
 COMMENT =  Python WSGI HTTP server
 
-MODPY_EGG_VERSION =19.9.0
+MODPY_EGG_VERSION =20.0.4
 DISTNAME = gunicorn-${MODPY_EGG_VERSION}
 PKGNAME =  py-${DISTNAME}
 CATEGORIES =   www
-REVISION = 0
 
 HOMEPAGE = http://gunicorn.org/
 
@@ -16,26 +15,19 @@ PERMIT_PACKAGE =Yes
 MODULES =  lang/python
 MODPY_PI = Yes
 MODPY_SETUPTOOLS = Yes
+MODPY_PYTEST = Yes
 
 FLAVORS =  python3
-FLAVOR ?=
+FLAVOR =   python3
 
-# py-aiohttp and py-multidict are python3 only
-.if ${FLAVOR:Mpython3}
 RUN_DEPENDS += www/py-aiohttp \
   

Re: [py-h5py fix] Re: sparc64 bulk build report

2020-03-08 Thread Theo Buehler
> You certainly don't want to wait any longer. From the sparc64 build log:
> 
> KILLED: math/py-h5py,python3 build stuck at  255131 frozen for 12 HOURS!

Yes, that's why I stopped it..

> 
> How do tests behave on sparc64?

They fail about halfway through. Full test.log below:

cd /usr/ports/pobj/py-h5py-2.10.0-python3 && CC=cc PYTHONUSERBASE= 
PORTSDIR="/usr/ports" LIBTOOL="/usr/bin/libtool"  
PATH='/usr/ports/pobj/py-h5py-2.10.0-python3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin'
 PREFIX='/usr/local'  LOCALBASE='/usr/local' X11BASE='/usr/X11R6'  CFLAGS='-O2 
-pipe'  TRUEPREFIX='/usr/local' DESTDIR=''  
HOME='/py-h5py-2.10.0_writes_to_HOME' PICFLAG="-fPIC"  BINGRP=bin BINOWN=root 
BINMODE=755 NONBINMODE=644  DIRMODE=755  INSTALL_COPY=-c INSTALL_STRIP=-s  
MANGRP=bin MANOWN=root MANMODE=644 
BSD_INSTALL_PROGRAM="/usr/ports/pobj/py-h5py-2.10.0-python3/bin/install -c -s 
-m 755"  BSD_INSTALL_SCRIPT="/usr/ports/pobj/py-h5py-2.10.0-python3/bin/install 
-c -m 755"  
BSD_INSTALL_DATA="/usr/ports/pobj/py-h5py-2.10.0-python3/bin/install -c -m 644" 
 BSD_INSTALL_MAN="/usr/ports/pobj/py-h5py-2.10.0-python3/bin/install -c -m 644" 
 BSD_INSTALL_PROGRAM_DIR="/usr/ports/pobj/py-h5py-2.10.0-python3/bin/install -d 
-m 755"  
BSD_INSTALL_SCRIPT_DIR="/usr/ports/pobj/py-h5py-2.10.0-python3/bin/install -d 
-m 755"  
BSD_INSTALL_DATA_DIR="/usr/ports/pobj/py-h5py-2.10.0-python3/bin/install -d -m 
755"  BSD_INSTALL_MAN_DIR="/usr/ports/pobj/py-h5py-2.10.0-python3/bin/install 
-d -m 755" 
PYTHONPATH=/usr/ports/pobj/py-h5py-2.10.0-python3/fake-sparc64-python3/usr/local/lib/python3.7/site-packages
  /usr/local/bin/python3.7 -c 'import h5py; h5py.run_tests()'
= test session starts ==
platform openbsd6 -- Python 3.7.6, pytest-4.4.0, py-1.8.0, pluggy-0.11.0
hypothesis profile 'default' -> 
database=DirectoryBasedExampleDatabase('/usr/ports/pobj/py-h5py-2.10.0-python3/.hypothesis/examples')
rootdir: /usr/ports/pobj/py-h5py-2.10.0-python3
plugins: cov-2.8.1, hypothesis-4.15.0
collected 549 items

fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_attribute_create.py
 . [  0%]
...  [  0%]
fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_attrs.py
 . [  0%]
 [  3%]
fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_attrs_data.py
 . [  4%]
...  [  7%]
fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_base.py
 . [  7%]
 [  8%]
fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_completions.py
 . [  8%]
.[  8%]
fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_dataset.py
 . [  8%]
x...s... [ 22%]
..x..[ 27%]
fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_dataset_getitem.py
 . [ 27%]
x... [ 40%]
.[ 42%]
fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_dataset_swmr.py
 s [ 43%]
sss..[ 45%]
fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_datatype.py
 . [ 45%]
.[ 45%]
fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_deprecation.py
 . [ 46%]
 [ 46%]
fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_dimension_scales.py
 . [ 46%]
...s [ 49%]
fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_dims_dimensionproxy.py
 . [ 50%]
 [ 50%]
fake-sparc64-python3/usr/local/lib/python3.7/site-packages/h5py/tests/test_dtype.py
 . [ 50%]
/usr/local/lib/python3.7/site-packages/numpy/core/getlimits.py:411: 
UserWarning: Signature 
b'\x00\x00\x00\x00\x00\x00\x00\xa0\x99\x99\x99\x99\x99\x99\xfb\xbf' for  does not match any known type: falling back to type probe 
function
  machar = _get_machar(dtype)



[UPDATE] www/py-beautifulsoup4

2020-03-08 Thread Remi Pointel

Hi,

this is the diff to update BeautifulSoup4 to latest release.

Ok?

Cheers,

Remi.
Index: Makefile
===
RCS file: /cvs/ports/www/py-beautifulsoup4/Makefile,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 Makefile
--- Makefile	17 Nov 2019 04:19:49 -	1.15
+++ Makefile	8 Mar 2020 17:56:29 -
@@ -2,10 +2,9 @@
 
 COMMENT =	HTML/XML parser that supports invalid markup
 
-MODPY_EGG_VERSION =	4.8.1
+MODPY_EGG_VERSION =	4.8.2
 DISTNAME =	beautifulsoup4-${MODPY_EGG_VERSION}
 PKGNAME =	py-${DISTNAME}
-REVISION =	0
 
 CATEGORIES =	www
 
Index: distinfo
===
RCS file: /cvs/ports/www/py-beautifulsoup4/distinfo,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 distinfo
--- distinfo	17 Nov 2019 04:19:49 -	1.9
+++ distinfo	8 Mar 2020 17:56:29 -
@@ -1,2 +1,2 @@
-SHA256 (beautifulsoup4-4.8.1.tar.gz) = YTXbK6Z4FowHlQ+aFsQDGCLG9K7HWmXgqXvFygl4mTE=
-SIZE (beautifulsoup4-4.8.1.tar.gz) = 159164
+SHA256 (beautifulsoup4-4.8.2.tar.gz) = Bf2CXrAcKQh3ZXpW30xuTDEbOWW9p5DGE6PW+wGlRio=
+SIZE (beautifulsoup4-4.8.2.tar.gz) = 298650
Index: pkg/PLIST
===
RCS file: /cvs/ports/www/py-beautifulsoup4/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 PLIST
--- pkg/PLIST	17 Nov 2019 04:19:49 -	1.3
+++ pkg/PLIST	8 Mar 2020 17:56:29 -
@@ -1,6 +1,4 @@
 @comment $OpenBSD: PLIST,v 1.3 2019/11/17 04:19:49 kmos Exp $
-lib/python${MODPY_VERSION}/
-lib/python${MODPY_VERSION}/site-packages/
 lib/python${MODPY_VERSION}/site-packages/beautifulsoup4-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
 lib/python${MODPY_VERSION}/site-packages/beautifulsoup4-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
 lib/python${MODPY_VERSION}/site-packages/beautifulsoup4-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
@@ -11,7 +9,6 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/bs4/__init__.py
 ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/bs4/${MODPY_PYCACHE}/
 lib/python${MODPY_VERSION}/site-packages/bs4/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
-lib/python${MODPY_VERSION}/site-packages/bs4/${MODPY_PYCACHE}check_block.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/bs4/${MODPY_PYCACHE}dammit.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/bs4/${MODPY_PYCACHE}diagnose.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/bs4/${MODPY_PYCACHE}element.${MODPY_PYC_MAGIC_TAG}pyc
@@ -27,7 +24,6 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/bs4/builder/_html5lib.py
 lib/python${MODPY_VERSION}/site-packages/bs4/builder/_htmlparser.py
 lib/python${MODPY_VERSION}/site-packages/bs4/builder/_lxml.py
-lib/python${MODPY_VERSION}/site-packages/bs4/check_block.py
 lib/python${MODPY_VERSION}/site-packages/bs4/dammit.py
 lib/python${MODPY_VERSION}/site-packages/bs4/diagnose.py
 lib/python${MODPY_VERSION}/site-packages/bs4/element.py


update: www/py-multidict

2020-03-08 Thread Paco Esteban
Hi ports@,

Here's an update for www/py-multidict to 4.7.5
Changes to the software can be found here (2 links for some reason ...):

https://github.com/aio-libs/multidict/blob/master/HISTORY.rst
https://github.com/aio-libs/multidict/blob/master/CHANGES.rst

Tests pass for me on amd64.

As for consumers:

* www/py-aiohttp
* NO_TESTS=yes
* www/py-gunicorn
* all tests pass
* www/py-yarl
* all tests pass  (0 tests ???)

Cheers,
Paco.

Index: Makefile
===
RCS file: /home/cvs/ports/www/py-multidict/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile12 Jul 2019 20:51:02 -  1.7
+++ Makefile6 Mar 2020 18:38:23 -
@@ -2,13 +2,12 @@
 
 COMMENT =  multidict implementation
 
-MODPY_EGG_VERSION =4.2.0
-REVISION = 1
+MODPY_EGG_VERSION =4.7.5
 DISTNAME = multidict-${MODPY_EGG_VERSION}
 PKGNAME =  py-${DISTNAME}
 CATEGORIES =   www devel
 
-WANTLIB += pthread ${MODPY_WANTLIB}
+WANTLIB += pthread ${MODPY_WANTLIB}
 
 # Apache2
 PERMIT_PACKAGE =   Yes
@@ -18,7 +17,9 @@ MODULES = lang/python
 MODPY_PI = Yes
 MODPY_SETUPTOOLS = Yes
 MODPY_VERSION =${MODPY_DEFAULT_VERSION_3}
+MODPY_PYTEST = Yes
 
-TEST_DEPENDS = devel/py-test${MODPY_FLAVOR}
+TEST_DEPENDS = devel/py-test${MODPY_FLAVOR} \
+   devel/py-test-cov${MODPY_FLAVOR}
 
 .include 
Index: distinfo
===
RCS file: /home/cvs/ports/www/py-multidict/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo26 Apr 2018 13:05:38 -  1.3
+++ distinfo6 Mar 2020 18:22:01 -
@@ -1,2 +1,2 @@
-SHA256 (multidict-4.2.0.tar.gz) = JAUnJBleRocnOfqhDGEZV7us6uKO7JLhzkkVCxFexe0=
-SIZE (multidict-4.2.0.tar.gz) = 137359
+SHA256 (multidict-4.7.5.tar.gz) = ruKDxJYB+kwTrcZMCcl4g4p+gS+FN3rhMKJNcZjAMx4=
+SIZE (multidict-4.7.5.tar.gz) = 50845
Index: patches/patch-multidict__multidict_c
===
RCS file: patches/patch-multidict__multidict_c
diff -N patches/patch-multidict__multidict_c
--- patches/patch-multidict__multidict_c1 Aug 2018 22:39:13 -   
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,16 +0,0 @@
-$OpenBSD: patch-multidict__multidict_c,v 1.1 2018/08/01 22:39:13 juanfra Exp $
-
-Os breaks the build on GCC4 platforms.
-
-Index: multidict/_multidict.c
 multidict/_multidict.c.orig
-+++ multidict/_multidict.c
-@@ -20116,8 +20116,6 @@ static int __Pyx_modinit_function_import_code(void) {
- #ifndef CYTHON_SMALL_CODE
- #if defined(__clang__)
- #define CYTHON_SMALL_CODE
--#elif defined(__GNUC__)
--#define CYTHON_SMALL_CODE __attribute__((optimize("Os")))
- #else
- #define CYTHON_SMALL_CODE
- #endif
Index: pkg/PLIST
===
RCS file: /home/cvs/ports/www/py-multidict/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   26 Apr 2018 13:05:38 -  1.3
+++ pkg/PLIST   6 Mar 2020 18:22:56 -
@@ -1,5 +1,5 @@
 @comment $OpenBSD: PLIST,v 1.3 2018/04/26 13:05:38 danj Exp $
-@pkgpath www/py3-multidict
+@pkgpath www/${MODPY_PY_PREFIX}multidict
 lib/python${MODPY_VERSION}/site-packages/multidict/
 
lib/python${MODPY_VERSION}/site-packages/multidict-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
 
lib/python${MODPY_VERSION}/site-packages/multidict-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
@@ -8,18 +8,23 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/multidict-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
 lib/python${MODPY_VERSION}/site-packages/multidict/__init__.py
 lib/python${MODPY_VERSION}/site-packages/multidict/__init__.pyi
-lib/python${MODPY_VERSION}/site-packages/multidict/${MODPY_PYCACHE}/
+${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/multidict/${MODPY_PYCACHE}/
 
lib/python${MODPY_VERSION}/site-packages/multidict/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/multidict/${MODPY_PYCACHE}_abc.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/multidict/${MODPY_PYCACHE}_compat.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/multidict/${MODPY_PYCACHE}_multidict_base.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/multidict/${MODPY_PYCACHE}_multidict_py.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/multidict/_abc.py
 lib/python${MODPY_VERSION}/site-packages/multidict/_compat.py
-lib/python${MODPY_VERSION}/site-packages/multidict/_istr.c
-lib/python${MODPY_VERSION}/site-packages/multidict/_istr.pyd
-lib/python${MODPY_VERSION}/site-packages/multidict/_istr.so
 lib/python${MODPY_VERSION}/site-packages/multidict/_multidict.c

[UPDATE] cad/qucs-s 0.0.21p2 -> 0.0.22

2020-03-08 Thread Alessandro De Laurenzis

Greetings,

The attached diff updates cad/qucs-s to the latest revision.


What's new upstream
===
This release contains mainly bugfixes:
- Added SPICEINIT component;
- Fixed OpAmp input pins order;
- Added 4-pin NMOS and PMOS symbols;
- Added AppImage Package.


What's new in the port
==
- updated maintainer email address;
- as already highlighted in the first submission, portcheck is flagging 
  the presence of python modules without compiled versions, but those 
  are actually only examples and I don't think it is worth adding python 
  as a dependency just for that (there are also examples for Octave...).



Tested on amd64 only.

-- Alessandro De Laurenzis
[mailto:jus...@atlantide.mooo.com]
Web: http://www.atlantide.mooo.com
LinkedIn: http://it.linkedin.com/in/delaurenzis
Index: Makefile
===
RCS file: /cvs/ports/cad/qucs-s/Makefile,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 Makefile
--- Makefile1 Nov 2019 11:09:55 -   1.5
+++ Makefile8 Mar 2020 17:34:52 -
@@ -2,13 +2,12 @@
 
 COMMENT =  an universal GUI for SPICE and not-SPICE circuit simulators
 
-V =0.0.21
+V =0.0.22
 DISTNAME = qucs-s-${V}
-REVISION = 2
 
 CATEGORIES =   cad
 HOMEPAGE = https://ra3xdh.github.io/
-MAINTAINER =   Alessandro De Laurenzis 
+MAINTAINER =   Alessandro De Laurenzis 
 
 MASTER_SITES = https://github.com/ra3xdh/qucs_s/releases/download/${V}/
 
Index: distinfo
===
RCS file: /cvs/ports/cad/qucs-s/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo2 May 2019 03:34:39 -   1.1.1.1
+++ distinfo8 Mar 2020 17:34:52 -
@@ -1,2 +1,2 @@
-SHA256 (qucs-s-0.0.21.tar.gz) = 5tnU1w5KLNT0mNsQwScZLvmASkJO3o5XdUcTBnb1k3U=
-SIZE (qucs-s-0.0.21.tar.gz) = 11270570
+SHA256 (qucs-s-0.0.22.tar.gz) = kHpY6XPhhRo1b3JoSVYMLWNx1OUQgZT5RwqgjGZNDvU=
+SIZE (qucs-s-0.0.22.tar.gz) = 11271279


[UPDATE] cad/opensta 2.0.12.20190329 -> 2.0.18.20200308

2020-03-08 Thread Alessandro De Laurenzis

Greetings,

The attached diff updates cad/opensta to a very recent commit.

This is a trivial update port-wise, but a big jump in terms of 
features/bug-fixing.



What's new upstream
===
This is just an incomplete list of upstream's activity:
- set_power_activity -input applies to floating inputs;
- power reg activity revisited;
- Sta::insert_buffer;
- power use propagted activities for internal power;
- replace_cell checks;
- ConcreteCell/Port pointers to corresponding liberty;
- Liberty cell drive_resistance property;
- support equiv cells across libraries;
- set_clock_sense -> set_sense;
- get_lib_cells allow wildcard lib name;
- VerilogWriter now uses liberty bus port order;
- sdc matches for verilog port nets like \foo[2][0];
- write_verilog escaped bus names;
- create_clock redef preserve propagated;
- slew limits on ideal clk nets are not checked anymore;
- multi-driver net delay calc with multiple threads.


What's new in the port
==
- updated maintainer email address;
- ApiChanges.txt added to ${PREFIX}/share/doc/opensta;
- I noticed that ChangeLog.txt is practically unmaintained, but since it 
  is still part of the distribution files, I left it as it was; if it 
  should be removed, just let me know;
- there is now a regression suite (very basic, but still useful); I 
  modified the Makefile to allow its execution; all tests are OK.


Tested on amd64 only.

--
Alessandro De Laurenzis
[mailto:jus...@atlantide.mooo.com]
Web: http://www.atlantide.mooo.com
LinkedIn: http://it.linkedin.com/in/delaurenzis
Index: Makefile
===
RCS file: /cvs/ports/cad/opensta/Makefile,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 Makefile
--- Makefile18 Dec 2019 07:42:27 -  1.6
+++ Makefile8 Mar 2020 16:56:24 -
@@ -3,16 +3,15 @@
 COMMENT =  Parallax Static Timing Analyzer
 
 # use version number from git log
-DISTNAME = opensta-2.0.12.20190329
-REVISION = 0
+DISTNAME = opensta-2.0.18.20200308
 
 CATEGORIES =   cad
 
 GH_ACCOUNT =   abk-openroad
 GH_PROJECT =   OpenSTA
-GH_COMMIT =ed3ad4fb3012feb53328a80df6ad01efd477f891
+GH_COMMIT =d615f62fe412b0f12166e6d5559eacec43713e02
 
-MAINTAINER =   Alessandro De Laurenzis 
+MAINTAINER =   Alessandro De Laurenzis 
 
 # GPLv3
 PERMIT_PACKAGE =   Yes
@@ -37,15 +36,18 @@ BUILD_DEPENDS = devel/bison \
 CONFIGURE_ARGS = -DTCL_HEADER=${MODTCL_INCDIR}/tcl.h \
 -DCUDD=${LOCALBASE}
 
-NO_TEST =  Yes
-
 pre-configure:
cd ${WRKSRC}/etc && ${MODTCL_TCLSH_ADJ} TclEncode.tcl SwigCleanup.tcl
+   cd ${WRKSRC}/test && ${MODTCL_TCLSH_ADJ} regression
 
 post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/opensta
${INSTALL_DATA} ${WRKSRC}/doc/OpenSTA.pdf ${PREFIX}/share/doc/opensta
${INSTALL_DATA} ${WRKSRC}/doc/ChangeLog.txt ${PREFIX}/share/doc/opensta
${INSTALL_DATA} ${WRKSRC}/doc/StaApi.txt ${PREFIX}/share/doc/opensta
+   ${INSTALL_DATA} ${WRKSRC}/doc/ApiChanges.txt ${PREFIX}/share/doc/opensta
+
+do-test:
+   cd ${WRKDIST} && test/regression all
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/cad/opensta/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo30 Mar 2019 11:50:06 -  1.2
+++ distinfo8 Mar 2020 16:56:24 -
@@ -1,2 +1,2 @@
-SHA256 (opensta-2.0.12.20190329-ed3ad4fb.tar.gz) = 
fRJ9YJuTPng7bgIxD1aODNL63xOiR9FIbmI4PMcdi8w=
-SIZE (opensta-2.0.12.20190329-ed3ad4fb.tar.gz) = 911049
+SHA256 (opensta-2.0.18.20200308-d615f62f.tar.gz) = 
+039qKdPjmM4LqUv5qbo9L3akiS9f98gzulJgXyNJT4=
+SIZE (opensta-2.0.18.20200308-d615f62f.tar.gz) = 4859083
Index: pkg/PLIST
===
RCS file: /cvs/ports/cad/opensta/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 PLIST
--- pkg/PLIST   30 Mar 2019 11:50:06 -  1.2
+++ pkg/PLIST   8 Mar 2020 16:56:24 -
@@ -35,6 +35,7 @@ include/DelayNormal2.hh
 include/DeratingFactors.hh
 include/DisabledPorts.hh
 include/DisallowCopyAssign.hh
+include/DispatchQueue.hh
 include/DmpCeff.hh
 include/DmpDelayCalc.hh
 include/EnumNameMap.hh
@@ -64,6 +65,7 @@ include/Levelize.hh
 include/Liberty.hh
 include/LibertyBuilder.hh
 include/LibertyClass.hh
+include/LibertyExpr.hh
 include/LibertyParser.hh
 include/LibertyReader.hh
 include/LibertyReaderPvt.hh
@@ -81,7 +83,8 @@ include/Network.hh
 include/NetworkClass.hh
 include/NetworkCmp.hh
 include/NullParasitics.hh
-include/ObjectIndex.hh
+include/ObjectId.hh
+include/ObjectTable.hh
 include/Parasitics.hh
 include/ParasiticsClass.hh
 include/ParseBus.hh
@@ -97,7 +100,6 @@ include/PathVertex.hh
 include/PathVertexRep.hh
 include/PatternMatch.hh
 include/PinPair.hh
-include/Pool.hh
 include/PortDelay.hh
 include/PortDirection.hh
 include/PortExtCap.hh
@@ -139,7 +141,6 @@ include/StringUtil.hh
 include/TableModel.hh
 include/Ta

Re: [py-h5py fix] Re: sparc64 bulk build report

2020-03-08 Thread Martin Reindl
Am 08.03.20 um 15:23 schrieb Theo Buehler:
> On Sun, Mar 08, 2020 at 11:40:52AM +, Stuart Henderson wrote:
>> On 2020/03/08 08:31, Martin Reindl wrote:
>>> On Sat, Mar 07, 2020 at 06:27:29PM -0700, k...@openbsd.org wrote:

 New failures:
 +failures/math/py-h5py,python3.log

>>>
>>> Does this help?
> 
> It certainly makes compilation faster. It built in
> 
>31m32.82s real30m34.96s user 1m05.71s system
> 
> with this and COMPILER_LANGS = c an an otherwise mostly idle sparc64
> machine.  I stopped the build without this patch after about two hours.
> 

You certainly don't want to wait any longer. From the sparc64 build log:

KILLED: math/py-h5py,python3 build stuck at  255131 frozen for 12 HOURS!

How do tests behave on sparc64?

Thanks for testing!
-m



Re: [new] synapse-1.11.0

2020-03-08 Thread Landry Breuil
On Fri, Mar 06, 2020 at 03:26:30PM +0100, Renaud Allard wrote:
> 
> 
> On 3/6/20 2:31 PM, Renaud Allard wrote:
> > 
> > Here is an update to the port with all landry@ and solene@ modifications.
> > 
> 
> Sorry, small mistake in py-treq with py3
> Here it is again

going to import it soonish, but minor nits -

setup_requires=["incremental"],
use_incremental=True,
install_requires=[
"incremental",
"requests >= 2.1.0",
"six",
"Twisted[tls] >= 16.4.0",
"attrs",
],

i think py-treq needs some additional RDEPs, and i'd locally fix the
added BDEP on incremental to use ${MODPY_FLAVOR} instead of hardcoding
,python3 like you did.

make test fails on:

import httpbin
E   ModuleNotFoundError: No module named 'httpbin'

so it might also need additional TDEPs :)

Landry



Re: UPDATE: Qt 5.13.2

2020-03-08 Thread Landry Breuil
On Sun, Mar 08, 2020 at 12:59:30PM +, Stuart Henderson wrote:
> On 2020/03/08 12:40, Stuart Henderson wrote:
> > py-sip-qt5 attached for completeness, it is the same as the last one from
> > Landry. OK sthen@ to import that unhooked, then we can hook it to the build
> > when switching over.
> 
> py-sip-qt5 needs this added:
> 
> MAKE_FLAGS +=   CC="${CC}" CXX="${CXX}"
> 

i had it fixed locally by amending the existing patch copied from
py-sip:

$OpenBSD: patch-specs_openbsd-g++,v 1.2 2017/03/02 15:10:15 espie Exp $
Index: specs/openbsd-g++
--- specs/openbsd-g++.orig
+++ specs/openbsd-g++
@@ -7,7 +7,7 @@ TEMPLATE= app
 CONFIG += qt warn_on release link_prl
 QT += core gui
 
-QMAKE_CC   = gcc
+QMAKE_CC   = cc
 QMAKE_LEX  = flex
 QMAKE_LEXFLAGS =
 QMAKE_YACC = yacc
@@ -22,7 +22,7 @@ QMAKE_CFLAGS_SHLIB= -fPIC
 QMAKE_CFLAGS_YACC  = -Wno-unused -Wno-parentheses
 QMAKE_CFLAGS_THREAD= -pthread
 
-QMAKE_CXX  = g++
+QMAKE_CXX  = c++
 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
 QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON

but i'm fine with MAKE_FLAGS too - fixed version attached.

still uncertain on the naming ? x11/py-sip-qt5 ? upstream names it PyQt5-sip...
py-qt5-sip ? who cares ?

going to start an amd64 bulk with your patchset, but i agree we should commit
this soonish to avoid more churn. I'm globally okay with the patchset anyway,
and all the consumers i tested were fine (except tortoisehg but i suppose its
local as it works for rafael)

Landry


py-sip-qt5_2.tgz
Description: application/tar-gz


audio/gqmpeg: add sndio volume backend and fixes crashes

2020-03-08 Thread Alexandre Ratchov
This diff makes gqmpeg use sndio to display and control the
volume. This fixes the crash when the volume slider is touched. As a
side effect, this makes gqmpeg use the right device (one that's
playing) and nicely updates the slider position when other programs
change the master volume.

OK?

Index: Makefile
===
RCS file: /cvs/ports/audio/gqmpeg/Makefile,v
retrieving revision 1.64
diff -u -p -r1.64 Makefile
--- Makefile12 Jul 2019 20:43:33 -  1.64
+++ Makefile8 Mar 2020 15:39:53 -
@@ -3,7 +3,7 @@
 COMMENT=   front-end to various audio players
 
 DISTNAME=  gqmpeg-0.91.1
-REVISION=  14
+REVISION=  15
 CATEGORIES=audio
 
 HOMEPAGE=  http://gqmpeg.sourceforge.net/
Index: patches/patch-src_Makefile_in
===
RCS file: patches/patch-src_Makefile_in
diff -N patches/patch-src_Makefile_in
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_Makefile_in   8 Mar 2020 15:39:53 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: src/Makefile.in
+--- src/Makefile.in.orig
 src/Makefile.in
+@@ -342,7 +342,7 @@ gqmpeg_SOURCES = \
+   $(module_mpg123) $(module_xmp) $(module_ogg123) $(module_radio)
+ 
+ 
+-gqmpeg_LDADD = $(GTK_LIBS) $(LIBPNG)
++gqmpeg_LDADD = $(GTK_LIBS) $(LIBPNG) -lsndio
+ 
+ EXTRA_DIST = \
+   $(extra_SLIK)   \
Index: patches/patch-src_mixer_c
===
RCS file: /cvs/ports/audio/gqmpeg/patches/patch-src_mixer_c,v
retrieving revision 1.2
diff -u -p -r1.2 patch-src_mixer_c
--- patches/patch-src_mixer_c   14 Oct 2007 14:12:42 -  1.2
+++ patches/patch-src_mixer_c   8 Mar 2020 15:39:53 -
@@ -1,39 +1,288 @@
 $OpenBSD: patch-src_mixer_c,v 1.2 2007/10/14 14:12:42 jasper Exp $
 src/mixer.c.orig   Tue Sep 10 16:16:26 2002
-+++ src/mixer.cSun Oct 14 15:47:27 2007
-@@ -285,7 +285,11 @@ void mixer_init(gint init_device_id)
- 
-   mixer_device = getenv("MIXERDEVICE");
-   if (mixer_device == NULL)
-+#ifdef __OpenBSD__
-+mixer_device = "/dev/mixer";
-+#else
- mixer_device = "/dev/mixer0";
-+#endif
+Index: src/mixer.c
+--- src/mixer.c.orig
 src/mixer.c
+@@ -39,10 +39,16 @@
+ #include 
+ #endif
  
-   if ((fd = open(mixer_device, O_RDWR)) == -1) {
- perror(mixer_device);
-@@ -362,7 +366,11 @@ static void mixer_set_vol(DeviceData *device, gint vol
- 
-   mixer_device = getenv("MIXERDEVICE");
-   if (mixer_device == NULL)
-+#ifdef __OpenBSD__
-+mixer_device = "/dev/mixer";
-+#else
- mixer_device = "/dev/mixer0";
-+#endif
+-#if defined(__NetBSD__) || defined(__OpenBSD__)
++#if defined(__NetBSD__)
+ #include 
+ #endif
  
-   if ((fd = open(mixer_device, O_RDWR)) == -1) {
- perror(mixer_device);
-@@ -406,7 +414,11 @@ static gint mixer_get_vol(DeviceData *device)
- 
-   mixer_device = getenv("MIXERDEVICE");
-   if (mixer_device == NULL)
-+#ifdef __OpenBSD__
-+mixer_device = "/dev/mixer";
-+#else
- mixer_device = "/dev/mixer0";
++#if defined(__OpenBSD__)
++#include 
++#include 
++#include "display.h"
 +#endif
++
+ #if defined(sun) && defined(__svr4__)
+ #include 
+ #endif
+@@ -267,11 +273,11 @@ static gint mixer_get_vol(DeviceData *device)
+ 
+ /*
+  *
+- * NetBSD and OpenBSD
++ * NetBSD
+  *
+  */
+ 
+-#elif defined(__NetBSD__) || defined(__OpenBSD__)
++#elif defined(__NetBSD__)
+ 
+ mixer_devinfo_t *infos;
+ mixer_ctrl_t *values;
+@@ -442,6 +448,242 @@ static gint mixer_get_vol(DeviceData *device)
+ 
+ /*
+  *
++ * OpenBSD
++ *
++ */
++
++#elif defined(__OpenBSD__)
++
++struct control {
++  struct control *next;
++  unsigned int addr;
++  unsigned int max, value;
++};
++
++static struct control *controls;
++static struct sioctl_hdl *hdl;
++static struct pollfd *pfds;
++static int initialized;
++
++/*
++ * new control registered
++ */
++static void ondesc(void *unused, struct sioctl_desc *d, int val)
++{
++  struct control *i, **pi;
++
++  if (d == NULL)
++  return;
++
++  /*
++   * delete existing control with the same address
++   */
++  for (pi = &controls; (i = *pi) != NULL; pi = &i->next) {
++  if (d->addr == i->addr) {
++  *pi = i->next;
++  free(i);
++  break;
++  }
++  }
++
++  /*
++   * SIOCTL_NONE means control was deleted from the device
++   */
++  if (d->type == SIOCTL_NONE)
++  return;
++
++  /*
++   * we're interested in top-level output.level controls only
++   */
++  if (d->group[0] != 0 ||
++  strcmp(d->node0.na

Re: Prometheus not starting

2020-03-08 Thread Antoine Jacoutot
On Sun, Mar 01, 2020 at 11:18:28PM +0200, Fabian wrote:
> Am Sun, 01 Mar 2020 13:44:16 +
> schrieb Stuart Henderson :
> 
> > Why have you set 'prometheus_flags=""'? Just omit it if you want the 
> > default flags.
> 
> Because "man rc.conf.local" says:
> 
> > If set to the empty string, the daemon is run with the default
> > command line arguments defined in its rc.d(8) daemon script, or
> > without command line arguments if no such default exists.

That is true but for base system daemons only.
If you look down, there's another section about package daemons.

Base systemd daemon *must* have a foo_flags entry to be started; it's too
preserve historical behavior. Package daemons can just be appended to the
pkg_scripts variable.

Cheers!

-- 
Antoine



x11/i3status: add sndio volume backend

2020-03-08 Thread Alexandre Ratchov
This makes i3status display sndiod master volume knob. This makes it
work by default with any audio device, including USB ones with no
volume controls.

OK?

Index: Makefile
===
RCS file: /cvs/ports/x11/i3status/Makefile,v
retrieving revision 1.58
diff -u -p -r1.58 Makefile
--- Makefile27 Sep 2019 20:33:22 -  1.58
+++ Makefile8 Mar 2020 15:33:22 -
@@ -5,7 +5,7 @@ ONLY_FOR_ARCHS= ${APM_ARCHS}
 COMMENT=   generate a statusbar for use with i3/xmobar/dzen2
 
 DISTNAME=  i3status-2.13
-REVISION=  1
+REVISION=  2
 CATEGORIES=x11 sysutils
 
 HOMEPAGE=  https://i3wm.org/i3status/
@@ -28,7 +28,9 @@ BUILD_DEPENDS=textproc/asciidoc>=8.6.8
 LIB_DEPENDS=   devel/libconfuse \
devel/libyajl
 
-CONFIGURE_STYLE =  gnu
+AUTOCONF_VERSION = 2.69
+AUTOMAKE_VERSION = 1.16
+CONFIGURE_STYLE =  autoreconf
 SEPARATE_BUILD =   Yes
 
 FAKE_FLAGS +=  sysconfdir=${PREFIX}/share/examples/i3status/
Index: patches/patch-Makefile_am
===
RCS file: patches/patch-Makefile_am
diff -N patches/patch-Makefile_am
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-Makefile_am   8 Mar 2020 15:33:22 -
@@ -0,0 +1,37 @@
+$OpenBSD$
+
+Index: Makefile.am
+--- Makefile.am.orig
 Makefile.am
+@@ -1,5 +1,3 @@
+-@CODE_COVERAGE_RULES@
+-
+ echo-version:
+   @echo "@I3STATUS_VERSION@"
+ 
+@@ -30,6 +28,7 @@ i3status_CFLAGS = \
+   $(PULSE_CFLAGS) \
+   $(NLGENL_CFLAGS) \
+   $(ALSA_CFLAGS) \
++  $(SNDIO_CFLAGS) \
+   $(PTHREAD_CFLAGS)
+ 
+ i3status_CPPFLAGS = \
+@@ -42,6 +41,7 @@ i3status_LDADD = \
+   $(PULSE_LIBS) \
+   $(NLGENL_LIBS) \
+   $(ALSA_LIBS) \
++  $(SNDIO_LIBS) \
+   $(PTHREAD_LIBS)
+ 
+ i3status_SOURCES = \
+@@ -69,7 +69,8 @@ i3status_SOURCES = \
+   src/print_wireless_info.c \
+   src/print_file_contents.c \
+   src/process_runs.c \
+-  src/pulse.c
++  src/pulse.c \
++  src/sndio.c
+ 
+ dist_sysconf_DATA = \
+   i3status.conf
Index: patches/patch-Makefile_in
===
RCS file: patches/patch-Makefile_in
diff -N patches/patch-Makefile_in
--- patches/patch-Makefile_in   6 Jul 2019 20:20:27 -   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,15 +0,0 @@
-$OpenBSD: patch-Makefile_in,v 1.1 2019/07/06 20:20:27 jasper Exp $
-
-The CODE_COVERAGE_RULES fragment contains an unmatched "if" clause.
-
-Index: Makefile.in
 Makefile.in.orig
-+++ Makefile.in
-@@ -1851,7 +1851,6 @@ uninstall-man: uninstall-man1
- 
- .PRECIOUS: Makefile
- 
--@CODE_COVERAGE_RULES@
- 
- echo-version:
-   @echo "@I3STATUS_VERSION@"
Index: patches/patch-configure_ac
===
RCS file: patches/patch-configure_ac
diff -N patches/patch-configure_ac
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-configure_ac  8 Mar 2020 15:33:22 -
@@ -0,0 +1,19 @@
+$OpenBSD$
+
+Index: configure.ac
+--- configure.ac.orig
 configure.ac
+@@ -91,6 +91,13 @@ case $host_os in
+   ;;
+ esac
+ 
++# if sndio is available, define USE_SNDIO
++AC_CHECK_HEADER(sndio.h,
++  [AC_CHECK_LIB([sndio], [sio_open], [
++  AC_SUBST(SNDIO_LIBS, "-lsndio")
++  AC_DEFINE([USE_SNDIO], [], [Use sndio])
++  ], [])], [])
++
+ dnl TODO: check for libbsd for GNU/kFreeBSD
+ 
+ # Checks for programs.
Index: patches/patch-include_i3status_h
===
RCS file: patches/patch-include_i3status_h
diff -N patches/patch-include_i3status_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-include_i3status_h8 Mar 2020 15:33:22 -
@@ -0,0 +1,13 @@
+$OpenBSD$
+
+Index: include/i3status.h
+--- include/i3status.h.orig
 include/i3status.h
+@@ -232,6 +232,7 @@ int volume_pulseaudio(uint32_t sink_idx, const char *s
+ bool description_pulseaudio(uint32_t sink_idx, const char *sink_name, char 
buffer[MAX_SINK_DESCRIPTION_LEN]);
+ bool pulse_initialize(void);
+ void print_file_contents(yajl_gen json_gen, char *buffer, const char *title, 
const char *path, const char *format, const char *format_bad, const int 
max_chars);
++int volume_sndio(void);
+ 
+ /* socket file descriptor for general purposes */
+ extern int general_socket;
Index: patches/patch-src_print_volume_c
===
RCS file: patches/patch-src_print_volume_c
diff -N patches/patch-src_print_volume_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_print_volume_c8 Mar 2020 15:33:22 -
@@ -0,0 +1,144 @@
+$OpenBSD$
+
+Index: src/print_volume.c
+--- src/print_volume.c.orig
 src/print_volume.c
+@@ -21,13 +21,6 @@
+ #include 
+ #endif
+ 
+-#ifdef __OpenBSD__
+-#includ

sysutils/tray-app: use sndio

2020-03-08 Thread Alexandre Ratchov
This diff switches sysutils/tray-app to the new audio control API. Now
the programm displays and controls the sndiod master volume knob. This
has two advantages:

  - tray-app now works on any device, including those with no volume
controls.

  - in case there are multiple audio devices, tray-app won't pick the
wrong one anymore

OK?

Index: Makefile
===
RCS file: /cvs/ports/sysutils/tray-app/Makefile,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 Makefile
--- Makefile12 Jul 2019 20:49:53 -  1.8
+++ Makefile8 Mar 2020 15:19:47 -
@@ -5,7 +5,7 @@ ONLY_FOR_ARCHS= ${APM_ARCHS}
 COMMENT=   small utilities for X11 system tray: eject, battery, mixer
 
 DISTNAME=  tray-app-0.3.1
-REVISION=  0
+REVISION=  1
 
 CATEGORIES=sysutils x11
 
Index: patches/patch-sound_Makefile
===
RCS file: /cvs/ports/sysutils/tray-app/patches/patch-sound_Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 patch-sound_Makefile
--- patches/patch-sound_Makefile17 Sep 2013 11:21:50 -  1.1.1.1
+++ patches/patch-sound_Makefile8 Mar 2020 15:19:47 -
@@ -1,6 +1,7 @@
 $OpenBSD: patch-sound_Makefile,v 1.1.1.1 2013/09/17 11:21:50 sthen Exp $
 sound/Makefile.origMon Mar 12 08:46:04 2012
-+++ sound/Makefile Tue Sep 17 11:39:18 2013
+Index: sound/Makefile
+--- sound/Makefile.orig
 sound/Makefile
 @@ -8,13 +8,13 @@ MAN=
  
  gtk_CFLAGS!= pkg-config --cflags gtk+-2.0
@@ -8,7 +9,8 @@ $OpenBSD: patch-sound_Makefile,v 1.1.1.1
 -CFLAGS= -W -Wall -g -O0 -I../lib $(gtk_CFLAGS)
 +CFLAGS+= -W -Wall -I../lib $(gtk_CFLAGS)
  LDFLAGS= -L../lib $(gtk_LDFLAGS)
- LDADD= -ltrayapp
+-LDADD= -ltrayapp
++LDADD= -ltrayapp -lsndio
  
 -BINDIR=/usr/local/libexec/tray-app
 +BINDIR=${TRUEPREFIX}/libexec/tray-app
Index: patches/patch-sound_sound_c
===
RCS file: patches/patch-sound_sound_c
diff -N patches/patch-sound_sound_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-sound_sound_c 8 Mar 2020 15:19:47 -
@@ -0,0 +1,539 @@
+$OpenBSD$
+
+Index: sound/sound.c
+--- sound/sound.c.orig
 sound/sound.c
+@@ -4,12 +4,13 @@
+  */
+ #include 
+ #include 
+-#include 
++#include 
+ 
+ #include 
+ 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ 
+@@ -19,16 +20,20 @@
+ #include "sound-1.xpm"
+ #include "sound-2.xpm"
+ 
++struct control {
++  struct control *next;
++  unsigned int addr;
++  unsigned int value;
++  unsigned int max;
++  int ismute;
++};
++
+ static void   usage(const char *prog);
+-static intget_mixer_index(int fd, mixer_devinfo_t *devinfo);
+-static intget_volume(int fd, mixer_devinfo_t *devinfo, u_char *volume);
+-static intset_volume(int fd, mixer_devinfo_t *devinfo, u_char volume);
+-static intget_mute(int fd, mixer_devinfo_t *devinfo, int *mute);
+-static intset_mute(int fd, mixer_devinfo_t *devinfo, int mute);
++static void   set_state(int ismute, int mute);
++static void   get_state(int *rvolume, int *rmute);
+ 
+ static void   prepare_tooltip(int mute, u_char volume, char *text, size_t sz);
+ 
+-static gboolean   cb_timer(GtkWidget *widget);
+ static void   cb_button_toggled(GtkWidget *widget, gpointer data);
+ static void   cb_scale_value_changed(GtkScale *scale, GtkAdjustment *adj);
+ static gboolean   cb_window_delete(GtkWidget *widget,GdkEvent *event,
+@@ -44,12 +49,13 @@ static gbooleancb_tray_query_tooltip(GtkStatusIcon *i
+ static intinit_gui(void);
+ static void   show_gui(void);
+ static void   hide_gui(void);
++static void   refresh_gui(void);
+ 
+ static intinit_tray(int doinvert);
+ static void   set_tray_icon(u_char volume);
+ 
+-static intmixer_fd;
+-static mixer_devinfo_toutputs_master_dev[2];  /* volume, mute */
++static struct sioctl_hdl *hdl;
++static struct control*controls;
+ 
+ static GtkWidget  *gui_window = NULL;
+ static GtkObject  *gui_adj = NULL;
+@@ -63,9 +69,6 @@ static GdkPixbuf *tray_pixbuf_0 = NULL;
+ static GdkPixbuf  *tray_pixbuf_1 = NULL;
+ static GdkPixbuf  *tray_pixbuf_2 = NULL;
+ 
+-static u_char current_volume = 0;
+-static intcurrent_mute = 0;
+-
+ void
+ usage(const char *prog)
+ {
+@@ -76,104 +79,134 @@ usage(const char *prog)
+   prog);
+ }
+ 
+-static int
+-get_mixer_index(int fd, mixer_devinfo_t *devinfo)
++/*
++ * new control registered
++ */
++static void
++cb_control_desc(void *unused, struct sioctl_desc *d, int val)
+ {
+-  int error;
+-  int i, outputs_idx;
++  struct control *c, **pc;
++  int has_volume, has_mute;
++  int ismute;
+ 
+-  i = 0;
+-  outputs_idx = -1;
+-  devinfo[0].index = 0;
+-  for (;;) {
+-  error = ioctl(fd, AUDIO_MIXER_DEVINFO, devinfo + i);
+-  if (error == -1)
++  if (d ==

Re: UPDATE sysutils/borgbackup-1.1.11

2020-03-08 Thread Matthieu Herrb
On Sun, Mar 08, 2020 at 07:40:47AM +0100, Bjorn Ketelaars wrote:
> Diff below brings borgbackup to 1.1.11, which fixes a potential index
> corruption / data loss issue. Additional information on this issue as
> well as information on other changes can be found at:
> https://github.com/borgbackup/borg/blob/1.1.11/docs/changes.rst#version--2020-03-08.
> 
> While here add HOMEPAGE to Makefile.

Hi,

Works for me and my backups (amd64 machines only). I've also updated
my main backup server which is running 6.6-stable.

Thanks for the update.

-- 
Matthieu Herrb



Re: [py-h5py fix] Re: sparc64 bulk build report

2020-03-08 Thread Theo Buehler
On Sun, Mar 08, 2020 at 11:40:52AM +, Stuart Henderson wrote:
> On 2020/03/08 08:31, Martin Reindl wrote:
> > On Sat, Mar 07, 2020 at 06:27:29PM -0700, k...@openbsd.org wrote:
> > > 
> > > New failures:
> > > +failures/math/py-h5py,python3.log
> > > 
> > 
> > Does this help?

It certainly makes compilation faster. It built in

   31m32.82s real30m34.96s user 1m05.71s system

with this and COMPILER_LANGS = c an an otherwise mostly idle sparc64
machine.  I stopped the build without this patch after about two hours.



Re: UPDATE: Qt 5.13.2

2020-03-08 Thread Stuart Henderson
On 2020/03/08 12:40, Stuart Henderson wrote:
> py-sip-qt5 attached for completeness, it is the same as the last one from
> Landry. OK sthen@ to import that unhooked, then we can hook it to the build
> when switching over.

py-sip-qt5 needs this added:

MAKE_FLAGS +=   CC="${CC}" CXX="${CXX}"



Re: NEW: Delphinus DNS

2020-03-08 Thread PiRATA
Hey @ports,

Attached is the lastest version of the port. Minor bugs/typos fixed.

Looking forward to hear some feedback.

‐‐‐ Original Message ‐‐‐
On Sunday, March 8, 2020 10:45 AM, Peter J. Philipp  wrote:

> On Sat, Mar 07, 2020 at 09:44:03PM +, PiRATA wrote:
>
> > Ping
> > ? Original Message ?
> > On Monday, February 24, 2020 6:03 PM, PiRATA e...@pirata.sh wrote:
> >
> > > Hey @ports,
> > > Delphinus DNS is a non-caching, non-recursing DNS server that serves 
> > > authoritative answers for A, , CNAME, DNSKEY, DS, MX, NAPTR, NS, 
> > > NSEC3, NSEC3PARAM, PTR, RRSIG, SOA, SRV, SSHFP, TLSA, and TXT resource 
> > > records.
> > > Homepage: https://delphinusdns.org/
> > > Tested on amd64.
> > > Comments and testing needed. OK?
>
> Hi,
>
> I was in contact with PiRATA (I'm also the programs author), and we improved
> on the Makefile a bit.
>
> I tested installing this on amd64, i386, octeon and macppc. That's all the
> archs I have to my avail. It installed in all of them.
>
> I didn't test that they would run, but I tested that outside of the ports
> hierarchy and I know they do work on OpenBSD/{amd64,i386,octeon,macppc}.
>
> PiRATA will follow up with an improved Makefile. If someone wants to OK this
> that'd be really nice!
>
> Best Regards,
> -peter




delphinusdnsd-1.4.1.tar.gz
Description: application/gzip


Re: UPDATE sysutils/borgbackup-1.1.11

2020-03-08 Thread Stuart Henderson
On 2020/03/08 07:40, Bjorn Ketelaars wrote:
> Diff below brings borgbackup to 1.1.11, which fixes a potential index
> corruption / data loss issue. Additional information on this issue as
> well as information on other changes can be found at:
> https://github.com/borgbackup/borg/blob/1.1.11/docs/changes.rst#version--2020-03-08.
> 
> While here add HOMEPAGE to Makefile.
> 
> Testing:
> - 'make test' runs successfully
> - run tested on a couple of amd64 machines (creating backups and
>   removing old ones)
> - Successfully tested the advised procedure to fix any related issue in
>   indexes/caches on two machines (both amd64, one with a repository size
>   of ~5GB, the other with a repository size of 350GB)
> 
> I think it makes sense to bring this update to 6.6 as well (minus the
> @so changes in PLIST).
> 
> Comments/OK?

OK sthen@. I agree with -stable.



Re: [py-h5py fix] Re: sparc64 bulk build report

2020-03-08 Thread Stuart Henderson
On 2020/03/08 08:31, Martin Reindl wrote:
> On Sat, Mar 07, 2020 at 06:27:29PM -0700, k...@openbsd.org wrote:
> > 
> > New failures:
> > +failures/math/py-h5py,python3.log
> > 
> 
> Does this help?
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/math/py-h5py/Makefile,v
> retrieving revision 1.1.1.1
> diff -u -p -u -p -r1.1.1.1 Makefile
> --- Makefile  4 Mar 2020 07:54:18 -   1.1.1.1
> +++ Makefile  8 Mar 2020 07:26:43 -
> @@ -6,12 +6,15 @@ MODPY_EGG_VERSION = 2.10.0
>  DISTNAME =   h5py-${MODPY_EGG_VERSION}
>  PKGNAME =py-${DISTNAME}
>  CATEGORIES = math
> +REVISION =   0
>  
>  HOMEPAGE =   https://www.h5py.org/
>  MAINTAINER = Martin Reindl 
>  
>  # BSD
>  PERMIT_PACKAGE = Yes
> +
> +COMPILER =   base-clang ports-gcc
>  
>  MODULES =lang/python
>  MODPY_SETUPTOOLS =   Yes
> 


+COMPILER_LANGS = c



Re: NEW: Delphinus DNS

2020-03-08 Thread Peter J. Philipp
On Sat, Mar 07, 2020 at 09:44:03PM +, PiRATA wrote:
> Ping
> 
> ? Original Message ?
> On Monday, February 24, 2020 6:03 PM, PiRATA  wrote:
> 
> > Hey @ports,
> >
> > Delphinus DNS is a non-caching, non-recursing DNS server that serves 
> > authoritative answers for A, , CNAME, DNSKEY, DS, MX, NAPTR, NS, NSEC3, 
> > NSEC3PARAM, PTR, RRSIG, SOA, SRV, SSHFP, TLSA, and TXT resource records.
> >
> > Homepage: https://delphinusdns.org/
> >
> > Tested on amd64.
> > Comments and testing needed. OK?

Hi,

I was in contact with PiRATA (I'm also the programs author), and we improved
on the Makefile a bit.

I tested installing this on amd64, i386, octeon and macppc.  That's all the
archs I have to my avail.  It installed in all of them.

I didn't test that they would run, but I tested that outside of the ports
hierarchy and I know they do work on OpenBSD/{amd64,i386,octeon,macppc}.

PiRATA will follow up with an improved Makefile.  If someone wants to OK this
that'd be really nice!

Best Regards,
-peter



mips64 bulk build report

2020-03-08 Thread visa
bulk build on octeon.ports.openbsd.org
started on  Sun Feb 23 17:21:52 UTC 2020
finished at Wed Mar 4 18:01:37 UTC 2020
lasted 11D00h39m
done with kern.version=OpenBSD 6.6-current (GENERIC.MP) #18: Sun Feb 23 
16:58:48 UTC 2020

built packages:9379
Feb 23:1448
Feb 24:1311
Feb 25:566
Feb 26:697
Feb 27:538
Feb 28:435
Feb 29:365
Mar 1:620
Mar 2:591
Mar 3:2801
Mar 4:6


build failures: 70
http://build-failures.rhaalovely.net/mips64/2020-02-23/audio/mscore.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/cad/magic.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/cad/netgen.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/chinese/libchewing.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/chinese/libpinyin.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/databases/postgresql-pllua.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/devel/cgdb.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/devel/coccinelle.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/devel/libpeas.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/devel/py-unicorn,python3.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/devel/rebar,erlang21.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/devel/sdcc.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/editors/vim,no_x11,perl,python,ruby.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/emulators/openmsx.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/emulators/retroarch.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/games/astromenace.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/games/eduke32.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/games/hyperrogue.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/games/postal.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/games/stone-soup.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/games/valyriatear.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/geo/gpstk.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/graphics/colord-gtk.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/graphics/enblend-enfuse.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/graphics/gimp/stable.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/graphics/openimageio.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/inputmethods/scim-fcitx.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/lang/STk.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/lang/gforth.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/lang/gpc.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/lang/haxe.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/lang/janet.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/lang/parrot.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/lang/pfe.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/lang/squeak/vm.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/mail/dspam,-main.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/mail/kopano/core.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/math/gbc.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/math/mlpack,-main.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/math/ntl.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/misc/dtcltiny.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/multimedia/assimp.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/multimedia/mkvtoolnix,no_x11.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/multimedia/synfigstudio.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/net/dleyna/renderer.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/net/dleyna/server.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/net/telegram-purple.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/net/utox.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/net/weechat,-lua.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/net/wireshark,-main.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/plan9/drawterm.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/security/botan2.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/shells/ksh93.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/sysutils/u-boot,aarch64.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/telephony/iaxclient.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/textproc/apertium-dicts/crh.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/textproc/apertium-dicts/tur.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/www/mozplugger.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/www/webkitgtk4.log
http://build-failures.rhaalovely.net/mips64/2020-02-23/x11/gnome/libgweather.log
http://build-failures.rhaalovely.net/mips

Re: UPDATE: sysutils/lookat 1.4.4 => 2.0.0

2020-03-08 Thread Remi Locherer
On Mon, Mar 02, 2020 at 05:39:51PM -0500, Brian Callahan wrote:
> Hi ports --
> 
> After more than 4 years, lookat received a new update.
> The changelog is short, the important items are:
> * utf8 support
> * change in the default color scheme
> * improved error handling
> 
> Port-wise, I removed the do-install routine in favor of letting the Makefile
> do in the installation. I am not sure why I made the do-install routine all
> those years ago.
> 
> Small patch to keep the example color schemes in the same directory as
> before, which I think is a better fit for our directory scheme than what
> upstream does.
> 
> Also take MAINTAINER. I imported this many years ago, so I will maintain
> this again.
> 
> OK?
> 
> ~Brian
> 

ok remi@

> Index: Makefile
> ===
> RCS file: /cvs/ports/sysutils/lookat/Makefile,v
> retrieving revision 1.5
> diff -u -p -r1.5 Makefile
> --- Makefile  12 Jul 2019 20:49:46 -  1.5
> +++ Makefile  2 Mar 2020 22:32:39 -
> @@ -1,32 +1,23 @@
>  # $OpenBSD: Makefile,v 1.5 2019/07/12 20:49:46 sthen Exp $
>  
> -V =  1.4.4
> +V =  2.0.0
>  COMMENT =user-friendly text pager
>  DISTNAME =   lookat_bekijk-${V}
>  PKGNAME =lookat-${V}
>  CATEGORIES = sysutils textproc
> -REVISION =   0
>  
>  HOMEPAGE =   http://www.wagemakers.be/english/programs/lookat
> +MAINTAINER = Brian Callahan 
>  
>  # GPLv2+
>  PERMIT_PACKAGE = Yes
>  
>  WANTLIB += c curses
>  
> -MASTER_SITES =   http://www.wagemakers.be/downloads/lookat/
> +MASTER_SITES =   ${MASTER_SITE_SAVANNAH:=lookat/}
>  
>  CONFIGURE_STYLE =gnu
>  
> -do-install:
> - ${INSTALL_PROGRAM} ${WRKSRC}/lookat ${PREFIX}/bin
> - ${INSTALL_MAN} ${WRKSRC}/lookat.1 ${PREFIX}/man/man1
> - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/lookat
> - ${INSTALL_DATA} ${WRKSRC}/lookat.conf.default \
> - ${PREFIX}/share/examples/lookat
> - ${INSTALL_DATA} ${WRKSRC}/examples/blue_config.cfg \
> - ${PREFIX}/share/examples/lookat
> - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lookat
> - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/lookat
> +FAKE_FLAGS = sysconfdir="${PREFIX}/share/examples/lookat"
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/sysutils/lookat/distinfo,v
> retrieving revision 1.2
> diff -u -p -r1.2 distinfo
> --- distinfo  30 Dec 2015 10:46:47 -  1.2
> +++ distinfo  2 Mar 2020 22:32:39 -
> @@ -1,2 +1,2 @@
> -SHA256 (lookat_bekijk-1.4.4.tar.gz) = 
> hlE+yQrRPEvEoVEPueF3/Vz1gbPUFBWWTLBzZXHK2cI=
> -SIZE (lookat_bekijk-1.4.4.tar.gz) = 279634
> +SHA256 (lookat_bekijk-2.0.0.tar.gz) = 
> yVFaS6GnjatdTQKOBhzaOVpbRMLRBAWjPkyAOMRScmk=
> +SIZE (lookat_bekijk-2.0.0.tar.gz) = 300881
> Index: patches/patch-Makefile_in
> ===
> RCS file: patches/patch-Makefile_in
> diff -N patches/patch-Makefile_in
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-Makefile_in 2 Mar 2020 22:32:39 -
> @@ -0,0 +1,19 @@
> +$OpenBSD$
> +
> +Put example configs in examples rather than doc.
> +
> +Index: Makefile.in
> +--- Makefile.in.orig
>  Makefile.in
> +@@ -970,9 +970,8 @@ bekijk.o: bekijk.c
> + $(COMPILE) -D_NED -DCONFIGFILE=\"$(CONFIGFILE)\" 
> -DDOCFILE=\"$(NED_DOCFILE)\" -o bekijk.o -c bekijk.c
> + 
> + install-data-local:
> +-$(mkinstalldirs) $(DESTDIR)$(docdir)examples
> +-$(INSTALL_DATA) $(srcdir)/examples/blue_and_black.cfg 
> $(DESTDIR)$(docdir)examples/blue_and_black.cfg
> +-$(INSTALL_DATA) $(srcdir)/examples/cyan_and_blue.cfg 
> $(DESTDIR)$(docdir)examples/cyan_and_blue.cfg
> ++$(INSTALL_DATA) $(srcdir)/examples/blue_and_black.cfg 
> $(DESTDIR)$(datadir)/examples/lookat/blue_and_black.cfg
> ++$(INSTALL_DATA) $(srcdir)/examples/cyan_and_blue.cfg 
> $(DESTDIR)$(datadir)/examples/lookat/cyan_and_blue.cfg
> + 
> + @if test -f $(DESTDIR)$(CONFIGFILE); then \
> + echo ;\
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/sysutils/lookat/pkg/PLIST,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 PLIST
> --- pkg/PLIST 20 Oct 2014 02:41:04 -  1.1.1.1
> +++ pkg/PLIST 2 Mar 2020 22:32:39 -
> @@ -1,9 +1,14 @@
>  @comment $OpenBSD: PLIST,v 1.1.1.1 2014/10/20 02:41:04 bcallah Exp $
> +@bin bin/bekijk
>  @bin bin/lookat
> +@man man/man1/bekijk.1
>  @man man/man1/lookat.1
>  share/doc/lookat/
> +share/doc/lookat/LEESMIJ
>  share/doc/lookat/README
>  share/examples/lookat/
> -share/examples/lookat/blue_config.cfg
> +share/examples/lookat/blue_and_black.cfg
> +share/examples/lookat/cyan_and_blue.cfg
> +share/examples/lookat/lookat.conf
>  share/examples/lookat/lookat.conf.default
>  @sample ${SYSCONFDIR}/lookat.conf



Re: UPDATE sysutils/borgbackup-1.1.11

2020-03-08 Thread Klemens Nanni
On Sun, Mar 08, 2020 at 07:40:47AM +0100, Bjorn Ketelaars wrote:
> I think it makes sense to bring this update to 6.6 as well (minus the
> @so changes in PLIST).
OK kn