Re: rebar3 update

2021-05-26 Thread Jonathan Matthew
On Wed, May 26, 2021 at 10:13:44PM +1000, Jonathan Matthew wrote:
> On Mon, May 24, 2021 at 05:07:12PM +0100, Stuart Henderson wrote:
> > danj pointed out https://ferd.ca/you-ve-got-to-upgrade-rebar3.html;
> > here's an update for the port to a version which both has a fix for this,
> > and still supports erlang 21 (3.15.x support OTP 19 to 23; 3.16.x
> > supports 22 to 24).
> 
> Thanks for looking at this.
> 
> > 
> > while there I fixed the distfile name from the current bare version
> > number, and got tests to work.
> > 
> > i think the existing patches to change these ...
> > 
> > -"$BINDIR/erl" -boot start_clean \
> > +"$BINDIR/erl${ERL_VERSION}" -boot start_clean \
> > 
> > in relx_get_nodename() etc are incorrect, BINDIR refers to
> > /usr/local/lib/erlang21/erts-10.2/bin where the files have no version
> > suffix, so i've dropped those. (of course I've kept the patches for
> > filenames searched in the default PATH).
> 
> I'm a bit confused about this.  BINDIR can also be the erts/bin
> directory of a release generated by rebar3/relx, and in those, the erl
> binary does have the version suffix.  I'm not sure how it gets there.
> I'll look into this more.

Turns out I did this myself, which of course indicates the patches are
wrong and should be dropped.

> 
> > 
> > the test suite passes, but i'm not really a user of this, so a
> > real-world test is probably a good idea.
> 
> My main use for rebar3 is building current versions of databases/riak
> (not yet in the ports tree), and last time I tried, it didn't work with
> newer versions of rebar3.  I may be able to find something else.

I've compiled some other stuff with this update and it all works ok.
ok jmatthew@



CVS: cvs.openbsd.org: ports

2021-05-26 Thread Robert Nagy
CVSROOT:/cvs
Module name:ports
Changes by: rob...@cvs.openbsd.org  2021/05/26 22:21:03

Modified files:
www/chromium   : Makefile distinfo 
www/chromium/patches: patch-BUILD_gn 
  patch-apps_ui_views_app_window_frame_view_cc 
  patch-base_BUILD_gn 
  patch-base_allocator_allocator_gni 
  patch-base_base_switches_cc 
  patch-base_base_switches_h 
  patch-base_compiler_specific_h 
  patch-base_cpu_h 
  patch-base_debug_elf_reader_cc 
  patch-base_files_file_util_posix_cc 
  patch-base_i18n_icu_util_cc 
  patch-base_linux_util_cc 
  patch-base_memory_discardable_memory_cc 
  patch-base_native_library_posix_cc 
  patch-base_process_launch_h 
  patch-base_process_memory_cc 
  patch-base_process_process_metrics_cc 
  patch-base_process_process_metrics_h 
  patch-base_process_process_posix_cc 
  patch-base_rand_util_posix_cc 
  patch-base_system_sys_info_cc 
  patch-base_system_sys_info_h 
  patch-base_system_sys_info_posix_cc 
  patch-base_test_launcher_test_launcher_cc 
  patch-base_threading_platform_thread_h 
  patch-base_threading_platform_thread_linux_cc 
  patch-base_trace_event_malloc_dump_provider_cc 
  patch-base_trace_event_process_memory_dump_cc 
  patch-build_config_BUILDCONFIG_gn 
  patch-build_config_BUILD_gn 
  patch-build_config_c++_c++_gni 
  patch-build_config_compiler_BUILD_gn 
  patch-build_config_compiler_pgo_pgo_gni 
  patch-build_config_linux_BUILD_gn 
  patch-build_config_ozone_gni 
  patch-build_toolchain_gcc_toolchain_gni 
  patch-cc_BUILD_gn 
  patch-chrome_app_chrome_command_ids_h 
  patch-chrome_app_chrome_main_cc 
  patch-chrome_app_chrome_main_delegate_cc 
  patch-chrome_app_chromium_strings_grd 
  patch-chrome_app_generated_resources_grd 
  patch-chrome_app_google_chrome_strings_grd 
  patch-chrome_app_profiles_strings_grdp 
  patch-chrome_app_settings_strings_grdp 
  patch-chrome_browser_about_flags_cc 
  patch-chrome_browser_after_startup_task_utils_cc 
  
patch-chrome_browser_background_background_mode_manager_cc 
  patch-chrome_browser_browser_process_impl_cc 
  patch-chrome_browser_browser_process_impl_h 
  patch-chrome_browser_browser_resources_grd 
  
patch-chrome_browser_chrome_browser_interface_binders_cc 
  patch-chrome_browser_chrome_browser_main_cc 
  patch-chrome_browser_chrome_browser_main_linux_cc 
  patch-chrome_browser_chrome_browser_main_posix_cc 
  
patch-chrome_browser_chrome_content_browser_client_cc 
  
patch-chrome_browser_chrome_content_browser_client_h 
  
patch-chrome_browser_crash_upload_list_crash_upload_list_cc 
  
patch-chrome_browser_custom_handlers_protocol_handler_registry_cc 
  patch-chrome_browser_defaults_cc 
  patch-chrome_browser_dev_ui_browser_resources_grd 
  
patch-chrome_browser_device_identity_device_oauth2_token_service_factory_cc 
  
patch-chrome_browser_devtools_devtools_eye_dropper_cc 
  
patch-chrome_browser_download_chrome_download_manager_delegate_cc 
  patch-chrome_browser_download_download_commands_h 
  patch-chrome_browser_download_download_prefs_cc 
  
patch-chrome_browser_download_download_shelf_context_menu_cc 
  

CVS: cvs.openbsd.org: ports

2021-05-26 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2021/05/26 22:16:29

Modified files:
cad/librecad   : Makefile 
Added files:
cad/librecad/patches: 
  patch-librecad_src_lib_engine_rs_ellipse_cpp 

Log message:
Fix building LibreCAD with newer Boost

Diff from Brad, OK feinerer@



CVS: cvs.openbsd.org: ports

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

Modified files:
games/freeorion: Makefile 
Added files:
games/freeorion/patches: 
 patch-UI_CombatReport_GraphicalSummary_cpp 

Log message:
Fix freeorion building with newer Boost

Diff from Brad, OK Tom (maintainer)



CVS: cvs.openbsd.org: ports

2021-05-26 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2021/05/26 22:10:30

Modified files:
emulators/mame : Makefile 

Log message:
Enable: use pugixml from ports

Same diff from Brad, OK fcambus@



CVS: cvs.openbsd.org: ports

2021-05-26 Thread Greg Steuck
CVSROOT:/cvs
Module name:ports
Changes by: gne...@cvs.openbsd.org  2021/05/26 20:48:23

Modified files:
comms/hylafax  : Makefile 
comms/hylafax/patches: patch-configure 

Log message:
comms/hylafax: avoid CPU spinning (wrong fifo mode)

Patch from Larry Moore lmoore at starwon dot com dot au

ok gkoehler@



devel/p5-File-Listing: Update to 6.14

2021-05-26 Thread wen heping
Hi,

   Here is a patch for devel/p5-File-Listing:
   i) Update to 6.14
   ii) Remove the line CPAN_AUTHOR
   iii) Remove BUILD_DEPENDS =  ${RUN_DEPENDS}

   It build well and pass all tests on amd64-6.9.
   Only 1 port depends on it, www/p5-libwww, It build well and pass 
all tests on amd64-6.9 too.


wenIndex: Makefile
===
RCS file: /cvs/ports/devel/p5-File-Listing/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile3 Jul 2020 21:44:53 -   1.4
+++ Makefile27 May 2021 01:19:46 -
@@ -2,10 +2,8 @@
 
 COMMENT =  parse directory listing
 
-DISTNAME = File-Listing-6.04
-CPAN_AUTHOR =  GAAS
+DISTNAME = File-Listing-6.14
 CATEGORIES =   devel
-REVISION = 0
 
 MAINTAINER =   Nigel Taylor 
 
@@ -16,6 +14,5 @@ MODULES = cpan
 PKG_ARCH = *
 
 RUN_DEPENDS =  www/p5-HTTP-Date>=6.00
-BUILD_DEPENDS =${RUN_DEPENDS}
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-File-Listing/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo23 Oct 2014 19:17:59 -  1.1.1.1
+++ distinfo27 May 2021 01:19:46 -
@@ -1,2 +1,2 @@
-SHA256 (File-Listing-6.04.tar.gz) = 
HgBQ/NZ4miF57A2ygr8ekPuSvjXRFxWIvZxH1S2VnPU=
-SIZE (File-Listing-6.04.tar.gz) = 51536
+SHA256 (File-Listing-6.14.tar.gz) = 
FbOkhx4jFko28iY4G3TUUK9B8SzJSYX1kqZp/Kx7SP8=
+SIZE (File-Listing-6.14.tar.gz) = 80562


net/iperf3 : Update to 3.9

2021-05-26 Thread wen heping
Hi,

Here is a simple patch for net/iperf3 to update to 3.9,
it build well and pass all tests on amd64-6.9 system.


wenIndex: Makefile
===
RCS file: /cvs/ports/net/iperf3/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile21 Jul 2020 02:04:23 -  1.6
+++ Makefile27 May 2021 01:08:31 -
@@ -2,7 +2,7 @@
 
 COMMENT=   tool to measure maximum achievable bandwidth on IP networks
 
-V= 3.8.1
+V= 3.9
 PKGNAME=   iperf3-${V}
 DISTNAME=  iperf-${V}
 
Index: distinfo
===
RCS file: /cvs/ports/net/iperf3/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo21 Jul 2020 02:04:23 -  1.4
+++ distinfo27 May 2021 01:08:31 -
@@ -1,2 +1,2 @@
-SHA256 (iperf-3.8.1.tar.gz) = 5bCA8yc6inFaQQDxOCasLKMcx7ExWSVjGy7PZJV97ZY=
-SIZE (iperf-3.8.1.tar.gz) = 618098
+SHA256 (iperf-3.9.tar.gz) = JLY6JjgjJfdZ8R1CF3mpN7Y8obwXxEWH0vz+2rYKwDg=
+SIZE (iperf-3.9.tar.gz) = 622459


devel/p5-List-Compare : Update to 0.55

2021-05-26 Thread wen heping
Hi,

   Here is a patch for devel/p5-List-Compare to update to 0.55 and update
TEST_DEPENDS as per upstream change.
   It build well and pass all tests on amd64-6.9 system.



wenIndex: Makefile
===
RCS file: /cvs/ports/devel/p5-List-Compare/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile3 Jul 2020 21:44:58 -   1.3
+++ Makefile27 May 2021 00:55:43 -
@@ -1,9 +1,8 @@
 # $OpenBSD: Makefile,v 1.3 2020/07/03 21:44:58 sthen Exp $
 
 COMMENT =  compare elements of two or more lists
-DISTNAME = List-Compare-0.53
+DISTNAME = List-Compare-0.55
 CATEGORIES =   devel
-REVISION = 0
 
 MAINTAINER =   James E Keenan 
 
@@ -12,7 +11,7 @@ PERMIT_PACKAGE =  Yes
 
 MODULES =  cpan
 
-TEST_DEPENDS = devel/p5-IO-CaptureOutput
+TEST_DEPENDS = sysutils/p5-Capture-Tiny
 
 PKG_ARCH = *
 
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-List-Compare/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo5 Feb 2018 14:37:13 -   1.1.1.1
+++ distinfo27 May 2021 00:55:43 -
@@ -1,2 +1,2 @@
-SHA256 (List-Compare-0.53.tar.gz) = 
/b9P9nsxNdREdf73/KwM1HBkB9VyDSbcqRSGDrEPhVA=
-SIZE (List-Compare-0.53.tar.gz) = 88437
+SHA256 (List-Compare-0.55.tar.gz) = 
zHGUeYNledUrArwyjtgKmPZ53wQ6mbVxCrLBkWaeuDc=
+SIZE (List-Compare-0.55.tar.gz) = 84975


Re: HylaFax Port - Broken since OpenBSD 5.7

2021-05-26 Thread Larry Moore

On 23/05/2021 11:52 pm, Greg Steuck wrote:

Larry Moore  writes:


I've installed release of 6.9 and the problem still exists.

I've attached a patch created on OpenBSD 6.9 which appears to overcome
the high CPU utilisation, also included is a change which configures
HylaFAX to use ASCII lock files, seeing as this is what OpenBSD uses.

Thank you Larry for sending the patch. I changed it into a patch below
applicable to the ports tree. I only tested that this builds as I don't
run hylafax.

Anybody can test this or we go with Larry's verification?

OK?

 From d283f25d7843c8a50faabfd4b44b553e28ef2e39 Mon Sep 17 00:00:00 2001
From: Greg Steuck 
Date: Sun, 23 May 2021 08:45:58 -0700
Subject: [PATCH] comms/hylafax: avoid CPU spinning (wrong fifo mode)

Patch from Larry Moore lmoore at starwon dot com dot au
---
  comms/hylafax/Makefile|  2 +-
  comms/hylafax/patches/patch-configure | 27 ---
  2 files changed, 25 insertions(+), 4 deletions(-)

diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile
index 1c0f40dfe8b..a6569328459 100644
--- a/comms/hylafax/Makefile
+++ b/comms/hylafax/Makefile
@@ -2,7 +2,7 @@
  
  COMMENT=		send/receive faxes and share modems

  DISTNAME= hylafax-6.0.6
-REVISION=  14
+REVISION=  15
  CATEGORIES=   comms
  
  HOMEPAGE=		https://www.HylaFAX.org/

diff --git a/comms/hylafax/patches/patch-configure 
b/comms/hylafax/patches/patch-configure
index acd5e9ae620..1499a9a423d 100644
--- a/comms/hylafax/patches/patch-configure
+++ b/comms/hylafax/patches/patch-configure
@@ -45,7 +45,20 @@ Index: configure
   }
   
   if [ "$SGI2FAX" = auto ]; then

-@@ -2563,12 +2562,11 @@ EOF
+@@ -1959,6 +1958,12 @@ EmitConfigurationDefinitions()
+   CONFIG_OPENFIFO=O_RDONLY;
+   fi
+   ;;
++  *-openbsd*) if releaseAtLeast 5.7; then
++  CONFIG_OPENFIFO=O_RDWR;
++  else
++  CONFIG_OPENFIFO=O_RDONLY;
++  fi
++  ;;
+   *sysv4.2uw2.1.3)CONFIG_OPENFIFO=O_RDWR;;# UnixWare 2.1.3
+   *-sysv5UnixWare*)   CONFIG_OPENFIFO=O_RDWR;;# UnixWare 7
+   *-sysv5OpenUNIX*)   CONFIG_OPENFIFO=O_RDWR;;# OpenUNIX 8
+@@ -2563,12 +2568,11 @@ EOF
tiff_offset_t="uint32"
tiff_bytecount_t="uint32"
;;
@@ -59,7 +72,7 @@ Index: configure
;;
esac
fi
-@@ -3405,19 +3403,8 @@ fi
+@@ -3405,19 +3409,8 @@ fi
   HAVE_JBIGTIFF="/*#define HAVE_JBIGTIFF 1*/"
   if [ "$DISABLE_JBIG" != "yes" ]; then
   Note "Checking JBIG-in-TIFF conversion support."
@@ -81,7 +94,15 @@ Index: configure
   fi
   
   Note "Done checking TIFF support."

-@@ -4681,10 +4668,10 @@ case $MANSCHEME in
+@@ -3957,6 +3950,7 @@ if [ "$LOCKS" = auto ]; then
+ *-solaris*)   LOCKS="+ascii";;
+ *-freebsd*)   LOCKS=ascii;;
+ *-netbsd*)LOCKS=ascii;;
++*-openbsd*)   LOCKS=ascii;;
+ *bsd*)LOCKS=binary;;
+ *)LOCKS=ascii;;
+ esac
+@@ -4681,10 +4675,10 @@ case $MANSCHEME in
   *-0|*-0.gz|*-0.Z|*-gz|*-Z|*-z)
   suf=`echo $MANSCHEME | $SED 's/.*-/./'`
   A='`echo $$i | sed' B='`'# workaround shell bugs


I'll test it over the weekend.

Regards,

Larry.



CVS: cvs.openbsd.org: ports

2021-05-26 Thread Aaron Bieber
CVSROOT:/cvs
Module name:ports
Changes by: abie...@cvs.openbsd.org 2021/05/26 16:18:54

Modified files:
net/neochat: Makefile 
net/neochat/pkg: DESCR 

Log message:
Use a DESCR that is actually describing neochat!



Re: CVS: cvs.openbsd.org: ports

2021-05-26 Thread Stuart Henderson
On 2021/05/26 15:32, Stuart Henderson wrote:
> CVSROOT:  /cvs
> Module name:  ports
> Changes by:   st...@cvs.openbsd.org   2021/05/26 15:32:22
> 
> Modified files:
>   net/isc-dhcp   : Tag: OPENBSD_6_9 Makefile distinfo 
> 
> Log message:
> update to isc-dhcp-4.4.2-P1
> 
> CVE-2021-25217: A buffer overrun in lease file parsing code can be used
> to exploit a common vulnerability shared by dhcpd and dhclient
> 

More info in https://kb.isc.org/docs/cve-2021-25217



CVS: cvs.openbsd.org: ports

2021-05-26 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/05/26 15:32:38

Modified files:
www/nginx  : Tag: OPENBSD_6_9 Makefile 
Added files:
www/nginx/patches: Tag: OPENBSD_6_9 
   patch-src_core_ngx_resolver_c 

Log message:
add https://nginx.org/download/patch.2021.resolver.txt to nginx in -stable



CVS: cvs.openbsd.org: ports

2021-05-26 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/05/26 15:32:22

Modified files:
net/isc-dhcp   : Tag: OPENBSD_6_9 Makefile distinfo 

Log message:
update to isc-dhcp-4.4.2-P1

CVE-2021-25217: A buffer overrun in lease file parsing code can be used
to exploit a common vulnerability shared by dhcpd and dhclient



CVS: cvs.openbsd.org: ports

2021-05-26 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/05/26 15:32:04

Modified files:
net/isc-dhcp   : Makefile distinfo 

Log message:
update to isc-dhcp-4.4.2-P1

CVE-2021-25217: A buffer overrun in lease file parsing code can be used
to exploit a common vulnerability shared by dhcpd and dhclient



Re: emulators/mame use system pugixml

2021-05-26 Thread Frederic Cambus
On Tue, May 25, 2021 at 05:52:31AM +0200, Rafael Sadowski wrote:
> On Tue May 25, 2021 at 05:50:06AM +0200, Rafael Sadowski wrote:
> > Simple diff to enable pugixml usage in mame. OK?
> > 
> 
> of course, with REVISION bump:

Looks good to me. Brad also sent me the same diff privately, so
please mention it in the commit message as we usually do.

OK fcambus@



CVS: cvs.openbsd.org: ports

2021-05-26 Thread Jeremy Evans
CVSROOT:/cvs
Module name:ports
Changes by: jer...@cvs.openbsd.org  2021/05/26 14:35:49

Modified files:
x11/ruby-tk: Makefile distinfo 

Log message:
Update to ruby-tk 0.4.0

Use x11/tk module, as recommended by stu@.

OK stu@



Re: CVS: cvs.openbsd.org: ports

2021-05-26 Thread Stuart Henderson
On 2021/05/26 13:54, Stuart Henderson wrote:
> CVSROOT:  /cvs
> Module name:  ports
> Changes by:   st...@cvs.openbsd.org   2021/05/26 13:54:24
> 
> Modified files:
>   sysutils/squashfs-tools: Makefile distinfo 
>   sysutils/squashfs-tools/patches: patch-squashfs-tools_action_c 
>patch-squashfs-tools_mksquashfs_c 
>patch-squashfs-tools_mksquashfs_h 
>patch-squashfs-tools_unsquashfs_c 
> Removed files:
>   sysutils/squashfs-tools/patches: patch-squashfs-tools_pseudo_c 
>patch-squashfs-tools_read_xattrs_c 
>patch-squashfs-tools_unsquashfs_h 
>
> patch-squashfs-tools_unsquashfs_xattr_c 
>patch-squashfs-tools_xattr_c 
> 
> Log message:
> update to squashfs-4.4-git.1, enable lz4/lzo2/lzma/zstd support, and
> simplify the patchset
> 

was ok jasper@



CVS: cvs.openbsd.org: ports

2021-05-26 Thread Jeremy Evans
CVSROOT:/cvs
Module name:ports
Changes by: jer...@cvs.openbsd.org  2021/05/26 14:32:38

Modified files:
www/ruby-puma  : Makefile distinfo 

Log message:
Update to puma 5.3.2



CVS: cvs.openbsd.org: ports

2021-05-26 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/05/26 13:54:24

Modified files:
sysutils/squashfs-tools: Makefile distinfo 
sysutils/squashfs-tools/patches: patch-squashfs-tools_action_c 
 patch-squashfs-tools_mksquashfs_c 
 patch-squashfs-tools_mksquashfs_h 
 patch-squashfs-tools_unsquashfs_c 
Removed files:
sysutils/squashfs-tools/patches: patch-squashfs-tools_pseudo_c 
 patch-squashfs-tools_read_xattrs_c 
 patch-squashfs-tools_unsquashfs_h 
 
patch-squashfs-tools_unsquashfs_xattr_c 
 patch-squashfs-tools_xattr_c 

Log message:
update to squashfs-4.4-git.1, enable lz4/lzo2/lzma/zstd support, and
simplify the patchset



Re: libexecinfo-0.3p2v0 fails to build on loongson

2021-05-26 Thread manphiz



On 5/25/21 6:07 PM, George Koehler wrote:

On Sun, 23 May 2021 07:08:38 -0700
manp...@gmail.com wrote:


cc -O2 -pipe -D__BUILTIN_HACK -Wall -ggdb3 -I/usr/local/include  -MD -MP  
-nostdinc -idirafter /usr/include -c backtrace.c -o backtrace.o
error: return address can be determined only for current frame
error: return address can be determined only for current frame
2 errors generated.


Does this diff help?  It avoids _builtin_frame_address(1), but I don't
know if it would fix your compiler error.

We pass -D__BUILTIN_HACK on mips64* | hppa | sh to disable most of the
backtrace code.  I don't have the hardware to check.

--George

Index: Makefile
===
RCS file: /cvs/ports/devel/libexecinfo/Makefile,v
retrieving revision 1.26
diff -u -p -r1.26 Makefile
--- Makefile3 Jan 2020 15:16:59 -   1.26
+++ Makefile26 May 2021 00:46:48 -
@@ -9,7 +9,7 @@ GH_PROJECT= backtrace
  DISTNAME =${GH_PROJECT}-${V}
  PKGNAME = libexecinfo-$V
  EPOCH =   0
-REVISION = 2
+REVISION = 3
  CATEGORIES =  devel
  
  SHARED_LIBS =	execinfo	2.0

Index: patches/patch-libbacktrace_backtrace_c
===
RCS file: /cvs/ports/devel/libexecinfo/patches/patch-libbacktrace_backtrace_c,v
retrieving revision 1.4
diff -u -p -r1.4 patch-libbacktrace_backtrace_c
--- patches/patch-libbacktrace_backtrace_c  11 Mar 2016 19:46:13 -  
1.4
+++ patches/patch-libbacktrace_backtrace_c  26 May 2021 00:46:48 -
@@ -3,17 +3,22 @@ $OpenBSD: patch-libbacktrace_backtrace_c
  - __builtin_return_address() and __builtin_frame_address()
may not always have a !0 argument.
  
 libbacktrace/backtrace.c.orig	Thu Mar  3 10:15:09 2016

-+++ libbacktrace/backtrace.c   Thu Mar  3 10:15:38 2016
-@@ -65,6 +65,7 @@ bt_create_backtrace(void **buffer, int depth, int flag
+Index: libbacktrace/backtrace.c
+--- libbacktrace/backtrace.c.orig
 libbacktrace/backtrace.c
+@@ -64,7 +64,10 @@ bt_create_backtrace(void **buffer, int depth, int flag
+   do {
/* number of HANDLE_FRAME must match BT_MAX_DEPTH */
switch (i) {
-   HANDLE_FRAME(0, i, addr);
+-  HANDLE_FRAME(0, i, addr);
++  case 0:
++  addr = __builtin_return_address(0);
++  break;
  +#ifndef __BUILTIN_HACK
HANDLE_FRAME(1, i, addr);
HANDLE_FRAME(2, i, addr);
HANDLE_FRAME(3, i, addr);
-@@ -192,6 +193,7 @@ bt_create_backtrace(void **buffer, int depth, int flag
+@@ -192,6 +195,7 @@ bt_create_backtrace(void **buffer, int depth, int flag
HANDLE_FRAME(125, i, addr);
HANDLE_FRAME(126, i, addr);
HANDLE_FRAME(127, i, addr);



Hi George,

You patch works and I have a successfully built libexecinfo now.  Would 
be great to have the patch committed so that we can all benefit from it 
(both HEAD and 6.9 branch)!  Thanks!




OpenPGP_signature
Description: OpenPGP digital signature


CVS: cvs.openbsd.org: ports

2021-05-26 Thread Sebastian Reitenbach
CVSROOT:/cvs
Module name:ports
Changes by: sebas...@cvs.openbsd.org2021/05/26 12:31:41

Modified files:
security/routersploit: Makefile 
Added files:
security/routersploit/patches: 
   
patch-routersploit_core_exploit_exploit_py 

Log message:
fix routersploit loading a module, breakage pointed out by
Ampie Niemand ampien at gmail dot com
Thanks



CVS: cvs.openbsd.org: ports

2021-05-26 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2021/05/26 12:18:33

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

Log message:
Update netbeans to 12.4



CVS: cvs.openbsd.org: ports

2021-05-26 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2021/05/26 11:49:10

Modified files:
x11/xwallpaper : Makefile distinfo 

Log message:
Update xwallpaper to 0.7.0

https://github.com/stoeckmann/xwallpaper/releases/tag/v0.7.0



CVS: cvs.openbsd.org: ports

2021-05-26 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2021/05/26 11:45:59

Modified files:
devel/jenkins/devel: Makefile distinfo 

Log message:
Bump jenkins-devel to 2.295



Re: [NEW] www/py-adblock

2021-05-26 Thread Dimitri Karamazov
On Wed, May 26, 2021 at 10:26:20AM +0100, Stuart Henderson wrote:
> On 2021/05/25 02:59, Dimitri Karamazov wrote:
> > On Mon, May 24, 2021 at 09:54:48PM +0100, Stuart Henderson wrote:
> > > ok for maturin
> > > 
> > > py-adblock; tests fail for me like this. not necessarily a blocker,
> > > do you want to send the qutebrowser diff to go with it to give a better
> > > way to test?
> > > 
> > > 
> > The tests are working fine upon a recheck, maybe something was wrong with
> > the tarball so I've attached a new one with proper TEST_DEPENDS.
> 
> That doesn't change anything, TEST_DEPENDS isn't needed as they're
> already in BUILD_DEPENDS and you can't test without building.
> Anyway; tests still fail but runtime works.
> 
> These are OK sthen@ to import
> 
Changed the test cmd so it directly calls the pytest module.
This should work. PYTHONPATH not required anymore since the module will
be installed in the tests dir itself during do-test.

All tests pass.

-TEST_ENV = PYTHONPATH=${WRKSRC}${MODPY_SITEPKG}:${MODPY_SITEPKG}
-
 do-build:
${MODCARGO_CARGO_RUN} build \
--manifest-path ${MODCARGO_CARGOTOML} \
@@ -108,10 +106,10 @@ do-build:
 
 do-test:
pip${MODPY_VERSION} install --isolated \
-   --root=${WRKSRC} \
+   --target=${WRKSRC}/tests \
--ignore-installed \
--no-deps ${WRKSRC}/target/wheels/*.whl
-   cd ${MODPY_TEST_DIR} && ${SETENV} ${ALL_TEST_ENV} py.test -v
+   cd ${WRKSRC} && ${SETENV} ${ALL_TEST_ENV} ${MODPY_BIN} -m pytest -v


py-adblock.tar.gz
Description: Binary data


maturin.tar.gz
Description: Binary data


Re: update irssi to 1.2.3

2021-05-26 Thread Lauri Tirkkonen
ping?

On Thu, May 13 2021 18:30:51 +0300, Lauri Tirkkonen wrote:
> Hi,
> 
> simple update to irssi. The glib >= 2.63 patch is no longer needed; see
> https://irssi.org/2021/04/11/irssi-1.2.3-released/
> 
> diff --git a/net/irssi/Makefile b/net/irssi/Makefile
> index a98011cbc4f..5bfeea4dcc2 100644
> --- a/net/irssi/Makefile
> +++ b/net/irssi/Makefile
> @@ -8,15 +8,11 @@ MULTI_PACKAGES = -main -otr
>  COMMENT-main =   modular IRC client with many features
>  COMMENT-otr =OTR (off-the-record) plugin for irssi
>  
> -V =  1.2.2
> +V =  1.2.3
>  DISTNAME =   irssi-$V
>  PKGSPEC-main =   irssi-=$V
>  PKGNAME-main =   irssi-$V
>  PKGNAME-otr =irssi-otr-$V
> -REVISION =   5
> -
> -PATCHFILES = glib-2-63.patch
> -PATCH_DIST_STRIP =   -p1
>  
>  CATEGORIES = net
>  
> diff --git a/net/irssi/distinfo b/net/irssi/distinfo
> index 9e030855e3c..aa1143d89ff 100644
> --- a/net/irssi/distinfo
> +++ b/net/irssi/distinfo
> @@ -1,4 +1,2 @@
> -SHA256 (glib-2-63.patch) = aomQgwWNg/Si0TSXcgKv6+qEVkGzRjA/3lY79iBc744=
> -SHA256 (irssi-1.2.2.tar.gz) = UxgoYdTSvm2zX6fj8FJKZNKlSjdDB1dNq19TYr/qVjw=
> -SIZE (glib-2-63.patch) = 1498
> -SIZE (irssi-1.2.2.tar.gz) = 1843879
> +SHA256 (irssi-1.2.3.tar.gz) = Kcu3RtfldZHY/PeZQG+yjLfC1zS8QojLuLTE4Fz5nCU=
> +SIZE (irssi-1.2.3.tar.gz) = 1824077
> 
> -- 
> Lauri Tirkkonen | lotheac @ IRCnet

-- 
Lauri Tirkkonen | lotheac @ IRCnet



CVS: cvs.openbsd.org: ports

2021-05-26 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2021/05/26 09:29:01

Modified files:
devel/py-protobuf: Makefile distinfo 

Log message:
Update to py-protobuf 3.17.1, ok gnezdo



CVS: cvs.openbsd.org: ports

2021-05-26 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2021/05/26 09:28:54

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

Log message:
Update to protobuf 3.17.1, ok gnezdo

https://github.com/protocolbuffers/protobuf/releases/tag/v3.17.0
https://github.com/protocolbuffers/protobuf/releases/tag/v3.17.1



CVS: cvs.openbsd.org: ports

2021-05-26 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/05/26 07:50:02

Modified files:
net/irssi  : Makefile distinfo 
net/irssi/patches: patch-src_fe-common_core_Makefile_in 
   patch-src_perl_Makefile_in 

Log message:
update to irssi-1.2.3, from Lauri Tirkkonen, plus sync patches



CVS: cvs.openbsd.org: ports

2021-05-26 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/05/26 07:01:29

Modified files:
graphics/birdfont: Makefile 

Log message:
switch from doit to build.py as currently recommended by upstream
(https://github.com/johanmattssonm/birdfont/issues/113)

hoping this helps with non-deterministic build failures



Re: rebar3 update

2021-05-26 Thread Jonathan Matthew
On Mon, May 24, 2021 at 05:07:12PM +0100, Stuart Henderson wrote:
> danj pointed out https://ferd.ca/you-ve-got-to-upgrade-rebar3.html;
> here's an update for the port to a version which both has a fix for this,
> and still supports erlang 21 (3.15.x support OTP 19 to 23; 3.16.x
> supports 22 to 24).

Thanks for looking at this.

> 
> while there I fixed the distfile name from the current bare version
> number, and got tests to work.
> 
> i think the existing patches to change these ...
> 
> -"$BINDIR/erl" -boot start_clean \
> +"$BINDIR/erl${ERL_VERSION}" -boot start_clean \
> 
> in relx_get_nodename() etc are incorrect, BINDIR refers to
> /usr/local/lib/erlang21/erts-10.2/bin where the files have no version
> suffix, so i've dropped those. (of course I've kept the patches for
> filenames searched in the default PATH).

I'm a bit confused about this.  BINDIR can also be the erts/bin
directory of a release generated by rebar3/relx, and in those, the erl
binary does have the version suffix.  I'm not sure how it gets there.
I'll look into this more.

> 
> the test suite passes, but i'm not really a user of this, so a
> real-world test is probably a good idea.

My main use for rebar3 is building current versions of databases/riak
(not yet in the ports tree), and last time I tried, it didn't work with
newer versions of rebar3.  I may be able to find something else.

> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/rebar3/Makefile,v
> retrieving revision 1.4
> diff -u -p -r1.4 Makefile
> --- Makefile  19 Feb 2021 03:58:34 -  1.4
> +++ Makefile  24 May 2021 15:43:55 -
> @@ -2,24 +2,21 @@
>  
>  COMMENT =Erlang build tool
>  
> -V=   3.13.2
> -PKGNAME= rebar3-${V}
> -DISTNAME=${V}
> -CATEGORIES=  devel
> -HOMEPAGE=https://www.rebar3.org
> +GH_ACCOUNT = erlang
> +GH_PROJECT = rebar3
> +GH_TAGNAME = 3.15.2
> +CATEGORIES = devel
> +HOMEPAGE =   https://www.rebar3.org
>  MAINTAINER = Jonathan Matthew 
>  
>  # APLv2
> -PERMIT_PACKAGE=  Yes
> +PERMIT_PACKAGE = Yes
>  
>  FLAVORS =erlang21
>  FLAVOR ?=erlang21
>  
> -MASTER_SITES =   https://github.com/erlang/rebar3/archive/
>  MASTER_SITES1 =  https://repo.hex.pm/tarballs/
>  
> -WRKDIST =${WRKDIR}/rebar3-${V}
> -
>  .if ${FLAVOR:Merlang21}
>  _EV =   ${FLAVOR:C/.*([0-9][0-9]+\$)/\1/}
>  RUN_DEPENDS =   lang/erlang/${_EV}
> @@ -28,22 +25,26 @@ ERL_VERSION =   ${_EV}
>  ERRORS +=   "Invalid FLAVOR set: ${FLAVOR}"
>  .endif
>  
> -EXTRACT_ONLY =   ${V}.tar.gz
> +EXTRACT_ONLY =   rebar3-${GH_TAGNAME}.tar.gz
>  
> +# certifi held back; >=2.6.0 -> "undefined parse transform 'certifi_pt'"
>  HEX_MODULES = \
> - bbmustache  1.8.0 \
> - certifi 2.5.1 \
> - cf  0.2.2 \
> - cth_readable1.4.6 \
> - erlware_commons 1.3.1 \
> + bbmustache  1.12.1 \
> + certifi 2.5.3 \
> + cf  0.3.1 \
> + cth_readable1.5.1 \
> + erlware_commons 1.5.0 \
>   eunit_formatters0.5.0 \
> - getopt  1.0.1 \
> - parse_trans 3.3.0 \
> + getopt  1.0.2 \
> + parse_trans 3.4.0 \
>   providers   1.8.1 \
> - relx3.33.0 \
> - ssl_verify_fun  1.1.5
> + relx4.4.0 \
> + ssl_verify_fun  1.1.6
> +# for tests
> +HEX_MODULES += \
> + meck0.8.13
>  
> -DISTFILES = ${V}.tar.gz
> +DISTFILES =  rebar3-{}${GH_TAGNAME}.tar.gz
>  .for _m _v in ${HEX_MODULES}
>  DISTFILES += ${_m}-${_v}.tar:1
>  .endfor
> @@ -75,5 +76,11 @@ do-build:
>  
>  do-install:
>   ${INSTALL_SCRIPT} ${WRKSRC}/rebar3 ${PREFIX}/bin/rebar3-${ERL_VERSION}
> +
> +PORTHOME=${WRKDIR}
> +do-test:
> + cd ${WRKSRC} && \
> + ${SETENV} ${ALL_TEST_ENV} ./rebar3 escriptize && \
> + ${SETENV} ${ALL_TEST_ENV} ./rebar3 ct
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/rebar3/distinfo,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 distinfo
> --- distinfo  26 Nov 2020 03:31:56 -  1.1.1.1
> +++ distinfo  24 May 2021 15:43:55 -
> @@ -1,24 +1,26 @@
> -SHA256 (3.13.2.tar.gz) = 4UzcH1t9Njojip9VX4noeLxPyDbJcFcbQbkO6Uf5FQU=
> -SHA256 (bbmustache-1.8.0.tar) = GQ6iIGEovfq/XZIAuN+X9lEdnGKVNlWCjijCvHkWElI=
> -SHA256 (certifi-2.5.1.tar) = gFq9l1Ocr4nsbUcyyR5iup2gzaUaxGI4C70o7ml6jEI=
> -SHA256 (cf-0.2.2.tar) = SCg7MBm8f61W57IwKKXaTT5s1ZilU6sqmaIVO/XxmyE=
> -SHA256 (cth_readable-1.4.6.tar) = 
> j3mde/1ESr/itMB8yzHFboAEMzXh7Tkzot+6NfjZdSM=
> 

CVS: cvs.openbsd.org: ports

2021-05-26 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/05/26 06:12:38

Modified files:
net/freeradius3: Makefile distinfo 
net/freeradius3/patches: patch-configure 
 patch-raddb_radiusd_conf_in 
 patch-src_main_detail_c 
 patch-src_main_tls_c 
 
patch-src_modules_rlm_eap_types_rlm_eap_fast_rlm_eap_fast_c 
net/freeradius3/pkg: PLIST-iodbc PLIST-ldap PLIST-main 
 PLIST-mysql PLIST-pgsql PLIST-python 
Added files:
net/freeradius3/patches: patch-src_main_cb_c 
 patch-src_modules_rlm_pap_rlm_pap_c 
Removed files:
net/freeradius3/patches: 
 patch-src_modules_rlm_realm_trustrouter_c 

Log message:
update to freeradius-3.0.22, various tweaks needed for openssl/libressl #ifdefs

N.B. This update removes support for LEAP; it was in default config for
eap so if using eap you're likely to need to remove the leap { } lines
from /etc/raddb/mods-available/eap



[new] graphics/yacreader + deps: qt comics reader

2021-05-26 Thread Dimitri Karamazov
Some changes

* Missing upstream library version (unarr).
* Wantlib was somewhat different in my case - No Qt5OpenGL,Qt5Script
  but Qt5Svg is required (must recheck).
* Changed the file distribution to be more like release.
* PLIST was missing some files.

Otherwise works fine for me on amd64.

Unarr-- 
-DISTNAME = unarr-1.0.1
+V =1.0.1
+DISTNAME = unarr-${V}
 
-SHARED_LIBS =  unarr   0.0
+SHARED_LIBS =  unarr   0.0 # 1.0.0
 
-HOMEPAGE = https://github.com/selmf/unarr
+HOMEPAGE = https://github.com/selmf/unarr/
 
-WANTLIB = bz2 lzma z
+WANTLIB += bz2 lzma z
 
-MASTER_SITES = https://github.com/selmf/unarr/releases/download/v1.0.1/
+MASTER_SITES = ${HOMEPAGE:=releases/download/v${V}/}
 
Yacreader--
-COMMENT =  comics reader
+COMMENT =  read and manage your digital comic collection
 
-DISTNAME = yacreader-9.8.0.2105165-src
-PKGNAME =  yacreader-9.8.0
+V =9.8.0
+DISTNAME = yacreader-${V}.2105165-src
+PKGNAME =  yacreader-${V}
 
-WANTLIB += ${COMPILER_LIBCXX} GL Qt5Core Qt5Gui Qt5Network Qt5Multimedia
-WANTLIB += Qt5OpenGL Qt5Qml Qt5QmlModels Qt5Quick Qt5QuickWidgets Qt5Script
-WANTLIB += Qt5Sql Qt5Widgets c m poppler-qt5 unarr
+WANTLIB += ${COMPILER_LIBCXX} GL Qt5Core Qt5Gui Qt5Multimedia
+WANTLIB += Qt5Network Qt5Qml Qt5QmlModels Qt5Quick Qt5QuickWidgets
+WANTLIB += Qt5Sql Qt5Svg Qt5Widgets c m poppler-qt5 unarr
 
-MASTER_SITES = https://github.com/YACReader/yacreader/releases/download/9.8.0/
+MASTER_SITES = https://github.com/YACReader/yacreader/releases/download/${V}/
 
-   x11/qt5/qtscript
+   x11/qt5/qtsvg
 
-WRKDIST =  ${WRKDIR}/yacreader-9.8.0.2105165
+WRKDIST =  ${WRKDIR}/${DISTNAME:S/-src//}
 
 do-install:
-   ${INSTALL_PROGRAM} ${WRKBUILD}/YACReader/YACReader \
-   ${PREFIX}/bin/YACReader
-   ${INSTALL_PROGRAM} ${WRKBUILD}/YACReaderLibrary/YACReaderLibrary \
-   ${PREFIX}/bin/YACReaderLibrary
-   ${INSTALL_PROGRAM} \
-   ${WRKBUILD}/YACReaderLibraryServer/YACReaderLibraryServer \
-   ${PREFIX}/bin/YACReaderLibraryServer
-   ${INSTALL_MAN} ${WRKSRC}/YACReader{,Library}.1 \
-   ${PREFIX}/man/man1
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/applications
+.for bin in YACReader YACReaderLibrary YACReaderLibraryServer
+   ${INSTALL_PROGRAM} ${WRKBUILD}/${bin}/${bin} ${PREFIX}/bin
+.endfor
+   ${INSTALL_MAN} ${WRKSRC}/YACReader{,Library}.1 ${PREFIX}/man/man1
+.for dir in applications icons/hicolor/scalable/apps yacreader
+   ${INSTALL_DATA_DIR} ${PREFIX}/share/${dir}
+.endfor
${INSTALL_DATA} ${WRKSRC}/YACReader{,Library}.desktop \
${PREFIX}/share/applications
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/scalable/apps
${INSTALL_DATA} ${WRKSRC}/YACReader{,Library}.svg \
${PREFIX}/share/icons/hicolor/scalable/apps
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/yacreader/languages
-   ${INSTALL_DATA} ${WRKSRC}/release/languages/*.qm \
-   ${PREFIX}/share/yacreader/languages/
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/yacreader/server
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/yacreader/server/{docroot,templates}
-   ${INSTALL_DATA} \
-   ${WRKSRC}/release/server/docroot/{css/*,images/*,*.html} \
-   ${PREFIX}/share/yacreader/server/docroot
-   ${INSTALL_DATA} ${WRKSRC}/release/server/templates/*.tpl \
-   ${PREFIX}/share/yacreader/server/templates
+   cd ${WRKSRC}/release && pax -rw . ${PREFIX}/share/yacreader


yacreader.tar.gz
Description: Binary data


unarr.tar.gz
Description: Binary data


CVS: cvs.openbsd.org: ports

2021-05-26 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2021/05/26 04:20:06

Modified files:
graphics/jpeg  : Makefile distinfo 
graphics/jpeg/patches: patch-CMakeLists_txt 
graphics/jpeg/pkg: PLIST 

Log message:
update to libjpeg-turbo-2.1.0



CVS: cvs.openbsd.org: ports

2021-05-26 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:ports
Changes by: bl...@cvs.openbsd.org   2021/05/26 04:01:40

Modified files:
devel/p5-Devel-CheckOS: Makefile distinfo 
devel/p5-Devel-CheckOS/pkg: PLIST 

Log message:
update p5-Devel-CheckOS to 1.87



Re: [new] graphics/yacreader + deps: qt comics reader

2021-05-26 Thread Omar Polo

Stuart Henderson  writes:

> On 2021/05/26 06:35, Dimitri Karamazov wrote:
>> Some changes
>> 
>> * Missing upstream library version (unarr).
>> * Wantlib was somewhat different in my case - No Qt5OpenGL,Qt5Script
>>   but Qt5Svg is required (must recheck).
>> * Changed the file distribution to be more like release.
>> * PLIST was missing some files.
>> 
>> Otherwise works fine for me on amd64.
>
> ok sthen to import, or alternatively with this which is a tiny bit neater imo

It never crossed my mind tha EXTRACT_SUFX could have something more than
the actual file extension.

Attaching an updated tarball with this improvement, thanks!

> --- Makefile.orig Wed May 26 09:43:43 2021
> +++ Makefile  Wed May 26 09:44:34 2021
> @@ -3,7 +3,7 @@
>  COMMENT =read and manage your digital comic collection
>  
>  V =  9.8.0
> -DISTNAME =   yacreader-${V}.2105165-src
> +DISTNAME =   yacreader-${V}.2105165
>  PKGNAME =yacreader-${V}
>  
>  CATEGORIES = graphics
> @@ -21,7 +21,7 @@ WANTLIB += Qt5Sql Qt5Svg Qt5Widgets c m poppler-qt5 un
>  
>  MASTER_SITES = https://github.com/YACReader/yacreader/releases/download/${V}/
>  
> -EXTRACT_SUFX =   .tar.xz
> +EXTRACT_SUFX =   -src.tar.xz
>  
>  # C++11
>  COMPILER =   base-clang ports-gcc
> @@ -35,8 +35,6 @@ LIB_DEPENDS =   archivers/unarr \
>   x11/qt5/qtsvg
>  RUN_DEPENDS =devel/desktop-file-utils \
>   x11/gtk+3,-guic
> -
> -WRKDIST =${WRKDIR}/${DISTNAME:S/-src//}
>  
>  do-install:
>  .for bin in YACReader YACReaderLibrary YACReaderLibraryServer



unarr.tar.gz
Description: Binary data


yacreader.tar.gz
Description: Binary data


Re: [NEW] www/py-adblock

2021-05-26 Thread Stuart Henderson
On 2021/05/25 02:59, Dimitri Karamazov wrote:
> On Mon, May 24, 2021 at 09:54:48PM +0100, Stuart Henderson wrote:
> > ok for maturin
> > 
> > py-adblock; tests fail for me like this. not necessarily a blocker,
> > do you want to send the qutebrowser diff to go with it to give a better
> > way to test?
> > 
> > 
> The tests are working fine upon a recheck, maybe something was wrong with
> the tarball so I've attached a new one with proper TEST_DEPENDS.

That doesn't change anything, TEST_DEPENDS isn't needed as they're
already in BUILD_DEPENDS and you can't test without building.
Anyway; tests still fail but runtime works.

These are OK sthen@ to import



py-adblock.tar.gz
Description: application/tar-gz


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


Re: [new] graphics/yacreader + deps: qt comics reader

2021-05-26 Thread Stuart Henderson
On 2021/05/26 06:35, Dimitri Karamazov wrote:
> Some changes
> 
> * Missing upstream library version (unarr).
> * Wantlib was somewhat different in my case - No Qt5OpenGL,Qt5Script
>   but Qt5Svg is required (must recheck).
> * Changed the file distribution to be more like release.
> * PLIST was missing some files.
> 
> Otherwise works fine for me on amd64.

ok sthen to import, or alternatively with this which is a tiny bit neater imo

--- Makefile.orig   Wed May 26 09:43:43 2021
+++ MakefileWed May 26 09:44:34 2021
@@ -3,7 +3,7 @@
 COMMENT =  read and manage your digital comic collection
 
 V =9.8.0
-DISTNAME = yacreader-${V}.2105165-src
+DISTNAME = yacreader-${V}.2105165
 PKGNAME =  yacreader-${V}
 
 CATEGORIES =   graphics
@@ -21,7 +21,7 @@ WANTLIB += Qt5Sql Qt5Svg Qt5Widgets c m poppler-qt5 un
 
 MASTER_SITES = https://github.com/YACReader/yacreader/releases/download/${V}/
 
-EXTRACT_SUFX = .tar.xz
+EXTRACT_SUFX = -src.tar.xz
 
 # C++11
 COMPILER = base-clang ports-gcc
@@ -35,8 +35,6 @@ LIB_DEPENDS = archivers/unarr \
x11/qt5/qtsvg
 RUN_DEPENDS =  devel/desktop-file-utils \
x11/gtk+3,-guic
-
-WRKDIST =  ${WRKDIR}/${DISTNAME:S/-src//}
 
 do-install:
 .for bin in YACReader YACReaderLibrary YACReaderLibraryServer




Re: mail/py-authres, mail/py-spf, mail/py-policyd-spf - Remove?

2021-05-26 Thread Giovanni Bechis
On 5/26/21 4:59 AM, J Doe wrote:
> On 2021-05-25 10:44 p.m., Daniel Jakots wrote:
>> On Wed, 27 Nov 2019 11:00:07 +, Stuart Henderson
>>  wrote:
>>
>>> On 2019/11/26 19:08, Kurt Mosiejczuk wrote:
 These 3 are python2-only, and the only consumers are in a chain from
 one to the next.  (py-policyd-spf needs py-spf which needs
 py-authres).

 Is anyone using these?

 Any objections to removing them?

 --Kurt
    
>>>
>>> I don't use them (I don't think SPF is really useful) but
>>> py-policyd-spf is the main recommended "standalone" implementation of
>>> SPF for Postfix (as opposed to being part of a much more complex
>>> system like rspamd). So if anybody is using them there's not much
>>> alternative (there is a similarly named perl program but it's not
>>> very good).
>>>
>>
>> In 2017 Giovanni (added in Cc:) sent a wip diff for mail/py-policyd-spf.
>> This never went in and then in January 2019 he imported
>> mail/postfix-policyd-spf-perl. Is that the perl program you had in mind
>> Stuart?
>>
>> I assume since Giovanni imported the perl thing, he doesn't use the
>> python one anymore.
>>
>> Given there's been a WIP diff to update py-policyd-spf since 2017 and
>> it never went in, it seems there's not much interest for it. The
>> proposal from kmos to remove it didn't seem to have shocked anyone into
>> maintaining it either.
>>
>> What do you think about the situation Giovanni?
>>
>> (I looked at it because I recently added spf support to my postfix
>> setup, and I did it through postfix-policyd-spf-perl).
>>
>>
>> Cheers,
>> Daniel
> 
> Hello,
> 
> Does the postfix-policyd-spf-perl version provide identical functionality to 
> the Python one ?
> 
No,
the Python version can be configured with several options, the Perl one can 
just accept/reject/tempfail.
Last commit of the Perl code is from 3 years ago, I do not think anyone will 
improve that code.

 Giovanni



OpenPGP_signature
Description: OpenPGP digital signature


Re: [new] graphics/yacreader + deps: qt comics reader

2021-05-26 Thread Omar Polo


Dimitri Karamazov  writes:

> Some changes
>
> * Missing upstream library version (unarr).
> * Wantlib was somewhat different in my case - No Qt5OpenGL,Qt5Script
>   but Qt5Svg is required (must recheck).
> * Changed the file distribution to be more like release.
> * PLIST was missing some files.
>
> Otherwise works fine for me on amd64.

Thanks for testing!

I don't know how I messed up with the wantlib (probably they changed
with the 9.8.0 update and I forgot to recheck), apologies; rebuilt and
re-checked, and now it's OK.

Thanks also for tidying the do-install target, and making me discover
pax(1)!

> Unarr--
>  
> -DISTNAME =   unarr-1.0.1
> +V =  1.0.1
> +DISTNAME =   unarr-${V}
>  
> -SHARED_LIBS =unarr   0.0
> +SHARED_LIBS =unarr   0.0 # 1.0.0
>  
> -HOMEPAGE =   https://github.com/selmf/unarr
> +HOMEPAGE =   https://github.com/selmf/unarr/
>  
> -WANTLIB = bz2 lzma z
> +WANTLIB += bz2 lzma z
>  
> -MASTER_SITES =   
> https://github.com/selmf/unarr/releases/download/v1.0.1/
> +MASTER_SITES =   ${HOMEPAGE:=releases/download/v${V}/}
>  
> Yacreader--
> -COMMENT =comics reader
> +COMMENT =read and manage your digital comic collection
>  
> -DISTNAME =   yacreader-9.8.0.2105165-src
> -PKGNAME =yacreader-9.8.0
> +V =  9.8.0
> +DISTNAME =   yacreader-${V}.2105165-src
> +PKGNAME =yacreader-${V}
>  
> -WANTLIB += ${COMPILER_LIBCXX} GL Qt5Core Qt5Gui Qt5Network Qt5Multimedia
> -WANTLIB += Qt5OpenGL Qt5Qml Qt5QmlModels Qt5Quick Qt5QuickWidgets Qt5Script
> -WANTLIB += Qt5Sql Qt5Widgets c m poppler-qt5 unarr
> +WANTLIB += ${COMPILER_LIBCXX} GL Qt5Core Qt5Gui Qt5Multimedia
> +WANTLIB += Qt5Network Qt5Qml Qt5QmlModels Qt5Quick Qt5QuickWidgets
> +WANTLIB += Qt5Sql Qt5Svg Qt5Widgets c m poppler-qt5 unarr
>  
> -MASTER_SITES = 
> https://github.com/YACReader/yacreader/releases/download/9.8.0/
> +MASTER_SITES = https://github.com/YACReader/yacreader/releases/download/${V}/
>  
> - x11/qt5/qtscript
> + x11/qt5/qtsvg
>  
> -WRKDIST =${WRKDIR}/yacreader-9.8.0.2105165
> +WRKDIST =${WRKDIR}/${DISTNAME:S/-src//}
>  
>  do-install:
> - ${INSTALL_PROGRAM} ${WRKBUILD}/YACReader/YACReader \
> - ${PREFIX}/bin/YACReader
> - ${INSTALL_PROGRAM} ${WRKBUILD}/YACReaderLibrary/YACReaderLibrary \
> - ${PREFIX}/bin/YACReaderLibrary
> - ${INSTALL_PROGRAM} \
> - ${WRKBUILD}/YACReaderLibraryServer/YACReaderLibraryServer \
> - ${PREFIX}/bin/YACReaderLibraryServer
> - ${INSTALL_MAN} ${WRKSRC}/YACReader{,Library}.1 \
> - ${PREFIX}/man/man1
> - ${INSTALL_DATA_DIR} ${PREFIX}/share/applications
> +.for bin in YACReader YACReaderLibrary YACReaderLibraryServer
> + ${INSTALL_PROGRAM} ${WRKBUILD}/${bin}/${bin} ${PREFIX}/bin
> +.endfor
> + ${INSTALL_MAN} ${WRKSRC}/YACReader{,Library}.1 ${PREFIX}/man/man1
> +.for dir in applications icons/hicolor/scalable/apps yacreader
> + ${INSTALL_DATA_DIR} ${PREFIX}/share/${dir}
> +.endfor
>   ${INSTALL_DATA} ${WRKSRC}/YACReader{,Library}.desktop \
>   ${PREFIX}/share/applications
> - ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/scalable/apps
>   ${INSTALL_DATA} ${WRKSRC}/YACReader{,Library}.svg \
>   ${PREFIX}/share/icons/hicolor/scalable/apps
> - ${INSTALL_DATA_DIR} ${PREFIX}/share/yacreader/languages
> - ${INSTALL_DATA} ${WRKSRC}/release/languages/*.qm \
> - ${PREFIX}/share/yacreader/languages/
> - ${INSTALL_DATA_DIR} ${PREFIX}/share/yacreader/server
> - ${INSTALL_DATA_DIR} ${PREFIX}/share/yacreader/server/{docroot,templates}
> - ${INSTALL_DATA} \
> - ${WRKSRC}/release/server/docroot/{css/*,images/*,*.html} \
> - ${PREFIX}/share/yacreader/server/docroot
> - ${INSTALL_DATA} ${WRKSRC}/release/server/templates/*.tpl \
> - ${PREFIX}/share/yacreader/server/templates
> + cd ${WRKSRC}/release && pax -rw . ${PREFIX}/share/yacreader



CVS: cvs.openbsd.org: ports

2021-05-26 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/05/26 01:25:04

Modified files:
databases/evolution-data-server: Makefile 

Log message:
Add support for libphonenumber.



CVS: cvs.openbsd.org: ports

2021-05-26 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2021/05/26 01:14:52

Modified files:
x11/gnome/librsvg: Makefile distinfo 

Log message:
Update to librsvg-2.50.6.