CVS: cvs.openbsd.org: ports

2020-09-02 Thread Sebastian Reitenbach
CVSROOT:/cvs
Module name:ports
Changes by: sebas...@cvs.openbsd.org2020/09/02 23:58:50

Modified files:
security/exploitdb: Makefile distinfo 
security/exploitdb/patches: patch-searchsploit 
security/exploitdb/pkg: PLIST 

Log message:
update 2020-08-06 -> 2020-09-02



Re: archiver/zstd: don't rely on COMPILER

2020-09-02 Thread Bjorn Ketelaars
On Wed 26/08/2020 15:17, Bjorn Ketelaars wrote:
> I have the diff below sitting in my tree for a couple of weeks:
> 
> As sthen@ explained [0]: "COMPILER=base-clang ports-gcc" is needed by
> archiver/zstd because of -Wvla in a couple of Makefiles. Fortunate this
> is easily patched out. While here:
> - switch ALL_TARGET to 'default' as 'allmost' builds stuff that we do
>   not package. This saves a couple of seconds while building;
> - No need for WANTLIB+=atomic/LDFLAGS+=-latomic (hppa only). There is
>   nothing related to atomics in the stuff that is build (related to
>   ALL_TARGET);
> - No need to set CXX* in MAKE_ENV as the build is C-only;
> - No need to set CFLAGS. Upstream's (GNU)Makefile properly amends CFLAGS
>   on a per-target basis. We already provide CFLAGS through MAKE_ENV, let
>   the Makefile do its job;
> - Update CPPFLAGS.
> 
> Builds successfully using either clang or gcc4. All tests are OK.
> 
> This diff needs to be tested on hppa. Unfortunately I have no access to
> this arch. Anyone willing to test?
> 
> Comments/OK?

Ping...

Diff enclosed for your convenience:


diff --git Makefile Makefile
index 231f0a93d6c..782ee6b9655 100644
--- Makefile
+++ Makefile
@@ -3,6 +3,7 @@
 COMMENT =  zstandard fast real-time compression algorithm
 
 V =1.4.5
+REVISION = 0
 DISTNAME = zstd-${V}
 
 SHARED_LIBS =  zstd3.2 # 1.4.5
@@ -24,29 +25,19 @@ LIB_DEPENDS =   archivers/lz4 \
archivers/xz
 BUILD_DEPENDS =sysutils/ggrep
 
-COMPILER = base-clang ports-gcc
-
 MAKE_ENV = CC="${CC}" \
-   CFLAGS="${CFLAGS}" \
-   CPPFLAGS="-I${WRKSRC}/lib -I${WRKSRC}/lib/common 
-I${LOCALBASE}/include" \
-   CXX="${CXX}" \
-   CXXFLAGS="${CXXFLAGS}" \
+   CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
 MAKE_FLAGS =   SHARED_EXT_VER="so.$(LIBzstd_VERSION)" \
SONAME_FLAGS= \
V=1
 FAKE_FLAGS =   PREFIX="${PREFIX}"
 
-.if ${MACHINE_ARCH:Mhppa}
-WANTLIB += atomic
-LDFLAGS += -latomic
-.endif
-
 USE_GMAKE =Yes
 
 DEBUG_PACKAGES =   ${BUILD_PACKAGES}
 
-ALL_TARGET =   allmost
+ALL_TARGET =   default
 TEST_TARGET =  check
 
 pre-build:
diff --git patches/patch-lib_Makefile patches/patch-lib_Makefile
index 48a5c2d802a..9d9f7f90115 100644
--- patches/patch-lib_Makefile
+++ patches/patch-lib_Makefile
@@ -1,8 +1,21 @@
 $OpenBSD: patch-lib_Makefile,v 1.8 2020/05/28 19:31:56 bket Exp $
 
+- Some compilers don't have -Wvla
+- Don't set compiler optimisation level
+- Don't create symbolic links to SHARED_LIB
+
 Index: lib/Makefile
 --- lib/Makefile.orig
 +++ lib/Makefile
+@@ -38,7 +38,7 @@ endif
+ DEBUGFLAGS= -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \
+ -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement \
+ -Wstrict-prototypes -Wundef -Wpointer-arith \
+--Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings \
++-Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings \
+ -Wredundant-decls -Wmissing-prototypes -Wc++-compat
+ CFLAGS  += $(DEBUGFLAGS) $(MOREFLAGS)
+ FLAGS= $(CPPFLAGS) $(CFLAGS)
 @@ -81,7 +81,7 @@ ifneq ($(ZSTD_LIB_MINIFY), 0)
CFLAGS += -fno-stack-protector -fomit-frame-pointer -fno-ident \
  -DDYNAMIC_BMI2=0 -DNDEBUG
diff --git patches/patch-programs_Makefile patches/patch-programs_Makefile
new file mode 100644
index 000..d0dda7f7233
--- /dev/null
+++ patches/patch-programs_Makefile
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Some compilers don't have -Wvla
+
+Index: programs/Makefile
+--- programs/Makefile.orig
 programs/Makefile
+@@ -51,7 +51,7 @@ CFLAGS  ?= -O3
+ DEBUGFLAGS+=-Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \
+ -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement \
+ -Wstrict-prototypes -Wundef -Wpointer-arith \
+--Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings \
++-Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings \
+ -Wredundant-decls -Wmissing-prototypes -Wc++-compat
+ CFLAGS  += $(DEBUGFLAGS) $(MOREFLAGS)
+ FLAGS= $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
diff --git patches/patch-tests_Makefile patches/patch-tests_Makefile
new file mode 100644
index 000..fe60f9fb452
--- /dev/null
+++ patches/patch-tests_Makefile
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Some compilers don't have -Wvla
+
+Index: tests/Makefile
+--- tests/Makefile.orig
 tests/Makefile
+@@ -35,7 +35,7 @@ CFLAGS ?= -O3
+ CFLAGS += -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow 
\
+   -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement 
\
+   -Wstrict-prototypes -Wundef   

UPDATE: devel/ninja

2020-09-02 Thread Rafael Sadowski
Simple patch to update ninja to 1.10.1 but the main bugfix sounds
interesting. Please take a look into the Changlog:

https://groups.google.com/g/ninja-build/c/QQM54eAhrjU/m/q5zn_zTlAQAJ?pli=1

Index: Makefile
===
RCS file: /cvs/ports/devel/ninja/Makefile,v
retrieving revision 1.30
diff -u -p -u -p -r1.30 Makefile
--- Makefile29 Feb 2020 14:29:28 -  1.30
+++ Makefile3 Sep 2020 05:08:02 -
@@ -9,7 +9,7 @@ COMMENT =   small build system with a foc
 
 GH_ACCOUNT =   ninja-build
 GH_PROJECT =   ninja
-GH_TAGNAME =   v1.10.0
+GH_TAGNAME =   v1.10.1
 
 CATEGORIES =   devel
 
Index: distinfo
===
RCS file: /cvs/ports/devel/ninja/distinfo,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 distinfo
--- distinfo29 Feb 2020 14:29:28 -  1.12
+++ distinfo3 Sep 2020 05:08:02 -
@@ -1,2 +1,2 @@
-SHA256 (ninja-1.10.0.tar.gz) = OBAxiwhIlDX478GcBVJegKmTr1pVuqDf6uBGWp1F+Z8=
-SIZE (ninja-1.10.0.tar.gz) = 210313
+SHA256 (ninja-1.10.1.tar.gz) = prb3rDYNSqvVTimcwdj6eyNM2BuUAWk9ohIhxiVpoj4=
+SIZE (ninja-1.10.1.tar.gz) = 211216



CVS: cvs.openbsd.org: ports

2020-09-02 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2020/09/02 23:09:47

Modified files:
textproc/py-humanize: Makefile distinfo 
textproc/py-humanize/pkg: PLIST 

Log message:
Update py-humanize 2.5.0 -> 2.6.0

Main change seems to be removal of Python 3.5 support. (So no change
for us).

ok paco



CVS: cvs.openbsd.org: ports

2020-09-02 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2020/09/02 23:06:54

Modified files:
www/dokuwiki   : Tag: OPENBSD_6_7 Makefile distinfo 
www/dokuwiki/pkg: Tag: OPENBSD_6_7 PLIST 

Log message:
Update dokuwiki to 2020-07-29 “Hogfather”

ok pea@ (maintainer)



CVS: cvs.openbsd.org: ports

2020-09-02 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2020/09/02 22:29:27

Modified files:
databases/redis: Makefile distinfo 
databases/redis/patches: patch-redis_conf patch-src_Makefile 
 patch-src_networking_c 
Removed files:
databases/redis/patches: patch-src_sentinel_c 

Log message:
Update to Redis 6.0.7

Upgrade urgency for both 6.0.6 and 6.0.7 is MODERATE, see changelog for
details. Notably, the fix for the sentinel crash was merged upstream.

https://raw.githubusercontent.com/antirez/redis/6.0/00-RELEASENOTES

There is another test that occasionally fails since 6.0.6:

[err]: Piping raw protocol in tests/integration/redis-cli.tcl

Tested on amd64 and macppc, build tested with clang and egcc on sparc64.

Thanks to danj for testing and okaying 6.0.6.

ok sthen



Re: [MAINTAINER UPGRADE] editors/kakoune 2020-09-01

2020-09-02 Thread Greg Steuck
Frédéric GALUSIK  writes:
> Attached a diff to upgrade kakoune to 2020-09-01.
>
> This is mostly a bugfix release.
> * Daemon mode (-d switch) does not fork anymore.
> * Fix crash on completion.
>
> OK ?

Builds for me on amd64. OK gnezdo

> Cheers.
>
> fredg
>
> diff -rupN kakoune.o/Makefile kakoune/Makefile
> --- kakoune.o/MakefileTue Sep  1 18:55:22 2020
> +++ kakoune/Makefile  Tue Sep  1 18:55:45 2020
> @@ -2,7 +2,7 @@
>  
>  COMMENT =modal code editor with a focus on interactivity
>  
> -V =  2020.08.04
> +V =  2020.09.01
>  DISTNAME =   kakoune-${V}
>  
>  CATEGORIES = editors
> diff -rupN kakoune.o/distinfo kakoune/distinfo
> --- kakoune.o/distinfoTue Sep  1 18:55:22 2020
> +++ kakoune/distinfo  Tue Sep  1 18:55:59 2020
> @@ -1,2 +1,2 @@
> -SHA256 (kakoune-2020.08.04.tar.bz2) = 
> AkafrB/4MZEWVTb6UvAZB9tb4Kc0vJBXCSSz7buc8SE=
> -SIZE (kakoune-2020.08.04.tar.bz2) = 499765
> +SHA256 (kakoune-2020.09.01.tar.bz2) = 
> hhqJxWtdCuOWKMtwbDeotVvCib++PHJGatDidXzPAXU=
> +SIZE (kakoune-2020.09.01.tar.bz2) = 499880
> diff -rupN kakoune.o/pkg/PLIST kakoune/pkg/PLIST
> --- kakoune.o/pkg/PLIST   Tue Sep  1 18:55:22 2020
> +++ kakoune/pkg/PLIST Tue Sep  1 19:05:51 2020
> @@ -1,4 +1,4 @@
> -@comment $OpenBSD: PLIST,v 1.2 2020/08/10 06:59:14 solene Exp $
> +@comment $OpenBSD: PLIST,v$
>  @bin bin/kak
>  @man man/man1/kak.1
>  share/doc/kak/



Re: 6.6 pkg_add of firefox vs atk versions

2020-09-02 Thread Austin Hook


Just confirming that getting the right bsd.rd (6.7) from cdn.openbsd.org, 
seemed to solve any problem I had.  

Did have to select "remove updated packages first" was necessary, as my 
/usr/local space was getting too crowded.   Probably lots of packages I am 
not using, and could weed them, instead of messing with disk space.

A.

On Wed, 2 Sep 2020, Austin Hook wrote:

> > > slippery# pkg_info -mz >/root/pkg_list_manual 
> > >   
> > > Package database already locked... awaiting release... ^C
> > 
> > Are any other pkg_* or fw_update processes running at the same time?
> > It uses flock() on a file, I was under the impression this is cleared
> > automatically if the relevant process exits, I maybe wrong though.
> 
> My bad.  Since FireFox wasn't working, I fetched a copy of bsd.rd (6.7) 
> from ftp.vim.org, because I am not used to using ftp with cdn.openbsd.org. 
> to get it.  Passed the checksum test fine, so foolishly I thought that was 
> proof it was OK.  But it must have still been the pre-release or early 
> release version, or something.  Betcha if I re-upgrade with only the 
> cdn.openbsd.org version, it will work fine.  Actually I can grab the 
> bsd.rd from my other server.
> 
> Went out picking apples for a few hours and it came to me.  We'll see.
> 
> Thanks!
> 
> A.
> 
> 



Re: 6.6 pkg_add of firefox vs atk versions

2020-09-02 Thread Austin Hook
> > slippery# pkg_info -mz >/root/pkg_list_manual   
> > 
> > Package database already locked... awaiting release... ^C
> 
> Are any other pkg_* or fw_update processes running at the same time?
> It uses flock() on a file, I was under the impression this is cleared
> automatically if the relevant process exits, I maybe wrong though.

My bad.  Since FireFox wasn't working, I fetched a copy of bsd.rd (6.7) 
from ftp.vim.org, because I am not used to using ftp with cdn.openbsd.org. 
to get it.  Passed the checksum test fine, so foolishly I thought that was 
proof it was OK.  But it must have still been the pre-release or early 
release version, or something.  Betcha if I re-upgrade with only the 
cdn.openbsd.org version, it will work fine.  Actually I can grab the 
bsd.rd from my other server.

Went out picking apples for a few hours and it came to me.  We'll see.

Thanks!

A.




CVS: cvs.openbsd.org: ports

2020-09-02 Thread Sebastian Reitenbach
CVSROOT:/cvs
Module name:ports
Changes by: sebas...@cvs.openbsd.org2020/09/02 15:10:23

Modified files:
devel/ruby-get_process_mem: Makefile distinfo 

Log message:
update 0.2.5 -> 0.2.7



Re: [New] x11/gromit-mpx

2020-09-02 Thread Laurence Tratt
On Wed, Sep 02, 2020 at 06:02:31PM +0100, Edd Barrett wrote:

Hello Edd,

> libappindicator:
> 
>  - Running `make plist` changed the plist. Some of this looks like
>churn, but I think it's picked up vala on my system. We should either
>add vala as a dep, or disable vala. Probably the latter?

I've disabled vala with a patch.

>  - The configure script is checking for python2.7 and pygtk. Should pygtk be a
>dependency of some kind?

AFAICS this isn't being built (and I have Python 2.7 and py-gtk on my
machine), so I don't think it matters. I might be wrong, however!

>  - Looks like PORTHOME isn't needed?

Good point.

> gromit-mpx:
> 
>  - Does it need COMPILER?

I think you mean libindicator -- yes, it doesn't build without this.

>  - When running it says it can't grab F9. At first I thought that my
>window manager or desktop had it bound, but it doesn't appear so.

There is a known problem with XFCE (which seems to grab all such keys even
if they're not used). Fortunately, you can manually bind keys in XFCE, and
the running instance of gromit-mpx can be controlled from the command line.

Updated tarballs attached.


Laurie


libappindicator.tgz
Description: application/tar-gz


libindicator.tgz
Description: application/tar-gz


gromit-mpx.tgz
Description: application/tar-gz


Re: 6.6 pkg_add of firefox vs atk versions

2020-09-02 Thread Stuart Henderson
On 2020/09/02 13:42, Austin Hook wrote:
> On Sun, 2 Aug 2020, Stuart Henderson wrote:
> > If you need to get it fixed, the following should do the trick;
> > save a list of packages, remove them all, and reinstall:
> > 
> > pkg_info -mz >/root/pkg_list_manual
> > pkg_info -z >/root/pkg_list_full
> > pkg_delete -X /var/db/pkg/*-firmware-[0-9]*
> > pkg_add -z -l /root/pkg_list_manual
> > pkg_add -za -l /root/pkg_list_full
> 
> Hi Stuart,
> 
>Am trying the your previous solution on another server where I seem to 
> have scrambled the pkg upgrade process again.  Those steps worked great on 
> the first one, which is now running 6.7 fine.
> 
>Why would the packages for a current stable release seem to get hung up 
> on the package database getting locked for a still newer release?
> 
> slippery$ su -l
> Password:
> slippery# pkg_info -mz >/root/pkg_list_manual 
>   
> Package database already locked... awaiting release... ^C

Are any other pkg_* or fw_update processes running at the same time?
It uses flock() on a file, I was under the impression this is cleared
automatically if the relevant process exits, I maybe wrong though.



CVS: cvs.openbsd.org: ports

2020-09-02 Thread Sebastian Reitenbach
CVSROOT:/cvs
Module name:ports
Changes by: sebas...@cvs.openbsd.org2020/09/02 13:56:24

Modified files:
net/ruby-stomp : Makefile distinfo 
net/ruby-stomp/pkg: PLIST 

Log message:
update 1.4.9 -> 1.4.10



CVS: cvs.openbsd.org: ports

2020-09-02 Thread Sebastian Reitenbach
CVSROOT:/cvs
Module name:ports
Changes by: sebas...@cvs.openbsd.org2020/09/02 13:51:19

Modified files:
www/sogo   : Makefile distinfo 
www/sogo/patches: patch-Tests_Unit_GNUmakefile patch-configure 
www/sogo/pkg   : PLIST 

Log message:
update 4.3.2 -> 5.0.0



CVS: cvs.openbsd.org: ports

2020-09-02 Thread Sebastian Reitenbach
CVSROOT:/cvs
Module name:ports
Changes by: sebas...@cvs.openbsd.org2020/09/02 13:49:58

Modified files:
www/sope   : Makefile distinfo 
www/sope/patches: patch-configure 

Log message:
update 4.3.2 -> 5.0.0



Re: 6.6 pkg_add of firefox vs atk versions

2020-09-02 Thread Austin Hook
On Sun, 2 Aug 2020, Stuart Henderson wrote:
> If you need to get it fixed, the following should do the trick;
> save a list of packages, remove them all, and reinstall:
> 
>   pkg_info -mz >/root/pkg_list_manual
>   pkg_info -z >/root/pkg_list_full
>   pkg_delete -X /var/db/pkg/*-firmware-[0-9]*
>   pkg_add -z -l /root/pkg_list_manual
>   pkg_add -za -l /root/pkg_list_full

Hi Stuart,

   Am trying the your previous solution on another server where I seem to 
have scrambled the pkg upgrade process again.  Those steps worked great on 
the first one, which is now running 6.7 fine.

   Why would the packages for a current stable release seem to get hung up 
on the package database getting locked for a still newer release?

slippery$ su -l
Password:
slippery# pkg_info -mz >/root/pkg_list_manual   

Package database already locked... awaiting release... ^C
slippery# whereami
/root r...@slippery.computershop.ca Terminal p5 amd64 OpenBSD 6.7
slippery# 

Thanks,

Austin




Re: [New] x11/gromit-mpx

2020-09-02 Thread Edd Barrett
On Wed, Sep 02, 2020 at 06:02:31PM +0100, Edd Barrett wrote:
>  - It has a test suite, but the tests fail. If we can't fix them (can
>we?), then we should add a comment next to NO_TEST.

Ah, Stuart already pointed that out. My apologies.

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk



Re: [New] x11/gromit-mpx

2020-09-02 Thread Edd Barrett
On Sun, Aug 30, 2020 at 09:44:24AM +0100, Laurence Tratt wrote:
> On Wed, Aug 19, 2020 at 03:06:37PM +0100, Laurence Tratt wrote:
> 
> >> Also didn't build for me. Disable/fix mono support?
> > Aha, yes, I can see this too if mono is installed. I've disabled the mono
> > support in appindicator.
> >
> > Updates for libindicator/libappindicator attached (alongside a
> > not-updated-but-here-for-completeness gromit-mpx).
> 
> Has anyone had a chance to look at this yet? Thanks!

libindicator:

 - It has a test suite, but the tests fail. If we can't fix them (can
   we?), then we should add a comment next to NO_TEST.


libappindicator:

 - Running `make plist` changed the plist. Some of this looks like
   churn, but I think it's picked up vala on my system. We should either
   add vala as a dep, or disable vala. Probably the latter?

```
--- pkg/PLIST.orig  Wed Aug 19 12:10:42 2020
+++ pkg/PLIST   Wed Sep  2 17:33:05 2020
@@ -3,16 +3,12 @@
 include/libappindicator3-0.1/libappindicator/
 include/libappindicator3-0.1/libappindicator/app-indicator-enum-types.h
 include/libappindicator3-0.1/libappindicator/app-indicator.h
-lib/girepository-1.0/
 lib/girepository-1.0/AppIndicator3-0.1.typelib
 @static-lib lib/libappindicator3.a
 lib/libappindicator3.la
 @lib lib/libappindicator3.so.${LIBappindicator3_VERSION}
 lib/pkgconfig/appindicator3-0.1.pc
-share/gir-1.0/
 share/gir-1.0/AppIndicator3-0.1.gir
-share/gtk-doc/
-share/gtk-doc/html/
 share/gtk-doc/html/libappindicator/
 share/gtk-doc/html/libappindicator/annotation-glossary.html
 share/gtk-doc/html/libappindicator/api-index-0-5.html
@@ -29,3 +25,5 @@
 share/gtk-doc/html/libappindicator/right.png
 share/gtk-doc/html/libappindicator/style.css
 share/gtk-doc/html/libappindicator/up.png
+share/vala/vapi/appindicator3-0.1.deps
+share/vala/vapi/appindicator3-0.1.vapi
```

 - Ugh, annoying there is no --disable-mono. Patch will have to do.

 - The configure script is checking for python2.7 and pygtk. Should pygtk be a
   dependency of some kind?

 - Looks like PORTHOME isn't needed?

 - Also seems to have a test suite, but would need work to get going.
   Fix or add a comment?

gromit-mpx:

 - Does it need COMPILER?

 - When running it says it can't grab F9. At first I thought that my
   window manager or desktop had it bound, but it doesn't appear so.
   Regardless, managed to turn on scribbling using the tray icon, then
   failed to work out how to turn it off :P pkill to the rescue.
   Probably a problem local to me.

If you can send revised tarballs, I'll chuck this into a mini-bulk to
check for missing dependencies.

Thanks, and sorry for the delay.

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk



Re: NEW: net/i2p

2020-09-02 Thread Dimitri Karamazov
Ping

On Thu, August 27, 2020 18:27, Dimitri Karamazov wrote:
> I2P software bundle, includes the standard I2P implementation.
> https://geti2p.net/
>
>
> Updated to 0.9.47
> *Enables our new end-to-end encryption protocol by default for some services.
> The Sybil analysis and blocking tool is now enabled by default.
>
>
> About:
> *I2P is an anonymous overlay network - a network within a network.
> *It is intended to protect communication from dragnet surveillance
> and monitoring by third parties such as ISPs. *Is decentralised completely 
> unlike tor. Each client routes
> anonymous and encrypted traffic from other clients by default. No central 
> directory for routing.
> *I2P incorporates applications in the form of webapps.
> *Webapps plugins (*.su3) can be loaded easily through the console.
> *Includes a ready mail(smtp pop3) client, i2psnark (bittorrent) client,
> and Jetty (webserver). Or host with your own webserver. *Allows anonymous 
> chats through IRC tunnel service.
> *Plugins for blogging, chatting, file sharing have already been written.
> *Every service(plugin) works within the i2p network itself(Except mail).
> *Not supposed to be used as an outproxy, still an outproxy is included.
> *I2P source code includes a java-service-wrapper compiled for specific
> targets but is not compatible with OpenBSD. So I've included a new port 
> tanukiwrapper, and configured I2P to use it.
> *Very exhaustive(functionality) but easy to use router console.
>
>
> Testing:
> *Run the rc service, point browser to localhost:7657.
> *Set HTTP proxy to localhost: to view eepsites.
> https://geti2p.net/en/about/browser-config
> *Been running the router for a week now, with no problems.
> *Personally tested the default and external plugins(e.g muwire).
> *Test dependencies not present in ports, will add to it.
> *Mount separate partition for /var/i2p if you do heavy transfers.
>
>
> Index: infrastructure/db/user.list
> ===
> RCS file: /cvs/ports/infrastructure/db/user.list,v
> retrieving revision 1.372 diff -u -p -r1.372 user.list --- 
> infrastructure/db/user.list13 Aug 2020 14:02:18 -  1.372
> +++ infrastructure/db/user.list   27 Aug 2020 18:02:01 -
> @@ -367,3 +367,4 @@ id  user  group   port
> 856 _return   _return telephony/resiprocate
> 857 _web2ldap _web2ldap   sysutils/web2ldap
> 858 _purritobin   _purritobin www/purritobin
> +859 _i2p _i2pnet/i2p
>
>
> Any comments?




CVS: cvs.openbsd.org: ports

2020-09-02 Thread Bjorn Ketelaars
CVSROOT:/cvs
Module name:ports
Changes by: b...@cvs.openbsd.org2020/09/02 10:23:25

Modified files:
devel/ipython  : Makefile distinfo 

Log message:
Update to ipython-7.18.1



CVS: cvs.openbsd.org: ports

2020-09-02 Thread Bjorn Ketelaars
CVSROOT:/cvs
Module name:ports
Changes by: b...@cvs.openbsd.org2020/09/02 10:23:00

Modified files:
devel/py-prompt_toolkit: Makefile distinfo 

Log message:
Update to py-prompt_toolkit-3.0.7



CVS: cvs.openbsd.org: ports

2020-09-02 Thread Bjorn Ketelaars
CVSROOT:/cvs
Module name:ports
Changes by: b...@cvs.openbsd.org2020/09/02 10:22:04

Modified files:
news/sabnzbd   : Makefile distinfo 
news/sabnzbd/pkg: PLIST 

Log message:
Update to sabnzbd-3.0.2



CVS: cvs.openbsd.org: ports

2020-09-02 Thread Bjorn Ketelaars
CVSROOT:/cvs
Module name:ports
Changes by: b...@cvs.openbsd.org2020/09/02 10:21:16

Modified files:
audio/ncmpc: Makefile distinfo 

Log message:
Update to ncmpc-0.39

Tested by Florian Viehweger . Thank
you!



UPDATE: devel/git-lfs to 2.12.0

2020-09-02 Thread Asher Pasha
Hi,
The attached diff updates Git LFS to 2.12.0. I have
tested it on amd64. It works. Please update.
Thanks,
Asher
Index: Makefile
===
RCS file: /cvs/ports/devel/git-lfs/Makefile,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 Makefile
--- Makefile	6 Mar 2020 08:59:09 -	1.15
+++ Makefile	2 Sep 2020 16:03:42 -
@@ -4,7 +4,7 @@ COMMENT =		Git extension for versioning 
 
 GH_PROJECT =		git-lfs
 GH_ACCOUNT =		git-lfs
-GH_TAGNAME =		v2.10.0
+GH_TAGNAME =		v2.12.0
 
 CATEGORIES =		devel
 
Index: distinfo
===
RCS file: /cvs/ports/devel/git-lfs/distinfo,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 distinfo
--- distinfo	6 Mar 2020 08:59:09 -	1.13
+++ distinfo	2 Sep 2020 16:03:42 -
@@ -1,2 +1,2 @@
-SHA256 (git-lfs-2.10.0.tar.gz) = B/1cV6EDnVcX3Bkq/74yaOwv0DrM3KRiy1BMC0GUzSM=
-SIZE (git-lfs-2.10.0.tar.gz) = 2771571
+SHA256 (git-lfs-2.12.0.tar.gz) = mXHZHNKw3TTM2kGj25dQS/20+8I8wu5Lbjua/qVkOUE=
+SIZE (git-lfs-2.12.0.tar.gz) = 2847273
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/git-lfs/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 PLIST
--- pkg/PLIST	6 Mar 2020 08:59:09 -	1.5
+++ pkg/PLIST	2 Sep 2020 16:03:42 -
@@ -17,6 +17,7 @@
 @man man/man1/git-lfs-migrate.1
 @man man/man1/git-lfs-pointer.1
 @man man/man1/git-lfs-post-checkout.1
+@man man/man1/git-lfs-post-commit.1
 @man man/man1/git-lfs-post-merge.1
 @man man/man1/git-lfs-pre-push.1
 @man man/man1/git-lfs-prune.1


Re: [NEW] archivers/py-lz4

2020-09-02 Thread Bjorn Ketelaars
On Wed 02/09/2020 13:09, Remi Pointel wrote:
> Hi,
> 
> this is the port to have python bindings for lz4.
> 
> This is needed by the plaso's update.
> 
> Ok?
> 
> Cheers,
> 
> Remi.

Initial port does not build for me.

With the diff below I'm able to build and test. Instead of using the
bundled version of lz4 I propose to use the one that we have in ports.


diff --git Makefile Makefile
index 21fd619dd7f..995172fa6f6 100644
--- Makefile
+++ Makefile
@@ -12,15 +12,22 @@ CATEGORIES =archivers
 # BSD
 PERMIT_PACKAGE =   Yes
 
+WANTLIB =  lz4 pthread
+
 MODULES =  lang/python
 
 MODPY_PI = Yes
 MODPY_SETUPTOOLS = Yes
+MODPY_PYTEST = Yes
+
+BUILD_DEPENDS =devel/py-pkgconfig${MODPY_FLAVOR} \
+   devel/py-setuptools_scm${MODPY_FLAVOR}
+
+LIB_DEPENDS =  archivers/lz4
 
-MODPY_VERSION =${MODPY_DEFAULT_VERSION_3}
+TEST_DEPENDS = sysutils/py-psutil${MODPY_FLAVOR}
 
-TEST_DEPENDS +=devel/py-tox${MODPY_FLAVOR} \
-   devel/py-test${MODPY_FLAVOR} \
-   devel/py-test-cov${MODPY_FLAVOR}
+FLAVORS =  python3
+FLAVOR =   python3
 
 .include 



CVS: cvs.openbsd.org: ports

2020-09-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/09/02 09:53:55

Modified files:
sysutils/google-cloud-sdk: Makefile distinfo 
sysutils/google-cloud-sdk/pkg: PLIST 

Log message:
Update to google-cloud-sdk-308.0.0.



SECURITY UPDATE security/polarssl

2020-09-02 Thread Bjorn Ketelaars
Diff below updates mbedtls to 2.16.8, which is a security update and
addresses:
- Local side channel attack on RSA and static Diffie-Hellman
- Local side channel attack on classical CBC decryption in (D)TLS

Other changes are listed at
https://github.com/ARMmbed/mbedtls/blob/mbedtls-2.16.8/ChangeLog

Minor of libmbedtls has been bumped because of the addition of a symbol.

'make test' runs successfully. Run tested in combination with openvpn.

I think it makes sense to backport this update to 6.8.

Comments/OK


diff --git security/polarssl/Makefile security/polarssl/Makefile
index 08cc08597b0..730506a218f 100644
--- security/polarssl/Makefile
+++ security/polarssl/Makefile
@@ -6,11 +6,11 @@ COMMENT=  SSL library with an intuitive API and readable 
source code
 
 GH_ACCOUNT=ARMmbed
 GH_PROJECT=mbedtls
-GH_TAGNAME=mbedtls-2.16.7
+GH_TAGNAME=mbedtls-2.16.8
 DISTNAME=  ${GH_TAGNAME}
 
 # check SOVERSION
-SHARED_LIBS +=  mbedtls   6.1 # 12
+SHARED_LIBS +=  mbedtls   6.2 # 12
 SHARED_LIBS +=  mbedcrypto4.4 # 3
 SHARED_LIBS +=  mbedx509  3.1 # 0
 
diff --git security/polarssl/distinfo security/polarssl/distinfo
index eabb0429882..6e67c2b2560 100644
--- security/polarssl/distinfo
+++ security/polarssl/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mbedtls-2.16.7.tar.gz) = R4a30WdvXk0kjzp/LShEaHbWSWJjTwYP8huSxpDPvoY=
-SIZE (mbedtls-2.16.7.tar.gz) = 2658294
+SHA256 (mbedtls-2.16.8.tar.gz) = BHtAZ/IacpR90d/9fD8QatjlLYWHe3ffVYKWRY9gMKM=
+SIZE (mbedtls-2.16.8.tar.gz) = 2662927
diff --git security/polarssl/patches/patch-include_mbedtls_config_h 
security/polarssl/patches/patch-include_mbedtls_config_h
index 4879266224e..c0a53a75e38 100644
--- security/polarssl/patches/patch-include_mbedtls_config_h
+++ security/polarssl/patches/patch-include_mbedtls_config_h
@@ -6,7 +6,7 @@ www/hiawatha.
 Index: include/mbedtls/config.h
 --- include/mbedtls/config.h.orig
 +++ include/mbedtls/config.h
-@@ -1732,7 +1732,7 @@
+@@ -1766,7 +1766,7 @@
   *
   * Uncomment this to enable pthread mutexes.
   */
@@ -15,7 +15,7 @@ Index: include/mbedtls/config.h
  
  /**
   * \def MBEDTLS_VERSION_FEATURES
-@@ -2928,7 +2928,7 @@
+@@ -2962,7 +2962,7 @@
   *
   * Enable this layer to allow use of mutexes within mbed TLS
   */
diff --git security/polarssl/patches/patch-tests_suites_host_test_function 
security/polarssl/patches/patch-tests_suites_host_test_function
index 2c87c7d9122..eba6ac005c7 100644
--- security/polarssl/patches/patch-tests_suites_host_test_function
+++ security/polarssl/patches/patch-tests_suites_host_test_function
@@ -5,7 +5,7 @@ Can't take the address of stdout.
 Index: tests/suites/host_test.function
 --- tests/suites/host_test.function.orig
 +++ tests/suites/host_test.function
-@@ -401,9 +401,6 @@ int execute_tests( int argc , const char ** argv )
+@@ -402,9 +402,6 @@ int execute_tests( int argc , const char ** argv )
  /* Store for proccessed integer params. */
  int int_params[50];
  void *pointer;
@@ -15,7 +15,7 @@ Index: tests/suites/host_test.function
  
  #if defined(MBEDTLS_MEMORY_BUFFER_ALLOC_C) && \
  !defined(TEST_SUITE_MEMORY_BUFFER_ALLOC)
-@@ -548,20 +545,6 @@ int execute_tests( int argc , const char ** argv )
+@@ -549,21 +546,6 @@ int execute_tests( int argc , const char ** argv )
  test_info.result = TEST_RESULT_SUCCESS;
  test_info.paramfail_test_state = PARAMFAIL_TESTSTATE_IDLE;
  
@@ -25,7 +25,7 @@ Index: tests/suites/host_test.function
 - */
 -if( !option_verbose )
 -{
--stdout_fd = redirect_output( , "/dev/null" );
+-stdout_fd = redirect_output( stdout, "/dev/null" );
 -if( stdout_fd == -1 )
 -{
 -/* Redirection has failed with no stdout so exit */
@@ -33,15 +33,17 @@ Index: tests/suites/host_test.function
 -}
 -}
 -#endif /* __unix__ || __APPLE__ __MACH__ */
- 
+-
  function_id = strtoul( params[0], NULL, 10 );
  if ( (ret = check_test( function_id )) == 
DISPATCH_TEST_SUCCESS )
-@@ -573,13 +556,6 @@ int execute_tests( int argc , const char ** argv )
+ {
+@@ -573,14 +555,6 @@ int execute_tests( int argc , const char ** argv )
+ ret = dispatch_test( function_id, (void **)( params + 
1 ) );
  }
  }
- 
+-
 -#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
--if( !option_verbose && restore_output( , stdout_fd ) )
+-if( !option_verbose && restore_output( stdout, stdout_fd ) )
 -{
 -/* Redirection has failed with no stdout so exit */
 -exit( 1 );
@@ -50,14 +52,3 @@ Index: tests/suites/host_test.function
  
  }
  
-@@ -666,10 +642,6 @@ int execute_tests( int argc , const char ** 

CVS: cvs.openbsd.org: ports

2020-09-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/09/02 07:56:32

Modified files:
textproc/enchant2: Makefile distinfo 

Log message:
Update to enchant2-2.2.10.



[update] redis 6.0.7

2020-09-02 Thread Theo Buehler
Here's a simple update for Redis 6.0.7.

Upgrade urgency for both 6.0.6 and 6.0.7 is MODERATE, see changelog for
details. Notably, the fix for the sentinel crash was merged upstream so
we can drop it.

https://raw.githubusercontent.com/antirez/redis/6.0/00-RELEASENOTES

There is a test that occasionally fails since 6.0.6, but that's the only
hiccup I found:

[err]: Piping raw protocol in tests/integration/redis-cli.tcl

I decided against patching the lolwut easter egg for the new clang warning:

lolwut5.c:87:44: warning: implicit conversion from 'int' to 'float' changes 
value from
  2147483647 to 2147483648 [-Wimplicit-int-float-conversion]
float r1 = (float)rand() / RAND_MAX / squares_per_col * y;
 ~ ^~~~

I have built and lightly tested this on amd64 and macppc.

This built successfully on an experimental sparc64/clang system. Tests
fail due to weird floating point issues (so does 6.0.5, which tested
fine when compiled with gcc).

Index: Makefile
===
RCS file: /var/cvs/ports/databases/redis/Makefile,v
retrieving revision 1.114
diff -u -p -r1.114 Makefile
--- Makefile28 Jun 2020 10:47:15 -  1.114
+++ Makefile2 Sep 2020 11:38:17 -
@@ -1,10 +1,9 @@
 # $OpenBSD: Makefile,v 1.114 2020/06/28 10:47:15 tb Exp $
 
 COMMENT =  persistent key-value database
-DISTNAME = redis-6.0.5
+DISTNAME = redis-6.0.7
 CATEGORIES =   databases
 HOMEPAGE = https://redis.io/
-REVISION = 0
 
 # BSD
 PERMIT_PACKAGE =   Yes
Index: distinfo
===
RCS file: /var/cvs/ports/databases/redis/distinfo,v
retrieving revision 1.88
diff -u -p -r1.88 distinfo
--- distinfo14 Jun 2020 07:35:36 -  1.88
+++ distinfo2 Sep 2020 10:49:36 -
@@ -1,2 +1,2 @@
-SHA256 (redis-6.0.5.tar.gz) = Qs+GoRTSpFG4mPzalqzU0BBip9uqrSgB2RZKNviY9ZY=
-SIZE (redis-6.0.5.tar.gz) = 2217666
+SHA256 (redis-6.0.7.tar.gz) = wqqhpMfnLHCt7fl2/dXh0005WYkoPaudeEDgowS7I5M=
+SIZE (redis-6.0.7.tar.gz) = 2240490
Index: patches/patch-redis_conf
===
RCS file: /var/cvs/ports/databases/redis/patches/patch-redis_conf,v
retrieving revision 1.22
diff -u -p -r1.22 patch-redis_conf
--- patches/patch-redis_conf8 Jun 2020 07:32:47 -   1.22
+++ patches/patch-redis_conf2 Sep 2020 11:03:09 -
@@ -32,7 +32,7 @@ Index: redis.conf
  # tls-ca-cert-dir /etc/ssl/certs
  
  # By default, clients (including replica servers) on a TLS port are required
-@@ -181,14 +182,14 @@ tcp-keepalive 300
+@@ -184,14 +185,14 @@ tcp-keepalive 300
  #
  # tls-protocols "TLSv1.2 TLSv1.3"
  
@@ -49,7 +49,7 @@ Index: redis.conf
  # information about the syntax of this string, and specifically for TLSv1.3
  # ciphersuites.
  #
-@@ -202,8 +203,9 @@ tcp-keepalive 300
+@@ -221,8 +222,9 @@ tcp-keepalive 300
  # GENERAL 
#
  
  # By default Redis does not run as a daemon. Use 'yes' if you need it.
@@ -61,7 +61,7 @@ Index: redis.conf
  
  # If you run Redis from upstart or systemd, Redis can interact with your
  # supervision tree. Options:
-@@ -221,11 +223,11 @@ supervised no
+@@ -240,11 +242,11 @@ supervised no
  #
  # When the server runs non daemonized, no pid file is created if none is
  # specified in the configuration. When the server is daemonized, the pid file
@@ -75,7 +75,7 @@ Index: redis.conf
  
  # Specify the server verbosity level.
  # This can be one of:
-@@ -238,17 +240,18 @@ loglevel notice
+@@ -257,17 +259,18 @@ loglevel notice
  # Specify the log file name. Also the empty string can be used to force
  # Redis to log on the standard output. Note that if you use standard
  # output for logging but daemonize, logs will be sent to /dev/null
@@ -99,7 +99,7 @@ Index: redis.conf
  
  # Set the number of databases. The default database is DB 0, you can select
  # a different one on a per-connection basis using SELECT  where
-@@ -343,7 +346,7 @@ rdb-del-sync-files no
+@@ -362,7 +365,7 @@ rdb-del-sync-files no
  # The Append Only File will also be created inside this directory.
  #
  # Note that you must specify a directory here, not a file name.
@@ -108,7 +108,7 @@ Index: redis.conf
  
  # REPLICATION 
#
  
-@@ -768,7 +771,7 @@ acllog-max-len 128
+@@ -786,7 +789,7 @@ acllog-max-len 128
  # AUTH  as usually, or more explicitly with AUTH default 
  # if they follow the new protocol: both will work.
  #
@@ -117,8 +117,8 @@ Index: redis.conf
  
  # Command renaming (DEPRECATED).
  #
-@@ -807,6 +810,7 @@ acllog-max-len 128
- # an error 'max number of clients reached'.
+@@ -830,6 +833,7 @@ acllog-max-len 128
+ # limit accordingly in case of very large clusters.
  #
  # maxclients 1
 +maxclients 96
Index: 

CVS: cvs.openbsd.org: ports

2020-09-02 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/09/02 07:39:24

Modified files:
misc/hwdata: Makefile distinfo 

Log message:
Update to hwdata-0.339.



Re: games/godot: add sndio backend

2020-09-02 Thread Alexandre Ratchov
On Mon, Aug 24, 2020 at 08:19:18PM +0200, Omar Polo wrote:
> 
> Hello ports@,
> 
> Here's a second try at adding a working audio backend to Godot.  It took
> me some time but now I think it's ready.  It was fun, and even if I
> didn't knew anything about audio handling, I have learned something.
> The sio_open manpage in particular was incredibly helpful at explaining
> the various concept.
> 
> You can find attached a patch to add a sndio driver.  I'm also taking up
> the maintainership as previously discussed off-list with Thomas.
> 
> Riccardo (cc'd) and me have been testing this for a week.  We've tested
> with Oddventure, Hive Time and some hobby projects.  Oddventure crashes
> regularly at some point (after ~ 15-20 minutes of gameplay), but it does
> so regardless of the sndio patch.  As a test, I've been able to play for
> roughly 25-30 minutes at Hive Time with SIO_ERROR^1 set without having
> xruns, so I'm quite confident the driver isn't utterly broken.
> 
> As Thomas suggested, it would be nice to upstream this patch but as I'm
> not able to compile and run the engine from the master branch I'm
> refraining to for the moment.  In the meantime, it would be nice to have
> this tested by a wider audience and, possibly, also committed :)
> 
> Some notes (and questions) about the patch:
> 

Thanks for the code, few answers and suggestions below:

>  - it's better to bundle the code in ${FILESDIR} and copy it in
>post-extract (what I'm currently doing) or have patches against
>/dev/null?  I think the first option is more clear
> 
>  - the $OpenBSD$ cvs tag on the sources is correct?  portcheck doesn't
>complain, but I've never done this before so I'm not sure.
> 
>  - the driver only implements the minimum necessary in order to play
>sounds: other audio driver also let the user change the device and
>some driver (e.g. pulseaudio) also support recording audio.  Adding
>support for recording shouldn't be difficult, but I don't know a
>single game that requires this.  Switching audio device at runtime
>doesn't seem too much useful to me, but I think I can implement it
>eventually
> 

This is OK. Most ports don't provide device selection either. We're
slowly shifting toward pushing the device selection in sndiod using
sndioctl.

>  - (I'm a noob when it comes to audio stuff so apologies) it's better
>SIO_SYNC or SIO_IGNORE for a game?  SIO_IGNORE makes the device
>pauses during overruns and underruns, while SIO_SYNC makes the device
>discard the samples on overrun and then play the same amount of
>silence later.

The default is fine. FWIW, SIO_SYNC is when multiple audio programs
need to be synchronized; it's automatically forced by sndiod when
needed.

> 
>  - in the main loop in AudioDriverSndio::thread_func I'm not checking
>the return of sio_open/sio_close: this is deliberate.  It's to keep
>the code simple, as if an error occurs during the open/close we'll
>notice it eventually some lines after on sio_write and exit there.

you mean sio_{start,stop}() ;-)

>  - while other driver fills sample_in with zeroes when there is nothing
>to play, doing so with sndio would make the whole engine sluggish.
>The was_active + sio_open/close dance is due to that.  I don't have
>an explanation for that, and I've got the idea from the sndio
>website[2]

This part is strange as AudioDriver has public "stop" method.  Other
backends seem to use the flag for error recovery, which doesn't make
sense for sndio.

So, AFAICS, the "active" flag is only used to start calling
audio_server_process() and is never reset. If so, it would make sense
call sio_start() in the init() method and do the following the
thread_func(), pseudo-code:

thread_func()
{
memset(ad->samples_in, 0,  ...);
while (!sio_eof()) {
if (active)
audio_server_process()
w = sio_write(...)
}
}

>  - (please remember that I don't have any prior experience with audio
>stuff) every other audio driver has a loop like
>   for ( ... ) {
>   ad->samples_out.write[i] = ad->samples_in[i] >> 16;
>   }
>I don't know why it's needed to shift every sample but, hey, everyone
>is doing it and so am I :)
> 

This is because audio_server_process() produces 32-bit samples in in
samples_in[] while sio_write() expects 16-bit samples, as 16-bit
format was requested with sio_setpar(). The '>>' operator is used to
retain the 16 most significant bits.

You could avoid the need for the samples_out[] array and the
conversions by setting par.bits to 32 in the sio_setpar() call. sndiod
will do the necessary conversions.

> Index: files/sndio/audio_driver_sndio.cpp
> ===
> RCS file: files/sndio/audio_driver_sndio.cpp
> diff -N files/sndio/audio_driver_sndio.cpp
> 

Re: UPDATE: SQLMap-1.4.9

2020-09-02 Thread Ricardo

Hey Gonzalo,

Tested OK on amd64.

Take care.
Ricardo

On 9/2/20 10:32 AM, Gonzalo L. Rodriguez wrote:

Hello,

Update for SQLMap to 1.4.9:

https://github.com/sqlmapproject/sqlmap/releases

OK? Comments?

Cheers.-





Re: WIP: Update lang/node

2020-09-02 Thread Moritz Buhl

On 2020-09-02 11:18, Moritz Buhl wrote:

...
RCS file: lang/node/patches/patch-src_cares_wrap_cc
diff -N lang/node/patches/patch-src_cares_wrap_cc
--- /dev/null   1 Jan 1970 00:00:00 -
+++ lang/node/patches/patch-src_cares_wrap_cc   1 Sep 2020 14:54:18 -
@@ -0,0 +1,22 @@
+$OpenBSD$
+
+Index: src/cares_wrap.cc
+--- src/cares_wrap.cc.orig
 src/cares_wrap.cc
+@@ -38,6 +38,8 @@
+ #ifdef __POSIX__
+ # include 
+ #endif  // __POSIX__
++// WTF U BITH
++#undef HAVE_ARPA_NAMESER_H


This should just go away. sorry.



+
...


again:

Index: lang/node/Makefile
===
RCS file: /cvs/ports/lang/node/Makefile,v
retrieving revision 1.87
diff -u -p -r1.87 Makefile
--- lang/node/Makefile  22 Jul 2020 17:30:24 -  1.87
+++ lang/node/Makefile  2 Sep 2020 11:37:45 -
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.87 2020/07/22 17:30:24 jasper Exp $
+# $OpenBSD$

 # XXX:
 # - Needs __ARM_NR_cacheflush (or the like) to work on arm-based ports.
@@ -11,12 +11,11 @@ USE_WXNEEDED =  Yes

 COMMENT =  V8 JavaScript for clients and servers

-NODE_VERSION = v12.16.1
+NODE_VERSION = v12.18.3
 PLEDGE_VER =   1.1.2
 DISTFILES =node-pledge-{}${PLEDGE_VER}.tar.gz:0 \
${DISTNAME}-headers.tar.gz \
${DISTNAME}.tar.gz
-REVISION = 1

 DISTNAME = node-${NODE_VERSION}
 PKGNAME =  ${DISTNAME:S/v//g}
@@ -35,11 +34,13 @@ MASTER_SITES =  ${HOMEPAGE}dist/${NODE_V
 MODULES =  lang/python
 MODPY_VERSION =${MODPY_DEFAULT_VERSION_3}

-WANTLIB += c execinfo kvm m pthread util ${COMPILER_LIBCXX}
+WANTLIB += c execinfo kvm m pthread util icui18n icuuc icudata \
+   ${COMPILER_LIBCXX}

 COMPILER = base-clang ports-gcc

-LIB_DEPENDS =  devel/libexecinfo
+LIB_DEPENDS =  devel/libexecinfo \
+   textproc/icu4c

 USE_GMAKE =Yes

@@ -54,7 +55,7 @@ CONFIGURE_SCRIPT =${MODPY_BIN} configur

 # libpath and includes aren't picked up, but I added them here as a 
note.

 # The patch for node.gyp is where they are actually being set.
-CONFIGURE_ARGS =   --prefix=${PREFIX}
+CONFIGURE_ARGS =   --prefix=${PREFIX} --with-intl=system-icu

 .if "${MACHINE_ARCH}" == "aarch64" || "${MACHINE_ARCH}" == "powerpc64"
 CONFIGURE_ARGS +=  --openssl-no-asm
@@ -91,12 +92,18 @@ pre-configure:
${WRKDIST}/node.gyp \
${WRKDIST}/common.gypi \
${WRKDIST}/tools/test.py
+   sed -i 's/-ldl//' ${WRKSRC}/deps/uv/uv.gyp \
+   ${WRKSRC}/deps/v8/tools/run-wasm-api-tests.py \
+   ${WRKSRC}/tools/gyp/tools/emacs/testdata/media.gyp \
+   ${WRKSRC}/tools/gyp/tools/emacs/testdata/media.gyp.fontified \
+   ${WRKSRC}/tools/v8_gypfiles/v8.gyp
+   rm -rf ${WRKSRC}/deps/icu-small
cd ${WRKDIST}/deps/openssl/config && \
${MAKE_PROGRAM} ASM_ARCHS=BSD-x86-elf NO_ASM_ARCHS=

 post-configure:
-   sed -i 's/-ldl //' ${WRKSRC}/out/deps/openssl/openssl.target.mk
-   sed -i 's/-ldl //' ${WRKSRC}/out/deps/openssl/openssl-cli.target.mk
+   sed -i 's/-ldl //' ${WRKSRC}/out/deps/openssl/openssl.target.mk \
+   ${WRKSRC}/out/deps/openssl/openssl-cli.target.mk

 post-install:
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
Index: lang/node/distinfo
===
RCS file: /cvs/ports/lang/node/distinfo,v
retrieving revision 1.53
diff -u -p -r1.53 distinfo
--- lang/node/distinfo  4 Apr 2020 16:42:57 -   1.53
+++ lang/node/distinfo  2 Sep 2020 11:37:45 -
@@ -1,6 +1,6 @@
 SHA256 (node-pledge-1.1.2.tar.gz) = 
zY/JcbZ32mmtqWXXNn3/9aTh7Y3F6fAAaADDA8SYwEk=
-SHA256 (node-v12.16.1-headers.tar.gz) = 
gV5zJWG2vhsjibDKxT40tlrRg1pfA1TZiI2ZKkYTlH8=
-SHA256 (node-v12.16.1.tar.gz) = 
T+jDRU+b7lu+ctRKolzZMYWbMDe3qUcwgbOyvRtGW5U=
+SHA256 (node-v12.18.3-headers.tar.gz) = 
Fk7cceRs+GrF2fysANxpwJuwlhS3Z8THdap3R7QugYg=
+SHA256 (node-v12.18.3.tar.gz) = 
bqhfgOAbAHzJtWa4g2UTvFECZn2DO61MEJK+YPpgwtQ=

 SIZE (node-pledge-1.1.2.tar.gz) = 3155
-SIZE (node-v12.16.1-headers.tar.gz) = 563107
-SIZE (node-v12.16.1.tar.gz) = 52290732
+SIZE (node-v12.18.3-headers.tar.gz) = 555440
+SIZE (node-v12.18.3.tar.gz) = 52449074
Index: lang/node/patches/patch-configure_py
===
RCS file: /cvs/ports/lang/node/patches/patch-configure_py,v
retrieving revision 1.1
diff -u -p -r1.1 patch-configure_py
--- lang/node/patches/patch-configure_py31 Jul 2020 21:22:48 -  
1.1
+++ lang/node/patches/patch-configure_py2 Sep 2020 11:37:45 -
@@ -1,17 +0,0 @@
-$OpenBSD: patch-configure_py,v 1.1 2020/07/31 21:22:48 naddy Exp $
-
-account for CLANG_VENDOR when checking for llvm version

[NEW] archivers/py-lz4

2020-09-02 Thread Remi Pointel

Hi,

this is the port to have python bindings for lz4.

This is needed by the plaso's update.

Ok?

Cheers,

Remi.


py-lz4.tar.gz
Description: application/gzip


CVS: cvs.openbsd.org: ports

2020-09-02 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2020/09/02 04:50:36

Modified files:
audio/ncspot   : Makefile 

Log message:
audio/ncspot: add missing WANTLIB/LIB_DEPENDS on dbus-1



CVS: cvs.openbsd.org: ports

2020-09-02 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2020/09/02 04:42:09

Modified files:
print/texlive/base: Makefile 
print/texlive/base/pkg: PLIST-main 
print/texlive/texmf: Makefile 
print/texlive/texmf/files: update_plist_hints.py write_plists.py 
print/texlive/texmf/pkg: PLIST-buildset PLIST-context PLIST-docs 
 PLIST-full PLIST-main 

Log message:
Depend on lcdf-typetools package rather than building it in texlive.

Also update plist generation and bump conflict markers.

requested by edd@ (the one who actually wrote the diff)



CVS: cvs.openbsd.org: ports

2020-09-02 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2020/09/02 04:35:05

Modified files:
print  : Makefile 

Log message:
+lcdf-typetools



CVS: cvs.openbsd.org: ports

2020-09-02 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2020/09/02 04:34:28

Log message:
Import lcdf-typetools-2.108.

LCDF Typetools comprises several programs for manipulating PostScript
Type 1, Type 1 Multiple Master, OpenType, and TrueType fonts.

LCDF stands for Little Cambridgeport Design Factory.

ok edd@

Status:

Vendor Tag: bentely
Release Tags:   bentley_20200901

N ports/print/lcdf-typetools/Makefile
N ports/print/lcdf-typetools/distinfo
N ports/print/lcdf-typetools/pkg/DESCR
N ports/print/lcdf-typetools/pkg/PLIST

No conflicts created by this import



UPDATE: SQLMap-1.4.9

2020-09-02 Thread Gonzalo L. Rodriguez
Hello,

Update for SQLMap to 1.4.9:

https://github.com/sqlmapproject/sqlmap/releases

OK? Comments?

Cheers.-

-- 

- gonzalo
Index: Makefile
===
RCS file: /cvs/ports/security/sqlmap/Makefile,v
retrieving revision 1.32
diff -u -p -r1.32 Makefile
--- Makefile27 Jul 2020 08:12:08 -  1.32
+++ Makefile2 Sep 2020 08:18:48 -
@@ -4,7 +4,7 @@ COMMENT =   penetration testing tool to d
 
 GH_ACCOUNT =   sqlmapproject
 GH_PROJECT =   sqlmap
-GH_TAGNAME =   1.4.7
+GH_TAGNAME =   1.4.9
 
 CATEGORIES =   security
 
Index: distinfo
===
RCS file: /cvs/ports/security/sqlmap/distinfo,v
retrieving revision 1.26
diff -u -p -r1.26 distinfo
--- distinfo27 Jul 2020 08:12:08 -  1.26
+++ distinfo2 Sep 2020 08:18:48 -
@@ -1,2 +1,2 @@
-SHA256 (sqlmap-1.4.7.tar.gz) = Z8Pypc3niL5Z182zNMODWzLQgviCmFMLz+Z1JfMQO/w=
-SIZE (sqlmap-1.4.7.tar.gz) = 6774793
+SHA256 (sqlmap-1.4.9.tar.gz) = i9cI+7SGuFsDG7COZir9VEjTRGc+OiqnJTjk2xWbX+0=
+SIZE (sqlmap-1.4.9.tar.gz) = 6787381
Index: pkg/PLIST
===
RCS file: /cvs/ports/security/sqlmap/pkg/PLIST,v
retrieving revision 1.22
diff -u -p -r1.22 PLIST
--- pkg/PLIST   10 Mar 2020 09:58:52 -  1.22
+++ pkg/PLIST   2 Sep 2020 08:18:48 -
@@ -226,6 +226,7 @@ share/sqlmap/extra/shutils/pycodestyle.s
 share/sqlmap/extra/shutils/pydiatra.sh
 share/sqlmap/extra/shutils/pyflakes.sh
 share/sqlmap/extra/shutils/pypi.sh
+share/sqlmap/extra/shutils/recloak.sh
 share/sqlmap/extra/shutils/strip.sh
 share/sqlmap/extra/vulnserver/
 share/sqlmap/extra/vulnserver/__init__.py
@@ -901,14 +902,17 @@ share/sqlmap/sqlmap.conf
 share/sqlmap/sqlmap.py
 share/sqlmap/sqlmapapi.py
 share/sqlmap/tamper/
+share/sqlmap/tamper/0eunion.py
 share/sqlmap/tamper/__init__.py
 ${MODPY_COMMENT}share/sqlmap/tamper/${MODPY_PYCACHE}/
+share/sqlmap/tamper/${MODPY_PYCACHE}0eunion.${MODPY_PYC_MAGIC_TAG}pyc
 share/sqlmap/tamper/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
 share/sqlmap/tamper/${MODPY_PYCACHE}apostrophemask.${MODPY_PYC_MAGIC_TAG}pyc
 
share/sqlmap/tamper/${MODPY_PYCACHE}apostrophenullencode.${MODPY_PYC_MAGIC_TAG}pyc
 share/sqlmap/tamper/${MODPY_PYCACHE}appendnullbyte.${MODPY_PYC_MAGIC_TAG}pyc
 share/sqlmap/tamper/${MODPY_PYCACHE}base64encode.${MODPY_PYC_MAGIC_TAG}pyc
 share/sqlmap/tamper/${MODPY_PYCACHE}between.${MODPY_PYC_MAGIC_TAG}pyc
+share/sqlmap/tamper/${MODPY_PYCACHE}binary.${MODPY_PYC_MAGIC_TAG}pyc
 share/sqlmap/tamper/${MODPY_PYCACHE}bluecoat.${MODPY_PYC_MAGIC_TAG}pyc
 share/sqlmap/tamper/${MODPY_PYCACHE}chardoubleencode.${MODPY_PYC_MAGIC_TAG}pyc
 share/sqlmap/tamper/${MODPY_PYCACHE}charencode.${MODPY_PYC_MAGIC_TAG}pyc
@@ -918,7 +922,9 @@ share/sqlmap/tamper/${MODPY_PYCACHE}comm
 share/sqlmap/tamper/${MODPY_PYCACHE}commalessmid.${MODPY_PYC_MAGIC_TAG}pyc
 
share/sqlmap/tamper/${MODPY_PYCACHE}commentbeforeparentheses.${MODPY_PYC_MAGIC_TAG}pyc
 share/sqlmap/tamper/${MODPY_PYCACHE}concat2concatws.${MODPY_PYC_MAGIC_TAG}pyc
+share/sqlmap/tamper/${MODPY_PYCACHE}dunion.${MODPY_PYC_MAGIC_TAG}pyc
 share/sqlmap/tamper/${MODPY_PYCACHE}equaltolike.${MODPY_PYC_MAGIC_TAG}pyc
+share/sqlmap/tamper/${MODPY_PYCACHE}equaltorlike.${MODPY_PYC_MAGIC_TAG}pyc
 share/sqlmap/tamper/${MODPY_PYCACHE}escapequotes.${MODPY_PYC_MAGIC_TAG}pyc
 share/sqlmap/tamper/${MODPY_PYCACHE}greatest.${MODPY_PYC_MAGIC_TAG}pyc
 
share/sqlmap/tamper/${MODPY_PYCACHE}halfversionedmorekeywords.${MODPY_PYC_MAGIC_TAG}pyc
@@ -930,6 +936,7 @@ share/sqlmap/tamper/${MODPY_PYCACHE}info
 share/sqlmap/tamper/${MODPY_PYCACHE}least.${MODPY_PYC_MAGIC_TAG}pyc
 share/sqlmap/tamper/${MODPY_PYCACHE}lowercase.${MODPY_PYC_MAGIC_TAG}pyc
 share/sqlmap/tamper/${MODPY_PYCACHE}luanginx.${MODPY_PYC_MAGIC_TAG}pyc
+share/sqlmap/tamper/${MODPY_PYCACHE}misunion.${MODPY_PYC_MAGIC_TAG}pyc
 
share/sqlmap/tamper/${MODPY_PYCACHE}modsecurityversioned.${MODPY_PYC_MAGIC_TAG}pyc
 
share/sqlmap/tamper/${MODPY_PYCACHE}modsecurityzeroversioned.${MODPY_PYC_MAGIC_TAG}pyc
 share/sqlmap/tamper/${MODPY_PYCACHE}multiplespaces.${MODPY_PYC_MAGIC_TAG}pyc
@@ -940,6 +947,7 @@ share/sqlmap/tamper/${MODPY_PYCACHE}plus
 share/sqlmap/tamper/${MODPY_PYCACHE}plus2fnconcat.${MODPY_PYC_MAGIC_TAG}pyc
 share/sqlmap/tamper/${MODPY_PYCACHE}randomcase.${MODPY_PYC_MAGIC_TAG}pyc
 share/sqlmap/tamper/${MODPY_PYCACHE}randomcomments.${MODPY_PYC_MAGIC_TAG}pyc
+share/sqlmap/tamper/${MODPY_PYCACHE}schemasplit.${MODPY_PYC_MAGIC_TAG}pyc
 share/sqlmap/tamper/${MODPY_PYCACHE}sp_password.${MODPY_PYC_MAGIC_TAG}pyc
 share/sqlmap/tamper/${MODPY_PYCACHE}space2comment.${MODPY_PYC_MAGIC_TAG}pyc
 share/sqlmap/tamper/${MODPY_PYCACHE}space2dash.${MODPY_PYC_MAGIC_TAG}pyc
@@ -966,6 +974,7 @@ share/sqlmap/tamper/apostrophenullencode
 share/sqlmap/tamper/appendnullbyte.py
 share/sqlmap/tamper/base64encode.py
 share/sqlmap/tamper/between.py

sparc64 bulk build report

2020-09-02 Thread kmos
Bulk build on sparc64-0.ports.openbsd.org

Started : Mon Aug 31 02:01:54 MDT 2020
Finished: Wed Sep  2 03:27:29 MDT 2020
Duration: 2 Days 1 hours 26 minutes

Built using OpenBSD 6.7-current (GENERIC.MP) #463: Sun Aug 30 18:25:40 MDT 2020

Built 8952 packages

Number of packages built each day:
Aug 31: 7365
Sep 1: 1580
Sep 2: 7


Critical path missing pkgs:
http://build-failures.rhaalovely.net/sparc64/2020-08-31/summary.log

Build failures: 12
http://build-failures.rhaalovely.net/sparc64/2020-08-31/emulators/qemu.log
http://build-failures.rhaalovely.net/sparc64/2020-08-31/graphics/clutter/cogl.log
http://build-failures.rhaalovely.net/sparc64/2020-08-31/math/coq.log
http://build-failures.rhaalovely.net/sparc64/2020-08-31/multimedia/gstreamer1/plugins-base.log
http://build-failures.rhaalovely.net/sparc64/2020-08-31/multimedia/mpv.log
http://build-failures.rhaalovely.net/sparc64/2020-08-31/sysutils/libvirt.log
http://build-failures.rhaalovely.net/sparc64/2020-08-31/textproc/ruby-nokogiri,ruby26.log
http://build-failures.rhaalovely.net/sparc64/2020-08-31/www/purritobin.log
http://build-failures.rhaalovely.net/sparc64/2020-08-31/x11/mate/session-manager.log
http://build-failures.rhaalovely.net/sparc64/2020-08-31/x11/picom.log
http://build-failures.rhaalovely.net/sparc64/2020-08-31/x11/qt5/qtbase.log
http://build-failures.rhaalovely.net/sparc64/2020-08-31/x11/xcolor.log

Recurrent failures:
 failures/math/coq.log
 failures/sysutils/libvirt.log
 failures/www/purritobin.log
 failures/x11/picom.log
 failures/x11/xcolor.log

New failures:
+failures/emulators/qemu.log
+failures/graphics/clutter/cogl.log
+failures/multimedia/gstreamer1/plugins-base.log
+failures/multimedia/mpv.log
+failures/textproc/ruby-nokogiri,ruby26.log
+failures/x11/mate/session-manager.log
+failures/x11/qt5/qtbase.log

Resolved failures:
-failures/databases/sqlports.log
-failures/devel/ruby-nio4r,ruby27.log
-failures/graphics/inkscape.log
-failures/inputmethods/anthy.log
-failures/textproc/gettext-tools.log

Packages newly built:
+biology/p5-Bio-Cluster
+biology/p5-Bio-DB-EMBL
+biology/p5-Bio-DB-NCBIHelper
+biology/p5-Bio-Variation
+databases/pkglocatedb
+databases/ports-readmes
+databases/ports-readmes-dancer
+databases/sqlports
+databases/sqlports,-list
+databases/sqlports,-main
+devel/ruby-nio4r,ruby27
+games/uqm/data/3domusic
+games/uqm/data/content
+games/uqm/data/remix
+games/uqm/data/voice
+games/uqm/uqm
+inputmethods/anthy,-emacs
+misc/portroach
+net/nagios/nsca
+net/nagios/nsca-ng
+sysutils/pkg_mgr
+sysutils/upt/upt-openbsd
+textproc/catfish
+www/p5-Catalyst-Controller-ActionRole
+www/ruby-puma,ruby27
+x11/screenkey

Packages not built this time:
-archivers/quazip
-astro/kstars
-astro/stellarium
-audio/audacity
-audio/cantata
-audio/clementine
-audio/curseradio
-audio/easytag
-audio/faudio
-audio/gmpc
-audio/gmpc-plugins
-audio/gradio
-audio/grip
-audio/hydrogen
-audio/liblastfm
-audio/lmms
-audio/mscore
-audio/mumble
-audio/mumble,-main
-audio/mumble,-server
-audio/musique
-audio/parlatype
-audio/picard
-audio/pithos
-audio/puddletag
-audio/pykaraoke
-audio/qsynth
-audio/quodlibet
-audio/rgain
-audio/rhythmbox
-benchmarks/netperf-wrapper,-gui
-benchmarks/tsung
-cad/fritzing
-cad/librecad
-cad/opensta
-cad/qcad
-cad/qelectrotech
-cad/qflow
-cad/qucs-s
-cad/yosys
-comms/gnuradio
-comms/pterm
-comms/sigrok/libsigrok
-comms/sigrok/pulseview
-comms/sigrok/sigrok-cli
-comms/wammu
-databases/evolution-data-server
-databases/kdb
-databases/pgadmin3
-databases/pgmodeler
-databases/ruby-hiera-eyaml-gpg
-databases/sqlitebrowser
-devel/codeblocks
-devel/cudd
-devel/doxygen
-devel/doxygen-gui
-devel/frama-c
-devel/giggle
-devel/git-cola
-devel/glade
-devel/gwenhywfar
-devel/kdiff3
-devel/kf5/attica
-devel/kf5/baloo
-devel/kf5/baloo,-icons
-devel/kf5/baloo,-main
-devel/kf5/bluez-qt
-devel/kf5/breeze-icons
-devel/kf5/extra-cmake-modules
-devel/kf5/frameworkintegration
-devel/kf5/kactivities
-devel/kf5/kactivities-stats
-devel/kf5/kapidox
-devel/kf5/karchive
-devel/kf5/kauth
-devel/kf5/kbookmarks
-devel/kf5/kcalendarcore
-devel/kf5/kcmutils
-devel/kf5/kcodecs
-devel/kf5/kcompletion
-devel/kf5/kconfig
-devel/kf5/kconfigwidgets
-devel/kf5/kcontacts
-devel/kf5/kcoreaddons
-devel/kf5/kcrash
-devel/kf5/kdbusaddons
-devel/kf5/kdeclarative
-devel/kf5/kded
-devel/kf5/kdelibs4support
-devel/kf5/kdesignerplugin
-devel/kf5/kdesu
-devel/kf5/kdewebkit
-devel/kf5/kdnssd
-devel/kf5/kdoctools
-devel/kf5/kemoticons
-devel/kf5/kfilemetadata
-devel/kf5/kfilemetadata,-locale
-devel/kf5/kfilemetadata,-main
-devel/kf5/kglobalaccel
-devel/kf5/kguiaddons
-devel/kf5/kholidays
-devel/kf5/khtml
-devel/kf5/ki18n
-devel/kf5/kiconthemes
-devel/kf5/kidletime
-devel/kf5/kimageformats
-devel/kf5/kinit
-devel/kf5/kio
-devel/kf5/kirigami2
-devel/kf5/kitemmodels
-devel/kf5/kitemviews
-devel/kf5/kjobwidgets
-devel/kf5/kjs
-devel/kf5/kjsembed
-devel/kf5/kmediaplayer
-devel/kf5/knewstuff
-devel/kf5/knotifications
-devel/kf5/knotifyconfig
-devel/kf5/kpackage
-devel/kf5/kparts

Re: WIP: Update lang/node

2020-09-02 Thread Moritz Buhl

On 2020-08-28 22:56, Aaron Bieber wrote:

On Fri, 28 Aug 2020 at 18:30:25 +0200, Moritz Buhl wrote:

Hi,

I came up with something new. Only icu4c is used from ports now
as it is allowed according to some documentation.
I might have ruined this diff if so I will give up and sorry
for wasting your time.

Sincerely yours,
mbuhl

Index: lang/node/Makefile
===
RCS file: /cvs/ports/lang/node/Makefile,v
retrieving revision 1.87
diff -u -p -r1.87 Makefile
--- lang/node/Makefile  22 Jul 2020 17:30:24 -  1.87
+++ lang/node/Makefile  28 Aug 2020 16:29:46 -
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.87 2020/07/22 17:30:24 jasper Exp $
+# $OpenBSD$

 # XXX:
 # - Needs __ARM_NR_cacheflush (or the like) to work on arm-based 
ports.

@@ -11,12 +11,11 @@ USE_WXNEEDED =  Yes

 COMMENT =  V8 JavaScript for clients and servers

-NODE_VERSION = v12.16.1
+NODE_VERSION = v12.18.3
 PLEDGE_VER =   1.1.2
 DISTFILES =node-pledge-{}${PLEDGE_VER}.tar.gz:0 \
${DISTNAME}-headers.tar.gz \
${DISTNAME}.tar.gz
-REVISION = 1

 DISTNAME = node-${NODE_VERSION}
 PKGNAME =  ${DISTNAME:S/v//g}
@@ -35,11 +34,13 @@ MASTER_SITES =  ${HOMEPAGE}dist/${NODE_V
 MODULES =  lang/python
 MODPY_VERSION =${MODPY_DEFAULT_VERSION_3}

-WANTLIB += c execinfo kvm m pthread util ${COMPILER_LIBCXX}
+WANTLIB += c execinfo kvm m pthread util icui18n icuuc icudata \
+   ${COMPILER_LIBCXX}

 COMPILER = base-clang ports-gcc

-LIB_DEPENDS =  devel/libexecinfo
+LIB_DEPENDS =  devel/libexecinfo \
+   textproc/icu4c

 USE_GMAKE =Yes

@@ -54,7 +55,7 @@ CONFIGURE_SCRIPT =${MODPY_BIN} configur

 # libpath and includes aren't picked up, but I added them here as a 
note.

 # The patch for node.gyp is where they are actually being set.
-CONFIGURE_ARGS =   --prefix=${PREFIX}
+CONFIGURE_ARGS =   --prefix=${PREFIX} --with-intl=system-icu

 .if "${MACHINE_ARCH}" == "aarch64" || "${MACHINE_ARCH}" == 
"powerpc64"

 CONFIGURE_ARGS +=  --openssl-no-asm
@@ -91,12 +92,18 @@ pre-configure:
${WRKDIST}/node.gyp \
${WRKDIST}/common.gypi \
${WRKDIST}/tools/test.py
+   sed -i 's/-ldl//' ${WRKSRC}/deps/uv/uv.gyp \
+   ${WRKSRC}/deps/v8/tools/run-wasm-api-tests.py \
+   ${WRKSRC}/tools/gyp/tools/emacs/testdata/media.gyp \
+   ${WRKSRC}/tools/gyp/tools/emacs/testdata/media.gyp.fontified \
+   ${WRKSRC}/tools/v8_gypfiles/v8.gyp
+   rm -rf ${WRKSRC}/deps/icu-small
cd ${WRKDIST}/deps/openssl/config && \
${MAKE_PROGRAM} ASM_ARCHS=BSD-x86-elf NO_ASM_ARCHS=

 post-configure:
-   sed -i 's/-ldl //' ${WRKSRC}/out/deps/openssl/openssl.target.mk
-   sed -i 's/-ldl //' ${WRKSRC}/out/deps/openssl/openssl-cli.target.mk
+   sed -i 's/-ldl //' ${WRKSRC}/out/deps/openssl/openssl.target.mk \
+   ${WRKSRC}/out/deps/openssl/openssl-cli.target.mk

 post-install:
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
Index: lang/node/distinfo
===
RCS file: /cvs/ports/lang/node/distinfo,v
retrieving revision 1.53
diff -u -p -r1.53 distinfo
--- lang/node/distinfo  4 Apr 2020 16:42:57 -   1.53
+++ lang/node/distinfo  28 Aug 2020 16:29:46 -
@@ -1,6 +1,6 @@
 SHA256 (node-pledge-1.1.2.tar.gz) =
zY/JcbZ32mmtqWXXNn3/9aTh7Y3F6fAAaADDA8SYwEk=
-SHA256 (node-v12.16.1-headers.tar.gz) =
gV5zJWG2vhsjibDKxT40tlrRg1pfA1TZiI2ZKkYTlH8=
-SHA256 (node-v12.16.1.tar.gz) =
T+jDRU+b7lu+ctRKolzZMYWbMDe3qUcwgbOyvRtGW5U=
+SHA256 (node-v12.18.3-headers.tar.gz) =
Fk7cceRs+GrF2fysANxpwJuwlhS3Z8THdap3R7QugYg=
+SHA256 (node-v12.18.3.tar.gz) =
bqhfgOAbAHzJtWa4g2UTvFECZn2DO61MEJK+YPpgwtQ=
 SIZE (node-pledge-1.1.2.tar.gz) = 3155
-SIZE (node-v12.16.1-headers.tar.gz) = 563107
-SIZE (node-v12.16.1.tar.gz) = 52290732
+SIZE (node-v12.18.3-headers.tar.gz) = 555440
+SIZE (node-v12.18.3.tar.gz) = 52449074
Index: lang/node/patches/patch-Makefile
===
RCS file: lang/node/patches/patch-Makefile
diff -N lang/node/patches/patch-Makefile
--- lang/node/patches/patch-Makefile24 Nov 2019 18:42:28 -  1.10
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,27 +0,0 @@
-$OpenBSD: patch-Makefile,v 1.10 2019/11/24 18:42:28 abieber Exp $
-
-Index: Makefile
 Makefile.orig
-+++ Makefile
-@@ -157,7 +157,7 @@ config.gypi: configure configure.py 
src/node_version.h

-   fi
-
- .PHONY: install
--install: all ## Installs node into $PREFIX (default=/usr/local).
-+install: all build-pledge ## Installs node into $PREFIX
(default=/usr/local).
-   $(PYTHON) tools/install.py $@ '$(DESTDIR)' '$(PREFIX)'
-
- .PHONY: uninstall
-@@ -401,6 

Re: [UPDATE] www/honk

2020-09-02 Thread Horia Racoviceanu
- Add the help section
- Add rc_stop() for related daemons

On 8/29/20, Horia Racoviceanu  wrote:
> Upgrade to v0.9.2
> - add toys: gettoken, saytheday, sprayandpray, youvegothonks
> - remove man pages from doc
> - add views/chatter.html
>
> Changes:
>
> === 0.9.2 Malleable Maltote
>
> + Fix compilation on mac.
>
> === 0.9.1 Late Stage Lusciousness
>
> ++ Boing boom tschak chonky chatter. Chat messages with Pleroma.
>
> + Custom rgb flag: emoji.
>
> + Slightly better ActivityPub compat
>
> + ## headings for markdown
>
> + Workaround js only twitter for hoot: feature.
>
> + Quote unquote reliability improvements.
>
> + Much better omit images handling.
>
> + Fix update activity.
>
> + A few API refinements and additions.
>
> === 0.9.0 Monitor vs Merrimack
>
> --- Add Reactions.
>
> +++ Rename react to badonk.
>
> + Quick fix to hide all images.
>
> + Allow resending follow requests.
>
> + Improved search query parsing.
>
> + Tables
>
> + Reduce retries talking to dumb servers.
>
> + Maybe possible to use @u...@example.com wihtout subdomain.
>
Index: Makefile
===
RCS file: /cvs/ports/www/honk/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile29 Apr 2020 07:17:33 -  1.11
+++ Makefile2 Sep 2020 03:18:52 -
@@ -2,9 +2,8 @@
 
 COMMENT =  federated status conveyance
 
-DISTNAME = honk-0.8.6
+DISTNAME = honk-0.9.2
 CATEGORIES =   www
-REVISION = 0
 
 HOMEPAGE = https://humungus.tedunangst.com/r/honk
 
@@ -27,8 +26,21 @@ SUBST_VARS +=VARBASE
 DOCDIR ?=  ${PREFIX}/share/doc/honk
 EXAMPLESDIR =  ${PREFIX}/share/examples/honk
 
+post-build:
+.for _toy in gettoken saytheday sprayandpray youvegothonks
+   ${MODGO_CMD} build ${MODGO_FLAGS} -o ${MODGO_WORKSPACE}/bin/${_toy} \
+   ${MODGO_WORKSPACE}/src/${ALL_TARGET}/toys/${_toy}.go
+.endfor
+
 post-install:
-   ${INSTALL_DATA_DIR} ${DOCDIR}
+.for _i in 1 3 5 7 8
+   ${INSTALL_MAN} ${MODGO_WORKSPACE}/src/${ALL_TARGET}/docs/*.${_i} \
+   ${PREFIX}/man/man${_i}
+   rm ${MODGO_WORKSPACE}/src/${ALL_TARGET}/docs/*.${_i}
+.endfor
+   ${INSTALL_DATA_DIR} ${DOCDIR}/toys
+   ${INSTALL_DATA} ${MODGO_WORKSPACE}/src/${ALL_TARGET}/toys/README \
+   ${DOCDIR}/toys
${INSTALL_DATA} ${MODGO_WORKSPACE}/src/${ALL_TARGET}/{README,docs/*} \
${DOCDIR}/
${INSTALL_DATA_DIR} ${EXAMPLESDIR}/views
@@ -36,9 +48,5 @@ post-install:
${EXAMPLESDIR}/views/
${INSTALL_DATA} ${MODGO_WORKSPACE}/src/${ALL_TARGET}/schema.sql \
${EXAMPLESDIR}/
-.for _i in 1 3 5 7 8
-   ${INSTALL_MAN} ${MODGO_WORKSPACE}/src/${ALL_TARGET}/docs/*.${_i} \
-   ${PREFIX}/man/man${_i}
-.endfor
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/www/honk/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo21 Jan 2020 08:02:56 -  1.7
+++ distinfo2 Sep 2020 03:18:52 -
@@ -1,2 +1,2 @@
-SHA256 (honk-0.8.6.tgz) = IV6CQILlSSiz7ssD3DGiJcO6mDVFZpceXwrnaxx+tmA=
-SIZE (honk-0.8.6.tgz) = 431612
+SHA256 (honk-0.9.2.tgz) = gznmavRe3GAtQHxfvebmInXsIbNZTm7qf7kRgyhIwMk=
+SIZE (honk-0.9.2.tgz) = 509274
Index: pkg/PLIST
===
RCS file: /cvs/ports/www/honk/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- pkg/PLIST   21 Jan 2020 08:02:56 -  1.5
+++ pkg/PLIST   2 Sep 2020 03:18:52 -
@@ -2,7 +2,11 @@
 @newgroup _honk:833
 @newuser _honk:833:_honk:daemon:Honk User:${VARBASE}/honk:/sbin/nologin
 @rcscript ${RCDIR}/honk
+@bin bin/gettoken
 @bin bin/honk
+@bin bin/saytheday
+@bin bin/sprayandpray
+@bin bin/youvegothonks
 @man man/man1/hfcs.1
 @man man/man1/honk.1
 @man man/man1/intro.1
@@ -11,41 +15,48 @@
 @man man/man5/honk.5
 @man man/man7/activitypub.7
 @man man/man8/honk.8
+@mode 750
+@owner _honk
+@group _honk
+@sample ${VARBASE}/honk/
+@sample ${VARBASE}/honk/docs/
+@sample ${VARBASE}/honk/emus/
+@sample ${VARBASE}/honk/memes/
+@sample ${VARBASE}/honk/views/
+@mode
+@owner
+@group
 share/doc/honk/
 share/doc/honk/README
-share/doc/honk/activitypub.7
 share/doc/honk/activitypub.7.html
+@sample ${VARBASE}/honk/docs/activitypub.7.html
 share/doc/honk/changelog.txt
-share/doc/honk/hfcs.1
 share/doc/honk/hfcs.1.html
-share/doc/honk/honk.1
+@sample ${VARBASE}/honk/docs/hfcs.1.html
 share/doc/honk/honk.1.html
-share/doc/honk/honk.3
+@sample ${VARBASE}/honk/docs/honk.1.html
 share/doc/honk/honk.3.html
-share/doc/honk/honk.5
+@sample ${VARBASE}/honk/docs/honk.3.html
 share/doc/honk/honk.5.html
-share/doc/honk/honk.8
+@sample ${VARBASE}/honk/docs/honk.5.html
 share/doc/honk/honk.8.html
-share/doc/honk/intro.1
+@sample ${VARBASE}/honk/docs/honk.8.html
 share/doc/honk/intro.1.html
+@sample ${VARBASE}/honk/docs/intro.1.html