update: www/py-soupsieve

2019-11-14 Thread Paco Esteban
Hi ports@,

Here's an update for www/py-soupsieve.
Builds, and works for me on amd64.  All test pass too.  The only
consumer for it is www/py-beautifulsoup4 which also pass tests.  I'm
going to send an update on that one too later.

Cheers,
Paco.

Index: Makefile
===
RCS file: /cvs/ports/www/py-soupsieve/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile12 Aug 2019 23:58:09 -  1.1.1.1
+++ Makefile15 Nov 2019 07:53:02 -
@@ -2,7 +2,7 @@
 
 COMMENT =  modern CSS selector implementation for Beautiful Soup
 
-MODPY_EGG_VERSION =1.9.2
+MODPY_EGG_VERSION =1.9.5
 DISTNAME = soupsieve-${MODPY_EGG_VERSION}
 PKGNAME =  py-${DISTNAME}
 
Index: distinfo
===
RCS file: /cvs/ports/www/py-soupsieve/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo12 Aug 2019 23:58:09 -  1.1.1.1
+++ distinfo15 Nov 2019 07:53:02 -
@@ -1,2 +1,2 @@
-SHA256 (soupsieve-1.9.2.tar.gz) = crXxrqkQHPcgo2uyMn7ehm/W8aB7HofJKhzBgRPLyUY=
-SIZE (soupsieve-1.9.2.tar.gz) = 95448
+SHA256 (soupsieve-1.9.5.tar.gz) = 4sHF3uShw2vLeQ4Pq9VJLYdLjr1GF2IsT2pzFwEGDdo=
+SIZE (soupsieve-1.9.5.tar.gz) = 98999

-- 
Paco Esteban.
5818130B8A6DBC03



CVS: cvs.openbsd.org: ports

2019-11-14 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2019/11/15 00:43:53

Modified files:
fonts/public-sans: Makefile distinfo 
fonts/public-sans/pkg: PLIST 

Log message:
Update to public-sans-1.007.

>From George Rosamond (thanks!).



CVS: cvs.openbsd.org: ports

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

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

Log message:
Update pycharm to 2019.2.4



[UPDATE] mail/ruby-mini_mime

2019-11-14 Thread George Rosamond
Update to 1.0.2 attached.
Index: ruby-mini_mime//Makefile
===
RCS file: /cvs/ports/mail/ruby-mini_mime/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- ruby-mini_mime//Makefile	12 Jul 2019 20:47:37 -	1.3
+++ ruby-mini_mime//Makefile	15 Nov 2019 04:25:38 -
@@ -1,17 +1,17 @@
 # $OpenBSD: Makefile,v 1.3 2019/07/12 20:47:37 sthen Exp $
 
-COMMENT=		minimal mime type implementation
+COMMENT =		minimal mime type implementation
 
-DISTNAME=		mini_mime-1.0.1
-CATEGORIES=		mail
+DISTNAME =		mini_mime-1.0.2
+CATEGORIES =		mail
 
-HOMEPAGE=		https://github.com/discourse/mini_mime
+HOMEPAGE =		https://github.com/discourse/mini_mime/
 
 # MIT
-PERMIT_PACKAGE=	Yes
+PERMIT_PACKAGE =	Yes
 
-MODULES=		lang/ruby
+MODULES =		lang/ruby
 
-CONFIGURE_STYLE=	ruby gem
+CONFIGURE_STYLE =	ruby gem
 
 .include 
Index: ruby-mini_mime//distinfo
===
RCS file: /cvs/ports/mail/ruby-mini_mime/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- ruby-mini_mime//distinfo	2 Feb 2019 01:59:32 -	1.2
+++ ruby-mini_mime//distinfo	15 Nov 2019 04:25:38 -
@@ -1,2 +1,2 @@
-SHA256 (mini_mime-1.0.1.gem) = oyWwx6AkJyCmJPRxSRgfOHO0+BZjyzRq2p8eNDDUl+A=
-SIZE (mini_mime-1.0.1.gem) = 33280
+SHA256 (mini_mime-1.0.2.gem) = Cg7MN1BfARznhBkYj4lHdIBuFDp1urr4SFqP7nsGtas=
+SIZE (mini_mime-1.0.2.gem) = 33280


[UPDATE] mail/ruby-mime-types-data

2019-11-14 Thread George Rosamond
Update attached to 3.2019.1009.
Index: ruby-mime-types-data//Makefile
===
RCS file: /cvs/ports/mail/ruby-mime-types-data/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- ruby-mime-types-data//Makefile	12 Jul 2019 20:47:37 -	1.3
+++ ruby-mime-types-data//Makefile	15 Nov 2019 04:19:35 -
@@ -1,17 +1,17 @@
 # $OpenBSD: Makefile,v 1.3 2019/07/12 20:47:37 sthen Exp $
 
-COMMENT=		MIME types data for Ruby
+COMMENT =		MIME types data for Ruby
 
-DISTNAME=		mime-types-data-3.2018.0812
-CATEGORIES=		mail
+DISTNAME =		mime-types-data-3.2019.1009
+CATEGORIES =		mail
 
-HOMEPAGE=		https://github.com/mime-types/mime-types-data/
+HOMEPAGE =		https://github.com/mime-types/mime-types-data/
 
 # MIT
-PERMIT_PACKAGE=	Yes
+PERMIT_PACKAGE =	Yes
 
-MODULES=		lang/ruby
+MODULES =		lang/ruby
 
-CONFIGURE_STYLE=	ruby gem
+CONFIGURE_STYLE =	ruby gem
 
 .include 
Index: ruby-mime-types-data//distinfo
===
RCS file: /cvs/ports/mail/ruby-mime-types-data/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- ruby-mime-types-data//distinfo	2 Feb 2019 02:02:43 -	1.2
+++ ruby-mime-types-data//distinfo	15 Nov 2019 04:19:35 -
@@ -1,2 +1,2 @@
-SHA256 (mime-types-data-3.2018.0812.gem) = rEVTKIIldWlw8HOXmP8PERaYjVbgrBWlJVU+wRW4mx8=
-SIZE (mime-types-data-3.2018.0812.gem) = 157184
+SHA256 (mime-types-data-3.2019.1009.gem) = sJuwB29NIJ0h3l+BVp7f/bblPUP4keMO36EkM5gLpqM=
+SIZE (mime-types-data-3.2019.1009.gem) = 160768


aarch64 bulk build report

2019-11-14 Thread phessler
bulk build on arm64.ports.openbsd.org
started on  Wed Nov 13 00:40:30 MST 2019
finished at Thu Nov 14 21:08:18 MST 2019
lasted 1D20h27m
done with kern.version=OpenBSD 6.6-current (GENERIC.MP) #323: Tue Nov 12 
22:50:47 MST 2019

built packages:10194
Nov 13:4720
Nov 14:5473


critical path missing pkgs:  
http://build-failures.rhaalovely.net/aarch64/2019-11-13/summary.log

build failures: 29
http://build-failures.rhaalovely.net/aarch64/2019-11-13/devel/git-lfs.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/editors/xwpe.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/emulators/vbam.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/games/dxx-rebirth.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/games/frozen-bubble,-main.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/games/vacuum.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/graphics/vulkan-loader.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/lang/compcert.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/lang/flang/libpgmath.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/lang/pfe.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/net/minio/client.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/net/routinator.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/security/sn0int.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/shells/elvish.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/sysutils/amazon-ecs-cli.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/sysutils/beats/filebeat.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/sysutils/beats/heartbeat.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/sysutils/beats/metricbeat.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/sysutils/beats/packetbeat.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/sysutils/fzf.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/sysutils/node_exporter.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/sysutils/nomad.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/sysutils/rclone.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/sysutils/restic.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/sysutils/serf.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/sysutils/telegraf.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/sysutils/terraform/provider-vsphere.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/www/hugo.log
http://build-failures.rhaalovely.net/aarch64/2019-11-13/x11/qt5/qt3d.log

recurrent failures
 failures/editors/xwpe.log
 failures/games/dxx-rebirth.log
 failures/games/frozen-bubble,-main.log
 failures/games/vacuum.log
 failures/lang/pfe.log
 failures/net/minio/client.log
 failures/net/routinator.log
 failures/security/sn0int.log
 failures/shells/elvish.log
 failures/sysutils/amazon-ecs-cli.log
 failures/sysutils/telegraf.log
 failures/sysutils/terraform/provider-vsphere.log
 failures/www/hugo.log
 failures/x11/qt5/qt3d.log
new failures
+++ ls-failures Thu Nov 14 21:08:28 2019
+failures/devel/git-lfs.log
+failures/emulators/vbam.log
resolved failures
--- ../old/aarch64/last//ls-failuresSun Nov 10 11:02:51 2019
-failures/cad/kicad-share/i18n.log
-failures/net/syncthing.log
-failures/x11/e17/elementary.log
-failures/x11/remmina.log



[UPDATE] fonts/public-sans to 1.007

2019-11-14 Thread George Rosamond
Diff attached.
Index: public-sans//Makefile
===
RCS file: /cvs/ports/fonts/public-sans/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- public-sans//Makefile	8 Nov 2019 16:45:54 -	1.3
+++ public-sans//Makefile	15 Nov 2019 04:02:55 -
@@ -2,7 +2,7 @@
 
 COMMENT =		strong, neutral, principles-driven typeface
 
-V =			1.006
+V =			1.007
 DISTNAME =		public-sans-v$V
 PKGNAME =		public-sans-$V
 
@@ -28,7 +28,7 @@ FIX_EXTRACT_PERMISSIONS =	Yes
 
 do-install:
 	${INSTALL_DATA_DIR} ${FONTDIR}
-	${INSTALL_DATA} ${WRKDIST}/fonts/otf/*.otf ${FONTDIR}
-	${INSTALL_DATA} ${WRKDIST}/fonts/webfonts/*.{ttf,woff*} ${FONTDIR}
+	${INSTALL_DATA} ${WRKDIST}/binaries/{otf,variable,webfonts}/* \
+		${FONTDIR}
 
 .include 
Index: public-sans//distinfo
===
RCS file: /cvs/ports/fonts/public-sans/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- public-sans//distinfo	8 Nov 2019 16:45:54 -	1.3
+++ public-sans//distinfo	15 Nov 2019 04:02:55 -
@@ -1,2 +1,2 @@
-SHA256 (public-sans-v1.006.zip) = 2EnptZDX9gSA1HSIyTngl1gESdro/g+9NBHTFEoRsuE=
-SIZE (public-sans-v1.006.zip) = 10994016
+SHA256 (public-sans-v1.007.zip) = XpLwz93vPwyOG9btY+uS6sroXzdiHGm1r3Wv3izSYBk=
+SIZE (public-sans-v1.007.zip) = 5813704
Index: public-sans//pkg/PLIST
===
RCS file: /cvs/ports/fonts/public-sans/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- public-sans//pkg/PLIST	8 Jun 2019 09:11:51 -	1.2
+++ public-sans//pkg/PLIST	15 Nov 2019 04:02:55 -
@@ -1,6 +1,8 @@
 @comment $OpenBSD: PLIST,v 1.2 2019/06/08 09:11:51 bentley Exp $
 share/fonts/
 @fontdir share/fonts/public-sans/
+share/fonts/public-sans/Public-Sans-Italic-VF.ttf
+share/fonts/public-sans/Public-Sans-Roman-VF.ttf
 share/fonts/public-sans/PublicSans-Black.otf
 share/fonts/public-sans/PublicSans-Black.ttf
 share/fonts/public-sans/PublicSans-Black.woff
@@ -73,3 +75,4 @@ share/fonts/public-sans/PublicSans-ThinI
 share/fonts/public-sans/PublicSans-ThinItalic.ttf
 share/fonts/public-sans/PublicSans-ThinItalic.woff
 share/fonts/public-sans/PublicSans-ThinItalic.woff2
+share/fonts/public-sans/report.json


Re: [NEW] net/wiresep

2019-11-14 Thread Stuart Henderson
On 2019/11/15 00:39, Tim Kuijsten wrote:
> This is a new version of the port which fixes all my previous
> questions (thanks Bjorn Ketelaars for all the help).
> 
> This is based on the final v0.8.2 which I released today and includes
> some additional tweaks and fixes (is the version number v0.8.2
> semantically higher in ports compared to v0.8.2-rc.3?).

0.8.2 is semantically higher than 0.8.2rc3; the version number part in
ports can't have a - as that makes it treated like a flavour named
"rc.3".

> Hope somebody can test or comment on it.
> 
> For completeness a link to the homepage and a short description which I
> forgot to mention yesterday: https://github.com/timkuijsten/wiresep
> 
> 
> WireSep is a privilege separated implementation of WireGuard for
> OpenBSD.
> 
> WireGuard is a VPN that aims to be simpler and faster than IPsec
> and OpenVPN. Simpler both in configuration and in implementation.
> 

- In 6.6+, PERMIT_PACKAGE_CDROM now needs to just be PERMIT_PACKAGE.

- The example config share/examples/wiresep/wiresep.conf.example
would usually want to be followed by "@sample 
${SYSCONFDIR}/wiresep/wiresep.conf"
to copy it into the normal place - if not then there should be an @extraunexec
to remove the file that users would create themselves.

- pkg/README should follow the layout in templates/README.template.



CVS: cvs.openbsd.org: ports

2019-11-14 Thread Damien Miller
CVSROOT:/cvs
Module name:ports
Changes by: d...@cvs.openbsd.org2019/11/14 18:34:36

Removed files:
security/libfido2: Makefile distinfo 
security/libfido2/patches: patch-examples_util_c 
security/libfido2/pkg: DESCR PLIST 

Log message:
libfido2 is in base now; remove port. Prompted by sthen@



CVS: cvs.openbsd.org: ports

2019-11-14 Thread Damien Miller
CVSROOT:/cvs
Module name:ports
Changes by: d...@cvs.openbsd.org2019/11/14 18:34:55

Removed files:
devel/libcbor  : Makefile distinfo 
devel/libcbor/patches: patch-CMakeLists_txt 
devel/libcbor/pkg: DESCR PLIST 

Log message:
libcbor is in base now; remove port. Prompted by sthen@



Re: OpenSSH U2F/FIDO support in base

2019-11-14 Thread Damien Miller
On Fri, 15 Nov 2019, Stuart Henderson wrote:

> On 2019/11/15 08:45, Damien Miller wrote:
> > I just committed all the dependencies for OpenSSH security key (U2F)
> > support to base
> 
> It's probably better to remove the ports to avoid confusion now they're
> in base .. (You didn't link the ports to the build in the category Makefiles
> so they can just be rm'd without anything extra as there are no packages
> built yet).

Yes, I'll do this - thanks.

> Not quite sure what to do with the libfido2 tools which aren't built in
> base, maybe cross that bridge when someone needs them though!

AFAIK they are pretty basic, I think most users would use yubikey-manager

-d



Re: OpenSSH U2F/FIDO support in base

2019-11-14 Thread Stuart Henderson
On 2019/11/15 08:45, Damien Miller wrote:
> I just committed all the dependencies for OpenSSH security key (U2F)
> support to base

It's probably better to remove the ports to avoid confusion now they're
in base .. (You didn't link the ports to the build in the category Makefiles
so they can just be rm'd without anything extra as there are no packages
built yet).

Not quite sure what to do with the libfido2 tools which aren't built in
base, maybe cross that bridge when someone needs them though!



Re: [Upgrade] PostgreSQL 11.6

2019-11-14 Thread Stuart Henderson
On 2019/11/14 21:50, Pierre-Emmanuel André wrote:
> Hello,
> 
> Small diff to update PostgreSQL to it's latest version 11.6.
> This diff is more for -stable because the plan is to upgrade -current
> to PostgreSQL 12.1.

OK. Can you update current to this as well please before jumping to 12.x?



Re: Illegal instruction (core dumped) with go/restic on Soekris i386

2019-11-14 Thread Stuart Henderson
On 2019/11/14 20:08, lists+po...@ggp2.com wrote:
> Hello all,
> 
> Trying to run go or restic on a soekris net5501 results in:
> 
> Illegal instruction (core dumped)
> 
> Has anyone else seen issues similar to this?  Go seems to work fine on
> all my amd64 boxes, and this is unfortunately the only i386 I have
> around to test on.
> 
> Here's some minimal debug output:
> 
> (gdb) run
> Starting program: /usr/local/bin/go 
> 
> Program received signal SIGILL, Illegal instruction.
> 0x0807fa0b in runtime.check ()
> Current language:  auto; currently minimal
> (gdb) bt
> #0  0x0807fa0b in runtime.check ()
> #1  0x08927120 in ?? ()
> #2  0xcf7c5728 in ?? ()
> #3  0x08049598 in x_cgo_init ()
> Previous frame inner to this frame (corrupt stack?)
> (gdb) 

I think if you run "disassemble" from gdb (or pkg_add gdb and run "egdb"
in case the old gdb in base doesn't understand the opcodes) you may find
which instruction it's complaining about.

This runs OK on an i386 with more CPU features; most likely it wants
SSE or similar which the Geode LX in your net5501 doesn't have. (Go has
runtime cpuid checks for most of the SSE variants but I think not for
the original SSE which it probably just assumes is available).
One clue would be if the disassembly has instructions referencing
registers X0..X15 which are just used for SSE.

> cpu0 at mainbus0: (uniprocessor)
> cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 
> 500 MHz, 05-0a-02
> cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW



CVS: cvs.openbsd.org: ports

2019-11-14 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/11/14 17:18:54

Modified files:
sysutils/reposync: Tag: OPENBSD_6_6 Makefile 
sysutils/reposync/pkg: Tag: OPENBSD_6_6 PLIST 
Added files:
sysutils/reposync: Tag: OPENBSD_6_6 distinfo 
sysutils/reposync/patches: Tag: OPENBSD_6_6 patch-reposync 
   patch-reposync_1 
Removed files:
sysutils/reposync/files: Tag: OPENBSD_6_6 reposync reposync.1 

Log message:
sync with -current



CVS: cvs.openbsd.org: ports

2019-11-14 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/11/14 17:17:40

Modified files:
sysutils/reposync: Makefile 
Added files:
sysutils/reposync: distinfo 
sysutils/reposync/patches: patch-reposync patch-reposync_1 
Removed files:
sysutils/reposync/files: reposync reposync.1 

Log message:
reposync tweaks:

update version
fix whitespace
use a proper distfile
set MAINTAINER which I forgot before



CVS: cvs.openbsd.org: ports

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

ports/sysutils/reposync/patches

Update of /cvs/ports/sysutils/reposync/patches
In directory cvs.openbsd.org:/tmp/cvs-serv96199/patches

Log Message:
Directory /cvs/ports/sysutils/reposync/patches added to the repository



[NEW] net/slack-term for testing

2019-11-14 Thread George Rosamond
This simple Slack client has been sitting in my local tree for a while,
but haven't had the chance to test since I still need to setup token
authentication.

There's some past chatter online about key bindings that probably need
investigating.

But I'm submitting since I'm sure there's others who need Slack and can
test sooner than me.


slack-term-0.4.1.tgz
Description: Binary data


Re: CVS: cvs.openbsd.org: ports

2019-11-14 Thread Stuart Henderson
On 2019/11/14 14:43, Klemens Nanni wrote:
> mandoc: ./reposync.1:69:5: STYLE: possible typo in section name: Sh EXAMPLE 
> instead of EXAMPLES

That was intentional as there is only one example.



Re: [NEW] net/wiresep

2019-11-14 Thread Tim Kuijsten
This is a new version of the port which fixes all my previous
questions (thanks Bjorn Ketelaars for all the help).

This is based on the final v0.8.2 which I released today and includes
some additional tweaks and fixes (is the version number v0.8.2
semantically higher in ports compared to v0.8.2-rc.3?).

Hope somebody can test or comment on it.

For completeness a link to the homepage and a short description which I
forgot to mention yesterday: https://github.com/timkuijsten/wiresep


WireSep is a privilege separated implementation of WireGuard for
OpenBSD.

WireGuard is a VPN that aims to be simpler and faster than IPsec
and OpenVPN. Simpler both in configuration and in implementation.


Cheers!

Tim


Tim Kuijsten  wrote:
> Hi all,
> 
> This is a port of my implementation of WireGuard.
> 
> I had some trouble with the following when creating the port:
> 
> 1. I was not able to set "SEPARATE_BUILD = Yes", I get the error "cannot open
> Makefile":
> 
> /usr/ports/net/wiresep/ $ make build
> ===>  Verifying specs:  c crypto
> ===>  found c.95.1 crypto.45.5
> ===>  Checking files for wiresep-0.8.2-rc.3
> `/usr/ports/distfiles/wiresep-0.8.2-rc.3.tar.gz' is up to date.
> >> (SHA256) wiresep-0.8.2-rc.3.tar.gz: OK
> ===>  Extracting for wiresep-0.8.2-rc.3
> ===>  Patching for wiresep-0.8.2-rc.3
> ===>  Compiler link: clang -> /usr/bin/clang
> ===>  Compiler link: clang++ -> /usr/bin/clang++
> ===>  Compiler link: cc -> /usr/bin/cc
> ===>  Compiler link: c++ -> /usr/bin/c++
> ===>  Generating configure for wiresep-0.8.2-rc.3
> ===>  Configuring for wiresep-0.8.2-rc.3
> ===>  Building for wiresep-0.8.2-rc.3
> make: cannot open Makefile.
> *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2800
> '/usr/ports/pobj/wiresep-0.8.2-rc.3/build-amd64/.build_done')
> *** Error 1 in /usr/ports/net/wiresep
> (/usr/ports/infrastructure/mk/bsd.port.mk:2466 'build')
> 
> 
> 2. somehow `rcctl stop wiresep` does not execute my custom rc_stop
> function in /etc/rc.d/wiresep
> 
> 3. portcheck(1) issues "hardcoded paths detected in pkg/MESSAGE,
> consider using SUBST_VARS and TRUEPREFIX/LOCALBASE/LOCALSTATEDIR/VARBASE"
> 
> When I try to replace "/usr/local" with ${TRUEPREFIX} it does not
> get substituted and is displayed verbatim when the MESSAGE file is
> displayed right after installing the package with `doas make install`.
> 
> Kind regards,
> 
> Tim




wiresep.tgz
Description: GNU Zip compressed data


Re: 回复: [NEW] devel/p5-Test-Deep-Fuzzy

2019-11-14 Thread Charlene Wendling
Hi,

On Wed, 13 Nov 2019 11:31:43 +
wen heping wrote:

> Revised patch, which remove p5-Test-Deep from
> TEST_DEPENDS since it is RUN_DEPENDS.
> 
> wen
> 
> 发件人: owner-po...@openbsd.org  代表 wen
> heping  发送时间: 2019年11月13日 16:08
> 收件人: ports@openbsd.org 
> 主题: [NEW] devel/p5-Test-Deep-Fuzzy
> 
> Hi, ports@:
> 
>Here is a patch to create new port: devel/p5-Test-Deep-Fuzzy.
>It is required by the update of mail/p5-Mail-Milter-Authentication.
>It build well and pass all tests on amd64-current system.
> 
> Comments? OK?

-->8--
CATEGORIES =devel perl5
--8<--

You don't need to provide `perl5', the cpan MODULE does it already.

With that changed, OK cwen@ if someone is willing to import.



[NEW] games/nudoku

2019-11-14 Thread Frederic Cambus
Hi ports@,

Here is a new port: games/nudoku.

>From DESCR:

nudoku is a ncurses based sudoku game. Perfect to relax a little or
just waste some time when you are on the console.

Comments? OK?


nudoku.tar.gz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2019-11-14 Thread Klemens Nanni
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2019/11/14 14:43:26

Modified files:
sysutils/reposync: Makefile 
sysutils/reposync/files: reposync.1 

Log message:
Fix manual nits found with mandoc -Tlint

mandoc: ./reposync.1:78:2: ERROR: skipping end of block that is not open: El
mandoc: ./reposync.1:69:5: STYLE: possible typo in section name: Sh EXAMPLE 
instead of EXAMPLES



CVS: cvs.openbsd.org: ports

2019-11-14 Thread Klemens Nanni
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2019/11/14 14:39:11

Modified files:
sysutils/reposync: Makefile 
sysutils/reposync/files: reposync reposync.1 

Log message:
$destdir holds user input so quote it;  since ksh(1) not sh(1) is used,
use [[ instead of [ consistently to disable word splitting.

Mention /cvs in the manual being the default destination, move -p
without argument before -l and sync script usage with manual synopsis.

Delimit rm(1) options from paths just to be sure.

While here, files/reposync has nothing to SUBSTitute, so use
INSTALL_SCRIPT in do-install directly and check syntax for sanity.

More style fixes and proper use of rsync's --exlude from naddy
OK naddy



Re: reposync: Fix quoting, mention default destination, other nits

2019-11-14 Thread Christian Weisgerber
Klemens Nanni:

> I've also squeezed a syntax check into fake because why not bail out on
> errors rather than packaging them.
> 
> Overall diff below.
> OK?

Obviously ok naddy@
But let's wait what the MAINTAINER... oh, never mind then. :-)

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



[NEW] devel/p5-PGObject

2019-11-14 Thread Chris Bennett
This is a new module for LedgerSMB, which is WIP.
Several modules require this as base module.

Any comments or questions?

Chris Bennett




p5-PGObject.tar.gz
Description: Binary data


Re: PostgreSQL 12.0

2019-11-14 Thread Pierre-Emmanuel Andr?
On Tue, Nov 05, 2019 at 01:29:41AM -0800, Jeremy Evans wrote:
> On 10/29 07:35, Jeremy Evans wrote:
> > I ran a partial bulk of the PostgreSQL dependencies, and this is what is
> > broke with PostgreSQL 12:
> > 
> > databases/citus
> > databases/pg_statsinfo
> > databases/kdb
> > databases/postgresql-pllua
> > databases/postgresql-plv8
> > databases/skytools
> > security/heimdal,-libs (appears unrelated, will try rebuilding)
> > x11/qt3,-examples
> 
> The security/heimdal failure was unrelated. I just removed
> postgresql-plv8.
> 
> Below is a diff to update PostgreSQL to 12.0, postgresql-previous to
> 11.5, and handle the fallout in the other ports mentioned above.
> 
> I recommend we wait until 12.1, update this patch for 12.1, then run a
> bulk and commit if there are no problems.
> 
> We might want to consider removing skytools in the next major PostgreSQL
> update if it breaks, as it appears to be dead upstream.
> 
> Thanks,
> Jeremy

Hello,

Diff updated to the latest version of PostgreSQL : 12.1.
I think it's time to put it in a bulk.

Regards,

Index: databases/postgresql/Makefile
===
RCS file: /cvs/ports/databases/postgresql/Makefile,v
retrieving revision 1.256
diff -u -p -u -p -r1.256 Makefile
--- databases/postgresql/Makefile	27 Aug 2019 19:49:46 -	1.256
+++ databases/postgresql/Makefile	14 Nov 2019 21:07:47 -
@@ -7,9 +7,8 @@ COMMENT-contrib=PostgreSQL RDBMS contrib
 COMMENT-plpython=Python procedural language for PostgreSQL
 COMMENT-pg_upgrade=Support for upgrading PostgreSQL data from previous version
 
-VERSION=	11.5
-PREV_MAJOR=	10
-REVISION-server=0
+VERSION=	12.1
+PREV_MAJOR=	11
 DISTNAME=	postgresql-${VERSION}
 PKGNAME-main=	postgresql-client-${VERSION}
 PKGNAME-server=	postgresql-server-${VERSION}
@@ -20,10 +19,10 @@ PKGNAME-pg_upgrade=postgresql-pg_upgrade
 
 
 CATEGORIES=	databases
-SHARED_LIBS=	ecpg		7.9 \
-		ecpg_compat	4.9 \
-		pgtypes		4.8 \
-		pq		6.10
+SHARED_LIBS=	ecpg		7.10 \
+		ecpg_compat	4.10 \
+		pgtypes		4.9 \
+		pq		6.11
 
 HOMEPAGE=	http://www.postgresql.org/
 
@@ -96,8 +95,10 @@ MODGNU_CONFIG_GUESS_DIRS=	${WRKSRC}/conf
 ALL_TARGET=	world
 INSTALL_TARGET=	install-world
 
-LIB_DEPENDS-main= textproc/libxml
-WANTLIB-main =	${WANTLIB} xml2
+LIB_DEPENDS-main=	archivers/xz \
+			converters/libiconv \
+			textproc/libxml
+WANTLIB-main =	${WANTLIB} iconv lzma xml2
 
 
 LIB_DEPENDS-server= databases/postgresql=${VERSION} \
@@ -163,5 +164,7 @@ post-install:
 	${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/postgresql
 	perl -i -pe ${INSTALL_REPLACE} \
 		${PREFIX}/lib/postgresql/pgxs/src/Makefile.global
+	${INSTALL_DATA} ${WRKSRC}/src/backend/utils/errcodes.txt \
+		${PREFIX}/share/postgresql
 
 .include 
Index: databases/postgresql/distinfo
===
RCS file: /cvs/ports/databases/postgresql/distinfo,v
retrieving revision 1.80
diff -u -p -u -p -r1.80 distinfo
--- databases/postgresql/distinfo	12 Aug 2019 16:40:40 -	1.80
+++ databases/postgresql/distinfo	14 Nov 2019 21:07:47 -
@@ -1,2 +1,2 @@
-SHA256 (postgresql-11.5.tar.gz) = 9jmvD4w/HkcOQcgQjL2upYNrJzjK3UIhNaoqD+vIrng=
-SIZE (postgresql-11.5.tar.gz) = 25940612
+SHA256 (postgresql-12.1.tar.gz) = mGjBFJoEuuETFTPFy9HEb5wHf4NPYUerrvh5GnyRsaE=
+SIZE (postgresql-12.1.tar.gz) = 26428138
Index: databases/postgresql/patches/patch-src_bin_scripts_vacuumdb_c
===
RCS file: /cvs/ports/databases/postgresql/patches/patch-src_bin_scripts_vacuumdb_c,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-src_bin_scripts_vacuumdb_c
--- databases/postgresql/patches/patch-src_bin_scripts_vacuumdb_c	13 Nov 2017 17:17:30 -	1.2
+++ databases/postgresql/patches/patch-src_bin_scripts_vacuumdb_c	14 Nov 2019 21:07:47 -
@@ -2,9 +2,9 @@ $OpenBSD: patch-src_bin_scripts_vacuumdb
 Index: src/bin/scripts/vacuumdb.c
 --- src/bin/scripts/vacuumdb.c.orig
 +++ src/bin/scripts/vacuumdb.c
-@@ -10,6 +10,8 @@
-  *-
-  */
+@@ -14,6 +14,8 @@
+ #define FD_SETSIZE 1024			/* must set before winsock2.h is included */
+ #endif
  
 +#include  /* FD_SETSIZE */
 +
Index: databases/postgresql/patches/patch-src_include_storage_s_lock_h
===
RCS file: /cvs/ports/databases/postgresql/patches/patch-src_include_storage_s_lock_h,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 patch-src_include_storage_s_lock_h
--- databases/postgresql/patches/patch-src_include_storage_s_lock_h	18 Feb 2018 17:37:13 -	1.5
+++ databases/postgresql/patches/patch-src_include_storage_s_lock_h	14 Nov 2019 21:07:47 -
@@ -2,7 +2,7 @@ $OpenBSD: patch-src_include_storage_s_lo
 Index: src/include/storage/s_lock.h
 --- src/include/storage/s_lock.h.orig
 +++ src/include/storage/s_lock.h
-@@ -717,6 +717,29 @@ typedef unsigned char slock_t;
+@@ -734,6 +734,29 @@ typedef 

Re: reposync: Fix quoting, mention default destination, other nits

2019-11-14 Thread Klemens Nanni
On Thu, Nov 14, 2019 at 08:45:32PM -, Christian Weisgerber wrote:
> Here's a bunch more script tweaks.  This is somewhat style/personal
> preference territory.  --exclude can be used with listing mode.
Yup, I tried to stick to technical reasoning rather than personal style,
but your diff sure is finen with me.

I've also squeezed a syntax check into fake because why not bail out on
errors rather than packaging them.

Overall diff below.
OK?


Index: Makefile
===
RCS file: /cvs/ports/sysutils/reposync/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile14 Nov 2019 13:21:42 -  1.9
+++ Makefile14 Nov 2019 21:09:40 -
@@ -2,8 +2,7 @@
 
 COMMENT=   script to update an OpenBSD CVS repository via rsync
 
-PKGNAME=   reposync-0.9
-REVISION = 0
+PKGNAME=   reposync-0.10
 
 CATEGORIES=sysutils
 DISTFILES=
@@ -18,11 +17,9 @@ NO_TEST= Yes
 
 RUN_DEPENDS=   net/rsync
 
-do-extract:
-   cp ${FILESDIR}/reposync* ${WRKDIR}/
-
 do-install:
-   ${SUBST_PROGRAM} ${WRKSRC}/reposync ${PREFIX}/bin/reposync
-   ${INSTALL_MAN} ${WRKSRC}/reposync.1 ${PREFIX}/man/man1/reposync.1
+   ksh -n ${FILESDIR}/reposync
+   ${INSTALL_SCRIPT} ${FILESDIR}/reposync ${PREFIX}/bin/
+   ${INSTALL_MAN} ${FILESDIR}/reposync.1 ${PREFIX}/man/man1/
 
 .include 
Index: files/reposync
===
RCS file: /cvs/ports/sysutils/reposync/files/reposync,v
retrieving revision 1.7
diff -u -p -r1.7 reposync
--- files/reposync  10 Nov 2019 13:53:39 -  1.7
+++ files/reposync  14 Nov 2019 21:11:37 -
@@ -24,41 +24,40 @@ err()
 
 usage()
 {
-   echo "usage: ${0##*/} [-f] [-p | -l username] rsync://upstream/cvs 
[/path/to/cvs]" >&2
+   echo "usage: ${0##*/} [-f] [-p | -l username] rsync://upstream/path 
[destination]" >&2
exit 1
 }
 
 force=false
 fwduser=anoncvs
 while getopts "fl:p" c; do
-   case "$c" in
+   case $c in
f) force=true   ;;
-   l) fwduser="$OPTARG";;
-   p) fwduser=""   ;;
+   l) fwduser=$OPTARG  ;;
+   p) fwduser= ;;
*) usage;;
esac
 done
 shift $((OPTIND-1))
-[ $# -gt 0 ] || usage
+(( $# > 0 )) || usage
 
-synchost="$1"
-repodir=/cvs
-[[ -n $2 ]] && repodir=$2
+synchost=$1
+repodir=${2:-/cvs}
 
 run_rsync()
 {
if [[ -n $fwduser ]]; then
# reach rsync on the server via an ssh port-forward
-   rsync -e "ssh -W localhost:rsync -l $fwduser" $* 2>&1
+   rsync -e "ssh -W localhost:rsync -l $fwduser" "$@" 2>&1
else
-   rsync $* 2>&1
+   rsync "$@" 2>&1
fi
 }
 
-rundir="/var/db/reposync"
+rundir=/var/db/reposync
 
-for i in $rundir $repodir; do
-   [ ! -d $i ] || [ ! -w $i ] &&
+for i in "$rundir" "$repodir"; do
+   [[ ! -d $i ]] || [[ ! -w $i ]] &&
err "$i must exist as a writable directory"
 done
 
@@ -66,12 +65,12 @@ if [[ $(id -u) != $(stat -L -f "%u" "$re
err "should be run by the uid owning the repository"
 fi
 
-oldhash="invalid"
-hashfile="$rundir/reposync.hash"
-lockfile="$rundir/reposync.lock"
+oldhash=invalid
+hashfile=$rundir/reposync.hash
+lockfile=$rundir/reposync.lock
 cd $rundir
 
-if [ -h $lockfile ]; then
+if [[ -h $lockfile ]]; then
# read the pid from $lockfile symlink target
lockedpid=$(stat -f %Y $lockfile)
 
@@ -81,30 +80,30 @@ if [ -h $lockfile ]; then
fi
 
# not still running, the lock must be stale (machine panicked, etc) so 
zap it
-   rm -f $lockfile
+   rm -f -- $lockfile
 fi
 
 ln -s $$ $lockfile || err "could not lock $lockfile"
 
-trap "rm -f $lockfile" 0 1 2 15
+trap "rm -f -- $lockfile" 0 1 2 15
 
 # check CVSROOT directory listing to identify updates; primarily for
 # ChangeLog but val-tags may also be updated after a checkout was done
 # using a new tag. ignore "history" (lists read-only operations).
-_t="$(run_rsync ${synchost}/CVSROOT/ | grep -v history)"
+_t=$(run_rsync --exclude='history*' ${synchost}/CVSROOT/)
 [[ -n $fwduser ]] && case $_t in
"stdio forwarding failed"*|"Stdio forwarding request failed"*)
err "mirror does not support ssh port-forwarding" ;;
 esac
 newhash="${synchost} $(echo $_t | sha256)"
 
-if [ -r $hashfile ]; then
+if [[ -r $hashfile ]]; then
age=$((`date +%s` - `stat -t %s -f %m $hashfile`))
# don't entirely rely on CVSROOT files; not all tree operations
# result in a change there so also do a full update run at least
# every 6h.
-   if [ $age -lt $((6*60*60)) ]; then
-   oldhash=`cat $hashfile`
+   if ((age < 6*60*60)); then
+   oldhash=$(< $hashfile)
fi
 fi
 
@@ -113,7 +112,7 @@ if $force || [[ $oldhash != $newhash 

Illegal instruction (core dumped) with go/restic on Soekris i386

2019-11-14 Thread lists+ports
Hello all,

Trying to run go or restic on a soekris net5501 results in:

Illegal instruction (core dumped)

Has anyone else seen issues similar to this?  Go seems to work fine on
all my amd64 boxes, and this is unfortunately the only i386 I have
around to test on.

Here's some minimal debug output:

(gdb) run
Starting program: /usr/local/bin/go 

Program received signal SIGILL, Illegal instruction.
0x0807fa0b in runtime.check ()
Current language:  auto; currently minimal
(gdb) bt
#0  0x0807fa0b in runtime.check ()
#1  0x08927120 in ?? ()
#2  0xcf7c5728 in ?? ()
#3  0x08049598 in x_cgo_init ()
Previous frame inner to this frame (corrupt stack?)
(gdb) 

and my dmesg:

OpenBSD 6.6 (GENERIC) #0: Sat Oct 26 05:57:51 MDT 2019
r...@syspatch-66-i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
real mem  = 536363008 (511MB)
avail mem = 510914560 (487MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 20/80/26, BIOS32 rev. 0 @ 0xfac40
pcibios0 at bios0: rev 2.0 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc8000/0xa800
cpu0 at mainbus0: (uniprocessor)
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 500 
MHz, 05-0a-02
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW
mtrr: K6-family MTRR support (2 registers)
amdmsr0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
0:20:0: io address conflict 0x6100/0x100
0:20:0: io address conflict 0x6200/0x200
pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33
glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES
vr0 at pci0 dev 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, address 
00:00:24:cb:55:34
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, 
model 0x0034
vr1 at pci0 dev 7 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5, address 
00:00:24:cb:55:35
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, 
model 0x0034
vr2 at pci0 dev 8 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 9, address 
00:00:24:cb:55:36
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, 
model 0x0034
vr3 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12, address 
00:00:24:cb:55:37
ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063, 
model 0x0034
glxpcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit 
3579545Hz timer, watchdog, gpio, i2c
gpio0 at glxpcib0: 32 pins
iic0 at glxpcib0
pciide0 at pci0 dev 20 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 1: 
wd0: 1-sector PIO, LBA, 30560MB, 62586880 sectors
wd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 15, version 1.0, 
legacy support
ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 15
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "AMD EHCI root hub" rev 2.00/1.00 
addr 1
isa0 at glxpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbc0: unable to establish interrupt for irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "AMD OHCI root hub" rev 1.00/1.00 
addr 1
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (ee5bf60599620eb3.a) swap on wd0b dump on wd0b
syncing disks... done
OpenBSD 6.6 (GENERIC) #0: Sat Oct 26 05:57:51 MDT 2019
r...@syspatch-66-i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
real mem  = 536363008 (511MB)
avail mem = 510910464 (487MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 20/80/26, BIOS32 rev. 0 @ 0xfac40
pcibios0 at bios0: rev 2.0 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc8000/0xa800
cpu0 at mainbus0: (uniprocessor)
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 500 
MHz, 05-0a-02
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW
mtrr: K6-family MTRR support (2 registers)
amdmsr0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
0:20:0: io address conflict 0x6100/0x100
0:20:0: io address conflict 0x6200/0x200
pchb0 

Re: NEW: devel/leiningen - Clojure project automation

2019-11-14 Thread Klemens Nanni
On Mon, Nov 11, 2019 at 08:07:00AM +0100, Rafael Sadowski wrote:
> If upstream recommends OpenJDK 8, I prefer to set MODJAVA_VER = 1.8 instead
> of 1.8+ otherwise we run in and error if only JDK11 is installed:
> 
> $ lein
> /usr/local/bin/lein: line 122: /usr/local/jdk-1.8.0/bin/java: No such
> file or directory
Good catch, thanks.  lang/clojure uses 1.8+ (with plus) as well, could
we run into simliar problems here as well?

Since that path to the java executable is substituted at build time and
devel/jdk provides no version agnostic path, I don't see a better
solution as of now than fixing it to 1.8 (no plus).

OK?


leiningen.tgz
Description: Binary data


Re: devel/git: cpu and memory tracking, LIB_DEPENDS

2019-11-14 Thread Klemens Nanni
On Mon, Nov 11, 2019 at 09:06:59PM +0200, Jeremie Courreges-Anglas wrote:
> > If people like this approach I can try to push it upstream, along with
> > the ncpu diff.
Using sysconf(3) seems simple and sane.

OK kn



Re: reposync: Fix quoting, mention default destination, other nits

2019-11-14 Thread Christian Weisgerber
On 2019-11-14, Klemens Nanni  wrote:

> Feedback? OK?

Here's a bunch more script tweaks.  This is somewhat style/personal
preference territory.  --exclude can be used with listing mode.

--- reposync.orig   Thu Nov 14 21:24:57 2019
+++ reposyncThu Nov 14 21:32:45 2019
@@ -31,30 +31,30 @@
 force=false
 fwduser=anoncvs
 while getopts "fl:p" c; do
-   case "$c" in
+   case $c in
f) force=true   ;;
-   l) fwduser="$OPTARG";;
-   p) fwduser=""   ;;
+   l) fwduser=$OPTARG  ;;
+   p) fwduser= ;;
*) usage;;
esac
 done
 shift $((OPTIND-1))
-[ $# -gt 0 ] || usage
+(( $# > 0 )) || usage
 
-synchost="$1"
+synchost=$1
 repodir=${2:-/cvs}
 
 run_rsync()
 {
if [[ -n $fwduser ]]; then
# reach rsync on the server via an ssh port-forward
-   rsync -e "ssh -W localhost:rsync -l $fwduser" $* 2>&1
+   rsync -e "ssh -W localhost:rsync -l $fwduser" "$@" 2>&1
else
-   rsync $* 2>&1
+   rsync "$@" 2>&1
fi
 }
 
-rundir="/var/db/reposync"
+rundir=/var/db/reposync
 
 for i in "$rundir" "$repodir"; do
[[ ! -d $i ]] || [[ ! -w $i ]] &&
@@ -65,9 +65,9 @@
err "should be run by the uid owning the repository"
 fi
 
-oldhash="invalid"
-hashfile="$rundir/reposync.hash"
-lockfile="$rundir/reposync.lock"
+oldhash=invalid
+hashfile=$rundir/reposync.hash
+lockfile=$rundir/reposync.lock
 cd $rundir
 
 if [[ -h $lockfile ]]; then
@@ -90,7 +90,7 @@
 # check CVSROOT directory listing to identify updates; primarily for
 # ChangeLog but val-tags may also be updated after a checkout was done
 # using a new tag. ignore "history" (lists read-only operations).
-_t="$(run_rsync ${synchost}/CVSROOT/ | grep -v history)"
+_t=$(run_rsync --exclude='history*' ${synchost}/CVSROOT/)
 [[ -n $fwduser ]] && case $_t in
"stdio forwarding failed"*|"Stdio forwarding request failed"*)
err "mirror does not support ssh port-forwarding" ;;
@@ -103,7 +103,7 @@
# result in a change there so also do a full update run at least
# every 6h.
if ((age < 6*60*60)); then
-   oldhash=`cat $hashfile`
+   oldhash=$(< $hashfile)
fi
 fi
 

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



[Upgrade] PostgreSQL 11.6

2019-11-14 Thread Pierre-Emmanuel André
Hello,

Small diff to update PostgreSQL to it's latest version 11.6.
This diff is more for -stable because the plan is to upgrade -current
to PostgreSQL 12.1.
Tested on @amd64.

Comments, ok ?

Regards,
Index: Makefile
===
RCS file: /cvs/ports/databases/postgresql/Makefile,v
retrieving revision 1.256
diff -u -p -u -p -r1.256 Makefile
--- Makefile	27 Aug 2019 19:49:46 -	1.256
+++ Makefile	14 Nov 2019 20:45:55 -
@@ -7,9 +7,8 @@ COMMENT-contrib=PostgreSQL RDBMS contrib
 COMMENT-plpython=Python procedural language for PostgreSQL
 COMMENT-pg_upgrade=Support for upgrading PostgreSQL data from previous version
 
-VERSION=	11.5
+VERSION=	11.6
 PREV_MAJOR=	10
-REVISION-server=0
 DISTNAME=	postgresql-${VERSION}
 PKGNAME-main=	postgresql-client-${VERSION}
 PKGNAME-server=	postgresql-server-${VERSION}
Index: distinfo
===
RCS file: /cvs/ports/databases/postgresql/distinfo,v
retrieving revision 1.80
diff -u -p -u -p -r1.80 distinfo
--- distinfo	12 Aug 2019 16:40:40 -	1.80
+++ distinfo	14 Nov 2019 20:45:55 -
@@ -1,2 +1,2 @@
-SHA256 (postgresql-11.5.tar.gz) = 9jmvD4w/HkcOQcgQjL2upYNrJzjK3UIhNaoqD+vIrng=
-SIZE (postgresql-11.5.tar.gz) = 25940612
+SHA256 (postgresql-11.6.tar.gz) = VkStP3W8mHPoDj1WnICtdYY0OLQmC/5MgvBWSG26kwg=
+SIZE (postgresql-11.6.tar.gz) = 26001678
Index: pkg/PLIST-docs
===
RCS file: /cvs/ports/databases/postgresql/pkg/PLIST-docs,v
retrieving revision 1.92
diff -u -p -u -p -r1.92 PLIST-docs
--- pkg/PLIST-docs	12 Aug 2019 16:40:40 -	1.92
+++ pkg/PLIST-docs	14 Nov 2019 20:45:55 -
@@ -675,6 +675,7 @@ share/doc/postgresql/html/release-11-2.h
 share/doc/postgresql/html/release-11-3.html
 share/doc/postgresql/html/release-11-4.html
 share/doc/postgresql/html/release-11-5.html
+share/doc/postgresql/html/release-11-6.html
 share/doc/postgresql/html/release-11.html
 share/doc/postgresql/html/release-prior.html
 share/doc/postgresql/html/release.html
@@ -1102,6 +1103,7 @@ share/doc/postgresql/html/xfunc-sql.html
 share/doc/postgresql/html/xfunc-volatility.html
 share/doc/postgresql/html/xfunc.html
 share/doc/postgresql/html/xindex.html
+share/doc/postgresql/html/xml-limits-conformance.html
 share/doc/postgresql/html/xml2.html
 share/doc/postgresql/html/xoper-optimization.html
 share/doc/postgresql/html/xoper.html


Re: Neovim update and new libluv port

2019-11-14 Thread Travis Cole
On Thu, Nov 14, 2019, at 09:09, Travis Cole wrote:
> Hey Edd,
> 
> I have some revised diffs that should address your concerns and fix the build 
> for you.
> 

Oops, sorry found a couple of things I didn't like in my neovim diff.

The attached one is better.

Disables cmake color in the luv build.
Use ${MAKE_PROGRAM} instead of ${MAKE} in the luv build. I *think* that's a bit 
more correct.

So please use this diff. Thanks!diff --git Makefile Makefile
index e9b174a..606b44e 100644
--- Makefile
+++ Makefile
@@ -4,15 +4,24 @@ COMMENT =	continuation and extension of Vim
 
 GH_ACCOUNT =	neovim
 GH_PROJECT =	neovim
-GH_TAGNAME =	v0.3.8
+GH_TAGNAME =	v0.4.3
 
 CATEGORIES =	editors devel
 HOMEPAGE =	https://neovim.io
 MAINTAINER =	Edd Barrett 
 
+# Neovim must be statically linked with libluv, which isn't yet ported.
+LUV_VER=	1.30.1-1
+LUV	   =	luv-${LUV_VER}
+MASTER_SITES0 = https://github.com/luvit/luv/releases/download/${LUV_VER}/
+DISTFILES  =	${DISTNAME}${EXTRACT_SUFX} \
+		${LUV}${EXTRACT_SUFX}:0
+
 # Apache 2.0 + Vim License
 PERMIT_PACKAGE =	Yes
 
+DEBUG_PACKAGES =${BUILD_PACKAGES}
+
 WANTLIB += c iconv intl ${MODLUA_WANTLIB} m msgpackc pthread termkey
 WANTLIB += unibilium util uv vterm
 
@@ -30,18 +39,20 @@ BUILD_DEPENDS =		${RUN_DEPENDS} \
 LIB_DEPENDS =		devel/gettext,-runtime \
 			devel/libtermkey \
 			devel/libuv \
-			devel/libvterm \
+			devel/libvterm>=1.0 \
 			devel/msgpack \
-			devel/unibilium
+			devel/unibilium>=1.0
 
 RUN_DEPENDS +=		devel/libmpack/lua \
 			devel/libmpack/main \
 			devel/desktop-file-utils
 
-MAKE_FLAGS +=		USE_BUNDLED_DEPS=OFF
+MAKE_FLAGS +=		USE_BUNDLED=OFF
 CONFIGURE_ARGS +=	-DLUA_PRG=${MODLUA_BIN} \
 			-DLUA_INCLUDE_DIR=${MODLUA_INCL_DIR} \
 			-DLUA_LIBRARIES=${MODLUA_LIB} \
+			-DLIBLUV_INCLUDE_DIR=${WRKBUILD}/deps/include \
+			-DLIBLUV_LIBRARY=${WRKBUILD}/deps/lib/libluv.a \
 			-DPREFER_LUA=ON # disables LuaJIT
 
 # Tests need gmake
@@ -51,6 +62,20 @@ TEST_DEPENDS =	shells/bash \
 		editors/py-neovim \
 		editors/py-neovim,python3
 
+# Build libluv first as a static library. We opted not to create a libluv
+# port because it must be built for a specific Lua version and we don't know
+# what version future ports might need. Currently no other port requires
+# libluv, so it's simpler to build a static library here.
+pre-configure:
+	@mkdir -p ${WRKBUILD}/build
+	@(cd ${WRKBUILD}/build && \
+		cmake -DWITH_LUA_ENGINE=Lua \
+		-DLUA_LIBRARIES=${MODLUA_LIB} \
+		-DLUA_INCLUDE_DIR=${MODLUA_INCL_DIR} -DBUILD_MODULE=OFF \
+		-DLUA_BUILD_TYPE=System -DCMAKE_COLOR_MAKEFILE=OFF \
+		-DCMAKE_INSTALL_PREFIX=${WRKBUILD}/deps ${WRKDIR}/${LUV} && \
+		${MAKE_PROGRAM} install)
+
 # These are the "old tests". There is also a new suite, but we would need the
 # "busted" test suite for Lua, which is not yet ported.
 #
diff --git distinfo distinfo
index 890fd75..1c1e58a 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,4 @@
-SHA256 (neovim-0.3.8.tar.gz) = lT4TRWjYJNrXy/Mu4xFJUXMvmnUMRi5DDmtZP0GK92w=
-SIZE (neovim-0.3.8.tar.gz) = 9233661
+SHA256 (luv-1.30.1-1.tar.gz) = Tih77W9R/VDOA7p/qMwz2E4bnLhpEcSBK7H0eh4+0So=
+SHA256 (neovim-0.4.3.tar.gz) = kaC10yIEqCG/QUaQ5rSM9pIk0ZYdNxWMKzg/amz4VNI=
+SIZE (luv-1.30.1-1.tar.gz) = 1354232
+SIZE (neovim-0.4.3.tar.gz) = 9556199
diff --git patches/patch-src_nvim_os_process_c patches/patch-src_nvim_os_process_c
deleted file mode 100644
index a2e2b6f..000
--- patches/patch-src_nvim_os_process_c
+++ /dev/null
@@ -1,40 +0,0 @@
-$OpenBSD: patch-src_nvim_os_process_c,v 1.1 2019/03/17 13:13:40 edd Exp $
-
-Port job stopping bug fix to neovim:
-
-Original vim fix:
-https://github.com/vim/vim/commit/76ab4fd61901090e6af3451ca6c5ca0fc370571f#diff-b68adb4fa34020d8d7f0ab40a2704335
-
-Index: src/nvim/os/process.c
 src/nvim/os/process.c.orig
-+++ src/nvim/os/process.c
-@@ -89,21 +89,16 @@ bool os_proc_tree_kill(int pid, int sig)
- bool os_proc_tree_kill(int pid, int sig)
- {
-   assert(sig == SIGTERM || sig == SIGKILL);
--  int pgid = getpgid(pid);
--  if (pgid > 0) {  // Ignore error. Never kill self (pid=0).
--if (pgid == pid) {
--  ILOG("sending %s to process group: -%d",
--   sig == SIGTERM ? "SIGTERM" : "SIGKILL", pgid);
--  int rv = uv_kill(-pgid, sig);
--  return rv == 0;
--} else {
--  // Should never happen, because process_spawn() did setsid() in the child.
--  ELOG("pgid %d != pid %d", pgid, pid);
--}
-+  if (pid != 0) {  // Never kill self (pid=0).
-+ILOG("sending %s to PIDs %d and %d",
-+  sig == SIGTERM ? "SIGTERM" : "SIGKILL", -pid, pid);
-+
-+int rv1 = uv_kill(-pid, sig);
-+int rv2 = uv_kill(pid, sig);
-+return (rv1 == 0) && (rv2 == 0);
-   } else {
--ELOG("getpgid(%d) returned %d", pid, pgid);
-+return false;
-   }
--  return false;
- }
- #endif
- 
diff --git pkg/PLIST pkg/PLIST
index 38ff796..65288f9 100644
--- pkg/PLIST
+++ pkg/PLIST
@@ -220,7 +220,6 @@ share/nvim/runtime/doc/diff.txt
 share/nvim/runtime/doc/digraph.txt
 share/nvim/runtime/doc/editing.txt
 

CVS: cvs.openbsd.org: ports

2019-11-14 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2019/11/14 12:53:35

Modified files:
devel/got  : Makefile 

Log message:
debug symbol package for devel/got



Re: [wip] firefox 71.0b8 with unveil integration

2019-11-14 Thread Landry Breuil
On Tue, Nov 12, 2019 at 12:21:04PM +0100, Alexandre Ratchov wrote:
> On Tue, Nov 12, 2019 at 08:32:29AM +0100, Landry Breuil wrote:
> > On Sun, Nov 10, 2019 at 12:58:50PM +0100, Tim van der Molen wrote:
> > > Landry Breuil (2019-11-08 23:48 +0100):
> > > > https://packages.rhaalovely.net/ has amd64 pkgs for 71.0b8 built from
> > > > this branch, and i'm running it now. This needs more testing from anyone
> > > > actually using firefox in weird environments so that we figure out more
> > > > missing paths.
> > > 
> > > Firefox doesn't play audio unless I add "/usr/lib r" to unveil.content.
> > > I can reproduce this with an empty homedir and an audio-only .ogg file
> > > in /tmp.
> > > 
> > > Firefox writes this to stderr:
> > > 
> > > [Child 99779, MediaDecoderStateMachine #1] WARNING: 17d3e855100 Can't get 
> > > cubeb context!: file 
> > > /usr/ports/pobj/firefox-71.0beta8/firefox-71.0/dom/media/AudioStream.cpp, 
> > > line 281
> > > [Child 99779, MediaDecoderStateMachine #1] WARNING: Decoder=17d3db0c800 
> > > [OnMediaSinkAudioError]: file 
> > > /usr/ports/pobj/firefox-71.0beta8/firefox-71.0/dom/media/MediaDecoderStateMachine.cpp,
> > >  line 3639
> > > [Child 99779, MediaDecoderStateMachine #1] WARNING: Decoder=17d3db0c800 
> > > Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - 
> > > OnMediaSinkAudioError: file 
> > > /usr/ports/pobj/firefox-71.0beta8/firefox-71.0/dom/media/MediaDecoderStateMachine.cpp,
> > >  line 3308
> > > [Parent 6521, Gecko_IOThread] WARNING: pipe error: Broken pipe: file 
> > > /usr/ports/pobj/firefox-71.0beta8/firefox-71.0/ipc/chromium/src/chrome/common/ipc_channel_posix.cc,
> > >  line 728
> > > 
> > > ktrace -di shows this:
> > > 
> > >  99779 firefox  NAMI  "/usr/lib/libsndio.so.7.0"
> > >  99779 firefox  RET   open -1 errno 2 No such file or directory
> > 
> > I finally had time to properly dig ainto this, and indeed it tries to
> > dlopen this file in
> > https://searchfox.org/mozilla-central/source/media/libcubeb/src/cubeb_sndio.c#285
> > - i dont really remember this parts, alex was it here last you worked on
> >   the cubeb sndio backend ? this code is coming from
> > https://bugzilla.mozilla.org/show_bug.cgi?id=1575883, which comes
> > from upstream cubeb in
> > https://github.com/kinetiknz/cubeb/commit/9eb4c89535fdf3726900231a804aa35e19b9f93c,
> > which in the end came from https://github.com/kinetiknz/cubeb/pull/539
> > where jan beich (the freebsd mozilla porter, in cc) moved from linking to 
> > libsndio
> > to dlopening at runtime.
> 
> This part is new, I've seen Jan Beich diff, but missed the
> DISABLE_LIBSNDIO_DLOPEN bits.
> 
> > I guess one of the options is to set DISABLE_LIBSNDIO_DLOPEN (cf
> > https://searchfox.org/mozilla-central/source/media/libcubeb/src/cubeb_sndio.c#26)
> > but then one would need to readd sndio to the libs linked (i dont see
> > this done in the build system yet), and i'm not sure this codepath was
> > tested much.. alex, what's your take on this ?
> 
> IMHO we should use DISABLE_LIBSNDIO_DLOPEN as in the diff you proposed
> in your other mail; this would also help catching bugs by not
> disabling compiler type checks.

I've tested the proposed diff and it indeed does the right thing, ie it
links libxul.so with libsndio, and i can play sound with unveil enabled
without having to unveil /usr/lib/libsndio.so.7.0.

If ppl want to test it, the firefox-71.0beta9 package on my repo
contains
https://cgit.rhaalovely.net/mozilla-firefox/commit/?h=unveil=ed3d4671090ec2449cb9ab935a923862275f43d6
which i'm going to push upstream. Or rebuild the port from the git
branch..

Landry



Re: reposync: Fix quoting, mention default destination, other nits

2019-11-14 Thread Klemens Nanni
On Thu, Nov 14, 2019 at 12:50:20PM +0100, Klemens Nanni wrote:
> $destdir holds user input so quote it;  since ksh(1) not sh(1) is used,
> use [[ instead of [ consistently to disable word splitting.
> 
> Mention /cvs in the manual being the default destination, move -p
> without argument before -l and sync script usage with manual synopsis.
> 
> Delimit rm(1) options from paths just to be sure.
> 
> Feedback? OK?
> 
> While here, files/reposync has nothing to SUBSTitute, so use
> INSTALL_SCRIPT in do-install directly.
> 
> If too much, I can also split up the diff/commit separately.
New diff after espie's REVISION bump.


Index: Makefile
===
RCS file: /cvs/ports/sysutils/reposync/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile14 Nov 2019 13:21:42 -  1.9
+++ Makefile14 Nov 2019 19:20:59 -
@@ -2,8 +2,7 @@
 
 COMMENT=   script to update an OpenBSD CVS repository via rsync
 
-PKGNAME=   reposync-0.9
-REVISION = 0
+PKGNAME=   reposync-0.10
 
 CATEGORIES=sysutils
 DISTFILES=
@@ -18,11 +17,8 @@ NO_TEST= Yes
 
 RUN_DEPENDS=   net/rsync
 
-do-extract:
-   cp ${FILESDIR}/reposync* ${WRKDIR}/
-
 do-install:
-   ${SUBST_PROGRAM} ${WRKSRC}/reposync ${PREFIX}/bin/reposync
-   ${INSTALL_MAN} ${WRKSRC}/reposync.1 ${PREFIX}/man/man1/reposync.1
+   ${INSTALL_SCRIPT} ${FILESDIR}/reposync ${PREFIX}/bin/
+   ${INSTALL_MAN} ${FILESDIR}/reposync.1 ${PREFIX}/man/man1/
 
 .include 
Index: files/reposync
===
RCS file: /cvs/ports/sysutils/reposync/files/reposync,v
retrieving revision 1.7
diff -u -p -r1.7 reposync
--- files/reposync  10 Nov 2019 13:53:39 -  1.7
+++ files/reposync  14 Nov 2019 11:38:27 -
@@ -24,7 +24,7 @@ err()
 
 usage()
 {
-   echo "usage: ${0##*/} [-f] [-p | -l username] rsync://upstream/cvs 
[/path/to/cvs]" >&2
+   echo "usage: ${0##*/} [-f] [-p | -l username] rsync://upstream/path 
[destination]" >&2
exit 1
 }
 
@@ -42,8 +42,7 @@ shift $((OPTIND-1))
 [ $# -gt 0 ] || usage
 
 synchost="$1"
-repodir=/cvs
-[[ -n $2 ]] && repodir=$2
+repodir=${2:-/cvs}
 
 run_rsync()
 {
@@ -57,8 +56,8 @@ run_rsync()
 
 rundir="/var/db/reposync"
 
-for i in $rundir $repodir; do
-   [ ! -d $i ] || [ ! -w $i ] &&
+for i in "$rundir" "$repodir"; do
+   [[ ! -d $i ]] || [[ ! -w $i ]] &&
err "$i must exist as a writable directory"
 done
 
@@ -71,7 +70,7 @@ hashfile="$rundir/reposync.hash"
 lockfile="$rundir/reposync.lock"
 cd $rundir
 
-if [ -h $lockfile ]; then
+if [[ -h $lockfile ]]; then
# read the pid from $lockfile symlink target
lockedpid=$(stat -f %Y $lockfile)
 
@@ -81,12 +80,12 @@ if [ -h $lockfile ]; then
fi
 
# not still running, the lock must be stale (machine panicked, etc) so 
zap it
-   rm -f $lockfile
+   rm -f -- $lockfile
 fi
 
 ln -s $$ $lockfile || err "could not lock $lockfile"
 
-trap "rm -f $lockfile" 0 1 2 15
+trap "rm -f -- $lockfile" 0 1 2 15
 
 # check CVSROOT directory listing to identify updates; primarily for
 # ChangeLog but val-tags may also be updated after a checkout was done
@@ -98,12 +97,12 @@ _t="$(run_rsync ${synchost}/CVSROOT/ | g
 esac
 newhash="${synchost} $(echo $_t | sha256)"
 
-if [ -r $hashfile ]; then
+if [[ -r $hashfile ]]; then
age=$((`date +%s` - `stat -t %s -f %m $hashfile`))
# don't entirely rely on CVSROOT files; not all tree operations
# result in a change there so also do a full update run at least
# every 6h.
-   if [ $age -lt $((6*60*60)) ]; then
+   if ((age < 6*60*60)); then
oldhash=`cat $hashfile`
fi
 fi
@@ -113,7 +112,7 @@ if $force || [[ $oldhash != $newhash ]];
# the old one so sync is reattempted next run
if run_rsync -rlptiz --omit-dir-times --delete \
--exclude='#cvs.rfl.*' --exclude='CVSROOT/history*' \
-   ${synchost}/{CVSROOT,www,xenocara,ports,src} $repodir/; then
+   ${synchost}/{CVSROOT,www,xenocara,ports,src} "$repodir"/; then
echo $newhash > $hashfile
else
err "rsync failed"
Index: files/reposync.1
===
RCS file: /cvs/ports/sysutils/reposync/files/reposync.1,v
retrieving revision 1.3
diff -u -p -r1.3 reposync.1
--- files/reposync.110 Nov 2019 13:36:32 -  1.3
+++ files/reposync.114 Nov 2019 11:38:18 -
@@ -23,7 +23,7 @@
 .Sh SYNOPSIS
 .Nm
 .Op Fl f
-.Op Fl l Ar username | Fl p
+.Op Fl p | Fl l Ar username
 .Ar rsync://upstream/path
 .Op Ar destination
 .Sh DESCRIPTION
@@ -40,6 +40,12 @@ If only a short time has elapsed since t
 directory on the upstream server is checked for changes and the update
 is skipped if none are detected.
 .Pp
+If
+.Ar destination
+is omitted,
+.Pa /cvs
+will be used.
+.Pp
 The directory
 .Pa /var/db/reposync

CVS: cvs.openbsd.org: ports

2019-11-14 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2019/11/14 12:19:30

Modified files:
sysutils/smartmontools/patches: patch-Makefile_in 

Log message:
regen patch



CVS: cvs.openbsd.org: ports

2019-11-14 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2019/11/14 12:02:50

Modified files:
mail/mozilla-thunderbird: Makefile 

Log message:
Provide a debug package for thunderbird.



CVS: cvs.openbsd.org: ports

2019-11-14 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2019/11/14 12:02:24

Modified files:
www/firefox-esr: Makefile 

Log message:
Provide debug package for firefox-esr.



CVS: cvs.openbsd.org: ports

2019-11-14 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2019/11/14 11:38:07

Modified files:
productivity/grisbi: Makefile distinfo 
productivity/grisbi/pkg: PLIST 

Log message:
Update to grisbi 1.2.2, finally switched to Gtk+3.

ok rsadowski@



Re: cannot start KDE4 services

2019-11-14 Thread Rafael Sadowski
On Thu Nov 14, 2019 at 01:49:39AM +0100, Kuba Głoś wrote:
> >Synopsis:  KDE4 cannot be started, libs cannot be read
> >Environment:
> System  : OpenBSD 6.6
> Details : OpenBSD 6.6 (GENERIC) #0: Sat Oct 26 05:57:51 MDT 2019
>  
> r...@syspatch-66-i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
> 
> Architecture: OpenBSD.i386
> Machine : i386
> >Description:
> 
> KDE Services cannot be started.
> When tried to start ie. Drive Ejector, .xsession-errors records:
> kded(99873) *Kded::loadModule: Could not load library "kded_solidautoeject" . 
> [ "Cannot load library /usr/local/lib/kde4/kded_solidautoeject.so: (File not 
> found)" ]
> altrough file exists (permissions root:bin 444).
> 
> Also it looks like there is problem reading whole lots of libraries from 
> /usr/local/lib/kde4 :
> 66# grep kded_ .xsession-errors   
>   
>  
> kded(99873) *Kded::loadModule: Could not load library "kded_powerdevil" . [ 
> "Cannot load library /usr/local/lib/kde4/kded_powerdevil.so: (File not 
> found)" ] 
> kded(99873) *Kded::loadModule: Could not load library 
> "kded_statusnotifierwatcher" . [ "Cannot load library 
> /usr/local/lib/kde4/kded_statusnotifierwatcher.so: (File not found)" ] 
> kded(99873) *Kded::loadModule: Could not load library "kded_printmanager" . [ 
> "Cannot load library /usr/local/lib/kde4/kded_printmanager.so: (File not 
> found)" ] 
> kded(99873) *Kded::loadModule: Could not load library "kded_keyboard" . [ 
> "Cannot load library /usr/local/lib/kde4/kded_keyboard.so: (File not found)" 
> ] 
> kded(99873) *Kded::loadModule: Could not load library 
> "kded_device_automounter" . [ "Cannot load library 
> /usr/local/lib/kde4/kded_device_automounter.so: (File not found)" ] 
> kded(99873) *Kded::loadModule: Could not load library "kded_ktouchpadenabler" 
> . [ "Cannot load library /usr/local/lib/kde4/kded_ktouchpadenabler.so: (File 
> not found)" ] 
> kded(99873) *Kded::loadModule: Could not load library "kded_networkstatus" . 
> [ "Cannot load library /usr/local/lib/kde4/kded_networkstatus.so: (File not 
> found)" ] 
> kded(99873) *Kded::loadModule: Could not load library "kded_ktimezoned" . [ 
> "Cannot load library /usr/local/lib/kde4/kded_ktimezoned.so: (File not 
> found)" ] 
> kded(99873) *Kded::loadModule: Could not load library "kded_ktimezoned" . [ 
> "Cannot load library /usr/local/lib/kde4/kded_ktimezoned.so: (File not 
> found)" ] 
> kded(99873) *Kded::loadModule: Could not load library "kded_ktimezoned" . [ 
> "Cannot load library /usr/local/lib/kde4/kded_ktimezoned.so: (File not 
> found)" ] 
> kded(99873) *Kded::loadModule: Could not load library "kded_ktimezoned" . [ 
> "Cannot load library /usr/local/lib/kde4/kded_ktimezoned.so: (File not 
> found)" ] 
> kded(99873) *Kded::loadModule: Could not load library "kded_desktopnotifier" 
> . [ "Cannot load library /usr/local/lib/kde4/kded_desktopnotifier.so: (File 
> not found)" ] 
> kded(99873) *Kded::loadModule: Could not load library "kded_ktimezoned" . [ 
> "Cannot load library /usr/local/lib/kde4/kded_ktimezoned.so: (File not 
> found)" ] 
> kded(99873) *Kded::loadModule: Could not load library "kded_ktimezoned" . [ 
> "Cannot load library /usr/local/lib/kde4/kded_ktimezoned.so: (File not 
> found)" ] 
> kded(99873) *Kded::loadModule: Could not load library "kded_favicons" . [ 
> "Cannot load library /usr/local/lib/kde4/kded_favicons.so: (File not found)" 
> ] 
> kded(99873) *Kded::loadModule: Could not load library "kded_favicons" . [ 
> "Cannot load library /usr/local/lib/kde4/kded_favicons.so: (File not found)" 
> ] 
> kded(99873) *Kded::loadModule: Could not load library "kded_favicons" . [ 
> "Cannot load library /usr/local/lib/kde4/kded_favicons.so: (File not found)" 
> ] 
> kded(99873) *Kded::loadModule: Could not load library "kded_favicons" . [ 
> "Cannot load library /usr/local/lib/kde4/kded_favicons.so: (File not found)" 
> ] 
> kded(99873) *Kded::loadModule: Could not load library "kded_favicons" . [ 
> "Cannot load library /usr/local/lib/kde4/kded_favicons.so: (File not found)" 
> ] 
> kded(99873) *Kded::loadModule: Could not load library "kded_favicons" . [ 
> "Cannot load library /usr/local/lib/kde4/kded_favicons.so: (File not found)" 
> ] 
> kded(99873) *Kded::loadModule: Could not load library "kded_favicons" . [ 
> "Cannot load library /usr/local/lib/kde4/kded_favicons.so: (File not found)" 
> ] 
> kded(99873) *Kded::loadModule: Could not load library "kded_favicons" . [ 
> "Cannot load library /usr/local/lib/kde4/kded_favicons.so: (File not found)" 
> ] 
> kded(99873) *Kded::loadModule: Could not load library "kded_desktopnotifier" 
> . [ "Cannot load library /usr/local/lib/kde4/kded_desktopnotifier.so: (File 
> not found)" ] 
> kded(99873) 

Re: ODP: UNBREAK: x11/kde4/kactivities

2019-11-14 Thread Rafael Sadowski
On Mon Nov 11, 2019 at 01:58:16PM +0100, Kuba Głoś wrote:
> Hello Rafael,
> not sure if it’s a real help. Of course it quits things with Activity Manager 
> startup message, but I would point your attention to other things broken in 
> KDE4 port.
> 
> In example:
> - In System Settings -> System Administration -> Startup and Shutdown -> 
> Service Manager ->  Startup Services, services cannot be started

Yeah, maybe this has never worked before. Who knows!?

> - Konqueor crashes during opening (any) webpage.

You want to use an ancient browser to visit webpages? Why would you want
to do that? I tend to delete the whole x11/kde4/baseapps port which
include Konqueor. The KDE4 Help-Center also works without konqueor.

> 
> I’m not good at programming neither OpenBSD at all, but if I could
> help in any way…

Do you seriously  want to use KDE4 on your system (VM)?  Why don't you
rather use xfce which works pretty well on OpenBSD.

> I’m going to test some earlier releases of OpenBSD, I guess KDE4 was
> broken at some point. I assumed before that above issues appeared with
> introducing OpenBSD 6.5, but I see above does not work also for
> OpenBSD 6.4.

Save your time. Nobody's gonna fix it.

> 
> Kind regards,
> Kuba
> Od: Rafael Sadowski
> Wysłano: niedziela, 10 listopada 2019 21:05
> Do: ports
> DW: Kuba Głoś; Solene Rapenne; Klemens Nanni
> Temat: UNBREAK: x11/kde4/kactivities
> 
> Here is an diff to unbreak kactivities by disabling plugins.  This makes
> the KDE desktop usable again and fixes the problem of Kuba Głoś, kn@,
> solene@ reported on bugs@.
> 
> Yeah this is not a very smart idea but it works for now. Deleting the
> plugin shared libs helps, Kuba Głoś confirmed that. Tested here with a
> new user and a clean home dir.
> 
> Objections?
> 
> RS
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/x11/kde4/kactivities/Makefile,v
> retrieving revision 1.13
> diff -u -p -u -p -r1.13 Makefile
> --- Makefile  27 Jul 2017 11:57:48 -  1.13
> +++ Makefile  10 Nov 2019 19:43:04 -
> @@ -3,27 +3,26 @@
>  COMMENT =KDE Activity rooms management
>  MODKDE4_VERSION =4.13.3
>  DISTNAME =   kactivities-${MODKDE4_VERSION}
> -REVISION =   1
> +REVISION =   2
>  
>  MASTER_SITES =   ${MASTER_SITE_KDE:=Attic/${MODKDE4_VERSION}/src/}
>  
>  SHARED_LIBS =kactivities 51.0 # 6.0
>  SHARED_LIBS +=   kactivities-models  51.0
>  
> -WANTLIB =  c m pthread
> -WANTLIB += ${COMPILER_LIBCXX}
> -WANTLIB += lib/qt4/QtDBus lib/qt4/QtDeclarative lib/qt4/QtGui 
> lib/qt4/QtNetwork
> -WANTLIB += lib/qt4/QtScript lib/qt4/QtSvg lib/qt4/QtXml
> -WANTLIB += ${KDE4LIB}/kdeui ${KDE4LIB}/kio ${KDE4LIB}/nepomukcore
> -WANTLIB += soprano
>  
> -WANTLIB += lib/qt4/QtOpenGL lib/qt4/QtSql
> -WANTLIB += ${KDE4LIB}/kcmutils ${KDE4LIB}/kdeclarative ${KDE4LIB}/plasma
> +WANTLIB += ${COMPILER_LIBCXX} lib/qt4/QtDBus lib/qt4/QtDeclarative
> +WANTLIB += lib/qt4/QtGui lib/qt4/QtNetwork lib/qt4/QtScript lib/qt4/QtSvg
> +WANTLIB += lib/qt4/QtXml ${KDE4LIB}/kdeui ${KDE4LIB}/kio m 
> ${KDE4LIB}/nepomukcore
> +WANTLIB += ${KDE4LIB}/soprano
>  
>  MODKDE4_USE =libs
>  
>  BUILD_DEPENDS =  misc/shared-desktop-ontologies
>  
>  LIB_DEPENDS =
> ${MODKDE4_DEP_DIR}/nepomuk-core>=${MODKDE4_DEP_VERSION}
> +
> +# XXX Plugins are crashing at runtime
> +CONFIGURE_ARGS +=-DKACTIVITIES_LIBRARY_ONLY=ON
>  
>  .include 
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/x11/kde4/kactivities/pkg/PLIST,v
> retrieving revision 1.4
> diff -u -p -u -p -r1.4 PLIST
> --- pkg/PLIST 9 Jul 2014 20:03:24 -   1.4
> +++ pkg/PLIST 10 Nov 2019 19:43:04 -
> @@ -1,5 +1,4 @@
>  @comment $OpenBSD: PLIST,v 1.4 2014/07/09 20:03:24 zhuk Exp $
> -@bin bin/kactivitymanagerd
>  include/kde4/KDE/KActivities/
>  include/kde4/KDE/KActivities/Consumer
>  include/kde4/KDE/KActivities/Controller
> @@ -30,12 +29,6 @@ lib/cmake/KActivities/KActivitiesConfig.
>  lib/cmake/KActivities/KActivitiesConfigVersion.cmake
>  lib/cmake/KActivities/KActivitiesLibraryTargets${MODKDE4_CMAKE_PREFIX}.cmake
>  lib/cmake/KActivities/KActivitiesLibraryTargets.cmake
> -lib/kde4/activitymanager_plugin_activityranking.so
> -lib/kde4/activitymanager_plugin_globalshortcuts.so
> -lib/kde4/activitymanager_plugin_nepomuk.so
> -lib/kde4/activitymanager_plugin_slc.so
> -lib/kde4/activitymanager_plugin_sqlite.so
> -lib/kde4/activitymanager_plugin_virtualdesktopswitch.so
>  lib/kde4/imports/
>  lib/kde4/imports/org/
>  lib/kde4/imports/org/kde/
> @@ -43,29 +36,11 @@ lib/kde4/imports/org/kde/activities/
>  lib/kde4/imports/org/kde/activities/models/
>  
> lib/kde4/imports/org/kde/activities/models/libkactivities-models-component-plugin.so
>  lib/kde4/imports/org/kde/activities/models/qmldir
> -lib/kde4/kactivitymanagerd_fileitem_linking_plugin.so
> -lib/kde4/kcm_activities.so
> 

CVS: cvs.openbsd.org: ports

2019-11-14 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2019/11/14 10:29:29

Modified files:
graphics/xfig  : Makefile 

Log message:
Add missing BUILD_DEPENDS on print/transfig.

Pointed out by naddy@, thanks!



Re: Neovim update and new libluv port

2019-11-14 Thread Travis Cole
Hey Edd,

I have some revised diffs that should address your concerns and fix the build 
for you.

On Thu, Nov 7, 2019, at 04:13, Edd Barrett wrote:
> Hi Travis,
> 
> Thanks for the revised diffs.
> 
> unibilium now looks fine.

I've updated this again to include the new debug package functionality. So 
attaching the diff again.
 
> libvterm:
> 
> On Mon, Nov 04, 2019 at 08:40:19PM -0800, Travis Cole wrote:
> > > SHARED_LIBS += vterm 1.0 # 0.0
> >
> > I've bumped the version
> 
> Cool. I suppose we should probably add a comment warning other porters
> that they don't properly version their shared libs.
> 
> Something like:
> ---8<---
> # Note: Upstream doesn't bump the library version properly.
> # Diff the headers and check for bump-worthy cnahges."
> --->8---

Also fixed and I've added the debug package bits here too. So I've attached 
that diff.
 
> Neovim itself fails to link for me:

I believe I've fixed this in my latest diff.

> 
> luv is picking up Lua-5.3. I guess you don't see the symbol errors as you only
> have Lua-5.1 installed? You need to patch the build to pick up the
> MODLUA_VERSION one. Hopefully that will fix it.
> 

Yeah, I didn't have Lua-5.3 installed. I've since installed it for testing this 
build
and verified that it's picking up Lua-5.1.

> I also notice:
> ---8<---
> -- downloading...
>  src='https://github.com/keplerproject/lua-compat-5.3/archive/v0.7.tar.gz'
> --->8---
> 
> We can't have the build download stuff. I think you can have a play with
> MASTER_SITES1 and a DISTFILE with a :1 suffix to fetch that tarball, then use 
> a
> post-fetch target to put it wherever it needs to go. I'm hand-waving a bit, 
> but
> you get the gist of it. Grep the tree for examples.

I fixed this with a MASTER_SITES0 and a refactor to the pre-configure.

I realized it would be simpler to not  use neovim's third-party deps build 
system,
while excluding most of it, just to get libluv. Instead just download and build 
libluv as part
of the port build. This solve the issues with the build quietly doing it's own 
downloads.
It also cleans up some of the warnings cmake was giving about unused command 
line options.

This also happens to be very similar to how Homebrew does it for neovim...

I also went ahead and bumped the Neovim version to 0.4.3.
 
> I'd fix the symbol problems first.

Fixed. Please see attached, and let me know if there are any style nits or 
other major
issues that I failed to account for.

Thanks!diff --git Makefile Makefile
index 0063676..793389b 100644
--- Makefile
+++ Makefile
@@ -1,22 +1,29 @@
-# $OpenBSD:
+# $OpenBSD$
 
 COMMENT =	VT220/xterm/ECMA-48 terminal emulator library
 # No releases, so use date and a git hash.
 # Note that the github repo is a mirror of a bzr repo.
-VERSION =	20170211
+VERSION =	20191009
 DISTNAME =	libvterm-${VERSION}
 
 GH_ACCOUNT =	neovim
 GH_PROJECT =	libvterm
-GH_COMMIT =	224b8dcde1c9640c29a34aa60c0f0d56ad298449
+# Note this git sha is from the nvim branch because
+# Neovim requires patches from this branch to build.
+# see https://github.com/neovim/neovim/wiki/Deps
+GH_COMMIT =	7c72294d84ce20da4c27362dbd7fa4b08cfc91da
 
-SHARED_LIBS +=  vterm 0.0 # 0.0
+# Note upstream doesn't bump the library version properly.
+# Diff the headers and check for bump-worthy changes.
+SHARED_LIBS +=  vterm 1.0 # 0.0
 
 CATEGORIES =	devel
 
 # MIT
 PERMIT_PACKAGE =	Yes
 
+DEBUG_PACKAGES =	${BUILD_PACKAGES}
+
 WANTLIB += c
 
 USE_GMAKE =		Yes
diff --git distinfo distinfo
index 63c4d8e..4c90892 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (libvterm-20170211-224b8dcd.tar.gz) = W8Dol01zXaTVrjOGrEEiylL+gPHFMveyO3nGPsXYzs0=
-SIZE (libvterm-20170211-224b8dcd.tar.gz) = 67291
+SHA256 (libvterm-20191009-7c72294d.tar.gz) = 8wxNQ+DG2z4JEtr3GI2Y+/buiPl1idcvbzBOXbSIJqg=
+SIZE (libvterm-20191009-7c72294d.tar.gz) = 73002
diff --git patches/patch-bin_vterm-ctrl_c patches/patch-bin_vterm-ctrl_c
index 529b571..a3f5e1a 100644
--- patches/patch-bin_vterm-ctrl_c
+++ patches/patch-bin_vterm-ctrl_c
@@ -1,16 +1,42 @@
-$OpenBSD: patch-bin_vterm-ctrl_c,v 1.1.1.1 2017/02/28 22:40:11 edd Exp $
+$OpenBSD$
 
 Fix signed versus unsigned comparison.
 https://bugs.launchpad.net/libvterm/+bug/1668780
 
 bin/vterm-ctrl.c.orig	Sun Dec 18 21:03:40 2016
-+++ bin/vterm-ctrl.c	Sat Feb 25 16:29:14 2017
-@@ -81,7 +81,7 @@ static char *read_csi()
+Patch updated to apply on:
+https://github.com/neovim/libvterm/tree/nvim
+
+diff --git bin/vterm-ctrl.c bin/vterm-ctrl.c
+index ba0d61e..92a365f 100644
+--- bin/vterm-ctrl.c
 bin/vterm-ctrl.c
+@@ -79,9 +79,9 @@ static bool seticanon(bool icanon, bool echo)
+   return ret;
+ }
+ 
+-static void await_c1(unsigned char c1)
++static void await_c1(int c1)
  {
-   /* TODO: This really should be a more robust CSI parser
-*/
--  char c;
+-  unsigned char c;
 +  int c;
  
/* await CSI - 8bit or 2byte 7bit form */
bool in_esc = false;
+@@ -106,7 +106,7 @@ static char *read_csi()
+   char csi[32];
+   

CVS: cvs.openbsd.org: ports

2019-11-14 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2019/11/14 10:07:42

Modified files:
geo/qgis/patches: patch-src_providers_wms_CMakeLists_txt 

Log message:
unbotch patch



CVS: cvs.openbsd.org: ports

2019-11-14 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2019/11/14 09:59:21

Modified files:
www/mozilla-firefox: Makefile 
Added files:
www/mozilla-firefox/patches: 
 patch-config_system-headers_mozbuild 
Removed files:
www/mozilla-firefox/patches: 
 patch-gfx_skia_skia_src_core_SkCpu_cpp 

Log message:
Use plain --enable-debug-symbols, the debug pkg goes from 90mb to 360mb
but at least the traces should provide local symbols, while -ggdb1 only
provided function names.

Add a comment about --enable-debug, which i wont use as it makes a wayys
larger binary/package, and enables too many different codepaths.

While here, replace the arm64 build fix from #1587116 with the one which
got commited upstream, thanks phessler@ for testing it.



CVS: cvs.openbsd.org: ports

2019-11-14 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2019/11/14 09:49:16

Added files:
geo/qgis/patches: patch-src_providers_wms_CMakeLists_txt 

Log message:
Backport a patch from upstream to fix a build failure on a missing
dependency, reported by ajacoutot@, sthen@ and naddy@



CVS: cvs.openbsd.org: ports

2019-11-14 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2019/11/14 09:32:15

Modified files:
www/ruby-sassc : Makefile 

Log message:
ruby-sassc: use ports-gcc on base-gcc archs (C++11).
Also fix a malformed RCS tag.

OK jca@ jeremy@



CVS: cvs.openbsd.org: ports

2019-11-14 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2019/11/14 09:23:23

Modified files:
net/gupnp/av   : Makefile 

Log message:
fixup fat fingering 'BUILD_PACKAGES'

spotted by bket@



CVS: cvs.openbsd.org: ports

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

Modified files:
net/mosh   : Makefile 
net/iodine : Makefile 
net/iodine/pkg : PLIST 

Log message:
Provide debug-iodine and debug-mosh



Re: CVS: cvs.openbsd.org: ports

2019-11-14 Thread Bjorn Ketelaars
On Wed 13/11/2019 12:21, Jasper Lievisse Adriaanse wrote:
> CVSROOT:  /cvs
> Module name:  ports
> Changes by:   jas...@cvs.openbsd.org  2019/11/13 12:21:50
> 
> Modified files:
>   net/gupnp/av   : Makefile 
>   net/gupnp/av/pkg: PLIST 
>   net/gupnp/core : Makefile 
>   net/gupnp/dlna : Makefile 
>   net/gupnp/dlna/pkg: PLIST 
>   net/gupnp/igd  : Makefile 
>   net/gupnp/igd/pkg: PLIST 
>   net/gupnp/tools: Makefile 
> 
> Log message:
> - provide debug packages for the gupnp bits
> - regen WANTLIB
> 

There is a typo in net/gupnp/av/Makefile:
s/BUILD_PACKGES/BUILD_PACKAGES



CVS: cvs.openbsd.org: ports

2019-11-14 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2019/11/14 08:51:59

Modified files:
games/trader   : Makefile distinfo 
games/trader/patches: patch-src_Makefile_in patch-src_system_h 

Log message:
Update trader to 7.13.



Re: [base-gcc] Unbreak www/ruby-sassc

2019-11-14 Thread Jeremy Evans
On 11/14 11:46, Charlene Wendling wrote:
> Hi,
> 
> I've spotted that in the current sparc64 bulk:
> 
> > c++ -I. -I/usr/local/include/ruby-2.6/sparc64-openbsd
> > -I/usr/local/include/ruby-2.6/ruby/backward
> > -I/usr/local/include/ruby-2.6 -I. -I./libsass/include
> > -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include   -fPIC -O2 -pipe
> > -std=c++11 -DLIBSASS_VERSION='"3.6.1"'  -o ast.o
> > -c ./libsass/src/ast.cpp
> > cc1plus: error: unrecognized command line option "-std=c++11"
> 
> base-gcc can't deal with c++11.
> 
> Once ports-gcc is used it builds fine on macppc [0]. While here i've
> fixed a malformed RCS tag.
> 
> Revision bump is unneeded, it changes nothing on clang archs and it
> has been never built on base-gcc ones.
> 
> Comments/feedback are welcome,

OK jeremy@

Thanks,
Jeremy



Re: [poc][wip] sqlite3-tcl 3.30.1 + enable tests

2019-11-14 Thread 3d0g
> -- Original Message --
> From: Landry Breuil 
> Date: November 14, 2019 at 3:21 AM
> 
> Does this mean you're going to update/maintain this port again ? :)
> 
> Landry

Yes.

Stu



CVS: cvs.openbsd.org: ports

2019-11-14 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2019/11/14 06:21:42

Modified files:
sysutils/reposync: Makefile 

Log message:
this is arch-independent



CVS: cvs.openbsd.org: ports

2019-11-14 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2019/11/14 05:47:03

Modified files:
infrastructure/bin: build-debug-info 

Log message:
I'm an idiot, of course conflict requires some tweaks as well



reposync: Fix quoting, mention default destination, other nits

2019-11-14 Thread Klemens Nanni
$destdir holds user input so quote it;  since ksh(1) not sh(1) is used,
use [[ instead of [ consistently to disable word splitting.

Mention /cvs in the manual being the default destination, move -p
without argument before -l and sync script usage with manual synopsis.

Delimit rm(1) options from paths just to be sure.

Feedback? OK?

While here, files/reposync has nothing to SUBSTitute, so use
INSTALL_SCRIPT in do-install directly.

If too much, I can also split up the diff/commit separately.


Index: Makefile
===
RCS file: /cvs/ports/sysutils/reposync/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- Makefile10 Nov 2019 13:53:38 -  1.8
+++ Makefile14 Nov 2019 11:39:13 -
@@ -2,7 +2,7 @@
 
 COMMENT=   script to update an OpenBSD CVS repository via rsync
 
-PKGNAME=   reposync-0.9
+PKGNAME=   reposync-0.10
 
 CATEGORIES=sysutils
 DISTFILES=
@@ -16,11 +16,8 @@ NO_TEST= Yes
 
 RUN_DEPENDS=   net/rsync
 
-do-extract:
-   cp ${FILESDIR}/reposync* ${WRKDIR}/
-
 do-install:
-   ${SUBST_PROGRAM} ${WRKSRC}/reposync ${PREFIX}/bin/reposync
-   ${INSTALL_MAN} ${WRKSRC}/reposync.1 ${PREFIX}/man/man1/reposync.1
+   ${INSTALL_SCRIPT} ${FILESDIR}/reposync ${PREFIX}/bin/
+   ${INSTALL_MAN} ${FILESDIR}/reposync.1 ${PREFIX}/man/man1/
 
 .include 
Index: files/reposync
===
RCS file: /cvs/ports/sysutils/reposync/files/reposync,v
retrieving revision 1.7
diff -u -p -r1.7 reposync
--- files/reposync  10 Nov 2019 13:53:39 -  1.7
+++ files/reposync  14 Nov 2019 11:38:27 -
@@ -24,7 +24,7 @@ err()
 
 usage()
 {
-   echo "usage: ${0##*/} [-f] [-p | -l username] rsync://upstream/cvs 
[/path/to/cvs]" >&2
+   echo "usage: ${0##*/} [-f] [-p | -l username] rsync://upstream/path 
[destination]" >&2
exit 1
 }
 
@@ -42,8 +42,7 @@ shift $((OPTIND-1))
 [ $# -gt 0 ] || usage
 
 synchost="$1"
-repodir=/cvs
-[[ -n $2 ]] && repodir=$2
+repodir=${2:-/cvs}
 
 run_rsync()
 {
@@ -57,8 +56,8 @@ run_rsync()
 
 rundir="/var/db/reposync"
 
-for i in $rundir $repodir; do
-   [ ! -d $i ] || [ ! -w $i ] &&
+for i in "$rundir" "$repodir"; do
+   [[ ! -d $i ]] || [[ ! -w $i ]] &&
err "$i must exist as a writable directory"
 done
 
@@ -71,7 +70,7 @@ hashfile="$rundir/reposync.hash"
 lockfile="$rundir/reposync.lock"
 cd $rundir
 
-if [ -h $lockfile ]; then
+if [[ -h $lockfile ]]; then
# read the pid from $lockfile symlink target
lockedpid=$(stat -f %Y $lockfile)
 
@@ -81,12 +80,12 @@ if [ -h $lockfile ]; then
fi
 
# not still running, the lock must be stale (machine panicked, etc) so 
zap it
-   rm -f $lockfile
+   rm -f -- $lockfile
 fi
 
 ln -s $$ $lockfile || err "could not lock $lockfile"
 
-trap "rm -f $lockfile" 0 1 2 15
+trap "rm -f -- $lockfile" 0 1 2 15
 
 # check CVSROOT directory listing to identify updates; primarily for
 # ChangeLog but val-tags may also be updated after a checkout was done
@@ -98,12 +97,12 @@ _t="$(run_rsync ${synchost}/CVSROOT/ | g
 esac
 newhash="${synchost} $(echo $_t | sha256)"
 
-if [ -r $hashfile ]; then
+if [[ -r $hashfile ]]; then
age=$((`date +%s` - `stat -t %s -f %m $hashfile`))
# don't entirely rely on CVSROOT files; not all tree operations
# result in a change there so also do a full update run at least
# every 6h.
-   if [ $age -lt $((6*60*60)) ]; then
+   if ((age < 6*60*60)); then
oldhash=`cat $hashfile`
fi
 fi
@@ -113,7 +112,7 @@ if $force || [[ $oldhash != $newhash ]];
# the old one so sync is reattempted next run
if run_rsync -rlptiz --omit-dir-times --delete \
--exclude='#cvs.rfl.*' --exclude='CVSROOT/history*' \
-   ${synchost}/{CVSROOT,www,xenocara,ports,src} $repodir/; then
+   ${synchost}/{CVSROOT,www,xenocara,ports,src} "$repodir"/; then
echo $newhash > $hashfile
else
err "rsync failed"
Index: files/reposync.1
===
RCS file: /cvs/ports/sysutils/reposync/files/reposync.1,v
retrieving revision 1.3
diff -u -p -r1.3 reposync.1
--- files/reposync.110 Nov 2019 13:36:32 -  1.3
+++ files/reposync.114 Nov 2019 11:38:18 -
@@ -23,7 +23,7 @@
 .Sh SYNOPSIS
 .Nm
 .Op Fl f
-.Op Fl l Ar username | Fl p
+.Op Fl p | Fl l Ar username
 .Ar rsync://upstream/path
 .Op Ar destination
 .Sh DESCRIPTION
@@ -40,6 +40,12 @@ If only a short time has elapsed since t
 directory on the upstream server is checked for changes and the update
 is skipped if none are detected.
 .Pp
+If
+.Ar destination
+is omitted,
+.Pa /cvs
+will be used.
+.Pp
 The directory
 .Pa /var/db/reposync
 must exist and be writable by the user running
@@ -71,6 +77,6 @@ update the local directory
 .Pa /home/cvs .
 .El
 .Sh SEE ALSO
-.Xr ssh 1 ,
+.Xr 

Re: [update] samba-4.10.10

2019-11-14 Thread Jeremie Courreges-Anglas

Please disregard this update for now, more work is needed.
Thanks Ian for pointing this out.

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


signature.asc
Description: PGP signature


[base-gcc] Unbreak www/ruby-sassc

2019-11-14 Thread Charlene Wendling
Hi,

I've spotted that in the current sparc64 bulk:

> c++ -I. -I/usr/local/include/ruby-2.6/sparc64-openbsd
> -I/usr/local/include/ruby-2.6/ruby/backward
> -I/usr/local/include/ruby-2.6 -I. -I./libsass/include
> -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include   -fPIC -O2 -pipe
> -std=c++11 -DLIBSASS_VERSION='"3.6.1"'  -o ast.o
> -c ./libsass/src/ast.cpp
> cc1plus: error: unrecognized command line option "-std=c++11"

base-gcc can't deal with c++11.

Once ports-gcc is used it builds fine on macppc [0]. While here i've
fixed a malformed RCS tag.

Revision bump is unneeded, it changes nothing on clang archs and it
has been never built on base-gcc ones.

Comments/feedback are welcome,

Charlène.


[0] https://bin.charlenew.xyz/ruby-sassc.log


Index: Makefile
===
RCS file: /cvs/ports/www/ruby-sassc/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 Makefile
--- Makefile10 Nov 2019 16:52:05 -  1.1.1.1
+++ Makefile14 Nov 2019 10:24:27 -
@@ -1,4 +1,4 @@
-# $OpenBSD
+# $OpenBSD$
 
 COMMENT =  libsass wrapper for ruby
 
@@ -9,6 +9,9 @@ HOMEPAGE =  https://github.com/sass/sass
 
 # MIT
 PERMIT_PACKAGE =   Yes
+
+# C++11
+COMPILER = base-clang ports-gcc
 
 MODULES =  lang/ruby
 CONFIGURE_STYLE =  ruby gem ext



Re: cannot start KDE4 services

2019-11-14 Thread Stuart Henderson
On 2019/11/14 01:49, Kuba Głoś wrote:
> dmesg: (irrelevant)

I can't answer about KDE4, but please, don't remove it, let the
developers and people looking at your bug report decide whether it's
relevant or not.



CVS: cvs.openbsd.org: ports

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

Modified files:
net/py-pf  : Makefile distinfo 
Added files:
net/py-pf/patches: patch-pf__struct_py 
Removed files:
net/py-pf/patches: patch-pf_constants_py 

Log message:
update to py-pf-0.2.1



cannot start KDE4 services

2019-11-14 Thread Kuba Głoś
>Synopsis:  KDE4 cannot be started, libs cannot be read
>Environment:
System  : OpenBSD 6.6
Details : OpenBSD 6.6 (GENERIC) #0: Sat Oct 26 05:57:51 MDT 2019
 
r...@syspatch-66-i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC

Architecture: OpenBSD.i386
Machine : i386
>Description:

KDE Services cannot be started.
When tried to start ie. Drive Ejector, .xsession-errors records:
kded(99873) *Kded::loadModule: Could not load library "kded_solidautoeject" . [ 
"Cannot load library /usr/local/lib/kde4/kded_solidautoeject.so: (File not 
found)" ]
altrough file exists (permissions root:bin 444).

Also it looks like there is problem reading whole lots of libraries from 
/usr/local/lib/kde4 :
66# grep kded_ .xsession-errors 

 
kded(99873) *Kded::loadModule: Could not load library "kded_powerdevil" . [ 
"Cannot load library /usr/local/lib/kde4/kded_powerdevil.so: (File not found)" 
] 
kded(99873) *Kded::loadModule: Could not load library 
"kded_statusnotifierwatcher" . [ "Cannot load library 
/usr/local/lib/kde4/kded_statusnotifierwatcher.so: (File not found)" ] 
kded(99873) *Kded::loadModule: Could not load library "kded_printmanager" . [ 
"Cannot load library /usr/local/lib/kde4/kded_printmanager.so: (File not 
found)" ] 
kded(99873) *Kded::loadModule: Could not load library "kded_keyboard" . [ 
"Cannot load library /usr/local/lib/kde4/kded_keyboard.so: (File not found)" ] 
kded(99873) *Kded::loadModule: Could not load library "kded_device_automounter" 
. [ "Cannot load library /usr/local/lib/kde4/kded_device_automounter.so: (File 
not found)" ] 
kded(99873) *Kded::loadModule: Could not load library "kded_ktouchpadenabler" . 
[ "Cannot load library /usr/local/lib/kde4/kded_ktouchpadenabler.so: (File not 
found)" ] 
kded(99873) *Kded::loadModule: Could not load library "kded_networkstatus" . [ 
"Cannot load library /usr/local/lib/kde4/kded_networkstatus.so: (File not 
found)" ] 
kded(99873) *Kded::loadModule: Could not load library "kded_ktimezoned" . [ 
"Cannot load library /usr/local/lib/kde4/kded_ktimezoned.so: (File not found)" 
] 
kded(99873) *Kded::loadModule: Could not load library "kded_ktimezoned" . [ 
"Cannot load library /usr/local/lib/kde4/kded_ktimezoned.so: (File not found)" 
] 
kded(99873) *Kded::loadModule: Could not load library "kded_ktimezoned" . [ 
"Cannot load library /usr/local/lib/kde4/kded_ktimezoned.so: (File not found)" 
] 
kded(99873) *Kded::loadModule: Could not load library "kded_ktimezoned" . [ 
"Cannot load library /usr/local/lib/kde4/kded_ktimezoned.so: (File not found)" 
] 
kded(99873) *Kded::loadModule: Could not load library "kded_desktopnotifier" . 
[ "Cannot load library /usr/local/lib/kde4/kded_desktopnotifier.so: (File not 
found)" ] 
kded(99873) *Kded::loadModule: Could not load library "kded_ktimezoned" . [ 
"Cannot load library /usr/local/lib/kde4/kded_ktimezoned.so: (File not found)" 
] 
kded(99873) *Kded::loadModule: Could not load library "kded_ktimezoned" . [ 
"Cannot load library /usr/local/lib/kde4/kded_ktimezoned.so: (File not found)" 
] 
kded(99873) *Kded::loadModule: Could not load library "kded_favicons" . [ 
"Cannot load library /usr/local/lib/kde4/kded_favicons.so: (File not found)" ] 
kded(99873) *Kded::loadModule: Could not load library "kded_favicons" . [ 
"Cannot load library /usr/local/lib/kde4/kded_favicons.so: (File not found)" ] 
kded(99873) *Kded::loadModule: Could not load library "kded_favicons" . [ 
"Cannot load library /usr/local/lib/kde4/kded_favicons.so: (File not found)" ] 
kded(99873) *Kded::loadModule: Could not load library "kded_favicons" . [ 
"Cannot load library /usr/local/lib/kde4/kded_favicons.so: (File not found)" ] 
kded(99873) *Kded::loadModule: Could not load library "kded_favicons" . [ 
"Cannot load library /usr/local/lib/kde4/kded_favicons.so: (File not found)" ] 
kded(99873) *Kded::loadModule: Could not load library "kded_favicons" . [ 
"Cannot load library /usr/local/lib/kde4/kded_favicons.so: (File not found)" ] 
kded(99873) *Kded::loadModule: Could not load library "kded_favicons" . [ 
"Cannot load library /usr/local/lib/kde4/kded_favicons.so: (File not found)" ] 
kded(99873) *Kded::loadModule: Could not load library "kded_favicons" . [ 
"Cannot load library /usr/local/lib/kde4/kded_favicons.so: (File not found)" ] 
kded(99873) *Kded::loadModule: Could not load library "kded_desktopnotifier" . 
[ "Cannot load library /usr/local/lib/kde4/kded_desktopnotifier.so: (File not 
found)" ] 
kded(99873) *Kded::loadModule: Could not load library "kded_desktopnotifier" . 
[ "Cannot load library /usr/local/lib/kde4/kded_desktopnotifier.so: (File not 
found)" ] 
kded(99873) *Kded::loadModule: Could not load library "kded_ktimezoned" . [ 
"Cannot load library 

CVS: cvs.openbsd.org: ports

2019-11-14 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2019/11/14 01:48:44

Modified files:
infrastructure/bin: build-debug-info 

Log message:
temporary fix: if we don't know how to generate debug for symlinks, don't
bother registering them



Re: [poc][wip] sqlite3-tcl 3.30.1 + enable tests

2019-11-14 Thread Landry Breuil
On Thu, Nov 14, 2019 at 12:31:37AM -0500, 3...@bell.net wrote:
> Also I don't think this needs to be forced to build against 8.6.

Running the tests require 8.6 - and honestly, i'm only interested in
running the tests.

> Sorry for all the messages, I'm just coming back after almost 2 years
> away ... whatever that means.

Does this mean you're going to update/maintain this port again ? :)

Landry