CVS: cvs.openbsd.org: ports

2021-03-23 Thread Bjorn Ketelaars
CVSROOT:/cvs
Module name:ports
Changes by: b...@cvs.openbsd.org2021/03/23 23:15:41

Modified files:
net/filezilla  : Makefile distinfo 

Log message:
Update to filezilla-3.53.1

Bug fix release:
https://svn.filezilla-project.org/filezilla/FileZilla3/trunk/NEWS?revision=10186=markup



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Bjorn Ketelaars
CVSROOT:/cvs
Module name:ports
Changes by: b...@cvs.openbsd.org2021/03/23 23:05:45

Modified files:
devel/py-prompt_toolkit: Makefile distinfo 

Log message:
Update to py-prompt_toolkit-3.0.18

CHANGELOG:
https://github.com/prompt-toolkit/python-prompt-toolkit/blob/master/CHANGELOG



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Bjorn Ketelaars
CVSROOT:/cvs
Module name:ports
Changes by: b...@cvs.openbsd.org2021/03/23 22:51:14

Modified files:
sysutils/bupstash: Makefile distinfo 
sysutils/bupstash/pkg: PLIST 

Log message:
Update to bupstash-0.8.0

Changes: https://github.com/andrewchambers/bupstash/releases/tag/v0.8.0



Update: latex2html

2021-03-23 Thread David
Sorry to bother you. On OpenBSD 6.8 any attempt, for me at least, to use 
latex2html terminates immediately with:

Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in 
m/((^|[\s,=])')\\\W{ <-- HERE (\w)}/ at /usr/local/bin/latex2html line 6481.

The attached diff updates to latex2html 2021 which seems to work for me on 
amd64 CURRENT. Also, there was a typo in the post-install bit.

However, this is my first time working with ports, so watch out for foolish 
mistakes on my part, please.

--
David



latex2html.diff
Description: Binary data


Re: Interest check: gh (github's cli)

2021-03-23 Thread Mikolaj Kucharski
On Tue, Mar 23, 2021 at 10:18:07PM +, Stuart Henderson wrote:
> 
> OK sthen with these added
> 
> BROKEN-aarch64=   old kr/pty doesn't support OpenBSD arm arches; needs 
> creack/pty@v1.1.11
> BROKEN-armv7= old kr/pty doesn't support OpenBSD arm arches; needs 
> creack/pty@v1.1.11
> 

Port updated with broken markers for aarch64 and armv7 added.

-- 
Regards,
 Mikolaj


github-cli-1.7.0.port-v2.tgz
Description: application/tar-gz


Re: NEW: security/py-hvac 0.10.6

2021-03-23 Thread Mikolaj Kucharski
On Tue, Mar 23, 2021 at 10:25:13PM +, Stuart Henderson wrote:
> 
> There don't seem to be any tests in the distribution, so TEST_DEPENDS
> doesn't make much sense?
> 
> Port looks good to me but I have no way to test it.
> 

Dropped TEST_DEPENDS. I've used it with Ansible:

  bindpw: "{{ lookup('hashi_vault', 'secret=secret/... }}"

to fetch secrets from Vault.

-- 
Regards,
 Mikolaj


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


Re: NEW: security/py-hvac 0.10.6

2021-03-23 Thread Stuart Henderson
On 2021/03/23 22:06, Mikolaj Kucharski wrote:
> Kind reminder.
> 
> On Tue, Mar 09, 2021 at 09:23:02PM +, Mikolaj Kucharski wrote:
> > Updated the port to 0.10.8
> > 
> > On Sun, Jan 24, 2021 at 12:54:17PM +, Mikolaj Kucharski wrote:
> > > Hi,
> > > 
> > > Kind reminder. Port reattached for convenience.
> > > 
> > > On Fri, Jan 01, 2021 at 05:08:59PM +, Mikolaj Kucharski wrote:
> > > > 
> > > > I'm using py3-hvac Python module to fetch Vault secrets from Ansible via
> > > > its hashi_vault lookup plugin.
> > > > 
> > > > > Comment:
> > > > > Python client library for Hashicorp Vault
> > > > >
> > > > > Description:
> > > > > HVAC allows accessing secrets stored in a Vault directly from
> > > > > Python code.
> > > > >
> > > > > An access token must be created first, using a separate tool
> > > > > like vault or vault-client.
> > > > 
> > > > I've made it Python3-only port. Comments?
> > > > 
> 
> -- 
> Regards,
>  Mikolaj

There don't seem to be any tests in the distribution, so TEST_DEPENDS
doesn't make much sense?

Port looks good to me but I have no way to test it.




Re: sysutils/u-boot: Ship assorted README files

2021-03-23 Thread Klemens Nanni
On Tue, Mar 23, 2021 at 09:10:22PM +0100, Klemens Nanni wrote:
> One thing I'd like to have around is documentation on how certain
> u-boot commands/subsystems work and/or what needs to be done on
> certain specific boards.
> 
> I'm on a Pinebook Pro here and ${WRKSRC}/doc/README.rockchip
> (thanks abieber!) for example has the relevant dd(1) commands to flash
> the various blobs -- with that I don't need to try my luck or search
> online get a firmware update going and/or prep an SD card.
> 
> I know that those README.* files generally also explain how to configure
> and build stuff from source and we are not interested in those bits, but
> shipping them unmodified is still of value, especially because I can
> now work on those boxes while mostly offline.
> 
> Besides board specific docs there is general information available
> regarding serial console and video output, GPT partitioning from within
> u-boot, etc. so I added a few assorted READMEs as well.
> 
> Since those ought be shipped regardless of the flavour but and we must
> not install the same files via multiple packages I've used PKGSTEM
> (contains FLAVOR) as part of the file path such that each FLAVOR may
> ship the same docs but under their own unique path.
> 
> I have other improvemens in mind but want to take care of them one by
> one.
New diff using PKGSTEM in PFRAG.* and BOARD_READMES not ARCH_READMES.

Feedback? OK?


Index: Makefile
===
RCS file: /cvs/ports/sysutils/u-boot/Makefile,v
retrieving revision 1.80
diff -u -p -r1.80 Makefile
--- Makefile23 Feb 2021 22:04:35 -  1.80
+++ Makefile23 Mar 2021 19:58:27 -
@@ -8,7 +8,7 @@ FLAVOR?=arm
 
 COMMENT=   U-Boot firmware
 VERSION=   2021.01
-REVISION=  0
+REVISION=  1
 DISTNAME=  u-boot-${VERSION}
 PKGNAME=   u-boot-${FLAVOR}-${VERSION:S/-//}
 FULLPKGNAME=   ${PKGNAME}
@@ -82,6 +82,8 @@ BOARDS=\
rockpro64-rk3399 \
rpi_3 \
rpi_4
+BOARD_READMES=\
+   rockchip
 .elif "${FLAVOR}" == "arm"
 OMAP=\
omap4_panda \
@@ -140,6 +142,7 @@ BOARDS=\
tinker-rk3288 \
turris_omnia \
vexpress_ca15_tc2
+BOARD_READMES=
 .endif
 
 FILES=\
@@ -156,7 +159,15 @@ FILES=\
u-boot.itb \
u-boot-rockchip.bin \
idbloader.img \
-   spl/sunxi-spl.bin \
+   spl/sunxi-spl.bin
+
+CMD_READMES+=\
+   console \
+   gpt \
+   nvme \
+   pxe \
+   usb \
+   video
 
 do-build:
 .for BOARD in ${BOARDS}
@@ -210,6 +221,11 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/u-boot/${BOARD}
-cd ${WRKSRC}/build/${BOARD} && \
cp ${FILES} ${PREFIX}/share/u-boot/${BOARD}/
+.endfor
+   ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGSTEM}
+.for README in ${BOARD_READMES} ${CMD_READMES}
+   ${INSTALL_DATA} ${WRKSRC}/doc/README.${README} \
+   ${PREFIX}/share/doc/${PKGSTEM}/
 .endfor
 
 .include 
Index: pkg/PFRAG.aarch64
===
RCS file: /cvs/ports/sysutils/u-boot/pkg/PFRAG.aarch64,v
retrieving revision 1.22
diff -u -p -r1.22 PFRAG.aarch64
--- pkg/PFRAG.aarch64   15 Jan 2021 00:01:16 -  1.22
+++ pkg/PFRAG.aarch64   23 Mar 2021 19:59:37 -
@@ -1,5 +1,13 @@
 @comment $OpenBSD: PFRAG.aarch64,v 1.22 2021/01/15 00:01:16 kurt Exp $
 @pkgpath sysutils/u-boot-pinebook
+share/doc/${PKGSTEM}/
+share/doc/${PKGSTEM}/README.console
+share/doc/${PKGSTEM}/README.gpt
+share/doc/${PKGSTEM}/README.nvme
+share/doc/${PKGSTEM}/README.pxe
+share/doc/${PKGSTEM}/README.rockchip
+share/doc/${PKGSTEM}/README.usb
+share/doc/${PKGSTEM}/README.video
 share/u-boot/
 share/u-boot/a64-olinuxino/
 share/u-boot/a64-olinuxino/sunxi-spl.bin
Index: pkg/PFRAG.arm
===
RCS file: /cvs/ports/sysutils/u-boot/pkg/PFRAG.arm,v
retrieving revision 1.24
diff -u -p -r1.24 PFRAG.arm
--- pkg/PFRAG.arm   14 Jan 2021 00:56:54 -  1.24
+++ pkg/PFRAG.arm   23 Mar 2021 19:48:37 -
@@ -1,5 +1,12 @@
 @comment $OpenBSD: PFRAG.arm,v 1.24 2021/01/14 00:56:54 jsg Exp $
 @pkgpath sysutils/u-boot,
+share/doc/${PKGSTEM}/
+share/doc/${PKGSTEM}/README.console
+share/doc/${PKGSTEM}/README.gpt
+share/doc/${PKGSTEM}/README.nvme
+share/doc/${PKGSTEM}/README.pxe
+share/doc/${PKGSTEM}/README.usb
+share/doc/${PKGSTEM}/README.video
 share/u-boot/
 share/u-boot/A10-OLinuXino-Lime/
 share/u-boot/A10-OLinuXino-Lime/sunxi-spl.bin



CVS: cvs.openbsd.org: ports

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

Modified files:
textproc/calibre: Makefile 

Log message:
calibre: add RDEP on py-html2text; from Caspar Schutijser
required to convert a PDF to EPUB with "Heuristic processing" enabled



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Sebastian Reitenbach
CVSROOT:/cvs
Module name:ports
Changes by: sebas...@cvs.openbsd.org2021/03/23 16:19:19

Modified files:
security/wpscan: Makefile distinfo 

Log message:
simple update 3.8.15 -> 3.8.17



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Sebastian Reitenbach
CVSROOT:/cvs
Module name:ports
Changes by: sebas...@cvs.openbsd.org2021/03/23 16:18:40

Modified files:
security/ruby-cms_scanner: Makefile distinfo 

Log message:
simple update 0.13.1 -> 0.13.3



Re: Interest check: gh (github's cli)

2021-03-23 Thread Stuart Henderson
On 2021/03/23 22:11, Mikolaj Kucharski wrote:
> On Wed, Mar 10, 2021 at 07:31:50PM +, Mikolaj Kucharski wrote:
> > On Sun, Jan 24, 2021 at 02:25:14PM +, Mikolaj Kucharski wrote:
> > > 
> > > See new port version attached. It contains 1.5.0, which I didn't had a
> > > chance to properly test, as I've updated the port today.
> > > 
> > > From port perspective comparing to github-cli,2.tgz from Stuart
> > > Henderson, I've:
> > > 
> > > - updated $V to 1.5.0
> > > - make makesum
> > > - ran make modgo-gen-modules
> > > - update Makefile with new MODGO_MODULES and MODGO_MODFILES
> > > - make makesum again
> > > - updated plist
> > > - added MODGO_LDFLAGS so gh version prints proper version
> > > - make package
> > > - gh version works as expected, and prints 1.5.0 instead of DEV
> > > 
> > 
> > Updated port to 1.7.0 version attached.
> > 
> 
> Tested lightly, but regularly, as I don't use a lot of API codepaths.
> Create or list issues, create pull requests. Works for me.
> 
> -- 
> Regards,
>  Mikolaj

OK sthen with these added

BROKEN-aarch64= old kr/pty doesn't support OpenBSD arm arches; needs 
creack/pty@v1.1.11
BROKEN-armv7=   old kr/pty doesn't support OpenBSD arm arches; needs 
creack/pty@v1.1.11




CVS: cvs.openbsd.org: ports

2021-03-23 Thread Sebastian Reitenbach
CVSROOT:/cvs
Module name:ports
Changes by: sebas...@cvs.openbsd.org2021/03/23 16:18:04

Modified files:
devel/ruby-opt_parse_validator: Makefile distinfo 

Log message:
simple update 1.9.3 -> 1.9.4



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/03/23 16:17:37

Modified files:
net/termshark  : Makefile 
sysutils/nomad : Makefile 
sysutils/terragrunt: Makefile 

Log message:
mark a few go ports broken on armv7/aarch64, they use an old kr/pty which
doesn't support OpenBSD arm arches; needs creack/pty@v1.1.11



go.port.mk help wanted; can we use a newer go dep? [Re: aarch64 bulk build report]

2021-03-23 Thread Stuart Henderson
On 2021/03/23 15:47, phess...@openbsd.org wrote:
> build failures: 17
> http://build-failures.rhaalovely.net/aarch64/2021-03-21/net/termshark.log
> http://build-failures.rhaalovely.net/aarch64/2021-03-21/sysutils/nomad.log
> http://build-failures.rhaalovely.net/aarch64/2021-03-21/sysutils/terragrunt.log

These are because they use an old version of a module (github.com/kr/pty)

# github.com/kr/pty
../../../../go/pkg/mod/github.com/kr/pty@v1.1.4/pty_openbsd.go:24:10: 
undefined: ptmget
../../../../go/pkg/mod/github.com/kr/pty@v1.1.4/pty_openbsd.go:25:34: 
undefined: ioctl_PTMGET

This was fixed upstream in v1.1.11 (module is now at creack/pty,
kr/pty now has a shim to point users at the new repo).

Is there any way to have go.port.mk use the newer version (like
MODCARGO_CRATES_UPDATE with cargo/rust) or do we just need to wait for
the various upstreams to change?



Re: Interest check: gh (github's cli)

2021-03-23 Thread Mikolaj Kucharski
On Wed, Mar 10, 2021 at 07:31:50PM +, Mikolaj Kucharski wrote:
> On Sun, Jan 24, 2021 at 02:25:14PM +, Mikolaj Kucharski wrote:
> > 
> > See new port version attached. It contains 1.5.0, which I didn't had a
> > chance to properly test, as I've updated the port today.
> > 
> > From port perspective comparing to github-cli,2.tgz from Stuart
> > Henderson, I've:
> > 
> > - updated $V to 1.5.0
> > - make makesum
> > - ran make modgo-gen-modules
> > - update Makefile with new MODGO_MODULES and MODGO_MODFILES
> > - make makesum again
> > - updated plist
> > - added MODGO_LDFLAGS so gh version prints proper version
> > - make package
> > - gh version works as expected, and prints 1.5.0 instead of DEV
> > 
> 
> Updated port to 1.7.0 version attached.
> 

Tested lightly, but regularly, as I don't use a lot of API codepaths.
Create or list issues, create pull requests. Works for me.

-- 
Regards,
 Mikolaj


github-cli-1.7.0.port.tgz
Description: application/tar-gz


Re: NEW: graphics/promplot

2021-03-23 Thread Mikolaj Kucharski
Kind reminder.

On Mon, Jan 25, 2021 at 03:51:16PM +, Mikolaj Kucharski wrote:
> Hi,
> 
> I was looking for a tool which can easily generate a screenshot
> from Prometheus metrics and I found:
> 
>   https://github.com/qvl/promplot
> 
> > Comment:
> > create plots from Prometheus metrics
> >
> > Description:
> > promplot is an opinionated tool to create plots from Prometheus
> > metrics and automatically sends them to Slack or saves the image
> > to a file or stdout.
> 
> With help from Aaron Bieber I've created attached port. It compiles and
> I can generate PNG files with Prometheus metrics via the tool.
> 

-- 
Regards,
 Mikolaj


promplot-0.17.0-port.tgz
Description: application/tar-gz


Re: NEW: security/py-hvac 0.10.6

2021-03-23 Thread Mikolaj Kucharski
Kind reminder.

On Tue, Mar 09, 2021 at 09:23:02PM +, Mikolaj Kucharski wrote:
> Updated the port to 0.10.8
> 
> On Sun, Jan 24, 2021 at 12:54:17PM +, Mikolaj Kucharski wrote:
> > Hi,
> > 
> > Kind reminder. Port reattached for convenience.
> > 
> > On Fri, Jan 01, 2021 at 05:08:59PM +, Mikolaj Kucharski wrote:
> > > 
> > > I'm using py3-hvac Python module to fetch Vault secrets from Ansible via
> > > its hashi_vault lookup plugin.
> > > 
> > > > Comment:
> > > > Python client library for Hashicorp Vault
> > > >
> > > > Description:
> > > > HVAC allows accessing secrets stored in a Vault directly from
> > > > Python code.
> > > >
> > > > An access token must be created first, using a separate tool
> > > > like vault or vault-client.
> > > 
> > > I've made it Python3-only port. Comments?
> > > 

-- 
Regards,
 Mikolaj


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


aarch64 bulk build report

2021-03-23 Thread phessler
bulk build on arm64.ports.openbsd.org
started on  Sun Mar 21 03:36:10 MDT 2021
finished at Tue Mar 23 15:47:20 MDT 2021
lasted 2D12h11m
done with kern.version=OpenBSD 6.9-beta (GENERIC.MP) #1085: Sat Mar 20 22:02:07 
MDT 2021

built packages:11054
Mar 21:3787
Mar 22:1922
Mar 23:5344


critical path missing pkgs:  
http://build-failures.rhaalovely.net/aarch64/2021-03-21/summary.log

build failures: 17
http://build-failures.rhaalovely.net/aarch64/2021-03-21/audio/audacious/plugins,qt5.log
http://build-failures.rhaalovely.net/aarch64/2021-03-21/comms/gnuradio.log
http://build-failures.rhaalovely.net/aarch64/2021-03-21/converters/wv2.log
http://build-failures.rhaalovely.net/aarch64/2021-03-21/editors/calligra.log
http://build-failures.rhaalovely.net/aarch64/2021-03-21/editors/micro.log
http://build-failures.rhaalovely.net/aarch64/2021-03-21/editors/xwpe.log
http://build-failures.rhaalovely.net/aarch64/2021-03-21/emulators/vice.log
http://build-failures.rhaalovely.net/aarch64/2021-03-21/games/lwjgl3.log
http://build-failures.rhaalovely.net/aarch64/2021-03-21/games/shockolate.log
http://build-failures.rhaalovely.net/aarch64/2021-03-21/lang/zig.log
http://build-failures.rhaalovely.net/aarch64/2021-03-21/mail/evolution-rss.log
http://build-failures.rhaalovely.net/aarch64/2021-03-21/net/termshark.log
http://build-failures.rhaalovely.net/aarch64/2021-03-21/shells/nsh,static.log
http://build-failures.rhaalovely.net/aarch64/2021-03-21/sysutils/nomad.log
http://build-failures.rhaalovely.net/aarch64/2021-03-21/sysutils/telegraf.log
http://build-failures.rhaalovely.net/aarch64/2021-03-21/sysutils/terragrunt.log
http://build-failures.rhaalovely.net/aarch64/2021-03-21/www/seamonkey,-lightning.log

recurrent failures
 failures/audio/audacious/plugins,qt5.log
 failures/comms/gnuradio.log
 failures/converters/wv2.log
 failures/editors/calligra.log
 failures/editors/micro.log
 failures/games/lwjgl3.log
 failures/games/shockolate.log
 failures/lang/zig.log
 failures/net/termshark.log
 failures/shells/nsh,static.log
 failures/sysutils/nomad.log
 failures/sysutils/telegraf.log
 failures/sysutils/terragrunt.log
 failures/www/seamonkey,-lightning.log
new failures
+++ ls-failures Tue Mar 23 15:47:30 2021
+failures/mail/evolution-rss.log
resolved failures
--- ../old/aarch64/last//ls-failuresFri Mar 19 13:46:24 2021
-failures/audio/clementine.log
-failures/comms/hylafax.log
-failures/x11/lightly.log



Re: Update: latex2html

2021-03-23 Thread Stuart Henderson
On 2021/03/23 20:53, David wrote:
> Sorry to bother you. On OpenBSD 6.8 any attempt, for me at least, to use 
> latex2html terminates immediately with:
> 
> Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in 
> m/((^|[\s,=])')\\\W{ <-- HERE (\w)}/ at /usr/local/bin/latex2html line 6481.
> 
> The attached diff updates to latex2html 2021 which seems to work for me on 
> amd64 CURRENT. Also, there was a typo in the post-install bit.
> 
> However, this is my first time working with ports, so watch out for foolish 
> mistakes on my part, please.
> 
> --
> David
> 

Thanks, committed with small tweaks: I have moved GH_* up where DISTNAME
was, and reinstated the @tag line in pkg/PLIST (which triggers running
"mktexlsr" at pkg_add time).



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/03/23 15:45:59

Modified files:
textproc/latex2html: Makefile distinfo 
textproc/latex2html/pkg: PLIST 

Log message:
update to latex2html-2021 and fix typo in doc dir
from dir21 at pm me



Re: NEW: security/py-fickling

2021-03-23 Thread Stuart Henderson
On 2021/03/23 22:31, Sebastian Reitenbach wrote:
> Hi,
> 
> attached a port of fickling.
> 
> cat pkg/DESCR:
> Fickling is a decompiler, static analyzer, and bytecode rewriter for
> Python pickle object serializations.
> 
> Pickled Python objects are in fact bytecode that is interpreted by a
> stack-based virtual machine built into Python called the "Pickle
> Machine". Fickling can take pickled data streams and decompile them into
> human-readable Python code that, when executed, will deserialize to the
> original serialized object.
> 
> this needs the just sent devel/py-astunparse as dependency.
> 
> comments, feedback, or even OK welcome.
> 
> 
> cheers,
> Sebastian


Please replace NO_TEST=Yes with MODPY_PYTEST=Yes, otherwise ok



Re: NEW: devel/py-astunparse

2021-03-23 Thread Stuart Henderson
On 2021/03/23 21:36, Stuart Henderson wrote:
> On 2021/03/23 22:29, Sebastian Reitenbach wrote:
> > Hi,
> > 
> > attached a port for astunparse.
> > 
> > cat pkg/DESCR
> > An AST unparser for Python.
> > 
> > This is a factored out version of unparse found in the Python source
> > distribution; under Demo/parser in Python 2 and under Tools/parser in
> > Python 3.
> > 
> > With python3.9 this is part of python itself, it's needed as a dependency 
> > of fickling.
> > 
> > comments, feedback or even OK welcome.
> > 
> > cheers,
> > Sebastian
> 
> nitpicking, there's a mix of "=" and " =" in Makefile
> 
> could you add this to remove the "WARNING: Testing via this command is
> deprecated and will be removed in a future version" warning please?
> 
> MODPY_PYTEST= Yes
> TEST_ENV= PYTHONPATH="${WRKSRC}/lib"
> 
> OK
> 

Oh, and please add a comment "in python core in 3.9" or similar



Re: NEW: devel/py-astunparse

2021-03-23 Thread Stuart Henderson
On 2021/03/23 22:29, Sebastian Reitenbach wrote:
> Hi,
> 
> attached a port for astunparse.
> 
> cat pkg/DESCR
> An AST unparser for Python.
> 
> This is a factored out version of unparse found in the Python source
> distribution; under Demo/parser in Python 2 and under Tools/parser in
> Python 3.
> 
> With python3.9 this is part of python itself, it's needed as a dependency of 
> fickling.
> 
> comments, feedback or even OK welcome.
> 
> cheers,
> Sebastian

nitpicking, there's a mix of "=" and " =" in Makefile

could you add this to remove the "WARNING: Testing via this command is
deprecated and will be removed in a future version" warning please?

MODPY_PYTEST=   Yes
TEST_ENV=   PYTHONPATH="${WRKSRC}/lib"

OK



NEW: security/py-fickling

2021-03-23 Thread Sebastian Reitenbach
Hi,

attached a port of fickling.

cat pkg/DESCR:
Fickling is a decompiler, static analyzer, and bytecode rewriter for
Python pickle object serializations.

Pickled Python objects are in fact bytecode that is interpreted by a
stack-based virtual machine built into Python called the "Pickle
Machine". Fickling can take pickled data streams and decompile them into
human-readable Python code that, when executed, will deserialize to the
original serialized object.

this needs the just sent devel/py-astunparse as dependency.

comments, feedback, or even OK welcome.


cheers,
Sebastian


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


NEW: devel/py-astunparse

2021-03-23 Thread Sebastian Reitenbach
Hi,

attached a port for astunparse.

cat pkg/DESCR
An AST unparser for Python.

This is a factored out version of unparse found in the Python source
distribution; under Demo/parser in Python 2 and under Tools/parser in
Python 3.

With python3.9 this is part of python itself, it's needed as a dependency of 
fickling.

comments, feedback or even OK welcome.

cheers,
Sebastian


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


CVS: cvs.openbsd.org: ports

2021-03-23 Thread Edd Barrett
CVSROOT:/cvs
Module name:ports
Changes by: e...@cvs.openbsd.org2021/03/23 15:01:13

Modified files:
devel/snare: Makefile distinfo 

Log message:
devel/snare: update to version 0.4.2.

Diff from upstream author, Laurence Tratt.

Thanks!



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/03/23 14:43:19

Modified files:
net/bitcoin: Makefile 

Log message:
no_x11 needs sqlite3.
archivers/zstd seems to be extra but I am not touching this, only fixing
build.



CVS: cvs.openbsd.org: ports

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

Modified files:
audio/mpg123   : Makefile distinfo 

Log message:
audio/mpg123: update to 1.26.5



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2021/03/23 14:33:16

Modified files:
net/tor: Makefile distinfo 

Log message:
Update to tor 0.4.5.7, fixes two DoS bugs (TROVE-2021-001 and TROVE-2021-002).



sysutils/u-boot: Ship assorted README files

2021-03-23 Thread Klemens Nanni
One thing I'd like to have around is documentation on how certain
u-boot commands/subsystems work and/or what needs to be done on
certain specific boards.

I'm on a Pinebook Pro here and ${WRKSRC}/doc/README.rockchip
(thanks abieber!) for example has the relevant dd(1) commands to flash
the various blobs -- with that I don't need to try my luck or search
online get a firmware update going and/or prep an SD card.

I know that those README.* files generally also explain how to configure
and build stuff from source and we are not interested in those bits, but
shipping them unmodified is still of value, especially because I can
now work on those boxes while mostly offline.

Besides board specific docs there is general information available
regarding serial console and video output, GPT partitioning from within
u-boot, etc. so I added a few assorted READMEs as well.

Since those ought be shipped regardless of the flavour but and we must
not install the same files via multiple packages I've used PKGSTEM
(contains FLAVOR) as part of the file path such that each FLAVOR may
ship the same docs but under their own unique path.

I have other improvemens in mind but want to take care of them one by
one.

Feedback? OK?


Index: Makefile
===
RCS file: /cvs/ports/sysutils/u-boot/Makefile,v
retrieving revision 1.80
diff -u -p -r1.80 Makefile
--- Makefile23 Feb 2021 22:04:35 -  1.80
+++ Makefile23 Mar 2021 19:58:27 -
@@ -8,7 +8,7 @@ FLAVOR?=arm
 
 COMMENT=   U-Boot firmware
 VERSION=   2021.01
-REVISION=  0
+REVISION=  1
 DISTNAME=  u-boot-${VERSION}
 PKGNAME=   u-boot-${FLAVOR}-${VERSION:S/-//}
 FULLPKGNAME=   ${PKGNAME}
@@ -82,6 +82,8 @@ BOARDS=\
rockpro64-rk3399 \
rpi_3 \
rpi_4
+ARCH_READMES=\
+   rockchip
 .elif "${FLAVOR}" == "arm"
 OMAP=\
omap4_panda \
@@ -140,6 +142,7 @@ BOARDS=\
tinker-rk3288 \
turris_omnia \
vexpress_ca15_tc2
+ARCH_READMES=
 .endif
 
 FILES=\
@@ -156,7 +159,15 @@ FILES=\
u-boot.itb \
u-boot-rockchip.bin \
idbloader.img \
-   spl/sunxi-spl.bin \
+   spl/sunxi-spl.bin
+
+CMD_READMES+=\
+   console \
+   gpt \
+   nvme \
+   pxe \
+   usb \
+   video
 
 do-build:
 .for BOARD in ${BOARDS}
@@ -210,6 +221,11 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/u-boot/${BOARD}
-cd ${WRKSRC}/build/${BOARD} && \
cp ${FILES} ${PREFIX}/share/u-boot/${BOARD}/
+.endfor
+   ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGSTEM}
+.for README in ${ARCH_READMES} ${CMD_READMES}
+   ${INSTALL_DATA} ${WRKSRC}/doc/README.${README} \
+   ${PREFIX}/share/doc/${PKGSTEM}/
 .endfor
 
 .include 
Index: pkg/PFRAG.aarch64
===
RCS file: /cvs/ports/sysutils/u-boot/pkg/PFRAG.aarch64,v
retrieving revision 1.22
diff -u -p -r1.22 PFRAG.aarch64
--- pkg/PFRAG.aarch64   15 Jan 2021 00:01:16 -  1.22
+++ pkg/PFRAG.aarch64   23 Mar 2021 19:59:37 -
@@ -1,5 +1,13 @@
 @comment $OpenBSD: PFRAG.aarch64,v 1.22 2021/01/15 00:01:16 kurt Exp $
 @pkgpath sysutils/u-boot-pinebook
+share/doc/u-boot-aarch64/
+share/doc/u-boot-aarch64/README.console
+share/doc/u-boot-aarch64/README.gpt
+share/doc/u-boot-aarch64/README.nvme
+share/doc/u-boot-aarch64/README.pxe
+share/doc/u-boot-aarch64/README.rockchip
+share/doc/u-boot-aarch64/README.usb
+share/doc/u-boot-aarch64/README.video
 share/u-boot/
 share/u-boot/a64-olinuxino/
 share/u-boot/a64-olinuxino/sunxi-spl.bin
Index: pkg/PFRAG.arm
===
RCS file: /cvs/ports/sysutils/u-boot/pkg/PFRAG.arm,v
retrieving revision 1.24
diff -u -p -r1.24 PFRAG.arm
--- pkg/PFRAG.arm   14 Jan 2021 00:56:54 -  1.24
+++ pkg/PFRAG.arm   23 Mar 2021 19:48:37 -
@@ -1,5 +1,12 @@
 @comment $OpenBSD: PFRAG.arm,v 1.24 2021/01/14 00:56:54 jsg Exp $
 @pkgpath sysutils/u-boot,
+share/doc/u-boot-arm/
+share/doc/u-boot-arm/README.console
+share/doc/u-boot-arm/README.gpt
+share/doc/u-boot-arm/README.nvme
+share/doc/u-boot-arm/README.pxe
+share/doc/u-boot-arm/README.usb
+share/doc/u-boot-arm/README.video
 share/u-boot/
 share/u-boot/A10-OLinuXino-Lime/
 share/u-boot/A10-OLinuXino-Lime/sunxi-spl.bin



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/03/23 13:42:28

Modified files:
sysutils/snmp_exporter: Makefile 
sysutils/snmp_exporter/pkg: DESCR PLIST 
Added files:
sysutils/snmp_exporter/files: generator-pf.yml 
sysutils/snmp_exporter/pkg: README 

Log message:
snmp_exporter: add a pkg-readme with a quick intro, and show how to run the
config generator (including setting MIBDIRS) when changing the generator
input file. add an example showing use with OPENBSD-PF-MIB (which just had
a commit in src/ that will prevent snmp_exporter from using a hexdump of
various names, so if someone is trying this right now they should pick up
the updated MIB first).

Parts borrowed from https://yetiops.net/posts/openbsd-snmp-exporter/



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/03/23 13:29:35

Modified files:
www/webkitgtk4 : Tag: OPENBSD_6_8 Makefile distinfo 

Log message:
SECURITY update to webkitgtk4-2.30.6.
CVE-2020-27918, CVE-2020-29623, CVE-2020-9947, CVE-2021-1765,
CVE-2021-1789, CVE-2021-1799, CVE-2021-1801, CVE-2021-1870



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/03/23 13:16:40

Modified files:
emulators/dolphin: Makefile 

Log message:
Unbreak: LIB_DEPENDS-nogui is not a BUILD_DEPENDS.



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Stefan Sperling
CVSROOT:/cvs
Module name:ports
Changes by: s...@cvs.openbsd.org2021/03/23 13:11:35

Modified files:
devel/got  : Makefile distinfo 

Log message:
update to got 0.51

- deltify.c: explicitly include  for be64toh() (naddy)
- rebase/histedit -l: error out if no backups for the requested branch exist
- fix use of uninitialized stat buffer during status crawl (found by naddy)



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Sebastian Reitenbach
CVSROOT:/cvs
Module name:ports
Changes by: sebas...@cvs.openbsd.org2021/03/23 12:57:13

Modified files:
databases/ruby-hiera3: Makefile distinfo 

Log message:
simple update 3.6.0 -> 3.7.0



Re: [MAINTAINER UPDATE] www/qutebrowser -> 2.1.0

2021-03-23 Thread Dimitri Karamazov
Ping

On Mon, Mar 15, 2021 at 03:31:18AM +, Dimitri Karamazov wrote:
> Simple update for qutebrowser to 2.1.0
> 
> Changelog:https://github.com/qutebrowser/qutebrowser/releases
> 
> Build & Run tested on amd64
> 
> regards,
>   Dimitri
> 

Index: Makefile
===
RCS file: /cvs/ports/www/qutebrowser/Makefile,v
retrieving revision 1.26
diff -u -p -r1.26 Makefile
--- Makefile24 Feb 2021 11:17:31 -  1.26
+++ Makefile15 Mar 2021 03:26:21 -
@@ -2,7 +2,7 @@
 
 COMMENT =  keyboard-focused browser with a minimal GUI
 
-MODPY_EGG_VERSION =2.0.2
+MODPY_EGG_VERSION =2.1.0
 DISTNAME = qutebrowser-${MODPY_EGG_VERSION}
 
 HOMEPAGE = https://www.qutebrowser.org/
Index: distinfo
===
RCS file: /cvs/ports/www/qutebrowser/distinfo,v
retrieving revision 1.15
diff -u -p -r1.15 distinfo
--- distinfo24 Feb 2021 11:17:31 -  1.15
+++ distinfo15 Mar 2021 03:26:21 -
@@ -1,2 +1,2 @@
-SHA256 (qutebrowser-2.0.2.tar.gz) = 
SKh+RTuJMuJZt7PKvYvFAGBoUvYi0SM4j7NOT/5Xszs=
-SIZE (qutebrowser-2.0.2.tar.gz) = 6190348
+SHA256 (qutebrowser-2.1.0.tar.gz) = 
Hd03Ok8x8WuoCYcHeZGKiSCxPcuTby1B/0snz9TK5js=
+SIZE (qutebrowser-2.1.0.tar.gz) = 6246732
Index: pkg/PLIST
===
RCS file: /cvs/ports/www/qutebrowser/pkg/PLIST,v
retrieving revision 1.13
diff -u -p -r1.13 PLIST
--- pkg/PLIST   20 Feb 2021 14:22:33 -  1.13
+++ pkg/PLIST   15 Mar 2021 03:26:22 -
@@ -383,6 +383,7 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/qutebrowser/misc/${MODPY_PYCACHE}debugcachestats.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/qutebrowser/misc/${MODPY_PYCACHE}earlyinit.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/qutebrowser/misc/${MODPY_PYCACHE}editor.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/misc/${MODPY_PYCACHE}elf.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/qutebrowser/misc/${MODPY_PYCACHE}guiprocess.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/qutebrowser/misc/${MODPY_PYCACHE}httpclient.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/qutebrowser/misc/${MODPY_PYCACHE}ipc.${MODPY_PYC_MAGIC_TAG}pyc
@@ -409,6 +410,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/qutebrowser/misc/debugcachestats.py
 lib/python${MODPY_VERSION}/site-packages/qutebrowser/misc/earlyinit.py
 lib/python${MODPY_VERSION}/site-packages/qutebrowser/misc/editor.py
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/misc/elf.py
 lib/python${MODPY_VERSION}/site-packages/qutebrowser/misc/guiprocess.py
 lib/python${MODPY_VERSION}/site-packages/qutebrowser/misc/httpclient.py
 lib/python${MODPY_VERSION}/site-packages/qutebrowser/misc/ipc.py
@@ -441,6 +443,7 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/qutebrowser/utils/${MODPY_PYCACHE}message.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/qutebrowser/utils/${MODPY_PYCACHE}objreg.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/qutebrowser/utils/${MODPY_PYCACHE}qtutils.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/utils/${MODPY_PYCACHE}resources.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/qutebrowser/utils/${MODPY_PYCACHE}standarddir.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/qutebrowser/utils/${MODPY_PYCACHE}urlmatch.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/qutebrowser/utils/${MODPY_PYCACHE}urlutils.${MODPY_PYC_MAGIC_TAG}pyc
@@ -456,6 +459,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/qutebrowser/utils/message.py
 lib/python${MODPY_VERSION}/site-packages/qutebrowser/utils/objreg.py
 lib/python${MODPY_VERSION}/site-packages/qutebrowser/utils/qtutils.py
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/utils/resources.py
 lib/python${MODPY_VERSION}/site-packages/qutebrowser/utils/standarddir.py
 lib/python${MODPY_VERSION}/site-packages/qutebrowser/utils/testfile
 lib/python${MODPY_VERSION}/site-packages/qutebrowser/utils/urlmatch.py



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2021/03/23 10:35:01

Modified files:
net/ipv6calc   : Makefile 

Log message:
Add missing BUILD_DEPENDS on shells/bash.

Pointed out by naddy@, thanks!



CVS: cvs.openbsd.org: ports

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

Modified files:
www/p5-libwww  : Makefile distinfo 

Log message:
update to p5-libwww-6.53



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/03/23 09:17:57

Added files:
sysutils/grafana/patches: patch-build_go 

Log message:
grafana: s/387/softfloat/ in os.Setenv("GO386", "387") to unbreak i386



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/03/23 09:07:46

Modified files:
www/p5-libapreq2: Makefile distinfo 

Log message:
update to p5-libapreq2-2.16



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/03/23 09:07:28

Modified files:
x11/xsel   : Makefile distinfo 
Added files:
x11/xsel/patches: patch-configure_ac 
Removed files:
x11/xsel/patches: patch-configure patch-xsel_c 

Log message:
update xsel to git head (originally done to fix a segfault when running
on empty input file), from Brennan Vincent, input kn@ gnezdo@



Re: [patch] xsel: fix segfault when running on empty input file.

2021-03-23 Thread Stuart Henderson
It should use a version based on the date of last commit, rather than 'now'.
Also please use "make update-patches" to prepare files in the patches/
directory (which includes a header line, after which it's often useful to
include a short comment about the patch).

Will fix + commit.

On 2021/03/23 10:35, Brennan Vincent wrote:
> Can this be landed, or are more changes needed?
> 
> On 3/21/21 12:26 PM, Brennan Vincent wrote:
> > Changed the "before" file from configure.ac.bak to configure.ac.orig.
> > Sorry for the spam.
> > 
> > On 3/21/21 12:18 PM, Brennan Vincent wrote:
> > > Thanks for the feedback. I had not realized that some systems are
> > > still on GCC 3.x. I've patched that flag out in configure.ac.
> > > 
> > > New patch attached.
> > > 
> > > On 3/21/21 11:56 AM, Klemens Nanni wrote:
> > > > On Sun, Mar 21, 2021 at 11:01:54AM -0400, Brennan Vincent wrote:
> > > > > Attaching a patch that follows these suggestions.
> > > > > 
> > > > > My ports tree is a checkout of the
> > > > > https://github.com/openbsd/ports mirror,
> > > > > so I've used git format-patch to create the patch. I'm a
> > > > > porting beginner so
> > > > > please let me know if there's a better way to send patches.
> > > > The Makefile looks all good, thank you.
> > > > Just indent with tabs not spaces like the rest of the file, please.
> > > > 
> > > > 
> > > > > diff --git a/x11/xsel/patches/patch-configure
> > > > > b/x11/xsel/patches/patch-configure
> > > > > deleted file mode 100644
> > > > > index 7ee76777a43..000
> > > > > --- a/x11/xsel/patches/patch-configure
> > > > > +++ /dev/null
> > > > > @@ -1,15 +0,0 @@
> > > > > -$OpenBSD: patch-configure,v 1.2 2014/07/07 08:22:52 sthen Exp $
> > > > > -
> > > > > --Wdeclaration-after-statement is gcc 4-only.
> > > > > -
> > > > >  configure.orig    Mon Mar 24 15:27:33 2008
> > > > > -+++ configure    Mon Jul  7 09:22:18 2014
> > > > > -@@ -5880,7 +5880,7 @@ fi
> > > > > -
> > > > > - # Error out on compile warnings
> > > > > - if test "x$ac_cv_c_compiler_gnu" = xyes ; then
> > > > > --  CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Werror -g
> > > > > -std=gnu99 -Wdeclaration-after-statement -Wno-unused"
> > > > > -+  CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Werror -g
> > > > > -std=gnu99 -Wno-unused"
> > > > These flags are still used.
> > > > 
> > > > Were they removed to support building on GCC 3.x platforms?
> > > > If so -and I think there are some- you'd have to still remove
> > > > them, I guess.
> > > > 
> > > > > - fi
> > > > > -
> > > > > - # Checks for header files.
> 
> 



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/03/23 08:59:00

Modified files:
www/qutebrowser: Makefile distinfo 
www/qutebrowser/pkg: PLIST 

Log message:
update to qutebrowser-2.1.0, from maintainer



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Visa Hankala
CVSROOT:/cvs
Module name:ports
Changes by: v...@cvs.openbsd.org2021/03/23 08:58:37

Modified files:
lang/ruby/3.0/patches: patch-compile_c 
Added files:
lang/ruby/3.0/patches: patch-template_builtin_binary_inc_tmpl 

Log message:
Fix lang/ruby/3.0 build on mips64.

* Disable the peephole optimizer on mips64 to avoid occasional crashes.

* Ensure sufficient alignment of builtin bytecode arrays so that
compiler.c can cast and access the data through struct ibf_header
without crashing (OpenBSD/mips64 requires strict alignment).

OK jeremy@



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/03/23 08:53:06

Modified files:
security/libassuan: Makefile distinfo 
security/libassuan/pkg: PLIST 

Log message:
update to libassuan-2.5.5



Re: [patch] xsel: fix segfault when running on empty input file.

2021-03-23 Thread Brennan Vincent

Can this be landed, or are more changes needed?

On 3/21/21 12:26 PM, Brennan Vincent wrote:
Changed the "before" file from configure.ac.bak to configure.ac.orig. 
Sorry for the spam.


On 3/21/21 12:18 PM, Brennan Vincent wrote:
Thanks for the feedback. I had not realized that some systems are 
still on GCC 3.x. I've patched that flag out in configure.ac.


New patch attached.

On 3/21/21 11:56 AM, Klemens Nanni wrote:

On Sun, Mar 21, 2021 at 11:01:54AM -0400, Brennan Vincent wrote:

Attaching a patch that follows these suggestions.

My ports tree is a checkout of the https://github.com/openbsd/ports 
mirror,
so I've used git format-patch to create the patch. I'm a porting 
beginner so

please let me know if there's a better way to send patches.

The Makefile looks all good, thank you.
Just indent with tabs not spaces like the rest of the file, please.


diff --git a/x11/xsel/patches/patch-configure 
b/x11/xsel/patches/patch-configure

deleted file mode 100644
index 7ee76777a43..000
--- a/x11/xsel/patches/patch-configure
+++ /dev/null
@@ -1,15 +0,0 @@
-$OpenBSD: patch-configure,v 1.2 2014/07/07 08:22:52 sthen Exp $
-
--Wdeclaration-after-statement is gcc 4-only.
-
 configure.orig    Mon Mar 24 15:27:33 2008
-+++ configure    Mon Jul  7 09:22:18 2014
-@@ -5880,7 +5880,7 @@ fi
-
- # Error out on compile warnings
- if test "x$ac_cv_c_compiler_gnu" = xyes ; then
--  CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Werror -g -std=gnu99 
-Wdeclaration-after-statement -Wno-unused"
-+  CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Werror -g -std=gnu99 
-Wno-unused"

These flags are still used.

Were they removed to support building on GCC 3.x platforms?
If so -and I think there are some- you'd have to still remove them, I 
guess.



- fi
-
- # Checks for header files.





CVS: cvs.openbsd.org: ports

2021-03-23 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/03/23 08:21:54

Modified files:
sysutils/sshpass: Makefile distinfo 
sysutils/sshpass/patches: patch-main_c 

Log message:
update to sshpass-1.08



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2021/03/23 07:28:14

Modified files:
www/firefox-esr: Tag: OPENBSD_6_8 Makefile distinfo 

Log message:
www/firefox-esr: MFC update to 78.9.0.

See https://www.mozilla.org/en-US/firefox/78.9.0/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2021-11/



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2021/03/23 07:27:31

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

Log message:
www/firefox-esr: update to 78.9.0.

See https://www.mozilla.org/en-US/firefox/78.9.0/releasenotes/
Fixes https://www.mozilla.org/en-US/security/advisories/mfsa2021-11/



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2021/03/23 07:25:36

Modified files:
www/mozilla-firefox: Makefile distinfo 
www/mozilla-firefox/patches: patch-dom_ipc_ContentChild_cpp 
 patch-js_src_jit_ProcessExecutableMemory_h 
 
patch-toolkit_system_gnome_nsGIOService_cpp 
www/mozilla-firefox/pkg: README 
www/firefox-i18n: Makefile.inc distinfo 
Added files:
www/mozilla-firefox/patches: 
 
patch-toolkit_components_downloads_DownloadIntegration_jsm 
 
patch-toolkit_components_downloads_DownloadUIHelper_jsm 
 patch-xpcom_io_nsLocalFileUnix_cpp 

Log message:
www/mozilla-firefox: update to 87.0

see https://www.mozilla.org/en-US/firefox/87.0/releasenotes/
fixes https://www.mozilla.org/en-US/security/advisories/mfsa2021-10/

- revert parts of #1696958 breaking downloads to ~/Downloads because of
unveil() interaction, until a better fix is found. Or unveil support
being ripped out, out of frustration.

- patch out toolkit/components/downloads/DownloadUIHelper.jsm to make
sure strings["downloadsFolder"] isnt localized, which would break
downloads for users with a langpack installed/enabled (as
~/Telechargements isnt unveiled by default)

- include patch from RJ Johnson in #1697721, fixing various web developer
issues with profiles created after unveil() integration (missing
/storage/permanent dir)

- add a blurb to README about creating/using ~/Downloads with unveil()



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Aaron Bieber
CVSROOT:/cvs
Module name:ports
Changes by: abie...@cvs.openbsd.org 2021/03/23 07:19:08

Modified files:
lang/go: go.port.mk 

Log message:
modgo-gen-modules should use MODGO_MODNAME instead of ALL_TARGET.



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2021/03/23 07:17:59

Modified files:
mail/mozilla-thunderbird: Makefile 
www/seamonkey  : Makefile 

Log message:
{mail/mozilla-thunderbird,www/seamonkey}: bump REVISION for mozilla.port.mk 
changes



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Aaron Bieber
CVSROOT:/cvs
Module name:ports
Changes by: abie...@cvs.openbsd.org 2021/03/23 07:17:41

Modified files:
infrastructure/lib/OpenBSD/PortGen/Port: Go.pm 

Log message:
Allow an optional @version suffix (@v1.0.0 for example) to be specified when
generating a Go port with 'portgen go'. Patch from Josh Rickmar. Ty Josh!



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2021/03/23 07:17:14

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

Log message:
www/mozilla: bump nss/nspr dependencies to 3.63/4.30

while here replace --disable-optimize by --enable-optimize=${CFLAGS},
since bug #1689284 using --disable-optimize + --enable-release doesnt
optimize rust code anymore, resulting in a +100Mb increase on
libxul.so seen with firefox 87
--enable-optimize workaround suggested in #1695572



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Pavel Korovin
CVSROOT:/cvs
Module name:ports
Changes by: p...@cvs.openbsd.org2021/03/23 06:34:11

Modified files:
www/gitea  : Makefile distinfo 

Log message:
Update gitea 1.13.4 -> 1.13.5
Changelog: https://github.com/go-gitea/gitea/releases/tag/v1.13.5



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/03/23 05:44:00

Modified files:
lang/python/3.9: Makefile 

Log message:
another missed bump, found by naddy



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2021/03/23 05:29:28

Modified files:
x11/xfce4/xfce4-battery: Makefile distinfo 
x11/xfce4/xfce4-battery/pkg: PLIST 

Log message:
x11/xfce4/xfce4-battery: update to 1.1.4.

See https://mail.xfce.org/pipermail/xfce-announce/2021-March/001026.html



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Jonathan Gray
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2021/03/23 05:23:52

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

Log message:
update cppcheck to 2.4
ok gsoares@



Tiny fix to security/sshguard to allow use of daemon_flags

2021-03-23 Thread Andreas Kusalananda Kähäri
A user contacted me about the security/sshguard port.  They wanted to
use daemon_flags with the port, which means this needs to be added to
the pexp expression in the rc.d file.

The attached patch does this in the similar manner as is done for e.g.
sshd and unbound.


Regards,
Andreas (port maintainer)

-- 
Andreas (Kusalananda) Kähäri
SciLifeLab, NBIS, ICM
Uppsala University, Sweden

.
Index: Makefile
===
RCS file: /cvs/ports/security/sshguard/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- Makefile18 Aug 2020 05:06:29 -  1.16
+++ Makefile23 Mar 2021 11:07:18 -
@@ -5,6 +5,8 @@ COMMENT=protect against brute force att
 DISTNAME=  sshguard-2.4.1
 CATEGORIES=security
 
+REVISION=  1
+
 HOMEPAGE=  https://www.sshguard.net/
 
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=sshguard/}
Index: pkg/sshguard.rc
===
RCS file: /cvs/ports/security/sshguard/pkg/sshguard.rc,v
retrieving revision 1.6
diff -u -p -r1.6 sshguard.rc
--- pkg/sshguard.rc 18 Aug 2020 05:06:29 -  1.6
+++ pkg/sshguard.rc 23 Mar 2021 11:07:18 -
@@ -6,7 +6,7 @@ daemon="${TRUEPREFIX}/sbin/sshguard"
 
 . /etc/rc.d/rc.subr
 
-pexp="/bin/sh $daemon"
+pexp="/bin/sh $daemon${daemon_flags:+ $daemon_flags}"
 
 rc_bg=YES
 rc_reload=NO


CVS: cvs.openbsd.org: ports

2021-03-23 Thread Pavel Korovin
CVSROOT:/cvs
Module name:ports
Changes by: p...@cvs.openbsd.org2021/03/23 05:09:31

Added files:
net/mattermost-server/patches: 
   
patch-vendor_github_com_mailru_easygo_netpoll_kqueue_go 
Removed files:
net/mattermost-server/patches: 
   
patch-vendor_github_com_mailru_easygo_netpoll_kqueue_go.patch 

Log message:
Use correct patch name



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Pavel Korovin
CVSROOT:/cvs
Module name:ports
Changes by: p...@cvs.openbsd.org2021/03/23 04:57:42

Modified files:
net/mattermost-server: Makefile distinfo 
net/mattermost-server/patches: patch-config_config_json 
net/mattermost-server/pkg: PLIST 
Added files:
net/mattermost-server/patches: 
   
patch-vendor_github_com_mailru_easygo_netpoll_kqueue_go.patch 

Log message:
Update mattermost-server 5.32.1 -> 5.33.1
Changelog: https://docs.mattermost.com/administration/changelog.html

Based on diff from David Goerger, thanks!



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2021/03/23 04:38:50

Modified files:
devel/qt-creator: Makefile distinfo 

Log message:
Update Qt Creator to 4.14.2



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2021/03/23 04:37:35

Modified files:
graphics/digikam: Makefile distinfo 
graphics/digikam/pkg: PLIST 
Added files:
graphics/digikam/patches: 
  
patch-core_dplugins_generic_tools_mediaserver_upnpsdk_Neptune_Source_System_Bsd_NptBsdResolver_cpp
 
  
patch-core_libs_rawengine_libraw_src_decoders_fp_dng_cpp 

Log message:
Update digikam to 7.2.0



Re: NEW: security/evil-winrm

2021-03-23 Thread Sebastian Reitenbach
Am Donnerstag, März 18, 2021 22:52 CET, schrieb "Sebastian Reitenbach" 
:

> Hi,
>
> Am Dienstag, März 16, 2021 22:33 CET, schrieb "Sebastian Reitenbach" 
> :
>
> > Hi,
> >
> > cat DESCR:
> > WinRM (Windows Remote Management) is the Microsoft implementation of
> > WS-Management Protocol. A standard SOAP based protocol that allows
> > hardware and operating systems from different vendors to interoperate.
> > Microsoft included it in their Operating Systems in order to make life
> > easier to system administrators.
> >
> > This program can be used on any Microsoft Windows Servers with this
> > feature enabled (usually at port 5985), of course only if you have
> > credentials and permissions to use it. So we can say that it could be> used 
> > in a post-exploitation hacking/pentesting phase. The purpose of
> > this program is to provide nice and easy-to-use features for hacking. It
> > can be used with legitimate purposes by system administrators as well> but 
> > the most of its features are focused on hacking/pentesting stuff.>
> > this needs all the other gems just sent as dependency.
>
> as jeremy@ pointed out, stringio is in Ruby itself, and indeed not needed.
> Updated package without stringio dependency attached.
>
this time really attached.

> >
> > OK to import?
> this question still holds.
>
> cheers,
> Sebastian
>


evil-winrm.tar.gz
Description: application/gzip


CVS: cvs.openbsd.org: ports

2021-03-23 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2021/03/23 04:26:19

Modified files:
x11/xfce4/xfce4-dev-tools: Makefile 

Log message:
x11/xfce4/xfce4-dev-tools: update HOMEPAGE (and bump REVISION)



UPDATE: Ziproxy-3.3.2

2021-03-23 Thread Gonzalo L. Rodriguez
Hello,

Update for Ziproxy to 3.3.2, with almost all our patches included.

OK? Comments?

Cheers.-

-- 

 %gonzalo
Index: Makefile
===
RCS file: /cvs/ports/net/ziproxy/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- Makefile2 Feb 2021 14:49:53 -   1.16
+++ Makefile22 Mar 2021 11:38:28 -
@@ -2,9 +2,8 @@
 
 COMMENT =  compressing non-caching HTTP proxy
 
-DISTNAME = ziproxy-3.3.1
+DISTNAME = ziproxy-3.3.2
 EXTRACT_SUFX = .tar.bz2
-REVISION = 1
 
 CATEGORIES =   net www
 
Index: distinfo
===
RCS file: /cvs/ports/net/ziproxy/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo5 Dec 2014 16:07:56 -   1.4
+++ distinfo22 Mar 2021 11:38:28 -
@@ -1,2 +1,2 @@
-SHA256 (ziproxy-3.3.1.tar.bz2) = w5xhSIQM2qhn1N061B05vjRUlLIEi4bsiZ0MB15Wh00=
-SIZE (ziproxy-3.3.1.tar.bz2) = 275342
+SHA256 (ziproxy-3.3.2.tar.bz2) = dqH8Ysdt+hqNB4QZOrogqW4hTdYVt5J7SXzu5QWWmfE=
+SIZE (ziproxy-3.3.2.tar.bz2) = 251995
Index: patches/patch-src_cfgfile_c
===
RCS file: patches/patch-src_cfgfile_c
diff -N patches/patch-src_cfgfile_c
--- patches/patch-src_cfgfile_c 2 Feb 2021 14:49:53 -   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,29 +0,0 @@
-$OpenBSD: patch-src_cfgfile_c,v 1.1 2021/02/02 14:49:53 gonzalo Exp $
-
-Index: src/cfgfile.c
 src/cfgfile.c.orig
-+++ src/cfgfile.c
-@@ -111,11 +111,11 @@ in_addr_t *BindOutgoingExAddr;
- in_addr_t *BindOutgoing;
- int BindOutgoing_entries;
- 
--int TOSFlagsDefault;
--int TOSFlagsDiff;
-+extern int TOSFlagsDefault;
-+extern int TOSFlagsDiff;
- char *TOSMarkAsDiffURL;
- char *TOSMarkAsDiffCT;
--int TOSMarkAsDiffSizeBT;
-+extern int TOSMarkAsDiffSizeBT;
- 
- int MaxActiveUserConnections;
- 
-@@ -159,7 +159,7 @@ int check_int_ranges (const char *conf_key, const int 
- int check_int_minimum (const char *conf_key, const int inval, const int vlow);
- int check_directory (const char *conf_key, const char *dirname);
- 
--const t_ut_urltable *tos_markasdiff_url;
-+const t_ut_urltable *Tos_markasdiff_url;
- const t_ct_cttable *tos_maskasdiff_ct;
- 
- const t_ut_urltable *urltable_noprocessing;
Index: patches/patch-src_image_c
===
RCS file: patches/patch-src_image_c
diff -N patches/patch-src_image_c
--- patches/patch-src_image_c   28 Mar 2015 16:06:48 -  1.4
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,33 +0,0 @@
-$OpenBSD: patch-src_image_c,v 1.4 2015/03/28 16:06:48 sthen Exp $
-
-Fix build with giflib-5.1
-
 src/image.c.orig   Wed Dec  3 11:58:33 2014
-+++ src/image.cSat Mar 28 16:03:38 2015
-@@ -905,7 +905,7 @@ int gif2bitmap(char *inbuf, int insize, raw_bitmap **o
-   desc.size=insize;
-   desc.x.pos=0;
- 
--  if ((GifFile = DGifOpen((void*), _mem_input)) == NULL) 
-+  if ((GifFile = DGifOpen((void*), _mem_input, NULL)) == NULL) 
-   return( IMG_RET_ERR_UNKNOWN + IMG_RET_FLG_WHILE_DECOMP);//more 
possible reasons
- 
-   bmp = new_raw_bitmap();
-@@ -1083,7 +1083,7 @@ int gif2bitmap(char *inbuf, int insize, raw_bitmap **o
-   }
-   bmp->pal_bpp = bmp->bpp;
-   
--  DGifCloseFile(GifFile);
-+  DGifCloseFile(GifFile, NULL);
-   return IMG_RET_OK;
- }
- 
-@@ -1738,7 +1738,7 @@ static int bitmap2jp2 (raw_bitmap *bmp, float rate, ch
-   cmptparm->width = cwidth [cmptno];
-   cmptparm->height = cheight [cmptno];
-   cmptparm->prec = cbitlen [cmptno];
--  cmptparm->sgnd = false; // we only generate unsigned components
-+  cmptparm->sgnd = 0; // we only generate unsigned components
- 
-   cshiftR [cmptno] = 8 - cbitlen [cmptno]; // calculate the 
resampling shift for this component
-   }
Index: patches/patch-src_tosmarking_c
===
RCS file: patches/patch-src_tosmarking_c
diff -N patches/patch-src_tosmarking_c
--- patches/patch-src_tosmarking_c  2 Feb 2021 14:49:53 -   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,14 +0,0 @@
-$OpenBSD: patch-src_tosmarking_c,v 1.1 2021/02/02 14:49:53 gonzalo Exp $
-
-Index: src/tosmarking.c
 src/tosmarking.c.orig
-+++ src/tosmarking.c
-@@ -39,7 +39,7 @@ SOCKET sock_child_out;
- int TOSFlagsDefault;
- int TOSFlagsDiff;
- const t_ut_urltable *tos_markasdiff_url;
--const t_ct_cttable *tos_maskasdiff_ct;
-+extern const t_ct_cttable *tos_maskasdiff_ct;
- ZP_DATASIZE_TYPE TOSMarkAsDiffSizeBT;
- 
- int current_tos;
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/ziproxy/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST   2 Feb 2021 14:49:53 -   

CVS: cvs.openbsd.org: ports

2021-03-23 Thread Sebastian Reitenbach
CVSROOT:/cvs
Module name:ports
Changes by: sebas...@cvs.openbsd.org2021/03/23 02:26:24

Modified files:
devel/quirks   : Makefile 
devel/quirks/files: Quirks.pm 

Log message:
quirk for py-http_ece python3 only



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Sebastian Reitenbach
CVSROOT:/cvs
Module name:ports
Changes by: sebas...@cvs.openbsd.org2021/03/23 02:23:18

Modified files:
www: Makefile 
www/py-http_ece: Makefile 
www/py-http_ece/pkg: PLIST 

Log message:
switch py-http_ece to python3 only

feedback kmos@

OK kmos@ pamela@ (MAINTAINER)



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2021/03/23 01:17:06

Modified files:
fonts/league-fonts: Makefile.inc 
fonts/league-fonts/blackout: Makefile 
fonts/league-fonts/chunk: Makefile 
fonts/league-fonts/fanwood: Makefile 
fonts/league-fonts/gb1911: Makefile 
fonts/league-fonts/goudy: Makefile 
fonts/league-fonts/junction: Makefile 
fonts/league-fonts/knewave: Makefile 
fonts/league-fonts/league-gothic: Makefile 
fonts/league-fonts/league-mono: Makefile 
fonts/league-fonts/league-script-number-one: Makefile 
fonts/league-fonts/league-spartan: Makefile 
fonts/league-fonts/lindenhill: Makefile 
fonts/league-fonts/orbitron: Makefile 
fonts/league-fonts/ostrich-sans: Makefile 
fonts/league-fonts/prociono: Makefile 
fonts/league-fonts/raleway: Makefile 
fonts/league-fonts/sniglet: Makefile 

Log message:
Fix maintainer line and drop leftover Makefile.template comments.

Noticed by jasper@



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Bjorn Ketelaars
CVSROOT:/cvs
Module name:ports
Changes by: b...@cvs.openbsd.org2021/03/23 00:28:32

Modified files:
sysutils/borgbackup: Makefile distinfo 

Log message:
Update to borgbackup-1.1.16

Bugfix release. Changes:
https://github.com/borgbackup/borg/blob/1.1.16/docs/changes.rst#version-1116-2021-03-23



CVS: cvs.openbsd.org: ports

2021-03-23 Thread Bjorn Ketelaars
CVSROOT:/cvs
Module name:ports
Changes by: b...@cvs.openbsd.org2021/03/23 00:27:56

Modified files:
sysutils/nnn   : Makefile distinfo 

Log message:
Update to nnn-3.6

Changelog: https://github.com/jarun/nnn/blob/v3.6/CHANGELOG

>From MAINTAINER (Martin Ziemer ). Thank you!