Re: [UPDATE] profanity 0.11.1

2021-11-19 Thread Rafael Sadowski
On Fri Nov 19, 2021 at 10:49:19PM +0100, Omar Polo wrote:
> Florian Viehweger  writes:
> 
> > Friendly ping.
> >
> > Thanks!
> 
> I've tested this and the libstrophe update with Florian and everything
> works fine -- including omemo :)

OK rsadowski

> 
> >> Hi,
> >> 
> >> this updates profanity to 0.11.1.
> >> 
> >> Changes:
> >> - Fix typo in `shade` color theme (#1579)
> >> - Fix memory leaks (#1583) (#1584) (#1585)
> >> - Fix buffer overread (#1586)
> >> - Don't handle /me in the middle of a message with mentions (#1586)
> >> - Explicitly check for curl version (#1581)
> >> - Fix OMEMO devicelist access model by reconfiguring it (#1538)
> >> (#1591)
> >> - Cosmetic cleanup (#1593)
> >> - Change attentionflag shortcut from alt-f to alt+v (#1580)
> >> - Update man page and /help information
> >> - Enable whole word only notifications by default (#1578)
> >> 
> >> I've been running this for a few days on amd64 with the updated
> >> version of libstrophe, submitted in a separate mail.
> >> 
> >> portcheck, 'make lib-depends-check' and 'make test' are happy.
> >> 
> >> Comments? OK?
> >> 
> >> 
> >> Index: profanity/Makefile
> >> ===
> >> RCS file: /cvs/ports/net/profanity/Makefile,v
> >> retrieving revision 1.22
> >> diff -u -p -u -p -r1.22 Makefile
> >> --- profanity/Makefile 2 Nov 2021 00:01:40 -   1.22
> >> +++ profanity/Makefile 12 Nov 2021 20:57:44 -
> >> @@ -1,9 +1,8 @@
> >>  # $OpenBSD: Makefile,v 1.22 2021/11/02 00:01:40 sthen Exp $
> >>  
> >>  COMMENT = console based XMPP client
> >> -DISTNAME =profanity-0.11.0
> >> +DISTNAME =profanity-0.11.1
> >>  CATEGORIES =  net
> >> -REVISION =0
> >>  
> >>  HOMEPAGE =https://profanity-im.github.io/
> >>  
> >> Index: profanity/distinfo
> >> ===
> >> RCS file: /cvs/ports/net/profanity/distinfo,v
> >> retrieving revision 1.12
> >> diff -u -p -u -p -r1.12 distinfo
> >> --- profanity/distinfo 10 Sep 2021 04:30:58 -  1.12
> >> +++ profanity/distinfo 12 Nov 2021 20:57:44 -
> >> @@ -1,2 +1,2 @@
> >> -SHA256 (profanity-0.11.0.tar.gz) =
> >> P8mAmBb2kYbbuGCycYP2zSrvClKn0U4g5O9sOn8PNgY= -SIZE
> >> (profanity-0.11.0.tar.gz) = 887566 +SHA256 (profanity-0.11.1.tar.gz)
> >> = bxtN9sKXH1HQPUjSv9T2m0QEQQ2AC0PwKeoc8IoCvUU= +SIZE
> >> (profanity-0.11.1.tar.gz) = 888794
> >> 
> 



mips64 bulk build report

2021-11-19 Thread visa
bulk build on octeon.ports.openbsd.org
started on  Tue Nov 9 15:51:18 UTC 2021
finished at Thu Nov 18 14:58:27 UTC 2021
lasted 09D23h07m
done with kern.version=OpenBSD 7.0-current (GENERIC.MP) #0: Tue Nov  9 15:35:04 
UTC 2021

built packages:9085
Nov 9:2065
Nov 10:992
Nov 11:436
Nov 12:615
Nov 13:518
Nov 14:698
Nov 15:323
Nov 16:647
Nov 17:812
Nov 18:1978


build failures: 97
http://build-failures.rhaalovely.net/mips64/2021-11-09/cad/kicad.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/chinese/libpinyin.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/comms/sigrok/pulseview.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/comms/sigrok/sigrok-cli.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/databases/postgresql-pllua.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/devel/clang-tools-extra.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/devel/coccinelle.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/devel/go-sys.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/devel/promu.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/devel/py-unicorn,python3.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/devel/sdcc.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/editors/micro.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/emulators/openmsx.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/emulators/spike.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/games/astromenace.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/games/freeorion.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/games/goldberg_emulator.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/games/hyperrogue.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/games/puzzles.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/games/wesnoth.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/geo/gpstk.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/graphics/asymptote.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/graphics/enblend-enfuse.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/graphics/gimp/stable.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/graphics/gmic.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/graphics/vulkan-validation-layers.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/lang/STk.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/lang/gforth.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/lang/librep.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/lang/pfe.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/mail/opensmtpd-filters/rspamd.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/math/gbc.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/math/lean.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/math/lrs.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/math/mlpack,-main.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/math/ntl.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/multimedia/assimp.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/multimedia/synfigstudio.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/net/barrier.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/net/gortr.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/net/gtk-gnutella.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/net/icinga/core2.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/net/minio/client.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/net/minio/server.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/net/powerdns_recursor.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/net/syncthing.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/net/utox.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/plan9/drawterm.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/print/scribus.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/security/botan2.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/security/go-siphash.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/security/gobuster.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/security/vault.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/shells/elvish.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/shells/ksh93.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/sysutils/amazon-ecs-cli.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/sysutils/beats/filebeat.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/sysutils/beats/heartbeat.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/sysutils/beats/metricbeat.log
http://build-failures.rhaalovely.net/mips64/2021-11-09/sysutils/beats/packetbeat.log

CVS: cvs.openbsd.org: ports

2021-11-19 Thread Greg Steuck
CVSROOT:/cvs
Module name:ports
Changes by: gne...@cvs.openbsd.org  2021/11/19 18:39:09

Modified files:
textproc/pandoc: Makefile distinfo 

Log message:
Upgrade textproc/pandoc 2.14.2->2.16.1

OK kili@



Re: [SECURITY UPDATE] samba-4.14.10

2021-11-19 Thread Jeremie Courreges-Anglas
On Sat, Nov 20 2021, Jeremie Courreges-Anglas  wrote:
> Here's an update for -stable, build-tested on -stable.
> Test reports welcome, I plan to commit this before Nov 23.

Better diff with shared libaries bumps.  The affected libraries don't
seem to be used in the ports tree (says sqlports), thus pushing this
into -stable looks safe to me.


Index: Makefile
===
RCS file: /cvs/ports/net/samba/Makefile,v
retrieving revision 1.302
diff -u -p -r1.302 Makefile
--- Makefile3 Sep 2021 11:47:41 -   1.302
+++ Makefile20 Nov 2021 01:04:52 -
@@ -1,6 +1,6 @@
 # $OpenBSD: Makefile,v 1.302 2021/09/03 11:47:41 ajacoutot Exp $
 
-VERSION =  4.14.7
+VERSION =  4.14.10
 DISTNAME = samba-${VERSION}
 EPOCH =0
 
@@ -21,14 +21,13 @@ PKG_ARCH-docs = *
 LDB_V =2.3.0
 TEVENT_V = 0.10.2
 
-REVISION-main =0
-REVISION-ldb = 1
-REVISION-tevent =  1
+REVISION-ldb = 2
+REVISION-tevent =  2
 
-SHARED_LIBS =  asn1-samba4 1.0 \
+SHARED_LIBS =  asn1-samba4 2.0 \
com_err-samba4  1.0 \
dcerpc  1.0 \
-   dcerpc-binding  3.0 \
+   dcerpc-binding  4.0 \
dcerpc-samr 1.0 \
dcerpc-server-core  1.0 \
gssapi-samba4   1.0 \
@@ -38,22 +37,22 @@ SHARED_LIBS =   asn1-samba4 1.0 \
heimntlm-samba4 1.0 \
hx509-samba41.0 \
kdc-samba4  1.0 \
-   krb5-samba4 1.0 \
+   krb5-samba4 1.1 \
ldb 2.0 \
ndr 2.0 \
-   ndr-krb5pac 1.0 \
+   ndr-krb5pac 1.1 \
ndr-nbt 1.0 \
ndr-standard4.0 \
netapi  3.0 \
roken-samba41.0 \
samba-credentials   1.0 \
samba-errors2.0 \
-   samba-hostconfig7.0 \
+   samba-hostconfig8.0 \
samba-passdb3.0 \
samba-util  6.0 \
samdb   1.0 \
smbclient   6.0 \
-   smbconf 9.0 \
+   smbconf 9.1 \
smbldap 1.0 \
tevent  1.0 \
tevent-util 2.0 \
Index: distinfo
===
RCS file: /cvs/ports/net/samba/distinfo,v
retrieving revision 1.86
diff -u -p -r1.86 distinfo
--- distinfo30 Aug 2021 11:01:42 -  1.86
+++ distinfo20 Nov 2021 01:04:52 -
@@ -1,2 +1,2 @@
-SHA256 (samba-4.14.7.tar.gz) = b1A1P5YCqiAkXrGM6wDn5ex5PfCXSuvVJUw48W2PGQY=
-SIZE (samba-4.14.7.tar.gz) = 18668592
+SHA256 (samba-4.14.10.tar.gz) = EH7oYvWAYmgs7DYuxookJRKSgF+JqkyX56uAI3+Rx68=
+SIZE (samba-4.14.10.tar.gz) = 19134066
Index: patches/patch-lib_ldb_wscript
===
RCS file: /cvs/ports/net/samba/patches/patch-lib_ldb_wscript,v
retrieving revision 1.13
diff -u -p -r1.13 patch-lib_ldb_wscript
--- patches/patch-lib_ldb_wscript   12 May 2021 23:33:24 -  1.13
+++ patches/patch-lib_ldb_wscript   20 Nov 2021 01:04:52 -
@@ -7,7 +7,7 @@ $OpenBSD: patch-lib_ldb_wscript,v 1.13 2
 Index: lib/ldb/wscript
 --- lib/ldb/wscript.orig
 +++ lib/ldb/wscript
-@@ -68,6 +68,7 @@ def configure(conf):
+@@ -69,6 +69,7 @@ def configure(conf):
  conf.CONFIG_PATH('LDB_MODULESDIR', conf.SUBST_ENV_VAR('MODULESDIR') + 
'/ldb')
  
  conf.env.standalone_ldb = conf.IN_LAUNCH_DIR()
@@ -15,7 +15,7 @@ Index: lib/ldb/wscript
  
  if not conf.env.standalone_ldb:
  max_ldb_version = [int(x) for x in VERSION.split(".")]
-@@ -151,8 +152,7 @@ def configure(conf):
+@@ -152,8 +153,7 @@ def configure(conf):
  
  # we don't want any libraries or modules to rely on runtime
  # resolution of symbols
Index: pkg/PLIST-main
===
RCS file: /cvs/ports/net/samba/pkg/PLIST-main,v
retrieving revision 1.57
diff -u -p -r1.57 PLIST-main
--- pkg/PLIST-main  14 May 2021 06:47:26 -  1.57
+++ pkg/PLIST-main  20 Nov 2021 01:04:53 -
@@ -285,6 +285,7 @@ 

[SECURITY UPDATE] samba-4.14.10

2021-11-19 Thread Jeremie Courreges-Anglas


Here's an update for -stable, build-tested on -stable.
Test reports welcome, I plan to commit this before Nov 23.


Index: Makefile
===
RCS file: /cvs/ports/net/samba/Makefile,v
retrieving revision 1.302
diff -u -p -r1.302 Makefile
--- Makefile3 Sep 2021 11:47:41 -   1.302
+++ Makefile20 Nov 2021 00:13:11 -
@@ -1,6 +1,6 @@
 # $OpenBSD: Makefile,v 1.302 2021/09/03 11:47:41 ajacoutot Exp $
 
-VERSION =  4.14.7
+VERSION =  4.14.10
 DISTNAME = samba-${VERSION}
 EPOCH =0
 
@@ -21,9 +21,8 @@ PKG_ARCH-docs =   *
 LDB_V =2.3.0
 TEVENT_V = 0.10.2
 
-REVISION-main =0
-REVISION-ldb = 1
-REVISION-tevent =  1
+REVISION-ldb = 2
+REVISION-tevent =  2
 
 SHARED_LIBS =  asn1-samba4 1.0 \
com_err-samba4  1.0 \
Index: distinfo
===
RCS file: /cvs/ports/net/samba/distinfo,v
retrieving revision 1.86
diff -u -p -r1.86 distinfo
--- distinfo30 Aug 2021 11:01:42 -  1.86
+++ distinfo20 Nov 2021 00:13:11 -
@@ -1,2 +1,2 @@
-SHA256 (samba-4.14.7.tar.gz) = b1A1P5YCqiAkXrGM6wDn5ex5PfCXSuvVJUw48W2PGQY=
-SIZE (samba-4.14.7.tar.gz) = 18668592
+SHA256 (samba-4.14.10.tar.gz) = EH7oYvWAYmgs7DYuxookJRKSgF+JqkyX56uAI3+Rx68=
+SIZE (samba-4.14.10.tar.gz) = 19134066
Index: patches/patch-lib_ldb_wscript
===
RCS file: /cvs/ports/net/samba/patches/patch-lib_ldb_wscript,v
retrieving revision 1.13
diff -u -p -r1.13 patch-lib_ldb_wscript
--- patches/patch-lib_ldb_wscript   12 May 2021 23:33:24 -  1.13
+++ patches/patch-lib_ldb_wscript   20 Nov 2021 00:13:11 -
@@ -7,7 +7,7 @@ $OpenBSD: patch-lib_ldb_wscript,v 1.13 2
 Index: lib/ldb/wscript
 --- lib/ldb/wscript.orig
 +++ lib/ldb/wscript
-@@ -68,6 +68,7 @@ def configure(conf):
+@@ -69,6 +69,7 @@ def configure(conf):
  conf.CONFIG_PATH('LDB_MODULESDIR', conf.SUBST_ENV_VAR('MODULESDIR') + 
'/ldb')
  
  conf.env.standalone_ldb = conf.IN_LAUNCH_DIR()
@@ -15,7 +15,7 @@ Index: lib/ldb/wscript
  
  if not conf.env.standalone_ldb:
  max_ldb_version = [int(x) for x in VERSION.split(".")]
-@@ -151,8 +152,7 @@ def configure(conf):
+@@ -152,8 +153,7 @@ def configure(conf):
  
  # we don't want any libraries or modules to rely on runtime
  # resolution of symbols
Index: pkg/PLIST-main
===
RCS file: /cvs/ports/net/samba/pkg/PLIST-main,v
retrieving revision 1.57
diff -u -p -r1.57 PLIST-main
--- pkg/PLIST-main  14 May 2021 06:47:26 -  1.57
+++ pkg/PLIST-main  20 Nov 2021 00:13:11 -
@@ -285,6 +285,7 @@ lib/python${MODPY_VERSION}/site-packages
 @so 
lib/python${MODPY_VERSION}/site-packages/samba/dcerpc/idmap.${MODPY_PYC_MAGIC_TAG}so
 @so 
lib/python${MODPY_VERSION}/site-packages/samba/dcerpc/initshutdown.${MODPY_PYC_MAGIC_TAG}so
 @so 
lib/python${MODPY_VERSION}/site-packages/samba/dcerpc/irpc.${MODPY_PYC_MAGIC_TAG}so
+@so 
lib/python${MODPY_VERSION}/site-packages/samba/dcerpc/krb5ccache.${MODPY_PYC_MAGIC_TAG}so
 @so 
lib/python${MODPY_VERSION}/site-packages/samba/dcerpc/krb5pac.${MODPY_PYC_MAGIC_TAG}so
 @so 
lib/python${MODPY_VERSION}/site-packages/samba/dcerpc/lsa.${MODPY_PYC_MAGIC_TAG}so
 @so 
lib/python${MODPY_VERSION}/site-packages/samba/dcerpc/mdssvc.${MODPY_PYC_MAGIC_TAG}so
@@ -598,6 +599,8 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/samba/tests/${MODPY_PYCACHE}domain_backup_offline.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/samba/tests/${MODPY_PYCACHE}dsdb.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
 
lib/python${MODPY_VERSION}/site-packages/samba/tests/${MODPY_PYCACHE}dsdb.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/samba/tests/${MODPY_PYCACHE}dsdb_api.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
+lib/python${MODPY_VERSION}/site-packages/samba/tests/${MODPY_PYCACHE}dsdb_api.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/samba/tests/${MODPY_PYCACHE}dsdb_lock.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
 
lib/python${MODPY_VERSION}/site-packages/samba/tests/${MODPY_PYCACHE}dsdb_lock.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/samba/tests/${MODPY_PYCACHE}dsdb_schema_attributes.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
@@ -628,6 +631,10 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/samba/tests/${MODPY_PYCACHE}ldap_raw.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/samba/tests/${MODPY_PYCACHE}ldap_referrals.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
 

CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 15:42:02

Modified files:
textproc/py-ruamel.yaml: Makefile distinfo 
textproc/py-ruamel.yaml/pkg: PLIST 

Log message:
update to py3-ruamel.yaml-0.17.17



Re: [UPDATE] profanity 0.11.1

2021-11-19 Thread Omar Polo
Florian Viehweger  writes:

> Friendly ping.
>
> Thanks!

I've tested this and the libstrophe update with Florian and everything
works fine -- including omemo :)

>> Hi,
>> 
>> this updates profanity to 0.11.1.
>> 
>> Changes:
>> - Fix typo in `shade` color theme (#1579)
>> - Fix memory leaks (#1583) (#1584) (#1585)
>> - Fix buffer overread (#1586)
>> - Don't handle /me in the middle of a message with mentions (#1586)
>> - Explicitly check for curl version (#1581)
>> - Fix OMEMO devicelist access model by reconfiguring it (#1538)
>> (#1591)
>> - Cosmetic cleanup (#1593)
>> - Change attentionflag shortcut from alt-f to alt+v (#1580)
>> - Update man page and /help information
>> - Enable whole word only notifications by default (#1578)
>> 
>> I've been running this for a few days on amd64 with the updated
>> version of libstrophe, submitted in a separate mail.
>> 
>> portcheck, 'make lib-depends-check' and 'make test' are happy.
>> 
>> Comments? OK?
>> 
>> 
>> Index: profanity/Makefile
>> ===
>> RCS file: /cvs/ports/net/profanity/Makefile,v
>> retrieving revision 1.22
>> diff -u -p -u -p -r1.22 Makefile
>> --- profanity/Makefile   2 Nov 2021 00:01:40 -   1.22
>> +++ profanity/Makefile   12 Nov 2021 20:57:44 -
>> @@ -1,9 +1,8 @@
>>  # $OpenBSD: Makefile,v 1.22 2021/11/02 00:01:40 sthen Exp $
>>  
>>  COMMENT =   console based XMPP client
>> -DISTNAME =  profanity-0.11.0
>> +DISTNAME =  profanity-0.11.1
>>  CATEGORIES =net
>> -REVISION =  0
>>  
>>  HOMEPAGE =  https://profanity-im.github.io/
>>  
>> Index: profanity/distinfo
>> ===
>> RCS file: /cvs/ports/net/profanity/distinfo,v
>> retrieving revision 1.12
>> diff -u -p -u -p -r1.12 distinfo
>> --- profanity/distinfo   10 Sep 2021 04:30:58 -  1.12
>> +++ profanity/distinfo   12 Nov 2021 20:57:44 -
>> @@ -1,2 +1,2 @@
>> -SHA256 (profanity-0.11.0.tar.gz) =
>> P8mAmBb2kYbbuGCycYP2zSrvClKn0U4g5O9sOn8PNgY= -SIZE
>> (profanity-0.11.0.tar.gz) = 887566 +SHA256 (profanity-0.11.1.tar.gz)
>> = bxtN9sKXH1HQPUjSv9T2m0QEQQ2AC0PwKeoc8IoCvUU= +SIZE
>> (profanity-0.11.1.tar.gz) = 888794
>> 



PostgreSQL 14.1 (plus dependencies)

2021-11-19 Thread Jeremy Evans
On 10/12 10:39, Jeremy Evans wrote:
> Here's a diff to upgrade PostgreSQL from 13.4 to 14.0, including
> dependent ports.  In general, we don't commit a PostgreSQL update until
> ${MAJOR_VERSION}.1 is released, but this should be useful for early
> testing. This diff includes changes to:
> 
> databases/postgresql
> databases/postgresql-previous
> databases/citus (update)
> databases/pg_statsinfo (update and many patches)
> databases/pgadmin3 (patch)
> databases/postgresql-pllua (update)
> databases/skytools (patch)
> databases/timescaledb (temporarily mark as BROKEN as PG 14 support
> hasn't been released)

Here's an updated diff for PostgreSQL 14.1, with the following
changes compared to the previous diff:

databases/postgresql (14.0 -> 14.1)
databases/postgresql-previous (13.4 -> 13.5)
databases/timescaledb (BROKEN -> 2.5.0)

Note that denis@ already sent a more complete update for
databases/timescaledb, but it hasn't been committed yet.

The postgresql-pllua diff is for the same version, but has
changed slightly due to recent impovements by sthen@.

I think this is ready to test in a bulk.

Thanks,
Jeremy

Index: databases/postgresql/Makefile
===
RCS file: /cvs/ports/databases/postgresql/Makefile,v
retrieving revision 1.278
diff -u -p -r1.278 Makefile
--- databases/postgresql/Makefile   7 Nov 2021 14:27:44 -   1.278
+++ databases/postgresql/Makefile   19 Nov 2021 21:21:32 -
@@ -7,12 +7,8 @@ COMMENT-contrib=PostgreSQL RDBMS contrib
 COMMENT-plpython=Python procedural language for PostgreSQL
 COMMENT-pg_upgrade=Support for upgrading PostgreSQL data from previous version
 
-VERSION=   13.4
-REVISION=  0
-REVISION-server=   1
-REVISION-plpython= 1
-
-PREV_MAJOR=12
+VERSION=   14.1
+PREV_MAJOR=13
 DISTNAME=  postgresql-${VERSION}
 PKGNAME-main=  postgresql-client-${VERSION}
 PKGNAME-server=postgresql-server-${VERSION}
@@ -27,7 +23,7 @@ CATEGORIES=   databases
 SHARED_LIBS=   ecpg7.10 \
ecpg_compat 4.10 \
pgtypes 4.9 \
-   pq  6.12
+   pq  6.13
 
 HOMEPAGE=  https://www.postgresql.org/
 
Index: databases/postgresql/distinfo
===
RCS file: /cvs/ports/databases/postgresql/distinfo,v
retrieving revision 1.90
diff -u -p -r1.90 distinfo
--- databases/postgresql/distinfo   10 Sep 2021 14:07:45 -  1.90
+++ databases/postgresql/distinfo   19 Nov 2021 21:21:32 -
@@ -1,2 +1,2 @@
-SHA256 (postgresql-13.4.tar.gz) = Wde8Uj54VwxUmHb+0pfsPkbdMH6Q9bHSL0kYEZHPID4=
-SIZE (postgresql-13.4.tar.gz) = 27687091
+SHA256 (postgresql-14.1.tar.gz) = spAwUl4TFNZ29B5gB6ltRIm6DQP6k+Z7R3wdU4Z5DI8=
+SIZE (postgresql-14.1.tar.gz) = 28666442
Index: databases/postgresql/pkg/PLIST-contrib
===
RCS file: /cvs/ports/databases/postgresql/pkg/PLIST-contrib,v
retrieving revision 1.22
diff -u -p -r1.22 PLIST-contrib
--- databases/postgresql/pkg/PLIST-contrib  9 Feb 2021 20:01:36 -   
1.22
+++ databases/postgresql/pkg/PLIST-contrib  19 Nov 2021 21:21:33 -
@@ -3,8 +3,8 @@
 @conflict postgresql-server-<8.4.3
 @pkgpath devel/uuid,-pgsql
 @bin bin/oid2name
+@bin bin/pg_amcheck
 @bin bin/pg_archivecleanup
-@bin bin/pg_standby
 @bin bin/pg_test_fsync
 @bin bin/pg_test_timing
 @bin bin/pgbench
@@ -32,12 +32,14 @@
 @so lib/postgresql/lo.so
 @so lib/postgresql/ltree.so
 @so lib/postgresql/moddatetime.so
+@so lib/postgresql/old_snapshot.so
 @so lib/postgresql/pageinspect.so
 @so lib/postgresql/passwordcheck.so
 @so lib/postgresql/pg_buffercache.so
 @so lib/postgresql/pg_freespacemap.so
 @so lib/postgresql/pg_prewarm.so
 @so lib/postgresql/pg_stat_statements.so
+@so lib/postgresql/pg_surgery.so
 @so lib/postgresql/pg_trgm.so
 @so lib/postgresql/pg_visibility.so
 @so lib/postgresql/pgcrypto.so
@@ -55,8 +57,8 @@
 @so lib/postgresql/unaccent.so
 @so lib/postgresql/uuid-ossp.so
 @man man/man1/oid2name.1
+@man man/man1/pg_amcheck.1
 @man man/man1/pg_archivecleanup.1
-@man man/man1/pg_standby.1
 @man man/man1/pg_test_fsync.1
 @man man/man1/pg_test_timing.1
 @man man/man1/pgbench.1
@@ -69,6 +71,7 @@ share/postgresql/extension/adminpack.con
 share/postgresql/extension/amcheck--1.0--1.1.sql
 share/postgresql/extension/amcheck--1.0.sql
 share/postgresql/extension/amcheck--1.1--1.2.sql
+share/postgresql/extension/amcheck--1.2--1.3.sql
 share/postgresql/extension/amcheck.control
 share/postgresql/extension/autoinc--1.0.sql
 share/postgresql/extension/autoinc.control
@@ -89,6 +92,7 @@ share/postgresql/extension/btree_gist--1
 share/postgresql/extension/btree_gist--1.2.sql
 share/postgresql/extension/btree_gist--1.3--1.4.sql
 share/postgresql/extension/btree_gist--1.4--1.5.sql
+share/postgresql/extension/btree_gist--1.5--1.6.sql
 share/postgresql/extension/btree_gist.control
 

Re: [maintainer update] pekwm-0.2.0

2021-11-19 Thread Omar Polo
Timo Myyrä  writes:

>>[...]
> Good catch, looks good to me.
>
> timo

Committed, thanks!



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Omar Polo
CVSROOT:/cvs
Module name:ports
Changes by: o...@cvs.openbsd.org2021/11/19 14:15:51

Modified files:
x11/pekwm  : Makefile distinfo 
x11/pekwm/pkg  : PLIST 
Added files:
x11/pekwm/patches: patch-CMakeLists_txt patch-doc_CMakeLists_txt 
   patch-src_pekwm_wm_cc 
Removed files:
x11/pekwm/patches: patch-configure_ac 
   patch-data_scripts_pekwm_screenshot_sh 
   patch-src_main_cc 

Log message:
update x11/pekwm to 0.2.0

diff from maintainer Timo Myyrä with a small tweak by me (enable tests)

OK sthen@



Re: OpenBSD wrapper for Linux/FreeBSD sendfile?

2021-11-19 Thread Tracey Emery
On Fri, Nov 19, 2021 at 08:59:29PM +, Stuart Henderson wrote:
> On 2021/11/19 11:12, Steve Williams wrote:
> > Thanks very much for that!  I'll have a look as it's more contemporary than
> > the port that Stuart pointed to.
> 
> yep, I mostly lost interest a while ago and haven't been tracking it
> closely (this was after getting motion to work - that's more my sort
> of program than zoneminder - maybe zm is better now but it felt
> rather disjointed, I seem to remember it feeling rather slow on
> OpenBSD as well - suspect the tsc timecounter changes a few releases
> ago will have helped that, at least on single-socket machines)

It runs well enough for a small environment. It's still a giant turd.
Looking at this new version, I'm quickly losing interest as well. Sorry
Ian!

-- 

Tracey Emery



Re: OpenBSD wrapper for Linux/FreeBSD sendfile?

2021-11-19 Thread Stuart Henderson
On 2021/11/19 11:12, Steve Williams wrote:
> Thanks very much for that!  I'll have a look as it's more contemporary than
> the port that Stuart pointed to.

yep, I mostly lost interest a while ago and haven't been tracking it
closely (this was after getting motion to work - that's more my sort
of program than zoneminder - maybe zm is better now but it felt
rather disjointed, I seem to remember it feeling rather slow on
OpenBSD as well - suspect the tsc timecounter changes a few releases
ago will have helped that, at least on single-socket machines)



Re: NEW: security/py-hvac 0.11.2

2021-11-19 Thread Stuart Henderson
ok sthen@ to import

On 2021/11/19 20:06, Mikolaj Kucharski wrote:
> Hi,
> 
> I use this module with Ansible and also some simple Python scripts.
> 
> -->8--
> Python client library for Hashicorp Vault
> 
> 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.
> --8<--
> 
> I've posted this before. Here is old thread:
> 
> https://marc.info/?t=16095211171=1=2
> 
> -- 
> Regards,
>  Mikolaj




Re: [UPDATE] profanity 0.11.1

2021-11-19 Thread Florian Viehweger
Friendly ping.

Thanks!

> Hi,
> 
> this updates profanity to 0.11.1.
> 
> Changes:
> - Fix typo in `shade` color theme (#1579)
> - Fix memory leaks (#1583) (#1584) (#1585)
> - Fix buffer overread (#1586)
> - Don't handle /me in the middle of a message with mentions (#1586)
> - Explicitly check for curl version (#1581)
> - Fix OMEMO devicelist access model by reconfiguring it (#1538)
> (#1591)
> - Cosmetic cleanup (#1593)
> - Change attentionflag shortcut from alt-f to alt+v (#1580)
> - Update man page and /help information
> - Enable whole word only notifications by default (#1578)
> 
> I've been running this for a few days on amd64 with the updated
> version of libstrophe, submitted in a separate mail.
> 
> portcheck, 'make lib-depends-check' and 'make test' are happy.
> 
> Comments? OK?
> 
> 
> Index: profanity/Makefile
> ===
> RCS file: /cvs/ports/net/profanity/Makefile,v
> retrieving revision 1.22
> diff -u -p -u -p -r1.22 Makefile
> --- profanity/Makefile2 Nov 2021 00:01:40 -   1.22
> +++ profanity/Makefile12 Nov 2021 20:57:44 -
> @@ -1,9 +1,8 @@
>  # $OpenBSD: Makefile,v 1.22 2021/11/02 00:01:40 sthen Exp $
>  
>  COMMENT =console based XMPP client
> -DISTNAME =   profanity-0.11.0
> +DISTNAME =   profanity-0.11.1
>  CATEGORIES = net
> -REVISION =   0
>  
>  HOMEPAGE =   https://profanity-im.github.io/
>  
> Index: profanity/distinfo
> ===
> RCS file: /cvs/ports/net/profanity/distinfo,v
> retrieving revision 1.12
> diff -u -p -u -p -r1.12 distinfo
> --- profanity/distinfo10 Sep 2021 04:30:58 -  1.12
> +++ profanity/distinfo12 Nov 2021 20:57:44 -
> @@ -1,2 +1,2 @@
> -SHA256 (profanity-0.11.0.tar.gz) =
> P8mAmBb2kYbbuGCycYP2zSrvClKn0U4g5O9sOn8PNgY= -SIZE
> (profanity-0.11.0.tar.gz) = 887566 +SHA256 (profanity-0.11.1.tar.gz)
> = bxtN9sKXH1HQPUjSv9T2m0QEQQ2AC0PwKeoc8IoCvUU= +SIZE
> (profanity-0.11.1.tar.gz) = 888794
> 



-- 
greetings,

Florian Viehweger



Re: [UPDATE] libstrophe 0.11.0

2021-11-19 Thread Florian Viehweger
Friendly ping.

Thanks!

> Hi,
> 
> this updates libstrophe 0.11.0.
> 
> Changes:
> - SASL EXTERNAL support (XEP-0178)
> - Client certificate can be provided for TLS negotiation. If the
>   certificate contains a single xmppAddr and JID is not provided with
>   xmpp_conn_set_jid(), the xmppAddr is chosen as JID
> -  element contains "from" attribute over TLS connections now
> - GnuTLS can be selected optionally with configure script
> - Support for manual certificate verification
> - New API:
>  - xmpp_conn_set_client_cert()
>  - xmpp_conn_cert_xmppaddr_num()
>  - xmpp_conn_cert_xmppaddr()
>  - xmpp_conn_set_cafile()
>  - xmpp_conn_set_capath()
>  - xmpp_conn_set_certfail_handler()
>  - xmpp_conn_get_peer_cert()
>  - xmpp_tlscert_get_ctx()
>  - xmpp_tlscert_get_conn()
>  - xmpp_tlscert_get_pem()
>  - xmpp_tlscert_get_dnsname()
>  - xmpp_tlscert_get_string()
>  - xmpp_tlscert_get_description()
>  - xmpp_tlscert_free()
> 
> I've been running this for a few days on amd64 with the updated
> version of profanity, submitted in a separate mail.
> 
> portcheck, 'make lib-depends-check' and 'make test' are happy.
> 
> Comments? OK?
> 
> 
> Index: libstrophe/Makefile
> ===
> RCS file: /cvs/ports/net/libstrophe/Makefile,v
> retrieving revision 1.6
> diff -u -p -u -p -r1.6 Makefile
> --- libstrophe/Makefile   10 Oct 2021 19:53:27 -  1.6
> +++ libstrophe/Makefile   12 Nov 2021 16:56:58 -
> @@ -2,11 +2,10 @@
>  
>  COMMENT =simple, lightweight XMPP C library
>  
> -V =  0.10.1
> +V =  0.11.0
>  DISTNAME =   libstrophe-${V}
> -REVISION =   0
>  
> -SHARED_LIBS =strophe 3.0 # 1.0
> +SHARED_LIBS =strophe 4.0 # 3.0
>  
>  CATEGORIES = net devel
>  
> Index: libstrophe/distinfo
> ===
> RCS file: /cvs/ports/net/libstrophe/distinfo,v
> retrieving revision 1.4
> diff -u -p -u -p -r1.4 distinfo
> --- libstrophe/distinfo   10 Sep 2021 04:30:50 -  1.4
> +++ libstrophe/distinfo   12 Nov 2021 16:56:58 -
> @@ -1,2 +1,2 @@
> -SHA256 (libstrophe-0.10.1.tar.gz) =
> SRjEcCns3qLeq0sPkzbKSouxLCi3KyzsOX2YZkuUx3E= -SIZE
> (libstrophe-0.10.1.tar.gz) = 520649 +SHA256
> (libstrophe-0.11.0.tar.gz) =
> NgWiDzLXsxkykuI4tBDVleAbHWRRD0LBCNoTwJtgaIo= +SIZE
> (libstrophe-0.11.0.tar.gz) = 537506
> 



-- 
greetings,

Florian Viehweger



Re: [maintainer update] pekwm-0.2.0

2021-11-19 Thread Timo Myyrä
Omar Polo  [2021-11-19, 16:00 +0100]:

> Omar Polo  writes:
>
>> Timo Myyrä  writes:
>>
>>> Hi,
>>
>> Hello :)
>>
>>> Another attempt at updating pekwm.
>>
>> packages and works fine; I'm typing this mail from pekwm (using the
>> default configuration thought.)  portcheck and make
>> port-lib-depends-check are happy too.
>>
>>> I noticed the pekwm_theme script picked up wrong copies of sed and awk
>>> commands so pass in configure flags to fix them. The script could be
>>> patched so that can use 'ftp' for fetching themes.
>>
>> Yep, the CMakeLists.txt uses find_program and search into /usr/local/bin
>> before /usr/bin and /bin, so it may pick up gsed or GNU awk instead of
>> base one.  -DSH=/bin/sh is probably redundant, from a quick pkglocate I
>> don't see any port that installs a /usr/local/bin/sh but since we're
>> there it's probably best to set that too.
>>
>> We could just as well enable the tests, here are all passing!
>>
>>> Timo
>>
>> Cheers,
>>
>> Omar Polo
>
> Now with 100% more patches!  (forgot to cvs add...)
>
> Index: Makefile
> ===
> RCS file: /home/cvs/ports/x11/pekwm/Makefile,v
> retrieving revision 1.37
> diff -u -p -r1.37 Makefile
> --- Makefile  26 Aug 2021 04:23:03 -  1.37
> +++ Makefile  19 Nov 2021 14:51:05 -
> @@ -3,7 +3,7 @@
>  COMMENT= aewm++ based pretty themable window manager
>  
>  DISTNAME=pekwm-${V}
> -V=   0.1.18
> +V=   0.2.0
>  CATEGORIES=  x11
>  
>  HOMEPAGE=https://www.pekwm.se/
> @@ -14,26 +14,22 @@ MAINTAINER=   Timo Myyra   PERMIT_PACKAGE=  Yes
>  
>  # uses pledge()
> -WANTLIB += ICE SM X11 Xext Xft Xinerama Xpm Xrandr c iconv jpeg m png z
> +WANTLIB += ICE SM X11 Xext Xft Xinerama Xpm Xrandr c freetype jpeg m png
>  WANTLIB += ${COMPILER_LIBCXX}
>  
> -COMPILER =   base-clang ports-gcc base-gcc
> +COMPILER =   base-clang ports-gcc base-gcc
>  
>  MASTER_SITES=
> https://github.com/pekdon/pekwm/releases/download/release-${V}/
> -LIB_DEPENDS= converters/libiconv \
> - graphics/jpeg \
> +LIB_DEPENDS= graphics/jpeg \
>   graphics/png
>  
> -NO_TEST= Yes
> +MODULES= devel/cmake
>  
> -USE_GMAKE=   Yes
> -
> -CONFIGURE_STYLE=autoconf
> -CONFIGURE_ENV=   CPPFLAGS="-I${LOCALBASE}/include" \
> - LDFLAGS="-L${LOCALBASE}/lib"
> -CONFIGURE_ARGS=  --enable-xinerama
> -
> -AUTOCONF_VERSION=2.69
> +CONFIGURE_ARGS=  -DCMAKE_INSTALL_SYSCONFDIR=${SYSCONFDIR} \
> + -DAWK=/usr/bin/awk \
> + -DSED=/usr/bin/sed \
> + -DSH=/bin/sh \
> + -DTESTS=ON
>  
>  post-install:
>   @mv ${WRKINST}/etc/pekwm ${PREFIX}/share/examples
> Index: distinfo
> ===
> RCS file: /home/cvs/ports/x11/pekwm/distinfo,v
> retrieving revision 1.12
> diff -u -p -r1.12 distinfo
> --- distinfo  26 Aug 2021 04:23:03 -  1.12
> +++ distinfo  19 Nov 2021 09:51:03 -
> @@ -1,2 +1,2 @@
> -SHA256 (pekwm-0.1.18.tar.gz) = e+zEO3nqsP91RXKFLjhUNSIkIDhRB8iBqTrE3ErpYGU=
> -SIZE (pekwm-0.1.18.tar.gz) = 531611
> +SHA256 (pekwm-0.2.0.tar.gz) = KFZVUN29JPsrdi8eA+CopGaEPcl6gxBlAYoFHnJAZR4=
> +SIZE (pekwm-0.2.0.tar.gz) = 938147
> Index: patches/patch-CMakeLists_txt
> ===
> RCS file: patches/patch-CMakeLists_txt
> diff -N patches/patch-CMakeLists_txt
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-CMakeLists_txt  19 Nov 2021 09:51:03 -
> @@ -0,0 +1,13 @@
> +$OpenBSD$
> +
> +Index: CMakeLists.txt
> +--- CMakeLists.txt.orig
>  CMakeLists.txt
> +@@ -65,6 +65,7 @@ int main() { std::stof(\"42.0\"); }
> + set(CMAKE_CXX_FLAGS ${orig_CMAKE_CXX_FLAGS})
> + 
> + # Look for platform specific methods
> ++check_function_exists(pledge PEKWM_HAVE_PLEDGE)
> + check_function_exists(setenv PEKWM_HAVE_SETENV)
> + check_function_exists(unsetenv PEKWM_HAVE_UNSETENV)
> + check_function_exists(daemon PEKWM_HAVE_DAEMON)
> Index: patches/patch-configure_ac
> ===
> RCS file: patches/patch-configure_ac
> diff -N patches/patch-configure_ac
> --- patches/patch-configure_ac26 Aug 2021 04:23:03 -  1.2
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,15 +0,0 @@
> -$OpenBSD: patch-configure_ac,v 1.2 2021/08/26 04:23:03 semarie Exp $
> -
> -Index: configure.ac
>  configure.ac.orig
> -+++ configure.ac
> -@@ -32,6 +32,9 @@ CXXFLAGS="$CXXFLAGS $INCICONV"
> - dnl Check for iconvctl
> - AC_CHECK_FUNC(iconvctl, [AC_DEFINE(HAVE_ICONVCTL, [1], [Define to 1 if you 
> the iconvctl call])], )
> - 
> -+dnl Check for pledge
> -+AC_CHECK_FUNC(pledge, [AC_DEFINE(HAVE_PLEDGE, [1], [Define to 1 if you the 
> pledge call])], )
> -+
> - dnl add x11 to the env
> - AC_PATH_X
> - AC_PATH_XTRA
> Index: patches/patch-data_scripts_pekwm_screenshot_sh
> 

maintainer update: www/hugo 0.88.1 --> 0.89.4

2021-11-19 Thread Paco Esteban
Hi ports@,

This is an update for www/hugo to its latest version 0.89.4.
No major changes on the port itself.  About the software there are lots
of changes you can see here:

https://github.com/gohugoio/hugo/releases

I guess one that can impact users is that hugo now uses a lock file that
should be ignored on version control just in case.

As usual tests by hugo users are appreciated.

OK to commit ?


diff b27b3c12d0a0918ed222348305cffd9397422afc /usr/ports
blob - 6e30402ffe0e4fd5b1ab66a7d93446e59a4e49df
file + www/hugo/Makefile
--- www/hugo/Makefile
+++ www/hugo/Makefile
@@ -4,7 +4,7 @@ ONLY_FOR_ARCHS =${GO_ARCHS}
 COMMENT =  fast and flexible static site generator
 
 MODGO_MODNAME =github.com/gohugoio/hugo
-MODGO_VERSION =v0.88.1
+MODGO_VERSION =v0.89.4
 
 DISTNAME = hugo-${MODGO_VERSION}
 
blob - fe5fb652bb1c3d272858a6f80c0244be0025bfef
file + www/hugo/distinfo
--- www/hugo/distinfo
+++ www/hugo/distinfo
@@ -126,8 +126,8 @@ SHA256 (go_modules/github.com/alecthomas/assert/@v/v0.
 SHA256 
(go_modules/github.com/alecthomas/assert/@v/v0.0.0-20170929043011-405dbfeb8e38.zip)
 = hz0lcXCxNjFCy/Xha0nGohzMs+SqzrnTcMO3iwUaVmM=
 SHA256 
(go_modules/github.com/alecthomas/chroma/@v/v0.7.2-0.20200305040604-4f3623dce67a.mod)
 = XY1RaUyjU8B97xFlukLNZo2dyKxFnVrQrir+PZ8A8Bk=
 SHA256 (go_modules/github.com/alecthomas/chroma/@v/v0.8.2.mod) = 
ihC4FErJsCH5fKEiWhPziZm/LiaQuACjPkMMb4eR8wM=
-SHA256 (go_modules/github.com/alecthomas/chroma/@v/v0.9.2.mod) = 
TdVVIleuhpegAUU+Au9SoAEg+oqdt9sxIjE/jrkk5pM=
-SHA256 (go_modules/github.com/alecthomas/chroma/@v/v0.9.2.zip) = 
8xYt6kQPo6K6XgqFe6eMrvPLqaEupVX3O2oEAc0eoJI=
+SHA256 (go_modules/github.com/alecthomas/chroma/@v/v0.9.4.mod) = 
uqwNpEiEBPS1GVoyc+pRgDQwFeCE4gv5dD3efZjL6jo=
+SHA256 (go_modules/github.com/alecthomas/chroma/@v/v0.9.4.zip) = 
rfjRfDYFGyX4H8cgKrXvzB4gdLJO8buZkuGpPDh0y8A=
 SHA256 
(go_modules/github.com/alecthomas/colour/@v/v0.0.0-20160524082231-60882d9e2721.mod)
 = v2cMApHjMdCHgc/PprDqLthhAuY7n8nrlBP/xUstt9I=
 SHA256 
(go_modules/github.com/alecthomas/colour/@v/v0.0.0-20160524082231-60882d9e2721.zip)
 = M0EBxWLS50M49rqrHeBPO7/4kCHST0IGxVHvR7lqK/4=
 SHA256 
(go_modules/github.com/alecthomas/kong-hcl/@v/v0.1.8-0.20190615233001-b21fea9723c8.mod)
 = Zbe9b2Z37O2mmPN35uRzNRPUhyrV8tHmbdnLmIibiWg=
@@ -137,8 +137,7 @@ SHA256 (go_modules/github.com/alecthomas/kong/@v/v0.2.
 SHA256 (go_modules/github.com/alecthomas/kong/@v/v0.2.4.mod) = 
t24CSTMKTrWrRPr29wcDdy+FRbus1r116JQ1VvvO7Dk=
 SHA256 (go_modules/github.com/alecthomas/kong/@v/v0.2.4.zip) = 
6kBuQ+UQuTsW7tNyEBOew1m/weW3ZFxFiBjl2MIqzp4=
 SHA256 
(go_modules/github.com/alecthomas/repr/@v/v0.0.0-20180818092828-117648cd9897.mod)
 = 4e05ugtpFM6ppl82/zkI3GIlMR+o9VX2ma0hIIA//Ls=
-SHA256 
(go_modules/github.com/alecthomas/repr/@v/v0.0.0-20181024024818-d37bc2a10ba1.mod)
 = 4e05ugtpFM6ppl82/zkI3GIlMR+o9VX2ma0hIIA//Ls=
-SHA256 
(go_modules/github.com/alecthomas/repr/@v/v0.0.0-20181024024818-d37bc2a10ba1.zip)
 = wBqDPsVvaBE/bNftgrfam/rsZBoQ6Sng4+Xl2tsaha0=
+SHA256 
(go_modules/github.com/alecthomas/repr/@v/v0.0.0-20180818092828-117648cd9897.zip)
 = 4H8aIRdcaldHsTxppTE+he/sY0t+ktHJgjdRCh1ZJWE=
 SHA256 (go_modules/github.com/antihax/optional/@v/v1.0.0.mod) = 
0sIhN/ViECf4dLEiVGzxWHIp34YY+WFbqf5OYw4oC+s=
 SHA256 (go_modules/github.com/antihax/optional/@v/v1.0.0.zip) = 
FatNQb27cu4Kxj22Fs3vx2cceeE9D3O1g1WmqIIZyX8=
 SHA256 
(go_modules/github.com/armon/circbuf/@v/v0.0.0-20150827004946-bbbad097214e.mod) 
= JCKh4fO7lGhCnzbga85FR4EzakCXJi909d2lp1Tpvng=
@@ -151,8 +150,8 @@ SHA256 (go_modules/github.com/armon/go-radix/@v/v1.0.0
 SHA256 (go_modules/github.com/aws/aws-sdk-go/@v/v1.15.27.mod) = 
JSBvsSwaWjiykW0QoIZ+PtVlVzvPY0E8anSo4AULvTc=
 SHA256 (go_modules/github.com/aws/aws-sdk-go/@v/v1.19.18.mod) = 
zNGa6ImG2/5S4q6miRPYtiKzi3HVcNp8Tb8sdvDNuQQ=
 SHA256 (go_modules/github.com/aws/aws-sdk-go/@v/v1.31.13.mod) = 
149yxwdFvL9c7y6fVDdD0AZYn1ERnIxh2om4kWHscH8=
-SHA256 (go_modules/github.com/aws/aws-sdk-go/@v/v1.40.8.mod) = 
Z2FMAKWjMuRTYwiL/m6MM7i0axTwsjI/J9SlHI7HaOQ=
-SHA256 (go_modules/github.com/aws/aws-sdk-go/@v/v1.40.8.zip) = 
VA8F6IUrXkUBnOZGPjpD9RT6Y718jdyK45EJ3kz3qJk=
+SHA256 (go_modules/github.com/aws/aws-sdk-go/@v/v1.41.14.mod) = 
Z2FMAKWjMuRTYwiL/m6MM7i0axTwsjI/J9SlHI7HaOQ=
+SHA256 (go_modules/github.com/aws/aws-sdk-go/@v/v1.41.14.zip) = 
iRwfkgG7QrxbTYSv7I1r+7Ci1LhRQF4FZfpSMP+GucE=
 SHA256 (go_modules/github.com/bep/debounce/@v/v1.2.0.mod) = 
UJTGuRlXOnwuKIJqyQyVlayZZlYIMH03l8lX9TdTfUs=
 SHA256 (go_modules/github.com/bep/debounce/@v/v1.2.0.zip) = 
3cCnfkgZtrgm1p/fGloVPz+GejHgMM/igpY1W2cK3yE=
 SHA256 (go_modules/github.com/bep/gitmap/@v/v1.1.2.mod) = 
uuj2zedVR+WWo3mN8m1YnTp7u3iPummUM5zNkON615Y=
@@ -216,6 +215,8 @@ SHA256 (go_modules/github.com/dimchansky/utfbom/@v/v1.
 SHA256 (go_modules/github.com/dimchansky/utfbom/@v/v1.1.0.zip) = 
J/7XOmL88G1M6yiEbl1AeGt+gSE6oNH02EDonSXyhfc=
 SHA256 (go_modules/github.com/disintegration/gift/@v/v1.2.1.mod) = 
eJLdaA+4dLxm+o7sQ86smZfAFtWzmA4bTIo2oL7Csts=
 SHA256 

NEW: security/py-hvac 0.11.2

2021-11-19 Thread Mikolaj Kucharski
Hi,

I use this module with Ansible and also some simple Python scripts.

-->8--
Python client library for Hashicorp Vault

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.
--8<--

I've posted this before. Here is old thread:

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

-- 
Regards,
 Mikolaj


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


[Update] cad/kicad and friends to 5.1.12

2021-11-19 Thread Tracey Emery
Hello,

Here is an update for cad/kicad and cad/kicad-shared, bringing us to
5.1.12. I couldn't find any release notes, so we'll just call this port
more-better.

Tested on amd64.

ok?

-- 

Tracey Emery

diff fd5977dbfc7c84a142f275771aba546a290ddb1c /usr/ports/mystuff
blob - ac7cb30db708a3f1a36a77d98b71b3d59d6a42d5
file + cad/kicad/Makefile
--- cad/kicad/Makefile
+++ cad/kicad/Makefile
@@ -4,10 +4,9 @@
 BROKEN-powerpc =   segfaults when trying to run the PCB editor
 BROKEN-riscv64 =   kicad-5.1.10/include/system/libcontext.h:93:36: error: 
expected ';' after top level declarator
 
-V =5.1.10
+V =5.1.12
 COMMENT =  schematic and PCB editing software
 DISTNAME = kicad-${V}
-REVISION = 1
 EPOCH =0
 
 SHARED_LIBS += kicad_3dsg0.0 # 2.0
@@ -19,17 +18,18 @@ HOMEPAGE =  https://www.kicad.org
 #GPLv3
 PERMIT_PACKAGE =   Yes
 
-WANTLIB += ${COMPILER_LIBCXX} GL GLEW GLU ICE PTKernel SM TKBO
-WANTLIB += TKBRep TKBin TKBinL TKBinXCAF TKBool TKCAF TKCDF TKFillet
+WANTLIB += ${COMPILER_LIBCXX} GL GLEW GLU TKBO TKBRep TKBin TKBinL
+WANTLIB += TKBinTObj TKBinXCAF TKBool TKCAF TKCDF TKFeat TKFillet
 WANTLIB += TKG2d TKG3d TKGeomAlgo TKGeomBase TKHLR TKIGES TKLCAF
-WANTLIB += TKMath TKMesh TKOffset TKPCAF TKPLCAF TKPShape TKPrim
-WANTLIB += TKSTEP TKSTEP209 TKSTEPAttr TKSTEPBase TKService TKShHealing
-WANTLIB += TKTopAlgo TKV3d TKXCAF TKXDEIGES TKXDESTEP TKXSBase
-WANTLIB += TKernel X11 Xext boost_context-mt boost_system-mt
-WANTLIB += c cairo crypto curl freetype m ngspice pixman-1 ${MODPY_WANTLIB}
-WANTLIB += ssl wx_baseu-3.0 wx_baseu_net-3.0 wx_baseu_xml-3.0
-WANTLIB += wx_gtk3u_adv-3.0 wx_gtk3u_aui-3.0 wx_gtk3u_core-3.0
-WANTLIB += wx_gtk3u_gl-3.0 wx_gtk3u_html-3.0 wx_gtk3u_stc-3.0
+WANTLIB += TKMath TKMesh TKMeshVS TKOffset TKOpenGl TKPrim TKSTEP
+WANTLIB += TKSTEP209 TKSTEPAttr TKSTEPBase TKSTL TKService TKShHealing
+WANTLIB += TKTObj TKTopAlgo TKV3d TKVRML TKXCAF TKXDEIGES TKXDESTEP
+WANTLIB += TKXMesh TKXSBase TKXml TKXmlL TKXmlTObj TKXmlXCAF TKernel
+WANTLIB += boost_context-mt boost_system-mt c cairo crypto curl
+WANTLIB += m ngspice pixman-1 python3.9 ssl wx_baseu-3.0 wx_baseu_net-3.0
+WANTLIB += wx_baseu_xml-3.0 wx_gtk3u_adv-3.0 wx_gtk3u_aui-3.0
+WANTLIB += wx_gtk3u_core-3.0 wx_gtk3u_gl-3.0 wx_gtk3u_html-3.0
+WANTLIB += wx_gtk3u_stc-3.0
 
 MASTER_SITES = https://gitlab.com/kicad/code/kicad/-/archive/${V}/
 
@@ -68,7 +68,7 @@ CONFIGURE_ARGS += -DCMAKE_BUILD_TYPE=Release \

-DwxWidgets_CONFIG_EXECUTABLE=${LOCALBASE}/bin/wx-config \
-DwxWidgets_LIBRARIES="${LOCALBASE}/lib" \
-DwxWidgets_INCLUDE_DIRS="${LOCALBASE}/include/wx-3.0" \
-   -DOCE_DIR="${LOCALBASE}/include/oce" \
+   -DOCC_INCLUDE_DIR="${LOCALBASE}/include/oce" \
-DKICAD_SCRIPTING_PYTHON3=ON \
-DKICAD_SCRIPTING_WXPYTHON=OFF
 
blob - c40db39fc7439ce673923d313de6cdf9e8d04d45
file + cad/kicad/distinfo
--- cad/kicad/distinfo
+++ cad/kicad/distinfo
@@ -1,2 +1,2 @@
-SHA256 (kicad-5.1.10.tar.gz) = KWNB8wraLH9KHFRyDqtCWDWpM0lSfUvwj3PygNGWle0=
-SIZE (kicad-5.1.10.tar.gz) = 23785350
+SHA256 (kicad-5.1.12.tar.gz) = EBzAJeVcs8wEfevl5LGsH6EWzu0Uf+8bwnXY4h92qj8=
+SIZE (kicad-5.1.12.tar.gz) = 23785717
blob - 78d6e85d00d5598b888d2e57ef74e214f4a81d0c
file + cad/kicad/patches/patch-3d-viewer_3d_cache_sg_CMakeLists_txt
--- cad/kicad/patches/patch-3d-viewer_3d_cache_sg_CMakeLists_txt
+++ cad/kicad/patches/patch-3d-viewer_3d_cache_sg_CMakeLists_txt
@@ -13,5 +13,5 @@ Index: 3d-viewer/3d_cache/sg/CMakeLists.txt
 + c
 +   ${wxWidgets_LIBRARIES} )
  
- install( TARGETS
- kicad_3dsg
+ # Don't specify the ARCHIVE DESTINATION parameter to prevent
+ # the install of the import library on Windows
blob - /dev/null
file + cad/kicad/patches/patch-CMakeModules_Findngspice_cmake
--- /dev/null
+++ cad/kicad/patches/patch-CMakeModules_Findngspice_cmake
@@ -0,0 +1,21 @@
+$OpenBSD$
+
+Index: CMakeModules/Findngspice.cmake
+--- CMakeModules/Findngspice.cmake.orig
 CMakeModules/Findngspice.cmake
+@@ -64,11 +64,11 @@ find_path( NGSPICE_INCLUDE_DIR ngspice/sharedspice.h
+ share/ngspice/include/ngspice
+ )
+ 
+-if( UNIX )
+-set( NGSPICE_LIB_NAME libngspice.so.0 CACHE STRING "Optionally versioned 
name of the shared library" )
+-else()
++#if( UNIX  )
++#set( NGSPICE_LIB_NAME libngspice.so.0 CACHE STRING "Optionally versioned 
name of the shared library" )
++#else()
+ set( NGSPICE_LIB_NAME ngspice CACHE STRING "Optionally versioned name of 
the shared library" )
+-endif()
++#endif()
+ 
+ find_library( NGSPICE_LIBRARY ${NGSPICE_LIB_NAME}
+ PATHS
blob - d5c2b0d20d951c755a1c9cf77415f061844aa383
file + cad/kicad/patches/patch-common_CMakeLists_txt
--- cad/kicad/patches/patch-common_CMakeLists_txt
+++ 

Re: OpenBSD wrapper for Linux/FreeBSD sendfile?

2021-11-19 Thread Steve Williams



On 19/11/2021 7:53 a.m., Tracey Emery wrote:

On Fri, Nov 19, 2021 at 07:14:04AM -0800, Steve Williams wrote:

Stuart,

You are absolutely amazing!   I have no idea how you find time to respond to
all these requests and still manage to accomplish what you do.

Thanks very much for the pointer to a WIP port.  I'll have a look at it.

Cheers,
Steve Williams

On 19/11/2021 12:21 a.m., Stuart Henderson wrote:

zoneminder has fallback code, they just unconditionally include
zm_sendfile.h even where sendfile was not detected, and that has a hard
#error. See
https://github.com/jasperla/openbsd-wip/tree/master/multimedia/zoneminder,
there is a patch for this.

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


On 19 November 2021 05:31:32 George Koehler  wrote:


On Thu, 18 Nov 2021 18:04:26 -0800
Steve Williams  wrote:


Hi,

I'm trying to compile a Linux/FreeBSD application (zoneminder) under
OpenBSD 7.0.

I'm slowly working through it but have gotten stuck at the point where
it has a dependency on sendfile(2) which OpenBSD doesn't have.

Doing some research, I found one reference that sosplice(2) might be
able to be used in place of sendfile. Elsewhere, I have found reference
to a "simple-sendfile" package, but that doesn't seem to exist.

Linux sendfile(2) and FreeBSD sendfile(2) are different functions.
simple_sendfile() is a function in lang/ruby that wraps FreeBSD's
sendfile to act like Linux's.  simple_sendfile() is not for OpenBSD.

Linux: https://man7.org/linux/man-pages/man2/sendfile.2.html
FreeBSD: https://www.freebsd.org/cgi/man.cgi?query=sendfile
simple_sendfile: 
https://github.com/ruby/ruby/blob/0db68f023372b634603c74fca94588b457be084c/io.c#L11320

OpenBSD's SO_SPLICE can only "splice together two TCP or UDP sockets",
says setsockopt(2).  You can't SO_SPLICE if your code copies a regular
file to a socket.


Is this an issue people have already resolved with other ports?  Or is
it a deal breaker?

I guess the devil is in the details, but I thought I'd reach out here
first in case there's already a good solution to this.

Check what your code does if sendfile fails.  If it falls back to a
read/write loop, then you might patch it to skip sendfile.  If it
doesn't have a read/write loop, then you might need to add one.

--George


Thanks,
Steve Williams


If you want a zoneminder that is currently working in OpenBSD, go here:
https://github.com/basepr1me/openbsd-ports-mystuff/tree/master/multimedia/zoneminder

I haven't touched it for awhile and the README still needs updated, but
that is running at my house right now. It uses httpd outside of chroot.
Everything works as intended for me.

The README file that is there is full of notes that might be able to get
you through a setup. Ian was working on an updated README, but he hasn't
finished.

I haven't looked at newer versions.


Hi Tracey,

Thanks very much for that!  I'll have a look as it's more contemporary 
than the port that Stuart pointed to.


I'll have a look :)

Cheers,
Steve W.



Re: [SECURITY UPDATE] samba-4.15.2

2021-11-19 Thread Bjorn Ketelaars
On Fri 19/11/2021 18:23, Jeremie Courreges-Anglas wrote:
> 
> This one kinda fell through the cracks (published on Nov 9).
> Sorry about that.  Release notes:

Builds, and works for me (serving files @home as we speak).

OK bket@



Re: OpenBSD wrapper for Linux/FreeBSD sendfile?

2021-11-19 Thread Tracey Emery
On Fri, Nov 19, 2021 at 08:53:19AM -0700, Tracey Emery wrote:
> 
> If you want a zoneminder that is currently working in OpenBSD, go here:
> https://github.com/basepr1me/openbsd-ports-mystuff/tree/master/multimedia/zoneminder
> 
> I haven't touched it for awhile and the README still needs updated, but
> that is running at my house right now. It uses httpd outside of chroot.
> Everything works as intended for me.
> 
> The README file that is there is full of notes that might be able to get
> you through a setup. Ian was working on an updated README, but he hasn't
> finished.
> 
> I haven't looked at newer versions.
> 
> -- 
> 
> Tracey Emery

It looks like there are several breaking changes from 1.34.26 to
1.36.11. It'll be awhile before I can thoroughly review.

-- 

Tracey Emery



[SECURITY UPDATE] samba-4.15.2

2021-11-19 Thread Jeremie Courreges-Anglas


This one kinda fell through the cracks (published on Nov 9).
Sorry about that.  Release notes:

  https://www.samba.org/samba/history/samba-4.15.2.html

o CVE-2016-2124: SMB1 client connections can be downgraded to plaintext
authentication. https://www.samba.org/samba/security/CVE-2016-2124.html

o CVE-2020-25717: A user on the domain can become root on domain
members. https://www.samba.org/samba/security/CVE-2020-25717.html
(PLEASE READ! There are important behaviour changes described)

o CVE-2020-25718: Samba AD DC did not correctly sandbox Kerberos tickets
issued by an RODC.
https://www.samba.org/samba/security/CVE-2020-25718.html

o CVE-2020-25719: Samba AD DC did not always rely on the SID and PAC in
Kerberos tickets.
https://www.samba.org/samba/security/CVE-2020-25719.html

o CVE-2020-25721: Kerberos acceptors need easy access to stable AD
identifiers (eg objectSid).
https://www.samba.org/samba/security/CVE-2020-25721.html

o CVE-2020-25722: Samba AD DC did not do suffienct access and
conformance checking of data stored.
https://www.samba.org/samba/security/CVE-2020-25722.html

o CVE-2021-3738: Use after free in Samba AD DC RPC server.
https://www.samba.org/samba/security/CVE-2021-3738.html

o CVE-2021-23192: Subsequent DCE/RPC fragment injection vulnerability.
https://www.samba.org/samba/security/CVE-2021-23192.html

Tests / oks welcome.


Index: Makefile
===
RCS file: /cvs/ports/net/samba/Makefile,v
retrieving revision 1.304
diff -u -p -r1.304 Makefile
--- Makefile2 Nov 2021 00:01:52 -   1.304
+++ Makefile19 Nov 2021 13:12:20 -
@@ -1,12 +1,9 @@
 # $OpenBSD: Makefile,v 1.304 2021/11/02 00:01:52 sthen Exp $
 
-VERSION =  4.15.0
+VERSION =  4.15.2
 DISTNAME = samba-${VERSION}
 EPOCH =0
-REVISION-main =0
-REVISION-ldb = 0
-REVISION-tevent =  0
-REVISION-util =0
+REVISION-tevent =  1
 
 COMMENT-main = SMB and CIFS client and server for UNIX
 COMMENT-ldb =  LDAP-like embedded database
@@ -22,10 +19,10 @@ PKGNAME-docs =  samba-docs-${VERSION}
 
 PKG_ARCH-docs =*
 
-LDB_V =2.4.0
+LDB_V =2.4.1
 TEVENT_V = 0.11.0
 
-SHARED_LIBS =  asn1-samba4 1.0 \
+SHARED_LIBS =  asn1-samba4 2.0 \
com_err-samba4  1.0 \
dcerpc  1.0 \
dcerpc-binding  4.0 \
@@ -38,21 +35,21 @@ SHARED_LIBS =   asn1-samba4 1.0 \
heimntlm-samba4 1.0 \
hx509-samba41.0 \
kdc-samba4  1.0 \
-   krb5-samba4 1.0 \
+   krb5-samba4 1.1 \
ldb 2.0 \
ndr 3.0 \
-   ndr-krb5pac 1.0 \
+   ndr-krb5pac 1.1 \
ndr-nbt 1.0 \
ndr-standard4.0 \
netapi  3.1 \
roken-samba41.0 \
samba-credentials   1.1 \
samba-errors2.1 \
-   samba-hostconfig8.0 \
+   samba-hostconfig9.0 \
samba-passdb3.0 \
samba-util  7.0 \
-   samdb   1.0 \
-   smbclient   6.0 \
+   samdb   2.0 \
+   smbclient   6.1 \
smbconf 10.0 \
smbldap 1.0 \
tevent  2.0 \
Index: distinfo
===
RCS file: /cvs/ports/net/samba/distinfo,v
retrieving revision 1.87
diff -u -p -r1.87 distinfo
--- distinfo18 Oct 2021 12:25:20 -  1.87
+++ distinfo19 Nov 2021 13:12:20 -
@@ -1,2 +1,2 @@
-SHA256 (samba-4.15.0.tar.gz) = sfNHCDhiMVYoNzPmKV9JzWrkSn5hu5w0YxXR5mjSRkA=
-SIZE (samba-4.15.0.tar.gz) = 18895040
+SHA256 (samba-4.15.2.tar.gz) = YoHXxqjEn3mQqfJJpmeEs1GA/iSVV+8RR82KbRZqIRM=
+SIZE (samba-4.15.2.tar.gz) = 19252338
Index: pkg/PLIST-main
===
RCS file: /cvs/ports/net/samba/pkg/PLIST-main,v
retrieving revision 1.58
diff -u -p -r1.58 PLIST-main
--- pkg/PLIST-main  18 Oct 2021 12:25:20 -  1.58
+++ pkg/PLIST-main  19 Nov 2021 13:12:20 -
@@ -621,6 +621,8 @@ lib/python${MODPY_VERSION}/site-packages
 

CVS: cvs.openbsd.org: ports

2021-11-19 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/11/19 09:46:40

Modified files:
print/qpdf : Makefile distinfo 

Log message:
Update to qpdf-10.4.0.



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 09:11:54

Modified files:
devel/py-test-xprocess: Makefile 

Log message:
missing bdep on py-setuptools_scm, reported by naddy



Re: OpenBSD wrapper for Linux/FreeBSD sendfile?

2021-11-19 Thread Tracey Emery
On Fri, Nov 19, 2021 at 07:14:04AM -0800, Steve Williams wrote:
> Stuart,
> 
> You are absolutely amazing!   I have no idea how you find time to respond to
> all these requests and still manage to accomplish what you do.
> 
> Thanks very much for the pointer to a WIP port.  I'll have a look at it.
> 
> Cheers,
> Steve Williams
> 
> On 19/11/2021 12:21 a.m., Stuart Henderson wrote:
> > zoneminder has fallback code, they just unconditionally include
> > zm_sendfile.h even where sendfile was not detected, and that has a hard
> > #error. See
> > https://github.com/jasperla/openbsd-wip/tree/master/multimedia/zoneminder,
> > there is a patch for this.
> > 
> > -- 
> >   Sent from a phone, apologies for poor formatting.
> > 
> > 
> > On 19 November 2021 05:31:32 George Koehler  wrote:
> > 
> > > On Thu, 18 Nov 2021 18:04:26 -0800
> > > Steve Williams  wrote:
> > > 
> > > > Hi,
> > > > 
> > > > I'm trying to compile a Linux/FreeBSD application (zoneminder) under
> > > > OpenBSD 7.0.
> > > > 
> > > > I'm slowly working through it but have gotten stuck at the point where
> > > > it has a dependency on sendfile(2) which OpenBSD doesn't have.
> > > > 
> > > > Doing some research, I found one reference that sosplice(2) might be
> > > > able to be used in place of sendfile. Elsewhere, I have found reference
> > > > to a "simple-sendfile" package, but that doesn't seem to exist.
> > > 
> > > Linux sendfile(2) and FreeBSD sendfile(2) are different functions.
> > > simple_sendfile() is a function in lang/ruby that wraps FreeBSD's
> > > sendfile to act like Linux's.  simple_sendfile() is not for OpenBSD.
> > > 
> > > Linux: https://man7.org/linux/man-pages/man2/sendfile.2.html
> > > FreeBSD: https://www.freebsd.org/cgi/man.cgi?query=sendfile
> > > simple_sendfile: 
> > > https://github.com/ruby/ruby/blob/0db68f023372b634603c74fca94588b457be084c/io.c#L11320
> > > 
> > > OpenBSD's SO_SPLICE can only "splice together two TCP or UDP sockets",
> > > says setsockopt(2).  You can't SO_SPLICE if your code copies a regular
> > > file to a socket.
> > > 
> > > > Is this an issue people have already resolved with other ports?  Or is
> > > > it a deal breaker?
> > > > 
> > > > I guess the devil is in the details, but I thought I'd reach out here
> > > > first in case there's already a good solution to this.
> > > 
> > > Check what your code does if sendfile fails.  If it falls back to a
> > > read/write loop, then you might patch it to skip sendfile.  If it
> > > doesn't have a read/write loop, then you might need to add one.
> > > 
> > > --George
> > > 
> > > > 
> > > > Thanks,
> > > > Steve Williams
> > > > 
> > 

If you want a zoneminder that is currently working in OpenBSD, go here:
https://github.com/basepr1me/openbsd-ports-mystuff/tree/master/multimedia/zoneminder

I haven't touched it for awhile and the README still needs updated, but
that is running at my house right now. It uses httpd outside of chroot.
Everything works as intended for me.

The README file that is there is full of notes that might be able to get
you through a setup. Ian was working on an updated README, but he hasn't
finished.

I haven't looked at newer versions.

-- 

Tracey Emery



Re: [PATCH] update www/unit to 1.26.0

2021-11-19 Thread Stuart Henderson
On 2021/11/18 23:50, Sergey A. Osokin wrote:
> On Thu, Nov 18, 2021 at 11:28:27PM +, Sergey A. Osokin wrote:
> > > > What do you think Sergey, does this arrangement work for you?
> > 
> > It looks fantastic and works well to me!
> 
> Official documentation on the https://unit.nginx.org/ has been
> updated recently, it contains OpenBSD staff now, please visit
> https://unit.nginx.org/installation/#community-openbsd
> 
> Please let me know if you any updates/concerns on that.
> 
> Thank you!
> 
> -- 
> Sergey Osokin

We try to steer users away from building from ports themselves, and
would expect there to be some problems (either with building, or with
package updates later when they upgrade to the following release)
if they mix -current ports with a release. In particular things like
switching the default version of a language (we did python 3.8 -> 3.9
since the last release) will cause some problems.

Ideally for us it would be best to say something like:

Unit was added to OpenBSD after 7.0 release. Until 7.1 is released
you can install a -current snapshot. To install from packages, use pkg_add:

pkg_add unit
pkg_add unit-perl
pkg_add unit-php74
pkg_add unit-php80
pkg_add unit-python
pkg_add unit-ruby

It can also be built from ports (in /usr/ports/www/unit) but this is not
recommended unless you are already familiar with the process.



Re: OpenBSD wrapper for Linux/FreeBSD sendfile?

2021-11-19 Thread Steve Williams

Stuart,

You are absolutely amazing!   I have no idea how you find time to 
respond to all these requests and still manage to accomplish what you do.


Thanks very much for the pointer to a WIP port.  I'll have a look at it.

Cheers,
Steve Williams

On 19/11/2021 12:21 a.m., Stuart Henderson wrote:
zoneminder has fallback code, they just unconditionally include 
zm_sendfile.h even where sendfile was not detected, and that has a 
hard #error. See 
https://github.com/jasperla/openbsd-wip/tree/master/multimedia/zoneminder, 
there is a patch for this.


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


On 19 November 2021 05:31:32 George Koehler  wrote:


On Thu, 18 Nov 2021 18:04:26 -0800
Steve Williams  wrote:


Hi,

I'm trying to compile a Linux/FreeBSD application (zoneminder) under
OpenBSD 7.0.

I'm slowly working through it but have gotten stuck at the point where
it has a dependency on sendfile(2) which OpenBSD doesn't have.

Doing some research, I found one reference that sosplice(2) might be
able to be used in place of sendfile. Elsewhere, I have found reference
to a "simple-sendfile" package, but that doesn't seem to exist.


Linux sendfile(2) and FreeBSD sendfile(2) are different functions.
simple_sendfile() is a function in lang/ruby that wraps FreeBSD's
sendfile to act like Linux's.  simple_sendfile() is not for OpenBSD.

Linux: https://man7.org/linux/man-pages/man2/sendfile.2.html
FreeBSD: https://www.freebsd.org/cgi/man.cgi?query=sendfile
simple_sendfile: 
https://github.com/ruby/ruby/blob/0db68f023372b634603c74fca94588b457be084c/io.c#L11320


OpenBSD's SO_SPLICE can only "splice together two TCP or UDP sockets",
says setsockopt(2).  You can't SO_SPLICE if your code copies a regular
file to a socket.


Is this an issue people have already resolved with other ports?  Or is
it a deal breaker?

I guess the devil is in the details, but I thought I'd reach out here
first in case there's already a good solution to this.


Check what your code does if sendfile fails.  If it falls back to a
read/write loop, then you might patch it to skip sendfile.  If it
doesn't have a read/write loop, then you might need to add one.

--George



Thanks,
Steve Williams





Re: [maintainer update] pekwm-0.2.0

2021-11-19 Thread Omar Polo
Omar Polo  writes:

> Timo Myyrä  writes:
>
>> Hi,
>
> Hello :)
>
>> Another attempt at updating pekwm.
>
> packages and works fine; I'm typing this mail from pekwm (using the
> default configuration thought.)  portcheck and make
> port-lib-depends-check are happy too.
>
>> I noticed the pekwm_theme script picked up wrong copies of sed and awk
>> commands so pass in configure flags to fix them. The script could be
>> patched so that can use 'ftp' for fetching themes.
>
> Yep, the CMakeLists.txt uses find_program and search into /usr/local/bin
> before /usr/bin and /bin, so it may pick up gsed or GNU awk instead of
> base one.  -DSH=/bin/sh is probably redundant, from a quick pkglocate I
> don't see any port that installs a /usr/local/bin/sh but since we're
> there it's probably best to set that too.
>
> We could just as well enable the tests, here are all passing!
>
>> Timo
>
> Cheers,
>
> Omar Polo

Now with 100% more patches!  (forgot to cvs add...)

Index: Makefile
===
RCS file: /home/cvs/ports/x11/pekwm/Makefile,v
retrieving revision 1.37
diff -u -p -r1.37 Makefile
--- Makefile26 Aug 2021 04:23:03 -  1.37
+++ Makefile19 Nov 2021 14:51:05 -
@@ -3,7 +3,7 @@
 COMMENT=   aewm++ based pretty themable window manager
 
 DISTNAME=  pekwm-${V}
-V= 0.1.18
+V= 0.2.0
 CATEGORIES=x11
 
 HOMEPAGE=  https://www.pekwm.se/
@@ -14,26 +14,22 @@ MAINTAINER= Timo Myyra https://github.com/pekdon/pekwm/releases/download/release-${V}/
-LIB_DEPENDS=   converters/libiconv \
-   graphics/jpeg \
+LIB_DEPENDS=   graphics/jpeg \
graphics/png
 
-NO_TEST=   Yes
+MODULES=   devel/cmake
 
-USE_GMAKE= Yes
-
-CONFIGURE_STYLE=autoconf
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
-   LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS=--enable-xinerama
-
-AUTOCONF_VERSION=  2.69
+CONFIGURE_ARGS=-DCMAKE_INSTALL_SYSCONFDIR=${SYSCONFDIR} \
+   -DAWK=/usr/bin/awk \
+   -DSED=/usr/bin/sed \
+   -DSH=/bin/sh \
+   -DTESTS=ON
 
 post-install:
@mv ${WRKINST}/etc/pekwm ${PREFIX}/share/examples
Index: distinfo
===
RCS file: /home/cvs/ports/x11/pekwm/distinfo,v
retrieving revision 1.12
diff -u -p -r1.12 distinfo
--- distinfo26 Aug 2021 04:23:03 -  1.12
+++ distinfo19 Nov 2021 09:51:03 -
@@ -1,2 +1,2 @@
-SHA256 (pekwm-0.1.18.tar.gz) = e+zEO3nqsP91RXKFLjhUNSIkIDhRB8iBqTrE3ErpYGU=
-SIZE (pekwm-0.1.18.tar.gz) = 531611
+SHA256 (pekwm-0.2.0.tar.gz) = KFZVUN29JPsrdi8eA+CopGaEPcl6gxBlAYoFHnJAZR4=
+SIZE (pekwm-0.2.0.tar.gz) = 938147
Index: patches/patch-CMakeLists_txt
===
RCS file: patches/patch-CMakeLists_txt
diff -N patches/patch-CMakeLists_txt
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-CMakeLists_txt19 Nov 2021 09:51:03 -
@@ -0,0 +1,13 @@
+$OpenBSD$
+
+Index: CMakeLists.txt
+--- CMakeLists.txt.orig
 CMakeLists.txt
+@@ -65,6 +65,7 @@ int main() { std::stof(\"42.0\"); }
+ set(CMAKE_CXX_FLAGS ${orig_CMAKE_CXX_FLAGS})
+ 
+ # Look for platform specific methods
++check_function_exists(pledge PEKWM_HAVE_PLEDGE)
+ check_function_exists(setenv PEKWM_HAVE_SETENV)
+ check_function_exists(unsetenv PEKWM_HAVE_UNSETENV)
+ check_function_exists(daemon PEKWM_HAVE_DAEMON)
Index: patches/patch-configure_ac
===
RCS file: patches/patch-configure_ac
diff -N patches/patch-configure_ac
--- patches/patch-configure_ac  26 Aug 2021 04:23:03 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,15 +0,0 @@
-$OpenBSD: patch-configure_ac,v 1.2 2021/08/26 04:23:03 semarie Exp $
-
-Index: configure.ac
 configure.ac.orig
-+++ configure.ac
-@@ -32,6 +32,9 @@ CXXFLAGS="$CXXFLAGS $INCICONV"
- dnl Check for iconvctl
- AC_CHECK_FUNC(iconvctl, [AC_DEFINE(HAVE_ICONVCTL, [1], [Define to 1 if you 
the iconvctl call])], )
- 
-+dnl Check for pledge
-+AC_CHECK_FUNC(pledge, [AC_DEFINE(HAVE_PLEDGE, [1], [Define to 1 if you the 
pledge call])], )
-+
- dnl add x11 to the env
- AC_PATH_X
- AC_PATH_XTRA
Index: patches/patch-data_scripts_pekwm_screenshot_sh
===
RCS file: patches/patch-data_scripts_pekwm_screenshot_sh
diff -N patches/patch-data_scripts_pekwm_screenshot_sh
--- patches/patch-data_scripts_pekwm_screenshot_sh  26 Aug 2021 04:23:03 
-  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,15 +0,0 @@
-$OpenBSD: patch-data_scripts_pekwm_screenshot_sh,v 1.2 2021/08/26 04:23:03 
semarie Exp $
-
-Fix getopt: unknown option -- n
-
-Index: data/scripts/pekwm_screenshot.sh
 data/scripts/pekwm_screenshot.sh.orig
-+++ data/scripts/pekwm_screenshot.sh
-@@ -151,6 +151,6 @@ main()
- exit 0
- }
- 
--OPTIONS=$(getopt -o c:d:ho: 

Re: [maintainer update] pekwm-0.2.0

2021-11-19 Thread Omar Polo
Timo Myyrä  writes:

> Hi,

Hello :)

> Another attempt at updating pekwm.

packages and works fine; I'm typing this mail from pekwm (using the
default configuration thought.)  portcheck and make
port-lib-depends-check are happy too.

> I noticed the pekwm_theme script picked up wrong copies of sed and awk
> commands so pass in configure flags to fix them. The script could be
> patched so that can use 'ftp' for fetching themes.

Yep, the CMakeLists.txt uses find_program and search into /usr/local/bin
before /usr/bin and /bin, so it may pick up gsed or GNU awk instead of
base one.  -DSH=/bin/sh is probably redundant, from a quick pkglocate I
don't see any port that installs a /usr/local/bin/sh but since we're
there it's probably best to set that too.

We could just as well enable the tests, here are all passing!

> Timo

Cheers,

Omar Polo


Index: Makefile
===
RCS file: /home/cvs/ports/x11/pekwm/Makefile,v
retrieving revision 1.37
diff -u -p -r1.37 Makefile
--- Makefile26 Aug 2021 04:23:03 -  1.37
+++ Makefile19 Nov 2021 14:51:05 -
@@ -3,7 +3,7 @@
 COMMENT=   aewm++ based pretty themable window manager
 
 DISTNAME=  pekwm-${V}
-V= 0.1.18
+V= 0.2.0
 CATEGORIES=x11
 
 HOMEPAGE=  https://www.pekwm.se/
@@ -14,26 +14,22 @@ MAINTAINER= Timo Myyra https://github.com/pekdon/pekwm/releases/download/release-${V}/
-LIB_DEPENDS=   converters/libiconv \
-   graphics/jpeg \
+LIB_DEPENDS=   graphics/jpeg \
graphics/png
 
-NO_TEST=   Yes
+MODULES=   devel/cmake
 
-USE_GMAKE= Yes
-
-CONFIGURE_STYLE=autoconf
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
-   LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS=--enable-xinerama
-
-AUTOCONF_VERSION=  2.69
+CONFIGURE_ARGS=-DCMAKE_INSTALL_SYSCONFDIR=${SYSCONFDIR} \
+   -DAWK=/usr/bin/awk \
+   -DSED=/usr/bin/sed \
+   -DSH=/bin/sh \
+   -DTESTS=ON
 
 post-install:
@mv ${WRKINST}/etc/pekwm ${PREFIX}/share/examples
Index: distinfo
===
RCS file: /home/cvs/ports/x11/pekwm/distinfo,v
retrieving revision 1.12
diff -u -p -r1.12 distinfo
--- distinfo26 Aug 2021 04:23:03 -  1.12
+++ distinfo19 Nov 2021 09:51:03 -
@@ -1,2 +1,2 @@
-SHA256 (pekwm-0.1.18.tar.gz) = e+zEO3nqsP91RXKFLjhUNSIkIDhRB8iBqTrE3ErpYGU=
-SIZE (pekwm-0.1.18.tar.gz) = 531611
+SHA256 (pekwm-0.2.0.tar.gz) = KFZVUN29JPsrdi8eA+CopGaEPcl6gxBlAYoFHnJAZR4=
+SIZE (pekwm-0.2.0.tar.gz) = 938147
Index: patches/patch-configure_ac
===
RCS file: patches/patch-configure_ac
diff -N patches/patch-configure_ac
--- patches/patch-configure_ac  26 Aug 2021 04:23:03 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,15 +0,0 @@
-$OpenBSD: patch-configure_ac,v 1.2 2021/08/26 04:23:03 semarie Exp $
-
-Index: configure.ac
 configure.ac.orig
-+++ configure.ac
-@@ -32,6 +32,9 @@ CXXFLAGS="$CXXFLAGS $INCICONV"
- dnl Check for iconvctl
- AC_CHECK_FUNC(iconvctl, [AC_DEFINE(HAVE_ICONVCTL, [1], [Define to 1 if you 
the iconvctl call])], )
- 
-+dnl Check for pledge
-+AC_CHECK_FUNC(pledge, [AC_DEFINE(HAVE_PLEDGE, [1], [Define to 1 if you the 
pledge call])], )
-+
- dnl add x11 to the env
- AC_PATH_X
- AC_PATH_XTRA
Index: patches/patch-data_scripts_pekwm_screenshot_sh
===
RCS file: patches/patch-data_scripts_pekwm_screenshot_sh
diff -N patches/patch-data_scripts_pekwm_screenshot_sh
--- patches/patch-data_scripts_pekwm_screenshot_sh  26 Aug 2021 04:23:03 
-  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,15 +0,0 @@
-$OpenBSD: patch-data_scripts_pekwm_screenshot_sh,v 1.2 2021/08/26 04:23:03 
semarie Exp $
-
-Fix getopt: unknown option -- n
-
-Index: data/scripts/pekwm_screenshot.sh
 data/scripts/pekwm_screenshot.sh.orig
-+++ data/scripts/pekwm_screenshot.sh
-@@ -151,6 +151,6 @@ main()
- exit 0
- }
- 
--OPTIONS=$(getopt -o c:d:ho: -n 'pekwm_screenshot.sh' -- "$@")
-+OPTIONS=$(getopt c:d:ho: $*)
- main
- 
Index: patches/patch-src_main_cc
===
RCS file: patches/patch-src_main_cc
diff -N patches/patch-src_main_cc
--- patches/patch-src_main_cc   26 Aug 2021 04:23:03 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,18 +0,0 @@
-$OpenBSD: patch-src_main_cc,v 1.2 2021/08/26 04:23:03 semarie Exp $
-
-Index: src/main.cc
 src/main.cc.orig
-+++ src/main.cc
-@@ -127,6 +127,12 @@ main(int argc, char **argv)
- #endif // DEBUG
- 
- WindowManager *wm = WindowManager::start(config_file, replace);
-+#if HAVE_PLEDGE
-+if (pledge("stdio rpath wpath cpath proc exec", NULL) == -1) {
-+cerr << "failed to pledge" << endl;
-+return 1;
-+}
-+#endif
- 
- if (wm) {
- try {

CVS: cvs.openbsd.org: ports

2021-11-19 Thread Robert Nagy
CVSROOT:/cvs
Module name:ports
Changes by: rob...@cvs.openbsd.org  2021/11/19 06:47:14

Modified files:
www/chromium   : Makefile 
www/chromium/patches: patch-content_browser_browser_main_loop_cc 
Added files:
www/chromium/patches: 
  
patch-net_disk_cache_simple_simple_file_tracker_cc 

Log message:
start taming chromium in low FD situations; starting with disk cache

cap the file descriptor limit at 85% of the size of the
file descriptor table and also substract the amount of
currently used file descriptors as this should give us
enough reserve to avoid hitting the limit



Re: OpenBSD wrapper for Linux/FreeBSD sendfile? (for ZoneMinder)

2021-11-19 Thread Ian Darwin
On Thu, Nov 18, 2021 at 06:04:26PM -0800, Steve Williams wrote:
> Hi,
> 
> I'm trying to compile a Linux/FreeBSD application (zoneminder) under OpenBSD
> 7.0.
> 
> I'm slowly working through it but have gotten stuck at the point where it
> has a dependency on sendfile(2) which OpenBSD doesn't have.

It's generally good to start with a "Is anybody else working on a
ZoneMinder port?"



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2021/11/19 06:28:07

Modified files:
geo/mdal/patches: patch-tests_CMakeLists_txt 

Log message:
geo/mdal: fix random test build failures

FindGTest.cmake from cmake sets GTEST_INCLUDE_DIRS, not GTEST_INCLUDE_DIR



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 05:47:00

Modified files:
lang/php   : Makefile.inc 
lang/php/7.4   : Makefile 
lang/php/7.4/pkg: PLIST-apache PLIST-embed 
lang/php/8.0   : Makefile 
lang/php/8.0/pkg: PLIST-apache PLIST-embed 
lang/php/files : php.conf 

Log message:
De-conflict php-apache and php-embed which had the same libphpX.so filename
and directory.

This moves the module for Apache httpd from lib/php-X.Y/libphpX.so to
lib/apache2/php-X.Y/libphpX.so.

The installed /var/www/conf/modules.sample/php-X.Y.conf is of course updated
to reflect the change, however if anyone uses php-apache and doesn't follow
the recommended config symlink they will need to adapt their config.



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/11/19 05:24:57

Modified files:
sysutils/envconsul: Makefile distinfo 

Log message:
Update to envconsul-0.12.1.



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/11/19 04:48:51

Modified files:
sysutils/awscli: Makefile distinfo 

Log message:
Update to awscli-1.22.9.



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/11/19 04:48:37

Modified files:
net/py-boto3   : Makefile distinfo 

Log message:
Update to py3-boto3-1.20.9.



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/11/19 04:48:27

Modified files:
net/py-botocore: Makefile distinfo 
net/py-botocore/pkg: PLIST 

Log message:
Update to py3-botocore-1.23.9.



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 04:29:04

Modified files:
lang/php   : Makefile.inc 
lang/php/7.4   : Makefile 

Log message:
tidy CONFIGURE_ARGS, --enable-inline-optimization is only for 7.4



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 04:26:47

Modified files:
lang/php   : Makefile.inc 

Log message:
fix non-embed build



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 04:25:40

Modified files:
lang/php/7.3   : Tag: OPENBSD_7_0 Makefile distinfo 

Log message:
update to php-7.3.33



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 04:18:16

Modified files:
graphics/py-cycler/pkg: PLIST 

Log message:
sync plist



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 03:40:01

Modified files:
sysutils/dtb   : Makefile 

Log message:
add a comment warning about the risk of breaking drivers if dtb is
updated, refer to the log message from last commit



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 03:34:27

Modified files:
lang/php/7.4   : Tag: OPENBSD_7_0 Makefile distinfo 

Log message:
update to php-7.4.26



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 03:33:54

Modified files:
lang/php/8.0   : Tag: OPENBSD_7_0 Makefile distinfo 
lang/php/8.0/patches: Tag: OPENBSD_7_0 patch-ext_imap_php_imap_c 
  patch-sapi_cgi_cgi_main_c 
lang/php/8.0/pkg: Tag: OPENBSD_7_0 PLIST-main 

Log message:
update to php-8.0.13



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 03:31:13

Modified files:
lang/php/7.4   : Makefile 
lang/php/7.4/pkg: PLIST-apache PLIST-bz2 PLIST-cgi PLIST-curl 
  PLIST-dba PLIST-dbg PLIST-embed PLIST-enchant 
  PLIST-gd PLIST-gmp PLIST-imap PLIST-intl 
  PLIST-ldap PLIST-main PLIST-mysqli PLIST-odbc 
  PLIST-pcntl PLIST-pdo_dblib PLIST-pdo_mysql 
  PLIST-pdo_odbc PLIST-pdo_pgsql 
  PLIST-pdo_sqlite PLIST-pgsql PLIST-pspell 
  PLIST-shmop PLIST-snmp PLIST-soap 
  PLIST-sqlite3 PLIST-tidy PLIST-xmlrpc 
  PLIST-xsl PLIST-zip 

Log message:
sort PLISTs



Re: 回复:Failed to install Python 3.8 through ports

2021-11-19 Thread Stuart Henderson
On 2021/11/19 09:12, songzongquan wrote:
> No, I don't have that symbolic link. My mk.conf is as follows:
> 
> 
> WRKOBJDIR=/home/song/ports
> DISTDIR=/home/song/distfiles
> PACKAGE_ REPOSITORY=/usr/packages
> #FETCH_ PACKAGES=
> 
> My  ports tree  is in :
> 
> /usr/ports 
> 
> Is there a problem with this setting?

In that case it isn't the problem I thought of.

Please send all output from "ls -lR 
/home/song/ports/Python-3.8.12/fake-mips64el"

If you send a log for the whole python build, we might be able to spot
something. e.g.

make clean
make package 2>&1 | tee ~/python-build-log



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 03:01:03

Modified files:
www/unit   : Makefile 
Added files:
www/unit   : Makefile.inc 
www/unit/unit  : Makefile distinfo 
www/unit/unit/pkg: DESCR PLIST unit.rc 
www/unit/unit-perl: Makefile distinfo 
www/unit/unit-perl/pkg: DESCR PLIST 
www/unit/unit-php: Makefile distinfo 
www/unit/unit-php/pkg: DESCR PLIST 
www/unit/unit-python: Makefile distinfo 
www/unit/unit-python/pkg: DESCR PLIST 
www/unit/unit-ruby: Makefile distinfo 
www/unit/unit-ruby/pkg: DESCR PLIST 
Removed files:
www/unit   : distinfo 
www/unit/patches: patch-auto_cc_test 
www/unit/pkg   : DESCR-main DESCR-perl DESCR-python DESCR-ruby 
 PLIST-main PLIST-perl PLIST-python PLIST-ruby 
 unit.rc 

Log message:
Rearrange the NGINX Unit port so that modules are built from separate
subdirectories, this simplifies building only those modules that you
want, and makes it possible to build multiple versions of an extension
type. Add the php extension, with FLAVORs for 7.4 and 8.0.
OK with maintainer.



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 02:57:31

ports/www/unit/unit-perl/pkg

Update of /cvs/ports/www/unit/unit-perl/pkg
In directory cvs.openbsd.org:/tmp/cvs-serv14418/unit-perl/pkg

Log Message:
Directory /cvs/ports/www/unit/unit-perl/pkg added to the repository



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 02:57:31

ports/www/unit/unit/pkg

Update of /cvs/ports/www/unit/unit/pkg
In directory cvs.openbsd.org:/tmp/cvs-serv14418/unit/pkg

Log Message:
Directory /cvs/ports/www/unit/unit/pkg added to the repository



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 02:57:31

ports/www/unit/unit-php/pkg

Update of /cvs/ports/www/unit/unit-php/pkg
In directory cvs.openbsd.org:/tmp/cvs-serv14418/unit-php/pkg

Log Message:
Directory /cvs/ports/www/unit/unit-php/pkg added to the repository



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 02:57:31

ports/www/unit/unit-python/pkg

Update of /cvs/ports/www/unit/unit-python/pkg
In directory cvs.openbsd.org:/tmp/cvs-serv14418/unit-python/pkg

Log Message:
Directory /cvs/ports/www/unit/unit-python/pkg added to the repository



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 02:57:31

ports/www/unit/unit-ruby/pkg

Update of /cvs/ports/www/unit/unit-ruby/pkg
In directory cvs.openbsd.org:/tmp/cvs-serv14418/unit-ruby/pkg

Log Message:
Directory /cvs/ports/www/unit/unit-ruby/pkg added to the repository



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 02:57:26

ports/www/unit/unit-python

Update of /cvs/ports/www/unit/unit-python
In directory cvs.openbsd.org:/tmp/cvs-serv1401/unit-python

Log Message:
Directory /cvs/ports/www/unit/unit-python added to the repository



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 02:57:26

ports/www/unit/unit-ruby

Update of /cvs/ports/www/unit/unit-ruby
In directory cvs.openbsd.org:/tmp/cvs-serv1401/unit-ruby

Log Message:
Directory /cvs/ports/www/unit/unit-ruby added to the repository



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 02:57:26

ports/www/unit/unit-perl

Update of /cvs/ports/www/unit/unit-perl
In directory cvs.openbsd.org:/tmp/cvs-serv1401/unit-perl

Log Message:
Directory /cvs/ports/www/unit/unit-perl added to the repository



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 02:57:26

ports/www/unit/unit-php

Update of /cvs/ports/www/unit/unit-php
In directory cvs.openbsd.org:/tmp/cvs-serv1401/unit-php

Log Message:
Directory /cvs/ports/www/unit/unit-php added to the repository



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 02:57:26

ports/www/unit/unit

Update of /cvs/ports/www/unit/unit
In directory cvs.openbsd.org:/tmp/cvs-serv1401/unit

Log Message:
Directory /cvs/ports/www/unit/unit added to the repository



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 02:57:05

Modified files:
lang/php   : Makefile.inc 

Log message:
shrink the php build for the embed FLAVOR, no need to build extensions
and other SAPIs with this



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 02:56:33

Modified files:
lang/php/7.4   : Makefile distinfo 
lang/php/7.4/pkg: PLIST-main 
Removed files:
lang/php/7.4/patches: 
  
patch-ext_intl_breakiterator_codepointiterator_internal_cpp 
  
patch-ext_intl_breakiterator_codepointiterator_internal_h 
  patch-ext_intl_locale_locale_methods_c 

Log message:
update to php-7.4.26p0



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 02:56:25

Modified files:
lang/php/8.0   : Makefile distinfo 
lang/php/8.0/pkg: PLIST-gmp PLIST-main PLIST-mysqli 
Removed files:
lang/php/8.0/patches: 
  
patch-ext_intl_breakiterator_codepointiterator_internal_cpp 
  
patch-ext_intl_breakiterator_codepointiterator_internal_h 
  patch-ext_intl_locale_locale_methods_c 

Log message:
update to php-8.0.13



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/11/19 02:26:02

Modified files:
x11/gnome/builder: Makefile distinfo 
x11/gnome/builder/pkg: PLIST 
Added files:
x11/gnome/builder/patches: patch-meson_build 

Log message:
Update to gnome-builder-41.2.



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/19 02:01:49

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

Log message:
update to py3-pyaml-21.10.1



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/11/19 01:22:13

Modified files:
net/gupnp/tools: Makefile distinfo 

Log message:
Update to gupnp-tools-0.10.2.



Re: OpenBSD wrapper for Linux/FreeBSD sendfile?

2021-11-19 Thread Stuart Henderson
zoneminder has fallback code, they just unconditionally include 
zm_sendfile.h even where sendfile was not detected, and that has a hard 
#error. See 
https://github.com/jasperla/openbsd-wip/tree/master/multimedia/zoneminder, 
there is a patch for this.


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

On 19 November 2021 05:31:32 George Koehler  wrote:


On Thu, 18 Nov 2021 18:04:26 -0800
Steve Williams  wrote:


Hi,

I'm trying to compile a Linux/FreeBSD application (zoneminder) under
OpenBSD 7.0.

I'm slowly working through it but have gotten stuck at the point where
it has a dependency on sendfile(2) which OpenBSD doesn't have.

Doing some research, I found one reference that sosplice(2) might be
able to be used in place of sendfile.  Elsewhere, I have found reference
to a "simple-sendfile" package, but that doesn't seem to exist.


Linux sendfile(2) and FreeBSD sendfile(2) are different functions.
simple_sendfile() is a function in lang/ruby that wraps FreeBSD's
sendfile to act like Linux's.  simple_sendfile() is not for OpenBSD.

Linux: https://man7.org/linux/man-pages/man2/sendfile.2.html
FreeBSD: https://www.freebsd.org/cgi/man.cgi?query=sendfile
simple_sendfile: 
https://github.com/ruby/ruby/blob/0db68f023372b634603c74fca94588b457be084c/io.c#L11320


OpenBSD's SO_SPLICE can only "splice together two TCP or UDP sockets",
says setsockopt(2).  You can't SO_SPLICE if your code copies a regular
file to a socket.


Is this an issue people have already resolved with other ports?  Or is
it a deal breaker?

I guess the devil is in the details, but I thought I'd reach out here
first in case there's already a good solution to this.


Check what your code does if sendfile fails.  If it falls back to a
read/write loop, then you might patch it to skip sendfile.  If it
doesn't have a read/write loop, then you might need to add one.

--George



Thanks,
Steve Williams





CVS: cvs.openbsd.org: ports

2021-11-19 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/11/19 01:16:03

Modified files:
x11/gnome/screenshot: Makefile distinfo 

Log message:
Update to gnome-screenshot-41.0.



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/11/19 01:01:20

Modified files:
devel/libgit2/py-git2: Makefile distinfo 

Log message:
Update to py3-git2-1.7.0.



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/11/19 01:01:06

Modified files:
devel/libgit2/libgit2: Makefile distinfo 
devel/libgit2/libgit2/pkg: PLIST 
Added files:
devel/libgit2/libgit2/patches: 
   patch-deps_ntlmclient_crypt_openssl_c 

Log message:
Update to libgit2-1.3.0.



CVS: cvs.openbsd.org: ports

2021-11-19 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/11/19 01:00:54

Modified files:
devel/libgit2  : Makefile.inc 
devel/libgit2/libgit2-glib: Makefile 

Log message:
Take MAINTAINER.