Re: [update] net/usockets-0.8.1, www/uwebsockets-20.8.0, www/purritobin-0.6.7

2021-12-28 Thread Omar Polo
Aisha Tammy  writes:

> Hi,
>   I've attached the patch for updates of usockets, uwebsockets and
>   purritobin.
>
> Main build changes are in the net/usockets port where now I've
> replaced the Makefile by Makefile.obsd to keep things simple.

Hello,

I was just taking a look at the diff and noted that it got mangled :/

some quick comments: I don't use purritobin/usockets but these caught
the eye.

> [...]
> -NO_TEST =Yes
> +# tests need A LOT of file desrciptors ~5000-6000

typo :)

> [...]
> diff --git a/net/usockets/patches/patch-Makefile_obsd
> b/net/usockets/patches/patch-Makefile_obsd
> new file mode 100644
> index 000..d822e7933ae
> --- /dev/null
> +++ b/net/usockets/patches/patch-Makefile_obsd

instead of adding a file with a patch against /dev/null, I think it's
easier to just add the makefile in files/Makefile and then, in
post-extract do

${INSTALL_DATA} ${FILESDIR}/Makefile ${WRKSRC}

or something like that.

> [...]
> --- a/www/purritobin/Makefile
> +++ b/www/purritobin/Makefile
> @@ -1,12 +1,12 @@
>  # $OpenBSD $
>
>  COMMENT =minimalistic command line pastebin
> -PKGNAME =${DISTNAME:L}
>  CATEGORIES = www net
>
>  GH_ACCOUNT = PurritoBin
>  GH_PROJECT = PurritoBin
> -GH_TAGNAME = 0.3.3
> +GH_TAGNAME = 0.6.7
> +PKGNAME =${DISTNAME:L}

nitpick: to reduce the churn, I'd probably leave the PKGNAME as per
Makefile.template order, after COMMENT and before CATEGORIES.

>[...]
>  sample httpd(8) configuration
> @@ -30,6 +33,10 @@ http_port=80
>  https_port=443
>  ext_if=egress
>
> +# so that non suffixed paste files are recognized as
> +# plain text files
> +default type text/plain
> +
>  server "bsd.ac" {
>   alias "www.bsd.ac"
>   listen on $ext_if port $http_port
> @@ -44,29 +51,97 @@ server "bsd.ac" {
>
>  server "bsd.ac" {
>   alias "www.bsd.ac"
> - listen on egress port $https_port
> + listen on $ext_if port $https_port
> + tls {
> + certificate "/etc/ssl/bsd.ac.crt"
> + key "/etc/ssl/private/bsd.ac.key"
> +}

nitpick: there's a mix of spaces and tabs



CVS: cvs.openbsd.org: ports

2021-12-28 Thread Klemens Nanni
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2021/12/28 23:59:14

Modified files:
net/magic-wormhole: Makefile 

Log message:
Add missing run_depends on py3-txaio

Reported by d4, thanks.



CVS: cvs.openbsd.org: ports

2021-12-28 Thread Daniel Jakots
CVSROOT:/cvs
Module name:ports
Changes by: d...@cvs.openbsd.org2021/12/28 20:07:41

Modified files:
net/minio/server: Makefile distinfo modules.inc 

Log message:
Update to minio-0.20211227

This fixes CVE-2021-43858:
https://github.com/minio/minio/security/advisories/GHSA-j6jc-jqqc-p6cx



UPDATE net/prosody 0.11.11 from MAINTAINER

2021-12-28 Thread Lucas
Hi ports,

Prosody 0.11.11 release on 20-Dec. The release includes:

## Fixes and improvements

  * net.server_epoll: Prioritize network events over timers to improve 
performance under heavy load
  * mod_pep: Add some memory usage limits
  * mod_pep: Prevent creation of services for non-existent users
  * mod_pep: Free resources on user deletion (needed a restart previously)

## Minor changes

  * mod_pep: Free resources on reload
  * mod_c2s: Indicate stream secure state in error text when no stream features 
to offer
  * MUC: Fix logic for access to affiliation lists
  * net.server_epoll: Improvements to shutdown procedure 
[#1670](https://issues.prosody.im/1670)
  * net.server_epoll: Fix potential issue with rescheduling of timers
  * prosodyctl: Fix to ensure LuaFileSystem is loaded when needed
  * util.startup: Fix handling of unknown command line flags (e.g. `-h`)
  * Fix version number reported as 'unknown' on *BSD

Given the last point, one of the hunks for makefile can be dropped as
it was merged upstream.

I tested it in -current amd64 given the amount of changes LibreSSL
suffered during this cycle and it works fine. David, in Cc, arrived to
the same patch and is a happy consumer on -stable amd64.

Cheers,
-Lucas


diff a76422629a46836e2cb2be727c938e1fa598ae0c /usr/ports
blob - 4a8c38283b42bb5a2312291d879e0114e97b822e
file + net/prosody/Makefile
--- net/prosody/Makefile
+++ net/prosody/Makefile
@@ -1,10 +1,9 @@
 # $OpenBSD: Makefile,v 1.64 2021/08/23 05:38:49 rsadowski Exp $
 
 COMMENT =  communications server for Jabber/XMPP written in Lua
-DISTNAME = prosody-0.11.10
+DISTNAME = prosody-0.11.11
 CATEGORIES =   net
 HOMEPAGE = https://prosody.im/
-REVISION = 0
 
 MAINTAINER =   Lucas 
 
blob - d78f08aadcaecc337ec0cd87c4e6a0ae05df957a
file + net/prosody/distinfo
--- net/prosody/distinfo
+++ net/prosody/distinfo
@@ -1,2 +1,2 @@
-SHA256 (prosody-0.11.10.tar.gz) = xtcU5tSm3dHbEmayBdnYo+2RgY9CdVySaP+xg1nSBOE=
-SIZE (prosody-0.11.10.tar.gz) = 43
+SHA256 (prosody-0.11.11.tar.gz) = oa+Q4tSsL3z4GzhUdRQOzuYL7B64MAPvta64l2WxN3Q=
+SIZE (prosody-0.11.11.tar.gz) = 439395
blob - 5dd352660701fcca0437b469e6bf60291e8d0963
file + net/prosody/patches/patch-makefile
--- net/prosody/patches/patch-makefile
+++ net/prosody/patches/patch-makefile
@@ -1,8 +1,6 @@
 $OpenBSD: patch-makefile,v 1.2 2021/08/23 05:38:49 rsadowski Exp $
 
-- First hunk: fix directories
-- Second hunk: fix `prosody.version` target to stop reporting prosody
-  version as `unknown`
+fix directories
 
 Index: makefile
 --- makefile.orig
@@ -22,25 +20,3 @@ Index: makefile
  
  INSTALLEDSOURCE = $(LIBDIR)/prosody
  INSTALLEDCONFIG = $(SYSCONFDIR)
-@@ -90,12 +90,12 @@ prosody.cfg.lua.install: prosody.cfg.lua.dist
-   sed 's|certs/|$(INSTALLEDCONFIG)/certs/|' prosody.cfg.lua.dist > $@
- 
- prosody.version:
--  test -f prosody.release && \
--  cp prosody.release $@ || \
--  test -f .hg_archival.txt && \
--  sed -n 's/^node: \(\).*/\1/p' .hg_archival.txt > $@ 
|| \
--  test -f .hg/dirstate && \
--  hexdump -n6 -e'6/1 "%02x"' .hg/dirstate > $@ || \
--  echo unknown > $@
--
--
-+  if [ -f prosody.release ]; then \
-+  cp prosody.release $@; \
-+  elif [ -f .hg_archival.txt ]; then \
-+  sed -n 's/^node: \(\).*/\1/p' .hg_archival.txt > 
$@; \
-+  elif [ -f .hg/dirstate ]; then \
-+  hexdump -n6 -e'6/1 "%02x"' .hg/dirstate > $@; \
-+  else \
-+  echo unknown > $@; \
-+  fi



update: graphics/gnofract4d

2021-12-28 Thread Josh Grosse
Attached is a diff to update from 3.14.1 to 4.3.

Tested on amd64 only.  This could use tests on
on a gcc4 architecture -- if both gtk+3 and python 3.9
are available -- as I am using an alternate
PATCHDIR to modify a hard-coded "gcc" as the default
compiler to "cc" on clang architectures only. 

The gcc requirement predates the transition to 
clang as a base compiler.

An improved solution would be welcome; this would
be the only port in the tree that references an
alternate PATCHDIR.
diff --git a/graphics/gnofract4d/Makefile b/graphics/gnofract4d/Makefile
index d62be733b1a..cbdf341b349 100644
--- a/graphics/gnofract4d/Makefile
+++ b/graphics/gnofract4d/Makefile
@@ -2,36 +2,37 @@
 
 COMMENT =  fractal image generator
 
-MODPY_EGG_VERSION =3.14.1
-DISTNAME = gnofract4d-${MODPY_EGG_VERSION}
+MODPY_EGG_VERSION =4.3
+MODPY_SETUPTOOLS = Yes
 
-GH_PROJECT =   gnofract4d
-GH_ACCOUNT =   edyoung
-GH_TAGNAME =   V_${MODPY_EGG_VERSION:S/./_/g}
-REVISION = 4
+MASTER_SITES = 
https://github.com/fract4d/gnofract4d/releases/download/v${MODPY_EGG_VERSION}/
+DISTNAME = gnofract4d-${MODPY_EGG_VERSION}
 
 CATEGORIES =   graphics
 
-HOMEPAGE = http://gnofract4d.sourceforge.net
+HOMEPAGE = https://github.com/fract4d/gnofract4d
 
 # 3-clause BSD
 PERMIT_PACKAGE =   Yes
 
-WANTLIB += ${MODPY_WANTLIB}
-WANTLIB += m png pthread z ${COMPILER_LIBCXX}
+WANTLIB += ${COMPILER_LIBCXX} m z png jpeg
 
 COMPILER = base-clang ports-gcc base-gcc
 
 MODULES =  lang/python
-MODPY_VERSION =${MODPY_DEFAULT_VERSION_2}
 
-LIB_DEPENDS =  graphics/png
+LIB_DEPENDS =  graphics/png \
+   graphics/jpeg
 
-RUN_DEPENDS =  devel/desktop-file-utils \
-   misc/shared-mime-info \
-   x11/gnome/yelp \
-   x11/py-gtk2
+RUN_DEPENDS += misc/shared-mime-info \
+   x11/gtk+3,-guic \
+   devel/desktop-file-utils
 
 NO_TEST =  Yes
 
+.include 
+.if ${PROPERTIES:Mclang}
+PATCHDIR = patches-clang
+.endif
+
 .include 
diff --git a/graphics/gnofract4d/distinfo b/graphics/gnofract4d/distinfo
index 8631231b3a5..18999449730 100644
--- a/graphics/gnofract4d/distinfo
+++ b/graphics/gnofract4d/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gnofract4d-3.14.1.tar.gz) = 
KfBdmwf3tTvyULD4H3S3bb1o78XWunH01V7zMva2+D0=
-SIZE (gnofract4d-3.14.1.tar.gz) = 4660808
+SHA256 (gnofract4d-4.3.tar.gz) = SvoYuzZhA3wqmI8ShTFakFX1pphqIdX/cePCYaK1VqE=
+SIZE (gnofract4d-4.3.tar.gz) = 886445
diff --git a/graphics/gnofract4d/patches-clang/patch-fract4d_compiler_fc_py 
b/graphics/gnofract4d/patches-clang/patch-fract4d_compiler_fc_py
new file mode 100644
index 000..8abd25bf9eb
--- /dev/null
+++ b/graphics/gnofract4d/patches-clang/patch-fract4d_compiler_fc_py
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: fract4d_compiler/fc.py
+--- fract4d_compiler/fc.py.orig
 fract4d_compiler/fc.py
+@@ -148,7 +148,7 @@ class Compiler:
+ self.c_code = ""
+ self.path_lists = [[], [], [], []]
+ 
+-self.compiler_name = "gcc"
++self.compiler_name = "cc"
+ 
+ self.include_path = "-I%s/c/" % os.path.dirname(fract4d.__file__)
+ self.flags = "-fPIC -DPIC -g -O3 -shared"
diff --git 
a/graphics/gnofract4d/patches-clang/patch-fract4d_compiler_tests_test_codegen_py
 
b/graphics/gnofract4d/patches-clang/patch-fract4d_compiler_tests_test_codegen_py
new file mode 100644
index 000..fd0d8edd7e0
--- /dev/null
+++ 
b/graphics/gnofract4d/patches-clang/patch-fract4d_compiler_tests_test_codegen_py
@@ -0,0 +1,18 @@
+$OpenBSD$
+
+Index: fract4d_compiler/tests/test_codegen.py
+--- fract4d_compiler/tests/test_codegen.py.orig
 fract4d_compiler/tests/test_codegen.py
+@@ -244,10 +244,10 @@ int main()
+ oFileName = str(Path(cFile.name).with_suffix(".so"))
+ import sys
+ if sys.platform[:6] == "darwin":
+-cmd = "gcc -Wall -fPIC -DPIC -Ifract4d/c -shared %s -o %s -lm 
-flat_namespace -undefined suppress" % (
++cmd = "cc -Wall -fPIC -DPIC -Ifract4d/c -shared %s -o %s -lm 
-flat_namespace -undefined suppress" % (
+ cFile.name, oFileName)
+ else:
+-cmd = "gcc -Wall -fPIC -DPIC -Ifract4d/c -shared %s -o %s -lm" % (
++cmd = "cc -Wall -fPIC -DPIC -Ifract4d/c -shared %s -o %s -lm" % (
+ cFile.name, oFileName)
+ status, output = subprocess.getstatusoutput(cmd)
+ self.assertEqual(status, 0, "C error:\n%s\nProgram:\n%s\n" %
diff --git a/graphics/gnofract4d/patches-clang/patch-fract4d_fractconfig_py 
b/graphics/gnofract4d/patches-clang/patch-fract4d_fractconfig_py
new file mode 100644
index 000..52360adc465
--- /dev/null
+++ b/graphics/gnofract4d/patches-clang/patch-fract4d_fractconfig_py
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: 

[update] pan 0.149

2021-12-28 Thread Antoine Jacoutot
Hi.

This diff updatges news/pan to the lastest available release.
Tested with a few newsgroups and it seems to work fine.

OK?


Index: Makefile
===
RCS file: /cvs/ports/news/pan/Makefile,v
retrieving revision 1.64
diff -u -p -r1.64 Makefile
--- Makefile9 May 2021 09:10:17 -   1.64
+++ Makefile28 Dec 2021 22:39:01 -
@@ -2,39 +2,40 @@
 
 COMMENT=   powerful newsreader
 
-V= 0.140
+V= 0.149
 DISTNAME=  pan-${V}
 CATEGORIES=news x11
-REVISION=  7
 
 HOMEPAGE=  http://pan.rebelbase.com/
 
 MAINTAINER=Pierre-Emmanuel Andre 
 
-# GPLv2
+# GPLv2 - GFDLv1.1
 PERMIT_PACKAGE=Yes
 
-WANTLIB += ${COMPILER_LIBCXX} atk-1.0 c cairo cairo-gobject enchant
-WANTLIB += enchant-2 gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmime-2.6
-WANTLIB += gmodule-2.0 gnome-keyring gnutls gobject-2.0 gthread-2.0
-WANTLIB += gtk-3 gtkspell3-3 harfbuzz iconv intl m notify pango-1.0
-WANTLIB += pangocairo-1.0 z
+WANTLIB += ${COMPILER_LIBCXX} atk-1.0 c cairo cairo-gobject enchant-2
+WANTLIB += gck-1 gcr-base-3 gcr-ui-3 gdk-3 gdk_pixbuf-2.0 gio-2.0
+WANTLIB += glib-2.0 gmime-3.0 gmodule-2.0 gnutls gobject-2.0 gthread-2.0
+WANTLIB += gtk-3 gtkspell3-3 harfbuzz iconv intl m notify p11-kit
+WANTLIB += pango-1.0 pangocairo-1.0 secret-1 z
 
-COMPILER = base-clang ports-gcc base-gcc
+COMPILER=  base-clang ports-gcc base-gcc
 
 USE_GMAKE= Yes
 
 MASTER_SITES=  http://pan.rebelbase.com/download/releases/${V}/source/
 
-MODULES=   textproc/intltool
+BUILD_DEPENDS= devel/gettext,-tools \
+   textproc/itstool
 
 LIB_DEPENDS=   devel/libnotify \
-   mail/gmime \
+   mail/gmime30 \
security/gnutls \
-   textproc/enchant \
textproc/gtkspell3 \
-   x11/gnome/libgnome-keyring
-RUN_DEPENDS=   devel/desktop-file-utils
+   x11/gnome/gcr
+
+RUN_DEPENDS=   devel/desktop-file-utils \
+   x11/gtk+3,-guic
 
 CONFIGURE_STYLE=gnu
 
@@ -42,6 +43,9 @@ CONFIGURE_STYLE=gnu
 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include 
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26" \
LDFLAGS="-L${LOCALBASE}/lib -liconv"
 
-CONFIGURE_ARGS=--with-gtk3 --enable-libnotify --enable-gkr 
--with-gnutls
+CONFIGURE_ARGS=--with-gtk3 \
+   --enable-libnotify \
+   --enable-gkr \
+   --with-gnutls
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/news/pan/distinfo,v
retrieving revision 1.21
diff -u -p -r1.21 distinfo
--- distinfo20 Apr 2016 07:20:34 -  1.21
+++ distinfo28 Dec 2021 22:39:01 -
@@ -1,2 +1,2 @@
-SHA256 (pan-0.140.tar.gz) = XNcElj0Y1V5oG7Hz23CCbJQ2ybfDxpyoIn4ENrs1+Sg=
-SIZE (pan-0.140.tar.gz) = 2338609
+SHA256 (pan-0.149.tar.gz) = JEUlISW8VtAi3aEjat+AroUnS0HlACxWZ7DgMnJbMrc=
+SIZE (pan-0.149.tar.gz) = 3339054
Index: patches/patch-pan_data-impl_article-filter_cc
===
RCS file: patches/patch-pan_data-impl_article-filter_cc
diff -N patches/patch-pan_data-impl_article-filter_cc
--- patches/patch-pan_data-impl_article-filter_cc   12 Apr 2018 18:10:27 
-  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,16 +0,0 @@
-$OpenBSD: patch-pan_data-impl_article-filter_cc,v 1.1 2018/04/12 18:10:27 
jasper Exp $
-
-https://svnweb.freebsd.org/ports/head/news/pan/files/patch-c%2B%2B11?revision=458276=markup
-
-Index: pan/data-impl/article-filter.cc
 pan/data-impl/article-filter.cc.orig
-+++ pan/data-impl/article-filter.cc
-@@ -162,7 +162,7 @@ ArticleFilter :: test_article (const Data& dat
- s += xit->group;
- s += ':';
- char buf[32];
--g_snprintf (buf, sizeof(buf), "%"G_GUINT64_FORMAT, xit->number);
-+g_snprintf (buf, sizeof(buf), "%" G_GUINT64_FORMAT, xit->number);
- s += buf;
- s += ' ';
-   }
Index: patches/patch-pan_general_string-view_h
===
RCS file: /cvs/ports/news/pan/patches/patch-pan_general_string-view_h,v
retrieving revision 1.1
diff -u -p -r1.1 patch-pan_general_string-view_h
--- patches/patch-pan_general_string-view_h 12 Apr 2018 18:10:27 -  
1.1
+++ patches/patch-pan_general_string-view_h 28 Dec 2021 22:39:01 -
@@ -1,6 +1,6 @@
-$OpenBSD: patch-pan_general_string-view_h,v 1.1 2018/04/12 18:10:27 jasper Exp 
$
+$OpenBSD$
 
-https://svnweb.freebsd.org/ports/head/news/pan/files/patch-c%2B%2B11?revision=458276=markup
+text-match.cc:475:8: error: no viable conversion from 'pan::StringView' to 
'std::string'
 
 Index: pan/general/string-view.h
 --- pan/general/string-view.h.orig
Index: patches/patch-pan_gui_gui_cc
===
RCS file: 

Re: reinstate vncserver script in x11/tigervnc

2021-12-28 Thread Florian Viehweger
> I'll try to have a proper look over the next few days, some things in
> the script don't make sense and the files in /usr/local/etc shouldn't
> be there. Please remind me if I don't commit something for it by a
> week or so.

Thanks and I'll do!

-- 
greetings,

Florian Viehweger



Re: reinstate vncserver script in x11/tigervnc

2021-12-28 Thread Stuart Henderson
I'll try to have a proper look over the next few days, some things in the 
script don't make sense and the files in /usr/local/etc shouldn't be there. 
Please remind me if I don't commit something for it by a week or so.


--
 Sent from a phone, apologies for poor formatting.

On 28 December 2021 16:10:42 Florian Viehweger 
 wrote:



Hi,

this patch reinstates the vncserver script, which allows the easy
management of tigervnc.

The reason it got removed upstream is that some desktops in combination
with systemd may not work properly.[1] This should not be the case for
OpenBSD.

I've taken the script from 7.0 and works fine for my use case.

Otherwise the port is unchanged.

Thank you op@ for giving me hints!

[1] https://github.com/TigerVNC/tigervnc/issues/1193#issuecomment-811247496


Index: Makefile
===
RCS file: /cvs/ports/x11/tigervnc/Makefile,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 Makefile
--- Makefile 16 Nov 2021 21:30:22 - 1.12
+++ Makefile 12 Dec 2021 22:19:53 -
@@ -8,6 +8,8 @@ GH_TAGNAME= v1.11.0
# 1.12.0 has an issue with connection to vmware's internal VNC which
# results in an exception being thrown relating to the cursor.

+REVISION= 0
+
DISTFILES= ${GH_DISTFILE} \
 xorg-server-1.20.13.tar.xz:0
# update the post-patch target if moving to a new major branch of xorg-server
@@ -142,5 +144,6 @@ post-install:
 rm -rf ${PREFIX}/lib/xorg
 mv ${PREFIX}/bin/vncviewer{,.tigervnc} # avoid conflict
 mv ${PREFIX}/man/man1/vncviewer{,.tigervnc}.1
+ ${INSTALL_PROGRAM} ${FILESDIR}/vncserver ${PREFIX}/bin/vncserver

.include 
Index: files/vncserver
===
RCS file: files/vncserver
diff -N files/vncserver
--- /dev/null 1 Jan 1970 00:00:00 -
+++ files/vncserver 12 Dec 2021 22:19:53 -
@@ -0,0 +1,898 @@
+#!/usr/bin/env perl
+#
+#  Copyright (C) 2009-2010 D. R. Commander.  All Rights Reserved.
+#  Copyright (C) 2005-2006 Sun Microsystems, Inc.  All Rights Reserved.
+#  Copyright (C) 2002-2003 Constantin Kaplinsky.  All Rights Reserved.
+#  Copyright (C) 2002-2005 RealVNC Ltd.
+#  Copyright (C) 1999 AT Laboratories Cambridge.  All Rights Reserved.
+#
+#  This is free software; you can redistribute it and/or modify
+#  it under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; either version 2 of the License, or
+#  (at your option) any later version.
+#
+#  This software is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU General Public License for more details.
+#
+#  You should have received a copy of the GNU General Public License
+#  along with this software; if not, write to the Free Software
+#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
+#  USA.
+#
+
+#
+# vncserver - wrapper script to start an X VNC server.
+#
+
+# First make sure we're operating in a sane environment.
+$exedir = "";
+$slashndx = rindex($0, "/");
+if($slashndx>=0) {
+$exedir = substr($0, 0, $slashndx+1);
+}
+
+();
+
+#
+# Global variables.  You may want to configure some of these for
+# your site
+#
+
+$geometry = "1024x768";
+#$depth = 16;
+
+$vncUserDir = "$ENV{HOME}/.vnc";
+$vncUserConfig = "$vncUserDir/config";
+
+$vncSystemConfigDir = "/etc/tigervnc";
+$vncSystemConfigDefaultsFile = 
"$vncSystemConfigDir/vncserver-config-defaults";
+$vncSystemConfigMandatoryFile = 
"$vncSystemConfigDir/vncserver-config-mandatory";

+
+$skipxstartup = 0;
+$xauthorityFile = "$ENV{XAUTHORITY}" || "$ENV{HOME}/.Xauthority";
+
+$xstartupFile = $vncUserDir . "/xstartup";
+$defaultXStartup
+= ("#!/bin/sh\n\n".
+   "unset SESSION_MANAGER\n".
+   "unset DBUS_SESSION_BUS_ADDRESS\n".
+   "OS=`uname -s`\n".
+   "if [ \$OS = 'Linux' ]; then\n".
+   "  case \"\$WINDOWMANAGER\" in\n".
+   "\*gnome\*)\n".
+   "  if [ -e /etc/SuSE-release ]; then\n".
+   "PATH=\$PATH:/opt/gnome/bin\n".
+   "export PATH\n".
+   "  fi\n".
+   "  ;;\n".
+   "  esac\n".
+   "fi\n".
+   "if [ -x /etc/X11/xinit/xinitrc ]; then\n".
+   "  exec /etc/X11/xinit/xinitrc\n".
+   "fi\n".
+   "if [ -f /etc/X11/xinit/xinitrc ]; then\n".
+   "  exec sh /etc/X11/xinit/xinitrc\n".
+   "fi\n".
+   "[ -r \$HOME/.Xresources ] && xrdb \$HOME/.Xresources\n".
+   "xsetroot -solid grey\n".
+   "xterm -geometry 80x24+10+10 -ls -title \"\$VNCDESKTOP Desktop\" &\n".
+   "twm &\n");
+
+$defaultConfig
+= ("## Supported server options to pass to vncserver upon invocation 
can be listed\n".
+   "## in this file. See the following manpages for more: vncserver(1) 
Xvnc(1).\n".
+   "## Several common ones are shown below. Uncomment and modify to 
your liking.\n".

+   "##\n".
+   "# 

CVS: cvs.openbsd.org: ports

2021-12-28 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2021/12/28 12:28:09

Modified files:
lang/rakudo: Makefile distinfo 
lang/rakudo/patches: patch-Configure_pl 
lang/rakudo/pkg: PLIST 

Log message:
Update to rakudo 2021.12.



CVS: cvs.openbsd.org: ports

2021-12-28 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2021/12/28 12:27:52

Modified files:
lang/nqp   : Makefile distinfo 

Log message:
Update to NQP 2021.12.



CVS: cvs.openbsd.org: ports

2021-12-28 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2021/12/28 12:27:22

Modified files:
lang/moarvm: Makefile distinfo 
lang/moarvm/patches: patch-Configure_pl 
lang/moarvm/pkg: PLIST 

Log message:
Update to MoarVM 2021.12.



Re: Adding BASE_C99 for ports needing -std=gnu99 for base-gcc

2021-12-28 Thread Kurt Mosiejczuk
On Tue, Dec 28, 2021 at 01:37:46PM +0100, Jeremie Courreges-Anglas wrote:
> On Tue, Dec 28 2021, Jonathan Gray  wrote:

> > Is it time to consider changing the gcc default to gnu99?

> Definitely.  I have considered this since some time already and feel
> a bit lame for not even proposing it.  I think changing such defaults in
> a specific compiler version is not wrong per se, YMMV.

> I think there are two big tests this proposal must pass:
> - base must build and work on all affected architectures
> - a full ports bulk build should be considered successful on sparc64
> The former isn't undoable, it's just harder to get your hands on alpha
> or hppa or sh...

> Another approach that does not require changing base defaults:
> defaulting base-gcc to -std=gnu99 using the ports infrastructure.  I'm
> not sure where exactly this could be done, maybe in the compiler wrapper
> scripts we put in ${WRKDIR}/bin?

I did try coming up with a patch to change ports to give -std=gnu99 to
base-gcc by default, but I had a number of failures and decided it would
probably end up with more work. I don't have a problem with defaulting ports
to it, just realize it may not be that easy of a win.

--Kurt



CVS: cvs.openbsd.org: ports

2021-12-28 Thread Klemens Nanni
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2021/12/28 10:48:36

Modified files:
audio/ncspot   : Makefile crates.inc distinfo 

Log message:
Update to 0.9.3

Looks good to maintainer



CVS: cvs.openbsd.org: ports

2021-12-28 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2021/12/28 09:37:12

Modified files:
x11/i3status   : Makefile 

Log message:
Fix build on sparc64 by making it use ports-gcc

ok sthen@ robert@ (maintainer)



CVS: cvs.openbsd.org: ports

2021-12-28 Thread Stefan Hagen
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/12/28 09:34:02

Modified files:
graphics/radeontop: Makefile distinfo 
graphics/radeontop/patches: patch-Makefile 
graphics/radeontop/pkg: DESCR PLIST 
Removed files:
graphics/radeontop/pkg: README 

Log message:
Update radeontop 1.3 => 1.4

Software changes:
- added new PCI IDs
- works with /dev/dri/card* (no /dev/kmem access required anymore)

Port changes:
- drop readme, because /dev/dri/card* is owned by the user when xenodm
is used to start X.
- add post extract step to set the version string for --version

ok op@



reinstate vncserver script in x11/tigervnc

2021-12-28 Thread Florian Viehweger
Hi,

this patch reinstates the vncserver script, which allows the easy
management of tigervnc.

The reason it got removed upstream is that some desktops in combination
with systemd may not work properly.[1] This should not be the case for
OpenBSD.

I've taken the script from 7.0 and works fine for my use case.

Otherwise the port is unchanged.

Thank you op@ for giving me hints!

[1] https://github.com/TigerVNC/tigervnc/issues/1193#issuecomment-811247496


Index: Makefile
===
RCS file: /cvs/ports/x11/tigervnc/Makefile,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 Makefile
--- Makefile16 Nov 2021 21:30:22 -  1.12
+++ Makefile12 Dec 2021 22:19:53 -
@@ -8,6 +8,8 @@ GH_TAGNAME= v1.11.0
 # 1.12.0 has an issue with connection to vmware's internal VNC which
 # results in an exception being thrown relating to the cursor.
 
+REVISION=  0
+
 DISTFILES= ${GH_DISTFILE} \
xorg-server-1.20.13.tar.xz:0
 # update the post-patch target if moving to a new major branch of xorg-server
@@ -142,5 +144,6 @@ post-install:
rm -rf ${PREFIX}/lib/xorg
mv ${PREFIX}/bin/vncviewer{,.tigervnc} # avoid conflict
mv ${PREFIX}/man/man1/vncviewer{,.tigervnc}.1
+   ${INSTALL_PROGRAM} ${FILESDIR}/vncserver ${PREFIX}/bin/vncserver
 
 .include 
Index: files/vncserver
===
RCS file: files/vncserver
diff -N files/vncserver
--- /dev/null   1 Jan 1970 00:00:00 -
+++ files/vncserver 12 Dec 2021 22:19:53 -
@@ -0,0 +1,898 @@
+#!/usr/bin/env perl
+#
+#  Copyright (C) 2009-2010 D. R. Commander.  All Rights Reserved.
+#  Copyright (C) 2005-2006 Sun Microsystems, Inc.  All Rights Reserved.
+#  Copyright (C) 2002-2003 Constantin Kaplinsky.  All Rights Reserved.
+#  Copyright (C) 2002-2005 RealVNC Ltd.
+#  Copyright (C) 1999 AT Laboratories Cambridge.  All Rights Reserved.
+#
+#  This is free software; you can redistribute it and/or modify
+#  it under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; either version 2 of the License, or
+#  (at your option) any later version.
+#
+#  This software is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU General Public License for more details.
+#
+#  You should have received a copy of the GNU General Public License
+#  along with this software; if not, write to the Free Software
+#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
+#  USA.
+#
+
+#
+# vncserver - wrapper script to start an X VNC server.
+#
+
+# First make sure we're operating in a sane environment.
+$exedir = "";
+$slashndx = rindex($0, "/");
+if($slashndx>=0) {
+$exedir = substr($0, 0, $slashndx+1);
+}
+
+();
+
+#
+# Global variables.  You may want to configure some of these for
+# your site
+#
+
+$geometry = "1024x768";
+#$depth = 16;
+
+$vncUserDir = "$ENV{HOME}/.vnc";
+$vncUserConfig = "$vncUserDir/config";
+
+$vncSystemConfigDir = "/etc/tigervnc";
+$vncSystemConfigDefaultsFile = "$vncSystemConfigDir/vncserver-config-defaults";
+$vncSystemConfigMandatoryFile = 
"$vncSystemConfigDir/vncserver-config-mandatory";
+
+$skipxstartup = 0;
+$xauthorityFile = "$ENV{XAUTHORITY}" || "$ENV{HOME}/.Xauthority";
+
+$xstartupFile = $vncUserDir . "/xstartup";
+$defaultXStartup
+= ("#!/bin/sh\n\n".
+   "unset SESSION_MANAGER\n".
+   "unset DBUS_SESSION_BUS_ADDRESS\n".
+   "OS=`uname -s`\n".
+   "if [ \$OS = 'Linux' ]; then\n".
+   "  case \"\$WINDOWMANAGER\" in\n".
+   "\*gnome\*)\n".
+   "  if [ -e /etc/SuSE-release ]; then\n".
+   "PATH=\$PATH:/opt/gnome/bin\n".
+   "export PATH\n".
+   "  fi\n".
+   "  ;;\n".
+   "  esac\n".
+   "fi\n".
+   "if [ -x /etc/X11/xinit/xinitrc ]; then\n".
+   "  exec /etc/X11/xinit/xinitrc\n".
+   "fi\n".
+   "if [ -f /etc/X11/xinit/xinitrc ]; then\n".
+   "  exec sh /etc/X11/xinit/xinitrc\n".
+   "fi\n".
+   "[ -r \$HOME/.Xresources ] && xrdb \$HOME/.Xresources\n".
+   "xsetroot -solid grey\n".
+   "xterm -geometry 80x24+10+10 -ls -title \"\$VNCDESKTOP Desktop\" &\n".
+   "twm &\n");
+
+$defaultConfig
+= ("## Supported server options to pass to vncserver upon invocation can 
be listed\n".
+   "## in this file. See the following manpages for more: vncserver(1) 
Xvnc(1).\n".
+   "## Several common ones are shown below. Uncomment and modify to your 
liking.\n".
+   "##\n".
+   "# securitytypes=vncauth,tlsvnc\n".
+   "# desktop=sandbox\n".
+   "# geometry=2000x1200\n".
+   "# localhost\n".
+   "# alwaysshared\n");
+
+chop($host = `uname -n`);
+
+if (-d "/etc/X11/fontpath.d") {
+$fontPath = "catalogue:/etc/X11/fontpath.d";
+}
+
+@fontpaths = 

CVS: cvs.openbsd.org: ports

2021-12-28 Thread Robert Nagy
CVSROOT:/cvs
Module name:ports
Changes by: rob...@cvs.openbsd.org  2021/12/28 08:49:56

Modified files:
www/iridium: Makefile distinfo 
www/iridium/patches: patch-BUILD_gn 
 patch-ash_display_mirror_window_controller_cc 
 patch-base_BUILD_gn 
 
patch-base_allocator_partition_allocator_partition_alloc_config_h 
 patch-base_cpu_h 
 patch-base_debug_debugger_posix_cc 
 patch-base_debug_stack_trace_posix_cc 
 patch-base_memory_platform_shared_memory_region_h 
 patch-base_process_kill_posix_cc 
 patch-base_process_launch_h 
 patch-base_process_process_metrics_h 
 patch-base_threading_platform_thread_posix_cc 
 patch-base_trace_event_malloc_dump_provider_cc 
 patch-build_config_compiler_BUILD_gn 
 patch-chrome_app_chrome_main_delegate_cc 
 patch-chrome_app_chromium_strings_grd 
 patch-chrome_app_generated_resources_grd 
 patch-chrome_app_google_chrome_strings_grd 
 patch-chrome_browser_about_flags_cc 
 patch-chrome_browser_browser_process_impl_cc 
 patch-chrome_browser_browser_process_impl_h 
 
patch-chrome_browser_chrome_browser_interface_binders_cc 
 patch-chrome_browser_chrome_browser_main_cc 
 patch-chrome_browser_chrome_browser_main_posix_cc 
 
patch-chrome_browser_chrome_content_browser_client_cc 
 
patch-chrome_browser_chrome_content_browser_client_h 
 patch-chrome_browser_defaults_cc 
 
patch-chrome_browser_devtools_devtools_eye_dropper_cc 
 
patch-chrome_browser_download_chrome_download_manager_delegate_cc 
 patch-chrome_browser_download_download_commands_cc 
 patch-chrome_browser_download_download_commands_h 
 
patch-chrome_browser_download_download_item_model_cc 
 patch-chrome_browser_download_download_prefs_cc 
 patch-chrome_browser_download_download_prefs_h 
 
patch-chrome_browser_enterprise_connectors_device_trust_device_trust_service_factory_cc
 
 
patch-chrome_browser_enterprise_connectors_device_trust_signals_signals_service_factory_cc
 
 
patch-chrome_browser_enterprise_signals_device_info_fetcher_cc 
 patch-chrome_browser_extensions_BUILD_gn 
 
patch-chrome_browser_extensions_api_enterprise_reporting_private_enterprise_reporting_private_api_h
 
 
patch-chrome_browser_extensions_external_provider_impl_cc 
 
patch-chrome_browser_file_system_access_chrome_file_system_access_permission_context_cc
 
 patch-chrome_browser_flag_descriptions_cc 
 patch-chrome_browser_flag_descriptions_h 
 
patch-chrome_browser_media_galleries_media_file_system_registry_cc 
 
patch-chrome_browser_media_webrtc_webrtc_logging_controller_h 
 patch-chrome_browser_memory_details_cc 
 
patch-chrome_browser_metrics_chrome_browser_main_extra_parts_metrics_cc 
 
patch-chrome_browser_metrics_chrome_metrics_service_client_cc 
 
patch-chrome_browser_net_system_network_context_manager_cc 
 
patch-chrome_browser_password_manager_password_reuse_manager_factory_cc 
 
patch-chrome_browser_performance_monitor_process_metrics_recorder_util_cc 
 
patch-chrome_browser_performance_monitor_process_monitor_cc 
 
patch-chrome_browser_performance_monitor_process_monitor_h 
 
patch-chrome_browser_policy_configuration_policy_handler_list_factory_cc 
 patch-chrome_browser_prefs_browser_prefs_cc 
 patch-chrome_browser_printing_print_job_worker_cc 
 patch-chrome_browser_process_singleton_posix_cc 
 
patch-chrome_browser_profiles_chrome_browser_main_extra_parts_profiles_cc 
 patch-chrome_browser_profiles_profile_impl_cc 
 

Re: Adding BASE_C99 for ports needing -std=gnu99 for base-gcc

2021-12-28 Thread Jeremie Courreges-Anglas
On Tue, Dec 28 2021, Jonathan Gray  wrote:
> On Mon, Dec 27, 2021 at 09:50:04PM -0500, Kurt Mosiejczuk wrote:
>> I find myself adding the following to many ports files nowadays
>> 
>> .include 
>> .if !${PROPERTIES:Mclang}
>> CFLAGS +=-std=gnu99
>> .endif
>> 
>> Rather than continue this, I'd like to propose adding BASE_C99 to bsd.port.mk
>> 
>> When BASE_C99= Yes, if on a non-base-clang arch, it will add the same to
>> CFLAGS, but without including bsd.port.arch.mk by hand.
>> 
>> Included are patches to add this to bsd.port.mk and a diff for bsd.port.mk(5)
>> to include it in the man page.
>> 
>> Once this is in, I'll sweep the tree for the boilerplate and replace it all
>> with this.
>> 
>> ok?
>
> Is it time to consider changing the gcc default to gnu99?

Definitely.  I have considered this since some time already and feel
a bit lame for not even proposing it.  I think changing such defaults in
a specific compiler version is not wrong per se, YMMV.

I think there are two big tests this proposal must pass:
- base must build and work on all affected architectures
- a full ports bulk build should be considered successful on sparc64
The former isn't undoable, it's just harder to get your hands on alpha
or hppa or sh...

Another approach that does not require changing base defaults:
defaulting base-gcc to -std=gnu99 using the ports infrastructure.  I'm
not sure where exactly this could be done, maybe in the compiler wrapper
scripts we put in ${WRKDIR}/bin?

> built and installed on sparc64 but otherwise untested.
>
> --- /tmp/defs.old Sun Dec 19 15:25:52 2021
> +++ /tmp/defs.new Sun Dec 19 16:34:59 2021
> @@ -70,6 +70,7 @@
>  #define __FLT_HAS_INFINITY__ 1
>  #define __DEC64_MAX__ 9.999E384DD
>  #define __DEC64_MANT_DIG__ 16
> +#define __STDC_VERSION__ 199901L
>  #define __DEC32_MAX_EXP__ 96
>  #define __DEC128_DEN__ 0.1E-6143DL
>  #define __LDBL_MANT_DIG__ 113
>
> Index: gnu/gcc/gcc/c-opts.c
> ===
> RCS file: /cvs/src/gnu/gcc/gcc/c-opts.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 c-opts.c
> --- gnu/gcc/gcc/c-opts.c  15 Sep 2011 12:19:12 -  1.3
> +++ gnu/gcc/gcc/c-opts.c  28 Dec 2021 03:44:20 -
> @@ -236,6 +236,8 @@ c_common_init_options (unsigned int argc
>  
>if (c_language == clk_c)
>  {
> +  set_std_c99 (false /* ISO */);
> +
>/* If preprocessing assembly language, accept any of the C-family
>front end options since the driver may pass them through.  */
>for (i = 1; i < argc; i++)


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



Re: [update] www/yt-dlp-2021.12.27

2021-12-28 Thread Hiltjo Posthuma
Hi,

Yes, please :)

On Tue, Dec 28, 2021 at 11:30:32AM +, Ricardo Mestre wrote:
> Hi,
> 
> Update to 2021.12.27, changelog below including for missed 2021.12.25.
> 
> Comments? OK?
> 
> 2021.12.27
> Avoid recursion error when re-extracting info
> [ffmpeg] Fix position of --ppa
> [aria2c] Don't show progress when --no-progress
> [cookies] Support other keyrings by mbway
> [EmbedThumbnail] Prefer AtomicParsley over ffmpeg if available
> [generic] Fix HTTP KVS Player by git-anony-mouse
> [ThumbnailsConvertor] Fix for when there are no thumbnails
> [docs] Add examples for using TYPES: in -P/-o
> [PixivSketch] Add extractors by nao20010128nao
> [tiktok] Add music, sticker and tag IEs by MinePlayersPE
> [BiliIntl] Fix extractor by MinePlayersPE
> [CBC] Fix URL regex
> [tiktok] Fix extractor_key used in archive
> [youtube] End live-from-start properly when stream ends with 403
> [Zee5] Fix VALID_URL for tv-shows by Ashish0804
> 
> 2021.12.25
> [dash,youtube] Download live from start to end by nao20010128nao, 
> pukkandan
> Add option --live-from-start to enable downloading live videos from 
> start
> Add key is_from_start in formats to identify formats (of live videos) 
> that downloads from start
> [dash] Create protocol http_dash_segments_generator that allows a 
> function to be passed instead of fragments
> [fragment] Allow multiple live dash formats to download simultaneously
> [youtube] Implement fragment re-fetching for the live dash formats
> [youtube] Re-extract dash manifest every 5 hours (manifest expires in 
> 6hrs)
> [postprocessor/ffmpeg] Add FFmpegFixupDuplicateMoovPP to fixup 
> duplicated moov atoms
> Known issues:
> Ctrl+C doesn't work on Windows when downloading multiple formats
> If video becomes private, download hangs
> [SponsorBlock] Add Filler and Highlight categories by nihil-admirari, 
> pukkandan
> Change --sponsorblock-cut all to --sponsorblock-cut default if you do 
> not want filler sections to be removed
> Add field webpage_url_domain
> Add interactive format selection with -f -
> Add option --file-access-retries by ehoogeveen-medweb
> [outtmpl] Add alternate forms S, D and improve id detection
> [outtmpl] Add operator & for replacement text by PilzAdam
> [EmbedSubtitle] Disable duration check temporarily
> [extractor] Add _search_nuxt_data by nao20010128nao
> [extractor] Ignore errors in comment extraction when -i is given
> [extractor] Standardize _live_title
> [FormatSort] Prevent incorrect deprecation warning
> [generic] Extract m3u8 formats from JSON-LD
> [postprocessor/ffmpeg] Always add faststart
> [utils] Fix parsing MMDD dates in Nov/Dec by wlritchi
> [utils] Improve parse_count
> [utils] Update std_headers by kikuyan, fstirlitz
> [lazy_extractors] Fix for search IEs
> [extractor] Support default implicit graph in JSON-LD by zmousm
> Allow --no-write-thumbnail to override --write-all-thumbnail
> Fix --throttled-rate
> Fix control characters being printed to --console-title
> Fix PostProcessor hooks not registered for some PPs
> Pre-process when using --flat-playlist
> Remove known invalid thumbnails from info_dict
> Add warning when using -f best
> Use parse_duration for --wait-for-video and some minor fix
> [test/download] Add more fields
> [test/download] Ignore field webpage_url_domain by std-move
> [compat] Suppress errors in enabling VT mode
> [docs] Improve manpage format by iw0nderhow, pukkandan
> [docs,cleanup] Minor fixes and cleanup
> [cleanup] Fix some typos by unit193
> [ABC:iview] Add show extractor by pabs3
> [dropout] Add extractor by TwoThousandHedgehogs, pukkandan
> [GameJolt] Add extractors by MinePlayersPE
> [gofile] Add extractor by Jertzukka, Ashish0804
> [hse] Add extractors by cypheron, pukkandan
> [NateTV] Add NateIE and NateProgramIE by Ashish0804, Hyeeji
> [OpenCast] Add extractors by bwildenhain, C0D3D3V
> [rtve] Add RTVEAudioIE by kebianizao
> [Rutube] Add RutubeChannelIE by Ashish0804
> [skeb] Add extractor by nao20010128nao
> [soundcloud] Add related tracks extractor by Lapin0t
> [toggo] Add extractor by nyuszika7h
> [TrueID] Add extractor by MinePlayersPE
> [audiomack] Update album and song VALID_URL by abdullah-if, dirkf
> [CBC Gem] Extract 1080p formats by DavidSkrundz
> [ceskatelevize] Fetch iframe from nextJS data by mkubecek
> [crackle] Look for non-DRM formats by raleeper
> [dplay] Temporary fix for discoveryplus.com/it
> [DiscoveryPlusShowBaseIE] yield actual video id by Ashish0804
> [Facebook] Handle redirect URLs
> [fujitv] Extract 1080p from tv_android m3u8 by YuenSzeHong
> [gronkh] Support new URL pattern by Sematre
> [instagram] Expand valid URL by 

[update] www/yt-dlp-2021.12.27

2021-12-28 Thread Ricardo Mestre
Hi,

Update to 2021.12.27, changelog below including for missed 2021.12.25.

Comments? OK?

2021.12.27
Avoid recursion error when re-extracting info
[ffmpeg] Fix position of --ppa
[aria2c] Don't show progress when --no-progress
[cookies] Support other keyrings by mbway
[EmbedThumbnail] Prefer AtomicParsley over ffmpeg if available
[generic] Fix HTTP KVS Player by git-anony-mouse
[ThumbnailsConvertor] Fix for when there are no thumbnails
[docs] Add examples for using TYPES: in -P/-o
[PixivSketch] Add extractors by nao20010128nao
[tiktok] Add music, sticker and tag IEs by MinePlayersPE
[BiliIntl] Fix extractor by MinePlayersPE
[CBC] Fix URL regex
[tiktok] Fix extractor_key used in archive
[youtube] End live-from-start properly when stream ends with 403
[Zee5] Fix VALID_URL for tv-shows by Ashish0804

2021.12.25
[dash,youtube] Download live from start to end by nao20010128nao, pukkandan
Add option --live-from-start to enable downloading live videos from 
start
Add key is_from_start in formats to identify formats (of live videos) 
that downloads from start
[dash] Create protocol http_dash_segments_generator that allows a 
function to be passed instead of fragments
[fragment] Allow multiple live dash formats to download simultaneously
[youtube] Implement fragment re-fetching for the live dash formats
[youtube] Re-extract dash manifest every 5 hours (manifest expires in 
6hrs)
[postprocessor/ffmpeg] Add FFmpegFixupDuplicateMoovPP to fixup 
duplicated moov atoms
Known issues:
Ctrl+C doesn't work on Windows when downloading multiple formats
If video becomes private, download hangs
[SponsorBlock] Add Filler and Highlight categories by nihil-admirari, 
pukkandan
Change --sponsorblock-cut all to --sponsorblock-cut default if you do 
not want filler sections to be removed
Add field webpage_url_domain
Add interactive format selection with -f -
Add option --file-access-retries by ehoogeveen-medweb
[outtmpl] Add alternate forms S, D and improve id detection
[outtmpl] Add operator & for replacement text by PilzAdam
[EmbedSubtitle] Disable duration check temporarily
[extractor] Add _search_nuxt_data by nao20010128nao
[extractor] Ignore errors in comment extraction when -i is given
[extractor] Standardize _live_title
[FormatSort] Prevent incorrect deprecation warning
[generic] Extract m3u8 formats from JSON-LD
[postprocessor/ffmpeg] Always add faststart
[utils] Fix parsing MMDD dates in Nov/Dec by wlritchi
[utils] Improve parse_count
[utils] Update std_headers by kikuyan, fstirlitz
[lazy_extractors] Fix for search IEs
[extractor] Support default implicit graph in JSON-LD by zmousm
Allow --no-write-thumbnail to override --write-all-thumbnail
Fix --throttled-rate
Fix control characters being printed to --console-title
Fix PostProcessor hooks not registered for some PPs
Pre-process when using --flat-playlist
Remove known invalid thumbnails from info_dict
Add warning when using -f best
Use parse_duration for --wait-for-video and some minor fix
[test/download] Add more fields
[test/download] Ignore field webpage_url_domain by std-move
[compat] Suppress errors in enabling VT mode
[docs] Improve manpage format by iw0nderhow, pukkandan
[docs,cleanup] Minor fixes and cleanup
[cleanup] Fix some typos by unit193
[ABC:iview] Add show extractor by pabs3
[dropout] Add extractor by TwoThousandHedgehogs, pukkandan
[GameJolt] Add extractors by MinePlayersPE
[gofile] Add extractor by Jertzukka, Ashish0804
[hse] Add extractors by cypheron, pukkandan
[NateTV] Add NateIE and NateProgramIE by Ashish0804, Hyeeji
[OpenCast] Add extractors by bwildenhain, C0D3D3V
[rtve] Add RTVEAudioIE by kebianizao
[Rutube] Add RutubeChannelIE by Ashish0804
[skeb] Add extractor by nao20010128nao
[soundcloud] Add related tracks extractor by Lapin0t
[toggo] Add extractor by nyuszika7h
[TrueID] Add extractor by MinePlayersPE
[audiomack] Update album and song VALID_URL by abdullah-if, dirkf
[CBC Gem] Extract 1080p formats by DavidSkrundz
[ceskatelevize] Fetch iframe from nextJS data by mkubecek
[crackle] Look for non-DRM formats by raleeper
[dplay] Temporary fix for discoveryplus.com/it
[DiscoveryPlusShowBaseIE] yield actual video id by Ashish0804
[Facebook] Handle redirect URLs
[fujitv] Extract 1080p from tv_android m3u8 by YuenSzeHong
[gronkh] Support new URL pattern by Sematre
[instagram] Expand valid URL by u-spec-png
[Instagram] Try bypassing login wall with embed page by MinePlayersPE
[Jamendo] Fix use of _VALID_URL_RE by jaller94
[LBRY] Support livestreams by Ashish0804, pukkandan
[NJPWWorld] Extract formats from m3u8 by aarubui
[NovaEmbed] update player regex by 

CVS: cvs.openbsd.org: ports

2021-12-28 Thread Sebastien Marie
CVSROOT:/cvs
Module name:ports
Changes by: sema...@cvs.openbsd.org 2021/12/28 04:12:27

Modified files:
devel/cabal: cabal.port.mk 

Log message:
devel/cabal: make MODCABAL_*_TARGET public

permit overriding do-build/do-install and still use the variable

while here, don't force ONLY_FOR_ARCHS but only conditionally set it.

OK gnezdo@



Re: Xorg modules installation

2021-12-28 Thread Stuart Henderson
On 2021/12/27 18:36, Ingo Feinerer wrote:
> Hi,
> 
> I am working on xrdpxorg (http://xrdp.org) which builds a few Xorg
> modules.
> 
> `make plist` does not seem to able to process them:
> 
> Can't put into any plist (no applicable prefix):
>   /usr/X11R6/lib/modules/libxorgxrdp.so
>   ...
> 
> Is there a proper way to install them?
> (so that pkg_add puts them into the right location)

Not _really_. There are ways to do it, but /usr/X11R6 is a location
for files from base, not for those from packages ...

You could perhaps install to a location under /usr/local and have the user
create symlinks themselves.



CVS: cvs.openbsd.org: ports

2021-12-28 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/12/28 02:40:12

Added files:
x11/gnome/gitg/patches: patch-tests_libgitg_test-commit_vala 

Log message:
Forgot in previous.



CVS: cvs.openbsd.org: ports

2021-12-28 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/12/28 02:33:35

Modified files:
meta/gnome : Makefile 

Log message:
Add x11/gnome/gitg to -extras and sync with elements/world.bst



CVS: cvs.openbsd.org: ports

2021-12-28 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/12/28 02:32:13

Modified files:
x11/gnome  : Makefile 
Added files:
x11/gnome/gitg : Makefile distinfo 
x11/gnome/gitg/pkg: DESCR PLIST 

Log message:
Re-add gitg.

gitg is a graphical user interface for git. It aims at being a small, fast and
convenient tool to visualize the history of git repositories.  Besides
visualization, gitg also provides several utilities to manage your repository
and commit your work.

ok robert@



Re: Adding BASE_C99 for ports needing -std=gnu99 for base-gcc

2021-12-28 Thread Marc Espie
On Mon, Dec 27, 2021 at 09:50:04PM -0500, Kurt Mosiejczuk wrote:
> I find myself adding the following to many ports files nowadays
> 
> .include 
> .if !${PROPERTIES:Mclang}
> CFLAGS += -std=gnu99
> .endif
> 
> Rather than continue this, I'd like to propose adding BASE_C99 to bsd.port.mk
> 
> When BASE_C99= Yes, if on a non-base-clang arch, it will add the same to
> CFLAGS, but without including bsd.port.arch.mk by hand.
> 
> Included are patches to add this to bsd.port.mk and a diff for bsd.port.mk(5)
> to include it in the man page.
> 
> Once this is in, I'll sweep the tree for the boilerplate and replace it all
> with this.
> 
> ok?
> 
> --Kurt

What does this imply for clang-based ports ? are they gnu99 by default ?
I'm not okay with the name, which is misleading. There is a C99 standard, 
and there is C99 + gnu extensions.

You'll have to explain why gnu99 and not std99 for starters. And if that's
justified, the name should be something else, and preferably a more generic 
option.

Also, such shennanigans are properly handled within the compiler.port.mk
framework and not directly related to properties: you will always 
include compiler.port.mk, so in the end, you know what the chosen compiler 
is, and whether that option has any sense for it.



CVS: cvs.openbsd.org: ports

2021-12-28 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/12/28 02:17:51

Modified files:
math/visidata  : Makefile distinfo 

Log message:
update to visidata-2.8



CVS: cvs.openbsd.org: ports

2021-12-28 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/12/28 02:17:29

Modified files:
math/calc  : Makefile distinfo 

Log message:
update to calc-2.14.0.14



CVS: cvs.openbsd.org: ports

2021-12-28 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/12/28 02:16:56

Modified files:
databases/freetds: Makefile distinfo 

Log message:
update to freetds-1.3.6



CVS: cvs.openbsd.org: ports

2021-12-28 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/12/28 01:39:12

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

Log message:
Update to libgsf-1.14.48.



CVS: cvs.openbsd.org: ports

2021-12-28 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/12/28 01:36:23

Modified files:
print/psutils  : Makefile distinfo 
print/psutils/patches: patch-PSUtils_pm 

Log message:
Update to psutils-2.08.



update rsyslog to version 8.2102.0

2021-12-28 Thread Remi Locherer
This is an update for rsyslog to version 8.2102.0. The changelog is rather
long and can be found here:
https://github.com/rsyslog/rsyslog/blob/master/ChangeLog

I verified that the modules imfile, omfile and ommysql still work.
In addition I tested with the 6 syslogd regress tests that involve rsyslog.

With the exception of run-args-rsyslog-tls.pl they succeed. This failing
test also fails with the version that is already in ports. Last time I
updated the rsyslog port all 6 tests worked fine. Maybe it is related to
something GnuTLS? When trying with "openssl s_client -connect ..." I only
get the "connect" output line. This is also the same when I try with
eopenssl11.

I propose to update rsyslog even with this test failing since it is not
different from what we have in ports now.

Remi


Index: Makefile
===
RCS file: /cvs/ports/sysutils/rsyslog/Makefile,v
retrieving revision 1.51
diff -u -p -r1.51 Makefile
--- Makefile7 Mar 2021 09:28:36 -   1.51
+++ Makefile27 Dec 2021 20:46:47 -
@@ -8,7 +8,7 @@ COMMENT-elasticsearch = Elasticsearch pl
 
 MULTI_PACKAGES =   -main -mysql -normalize -pgsql -elasticsearch
 
-V =8.2102.0
+V =8.2112.0
 DISTNAME = rsyslog-$V
 PKGNAME-main = rsyslog-$V
 PKGNAME-mysql =rsyslog-mysql-$V
@@ -26,9 +26,10 @@ PERMIT_PACKAGE = Yes
 
 COMPILER = base-clang ports-gcc base-gcc
 
-WANTLIB-main +=c crypto curl estr fastjson gcrypt gmp gnutls
-WANTLIB-main +=gpg-error hogweed iconv idn2 intl nettle nghttp2
-WANTLIB-main +=p11-kit pthread relp ssl tasn1 unistring uuid z
+WANTLIB-main +=c crypto curl estr execinfo fastjson gcrypt gmp
+WANTLIB-main +=gnutls gpg-error hogweed iconv idn2 intl m 
nettle
+WANTLIB-main +=nghttp2 p11-kit pthread relp ssl tasn1 unistring
+WANTLIB-main +=uuid z
 
 WANTLIB-mysql +=   crypto m mariadb pthread ssl z
 
Index: distinfo
===
RCS file: /cvs/ports/sysutils/rsyslog/distinfo,v
retrieving revision 1.11
diff -u -p -r1.11 distinfo
--- distinfo7 Mar 2021 09:28:36 -   1.11
+++ distinfo26 Dec 2021 11:21:34 -
@@ -1,2 +1,2 @@
-SHA256 (rsyslog-8.2102.0.tar.gz) = lO4NAxLC7epzdmVZTL5KlHXk47WT4StbiuOnQ6yccqc=
-SIZE (rsyslog-8.2102.0.tar.gz) = 3123684
+SHA256 (rsyslog-8.2112.0.tar.gz) = aiqXOGHpJm2ze9K3ufZytrlwv810Ojl7ju5rDcSFLEE=
+SIZE (rsyslog-8.2112.0.tar.gz) = 3230105



CVS: cvs.openbsd.org: ports

2021-12-28 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/12/28 01:35:34

Modified files:
astro/stellarium: Makefile distinfo 
astro/stellarium/pkg: PLIST 

Log message:
Update to stellarium-0.21.3.