NEW: print/sigil

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

Sigil is a free, open source, multi-platform ebook editor.
It is designed to edit books in ePub format (both ePub 2 and ePub 3).


If you don't have any ebooks to test with, https://standardebooks.org/
has a number of public domain works in both ePub 2 and ePub 3 formats.

ok?

-- 
Anthony J. Bentley


sigil.tar.gz
Description: sigil.tar.gz


CVS: cvs.openbsd.org: ports

2019-05-04 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2019/05/04 23:08:26

Modified files:
productivity/gnucash: Makefile 

Log message:
Move homepage to https.



CVS: cvs.openbsd.org: ports

2019-05-04 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2019/05/04 23:07:45

Modified files:
audio/flac : Makefile 

Log message:
Move master_sites to https.



CVS: cvs.openbsd.org: ports

2019-05-04 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2019/05/04 22:31:22

Modified files:
audio/cdparanoia: Makefile 
audio/celt : Makefile 
audio/celt07   : Makefile 
audio/libao: Makefile 
audio/libogg   : Makefile 
audio/libvorbis: Makefile 
audio/speex: Makefile 
audio/speexdsp : Makefile 
audio/vorbis-tools: Makefile 
multimedia/libtheora: Makefile 
multimedia/oggz: Makefile 
net/ezstream   : Makefile 
net/icecast: Makefile 
net/ices   : Makefile 
net/ices2  : Makefile 
net/libshout   : Makefile 

Log message:
Use https for xiph.org master_sites and homepages.



NEW: devel/csky-elf

2019-05-04 Thread Brian Callahan

Hi ports --

gcc-9.1.0 was released yesterday. And starting with that release (and 
binutils-2.32) the new C-SKY CPUs are supported. Find attached a new 
port providing a cross development environment for the new CPU 
(binutils/gcc; there is no newlib support for C-SKY).


I only need C language support for the cross dev environment.

OK?

~Brian



csky-elf.tgz
Description: application/compressed-tar


unbreak graphics/inkscape after poppler update

2019-05-04 Thread Matthias Kilian
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?

Index: Makefile
===
RCS file: /cvs/ports/graphics/inkscape/Makefile,v
retrieving revision 1.73
diff -u -p -r1.73 Makefile
--- Makefile22 Jan 2019 06:40:13 -  1.73
+++ Makefile4 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_cpp4 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;



Re: [update] devel/p5-Universal-isa 1.03 -> 1.20171012

2019-05-04 Thread Andrew Hewus Fresh
On Sat, May 04, 2019 at 04:00:03PM +0200, Charlene Wendling wrote:
> 
> Here is an update for UNIVERSAL::isa.
> 
> What's new upstream (partial, see [0]): 
> 
> - Move to Dist::Zilla 
> - Make tests work with Perl>=5.17.2
> - The original isa sub is now available in original_isa()
> 
> What's new in the port:
> 
> - use FIX_EXTRACT_PERMISSIONS (ETHER)
> - don't repeat versions in PKG/DISTNAME dance
> - drop modbuild, it's not used anymore
> - reduced fetching time :)
> 
> Testing: 
> 
> - 'make test' passes
> - There are 28 consumers that i have tested [1]. I've found no failures
>   due to this version.
> 
> Comments/feedback are welcome.

OK afresh1@


> Charlène.
> 
> 
> [0] https://metacpan.org/source/ETHER/UNIVERSAL-isa-1.20171012/Changes
> [1] http://0x0.st/zc7t.tgz
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/p5-Universal-isa/Makefile,v
> retrieving revision 1.14
> diff -u -p -u -p -r1.14 Makefile
> --- Makefile  20 Mar 2016 19:56:41 -  1.14
> +++ Makefile  4 May 2019 13:52:02 -
> @@ -4,14 +4,16 @@ COMMENT=calling UNIVERSAL::isa as a fun
>  
>  MODULES= cpan
>  PKG_ARCH=*
> -DISTNAME=UNIVERSAL-isa-1.03
> -PKGNAME= p5-Universal-isa-1.03
> -REVISION=1
> +
> +V=   1.20171012
> +DISTNAME=UNIVERSAL-isa-${V}
> +PKGNAME= p5-Universal-isa-${V}
> +
>  CATEGORIES=  devel
>  
> +FIX_EXTRACT_PERMISSIONS= Yes
> +
>  # perl
>  PERMIT_PACKAGE_CDROM=Yes
> -
> -CONFIGURE_STYLE=modbuild
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/p5-Universal-isa/distinfo,v
> retrieving revision 1.5
> diff -u -p -u -p -r1.5 distinfo
> --- distinfo  18 Jan 2015 03:13:38 -  1.5
> +++ distinfo  4 May 2019 13:52:02 -
> @@ -1,2 +1,2 @@
> -SHA256 (UNIVERSAL-isa-1.03.tar.gz) = 
> RvaYOd96ldPNnkNW0GnzcE3zs1NW8QMKvy4VCNIsUEI=
> -SIZE (UNIVERSAL-isa-1.03.tar.gz) = 5562
> +SHA256 (UNIVERSAL-isa-1.20171012.tar.gz) = 
> 0WlWA2ywHIGd7H0pT274kb4Ltkh2mJYBNUspMWTafys=
> +SIZE (UNIVERSAL-isa-1.20171012.tar.gz) = 29345
> 

-- 
andrew - http://afresh1.com

A hacker does for love what others would not do for money.



Re: [update] devel/p5-Universal-can 1.16 -> 1.20140328

2019-05-04 Thread Andrew Hewus Fresh
On Sat, May 04, 2019 at 04:46:55PM +0200, Charlene Wendling wrote:
> 
> Here is an update for UNIVERSAL::can. It has the same issues
> as UNIVERSAL::isa. 
> 
> What's new upstream (partial, see [0]): 
> 
> - Move to Dist::Zilla
> - Make tests work with Perl>=5.17.2
> - Add =encoding to POD 
> 
> What's new in the port:
> 
> - don't repeat versions in PKG/DISTNAME dance
> - drop modbuild, it's not used anymore
> - reduced fetching time :)
> 
> Testing: 
> 
> - 'make test' passes
> - There are 28 consumers i've tested. I've found no failures due to
>   this update [1].
> 
> 
> Comments and feedback are welcome.

OK afresh1@


> Charlène. 
> 
> 
> [0]
> https://metacpan.org/source/CHROMATIC/UNIVERSAL-can-1.20140328/Changes
> [1] http://0x0.st/zc7C.tgz
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/p5-Universal-can/Makefile,v
> retrieving revision 1.11
> diff -u -p -u -p -r1.11 Makefile
> --- Makefile  20 Mar 2016 19:56:41 -  1.11
> +++ Makefile  4 May 2019 14:44:11 -
> @@ -4,14 +4,14 @@ COMMENT =   calling UNIVERSAL::can as a fu
>  
>  MODULES =cpan
>  PKG_ARCH =   *
> -DISTNAME =   UNIVERSAL-can-1.16
> -PKGNAME =p5-Universal-can-1.16
> -REVISION =   0
> +
> +V =  1.20140328
> +DISTNAME =   UNIVERSAL-can-${V}
> +PKGNAME =p5-Universal-can-${V}
> +
>  CATEGORIES = devel
>  
>  # perl
>  PERMIT_PACKAGE_CDROM =   Yes
> -
> -CONFIGURE_STYLE=modbuild
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/p5-Universal-can/distinfo,v
> retrieving revision 1.5
> diff -u -p -u -p -r1.5 distinfo
> --- distinfo  18 Jan 2015 03:13:37 -  1.5
> +++ distinfo  4 May 2019 14:44:11 -
> @@ -1,2 +1,2 @@
> -SHA256 (UNIVERSAL-can-1.16.tar.gz) = 
> y8HRPtS549rbCb6pWNPP6xwqvIcg+cMPJiFX3AQF6zo=
> -SIZE (UNIVERSAL-can-1.16.tar.gz) = 7684
> +SHA256 (UNIVERSAL-can-1.20140328.tar.gz) = 
> Ui2p8nR4b+LLqZvHfMHIHSFhlHkD1/rRC9Yt+38RmQ8=
> +SIZE (UNIVERSAL-can-1.20140328.tar.gz) = 14654
> 

-- 
andrew - http://afresh1.com

Instructions are just another man's opinion of how to do something. 
  -- Weldboy #DPWisdom



arm-none-eabi-gcc-linaro-6.3.2017.02p3: incorrect libgcc linking

2019-05-04 Thread SASANO Takayoshi
Hello,

I use arm-none-eabi-gcc-linaro-6.3.2017.02p3 to write a code for
Cortex-M0 SoC, which uses only Thumb instruction.

I found that arm-none-eabi-gcc with -mcpu=cortex-m0 option links
ARM-instruction library when a compiled code has division/remainder
operation.

Here is a code for testing.


int main(int argc, char *argv[])
{
*((volatile int *)0x0a00) =
*((volatile int *)0x0a04) / *((volatile int *)0x0a08);

*((volatile int *)0x0b00) =
*((volatile int *)0x0b04) % *((volatile int *)0x0b08);

return 0;
}


Simply compile with "arm-none-eabi-gcc -mcpu=cortex-m0 test.c" and
disassmble. 


8378 <__aeabi_idivmod>:
8378:   e351cmp r1, #0, 0
837c:   0af7beq 8360 <.divsi3_skip_div0_test+0x110>
8380:   e92d4003push{r0, r1, lr}
8384:   ebb1bl  8250 <.divsi3_skip_div0_test>
8388:   e8bd4006pop {r1, r2, lr}
838c:   e0030092mul r3, r2, r0
8390:   e0411003sub r1, r1, r3
8394:   e12fff1ebx  lr

8398 <__aeabi_idiv0>:
8398:   4770bx  lr
839a:   46c0nop ; (mov r8, r8)

839c :
839c:   b510push{r4, lr}
839e:   0001movsr1, r0
83a0:   2300movsr3, #0
83a2:   2200movsr2, #0
83a4:   2000movsr0, #0
83a6:   f000 fbdb   bl  8b60 <__register_exitproc>
83aa:   bc10pop {r4}
83ac:   bc02pop {r1}
83ae:   4708bx  r1


I found that _mainCRTStartup, __aeabi_idiv, .divsi3_skip_div0_test and
__aeabi_idivmod is ARM, others are Thumb.

I want to use division/remainder function (no startup required),
is there any remedy?

Regards,
-- 
SASANO Takayoshi (JG1UAA) 



CVS: cvs.openbsd.org: ports

2019-05-04 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2019/05/04 18:13:41

Modified files:
archivers/unrar: Makefile distinfo 

Log message:
update to 5.71



CVS: cvs.openbsd.org: ports

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

Modified files:
devel/p5-String-Format: Makefile distinfo 

Log message:
p5-String-Format: update to 1.18
Changelog:
https://metacpan.org/source/SREZIC/String-Format-1.18/Changes

OK steven@



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

2019-05-04 Thread Charlene Wendling


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!

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
--- Makefile16 Mar 2017 15:31:09 -  1.16
+++ Makefile4 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
--- distinfo16 Mar 2017 15:31:09 -  1.8
+++ distinfo4 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.



CVS: cvs.openbsd.org: ports

2019-05-04 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/05/04 16:01:12

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

Log message:
add dhcpcd version check
update php version checks, drop old php branches



CVS: cvs.openbsd.org: ports

2019-05-04 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/05/04 15:56:18

Modified files:
net/dhcpcd : Makefile distinfo 
Added files:
net/dhcpcd/patches: patch-src_if-bsd_c 

Log message:
update to dhcpcd-7.2.2, fixes:

DHCP: Ensure dhcp is running on the interface received from
BSD: Link handling has been simplified, however it is expected
that if an interface supports SIOCGIFMEDIA then it reports
the correct link status via route(4) for reliable operations
BPF: ARP filter is more robust
BSD and sun: Validate RTM message lengths
DHCPv6 (security): Fix a potential read overflow with D6_OPTION_PD_EXCLUDE



CVS: cvs.openbsd.org: ports

2019-05-04 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/05/04 15:47:33

Modified files:
lang/php/7.1   : Makefile distinfo 

Log message:
update to php-7.1.29



CVS: cvs.openbsd.org: ports

2019-05-04 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/05/04 15:46:17

Modified files:
lang/go: go.port.mk 
databases/influxdb: Makefile 
devel/go-tools : Makefile 
devel/hub  : Makefile 
editors/micro  : Makefile 
net/dnscrypt-proxy: Makefile 
net/mattermost-server: Makefile 
net/syncthing  : Makefile 
security/gopass: Makefile 
security/keybase: Makefile 
sysutils/consul-template: Makefile 
sysutils/prometheus: Makefile 
sysutils/telegraf: Makefile 
www/gitea  : Makefile 
www/honk   : Makefile 
Removed files:
editors/micro/patches: patch-Makefile 

Log message:
No need for a special MODGO_ENV for go.port.mk, just use normal MAKE_ENV
like the rest of the ports tree. This also allows removing a bunch of
manual setting of PATH="${PORTPATH}" HOME="${PORTHOME}" done in various
ports etc. This also makes sure CFLAGS is passed through (not everything
honours it but it does improve at least some ports).

Remove NO_CCACHE from www/honk that was added because the above problem
resulted in ccache variables not being passed through correctly breaking
the cc calls in this.

ok kmos@



[update] liblognorm 2.0.6

2019-05-04 Thread Remi Locherer
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?

Remi


Index: Makefile
===
RCS file: /cvs/ports/devel/liblognorm/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile28 Apr 2018 13:04:21 -  1.2
+++ Makefile4 May 2019 20:44:43 -
@@ -2,9 +2,9 @@
 
 COMMENT =  fast-samples based normalization library
 
-DISTNAME = liblognorm-2.0.5
+DISTNAME = liblognorm-2.0.6
 
-SHARED_LIBS += lognorm 0.0 # 0.0
+SHARED_LIBS += lognorm 0.1 # 6.0
 
 CATEGORIES =   devel
 
@@ -15,6 +15,8 @@ PERMIT_PACKAGE_CDROM =Yes
 
 WANTLIB += c estr fastjson
 
+MASTER_SITES = http://www.liblognorm.com/files/download/
+
 AUTOCONF_VERSION = 2.69
 AUTOMAKE_VERSION = 1.15
 
@@ -25,10 +27,15 @@ BUILD_DEPENDS = ${MODGNU_AUTOCONF_DEPEND
 LIB_DEPENDS =  devel/libestr \
devel/libfastjson
 
-MASTER_SITES = http://www.liblognorm.com/files/download/
+TEST_DEPENDS = shells/bash
+
+SEPARATE_BUILD = Yes
 
 CONFIGURE_STYLE =  gnu
 CONFIGURE_ENV =CPPFLAGS="-I${LOCALBASE}/include"
+
+post-extract:
+   sed -i s,#!/bin/bash,#!${LOCALBASE}/bin/bash, ${WRKSRC}/tests/*.sh
 
 post-patch:
cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} \
Index: distinfo
===
RCS file: /cvs/ports/devel/liblognorm/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo28 Apr 2018 13:04:21 -  1.2
+++ distinfo4 May 2019 20:19:58 -
@@ -1,2 +1,2 @@
-SHA256 (liblognorm-2.0.5.tar.gz) = yBUdqDshAx8Ii7Ko6mdOT37lhVGCnphQKCRYQTMNsZA=
-SIZE (liblognorm-2.0.5.tar.gz) = 667709
+SHA256 (liblognorm-2.0.6.tar.gz) = z/BX6FwiA4mS+e0S641OY8Ra31OlpR+qoyefYFgJ9vI=
+SIZE (liblognorm-2.0.6.tar.gz) = 666712



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

2019-05-04 Thread Brian Callahan

Hi Jerome --

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.

~Brian



solvespace.tgz
Description: application/compressed-tar


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

2019-05-04 Thread Charlene Wendling


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 :) 

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
--- Makefile9 May 2017 08:12:45 -   1.17
+++ Makefile4 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
--- distinfo9 May 2017 08:12:45 -   1.10
+++ distinfo4 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



CVS: cvs.openbsd.org: ports

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

Modified files:
misc/gpsd  : Makefile 

Log message:
Amend LIB_DEPENDS-main so libestdc++ from gcc-libs can be found

Unbreaks build on sparc64.  Sync WANTLIB-main while here.



CVS: cvs.openbsd.org: ports

2019-05-04 Thread Remi Locherer
CVSROOT:/cvs
Module name:ports
Changes by: r...@cvs.openbsd.org2019/05/04 14:16:43

Modified files:
sysutils/librelp: Makefile distinfo 
Added files:
sysutils/librelp/patches: patch-src_tcp_c 

Log message:
Update librelp to version  1.4.0. It now supports OpenSSL and GnuTLS.

Many inputs from jca@
OK jca@



CVS: cvs.openbsd.org: ports

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

Modified files:
sysutils/restic: Makefile distinfo 

Log message:
Update to restic-0.9.5.

Changelog can be found at
https://github.com/restic/restic/blob/master/CHANGELOG.md

OK abieber@ (maintainer, who has the same diff locally)



Re: [update] librelp 1.4.0

2019-05-04 Thread Remi Locherer
On Sat, May 04, 2019 at 07:14:14PM +0200, Jeremie Courreges-Anglas wrote:
> On Sat, May 04 2019, Antoine Jacoutot  wrote:
> > On Sat, May 04, 2019 at 02:26:12PM +0200, Remi Locherer wrote:
> >> On Fri, May 03, 2019 at 08:55:40PM +0200, Jeremie Courreges-Anglas wrote:
> 
> [...]
> 
> >> > - use python2, needed by tests/dummyserver.py (previously SKIPPED
> >> >   because of the lack of "timeout" command)
> 
> [...]
> 
> >> +MODULES = lang/python
> >> +MODPY_BUILDDEP =  No
> >> +MODPY_RUNDEP =No
> >> +MODPY_VERSION =   ${MODPY_DEFAULT_VERSION_2}
> >
> > Do we need to set MODPY_VERSION? It's default.
> 
> Not needed, technically.  I thought it would be good to be explicit
> since python is only used for tests, so it's unlikely to be spotted when
> we switch to python3 by default.
> 
> On the other hand, there's a non-zero chance that librelp tests will
> fully support python3 before the python3 switch happens in our tree.
> I don't care much either way, I'll defer to Remi (maintainer) and you.

I'll delete that line.



NEW: games/freesynd

2019-05-04 Thread Brian Callahan

Hi ports --

Attached is a new port, games/freesynd. FreeSynd is an open source 
reimplementation of the game Syndicate by Bullfrog.


---
pkg/DESCR:
FreeSynd is a cross-platform, GPLed reimplementation of the engine for
the classic Bullfrog game, Syndicate.

While freesynd is a game engine and is open source software, Syndicate
is proprietary software and must be purchased in order for freesynd to
work.
---

This is another one of those engine-only packages, you have to already 
own the game for it to work. pkg/README has the details:


---
$OpenBSD$

+---
| Running ${PKGSTEM} on OpenBSD
+---

freesynd

FreeSynd requires the original game files from Syndicate to work
properly.  These must be the original game, not Syndicate Plus.

While freesynd is a game engine and is open source software, Syndicate
is proprietary software and must be purchased in order for FreeSynd to
work.

The game files (under DATA) as well as intro.xmi and syngame.xmi must
be placed in ${TRUEPREFIX}/share/freesnyd/data
---

It works well for me on amd64.

OK?

~Brian



freesynd.tgz
Description: application/compressed-tar


CVS: cvs.openbsd.org: ports

2019-05-04 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2019/05/04 13:02:49

Modified files:
net/py-siphon  : Makefile 
net/py-siphon/pkg: DESCR 

Log message:
Fix HOMEPAGE link to point at the actual project and add a URL
to the THREDDS data server, which is the primary target of users
of this port.

>From a tip by Stefan Wollny - Thank you

OK from kn@ and Martin Reindl (maintainer)



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

2019-05-04 Thread Neon King
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


solvespace-2.3.20190501.tar.gz
Description: application/gzip


UPDATE archivers/fuse-zip

2019-05-04 Thread Björn Ketelaars
Simple update to fuse-zip-0.6.0. Changelog can be found at
https://bitbucket.org/agalanin/fuse-zip/src/default/changelog.

Tested on amd64 by adding, and removing some files to a fuse mounted
archive. 'make test' runs successfully on amd64.

OK?


Index: Makefile
===
RCS file: /cvs/ports/archivers/fuse-zip/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile10 Dec 2018 16:28:54 -  1.13
+++ Makefile4 May 2019 18:47:12 -
@@ -2,7 +2,7 @@
 
 COMMENT =  navigate zip archives through FUSE
 
-DISTNAME = fuse-zip-0.5.0
+DISTNAME = fuse-zip-0.6.0
 
 CATEGORIES =   archivers
 
Index: distinfo
===
RCS file: /cvs/ports/archivers/fuse-zip/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo7 Dec 2018 13:20:31 -   1.5
+++ distinfo4 May 2019 18:47:12 -
@@ -1,2 +1,2 @@
-SHA256 (fuse-zip-0.5.0.tar.gz) = 3VUwc/gVS11i51LlPhFfvZKFhvCLeTZzV0/HXmssmro=
-SIZE (fuse-zip-0.5.0.tar.gz) = 688610
+SHA256 (fuse-zip-0.6.0.tar.gz) = IZhceKuXhwM8/3r+TZopJSOD/SjOg+sNnMK5Y6HF1lY=
+SIZE (fuse-zip-0.6.0.tar.gz) = 692289



NEW: net/py-minimalmodbus 0.7

2019-05-04 Thread Martin Reindl
Hello ports,

attached is a port of MinimalModbus 0.7:

MinimalModbus is an easy-to-use Python module for talking to
instruments (slaves) from a computer (master) using the Modbus
protocol, and is intended to be running on the master. Example code
includes drivers for Eurotherm and Omega process controllers. This
software supports the Modbus RTU and Modbus ASCII serial communication
versions of the protocol.

Used here for controlling a Eurotherm TE200A with data from a SDM630.

-m


minimalmodbus.tgz
Description: GNU Zip compressed data


Re: [update] librelp 1.4.0

2019-05-04 Thread Jeremie Courreges-Anglas
On Sat, May 04 2019, Antoine Jacoutot  wrote:
> On Sat, May 04, 2019 at 02:26:12PM +0200, Remi Locherer wrote:
>> On Fri, May 03, 2019 at 08:55:40PM +0200, Jeremie Courreges-Anglas wrote:

[...]

>> > - use python2, needed by tests/dummyserver.py (previously SKIPPED
>> >   because of the lack of "timeout" command)

[...]

>> +MODULES =   lang/python
>> +MODPY_BUILDDEP =No
>> +MODPY_RUNDEP =  No
>> +MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
>
> Do we need to set MODPY_VERSION? It's default.

Not needed, technically.  I thought it would be good to be explicit
since python is only used for tests, so it's unlikely to be spotted when
we switch to python3 by default.

On the other hand, there's a non-zero chance that librelp tests will
fully support python3 before the python3 switch happens in our tree.
I don't care much either way, I'll defer to Remi (maintainer) and you.

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



Re: Update: audio/cmus

2019-05-04 Thread Jeremie Courreges-Anglas
On Sat, May 04 2019, Charlene Wendling  wrote:

[...]

>> ---8<---
>> $ make port-lib-depends-check
>> ...
>> cmus-2.8.0(audio/cmus,-main):
>> Extra:  ogg.6 vorbis.9
>> --->8---
>> 
>> Seems fishy... I can play my vorbis files fine...
>
>> > cmus dlopen's modules for input and output.  Adding the affected
>> > libraries to WANTLIB-main makes sense so that a vorbis or ogg update
>> > triggers a signature change and an update, but adding a comment to
>> > explain the rationale would help.
>
> Thanks, i did it that way.

For audacity I used

--8<--
# dlopened
WANTLIB += mp3lame
-->8--

trusting that people would not remove that unless they understand what
they are doing.  I guess your more explicit wording is safer, I'm fine
with it.  :)

(I haven't looked at the rest of the update.)

[...]

> +# Seen as EXTRAs but should be kept as cmus dlopen(3)'s its modules for
> +# input and output, so cmus needs an update if one of those are bumped
> +WANTLIB-main+=   ogg vorbis

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



CVS: cvs.openbsd.org: ports

2019-05-04 Thread Ingo Feinerer
CVSROOT:/cvs
Module name:ports
Changes by: feine...@cvs.openbsd.org2019/05/04 11:09:12

Modified files:
multimedia/libv4l: Makefile distinfo 

Log message:
Update to libv4l 1.16.6



Re: Update: audio/cmus

2019-05-04 Thread Charlene Wendling
On Sat, 4 May 2019 15:40:08 +0100
Edd Barrett  wrote:

> Hi,
> 
> On Sat, May 04, 2019 at 02:29:10PM +0200, Charlene Wendling wrote:
> > +Index: ip/ffmpeg.c
> > +--- ip/ffmpeg.c.orig
> >  ip/ffmpeg.c
> > +@@ -62,6 +62,7 @@ struct ffmpeg_private {
> > +   AVFormatContext *input_context;
> > +   AVCodec *codec;
> > +   SwrContext *swr;
> > ++  int stream_index;
> > + 
> > +   struct ffmpeg_input *input;
> > +   struct ffmpeg_output *output;
> 
> ^ This patch seems redundant? I removed it and it still builds.

I've missed it.

It's not, but i don't get why it has been added, no upstream issue
references it, so it's zapped now.

> ---8<---
> $ make port-lib-depends-check
> ...
> cmus-2.8.0(audio/cmus,-main):
> Extra:  ogg.6 vorbis.9
> --->8---
> 
> Seems fishy... I can play my vorbis files fine...

> > cmus dlopen's modules for input and output.  Adding the affected
> > libraries to WANTLIB-main makes sense so that a vorbis or ogg update
> > triggers a signature change and an update, but adding a comment to
> > explain the rationale would help.

Thanks, i did it that way.

> -- 
> Best Regards
> Edd Barrett
> 
> http://www.theunixzoo.co.uk


Index: Makefile
===
RCS file: /cvs/ports/audio/cmus/Makefile,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 Makefile
--- Makefile16 Apr 2019 20:19:01 -  1.20
+++ Makefile4 May 2019 16:37:21 -
@@ -3,11 +3,10 @@
 COMMENT-main=  ncurses-based music player
 COMMENT-ffmpeg=ffmpeg input plugin for cmus (.aac, .mp4...)
 
-V= 2.7.1
+V= 2.8.0
 DISTNAME=  cmus-${V}
 PKGNAME-main=  ${PKGNAME}
 PKGNAME-ffmpeg=cmus-ffmpeg-${V}
-REVISION=  6
 
 GH_ACCOUNT=cmus
 GH_PROJECT=cmus
@@ -21,12 +20,17 @@ PERMIT_PACKAGE_CDROM=   Yes
 
 MULTI_PACKAGES=-main -ffmpeg
 
-WANTLIB-main+= c cdio cdio_cdda cue curses discid FLAC iconv m mad
-WANTLIB-main+= ogg opusfile pthread sndio vorbis vorbisfile wavpack
+WANTLIB-main+= c cdio cdio_cdda curses discid FLAC iconv m mad
+WANTLIB-main+= opusfile pthread sndio vorbisfile wavpack
 
+# Seen as EXTRAs but should be kept as cmus dlopen(3)'s its modules for
+# input and output, so cmus needs an update if one of those are bumped
+WANTLIB-main+= ogg vorbis
+
+# C11
+COMPILER=  base-clang ports-gcc
 LIB_DEPENDS-main=  audio/flac \
audio/libcdio \
-   audio/libcue \
audio/libdiscid \
audio/libmad \
audio/libogg \
@@ -42,7 +46,8 @@ RUN_DEPENDS-ffmpeg=   audio/cmus
 USE_GMAKE= Yes
 
 CONFIGURE_STYLE=   simple
-CONFIGURE_ENV= HOSTCC="${CC}" HOSTLD="${CC}" HOST_CFLAGS="${CFLAGS}"
+CONFIGURE_ENV= HOSTCC="${CC}" HOSTLD="${CC}" \
+   HOST_CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
 CFLAGS+=   -Wno-system-headers
 # Note: We're explicitly disabling CONFIG_CDDB as it gets undef'd in cdio.c
 CONFIGURE_ARGS=prefix=${PREFIX} \
@@ -68,6 +73,13 @@ CONFIGURE_ARGS=  prefix=${PREFIX} \
CONFIG_VTX=n
 
 NO_TEST=   Yes
+
+#  undefined reference to `__atomic_fetch_add_8'
+.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "hppa"
+WANTLIB-main += atomic
+WANTLIB-ffmpeg += atomic
+LDFLAGS += -latomic
+.endif
 
 pre-build:
sed -i s,/usr,${LOCALBASE}, ${WRKSRC}/Doc/cmus.txt
Index: distinfo
===
RCS file: /cvs/ports/audio/cmus/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo17 Jan 2016 01:16:38 -  1.4
+++ distinfo4 May 2019 16:37:21 -
@@ -1,2 +1,2 @@
-SHA256 (cmus-2.7.1.tar.gz) = gXmnqEPSV921hfTGVZmES8DlFv6F6X9vh6fOreTrUWU=
-SIZE (cmus-2.7.1.tar.gz) = 296818
+SHA256 (cmus-2.8.0.tar.gz) = dWzixiQbIQTcGQl0iCJd5VmsGAKhdb4CM8+2+8AvO9I=
+SIZE (cmus-2.8.0.tar.gz) = 317243
Index: patches/patch-Makefile
===
RCS file: /cvs/ports/audio/cmus/patches/patch-Makefile,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-Makefile
--- patches/patch-Makefile  17 Jan 2016 01:16:38 -  1.2
+++ patches/patch-Makefile  4 May 2019 16:37:21 -
@@ -2,9 +2,10 @@ $OpenBSD: patch-Makefile,v 1.2 2016/01/1
 
 Fix install(1) usage.
 
 Makefile.orig  Mon Jul 13 12:00:56 2015
-+++ Makefile   Tue Jul 28 14:05:50 2015
-@@ -262,17 +262,21 @@ plugins: $(ip-y) $(op-y)
+Index: Makefile
+--- Makefile.orig
 Makefile
+@@ -272,17 +272,21 @@ plugins: $(ip-y) $(op-y)
  man: $(man1) $(man7)
  
  install-main: main
Index: patches/patch-configure
===
RCS file: /cvs/ports/audio/cmus/patches/patch-configure,v
retrieving 

Re: [update] librelp 1.4.0

2019-05-04 Thread Antoine Jacoutot
On Sat, May 04, 2019 at 02:26:12PM +0200, Remi Locherer wrote:
> On Fri, May 03, 2019 at 08:55:40PM +0200, Jeremie Courreges-Anglas wrote:
> > On Fri, May 03 2019, Remi Locherer  wrote:
> > > Hi porters
> > >
> > > This updates librelp to version 1.4.0. It now supports OpenSSL and GNUtls.
> > >
> > > I verified that rsyslog from ports still works with this (imrelp and 
> > > omrelp).
> > >
> > > Please have a look at my patch for tcp.c. Is this a good way to deal with
> > > LibreSSL not supporting @SECLEVEL?
> > 
> > I think it's fine.  No need to spread the 
> > "!defined(LIBRESSL_VERSION_NUMBER)" disease.
> > 
> > > Comments/OKs?
> > 
> > As noted by Antoine the python version shouldn't be hardcoded.  Here's
> > a proposal which:
> > - removes gnutls from TEST_DEPENDS (LIB_DEPENDS is enough)
> > - adds coreutils to TEST_DEPENDS for gtimeout, so that the *abort* tests
> >   aren't skipped
> > - uses MODPY_RUN_DEPENDS and MODPY_BIN from the python module instead of
> >   hardcoding the python path and version.  We could have used
> >   MODPY_ADJ_FILES=tests/*.py but tests/test-framework.sh would have
> >   needed patching anyway.
> > - use python2, needed by tests/dummyserver.py (previously SKIPPED
> >   because of the lack of "timeout" command)
> > - moves the /bin/bash handling to post-extract so that update-patches
> >   doesn't create bogus patches
> > 
> > Note that you could also add a TEST_DEPENDS on sysutils/ggrep instead of
> > patching tests/tls-wrong-signedcert.sh.
> > 
> > The major bump is warranted (symbols have been removed) and the update
> > looks good ports-wise.
> 
> Thanks a lot for all these inputs!
> 
> I like your suggestion to add ggrep to TEST_DEPENDS. I believe that lowers
> future maintenance work.
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/sysutils/librelp/Makefile,v
> retrieving revision 1.13
> diff -u -p -r1.13 Makefile
> --- Makefile  13 Aug 2018 22:07:13 -  1.13
> +++ Makefile  3 May 2019 21:55:33 -
> @@ -2,9 +2,9 @@
>  
>  COMMENT =reliable event logging protocol library
>  
> -DISTNAME =   librelp-1.2.16
> +DISTNAME =   librelp-1.4.0
>  
> -SHARED_LIBS +=  relp  2.0 # 4.0
> +SHARED_LIBS +=  relp  3.0 # 5.0
>  
>  CATEGORIES = sysutils
>  
> @@ -16,20 +16,32 @@ MAINTAINER =  Remi Locherer   PERMIT_PACKAGE_CDROM =   Yes
>  
>  WANTLIB =  ffi gmp gnutls hogweed iconv idn2 intl nettle p11-kit pthread
> -WANTLIB += tasn1 unistring z
> +WANTLIB += tasn1 unistring crypto ssl
>  
>  MASTER_SITES =   http://download.rsyslog.com/librelp/
>  
> -LIB_DEPENDS =security/gnutls
> +MODULES =lang/python
> +MODPY_BUILDDEP = No
> +MODPY_RUNDEP =   No
> +MODPY_VERSION =  ${MODPY_DEFAULT_VERSION_2}

Do we need to set MODPY_VERSION? It's default.


>  
> +LIB_DEPENDS =security/gnutls
>  TEST_DEPENDS =   shells/bash \
> - ${LIB_DEPENDS}
> + sysutils/coreutils \
> + sysutils/ggrep \
> + ${MODPY_RUN_DEPENDS}
>  
>  SEPARATE_BUILD = Yes
>  
>  CONFIGURE_STYLE =gnu
> +CONFIGURE_ARGS = --disable-valgrind
>  
> -pre-test:
> +post-extract:
>   sed -i s,#!/bin/bash,#!${LOCALBASE}/bin/bash, ${WRKSRC}/tests/*.sh
> +
> +pre-test:
> + ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python
> + ln -sf ${LOCALBASE}/bin/gtimeout ${WRKDIR}/bin/timeout
> + ln -sf ${LOCALBASE}/bin/ggrep ${WRKDIR}/bin/grep
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/sysutils/librelp/distinfo,v
> retrieving revision 1.6
> diff -u -p -r1.6 distinfo
> --- distinfo  13 Aug 2018 22:07:13 -  1.6
> +++ distinfo  3 May 2019 21:50:20 -
> @@ -1,2 +1,2 @@
> -SHA256 (librelp-1.2.16.tar.gz) = DCNd0qAQYK1eZEOIebMa5k52QNDiYqoaKHot2bxg/VM=
> -SIZE (librelp-1.2.16.tar.gz) = 474456
> +SHA256 (librelp-1.4.0.tar.gz) = XNAs5+3i/qA35lzFOJ5B3embabHfmEtCwUAp5gu53QU=
> +SIZE (librelp-1.4.0.tar.gz) = 519235
> Index: patches/patch-src_tcp_c
> ===
> RCS file: patches/patch-src_tcp_c
> diff -N patches/patch-src_tcp_c
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-src_tcp_c   3 May 2019 21:50:20 -
> @@ -0,0 +1,22 @@
> +$OpenBSD$
> +
> +LibreSSL has no support for @SECLEVEL
> +
> +Index: src/tcp.c
> +--- src/tcp.c.orig
>  src/tcp.c
> +@@ -1183,14 +1183,8 @@ relpTcpTLSSetPrio_ossl(relpTcp_t *const pThis)
> + /* Compute priority string (in simple cases where the user does not 
> care...) */
> + if(pThis->pristring == NULL) {
> + if (pThis->authmode == eRelpAuthMode_None) {
> +-#if OPENSSL_VERSION_NUMBER >= 0x1010L
> +- /* NOTE: do never use: +eNULL, it DISABLES encryption! 
> */
> +- 

Re: rm lang/jikes, ...

2019-05-04 Thread Yozo TODA
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

> You do know that Jikes stopped being developed sometime around Java 5 
> (our ports is at 11; latest release is 12^H^H13), right?

Yeah, I know.

> But certainly, if you want it, take it, with my blessing. Alternate 
> implementations are often fun.

thanks (-:

 -- yozo.

-BEGIN PGP SIGNATURE-

iQJJBAEBCgAzFiEEsSBE3BD3oI0EPJSvM6KY3A5GNSgFAlzNvgkVHHlvem9AdjAw
Ny52YWlvLm5lLmpwAAoJEDOimNwORjUon8MQAIXg5ttHYejNbBNXbZxhW+dt/IZ0
+evyk26kDWpcbBZ69MxS1Fdn7TC/uaRbI1OxEZMGJJeW9zvU19jzZF7vmfyGjgPv
AOMg3uCmDnNEH8ozbgO6sKPOcNzzUU+jzibW6wv7ka+Br6DLQwcVmJtI1pUObfnG
a0PwUOyA3SkQbVXfZAZHDZLx3TW3pqKbzpuiUvFjhvYtWIeTtLGXeVIUFZ8MMjDZ
XJ2+H2HEFyn9ohLmUEhPB0UbhFG0lV2G/j35qy/v2D8OX+wnbbKR/UQF5B4UYEMp
3A6rAyjjQ/dd542bz6HdJK7jAPwDRqANed14E6mR014eF1Mct2qovt04ZOqy23q7
Ct1uguL3RBTM1wuwULJvwlvt/eKpj9/jPfPOPVPUNNqZL9/lSy7LOgV3K0Wx9xSh
tW08Sm0bUFtgZDnjTYLBPyG9M15459uQAdNwHxNSidso/giAoxsI9L1vzj1kLdBD
TfGEN6FLB7tmuLJ8WnADmcDA6SUDuBT80HHF+nnaGjd00v7ZPJcaQCyQiOlozwza
YflNENmIfJudEiALpNkNaEoslhTd7jHSRcuyaWqLvC6wYAqMV6ilCpMQQeOoN/2t
tVjPvLJjTkTR2sV2oL4sWAC6+x3q2iKWN9NobkbqcwbObvHEZ/1U/FLNkOz8QVvT
vpSiRrBwwJuK0Xit
=RfRI
-END PGP SIGNATURE-



unbreak graphics/pdf2djvu after poppler update

2019-05-04 Thread Matthias Kilian
Hi,

this unbreaks pdf2djvu with poppler-0.76.

To be committed right after the poppler update.

ok?

Index: patches/patch-pdf2djvu_cc
===
RCS file: patches/patch-pdf2djvu_cc
diff -N patches/patch-pdf2djvu_cc
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-pdf2djvu_cc   4 May 2019 15:55:58 -
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Fix build with poppler-0.76.
+
+Index: pdf2djvu.cc
+--- pdf2djvu.cc.orig
 pdf2djvu.cc
+@@ -87,7 +87,7 @@ static int get_page_for_goto_link(pdf::link::GoTo *got
+ if (dest->isPageRef())
+ {
+   Ref pageref = dest->getPageRef();
+-  page = catalog->findPage(pageref.num, pageref.gen);
++  page = catalog->findPage(pageref);
+ }
+ else
+   page = dest->getPageNum();



update print/poppler

2019-05-04 Thread Matthias Kilian
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...

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
--- Makefile21 Apr 2019 23:27:53 -  1.138
+++ Makefile30 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
--- distinfo21 Apr 2019 23:27:53 -  1.70
+++ distinfo30 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-main  20 Feb 2019 17:10:45 -  1.31
+++ pkg/PLIST-main  30 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



Re: Update: audio/cmus

2019-05-04 Thread Jeremie Courreges-Anglas
On Sat, May 04 2019, Edd Barrett  wrote:
> Hi,
>
> On Sat, May 04, 2019 at 02:29:10PM +0200, Charlene Wendling wrote:
>> +Index: ip/ffmpeg.c
>> +--- ip/ffmpeg.c.orig
>>  ip/ffmpeg.c
>> +@@ -62,6 +62,7 @@ struct ffmpeg_private {
>> +AVFormatContext *input_context;
>> +AVCodec *codec;
>> +SwrContext *swr;
>> ++   int stream_index;
>> + 
>> +struct ffmpeg_input *input;
>> +struct ffmpeg_output *output;
>
> ^ This patch seems redundant? I removed it and it still builds.
>
> ---8<---
> $ make port-lib-depends-check
> ...
> cmus-2.8.0(audio/cmus,-main):
> Extra:  ogg.6 vorbis.9
> --->8---
>
> Seems fishy... I can play my vorbis files fine...

cmus dlopen's modules for input and output.  Adding the affected
libraries to WANTLIB-main makes sense so that a vorbis or ogg update
triggers a signature change and an update, but adding a comment to
explain the rationale would help.

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



CVS: cvs.openbsd.org: ports

2019-05-04 Thread Edd Barrett
CVSROOT:/cvs
Module name:ports
Changes by: e...@cvs.openbsd.org2019/05/04 09:08:45

Modified files:
sysutils/supervisor: Makefile distinfo 
sysutils/supervisor/patches: patch-supervisor_skel_sample_conf 
sysutils/supervisor/pkg: PLIST supervisord.rc 

Log message:
Update sysutils/supervisor to version 4.0.2.

OK solene@, thanks!



CVS: cvs.openbsd.org: ports

2019-05-04 Thread Joel Sing
CVSROOT:/cvs
Module name:ports
Changes by: js...@cvs.openbsd.org   2019/05/04 09:03:15

Modified files:
lang/go: Makefile 

Log message:
Ensure GOCACHE refers to a suitable location when building Go.

Issue found and fix verified by phessler@



[update] devel/p5-Universal-can 1.16 -> 1.20140328

2019-05-04 Thread Charlene Wendling


Here is an update for UNIVERSAL::can. It has the same issues
as UNIVERSAL::isa. 

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

- Move to Dist::Zilla
- Make tests work with Perl>=5.17.2
- Add =encoding to POD 

What's new in the port:

- don't repeat versions in PKG/DISTNAME dance
- drop modbuild, it's not used anymore
- reduced fetching time :)

Testing: 

- 'make test' passes
- There are 28 consumers i've tested. I've found no failures due to
  this update [1].


Comments and feedback are welcome.

Charlène. 


[0]
https://metacpan.org/source/CHROMATIC/UNIVERSAL-can-1.20140328/Changes
[1] http://0x0.st/zc7C.tgz


Index: Makefile
===
RCS file: /cvs/ports/devel/p5-Universal-can/Makefile,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 Makefile
--- Makefile20 Mar 2016 19:56:41 -  1.11
+++ Makefile4 May 2019 14:44:11 -
@@ -4,14 +4,14 @@ COMMENT = calling UNIVERSAL::can as a fu
 
 MODULES =  cpan
 PKG_ARCH = *
-DISTNAME = UNIVERSAL-can-1.16
-PKGNAME =  p5-Universal-can-1.16
-REVISION = 0
+
+V =1.20140328
+DISTNAME = UNIVERSAL-can-${V}
+PKGNAME =  p5-Universal-can-${V}
+
 CATEGORIES =   devel
 
 # perl
 PERMIT_PACKAGE_CDROM = Yes
-
-CONFIGURE_STYLE=modbuild
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-Universal-can/distinfo,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 distinfo
--- distinfo18 Jan 2015 03:13:37 -  1.5
+++ distinfo4 May 2019 14:44:11 -
@@ -1,2 +1,2 @@
-SHA256 (UNIVERSAL-can-1.16.tar.gz) = 
y8HRPtS549rbCb6pWNPP6xwqvIcg+cMPJiFX3AQF6zo=
-SIZE (UNIVERSAL-can-1.16.tar.gz) = 7684
+SHA256 (UNIVERSAL-can-1.20140328.tar.gz) = 
Ui2p8nR4b+LLqZvHfMHIHSFhlHkD1/rRC9Yt+38RmQ8=
+SIZE (UNIVERSAL-can-1.20140328.tar.gz) = 14654



Re: Update: audio/cmus

2019-05-04 Thread Edd Barrett
Hi,

On Sat, May 04, 2019 at 02:29:10PM +0200, Charlene Wendling wrote:
> +Index: ip/ffmpeg.c
> +--- ip/ffmpeg.c.orig
>  ip/ffmpeg.c
> +@@ -62,6 +62,7 @@ struct ffmpeg_private {
> + AVFormatContext *input_context;
> + AVCodec *codec;
> + SwrContext *swr;
> ++int stream_index;
> + 
> + struct ffmpeg_input *input;
> + struct ffmpeg_output *output;

^ This patch seems redundant? I removed it and it still builds.

---8<---
$ make port-lib-depends-check
...
cmus-2.8.0(audio/cmus,-main):
Extra:  ogg.6 vorbis.9
--->8---

Seems fishy... I can play my vorbis files fine...

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk



CVS: cvs.openbsd.org: ports

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

Modified files:
sysutils/entr  : Makefile distinfo 

Log message:
update to entr-4.2, don't use a wildcard in WRKDIST



Re: Remove www/wml?

2019-05-04 Thread Klemens Nanni
On Sat, May 04, 2019 at 04:01:18PM +0200, Jeremie Courreges-Anglas wrote:
> Given those reasons, I propose to delete this port.  ok?
> 
> (Of course if someone uses this, takes over maintainership and updates
> it to the latest version then it can be kept/re-added to the tree.)
I concur.  OK to remove unless you hear from someone.



CVS: cvs.openbsd.org: ports

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

Modified files:
www: Makefile 
devel/quirks   : Makefile 
devel/quirks/files: Quirks.pm 
Removed files:
www/piwik  : Makefile distinfo 
www/piwik/patches: patch-config_global_ini_php 
www/piwik/pkg  : DESCR PLIST README 

Log message:
Remove piwik, web app lagging behind upstream

The port does little more than extracting the port and tweaking perms.
Since it is not kept up to date (especially wrt security issues) it
doesn't make sense to provide it here.  ok danj@ sthen@ bcallah@

Note: the project has been renamed to Matomo in January 2018



Re: NEW: py-netCDF4

2019-05-04 Thread Martin Reindl
Am 03.05.19 um 20:04 schrieb Martin Reindl:
> Am 03.05.19 um 19:39 schrieb Kurt Mosiejczuk:
>> On Fri, May 03, 2019 at 06:43:06PM +0200, Landry Breuil wrote:
>>
 Note the port packages three scripts into bin/, leading to collisions
 when installing the python3 flavor. Any hint on how to handle this is
 very much appreciated.
>>
>>> See geo/py-rasterio/Makefile for an example (check the corresponding
>>> PLIST):
>>
>>> post-install:
>>> mv ${PREFIX}/bin/rio{,${MODPY_BIN_SUFFIX}}
>>
>> Pamela once pointed me at www/py-gunicorn for an excellent source of
>> code for many special cases.
>>
>> It has:
>>
>> post-install:
>> for i in ${PREFIX}/bin/*; do \
>> mv $${i} $${i}${MODPY_BIN_SUFFIX} ;\
>> done
>>
>> Which is nice and generic, so even if the name of binaries in a port
>> changes, you are fine.
> 
> Looks good and works for me, thanks. Updated tarball attached.
> 

New tarball with up-to-date 1.5.1.1 release just out.

-m


py-netcdf4.tgz
Description: GNU Zip compressed data


CVS: cvs.openbsd.org: ports

2019-05-04 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/05/04 08:05:26

Modified files:
textproc   : Makefile 

Log message:
+pecl-yaml,php7{1,2,3}



CVS: cvs.openbsd.org: ports

2019-05-04 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/05/04 08:04:16

Log message:
import textproc/pecl-yaml, ok bcallah@

pecl-yaml provides PHP support for YAML 1.1 (YAML Ain't Markup Language)
serialization using the LibYAML library.

Status:

Vendor Tag: sthen
Release Tags:   sthen_20190504

N ports/textproc/pecl-yaml/Makefile
N ports/textproc/pecl-yaml/distinfo
N ports/textproc/pecl-yaml/pkg/DESCR
N ports/textproc/pecl-yaml/pkg/PLIST

No conflicts created by this import



Remove www/wml?

2019-05-04 Thread Jeremie Courreges-Anglas


COMMENT =   Website META Language: off-line HTML generation toolkit

Last update was:

  revision 1.3
  date: 2008/10/01 20:15:04;  author: millert;  state: Exp;  lines: +2 -2;
  Update to wml 2.0.11 and fix an assumption in configure that is
  not valid for perl-5.10.0.  OK bernd@

Makefile is now at rev 1.23 with most changes looking like life support
(fixes for new Perl versions, LP64 fixes, etc).

The project has been taken over by shlomifish[0] with development taking
place on github[1].  Shlomi himself says:

  "An old offline HTML preprocessor (which can be used for static site
  generation), written in Perl and C that is still maintained for legacy
  reasons, but probably not recommended for new sites."

Given those reasons, I propose to delete this port.  ok?

(Of course if someone uses this, takes over maintainership and updates
it to the latest version then it can be kept/re-added to the tree.)

[0] https://www.shlomifish.org/open-source/projects/website-meta-language/
[1] https://github.com/thewml/website-meta-language

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



[update] devel/p5-Universal-isa 1.03 -> 1.20171012

2019-05-04 Thread Charlene Wendling


Here is an update for UNIVERSAL::isa.

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

- Move to Dist::Zilla 
- Make tests work with Perl>=5.17.2
- The original isa sub is now available in original_isa()

What's new in the port:

- use FIX_EXTRACT_PERMISSIONS (ETHER)
- don't repeat versions in PKG/DISTNAME dance
- drop modbuild, it's not used anymore
- reduced fetching time :)

Testing: 

- 'make test' passes
- There are 28 consumers that i have tested [1]. I've found no failures
  due to this version.

Comments/feedback are welcome.

Charlène.


[0] https://metacpan.org/source/ETHER/UNIVERSAL-isa-1.20171012/Changes
[1] http://0x0.st/zc7t.tgz


Index: Makefile
===
RCS file: /cvs/ports/devel/p5-Universal-isa/Makefile,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 Makefile
--- Makefile20 Mar 2016 19:56:41 -  1.14
+++ Makefile4 May 2019 13:52:02 -
@@ -4,14 +4,16 @@ COMMENT=  calling UNIVERSAL::isa as a fun
 
 MODULES=   cpan
 PKG_ARCH=  *
-DISTNAME=  UNIVERSAL-isa-1.03
-PKGNAME=   p5-Universal-isa-1.03
-REVISION=  1
+
+V= 1.20171012
+DISTNAME=  UNIVERSAL-isa-${V}
+PKGNAME=   p5-Universal-isa-${V}
+
 CATEGORIES=devel
 
+FIX_EXTRACT_PERMISSIONS=   Yes
+
 # perl
 PERMIT_PACKAGE_CDROM=  Yes
-
-CONFIGURE_STYLE=modbuild
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-Universal-isa/distinfo,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 distinfo
--- distinfo18 Jan 2015 03:13:38 -  1.5
+++ distinfo4 May 2019 13:52:02 -
@@ -1,2 +1,2 @@
-SHA256 (UNIVERSAL-isa-1.03.tar.gz) = 
RvaYOd96ldPNnkNW0GnzcE3zs1NW8QMKvy4VCNIsUEI=
-SIZE (UNIVERSAL-isa-1.03.tar.gz) = 5562
+SHA256 (UNIVERSAL-isa-1.20171012.tar.gz) = 
0WlWA2ywHIGd7H0pT274kb4Ltkh2mJYBNUspMWTafys=
+SIZE (UNIVERSAL-isa-1.20171012.tar.gz) = 29345



Re: Remove www/piwik?

2019-05-04 Thread Stuart Henderson
On 2019/05/04 15:40, Jeremie Courreges-Anglas wrote:
> 
> I did not know that we had a port for Piwik, a web analytics
> application.
> 
> Since this is a web application, I decided to take a closer look:
> - $MAINTAINER has been removed per his request
> - the port does little more than extracting the tarball and adjusting
>   permissions.
> - we're now at piwik-3.5.1 while upstream has since published
>   piwik-3.9.1 and piwik-3.10.0-b1.  Also the project has been renamed to
>   Matomo[1] in January 2018.
> 
> IMO this is enough to send this port to the Attic, with reason
> 
>   "no benefit to being packaged"
> 
> I already have an ok from danj@.  Just asking here for different
> opinions (or additional oks).
> 
> [1] https://en.wikipedia.org/wiki/Matomo_(software)
> 
> -- 
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE
> 

Agreed. The main benefit to having this in packages is if they give an
easy way for users to get security fixes with pkg_add -u; if it's not
updated regularly then this doesn't apply.

ok sthen@



Remove www/piwik?

2019-05-04 Thread Jeremie Courreges-Anglas


I did not know that we had a port for Piwik, a web analytics
application.

Since this is a web application, I decided to take a closer look:
- $MAINTAINER has been removed per his request
- the port does little more than extracting the tarball and adjusting
  permissions.
- we're now at piwik-3.5.1 while upstream has since published
  piwik-3.9.1 and piwik-3.10.0-b1.  Also the project has been renamed to
  Matomo[1] in January 2018.

IMO this is enough to send this port to the Attic, with reason

  "no benefit to being packaged"

I already have an ok from danj@.  Just asking here for different
opinions (or additional oks).

[1] https://en.wikipedia.org/wiki/Matomo_(software)

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



CVS: cvs.openbsd.org: ports

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

Modified files:
x11/gnome/gvfs : Makefile distinfo 

Log message:
Update to gvfs-1.40.1.



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

2019-05-04 Thread Charlene Wendling


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!

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
--- Makefile20 Mar 2016 19:56:23 -  1.11
+++ Makefile4 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
--- distinfo24 Mar 2014 08:36:41 -  1.3
+++ distinfo4 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



Re: [update] librelp 1.4.0

2019-05-04 Thread Jeremie Courreges-Anglas
On Sat, May 04 2019, Remi Locherer  wrote:
> On Fri, May 03, 2019 at 08:55:40PM +0200, Jeremie Courreges-Anglas wrote:
>> On Fri, May 03 2019, Remi Locherer  wrote:
>> > Hi porters
>> >
>> > This updates librelp to version 1.4.0. It now supports OpenSSL and GNUtls.
>> >
>> > I verified that rsyslog from ports still works with this (imrelp and 
>> > omrelp).
>> >
>> > Please have a look at my patch for tcp.c. Is this a good way to deal with
>> > LibreSSL not supporting @SECLEVEL?
>> 
>> I think it's fine.  No need to spread the 
>> "!defined(LIBRESSL_VERSION_NUMBER)" disease.
>> 
>> > Comments/OKs?
>> 
>> As noted by Antoine the python version shouldn't be hardcoded.  Here's
>> a proposal which:
>> - removes gnutls from TEST_DEPENDS (LIB_DEPENDS is enough)
>> - adds coreutils to TEST_DEPENDS for gtimeout, so that the *abort* tests
>>   aren't skipped
>> - uses MODPY_RUN_DEPENDS and MODPY_BIN from the python module instead of
>>   hardcoding the python path and version.  We could have used
>>   MODPY_ADJ_FILES=tests/*.py but tests/test-framework.sh would have
>>   needed patching anyway.
>> - use python2, needed by tests/dummyserver.py (previously SKIPPED
>>   because of the lack of "timeout" command)
>> - moves the /bin/bash handling to post-extract so that update-patches
>>   doesn't create bogus patches
>> 
>> Note that you could also add a TEST_DEPENDS on sysutils/ggrep instead of
>> patching tests/tls-wrong-signedcert.sh.
>> 
>> The major bump is warranted (symbols have been removed) and the update
>> looks good ports-wise.
>
> Thanks a lot for all these inputs!
>
> I like your suggestion to add ggrep to TEST_DEPENDS. I believe that lowers
> future maintenance work.

Yep.  Since you have tested consumers, ok jca@

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



Re: UPDATE: libcdio-2.1.0 and fix fallout

2019-05-04 Thread Charlene Wendling
Hi,

On Sat, 4 May 2019 12:08:02 +0100
Edd Barrett  wrote:

> Hi Charlene,
> 
> On Thu, May 02, 2019 at 10:03:06PM +0200, Charlene Wendling wrote:
> > I've tested it on macppc.
> 
> Thanks so much! Appreciated.
>
> > Please consider evaluating this diff, as it is currently in CVS,
> > libcdio won't build with ports-gcc-8.
> > 
> > Due to bugs existing before that update and
> > ports that can't be built on this platform, i can't really give an
> > OK. I've no objections though.
> 
> I'm going to propose that we do the following:
>  - Get Paco's cmus update in.

I've just bumped an updated diff, and am just waiting for
another OK for committing it.

>  - Revise cmus for the new libcdio.
>  - Apply this patch:
>
> http://git.savannah.gnu.org/cgit/libcdio.git/commit/?id=3c1eff03a256ab47bb79f439bfc478664e3fe917
>  - Review and commit.
> 
> I think your testing is as good as an OK, as the old libcdio is
> blocking compiler-related stuff, and no one else has stepped up to
> test the new libcdio.

It's always very hard to have reviews on audio CDs related software,
i talk with experience as audio/abcde's maintainer ahah.

> Afterwards we can speak with upstream about your white-noise issues.
> There's a couple of people there who I bet would have some ideas.

I wonder if some third party library is to blame, as cmus works. In
any case my PowerBook is taking a fresh start after the python,
libpng and official gcc8 updates, so yes, afterwards.

Charlène.

> Thanks again.
> 
> -- 
> Best Regards
> Edd Barrett
> 
> http://www.theunixzoo.co.uk
> 



CVS: cvs.openbsd.org: ports

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

Modified files:
net/mrtg   : Makefile 

Log message:
Various packaging tweaks

- https HOMEPAGE and MASTER_SITES
- register textproc/groff dep, picked up if installed
- sync WANTLIB
- sed -i instead of perl -pi
- don't clobber LDFLAGS



Re: Update: audio/cmus

2019-05-04 Thread Charlene Wendling
On Thu, 2 May 2019 21:24:45 +0200
Charlene Wendling  wrote:

> Hi,
> 
> On Wed, 17 Apr 2019 12:14:42 +0200 (CEST)
> Paco Esteban  wrote:
> 
> > Here's a diff for cmus port 2.7.1 --> 2.8.0
> > According to changelog:
> > 
> > [...]
> > I basically removed some patches that seem to be now integrated
> > upstream related to ffmpeg plugin and sndio. Configure patch has
> > been also tweaked to apply cleanly. I've left the rest untouched.
> > 
> > Works fine for me on amd64.
> 
> I tried your diff on macppc, it needs tweaks, but it fixes cmus'
> runtime (a double-free error) when playing audio CDs with the
> libcdio diff i'm trying at the moment (Edd: it's a regression).
> Thanks a lot :)
> 
> I'm proposing 3 tweaks to the Makefile:
> 
> - don't use REVISION, as you're bumping the version it's not needed
> - It's C11, so it will require ports-gcc on !base-clang archs
> - It wants atomics for macppc and probably hppa
> 
> 
> There are extra WANTLIBs but it's needed by the *.so files in 
> cmus,-main according to 'readelf -d'
> 
> I've modified only the Makefile in that diff. 
> 
> Charlène.
> 

I've tested cmus on amd64 with the current version of libcdio, i've no
issues at all, including the playback of m4a files (cmus-ffmpeg). 

Here is an updated diff that makes portcheck(1) and 
port-lib-depends-check happier:

- use WANTLIB on a per-subpackage basis
- Break line in CONFIGURE_ENV

OK? 

Charlène. 


Index: Makefile
===
RCS file: /cvs/ports/audio/cmus/Makefile,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 Makefile
--- Makefile16 Apr 2019 20:19:01 -  1.20
+++ Makefile4 May 2019 12:18:05 -
@@ -3,11 +3,10 @@
 COMMENT-main=  ncurses-based music player
 COMMENT-ffmpeg=ffmpeg input plugin for cmus (.aac, .mp4...)
 
-V= 2.7.1
+V= 2.8.0
 DISTNAME=  cmus-${V}
 PKGNAME-main=  ${PKGNAME}
 PKGNAME-ffmpeg=cmus-ffmpeg-${V}
-REVISION=  6
 
 GH_ACCOUNT=cmus
 GH_PROJECT=cmus
@@ -21,12 +20,13 @@ PERMIT_PACKAGE_CDROM=   Yes
 
 MULTI_PACKAGES=-main -ffmpeg
 
-WANTLIB-main+= c cdio cdio_cdda cue curses discid FLAC iconv m mad
+WANTLIB-main+= c cdio cdio_cdda curses discid FLAC iconv m mad
 WANTLIB-main+= ogg opusfile pthread sndio vorbis vorbisfile wavpack
 
+# C11
+COMPILER=  base-clang ports-gcc
 LIB_DEPENDS-main=  audio/flac \
audio/libcdio \
-   audio/libcue \
audio/libdiscid \
audio/libmad \
audio/libogg \
@@ -42,7 +42,8 @@ RUN_DEPENDS-ffmpeg=   audio/cmus
 USE_GMAKE= Yes
 
 CONFIGURE_STYLE=   simple
-CONFIGURE_ENV= HOSTCC="${CC}" HOSTLD="${CC}" HOST_CFLAGS="${CFLAGS}"
+CONFIGURE_ENV= HOSTCC="${CC}" HOSTLD="${CC}" \
+   HOST_CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
 CFLAGS+=   -Wno-system-headers
 # Note: We're explicitly disabling CONFIG_CDDB as it gets undef'd in cdio.c
 CONFIGURE_ARGS=prefix=${PREFIX} \
@@ -68,6 +69,13 @@ CONFIGURE_ARGS=  prefix=${PREFIX} \
CONFIG_VTX=n
 
 NO_TEST=   Yes
+
+#  undefined reference to `__atomic_fetch_add_8'
+.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "hppa"
+WANTLIB-main += atomic
+WANTLIB-ffmpeg += atomic
+LDFLAGS += -latomic
+.endif
 
 pre-build:
sed -i s,/usr,${LOCALBASE}, ${WRKSRC}/Doc/cmus.txt
Index: distinfo
===
RCS file: /cvs/ports/audio/cmus/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo17 Jan 2016 01:16:38 -  1.4
+++ distinfo4 May 2019 12:18:05 -
@@ -1,2 +1,2 @@
-SHA256 (cmus-2.7.1.tar.gz) = gXmnqEPSV921hfTGVZmES8DlFv6F6X9vh6fOreTrUWU=
-SIZE (cmus-2.7.1.tar.gz) = 296818
+SHA256 (cmus-2.8.0.tar.gz) = dWzixiQbIQTcGQl0iCJd5VmsGAKhdb4CM8+2+8AvO9I=
+SIZE (cmus-2.8.0.tar.gz) = 317243
Index: patches/patch-Makefile
===
RCS file: /cvs/ports/audio/cmus/patches/patch-Makefile,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-Makefile
--- patches/patch-Makefile  17 Jan 2016 01:16:38 -  1.2
+++ patches/patch-Makefile  4 May 2019 12:18:05 -
@@ -2,9 +2,10 @@ $OpenBSD: patch-Makefile,v 1.2 2016/01/1
 
 Fix install(1) usage.
 
 Makefile.orig  Mon Jul 13 12:00:56 2015
-+++ Makefile   Tue Jul 28 14:05:50 2015
-@@ -262,17 +262,21 @@ plugins: $(ip-y) $(op-y)
+Index: Makefile
+--- Makefile.orig
 Makefile
+@@ -272,17 +272,21 @@ plugins: $(ip-y) $(op-y)
  man: $(man1) $(man7)
  
  install-main: main
Index: patches/patch-configure
===
RCS file: /cvs/ports/audio/cmus/patches/patch-configure,v

Re: [update] librelp 1.4.0

2019-05-04 Thread Remi Locherer
On Fri, May 03, 2019 at 08:55:40PM +0200, Jeremie Courreges-Anglas wrote:
> On Fri, May 03 2019, Remi Locherer  wrote:
> > Hi porters
> >
> > This updates librelp to version 1.4.0. It now supports OpenSSL and GNUtls.
> >
> > I verified that rsyslog from ports still works with this (imrelp and 
> > omrelp).
> >
> > Please have a look at my patch for tcp.c. Is this a good way to deal with
> > LibreSSL not supporting @SECLEVEL?
> 
> I think it's fine.  No need to spread the "!defined(LIBRESSL_VERSION_NUMBER)" 
> disease.
> 
> > Comments/OKs?
> 
> As noted by Antoine the python version shouldn't be hardcoded.  Here's
> a proposal which:
> - removes gnutls from TEST_DEPENDS (LIB_DEPENDS is enough)
> - adds coreutils to TEST_DEPENDS for gtimeout, so that the *abort* tests
>   aren't skipped
> - uses MODPY_RUN_DEPENDS and MODPY_BIN from the python module instead of
>   hardcoding the python path and version.  We could have used
>   MODPY_ADJ_FILES=tests/*.py but tests/test-framework.sh would have
>   needed patching anyway.
> - use python2, needed by tests/dummyserver.py (previously SKIPPED
>   because of the lack of "timeout" command)
> - moves the /bin/bash handling to post-extract so that update-patches
>   doesn't create bogus patches
> 
> Note that you could also add a TEST_DEPENDS on sysutils/ggrep instead of
> patching tests/tls-wrong-signedcert.sh.
> 
> The major bump is warranted (symbols have been removed) and the update
> looks good ports-wise.

Thanks a lot for all these inputs!

I like your suggestion to add ggrep to TEST_DEPENDS. I believe that lowers
future maintenance work.


Index: Makefile
===
RCS file: /cvs/ports/sysutils/librelp/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile13 Aug 2018 22:07:13 -  1.13
+++ Makefile3 May 2019 21:55:33 -
@@ -2,9 +2,9 @@
 
 COMMENT =  reliable event logging protocol library
 
-DISTNAME = librelp-1.2.16
+DISTNAME = librelp-1.4.0
 
-SHARED_LIBS +=  relp  2.0 # 4.0
+SHARED_LIBS +=  relp  3.0 # 5.0
 
 CATEGORIES =   sysutils
 
@@ -16,20 +16,32 @@ MAINTAINER =Remi Locherer http://download.rsyslog.com/librelp/
 
-LIB_DEPENDS =  security/gnutls
+MODULES =  lang/python
+MODPY_BUILDDEP =   No
+MODPY_RUNDEP = No
+MODPY_VERSION =${MODPY_DEFAULT_VERSION_2}
 
+LIB_DEPENDS =  security/gnutls
 TEST_DEPENDS = shells/bash \
-   ${LIB_DEPENDS}
+   sysutils/coreutils \
+   sysutils/ggrep \
+   ${MODPY_RUN_DEPENDS}
 
 SEPARATE_BUILD =   Yes
 
 CONFIGURE_STYLE =  gnu
+CONFIGURE_ARGS =   --disable-valgrind
 
-pre-test:
+post-extract:
sed -i s,#!/bin/bash,#!${LOCALBASE}/bin/bash, ${WRKSRC}/tests/*.sh
+
+pre-test:
+   ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python
+   ln -sf ${LOCALBASE}/bin/gtimeout ${WRKDIR}/bin/timeout
+   ln -sf ${LOCALBASE}/bin/ggrep ${WRKDIR}/bin/grep
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/sysutils/librelp/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo13 Aug 2018 22:07:13 -  1.6
+++ distinfo3 May 2019 21:50:20 -
@@ -1,2 +1,2 @@
-SHA256 (librelp-1.2.16.tar.gz) = DCNd0qAQYK1eZEOIebMa5k52QNDiYqoaKHot2bxg/VM=
-SIZE (librelp-1.2.16.tar.gz) = 474456
+SHA256 (librelp-1.4.0.tar.gz) = XNAs5+3i/qA35lzFOJ5B3embabHfmEtCwUAp5gu53QU=
+SIZE (librelp-1.4.0.tar.gz) = 519235
Index: patches/patch-src_tcp_c
===
RCS file: patches/patch-src_tcp_c
diff -N patches/patch-src_tcp_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_tcp_c 3 May 2019 21:50:20 -
@@ -0,0 +1,22 @@
+$OpenBSD$
+
+LibreSSL has no support for @SECLEVEL
+
+Index: src/tcp.c
+--- src/tcp.c.orig
 src/tcp.c
+@@ -1183,14 +1183,8 @@ relpTcpTLSSetPrio_ossl(relpTcp_t *const pThis)
+   /* Compute priority string (in simple cases where the user does not 
care...) */
+   if(pThis->pristring == NULL) {
+   if (pThis->authmode == eRelpAuthMode_None) {
+-  #if OPENSSL_VERSION_NUMBER >= 0x1010L
+-   /* NOTE: do never use: +eNULL, it DISABLES encryption! 
*/
+-  strncpy(pristringBuf, 
"ALL:+COMPLEMENTOFDEFAULT:+ADH:+ECDH:+aNULL@SECLEVEL=0",
+-  sizeof(pristringBuf));
+-  #else
+   strncpy(pristringBuf, 
"ALL:+COMPLEMENTOFDEFAULT:+ADH:+ECDH:+aNULL",
+   sizeof(pristringBuf));
+-  #endif
+   } else {
+   strncpy(pristringBuf, "DEFAULT", sizeof(pristringBuf));
+   }



CVS: cvs.openbsd.org: ports

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

Modified files:
graphics/simple-scan: Makefile distinfo 
graphics/simple-scan/patches: patch-meson_build 
  patch-src_simple-scan_vala 
graphics/simple-scan/pkg: PLIST 

Log message:
Update to simple-scan-3.32.2.



CVS: cvs.openbsd.org: ports

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

Modified files:
x11/gnome/at-spi2-atk: Tag: OPENBSD_6_5 Makefile distinfo 

Log message:
Tarball has been rerolled.
Only change was the project version in meson.build.



CVS: cvs.openbsd.org: ports

2019-05-04 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2019/05/04 05:29:40

Modified files:
devel/help2man : Makefile distinfo 

Log message:
update to help2man-1.47.10



CVS: cvs.openbsd.org: ports

2019-05-04 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2019/05/04 05:26:20

Modified files:
devel/vte3 : Makefile distinfo 
Removed files:
devel/vte3/patches: patch-bindings_vala_app_vala 

Log message:
update to vte3-0.56.2



CVS: cvs.openbsd.org: ports

2019-05-04 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2019/05/04 05:07:59

Modified files:
devel/libgit2/py-git2: Makefile distinfo 
devel/libgit2/py-git2/pkg: PLIST 

Log message:
update to py-git2-0.28.1



Re: UPDATE: libcdio-2.1.0 and fix fallout

2019-05-04 Thread Edd Barrett
Hi Charlene,

On Thu, May 02, 2019 at 10:03:06PM +0200, Charlene Wendling wrote:
> I've tested it on macppc.

Thanks so much! Appreciated.

> Please consider evaluating this diff, as it is currently in CVS,
> libcdio won't build with ports-gcc-8.
> 
> Due to bugs existing before that update and
> ports that can't be built on this platform, i can't really give an OK.
> I've no objections though.

I'm going to propose that we do the following:
 - Get Paco's cmus update in.
 - Revise cmus for the new libcdio.
 - Apply this patch:
   
http://git.savannah.gnu.org/cgit/libcdio.git/commit/?id=3c1eff03a256ab47bb79f439bfc478664e3fe917
 - Review and commit.

I think your testing is as good as an OK, as the old libcdio is blocking
compiler-related stuff, and no one else has stepped up to test the new
libcdio.

Afterwards we can speak with upstream about your white-noise issues.
There's a couple of people there who I bet would have some ideas.

Thanks again.

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk



CVS: cvs.openbsd.org: ports

2019-05-04 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2019/05/04 05:07:35

Modified files:
devel/libgit2/libgit2: Makefile distinfo 
devel/libgit2/libgit2/pkg: PLIST 

Log message:
update to libgit2-0.28.1



CVS: cvs.openbsd.org: ports

2019-05-04 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2019/05/04 05:07:45

Modified files:
devel/libgit2/libgit2-glib: Makefile distinfo 
Removed files:
devel/libgit2/libgit2-glib/patches: 
patch-libgit2-glib_meson_build 

Log message:
update to libgit2-glib-0.28.0.1



CVS: cvs.openbsd.org: ports

2019-05-04 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2019/05/04 04:49:11

Modified files:
devel/py-cffi  : Makefile distinfo 
devel/py-cffi/pkg: PLIST 

Log message:
update to py-cffi-1.12.3



Re: Fwd: NEW: textproc/pecl-yaml

2019-05-04 Thread Stuart Henderson
On 2019/04/16 21:26, Stuart Henderson wrote:
> Any OKs? thanks!
> 

> From: Stuart Henderson 
> Date: Sat, 9 Mar 2019 16:40:52 +
> To: ports 
> User-Agent: Mutt/1.11.3 (2019-02-01)
> Subject: NEW: textproc/pecl-yaml
> Mail-Followup-To: ports 
> 
> 
> pecl-yaml provides PHP support for YAML 1.1 (YAML Ain't Markup Language)
> serialization using the LibYAML library.
> 
> 
> OK to import?
> 


I hate to say it, but *ping* :-)



pecl-yaml.tgz
Description: application/tar-gz


[update] devel/p5-File-Copy-Recursive 0.38 -> 0.44

2019-05-04 Thread Charlene Wendling


Here is a long overdue update for File::Copy::Recursive.

What's new upstream (partial, 10 years of changelog here [0]):

- Move to File::Glob::bsd_glob() as File::Glob::glob() will vanish
  as of Perl 5.30 [1]
- Include real unit tests (tm) now

Port-wise it's a simple update, with TEST_DEPENDS added.

Testing: 

- 'make test' passes
- There are 17 consumers, i've found no new failures due to 
  that update [2].

Comments/feedback are welcome :)

Charlène.


[0] https://metacpan.org/source/DMUEY/File-Copy-Recursive-0.44/Changes
[1] https://perldoc.pl/perldeprecation#File::Glob::glob()-will-disappear
[2] http://0x0.st/zcR1.tgz


Index: Makefile
===
RCS file: /cvs/ports/devel/p5-File-Copy-Recursive/Makefile,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 Makefile
--- Makefile20 Mar 2016 19:56:22 -  1.16
+++ Makefile4 May 2019 10:24:18 -
@@ -4,11 +4,16 @@ COMMENT=  recursive copy of files and dir
 
 MODULES=   cpan
 PKG_ARCH=  *
-DISTNAME=  File-Copy-Recursive-0.38
-REVISION=  1
+DISTNAME=  File-Copy-Recursive-0.44
 CATEGORIES=devel
 
 # perl
 PERMIT_PACKAGE_CDROM=  Yes
+
+TEST_DEPENDS=  devel/p5-Path-Tiny \
+   devel/p5-Test-Deep \
+   devel/p5-Test-Fatal \
+   devel/p5-Test-File \
+   devel/p5-Test-Warnings
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-File-Copy-Recursive/distinfo,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 distinfo
--- distinfo18 Jan 2015 03:13:26 -  1.9
+++ distinfo4 May 2019 10:24:18 -
@@ -1,2 +1,2 @@
-SHA256 (File-Copy-Recursive-0.38.tar.gz) = 
hMy93ziUqIosK2vmj/bviWADeAO7NqoiizGUTP323us=
-SIZE (File-Copy-Recursive-0.38.tar.gz) = 10843
+SHA256 (File-Copy-Recursive-0.44.tar.gz) = 
rhmgtY3Bs83tm6nPsQkojYlz1HTAtL/SiyfPYOjKbuQ=
+SIZE (File-Copy-Recursive-0.44.tar.gz) = 19278



[update] devel/p5-String-Format 0.17 -> 0.18

2019-05-04 Thread Charlene Wendling


Here is an update for String::Format.

What's new upstream [0]:

- tooling changes that don't impact downstream
- fix "Unescaped left brace in regex is deprecated here
  (and will be fatal in Perl 5.32)". It's very needed
  because some tests on other ports are failing because
  of this [1]

Port-wise, it's a simple update.

Testing: 

- 'make test' passes
- I've tested the 2 direct consumers [2]. devel/p5-Perl-Critic has
  no new failures due to this change.

Comments/feedback are welcome.

Charlène.


[0] https://metacpan.org/source/SREZIC/String-Format-1.18/Changes
[1] https://rt.cpan.org/Public/Bug/Display.html?id=124147#txn-1766733
[2] http://0x0.st/zcR8.tgz


Index: Makefile
===
RCS file: /cvs/ports/devel/p5-String-Format/Makefile,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 Makefile
--- Makefile20 Mar 2016 19:56:34 -  1.11
+++ Makefile4 May 2019 09:22:18 -
@@ -5,7 +5,7 @@ COMMENT=perl printf extensions
 MODULES=   cpan
 PKG_ARCH=  *
 
-DISTNAME = String-Format-1.17
+DISTNAME=  String-Format-1.18
 CATEGORIES=devel
 
 # GPLv2
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-String-Format/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo19 Jan 2015 14:40:17 -  1.4
+++ distinfo4 May 2019 09:22:18 -
@@ -1,2 +1,2 @@
-SHA256 (String-Format-1.17.tar.gz) = 
UwblkIwSDptghftgwPNS/fYBkxOYuu6Uy4mMpdlWrms=
-SIZE (String-Format-1.17.tar.gz) = 12841
+SHA256 (String-Format-1.18.tar.gz) = 
nkF6j42epiO+6i0TpHwNWmlvyGAsBQm4Js1F+Xt253g=
+SIZE (String-Format-1.18.tar.gz) = 13676



Re: UPDATE: fonts/noto

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

On Wed, Mar 6, 2019 at 3:39 AM Anthony J. Bentley  wrote:
> Here is a diff that updates the Google Noto fonts to the latest tags
> (2017, 2018).
>
> There are a number of new fonts in the main package. In the noto-emoji
> package, the color emoji font is now installed. The black and white
> emoji font is no longer actively developed upstream.
>
> CJK is the biggest change. The current port ignores the distfile and
> fetches the Noto Sans Super OTC instead, but due to the many new font
> files that we want to install I've updated it to use a normal (but
> large) GH_* distfile, installing the Super OTC for Noto Sans and the
> seven regular OTCs for Noto Serif (see README.formats).

Updated diff for -current.

ok?

--
Anthony J. Bentley
Index: Makefile.inc
===
RCS file: /cvs/ports/fonts/noto/Makefile.inc,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile.inc
--- Makefile.inc	24 Apr 2019 16:26:55 -	1.3
+++ Makefile.inc	4 May 2019 09:16:43 -
@@ -1,20 +1,16 @@
 # $OpenBSD: Makefile.inc,v 1.3 2019/04/24 16:26:55 sthen Exp $
 
-# N.B. cjk is independently versioned
-V ?=			2015-09-29
 DISTNAME ?=		noto-${NOTO_PROJECT}-${V:S/-//g}
 
 CATEGORIES ?=		fonts
 
 HOMEPAGE ?=		https://www.google.com/get/noto/
 
-# cjk: SIL OFL 1.1
-# fonts, emoji: Apache 2.0 (XXX post-2015-09-29 these are relicensed OFL)
+# SIL OFL 1.1
 PERMIT_PACKAGE_CDROM ?=	Yes
 
 GH_ACCOUNT ?=		googlei18n
 GH_PROJECT ?=		noto-${NOTO_PROJECT}
-GH_TAGNAME ?=		v$V
 
 NO_BUILD ?=		Yes
 NO_TEST ?=		Yes
Index: cjk/Makefile
===
RCS file: /cvs/ports/fonts/noto/cjk/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- cjk/Makefile	24 Apr 2019 16:26:55 -	1.3
+++ cjk/Makefile	4 May 2019 09:16:43 -
@@ -2,22 +2,19 @@
 
 COMMENT =		east asian fonts for the noto font family
 
-V =			1.004
-REVISION =		1
 NOTO_PROJECT =		cjk
 
+V =			2.001
+GH_TAGNAME =		NotoSansV$V
+
 HOMEPAGE =		https://www.google.com/get/noto/help/cjk/
 
-# The CJK fonts are duplicated in upstream distfile in many redundant formats.
-# Hack to save ~700 MB bandwidth when fetching distfile.
-PKGNAME =		noto-${NOTO_PROJECT}-$V
-DIST_SUBDIR =		${PKGNAME}
-MASTER_SITES =		https://github.com/googlei18n/noto-cjk/raw/v$V/
-DISTNAME =		NotoSansCJK.ttc
-EXTRACT_SUFX =		.zip
+BUILD_DEPENDS =		archivers/zip
 
 do-install:
 	${INSTALL_DATA_DIR} ${NOTO_INSTALLDIR}
-	${INSTALL_DATA} ${WRKDIR}/NotoSansCJK.ttc ${NOTO_INSTALLDIR}
+	${INSTALL_DATA} ${WRKDIST}/NotoSerifCJK-*.ttc ${NOTO_INSTALLDIR}
+	cd ${NOTO_INSTALLDIR} && unzip ${WRKDIST}/NotoSansCJK.ttc.zip
+	rm -rf ${NOTO_INSTALLDIR}/__MACOSX
 
 .include 
Index: cjk/distinfo
===
RCS file: /cvs/ports/fonts/noto/cjk/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- cjk/distinfo	22 Dec 2015 10:02:45 -	1.1.1.1
+++ cjk/distinfo	4 May 2019 09:16:43 -
@@ -1,2 +1,2 @@
-SHA256 (noto-cjk-1.004/NotoSansCJK.ttc.zip) = xrosVP7vyi+p9iR/vjlhEk+CtDmsaIPpZGhuqk3U4+0=
-SIZE (noto-cjk-1.004/NotoSansCJK.ttc.zip) = 93276427
+SHA256 (noto-cjk-2.001.tar.gz) = OxiFmz7+OsNtjVJz6TzAe2GpSArAnFtS7fTdiqq3QYc=
+SIZE (noto-cjk-2.001.tar.gz) = 1882149917
Index: cjk/pkg/PLIST
===
RCS file: /cvs/ports/fonts/noto/cjk/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- cjk/pkg/PLIST	22 Dec 2015 10:02:45 -	1.1.1.1
+++ cjk/pkg/PLIST	4 May 2019 09:16:43 -
@@ -2,3 +2,10 @@
 share/fonts/
 @fontdir share/fonts/noto/
 share/fonts/noto/NotoSansCJK.ttc
+share/fonts/noto/NotoSerifCJK-Black.ttc
+share/fonts/noto/NotoSerifCJK-Bold.ttc
+share/fonts/noto/NotoSerifCJK-ExtraLight.ttc
+share/fonts/noto/NotoSerifCJK-Light.ttc
+share/fonts/noto/NotoSerifCJK-Medium.ttc
+share/fonts/noto/NotoSerifCJK-Regular.ttc
+share/fonts/noto/NotoSerifCJK-SemiBold.ttc
Index: emoji/Makefile
===
RCS file: /cvs/ports/fonts/noto/emoji/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- emoji/Makefile	24 Apr 2019 16:26:55 -	1.3
+++ emoji/Makefile	4 May 2019 09:16:43 -
@@ -4,12 +4,11 @@ COMMENT =		emoji fonts for the noto font
 
 NOTO_PROJECT =		emoji
 
-REVISION =		1
-
-GH_TAGNAME =		v$V-license-apache
+V =			2018-08-10
+GH_TAGNAME =		v$V-unicode11
 
 do-install:
 	${INSTALL_DATA_DIR} ${NOTO_INSTALLDIR}
-	${INSTALL_DATA} ${WRKDIST}/NotoEmoji-Regular.ttf ${NOTO_INSTALLDIR}
+	${INSTALL_DATA} ${WRKDIST}/fonts/*.ttf ${NOTO_INSTALLDIR}
 
 .include 
Index: emoji/distinfo
===
RCS file: /cvs/ports/fonts/noto/emoji/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- emoji/distinfo	22 Dec 2015 10:02:45 -	1.1.1.1
+++ emoji/distinfo	4 May 2019 09:16:43 -
@@ -1,2 +1,2 @@
-SHA256 (noto-emoji-20150929.tar.gz) = 

CVS: cvs.openbsd.org: ports

2019-05-04 Thread Ingo Feinerer
CVSROOT:/cvs
Module name:ports
Changes by: feine...@cvs.openbsd.org2019/05/04 03:10:11

Modified files:
security/pcsc-cyberjack: Makefile distinfo 
security/pcsc-cyberjack/patches: patch-cjeca32_Debug_cpp 
 patch-configure_ac 
 patch-include_driver_Platform_unix_h 

Log message:
Update to pcsc-cyberjack 3.99.5final.SP13



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

2019-05-04 Thread Charlene Wendling
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.

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
--- Makefile29 Apr 2018 13:03:51 -  1.12
+++ Makefile4 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
--- distinfo29 Apr 2018 13:03:51 -  1.7
+++ distinfo4 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



CVS: cvs.openbsd.org: ports

2019-05-04 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/05/04 02:00:59

Modified files:
lang/php/7.1/patches: patch-acinclude_m4 patch-aclocal_m4 
  patch-configure_in 
  patch-ext_mysqlnd_config9_m4 
  patch-ext_tidy_config_m4 
  patch-ext_tidy_tidy_c patch-main_php_h 
  patch-main_php_ini_c 
  patch-php_ini-development 
  patch-php_ini-production 
  patch-sapi_cgi_cgi_main_c 
  patch-sapi_cli_php_cli_c 
  patch-sapi_fpm_www_conf_in 
  patch-scripts_Makefile_frag 
  patch-scripts_php-config_in 
  patch-scripts_phpize_in 
lang/php/7.3/patches: patch-acinclude_m4 patch-aclocal_m4 
  patch-ext_mysqlnd_config9_m4 
  patch-main_php_h patch-main_php_ini_c 
  patch-php_ini-development 
  patch-php_ini-production 
  patch-sapi_cgi_cgi_main_c 
  patch-sapi_cli_php_cli_c 
  patch-sapi_fpm_www_conf_in 
  patch-scripts_Makefile_frag 
  patch-scripts_php-config_in 
  patch-scripts_phpize_in 

Log message:
regen patches; no change



CVS: cvs.openbsd.org: ports

2019-05-04 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/05/04 01:57:00

Modified files:
lang/php/7.2   : Makefile distinfo 
lang/php/7.2/patches: patch-acinclude_m4 patch-aclocal_m4 
  patch-configure_ac 
  patch-ext_mysqlnd_config9_m4 
  patch-ext_tidy_config_m4 
  patch-ext_tidy_tidy_c patch-main_php_h 
  patch-main_php_ini_c 
  patch-php_ini-development 
  patch-php_ini-production 
  patch-sapi_cgi_cgi_main_c 
  patch-sapi_cli_php_cli_c 
  patch-sapi_fpm_fpm_fpm_children_c 
  patch-sapi_fpm_www_conf_in 
  patch-scripts_Makefile_frag 
  patch-scripts_php-config_in 
  patch-scripts_phpize_in 

Log message:
update to php-7.2.18