Re: [new] sysutils/rset

2022-10-04 Thread Ryan Freeman
On Tue, Oct 04, 2022 at 10:36:17AM +0200, Omar Polo wrote:
> % pkg_info rset
> Information for inst:rset-2.4
> 
> Comment:
> configure systems using any scripting language
> 
> Description:
> rset(1) operates by staging files on a remote system, then executing
> instructions embedded in the pln(5) files.  Any interpreter capable of
> running scripts read over a pipe may be specified.
> 
> The bundled utilities rinstall(1) and rsub(1) provide an easy means of
> installing and modifying configuration files, and capabilities are added
> by writing utility scripts which are sent along with configuration data.
> 
> Maintainer: Omar Polo 
> 
> WWW: https://scriptedconfiguration.org/
> 
> 
> 
> I've been using it a bit in the previous week, both against some local
> vms and a remote server.  it's been working fine and so far it's been
> fun to use.

I've been using this for a couple years now with no issues, neat
tool.  Glad to see a package, thanks!

> 
> ok to import?
> 



Re: NEW: devel/bazel

2022-10-04 Thread Stuart Henderson
On 2022/10/04 16:11, Matt Hildebrand wrote:
> Here is a draft port of Bazel, a polyglot build tool.
> 
> Web site: https://bazel.build/
> 
> In my testing, this port works on amd64. The build runs out of
> memory on i386. I don't have hardware suitable for testing on
> other architectures.

How are your login.conf limits for the relevant login class?
(the "pbuild" class if you are using PORTS_PRIVSEP=Yes in mk.conf
as would be recommended, "staff" for the initial user created
during install).

> Would anyone like to test it and/or provide comments? (Thanks go
> to the developer who offered suggestions on an earlier version of
> this port. I tried to incorporate all of them.)

Some quick comments, I haven't gone through a full build of it yet

please remove MODPY_VERSION, that is the default

ports builds should not be silent, set VERBOSE=yes in MAKE_ENV

it should run no more than MAKE_JOBS concurrent jobs during the build.
(actually I guess fixing that may fix i386 too).

> One detail is that `make clean` fails, because of a 'permission
> denied' error when attempting to delete a read-only directory. A
> simple `chmod` resolves the issue, but I didn't find a way in the
> makefile to invoke `chmod` at the right time.

try FIX_EXTRACT_PERMISSIONS=Yes

> Feedback/suggestions are welcome.
> 
> Thank you.




NEW: devel/bazel

2022-10-04 Thread Matt Hildebrand
Here is a draft port of Bazel, a polyglot build tool.

Web site: https://bazel.build/

In my testing, this port works on amd64. The build runs out of
memory on i386. I don't have hardware suitable for testing on
other architectures.

Would anyone like to test it and/or provide comments? (Thanks go
to the developer who offered suggestions on an earlier version of
this port. I tried to incorporate all of them.)

One detail is that `make clean` fails, because of a 'permission
denied' error when attempting to delete a read-only directory. A
simple `chmod` resolves the issue, but I didn't find a way in the
makefile to invoke `chmod` at the right time.

Feedback/suggestions are welcome.

Thank you.


bazel.tar.gz
Description: GNU Zip compressed data


[MAINTAINER UPDATE] archivers/zpaqfranz-55.16

2022-10-04 Thread tux0r
A new version is out - diff attached ..
no DNOJIT flavor because of the discussion I linked with the 55.15 diff :)

tux0r.


zpaqfranz-55.16.diff
Description: Binary data


register-plist tweak

2022-10-04 Thread Marc Espie
Index: infrastructure/bin/register-plist
===
RCS file: /cvs/ports/infrastructure/bin/register-plist,v
retrieving revision 1.31
diff -u -p -r1.31 register-plist
--- infrastructure/bin/register-plist   26 May 2022 06:55:06 -  1.31
+++ infrastructure/bin/register-plist   4 Oct 2022 14:04:48 -
@@ -272,6 +272,9 @@ sub compare_more
if ($self->{pkgpath} ne $self2->{pkgpath}) {
return Result::Different;
}
+   if ($self->{pattern} ne $self2->{pattern}) {
+   return Result::Different;
+   }
 
return $self->make_result(
OpenBSD::PackageName->from_string($self->{def})->compare(


Discussed this a bit with sthen@

At face value, pattern changes do not require bumps (pkg_add -u will happily
ignore them), but in many many cases, changes to them mean that something
in the dependency tree got fixed 
(like in the recent gimp/stable <-> gimp/snapshot fuck-up).

So it's much easier to "force the bump" so that people will get up-to-date
packages.

I could also force the bump in pkg_add and make things not comparable, but
it's not needed.


Another possibility would be to have it be Result::UpdatableButShowDiff 
(which will require combining with the next possible return combo, obviously,
in case it is Result::Different).

Unless people strongly object, I'm going to lean towards Result::Different,
which is also help making sure stable packages are rebuilt.



UPDATE: libdvdread 6.1.3

2022-10-04 Thread Brad Smith
Here is an update to libdvdread 6.1.3.


libdvdread (6.1.3)
 * Improvements for OpenBSD
 * Fix crashes on some DVD (0 PCGI SRP)
 * Misc source fixes and cleanups, including fixes for recent toolchains


Index: Makefile
===
RCS file: /home/cvs/ports/devel/libdvdread/Makefile,v
retrieving revision 1.36
diff -u -p -u -p -r1.36 Makefile
--- Makefile11 Mar 2022 18:50:30 -  1.36
+++ Makefile18 Sep 2022 06:02:42 -
@@ -1,8 +1,7 @@
 COMMENT =  accessing DVD files
 
-VER =  6.1.2
+VER =  6.1.3
 DISTNAME = libdvdread-${VER}
-REVISION = 0
 CATEGORIES =   devel
 MASTER_SITES = https://download.videolan.org/pub/videolan/libdvdread/${VER}/
 EXTRACT_SUFX = .tar.bz2
Index: distinfo
===
RCS file: /home/cvs/ports/devel/libdvdread/distinfo,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 distinfo
--- distinfo11 Oct 2021 06:11:29 -  1.15
+++ distinfo18 Sep 2022 05:53:34 -
@@ -1,2 +1,2 @@
-SHA256 (libdvdread-6.1.2.tar.bz2) = 
zBkPVTdYztdXGFnjAfgCy0gh8WTQK/rP0yDBSk4Np2M=
-SIZE (libdvdread-6.1.2.tar.bz2) = 391536
+SHA256 (libdvdread-6.1.3.tar.bz2) = 
zjVFSZeiCMvlDpEjLw5z+xrDRxllgToTuHMKjxihU2k=
+SIZE (libdvdread-6.1.3.tar.bz2) = 395439
Index: patches/patch-src_bitreader_c
===
RCS file: patches/patch-src_bitreader_c
diff -N patches/patch-src_bitreader_c
--- patches/patch-src_bitreader_c   11 Mar 2022 18:50:30 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,62 +0,0 @@
-avoid reading the next byte ahead
-f6774c386f404b49a13d9027567d57e104c5a415
-
-Index: src/bitreader.c
 src/bitreader.c.orig
-+++ src/bitreader.c
-@@ -26,12 +26,11 @@
- 
- #include "dvdread/bitreader.h"
- 
--int dvdread_getbits_init(getbits_state_t *state, uint8_t *start) {
-+int dvdread_getbits_init(getbits_state_t *state, const uint8_t *start) {
-   if ((state == NULL) || (start == NULL)) return 0;
-   state->start = start;
-   state->bit_position = 0;
-   state->byte_position = 0;
--  state->byte = start[0];
-   return 1;
- }
- 
-@@ -47,37 +46,32 @@ uint32_t dvdread_getbits(getbits_state_t *state, uint3
- 
-   if ((state->bit_position) > 0) {  /* Last getbits left us in the middle of 
a byte. */
- if (number_of_bits > (8-state->bit_position)) { /* this getbits will span 
2 or more bytes. */
--  byte = state->byte;
-+  byte = state->start[state->byte_position] << state->bit_position;
-   byte = byte >> (state->bit_position);
-   result = byte;
-   number_of_bits -= (8-state->bit_position);
-   state->bit_position = 0;
-   state->byte_position++;
--  state->byte = state->start[state->byte_position];
- } else {
--  byte=state->byte;
--  state->byte = state->byte << number_of_bits;
-+  byte = state->start[state->byte_position] << state->bit_position;
-   byte = byte >> (8 - number_of_bits);
-   result = byte;
-   state->bit_position += number_of_bits; /* Here it is impossible for 
bit_position > 8 */
-   if (state->bit_position == 8) {
- state->bit_position = 0;
- state->byte_position++;
--state->byte = state->start[state->byte_position];
-   }
-   number_of_bits = 0;
- }
-   }
-   if ((state->bit_position) == 0) {
- while (number_of_bits > 7) {
--  result = (result << 8) + state->byte;
-+  result = (result << 8) + state->start[state->byte_position];
-   state->byte_position++;
--  state->byte = state->start[state->byte_position];
-   number_of_bits -= 8;
- }
- if (number_of_bits > 0) { /* number_of_bits < 8 */
--  byte = state->byte;
--  state->byte = state->byte << number_of_bits;
-+  byte = state->start[state->byte_position] << state->bit_position;
-   state->bit_position += number_of_bits; /* Here it is impossible for 
bit_position > 7 */
-   byte = byte >> (8 - number_of_bits);
-   result = (result << number_of_bits) + byte;
Index: patches/patch-src_dvd_input_c
===
RCS file: patches/patch-src_dvd_input_c
diff -N patches/patch-src_dvd_input_c
--- patches/patch-src_dvd_input_c   11 Mar 2022 18:50:30 -  1.8
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,15 +0,0 @@
-Use correct name of the libdvdcss shared library on OpenBSD.
-1c031048907b72c4757926a06f2bc5fac42fba15
-
-Index: src/dvd_input.c
 src/dvd_input.c.orig
-+++ src/dvd_input.c
-@@ -346,6 +346,8 @@ int dvdinput_setup(void *priv, dvd_logger_cb *logcb)
-   #define CSS_LIB "libdvdcss-2.dll"
- #elif defined(__OS2__)
-   #define CSS_LIB "dvdcss2.dll"
-+#elif defined(__OpenBSD__)
-+  #define CSS_LIB "libdvdcss.so"
- #else
-   #define CSS_LIB "libdvdcss.so.2"
- #endif
Index: patches/patch-src_dvd_reader_c
===
RCS file: patches/patch-src_dv

Re: [new] devel/py-timelib

2022-10-04 Thread Stuart Henderson
On 2022/10/04 16:18, Uwe Werler wrote:
> Ping - except some compiler warnings it works.

With tweaks. This one is OK sthen@



py-timelib.tgz
Description: application/tar-gz


UPDATE: dnsmasq 2.87

2022-10-04 Thread Brad Smith
Here is an update to dnsmasq 2.87.


Index: Makefile
===
RCS file: /home/cvs/ports/net/dnsmasq/Makefile,v
retrieving revision 1.62
diff -u -p -u -p -r1.62 Makefile
--- Makefile24 Apr 2022 19:16:29 -  1.62
+++ Makefile26 Sep 2022 05:47:10 -
@@ -1,12 +1,11 @@
 COMMENT=   lightweight caching DNS forwarder, DHCP and TFTP server
 
-DISTNAME=  dnsmasq-2.86
-REVISION=  0
+DISTNAME=  dnsmasq-2.87
 CATEGORIES=net
-MASTER_SITES=  https://www.thekelleys.org.uk/dnsmasq/
+MASTER_SITES=  https://thekelleys.org.uk/dnsmasq/
 EXTRACT_SUFX=  .tar.xz
 
-HOMEPAGE=  https://www.thekelleys.org.uk/dnsmasq/doc.html
+HOMEPAGE=  https://dnsmasq.org/
 
 MAINTAINER=Brad Smith 
 
Index: distinfo
===
RCS file: /home/cvs/ports/net/dnsmasq/distinfo,v
retrieving revision 1.41
diff -u -p -u -p -r1.41 distinfo
--- distinfo7 Oct 2021 21:39:03 -   1.41
+++ distinfo26 Sep 2022 05:47:27 -
@@ -1,2 +1,2 @@
-SHA256 (dnsmasq-2.86.tar.xz) = KNUs/J4gBKxPhSdPUrMuFke028l2G4Ln3h5BxJkH6wg=
-SIZE (dnsmasq-2.86.tar.xz) = 531404
+SHA256 (dnsmasq-2.87.tar.xz) = AijANkp/I1b9fn8VSZN8vzCZp407LrG6W7DDHiuJ3no=
+SIZE (dnsmasq-2.87.tar.xz) = 540528
Index: patches/patch-man_dnsmasq_8
===
RCS file: /home/cvs/ports/net/dnsmasq/patches/patch-man_dnsmasq_8,v
retrieving revision 1.30
diff -u -p -u -p -r1.30 patch-man_dnsmasq_8
--- patches/patch-man_dnsmasq_8 11 Mar 2022 19:45:55 -  1.30
+++ patches/patch-man_dnsmasq_8 13 Aug 2022 05:36:50 -
@@ -17,8 +17,8 @@ Index: man/dnsmasq.8
  .TP
  .B \-v, --version
  Print the version number.
-@@ -2098,7 +2097,7 @@ in the configuration file included. Secondly, the file
- therein is updated when dnsmasq receives SIGHUP.
+@@ -2178,7 +2177,7 @@ and /share/ads-domains.gz containing a compressed
+ list of ad server domains will save disk space with large ad-server 
blocklists.
  .SH CONFIG FILE
  At startup, dnsmasq reads
 -.I /etc/dnsmasq.conf,
@@ -26,7 +26,7 @@ Index: man/dnsmasq.8
  if it exists. (On
  FreeBSD, the file is 
  .I /usr/local/etc/dnsmasq.conf
-@@ -2555,7 +2554,7 @@ dnsmasq has no direct way of determining the charset i
+@@ -2637,7 +2636,7 @@ dnsmasq has no direct way of determining the charset i
  assume that it is the system default. 
   
  .SH FILES
Index: patches/patch-src_config_h
===
RCS file: /home/cvs/ports/net/dnsmasq/patches/patch-src_config_h,v
retrieving revision 1.27
diff -u -p -u -p -r1.27 patch-src_config_h
--- patches/patch-src_config_h  11 Mar 2022 19:45:55 -  1.27
+++ patches/patch-src_config_h  11 Mar 2022 21:52:29 -
@@ -12,7 +12,7 @@ Index: src/config.h
  #define TFTP_MAX_CONNECTIONS 50 /* max simultaneous connections */
  #define LOG_MAX 5 /* log-queue length */
  #define RANDFILE "/dev/urandom"
-@@ -212,7 +212,7 @@ RESOLVFILE
+@@ -216,7 +216,7 @@ RESOLVFILE
  #   if defined(__FreeBSD__)
  #  define CONFFILE "/usr/local/etc/dnsmasq.conf"
  #   else
Index: patches/patch-src_rfc3315_c
===
RCS file: patches/patch-src_rfc3315_c
diff -N patches/patch-src_rfc3315_c
--- patches/patch-src_rfc3315_c 24 Apr 2022 19:16:29 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,161 +0,0 @@
-Fix write-after-free error in DHCPv6 code. CVE-2022-0934 refers.
-03345ecefeb0d82e3c3a4c28f27c3554f0611b39
-
-Index: src/rfc3315.c
 src/rfc3315.c.orig
-+++ src/rfc3315.c
-@@ -33,9 +33,9 @@ struct state {
-   unsigned int mac_len, mac_type;
- };
- 
--static int dhcp6_maybe_relay(struct state *state, void *inbuff, size_t sz, 
-+static int dhcp6_maybe_relay(struct state *state, unsigned char *inbuff, 
size_t sz, 
-struct in6_addr *client_addr, int is_unicast, 
time_t now);
--static int dhcp6_no_relay(struct state *state, int msg_type, void *inbuff, 
size_t sz, int is_unicast, time_t now);
-+static int dhcp6_no_relay(struct state *state, int msg_type, unsigned char 
*inbuff, size_t sz, int is_unicast, time_t now);
- static void log6_opts(int nest, unsigned int xid, void *start_opts, void 
*end_opts);
- static void log6_packet(struct state *state, char *type, struct in6_addr 
*addr, char *string);
- static void log6_quiet(struct state *state, char *type, struct in6_addr 
*addr, char *string);
-@@ -104,12 +104,12 @@ unsigned short dhcp6_reply(struct dhcp_context *contex
- }
- 
- /* This cost me blood to write, it will probably cost you blood to understand 
- srk. */
--static int dhcp6_maybe_relay(struct state *state, void *inbuff, size_t sz, 
-+static int dhcp6_maybe_relay(struct state *state, unsigned char *inbuff, 
size_t sz, 
-struct in6_addr *client_addr, int is_unicast, 
time_t now)
- {
-   void *end = inbuff + sz;
-   void *opts = inbuff + 34;
--  

UPDATE: SVT-AV1 1.2.1

2022-10-04 Thread Brad Smith
Here is an update to SVT-AV1 1.2.1.


## [1.2.1] - 2022-08-15

- Fix a crash at the end of the encode that may occur when an invalid metadata 
packet is sent with the EOS packet

Build, Cleanup
- y4m header pasring code cleanup
- API cleanup and enhancements adding string options for RC mode
- Added option to build without app / dec / enc using the build.sh / build.bat 
scripts


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/svt-av1/Makefile,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 Makefile
--- Makefile8 Aug 2022 05:23:20 -   1.9
+++ Makefile7 Sep 2022 04:07:45 -
@@ -2,7 +2,7 @@ ONLY_FOR_ARCHS= ${LP64_ARCHS} i386
 
 COMMENT=   scalable AV1 encoder/decoder
 
-VER=   1.2.0
+VER=   1.2.1
 DISTNAME=  SVT-AV1-v${VER}
 PKGNAME=   svt-av1-${VER}
 CATEGORIES=multimedia
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/svt-av1/distinfo,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 distinfo
--- distinfo8 Aug 2022 05:23:20 -   1.8
+++ distinfo7 Sep 2022 04:08:02 -
@@ -1,2 +1,2 @@
-SHA256 (SVT-AV1-v1.2.0.tar.bz2) = DyoGD+vGUvRdDa3cedfgnstTdH/l/q/jLoWkEAF+hRI=
-SIZE (SVT-AV1-v1.2.0.tar.bz2) = 9556514
+SHA256 (SVT-AV1-v1.2.1.tar.bz2) = gFgn2qiu3sTxNiuVnzdwdeKoEWgL/Ha29Pvy705xAdQ=
+SIZE (SVT-AV1-v1.2.1.tar.bz2) = 9556903



UPDATE: libbluray 1.3.3

2022-10-04 Thread Brad Smith
Here is an update to libbluray 1.3.3.


2022-09-19: Version 1.3.3
- Initial support for Java 18.
- Add support for OpenBSD operating system.
- Improve support for FreeBSD, NetBSD and DragonFlyBSD
- Improve Java 17 support.

2022-06-28: Version 1.3.2
- Fix build/run failure after Oracle Java CPU for April 2022


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/libbluray/Makefile,v
retrieving revision 1.22
diff -u -p -u -p -r1.22 Makefile
--- Makefile24 Mar 2022 16:27:34 -  1.22
+++ Makefile20 Sep 2022 16:51:25 -
@@ -1,6 +1,6 @@
 COMMENT =  library supporting Blu-ray playback
 
-V =1.3.1
+V =1.3.3
 DISTNAME = libbluray-${V}
 CATEGORIES =   multimedia
 
@@ -22,11 +22,8 @@ LIB_DEPENDS =converters/libiconv \
textproc/libxml
 BUILD_DEPENDS =devel/bison
 
-AUTOCONF_VERSION = 2.69
-AUTOMAKE_VERSION = 1.16
-
 SEPARATE_BUILD =   Yes
-CONFIGURE_STYLE =  autoreconf
+CONFIGURE_STYLE =  gnu
 YACC = ${LOCALBASE}/bin/bison -y
 CONFIGURE_ARGS +=  --disable-bdjava-jar \
--disable-doxygen-doc \
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/libbluray/distinfo,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 distinfo
--- distinfo24 Mar 2022 16:27:35 -  1.10
+++ distinfo20 Sep 2022 16:51:44 -
@@ -1,2 +1,2 @@
-SHA256 (libbluray-1.3.1.tar.bz2) = wksPQcW3N7u2XFRP5jSVY3p3HBClGd/IAudp8RK0O3U=
-SIZE (libbluray-1.3.1.tar.bz2) = 754867
+SHA256 (libbluray-1.3.3.tar.bz2) = WP9Szc7mTFXcw8d3ocOftBq9lRuSeXjk0raBG5GTpIg=
+SIZE (libbluray-1.3.3.tar.bz2) = 761335
Index: patches/patch-Makefile_am
===
RCS file: patches/patch-Makefile_am
diff -N patches/patch-Makefile_am
--- patches/patch-Makefile_am   11 Mar 2022 19:39:20 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,24 +0,0 @@
-- Allow libbluray to be able to find mount points using the getfsstat() API.
-- Remove setting _POSIX_C_SOURCE as that breaks building some of the BSD 
headers
-  due to BSD types.
-
-Index: Makefile.am
 Makefile.am.orig
-+++ Makefile.am
-@@ -25,7 +25,6 @@ AM_CFLAGS = \
- 
- AM_CPPFLAGS = \
-   -D_ISOC99_SOURCE \
--  -D_POSIX_C_SOURCE=$(POSIX_C_SOURCE) \
-   -D_REENTRANT \
-   \
-   -I$(top_srcdir)/src \
-@@ -203,7 +202,7 @@ libbluray_la_SOURCES+= \
-   src/file/dirs_xdg.c \
-   src/file/dl_posix.c \
-   src/file/file_posix.c \
--  src/file/mount.c
-+  src/file/mount_getfsstat.c
- endif
- endif
- 
Index: patches/patch-jni_jni_h
===
RCS file: patches/patch-jni_jni_h
diff -N patches/patch-jni_jni_h
--- patches/patch-jni_jni_h 24 Mar 2022 16:27:35 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,14 +0,0 @@
-Point to a real file.
-
-Index: jni/jni.h
 jni/jni.h.orig
-+++ jni/jni.h
-@@ -43,7 +43,7 @@
- /* jni_md.h contains the machine-dependent typedefs for jbyte, jint 
-and jlong */ 
- 
--#include "jni_md.h"
-+#include "netbsd/jni_md.h"
- 
- #ifdef __cplusplus
- extern "C" {
Index: patches/patch-src_file_mount_getfsstat_c
===
RCS file: patches/patch-src_file_mount_getfsstat_c
diff -N patches/patch-src_file_mount_getfsstat_c
--- patches/patch-src_file_mount_getfsstat_c11 Mar 2022 19:39:20 -  
1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,68 +0,0 @@
-Re-add the old Darwin code which utilized getfsstat().
-
-Index: src/file/mount_getfsstat.c
 src/file/mount_getfsstat.c.orig
-+++ src/file/mount_getfsstat.c
-@@ -0,0 +1,62 @@
-+/*
-+ * This file is part of libbluray
-+ * Copyright (C) 2014  VideoLAN
-+ *
-+ * This library is free software; you can redistribute it and/or
-+ * modify it under the terms of the GNU Lesser General Public
-+ * License as published by the Free Software Foundation; either
-+ * version 2.1 of the License, or (at your option) any later version.
-+ *
-+ * This library 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
-+ * Lesser General Public License for more details.
-+ *
-+ * You should have received a copy of the GNU Lesser General Public
-+ * License along with this library. If not, see
-+ * .
-+ */
-+
-+#if HAVE_CONFIG_H
-+#include "config.h"
-+#endif
-+
-+#include "mount.h"
-+
-+#include "util/strutl.h"
-+
-+#include 
-+
-+#include 
-+#include 
-+#include 
-+#include 
-+
-+char *mount_get_mountpoint(const char *device_path)
-+{
-+struct stat st;
-+if (stat (device_path, &st) ) {
-+return str_dup(devic

UPDATE: jpeg 2.1.4

2022-10-04 Thread Brad Smith
Here is an update to jpeg 2.1.4.


Index: Makefile
===
RCS file: /home/cvs/ports/graphics/jpeg/Makefile,v
retrieving revision 1.74
diff -u -p -u -p -r1.74 Makefile
--- Makefile21 Mar 2022 12:58:33 -  1.74
+++ Makefile27 Sep 2022 04:02:38 -
@@ -1,6 +1,6 @@
 COMMENT=   SIMD-accelerated JPEG codec replacement of libjpeg
 
-V= 2.1.3
+V= 2.1.4
 DISTNAME=  libjpeg-turbo-${V}
 PKGNAME=   jpeg-${V}
 EPOCH= 0
Index: distinfo
===
RCS file: /home/cvs/ports/graphics/jpeg/distinfo,v
retrieving revision 1.24
diff -u -p -u -p -r1.24 distinfo
--- distinfo21 Mar 2022 12:58:33 -  1.24
+++ distinfo27 Sep 2022 04:02:46 -
@@ -1,2 +1,2 @@
-SHA256 (libjpeg-turbo-2.1.3.tar.gz) = 
RnsxCQODKwM/5WzTdyDRtzpqO9AXHb9v8LYgOF9PdtA=
-SIZE (libjpeg-turbo-2.1.3.tar.gz) = 2260756
+SHA256 (libjpeg-turbo-2.1.4.tar.gz) = 
0+0moRMaE2ht/KSTXlIOt8kK52+8RdmLtQqNyGIwNCs=
+SIZE (libjpeg-turbo-2.1.4.tar.gz) = 2261822
Index: patches/patch-wrjpgcom_c
===
RCS file: /home/cvs/ports/graphics/jpeg/patches/patch-wrjpgcom_c,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 patch-wrjpgcom_c
--- patches/patch-wrjpgcom_c21 Mar 2022 12:58:33 -  1.7
+++ patches/patch-wrjpgcom_c27 Sep 2022 04:03:02 -
@@ -1,7 +1,7 @@
 Index: wrjpgcom.c
 --- wrjpgcom.c.orig
 +++ wrjpgcom.c
-@@ -453,7 +453,7 @@ main(int argc, char **argv)
+@@ -438,7 +438,7 @@ main(int argc, char **argv)
(unsigned int)MAX_COM_LENGTH);
exit(EXIT_FAILURE);
  }
@@ -10,7 +10,7 @@ Index: wrjpgcom.c
  for (;;) {
comment_length = (unsigned int)strlen(comment_arg);
if (comment_length > 0 && comment_arg[comment_length - 1] == '"') {
-@@ -468,8 +468,8 @@ main(int argc, char **argv)
+@@ -453,8 +453,8 @@ main(int argc, char **argv)
  (unsigned int)MAX_COM_LENGTH);
  exit(EXIT_FAILURE);
}



UPDATE: aom 3.5.0

2022-10-04 Thread Brad Smith
Here is an update to aom 3.5.0.


2022-08-31 v3.5.0

  This release is ABI compatible with the last one, including speedup and memory
  optimizations, and new APIs and features.
  - New Features
* Support for frame parallel encode for larger number of threads. --fp-mt
  flag is available for all build configurations.
* New codec control AV1E_GET_NUM_OPERATING_POINTS
  - Speedup and Memory Optimizations
* Speed-up multithreaded encoding for good quality mode for larger number of
  threads through frame parallel encoding:
  o 30-34% encode time reduction for 1080p, 16 threads, 1x1 tile
configuration (tile_rows x tile_columns)
  o 18-28% encode time reduction for 1080p, 16 threads, 2x4 tile
configuration
  o 18-20% encode time reduction for 2160p, 32 threads, 2x4 tile
configuration
* 16-20% speed-up for speed=6 to 8 in still-picture encoding mode
* 5-6% heap memory reduction for speed=6 to 10 in real-time encoding mode
* Improvements to the speed for speed=7, 8 in real-time encoding mode
* Improvements to the speed for speed=9, 10 in real-time screen encoding
  mode
* Optimizations to improve multi-thread efficiency in real-time encoding
  mode
* 10-15% speed up for SVC with temporal layers
* SIMD optimizations:
  o Improve av1_quantize_fp_32x32_neon() 1.05x to 1.24x faster
  o Add aom_highbd_quantize_b{,_32x32,_64x64}_adaptive_neon() 3.15x to 5.6x
faster than "C"
  o Improve av1_quantize_fp_64x64_neon() 1.17x to 1.66x faster
  o Add aom_quantize_b_avx2() 1.4x to 1.7x faster than aom_quantize_b_avx()
  o Add aom_quantize_b_32x32_avx2() 1.4x to 2.3x faster than
aom_quantize_b_32x32_avx()
  o Add aom_quantize_b_64x64_avx2() 2.0x to 2.4x faster than
aom_quantize_b_64x64_ssse3()
  o Add aom_highbd_quantize_b_32x32_avx2() 9.0x to 10.5x faster than
aom_highbd_quantize_b_32x32_c()
  o Add aom_highbd_quantize_b_64x64_avx2() 7.3x to 9.7x faster than
aom_highbd_quantize_b_64x64_c()
  o Improve aom_highbd_quantize_b_avx2() 1.07x to 1.20x faster
  o Improve av1_quantize_fp_avx2() 1.13x to 1.49x faster
  o Improve av1_quantize_fp_32x32_avx2() 1.07x to 1.54x faster
  o Improve av1_quantize_fp_64x64_avx2()  1.03x to 1.25x faster
  o Improve av1_quantize_lp_avx2() 1.07x to 1.16x faster
  - Bug fixes including but not limited to
* aomedia:3206 Assert that skip_width > 0 for deconvolve function
* aomedia:3278 row_mt enc: Delay top-right sync when intraBC is enabled
* aomedia:3282 blend_a64_*_neon: fix bus error in armv7
* aomedia:3283 FRAME_PARALLEL: Propagate border size to all cpis
* aomedia:3283 RESIZE_MODE: Fix incorrect strides being used for motion
  search
* aomedia:3286 rtc-svc: Fix to dynamic_enable spatial layers
* aomedia:3289 rtc-screen: Fix to skipping inter-mode test in nonrd
* aomedia:3289 rtc-screen: Fix for skip newmv on flat blocks
* aomedia:3299 Fix build failure with CONFIG_TUNE_VMAF=1
* aomedia:3296 Fix the conflict --enable-tx-size-search=0 with nonrd mode
  --enable-tx-size-search will be ignored in non-rd pick mode
* aomedia:3304 Fix off-by-one error of max w/h in validate_config
* aomedia:3306 Do not use pthread_setname_np on GNU/Hurd
* aomedia:3325 row-multithreading produces invalid bitstream in some cases
* chromium:1346938, chromium:1338114
* compiler_flags.cmake: fix flag detection w/cmake 3.17-3.18.2
* tools/*.py: update to python3
* aom_configure.cmake: detect PIE and set CONFIG_PIC
* test/simd_cmp_impl: use explicit types w/CompareSimd*
* rtc: Fix to disable segm for aq-mode=3
* rtc: Fix to color_sensitivity in variance partition
* rtc-screen: Fix bsize in model rd computation for intra chroma
* Fixes to ensure the correct behavior of the encoder algorithms (like
  segmentation, computation of statistics, etc.)


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/aom/Makefile,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 Makefile
--- Makefile7 Aug 2022 10:44:13 -   1.17
+++ Makefile24 Sep 2022 04:23:09 -
@@ -2,7 +2,7 @@ COMMENT=Alliance for Open Media AV1 vid
 
 GH_ACCOUNT=jbeich
 GH_PROJECT=aom
-GH_TAGNAME=v3.4.0
+GH_TAGNAME=v3.5.0
 CATEGORIES=multimedia
 
 SHARED_LIBS=   aom 4.0
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/aom/distinfo,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 distinfo
--- distinfo7 Aug 2022 10:44:13 -   1.14
+++ distinfo24 Sep 2022 04:23:17 -
@@ -1,2 +1,2 @@
-SHA256 (aom-3.4.0.tar.gz) = gx/40f43m+sgdHIt1r7yU6JESWXCeEomf/q5GDFj5wA=
-SIZE (aom-3.4.0.tar.gz) = 5175309
+SHA256 (aom-3.5.0.tar.gz) = AYnqL1rmuIPIOyRTBd54T2XARhvNcAzJi73FirlXxuc=
+SIZE (aom-3.5.0.tar.gz) = 5213

Re: UPDATE: OpenAL 1.22.2

2022-10-04 Thread Brad Smith
On Tue, Oct 04, 2022 at 12:45:50PM +0100, Stuart Henderson wrote:
> On 2022/09/09 22:06, Brad Smith wrote:
> > Here is an update to OpenAL 1.22.2.
> 
> I guess this is a maintainer timeout by now?
> 
> It probably makes sense to disable picking up pipewire too
> (ALSOFT_BACKEND_PIPEWIRE)

No response so far.

 
Index: Makefile
===
RCS file: /home/cvs/ports/audio/openal/Makefile,v
retrieving revision 1.60
diff -u -p -u -p -r1.60 Makefile
--- Makefile11 Mar 2022 18:20:22 -  1.60
+++ Makefile4 Oct 2022 14:39:33 -
@@ -1,13 +1,12 @@
 COMMENT =  cross-platform 3D audio API
 
-V =1.21.1
-EPOCH =0
+V =1.22.2
 DISTNAME = openal-soft-$V
 PKGNAME =  openal-$V
-REVISION = 3
+EPOCH =0
 CATEGORIES =   audio
 
-SHARED_LIBS =  openal  4.1
+SHARED_LIBS =  openal  4.2
 
 HOMEPAGE = https://openal-soft.org/
 
@@ -29,6 +28,8 @@ CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenB
-DALSOFT_UTILS=On \
-DALSOFT_EXAMPLES=Off \
-DALSOFT_REQUIRE_SNDIO=On \
+   -DALSOFT_RTKIT=Off \
+   -DALSOFT_BACKEND_PIPEWIRE=Off \
-DALSOFT_BACKEND_WAVE=Off \
-DALSOFT_CPUEXT_SSE=Off \
-DALSOFT_CPUEXT_SSE2=Off \
Index: distinfo
===
RCS file: /home/cvs/ports/audio/openal/distinfo,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 distinfo
--- distinfo25 Jul 2021 17:33:48 -  1.13
+++ distinfo9 Sep 2022 23:10:40 -
@@ -1,2 +1,2 @@
-SHA256 (openal-soft-1.21.1.tar.bz2) = 
yK12fpoyMN9mdWohzI6/IYqdRyiPJRQBSDIgTmZq9dg=
-SIZE (openal-soft-1.21.1.tar.bz2) = 524787
+SHA256 (openal-soft-1.22.2.tar.bz2) = 
rpTMlc2na3zG6S44wlMa+CFI5209iM6Zbikooep8PSA=
+SIZE (openal-soft-1.22.2.tar.bz2) = 606151
Index: patches/patch-CMakeLists_txt
===
RCS file: /home/cvs/ports/audio/openal/patches/patch-CMakeLists_txt,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt11 Mar 2022 18:20:22 -  1.11
+++ patches/patch-CMakeLists_txt9 Sep 2022 23:11:22 -
@@ -1,7 +1,7 @@
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -1398,7 +1398,7 @@ endif()
+@@ -1508,7 +1508,7 @@ endif()
  
  if(ALSOFT_INSTALL_CONFIG)
  install(FILES alsoftrc.sample
Index: patches/patch-alc_alconfig_cpp
===
RCS file: /home/cvs/ports/audio/openal/patches/patch-alc_alconfig_cpp,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-alc_alconfig_cpp
--- patches/patch-alc_alconfig_cpp  11 Mar 2022 18:20:22 -  1.3
+++ patches/patch-alc_alconfig_cpp  9 Sep 2022 23:11:20 -
@@ -1,7 +1,7 @@
 Index: alc/alconfig.cpp
 --- alc/alconfig.cpp.orig
 +++ alc/alconfig.cpp
-@@ -318,7 +318,7 @@ void ReadALConfig()
+@@ -364,7 +364,7 @@ void ReadALConfig()
  
  void ReadALConfig()
  {
Index: patches/patch-alc_backends_sndio_cpp
===
RCS file: patches/patch-alc_backends_sndio_cpp
diff -N patches/patch-alc_backends_sndio_cpp
--- patches/patch-alc_backends_sndio_cpp11 Mar 2022 18:20:22 -  
1.6
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,461 +0,0 @@
-Simplify channel handling in the sndio backend
-620836f173ae6fc4505d0634984e0f2c46166367
-
-Use non-block mode for sndio capture
-1fd4c865fc084f134363db5155361d5483679235
-
-Fix crashes in SndioCapture::recordProc
-a4b0a3d7b3ec271243cfda4780e567e49f2b37b7
-
-Use a local unique_ptr array instead of a struct member
-for the sndio poll fds.
-2df78e49b1359e7603e3816270737c68cccd5b05
-
-Index: alc/backends/sndio.cpp
 alc/backends/sndio.cpp.orig
-+++ alc/backends/sndio.cpp
-@@ -22,6 +22,7 @@
- 
- #include "backends/sndio.h"
- 
-+#include 
- #include 
- #include 
- #include 
-@@ -43,7 +44,12 @@ namespace {
- 
- static const char sndio_device[] = "SndIO Default";
- 
-+struct SioPar : public sio_par {
-+SioPar() { sio_initpar(this); }
- 
-+void clear() { sio_initpar(this); }
-+};
-+
- struct SndioPlayback final : public BackendBase {
- SndioPlayback(ALCdevice *device) noexcept : BackendBase{device} { }
- ~SndioPlayback() override;
-@@ -56,6 +62,7 @@ struct SndioPlayback final : public BackendBase {
- void stop() override;
- 
- sio_hdl *mSndHandle{nullptr};
-+uint mFrameStep{};
- 
- al::vector mBuffer;
- 
-@@ -74,39 +81,29 @@ SndioPlayback::~SndioPlayback()
- 
- int SndioPlayback::mixerProc()
- {
--sio_par par;
--sio_initpar(&par);
--if(!sio_getpar(mSndHandle, &par))
--{
--mDevice->handleDisconnect("Failed to get device parameters");
--return 1;
--}
-+const size_t frameStep{mFrameStep};
-+const size_t frameSize{frameStep * mDevice->bytesFromFmt()};

update editors/ghostwriter 2.1.4 -> 2.1.6

2022-10-04 Thread Omar Polo
Hello,

simple update.  it was moved under the KDE wing and homepage is 404.
Don't know if in the future it should be moved under kde applications
due to this change, but at least for the moment i don't seem to find a
ghostwriter tarball in the KDE master site.

the changelog for 2.1.5 and 2.1.6 is only minor bugfixes and qt6
support.  sync WANTLIB too, it doesn't link to Qt5WebEngine, only to
the core and widgets.

ok?

Index: Makefile
===
RCS file: /home/cvs/ports/editors/ghostwriter/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- Makefile10 Jul 2022 17:34:05 -  1.19
+++ Makefile4 Oct 2022 14:33:55 -
@@ -3,20 +3,20 @@ USE_WXNEEDED =Yes
 
 COMMENT =  distraction-free Markdown editor
 
-GH_ACCOUNT =   wereturtle
+GH_ACCOUNT =   KDE
 GH_PROJECT =   ghostwriter
-GH_TAGNAME =   2.1.4
+GH_TAGNAME =   2.1.6
 
 CATEGORIES =   editors
 
-HOMEPAGE = https://wereturtle.github.io/ghostwriter/
+HOMEPAGE = https://invent.kde.org/office/ghostwriter
 
 # GPLv3 code, CC BY-SA 4.0 resources
 PERMIT_PACKAGE =   Yes
 
 WANTLIB += ${COMPILER_LIBCXX} GL Qt5Concurrent Qt5Core Qt5Gui
 WANTLIB += Qt5Network Qt5Positioning Qt5PrintSupport Qt5Qml Qt5QmlModels
-WANTLIB += Qt5Quick Qt5Svg Qt5WebChannel Qt5WebEngine Qt5WebEngineCore
+WANTLIB += Qt5Quick Qt5Svg Qt5WebChannel Qt5WebEngineCore
 WANTLIB += Qt5WebEngineWidgets Qt5Widgets c hunspell-1.7 m
 
 USE_GMAKE =Yes
Index: distinfo
===
RCS file: /home/cvs/ports/editors/ghostwriter/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo10 Jul 2022 17:34:05 -  1.8
+++ distinfo4 Oct 2022 11:15:12 -
@@ -1,2 +1,2 @@
-SHA256 (ghostwriter-2.1.4.tar.gz) = 
y8GwbFclAx0UeGnCK61MJj1n6H5bMoTFy/41ry8p3N4=
-SIZE (ghostwriter-2.1.4.tar.gz) = 7725770
+SHA256 (ghostwriter-2.1.6.tar.gz) = 
6sKIaPVgUxGBanbjxdQTh1PGyE1CiYPyJP8vXOWDMuA=
+SIZE (ghostwriter-2.1.6.tar.gz) = 7757010



Re: UPDATE: ircd-hybrid 8.2.42

2022-10-04 Thread Brad Smith
On Tue, Oct 04, 2022 at 12:33:41PM +0100, Stuart Henderson wrote:
> On 2022/09/16 17:08, Brad Smith wrote:
> > Here is an update to ircd-hybrid 8.2.42.
> 
> Distfile was re-rolled. There is 8.2.43 now.

Here is an update to 8.2.43.

Ya, I was wondering how they managed to roll .42 with the improper root 
directory
name.


Index: Makefile
===
RCS file: /home/cvs/ports/net/ircd-hybrid/Makefile,v
retrieving revision 1.62
diff -u -p -u -p -r1.62 Makefile
--- Makefile23 Jul 2022 05:15:24 -  1.62
+++ Makefile4 Oct 2022 14:15:14 -
@@ -1,6 +1,6 @@
 COMMENT =  Internet Relay Chat server
 
-DISTNAME = ircd-hybrid-8.2.41
+DISTNAME = ircd-hybrid-8.2.43
 CATEGORIES =   net
 MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ircd-hybrid/}
 EXTRACT_SUFX = .tgz
Index: distinfo
===
RCS file: /home/cvs/ports/net/ircd-hybrid/distinfo,v
retrieving revision 1.38
diff -u -p -u -p -r1.38 distinfo
--- distinfo23 Jul 2022 05:15:24 -  1.38
+++ distinfo4 Oct 2022 14:13:44 -
@@ -1,2 +1,2 @@
-SHA256 (ircd-hybrid-8.2.41.tgz) = zg6mllRgEEe9hkI93AAjwHlVcCSZkAEeqmxB1jcrBFQ=
-SIZE (ircd-hybrid-8.2.41.tgz) = 1061502
+SHA256 (ircd-hybrid-8.2.43.tgz) = vQNzx4DjCMGm9piQFf8o4cIpme92S3toY2tihXPCUe8=
+SIZE (ircd-hybrid-8.2.43.tgz) = 1053894
Index: patches/patch-doc_Makefile_in
===
RCS file: /home/cvs/ports/net/ircd-hybrid/patches/patch-doc_Makefile_in,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 patch-doc_Makefile_in
--- patches/patch-doc_Makefile_in   23 Jul 2022 05:15:24 -  1.14
+++ patches/patch-doc_Makefile_in   16 Sep 2022 21:00:56 -
@@ -1,7 +1,7 @@
 Index: doc/Makefile.in
 --- doc/Makefile.in.orig
 +++ doc/Makefile.in
-@@ -401,25 +401,25 @@ uninstall-man8:
+@@ -402,25 +402,25 @@ uninstall-man8:
dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir)
  install-dist_sysconfDATA: $(dist_sysconf_DATA)
@$(NORMAL_INSTALL)
@@ -34,7 +34,7 @@ Index: doc/Makefile.in
  tags TAGS:
  
  ctags CTAGS:
-@@ -463,7 +463,7 @@ check-am: all-am
+@@ -464,7 +464,7 @@ check-am: all-am
  check: check-am
  all-am: Makefile $(MANS) $(DATA)
  installdirs:
Index: patches/patch-include_defaults_h
===
RCS file: /home/cvs/ports/net/ircd-hybrid/patches/patch-include_defaults_h,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 patch-include_defaults_h
--- patches/patch-include_defaults_h11 Mar 2022 19:46:09 -  1.10
+++ patches/patch-include_defaults_h16 Sep 2022 21:00:54 -
@@ -1,7 +1,7 @@
 Index: include/defaults.h
 --- include/defaults.h.orig
 +++ include/defaults.h
-@@ -48,16 +48,21 @@
+@@ -47,16 +47,21 @@
   * AUTOMODPATH = directory for autoloaded modules
   */
  
Index: patches/patch-include_stdinc_h
===
RCS file: /home/cvs/ports/net/ircd-hybrid/patches/patch-include_stdinc_h,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 patch-include_stdinc_h
--- patches/patch-include_stdinc_h  11 Mar 2022 19:46:09 -  1.9
+++ patches/patch-include_stdinc_h  16 Sep 2022 21:00:54 -
@@ -1,7 +1,7 @@
 Index: include/stdinc.h
 --- include/stdinc.h.orig
 +++ include/stdinc.h
-@@ -49,6 +49,8 @@
+@@ -48,6 +48,8 @@
  #include 
  #include 
  #include 
Index: patches/patch-src_ircd_c
===
RCS file: /home/cvs/ports/net/ircd-hybrid/patches/patch-src_ircd_c,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 patch-src_ircd_c
--- patches/patch-src_ircd_c11 Mar 2022 19:46:09 -  1.20
+++ patches/patch-src_ircd_c16 Sep 2022 21:00:54 -
@@ -1,7 +1,7 @@
 Index: src/ircd.c
 --- src/ircd.c.orig
 +++ src/ircd.c
-@@ -330,7 +330,6 @@ make_daemon(void)
+@@ -328,7 +328,6 @@ make_daemon(void)
}
else if (pid > 0)
{
@@ -9,7 +9,7 @@ Index: src/ircd.c
  exit(EXIT_SUCCESS);
}
  
-@@ -343,8 +342,19 @@ main(int argc, char *argv[])
+@@ -341,8 +340,19 @@ main(int argc, char *argv[])
/* Check to see if the user is running us as root, which is a nono */
if (geteuid() == 0)
{



Re: [new] devel/seerbsd

2022-10-04 Thread Omar Polo
On 2022/10/04 11:55:57 +0200, Omar Polo  wrote:
> Hello,
> 
> On 2022/10/04 09:57:05 +0200, Ivo van der Sangen  wrote:
> > Hi,
> > 
> > I created a port for Seer. Seer is a graphical front-end to GDB. I tested 
> > this
> > on amd64 using GDB from ports.
> > 
> > Most of it seems to work well, except for disabling start address 
> > randomization,
> > which throws a warning on OpenBSD, even if left randomized.
> > 
> > Kind regards,
> > 
> > Ivo van der Sangen
> 
> some comments on the port:
> 
>  - instead of PKGNAME, MASTER_SITES, ... if we're fetching from github
>just use the GH_* vars
> 
>  - SEPARATE_BUILD is implicitly set by cmake
> 
>  - I'd add a runtime dependency on egdb from ports and patch it to use
>it by default; base' gdb is too old.
> 
> for some reason the file picker won't let me see or choose "foo.core",
> but if i type a path I'm able to pop-up the debugger against the
> specified core file fine.
> 
> not extensively tested (not a GUI fan) but it seems to work.  I'm
> attaching an improved tarball that addresses the previous points, does
> it still works for you?

I've imported it with an ok from and additional tweaks by sthen@
(spaces and actually use WRKDIST instead of recomputing it) -- thanks!



Re: [new] devel/py-timelib

2022-10-04 Thread Uwe Werler
Ping - except some compiler warnings it works.

On 20 Sep 11:32, Uwe Werler wrote:
> Hi all,
> 
> attached a port for python-timelib which is useful in combination with the
> saltstack scheduler.
> 
> -- 
> 
> With kind regards / Með bestu kveðju / Mit freundlichen Grüßen
> 
> Uwe Werler

-- 
wq: ~uw



Re: [maintainer update] print/ghostscript/gnu 10.0.0

2022-10-04 Thread Volker Schlecht
Here's the update to ghostscript 10.0 with the version bump to the 
shared lib.Index: Makefile
===
RCS file: /cvs/ports/print/ghostscript/gnu/Makefile,v
retrieving revision 1.124
diff -u -p -r1.124 Makefile
--- Makefile	3 Jul 2022 22:45:21 -	1.124
+++ Makefile	4 Oct 2022 14:14:12 -
@@ -1,10 +1,11 @@
 COMMENT =	PostScript and PDF interpreter
 
-VERSION =	9.56.1
-DISTNAME =	ghostscript-${VERSION}
+VERSION =	10.00.0
+DISTVSN =	10.0.0
+DISTNAME =	ghostscript-${DISTVSN}
 EXTRACT_SUFX =	.tar.xz
 CATEGORIES =	lang print
-SHARED_LIBS =	gs 17.0
+SHARED_LIBS =	gs 18.0
 
 MASTER_SITES =	https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${VERSION:S/.//g}/
 
Index: distinfo
===
RCS file: /cvs/ports/print/ghostscript/gnu/distinfo,v
retrieving revision 1.19
diff -u -p -r1.19 distinfo
--- distinfo	13 Apr 2022 14:23:19 -	1.19
+++ distinfo	4 Oct 2022 14:14:12 -
@@ -1,2 +1,2 @@
-SHA256 (ghostscript-9.56.1.tar.xz) = 1DQGgFZQAJtCw9X23FNSM0VFM8HifBOnfdHUYqBWuOQ=
-SIZE (ghostscript-9.56.1.tar.xz) = 62589232
+SHA256 (ghostscript-10.0.0.tar.xz) = 8fpYX3x9Mq36gas4k4gQCsnfg0ROtk2x+5JzcUHvn2E=
+SIZE (ghostscript-10.0.0.tar.xz) = 62749144
Index: patches/patch-configure
===
RCS file: /cvs/ports/print/ghostscript/gnu/patches/patch-configure,v
retrieving revision 1.4
diff -u -p -r1.4 patch-configure
--- patches/patch-configure	13 Apr 2022 14:23:19 -	1.4
+++ patches/patch-configure	4 Oct 2022 14:14:12 -
@@ -1,7 +1,7 @@
 Index: configure
 --- configure.orig
 +++ configure
-@@ -11408,8 +11408,8 @@ DLL_EXT=""
+@@ -11470,8 +11470,8 @@ DLL_EXT=""
  SO_LIB_VERSION_SEPARATOR="."
  
  libname1="_SO_BASE)\$(GS_SOEXT)\$(DLL_EXT)"
@@ -12,7 +12,7 @@ Index: configure
  GS_SONAME="lib\$(GS${libname1}"
  GS_SONAME_MAJOR="lib\$(GS${libname2}"
  GS_SONAME_MAJOR_MINOR="lib\$(GS${libname3}"
-@@ -11520,11 +11520,11 @@ case $host in
+@@ -11582,11 +11582,11 @@ case $host in
  ;;
  *bsd*)
DYNAMIC_CFLAGS="-fPIC $DYNAMIC_CFLAGS"
Index: pkg/PLIST
===
RCS file: /cvs/ports/print/ghostscript/gnu/pkg/PLIST,v
retrieving revision 1.33
diff -u -p -r1.33 PLIST
--- pkg/PLIST	13 Apr 2022 14:23:20 -	1.33
+++ pkg/PLIST	4 Oct 2022 14:14:12 -
@@ -68,45 +68,10 @@ man/de/man1/
 @man man/man1/ps2ps.1
 share/doc/ghostscript/
 share/doc/ghostscript/${VERSION}/
-share/doc/ghostscript/${VERSION}/API.htm
-share/doc/ghostscript/${VERSION}/C-style.htm
 share/doc/ghostscript/${VERSION}/COPYING
-share/doc/ghostscript/${VERSION}/DLL.htm
-share/doc/ghostscript/${VERSION}/Deprecated.htm
-share/doc/ghostscript/${VERSION}/Develop.htm
-share/doc/ghostscript/${VERSION}/Devices.htm
-share/doc/ghostscript/${VERSION}/Drivers.htm
-share/doc/ghostscript/${VERSION}/Fonts.htm
 share/doc/ghostscript/${VERSION}/GS9_Color_Management.pdf
-share/doc/ghostscript/${VERSION}/History9.htm
-share/doc/ghostscript/${VERSION}/Install.htm
-share/doc/ghostscript/${VERSION}/Language.htm
-share/doc/ghostscript/${VERSION}/Lib.htm
-share/doc/ghostscript/${VERSION}/Make.htm
 share/doc/ghostscript/${VERSION}/News.htm
-share/doc/ghostscript/${VERSION}/Ps-style.htm
-share/doc/ghostscript/${VERSION}/Ps2epsi.htm
-share/doc/ghostscript/${VERSION}/Psfiles.htm
-share/doc/ghostscript/${VERSION}/Readme.htm
-share/doc/ghostscript/${VERSION}/Release.htm
-share/doc/ghostscript/${VERSION}/SavedPages.htm
-share/doc/ghostscript/${VERSION}/Source.htm
-share/doc/ghostscript/${VERSION}/Unix-lpr.htm
-share/doc/ghostscript/${VERSION}/Use.htm
-share/doc/ghostscript/${VERSION}/VectorDevices.htm
-share/doc/ghostscript/${VERSION}/WhatIsGS.htm
-share/doc/ghostscript/${VERSION}/gdevds32.c
 share/doc/ghostscript/${VERSION}/images/
-share/doc/ghostscript/${VERSION}/images/Artifex_logo.png
-share/doc/ghostscript/${VERSION}/images/favicon.png
-share/doc/ghostscript/${VERSION}/images/ghostscript_logo.png
-share/doc/ghostscript/${VERSION}/images/hamburger-light.png
-share/doc/ghostscript/${VERSION}/images/x-light.png
-share/doc/ghostscript/${VERSION}/index.html
-share/doc/ghostscript/${VERSION}/pscet_status.txt
-share/doc/ghostscript/${VERSION}/sample_downscale_device.htm
-share/doc/ghostscript/${VERSION}/subclass.htm
-share/doc/ghostscript/${VERSION}/thirdparty.htm
 share/ghostscript/
 share/ghostscript/${VERSION}/
 share/ghostscript/${VERSION}/lib/


Re: [new] devel/seerbsd

2022-10-04 Thread Ivo van der Sangen
On Tue, Oct 04, 2022 at 11:55:57AM +0200, Omar Polo wrote:
> Hello,
> 
> On 2022/10/04 09:57:05 +0200, Ivo van der Sangen  wrote:
> > Hi,
> > 
> > I created a port for Seer. Seer is a graphical front-end to GDB. I tested 
> > this
> > on amd64 using GDB from ports.
> > 
> > Most of it seems to work well, except for disabling start address 
> > randomization,
> > which throws a warning on OpenBSD, even if left randomized.
> > 
> > Kind regards,
> > 
> > Ivo van der Sangen
> 
> some comments on the port:
> 
>  - instead of PKGNAME, MASTER_SITES, ... if we're fetching from github
>just use the GH_* vars
> 
>  - SEPARATE_BUILD is implicitly set by cmake
> 
>  - I'd add a runtime dependency on egdb from ports and patch it to use
>it by default; base' gdb is too old.
> 
> for some reason the file picker won't let me see or choose "foo.core",
> but if i type a path I'm able to pop-up the debugger against the
> specified core file fine.
> 
> not extensively tested (not a GUI fan) but it seems to work.  I'm
> attaching an improved tarball that addresses the previous points, does
> it still works for you?
> 
> Thanks,
> 

Hi,

With your improvements this still builds and runs well here.

Kind regards,

Ivo van der Sangen



Re: [Update] databases/py-redis to 4.3.4

2022-10-04 Thread Uwe Werler
On 12 Sep 21:26, Stuart Henderson wrote:
> On 2022/09/12 20:12, Uwe Werler wrote:
> > Hi all,
> > 
> > here's an update for py-redis to 4.3.4 (with cluster support since 4.1.0).
> 
> It needs some new deps, see the install_requires block in setup.py - tgz
> attached for those.
> 
> Here's a tweaked version of the port update diff.
> 
> The redismod/cluster tests are failing for me, they might just need
> more setting up, anyway let's disable them for now so that it's easier
> to be convinced that basic functionality is working ok.

Hi Stuart,

tested the modules (incl. dependencies) now with my fixed redis_cache.py and
redis_return.py on salt 3003.5 and works like expected. I will have a look at
the cluster tests then.

Regards Uwe

> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/databases/py-redis/Makefile,v
> retrieving revision 1.42
> diff -u -p -r1.42 Makefile
> --- Makefile  11 Mar 2022 18:31:41 -  1.42
> +++ Makefile  12 Sep 2022 20:23:41 -
> @@ -1,16 +1,13 @@
>  COMMENT =Python interface to Redis
>  
> -MODPY_EGG_VERSION =  3.5.3
> -
> -GH_ACCOUNT = andymccurdy
> -GH_PROJECT = redis-py
> -GH_TAGNAME = ${MODPY_EGG_VERSION}
> +MODPY_EGG_VERSION =  4.3.4
>  
> +DISTNAME =   redis-${MODPY_EGG_VERSION}
>  PKGNAME =py-redis-${MODPY_EGG_VERSION}
> +
>  CATEGORIES = databases
> -REVISION =   2
>  
> -HOMEPAGE =   https://github.com/andymccurdy/redis-py/
> +HOMEPAGE =   https://github.com/redis/redis-py
>  
>  MAINTAINER = Remi Pointel 
>  
> @@ -18,17 +15,24 @@ MAINTAINER =  Remi Pointel   PERMIT_PACKAGE = Yes
>  
>  MODULES =lang/python
> +MODPY_PEP517 =   setuptools
> +MODPY_PI =   Yes
> +MODPY_PYTEST_ARGS =  --disable-pytest-warnings \
> + -m "onlynoncluster and not redismod" \
> + --ignore tests/test_ssl.py
>  
>  FLAVORS =python3
>  FLAVOR = python3
>  
> -MODPY_SETUPTOOLS =   Yes
> -MODPY_PYTEST =   Yes
> -
>  # Be sure to have a redis server running on localhost
>  TEST_IS_INTERACTIVE =Yes
>  
>  TEST_DEPENDS =   databases/redis \
> - devel/py-mock${MODPY_FLAVOR}
> + devel/py-mock${MODPY_FLAVOR} \
> + devel/py-test-asyncio${MODPY_FLAVOR}
> +
> +RUN_DEPENDS =devel/py-deprecated${MODPY_FLAVOR} \
> + devel/py-async-timeout${MODPY_FLAVOR} \
> + sysutils/py-packaging${MODPY_FLAVOR}
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/databases/py-redis/distinfo,v
> retrieving revision 1.25
> diff -u -p -r1.25 distinfo
> --- distinfo  6 Oct 2020 20:29:16 -   1.25
> +++ distinfo  12 Sep 2022 20:23:41 -
> @@ -1,2 +1,2 @@
> -SHA256 (redis-py-3.5.3.tar.gz) = Dj7wSvV9FyB8LxOklkGmO5jgBAoQdWqCR+gzRotaggY=
> -SIZE (redis-py-3.5.3.tar.gz) = 129884
> +SHA256 (redis-4.3.4.tar.gz) = 3fJwcd9K3zghxPLKWdZ1JcOoLl8mi+2XuBPLT6v4eIA=
> +SIZE (redis-4.3.4.tar.gz) = 4569389
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/databases/py-redis/pkg/PLIST,v
> retrieving revision 1.12
> diff -u -p -r1.12 PLIST
> --- pkg/PLIST 11 Mar 2022 18:31:41 -  1.12
> +++ pkg/PLIST 12 Sep 2022 20:23:41 -
> @@ -1,25 +1,209 @@
>  @pkgpath databases/py-redis
>  lib/python${MODPY_VERSION}/site-packages/redis/
> -lib/python${MODPY_VERSION}/site-packages/redis-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
> -lib/python${MODPY_VERSION}/site-packages/redis-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
> -lib/python${MODPY_VERSION}/site-packages/redis-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
> -lib/python${MODPY_VERSION}/site-packages/redis-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
> -lib/python${MODPY_VERSION}/site-packages/redis-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
> -lib/python${MODPY_VERSION}/site-packages/redis-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
> +lib/python${MODPY_VERSION}/site-packages/redis-${MODPY_EGG_VERSION}.dist-info/
> +lib/python${MODPY_VERSION}/site-packages/redis-${MODPY_EGG_VERSION}.dist-info/LICENSE
> +lib/python${MODPY_VERSION}/site-packages/redis-${MODPY_EGG_VERSION}.dist-info/METADATA
> +lib/python${MODPY_VERSION}/site-packages/redis-${MODPY_EGG_VERSION}.dist-info/RECORD
> +lib/python${MODPY_VERSION}/site-packages/redis-${MODPY_EGG_VERSION}.dist-info/WHEEL
> +lib/python${MODPY_VERSION}/site-packages/redis-${MODPY_EGG_VERSION}.dist-info/top_level.txt
>  lib/python${MODPY_VERSION}/site-packages/redis/__init__.py
>  
> ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/redis/${MODPY_PYCACHE}/
> +lib/python${MODPY_VERSION}/site

[maintainer update] lang/erlang-25.1

2022-10-04 Thread Volker Schlecht

Updates lang/erlang25 to the most recent maintenance release.
This includes a security relevant fix that has been included in the 
version in the upcoming 7.2 release, so no need for a backport.


https://www.erlang.org/news/158

Tested on amd64.Index: Makefile
===
RCS file: /cvs/ports/lang/erlang/25/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile	1 Sep 2022 20:03:38 -	1.3
+++ Makefile	27 Sep 2022 12:57:01 -
@@ -3,7 +3,7 @@ BROKEN-alpha=	beam/erl_process.c:6692: i
 COMMENT-main=	${COMMENT}
 COMMENT-wx=	WxWidgets bindings for Erlang
 
-V=		25.0.4
+V=		25.1
 PORTROACH=	limit:^OTP-25\.
 DISTNAME=	otp_src_$V
 PKGNAME=	erlang-$V
@@ -59,44 +59,44 @@ AUTOCONF_VERSION = 2.69
 
 # Use the target 'gen-versions' to update this list
 ERL_VERSIONS=	\
-ASN1_VSN5.0.19 \
-COMMON_TEST_VSN 1.23 \
-COMPILER_VSN8.2 \
-CRYPTO_VSN  5.1.1 \
+ASN1_VSN5.0.20 \
+COMMON_TEST_VSN 1.23.1 \
+COMPILER_VSN8.2.1 \
+CRYPTO_VSN  5.1.2 \
 DEBUGGER_VSN5.3 \
-DIALYZER_VSN5.0.1 \
-DIAMETER_VSN2.2.6 \
+DIALYZER_VSN5.0.2 \
+DIAMETER_VSN2.2.7 \
 EDOC_VSN1.2 \
 EI_VSN  5.3 \
 ELDAP_VSN   1.2.10 \
 EMACS_VSN   2.7.0 \
-ERL_DOCGEN_VSN  1.3 \
+ERL_DOCGEN_VSN  1.4 \
 ERL_INTERFACE_VSN   5.3 \
 ET_VSN  1.6.5 \
-EUNIT_VSN   2.7.1 \
+EUNIT_VSN   2.8 \
 FTP_VSN 1.1.1 \
-INETS_VSN   8.0 \
-JINTERFACE_VSN  1.13 \
-KERNEL_VSN  8.4.2 \
-MEGACO_VSN  4.4 \
+INETS_VSN   8.1 \
+JINTERFACE_VSN  1.13.1 \
+KERNEL_VSN  8.5 \
+MEGACO_VSN  4.4.1 \
 MNESIA_VSN  4.21.1 \
-OBSERVER_VSN2.12 \
+OBSERVER_VSN2.13 \
 ODBC_VSN2.14 \
 OS_MON_VSN  2.7.1 \
-PARSETOOLS_VSN  2.4 \
-PUBLIC_KEY_VSN  1.13 \
+PARSETOOLS_VSN  2.4.1 \
+PUBLIC_KEY_VSN  1.13.1 \
 RELTOOL_VSN 0.9 \
 RUNTIME_TOOLS_VSN   1.19 \
 SASL_VSN4.2 \
-SNMP_VSN5.13 \
-SSH_VSN 4.14.1 \
-SSL_VSN 10.8.3 \
-STDLIB_VSN  4.0.1 \
+SNMP_VSN5.13.1 \
+SSH_VSN 4.15 \
+SSL_VSN 10.8.4 \
+STDLIB_VSN  4.1 \
 SYNTAX_TOOLS_VSN3.0 \
 TFTP_VSN1.0.3 \
 TOOLS_VSN   3.5.3 \
 WX_VSN  2.2 \
-XMERL_VSN   1.3.29 \
-ERTS_VSN13.0.4
+XMERL_VSN   1.3.30 \
+ERTS_VSN13.1
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/lang/erlang/25/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo	1 Sep 2022 20:03:38 -	1.3
+++ distinfo	27 Sep 2022 12:57:01 -
@@ -1,4 +1,4 @@
-SHA256 (otp_doc_man_25.0.4.tar.gz) = 1ffoJazAci62TVBkiP7L0fd1pWxR2XENrSAD3rbggYo=
-SHA256 (otp_src_25.0.4.tar.gz) = j8cH+SoSSyrrD2Xc+ayOJ7KjBee8xMwbL993DuwBZb8=
-SIZE (otp_doc_man_25.0.4.tar.gz) = 1710334
-SIZE (otp_src_25.0.4.tar.gz) = 103213092
+SHA256 (otp_doc_man_25.1.tar.gz) = n24fl0Uc8A04nhdDWpKD4LAadsXcbWiDgh2TqbMmUv4=
+SHA256 (otp_src_25.1.tar.gz) = peonweB1EahL3YacN/XiVPGYwc7PaO6cj+3SMBB1DDE=
+SIZE (otp_doc_man_25.1.tar.gz) = 1714586
+SIZE (otp_src_25.1.tar.gz) = 103454812
Index: patches/patch-Makefile_in
===
RCS file: /cvs/ports/lang/erlang/25/patches/patch-Makefile_in,v
retrieving revision 1.1
diff -u -p -r1.1 patch-Makefile_in
--- patches/patch-Makefile_in	12 Jul 2022 20:45:16 -	1.1
+++ patches/patch-Makefile_in	27 Sep 2022 12:57:01 -
@@ -3,7 +3,7 @@ Create symlink so the build can handle v
 Index: Makefile.in
 --- Makefile.in.orig
 +++ Makefile.in
-@@ -596,6 +596,7 @@ $(BOOTSTRAP_ROOT)/bootstrap/bin/erl: $(ERL_TOP)/erts/e
+@@ -603,6 +603,7 @@ $(BOOTSTRAP_ROOT)/bootstrap/bin/erl: $(ERL_TOP)/erts/e
  	$(ERL_TOP)/erts/etc/unix/erl.src.src > \
  			$(BOOTSTRAP_ROOT)/bootstrap/bin/erl
  	@chmod 755 $(BOOTSTRAP_ROOT)/bootstrap/bin/erl


Re: UPDATE: OpenAL 1.22.2

2022-10-04 Thread Stuart Henderson
On 2022/09/09 22:06, Brad Smith wrote:
> Here is an update to OpenAL 1.22.2.

I guess this is a maintainer timeout by now?

It probably makes sense to disable picking up pipewire too
(ALSOFT_BACKEND_PIPEWIRE)

> 
> Index: Makefile
> ===
> RCS file: /home/cvs/ports/audio/openal/Makefile,v
> retrieving revision 1.60
> diff -u -p -u -p -r1.60 Makefile
> --- Makefile  11 Mar 2022 18:20:22 -  1.60
> +++ Makefile  10 Sep 2022 01:52:29 -
> @@ -1,13 +1,12 @@
>  COMMENT =cross-platform 3D audio API
>  
> -V =  1.21.1
> -EPOCH =  0
> +V =  1.22.2
>  DISTNAME =   openal-soft-$V
>  PKGNAME =openal-$V
> -REVISION =   3
> +EPOCH =  0
>  CATEGORIES = audio
>  
> -SHARED_LIBS =openal  4.1
> +SHARED_LIBS =openal  4.2
>  
>  HOMEPAGE =   https://openal-soft.org/
>  
> @@ -29,6 +28,7 @@ CONFIGURE_ARGS =-DCMAKE_BUILD_TYPE=OpenB
>   -DALSOFT_UTILS=On \
>   -DALSOFT_EXAMPLES=Off \
>   -DALSOFT_REQUIRE_SNDIO=On \
> + -DALSOFT_RTKIT=Off \
>   -DALSOFT_BACKEND_WAVE=Off \
>   -DALSOFT_CPUEXT_SSE=Off \
>   -DALSOFT_CPUEXT_SSE2=Off \
> Index: distinfo
> ===
> RCS file: /home/cvs/ports/audio/openal/distinfo,v
> retrieving revision 1.13
> diff -u -p -u -p -r1.13 distinfo
> --- distinfo  25 Jul 2021 17:33:48 -  1.13
> +++ distinfo  9 Sep 2022 23:10:40 -
> @@ -1,2 +1,2 @@
> -SHA256 (openal-soft-1.21.1.tar.bz2) = 
> yK12fpoyMN9mdWohzI6/IYqdRyiPJRQBSDIgTmZq9dg=
> -SIZE (openal-soft-1.21.1.tar.bz2) = 524787
> +SHA256 (openal-soft-1.22.2.tar.bz2) = 
> rpTMlc2na3zG6S44wlMa+CFI5209iM6Zbikooep8PSA=
> +SIZE (openal-soft-1.22.2.tar.bz2) = 606151
> Index: patches/patch-CMakeLists_txt
> ===
> RCS file: /home/cvs/ports/audio/openal/patches/patch-CMakeLists_txt,v
> retrieving revision 1.11
> diff -u -p -u -p -r1.11 patch-CMakeLists_txt
> --- patches/patch-CMakeLists_txt  11 Mar 2022 18:20:22 -  1.11
> +++ patches/patch-CMakeLists_txt  9 Sep 2022 23:11:22 -
> @@ -1,7 +1,7 @@
>  Index: CMakeLists.txt
>  --- CMakeLists.txt.orig
>  +++ CMakeLists.txt
> -@@ -1398,7 +1398,7 @@ endif()
> +@@ -1508,7 +1508,7 @@ endif()
>   
>   if(ALSOFT_INSTALL_CONFIG)
>   install(FILES alsoftrc.sample
> Index: patches/patch-alc_alconfig_cpp
> ===
> RCS file: /home/cvs/ports/audio/openal/patches/patch-alc_alconfig_cpp,v
> retrieving revision 1.3
> diff -u -p -u -p -r1.3 patch-alc_alconfig_cpp
> --- patches/patch-alc_alconfig_cpp11 Mar 2022 18:20:22 -  1.3
> +++ patches/patch-alc_alconfig_cpp9 Sep 2022 23:11:20 -
> @@ -1,7 +1,7 @@
>  Index: alc/alconfig.cpp
>  --- alc/alconfig.cpp.orig
>  +++ alc/alconfig.cpp
> -@@ -318,7 +318,7 @@ void ReadALConfig()
> +@@ -364,7 +364,7 @@ void ReadALConfig()
>   
>   void ReadALConfig()
>   {
> Index: patches/patch-alc_backends_sndio_cpp
> ===
> RCS file: patches/patch-alc_backends_sndio_cpp
> diff -N patches/patch-alc_backends_sndio_cpp
> --- patches/patch-alc_backends_sndio_cpp  11 Mar 2022 18:20:22 -  
> 1.6
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,461 +0,0 @@
> -Simplify channel handling in the sndio backend
> -620836f173ae6fc4505d0634984e0f2c46166367
> -
> -Use non-block mode for sndio capture
> -1fd4c865fc084f134363db5155361d5483679235
> -
> -Fix crashes in SndioCapture::recordProc
> -a4b0a3d7b3ec271243cfda4780e567e49f2b37b7
> -
> -Use a local unique_ptr array instead of a struct member
> -for the sndio poll fds.
> -2df78e49b1359e7603e3816270737c68cccd5b05
> -
> -Index: alc/backends/sndio.cpp
>  alc/backends/sndio.cpp.orig
> -+++ alc/backends/sndio.cpp
> -@@ -22,6 +22,7 @@
> - 
> - #include "backends/sndio.h"
> - 
> -+#include 
> - #include 
> - #include 
> - #include 
> -@@ -43,7 +44,12 @@ namespace {
> - 
> - static const char sndio_device[] = "SndIO Default";
> - 
> -+struct SioPar : public sio_par {
> -+SioPar() { sio_initpar(this); }
> - 
> -+void clear() { sio_initpar(this); }
> -+};
> -+
> - struct SndioPlayback final : public BackendBase {
> - SndioPlayback(ALCdevice *device) noexcept : BackendBase{device} { }
> - ~SndioPlayback() override;
> -@@ -56,6 +62,7 @@ struct SndioPlayback final : public BackendBase {
> - void stop() override;
> - 
> - sio_hdl *mSndHandle{nullptr};
> -+uint mFrameStep{};
> - 
> - al::vector mBuffer;
> - 
> -@@ -74,39 +81,29 @@ SndioPlayback::~SndioPlayback()
> - 
> - int SndioPlayback::mixerProc()
> - {
> --sio_par par;
> --sio_initpar(&par);
> --if(!sio_getpar(mSndHandle, &par))
> --{
> --mDevice->handleDisconnect("Failed to get device parameters");
> --return 1;
> --}
> -+const

Re: mirror removal: games/teeworlds and security/shhlockout without MASTER_SITES

2022-10-04 Thread Omar Polo
On 2022/09/15 13:54:05 +0200, prx  wrote:
> * prx  le [15-09-2022 12:43:06 +0200]:
> > > > > > > On 2022/09/12 13:53, Solène Rapenne wrote:
> > > > > > > > Hello,
> > > > > > > > 
> > > > > > > > I was running distfiles-openbsd.perso.pw, but after a server 
> > > > > > > > migration
> > > > > > > > it's gone. My new server can't handle the new files because 
> > > > > > > > it's super
> > > > > > > > tight on disk space.
> > > > > > > > 
> > > > > > > > These two ports don't have a working MASTER_SITES anymore:
> > > > > > > > 
> > > > > > > > games/teeworlds
> > > > > > > > security/sshlockout
> > > > > > > > 
> > > > > > > > Someone should host the sources, or we should delete the ports.
> > [...]
> > I can keep a copy of the mentioned files here : 
> > 
> > https://si3t.ch/pub/openbsd/ports/
> > 
> > Below patches to updates the sshlockout and teeworlds ports.
> > Regards

committed, thanks for hosting!



Re: UPDATE: ircd-hybrid 8.2.42

2022-10-04 Thread Stuart Henderson
On 2022/09/16 17:08, Brad Smith wrote:
> Here is an update to ircd-hybrid 8.2.42.

Distfile was re-rolled. There is 8.2.43 now.

> 
>  Noteworthy changes in version 8.2.42 (2022-08-28)
> * Extban `$Q` of type acting has been implemented. This extban prevents
>   matching users from using the `KICK` command.
> * Implemented channel mode `Q`. `KICK` cannot be used on channels with that 
> mode set.
> * Implemented user mode `Z`. Users with that mode set may only receive private
>   messages from other users that are connected via TLS.
> * Fixed issue where `WHO nick` on invisible clients (user mode `i`) wouldn't 
> work
> 
> 
> Index: Makefile
> ===
> RCS file: /home/cvs/ports/net/ircd-hybrid/Makefile,v
> retrieving revision 1.62
> diff -u -p -u -p -r1.62 Makefile
> --- Makefile  23 Jul 2022 05:15:24 -  1.62
> +++ Makefile  16 Sep 2022 21:00:46 -
> @@ -1,9 +1,11 @@
>  COMMENT =Internet Relay Chat server
>  
> -DISTNAME =   ircd-hybrid-8.2.41
> +DISTNAME =   ircd-hybrid-8.2.42
>  CATEGORIES = net
>  MASTER_SITES =   ${MASTER_SITE_SOURCEFORGE:=ircd-hybrid/}
>  EXTRACT_SUFX =   .tgz
> +
> +WRKDIST= ${WRKDIR}/ircd-hybrid
>  
>  HOMEPAGE =   http://ircd-hybrid.com/
>  
> Index: distinfo
> ===
> RCS file: /home/cvs/ports/net/ircd-hybrid/distinfo,v
> retrieving revision 1.38
> diff -u -p -u -p -r1.38 distinfo
> --- distinfo  23 Jul 2022 05:15:24 -  1.38
> +++ distinfo  16 Sep 2022 20:59:30 -
> @@ -1,2 +1,2 @@
> -SHA256 (ircd-hybrid-8.2.41.tgz) = 
> zg6mllRgEEe9hkI93AAjwHlVcCSZkAEeqmxB1jcrBFQ=
> -SIZE (ircd-hybrid-8.2.41.tgz) = 1061502
> +SHA256 (ircd-hybrid-8.2.42.tgz) = 
> aS0he/x+o3xOQ5H7hrCpJ4C8MusUT2liM0lyF1W4H2o=
> +SIZE (ircd-hybrid-8.2.42.tgz) = 2230731
> Index: patches/patch-doc_Makefile_in
> ===
> RCS file: /home/cvs/ports/net/ircd-hybrid/patches/patch-doc_Makefile_in,v
> retrieving revision 1.14
> diff -u -p -u -p -r1.14 patch-doc_Makefile_in
> --- patches/patch-doc_Makefile_in 23 Jul 2022 05:15:24 -  1.14
> +++ patches/patch-doc_Makefile_in 16 Sep 2022 21:00:56 -
> @@ -1,7 +1,7 @@
>  Index: doc/Makefile.in
>  --- doc/Makefile.in.orig
>  +++ doc/Makefile.in
> -@@ -401,25 +401,25 @@ uninstall-man8:
> +@@ -402,25 +402,25 @@ uninstall-man8:
>   dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir)
>   install-dist_sysconfDATA: $(dist_sysconf_DATA)
>   @$(NORMAL_INSTALL)
> @@ -34,7 +34,7 @@ Index: doc/Makefile.in
>   tags TAGS:
>   
>   ctags CTAGS:
> -@@ -463,7 +463,7 @@ check-am: all-am
> +@@ -464,7 +464,7 @@ check-am: all-am
>   check: check-am
>   all-am: Makefile $(MANS) $(DATA)
>   installdirs:
> Index: patches/patch-doc_reference_conf
> ===
> RCS file: /home/cvs/ports/net/ircd-hybrid/patches/patch-doc_reference_conf,v
> retrieving revision 1.23
> diff -u -p -u -p -r1.23 patch-doc_reference_conf
> --- patches/patch-doc_reference_conf  23 Jul 2022 05:15:24 -  1.23
> +++ patches/patch-doc_reference_conf  16 Sep 2022 21:00:54 -
> @@ -34,7 +34,7 @@ Index: doc/reference.conf
>   };
>   
>   /*
> -@@ -1007,7 +1007,7 @@ serverhide {
> +@@ -1008,7 +1008,7 @@ serverhide {
>   /*
>* flatten_links_file: path to the flatten links cache file.
>*/
> @@ -43,7 +43,7 @@ Index: doc/reference.conf
>   
>   /*
>* hidden: hide this server from a /links output on servers that
> -@@ -1315,9 +1315,9 @@ modules {
> +@@ -1317,9 +1317,9 @@ modules {
>* path: other paths to search for modules specified below
>* and in "/module load".
>*/
> @@ -56,7 +56,7 @@ Index: doc/reference.conf
>   
>   /* module: the name of a module to load on startup/rehash. */
>   #   module = "some_module.la";
> -@@ -1332,49 +1332,49 @@ log {
> +@@ -1334,49 +1334,49 @@ log {
>   
>   file {
>   type = oper;
> Index: patches/patch-include_defaults_h
> ===
> RCS file: /home/cvs/ports/net/ircd-hybrid/patches/patch-include_defaults_h,v
> retrieving revision 1.10
> diff -u -p -u -p -r1.10 patch-include_defaults_h
> --- patches/patch-include_defaults_h  11 Mar 2022 19:46:09 -  1.10
> +++ patches/patch-include_defaults_h  16 Sep 2022 21:00:54 -
> @@ -1,7 +1,7 @@
>  Index: include/defaults.h
>  --- include/defaults.h.orig
>  +++ include/defaults.h
> -@@ -48,16 +48,21 @@
> +@@ -47,16 +47,21 @@
>* AUTOMODPATH = directory for autoloaded modules
>*/
>   
> Index: patches/patch-include_stdinc_h
> ===
> RCS file: /home/cvs/ports/net/ircd-hybrid/patches/patch-include_stdinc_h,v
> retrieving revision 1.9
> diff -u -p -u -p -r1.9 patch-include_stdinc_h
> --- patches/patch-include_stdinc_h11 Mar 2022 19:46:09

update devel/leiningen to 2.9.10

2022-10-04 Thread Omar Polo
we are two bugfixes release behind.  in the meantime upstream moved to
codeberg but kept the mirror on github so still fetching from it.

i've mostly moved to deps for my clojure needs, so only briefly
tested.

Index: Makefile
===
RCS file: /home/cvs/ports/devel/leiningen/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile18 May 2022 06:08:37 -  1.12
+++ Makefile4 Oct 2022 10:43:15 -
@@ -2,8 +2,7 @@ COMMENT =   Clojure project automation
 
 GH_ACCOUNT =   technomancy
 GH_PROJECT =   leiningen
-GH_TAGNAME =   2.9.8
-REVISION = 0
+GH_TAGNAME =   2.9.10
 
 JAR_FILE = ${DISTNAME}-standalone.jar
 
Index: distinfo
===
RCS file: /home/cvs/ports/devel/leiningen/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo4 Jan 2022 10:11:50 -   1.6
+++ distinfo4 Oct 2022 10:49:02 -
@@ -1,4 +1,4 @@
-SHA256 (leiningen-2.9.8-standalone.jar) = 
Kg6RFODWI8dIqa3l1ytUEosxtd2xP1GwTFM/EEuwxI0=
-SHA256 (leiningen-2.9.8.tar.gz) = vimcvXBpMhPGiH+TEyf7nfO9VJMKUh0PyIvqBNVcXNQ=
-SIZE (leiningen-2.9.8-standalone.jar) = 12834369
-SIZE (leiningen-2.9.8.tar.gz) = 924543
+SHA256 (leiningen-2.9.10-standalone.jar) = 
oihTDwC1B1Os/dw944oNc3tvXBrsSa8gLnCgrSjCSck=
+SHA256 (leiningen-2.9.10.tar.gz) = VefR2J6zsWMJs7eTbnK837eDrqgMYJCLULIngbrpEcQ=
+SIZE (leiningen-2.9.10-standalone.jar) = 13199306
+SIZE (leiningen-2.9.10.tar.gz) = 969458



Re: xine's ffmpegaudio doesn't downmix, sio_getpar() reports 6 channels instead of 2

2022-10-04 Thread Alexandre Ratchov
On Mon, Oct 03, 2022 at 03:11:51PM +, adr wrote:
> On Mon, 3 Oct 2022, Alexandre Ratchov wrote:
> > 
> > I tried to play this file:
> > 
> > $ ffprobe ~/Downloads/Surround\ Sound\ Test\ PCM\ 5.1.m2ts 2>&1 | grep Audio
> >  Stream #0:1[0x1100]: Audio: pcm_bluray (HDMV / 0x564D4448), 48000 Hz, 
> > 5.1(side), s16, 4608 kb/s
> 
> I haven't tried multichannel PCM, but I've tested AAC and A/52
> streams. By the way, there is an internal A/52 downmixer but I
> can't remember if it is available with liba52 disabled.
>

Thanks for the explanation. I used the wrong file format.  Now
everything works as expected.

> In respect to force the downmix into sndiod, yes I'm with you. But
> until the developers agree on how to implement it, better to be
> able to hear an audio stream correctly, don't you think? The patch
> is really small. Now I think is better to not ask upstream but to
> keep it as a patch until sndiod is fixed.

Agreed. Here's a diff against the ports tree:

Other tests? OKs?

Index: Makefile
===
RCS file: /cvs/ports/multimedia/xine-lib/Makefile,v
retrieving revision 1.155
diff -u -p -u -p -r1.155 Makefile
--- Makefile3 Apr 2022 11:12:09 -   1.155
+++ Makefile4 Oct 2022 10:47:26 -
@@ -1,7 +1,7 @@
 COMMENT=   multimedia decoding library
 
 DISTNAME=  xine-lib-1.2.12
-REVISION=  2
+REVISION=  3
 CATEGORIES=multimedia
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=xine/}
 EXTRACT_SUFX=  .tar.xz
Index: patches/patch-src_audio_out_audio_sndio_out_c
===
RCS file: patches/patch-src_audio_out_audio_sndio_out_c
diff -N patches/patch-src_audio_out_audio_sndio_out_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_audio_out_audio_sndio_out_c   4 Oct 2022 10:47:26 
-
@@ -0,0 +1,108 @@
+Index: src/audio_out/audio_sndio_out.c
+--- src/audio_out/audio_sndio_out.c.orig
 src/audio_out/audio_sndio_out.c
+@@ -37,6 +37,8 @@
+ #include 
+ #include "bswap.h"
+ 
++#include "speakers.h"
++
+ #define GAP_TOLERANCEAO_MAX_GAP
+ #define PCT_TO_MIDI(p)   (((p) * SIO_MAXVOL + 50) / 100)
+ 
+@@ -248,11 +250,15 @@ static void ao_sndio_exit(ao_driver_t *this_gen)
+ {
+   sndio_driver_t *this = (sndio_driver_t *) this_gen;
+ 
++  this->xine->config->unregister_callbacks (this->xine->config, 
"audio.output.speaker_arrangement", NULL, this, sizeof (*this));
++
+   xprintf (this->xine, XINE_VERBOSITY_DEBUG,
+"audio_sndio_out: ao_sndio_exit called\n");
+ 
+   if (this->hdl != NULL)
+ sio_close(this->hdl);
++
++  free (this);
+ }
+ 
+ static int ao_sndio_get_property (ao_driver_t *this_gen, int property)
+@@ -316,13 +322,27 @@ static int ao_sndio_ctrl(ao_driver_t *this_gen, int cm
+   return 0;
+ }
+ 
++static void sndio_speaker_arrangement_cb (void *user_data,
++  xine_cfg_entry_t *entry);
++
+ static ao_driver_t *open_plugin (audio_driver_class_t *class_gen, const void 
*data)
+ {
+   sndio_class_t   *class = (sndio_class_t *) class_gen;
++  config_values_t *config = class->xine->config;
+   sndio_driver_t  *this;
+ 
+   lprintf ("audio_sndio_out: open_plugin called\n");
+ 
++  AUDIO_DEVICE_SPEAKER_ARRANGEMENT_TYPES;
++  int speakers;
++
++  speakers = config->register_enum (config,
++  "audio.output.speaker_arrangement",
++  STEREO,
++  (char **)speaker_arrangement,
++  AUDIO_DEVICE_SPEAKER_ARRANGEMENT_HELP,
++  0, sndio_speaker_arrangement_cb, this);
++
+   this = calloc(1, sizeof (sndio_driver_t));
+   if (!this)
+ return NULL;
+@@ -333,10 +353,16 @@ static ao_driver_t *open_plugin (audio_driver_class_t 
+* Set capabilities
+*/
+   this->capabilities = AO_CAP_MODE_MONO | AO_CAP_MODE_STEREO |
+-AO_CAP_MODE_4CHANNEL | AO_CAP_MODE_4_1CHANNEL |
+-AO_CAP_MODE_5CHANNEL | AO_CAP_MODE_5_1CHANNEL |
+ AO_CAP_MIXER_VOL | AO_CAP_MUTE_VOL | AO_CAP_8BITS |
+ AO_CAP_16BITS;
++  if (speakers == SURROUND4)
++this->capabilities |= AO_CAP_MODE_4CHANNEL;
++  if (speakers == SURROUND41)
++this->capabilities |= AO_CAP_MODE_4_1CHANNEL;
++  if (speakers == SURROUND5)
++this->capabilities |= AO_CAP_MODE_5CHANNEL;
++  if (speakers == SURROUND51)
++this->capabilities |= AO_CAP_MODE_5_1CHANNEL;
+ 
+   this->ao_driver.get_capabilities  = ao_sndio_get_capabilities;
+   this->ao_driver.get_property  = ao_sndio_get_property;
+@@ -352,6 +378,32 @@ static ao_driver_t *open_plugin (audio_driver_class_t 
+   this->ao_driver.control   = ao_sndio_ctrl;
+ 
+   return &this->ao_driver;
++}
++
++static void sndio_speaker_arrangement_cb (void *user_data,
++  xine_cfg_entry_t *entry) {
++  sndio_driver_t *this = (sndio_driver_t *) user_data;
++  int32_t value = entry->num_value;
++  if (value == SURROUND4) {
++this->capabilities |= AO_CAP_MODE_4CHANNEL;
++  } else {
++this->capabilities &= ~AO_CAP_MODE_4CHANNEL;
++

Re: [new] devel/seerbsd

2022-10-04 Thread Omar Polo
Hello,

On 2022/10/04 09:57:05 +0200, Ivo van der Sangen  wrote:
> Hi,
> 
> I created a port for Seer. Seer is a graphical front-end to GDB. I tested this
> on amd64 using GDB from ports.
> 
> Most of it seems to work well, except for disabling start address 
> randomization,
> which throws a warning on OpenBSD, even if left randomized.
> 
> Kind regards,
> 
> Ivo van der Sangen

some comments on the port:

 - instead of PKGNAME, MASTER_SITES, ... if we're fetching from github
   just use the GH_* vars

 - SEPARATE_BUILD is implicitly set by cmake

 - I'd add a runtime dependency on egdb from ports and patch it to use
   it by default; base' gdb is too old.

for some reason the file picker won't let me see or choose "foo.core",
but if i type a path I'm able to pop-up the debugger against the
specified core file fine.

not extensively tested (not a GUI fan) but it seems to work.  I'm
attaching an improved tarball that addresses the previous points, does
it still works for you?

Thanks,



seergdb.tar.gz
Description: GNU Zip compressed data


Re: new: x11/xdragon (or x11/dragon-drop?)

2022-10-04 Thread Omar Polo
> On Wed Sep 14, 2022 at 6:18 PM CEST, Thim Cederlund wrote:
> > Hi,
> >
> > Here's a port for dragon, it is a program that acts as a drag-and-drop 
> > source
> > or sink. You can drag files FROM it and TO it basically. I find myself drag
> > and dropping stuff all the time and I don't use a GUI file manager so this 
> > makes
> > things easy.
> >
> > Now to the awkward stuff, the package name "dragon" is already taken by
> > x11/kde-applications/dragon so I opted for xdragon. I noticed however that 
> > the
> > Arch Linux User Repository package name is "dragon-drop" so maybe we should
> > name it the same for the sake of consistency?

dragon-drop seems more popular than dragon or xdragon judging from
repology:

https://repology.org/project/dragon-drag-and-drop/versions

> > I added a custom do-install target in order to install the LICENSE file and
> > the renamed files.

I think we can live without a copy of the GPL, i don't think it should
be installed.

upstream makefile seems to have some support for renaming.  Setting
NAME=dragon-drop as FAKE_FLAGS seems to do it.

> > Let me know what you guys think.

nitpick: i'd consistently use += for WANTLIB, like
`make port-lib-depends-check' outputs.

the license is actually GPLv3+ due to the "or any later version" clausole.

 ---

Briefly tested, seems to work just fine, thanks!

Here's a tweaked tarball that's OK op@ to import




dragon-drop.tar.gz
Description: GNU Zip compressed data


audio/deadbeef: update to 1.9.2

2022-10-04 Thread Omar Polo
based on an old diff from sthen@ for 1.9.1.  I remember testing it
with an updated faad that never reached the port tree, and i'm now
testing it again with the current faad-2.7p2.

I don't use it, but doing some testing (in particular with aac files)
and it seems to work.

The recap of the last episodes is that this old version of deadbeef
was blocking audio/faad from being updated.  deadbeef removed the
sndio plugin however, so we're (hopefully temporarly) switching to
pulseaudio.  It also disables libmad in favour of libmpg123.

ok?


Index: Makefile
===
RCS file: /home/cvs/ports/audio/deadbeef/Makefile,v
retrieving revision 1.45
diff -u -p -r1.45 Makefile
--- Makefile31 Mar 2022 14:10:58 -  1.45
+++ Makefile4 Oct 2022 08:40:35 -
@@ -1,37 +1,35 @@
 COMMENT =  DeaDBeeF is an audio player
-DISTNAME = deadbeef-0.7.2
-REVISION = 14
+DISTNAME = deadbeef-1.9.2
 CATEGORIES =   audio
 
-HOMEPAGE = http://deadbeef.sourceforge.net/
+HOMEPAGE = https://deadbeef.sourceforge.io/
 
 # GPLv2 & LGPLv2.1
 PERMIT_PACKAGE =   Yes
 
-WANTLIB += ${COMPILER_LIBCXX} FLAC Imlib2 X11 Xcomposite
-WANTLIB += Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr Xrender
-WANTLIB += atk-1.0 atk-bridge-2.0 atspi avcodec avformat avutil
-WANTLIB += bz2 c cairo cairo-gobject cddb cdio crypto curl dbus-1
-WANTLIB += epoxy expat faad ffi fontconfig freetype gdk-3 gdk_pixbuf-2.0
-WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2
-WANTLIB += gsm gthread-2.0 gtk-3 harfbuzz iconv intl jansson m
-WANTLIB += mad mms mp3lame mp4ff mpcdec nghttp2 ogg opus pango-1.0
-WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png
-WANTLIB += sndfile sndio speex ssl swresample vorbis vorbisenc
-WANTLIB += vorbisfile vpx wavpack x264 x265 xcb xcb-render xcb-shm
-WANTLIB += xvidcore z zip fribidi Xau Xdmcp
-WANTLIB += aom dav1d execinfo jpeg lzma theoradec theoraenc xml2 zstd
+WANTLIB += ${COMPILER_LIBCXX} BlocksRuntime FLAC X11 Xau Xcomposite
+WANTLIB += Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr
+WANTLIB += Xrender aom atk-1.0 atk-bridge-2.0 avcodec avformat
+WANTLIB += avutil bz2 c cairo cairo-gobject cddb cdio crypto curl
+WANTLIB += dav1d dbus-1 dispatch epoxy execinfo expat faad ffi
+WANTLIB += fontconfig freetype fribidi gdk-3 gdk_pixbuf-2.0 gio-2.0
+WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 graphite2 gsm gthread-2.0
+WANTLIB += gtk-3 harfbuzz iconv intl jansson jpeg lzma m mms mp3lame
+WANTLIB += mpcdec mpg123 nghttp2 ogg opus opusfile pango-1.0
+WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pulse
+WANTLIB += pulse-simple sndfile speex ssl swresample theoradec
+WANTLIB += theoraenc vorbis vorbisenc vorbisfile vpx wavpack x264
+WANTLIB += x265 xcb xcb-render xcb-shm xml2 xvidcore z zip zstd
 
-COMPILER = base-clang ports-gcc base-gcc
+COMPILER = base-clang ports-gcc
+
+DEBUG_PACKAGES =   ${BUILD_PACKAGES}
 
 MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=deadbeef/}
 EXTRACT_SUFX = .tar.bz2
 
 MODULES =  textproc/intltool
 
-BUILD_DEPENDS =${MODGNU_AUTOCONF_DEPENDS} \
-   ${MODGNU_AUTOMAKE_DEPENDS}
-
 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
 BUILD_DEPENDS +=   devel/yasm
 .endif
@@ -42,19 +40,20 @@ RUN_DEPENDS =   devel/desktop-file-utils 
 LIB_DEPENDS =  archivers/libzip \
audio/faad \
audio/flac \
+   audio/libcddb \
audio/libcdio \
-   audio/libmad \
audio/libogg \
audio/libsndfile \
audio/libvorbis \
audio/musepack \
+   audio/opusfile \
+   audio/pulseaudio \
audio/wavpack \
devel/jansson \
+   devel/libdispatch \
graphics/ffmpeg \
-   graphics/imlib2 \
multimedia/libmms \
net/curl \
-   x11/dbus \
x11/gtk+3
 
 USE_GMAKE =Yes
@@ -63,9 +62,9 @@ LIBTOOL_FLAGS =   --tag=disable-static
 NO_TEST =  Yes
 
 AUTOCONF_VERSION = 2.69
-AUTOMAKE_VERSION = 1.11
+AUTOMAKE_VERSION = 1.16
 
-CONFIGURE_STYLE =  gnu
+CONFIGURE_STYLE =  autoreconf
 CONFIGURE_ARGS +=  --disable-static \
--disable-abstract-socket \
--disable-adplug \
@@ -73,16 +72,20 @@ CONFIGURE_ARGS +=   --disable-static \
--disable-coreaudio \
--disable-gme \
--disable-gtk2 \
-   --disable-libmpg123 \
+   --disable-l

[new] sysutils/rset

2022-10-04 Thread Omar Polo
% pkg_info rset
Information for inst:rset-2.4

Comment:
configure systems using any scripting language

Description:
rset(1) operates by staging files on a remote system, then executing
instructions embedded in the pln(5) files.  Any interpreter capable of
running scripts read over a pipe may be specified.

The bundled utilities rinstall(1) and rsub(1) provide an easy means of
installing and modifying configuration files, and capabilities are added
by writing utility scripts which are sent along with configuration data.

Maintainer: Omar Polo 

WWW: https://scriptedconfiguration.org/



I've been using it a bit in the previous week, both against some local
vms and a remote server.  it's been working fine and so far it's been
fun to use.

ok to import?



[new] devel/seerbsd

2022-10-04 Thread Ivo van der Sangen
Hi,

I created a port for Seer. Seer is a graphical front-end to GDB. I tested this
on amd64 using GDB from ports.

Most of it seems to work well, except for disabling start address randomization,
which throws a warning on OpenBSD, even if left randomized.

Kind regards,

Ivo van der Sangen


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


[update] samba-4.17.0

2022-10-04 Thread Jeremie Courreges-Anglas


New major release:
https://www.samba.org/samba/history/samba-4.17.0.html

The diff below includes necessary updates for tdb and libtalloc.

Tests and oks welcome!


Index: databases/tdb/Makefile
===
RCS file: /cvs/ports/databases/tdb/Makefile,v
retrieving revision 1.42
diff -u -p -r1.42 Makefile
--- databases/tdb/Makefile  16 Jul 2022 15:18:18 -  1.42
+++ databases/tdb/Makefile  4 Oct 2022 00:50:13 -
@@ -2,7 +2,7 @@ COMMENT-main=   trivial database library
 COMMENT-python=Python ${MODPY_VERSION} bindings for tdb
 
 # Keep in sync with the version bundled in net/samba
-V= 1.4.6
+V= 1.4.7
 
 DISTNAME=  tdb-$V
 PKGNAME-python=py3-${DISTNAME}
Index: databases/tdb/distinfo
===
RCS file: /cvs/ports/databases/tdb/distinfo,v
retrieving revision 1.18
diff -u -p -r1.18 distinfo
--- databases/tdb/distinfo  16 Jul 2022 15:18:18 -  1.18
+++ databases/tdb/distinfo  4 Oct 2022 00:50:13 -
@@ -1,2 +1,2 @@
-SHA256 (tdb-1.4.6.tar.gz) = 1okr2L7+BKd2QqHdVuSoeTSb8c9bLAv1+4QQYZON7ws=
-SIZE (tdb-1.4.6.tar.gz) = 736747
+SHA256 (tdb-1.4.7.tar.gz) = pPsWje9TPzH/LAf32YRLsxMeZ5nwlOvnfQOArcmHwg4=
+SIZE (tdb-1.4.7.tar.gz) = 741714
Index: devel/libtalloc/Makefile
===
RCS file: /cvs/ports/devel/libtalloc/Makefile,v
retrieving revision 1.31
diff -u -p -r1.31 Makefile
--- devel/libtalloc/Makefile10 Mar 2022 00:04:05 -  1.31
+++ devel/libtalloc/Makefile4 Oct 2022 00:50:13 -
@@ -2,12 +2,11 @@ COMMENT-main= hierarchical memory pool s
 COMMENT-python=Python ${MODPY_VERSION} bindings for talloc
 
 # Keep in sync with the version bundled in net/samba
-V= 2.3.3
+V= 2.3.4
 
 DISTNAME=  talloc-$V
 PKGNAME-main=  lib${DISTNAME}
 PKGNAME-python=py3-${DISTNAME}
-REVISION-python= 0
 
 MULTI_PACKAGES=-main -python
 
Index: devel/libtalloc/distinfo
===
RCS file: /cvs/ports/devel/libtalloc/distinfo,v
retrieving revision 1.14
diff -u -p -r1.14 distinfo
--- devel/libtalloc/distinfo18 Oct 2021 12:23:50 -  1.14
+++ devel/libtalloc/distinfo4 Oct 2022 00:50:13 -
@@ -1,2 +1,2 @@
-SHA256 (talloc-2.3.3.tar.gz) = a+lbI2i9CvHEzXqIFG62zuoY5Gw//JMwv2JitA0diqo=
-SIZE (talloc-2.3.3.tar.gz) = 650493
+SHA256 (talloc-2.3.4.tar.gz) = F5+eviZeZ+SrLCbK0rfeS2p3xsIS+WaQM4KGnwa+ZQU=
+SIZE (talloc-2.3.4.tar.gz) = 674196
Index: devel/libtalloc/patches/patch-buildtools_wafsamba_wafsamba_py
===
RCS file: 
/cvs/ports/devel/libtalloc/patches/patch-buildtools_wafsamba_wafsamba_py,v
retrieving revision 1.7
diff -u -p -r1.7 patch-buildtools_wafsamba_wafsamba_py
--- devel/libtalloc/patches/patch-buildtools_wafsamba_wafsamba_py   10 Mar 
2022 00:04:05 -  1.7
+++ devel/libtalloc/patches/patch-buildtools_wafsamba_wafsamba_py   4 Oct 
2022 00:50:13 -
@@ -3,7 +3,7 @@
 Index: buildtools/wafsamba/wafsamba.py
 --- buildtools/wafsamba/wafsamba.py.orig
 +++ buildtools/wafsamba/wafsamba.py
-@@ -211,6 +211,16 @@ def SAMBA_LIBRARY(bld, libname, source,
+@@ -281,6 +281,16 @@ def SAMBA_LIBRARY(bld, libname, source,
  realname = bld.map_shlib_extension(realname, 
python=(target_type=='PYTHON'))
  link_name = bld.map_shlib_extension(link_name, 
python=(target_type=='PYTHON'))
  
Index: net/samba/Makefile
===
RCS file: /cvs/ports/net/samba/Makefile,v
retrieving revision 1.318
diff -u -p -r1.318 Makefile
--- net/samba/Makefile  7 Sep 2022 08:19:09 -   1.318
+++ net/samba/Makefile  4 Oct 2022 00:50:13 -
@@ -1,4 +1,4 @@
-VERSION =  4.16.4
+VERSION =  4.17.0
 DISTNAME = samba-${VERSION}
 EPOCH =0
 
@@ -8,8 +8,6 @@ COMMENT-docs =  additional documentation
 PKGNAME-main = ${PKGNAME}
 PKGNAME-docs = samba-docs-${VERSION}
 
-REVISION-main =0
-
 PKG_ARCH-docs =*
 
 SHARED_LIBS =  dcerpc  1.1 \
@@ -20,18 +18,18 @@ SHARED_LIBS =   dcerpc  1.1 \
ndr 3.0 \
ndr-krb5pac 1.1 \
ndr-nbt 1.0 \
-   ndr-standard4.1 \
-   netapi  3.1 \
-   samba-credentials   1.1 \
+   ndr-standard4.2 \
+   netapi  3.2 \
+   samba-credentials   1.2 \
samba-errors2.1 \
-   samba-hostconfig9.1 \
+   samba-hostco

Re: update libfstrm

2022-10-04 Thread Theo Buehler
On Tue, Oct 04, 2022 at 08:28:51AM +0200, Otto Moerbeek wrote:
> Hi,
> 
> AFAIK, this does not change the ABI or API. Is there a way to easily
> check that?

There are various wrapper scripts around check_sym that are floating
around, Omar showed you one of them. It would be nice if one of these
could be integrated into the ports infrastructure.

> Can this be committed as such? 

Please run 'make update-plist' before committing, then it's ok tb.



Re: update libfstrm

2022-10-04 Thread Omar Polo
On 2022/10/04 08:28:51 +0200, Otto Moerbeek  wrote:
> Hi,
> 
> AFAIK, this does not change the ABI or API. Is there a way to easily
> check that?

/usr/src/lib/check_sym shows no dynamic export changes

% cshlib
===> fstrm
/usr/local/lib/libfstrm.so.0.0 --> 
/usr/ports/pobj/fstrm-0.6.1/fake-amd64/usr/local/lib/libfstrm.so.0.0
No dynamic export changes

cshlib is a sh function I stolen from jca@ (IIRC).  it iterates over
SHARED_LIBS and checks the installed version against the one installed
my `make fake'.

cshlib() {
local cnt=0
local f

for f in $(make show=SHARED_LIBS); do
[ "$((cnt++ % 2))" -eq 1 ] && continue
echo '===>' $f
/usr/src/lib/check_sym /usr/local/lib/lib$f.so* \
$(make show=WRKINST)/usr/local/lib/lib$f.so*
done
}


reading the diff on github between the version confirms that there
aren't abi changes for what i can see.

fwiw the tests are also all passing :)

> Can this be committed as such? 
> 
> Thanks,
> 
>   -Otto
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/net/libfstrm/Makefile,v
> retrieving revision 1.3
> diff -u -p -r1.3 Makefile
> --- Makefile  11 Mar 2022 19:46:13 -  1.3
> +++ Makefile  4 Oct 2022 06:27:00 -
> @@ -1,6 +1,6 @@
>  COMMENT= C implementation of the Frame Streams protocol
>  
> -DISTNAME=fstrm-0.5.0
> +DISTNAME=fstrm-0.6.1
>  CATEGORIES=  net devel
>  
>  SHARED_LIBS +=  fstrm0.0
> Index: distinfo
> ===
> RCS file: /cvs/ports/net/libfstrm/distinfo,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 distinfo
> --- distinfo  2 Jun 2019 06:19:38 -   1.1.1.1
> +++ distinfo  4 Oct 2022 06:27:00 -
> @@ -1,2 +1,2 @@
> -SHA256 (fstrm-0.5.0.tar.gz) = EO53kqhvrOHSJx3FkWUquMevaXaIOIfGn9sR8Q2hNfw=
> -SIZE (fstrm-0.5.0.tar.gz) = 470558
> +SHA256 (fstrm-0.6.1.tar.gz) = vKSsHpgqLZI8zSTM4smPTO7tUAlpRDD3P8Dc68qPCY8=
> +SIZE (fstrm-0.6.1.tar.gz) = 471218