UPDATE: libass 0.15.1

2021-08-24 Thread Brad Smith
Here is an update to libass 0.15.1.

libass (0.15.1)
 * Fix currently known 0.15.0 regressions:
* Fix crashing on some ASS files with embedded fonts
* Fix total font fallback failure with some fonts on Core Text
 * Fix embedded and memory fonts not actually being used
   unless ass_set_fonts was called after they have been added
 * Fix events assuming the largest xbord-value of a preceding
   event of the same frame during collision handling
 * Fix \fscx0 and \fscy0 making more text disappear than they should
 * Fix shift in vertical positioning of some right-to-left
   events with \an4-6, \pos, \move or Scroll effects
 * Fix imprecise output for \be with huge argument
 * Fix the --enable-large-tiles configure switch doing nothing
 * Fix output of ASM-enabled builds deviating from non-ASM builds
 * Fix ASM-builds on Haiku and 32-bit *BSDs
 * Overhaul x86 assembly for better performance
   and to allow ASM-enabled PIC-builds on 32-bit
 * Reduce temporary allocation in rendering
 * DirectWrite: request fonts on demand for better performance and
   improved compatibility with external on-demand font activation
 * Log libass version numbers upon renderer startup
 * Accept pointers to const as arguments to ass_add_font
 * Improve VSFilter compatibility:
* Disregard zero area events in collision handling
* Do not apply \fsp to vector drawings
* Fix bug preventing cutting out glyphs from border & shadow
  with abnormal \fad values (or causing aliasing artifacts
  in some cases with normal values)


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/libass/Makefile,v
retrieving revision 1.25
diff -u -p -u -p -r1.25 Makefile
--- Makefile14 Dec 2020 15:56:36 -  1.25
+++ Makefile25 Aug 2021 01:31:36 -
@@ -2,7 +2,7 @@
 
 COMMENT=   portable ASS/SSA subtitle renderer
 
-VER=   0.15.0
+VER=   0.15.1
 DISTNAME=  libass-${VER}
 CATEGORIES=multimedia devel
 MASTER_SITES=  https://github.com/libass/libass/releases/download/${VER}/
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/libass/distinfo,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 distinfo
--- distinfo14 Dec 2020 15:56:36 -  1.17
+++ distinfo25 Aug 2021 01:14:14 -
@@ -1,2 +1,2 @@
-SHA256 (libass-0.15.0.tar.xz) = nwkjDJoKpo73qmqeKrcJypVwIPhC5SxbLlK4AafZ6DM=
-SIZE (libass-0.15.0.tar.xz) = 367848
+SHA256 (libass-0.15.1.tar.xz) = HN05ydAHsG5zfnc4AE1/OM+bHpKEPzcweyTn/2OrjlM=
+SIZE (libass-0.15.1.tar.xz) = 369884



UPDATE: QEMU 6.1.0

2021-08-24 Thread Brad Smith
Here is an update to QEMU 6.1.0.

https://wiki.qemu.org/ChangeLog/6.1


Index: Makefile
===
RCS file: /home/cvs/ports/emulators/qemu/Makefile,v
retrieving revision 1.212
diff -u -p -u -p -r1.212 Makefile
--- Makefile23 Jul 2021 11:17:17 -  1.212
+++ Makefile25 Aug 2021 01:06:00 -
@@ -6,15 +6,13 @@ DPB_PROPERTIES=   parallel
 COMMENT-main=  multi system emulator
 COMMENT-ga=QEMU guest agent
 
-VERSION=   6.0.0
+VERSION=   6.1.0
 DISTNAME=  qemu-${VERSION}
 PKGNAME-main=  ${DISTNAME}
 PKGNAME-ga=qemu-ga-${VERSION}
 CATEGORIES=emulators
 MASTER_SITES=  https://download.qemu.org/
 EXTRACT_SUFX=  .tar.xz
-REVISION-ga=   0
-REVISION-main= 1
 
 HOMEPAGE=  https://www.qemu.org/
 
@@ -24,11 +22,10 @@ MAINTAINER= Brad Smith > $config_host_mak
+@@ -4565,6 +4582,11 @@ echo "PULSE_CFLAGS=$pulse_cflags" >> $config_host_mak
  echo "COREAUDIO_LIBS=$coreaudio_libs" >> $config_host_mak
  echo "DSOUND_LIBS=$dsound_libs" >> $config_host_mak
  echo "OSS_LIBS=$oss_libs" >> $config_host_mak
Index: patches/patch-meson_build
===
RCS file: /home/cvs/ports/emulators/qemu/patches/patch-meson_build,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-meson_build
--- patches/patch-meson_build   2 May 2021 08:15:19 -   1.1
+++ patches/patch-meson_build   5 Aug 2021 23:48:47 -
@@ -7,7 +7,7 @@ $OpenBSD: patch-meson_build,v 1.1 2021/0
 Index: meson.build
 --- meson.build.orig
 +++ meson.build
-@@ -444,6 +444,11 @@ jack = not_found
+@@ -441,6 +441,11 @@ jack = not_found
  if 'CONFIG_LIBJACK' in config_host
jack = declare_dependency(link_args: config_host['JACK_LIBS'].split())
  endif
@@ -18,8 +18,8 @@ Index: meson.build
 +endif
  spice = not_found
  spice_headers = not_found
- if 'CONFIG_SPICE' in config_host
-@@ -590,7 +595,7 @@ if have_system and not get_option('curses').disabled()
+ spice_protocol = not_found
+@@ -596,7 +601,7 @@ if have_system and not get_option('curses').disabled()
  endif
endforeach
msg = get_option('curses').enabled() ? 'curses library not found' : ''
@@ -28,9 +28,9 @@ Index: meson.build
if curses.found()
  if cc.links(curses_test, args: curses_compile_args, dependencies: 
[curses])
curses = declare_dependency(compile_args: curses_compile_args, 
dependencies: [curses])
-@@ -2510,11 +2515,9 @@ if targetos == 'windows'
+@@ -2907,11 +2912,9 @@ if targetos == 'windows'
+   endif
  endif
- summary_info += {'ARFLAGS':   config_host['ARFLAGS']}
  summary_info += {'CFLAGS':' '.join(get_option('c_args')
 -   + ['-O' + 
get_option('optimization')]
 + (get_option('debug') ? 
['-g'] : []))}
Index: patches/patch-qemu-options_hx
===
RCS file: /home/cvs/ports/emulators/qemu/patches/patch-qemu-options_hx,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 patch-qemu-options_hx
--- patches/patch-qemu-options_hx   2 May 2021 08:15:19 -   1.8
+++ patches/patch-qemu-options_hx   28 Jul 2021 22:51:29 -
@@ -3,7 +3,7 @@ $OpenBSD: patch-qemu-options_hx,v 1.8 20
 Index: qemu-options.hx
 --- qemu-options.hx.orig
 +++ qemu-options.hx
-@@ -614,6 +614,9 @@ DEF("audiodev", HAS_ARG, QEMU_OPTION_audiodev,
+@@ -643,6 +643,9 @@ DEF("audiodev", HAS_ARG, QEMU_OPTION_audiodev,
  "-audiodev sdl,id=id[,prop[=value][,...]]\n"
  "in|out.buffer-count= number of buffers\n"
  #endif
@@ -13,7 +13,7 @@ Index: qemu-options.hx
  #ifdef CONFIG_SPICE
  "-audiodev spice,id=id[,prop[=value][,...]]\n"
  #endif
-@@ -776,6 +779,11 @@ SRST
+@@ -805,6 +808,11 @@ SRST
  
  ``in|out.buffer-count=count``
  Sets the count of the buffers.
Index: patches/patch-util_cacheinfo_c
===
RCS file: /home/cvs/ports/emulators/qemu/patches/patch-util_cacheinfo_c,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 patch-util_cacheinfo_c
--- patches/patch-util_cacheinfo_c  25 Jan 2020 17:40:29 -  1.5
+++ patches/patch-util_cacheinfo_c  19 Jul 2021 03:20:32 -
@@ -5,16 +5,17 @@ Set OpenBSD/powerpc cache sizes.
 Index: util/cacheinfo.c
 --- util/cacheinfo.c.orig
 +++ util/cacheinfo.c
-@@ -87,6 +87,12 @@ static void sys_cache_info(int *isize, int *dsize)
- *isize = *dsize = size;
+@@ -145,6 +145,13 @@ static void arch_cache_info(int *isize, int *dsize)
  }
  }
-+#elif defined (__OpenBSD__)
-+static void sys_cache_info(int *isize, int *dsize)
+ 
++#elif defined(_ARCH_PPC) && defined (__OpenBSD__)
++static void arch_cache_info(int *isize, int *dsize)
 +{
 +*isize = 32;
 +*dsize = 32;
 +}
++
  #else
- /* POSIX */
- 
+ static void arch_cache_info(int *isize, int *dsize) { }
+ #endif /* arch_cache_info */
Index: pkg/PLIST-main

CVS: cvs.openbsd.org: ports

2021-08-24 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2021/08/24 21:48:01

Modified files:
security/openssl/1.1: Makefile distinfo 
security/openssl/1.1/patches: patch-Configurations_10-main_conf 
  patch-Configurations_unix-Makefile_tmpl 
security/openssl/1.1/pkg: PLIST 
Removed files:
security/openssl/1.1/patches: patch-crypto_bio_b_sock2_c 

Log message:
update to openssl-1.1.1l, looked over by sthen



Re: New port: Gaupol subtitle editor

2021-08-24 Thread Anindya Mukherjee
On Mon, Aug 16, 2021 at 12:15:23AM -0700, Anindya Mukherjee wrote:
> On Sun, Aug 15, 2021 at 12:21:45AM +0200, Stefan Hagen wrote:
> > Anindya Mukherjee wrote:
> > > On Sat, Aug 14, 2021 at 06:27:05PM +0200, Stefan Hagen wrote:
> > > > Anindya Mukherjee wrote:
> > > > > Ping
> > > > > 
> > > > > On Tue, Feb 02, 2021 at 11:50:40AM +, Stuart Henderson wrote:
> > > > > > start COMMENT with lower-case please (unless it's a proper noun,
> > > > > > but that doesn't apply here).
> > > > > > 
> > > > > > we are a bit busy fixing hundreds of ports for a forthcoming
> > > > > > clang update at the moment so it may take a while to get to it :)
> > > > 
> > > > I reviewed this port. It works fine and it is a useful tool.
> > > > 
> > > > Remarks:
> > > > - NO_TEST=Yes should be set when there are no regression tests
> > > > - pkg/DESCR mentions README.aeidon.md, which is nowhere to be found
> > > > 
> > > > You can either install the file (to share/doc/), or link to the API
> > > > docs directly: https://otsaloma.io/gaupol/doc/api/aeidon.html
> > > > 
> > > > But actually, I think we can omit the paragraph about aeidon. If we want
> > > > it to be used by other software, we should package it independently from
> > > > the GTK UI. Right now, it's only used by gaupol and so I would not give
> > > > it special treatment.
> > > 
> > > Thanks a lot for reviewing the port. I have updated it following your
> > > suggestions above. Please have a look.
> > 
> > Looks good to me.
> > 
> > Thanks,
> > Stefan
> 
> Thanks! Looking forward to getting it committed.
> 
> Regards,
> Anindya

ping



UPDATE: multimedia/streamlink 2.0.0 => 2.3.0

2021-08-24 Thread Brian Callahan

Hi ports --

Attached is an update to streamlink. It requires the py-websocket-client 
update just posted.
Long changelog is here: 
https://github.com/streamlink/streamlink/releases


I'm able to watch some streams with this.

OK?

~Brian
Index: Makefile
===
RCS file: /cvs/ports/multimedia/streamlink/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- Makefile	23 Feb 2021 19:39:31 -	1.30
+++ Makefile	24 Aug 2021 22:09:11 -
@@ -1,6 +1,6 @@
 # $OpenBSD: Makefile,v 1.30 2021/02/23 19:39:31 sthen Exp $
 
-MODPY_EGG_VERSION =	2.0.0
+MODPY_EGG_VERSION =	2.3.0
 COMMENT =	pipe video streams into a video player
 DISTNAME =	streamlink-${MODPY_EGG_VERSION}
 CATEGORIES =	multimedia net
Index: distinfo
===
RCS file: /cvs/ports/multimedia/streamlink/distinfo,v
retrieving revision 1.20
diff -u -p -r1.20 distinfo
--- distinfo	13 Feb 2021 15:48:52 -	1.20
+++ distinfo	24 Aug 2021 22:09:11 -
@@ -1,2 +1,2 @@
-SHA256 (streamlink-2.0.0.tar.gz) = wOrZ6WFjjUHKub2Wd83HAfIxO/1NI82BWEEJMoOcYts=
-SIZE (streamlink-2.0.0.tar.gz) = 497816
+SHA256 (streamlink-2.3.0.tar.gz) = FJfm3F0vuMWxdojyDKLomJonnegEpN430hB68zufqgQ=
+SIZE (streamlink-2.3.0.tar.gz) = 519800
Index: patches/patch-setup_py
===
RCS file: /cvs/ports/multimedia/streamlink/patches/patch-setup_py,v
retrieving revision 1.5
diff -u -p -r1.5 patch-setup_py
--- patches/patch-setup_py	13 Feb 2021 15:48:52 -	1.5
+++ patches/patch-setup_py	24 Aug 2021 22:09:11 -
@@ -1,11 +1,12 @@
 $OpenBSD: patch-setup_py,v 1.5 2021/02/13 15:48:52 bcallah Exp $
 
 Use dependencies we already have in the ports tree.
+Fix manual page installation.
 
 Index: setup.py
 --- setup.py.orig
 +++ setup.py
-@@ -17,11 +17,11 @@ deps = [
+@@ -21,11 +21,11 @@ deps = [
  ]
  
  # for encrypted streams
@@ -20,3 +21,12 @@ Index: setup.py
  
  # for localization
  if environ.get("STREAMLINK_USE_PYCOUNTRY"):
+@@ -68,7 +68,7 @@ if is_wheel_for_windows():
+ 
+ 
+ additional_files = [
+-("share/man/man1", ["docs/_build/man/streamlink.1"])
++("man/man1", ["docs/_build/man/streamlink.1"])
+ ]
+ 
+ for destdir, srcfiles in additional_files:
Index: pkg/PLIST
===
RCS file: /cvs/ports/multimedia/streamlink/pkg/PLIST,v
retrieving revision 1.19
diff -u -p -r1.19 PLIST
--- pkg/PLIST	13 Feb 2021 15:48:52 -	1.19
+++ pkg/PLIST	24 Aug 2021 22:09:11 -
@@ -83,6 +83,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/streamlink/plugin/api/validate.py
 lib/python${MODPY_VERSION}/site-packages/streamlink/plugin/plugin.py
 lib/python${MODPY_VERSION}/site-packages/streamlink/plugins/
+lib/python${MODPY_VERSION}/site-packages/streamlink/plugins/.removed
 lib/python${MODPY_VERSION}/site-packages/streamlink/plugins/__init__.py
 ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/streamlink/plugins/${MODPY_PYCACHE}/
 lib/python${MODPY_VERSION}/site-packages/streamlink/plugins/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
@@ -103,10 +104,9 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/streamlink/plugins/${MODPY_PYCACHE}bigo.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/streamlink/plugins/${MODPY_PYCACHE}bilibili.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/streamlink/plugins/${MODPY_PYCACHE}bloomberg.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/streamlink/plugins/${MODPY_PYCACHE}booyah.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/streamlink/plugins/${MODPY_PYCACHE}brightcove.${MODPY_PYC_MAGIC_TAG}pyc
-lib/python${MODPY_VERSION}/site-packages/streamlink/plugins/${MODPY_PYCACHE}btsports.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/streamlink/plugins/${MODPY_PYCACHE}btv.${MODPY_PYC_MAGIC_TAG}pyc
-lib/python${MODPY_VERSION}/site-packages/streamlink/plugins/${MODPY_PYCACHE}canalplus.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/streamlink/plugins/${MODPY_PYCACHE}cbsnews.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/streamlink/plugins/${MODPY_PYCACHE}cdnbg.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/streamlink/plugins/${MODPY_PYCACHE}ceskatelevize.${MODPY_PYC_MAGIC_TAG}pyc
@@ -123,7 +123,6 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/streamlink/plugins/${MODPY_PYCACHE}dlive.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/streamlink/plugins/${MODPY_PYCACHE}dogan.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/streamlink/plugins/${MODPY_PYCACHE}dogus.${MODPY_PYC_MAGIC_TAG}pyc
-lib/python${MODPY_VERSION}/site-packages/streamlink/plugins/${MODPY_PYCACHE}dommune.${MODPY_PYC_MAGIC_TAG}pyc
 

UPDATE: net/py-websocket-client 0.37.0 => 1.2.1

2021-08-24 Thread Brian Callahan

Hi ports --

Attached is an update to py-websocket-client. It is required for an 
update to streamlink.

Upstream has dropped python2 support.

Streamlink works with this, which is my only real form of testing.
One test when running 'make test' fails, but it seems that is because 
that particular test is looking for a module not in ports.


OK?

~Brian
Index: Makefile
===
RCS file: /cvs/ports/net/py-websocket-client/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile	21 May 2021 19:50:34 -	1.11
+++ Makefile	24 Aug 2021 22:12:34 -
@@ -2,10 +2,9 @@
 
 COMMENT =		WebSocket client for Python
 
-MODPY_EGG_VERSION =	0.37.0
-DISTNAME =		websocket_client-${MODPY_EGG_VERSION}
+MODPY_EGG_VERSION =	1.2.1
+DISTNAME =		websocket-client-${MODPY_EGG_VERSION}
 PKGNAME =		py-websocket-client-${MODPY_EGG_VERSION}
-REVISION =		5
 
 CATEGORIES =		net
 
@@ -20,7 +19,7 @@ MODPY_SETUPTOOLS =	Yes
 
 MODULES =		lang/python
 FLAVORS =		python3
-FLAVOR ?=
+FLAVOR ?=		python3
 
 RUN_DEPENDS =		devel/py-six${MODPY_FLAVOR}
 
Index: distinfo
===
RCS file: /cvs/ports/net/py-websocket-client/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo	3 Nov 2016 10:12:49 -	1.3
+++ distinfo	24 Aug 2021 22:12:34 -
@@ -1,2 +1,2 @@
-SHA256 (websocket_client-0.37.0.tar.gz) = Z4skbYFrlAGK9Sl+cpFRYOL+sELgzeGpOX9QKsOlL0E=
-SIZE (websocket_client-0.37.0.tar.gz) = 194246
+SHA256 (websocket-client-1.2.1.tar.gz) = jftxXYqZL1cS//jIQ62ulOIrIqmbLF5rDsShqYHMTg0=
+SIZE (websocket-client-1.2.1.tar.gz) = 45921
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/py-websocket-client/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST	19 Feb 2021 23:13:05 -	1.3
+++ pkg/PLIST	24 Aug 2021 22:12:34 -
@@ -7,6 +7,7 @@ ${MODPY_COMMENT}lib/python${MODPY_VERSIO
 lib/python${MODPY_VERSION}/site-packages/websocket/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/websocket/${MODPY_PYCACHE}_abnf.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/websocket/${MODPY_PYCACHE}_app.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/websocket/${MODPY_PYCACHE}_cookiejar.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/websocket/${MODPY_PYCACHE}_core.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/websocket/${MODPY_PYCACHE}_exceptions.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/websocket/${MODPY_PYCACHE}_handshake.${MODPY_PYC_MAGIC_TAG}pyc
@@ -18,6 +19,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/websocket/${MODPY_PYCACHE}_utils.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/websocket/_abnf.py
 lib/python${MODPY_VERSION}/site-packages/websocket/_app.py
+lib/python${MODPY_VERSION}/site-packages/websocket/_cookiejar.py
 lib/python${MODPY_VERSION}/site-packages/websocket/_core.py
 lib/python${MODPY_VERSION}/site-packages/websocket/_exceptions.py
 lib/python${MODPY_VERSION}/site-packages/websocket/_handshake.py
@@ -27,15 +29,27 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/websocket/_ssl_compat.py
 lib/python${MODPY_VERSION}/site-packages/websocket/_url.py
 lib/python${MODPY_VERSION}/site-packages/websocket/_utils.py
-lib/python${MODPY_VERSION}/site-packages/websocket/cacert.pem
 lib/python${MODPY_VERSION}/site-packages/websocket/tests/
 lib/python${MODPY_VERSION}/site-packages/websocket/tests/__init__.py
 ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/websocket/tests/${MODPY_PYCACHE}/
 lib/python${MODPY_VERSION}/site-packages/websocket/tests/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/websocket/tests/${MODPY_PYCACHE}echo-server.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/websocket/tests/${MODPY_PYCACHE}test_abnf.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/websocket/tests/${MODPY_PYCACHE}test_app.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/websocket/tests/${MODPY_PYCACHE}test_cookiejar.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/websocket/tests/${MODPY_PYCACHE}test_http.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/websocket/tests/${MODPY_PYCACHE}test_url.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/websocket/tests/${MODPY_PYCACHE}test_websocket.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/websocket/tests/data/
 lib/python${MODPY_VERSION}/site-packages/websocket/tests/data/header01.txt
 lib/python${MODPY_VERSION}/site-packages/websocket/tests/data/header02.txt
+lib/python${MODPY_VERSION}/site-packages/websocket/tests/data/header03.txt

Re: [update] lang/go to Go 1.17

2021-08-24 Thread Aaron Bieber
On Wed, 25 Aug 2021 at 04:10:43 +1000, Joel Sing wrote:
> The below diff updates lang/go to Go 1.17.
> 
> Tested on amd64 and arm64, still need to retest on arm, i386 and mips64.
> 
> ok?
> 

Mini-bulk finished:

Elapsed time=02:26:32
I=433 B=10 Q=0 T=105 F=0 !=1
E=net/termshark math/blas textproc/py-stemmer,python3

I was surprised by the termshark failure!:

  github.com/pkg/term/termios
  github.com/gcla/termshark/v2/tty
  github.com/kr/pty
  # github.com/kr/pty
  ../../../../go/pkg/mod/github.com/creack/pty@v1.1.14/pty_openbsd.go:27:10: 
undefined: ptmget
  ../../../../go/pkg/mod/github.com/creack/pty@v1.1.14/pty_openbsd.go:28:34: 
undefined: ioctl_PTMGET
  *** Error 2 in net/termshark (Makefile:31 'do-build')
  *** Error 2 in net/termshark (/usr/ports/infrastructure/mk/bsd.port.mk:2943 
'/tmp/pobj/termshark-2.2.0/build-amd64/.build_done': @cd /usr/po...)
  *** Error 2 in net/termshark (/usr/ports/infrastructure/mk/bsd.port.mk:2602 
'build': @lock=termshark-2.2.0p1;  export _LOCKS_HELD=" termshar...)
  ===> Exiting net/termshark with an error
  *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:137 'build': 
@: ${echo_msg:=echo};  : ${target:=build};  for i in ; do  eval...)
  >>> Ended at 1629838835.67
  max_stuck=7.22/clean=0.61/patch=12.36/configure=4.54/build=289.29
  Error: job failed with 512 on localhost at 1629838835

Everything else looks fine to me (I have been using a similar diff to test if
the lazy module stuff changes portgen)!

OK abieber@ if the other arches build :D 



Re: UPDATE: multimedia/handbrake 1.3.3 => 1.4.1

2021-08-24 Thread Stefan Hagen
Stefan Hagen wrote:
> Brian Callahan wrote:
> > Hi ports --
> > 
> > Attached is an update to HandBrake. The changelog is the combination of the
> > 1.4.0 and 1.4.1 release notes:
> > https://github.com/HandBrake/HandBrake/releases
> > 
> > I was able to encode some video on amd64.
> > 
> > Note that this requires the new graphics/zimg port I posted earlier.
> > 
> > OK?
> 
> Looks good to me. Portcheck and lib-depends-check are happy.
> I converted a 1080p mp4 video to a 720p mkv one. It worked fine on 
> amd64.
> 
> Your Makefile diff did not apply cleanly here. You had version 1.10 checked 
> out when you generated the diff. There is 1.11 in the ports tree meanwhile.

I forgot to remove the REVISION line after manually applying the patch.
So.. again:

Index: multimedia/handbrake/Makefile
===
RCS file: /cvs/ports/multimedia/handbrake/Makefile,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 Makefile
--- multimedia/handbrake/Makefile   7 Mar 2021 02:30:46 -   1.11
+++ multimedia/handbrake/Makefile   24 Aug 2021 21:55:03 -
@@ -1,10 +1,9 @@
 # $OpenBSD: Makefile,v 1.11 2021/03/07 02:30:46 daniel Exp $
 
-V =1.3.3
+V =1.4.1
 COMMENT =  open source video transcoder
 DISTNAME = HandBrake-${V}-source
 PKGNAME =  handbrake-${V}
-REVISION = 0
 EXTRACT_SUFX = .tar.bz2
 CATEGORIES =   multimedia x11
 
@@ -18,15 +17,16 @@ WANTLIB += ${COMPILER_LIBCXX} X11 Xcompo
 WANTLIB += Xfixes Xi Xinerama Xrandr Xrender aom ass atk-1.0 atk-bridge-2.0
 WANTLIB += avcodec avfilter avformat avresample avutil bluray
 WANTLIB += bz2 c cairo cairo-gobject crypto dav1d dvdnav dvdread
-WANTLIB += epoxy expat ffi fontconfig freetype fribidi gdk-3 gdk_pixbuf-2.0
-WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2
-WANTLIB += gsm gstaudio-1.0 gstbase-1.0 gstpbutils-1.0 gstreamer-1.0
-WANTLIB += gsttag-1.0 gstvideo-1.0 gthread-2.0 gtk-3 harfbuzz
-WANTLIB += iconv intl jansson lzma m mp3lame ogg opus orc-0.4
-WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
-WANTLIB += png postproc speex ssl swresample swscale theoradec
-WANTLIB += theoraenc vorbis vorbisenc vpx x264 x265 xcb xcb-render
-WANTLIB += xcb-shm xml2 xvidcore z
+WANTLIB += epoxy execinfo expat ffi fontconfig freetype fribidi
+WANTLIB += gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
+WANTLIB += graphite2 gsm gstaudio-1.0 gstbase-1.0 gstpbutils-1.0
+WANTLIB += gstreamer-1.0 gsttag-1.0 gstvideo-1.0 gthread-2.0 gtk-3
+WANTLIB += harfbuzz iconv intl jansson jpeg lzma m mp3lame ogg
+WANTLIB += opus orc-0.4 pango-1.0 pangocairo-1.0 pangoft2-1.0
+WANTLIB += pcre pixman-1 png postproc speex ssl swresample swscale
+WANTLIB += theoradec theoraenc turbojpeg vidstab vorbis vorbisenc
+WANTLIB += vpx x264 x265 xcb xcb-render xcb-shm xml2 xvidcore
+WANTLIB += z zimg
 
 MASTER_SITES = https://github.com/HandBrake/HandBrake/releases/download/${V}/
 
@@ -44,6 +44,7 @@ BUILD_DEPENDS =   devel/autoconf/${AUTOCON
 LIB_DEPENDS =  devel/jansson \
devel/orc \
graphics/ffmpeg \
+   graphics/zimg \
multimedia/aom \
multimedia/libbluray \
multimedia/gstreamer1/plugins-base \
Index: multimedia/handbrake/distinfo
===
RCS file: /cvs/ports/multimedia/handbrake/distinfo,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 distinfo
--- multimedia/handbrake/distinfo   20 Jun 2020 21:12:38 -  1.5
+++ multimedia/handbrake/distinfo   24 Aug 2021 21:55:03 -
@@ -1,2 +1,2 @@
-SHA256 (HandBrake-1.3.3-source.tar.bz2) = 
IYo32V9ItefPKFNj06sWwxTZdienpxDKs3WJAq6Hf4U=
-SIZE (HandBrake-1.3.3-source.tar.bz2) = 16804119
+SHA256 (HandBrake-1.4.1-source.tar.bz2) = 
OaCuysjybeHYjMrKCjnfykr1ICmnkqePk6QgV6VMGPY=
+SIZE (HandBrake-1.4.1-source.tar.bz2) = 15988773
Index: multimedia/handbrake/patches/patch-gtk_configure_ac
===
RCS file: /cvs/ports/multimedia/handbrake/patches/patch-gtk_configure_ac,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 patch-gtk_configure_ac
--- multimedia/handbrake/patches/patch-gtk_configure_ac 20 May 2020 14:57:18 
-  1.4
+++ multimedia/handbrake/patches/patch-gtk_configure_ac 24 Aug 2021 21:55:03 
-
@@ -6,22 +6,22 @@ No -ldl on OpenBSD.
 Index: gtk/configure.ac
 --- gtk/configure.ac.orig
 +++ gtk/configure.ac
-@@ -199,7 +199,7 @@ AM_CONDITIONAL([GHB_GTK_3_16], [test "$HAVE_GTK_316" -
+@@ -203,7 +203,7 @@ AM_CONDITIONAL([GHB_GTK_3_16], [test "$HAVE_GTK_316" -
  
  AM_CONDITIONAL([MINGW], [test "x$mingw_flag" = "xyes"])
  
--HB_LIBS="$HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec -lavutil 
-ldav1d -lswresample -lpostproc -ldvdnav -ldvdread -lmp3lame -lvorbis 
-lvorbisenc -logg -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray 
-lass -lfontconfig -lfreetype -lxml2 -ljansson -lopus 

Re: UPDATE: multimedia/handbrake 1.3.3 => 1.4.1

2021-08-24 Thread Stefan Hagen
Brian Callahan wrote:
> Hi ports --
> 
> Attached is an update to HandBrake. The changelog is the combination of the
> 1.4.0 and 1.4.1 release notes:
> https://github.com/HandBrake/HandBrake/releases
> 
> I was able to encode some video on amd64.
> 
> Note that this requires the new graphics/zimg port I posted earlier.
> 
> OK?

Looks good to me. Portcheck and lib-depends-check are happy.
I converted a 1080p mp4 video to a 720p mkv one. It worked fine on 
amd64.

Your Makefile diff did not apply cleanly here. You had version 1.10 checked 
out when you generated the diff. There is 1.11 in the ports tree meanwhile.

Updated patch:

Index: multimedia/handbrake/Makefile
===
RCS file: /cvs/ports/multimedia/handbrake/Makefile,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 Makefile
--- multimedia/handbrake/Makefile   7 Mar 2021 02:30:46 -   1.11
+++ multimedia/handbrake/Makefile   24 Aug 2021 21:22:50 -
@@ -1,6 +1,6 @@
 # $OpenBSD: Makefile,v 1.11 2021/03/07 02:30:46 daniel Exp $
 
-V =1.3.3
+V =1.4.1
 COMMENT =  open source video transcoder
 DISTNAME = HandBrake-${V}-source
 PKGNAME =  handbrake-${V}
@@ -18,15 +18,16 @@ WANTLIB += ${COMPILER_LIBCXX} X11 Xcompo
 WANTLIB += Xfixes Xi Xinerama Xrandr Xrender aom ass atk-1.0 atk-bridge-2.0
 WANTLIB += avcodec avfilter avformat avresample avutil bluray
 WANTLIB += bz2 c cairo cairo-gobject crypto dav1d dvdnav dvdread
-WANTLIB += epoxy expat ffi fontconfig freetype fribidi gdk-3 gdk_pixbuf-2.0
-WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2
-WANTLIB += gsm gstaudio-1.0 gstbase-1.0 gstpbutils-1.0 gstreamer-1.0
-WANTLIB += gsttag-1.0 gstvideo-1.0 gthread-2.0 gtk-3 harfbuzz
-WANTLIB += iconv intl jansson lzma m mp3lame ogg opus orc-0.4
-WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
-WANTLIB += png postproc speex ssl swresample swscale theoradec
-WANTLIB += theoraenc vorbis vorbisenc vpx x264 x265 xcb xcb-render
-WANTLIB += xcb-shm xml2 xvidcore z
+WANTLIB += epoxy execinfo expat ffi fontconfig freetype fribidi
+WANTLIB += gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
+WANTLIB += graphite2 gsm gstaudio-1.0 gstbase-1.0 gstpbutils-1.0
+WANTLIB += gstreamer-1.0 gsttag-1.0 gstvideo-1.0 gthread-2.0 gtk-3
+WANTLIB += harfbuzz iconv intl jansson jpeg lzma m mp3lame ogg
+WANTLIB += opus orc-0.4 pango-1.0 pangocairo-1.0 pangoft2-1.0
+WANTLIB += pcre pixman-1 png postproc speex ssl swresample swscale
+WANTLIB += theoradec theoraenc turbojpeg vidstab vorbis vorbisenc
+WANTLIB += vpx x264 x265 xcb xcb-render xcb-shm xml2 xvidcore
+WANTLIB += z zimg
 
 MASTER_SITES = https://github.com/HandBrake/HandBrake/releases/download/${V}/
 
@@ -44,6 +45,7 @@ BUILD_DEPENDS =   devel/autoconf/${AUTOCON
 LIB_DEPENDS =  devel/jansson \
devel/orc \
graphics/ffmpeg \
+   graphics/zimg \
multimedia/aom \
multimedia/libbluray \
multimedia/gstreamer1/plugins-base \
Index: multimedia/handbrake/distinfo
===
RCS file: /cvs/ports/multimedia/handbrake/distinfo,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 distinfo
--- multimedia/handbrake/distinfo   20 Jun 2020 21:12:38 -  1.5
+++ multimedia/handbrake/distinfo   24 Aug 2021 21:22:50 -
@@ -1,2 +1,2 @@
-SHA256 (HandBrake-1.3.3-source.tar.bz2) = 
IYo32V9ItefPKFNj06sWwxTZdienpxDKs3WJAq6Hf4U=
-SIZE (HandBrake-1.3.3-source.tar.bz2) = 16804119
+SHA256 (HandBrake-1.4.1-source.tar.bz2) = 
OaCuysjybeHYjMrKCjnfykr1ICmnkqePk6QgV6VMGPY=
+SIZE (HandBrake-1.4.1-source.tar.bz2) = 15988773
Index: multimedia/handbrake/patches/patch-gtk_configure_ac
===
RCS file: /cvs/ports/multimedia/handbrake/patches/patch-gtk_configure_ac,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 patch-gtk_configure_ac
--- multimedia/handbrake/patches/patch-gtk_configure_ac 20 May 2020 14:57:18 
-  1.4
+++ multimedia/handbrake/patches/patch-gtk_configure_ac 24 Aug 2021 21:22:50 
-
@@ -6,22 +6,22 @@ No -ldl on OpenBSD.
 Index: gtk/configure.ac
 --- gtk/configure.ac.orig
 +++ gtk/configure.ac
-@@ -199,7 +199,7 @@ AM_CONDITIONAL([GHB_GTK_3_16], [test "$HAVE_GTK_316" -
+@@ -203,7 +203,7 @@ AM_CONDITIONAL([GHB_GTK_3_16], [test "$HAVE_GTK_316" -
  
  AM_CONDITIONAL([MINGW], [test "x$mingw_flag" = "xyes"])
  
--HB_LIBS="$HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec -lavutil 
-ldav1d -lswresample -lpostproc -ldvdnav -ldvdread -lmp3lame -lvorbis 
-lvorbisenc -logg -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray 
-lass -lfontconfig -lfreetype -lxml2 -ljansson -lopus -lspeex -llzma"
-+HB_LIBS="-L../../libhb $HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec 
-lavutil -ldav1d -lswresample -lpostproc -ldvdnav -ldvdread -lmp3lame -lvorbis 
-lvorbisenc -logg -lswscale 

UPDATE: net/py-impacket

2021-08-24 Thread Sebastian Reitenbach
Hi,

below patch updates impacket from 0.9.21 to 0.9.23.
tested with a zerologon exploit, that requires at least 0.9.22, as the 
NETLOGON structs for NetrServerPasswordSet2 were only added there.

OK?

cheers,
Sebastian

Index: Makefile
===
RCS file: /cvs/ports/net/py-impacket/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- Makefile23 Feb 2021 19:39:33 -  1.26
+++ Makefile24 Aug 2021 21:22:23 -
@@ -4,12 +4,11 @@

 COMMENT =  Python classes providing access to network packets

-MODPY_EGG_VERSION =0.9.21
+MODPY_EGG_VERSION =0.9.23
 DISTNAME = impacket-${MODPY_EGG_VERSION}
 PKGNAME =  py-${DISTNAME}
 EPOCH =0
 CATEGORIES =   net security
-REVISION = 0

 HOMEPAGE = 
https://www.secureauth.com/labs/open-source-tools/impacket

Index: distinfo
===
RCS file: /cvs/ports/net/py-impacket/distinfo,v
retrieving revision 1.9
diff -u -r1.9 distinfo
--- distinfo31 May 2020 12:05:22 -  1.9
+++ distinfo24 Aug 2021 21:22:23 -
@@ -1,2 +1,2 @@
-SHA256 (impacket-0.9.21.tar.gz) = kS+BJWTofDGhYs/gYm86bLxbaGTe7b/vwx9tMhhZreM=
-SIZE (impacket-0.9.21.tar.gz) = 1270110
+SHA256 (impacket-0.9.23.tar.gz) = HBvopQzb48/8VmumT1UrGyi8x5t6QGuDOVa0nFbXcYQ=
+SIZE (impacket-0.9.23.tar.gz) = 4086505
Index: patches/patch-examples_goldenPac_py
===
RCS file: /cvs/ports/net/py-impacket/patches/patch-examples_goldenPac_py,v
retrieving revision 1.5
diff -u -r1.5 patch-examples_goldenPac_py
--- patches/patch-examples_goldenPac_py 31 May 2020 12:05:22 -  1.5
+++ patches/patch-examples_goldenPac_py 24 Aug 2021 21:22:23 -
@@ -15,7 +15,7 @@
  #
  #   if domain.net and/or domain-host do not resolve, add them
  #   to the hosts file or use the -dc-ip and -target-ip parameters
-@@ -1093,14 +1093,14 @@ if __name__ == '__main__':
+@@ -1094,14 +1094,14 @@ if __name__ == '__main__':
  if len(sys.argv)==1:
  parser.print_help()
  print("\nExamples: ")
Index: patches/patch-examples_raiseChild_py
===
RCS file: /cvs/ports/net/py-impacket/patches/patch-examples_raiseChild_py,v
retrieving revision 1.5
diff -u -r1.5 patch-examples_raiseChild_py
--- patches/patch-examples_raiseChild_py31 May 2020 12:05:22 -  
1.5
+++ patches/patch-examples_raiseChild_py24 Aug 2021 21:22:23 -
@@ -2,7 +2,7 @@
 Index: examples/raiseChild.py
 --- examples/raiseChild.py.orig
 +++ examples/raiseChild.py
-@@ -1248,18 +1248,18 @@ if __name__ == '__main__':
+@@ -1249,18 +1249,18 @@ if __name__ == '__main__':
  if len(sys.argv)==1:
  parser.print_help()
  print("\nExamples: ")
@@ -27,10 +27,3 @@
  sys.exit(1)

  options = parser.parse_args()
-@@ -1311,4 +1311,4 @@ if __name__ == '__main__':
- logging.critical(str(e))
- if hasattr(e, 'error_code'):
- if e.error_code == 0xc073:
--logging.info("Account not found in domain. (RID:%s)", 
options.targetRID)
-\ No newline at end of file
-+logging.info("Account not found in domain. (RID:%s)", 
options.targetRID)
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/py-impacket/pkg/PLIST,v
retrieving revision 1.8
diff -u -r1.8 PLIST
--- pkg/PLIST   31 May 2020 12:05:22 -  1.8
+++ pkg/PLIST   24 Aug 2021 21:22:23 -
@@ -39,6 +39,8 @@
 
lib/python${MODPY_VERSION}/site-packages/impacket/${MODPY_PYCACHE}ese.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/impacket/${MODPY_PYCACHE}helper.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/impacket/${MODPY_PYCACHE}hresult_errors.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/impacket/${MODPY_PYCACHE}http.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/impacket/${MODPY_PYCACHE}mapi_constants.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/impacket/${MODPY_PYCACHE}mqtt.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/impacket/${MODPY_PYCACHE}nmb.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/impacket/${MODPY_PYCACHE}nt_errors.${MODPY_PYC_MAGIC_TAG}pyc
@@ -78,12 +80,16 @@
 
lib/python${MODPY_VERSION}/site-packages/impacket/dcerpc/v5/${MODPY_PYCACHE}epm.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/impacket/dcerpc/v5/${MODPY_PYCACHE}even.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/impacket/dcerpc/v5/${MODPY_PYCACHE}even6.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/impacket/dcerpc/v5/${MODPY_PYCACHE}iphlp.${MODPY_PYC_MAGIC_TAG}pyc
 

Re: NEW: graphics/zimg

2021-08-24 Thread Brian Callahan

Hi Stefan --

On 08/24/2021 05:00 PM, Stefan Hagen wrote:

Brian Callahan wrote:

Hi ports --

Attached is a new port, graphics/zimg. Zimg is a scaling, colorspace
conversion, and dithering library.

[snip]

Zimg is a new dependency of multimedia/handbrake. An update diff for
HandBrake will be in a follow-up email.

OK?


Compiles, portcheck and lib-depends-check are happy.
Make test completes without error here on amd64.

I think "share/doc/zimg/example/" should be "share/examples/zimg".

Besides that, LGTM.

Best regards,
Stefan


Sure, I added:
FAKE_FLAGS =exampledir="${PREFIX}/share/examples/zimg"
and regen'd PLIST.

~Brian

zimg.tgz
Description: GNU Zip compressed data


Re: NEW: graphics/zimg

2021-08-24 Thread Stefan Hagen
Brian Callahan wrote:
> Hi ports --
> 
> Attached is a new port, graphics/zimg. Zimg is a scaling, colorspace
> conversion, and dithering library.
> 
> [snip]
> 
> Zimg is a new dependency of multimedia/handbrake. An update diff for
> HandBrake will be in a follow-up email.
> 
> OK?

Compiles, portcheck and lib-depends-check are happy.
Make test completes without error here on amd64.

I think "share/doc/zimg/example/" should be "share/examples/zimg".

Besides that, LGTM.

Best regards,
Stefan



Re: UPDATE: SMTube-21.7.0

2021-08-24 Thread Josh Grosse
On Thu, Aug 19, 2021 at 12:03:43PM +0100, Stuart Henderson wrote:
> On 2021/08/19 06:28, Josh Grosse wrote:
> > On Thu, Aug 19, 2021 at 10:26:02AM +0200, Gonzalo L. Rodriguez wrote:
> > > ping...
> > > 
> > > anyone?
> > 
> > Hi.  I get the following message from portcheck(1).  The output from
> > port-lib-depends-check is clean.
> > 
> > "LIB_DEPENDS x11/qt5/qtscript not needed for x11/smtube ?"
> 
> man bsd.port.mk | less +'/not needed'
> 
> This usually means a WANTLIB was removed and the associated LIB_DEPENDS was
> not removed. The package will be created *without* the dependency.

LIB_DEPENDS for qtscript removed, and qtscript uninstalled.  Rebuilt, and
working fine on amd64.  Revised diff attached.
diff --git a/x11/smtube/Makefile b/x11/smtube/Makefile
index 3779ab3129a..8cb5ad3f61e 100644
--- a/x11/smtube/Makefile
+++ b/x11/smtube/Makefile
@@ -4,7 +4,7 @@ USE_WXNEEDED =  Yes
 
 COMMENT =  browse and download YouTube videos
 
-DISTNAME = smtube-20.6.0
+DISTNAME = smtube-21.7.0
 
 CATEGORIES =   multimedia x11
 
@@ -27,8 +27,7 @@ RUN_DEPENDS = x11/smplayer \
devel/desktop-file-utils \
x11/gtk+3,-guic
 
-LIB_DEPENDS =  x11/qt5/qtscript \
-   x11/qt5/qtwebkit
+LIB_DEPENDS =  x11/qt5/qtwebkit
 
 USE_GMAKE =Yes
 
diff --git a/x11/smtube/distinfo b/x11/smtube/distinfo
index 07ecba7d81f..73e64175dc2 100644
--- a/x11/smtube/distinfo
+++ b/x11/smtube/distinfo
@@ -1,2 +1,2 @@
-SHA256 (smtube-20.6.0.tar.bz2) = gvHrBtLY+kMEWGpAwubd5qRLIiTjFX8Dmxbzr19R30I=
-SIZE (smtube-20.6.0.tar.bz2) = 746094
+SHA256 (smtube-21.7.0.tar.bz2) = d+R3eM2BPdrsY7XX+6IWpz6cKIy/L2x0iLZH0mTgfcc=
+SIZE (smtube-21.7.0.tar.bz2) = 966127
diff --git a/x11/smtube/patches/patch-src_browserwindow_cpp 
b/x11/smtube/patches/patch-src_browserwindow_cpp
index ab0f510f94f..b70c14cab68 100644
--- a/x11/smtube/patches/patch-src_browserwindow_cpp
+++ b/x11/smtube/patches/patch-src_browserwindow_cpp
@@ -3,7 +3,7 @@ $OpenBSD: patch-src_browserwindow_cpp,v 1.2 2020/07/27 08:08:25 
gonzalo Exp $
 Index: src/browserwindow.cpp
 --- src/browserwindow.cpp.orig
 +++ src/browserwindow.cpp
-@@ -202,7 +202,7 @@ QString BrowserWindow::homePageUrl() {
+@@ -236,7 +236,7 @@ QString BrowserWindow::homePageUrl() {
  #ifdef USE_SITES
return sites.currentSite().homeUrl();
  #else
@@ -12,7 +12,7 @@ Index: src/browserwindow.cpp
  #endif
  }
  
-@@ -436,7 +436,7 @@ void BrowserWindow::openYTUrl(QString title, QString e
+@@ -481,7 +481,7 @@ void BrowserWindow::openYTUrl(QString title, QString e
if (current_player == WebBrowser) {
QString u = url;
#if 1
@@ -21,7 +21,7 @@ Index: src/browserwindow.cpp
  "=" + title.toUtf8().toBase64().toPercentEncoding();
#endif
QDesktopServices::openUrl(u);
-@@ -691,7 +691,7 @@ void BrowserWindow::loadConfig() {
+@@ -777,7 +777,7 @@ void BrowserWindow::loadConfig() {
  #ifdef D_BUTTON
add_download_button = settings->value("add_download_button", 
false).toBool();
  
diff --git a/x11/smtube/pkg/PLIST b/x11/smtube/pkg/PLIST
index 7f2f684fff8..61cf007acbd 100644
--- a/x11/smtube/pkg/PLIST
+++ b/x11/smtube/pkg/PLIST
@@ -2,10 +2,9 @@
 @bin bin/smtube
 share/applications/smtube.desktop
 share/doc/smtube/
-share/doc/smtube/Changelog
 share/doc/smtube/Copying.txt
 share/doc/smtube/Readme.txt
-share/doc/smtube/Release_notes.txt
+share/doc/smtube/Release_notes.md
 share/icons/hicolor/128x128/apps/smtube.png
 share/icons/hicolor/16x16/apps/smtube.png
 share/icons/hicolor/256x256/apps/smtube.png


Re: New: converters/ruby-json 2.5.1

2021-08-24 Thread Kurt Mosiejczuk
On Tue, Aug 24, 2021 at 12:27:59PM -0700, Jeremy Evans wrote:
> On Tue, Aug 24, 2021 at 12:22 PM Kurt Mosiejczuk  wrote:

> > An implementation of the JSON specification according to RFC 4627.
> > Implemented in C.

> > ok to import?

> Ruby itself already ships with this library.  Ruby 3.0 ships with this
> exact version (Ruby 2.7 ships with json 2.3.0, Ruby 2.6 with json 2.1.0).

> Do you have something that depends on this updated version where you want
> to run an older version of Ruby?  Otherwise, there doesn't seem to be a
> reason to import this.

I've got an app running 2.7 which uses this, but, it is on the todo to update
to ruby 3.0 some time, so I suppose I can forget importing this one.

--Kurt



devel/scons: enable parallel builds

2021-08-24 Thread Omar Polo
Hello ports,

The attached patch makes devel/scons respect the MAKE_JOBS.  It's
particularly useful when building bigger ports like games/godot.  It's
similar to what cmake.port.mk does.

(this patch is unrelated to the scons update I'm going to submit, it
works with both scons 2 and scons 4)


Index: scons.port.mk
===
RCS file: /home/cvs/ports/devel/scons/scons.port.mk,v
retrieving revision 1.6
diff -u -p -r1.6 scons.port.mk
--- scons.port.mk   2 Jul 2013 08:36:16 -   1.6
+++ scons.port.mk   24 Aug 2021 08:36:04 -
@@ -20,7 +20,8 @@ NO_CCACHE?=Yes
 
 MODSCONS_BUILD_TARGET = \
${SETENV} ${MAKE_ENV} ${MODSCONS_BIN} -C ${WRKSRC} \
-   ${MODSCONS_ENV} ${MODSCONS_FLAGS} ${ALL_TARGET}
+   ${MODSCONS_ENV} ${MODSCONS_FLAGS} -j ${MAKE_JOBS} \
+   ${ALL_TARGET}
 
 MODSCONS_INSTALL_TARGET = \
${SETENV} ${MAKE_ENV} ${MODSCONS_BIN} -C ${WRKSRC} \



CVS: cvs.openbsd.org: ports

2021-08-24 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2021/08/24 14:32:52

Modified files:
archivers/innoextract: Makefile 
Removed files:
archivers/innoextract/patches: patch-cmake_BuildType_cmake 

Log message:
innoextract: unbreak on clang+ld.bfd archs

Innoextract used to fail to build on these archs due to undefined references at
linking time, because of the `--as-needed' linker flag. There was a powerpc
specific fix, but since then mips64 can also build innoextract.

Extend the fix by disabling optimizations on all clang+ld.bfd archs. This only
impacts mips64 now that macppc moved to ld.lld, but may be useful to sparc64
in the future if it moves to clang.

Build tested on mips64 by Yifei Zhan < openbsd () zhan ! science >, and macppc
by me (with ld.lld). There is no impact on other archs.

No objection from thfr@ (maintainer)



UPDATE: multimedia/handbrake 1.3.3 => 1.4.1

2021-08-24 Thread Brian Callahan

Hi ports --

Attached is an update to HandBrake. The changelog is the combination of 
the 1.4.0 and 1.4.1 release notes: 
https://github.com/HandBrake/HandBrake/releases


I was able to encode some video on amd64.

Note that this requires the new graphics/zimg port I posted earlier.

OK?

~Brian
Index: Makefile
===
RCS file: /cvs/ports/multimedia/handbrake/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile	23 Feb 2021 19:39:30 -	1.10
+++ Makefile	24 Aug 2021 20:28:00 -
@@ -1,6 +1,6 @@
 # $OpenBSD: Makefile,v 1.10 2021/02/23 19:39:30 sthen Exp $
 
-V = 		1.3.3
+V = 		1.4.1
 COMMENT =	open source video transcoder
 DISTNAME =	HandBrake-${V}-source
 PKGNAME =	handbrake-${V}
@@ -17,22 +17,22 @@ WANTLIB += ${COMPILER_LIBCXX} X11 Xcompo
 WANTLIB += Xfixes Xi Xinerama Xrandr Xrender aom ass atk-1.0 atk-bridge-2.0
 WANTLIB += avcodec avfilter avformat avresample avutil bluray
 WANTLIB += bz2 c cairo cairo-gobject crypto dav1d dvdnav dvdread
-WANTLIB += epoxy expat ffi fontconfig freetype fribidi gdk-3 gdk_pixbuf-2.0
-WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2
-WANTLIB += gsm gstaudio-1.0 gstbase-1.0 gstpbutils-1.0 gstreamer-1.0
-WANTLIB += gsttag-1.0 gstvideo-1.0 gthread-2.0 gtk-3 harfbuzz
-WANTLIB += iconv intl jansson lzma m mp3lame ogg opus orc-0.4
-WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
-WANTLIB += png postproc speex ssl swresample swscale theoradec
-WANTLIB += theoraenc vorbis vorbisenc vpx x264 x265 xcb xcb-render
-WANTLIB += xcb-shm xml2 xvidcore z
+WANTLIB += epoxy execinfo expat ffi fontconfig freetype fribidi
+WANTLIB += gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
+WANTLIB += graphite2 gsm gstaudio-1.0 gstbase-1.0 gstpbutils-1.0
+WANTLIB += gstreamer-1.0 gsttag-1.0 gstvideo-1.0 gthread-2.0 gtk-3
+WANTLIB += harfbuzz iconv intl jansson jpeg lzma m mp3lame ogg
+WANTLIB += opus orc-0.4 pango-1.0 pangocairo-1.0 pangoft2-1.0
+WANTLIB += pcre pixman-1 png postproc speex ssl swresample swscale
+WANTLIB += theoradec theoraenc turbojpeg vidstab vorbis vorbisenc
+WANTLIB += vpx x264 x265 xcb xcb-render xcb-shm xml2 xvidcore
+WANTLIB += z zimg
 
 MASTER_SITES =	https://github.com/HandBrake/HandBrake/releases/download/${V}/
 
 COMPILER =	base-clang ports-gcc
 
 MODULES =	lang/python
-MODPY_VERSION =	${MODPY_DEFAULT_VERSION_2}
 MODPY_RUNDEP =	No
 
 BUILD_DEPENDS =	devel/autoconf/${AUTOCONF_VERSION} \
@@ -44,6 +44,7 @@ BUILD_DEPENDS =	devel/autoconf/${AUTOCON
 LIB_DEPENDS =	devel/jansson \
 		devel/orc \
 		graphics/ffmpeg \
+		graphics/zimg \
 		multimedia/aom \
 		multimedia/libbluray \
 		multimedia/gstreamer1/plugins-base \
Index: distinfo
===
RCS file: /cvs/ports/multimedia/handbrake/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo	20 Jun 2020 21:12:38 -	1.5
+++ distinfo	24 Aug 2021 20:28:00 -
@@ -1,2 +1,2 @@
-SHA256 (HandBrake-1.3.3-source.tar.bz2) = IYo32V9ItefPKFNj06sWwxTZdienpxDKs3WJAq6Hf4U=
-SIZE (HandBrake-1.3.3-source.tar.bz2) = 16804119
+SHA256 (HandBrake-1.4.1-source.tar.bz2) = OaCuysjybeHYjMrKCjnfykr1ICmnkqePk6QgV6VMGPY=
+SIZE (HandBrake-1.4.1-source.tar.bz2) = 15988773
Index: patches/patch-gtk_configure_ac
===
RCS file: /cvs/ports/multimedia/handbrake/patches/patch-gtk_configure_ac,v
retrieving revision 1.4
diff -u -p -r1.4 patch-gtk_configure_ac
--- patches/patch-gtk_configure_ac	20 May 2020 14:57:18 -	1.4
+++ patches/patch-gtk_configure_ac	24 Aug 2021 20:28:00 -
@@ -6,22 +6,22 @@ No -ldl on OpenBSD.
 Index: gtk/configure.ac
 --- gtk/configure.ac.orig
 +++ gtk/configure.ac
-@@ -199,7 +199,7 @@ AM_CONDITIONAL([GHB_GTK_3_16], [test "$HAVE_GTK_316" -
+@@ -203,7 +203,7 @@ AM_CONDITIONAL([GHB_GTK_3_16], [test "$HAVE_GTK_316" -
  
  AM_CONDITIONAL([MINGW], [test "x$mingw_flag" = "xyes"])
  
--HB_LIBS="$HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec -lavutil -ldav1d -lswresample -lpostproc -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray -lass -lfontconfig -lfreetype -lxml2 -ljansson -lopus -lspeex -llzma"
-+HB_LIBS="-L../../libhb $HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec -lavutil -ldav1d -lswresample -lpostproc -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray -lass -lfontconfig -lfreetype -lxml2 -ljansson -lopus -lspeex -llzma"
+-HB_LIBS="$HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec -lavutil -ldav1d -lswresample -lpostproc -ldvdnav -ldvdread -lmp3lame -lvorbis -lvorbisenc -logg -lswscale -ltheoraenc -ltheoradec -lvpx -lz -lbz2 -lbluray -lass -lfontconfig -lfreetype -lxml2 -ljansson -lopus -lspeex -lturbojpeg -llzma -lzimg"
++HB_LIBS="-L../../libhb $HB_LIBS -lhandbrake -lavformat -lavfilter -lavcodec -lavutil -ldav1d -lswresample 

NEW: graphics/zimg

2021-08-24 Thread Brian Callahan

Hi ports --

Attached is a new port, graphics/zimg. Zimg is a scaling, colorspace 
conversion, and dithering library.


---
pkg/DESCR:
The "z" library implements the commonly required image processing basics
of scaling, colorspace conversion, and depth conversion. A simple API
enables conversion between any supported formats to operate with minimal
knowledge from the programmer. All library routines were designed from
the ground-up with correctness, flexibility, and thread-safety as first
priorities. Allocation, buffering, and I/O are cleanly separated from
processing, allowing the programmer to adapt "z" to many scenarios.
---

Zimg is a new dependency of multimedia/handbrake. An update diff for 
HandBrake will be in a follow-up email.


OK?

~Brian


zimg.tgz
Description: GNU Zip compressed data


Re: New: converters/ruby-json 2.5.1

2021-08-24 Thread Jeremy Evans
On Tue, Aug 24, 2021 at 12:22 PM Kurt Mosiejczuk  wrote:

> An implementation of the JSON specification according to RFC 4627.
> Implemented in C.
>
> ok to import?
>

Ruby itself already ships with this library.  Ruby 3.0 ships with this
exact version (Ruby 2.7 ships with json 2.3.0, Ruby 2.6 with json 2.1.0).

Do you have something that depends on this updated version where you want
to run an older version of Ruby?  Otherwise, there doesn't seem to be a
reason to import this.

Thanks,
Jeremy


New: converters/ruby-json 2.5.1

2021-08-24 Thread Kurt Mosiejczuk
An implementation of the JSON specification according to RFC 4627.
Implemented in C.

ok to import?

--Kurt


ruby-json.tgz
Description: application/tar-gz


Re: New: graphics/ruby-rqrcode-core 1.1.0

2021-08-24 Thread Aaron Bieber
On Tue, 24 Aug 2021 at 14:22:03 -0400, Kurt Mosiejczuk wrote:
> rqrcode_core is a Ruby library for encoding QR Codes. The simple
> interface (with no runtime dependencies) allows you to create QR Code data
> structures.
> 
> ok to import?

OK abieber@ with devel added to CATEGORIES.

> 
> --Kurt




New: graphics/ruby-rqrcode-core 1.1.0

2021-08-24 Thread Kurt Mosiejczuk
rqrcode_core is a Ruby library for encoding QR Codes. The simple
interface (with no runtime dependencies) allows you to create QR Code data
structures.

ok to import?

--Kurt


ruby-rqrcode-core.tgz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2021-08-24 Thread George Koehler
CVSROOT:/cvs
Module name:ports
Changes by: gkoeh...@cvs.openbsd.org2021/08/24 12:13:19

Modified files:
lang/gcc/11: Makefile 
lang/gcc/8 : Makefile 

Log message:
Unbreak lang/gcc/11 on powerpc with USE_LLD = No

It broke when ld.lld became the default powerpc linker.  USE_LLD = No
is the same workaround as in gcc 8.  Add a comment to both 8 and 11,

# powerpc lld can't link C++ code from gcc, "ld: error: relocation
# refers to a discarded section:" .data.rel.ro.* or
# .sdata.DW.ref.__gxx_personality_v0
USE_LLD = No

ok pascal@ (maintainer)



CVS: cvs.openbsd.org: ports

2021-08-24 Thread Brian Callahan
CVSROOT:/cvs
Module name:ports
Changes by: bcal...@cvs.openbsd.org 2021/08/24 11:50:24

Modified files:
sysutils/diffoscope: Makefile distinfo 

Log message:
Update to diffoscope-181



Re: printf %n in editors/emacs

2021-08-24 Thread Theo Buehler
On Tue, Aug 24, 2021 at 01:09:14AM +0200, Jeremie Courreges-Anglas wrote:
> On Mon, Aug 23 2021, George Koehler  wrote:
> > Hi,
> >
> > When emacs-27.2p1-gtk3 catches a SIGSEGV and is in the foreground of
> > its terminal, then I get a printf %n in /var/log/messages:
> >
> > Aug 23 17:52:26 wisconsin emacs: *printf used %n: Fatal error %d: %n%s
> >
> > I first found this by accident, on OpenBSD/powerpc64, after I made a
> > wrong diff in my X server.  I caused a SIGSEGV in libX11; emacs caught
> > it and reached the %n in WRKSRC/src/emacs.c:shut_down_emacs()
> >
> > To reproduce the %n, it is enough to run "emacs" in one terminal and
> > "pkill -SEGV emacs" in another terminal.
> 
> Indeed.  Months ago I misread the #ifndef as #ifdef DOS_NT, as pointed
> out earlier by tb@.
> 
> The diff below avoids %n and simplifies the code, I'll suggest something
> similar upstream.  Tests/input/ok welcome.

Looks good to me and seems to work with the pkill -SEGV test.

ok tb

> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/editors/emacs/Makefile,v
> retrieving revision 1.101
> diff -u -p -r1.101 Makefile
> --- Makefile  15 Jul 2021 19:26:25 -  1.101
> +++ Makefile  23 Aug 2021 23:08:30 -
> @@ -4,7 +4,7 @@ COMMENT=  GNU editor: extensible, custom
>  
>  VERSION= 27.2
>  DISTNAME=emacs-${VERSION}
> -REVISION=1
> +REVISION=2
>  
>  CATEGORIES=  editors
>  
> Index: patches/patch-src_emacs_c
> ===
> RCS file: patches/patch-src_emacs_c
> diff -N patches/patch-src_emacs_c
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-src_emacs_c 23 Aug 2021 23:08:30 -
> @@ -0,0 +1,35 @@
> +$OpenBSD$
> +
> +Don't use printf %n.
> +
> +Index: src/emacs.c
> +--- src/emacs.c.orig
>  src/emacs.c
> +@@ -2445,21 +2445,13 @@ shut_down_emacs (int sig, Lisp_Object stuff)
> +   reset_all_sys_modes ();
> +   if (sig && sig != SIGTERM)
> + {
> +-  static char const fmt[] = "Fatal error %d: %n%s\n";
> +-  char buf[max ((sizeof fmt - sizeof "%d%n%s\n"
> +- + INT_STRLEN_BOUND (int) + 1),
> +-min (PIPE_BUF, MAX_ALLOCA))];
> ++  static char const fmt[] = "Fatal error %d: ";
> ++  char buf[sizeof fmt - strlen ("%d") + INT_STRLEN_BOUND (int) + 1];
> +   char const *sig_desc = safe_strsignal (sig);
> +-  int nlen;
> +-  int buflen = snprintf (buf, sizeof buf, fmt, sig, , sig_desc);
> +-  if (0 <= buflen && buflen < sizeof buf)
> +-emacs_write (STDERR_FILENO, buf, buflen);
> +-  else
> +-{
> +-  emacs_write (STDERR_FILENO, buf, nlen);
> +-  emacs_write (STDERR_FILENO, sig_desc, strlen (sig_desc));
> +-  emacs_write (STDERR_FILENO, fmt + sizeof fmt - 2, 1);
> +-}
> ++  snprintf (buf, sizeof buf, fmt, sig);
> ++  emacs_write (STDERR_FILENO, buf, strlen (buf));
> ++  emacs_write (STDERR_FILENO, sig_desc, strlen (sig_desc));
> ++  emacs_write (STDERR_FILENO, "\n", 1);
> + }
> + }
> + #else
> 
> -- 
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE
> 



CVS: cvs.openbsd.org: ports

2021-08-24 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2021/08/24 09:03:23

Modified files:
shells/tcsh: Makefile distinfo 
Removed files:
shells/tcsh/patches: patch-sh_lex_c patch-tests_lexical_at 

Log message:
shells/tcsh: bugfix update to 6.22.04; from Josh Grosse



[New] devel/luaffi

2021-08-24 Thread Laurence Tratt
Please find attached a new port of LuaFFI:

  This is a library for calling C functions and manipulating C types from
  Lua. It is designed to be interface compatible with the FFI library in
  LuaJIT (see http://luajit.org/ext_ffi.html). It can parse C function
  declarations and struct definitions that have been directly copied out of
  C header files and into lua source as a string.

The main reason I've ported this (along with some help from edd@) is because
neovim is meant to be run with LuaJIT (which includes the FFI module as
standard) whereas we run it with normal Lua (which doesn't). A growing number
of neovim plugins try to import the FFI plugin and crash in unexpected ways
when it's not present. Having LuaFFI installed is sufficient for all the
plugins I've tried so far. My suggestion is that, if this port is acceptable
(see below), it would be sensible to add it as a RUN_DEPENDS for
editors/neovim -- it's a small enough dependency that I think it's worth it
to give plugins the illusion that we're using LuaJIT.

A quick word about the port itself. There is no official release of LuaFFI:
the seemingly de facto standard is on one of Facebook's github accounts.
Furthermore this version of LuaFFI wants to be built with luarocks, which we
don't have a port for (and which I'm told is some work to port). I've
therefore "built it manually" in the ports Makefile. Because the code is so
small, this ickiness seems just about tolerable to me.


Laurie


luaffi.tgz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2021-08-24 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2021/08/24 07:28:36

Modified files:
www/mozilla-firefox: Makefile distinfo 
www/firefox-i18n: Makefile.inc distinfo 

Log message:
www/mozilla-firefox: update to 91.0.2.

See https://www.mozilla.org/en-US/firefox/91.0.2/releasenotes/



Re: NEW: x11/lwm

2021-08-24 Thread Stefan Hagen
STeve Andre' wrote:
> 
> 
> On July 1, 2021 18:26:27 m...@sdf.org wrote:
> > Here is a new port x11/lwm/.
> > 
> > pkg/DESCR:
> > lwm is a window manager for X that tries to keep out of your face.
> > There are no icons, no button bars, no icon docks, no root menus,
> > no nothing: if you want all that, then other programs can provide
> > it. There's no configurability either: if you want that, you want
> > a different window manager; one that helps your operating system
> > in its evil conquest of your disc space and its annexation of your
> > physical memory.
> > 
> > http://www.jfc.org.uk/software/lwm.html
> 
> It would be nice if this could be imported. I have a friend who has been on
> the fence about using OpenBSD, but poking at me over the lack of lwm.
> Mostly in jest, but it seems worthy to have, and would let me needle him...

I tested lwm on amd64. It's a bit too minimal for me, but it works as 
described in the man page.

- portcheck -N complained about the missing CVS marker.
- the attached .tgz file, was in fact a tar file without gzip.

Attached again as proper tgz and the $OpenBSD:$ marker.

Looks good to me.

Best regards,
Stefan


lwm.tgz
Description: application/tar-gz


Re: [maintainer-update] mail/mu 1.6.3 -> 1.6.4

2021-08-24 Thread Omar Polo


Stefan Hagen  writes:

> Hi,
>
> Here is yet another mail/mu update.
>
> Port changes:
> * none, except version bump
>
> Software changes:
> * Add back the `h' keybinding to toggle HTML view in a gnus article
> * Bugfixes
>
> portcheck, lib-depends-check, make test: all happy on amd64.
>
> Best regards,
> Stefan

Build and works fine.  With the previous version mu4e would hang
pretty often and required me to stop the mu process, now I can't
reproduce.

Thanks,

Omar Polo



[update] sysutils/kubectl -> 1.22.1

2021-08-24 Thread karlis . mikelsons

Hello,

Please find attached diff to update kubectl to latest stable version 
1.22.1.

Tested on amd64 with custom hosted kubernetes cluster.

Kind regards,
KarlisCommon subdirectories: kubectl.orig/CVS and kubectl/CVS
diff -u kubectl.orig/Makefile kubectl/Makefile
--- kubectl.orig/Makefile	Tue Aug 24 11:35:03 2021
+++ kubectl/Makefile	Tue Aug 24 11:35:23 2021
@@ -4,7 +4,7 @@
 
 GH_ACCOUNT =		kubernetes
 GH_PROJECT =		kubernetes
-V =			1.20.6
+V =			1.22.1
 GH_TAGNAME =		v${V}
 PKGNAME =		kubectl-${V}
 
diff -u kubectl.orig/distinfo kubectl/distinfo
--- kubectl.orig/distinfo	Tue Aug 24 11:35:03 2021
+++ kubectl/distinfo	Tue Aug 24 11:35:53 2021
@@ -1,2 +1,2 @@
-SHA256 (kubernetes-1.20.6.tar.gz) = dZZIgSRJxO6PT9Yx7VdYnZTs6hDn1ShfXOiZEzYoxQA=
-SIZE (kubernetes-1.20.6.tar.gz) = 34478673
+SHA256 (kubernetes-1.22.1.tar.gz) = lOyT3ElzgRcOq2rHRhH050/udwVlto93rWQz7/EsoFE=
+SIZE (kubernetes-1.22.1.tar.gz) = 35986911
Common subdirectories: kubectl.orig/pkg and kubectl/pkg


[maintainer-update] mail/mu 1.6.3 -> 1.6.4

2021-08-24 Thread Stefan Hagen
Hi,

Here is yet another mail/mu update.

Port changes:
* none, except version bump

Software changes:
* Add back the `h' keybinding to toggle HTML view in a gnus article
* Bugfixes

portcheck, lib-depends-check, make test: all happy on amd64.

Best regards,
Stefan

Index: mail/mu/Makefile
===
RCS file: /cvs/ports/mail/mu/Makefile,v
retrieving revision 1.26
diff -u -p -u -p -r1.26 Makefile
--- mail/mu/Makefile18 Aug 2021 21:55:07 -  1.26
+++ mail/mu/Makefile24 Aug 2021 10:57:31 -
@@ -2,7 +2,7 @@
 
 COMMENT=   maildir indexer and searcher with emacs frontend
 
-V= 1.6.3
+V= 1.6.4
 GUILE_V=   2.2
 
 DISTNAME=  mu-$V
Index: mail/mu/distinfo
===
RCS file: /cvs/ports/mail/mu/distinfo,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 distinfo
--- mail/mu/distinfo18 Aug 2021 21:55:07 -  1.13
+++ mail/mu/distinfo24 Aug 2021 10:57:31 -
@@ -1,2 +1,2 @@
-SHA256 (mu-1.6.3.tar.xz) = /ihu68LZogYKZ8Nlrtfdem3h/hBPido2l22HNyAHVLY=
-SIZE (mu-1.6.3.tar.xz) = 867224
+SHA256 (mu-1.6.4.tar.xz) = UslUo9vQ3qzSqwwrH3if10rQuWvO8WK2nM5H1N5uN+s=
+SIZE (mu-1.6.4.tar.xz) = 867124



Re: mail/mu: malformed manpage mu-init(1)

2021-08-24 Thread Stefan Hagen
Omar Polo wrote:
> I've noticed something strange in the mu-init(1) manpage in the
> description for the --my-address option.  It's rendered as:
> 
> > [...]
> >  can be either a plain e-mail address (such as
> > f...@example.com), or a regular-expression (of the 'Basic POSIX'
> > flavor), wrapped in 0
> 
> The problem seems to be in the \B/\fR sequence.  I'm don't know roff, so
> I don't know how to fix it.  I'm attaching a small patch to show what's
> the intended behaviour.
>
> -flavor), wrapped in \B/\fR (such as \B/foo-.*@example\\.com\fR).
> +flavor), wrapped in / (such as /foo-.*@example\\.com).

I think there are two issues here.

1. \B is should probably be \fB in both cases.
2. "wrapped" means "/" on both sides, like "//"

I posted a pull request upstream. The issue should be corrected there,
because it is not specific to the OpenBSD port.

https://github.com/djcb/mu/pull/2105

Best Regards,
Stefan



Re: NEW: x11/lwm

2021-08-24 Thread STeve Andre'




On July 1, 2021 18:26:27 m...@sdf.org wrote:


Hello ports,

Here is a new port x11/lwm/.

pkg/DESCR:
lwm is a window manager for X that tries to keep out of your face. There
are no
icons, no button bars, no icon docks, no root menus, no nothing: if you
want all
that, then other programs can provide it. There's no configurability
either: if
you want that, you want a different window manager; one that helps your
operating system in its evil conquest of your disc space and its
annexation of
your physical memory.

http://www.jfc.org.uk/software/lwm.html


Thanks,

Mitch


It would be nice if this could be imported. I have a friend who has been on 
the fence about using OpenBSD, but poking at me over the lack of lwm.  
Mostly in jest, but it seems worthy to have, and would let me needle him...


--STeve Andre'



Sent with Aqua Mail for Android
https://www.mobisystems.com/aqua-mail


Re: NEW: security/py-hvac 0.10.6

2021-08-24 Thread Mikolaj Kucharski
On Mon, Aug 16, 2021 at 10:07:58AM +, Mikolaj Kucharski wrote:
> On Mon, Aug 09, 2021 at 06:41:02PM +, Mikolaj Kucharski wrote:
> > On Tue, Mar 23, 2021 at 10:53:08PM +, Mikolaj Kucharski wrote:
> > > On Tue, Mar 23, 2021 at 10:25:13PM +, Stuart Henderson wrote:
> > > > 
> > > > There don't seem to be any tests in the distribution, so TEST_DEPENDS
> > > > doesn't make much sense?
> > > > 
> > > > Port looks good to me but I have no way to test it.
> > > > 
> > > 
> > > Dropped TEST_DEPENDS. I've used it with Ansible:
> > > 
> > >   bindpw: "{{ lookup('hashi_vault', 'secret=secret/... }}"
> > > 
> > > to fetch secrets from Vault.
> > > 
> > 
> > Updated to 0.11.0
> > 
> > 
> > Information for inst:py3-hvac-0.11.0
> > 
> > Comment:
> > Python client library for Hashicorp Vault
> > 
> > Description:
> > HVAC allows accessing secrets stored in a Vault directly from
> > Python code.
> > 
> > An access token must be created first, using a separate tool
> > like vault or vault-client.
> > 
> > Maintainer: Mikolaj Kucharski 
> > 
> > WWW: https://github.com/hvac/hvac
> > 
> 
> Kind reminder. I've tested it with my own client script. It works here.
> 

Ping. Port attached for convenience.

Thread at https://marc.info/?t=16095211171=1=2

-- 
Regards,
 Mikolaj


py-hvac-0.11.0.port.tgz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2021-08-24 Thread Paco Esteban
CVSROOT:/cvs
Module name:ports
Changes by: p...@cvs.openbsd.org2021/08/24 01:00:27

Modified files:
www/ephemetoot : Makefile distinfo 

Log message:
update www/ephemetoot to 3.1.3

This includes florian's patch to archive media content.
Original diff by florian@, bumped a bit by me to make tests pass again.



CVS: cvs.openbsd.org: ports

2021-08-24 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2021/08/24 00:09:11

Modified files:
www/mozilla: mozilla.port.mk 

Log message:
www/mozilla/mozilla.port.mk: drop LDFLAGS="-Wl,--no-keep-memory", from brad

this option only meant something with ld.bfd and is a noop with ld.lld,
which all mozilla ports now use.



CVS: cvs.openbsd.org: ports

2021-08-24 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2021/08/24 00:06:35

Modified files:
www/seamonkey  : Makefile 

Log message:
www/seamonkey: switch to link with lld on i386, from brad

limit the number of threads used by lld to 2.