UPDATE www/jupyter-notebook

2019-05-05 Thread Björn Ketelaars
Enclosed diff brings jupyter-notebook to the latest version (5.7.0).
Quite a few changes have been made between 5.0.0 (which is in ports) and
5.7.0. Changelog can be found at
https://github.com/jupyter/notebook/releases

'make test' runs successfully on amd64, and tested in a working
jupyter-notebook environment.

Please note that this update depends on a newer version of
www/py-terminado for which a separate mail has been sent.

OK? (maintainer timeout).


Index: Makefile
===
RCS file: /cvs/ports/www/jupyter-notebook/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile28 Apr 2019 20:51:58 -  1.9
+++ Makefile5 May 2019 05:46:25 -
@@ -2,14 +2,13 @@
 
 COMMENT =  web-based notebook for interactive computing
 
-MODPY_EGG_VERSION =5.0.0
-REVISION = 1
+MODPY_EGG_VERSION =5.7.0
 DISTNAME = notebook-${MODPY_EGG_VERSION}
 PKGNAME =  jupyter-notebook-${MODPY_EGG_VERSION}
 
 CATEGORIES =   www devel
 
-HOMEPAGE = http://jupyter.org/
+HOMEPAGE = https://jupyter.org/
 
 MAINTAINER =   Alexandr Shadchin 
 
@@ -19,30 +18,37 @@ PERMIT_PACKAGE_CDROM =  Yes
 MODULES =  lang/python
 
 MODPY_PI = Yes
+MODPY_SETUPTOOLS = Yes
 
 FLAVORS =  python3
 FLAVOR ?=
 
-RUN_DEPENDS =  www/py-jinja2${MODPY_FLAVOR} \
-   www/py-tornado${MODPY_FLAVOR} \
+RUN_DEPENDS =  devel/py-ipykernel${MODPY_FLAVOR} \
devel/py-ipython_genutils${MODPY_FLAVOR} \
-   devel/py-traitlets${MODPY_FLAVOR} \
-   devel/py-jupyter_core${MODPY_FLAVOR}>=4.3.0 \
-   devel/py-jupyter_client${MODPY_FLAVOR}>=5.0.1 \
-   devel/py-nbformat${MODPY_FLAVOR}>=4.3.0 \
-   devel/py-nbconvert${MODPY_FLAVOR}>=5.1.1 \
-   devel/py-ipykernel${MODPY_FLAVOR}>=4.6.1 \
-   devel/ipython${MODPY_FLAVOR}>=5.3.0 \
-   www/py-terminado${MODPY_FLAVOR}
+   devel/py-jupyter_client${MODPY_FLAVOR}>=5.2.0 \
+   devel/py-jupyter_core${MODPY_FLAVOR}>=4.4.0 \
+   devel/py-nbconvert${MODPY_FLAVOR} \
+   devel/py-nbformat${MODPY_FLAVOR} \
+   devel/py-send2trash${MODPY_FLAVOR} \
+   devel/py-traitlets${MODPY_FLAVOR}>=4.2.1 \
+   net/py-zmq${MODPY_FLAVOR}>=17 \
+   sysutils/py-prometheus_client${MODPY_FLAVOR} \
+   www/py-jinja2${MODPY_FLAVOR} \
+   www/py-terminado${MODPY_FLAVOR}>=0.8.1 \
+   www/py-tornado${MODPY_FLAVOR}>=4
 
 TEST_DEPENDS = ${RUN_DEPENDS} \
+   devel/py-coverage${MODPY_FLAVOR} \
devel/py-nose${MODPY_FLAVOR} \
devel/py-nose-warnings-filters${MODPY_FLAVOR} \
-   www/py-requests${MODPY_FLAVOR}
+   devel/py-nbval${MODPY_FLAVOR} \
+   www/py-requests${MODPY_FLAVOR} \
+   www/py-selenium${MODPY_FLAVOR}
 
 # XXX once we have a port of pandoc, we can make docs.
 
 .if !${FLAVOR:Mpython3}
+RUN_DEPENDS += net/py-ipaddress
 TEST_DEPENDS +=devel/py-mock
 .else
 PKGNAME =  
jupyter-notebook${MODPY_MAJOR_VERSION}-${MODPY_EGG_VERSION}
@@ -53,10 +59,13 @@ post-install:
mv ${PREFIX}/bin/jupyter-nbextension{,${MODPY_BIN_SUFFIX}}
mv ${PREFIX}/bin/jupyter-notebook{,${MODPY_BIN_SUFFIX}}
mv ${PREFIX}/bin/jupyter-serverextension{,${MODPY_BIN_SUFFIX}}
-   mv ${PREFIX}/bin/less-watch{,${MODPY_BIN_SUFFIX}}
 
+# XXX exclude selenium tests as recommended, and exclude tests that use
+# send2trash as they error out with "Trashing on system internal mounts is not
+# supported".
 do-test:
cd ${WRKSRC} && env LC_CTYPE=C.UTF-8 \
-   ${LOCALBASE}/bin/nosetests${MODPY_BIN_SUFFIX} notebook
+   ${LOCALBASE}/bin/nosetests${MODPY_BIN_SUFFIX} -v notebook \
+   --exclude=delete --exclude=follow_file --exclude=selenium
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/www/jupyter-notebook/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo23 May 2017 17:44:39 -  1.5
+++ distinfo5 May 2019 05:46:25 -
@@ -1,2 +1,2 @@
-SHA256 (notebook-5.0.0.tar.gz) = HOo7u9A8jlhCoUAzR6jMgTRIazzggaLlsZUqAOpm7VQ=
-SIZE (notebook-5.0.0.tar.gz) = 11481080
+SHA256 (notebook-5.7.0.tar.gz) = uF5N49VM9PFP4dBRWpgMy0nd1M3SElDMDU+2N01Qsac=
+SIZE (notebook-5.7.0.tar.gz) = 13394162
Index: patches/patch-notebook_base_zmqhandlers_py
===
RCS file: 

UPDATE www/py-terminado

2019-05-05 Thread Björn Ketelaars
Enclosed diff brings py-terminado to the latest version (0.8.2), which
is needed for a pending jupyter-notebook update.

OK? (maintainer timeout)


Index: Makefile
===
RCS file: /cvs/ports/www/py-terminado/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile28 Apr 2019 20:52:00 -  1.4
+++ Makefile5 May 2019 05:43:23 -
@@ -2,10 +2,9 @@
 
 COMMENT =  terminals served to term.js using Tornado websockets
 
-MODPY_EGG_VERSION =0.6
+MODPY_EGG_VERSION =0.8.2
 DISTNAME = terminado-${MODPY_EGG_VERSION}
 PKGNAME =  py-${DISTNAME}
-REVISION = 1
 
 CATEGORIES =   www
 
@@ -20,14 +19,13 @@ MODULES =   lang/python
 MODPY_PI = Yes
 
 RUN_DEPENDS += devel/py-ptyprocess${MODPY_FLAVOR} \
-   www/py-tornado${MODPY_FLAVOR}
+   www/py-tornado${MODPY_FLAVOR}>=4
 TEST_DEPENDS +=${RUN_DEPENDS} \
devel/py-nose${MODPY_FLAVOR}
 
 FLAVORS =  python3
 FLAVOR ?=
 
-# One test fails:
 # https://github.com/takluyver/terminado/issues/21
 do-test:
cd ${WRKSRC}/terminado && ${LOCALBASE}/bin/nosetests${MODPY_BIN_SUFFIX}
Index: distinfo
===
RCS file: /cvs/ports/www/py-terminado/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo6 Nov 2016 13:42:57 -   1.2
+++ distinfo5 May 2019 05:43:23 -
@@ -1,2 +1,2 @@
-SHA256 (terminado-0.6.tar.gz) = LAuh9iQGfcyq6tfSJHz+ApgGNVzvEk3CzLU8gyKfASY=
-SIZE (terminado-0.6.tar.gz) = 10334
+SHA256 (terminado-0.8.2.tar.gz) = 3gjhQfg8OgeYsFDssJerYlnD8DMbL3t3UMkHXO0sIMI=
+SIZE (terminado-0.8.2.tar.gz) = 21041



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2019/05/05 20:56:37

Modified files:
fonts/gohufont : Makefile 

Log message:
Fix dead homepage/master_sites.



Re: NEW: devel/py-fields 5.0.0

2019-05-05 Thread Daniel Jakots
On Sun, 5 May 2019 20:32:57 -0400, Kurt Mosiejczuk 
wrote:

> devel/py-fields is a "container class boilerplate killer". It is
> needed to enable tests for an updated devel/py-test-cov.
> 
> This requires the new port devel/py-characteristic for its tests.

If I don't miss something, we have some ports that want to print the
coverage reports for their tests suite. While it's useful for
upstreams (for their development work), I don't really think knowing the
coverage of the test suite is super useful for us but whatever.

But now we have (-> means tdep):
whatever port -> py-test-cov -> py-fields -> py-characteristic

If we next release py-characteristic adds some new tdep and so on...
how many level deep are we going to get?


Because in the end, we fill the ports tree with ports with (IMHO)
arguably usefulness and they do increase the load on maintenance.


Cheers,
Daniel



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Brian Callahan
CVSROOT:/cvs
Module name:ports
Changes by: bcal...@cvs.openbsd.org 2019/05/05 18:47:43

Modified files:
lang/flang/libpgmath: Makefile distinfo 
lang/flang/flang: Makefile distinfo 

Log message:
Update to flang-7.0.1.20190503



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Daniel Jakots
CVSROOT:/cvs
Module name:ports
Changes by: d...@cvs.openbsd.org2019/05/05 17:48:01

Modified files:
devel/quirks   : Makefile 
devel/quirks/files: Quirks.pm 

Log message:
Register znc as 1.7.3 fixes CVE-2019-9917



Re: UPDATE: net/znc 1.7.1 -> 1.7.3

2019-05-05 Thread Hiltjo Posthuma
On Sun, May 05, 2019 at 01:46:24PM -0700, Nam Nguyen wrote:
> Hiltjo Posthuma writes:
> 
> > Hi,
> >
> > This updates the znc port from 1.7.1 to 1.7.3.
> >
> > It contains a DDoS fix:
> > - https://wiki.znc.in/ChangeLog/1.7.3
> > - CVE-2019-9917: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9917
> >
> > I only build the package on amd64 and not tested:
> 
> The link can be changed to https://
> 
> I have successfully tested this on amd64 6.5 -stable on a VPS. Per the
> ZNC instructions[1], "If you upgrade your ZNC version you must recompile
> all your modules," I recompiled the only ZNC module I use,
> znc-clientbuffer[2]. It continues to work. Thanks.
> 
> Footnotes: 
> [1]  https://wiki.znc.in/Compiling_modules
> [2]  https://github.com/jpnurmi/znc-clientbuffer

Thanks for testing.

Below is an updated patch using https:


diff --git net/znc/Makefile net/znc/Makefile
index e5596110bf5..a09090f329e 100644
--- net/znc/Makefile
+++ net/znc/Makefile
@@ -2,11 +2,11 @@
 
 COMMENT=   advanced IRC bouncer
 
-DISTNAME=  znc-1.7.1
+DISTNAME=  znc-1.7.3
 CATEGORIES=net
 MASTER_SITES=  ${HOMEPAGE}releases/
 
-HOMEPAGE=  http://znc.in/
+HOMEPAGE=  https://znc.in/
 
 MAINTAINER=Brad Smith 
 
diff --git net/znc/distinfo net/znc/distinfo
index 30d8a4aeb9b..4a337b107f8 100644
--- net/znc/distinfo
+++ net/znc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (znc-1.7.1.tar.gz) = RM/qcVjqBdwlR8fGvCI3HmbIad75A1HeCrkKnCANOcQ=
-SIZE (znc-1.7.1.tar.gz) = 2041669
+SHA256 (znc-1.7.3.tar.gz) = HkzDGDeh6ObMMQhzZZoWfOwWo/1CgcvDvzZOQjUsET0=
+SIZE (znc-1.7.3.tar.gz) = 2084575
diff --git net/znc/pkg/PLIST net/znc/pkg/PLIST
index 27dcbb05d14..49bd6ecb6a4 100644
--- net/znc/pkg/PLIST
+++ net/znc/pkg/PLIST
@@ -163,6 +163,7 @@ share/znc/modules/webadmin/tmpl/traffic.tmpl
 share/znc/translations/
 share/znc/translations/de-DE
 share/znc/translations/es-ES
+share/znc/translations/fr-FR
 share/znc/translations/id-ID
 share/znc/translations/nl_NL
 share/znc/translations/ru-RU

-- 
Kind regards,
Hiltjo



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Daniel Jakots
CVSROOT:/cvs
Module name:ports
Changes by: d...@cvs.openbsd.org2019/05/05 16:40:36

Modified files:
net/plushs : Makefile 

Log message:
Remove maintainer whose addresse bounce



Remove net/proxy-suite?

2019-05-05 Thread Daniel Jakots
I dropped Camiel as maintainer for now. Feel free to remove the port.

Begin forwarded message:

Date: Sun, 5 May 2019 20:42:50 +0200
From: Camiel Dobbelaar 
To: Daniel Jakots 
Subject: Re: OpenBSD ports - maintainer check


Oooo blast from the past.  :-)

I can be dropped as maintainer from this port !   Or better yet drop the
whole thing since the last version is dated 2005.

Regards,
Camiel



On Fri, May 3, 2019 at 4:00 PM Daniel Jakots  wrote:

> Hi Camiel Dobbelaar,
>
> This email is a check to verify OpenBSD ports maintainers can
> be reached and wish to remain active.
>
> You currently maintain the following port(s):
> net/proxy-suite
>
> If you wish to continue, please reply to this email letting me know.
> If we don't hear from you before 2019/05/17, or if you wish
> to release a particular port, we will drop the maintainer line.
> Thanks for your understanding!
>
> Cheers,
> --
> Daniel
>  


CVS: cvs.openbsd.org: ports

2019-05-05 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2019/05/05 16:37:23

Modified files:
devel/p5-File-MimeInfo: Makefile distinfo 
devel/p5-File-MimeInfo/pkg: DESCR 
Added files:
devel/p5-File-MimeInfo/patches: patch-t_06_pod_ok_t 

Log message:
p5-File-MimeInfo: update to 0.29
Also update DESCR to mention the bundled tools.
Changelog:
https://metacpan.org/changes/release/MICHIELB/File-MimeInfo-0.29

OK afresh1@



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Daniel Jakots
CVSROOT:/cvs
Module name:ports
Changes by: d...@cvs.openbsd.org2019/05/05 16:34:40

Modified files:
net/proxy-suite: Makefile 
archivers/p7zip: Makefile 

Log message:
Remove maintainers per their requests



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2019/05/05 16:33:11

ports/devel/p5-File-MimeInfo/patches

Update of /cvs/ports/devel/p5-File-MimeInfo/patches
In directory cvs.openbsd.org:/tmp/cvs-serv83425/patches

Log Message:
Directory /cvs/ports/devel/p5-File-MimeInfo/patches added to the repository



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Daniel Jakots
CVSROOT:/cvs
Module name:ports
Changes by: d...@cvs.openbsd.org2019/05/05 16:29:50

Modified files:
devel/jam  : Makefile 

Log message:
Remove maintainer per their request



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2019/05/05 16:18:49

Modified files:
devel/p5-File-Flat: Makefile distinfo 

Log message:
p5-File-Flat: update to 1.05
Changelog:
https://metacpan.org/source/ETHER/File-Flat-1.05/Changes

OK afresh1@



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2019/05/05 16:27:36

Modified files:
devel/p5-File-HomeDir: Makefile distinfo 

Log message:
p5-File-HomeDir: update to 1.004
Changelog:
https://metacpan.org/source/REHSACK/File-HomeDir-1.004/Changes

OK afresh1@



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2019/05/05 16:15:54

Modified files:
devel/p5-File-ChangeNotify: Makefile distinfo 

Log message:
p5-File-ChangeNotify: update to 0.31
Changelog:
https://metacpan.org/source/DROLSKY/File-ChangeNotify-0.31/Changes

OK afresh1@



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2019/05/05 16:10:55

Modified files:
devel/p5-File-BaseDir: Makefile distinfo 
devel/p5-File-BaseDir/pkg: PLIST 
Added files:
devel/p5-File-BaseDir/patches: patch-t_04_pod_ok_t 

Log message:
p5-File-BaseDir: update to 0.08
Changelog:
https://metacpan.org/changes/release/KIMRYAN/File-BaseDir-0.08

OK afresh1@



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2019/05/05 16:08:30

ports/devel/p5-File-BaseDir/patches

Update of /cvs/ports/devel/p5-File-BaseDir/patches
In directory cvs.openbsd.org:/tmp/cvs-serv80711/patches

Log Message:
Directory /cvs/ports/devel/p5-File-BaseDir/patches added to the repository



[update] devel/p5-File-Sync 0.09 -> 0.11

2019-05-05 Thread Charlene Wendling


Here is an update for File::Sync, 0.09 is 19 years old!

What's new upstream [0]: 

- support for fdatasync()
- stop clobbering IO::Handle::fsync

Port-wise it's a simple update with a bit of cleanup.

Testing:

- 'make test' passes (macppc and amd64, it's a XS module)
- The only consumer is net/p5-Net-FTPServer and it still has a
  test failure because of an OOM error [1], despite sthen's
  attempt to prevent this [2].

Comments/feedback are welcome!

Charlène.


[0] https://metacpan.org/source/BRIANSKI/File-Sync-0.11/Changes
[1] http://0x0.st/zTNm.tgz
[2] https://marc.info/?l=openbsd-ports-cvs=154980348820951=2


Index: Makefile
===
RCS file: /cvs/ports/devel/p5-File-Sync/Makefile,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 Makefile
--- Makefile1 May 2019 16:04:26 -   1.17
+++ Makefile5 May 2019 21:49:56 -
@@ -2,15 +2,15 @@
 
 COMMENT=   perl interface to the sync() system functions
 
-MODULES=   cpan
-V= 0.09
-DISTNAME=  File-Sync-${V}
-REVISION=  6
+DISTNAME=  File-Sync-0.11
+
 CATEGORIES=devel
 
 # perl
 PERMIT_PACKAGE_CDROM=  Yes
 
-WANTLIB += c perl
+WANTLIB+=  c perl
+
+MODULES=   cpan
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-File-Sync/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo18 Jan 2015 03:13:27 -  1.4
+++ distinfo5 May 2019 21:49:56 -
@@ -1,2 +1,2 @@
-SHA256 (File-Sync-0.09.tar.gz) = Pb4eVo/mHj7En6Qu6pcGXQeYLNkk8Ly2dgO6wL6tRqM=
-SIZE (File-Sync-0.09.tar.gz) = 4074
+SHA256 (File-Sync-0.11.tar.gz) = eGaYIl5ctD6PBht4z6weDn1I03ADT/3FGCVSB3QcCyo=
+SIZE (File-Sync-0.11.tar.gz) = 5842



Re: [update] devel/p5-File-MimeInfo 0.28 -> 0.29

2019-05-05 Thread Andrew Hewus Fresh
On Sun, May 05, 2019 at 12:45:46AM +0200, Charlene Wendling wrote:
> 
> Here is an update for File::MimeInfo.
> 
> What's new upstream (partial, see [0]):
> 
> - "mimeinfo --stdin" is now fixed
> - spelling fixes
> 
> What's new in the port: 
> 
> - DESCR now provides infos about bundled end-user scripts.
>   It also motivates why it's here despite having no consumers.
> - Add versions to depends, and remove TEST_DEPENDS that overlap
>   with RUN_DEPENDS (as shown by "make show=TEST_DEPENDS").
> - Add TEST_DEPENDS to enable more tests with what is in the
>   ports tree.
> - Added a patch to silence a warning about an inexistent bin
>   directory while testing pods, using the default (blib || lib)
>   instead.
>  
> Testing: 
> 
> - 'make test' passes
> 
> 
> Comments/feedback are welcome!

OK afresh1@


> Charlène.
> 
> 
> [0] https://metacpan.org/changes/release/MICHIELB/File-MimeInfo-0.29
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/p5-File-MimeInfo/Makefile,v
> retrieving revision 1.16
> diff -u -p -u -p -r1.16 Makefile
> --- Makefile  16 Mar 2017 15:31:09 -  1.16
> +++ Makefile  4 May 2019 22:29:49 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT= determine file types
>  
> -DISTNAME=File-MimeInfo-0.28
> +DISTNAME=File-MimeInfo-0.29
>  CATEGORIES=  devel
>  
>  # perl
> @@ -11,11 +11,12 @@ PERMIT_PACKAGE_CDROM= Yes
>  MODULES= cpan
>  PKG_ARCH=*
>  
> -RUN_DEPENDS= devel/p5-File-BaseDir \
> - devel/p5-File-DesktopEntry \
> +RUN_DEPENDS= devel/p5-File-BaseDir>=0.03 \
> + devel/p5-File-DesktopEntry>=0.04 \
>   misc/shared-mime-info
>  TEST_DEPENDS=devel/desktop-file-utils \
> - devel/p5-File-DesktopEntry
> + devel/p5-Path-Tiny
> +
>  MAKE_ENV=TEST_POD=Yes
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/p5-File-MimeInfo/distinfo,v
> retrieving revision 1.8
> diff -u -p -u -p -r1.8 distinfo
> --- distinfo  16 Mar 2017 15:31:09 -  1.8
> +++ distinfo  4 May 2019 22:29:49 -
> @@ -1,2 +1,2 @@
> -SHA256 (File-MimeInfo-0.28.tar.gz) = 
> KiRdtG+a73SB2QtOGWpNQqI44V8En1f8EznAuYaB68Y=
> -SIZE (File-MimeInfo-0.28.tar.gz) = 32561
> +SHA256 (File-MimeInfo-0.29.tar.gz) = 
> 8ZYneWUurh1abnIqUiDjxQRl3qxSu43qR+D7z7bJCOo=
> +SIZE (File-MimeInfo-0.29.tar.gz) = 33113
> Index: patches/patch-t_06_pod_ok_t
> ===
> RCS file: patches/patch-t_06_pod_ok_t
> diff -N patches/patch-t_06_pod_ok_t
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-t_06_pod_ok_t   4 May 2019 22:29:49 -
> @@ -0,0 +1,17 @@
> +$OpenBSD$
> +
> +Fix:
> +Can't stat bin: No such file or directory at
> +/usr/local/libdata/perl5/site_perl/Test/Pod.pm line 223.
> +
> +We let Test::Pod check in blib or lib instead.
> +
> +Index: t/06_pod_ok.t
> +--- t/06_pod_ok.t.orig
>  t/06_pod_ok.t
> +@@ -1,4 +1,4 @@
> + use Test::More;
> + eval "use Test::Pod 1.00";
> + plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
> +-all_pod_files_ok( all_pod_files(qw/bin lib/) );
> ++all_pod_files_ok( all_pod_files() );
> Index: pkg/DESCR
> ===
> RCS file: /cvs/ports/devel/p5-File-MimeInfo/pkg/DESCR,v
> retrieving revision 1.1.1.1
> diff -u -p -u -p -r1.1.1.1 DESCR
> --- pkg/DESCR 18 Mar 2007 20:05:56 -  1.1.1.1
> +++ pkg/DESCR 4 May 2019 22:29:49 -
> @@ -1,2 +1,8 @@
>  This module can be used to determine the mime type of a file. It tries
>  to implement the freedesktop specification for a shared MIME database.
> +
> +It also provides two tools:
> +
> +- mimetype: determine file types.
> +- mimeopen: open files by mimetype, similar to xdg-open(1)
> +from xdg-utils, but with more options.
> 

-- 
andrew - http://afresh1.com

Beta. Software undergoes beta testing shortly before it's released.
   Beta is Latin for "still doesn't work."



Re: [New][CAD] Solvespace, a 2D/3D parametric CAD designer

2019-05-05 Thread Neon King
>Hi Jerome --

Hi brian !

>On 5/4/19 2:57 PM, Neon King wrote:
>> Hi everyone,
>> I'm happy to share my first real submission to ports@
>>
>> As FreeCAD was standing in ports-wip for a while , i decided
>> to port a less-bloated alternative for 2D/3D parametric CAD.
>>
>> Original project stands at https://github.com/solvespace/solvespace
>> Last release (2.3) happened in 2016 so i decided to base upon
>> commit e7b75f19c34c923780db776592b47152650d8f22 .
>>
>> I had issues with the current maintainer who's a linux/git addict and
>> which compilation instructions were not that right and made to piss
>> me off (hi whitequark!)
>>
>> Build instructions are based on "git submodule" fetching, so i
>> decided to embed external dependencies (libdxfrw, q3d and
>> flatbuffers) as they are not present in the port tree and to make
>> my life easier.
>>
>> I had to patch the original CMakeLists.txt so i included it in my
>> archive modified. There were also tests but the testsuite
>> executable encountered errors that seemed to me to be
>> linux-related (i might be wrong) so i excluded the tests from
>> the archive to make it lighter and save compilation time.
>>
>> Original CMakeLists.txt also checked for a xgettext dependency
>> but make port-lib-depends-check and portcheck were happy
>> without and related possible issues didn't show up.
>> I'm likely to fork that project at some point so i won't take
>> maintainership.
>>
>> Hope you will like it :)
>>
>> Thousands of thanks to solene@, thfr@ and bcallah@ for
>> driving me through this effort
>>
>> Have a good weekend,
>> Jerome KASPER

>Attached is a nicer version of the port.

Feels more correct that way. Still runs fine for me on amd64. Thanks
to ninja the cmake build goes fine. If anyone willing to test/ok this
i’ll be super happy :)

>~Brian
BR, Jerome



Re: [update] devel/p5-File-HomeDir 1.002 -> 1.004

2019-05-05 Thread Andrew Hewus Fresh
On Sat, May 04, 2019 at 10:54:36PM +0200, Charlene Wendling wrote:
> 
> Here is an update for File::HomeDir.
> 
> What's new upstream (partial, see [0]):
> 
> - documentation improvements
> - remove tie interface
> - determine ->my_home when $ENV{HOME} is empty
> 
> What's new in the port:
> 
> - change how we set HOME for tests, the previous way doesn't 
>   work under PORTS_PRIVSEP
> - explain why a test is "failing" under PORTS_PRIVSEP
> - set versions on depends
> 
> Testing :
> 
> - 'make test' passes, even if it fails under PORTS_PRIVSEP.
>   In t/20_empty_home.t [1], File::HomeDir->my_home is called.
>   
>   You don't want it to return a homedir that doesn't exist,
>   so this is also checked [2]: it returns undef as _pbuild's
>   $HOME is (/)nonexistent.
>   
>   If asked i can pass PORTS_PRIVSEP in TEST_ENV and patch the test
>   to make it skip under PORTS_PRIVSEP, but reluctantly: neither the
>   test or the module code is wrong, and i've documented the "issue"
>   in the Makefile. Especially that upstreaming is unlikely.
> 
> - There are 7 direct consumers that i've tested [3], i've
>   no issues due to that update.
> 
> 
> Comments/feedback are welcome :) 

OK afresh1@


> Charlène. 
> 
> 
> [0] https://metacpan.org/source/REHSACK/File-HomeDir-1.004/Changes
> [1]
> https://metacpan.org/source/REHSACK/File-HomeDir-1.004/t/20_empty_home.t
> [2]
> https://metacpan.org/source/REHSACK/File-HomeDir-1.004/lib/File/HomeDir/Unix.pm#L29
> [3] http://0x0.st/zTrA.tgz
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/p5-File-HomeDir/Makefile,v
> retrieving revision 1.17
> diff -u -p -u -p -r1.17 Makefile
> --- Makefile  9 May 2017 08:12:45 -   1.17
> +++ Makefile  4 May 2019 20:30:30 -
> @@ -4,16 +4,21 @@ COMMENT=retrieve home directory locati
>  
>  MODULES= cpan
>  PKG_ARCH=*
> -DISTNAME =   File-HomeDir-1.002
> +
> +DISTNAME=File-HomeDir-1.004
> +
>  CATEGORIES=  devel
>  
>  # perl
>  PERMIT_PACKAGE_CDROM=Yes
>  
> -RUN_DEPENDS= sysutils/p5-File-Which
> +RUN_DEPENDS= sysutils/p5-File-Which>=0.05
> +
> +# t/20_empty_home.t fails under PORTS_PRIVSEP if the directory
> +# '/nonexistent' doesn't exist as File::HomeDir->my_home checks
> +# if it does before considering a home directory valid.
>  
> -.ifmake test
> -PORTHOME=${HOME}
> -.endif
> +# Needed by t/02_main.t
> +TEST_ENV+=   HOME="${HOME}"
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/p5-File-HomeDir/distinfo,v
> retrieving revision 1.10
> diff -u -p -u -p -r1.10 distinfo
> --- distinfo  9 May 2017 08:12:45 -   1.10
> +++ distinfo  4 May 2019 20:30:30 -
> @@ -1,2 +1,2 @@
> -SHA256 (File-HomeDir-1.002.tar.gz) = 
> 60wMhXdROEYM1AE9gRcjLwjog4HJXGqTs9EelpGFwnQ=
> -SIZE (File-HomeDir-1.002.tar.gz) = 35441
> +SHA256 (File-HomeDir-1.004.tar.gz) = 
> RfZ+K7XmCnlw0IDo8CB5cy5ajfwMfDy9spq/s/n3ka0=
> +SIZE (File-HomeDir-1.004.tar.gz) = 35400
> 

-- 
andrew - http://afresh1.com

I wish life had an UNDO function.



Re: UPDATE: security/sshguard 1.5 --> 2.3.0

2019-05-05 Thread Corsaire01
> It could be that you had an old "sshguard_flags" setting in
/etc/rc.conf.local" maybe?  This should no longer be needed and all
configuration can be done in /etc/sshguard.conf. 

You're right, there were setting in /etc/rc.conf.local inherited form
previous versions.

This is a nasty trap...



--
Sent from: 
http://openbsd-archive.7691.n7.nabble.com/openbsd-user-ports-f108501.html



Re: NEW: fonts/public-sans

2019-05-05 Thread Ampie Niemand
Testing fine on my 2009 Sahara netbook.
arch: i386

SEPARATE_BUILD= Yes, also works

See notes for details.

Ampie

On Sun, 5 May 2019 at 09:11, Anthony J. Bentley  wrote:
>
> Hi,
>
> Public Sans is a strong, neutral, principles-driven, open-source typeface
> for text or display. Developed by the US government's General Services
> Administration, it is a fork of the SIL Open Licensed face Libre Franklin.
> Public Sans has many similarities with its parent, but differs in its focus
> on longform reading and neutral UI applicability. It takes inspiration from
> geometric sans faces of the 20th century, as well as the original Franklins
> of the 19th, resulting in something of a mongrel face that retains its
> American origin.
>
> ok?
>
> --
> Anthony J. Bentley


notes.tgz
Description: application/gzip


Re: [update] devel/p5-File-Flat 1.04 -> 1.05

2019-05-05 Thread Andrew Hewus Fresh
On Sat, May 04, 2019 at 02:56:41PM +0200, Charlene Wendling wrote:
> 
> Here is an update for File::Flat.
> 
> Upstream changes [0] are distribution tooling updates only.
> 
> What's new in the port: 
> 
> - sort RUN_DEPENDS
> - use FIX_EXTRACT_PERMISSIONS (ETHER)
> 
> Testing:
> 
> - 'make test' passes
> - There are 3 consumers. They all pass [1] :)
> 
> Comments/feedback are welcome!

OK afresh1@


> Charlène.
> 
> 
> [0] https://metacpan.org/source/ETHER/File-Flat-1.05/Changes
> [1] http://0x0.st/zcRV.tgz
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/p5-File-Flat/Makefile,v
> retrieving revision 1.11
> diff -u -p -u -p -r1.11 Makefile
> --- Makefile  20 Mar 2016 19:56:23 -  1.11
> +++ Makefile  4 May 2019 11:02:14 -
> @@ -5,16 +5,18 @@ COMMENT=implements a flat filesystem
>  MODULES= cpan
>  PKG_ARCH=*
>  
> -DISTNAME=File-Flat-1.04
> +DISTNAME=File-Flat-1.05
>  CATEGORIES=  devel
>  
> +FIX_EXTRACT_PERMISSIONS= Yes
> +
>  # Artistic
>  PERMIT_PACKAGE_CDROM=Yes
>  
> -RUN_DEPENDS= devel/p5-prefork \
> - devel/p5-File-Copy-Recursive \
> - devel/p5-File-Remove
> -BUILD_DEPENDS=   ${RUN_DEPENDS}
> -TEST_DEPENDS=devel/p5-Test-ClassAPI
> +RUN_DEPENDS= devel/p5-File-Copy-Recursive \
> + devel/p5-File-Remove \
> + devel/p5-prefork
> +
> +TEST_DEPENDS=devel/p5-Test-ClassAPI
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/p5-File-Flat/distinfo,v
> retrieving revision 1.3
> diff -u -p -u -p -r1.3 distinfo
> --- distinfo  24 Mar 2014 08:36:41 -  1.3
> +++ distinfo  4 May 2019 11:02:14 -
> @@ -1,2 +1,2 @@
> -SHA256 (File-Flat-1.04.tar.gz) = oI7M215xbj9P6yXWkkWxb2VNYm9aHObu1LU52tu6ReA=
> -SIZE (File-Flat-1.04.tar.gz) = 47183
> +SHA256 (File-Flat-1.05.tar.gz) = BwMss+um6bdS315GBSyZUpwNg+D9CaeMu6PXDbjIXxc=
> +SIZE (File-Flat-1.05.tar.gz) = 48576
> 

-- 
andrew - http://afresh1.com

Computer analyst to programmer:
   "You start coding. I'll go find out what they want."



Re: UPDATE: net/znc 1.7.1 -> 1.7.3

2019-05-05 Thread Nam Nguyen
Hiltjo Posthuma writes:

> Hi,
>
> This updates the znc port from 1.7.1 to 1.7.3.
>
> It contains a DDoS fix:
> - https://wiki.znc.in/ChangeLog/1.7.3
> - CVE-2019-9917: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9917
>
> I only build the package on amd64 and not tested:

The link can be changed to https://

I have successfully tested this on amd64 6.5 -stable on a VPS. Per the
ZNC instructions[1], "If you upgrade your ZNC version you must recompile
all your modules," I recompiled the only ZNC module I use,
znc-clientbuffer[2]. It continues to work. Thanks.

Footnotes: 
[1]  https://wiki.znc.in/Compiling_modules
[2]  https://github.com/jpnurmi/znc-clientbuffer



[update] devel/p5-File-Slurper 0.009 -> 0.012

2019-05-05 Thread Charlene Wendling


Here is an update for File::Slurper

What's new upstream [0]:

- now know what "latin-1" encoding is (yay!)
- correctly set value of $PerlIO::encoding::fallback
- Requires Encode>=2.11 (our base Perl ships 2.97)

Port-wise it's a simple version bump.

Testing: 

- 'make test' passes
- There are 5 consumers, and i've found no new failures due to
  that update [1]


Comments/feedback are welcome :)

Charlène.


[0] https://metacpan.org/changes/release/LEONT/File-Slurper-0.012
[1] http://0x0.st/zTZQ.tgz


Index: Makefile
===
RCS file: /cvs/ports/devel/p5-File-Slurper/Makefile,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 Makefile
--- Makefile2 Sep 2016 22:43:58 -   1.3
+++ Makefile5 May 2019 20:36:06 -
@@ -4,7 +4,9 @@ COMMENT=simple, sane and efficient modu
 
 MODULES=   cpan
 PKG_ARCH=  *
-DISTNAME=  File-Slurper-0.009
+
+DISTNAME=  File-Slurper-0.012
+
 CATEGORIES=devel
 
 # Perl
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-File-Slurper/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo2 Sep 2016 22:43:58 -   1.2
+++ distinfo5 May 2019 20:36:06 -
@@ -1,2 +1,2 @@
-SHA256 (File-Slurper-0.009.tar.gz) = 
Pqs0De/2ulRW59EVa5z8w4fhJDrPwVb/krdbPy4SC5E=
-SIZE (File-Slurper-0.009.tar.gz) = 15858
+SHA256 (File-Slurper-0.012.tar.gz) = 
TvsupBaxEKG9pvgTNUnMbqNnZALjyvdSn84DEyUKpXg=
+SIZE (File-Slurper-0.012.tar.gz) = 15517



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/05/05 14:29:41

Modified files:
net/znc: Makefile distinfo 
net/znc/pkg: PLIST 

Log message:
update to znc-1.7.3, from Hiltjo Posthuma, ok Brad (maintainer)



Re: [update] devel/p5-File-ChangeNotify 0.28 -> 0.31

2019-05-05 Thread Andrew Hewus Fresh
On Sat, May 04, 2019 at 10:58:04AM +0200, Charlene Wendling wrote:
> Hi ports, 
> 
> Here is an update for File::ChangeNotify.
> 
> What's new upstream [0]:
> 
> - Don't use Class::Load anymore
> - New feature: track path attribute changes (permissions,
>   ownership), providing old vs new attributes and contents
>   in modify events. As it's resource-intensive, it's not
>   enabled by default.
> 
> Port-wise it's a simple update with a dependency overhaul.
> 
> Testing:
> 
> - 'make test' passes
> - There are 6 consumers, and i've found no new failures due to that
>   update [1].
> 
> Comments and feedback are welcome.

OK afresh1@



> Charlène.
> 
> 
> [0] https://metacpan.org/source/DROLSKY/File-ChangeNotify-0.31/Changes
> [1] http://0x0.st/zcRi.tgz
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/p5-File-ChangeNotify/Makefile,v
> retrieving revision 1.12
> diff -u -p -u -p -r1.12 Makefile
> --- Makefile  29 Apr 2018 13:03:51 -  1.12
> +++ Makefile  4 May 2019 08:45:55 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT =watch for changes to files, cross-platform style
>  
> -DISTNAME =   File-ChangeNotify-0.28
> +DISTNAME =   File-ChangeNotify-0.31
>  
>  CATEGORIES = devel
>  
> @@ -11,16 +11,15 @@ PERMIT_PACKAGE_CDROM =Yes
>  
>  MODULES =cpan
>  
> -RUN_DEPENDS =devel/p5-Class-Load \
> - devel/p5-Module-Pluggable \
> +RUN_DEPENDS =devel/p5-Module-Pluggable \
>   devel/p5-Module-Runtime \
> - devel/p5-Moo \
> + devel/p5-Moo>=1.006 \
>   devel/p5-Type-Tiny \
>   devel/p5-namespace-autoclean
>  
> -TEST_DEPENDS =   devel/p5-Test-Exception \
> - devel/p5-Test-Requires \
> - devel/p5-Test-Without-Module
> +TEST_DEPENDS =   devel/p5-Test-Requires \
> + devel/p5-Test-Without-Module \
> + devel/p5-Test2-Suite
>  
>  PKG_ARCH =   *
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/p5-File-ChangeNotify/distinfo,v
> retrieving revision 1.7
> diff -u -p -u -p -r1.7 distinfo
> --- distinfo  29 Apr 2018 13:03:51 -  1.7
> +++ distinfo  4 May 2019 08:45:55 -
> @@ -1,2 +1,2 @@
> -SHA256 (File-ChangeNotify-0.28.tar.gz) = 
> 4A/oCdSBExoI3KJuhRzw/86Nnp0D1YxY8VqmLiiqLwU=
> -SIZE (File-ChangeNotify-0.28.tar.gz) = 35676
> +SHA256 (File-ChangeNotify-0.31.tar.gz) = 
> GSvbHOdiZsamlKjpYtA5463uuCm2rB4j9QV/K1Bjkr0=
> +SIZE (File-ChangeNotify-0.31.tar.gz) = 41447
> 

-- 
andrew - http://afresh1.com

People who invent random theories which only defend the vendor must have
been beaten as children.  Beaten with sticks.
At least, that's my theory.
  -- Theo De Raadt



Re: [update] devel/p5-File-BaseDir 0.03 -> 0.08

2019-05-05 Thread Andrew Hewus Fresh
On Sat, May 04, 2019 at 12:53:13AM +0200, Charlene Wendling wrote:
> Here is an update for File::BaseDir.
> 
> What's new upstream [0]: 
> 
> - Add IconTheme and UserDir support
> - Various bugs and distribution fixes
> 
> What's new in the port: 
> 
> - Add x11/xdg-user-dirs-gtk to RUN_DEPENDS, required by File::UserDirs
> - Add a patch to silence a warning by testing only {b,}lib (Test::Pod's
>   default). There is no "bin" directory anyway.
> - Remove CPAN_AUTHOR (and this time i've make clean=dist)
> 
> Testing:
> 
> - 'make test' passes
> - There are 2 consumers: devel/p5-File-DesktopEntry and 
>   devel/p5-File-MimeInfo. They pass [1].
> 
> 
> Comments/feedback are welcome! 

OK afresh1@


> Charlène.
> 
> 
> [0] https://metacpan.org/changes/release/KIMRYAN/File-BaseDir-0.08
> [1] http://0x0.st/zcdY.tgz
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/p5-File-BaseDir/Makefile,v
> retrieving revision 1.9
> diff -u -p -u -p -r1.9 Makefile
> --- Makefile  20 Mar 2016 19:56:22 -  1.9
> +++ Makefile  3 May 2019 22:45:31 -
> @@ -2,8 +2,7 @@
>  
>  COMMENT= use the freedesktop Base Directory Specification
>  
> -DISTNAME=File-BaseDir-0.03
> -REVISION=0
> +DISTNAME=File-BaseDir-0.08
>  CATEGORIES=  devel
>  
>  # perl
> @@ -13,7 +12,10 @@ MODULES=   cpan
>  PKG_ARCH=*
>  CONFIGURE_STYLE= modbuild
>  
> -CPAN_AUTHOR= PARDUS
> +RUN_DEPENDS= devel/p5-IPC-System-Simple \
> + x11/xdg-user-dirs-gtk
> +
> +TEST_DEPENDS=sysutils/p5-File-Which
>  
>  MAKE_ENV+=   TEST_POD=1
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/p5-File-BaseDir/distinfo,v
> retrieving revision 1.4
> diff -u -p -u -p -r1.4 distinfo
> --- distinfo  18 Jan 2015 03:13:26 -  1.4
> +++ distinfo  3 May 2019 22:45:31 -
> @@ -1,2 +1,2 @@
> -SHA256 (File-BaseDir-0.03.tar.gz) = 
> ACnLp6O12KpffQPLG3uivPKCk4L38mqjvuBvzoYRqIY=
> -SIZE (File-BaseDir-0.03.tar.gz) = 6065
> +SHA256 (File-BaseDir-0.08.tar.gz) = 
> wGX80+LyKudpk3vMlxuR+AKU1QCfrBQL+6g799NTBeM=
> +SIZE (File-BaseDir-0.08.tar.gz) = 10052
> Index: patches/patch-t_04_pod_ok_t
> ===
> RCS file: patches/patch-t_04_pod_ok_t
> diff -N patches/patch-t_04_pod_ok_t
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-t_04_pod_ok_t   3 May 2019 22:45:31 -
> @@ -0,0 +1,17 @@
> +$OpenBSD$
> +
> +Fix:
> +Can't stat bin: No such file or directory at
> +/usr/local/libdata/perl5/site_perl/Test/Pod.pm line 223.
> +
> +We let Test::Pod check in blib or lib instead.
> +
> +Index: t/04_pod_ok.t
> +--- t/04_pod_ok.t.orig
>  t/04_pod_ok.t
> +@@ -1,4 +1,4 @@
> + use Test::More;
> + eval "use Test::Pod 1.00";
> + plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
> +-all_pod_files_ok( Test::Pod::all_pod_files(qw/bin lib/) );
> ++all_pod_files_ok( Test::Pod::all_pod_files() );
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/devel/p5-File-BaseDir/pkg/PLIST,v
> retrieving revision 1.1.1.1
> diff -u -p -u -p -r1.1.1.1 PLIST
> --- pkg/PLIST 18 Mar 2007 19:54:45 -  1.1.1.1
> +++ pkg/PLIST 3 May 2019 22:45:31 -
> @@ -1,4 +1,8 @@
>  @comment $OpenBSD: PLIST,v 1.1.1.1 2007/03/18 19:54:45 jasper Exp $
>  ${P5SITE}/File/
>  ${P5SITE}/File/BaseDir.pm
> +${P5SITE}/File/IconTheme.pm
> +${P5SITE}/File/UserDirs.pm
>  @man man/man3p/File::BaseDir.3p
> +@man man/man3p/File::IconTheme.3p
> +@man man/man3p/File::UserDirs.3p
> 

-- 
andrew - http://afresh1.com

What are the unsurpassable real world weaknesses in OpenBSD, 
that you know of? 
  -- Kevin Chadwick 
Lots of fake people attacking the project on the mailing lists makes 
them a poor resource for users.
  -- Theo de Raadt 



[update] devel/p5-File-Slurp 9999.26 -> 9999.27

2019-05-05 Thread Charlene Wendling


Here is a quick update for File::Slurp. 

What's new upstream [0]:

- documentation update
- stop File::Temp from warning the user when called by 'perl -w'
  while grabbing a temporary file name

Port-wise it's a simple update.

Testing:

- 'make test' pass
- There are 21 consumers that i've tested [1], and found no new
  failures due to that update. I had to test textproc/p5-LaTeX-Driver
  separately.

Comments and feedback are welcome!

Charlène. 

[0] https://metacpan.org/release/CAPOEIRAB/File-Slurp-.27
[1] http://0x0.st/zTKz.tgz


Index: Makefile
===
RCS file: /cvs/ports/devel/p5-File-Slurp/Makefile,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 Makefile
--- Makefile22 Feb 2019 03:26:51 -  1.13
+++ Makefile5 May 2019 19:15:18 -
@@ -4,7 +4,9 @@ COMMENT=efficient reading/writing of co
 
 MODULES=   cpan
 PKG_ARCH=  *
-DISTNAME=  File-Slurp-.26
+
+DISTNAME=  File-Slurp-.27
+
 CATEGORIES=devel
 
 # Perl
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-File-Slurp/distinfo,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 distinfo
--- distinfo22 Feb 2019 03:26:51 -  1.8
+++ distinfo5 May 2019 19:15:18 -
@@ -1,2 +1,2 @@
-SHA256 (File-Slurp-.26.tar.gz) = 
HieNJd9GMQqNLNCsqbjCcD8eroOKmajLkelpUOiOCTA=
-SIZE (File-Slurp-.26.tar.gz) = 37645
+SHA256 (File-Slurp-.27.tar.gz) = 
Op2IT2ZMN5Rq21j3a3cIv0jIs/qcNCRPjNtFHOQcQ/Q=
+SIZE (File-Slurp-.27.tar.gz) = 37734



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Denis Fondras
CVSROOT:/cvs
Module name:ports
Changes by: de...@cvs.openbsd.org   2019/05/05 12:54:30

Modified files:
graphics   : Makefile 

Log message:
+flameshot



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Denis Fondras
CVSROOT:/cvs
Module name:ports
Changes by: de...@cvs.openbsd.org   2019/05/05 12:52:24

Log message:
Import flameshot-0.6.0.

Flameshot is an easy to use, powerful and customizable screenshot
software.

https://flameshot.js.org/

Tweaks and OK bcallah@

Status:

Vendor Tag: denis
Release Tags:   denis_20190505

N ports/graphics/flameshot/Makefile
N ports/graphics/flameshot/distinfo
N ports/graphics/flameshot/pkg/DESCR
N ports/graphics/flameshot/pkg/PLIST

No conflicts created by this import



Re: UPDATE: net/znc 1.7.1 -> 1.7.3

2019-05-05 Thread Brad Smith

OK.

On 5/5/2019 9:53 AM, Hiltjo Posthuma wrote:

Hi,

This updates the znc port from 1.7.1 to 1.7.3.

It contains a DDoS fix:
- https://wiki.znc.in/ChangeLog/1.7.3
- CVE-2019-9917: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9917

I only build the package on amd64 and not tested:


diff --git net/znc/Makefile net/znc/Makefile
index e5596110bf5..aac410ea06f 100644
--- net/znc/Makefile
+++ net/znc/Makefile
@@ -2,7 +2,7 @@
  
  COMMENT=	advanced IRC bouncer
  
-DISTNAME=	znc-1.7.1

+DISTNAME=  znc-1.7.3
  CATEGORIES=   net
  MASTER_SITES= ${HOMEPAGE}releases/
  
diff --git net/znc/distinfo net/znc/distinfo

index 30d8a4aeb9b..4a337b107f8 100644
--- net/znc/distinfo
+++ net/znc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (znc-1.7.1.tar.gz) = RM/qcVjqBdwlR8fGvCI3HmbIad75A1HeCrkKnCANOcQ=
-SIZE (znc-1.7.1.tar.gz) = 2041669
+SHA256 (znc-1.7.3.tar.gz) = HkzDGDeh6ObMMQhzZZoWfOwWo/1CgcvDvzZOQjUsET0=
+SIZE (znc-1.7.3.tar.gz) = 2084575
diff --git net/znc/pkg/PLIST net/znc/pkg/PLIST
index 27dcbb05d14..49bd6ecb6a4 100644
--- net/znc/pkg/PLIST
+++ net/znc/pkg/PLIST
@@ -163,6 +163,7 @@ share/znc/modules/webadmin/tmpl/traffic.tmpl
  share/znc/translations/
  share/znc/translations/de-DE
  share/znc/translations/es-ES
+share/znc/translations/fr-FR
  share/znc/translations/id-ID
  share/znc/translations/nl_NL
  share/znc/translations/ru-RU





Re: [FIX] cad/netgen on sparc64

2019-05-05 Thread Alessandro DE LAURENZIS

Hello Jeremie,

On 05/05/2019 15:10, Jeremie Courreges-Anglas wrote:

On Sun, May 05 2019, Alessandro DE LAURENZIS  wrote:

[...]

Maybe there are lots of those warnings and fixing them all means
patching, but this is technically the wrong approach.  The right
approach is to include the appropriate headers.


The problem is that in some files the "//" comment style has been used
(and it isn't allowed in ANSI C - don't know why clang isn't
complaining).

We can simply use a more specific flag
(-Wno-implicit-function-declaration" to obtain the same effect.


Implicit function declarations was a misfeature of the C language, fixed
by C99.  I don't think we want to go backwards.



Of course, I fully agree with you in principle; but pragmatically, since 
those headers doesn't exist, we have only 2 options here: either we 
accept the log "pollution" or we selectively hide those warnings (mind: 
I'm not saying that they aren't important, I just would like to 
empathize other messages that could be significant and that could be 
missed otherwise...)


I'm already working with upstream in order to clean-up the code, but 
there are some more serious issues to solve with higher priority (not 
related to this port, which is just one of the tools 
developed/maintained by them, see [1]).



I don't have a sparc64 station, so I'm asking for confirmation.


You can test on eg amd64 using

   make clean all CC=gcc CXX=g++ 


Thanks; so using "-std=c89" I can replicate the issue reported; it is 
also confirmed that the errors go away using 
"-Wno-implicit-function-declaration.


[1] http://opencircuitdesign.com/

--
Alessandro DE LAURENZIS
[mailto:jus...@atlantide.t28.net]
Web: http://www.atlantide.t28.net
LinkedIn: https://www.linkedin.com/in/delaurenzis/



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2019/05/05 12:11:20

Modified files:
www: Makefile 
devel/quirks   : Makefile 
devel/quirks/files: Quirks.pm 
Removed files:
www/wml: Makefile distinfo 
www/wml/patches: patch-Makefile_in patch-configure 
 patch-wml_aux_Makefile_in 
 patch-wml_aux_freetable_freetable_src 
 patch-wml_aux_iselect_Makefile_in 
 patch-wml_aux_iselect_configure 
 patch-wml_aux_txt2html_Makefile_in 
 patch-wml_aux_txt2html_txt2html_src 
 patch-wml_aux_weblint_Makefile_in 
 patch-wml_aux_weblint_weblint_src 
 patch-wml_backend_p2_mp4h_configure 
 patch-wml_backend_p2_mp4h_doc_mp4h_mp4h 
 patch-wml_backend_p2_mp4h_mp4h-config_src 
 patch-wml_backend_p2_mp4h_src_builtin_c 
 patch-wml_backend_p2_mp4h_src_ltdl_c 
 patch-wml_backend_p3_eperl_configure 
 patch-wml_backend_p3_eperl_configure_in 
 patch-wml_backend_p3_eperl_eperl_perl5_h 
 patch-wml_backend_p6_asubst_asubst_src 
 patch-wml_common_Makefile_in 
 patch-wml_docs_wml_intro_pod 
 patch-wml_docs_wml_tutorial_pod 
 patch-wml_frontend_Makefile_in 
 patch-wml_frontend_wml_src 
 patch-wml_include_Makefile_in 
 patch-wml_include_des_imgbg_src 
 patch-wml_include_des_imgdot_src 
 patch-wml_include_des_typography_src 
 patch-wml_include_fmt_isolatin_src 
 patch-wml_include_fmt_text_src 
 patch-wml_include_fmt_xtable_src 
 patch-wml_include_imp_csmap_src 
 patch-wml_misc_Makefile_in 
 patch-wml_test_Makefile_in 
 patch-wml_test_t_des-space_t 
www/wml/pkg: DESCR PLIST 

Log message:
Remove www/wml, an old HTML preprocessor

Not updated since 2008, on life support with recent perl and compiler
changes, dead upstream.  There's a new upstream at

https://www.shlomifish.org/open-source/projects/website-meta-language/

who says wml is "still maintained for legacy reasons, but probably not
recommended for new sites".

ok bcallah@ kn@



Re: update print/poppler

2019-05-05 Thread Jeremie Courreges-Anglas
On Sun, May 05 2019, Matthias Kilian  wrote:
> Hi,
>
> On Sun, May 05, 2019 at 01:30:56PM +0200, Jeremie Courreges-Anglas wrote:
>> > Adding major bumps for poppler-qt5 and poppler-cpp because of
>> > incompatible changes in some "private" parts, even if the corresponding
>> > headers aren't included in the packages.
>> >
>> > I'm still waiting for my bulk update on amd64 to finish, but in case
>> > anyone want's to do some testing in advance...
>> 
>> Builds fine on amd64 with ports-gcc and ld.bfd (can't test on sparc64
>> right now).  Hopefully that test should be enough for ports-gcc archs.
>
> Thanks for that test.
>
>> Looks like symbols from poppler-qt5 didn't change yet there's a major
>> bump.  I'm not saying this is a problem though (eg we have situations in
>> base where we bump both libA and libB when libB depends on libA).
>> 
>>   /usr/local/lib/libpoppler-qt5.so.7.1 --> 
>> /usr/ports/pobj/poppler-0.76.0/fake-amd64/usr/local/lib/libpoppler-qt5.so.8.0
>>   No dynamic export changes
>
> I usually just look at a diff of the old and new version of poppler
> to check wether upstream may have missed a (minor or major) bump.
>
> Honestly I even forgot the name of the tool for comparing shared
> library export ;-)

The FAQ still advises to use nm -g but these days I'm using
/usr/src/lib/check_sym, courtesy of guenther@.  Note that check_sym
can't detect every change such as return / parameter types changes in
C code.  It probably works better in C++ where final symbol names are
constructed using said types.

> In this case it was this chunk in qt5/src/poppler-private.h
>
> @@ -123,7 +125,7 @@ namespace Poppler {
> DocumentData(const DocumentData &) = delete;
> DocumentData& operator=(const DocumentData &) = delete;
> 
> -   void addTocChildren( QDomDocument * docSyn, QDomNode * parent, const 
> GooList * items );
> +   void addTocChildren( QDomDocument * docSyn, QDomNode * parent, const 
> std::vector<::OutlineItem*> * items );
> 
> void setPaperColor(const QColor )
> {
>
> That is the declaration of a public method in class DocumentData
> in the namespace Poppler. If i see such a change, I add a major
> bump (if upstream didn't already do).
>
> Since you didn't find any change in this case, I could drop the
> bump if you insist (but it would be a little mess on my build machine
> and in my package repository).

In this case, I would omit the bump since poppler-private.h is not
installed, thus probably not part of any public API.

  russell /usr/ports/print/poppler$ readelf -Wa 
/usr/local/lib/libpoppler-qt5.so.7.1  | grep addTocChildren | c++filt
2104: 0009421840 OBJECT  LOCAL  DEFAULT   16 
Poppler::DocumentData::addTocChildren(QDomDocument*, QDomNode*, GooList 
const*)::$_1::operator()() const::qstring_literal
2115: 0007ccf0  2590 FUNCLOCAL  HIDDEN12 
Poppler::DocumentData::addTocChildren(QDomDocument*, QDomNode*, GooList const*)
  russell /usr/ports/print/poppler$ readelf -Wa 
/usr/local/lib/libpoppler-qt5.so.8.0 | grep addTocChildren | c++filt
2121: 0009421840 OBJECT  LOCAL  DEFAULT   16 
Poppler::DocumentData::addTocChildren(QDomDocument*, QDomNode*, 
std::__1::vector > 
const*)::$_1::operator()() const::qstring_literal
2132: 0007cc00  2574 FUNCLOCAL  HIDDEN12 
Poppler::DocumentData::addTocChildren(QDomDocument*, QDomNode*, 
std::__1::vector > const*)

"LOCAL" and "HIDDEN" support this theory.  I would not add a bump but
please choose the safe option if you have any doubt.

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



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2019/05/05 11:52:54

Modified files:
x11/qt5ct  : Makefile distinfo 

Log message:
Update qt5ct to 0.39

OK landry@



Re: NEW: graphics/flameshot

2019-05-05 Thread Brian Callahan



On 5/5/19 12:32 PM, Denis Fondras wrote:

Flameshot is an easy to use, powerful and customizable screenshot software.

https://flameshot.js.org/


Thank you for this! This is the screenshot program I've been looking for!
Attached is a slightly tweaked tarball (and ok from me).
* Remove V variable since you only use it once.
* `make port-lib-depends-check' complained that it was missing QtSvg, so 
add the LDEP and regen WANTLIB.

* Add some more words to pkg/DESCR.

~Brian



flameshot.tgz
Description: application/compressed-tar


websocketd make install problem

2019-05-05 Thread Luca Di Gregorio
OpenBSD 6.5
Platform: Hyper V Windows 10 Enterprise
Windows 10 version: Version 10.0.17134 Build 17134
VM Version: 8.3
RAM: 1024Mb

cd /usr/ports/net/websocketd
make install

After a while, the system is blocked. Impossible to login via SSH.
Impossible to login via console with root.

Output of 'make install':
===>  Checking files for websocketd-0.2.12p1
`/usr/ports/distfiles/websocketd-0.2.12.tar.gz' is up to date.
>> (SHA256) websocketd-0.2.12.tar.gz: OK
===> websocketd-0.2.12p1 depends on: go-net-* - not found
===>  Verifying install for go-net-* in net/go-net
===>  Checking files for go-net-20190226
`/usr/ports/distfiles/go-net-20190226-fe579d43.tar.gz' is up to date.
>> (SHA256) go-net-20190226-fe579d43.tar.gz: OK
===> go-net-20190226 depends on: go-sys-* - not found
===>  Verifying install for go-sys-* in devel/go-sys
===>  Checking files for go-sys-20190226
`/usr/ports/distfiles/go-sys-20190226-cc5685c2.tar.gz' is up to date.
>> (SHA256) go-sys-20190226-cc5685c2.tar.gz: OK
===> go-sys-20190226 depends on: go-=1.12.1 - not found
===>  Verifying install for go-=1.12.1 in lang/go
===>  Building for go-1.12.1
Building Go cmd/dist using /usr/local/go/bootstrap.
Building Go toolchain1 using /usr/local/go/bootstrap.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.


CVS: cvs.openbsd.org: ports

2019-05-05 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2019/05/05 11:09:38

Modified files:
devel/msgpack  : Makefile 

Log message:
Doesn't build using base-gcc, use COMPILER as in other c++ ports



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2019/05/05 11:09:08

Modified files:
x11/lxqt   : Makefile.inc 
x11/lxqt/about : Makefile 
x11/lxqt/build-tools: Makefile 
x11/lxqt/compton-conf: Makefile 
x11/lxqt/config: Makefile 
x11/lxqt/globalkeys: Makefile 
x11/lxqt/l10n  : Makefile 
x11/lxqt/libfm-qt: Makefile 
x11/lxqt/liblxqt: Makefile 
x11/lxqt/libqtxdg: Makefile 
x11/lxqt/libsysstat: Makefile 
x11/lxqt/lximage-qt: Makefile 
x11/lxqt/notificationd: Makefile 
x11/lxqt/obconf-qt: Makefile 
x11/lxqt/openssh-askpass: Makefile 
x11/lxqt/panel : Makefile 
x11/lxqt/pavucontrol-qt: Makefile 
x11/lxqt/pcmanfm-qt: Makefile 
x11/lxqt/policykit: Makefile 
x11/lxqt/powermanagement: Makefile 
x11/lxqt/qterminal: Makefile 
x11/lxqt/qtermwidget: Makefile 
x11/lxqt/qtplugin: Makefile 
x11/lxqt/runner: Makefile 
x11/lxqt/screengrab: Makefile 
x11/lxqt/session: Makefile 
x11/lxqt/sudo  : Makefile 
x11/lxqt/themes: Makefile 

Log message:
Remove mariani@ as maintainer per his request



Re: UPDATE: x11/qt5ct

2019-05-05 Thread Landry Breuil
On Sun, May 05, 2019 at 10:12:59AM +0200, Rafael Sadowski wrote:
> Simple update qt5ct to 0.39. OK?

ok



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Remi Locherer
CVSROOT:/cvs
Module name:ports
Changes by: r...@cvs.openbsd.org2019/05/05 10:35:59

Modified files:
devel/liblognorm: Makefile distinfo 

Log message:
update to liblognorm 2.0.6
while here change URLs to https.

ok jca@



Re: [update] liblognorm 2.0.6

2019-05-05 Thread Remi Locherer
On Sun, May 05, 2019 at 01:17:55PM +0200, Jeremie Courreges-Anglas wrote:
> On Sat, May 04 2019, Remi Locherer  wrote:
> > Hi porters,
> >
> > This updates liblognorm to version 2.0.6.
> >
> > Release notes can be found here:
> > https://www.liblognorm.com/news/liblognorm-2-0-6-released/
> >
> > The tests changed and added now #!/bin/bash. With fixed shebangs
> > and a TEST_DEPENDS shells/bash all tests pass.
> >
> > check_sym says:
> >
> > /usr/local/lib/liblognorm.so.0.0 --> 
> > /usr/ports/pobj/liblognorm-2.0.6/build-amd64/src/.libs/liblognorm.so.0.0
> > Dynamic export changes:
> > added:
> > ln_constructCheckpointLEA
> > ln_destructCheckpointLEA
> >
> > External reference changes:
> > removed:
> > __stack_smash_handler
> >
> >
> > Is my bump for SHARED_LIBS enough or should it be 1.0?
> 
> Looks like it's enough: no symbol removal and no change in the only
> header we install, liblognorm.h.  IIUC the newly exported functions are
> internal.
> 
> Looks good ports-wise, ok jca@.  I'd suggest to move HOMEPAGE and
> MASTER_SITES to https while here.

sure!

> PS: upstream should clear up the situation wrt the headers they install
> by default.  Either those .h shouldn't be installed, or they should be
> installed in an include/liblognorm subdirectory, as their name is too
> generic.

I sent a mail to the project when importing the port. This time I opened
a pull request on GitHub.



NEW: graphics/flameshot

2019-05-05 Thread Denis Fondras
Flameshot is an easy to use, powerful and customizable screenshot software.

https://flameshot.js.org/


flameshot-0.6.0.tgz
Description: application/tar-gz


[update] devel/p5-File-ShareDir 1.104 -> 1.116

2019-05-05 Thread Charlene Wendling


Here is an update for File::ShareDir. It requires a newer
File::ShareDir::Install that i've submitted earlier [0].

What's new upstream (partial, see [1]):

-  fix a bad call to croak(), and tests
-  add support for overriding a resolved path for a given module
   (or distribution)

Port-wise it's a simple update with a simplification of depends.

Testing:

- 'make test' passes
- There are 18 direct consumers i've tested [2], and i have found
  no failures due to that update.

Comments and feedback are welcome. 

Charlène.


[0] https://marc.info/?l=openbsd-ports=155706875907525=2
[1] https://metacpan.org/source/REHSACK/File-ShareDir-1.116/Changes
[2] http://0x0.st/zTXy.tgz


Index: Makefile
===
RCS file: /cvs/ports/devel/p5-File-ShareDir/Makefile,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 Makefile
--- Makefile28 Apr 2018 13:57:53 -  1.13
+++ Makefile5 May 2019 16:21:09 -
@@ -4,16 +4,15 @@ COMMENT=  locate install data per-module
 
 MODULES=   cpan
 PKG_ARCH=  *
-DISTNAME=  File-ShareDir-1.104
+
+DISTNAME=  File-ShareDir-1.116
+
 CATEGORIES=devel
 
 # perl
 PERMIT_PACKAGE_CDROM=  Yes
 
-BUILD_DEPENDS= devel/p5-Class-Inspector \
-   devel/p5-File-ShareDir-Install
-
-RUN_DEPENDS=   devel/p5-Class-Inspector \
-   devel/p5-File-ShareDir-Install
+RUN_DEPENDS=   devel/p5-Class-Inspector>=1.12 \
+   devel/p5-File-ShareDir-Install>=0.13
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-File-ShareDir/distinfo,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 distinfo
--- distinfo28 Apr 2018 13:57:53 -  1.5
+++ distinfo5 May 2019 16:21:09 -
@@ -1,2 +1,2 @@
-SHA256 (File-ShareDir-1.104.tar.gz) = 
B7Yo7835AtajLmqOCESX6Fk9ElwDrRLvXMA8h8eEHK8=
-SIZE (File-ShareDir-1.104.tar.gz) = 20500
+SHA256 (File-ShareDir-1.116.tar.gz) = 
WdkL/fmMRlb/QXPmKVTqjPDeZlZeNdEI7NcFBZbLgyg=
+SIZE (File-ShareDir-1.116.tar.gz) = 27487



Re: update print/poppler

2019-05-05 Thread Matthias Kilian
Hi,

On Sun, May 05, 2019 at 01:30:56PM +0200, Jeremie Courreges-Anglas wrote:
> > Adding major bumps for poppler-qt5 and poppler-cpp because of
> > incompatible changes in some "private" parts, even if the corresponding
> > headers aren't included in the packages.
> >
> > I'm still waiting for my bulk update on amd64 to finish, but in case
> > anyone want's to do some testing in advance...
> 
> Builds fine on amd64 with ports-gcc and ld.bfd (can't test on sparc64
> right now).  Hopefully that test should be enough for ports-gcc archs.

Thanks for that test.

> Looks like symbols from poppler-qt5 didn't change yet there's a major
> bump.  I'm not saying this is a problem though (eg we have situations in
> base where we bump both libA and libB when libB depends on libA).
> 
>   /usr/local/lib/libpoppler-qt5.so.7.1 --> 
> /usr/ports/pobj/poppler-0.76.0/fake-amd64/usr/local/lib/libpoppler-qt5.so.8.0
>   No dynamic export changes

I usually just look at a diff of the old and new version of poppler
to check wether upstream may have missed a (minor or major) bump.

Honestly I even forgot the name of the tool for comparing shared
library export ;-)

In this case it was this chunk in qt5/src/poppler-private.h

@@ -123,7 +125,7 @@ namespace Poppler {
DocumentData(const DocumentData &) = delete;
DocumentData& operator=(const DocumentData &) = delete;

-   void addTocChildren( QDomDocument * docSyn, QDomNode * parent, const 
GooList * items );
+   void addTocChildren( QDomDocument * docSyn, QDomNode * parent, const 
std::vector<::OutlineItem*> * items );

void setPaperColor(const QColor )
{

That is the declaration of a public method in class DocumentData
in the namespace Poppler. If i see such a change, I add a major
bump (if upstream didn't already do).

Since you didn't find any change in this case, I could drop the
bump if you insist (but it would be a little mess on my build machine
and in my package repository).

Ciao,
Kili



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Daniel Jakots
CVSROOT:/cvs
Module name:ports
Changes by: d...@cvs.openbsd.org2019/05/05 10:06:34

Modified files:
devel/bashunit : Makefile 
devel/expect-lite: Makefile 
devel/rcs-fast-import: Makefile 
devel/shunit2  : Makefile 
devel/src  : Makefile 
misc/gnugetopt : Makefile 
www/awstats: Makefile 
www/sarg   : Makefile 
www/selfoss: Makefile 

Log message:
Remove rpe@ as maintainer per his request



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Daniel Jakots
CVSROOT:/cvs
Module name:ports
Changes by: d...@cvs.openbsd.org2019/05/05 09:44:13

Modified files:
devel/py-ipykernel: Makefile 
devel/py-jedi  : Makefile 
devel/py-jupyter_client: Makefile 
devel/py-jupyter_core: Makefile 
devel/py-parso : Makefile 
devel/py-pathlib2: Makefile 
devel/py-rope  : Makefile 
devel/py-wurlitzer: Makefile 
devel/spyder/py-spyder-kernels: Makefile 
devel/spyder/spyder: Makefile 
devel/spyder   : Makefile.inc 
graphics/sk1   : Makefile 
math/py-pandas : Makefile 
net/py-zmq : Makefile 
net/qbittorrent: Makefile.inc 
net/qbittorrent/qbittorrent: Makefile 
net/qbittorrent/qbittorrent-nox: Makefile 
print/lyx  : Makefile 
sysutils/py-scandir: Makefile 
textproc/py-xlrd: Makefile 
x11/py-qtpy: Makefile 

Log message:
Remove mariani@ as maintainer per his request



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Daniel Jakots
CVSROOT:/cvs
Module name:ports
Changes by: d...@cvs.openbsd.org2019/05/05 09:15:46

Modified files:
textproc/lq-sp : Makefile 
textproc/sp: Makefile 
textproc/validate: Makefile 
textproc/wdg-sgml-lib: Makefile 
x11/gtk2-oxygen-engine: Makefile 
x11/gtk3-oxygen-engine: Makefile 
x11/pwm: Makefile 
math/p5-Math-Random-ISAAC: Makefile 

Log message:
Remove maintainers per their requests



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Daniel Jakots
CVSROOT:/cvs
Module name:ports
Changes by: d...@cvs.openbsd.org2019/05/05 09:10:00

Modified files:
x11/xkeycaps   : Makefile 

Log message:
Remove maintainer because unreachable

554 5.4.0 Error: too many hops (in reply to end of DATA command)



[update] devel/p5-File-ShareDir-Install 0.11 -> 0.13

2019-05-05 Thread Charlene Wendling


Here is an update for File::ShareDir::Install, required to update
File::ShareDir.

What's new upstream [0]:

- support spaces (and other special characters too) in share files
- run tests sequentially (... or not)

What's new in the port:

- Fixed trailing whitespaces in DESCR, changed the flow as well
- Drop TEST_DEPENDS, it's not used publicly by the tests
- Force tests to be run sequentially when MAKE_JOBS>1, as it
  overrides everything, including testrules.yml and HARNESS_OPTIONS.
  If we don't in this context, tests fail.

Testing: 

- 'make test' passes
- There are 8 direct consumers i've tested, and i've found no issue 
  related to that update [1]

Comments/feedback are welcome, 

Charlène. 


[0]
https://metacpan.org/source/ETHER/File-ShareDir-Install-0.13/Changes 
[1] http://0x0.st/zTXs.tgz


Index: Makefile
===
RCS file: /cvs/ports/devel/p5-File-ShareDir-Install/Makefile,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 Makefile
--- Makefile4 Dec 2017 17:56:27 -   1.5
+++ Makefile5 May 2019 15:01:42 -
@@ -3,14 +3,22 @@
 COMMENT=   install shared files, to use with File::ShareDir
 
 MODULES=   cpan
+
 PKG_ARCH=  *
-DISTNAME=  File-ShareDir-Install-0.11
+
+DISTNAME=  File-ShareDir-Install-0.13
+
 CATEGORIES=devel
+
 FIX_EXTRACT_PERMISSIONS=Yes
 
 # perl
 PERMIT_PACKAGE_CDROM=  Yes
 
-TEST_DEPENDS=  devel/p5-Test-Pod
+# Tests fails run when run with -j>1 (MAKE_JOBS>1) see
+# https://rt.cpan.org/Public/Bug/Display.html?id=111296
+# Upstream has fixed the issue, but MAKE_JOBS takes
+# precedence even over the HARNESS_OPTIONS env variable.
+TEST_FLAGS+=   -j1
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-File-ShareDir-Install/distinfo,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 distinfo
--- distinfo2 Sep 2016 22:38:56 -   1.3
+++ distinfo5 May 2019 15:01:42 -
@@ -1,2 +1,2 @@
-SHA256 (File-ShareDir-Install-0.11.tar.gz) = 
Mr+Hcun+pghmB0sn/zGrW8P4iXLWGRXoTLu5hFXgDMg=
-SIZE (File-ShareDir-Install-0.11.tar.gz) = 31187
+SHA256 (File-ShareDir-Install-0.13.tar.gz) = 
Rb798Nlcvv58JaHa8pPYX3gNbSV2FGVG5oKKrSblgPk=
+SIZE (File-ShareDir-Install-0.13.tar.gz) = 31191
Index: pkg/DESCR
===
RCS file: /cvs/ports/devel/p5-File-ShareDir-Install/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 DESCR
--- pkg/DESCR   23 Jun 2014 19:10:04 -  1.1.1.1
+++ pkg/DESCR   5 May 2019 15:01:42 -
@@ -1,3 +1,3 @@
-File::ShareDir::Install allows you to install read-only data files from a 
-distribution. It is a companion module to File::ShareDir, which allows you 
-to locate these files after installation.
+File::ShareDir::Install allows you to install read-only data files from
+a distribution. It is a companion module to File::ShareDir, which allows
+you to locate these files after installation.



Re: Update: lang/gawk -> 5.0.0

2019-05-05 Thread Brian Callahan

Hi Stephen --

On 5/5/19 8:47 AM, Stephen Gregoratto wrote:

Gawk 5 released on April 12[1] with some cool new features. I couldn't
find updates for it on ports@, so here it is. The release notes
recommend using GNU Bison 3.3, but it compiles fine and passes all tests
on 6.5 and -current.


Thanks for the diff. The comment from upstream about bison is regarding 
their infrastructure to generate needed files for their releases; since 
we're using release tarballs, these files are pre-generated (and thus we 
don't need to worry about bison).


There needs to be a little more for this to be ok. First, REVISION is 
always removed when updating version. Second, there are some files 
installed to ${WRKINST}/etc/profile.d that should go. Third, if you run 
`make update-plist' then the PLIST changes.


The attached diff takes care of these issues. All tests pass on amd64, 
hppa, and mips64el.


~Brian


[1] https://lists.gnu.org/archive/html/info-gnu/2019-04/msg2.html

Index: Makefile
===
RCS file: /cvs/ports/lang/gawk/Makefile,v
retrieving revision 1.35
diff -u -p -r1.35 Makefile
--- Makefile2 Nov 2018 18:48:39 -   1.35
+++ Makefile5 May 2019 04:49:13 -
@@ -2,7 +2,7 @@
  
  COMMENT=	GNU awk
  
-V=		4.2.1

+V= 5.0.0
  DISTNAME= gawk-$V
  REVISION= 0
  CATEGORIES=   lang
Index: distinfo
===
RCS file: /cvs/ports/lang/gawk/distinfo,v
retrieving revision 1.17
diff -u -p -r1.17 distinfo
--- distinfo2 Apr 2018 17:04:44 -   1.17
+++ distinfo5 May 2019 04:49:13 -
@@ -1,2 +1,2 @@
-SHA256 (gawk-4.2.1.tar.gz) = KyPVFQOy35pBqm/dxgAq1+vyo4asGdwba+DdSLCs9ts=
-SIZE (gawk-4.2.1.tar.gz) = 510
+SHA256 (gawk-5.0.0.tar.gz) = LWhsmlt7opK8P6VryEoZWdchqdV5cKdkExVtS48fxn0=
+SIZE (gawk-5.0.0.tar.gz) = 5763496


Index: Makefile
===
RCS file: /cvs/ports/lang/gawk/Makefile,v
retrieving revision 1.35
diff -u -p -r1.35 Makefile
--- Makefile	2 Nov 2018 18:48:39 -	1.35
+++ Makefile	5 May 2019 13:52:15 -
@@ -2,9 +2,8 @@
 
 COMMENT=	GNU awk
 
-V=		4.2.1
+V=		5.0.0
 DISTNAME=	gawk-$V
-REVISION=	0
 CATEGORIES=	lang
 MASTER_SITES=	${MASTER_SITE_GNU:=gawk/}
 
@@ -32,5 +31,6 @@ CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/
 post-install:
 	${INSTALL_MAN_DIR} ${PREFIX}/man/man3am
 	mv ${PREFIX}/man/man3/*.3am ${PREFIX}/man/man3am
+	@rm -rf ${WRKINST}/etc/profile.d
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/lang/gawk/distinfo,v
retrieving revision 1.17
diff -u -p -r1.17 distinfo
--- distinfo	2 Apr 2018 17:04:44 -	1.17
+++ distinfo	5 May 2019 13:52:15 -
@@ -1,2 +1,2 @@
-SHA256 (gawk-4.2.1.tar.gz) = KyPVFQOy35pBqm/dxgAq1+vyo4asGdwba+DdSLCs9ts=
-SIZE (gawk-4.2.1.tar.gz) = 510
+SHA256 (gawk-5.0.0.tar.gz) = LWhsmlt7opK8P6VryEoZWdchqdV5cKdkExVtS48fxn0=
+SIZE (gawk-5.0.0.tar.gz) = 5763496
Index: pkg/PLIST
===
RCS file: /cvs/ports/lang/gawk/pkg/PLIST,v
retrieving revision 1.16
diff -u -p -r1.16 PLIST
--- pkg/PLIST	14 Jan 2018 10:03:54 -	1.16
+++ pkg/PLIST	5 May 2019 13:52:15 -
@@ -50,6 +50,7 @@ share/awk/intdiv0.awk
 share/awk/join.awk
 share/awk/libintl.awk
 share/awk/noassign.awk
+share/awk/ns_passwd.awk
 share/awk/ord.awk
 share/awk/passwd.awk
 share/awk/processarray.awk
@@ -71,6 +72,7 @@ share/locale/fr/LC_MESSAGES/gawk.mo
 share/locale/id/LC_MESSAGES/gawk.mo
 share/locale/it/LC_MESSAGES/gawk.mo
 share/locale/ja/LC_MESSAGES/gawk.mo
+share/locale/ko/LC_MESSAGES/gawk.mo
 share/locale/ms/
 share/locale/ms/LC_MESSAGES/
 share/locale/ms/LC_MESSAGES/gawk.mo


Re: [FIX] cad/netgen on sparc64

2019-05-05 Thread Jeremie Courreges-Anglas
On Sun, May 05 2019, Alessandro DE LAURENZIS  wrote:
> Dear ports@ readers,
>
> from the last landry@'s sparc64 bulk build report (see [1]), I noticed
> that cad/netgen was failing.
>
> I think the reason is the "-std=c89" flag that I added to reduce the
> noise during compile, hiding a bunch of this kind of messages:
>
>> warning: implicit declaration of function 'xxx' is invalid in C99

Maybe there are lots of those warnings and fixing them all means
patching, but this is technically the wrong approach.  The right
approach is to include the appropriate headers.

> The problem is that in some files the "//" comment style has been used
> (and it isn't allowed in ANSI C - don't know why clang isn't
> complaining).
>
> We can simply use a more specific flag
> (-Wno-implicit-function-declaration" to obtain the same effect.

Implicit function declarations was a misfeature of the C language, fixed
by C99.  I don't think we want to go backwards.

> I don't have a sparc64 station, so I'm asking for confirmation.

You can test on eg amd64 using

  make clean all CC=gcc CXX=g++

> I'm not entirely sure that we need a revision bump; if not, just let me
> know and I'll amend the diff.
>
> [1] https://marc.info/?l=openbsd-ports=155686934021110=2

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



UPDATE: net/znc 1.7.1 -> 1.7.3

2019-05-05 Thread Hiltjo Posthuma
Hi,

This updates the znc port from 1.7.1 to 1.7.3.

It contains a DDoS fix:
- https://wiki.znc.in/ChangeLog/1.7.3
- CVE-2019-9917: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9917

I only build the package on amd64 and not tested:


diff --git net/znc/Makefile net/znc/Makefile
index e5596110bf5..aac410ea06f 100644
--- net/znc/Makefile
+++ net/znc/Makefile
@@ -2,7 +2,7 @@
 
 COMMENT=   advanced IRC bouncer
 
-DISTNAME=  znc-1.7.1
+DISTNAME=  znc-1.7.3
 CATEGORIES=net
 MASTER_SITES=  ${HOMEPAGE}releases/
 
diff --git net/znc/distinfo net/znc/distinfo
index 30d8a4aeb9b..4a337b107f8 100644
--- net/znc/distinfo
+++ net/znc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (znc-1.7.1.tar.gz) = RM/qcVjqBdwlR8fGvCI3HmbIad75A1HeCrkKnCANOcQ=
-SIZE (znc-1.7.1.tar.gz) = 2041669
+SHA256 (znc-1.7.3.tar.gz) = HkzDGDeh6ObMMQhzZZoWfOwWo/1CgcvDvzZOQjUsET0=
+SIZE (znc-1.7.3.tar.gz) = 2084575
diff --git net/znc/pkg/PLIST net/znc/pkg/PLIST
index 27dcbb05d14..49bd6ecb6a4 100644
--- net/znc/pkg/PLIST
+++ net/znc/pkg/PLIST
@@ -163,6 +163,7 @@ share/znc/modules/webadmin/tmpl/traffic.tmpl
 share/znc/translations/
 share/znc/translations/de-DE
 share/znc/translations/es-ES
+share/znc/translations/fr-FR
 share/znc/translations/id-ID
 share/znc/translations/nl_NL
 share/znc/translations/ru-RU

-- 
Kind regards,
Hiltjo



Re: UPDATE: security/sshguard 1.5 --> 2.3.0

2019-05-05 Thread Andreas Kusalananda Kähäri
On Sun, May 05, 2019 at 02:25:37AM -0700, Corsaire01 wrote:
> Hello everyone.
> 
> I found out that /etc/sshguard.conf is completely ignored, it is just on my
> system ?
> I got triggered when the machines in my own network got banned although I
> did enable the WHITELIST_FILE option.
> 
> furthermore, default options in the file and default options after starting
> the daemon are different
> 
> /etc/sshguard.conf
>  OPTIONS 
> # Block attackers when their cumulative attack score exceeds THRESHOLD.
> # Most attacks have a score of 10. (optional, default 30)
> THRESHOLD=30
> 
> # Block attackers for initially BLOCK_TIME seconds after exceeding
> THRESHOLD.
> # Subsequent blocks increase by a factor of 1.5. (optional, default 120)
> BLOCK_TIME=120
> 
> # IP addresses listed in the WHITELIST_FILE are considered to be
> # friendlies and will never be blocked.
> WHITELIST_FILE=/etc/friends
> 
> 
> # /etc/rc.d/sshguard start
> # ps auwxx | grep sshguard
> root 40901  0.0  0.2   844   836 C0  Ip 6:01PM0:00.00 /bin/sh
> /usr/local/sbin/sshguard -a 10 -l /var/log/authlog -p 14400 -w
> /var/db/sshguard/whitelist.db
> root 83350  0.0  0.1   844   652 C0  Ip 6:01PM0:00.00 /bin/sh
> /usr/local/sbin/sshguard -a 10 -l /var/log/authlog -p 14400 -w
> /var/db/sshguard/whitelist.db
> root 68041  0.0  0.3  1144  1580 C0  Ip 6:01PM0:00.02
> /usr/local/libexec/sshg-blocker -a 10 -p 14400 -s 1800 -N 128 -n 32 -w
> /var/db/sshguard/whitelist.db
> root 65827  0.0  0.1   844   584 C0  Ip 6:01PM0:00.01 /bin/sh
> /usr/local/sbin/sshguard -a 10 -l /var/log/authlog -p 14400 -w
> /var/db/sshguard/whitelist.db
> 
> 
> At this point I would see to add options in /etc/rc.d/sshguard in the line
> daemon="/usr/local/sbin/sshguard"

Is that what you have done now (above) because I can't really see a
default installation of sshguard pass _any_ command line options to the
/usr/local/sbin/sshguard script.

It could be that you had an old "sshguard_flags" setting in
/etc/rc.conf.local" maybe?  This should no longer be needed and all
configuration can be done in /etc/sshguard.conf.

> but is this recommendable... config files are supposed to be in /etc for a
> reason.
> 
> btw, you can put your whitelist in /var/db/sshguard/whitelist.db as
> advertised by the ps

I've just tested installing sshguard freshly, and it _definitely_ picks
up the WHITELIST_FILE from /etc/sshguard.conf


> 
> OpenBSD 6.5 with 'pkg_add sshguard' here
> 
> 
> 
> --
> Sent from: 
> http://openbsd-archive.7691.n7.nabble.com/openbsd-user-ports-f108501.html

Regards,

-- 
Kusalananda
Sweden



[update] devel/p5-File-Remove 1.57 -> 1.58

2019-05-05 Thread Charlene Wendling
Hi ports,

Here is a quick update for File::Remove.

What's new upstream [0]: 

- distribution change only (now includes a META.json file)

What's new in the port:

- It uses modbuild but CONFIGURE_STYLE wasn't set
- apart from that, it's a simple update

Testing: 

- 'make test' passes
- There are 4 direct consumers with no new failures [1].

Comments/feedback are welcome!

Charlène.


[0] https://metacpan.org/changes/release/SHLOMIF/File-Remove-1.58
[1] http://0x0.st/zTHo.tgz


Index: Makefile
===
RCS file: /cvs/ports/devel/p5-File-Remove/Makefile,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 Makefile
--- Makefile2 Sep 2016 22:55:23 -   1.13
+++ Makefile5 May 2019 12:48:14 -
@@ -5,10 +5,12 @@ COMMENT=  remove files and directories wi
 MODULES=   cpan
 PKG_ARCH=  *
 
-DISTNAME=  File-Remove-1.57
+DISTNAME=  File-Remove-1.58
 CATEGORIES=devel
 
 # perl
 PERMIT_PACKAGE_CDROM=  Yes
+
+CONFIGURE_STYLE=   modbuild
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-File-Remove/distinfo,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 distinfo
--- distinfo2 Sep 2016 22:55:23 -   1.9
+++ distinfo5 May 2019 12:48:14 -
@@ -1,2 +1,2 @@
-SHA256 (File-Remove-1.57.tar.gz) = s77NYBZcOHhtGChfdwuLBuv/6ReX2MAMxHMGFDglAa0=
-SIZE (File-Remove-1.57.tar.gz) = 22157
+SHA256 (File-Remove-1.58.tar.gz) = gfbsg6yri6BCr+kEM0om6zpWwhe9uZgdI3qJqwcv0Ng=
+SIZE (File-Remove-1.58.tar.gz) = 25575



Re: UPDATE: security/sshguard 1.5 --> 2.3.0

2019-05-05 Thread Corsaire01
Hello everyone.

I found out that /etc/sshguard.conf is completely ignored, it is just on my
system ?
I got triggered when the machines in my own network got banned although I
did enable the WHITELIST_FILE option.

furthermore, default options in the file and default options after starting
the daemon are different

/etc/sshguard.conf
 OPTIONS 
# Block attackers when their cumulative attack score exceeds THRESHOLD.
# Most attacks have a score of 10. (optional, default 30)
THRESHOLD=30

# Block attackers for initially BLOCK_TIME seconds after exceeding
THRESHOLD.
# Subsequent blocks increase by a factor of 1.5. (optional, default 120)
BLOCK_TIME=120

# IP addresses listed in the WHITELIST_FILE are considered to be
# friendlies and will never be blocked.
WHITELIST_FILE=/etc/friends


# /etc/rc.d/sshguard start
# ps auwxx | grep sshguard
root 40901  0.0  0.2   844   836 C0  Ip 6:01PM0:00.00 /bin/sh
/usr/local/sbin/sshguard -a 10 -l /var/log/authlog -p 14400 -w
/var/db/sshguard/whitelist.db
root 83350  0.0  0.1   844   652 C0  Ip 6:01PM0:00.00 /bin/sh
/usr/local/sbin/sshguard -a 10 -l /var/log/authlog -p 14400 -w
/var/db/sshguard/whitelist.db
root 68041  0.0  0.3  1144  1580 C0  Ip 6:01PM0:00.02
/usr/local/libexec/sshg-blocker -a 10 -p 14400 -s 1800 -N 128 -n 32 -w
/var/db/sshguard/whitelist.db
root 65827  0.0  0.1   844   584 C0  Ip 6:01PM0:00.01 /bin/sh
/usr/local/sbin/sshguard -a 10 -l /var/log/authlog -p 14400 -w
/var/db/sshguard/whitelist.db


At this point I would see to add options in /etc/rc.d/sshguard in the line
daemon="/usr/local/sbin/sshguard"
but is this recommendable... config files are supposed to be in /etc for a
reason.

btw, you can put your whitelist in /var/db/sshguard/whitelist.db as
advertised by the ps

OpenBSD 6.5 with 'pkg_add sshguard' here



--
Sent from: 
http://openbsd-archive.7691.n7.nabble.com/openbsd-user-ports-f108501.html



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/05/05 06:52:58

Modified files:
mail/evolution-rss: Makefile 

Log message:
Regen WANTLIB.



Update: lang/gawk -> 5.0.0

2019-05-05 Thread Stephen Gregoratto
Gawk 5 released on April 12[1] with some cool new features. I couldn't
find updates for it on ports@, so here it is. The release notes
recommend using GNU Bison 3.3, but it compiles fine and passes all tests
on 6.5 and -current.

[1] https://lists.gnu.org/archive/html/info-gnu/2019-04/msg2.html

Index: Makefile
===
RCS file: /cvs/ports/lang/gawk/Makefile,v
retrieving revision 1.35
diff -u -p -r1.35 Makefile
--- Makefile2 Nov 2018 18:48:39 -   1.35
+++ Makefile5 May 2019 04:49:13 -
@@ -2,7 +2,7 @@
 
 COMMENT=   GNU awk
 
-V= 4.2.1
+V= 5.0.0
 DISTNAME=  gawk-$V
 REVISION=  0
 CATEGORIES=lang
Index: distinfo
===
RCS file: /cvs/ports/lang/gawk/distinfo,v
retrieving revision 1.17
diff -u -p -r1.17 distinfo
--- distinfo2 Apr 2018 17:04:44 -   1.17
+++ distinfo5 May 2019 04:49:13 -
@@ -1,2 +1,2 @@
-SHA256 (gawk-4.2.1.tar.gz) = KyPVFQOy35pBqm/dxgAq1+vyo4asGdwba+DdSLCs9ts=
-SIZE (gawk-4.2.1.tar.gz) = 510
+SHA256 (gawk-5.0.0.tar.gz) = LWhsmlt7opK8P6VryEoZWdchqdV5cKdkExVtS48fxn0=
+SIZE (gawk-5.0.0.tar.gz) = 5763496
-- 
Stephen Gregoratto
PGP: 3FC6 3D0E 2801 C348 1C44 2D34 A80C 0F8E 8BAB EC8B



Update prometheus to v2.9.2

2019-05-05 Thread Claudio Jeker
This updates prometheus to v2.9.2, my quick testing shows that it works.
The tests work after a few tries, there is some race when opening port
9090.

-- 
:wq Claudio

Index: Makefile
===
RCS file: /cvs/ports/sysutils/prometheus/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile4 May 2019 21:46:17 -   1.4
+++ Makefile5 May 2019 09:06:26 -
@@ -4,8 +4,7 @@ COMMENT =   systems monitoring and alerti
 
 GH_ACCOUNT =   prometheus
 GH_PROJECT =   prometheus
-GH_TAGNAME =   v2.0.0
-REVISION = 0
+GH_TAGNAME =   v2.9.2
 
 CATEGORIES =   sysutils
 
Index: distinfo
===
RCS file: /cvs/ports/sysutils/prometheus/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo10 Jan 2018 16:26:19 -  1.1.1.1
+++ distinfo4 May 2019 13:53:14 -
@@ -1,2 +1,2 @@
-SHA256 (prometheus-2.0.0.tar.gz) = aUeumy1BTUkwQDSiY18OHs1FrIOk9FkupbzKQNb3lRs=
-SIZE (prometheus-2.0.0.tar.gz) = 5603884
+SHA256 (prometheus-2.9.2.tar.gz) = +gC9/NhoyExhIj3+YOs7xnd3hX5J2yyCaFTHBsXqRVE=
+SIZE (prometheus-2.9.2.tar.gz) = 11477683
Index: patches/patch-Makefile
===
RCS file: patches/patch-Makefile
diff -N patches/patch-Makefile
--- patches/patch-Makefile  10 Jan 2018 16:26:19 -  1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,18 +0,0 @@
-$OpenBSD: patch-Makefile,v 1.1.1.1 2018/01/10 16:26:19 claudio Exp $
-
-Index: Makefile
 Makefile.orig
-+++ Makefile
-@@ -86,11 +86,7 @@ assets:
-   @$(GO) fmt ./web/ui
- 
- promu:
--  @echo ">> fetching promu"
--  @GOOS=$(shell uname -s | tr A-Z a-z) \
--  GOARCH=$(subst x86_64,amd64,$(patsubst i%86,386,$(shell uname -m))) \
--  GO="$(GO)" \
--  $(GO) get -u github.com/prometheus/promu
-+  @true
- 
- $(FIRST_GOPATH)/bin/staticcheck:
-   @GOOS= GOARCH= $(GO) get -u honnef.co/go/tools/cmd/staticcheck
Index: patches/patch-Makefile_common
===
RCS file: patches/patch-Makefile_common
diff -N patches/patch-Makefile_common
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-Makefile_common   4 May 2019 14:08:56 -
@@ -0,0 +1,18 @@
+$OpenBSD$
+
+Index: Makefile.common
+--- Makefile.common.orig
 Makefile.common
+@@ -213,11 +213,7 @@ common-docker-tag-latest:
+ promu: $(PROMU)
+ 
+ $(PROMU):
+-  $(eval PROMU_TMP := $(shell mktemp -d))
+-  curl -s -L $(PROMU_URL) | tar -xvzf - -C $(PROMU_TMP)
+-  mkdir -p $(FIRST_GOPATH)/bin
+-  cp $(PROMU_TMP)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM)/promu 
$(FIRST_GOPATH)/bin/promu
+-  rm -r $(PROMU_TMP)
++  @true
+ 
+ .PHONY: proto
+ proto:
Index: pkg/PLIST
===
RCS file: /cvs/ports/sysutils/prometheus/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   10 Jan 2018 16:26:19 -  1.1.1.1
+++ pkg/PLIST   4 May 2019 14:12:26 -
@@ -1,13 +1,14 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2018/01/10 16:26:19 claudio Exp $
 @newgroup _prometheus:799
 @newuser 
_prometheus:799:_prometheus:daemon:prometheus:/nonexistent:/sbin/nologin
+@sample ${SYSCONFDIR}/prometheus/
+@rcscript ${RCDIR}/prometheus
 @bin bin/prometheus
 @bin bin/promtool
 share/doc/prometheus/
 share/doc/prometheus/LICENSE
 share/doc/prometheus/NOTICE
 share/examples/prometheus/
-@sample ${SYSCONFDIR}/prometheus/
 share/examples/prometheus/console_libraries/
 share/examples/prometheus/console_libraries/menu.lib
 share/examples/prometheus/console_libraries/prom.lib
@@ -25,7 +26,3 @@ share/examples/prometheus/prometheus.yml
 @owner _prometheus
 @group _prometheus
 @sample ${LOCALSTATEDIR}/prometheus/
-@mode
-@owner
-@group
-@rcscript ${RCDIR}/prometheus



Update to promu to 0.3.0

2019-05-05 Thread Claudio Jeker
Easy update to promu as a preparation to update prometheus.

-- 
:wq Claudio


Index: Makefile
===
RCS file: /cvs/ports/devel/promu/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile14 Apr 2018 22:53:54 -  1.3
+++ Makefile4 May 2019 13:44:43 -
@@ -4,8 +4,7 @@ COMMENT =   prometheus utility tool
 
 GH_ACCOUNT =   prometheus
 GH_PROJECT =   promu
-GH_TAGNAME =   v0.1.0
-REVISION = 1
+GH_TAGNAME =   v0.3.0
 
 CATEGORIES =   devel
 
Index: distinfo
===
RCS file: /cvs/ports/devel/promu/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo10 Jan 2018 16:24:35 -  1.1.1.1
+++ distinfo4 May 2019 13:44:54 -
@@ -1,2 +1,2 @@
-SHA256 (promu-0.1.0.tar.gz) = BDxBSbyF5NUakzkM20/uaHHZMSPO1cLT1PeKImUWe7w=
-SIZE (promu-0.1.0.tar.gz) = 1065003
+SHA256 (promu-0.3.0.tar.gz) = RKVg+WtFBdjT+i2/dZzSV6n8qFsJ+hoxuaPJsyarpns=
+SIZE (promu-0.3.0.tar.gz) = 366019



Re: UPDATE: audio/hydrogen

2019-05-05 Thread Jeremie Courreges-Anglas
On Sun, May 05 2019, Raphael Graf  wrote:
> Here is an update to hydrogen-0.9.7.
>
> Notable changes:
> - Uses cmake instead of scons.
> - There is a shared library and three additional command-line binaries.
> - Enabled support for audio/ladspa plugins
>
> New features are listed here:
> http://hydrogen-music.org/
>
> Comments/tests welcome.

Here's some nitpicking about the Makefile only.

> Index: Makefile
> ===
> RCS file: /cvs/ports/audio/hydrogen/Makefile,v
> retrieving revision 1.25
> diff -u -p -u -p -r1.25 Makefile
> --- Makefile  8 Jan 2019 21:24:29 -   1.25
> +++ Makefile  5 May 2019 10:55:31 -
> @@ -1,58 +1,54 @@
>  # $OpenBSD: Makefile,v 1.25 2019/01/08 21:24:29 sebastia Exp $
>  
> -COMMENT= software drum machine
> +COMMENT =software drum machine

Please avoid gratuitous whitespace changes like this, it makes cvs blame
less useful for no real gain.  If you really care for consistency I'd
suggest to tweak the COMPILER line instead.

> -DISTNAME=hydrogen-0.9.5
> -CATEGORIES=  audio
> +DISTNAME =   hydrogen-0.9.7
> +CATEGORIES = audio
>  
> -HOMEPAGE=http://www.hydrogen-music.org/
> +HOMEPAGE =   http://www.hydrogen-music.org/
> +
> +SHARED_LIBS =hydrogen-core-0.9.7 0.0

I'm not saying it's a problem in practice, but this library name looks
suspicious...

>  # GPLv2
> -PERMIT_PACKAGE_CDROM=Yes
> +PERMIT_PACKAGE_CDROM =   Yes
>  
> -WANTLIB += ${COMPILER_LIBCXX} QtGui QtNetwork QtXml archive c
> -WANTLIB += jack lrdf m ogg sndfile sndio
> +WANTLIB += ${COMPILER_LIBCXX} QtGui QtNetwork QtXml QtXmlPatterns archive c
> +WANTLIB += lrdf m sndfile sndio z
>  
> -MASTER_SITES=${MASTER_SITE_SOURCEFORGE:=hydrogen/}
> +MASTER_SITES =   ${MASTER_SITE_SOURCEFORGE:=hydrogen/}
>  
>  COMPILER =   base-clang ports-gcc base-gcc
>  
> -LIB_DEPENDS= audio/libsndfile \
> - audio/flac \
> - audio/jack \
> +LIB_DEPENDS =audio/libsndfile \
>   archivers/libarchive \
>   textproc/liblrdf
>  
> -RUN_DEPENDS= devel/desktop-file-utils
> +BUILD_DEPENDS =  audio/ladspa
> +
> +RUN_DEPENDS =devel/desktop-file-utils
>  
> -MODULES= x11/qt4 devel/scons
> +MODULES =devel/cmake x11/qt4

I would suggest splitting MODULES over multiple lines.

Note: looks like hydrogen-1.0.0 will support Qt5.

> -MAKE_ENV+=   QTDIR="${MODQT4_QTDIR}"
> -MODSCONS_FLAGS=  localinc="-I${LOCALBASE}/include 
> -I${X11BASE}/include" \
> - locallib="-L${LOCALBASE}/lib -L${X11BASE}/lib -logg 
> -lpthread" \
> - optflags="${CXXFLAGS} " \
> - libarchive="1" sndio="1" oss="0" alsa="0" portmidi="0" \
> - portaudio="0" lash="0" lrdf="1"
> +CONFIGURE_ENV =  LADSPA_PATH=${LOCALBASE}/lib/ladspa
>  
> -NO_TEST= Yes
> +CONFIGURE_ARGS = -DWANT_ALSA=OFF \
> + -DWANT_DEBUG=OFF \
> + -DWANT_JACK=OFF \
> + -DWANT_JACKSESSION=OFF \
> + -DWANT_LADSPA=ON \
> + -DWANT_LRDF=ON \
> + -DWANT_NSMSESSION=OFF \
> + -DWANT_PORTAUDIO=OFF \
> + -DWANT_PORTMIDI=OFF \
> + -DWANT_PULSEAUDIO=OFF \
> + -DWANT_SNDIO=ON
> +
> +NO_TEST =Yes
>  
>  post-extract:
>   cp ${FILESDIR}/Sndio{Audio,Midi}Driver.h \
> - ${FILESDIR}/sndio_{audio,midi}_driver.cpp \
> - ${WRKSRC}/libs/hydrogen/src/IO
> -
> -do-install:
> - ${INSTALL_PROGRAM} ${WRKBUILD}/hydrogen ${PREFIX}/bin
> - ${INSTALL_DATA_DIR} ${PREFIX}/share/applications
> - ${INSTALL_DATA} ${WRKBUILD}/hydrogen.desktop \
> - ${PREFIX}/share/applications
> - ${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
> - ${INSTALL_DATA} ${WRKSRC}/data/img/gray/h2-icon.svg \
> - ${PREFIX}/share/pixmaps
> - ${INSTALL_DATA_DIR} ${PREFIX}/share/hydrogen
> - ${INSTALL_DATA_DIR} ${PREFIX}/share/hydrogen/data
> - #mv -f ${WRKSRC}/data/new_tutorial ${WRKDIR}
> - cd ${WRKSRC}/data && umask 022 && \
> - pax -rw . ${PREFIX}/share/hydrogen/data
> + ${WRKSRC}/src/core/include/hydrogen/IO
> + cp ${FILESDIR}/sndio_{audio,midi}_driver.cpp \
> + ${WRKSRC}/src/core/src/IO
>  
>  .include 

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



Re: update print/poppler

2019-05-05 Thread Jeremie Courreges-Anglas
On Sat, May 04 2019, Matthias Kilian  wrote:
> Update to poppler-0.76.0.
>
> Adding major bumps for poppler-qt5 and poppler-cpp because of
> incompatible changes in some "private" parts, even if the corresponding
> headers aren't included in the packages.
>
> I'm still waiting for my bulk update on amd64 to finish, but in case
> anyone want's to do some testing in advance...

Builds fine on amd64 with ports-gcc and ld.bfd (can't test on sparc64
right now).  Hopefully that test should be enough for ports-gcc archs.

Looks like symbols from poppler-qt5 didn't change yet there's a major
bump.  I'm not saying this is a problem though (eg we have situations in
base where we bump both libA and libB when libB depends on libA).

  /usr/local/lib/libpoppler-qt5.so.7.1 --> 
/usr/ports/pobj/poppler-0.76.0/fake-amd64/usr/local/lib/libpoppler-qt5.so.8.0
  No dynamic export changes

> This also breaks graphics/pdf2djvu, I'll sent a diff to fix this
> in a Minute.
>
> Ciao,
>   Kili
>
> Index: Makefile
> ===
> RCS file: /cvs/ports/print/poppler/Makefile,v
> retrieving revision 1.138
> diff -u -p -r1.138 Makefile
> --- Makefile  21 Apr 2019 23:27:53 -  1.138
> +++ Makefile  30 Apr 2019 20:37:53 -
> @@ -4,7 +4,7 @@ COMMENT-main= PDF rendering library
>  COMMENT-qt5= Qt5 interface to PDF rendering library
>  COMMENT-utils=   PDF conversion tools and utilities
>  
> -V=   0.75.0
> +V=   0.76.0
>  DISTNAME=poppler-$V
>  CATEGORIES=  print
>  PKGNAME-main=poppler-$V
> @@ -13,10 +13,10 @@ PKGNAME-qt5=  poppler-qt5-$V
>  
>  EXTRACT_SUFX=.tar.xz
>  
> -SHARED_LIBS +=   poppler  50.0 # 86.0
> +SHARED_LIBS +=   poppler  51.0 # 87.0
>  SHARED_LIBS +=   poppler-glib 19.1 # 8.12
> -SHARED_LIBS +=   poppler-qt5  7.1  # 1.19
> -SHARED_LIBS +=   poppler-cpp  10.2 # 0.7
> +SHARED_LIBS +=   poppler-qt5  8.0  # 1.19
> +SHARED_LIBS +=   poppler-cpp  11.0 # 0.7
>  
>  HOMEPAGE=https://poppler.freedesktop.org/
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/print/poppler/distinfo,v
> retrieving revision 1.70
> diff -u -p -r1.70 distinfo
> --- distinfo  21 Apr 2019 23:27:53 -  1.70
> +++ distinfo  30 Apr 2019 20:37:53 -
> @@ -1,2 +1,2 @@
> -SHA256 (poppler-0.75.0.tar.xz) = O7rtsPonl8rJM6BlnRRDA+TQnuxoksZWANqYfYcHGZo=
> -SIZE (poppler-0.75.0.tar.xz) = 1523872
> +SHA256 (poppler-0.76.0.tar.xz) = Nw9fz+K78Mdvw5TTOM1y7X8gRLZ/TrSxFesHTM/HDWM=
> +SIZE (poppler-0.76.0.tar.xz) = 1530264
> Index: pkg/PLIST-main
> ===
> RCS file: /cvs/ports/print/poppler/pkg/PLIST-main,v
> retrieving revision 1.31
> diff -u -p -r1.31 PLIST-main
> --- pkg/PLIST-main20 Feb 2019 17:10:45 -  1.31
> +++ pkg/PLIST-main30 Apr 2019 20:37:53 -
> @@ -117,7 +117,6 @@ include/poppler/goo/
>  include/poppler/goo/FixedPoint.h
>  include/poppler/goo/GooCheckedOps.h
>  include/poppler/goo/GooLikely.h
> -include/poppler/goo/GooList.h
>  include/poppler/goo/GooString.h
>  include/poppler/goo/GooTimer.h
>  include/poppler/goo/ImgWriter.h
>

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



Re: [update] liblognorm 2.0.6

2019-05-05 Thread Jeremie Courreges-Anglas
On Sat, May 04 2019, Remi Locherer  wrote:
> Hi porters,
>
> This updates liblognorm to version 2.0.6.
>
> Release notes can be found here:
> https://www.liblognorm.com/news/liblognorm-2-0-6-released/
>
> The tests changed and added now #!/bin/bash. With fixed shebangs
> and a TEST_DEPENDS shells/bash all tests pass.
>
> check_sym says:
>
> /usr/local/lib/liblognorm.so.0.0 --> 
> /usr/ports/pobj/liblognorm-2.0.6/build-amd64/src/.libs/liblognorm.so.0.0
> Dynamic export changes:
> added:
> ln_constructCheckpointLEA
> ln_destructCheckpointLEA
>
> External reference changes:
> removed:
> __stack_smash_handler
>
>
> Is my bump for SHARED_LIBS enough or should it be 1.0?

Looks like it's enough: no symbol removal and no change in the only
header we install, liblognorm.h.  IIUC the newly exported functions are
internal.

Looks good ports-wise, ok jca@.  I'd suggest to move HOMEPAGE and
MASTER_SITES to https while here.

PS: upstream should clear up the situation wrt the headers they install
by default.  Either those .h shouldn't be installed, or they should be
installed in an include/liblognorm subdirectory, as their name is too
generic.

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



UPDATE: audio/hydrogen

2019-05-05 Thread Raphael Graf
Here is an update to hydrogen-0.9.7.

Notable changes:
- Uses cmake instead of scons.
- There is a shared library and three additional command-line binaries.
- Enabled support for audio/ladspa plugins

New features are listed here:
http://hydrogen-music.org/

Comments/tests welcome.

Index: Makefile
===
RCS file: /cvs/ports/audio/hydrogen/Makefile,v
retrieving revision 1.25
diff -u -p -u -p -r1.25 Makefile
--- Makefile8 Jan 2019 21:24:29 -   1.25
+++ Makefile5 May 2019 10:55:31 -
@@ -1,58 +1,54 @@
 # $OpenBSD: Makefile,v 1.25 2019/01/08 21:24:29 sebastia Exp $
 
-COMMENT=   software drum machine
+COMMENT =  software drum machine
 
-DISTNAME=  hydrogen-0.9.5
-CATEGORIES=audio
+DISTNAME = hydrogen-0.9.7
+CATEGORIES =   audio
 
-HOMEPAGE=  http://www.hydrogen-music.org/
+HOMEPAGE = http://www.hydrogen-music.org/
+
+SHARED_LIBS =  hydrogen-core-0.9.7 0.0
 
 # GPLv2
-PERMIT_PACKAGE_CDROM=  Yes
+PERMIT_PACKAGE_CDROM = Yes
 
-WANTLIB += ${COMPILER_LIBCXX} QtGui QtNetwork QtXml archive c
-WANTLIB += jack lrdf m ogg sndfile sndio
+WANTLIB += ${COMPILER_LIBCXX} QtGui QtNetwork QtXml QtXmlPatterns archive c
+WANTLIB += lrdf m sndfile sndio z
 
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=hydrogen/}
+MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=hydrogen/}
 
 COMPILER = base-clang ports-gcc base-gcc
 
-LIB_DEPENDS=   audio/libsndfile \
-   audio/flac \
-   audio/jack \
+LIB_DEPENDS =  audio/libsndfile \
archivers/libarchive \
textproc/liblrdf
 
-RUN_DEPENDS=   devel/desktop-file-utils
+BUILD_DEPENDS =audio/ladspa
+
+RUN_DEPENDS =  devel/desktop-file-utils
 
-MODULES=   x11/qt4 devel/scons
+MODULES =  devel/cmake x11/qt4
 
-MAKE_ENV+= QTDIR="${MODQT4_QTDIR}"
-MODSCONS_FLAGS=localinc="-I${LOCALBASE}/include 
-I${X11BASE}/include" \
-   locallib="-L${LOCALBASE}/lib -L${X11BASE}/lib -logg 
-lpthread" \
-   optflags="${CXXFLAGS} " \
-   libarchive="1" sndio="1" oss="0" alsa="0" portmidi="0" \
-   portaudio="0" lash="0" lrdf="1"
+CONFIGURE_ENV =LADSPA_PATH=${LOCALBASE}/lib/ladspa
 
-NO_TEST=   Yes
+CONFIGURE_ARGS =   -DWANT_ALSA=OFF \
+   -DWANT_DEBUG=OFF \
+   -DWANT_JACK=OFF \
+   -DWANT_JACKSESSION=OFF \
+   -DWANT_LADSPA=ON \
+   -DWANT_LRDF=ON \
+   -DWANT_NSMSESSION=OFF \
+   -DWANT_PORTAUDIO=OFF \
+   -DWANT_PORTMIDI=OFF \
+   -DWANT_PULSEAUDIO=OFF \
+   -DWANT_SNDIO=ON
+
+NO_TEST =  Yes
 
 post-extract:
cp ${FILESDIR}/Sndio{Audio,Midi}Driver.h \
-   ${FILESDIR}/sndio_{audio,midi}_driver.cpp \
-   ${WRKSRC}/libs/hydrogen/src/IO
-
-do-install:
-   ${INSTALL_PROGRAM} ${WRKBUILD}/hydrogen ${PREFIX}/bin
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/applications
-   ${INSTALL_DATA} ${WRKBUILD}/hydrogen.desktop \
-   ${PREFIX}/share/applications
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
-   ${INSTALL_DATA} ${WRKSRC}/data/img/gray/h2-icon.svg \
-   ${PREFIX}/share/pixmaps
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/hydrogen
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/hydrogen/data
-   #mv -f ${WRKSRC}/data/new_tutorial ${WRKDIR}
-   cd ${WRKSRC}/data && umask 022 && \
-   pax -rw . ${PREFIX}/share/hydrogen/data
+   ${WRKSRC}/src/core/include/hydrogen/IO
+   cp ${FILESDIR}/sndio_{audio,midi}_driver.cpp \
+   ${WRKSRC}/src/core/src/IO
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/audio/hydrogen/distinfo,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 distinfo
--- distinfo8 Jan 2019 21:24:29 -   1.5
+++ distinfo5 May 2019 10:55:31 -
@@ -1,2 +1,2 @@
-SHA256 (hydrogen-0.9.5.tar.gz) = ljxz75EeyedYnlAtF987eU3QJ9fpmja1EVoLtROJ2cM=
-SIZE (hydrogen-0.9.5.tar.gz) = 5239702
+SHA256 (hydrogen-0.9.7.tar.gz) = zYNV6Qk9AwGDDmJf45+OI4usrdk+WlVsF1yLUG7UOCI=
+SIZE (hydrogen-0.9.7.tar.gz) = 6420359
Index: files/SndioAudioDriver.h
===
RCS file: /cvs/ports/audio/hydrogen/files/SndioAudioDriver.h,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 SndioAudioDriver.h
--- files/SndioAudioDriver.h11 Jan 2010 05:11:32 -  1.1
+++ files/SndioAudioDriver.h5 May 2019 10:55:31 -
@@ -20,7 +20,7 @@
 #include 
 #include 
 
-#ifdef SNDIO_SUPPORT
+#ifdef 

CVS: cvs.openbsd.org: ports

2019-05-05 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/05/05 04:48:05

Modified files:
net/py-boto3   : Makefile distinfo 

Log message:
Update to py-boto3-1.9.142.



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/05/05 04:48:29

Modified files:
sysutils/awscli: Makefile distinfo 

Log message:
Update to awscli-1.16.152.



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/05/05 04:48:17

Modified files:
net/py-botocore: Makefile distinfo 

Log message:
Update to py-botocore-1.12.142.



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2019/05/05 04:25:13

Modified files:
devel/p5-Universal-isa: Makefile distinfo 

Log message:
p5-Universal-isa: update to 1.20171012
Changelog:
https://metacpan.org/source/ETHER/UNIVERSAL-isa-1.20171012/Changes

OK afresh1@



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2019/05/05 04:24:26

Added files:
mail/dspam/patches: patch-configure 

Log message:
Don't error out if CR_ERROR_FIRST isn't defined.

Not shipped by recent versions of mariadb and not used anywhere in the
dspam source code.



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2019/05/05 04:21:30

Modified files:
devel/p5-Universal-can: Makefile distinfo 

Log message:
p5-Universal-can: update to 1.20140328
Changelog:
https://metacpan.org/source/CHROMATIC/UNIVERSAL-can-1.20140328/Changes

OK afresh1@



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2019/05/05 04:17:43

Modified files:
devel/dconf: Makefile 

Log message:
dconf: use ports-gcc on !base-clang archs because it uses C99 constructs

OK jca@ aja@ (maintainer)



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/05/05 03:48:15

Modified files:
misc/osinfo/osinfo-db: Makefile distinfo 
misc/osinfo/osinfo-db/pkg: PLIST 

Log message:
Update to osinfo-db-20190504.



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/05/05 03:47:51

Modified files:
devel/libgsf   : Makefile distinfo 

Log message:
Update to libgsf-1.14.46.



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/05/05 03:41:57

Modified files:
astro/kstars   : Makefile 

Log message:
Unbreak: missing EPOCH
Found newer package kstars-4.14.3p5 in ports/plist/amd64



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Bjorn Ketelaars
CVSROOT:/cvs
Module name:ports
Changes by: b...@cvs.openbsd.org2019/05/05 02:14:11

Modified files:
news/nzbget: Makefile distinfo 
news/nzbget/patches: patch-nzbget_conf 

Log message:
Update to nzbget-21.0.

Changelog can be found at
https://github.com/nzbget/nzbget/releases/tag/v21.0



Re: unbreak graphics/inkscape after poppler update

2019-05-05 Thread Rafael Sadowski
On Sun May 05, 2019 at 02:33:50AM +0200, Matthias Kilian wrote:
> Hi,
> 
> it looks like inkscape is the next victim of the poppler update...
> 
> Fix build with poppler-0.76, gypped from archlinux, to be committed
> right after the poppler update.
> 
> While here, remove -DPOPPLER_NEW_OBJEC_API from CONFIGURE_ENV,
> because it's set by configure since the last inkscape update.
> 
> ok?

Make sense, OK rsadowski@

> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/graphics/inkscape/Makefile,v
> retrieving revision 1.73
> diff -u -p -r1.73 Makefile
> --- Makefile  22 Jan 2019 06:40:13 -  1.73
> +++ Makefile  4 May 2019 23:08:35 -
> @@ -81,11 +81,8 @@ AUTOMAKE_VERSION = 1.11
>  
>  CONFIGURE_ARGS = -without-gnome-vfs
>  
> -# the -DPOPPLER_NEW_OBJECT_API bit should be removed after the next
> -# update of this port.
>  CONFIGURE_ENV =  CPPFLAGS="-I${LOCALBASE}/include/ImageMagick \
> - -I${LOCALBASE}/include -I${X11BASE}/include \
> - -DPOPPLER_NEW_OBJECT_API" \
> + -I${LOCALBASE}/include -I${X11BASE}/include" \
>   LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
>  
>  # As discussed on the ports mailing list, remove internationalised manual
> Index: patches/patch-src_extension_internal_pdfinput_pdf-parser_cpp
> ===
> RCS file: patches/patch-src_extension_internal_pdfinput_pdf-parser_cpp
> diff -N patches/patch-src_extension_internal_pdfinput_pdf-parser_cpp
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-src_extension_internal_pdfinput_pdf-parser_cpp  4 May 
> 2019 23:08:35 -
> @@ -0,0 +1,16 @@
> +$OpenBSD$
> +
> +Fix build with poppler-0.76. From archlinux.
> +
> +Index: src/extension/internal/pdfinput/pdf-parser.cpp
> +--- src/extension/internal/pdfinput/pdf-parser.cpp.orig
>  src/extension/internal/pdfinput/pdf-parser.cpp
> +@@ -426,7 +426,7 @@ void PdfParser::parse(Object *obj, GBool topLevel) {
> + error(errInternal, -1, "Weird page contents");
> + return;
> +   }
> +-  parser = new Parser(xref, new Lexer(xref, obj), gFalse);
> ++  parser = new Parser(xref, obj, gFalse);
> +   go(topLevel);
> +   delete parser;
> +   parser = NULL;



UPDATE: x11/qt5ct

2019-05-05 Thread Rafael Sadowski
Simple update qt5ct to 0.39. OK?

Index: Makefile
===
RCS file: /cvs/ports/x11/qt5ct/Makefile,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 Makefile
--- Makefile8 Mar 2019 20:00:56 -   1.4
+++ Makefile5 May 2019 08:11:27 -
@@ -2,9 +2,8 @@
 
 COMMENT =  Qt5 configuration tool
 
-DISTNAME = qt5ct-0.35
+DISTNAME = qt5ct-0.39
 EXTRACT_SUFX = .tar.bz2
-REVISION = 1
 
 CATEGORIES =   x11
 
Index: distinfo
===
RCS file: /cvs/ports/x11/qt5ct/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo23 Jun 2018 14:57:02 -  1.2
+++ distinfo5 May 2019 08:11:27 -
@@ -1,2 +1,2 @@
-SHA256 (qt5ct-0.35.tar.bz2) = HOtQl79IoxOm+aUAiIJbhjhV24+mK4zo95vUzURo73c=
-SIZE (qt5ct-0.35.tar.bz2) = 62547
+SHA256 (qt5ct-0.39.tar.bz2) = N2ns3L34IdUvfx4BNTGpaSwourC65fEz0iy6dwIzPhk=
+SIZE (qt5ct-0.39.tar.bz2) = 70554



UPDATE: net/gajim

2019-05-05 Thread Ingo Feinerer
Hi,

update Gajim to 1.1.3 (bugfix release).

Change log: https://dev.gajim.org/gajim/gajim/blob/gajim-1.1.3/ChangeLog

Works for me on amd64.

OK?

Index: Makefile
===
RCS file: /cvs/ports/net/gajim/Makefile,v
retrieving revision 1.86
diff -u -p -r1.86 Makefile
--- Makefile28 Apr 2019 20:51:43 -  1.86
+++ Makefile5 May 2019 07:54:21 -
@@ -1,10 +1,9 @@
 # $OpenBSD: Makefile,v 1.86 2019/04/28 20:51:43 sthen Exp $
 
 COMMENT=   jabber client written in pygtk
-MODPY_EGG_VERSION= 1.1.2
+MODPY_EGG_VERSION= 1.1.3
 DISTNAME=  gajim-${MODPY_EGG_VERSION}
 CATEGORIES=net x11
-REVISION=  0
 
 HOMEPAGE=  https://www.gajim.org
 
Index: distinfo
===
RCS file: /cvs/ports/net/gajim/distinfo,v
retrieving revision 1.29
diff -u -p -r1.29 distinfo
--- distinfo30 Jan 2019 17:09:17 -  1.29
+++ distinfo5 May 2019 07:54:21 -
@@ -1,2 +1,2 @@
-SHA256 (gajim-1.1.2.tar.gz) = UgQV3qZWyi2pM4/0pW9UeoEIQkWuL6nphj9EQP/Cx1Q=
-SIZE (gajim-1.1.2.tar.gz) = 9531233
+SHA256 (gajim-1.1.3.tar.gz) = Zc2kdLSkO4l/wyXghmEWa6BUOWov8UC9p/HKqs/W++c=
+SIZE (gajim-1.1.3.tar.gz) = 9544171



UPDATE: net/py-nbxmpp

2019-05-05 Thread Ingo Feinerer
Hi,

this updates net/py-nbxmpp to 0.6.10.
Useful for the net/gajim update posted separately.

OK?

Index: Makefile
===
RCS file: /cvs/ports/net/py-nbxmpp/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile28 Apr 2019 20:51:45 -  1.6
+++ Makefile5 May 2019 07:55:12 -
@@ -2,11 +2,10 @@
 
 COMMENT =  Python XMPP and Jabber implementation
 
-MODPY_EGG_VERSION =0.6.9
+MODPY_EGG_VERSION =0.6.10
 DISTNAME = nbxmpp-${MODPY_EGG_VERSION}
 PKGNAME =  py-${DISTNAME}
 CATEGORIES =   net devel
-REVISION = 0
 
 HOMEPAGE = https://python-nbxmpp.gajim.org/
 
Index: distinfo
===
RCS file: /cvs/ports/net/py-nbxmpp/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo30 Jan 2019 17:05:36 -  1.5
+++ distinfo5 May 2019 07:55:12 -
@@ -1,2 +1,2 @@
-SHA256 (nbxmpp-0.6.9.tar.gz) = Zg15b22XswpeJJQXq/AS7jCiK55AgX3eBcqfNclsyA0=
-SIZE (nbxmpp-0.6.9.tar.gz) = 1516305
+SHA256 (nbxmpp-0.6.10.tar.gz) = zXNBd3fkhH/djQ2Wx8r8YGlS7b0rnVKipyuyqqBNCO8=
+SIZE (nbxmpp-0.6.10.tar.gz) = 1516456



[FIX] cad/netgen on sparc64

2019-05-05 Thread Alessandro DE LAURENZIS

Dear ports@ readers,

from the last landry@'s sparc64 bulk build report (see [1]), I noticed 
that cad/netgen was failing.


I think the reason is the "-std=c89" flag that I added to reduce the 
noise during compile, hiding a bunch of this kind of messages:



warning: implicit declaration of function 'xxx' is invalid in C99


The problem is that in some files the "//" comment style has been used 
(and it isn't allowed in ANSI C - don't know why clang isn't complaining).


We can simply use a more specific flag 
(-Wno-implicit-function-declaration" to obtain the same effect.


I don't have a sparc64 station, so I'm asking for confirmation.

I'm not entirely sure that we need a revision bump; if not, just let me 
know and I'll amend the diff.


[1] https://marc.info/?l=openbsd-ports=155686934021110=2

--
Alessandro DE LAURENZIS
[mailto:jus...@atlantide.t28.net]
Web: http://www.atlantide.t28.net
LinkedIn: https://www.linkedin.com/in/delaurenzis/
Index: Makefile
===
RCS file: /cvs/ports/cad/netgen/Makefile,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 Makefile
--- Makefile	28 Apr 2019 20:51:27 -	1.2
+++ Makefile	5 May 2019 07:07:45 -
@@ -3,7 +3,7 @@
 COMMENT =	tool for netlist comparison (LVS) and format manipulation
 DISTNAME =	netgen-1.5.118
 EXTRACT_SUFX =	.tgz
-REVISION =	0
+REVISION =	1
 
 CATEGORIES =	cad
 
@@ -31,7 +31,7 @@ PATCHORIG =	.patch.orig
 WRKCONF =		${WRKSRC}/scripts
 CONFIGURE_STYLE =	gnu
 CONFIGURE_ENV =		CPPFLAGS="-I${X11BASE}/include" \
-			CFLAGS="-std=c89 ${CFLAGS}"
+			CFLAGS="-Wno-implicit-function-declaration ${CFLAGS}"
 CONFIGURE_ARGS =	--with-tcl=${MODTCL_LIBDIR} \
 			--with-tk=${MODTK_LIBDIR}
 


NEW: fonts/public-sans

2019-05-05 Thread Anthony J. Bentley
Hi,

Public Sans is a strong, neutral, principles-driven, open-source typeface
for text or display. Developed by the US government's General Services
Administration, it is a fork of the SIL Open Licensed face Libre Franklin.
Public Sans has many similarities with its parent, but differs in its focus
on longform reading and neutral UI applicability. It takes inspiration from
geometric sans faces of the 20th century, as well as the original Franklins
of the 19th, resulting in something of a mongrel face that retains its
American origin.

ok?

-- 
Anthony J. Bentley


public-sans.tar.gz
Description: public-sans.tar.gz


Re: NEW: emulators/gw-libretro

2019-05-05 Thread Anthony J. Bentley
Hi,

On Sun, Mar 31, 2019 at 9:42 PM Anthony J. Bentley  wrote:
> On Fri, Dec 7, 2018 at 12:42 AM Anthony J. Bentley  wrote:
> > On Mon, Nov 19, 2018 at 9:27 PM Anthony J. Bentley  
> > wrote:
> > > gw-libretro is a libretro core that runs Nintendo Game & Watch simulators.
> > >
> > > You can test this port with the retroarch package. You can get the
> > > simulator files this port emulators from the libretro buildbot site:
> > >
> > > https://buildbot.libretro.com/assets/cores/Handheld%20Electronic%20Game/
> >
> > Anyone willing to ok this port?
>
> Now that retroarch works again, anyone want to give this a look?

Still looking for an ok to import.

-- 
Anthony J. Bentley


gw-libretro.tar.gz
Description: application/gzip


CVS: cvs.openbsd.org: ports

2019-05-05 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2019/05/05 00:55:09

Modified files:
net: Makefile 

Log message:
+libsignal-protocol-c



CVS: cvs.openbsd.org: ports

2019-05-05 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2019/05/05 00:54:33

Log message:
Import libsignal-protocol-c-2.3.2.

The Signal Protocol is a ratcheting forward secrecy protocol that works in
synchronous and asynchronous messaging environments.

From Alex Holst; thanks!

ok bcallah@

Status:

Vendor Tag: bentley
Release Tags:   bentley_20190505

N ports/net/libsignal-protocol-c/Makefile
N ports/net/libsignal-protocol-c/distinfo
N ports/net/libsignal-protocol-c/patches/patch-tests_test_common_openssl_c
N ports/net/libsignal-protocol-c/patches/patch-tests_test_common_h
N ports/net/libsignal-protocol-c/patches/patch-tests_test_session_builder_c
N ports/net/libsignal-protocol-c/patches/patch-tests_test_session_cipher_c
N ports/net/libsignal-protocol-c/pkg/DESCR
N ports/net/libsignal-protocol-c/pkg/PLIST

No conflicts created by this import



Re: WIP: net/libsignal-protocol-c

2019-05-05 Thread Anthony J. Bentley
On Mon, Mar 18, 2019 at 4:57 AM Anthony J. Bentley  wrote:
> On Thu, Mar 7, 2019 at 10:35 PM Anthony J. Bentley  wrote:
> > Stuart Henderson writes:
> > > On 2019/03/07 13:55, Stefan Sperling wrote:
> > > > On Thu, Mar 07, 2019 at 12:34:35AM -0700, Anthony J. Bentley wrote:
> > > > > On Sun, Feb 17, 2019 at 2:57 PM Anthony J. Bentley 
> > > > >  w
> > > rote:
> > > > > >
> > > > > > Alex Holst writes:
> > > > > > > Hi,
> > > > > > >
> > > > > > > Thanks for your input. It should all be adopted into this port 
> > > > > > > except
> > > > > > > for the 'test' target which I couldn't get working otherwise.
> > > > > >
> > > > > > No need for a do-test, just use:
> > > > > >
> > > > > > CONFIGURE_ARGS =-DBUILD_TESTING=ON
> > > > >
> > > > > Here's a port with that change, some minor whitespace changes, and a
> > > > > tweaked DESCR.
> > > > >
> > > > > Is this ready to go in?
> > > >
> > > > Some files have the executable bit set, please clear them.
> > > >
> > > > It seems something is wrong with build dependencies.
> > > > After 'make prepare' which installed cmake and ninja packages,
> > > > I tried to run 'make package' and it failed:
> > >
> > > Setting -DBUILD_TESTING adds check as a build requirement.
> > >
> > > Is there a reason not to build the shared lib?
> >
> > Makes sense to me.
> >
> > Attached tarball builds shared lib, sets BUILD_DEPENDS properly,
> > removes executable bit from files in the port directory.
>
> Is this version ready for import? Any oks?

Still looking for an ok to import this.

-- 
Anthony J. Bentley


libsignal-protocol-c.tar.gz
Description: application/gzip