Re: NEW: x11/kde-applications/kirigami-gallery

2021-11-13 Thread Rafael Sadowski
On Sun Nov 14, 2021 at 04:59:57AM +, Yifei Zhan wrote:
> On 21/11/13 04:44PM, Rafael Sadowski wrote:
> > On Sat Nov 13, 2021 at 10:24:19AM +, Stuart Henderson wrote:
> > > 
> > > How should the user learn how to do this?
> > > 
> > 
> > Who says the user has to? KDE usually works out-of-box even under
> > OpenBSD.
> > 
> > This advice is for users who have a configuration somewhere in the dust
> > of all dotfiles that KDE greps. Normally you configure option for KDE
> > environments in KDE Plasma. qt5ct is the fallback that we have to
> > configure and override any dotfiles. For example if you have
> > ~/.config/kdedefaults KDE will use it but you have no chance to
> > configure it (except of course by hand).
> > 
> > I created a new user with a new HOME directory, logged in and started
> > kirigami2gallery:
> > 
> > https://i.imgur.com/1Am33Ol.png
> > 
> > Applications starts fine and we can see all icons.
> 
> I tried again with my newly installed arm64 and amd64 boxes and it is 
> not working out-of-the-box. 
>

Complete empty (expect the defaults) $HOME?

>
> I have to setup this variable on my own for icons to be visible.
>
> Have I missed something?
>

Could you share with me your pkg_info output and let's find out what I
have and you don't.

> Or maybe you mean the user is expected to configure it first in KDE
> Plasma?
> 

No, I have only created a simple new user with adduser(8).



aarch64 bulk build report

2021-11-13 Thread phessler
bulk build on arm64.ports.openbsd.org
started on  Thu Nov 11 00:09:14 MST 2021
finished at Sun Nov 14 00:29:51 MST 2021
lasted 3D00h20m
done with kern.version=OpenBSD 7.0-current (GENERIC.MP) #1387: Wed Nov 10 
14:57:35 MST 2021

built packages:10976
Nov 11:3145
Nov 12:1132
Nov 13:4756
Nov 14:1942


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

build failures: 4
http://build-failures.rhaalovely.net/aarch64/2021-11-11/devel/xtensa-lx106-elf/gcc.log
http://build-failures.rhaalovely.net/aarch64/2021-11-11/sysutils/gitlab-runner.log
http://build-failures.rhaalovely.net/aarch64/2021-11-11/sysutils/telegraf.log
http://build-failures.rhaalovely.net/aarch64/2021-11-11/x11/kde-applications/krdc.log

recurrent failures
 failures/sysutils/gitlab-runner.log
 failures/sysutils/telegraf.log
new failures
+++ ls-failures Sun Nov 14 00:30:03 2021
+failures/devel/xtensa-lx106-elf/gcc.log
+failures/x11/kde-applications/krdc.log
resolved failures
--- ../old/aarch64/last//ls-failuresTue Nov  9 01:14:47 2021
-failures/devel/arm-compute-library.log
-failures/net/lagrange.log
-failures/net/powerdns_recursor.log



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/11/13 23:27:05

Modified files:
sysutils/deja-dup: Makefile 
x11/gnome/aisleriot: Makefile 
x11/gnome/gucharmap: Makefile distinfo 
x11/gnome/seahorse-nautilus: Makefile 
x11/gnome/notes: Makefile distinfo 

Log message:
Consistency in DISTFILE handling for gitlab GNOME.



CVS: cvs.openbsd.org: ports

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

Modified files:
sysutils/terragrunt: Makefile distinfo 

Log message:
Update to terragrunt-0.35.10.



CVS: cvs.openbsd.org: ports

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

Modified files:
sysutils/terraform: Makefile distinfo 

Log message:
Update to terraform-1.0.11.



CVS: cvs.openbsd.org: ports

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

Modified files:
sysutils/consul: Makefile distinfo 

Log message:
Update to consul-1.10.4.



riscv64 bulk build report

2021-11-13 Thread jca
Bulk build on riscv64.ports.openbsd.org

Started : Fri Nov  5 15:54:30 MDT 2021
Finished: Sat Nov 13 22:18:41 MST 2021
Duration: 8 Days 7 hours 24 minutes

Built using OpenBSD 7.0-current (GENERIC.MP) #95: Fri Nov  5 12:06:51 MDT 2021

Built 9138 packages

Number of packages built each day:
Nov 5: 2526
Nov 6: 602
Nov 7: 776
Nov 8: 203
Nov 9: 645
Nov 10: 514
Nov 12: 720
Nov 13: 3152


Critical path missing pkgs:
http://build-failures.rhaalovely.net/riscv64/2021-11-05/summary.log

Build failures: 7
http://build-failures.rhaalovely.net/riscv64/2021-11-05/cad/kicad.log
http://build-failures.rhaalovely.net/riscv64/2021-11-05/graphics/blender.log
http://build-failures.rhaalovely.net/riscv64/2021-11-05/net/barrier.log
http://build-failures.rhaalovely.net/riscv64/2021-11-05/net/gtk-gnutella.log
http://build-failures.rhaalovely.net/riscv64/2021-11-05/shells/ksh93.log
http://build-failures.rhaalovely.net/riscv64/2021-11-05/www/qutebrowser.log
http://build-failures.rhaalovely.net/riscv64/2021-11-05/www/webkitgtk4.log



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/13 14:58:30

Modified files:
security/gopass: Makefile 
Added files:
security/gopass/patches: patch-main_go 

Log message:
adjust the pledge string in gopass:

+-  if err := protect.Pledge("stdio rpath wpath cpath tty proc exec"); err 
!= nil {
++  if err := protect.Pledge("stdio rpath wpath cpath fattr tty proc 
exec"); err != nil {

during "gopass fsck" if files or directories are encountered with
permissions that are too wide, it will use syscall.Chmod to fix too-open
permissions on files or directories. wpath is not enough for this, fattr
is needed.



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/11/13 14:51:29

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

Log message:
Update to liblouis-3.19.0.



Re: [UPDATE] profanity 0.11.1

2021-11-13 Thread Florian Viehweger
Hey Ricardo,

> Hey Florian,
> 
> I also tested the update on amd64 and found no issues.
> Obrigado.
 
thank you for testing and reporting back!

> ~Ricardo
> 
> ‐‐‐ Original Message ‐‐‐
> 
> From openbsd-ports  Fri Nov 12 21:32:45 2021
> From: Florian Viehweger 
> Date: Fri, 12 Nov 2021 21:32:45 +
> To: openbsd-ports
> Subject: [UPDATE] profanity 0.11.1
> Message-Id: <2022223245.2d5ca88b () Nathalie>
> X-MARC-Message: https://marc.info/?l=openbsd-ports=163675283704647
> 
> 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



-- 
greetings,

Florian Viehweger



Re: [new] graphics/pixelorama - 2D sprite editor

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

> Hello,
>
> % pkg_info pixelorama
> Information for inst:pixelorama-0.9
>
> Comment:
> 2D sprite editor
>
> Description:
> Pixelorama is a 2D sprite editor made with the Godot Engine.  It
> features several tools to draw and also an animation timeline with onion
> skinning, cel linking, motion drawing adn frame grouping with tags.  Is
> able to import and export as PNG, GIF or spritesheets.
>
> Maintainer: Omar Polo 
>
> WWW: https://orama-interactive.itch.io/pixelorama
>
>
>
> In theory we shouldn't need to fetch the precompiled pck file (think of
> it like a jar but for the Godot' gdscript vm) but our godot always opens
> an X11 window on startup so it isn't viable for building.  (We could add
> a godot-tools flavor without GUI but would be overkill for now IMHO.)

now with 100% less typos and better handling of the distfiles (thanks
sthen@!)



pixelorama.tar.gz
Description: Binary data


CVS: cvs.openbsd.org: ports

2021-11-13 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2021/11/13 12:41:10

Modified files:
security/lastpass-cli: Makefile 
Added files:
security/lastpass-cli/patches: patch-pbkdf2_c 

Log message:
security/lastpass-cli: Use OpenSSL 1.1 API path to avoid upcoming build
breakage.

tested/ok bket (maintainer)



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2021/11/13 12:36:14

Modified files:
security/libssh2: Makefile 
security/libssh2/patches: patch-tests_Makefile_in 

Log message:
security/libssh2: compile with HAVE_OPAQUE_STRUCTS to avoid upcoming
breakage. Regen patch while there.

ok benoit (maintainer)



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2021/11/13 12:13:20

Modified files:
net/ssldump: Makefile distinfo 
net/ssldump/patches: patch-base_pcap-snoop_c 
 patch-ssl_sslprint_c 
Added files:
net/ssldump/patches: patch-configure_ac patch-pcap_pcap_logger_c 
Removed files:
net/ssldump/patches: patch-ssl_ciphersuites_c 
 patch-ssl_ssl_enums patch-ssl_ssl_enums_c 
 patch-ssl_ssl_rec_c patch-ssl_sslciphers_h 
 patch-ssl_ssldecode_c 

Log message:
net/ssldump: update to v1.4. This is a community maintained version
that includes lots of patches that were never merged. It has support
for more recent TLS versions and their cipher suites. Additionally,
this is written for the OpenSSL 1.1 API, so this will avoid some
patching in upcoming libcrypto work.

with/ok sthen



[new] graphics/pixelorama - 2D sprite editor

2021-11-13 Thread Omar Polo
Hello,

% pkg_info pixelorama
Information for inst:pixelorama-0.9

Comment:
2D sprite editor

Description:
Pixelorama is a 2D sprite editor made with the Godot Engine.  It
features several tools to draw and also an animation timeline with onion
skinning, cel linking, motion drawing adn frame grouping with tags.  Is
able to import and export as PNG, GIF or spritesheets.

Maintainer: Omar Polo 

WWW: https://orama-interactive.itch.io/pixelorama



In theory we shouldn't need to fetch the precompiled pck file (think of
it like a jar but for the Godot' gdscript vm) but our godot always opens
an X11 window on startup so it isn't viable for building.  (We could add
a godot-tools flavor without GUI but would be overkill for now IMHO.)

I used a temp variable _P_BASE (for "pixelorama base url") to shorten
MASTER_SITES.  I think I've seen other ports define _VARIABLES for
internal usage, but I don't know if it's something that's better to
avoid.

Cheers,

Omar Polo



pixelorama.tar.gz
Description: Binary data


CVS: cvs.openbsd.org: ports

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

Modified files:
textproc/mupdf : Makefile 
Added files:
textproc/mupdf/patches: patch-platform_gl_gl-ui_c 

Log message:
reduce the annoying startup message in mupdf-gl which is generated when
it has standard freeglut rather than its own special patched version



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/13 10:24:28

Modified files:
textproc/zathura/plugins/mupdf: Makefile 

Log message:
bump REVISION for zathura-pdf-mupdf, mupdf was updated and it provides a
static library that this plugin links to



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/13 10:23:38

Modified files:
textproc/mupdf : Makefile distinfo 
textproc/mupdf/patches: patch-Makefile patch-Makerules 
patch-Makethird 
patch-platform_x11_pdfapp_c 
patch-platform_x11_x11_main_c 
patch-source_fitz_list-device_c 
patch-source_fitz_load-jpx_c 
patch-source_helpers_pkcs7_pkcs7-openssl_c 
patch-source_tools_mudraw_c 
patch-source_tools_pdfclean_c 
patch-source_tools_pdfextract_c 
patch-source_tools_pdfinfo_c 
patch-source_tools_pdfpages_c 
patch-source_tools_pdfposter_c 
patch-source_tools_pdfshow_c 
textproc/mupdf/pkg: PFRAG.js PLIST 
Added files:
textproc/mupdf/patches: patch-platform_x11_curl_stream_c 
Removed files:
textproc/mupdf/patches: patch-source_fitz_z-imp_h 
patch-source_pdf_pdf-write_c 

Log message:
update to mupdf-1.19.0



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Sebastien Marie
CVSROOT:/cvs
Module name:ports
Changes by: sema...@cvs.openbsd.org 2021/11/13 09:46:04

Modified files:
devel/stfl : Makefile 
devel/stfl/pkg : PLIST 

Log message:
devel/stfl: install the documentation with the package

ok sthen@ kn@



Re: patch: devel/stfl adds documentation (the README file) in package

2021-11-13 Thread Klemens Nanni
On Sat, Nov 13, 2021 at 05:10:45PM +0100, Sebastien Marie wrote:
> The following diff adds README file of stfl inside share/doc/stfl.
> 
> The README contains the whole documentation (widgets properties and
> C-API).
> 
> Comments or OK ?

Sure, OK kn



patch: devel/stfl adds documentation (the README file) in package

2021-11-13 Thread Sebastien Marie
Hi,

The following diff adds README file of stfl inside share/doc/stfl.

The README contains the whole documentation (widgets properties and
C-API).

Comments or OK ?
-- 
Sebastien Marie


diff b33d3100b57b1bda746eb973e2fcd43407669a01 /home/semarie/repos/openbsd/ports
blob - 6d8b94518ec4f49410c55dec2893db127add1340
file + devel/stfl/Makefile
--- devel/stfl/Makefile
+++ devel/stfl/Makefile
@@ -3,7 +3,7 @@
 COMMENT=   Structured Terminal Forms Language/Library
 
 DISTNAME=  stfl-0.24
-REVISION=  0
+REVISION=  1
 
 SHARED_LIBS+=  stfl 0.0
 
@@ -42,5 +42,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/stfl.h ${PREFIX}/include/
${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig
${INSTALL_DATA} ${WRKSRC}/stfl.pc ${PREFIX}/lib/pkgconfig
+   ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/stfl
+   ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/stfl
 
 .include 
blob - ee8d9423d609fc02f88df5865f26a92309a03de1
file + devel/stfl/pkg/PLIST
--- devel/stfl/pkg/PLIST
+++ devel/stfl/pkg/PLIST
@@ -2,3 +2,5 @@
 include/stfl.h
 @lib lib/libstfl.so.${LIBstfl_VERSION}
 lib/pkgconfig/stfl.pc
+share/doc/stfl/
+share/doc/stfl/README



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Martin Reindl
CVSROOT:/cvs
Module name:ports
Changes by: mar...@cvs.openbsd.org  2021/11/13 09:04:04

Modified files:
geo/py-rasterio: Makefile distinfo 

Log message:
Update py-rasterio to 1.2.10.



CVS: cvs.openbsd.org: ports

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

Modified files:
net/icinga/web2: Makefile distinfo 
net/icinga/web2/patches: 
 
patch-library_Icinga_Application_ApplicationBootstrap_php 
 
patch-library_Icinga_Application_Modules_Manager_php 
 
patch-modules_setup_application_clicommands_ConfigCommand_php 
net/icinga/web2/pkg: PLIST 
Added files:
net/icinga/web2/patches: patch-packages_files_bin_icingacli 

Log message:
update to icinga-web2-2.9.4



CVS: cvs.openbsd.org: ports

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

Modified files:
net/icinga : Makefile Makefile.inc 

Log message:
infrastructure changes for icinga-web2-module-ipl/reactbundle being
replaced by icinga-php-library/thirdparty



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/13 08:59:53

Added files:
net/icinga/icinga-php-thirdparty: Makefile distinfo 
net/icinga/icinga-php-thirdparty/pkg: DESCR PLIST 
Removed files:
net/icinga/web2-module-reactbundle: Makefile distinfo 
net/icinga/web2-module-reactbundle/pkg: DESCR PLIST 

Log message:
icinga-web2-module-reactbundle has been replaced by icinga-php-thirdparty



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/13 08:59:34

Added files:
net/icinga/icinga-php-library: Makefile distinfo 
net/icinga/icinga-php-library/pkg: DESCR PLIST 
Removed files:
net/icinga/web2-module-ipl: Makefile distinfo 
net/icinga/web2-module-ipl/pkg: DESCR PLIST 

Log message:
icinga-web2-module-ipl has been replaced by icinga-php-library



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/13 08:58:56

Modified files:
net/icinga/web2-module-director: Makefile distinfo 
net/icinga/web2-module-director/pkg: PLIST 

Log message:
update to icinga-web2-module-director-1.8.1



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/13 08:58:39

Modified files:
net/icinga/web2-module-incubator: Makefile distinfo 
net/icinga/web2-module-incubator/pkg: PLIST 

Log message:
update to icinga-web2-module-incubator-0.10.0



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/13 08:56:06

ports/net/icinga/icinga-php-thirdparty

Update of /cvs/ports/net/icinga/icinga-php-thirdparty
In directory cvs.openbsd.org:/tmp/cvs-serv91683/icinga-php-thirdparty

Log Message:
Directory /cvs/ports/net/icinga/icinga-php-thirdparty added to the repository



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/13 08:56:06

ports/net/icinga/icinga-php-library/pkg

Update of /cvs/ports/net/icinga/icinga-php-library/pkg
In directory cvs.openbsd.org:/tmp/cvs-serv91683/icinga-php-library/pkg

Log Message:
Directory /cvs/ports/net/icinga/icinga-php-library/pkg added to the repository



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/13 08:56:06

ports/net/icinga/icinga-php-thirdparty/pkg

Update of /cvs/ports/net/icinga/icinga-php-thirdparty/pkg
In directory cvs.openbsd.org:/tmp/cvs-serv91683/icinga-php-thirdparty/pkg

Log Message:
Directory /cvs/ports/net/icinga/icinga-php-thirdparty/pkg added to the 
repository



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/13 08:56:05

ports/net/icinga/icinga-php-library

Update of /cvs/ports/net/icinga/icinga-php-library
In directory cvs.openbsd.org:/tmp/cvs-serv91683/icinga-php-library

Log Message:
Directory /cvs/ports/net/icinga/icinga-php-library added to the repository



CVS: cvs.openbsd.org: ports

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

Modified files:
net/icinga/core2: Makefile distinfo 

Log message:
update to icinga2-2.13.2



Re: NEW: x11/kde-applications/kirigami-gallery

2021-11-13 Thread Rafael Sadowski
On Sat Nov 13, 2021 at 10:24:19AM +, Stuart Henderson wrote:
> On 2021/11/13 07:55, Rafael Sadowski wrote:
> > On Sat Nov 13, 2021 at 06:31:15AM +, Yifei Zhan wrote:
> > > On 21/11/13 07:24AM, Rafael Sadowski wrote:
> > > > On Sat Nov 13, 2021 at 05:15:46AM +, Yifei Zhan wrote:
> > > > > On 21/10/06 06:44AM, Rafael Sadowski wrote:
> > > > > > > Information for inst:kirigami-gallery-21.08.1
> > > > > 
> > > > > It builds and runs on arm64(RPi)/amd64, some icons seem to be missing 
> > > > > according to the official screenshots, not sure what's the cause.
> > > > > 
> > > > 
> > > > Doas installing devel/kf5/breeze-icons helps? I also only see 1 icon in
> > > > the status bar.
> > > 
> > > 
> > > No, I already had that installed and crossing reference to a few linux 
> > > distros' repo doesn't reveal any missing dep.
> > 
> > ... you have to select Breeze icon theme with qt5ct (x11/qt5ct) and set
> > QT_QPA_PLATFORMTHEME=qt5ct after that you can see icons. That works for
> > me at least.
> > 
> > Thanks for the feedback.
> > 
> 
> How should the user learn how to do this?
> 

Who says the user has to? KDE usually works out-of-box even under
OpenBSD.

This advice is for users who have a configuration somewhere in the dust
of all dotfiles that KDE greps. Normally you configure option for KDE
environments in KDE Plasma. qt5ct is the fallback that we have to
configure and override any dotfiles. For example if you have
~/.config/kdedefaults KDE will use it but you have no chance to
configure it (except of course by hand).

I created a new user with a new HOME directory, logged in and started
kirigami2gallery:

https://i.imgur.com/1Am33Ol.png

Applications starts fine and we can see all icons.

Cheers,

Rafael



UPDATE: net/argus-clients

2021-11-13 Thread Steven Mestdagh
maintenance update to 3.0.8.3, lightly tested on amd64.

ok?


Index: Makefile
===
RCS file: /cvs/ports/net/argus-clients/Makefile,v
retrieving revision 1.19
diff -u -p -u -r1.19 Makefile
--- Makefile25 Feb 2021 21:31:28 -  1.19
+++ Makefile13 Nov 2021 14:31:37 -
@@ -2,8 +2,7 @@
 
 COMMENT =  utilities to read and parse Argus data
 
-DISTNAME = argus-clients-3.0.8.2
-REVISION = 3
+DISTNAME = argus-clients-3.0.8.3
 CATEGORIES =   net
 
 HOMEPAGE = http://qosient.com/argus/
Index: distinfo
===
RCS file: /cvs/ports/net/argus-clients/distinfo,v
retrieving revision 1.7
diff -u -p -u -r1.7 distinfo
--- distinfo14 Aug 2016 21:29:44 -  1.7
+++ distinfo13 Nov 2021 14:31:37 -
@@ -1,2 +1,2 @@
-SHA256 (argus-clients-3.0.8.2.tar.gz) = 
Mgc6YN3VbqhAek0bE0RI/0vNug7nOZFgwvgBoKqRO7E=
-SIZE (argus-clients-3.0.8.2.tar.gz) = 2776072
+SHA256 (argus-clients-3.0.8.3.tar.gz) = 
uNTvi6zbrYHAivQMPkhlNCoqRW9GOkgKvCf3mInds80=
+SIZE (argus-clients-3.0.8.3.tar.gz) = 2758432
Index: patches/patch-common_argus_util_c
===
RCS file: patches/patch-common_argus_util_c
diff -N patches/patch-common_argus_util_c
--- patches/patch-common_argus_util_c   25 Feb 2021 21:31:28 -  1.6
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,26 +0,0 @@
-$OpenBSD: patch-common_argus_util_c,v 1.6 2021/02/25 21:31:28 naddy Exp $
-
-First hunk: remove unused variable that clashes with one in raconvert
-
-Index: common/argus_util.c
 common/argus_util.c.orig
-+++ common/argus_util.c
-@@ -6634,7 +6634,6 @@ ArgusGetIndicatorString (struct ArgusParserStruct *par
- 
- 
- char argus_strbuf[MAXSTRLEN];
--u_short ArgusThisProto;
- 
- void
- ArgusPrintSourceID (struct ArgusParserStruct *parser, char *buf, struct 
ArgusRecordStruct *argus, int len)
-@@ -22679,8 +22678,8 @@ ArgusLog (int priority, char *fmt, ...)
- *tptr++ = buf[i];
-  }
- 
-- memset(buf, 0, MAXSTRLEN);
-- strncpy(buf, tbuf, MAXSTRLEN);
-+ memset(buf, 0, sizeof(buf));
-+ strncpy(buf, tbuf, sizeof(buf));
-   }
-  
-   syslog (priority, "%s", buf);
Index: patches/patch-configure
===
RCS file: /cvs/ports/net/argus-clients/patches/patch-configure,v
retrieving revision 1.1
diff -u -p -u -r1.1 patch-configure
--- patches/patch-configure 26 Jan 2015 13:13:58 -  1.1
+++ patches/patch-configure 13 Nov 2021 14:31:37 -
@@ -1,7 +1,8 @@
 $OpenBSD: patch-configure,v 1.1 2015/01/26 13:13:58 steven Exp $
 configure.orig Wed Aug 27 00:42:06 2014
-+++ configure  Fri Jan 23 22:13:51 2015
-@@ -5780,7 +5780,7 @@ if ${ac_cv_lib_ft_main+:} false; then :
+Index: configure
+--- configure.orig
 configure
+@@ -5807,7 +5807,7 @@ if ${ac_cv_lib_ft_main+:} false; then :
$as_echo_n "(cached) " >&6
  else
ac_check_lib_save_LIBS=$LIBS
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/argus-clients/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -u -r1.4 PLIST
--- pkg/PLIST   26 Jan 2015 13:13:58 -  1.4
+++ pkg/PLIST   13 Nov 2021 14:31:37 -
@@ -67,6 +67,7 @@ include/argus/argus_llc.h
 include/argus/argus_main.h
 include/argus/argus_mdp.h
 include/argus/argus_metric.h
+include/argus/argus_mysql.h
 include/argus/argus_namedb.h
 include/argus/argus_os.h
 include/argus/argus_out.h



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2021/11/13 08:13:14

Modified files:
devel/qt-creator: Makefile 

Log message:
Prevent using Qt6 when it's present

Set CMAKE_DISABLE_FIND_PACKAGE_Qt6=ON

Spotted by aja, thanks



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/13 07:39:51

Modified files:
net/icinga/web2: Tag: OPENBSD_7_0 Makefile distinfo 
net/icinga/web2/pkg: Tag: OPENBSD_7_0 PLIST 

Log message:
update to icinga-web2-2.8.4



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/11/13 07:39:41

Modified files:
net/icinga/web2: Makefile distinfo 
net/icinga/web2/pkg: PLIST 

Log message:
update to icinga-web2-2.8.4



CVS: cvs.openbsd.org: ports

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

Modified files:
math/calc  : Makefile distinfo 
Added files:
math/calc/patches: patch-help_c 

Log message:
update to calc-2.14.0.7



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2021/11/13 06:12:31

Modified files:
cad/kicad  : Makefile 
cad/kicad-share: Makefile.inc 

Log message:
kicad doesn't build on riscv64.  Also disable kicad-share.



Re: NEW: x11/kde-applications/kirigami-gallery

2021-11-13 Thread Klemens Nanni
On Sat, Nov 13, 2021 at 10:24:19AM +, Stuart Henderson wrote:
> On 2021/11/13 07:55, Rafael Sadowski wrote:
> > On Sat Nov 13, 2021 at 06:31:15AM +, Yifei Zhan wrote:
> > > On 21/11/13 07:24AM, Rafael Sadowski wrote:
> > > > On Sat Nov 13, 2021 at 05:15:46AM +, Yifei Zhan wrote:
> > > > > On 21/10/06 06:44AM, Rafael Sadowski wrote:
> > > > > > > Information for inst:kirigami-gallery-21.08.1
> > > > > 
> > > > > It builds and runs on arm64(RPi)/amd64, some icons seem to be missing 
> > > > > according to the official screenshots, not sure what's the cause.
> > > > > 
> > > > 
> > > > Doas installing devel/kf5/breeze-icons helps? I also only see 1 icon in
> > > > the status bar.
> > > 
> > > 
> > > No, I already had that installed and crossing reference to a few linux 
> > > distros' repo doesn't reveal any missing dep.
> > 
> > ... you have to select Breeze icon theme with qt5ct (x11/qt5ct) and set
> > QT_QPA_PLATFORMTHEME=qt5ct after that you can see icons. That works for
> > me at least.
> > 
> > Thanks for the feedback.
> > 
> 
> How should the user learn how to do this?

I learned about this after asking how to change my theme and/or running
into problems... don't really remember.

Since then I've had
export QT_QPA_PLATFORMTHEME=qt5ct
in my ~/.profile and quickly forgot about it already.



Re: bsd.port.mk: provide GH_DISTFILE

2021-11-13 Thread Klemens Nanni
On Sat, Nov 13, 2021 at 12:03:55PM +, Stuart Henderson wrote:
> I think I see what you mean. GH_TAGNAME doesn't normally set DISTFILES
> directly, only DISTNAME (which normal ports infrastructure turns into
> DISTFILES by adding EXTRACT_SUFX). So using GH_DISTFILE to build up
> that name doesn't work (unless we strip off EXTRACT_SUFX but that
> doesn't make sense to me).
> 
> Whereas with GH_COMMIT, DISTNAME isn't automatically set at all, it
> is up to the port to do so.
> 
> Originally I only had this set when you use GH_COMMIT not GH_TAGNAME,
> on the basis that it's easy to get the distfile name for a GH_TAGNAME
> port anyway. But then I wanted to test an update of librenms from a
> commit hash rather than the usual tag, and realised it would reduce
> churn in a port Makefile if it could cope with changing between the
> two.
> 
> So in a nutshell (assuming I understand the question correctly):
> yes it's intended.

Thanks, that makes more sense.
OK kn



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2021/11/13 05:04:14

Modified files:
devel/kf5/kwayland: Makefile 

Log message:
Add missing build dependency on wayland-protocols

In all the cases I know of, wayland-protocols is used as build dependency only.
In the context of KWayland (devel/kf5), used to generate interfaces from
wayland-protocols XML files.

See: https://api.kde.org/ecm/find-module/FindWaylandScanner.html

Spotted by sthen@ Thanks



Re: bsd.port.mk: provide GH_DISTFILE

2021-11-13 Thread Stuart Henderson
On 2021/11/13 11:48, Klemens Nanni wrote:
> On Sat, Nov 13, 2021 at 11:31:57AM +, Stuart Henderson wrote:
> > We have a few ports that use GH_* and have a second distfile, so have to
> > build up their own DISTFILES. Where that uses GH_TAGNAME it's not too bad
> > but the ones with GH_COMMIT are a bit horrible:
> > 
> > $ ag -G Makef ^DISTF.*GH_COMMIT
> > devel/cabal-bundler/Makefile
> > 13:DISTFILES =  
> > ${DISTNAME}-${GH_COMMIT:C/().*/\1/}${EXTRACT_SUFX}{${GH_COMMIT}${EXTRACT_SUFX}}
> >  \
> > 
> > devel/msbuild/Makefile
> > 29:DISTFILES =  ${DISTNAME}{${GH_COMMIT}}${EXTRACT_SUFX} \
> > 
> > net/arp-scan/Makefile
> > 22:DISTFILES =  
> > ${DISTNAME}-${GH_COMMIT:C/().*/\1/}${EXTRACT_SUFX}{${GH_COMMIT}${EXTRACT_SUFX}}
> >  \
> > 
> > net/ntopng/Makefile
> > 19:DISTFILES=   ntopng-${NTOPNG_V}-{}${GH_COMMIT}.tar.gz 
> > ndpi-${NDPI_V}-{}${NDPI_COMMIT}.tar.gz:0
> > 
> > x11/gnome/gdm/Makefile
> > 15:DISTFILES=   
> > ${DISTNAME}-${GH_COMMIT:C/().*/\1/}${EXTRACT_SUFX}{${GH_COMMIT}${EXTRACT_SUFX}}
> >  \
> > 
> > x11/mruby-zest/Makefile
> > 45:DISTFILES=   zyn-fusion-{}${GH_COMMIT}${EXTRACT_SUFX} \
> > 
> > Seems like it might be useful to provide the generated distfile name
> > in a variable that can be reused here. I set it for ports using either
> > GH_TAGNAME and GH_COMMIT so that it doesn't need modifying if we
> > need to update something to an untagged checkout.
> 
> I like the idea!
> 
> > Any comments? OK?
> > 
> > 
> > Index: src/share/man/man5/bsd.port.mk.5
> > ===
> > RCS file: /cvs/src/share/man/man5/bsd.port.mk.5,v
> > retrieving revision 1.546
> > diff -u -p -r1.546 bsd.port.mk.5
> > --- src/share/man/man5/bsd.port.mk.58 Oct 2021 13:52:28 -   
> > 1.546
> > +++ src/share/man/man5/bsd.port.mk.513 Nov 2021 11:27:24 -
> > @@ -1925,6 +1925,12 @@ Account name of the GitHub user hosting 
> >  .It Ev GH_COMMIT
> >  SHA1 commit id to fetch.
> >  It is an error to specify ${GH_COMMIT} when ${GH_TAGNAME} is specified.
> > +.It Ev GH_DISTFILE
> > +Set by
> > +.Nm
> > +to the generated name of the distribution file.
> > +This can be useful for ports listing multiple
> > +.Ev DISTFILES .
> >  .It Ev GH_PROJECT
> >  Name of the project on GitHub.
> >  .It Ev GH_TAGNAME
> 
> OK kn

Thanks.

> > Index: ports/infrastructure/mk/bsd.port.mk
> > ===
> > RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v
> > retrieving revision 1.1558
> > diff -u -p -r1.1558 bsd.port.mk
> > --- ports/infrastructure/mk/bsd.port.mk 8 Nov 2021 13:36:25 -   
> > 1.1558
> > +++ ports/infrastructure/mk/bsd.port.mk 13 Nov 2021 11:27:24 -
> > @@ -612,6 +612,7 @@ GH_PROJECT ?=
> >  
> >  .if !empty(GH_PROJECT) && !empty(GH_TAGNAME)
> >  DISTNAME ?=
> > ${GH_PROJECT}-${GH_TAGNAME:C/^(v|V|ver|[Rr]el|[Rr]elease)[-._]?([0-9])/\2/}
> > +GH_DISTFILE = 
> > ${GH_PROJECT}-${GH_TAGNAME:C/^(v|V|ver|[Rr]el|[Rr]elease)[-._]?([0-9])/\2/}${EXTRACT_SUFX}
> >  .endif
> >  
> >  PKGNAME ?= ${DISTNAME}
> 
> You're not using GH_DISTFILE for ports using GH_TAGNAME, is that
> intentional?
> 
> With your diff, picking a random GH_TAGNAME por:
> 
>   $ make -C /usr/ports/security/hydra -p | egrep 
> '^(DIST(FILES|NAME)|GH_DISTFILE)'
>   DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
>   DISTNAME = 
> ${GH_PROJECT}-${GH_TAGNAME:C/^(v|V|ver|[Rr]el|[Rr]elease)[-._]?([0-9])/\2/}
>   GH_DISTFILE  = 
> ${GH_PROJECT}-${GH_TAGNAME:C/^(v|V|ver|[Rr]el|[Rr]elease)[-._]?([0-9])/\2/}${EXTRACT_SUFX}

I think I see what you mean. GH_TAGNAME doesn't normally set DISTFILES
directly, only DISTNAME (which normal ports infrastructure turns into
DISTFILES by adding EXTRACT_SUFX). So using GH_DISTFILE to build up
that name doesn't work (unless we strip off EXTRACT_SUFX but that
doesn't make sense to me).

Whereas with GH_COMMIT, DISTNAME isn't automatically set at all, it
is up to the port to do so.

Originally I only had this set when you use GH_COMMIT not GH_TAGNAME,
on the basis that it's easy to get the distfile name for a GH_TAGNAME
port anyway. But then I wanted to test an update of librenms from a
commit hash rather than the usual tag, and realised it would reduce
churn in a port Makefile if it could cope with changing between the
two.

So in a nutshell (assuming I understand the question correctly):
yes it's intended.



Re: bsd.port.mk.5: per PKGPATH WRKOBJDIR

2021-11-13 Thread Stuart Henderson
ok

On 2021/11/13 11:40, Klemens Nanni wrote:
> So I started building www/mozilla-firefox, my filesystem under WRKOBJDIR
> ran out of space, I `cp -a'ed firefox's directory to another filesystem
> and pointed WRKOBJDIR_${PKGPATH} at it.
> 
> According to the manual first set `WRKOBJDIR_www/mozilla = ...' in
> firefox's Makefile but that didn't do anything.
> 
> Doesn't surprise me since www/mozilla is a module, not a port.
> 
> Using the port's actual PKGPATH "www/mozilla-firefox" works.
> 
> OK?
> 
> Index: bsd.port.mk.5
> ===
> RCS file: /cvs/src/share/man/man5/bsd.port.mk.5,v
> retrieving revision 1.546
> diff -u -p -r1.546 bsd.port.mk.5
> --- bsd.port.mk.5 8 Oct 2021 13:52:28 -   1.546
> +++ bsd.port.mk.5 13 Nov 2021 11:35:15 -
> @@ -1770,8 +1770,8 @@ User settings.
>  If non empty, used as a base for the fake area.
>  The real fake directory ${WRKINST} is created there.
>  Can be set on a per-${PKGPATH} basis.
> -For instance, setting FAKEOBJDIR_www/mozilla=/tmp/obj
> -will affect only the mozilla port.
> +For instance, setting FAKEOBJDIR_www/mozilla-firefox=/tmp/obj
> +will affect only the mozilla-firefox port.
>  .It Ev FETCH_CMD
>  User settings.
>  Command used to fetch distribution files for this port.
> 



Re: bsd.port.mk: provide GH_DISTFILE

2021-11-13 Thread Klemens Nanni
On Sat, Nov 13, 2021 at 11:31:57AM +, Stuart Henderson wrote:
> We have a few ports that use GH_* and have a second distfile, so have to
> build up their own DISTFILES. Where that uses GH_TAGNAME it's not too bad
> but the ones with GH_COMMIT are a bit horrible:
> 
> $ ag -G Makef ^DISTF.*GH_COMMIT
> devel/cabal-bundler/Makefile
> 13:DISTFILES =
> ${DISTNAME}-${GH_COMMIT:C/().*/\1/}${EXTRACT_SUFX}{${GH_COMMIT}${EXTRACT_SUFX}}
>  \
> 
> devel/msbuild/Makefile
> 29:DISTFILES =${DISTNAME}{${GH_COMMIT}}${EXTRACT_SUFX} \
> 
> net/arp-scan/Makefile
> 22:DISTFILES =
> ${DISTNAME}-${GH_COMMIT:C/().*/\1/}${EXTRACT_SUFX}{${GH_COMMIT}${EXTRACT_SUFX}}
>  \
> 
> net/ntopng/Makefile
> 19:DISTFILES= ntopng-${NTOPNG_V}-{}${GH_COMMIT}.tar.gz 
> ndpi-${NDPI_V}-{}${NDPI_COMMIT}.tar.gz:0
> 
> x11/gnome/gdm/Makefile
> 15:DISTFILES= 
> ${DISTNAME}-${GH_COMMIT:C/().*/\1/}${EXTRACT_SUFX}{${GH_COMMIT}${EXTRACT_SUFX}}
>  \
> 
> x11/mruby-zest/Makefile
> 45:DISTFILES= zyn-fusion-{}${GH_COMMIT}${EXTRACT_SUFX} \
> 
> Seems like it might be useful to provide the generated distfile name
> in a variable that can be reused here. I set it for ports using either
> GH_TAGNAME and GH_COMMIT so that it doesn't need modifying if we
> need to update something to an untagged checkout.

I like the idea!

> Any comments? OK?
> 
> 
> Index: src/share/man/man5/bsd.port.mk.5
> ===
> RCS file: /cvs/src/share/man/man5/bsd.port.mk.5,v
> retrieving revision 1.546
> diff -u -p -r1.546 bsd.port.mk.5
> --- src/share/man/man5/bsd.port.mk.5  8 Oct 2021 13:52:28 -   1.546
> +++ src/share/man/man5/bsd.port.mk.5  13 Nov 2021 11:27:24 -
> @@ -1925,6 +1925,12 @@ Account name of the GitHub user hosting 
>  .It Ev GH_COMMIT
>  SHA1 commit id to fetch.
>  It is an error to specify ${GH_COMMIT} when ${GH_TAGNAME} is specified.
> +.It Ev GH_DISTFILE
> +Set by
> +.Nm
> +to the generated name of the distribution file.
> +This can be useful for ports listing multiple
> +.Ev DISTFILES .
>  .It Ev GH_PROJECT
>  Name of the project on GitHub.
>  .It Ev GH_TAGNAME

OK kn

> Index: ports/infrastructure/mk/bsd.port.mk
> ===
> RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v
> retrieving revision 1.1558
> diff -u -p -r1.1558 bsd.port.mk
> --- ports/infrastructure/mk/bsd.port.mk   8 Nov 2021 13:36:25 -   
> 1.1558
> +++ ports/infrastructure/mk/bsd.port.mk   13 Nov 2021 11:27:24 -
> @@ -612,6 +612,7 @@ GH_PROJECT ?=
>  
>  .if !empty(GH_PROJECT) && !empty(GH_TAGNAME)
>  DISTNAME ?=  
> ${GH_PROJECT}-${GH_TAGNAME:C/^(v|V|ver|[Rr]el|[Rr]elease)[-._]?([0-9])/\2/}
> +GH_DISTFILE = 
> ${GH_PROJECT}-${GH_TAGNAME:C/^(v|V|ver|[Rr]el|[Rr]elease)[-._]?([0-9])/\2/}${EXTRACT_SUFX}
>  .endif
>  
>  PKGNAME ?= ${DISTNAME}

You're not using GH_DISTFILE for ports using GH_TAGNAME, is that
intentional?

With your diff, picking a random GH_TAGNAME por:

$ make -C /usr/ports/security/hydra -p | egrep 
'^(DIST(FILES|NAME)|GH_DISTFILE)'
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
DISTNAME = 
${GH_PROJECT}-${GH_TAGNAME:C/^(v|V|ver|[Rr]el|[Rr]elease)[-._]?([0-9])/\2/}
GH_DISTFILE  = 
${GH_PROJECT}-${GH_TAGNAME:C/^(v|V|ver|[Rr]el|[Rr]elease)[-._]?([0-9])/\2/}${EXTRACT_SUFX}

> @@ -1289,7 +1290,8 @@ _warn_checksum += ;echo ">>> MASTER_SITE
>  EXTRACT_SUFX ?= .tar.gz
>  
>  .if !empty(GH_COMMIT)
> -DISTFILES ?= 
> ${DISTNAME}-${GH_COMMIT:C/().*/\1/}${EXTRACT_SUFX}{${GH_COMMIT}${EXTRACT_SUFX}}
> +GH_DISTFILE = 
> ${DISTNAME}-${GH_COMMIT:C/().*/\1/}${EXTRACT_SUFX}{${GH_COMMIT}${EXTRACT_SUFX}}
> +DISTFILES ?= ${GH_DISTFILE}
>  .else
>  .  if defined(DISTNAME)
>  DISTFILES ?= ${DISTNAME}${EXTRACT_SUFX}
> 



Re: CVS: cvs.openbsd.org: ports

2021-11-13 Thread Stuart Henderson
On 2021/11/12 07:29, Rafael Sadowski wrote:
> Import kwayland-5.87.0

there's a missing dep on wayland/wayland-protocols, but I don't
know enough about it to say if that should be a BDEP or also an RDEP.


-- Could NOT find WaylandProtocols (missing: WaylandProtocols_DATADIR) 
(Required is at least version "1.15")
...
-- The following REQUIRED packages have not been found:
 * WaylandProtocols (required version >= 1.15), Specifications of extended 
Wayland protocols, 


>>> Building on localhost under devel/kf5/kwayland
 BDEPENDS = 
[archivers/xz;devel/cmake;x11/qt5/qtbase,-main;x11/qt5/qttools,-main;wayland/wayland;devel/kf5/extra-cmake-modules;wayland/plasma-wayland-protocols;x11/qt5/qtwayland;devel/ninja]
 DIST = [devel/kf5/kwayland:kde/kwayland-5.87.0.tar.xz]
 FULLPKGNAME = kwayland-5.87.0
 RDEPENDS = [wayland/wayland;x11/qt5/qtwayland;x11/qt5/qtbase,-main]
(Junk lock obtained for localhost at 1636798443.36)
>>> Running depends in devel/kf5/kwayland at 1636798443.37
   last junk was in sysutils/u-boot,aarch64
/usr/sbin/pkg_add -aI -Drepair cmake-3.20.3p0v0 extra-cmake-modules-5.87.0p0 
ninja-1.10.2p0 plasma-wayland-protocols-1.5.0 qtwayland-5.15.2 wayland-1.19.0p0
was: /usr/sbin/pkg_add -aI -Drepair cmake-3.20.3p0v0 
extra-cmake-modules-5.87.0p0 ninja-1.10.2p0 plasma-wayland-protocols-1.5.0 
qtbase-5.15.2p4 qttools-5.15.2 qtwayland-5.15.2 wayland-1.19.0p0 xz-5.2.5p0
/usr/sbin/pkg_add -aI -Drepair cmake-3.20.3p0v0 extra-cmake-modules-5.87.0p0 
ninja-1.10.2p0 plasma-wayland-protocols-1.5.0 qtwayland-5.15.2 wayland-1.19.0p0
>>> Running show-prepare-results in devel/kf5/kwayland at 1636798445.93
===> devel/kf5/kwayland
===> kwayland-5.87.0 depends on: extra-cmake-modules->=5.87 -> 
extra-cmake-modules-5.87.0p0
===> kwayland-5.87.0 depends on: qtwayland-* -> qtwayland-5.15.2
===> kwayland-5.87.0 depends on: plasma-wayland-protocols-* -> 
plasma-wayland-protocols-1.5.0
===> kwayland-5.87.0 depends on: cmake-* -> cmake-3.20.3p0v0
===> kwayland-5.87.0 depends on: ninja->=1.5.1 -> ninja-1.10.2p0
===> kwayland-5.87.0 depends on: qttools-* -> qttools-5.15.2
===> kwayland-5.87.0 depends on: xz-* -> xz-5.2.5p0
===> kwayland-5.87.0 depends on: wayland-* -> wayland-1.19.0p0
===> kwayland-5.87.0 depends on: qtbase-* -> qtbase-5.15.2p4
===>  Verifying specs:  c++ c++abi pthread EGL Qt5Concurrent Qt5Core Qt5Gui c m 
wayland-client wayland-server
===>  found c++.8.0 c++abi.5.1 pthread.26.1 EGL.1.1 Qt5Concurrent.3.0 
Qt5Core.3.0 Qt5Gui.3.0 c.96.1 m.10.1 wayland-client.0.0 wayland-server.0.0
cmake-3.20.3p0v0
extra-cmake-modules-5.87.0p0
ninja-1.10.2p0
plasma-wayland-protocols-1.5.0
qtbase-5.15.2p4
qttools-5.15.2
qtwayland-5.15.2
wayland-1.19.0p0
xz-5.2.5p0
Don't run junk because nojunk in x11/qt5/qtlocation
(Junk lock released for localhost at 1636798446.85)
Woken up mail/gmime30
distfiles size=332588
>>> Running patch in devel/kf5/kwayland at 1636798446.86
===> devel/kf5/kwayland
===>  Checking files for kwayland-5.87.0
`/mnt/distfiles/kde/kwayland-5.87.0.tar.xz' is up to date.
>> (SHA256) kde/kwayland-5.87.0.tar.xz: OK
===>  Extracting for kwayland-5.87.0
===>  Patching for kwayland-5.87.0
===>  Compiler link: clang -> /usr/bin/clang
===>  Compiler link: clang++ -> /usr/bin/clang++
===>  Compiler link: cc -> /usr/bin/cc
===>  Compiler link: c++ -> /usr/bin/c++
>>> Running configure in devel/kf5/kwayland at 1636798447.09
===> devel/kf5/kwayland
===>  Generating configure for kwayland-5.87.0
===>  Configuring for kwayland-5.87.0
-- The C compiler identification is Clang 11.1.0
-- The CXX compiler identification is Clang 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /pobj/kwayland-5.87.0/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /pobj/kwayland-5.87.0/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 

-- Found QtWaylandScanner: /usr/local/lib/qt5/bin/qtwaylandscanner  
-- Found Wayland_Client: /usr/local/lib/libwayland-client.so.0.0 (found version 
"1.19.0") 
-- Found Wayland_Server: /usr/local/lib/libwayland-server.so.0.0 (found version 
"1.19.0") 
-- Found Wayland: 
/usr/local/lib/libwayland-client.so.0.0;/usr/local/lib/libwayland-server.so.0.0 
(found suitable version "1.19.0", minimum required is "1.15") found components: 
Client Server 
-- Found WaylandScanner: /usr/local/bin/wayland-scanner  
-- Could NOT find WaylandProtocols (missing: WaylandProtocols_DATADIR) 
(Required is at least version "1.15")
-- Performing Test HAVE_EGL
-- Performing Test HAVE_EGL - Success
-- Found EGL: /usr/X11R6/include (found version "1.5") 
Installing in /usr/local. Run /pobj/kwayland-5.87.0/build-i386/prefix.sh to set 
the environment for KWayland.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - not 

bsd.port.mk.5: per PKGPATH WRKOBJDIR

2021-11-13 Thread Klemens Nanni
So I started building www/mozilla-firefox, my filesystem under WRKOBJDIR
ran out of space, I `cp -a'ed firefox's directory to another filesystem
and pointed WRKOBJDIR_${PKGPATH} at it.

According to the manual first set `WRKOBJDIR_www/mozilla = ...' in
firefox's Makefile but that didn't do anything.

Doesn't surprise me since www/mozilla is a module, not a port.

Using the port's actual PKGPATH "www/mozilla-firefox" works.

OK?

Index: bsd.port.mk.5
===
RCS file: /cvs/src/share/man/man5/bsd.port.mk.5,v
retrieving revision 1.546
diff -u -p -r1.546 bsd.port.mk.5
--- bsd.port.mk.5   8 Oct 2021 13:52:28 -   1.546
+++ bsd.port.mk.5   13 Nov 2021 11:35:15 -
@@ -1770,8 +1770,8 @@ User settings.
 If non empty, used as a base for the fake area.
 The real fake directory ${WRKINST} is created there.
 Can be set on a per-${PKGPATH} basis.
-For instance, setting FAKEOBJDIR_www/mozilla=/tmp/obj
-will affect only the mozilla port.
+For instance, setting FAKEOBJDIR_www/mozilla-firefox=/tmp/obj
+will affect only the mozilla-firefox port.
 .It Ev FETCH_CMD
 User settings.
 Command used to fetch distribution files for this port.



bsd.port.mk: provide GH_DISTFILE

2021-11-13 Thread Stuart Henderson
We have a few ports that use GH_* and have a second distfile, so have to
build up their own DISTFILES. Where that uses GH_TAGNAME it's not too bad
but the ones with GH_COMMIT are a bit horrible:

$ ag -G Makef ^DISTF.*GH_COMMIT
devel/cabal-bundler/Makefile
13:DISTFILES =  
${DISTNAME}-${GH_COMMIT:C/().*/\1/}${EXTRACT_SUFX}{${GH_COMMIT}${EXTRACT_SUFX}}
 \

devel/msbuild/Makefile
29:DISTFILES =  ${DISTNAME}{${GH_COMMIT}}${EXTRACT_SUFX} \

net/arp-scan/Makefile
22:DISTFILES =  
${DISTNAME}-${GH_COMMIT:C/().*/\1/}${EXTRACT_SUFX}{${GH_COMMIT}${EXTRACT_SUFX}}
 \

net/ntopng/Makefile
19:DISTFILES=   ntopng-${NTOPNG_V}-{}${GH_COMMIT}.tar.gz 
ndpi-${NDPI_V}-{}${NDPI_COMMIT}.tar.gz:0

x11/gnome/gdm/Makefile
15:DISTFILES=   
${DISTNAME}-${GH_COMMIT:C/().*/\1/}${EXTRACT_SUFX}{${GH_COMMIT}${EXTRACT_SUFX}}
 \

x11/mruby-zest/Makefile
45:DISTFILES=   zyn-fusion-{}${GH_COMMIT}${EXTRACT_SUFX} \

Seems like it might be useful to provide the generated distfile name
in a variable that can be reused here. I set it for ports using either
GH_TAGNAME and GH_COMMIT so that it doesn't need modifying if we
need to update something to an untagged checkout.

Any comments? OK?


Index: src/share/man/man5/bsd.port.mk.5
===
RCS file: /cvs/src/share/man/man5/bsd.port.mk.5,v
retrieving revision 1.546
diff -u -p -r1.546 bsd.port.mk.5
--- src/share/man/man5/bsd.port.mk.58 Oct 2021 13:52:28 -   1.546
+++ src/share/man/man5/bsd.port.mk.513 Nov 2021 11:27:24 -
@@ -1925,6 +1925,12 @@ Account name of the GitHub user hosting 
 .It Ev GH_COMMIT
 SHA1 commit id to fetch.
 It is an error to specify ${GH_COMMIT} when ${GH_TAGNAME} is specified.
+.It Ev GH_DISTFILE
+Set by
+.Nm
+to the generated name of the distribution file.
+This can be useful for ports listing multiple
+.Ev DISTFILES .
 .It Ev GH_PROJECT
 Name of the project on GitHub.
 .It Ev GH_TAGNAME
Index: ports/infrastructure/mk/bsd.port.mk
===
RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v
retrieving revision 1.1558
diff -u -p -r1.1558 bsd.port.mk
--- ports/infrastructure/mk/bsd.port.mk 8 Nov 2021 13:36:25 -   1.1558
+++ ports/infrastructure/mk/bsd.port.mk 13 Nov 2021 11:27:24 -
@@ -612,6 +612,7 @@ GH_PROJECT ?=
 
 .if !empty(GH_PROJECT) && !empty(GH_TAGNAME)
 DISTNAME ?=
${GH_PROJECT}-${GH_TAGNAME:C/^(v|V|ver|[Rr]el|[Rr]elease)[-._]?([0-9])/\2/}
+GH_DISTFILE = 
${GH_PROJECT}-${GH_TAGNAME:C/^(v|V|ver|[Rr]el|[Rr]elease)[-._]?([0-9])/\2/}${EXTRACT_SUFX}
 .endif
 
 PKGNAME ?= ${DISTNAME}
@@ -1289,7 +1290,8 @@ _warn_checksum += ;echo ">>> MASTER_SITE
 EXTRACT_SUFX ?= .tar.gz
 
 .if !empty(GH_COMMIT)
-DISTFILES ?= 
${DISTNAME}-${GH_COMMIT:C/().*/\1/}${EXTRACT_SUFX}{${GH_COMMIT}${EXTRACT_SUFX}}
+GH_DISTFILE = 
${DISTNAME}-${GH_COMMIT:C/().*/\1/}${EXTRACT_SUFX}{${GH_COMMIT}${EXTRACT_SUFX}}
+DISTFILES ?= ${GH_DISTFILE}
 .else
 .  if defined(DISTNAME)
 DISTFILES ?= ${DISTNAME}${EXTRACT_SUFX}



CVS: cvs.openbsd.org: ports

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

Modified files:
net/librenms   : Makefile 

Log message:
fix DISTFILES, reported by aja@



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/11/13 04:14:43

Modified files:
www/netsurf/libnsfb/patches: patch-Makefile 

Log message:
Don't pick up wayland-client:
src/surface/wld.c:29:10: fatal error: 'linux/input.h' file not found



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Steven Mestdagh
CVSROOT:/cvs
Module name:ports
Changes by: ste...@cvs.openbsd.org  2021/11/13 04:09:22

Modified files:
graphics/pstoedit: Makefile distinfo 
graphics/pstoedit/patches: patch-src_Makefile_in 
graphics/pstoedit/pkg: PLIST 

Log message:
update to 3.77



CVS: cvs.openbsd.org: ports

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

Modified files:
x11/gnome/librsvg: Makefile distinfo 

Log message:
Update to librsvg-2.52.4.



CVS: cvs.openbsd.org: ports

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

Modified files:
sysutils/awscli: Makefile distinfo 

Log message:
Update to awscli-1.22.5.



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/11/13 03:24:47

Modified files:
net/py-boto3   : Makefile distinfo 

Log message:
Update to py3-boto3-1.20.5.



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/11/13 03:24:37

Modified files:
net/py-botocore: Makefile distinfo 

Log message:
Update to py3-botocore-1.23.5.



Re: NEW: x11/kde-applications/kirigami-gallery

2021-11-13 Thread Stuart Henderson
On 2021/11/13 07:55, Rafael Sadowski wrote:
> On Sat Nov 13, 2021 at 06:31:15AM +, Yifei Zhan wrote:
> > On 21/11/13 07:24AM, Rafael Sadowski wrote:
> > > On Sat Nov 13, 2021 at 05:15:46AM +, Yifei Zhan wrote:
> > > > On 21/10/06 06:44AM, Rafael Sadowski wrote:
> > > > > > Information for inst:kirigami-gallery-21.08.1
> > > > 
> > > > It builds and runs on arm64(RPi)/amd64, some icons seem to be missing 
> > > > according to the official screenshots, not sure what's the cause.
> > > > 
> > > 
> > > Doas installing devel/kf5/breeze-icons helps? I also only see 1 icon in
> > > the status bar.
> > 
> > 
> > No, I already had that installed and crossing reference to a few linux 
> > distros' repo doesn't reveal any missing dep.
> 
> ... you have to select Breeze icon theme with qt5ct (x11/qt5ct) and set
> QT_QPA_PLATFORMTHEME=qt5ct after that you can see icons. That works for
> me at least.
> 
> Thanks for the feedback.
> 

How should the user learn how to do this?



CVS: cvs.openbsd.org: ports

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

Modified files:
www/py-soupsieve: Makefile distinfo 

Log message:
update to py3-soupsieve-2.3.1



CVS: cvs.openbsd.org: ports

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

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

Log message:
update to py3-iso8601-1.0.0



CVS: cvs.openbsd.org: ports

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

Modified files:
mail/roundcubemail: Tag: OPENBSD_7_0 Makefile distinfo 
mail/roundcubemail/pkg: Tag: OPENBSD_7_0 PLIST 

Log message:
uodate to roundcubemail-1.4.12
https://github.com/roundcube/roundcubemail/releases/tag/1.4.12



CVS: cvs.openbsd.org: ports

2021-11-13 Thread Steven Mestdagh
CVSROOT:/cvs
Module name:ports
Changes by: ste...@cvs.openbsd.org  2021/11/13 02:55:42

Modified files:
sysutils/syslog-ng: Makefile distinfo 
sysutils/syslog-ng/files: syslog-ng.conf 
sysutils/syslog-ng/patches: patch-Makefile_in 
sysutils/syslog-ng/pkg: PLIST 

Log message:
update to 3.34
enable SCL (syslog-ng configuration library) support

from Peter Czanik, with some tweaks