kde breakage (v2)

2020-06-21 Thread Antoine Jacoutot
These failed in my last bulk.


x11/kde-applications/pimcommon


-- Found Gettext: /usr/local/bin/msgmerge (found version "0.20.2") 
CMake Error at 
/usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 
(message):
  Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is at least
  version "1.34.0")
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 
(_FPHSA_FAILURE_MESSAGE)
  /usr/local/share/cmake/Modules/FindBoost.cmake:2162 
(find_package_handle_standard_args)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 
(find_package)
  /usr/local/lib/cmake/KF5Akonadi/KF5AkonadiConfig.cmake:56 (find_dependency)
  CMakeLists.txt:57 (find_package)


-- Configuring incomplete, errors occurred!


x11/kde-applications/kleopatra


-- Found assuan v2.5.3
--  Checking whether assuan is usable...yes
-- Usable assuan found.
--  Includes:  /usr/local/include
--  Libraries: 
/usr/local/lib/libassuan.so.2.1;/usr/local/lib/libgpg-error.so.3.21
CMake Error at 
/usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 
(message):
  Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is at least
  version "1.34.0")
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 
(_FPHSA_FAILURE_MESSAGE)
  /usr/local/share/cmake/Modules/FindBoost.cmake:2162 
(find_package_handle_standard_args)
  CMakeLists.txt:93 (find_package)


-- Configuring incomplete, errors occurred!


x11/kde-applications/mailimporter


-- Found Gettext: /usr/local/bin/msgmerge (found version "0.20.2") 
CMake Error at 
/usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 
(message):
  Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is at least
  version "1.34.0")
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 
(_FPHSA_FAILURE_MESSAGE)
  /usr/local/share/cmake/Modules/FindBoost.cmake:2162 
(find_package_handle_standard_args)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 
(find_package)
  /usr/local/lib/cmake/KF5Akonadi/KF5AkonadiConfig.cmake:56 (find_dependency)
  CMakeLists.txt:44 (find_package)


-- Configuring incomplete, errors occurred!


-- 
Antoine



Re: purritobin-0.1.2 - new package + dependencies

2020-06-21 Thread Aisha Tammy
On 6/13/20 4:48 PM, Aisha Tammy wrote:
> On 6/12/20 5:49 PM, Brian Callahan wrote:
>>
>> ‐‐‐ Original Message ‐‐‐
>> On Friday, June 12, 2020 5:48 PM, Stuart Henderson  
>> wrote:
>>
>>> On 2020/06/12 21:34, Brian Callahan wrote:
>>>
 Maybe it would be nice to upstream the usockets shared library building?
>>>
>>> upstream say WONTFIX, they are more interested in performance than
>>> something which can be used in OS packaging.
>>>
>>> https://github.com/uNetworking/uSockets/issues/99#issuecomment-627384325
>>
>> Ah, missed that thanks.
>> In that case, we can certainly support a single patch for it.
>>
>> ~Brian
>>
> Yes, an unfortunate scenario.
> 
> I've added them again with the two from Brian and the uwebsockets
> updated to 18.3.0
> 
> Thanks a lot!
> 
> Aisha
> 
> 

Another bump.
Also updated uwebsockets to 18.4.0

Aisha


uwebsockets.tgz
Description: application/compressed-tar


usockets.tgz
Description: application/compressed-tar


purritobin.tgz
Description: application/compressed-tar


Re: [update] openmw-0.46.0

2020-06-21 Thread Thomas Frohwein
On Sun, Jun 21, 2020 at 01:42:56PM +0300, Timo Myyrä wrote:
> Hi,
> 
> OpenMW got a new release:
> https://openmw.org/2020/openmw-0-46-0-released/
> 
> I've been playing with this on amd64, seems to work so far.

Compiles fine; runs on a few minutes of playtesting, but performance on
this Ryzen 7 2700 with Radeon HD6870 still leaves a bit to be desired,
but that was similar before. Feels like 20-30 FPS on 1080p with details
on the higher side.

It looks like some missing WANTLIBs are picked up by make
port-lib-depends-check:

Missing: boost_iostreams-mt.10 from boost-1.66.0p11 
(/usr/local/bin/openmw-wizard)
Missing: osgShadow.1 from openscenegraph-3.4.1p6 (/usr/local/bin/openmw-wizard)
WANTLIB += boost_iostreams-mt osgShadow

Would be good if that could be added or clarified by Pascal. With that
ok thfr@

> 
> timo
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/games/openmw/Makefile,v
> retrieving revision 1.23
> diff -u -p -u -p -r1.23 Makefile
> --- Makefile  24 May 2020 21:11:00 -  1.23
> +++ Makefile  21 Jun 2020 10:39:50 -
> @@ -4,12 +4,11 @@ ONLY_FOR_ARCHS =amd64 i386
>  
>  COMMENT =open source implementation of TES III: Morrowind
>  
> -V =  0.45.0
> +V =  0.46.0
>  GH_ACCOUNT = OpenMW
>  GH_PROJECT = openmw
>  GH_TAGNAME = openmw-$V
>  DISTNAME =   openmw-$V
> -REVISION =   0
>  
>  CATEGORIES = games
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/games/openmw/distinfo,v
> retrieving revision 1.9
> diff -u -p -u -p -r1.9 distinfo
> --- distinfo  25 Nov 2019 10:21:25 -  1.9
> +++ distinfo  21 Jun 2020 10:39:50 -
> @@ -1,2 +1,2 @@
> -SHA256 (openmw-0.45.0.tar.gz) = tjz5cfQG718oAZ9l6eK9lkGiJ0We3kXRR1YpF/Z+HGQ=
> -SIZE (openmw-0.45.0.tar.gz) = 4711103
> +SHA256 (openmw-0.46.0.tar.gz) = B6NajxX2f1qnIQwqMHpttWYKm2H+NJg8NbFyyGca/Vg=
> +SIZE (openmw-0.46.0.tar.gz) = 5155004
> Index: patches/patch-components_crashcatcher_crashcatcher_cpp
> ===
> RCS file: patches/patch-components_crashcatcher_crashcatcher_cpp
> diff -N patches/patch-components_crashcatcher_crashcatcher_cpp
> --- patches/patch-components_crashcatcher_crashcatcher_cpp25 Nov 2019 
> 10:21:25 -  1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,152 +0,0 @@
> -$OpenBSD: patch-components_crashcatcher_crashcatcher_cpp,v 1.1 2019/11/25 
> 10:21:25 solene Exp $
> -
> -Fixes game failing to start.
> -Upstream commit fe69e5507df97d84d3cb29d760da78f64e41cc07
> -
> -Index: components/crashcatcher/crashcatcher.cpp
>  components/crashcatcher/crashcatcher.cpp.orig
> -+++ components/crashcatcher/crashcatcher.cpp
> -@@ -17,6 +17,7 @@
> - #include 
> - 
> - #include 
> -+#include 
> - 
> - namespace bfs = boost::filesystem;
> - 
> -@@ -34,9 +35,13 @@ namespace bfs = boost::filesystem;
> - 
> - #if defined(__APPLE__)
> - #include 
> -+#include 
> - #endif
> - 
> --#define UNUSED(x) (void)(x)
> -+#if defined(__FreeBSD__)
> -+#include 
> -+#include 
> -+#endif
> - 
> - static const char crash_switch[] = "--cc-handle-crash";
> - 
> -@@ -413,6 +418,39 @@ static void crash_handler(const char *logfile)
> - exit(0);
> - }
> - 
> -+static void getExecPath(char **argv)
> -+{
> -+#if defined (__FreeBSD__)
> -+int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 };
> -+size_t size = sizeof(argv0);
> -+
> -+if (sysctl(mib, 4, argv0, &size, nullptr, 0) == 0)
> -+return;
> -+#endif
> -+
> -+#if defined (__APPLE__)
> -+if(proc_pidpath(getpid(), argv0, sizeof(argv0)) > 0)
> -+return;
> -+#endif
> -+int cwdlen;
> -+const char *statusPaths[] = {"/proc/self/exe", "/proc/self/file", 
> "/proc/curproc/exe", "/proc/curproc/file"};
> -+memset(argv0, 0, sizeof(argv0));
> -+
> -+for(const char *path : statusPaths)
> -+{
> -+if (readlink(path, argv0, sizeof(argv0)) != -1)
> -+return;
> -+}
> -+
> -+if(argv[0][0] == '/')
> -+snprintf(argv0, sizeof(argv0), "%s", argv[0]);
> -+else if (getcwd(argv0, sizeof(argv0)) != NULL)
> -+{
> -+cwdlen = strlen(argv0);
> -+snprintf(argv0+cwdlen, sizeof(argv0)-cwdlen, "/%s", argv[0]);
> -+}
> -+}
> -+
> - int crashCatcherInstallHandlers(int argc, char **argv, int num_signals, int 
> *signals, const char *logfile, int (*user_info)(char*, char*))
> - {
> - struct sigaction sa;
> -@@ -424,20 +462,7 @@ int crashCatcherInstallHandlers(int argc, char **argv,
> - 
> - cc_user_info = user_info;
> - 
> --if(argv[0][0] == '/')
> --snprintf(argv0, sizeof(argv0), "%s", argv[0]);
> --else
> --{
> --{
> --/* we don't want to disable "ignoring return value" warnings, 
> so we make
> -- * a special exception here. */
> --char * unused;
> -

Enable LADSPA support in FFmpeg

2020-06-21 Thread Laurence Tratt
This (very) simple patch enables LADSPA support in FFmpeg. It only requires
a build dependency: if users don't want LADSPA at run-time they don't have
to have it installed. This thus seems like a relatively benign -- and
fairly useful -- addition to our FFmpeg port.

You can try this out with a command such as:

  $ ffmpeg -i in.aac -af 
"ladspa=file=/usr/local/lib/ladspa/amp.so:p=amp_stereo:c=c0=10" out.aac

This will amplify "in.aac" by 10dB and write the output to "out.aac".


Laurie


Index: Makefile
===
RCS file: /cvs/ports/graphics/ffmpeg/Makefile,v
retrieving revision 1.201
diff -u -r1.201 Makefile
--- Makefile18 Jun 2020 07:03:15 -  1.201
+++ Makefile21 Jun 2020 21:51:06 -
@@ -35,7 +35,8 @@
 COMPILER=  base-clang ports-gcc
 COMPILER_LANGS=c
 
-BUILD_DEPENDS= textproc/texi2html \
+BUILD_DEPENDS= audio/ladspa \
+   textproc/texi2html \
multimedia/frei0r-plugins
 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
 BUILD_DEPENDS+=devel/nasm
@@ -102,6 +103,7 @@
--enable-fontconfig \
--enable-frei0r \
--enable-gpl \
+   --enable-ladspa \
--enable-libaom \
--enable-libass \
--enable-libdav1d \



Re: [update] openmw-0.46.0

2020-06-21 Thread Klemens Nanni
On Sun, Jun 21, 2020 at 01:42:56PM +0300, Timo Myyrä wrote:
> I've been playing with this on amd64, seems to work so far.

$ make port-lib-depends-check
openmw-0.46.0(games/openmw):
Missing: boost_iostreams-mt.10 from boost-1.66.0p11 
(/usr/local/bin/openmw-wizard)
Missing: osgShadow.1 from openscenegraph-3.4.1p6 
(/usr/local/bin/openmw-wizard)
WANTLIB += boost_iostreams-mt osgShadow

OK kn with those added (preferably sorted), Morrowind keeps working for
me.



UPDATE: security/luasec-0.9

2020-06-21 Thread Gleydson Soares
the following diff updates luasec to 0.9.

the only consumer of luasec on ports is net/prosody
looks like regress is broken though, see:

===>  Regression tests for prosody-0.11.5
busted --lua=lua51
/bin/sh: busted: not found

seems lua-busted is not in ports yet, so maybe we should
set NO_TEST until busted is in.
? luasec-0.9.diff
Index: Makefile
===
RCS file: /cvs/ports/security/luasec/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- Makefile12 Jul 2019 20:49:05 -  1.22
+++ Makefile21 Jun 2020 20:45:41 -
@@ -4,8 +4,7 @@ COMMENT=lua binding to OpenSSL to provi
 
 GH_ACCOUNT=brunoos
 GH_PROJECT=luasec
-GH_TAGNAME=luasec-0.7
-DISTNAME=  ${GH_TAGNAME}
+GH_TAGNAME=v0.9
 
 CATEGORIES=security
 
Index: distinfo
===
RCS file: /cvs/ports/security/luasec/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo8 Sep 2018 17:21:14 -   1.7
+++ distinfo21 Jun 2020 20:45:41 -
@@ -1,2 +1,2 @@
-SHA256 (luasec-0.7.tar.gz) = IXbpWx0qcqMjXt5dKqmDgFD+7lXa3o/b3kvn/cZvOjE=
-SIZE (luasec-0.7.tar.gz) = 47965
+SHA256 (luasec-0.9.tar.gz) = a2uU6FF79rr1RfrSmiES+ax5V62FtKro4HJ77HfXoyU=
+SIZE (luasec-0.9.tar.gz) = 52163
Index: patches/patch-src_Makefile
===
RCS file: /cvs/ports/security/luasec/patches/patch-src_Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 patch-src_Makefile
--- patches/patch-src_Makefile  8 Sep 2018 17:21:14 -   1.6
+++ patches/patch-src_Makefile  21 Jun 2020 20:45:41 -
@@ -2,7 +2,7 @@ $OpenBSD: patch-src_Makefile,v 1.6 2018/
 Index: src/Makefile
 --- src/Makefile.orig
 +++ src/Makefile
-@@ -12,8 +12,8 @@ LIBS=-lssl -lcrypto -lluasocket
+@@ -13,8 +13,8 @@ LIBS=-lssl -lcrypto -lluasocket
  
  WARN=-Wall -pedantic
  
Index: pkg/PLIST
===
RCS file: /cvs/ports/security/luasec/pkg/PLIST,v
retrieving revision 1.8
diff -u -p -r1.8 PLIST
--- pkg/PLIST   8 Sep 2018 17:21:14 -   1.8
+++ pkg/PLIST   21 Jun 2020 20:45:41 -
@@ -1,9 +1,13 @@
 @comment $OpenBSD: PLIST,v 1.8 2018/09/08 17:21:14 gsoares Exp $
-lib/lua/${MODLUA_VERSION}/ssl.so
+@so lib/lua/${MODLUA_VERSION}/ssl.so
 share/examples/${FULLPKGNAME}/
 share/examples/${FULLPKGNAME}/README
+share/examples/${FULLPKGNAME}/alpn/
+share/examples/${FULLPKGNAME}/alpn/client.lua
+share/examples/${FULLPKGNAME}/alpn/server.lua
 share/examples/${FULLPKGNAME}/certs/
 share/examples/${FULLPKGNAME}/certs/all.bat
+share/examples/${FULLPKGNAME}/certs/all.sh
 share/examples/${FULLPKGNAME}/certs/clientA.bat
 share/examples/${FULLPKGNAME}/certs/clientA.cnf
 share/examples/${FULLPKGNAME}/certs/clientA.sh
@@ -29,6 +33,8 @@ share/examples/${FULLPKGNAME}/chain/util
 share/examples/${FULLPKGNAME}/curve-negotiation/
 share/examples/${FULLPKGNAME}/curve-negotiation/client.lua
 share/examples/${FULLPKGNAME}/curve-negotiation/server.lua
+share/examples/${FULLPKGNAME}/dane/
+share/examples/${FULLPKGNAME}/dane/client.lua
 share/examples/${FULLPKGNAME}/dhparam/
 share/examples/${FULLPKGNAME}/dhparam/client.lua
 share/examples/${FULLPKGNAME}/dhparam/params.sh
@@ -54,6 +60,11 @@ share/examples/${FULLPKGNAME}/loop/serve
 share/examples/${FULLPKGNAME}/luaossl/
 share/examples/${FULLPKGNAME}/luaossl/client.lua
 share/examples/${FULLPKGNAME}/luaossl/server.lua
+share/examples/${FULLPKGNAME}/multicert/
+share/examples/${FULLPKGNAME}/multicert/client-ecdsa.lua
+share/examples/${FULLPKGNAME}/multicert/client-rsa.lua
+share/examples/${FULLPKGNAME}/multicert/gencerts.sh
+share/examples/${FULLPKGNAME}/multicert/server.lua
 share/examples/${FULLPKGNAME}/oneshot/
 share/examples/${FULLPKGNAME}/oneshot/client.lua
 share/examples/${FULLPKGNAME}/oneshot/server.lua


Re: http://search.cpan.org/dist/ --> https://metacpan.org/release/

2020-06-21 Thread Stuart Henderson
On 2020/06/22 02:59, Yozo TODA wrote:
> I've playing with some perl modules a few days, and found
> some obsolete information in cpan.port.mk and port-modules.5.
> 
>   "http://search.cpan.org/dist/"; should be now "https://metacpan.org/release/";
>   (all accesses are redirected now...)
> 
>   reference:
>   Saying Goodbye to search.cpan.org (Jun 26, 2018 by Olaf Alders)
>   https://www.perl.com/article/saying-goodbye-to-search-cpan-org/
> 
> I suppose cpan.port.mk and port-modules.5 should be updated.
> anyone please confirm the following diff?
> 
> 
> Index: infrastructure/mk/cpan.port.mk
> ===
> RCS file: /cvs/ports/infrastructure/mk/cpan.port.mk,v
> retrieving revision 1.21
> diff -u -p -r1.21 cpan.port.mk
> --- infrastructure/mk/cpan.port.mk4 Feb 2019 20:53:09 -   1.21
> +++ infrastructure/mk/cpan.port.mk21 Jun 2020 17:53:40 -
> @@ -7,7 +7,7 @@ MASTER_SITES ?=   ${MASTER_SITE_PERL_CPAN:
>  MASTER_SITES ?=  
> ${MASTER_SITE_PERL_CPAN:=../by-authors/id/${CPAN_AUTHOR:C/^(.).*/\1/}/${CPAN_AUTHOR:C/^(..).*/\1/}/${CPAN_AUTHOR}/}
>  .endif
>  
> -HOMEPAGE ?=  http://search.cpan.org/dist/${DISTNAME:C/-[^-]*$//}/
> +HOMEPAGE ?=  https://metacpan.org/release/${DISTNAME:C/-[^-]*$//}/
>  
>  CATEGORIES +=perl5
>  .if ! ${CONFIGURE_STYLE:L:Mperl}

It does seem a good idea, but it's a lot of work, it is necessary
to bump REVISION in all ports where the HOMEPAGE is changed as a
result of this. That is around 1700 ports.



Re: http://search.cpan.org/dist/ --> https://metacpan.org/release/

2020-06-21 Thread Daniel Dickman
This has come up before.

Every port that’s affected needs to be bumped.

I don’t think the below is enough unfortunately.

Better to let someone do it mechanically.

> On Jun 21, 2020, at 3:13 PM, Yozo TODA  wrote:
> 
> I've playing with some perl modules a few days, and found
> some obsolete information in cpan.port.mk and port-modules.5.
> 
>  "http://search.cpan.org/dist/"; should be now "https://metacpan.org/release/";
>  (all accesses are redirected now...)
> 
>  reference:
>  Saying Goodbye to search.cpan.org (Jun 26, 2018 by Olaf Alders)
>  https://www.perl.com/article/saying-goodbye-to-search-cpan-org/
> 
> I suppose cpan.port.mk and port-modules.5 should be updated.
> anyone please confirm the following diff?
> 
> 
> Index: infrastructure/mk/cpan.port.mk
> ===
> RCS file: /cvs/ports/infrastructure/mk/cpan.port.mk,v
> retrieving revision 1.21
> diff -u -p -r1.21 cpan.port.mk
> --- infrastructure/mk/cpan.port.mk4 Feb 2019 20:53:09 -1.21
> +++ infrastructure/mk/cpan.port.mk21 Jun 2020 17:53:40 -
> @@ -7,7 +7,7 @@ MASTER_SITES ?=${MASTER_SITE_PERL_CPAN:
> MASTER_SITES ?=
> ${MASTER_SITE_PERL_CPAN:=../by-authors/id/${CPAN_AUTHOR:C/^(.).*/\1/}/${CPAN_AUTHOR:C/^(..).*/\1/}/${CPAN_AUTHOR}/}
> .endif
> 
> -HOMEPAGE ?=http://search.cpan.org/dist/${DISTNAME:C/-[^-]*$//}/
> +HOMEPAGE ?=https://metacpan.org/release/${DISTNAME:C/-[^-]*$//}/
> 
> CATEGORIES +=perl5
> .if ! ${CONFIGURE_STYLE:L:Mperl}
> 
> 
> Index: share/man/man5/port-modules.5
> ===
> RCS file: /cvs/src/share/man/man5/port-modules.5,v
> retrieving revision 1.243
> diff -u -p -r1.243 port-modules.5
> --- share/man/man5/port-modules.526 Jan 2020 11:11:39 -1.243
> +++ share/man/man5/port-modules.521 Jun 2020 17:46:09 -
> @@ -429,7 +429,7 @@ to locate the right directory.
> If no
> .Ev HOMEPAGE
> is defined, it will default to
> -.Pa http://search.cpan.org/dist/${DISTNAME:C/-[^-]*$//}/
> +.Pa https://metacpan.org/release/${DISTNAME:C/-[^-]*$//}/
> .Pp
> User settings: set
> .Ev CPAN_REPORT
> 
> 
> -- yozo.
> 



http://search.cpan.org/dist/ --> https://metacpan.org/release/

2020-06-21 Thread Yozo TODA
I've playing with some perl modules a few days, and found
some obsolete information in cpan.port.mk and port-modules.5.

  "http://search.cpan.org/dist/"; should be now "https://metacpan.org/release/";
  (all accesses are redirected now...)

  reference:
  Saying Goodbye to search.cpan.org (Jun 26, 2018 by Olaf Alders)
  https://www.perl.com/article/saying-goodbye-to-search-cpan-org/

I suppose cpan.port.mk and port-modules.5 should be updated.
anyone please confirm the following diff?


Index: infrastructure/mk/cpan.port.mk
===
RCS file: /cvs/ports/infrastructure/mk/cpan.port.mk,v
retrieving revision 1.21
diff -u -p -r1.21 cpan.port.mk
--- infrastructure/mk/cpan.port.mk  4 Feb 2019 20:53:09 -   1.21
+++ infrastructure/mk/cpan.port.mk  21 Jun 2020 17:53:40 -
@@ -7,7 +7,7 @@ MASTER_SITES ?= ${MASTER_SITE_PERL_CPAN:
 MASTER_SITES ?=
${MASTER_SITE_PERL_CPAN:=../by-authors/id/${CPAN_AUTHOR:C/^(.).*/\1/}/${CPAN_AUTHOR:C/^(..).*/\1/}/${CPAN_AUTHOR}/}
 .endif
 
-HOMEPAGE ?=http://search.cpan.org/dist/${DISTNAME:C/-[^-]*$//}/
+HOMEPAGE ?=https://metacpan.org/release/${DISTNAME:C/-[^-]*$//}/
 
 CATEGORIES +=  perl5
 .if ! ${CONFIGURE_STYLE:L:Mperl}


Index: share/man/man5/port-modules.5
===
RCS file: /cvs/src/share/man/man5/port-modules.5,v
retrieving revision 1.243
diff -u -p -r1.243 port-modules.5
--- share/man/man5/port-modules.5   26 Jan 2020 11:11:39 -  1.243
+++ share/man/man5/port-modules.5   21 Jun 2020 17:46:09 -
@@ -429,7 +429,7 @@ to locate the right directory.
 If no
 .Ev HOMEPAGE
 is defined, it will default to
-.Pa http://search.cpan.org/dist/${DISTNAME:C/-[^-]*$//}/
+.Pa https://metacpan.org/release/${DISTNAME:C/-[^-]*$//}/
 .Pp
 User settings: set
 .Ev CPAN_REPORT


 -- yozo.



NEW: opencoarrays for gcc fortran

2020-06-21 Thread j

Hi ports,

GCC Fortran supports Co-Array Fortran, which is a higher-level
language abstraction that uses MPI as a basis.  CAF support for a
single machine is already included in the GCC Fortran package.

This is the runtime library to enable CAF programs to run across a
cluster using OpenMPI.

In CAF, fetch a slice of an array with [] syntax

   cafarr(:5) = cafarr(:5)[2]

copies the current values of the slice on node #2 to the current
node. No MPI code needed.

Tests/reviews welcome.


John





opencoarrays_271.tgz
Description: GNU Zip compressed data


Re: update: devel/py-pip

2020-06-21 Thread Paco Esteban
Ping ?
(diff at the end for convenience).

On Fri, 12 Jun 2020, Paco Esteban wrote:

> Hi ports@,
> 
> This is an update of devel/py-pip to 20.1.1
> 
> Lightly tested installing some libs with the `--user` flag and works
> fine for me on amd64.
> 
> I ran regression tests on all consumers with the exact same results
> before and after the upgrade:
>   > devel/py-setuptools_scm
> 1 failed, 121 passed, 5 skipped in 121.67 seconds
>   > sysutils/salt
> tests crash
> ModuleNotFoundError: No module named 'pytestsalt'
>   > devel/py-wbem
> ran 0 tests.
>   > net/napalm/py-napalm
> tests fail.  At some point it tries to download "pynxos" and
> PORTS_PRIVSEP prevents it.
> 
> I guess it does not make any sense to make this py3 only while we have
> python2 in ports.
> 
> Comments ? Ok ?
> ...

Index: Makefile
===
RCS file: /home/cvs/ports/devel/py-pip/Makefile,v
retrieving revision 1.34
diff -u -p -r1.34 Makefile
--- Makefile25 Aug 2019 07:30:37 -  1.34
+++ Makefile12 Jun 2020 16:46:18 -
@@ -2,7 +2,7 @@
 
 COMMENT =  tool for installing Python packages
 
-MODPY_EGG_VERSION =19.1.1
+MODPY_EGG_VERSION =20.1.1
 DISTNAME = pip-${MODPY_EGG_VERSION}
 PKGNAME =  py-${DISTNAME}
 CATEGORIES =   devel
Index: distinfo
===
RCS file: /home/cvs/ports/devel/py-pip/distinfo,v
retrieving revision 1.17
diff -u -p -r1.17 distinfo
--- distinfo25 Aug 2019 07:30:37 -  1.17
+++ distinfo12 Jun 2020 16:46:30 -
@@ -1,2 +1,2 @@
-SHA256 (pip-19.1.1.tar.gz) = RNPX09MKHrZcfl/xFzzfj3RnhQYFrHzDcHtgZL3dCVg=
-SIZE (pip-19.1.1.tar.gz) = 1334144
+SHA256 (pip-20.1.1.tar.gz) = J/jcKTh92DJJ4G5oHOCH5gYYJlghmKQlCF4L9MHPOlU=
+SIZE (pip-20.1.1.tar.gz) = 1475109
Index: pkg/PLIST
===
RCS file: /home/cvs/ports/devel/py-pip/pkg/PLIST,v
retrieving revision 1.14
diff -u -p -r1.14 PLIST
--- pkg/PLIST   25 Aug 2019 07:30:37 -  1.14
+++ pkg/PLIST   12 Jun 2020 16:48:01 -
@@ -23,14 +23,12 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/pip/_internal/${MODPY_PYCACHE}build_env.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/pip/_internal/${MODPY_PYCACHE}cache.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/pip/_internal/${MODPY_PYCACHE}configuration.${MODPY_PYC_MAGIC_TAG}pyc
-lib/python${MODPY_VERSION}/site-packages/pip/_internal/${MODPY_PYCACHE}download.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/pip/_internal/${MODPY_PYCACHE}exceptions.${MODPY_PYC_MAGIC_TAG}pyc
-lib/python${MODPY_VERSION}/site-packages/pip/_internal/${MODPY_PYCACHE}index.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/pip/_internal/${MODPY_PYCACHE}locations.${MODPY_PYC_MAGIC_TAG}pyc
-lib/python${MODPY_VERSION}/site-packages/pip/_internal/${MODPY_PYCACHE}pep425tags.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/pip/_internal/${MODPY_PYCACHE}main.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/pip/_internal/${MODPY_PYCACHE}pyproject.${MODPY_PYC_MAGIC_TAG}pyc
-lib/python${MODPY_VERSION}/site-packages/pip/_internal/${MODPY_PYCACHE}resolve.${MODPY_PYC_MAGIC_TAG}pyc
-lib/python${MODPY_VERSION}/site-packages/pip/_internal/${MODPY_PYCACHE}wheel.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/pip/_internal/${MODPY_PYCACHE}self_outdated_check.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/pip/_internal/${MODPY_PYCACHE}wheel_builder.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/pip/_internal/build_env.py
 lib/python${MODPY_VERSION}/site-packages/pip/_internal/cache.py
 lib/python${MODPY_VERSION}/site-packages/pip/_internal/cli/
@@ -40,22 +38,34 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/pip/_internal/cli/${MODPY_PYCACHE}autocompletion.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/pip/_internal/cli/${MODPY_PYCACHE}base_command.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/pip/_internal/cli/${MODPY_PYCACHE}cmdoptions.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/pip/_internal/cli/${MODPY_PYCACHE}command_context.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/pip/_internal/cli/${MODPY_PYCACHE}main.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/pip/_internal/cli/${MODPY_PYCACHE}main_parser.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/pip/_internal/cli/${MODPY_PYCACHE}parser.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/pip/_internal/cli/${MODPY_PYCACHE}progress_bars.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/pip/_internal/cli/${MODPY_PYCACHE}req_command

Re: UPDATE: net/castget 2.0.1

2020-06-21 Thread Gleydson Soares
Hi Caspar,

> Thanks for your feedback. I updated the HOMEPAGE, thanks. I would be
> fine with taking over maintainership. The updated diff below reflects
> that.

committed, thanks.



Re: [update] net/onioncat 0.2.1 -> 0.3.8

2020-06-21 Thread Paul Irofti
On Sun, Jun 21, 2020 at 12:31:45PM +0100, Stuart Henderson wrote:
> On 2020/06/20 10:07, Martin wrote:
> > Improved port of net/onioncat.
> > 
> > * Stability to prevent segmentation faults
> > * New functionality implemented
> > Like "distributed virtual switch" functionality;
> > Additional integrated loopback responders to simplify setup and debugging
> > * gcat symlink has been removed completely because of coreutils conflict
> > * man page has been improved to reflect all the changes made
> > 
> > OK?
> 
> Your emailed diff doesn't apply (whitespace/quoted-printable problems,
> your mail provider is not a very good choice for technical emails as
> it often mangles them in one way or another).
> 
> Here is one that works which has a bit of other tidying. This one is OK
> with me (at least ports-wise; I am not interested in running it!) but
> the compiler warnings look like real problems so if you're talking to
> upstream it maybe a good idea to report them.

That's also OK by me, please go ahead and commit :)

> Index: Makefile
> ===
> RCS file: /cvs/ports/net/onioncat/Makefile,v
> retrieving revision 1.15
> diff -u -p -r1.15 Makefile
> --- Makefile  6 Apr 2020 08:48:06 -   1.15
> +++ Makefile  21 Jun 2020 11:27:43 -
> @@ -1,13 +1,12 @@
>  # $OpenBSD: Makefile,v 1.15 2020/04/06 08:48:06 pirofti Exp $
>  
> -COMMENT =IP-Transparent Tor Hidden Service Connector
> +COMMENT =IP-Transparent Tor/I2P Hidden Service Connector
>  
> -V =  0.2.1
> +V =  0.3.8
>  DISTNAME =   onioncat-$V
> -REVISION =   2
>  CATEGORIES = net
>  
> -HOMEPAGE =   https://www.cypherpunk.at/onioncat_trac/
> +HOMEPAGE =   https://www.onioncat.org/
>  
>  MAINTAINER=  Paul Irofti 
>  
> @@ -16,14 +15,11 @@ PERMIT_PACKAGE =  Yes
>  
>  WANTLIB =c pthread
>  
> -MASTER_SITES =   http://www.cypherpunk.at/ocat/download/Source/$V/
> +MASTER_SITES =   https://www.cypherpunk.at/ocat/download/Source/${V:R}/
>  
>  RUN_DEPENDS =net/tor
>  
>  SEPARATE_BUILD = Yes
> -CONFIGURE_STYLE =simple
> -CONFIGURE_ARGS +=--mandir=${PREFIX}/man
> -# Do not pick up gawk or mawk
> -CONFIGURE_ENV =  AWK=awk
> +CONFIGURE_STYLE =gnu
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/net/onioncat/distinfo,v
> retrieving revision 1.4
> diff -u -p -r1.4 distinfo
> --- distinfo  18 Jan 2015 03:14:44 -  1.4
> +++ distinfo  21 Jun 2020 11:27:43 -
> @@ -1,2 +1,2 @@
> -SHA256 (onioncat-0.2.1.tar.gz) = Gge2K3LuZdEOcLly4q3hOH4iMrwGUnR+A76+cjXISo4=
> -SIZE (onioncat-0.2.1.tar.gz) = 179988
> +SHA256 (onioncat-0.3.8.tar.gz) = 
> 9564d10c64161408a573256ba8aece9296499a753cbdae6bfbc3544e72a1d63b
> +SIZE (onioncat-0.3.8.tar.gz) = 242144
> Index: pkg/DESCR
> ===
> RCS file: /cvs/ports/net/onioncat/pkg/DESCR,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 DESCR
> --- pkg/DESCR 30 Dec 2008 13:56:39 -  1.1.1.1
> +++ pkg/DESCR 21 Jun 2020 11:27:43 -
> @@ -1,4 +1,4 @@
> -OnionCat creates a transparent IP layer on top of Tor's hidden services.
> -It transmits any kind of IP-based data transparently through the Tor
> -network on a location hidden basis.  You can think of it as a
> -point-to-multipoint VPN between hidden services. 
> +OnionCat creates a transparent IP layer on top of Tor or I2P hidden
> +services. It transmits any kind of IP-based data transparently through
> +the Tor network on a location hidden basis. You can think of it as a
> +point-to-multipoint VPN between hidden services.
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/net/onioncat/pkg/PLIST,v
> retrieving revision 1.3
> diff -u -p -r1.3 PLIST
> --- pkg/PLIST 25 Oct 2010 17:37:52 -  1.3
> +++ pkg/PLIST 21 Jun 2020 11:27:43 -
> @@ -2,4 +2,5 @@
>  @bin bin/ocat
>  @man man/man1/ocat.1
>  share/doc/onioncat/
> +share/doc/onioncat/Garlicat-HOWTO
>  share/doc/onioncat/README



Re: [update] net/onioncat 0.2.1 -> 0.3.8

2020-06-21 Thread Stuart Henderson
On 2020/06/20 10:07, Martin wrote:
> Improved port of net/onioncat.
> 
> * Stability to prevent segmentation faults
> * New functionality implemented
> Like "distributed virtual switch" functionality;
> Additional integrated loopback responders to simplify setup and debugging
> * gcat symlink has been removed completely because of coreutils conflict
> * man page has been improved to reflect all the changes made
> 
> OK?

Your emailed diff doesn't apply (whitespace/quoted-printable problems,
your mail provider is not a very good choice for technical emails as
it often mangles them in one way or another).

Here is one that works which has a bit of other tidying. This one is OK
with me (at least ports-wise; I am not interested in running it!) but
the compiler warnings look like real problems so if you're talking to
upstream it maybe a good idea to report them.

Index: Makefile
===
RCS file: /cvs/ports/net/onioncat/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- Makefile6 Apr 2020 08:48:06 -   1.15
+++ Makefile21 Jun 2020 11:27:43 -
@@ -1,13 +1,12 @@
 # $OpenBSD: Makefile,v 1.15 2020/04/06 08:48:06 pirofti Exp $
 
-COMMENT =  IP-Transparent Tor Hidden Service Connector
+COMMENT =  IP-Transparent Tor/I2P Hidden Service Connector
 
-V =0.2.1
+V =0.3.8
 DISTNAME = onioncat-$V
-REVISION = 2
 CATEGORIES =   net
 
-HOMEPAGE = https://www.cypherpunk.at/onioncat_trac/
+HOMEPAGE = https://www.onioncat.org/
 
 MAINTAINER=Paul Irofti 
 
@@ -16,14 +15,11 @@ PERMIT_PACKAGE =Yes
 
 WANTLIB =  c pthread
 
-MASTER_SITES = http://www.cypherpunk.at/ocat/download/Source/$V/
+MASTER_SITES = https://www.cypherpunk.at/ocat/download/Source/${V:R}/
 
 RUN_DEPENDS =  net/tor
 
 SEPARATE_BUILD =   Yes
-CONFIGURE_STYLE =  simple
-CONFIGURE_ARGS +=  --mandir=${PREFIX}/man
-# Do not pick up gawk or mawk
-CONFIGURE_ENV =AWK=awk
+CONFIGURE_STYLE =  gnu
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/net/onioncat/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo18 Jan 2015 03:14:44 -  1.4
+++ distinfo21 Jun 2020 11:27:43 -
@@ -1,2 +1,2 @@
-SHA256 (onioncat-0.2.1.tar.gz) = Gge2K3LuZdEOcLly4q3hOH4iMrwGUnR+A76+cjXISo4=
-SIZE (onioncat-0.2.1.tar.gz) = 179988
+SHA256 (onioncat-0.3.8.tar.gz) = 
9564d10c64161408a573256ba8aece9296499a753cbdae6bfbc3544e72a1d63b
+SIZE (onioncat-0.3.8.tar.gz) = 242144
Index: pkg/DESCR
===
RCS file: /cvs/ports/net/onioncat/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 DESCR
--- pkg/DESCR   30 Dec 2008 13:56:39 -  1.1.1.1
+++ pkg/DESCR   21 Jun 2020 11:27:43 -
@@ -1,4 +1,4 @@
-OnionCat creates a transparent IP layer on top of Tor's hidden services.
-It transmits any kind of IP-based data transparently through the Tor
-network on a location hidden basis.  You can think of it as a
-point-to-multipoint VPN between hidden services. 
+OnionCat creates a transparent IP layer on top of Tor or I2P hidden
+services. It transmits any kind of IP-based data transparently through
+the Tor network on a location hidden basis. You can think of it as a
+point-to-multipoint VPN between hidden services.
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/onioncat/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   25 Oct 2010 17:37:52 -  1.3
+++ pkg/PLIST   21 Jun 2020 11:27:43 -
@@ -2,4 +2,5 @@
 @bin bin/ocat
 @man man/man1/ocat.1
 share/doc/onioncat/
+share/doc/onioncat/Garlicat-HOWTO
 share/doc/onioncat/README



Re: [update] net/onioncat 0.2.1 -> 0.3.8

2020-06-21 Thread Paul Irofti
On Sat, Jun 20, 2020 at 10:07:52AM +, Martin wrote:
> Improved port of net/onioncat.
> 
> * Stability to prevent segmentation faults
> * New functionality implemented
> Like "distributed virtual switch" functionality;
> Additional integrated loopback responders to simplify setup and debugging
> * gcat symlink has been removed completely because of coreutils conflict
> * man page has been improved to reflect all the changes made
> 
> OK?

Hi,

The diff does not apply cleanly. Can you update your ports tree and
regenerate it? (REVISION=2, not 1)

Thanks,
Paul

> 
> --- Makefile.old  Tue Jul 16 01:58:56 2019
> +++ Makefile  Mon May 18 20:02:26 2020
> @@ -1,13 +1,13 @@
>  # $OpenBSD: Makefile,v 1.13 2019/07/12 20:48:35 sthen Exp $
> 
> -COMMENT =IP-Transparent Tor Hidden Service Connector
> +COMMENT =IP-Transparent Tor and I2P Hidden Service Connector
> 
> -V =  0.2.1
> -DISTNAME =   onioncat-$V
> -REVISION =   1
> +V =  0.3.8
> +DISTNAME =   onioncat-${V}
> +REVISION =   0
>  CATEGORIES = net
> 
> -HOMEPAGE =   https://www.cypherpunk.at/onioncat_trac/
> +HOMEPAGE =   https://www.onioncat.org
> 
>  MAINTAINER=  Paul Irofti 
> 
> @@ -16,13 +16,12 @@
> 
>  WANTLIB =c pthread
> 
> -MASTER_SITES =   http://www.cypherpunk.at/ocat/download/Source/$V/
> +MASTER_SITES =   https://www.cypherpunk.at/ocat/download/Source/0.3/
> 
>  RUN_DEPENDS =net/tor
> 
>  SEPARATE_BUILD = Yes
> -CONFIGURE_STYLE =simple
> -CONFIGURE_ARGS +=--mandir=${PREFIX}/man
> +CONFIGURE_STYLE =gnu
>  # Do not pick up gawk or mawk
>  CONFIGURE_ENV =  AWK=awk
> 
> 
> --- distinfo.old  Wed Jun 24 08:34:54 2015
> +++ distinfo  Mon May 18 20:03:30 2020
> @@ -1,2 +1,2 @@
> -SHA256 (onioncat-0.2.1.tar.gz) = Gge2K3LuZdEOcLly4q3hOH4iMrwGUnR+A76+cjXISo4=
> -SIZE (onioncat-0.2.1.tar.gz) = 179988
> +SHA256 (onioncat-0.3.8.tar.gz) = 
> 9564d10c64161408a573256ba8aece9296499a753cbdae6bfbc3544e72a1d63b
> +SIZE (onioncat-0.3.8.tar.gz) = 242144
> 
> 
> --- pkg/DESCR.old Tue Dec 30 16:56:39 2008
> +++ pkg/DESCR Fri May 15 00:53:34 2020
> @@ -1,4 +1,4 @@
> -OnionCat creates a transparent IP layer on top of Tor's hidden services.
> +OnionCat creates a transparent IP layer on top of Tor or I2P hidden services.
>  It transmits any kind of IP-based data transparently through the Tor
>  network on a location hidden basis.  You can think of it as a
>  point-to-multipoint VPN between hidden services.
> 
> 
> --- pkg/PLIST.old Mon Oct 25 21:37:52 2010
> +++ pkg/PLIST Fri May 15 00:53:34 2020
> @@ -2,4 +2,5 @@
>  @bin bin/ocat
>  @man man/man1/ocat.1
>  share/doc/onioncat/
> +share/doc/onioncat/Garlicat-HOWTO
>  share/doc/onioncat/README
> 
> 
> Martin
> 



[update] openmw-0.46.0

2020-06-21 Thread Timo Myyrä
Hi,

OpenMW got a new release:
https://openmw.org/2020/openmw-0-46-0-released/

I've been playing with this on amd64, seems to work so far.

timo

Index: Makefile
===
RCS file: /cvs/ports/games/openmw/Makefile,v
retrieving revision 1.23
diff -u -p -u -p -r1.23 Makefile
--- Makefile24 May 2020 21:11:00 -  1.23
+++ Makefile21 Jun 2020 10:39:50 -
@@ -4,12 +4,11 @@ ONLY_FOR_ARCHS =  amd64 i386
 
 COMMENT =  open source implementation of TES III: Morrowind
 
-V =0.45.0
+V =0.46.0
 GH_ACCOUNT =   OpenMW
 GH_PROJECT =   openmw
 GH_TAGNAME =   openmw-$V
 DISTNAME = openmw-$V
-REVISION = 0
 
 CATEGORIES =   games
 
Index: distinfo
===
RCS file: /cvs/ports/games/openmw/distinfo,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 distinfo
--- distinfo25 Nov 2019 10:21:25 -  1.9
+++ distinfo21 Jun 2020 10:39:50 -
@@ -1,2 +1,2 @@
-SHA256 (openmw-0.45.0.tar.gz) = tjz5cfQG718oAZ9l6eK9lkGiJ0We3kXRR1YpF/Z+HGQ=
-SIZE (openmw-0.45.0.tar.gz) = 4711103
+SHA256 (openmw-0.46.0.tar.gz) = B6NajxX2f1qnIQwqMHpttWYKm2H+NJg8NbFyyGca/Vg=
+SIZE (openmw-0.46.0.tar.gz) = 5155004
Index: patches/patch-components_crashcatcher_crashcatcher_cpp
===
RCS file: patches/patch-components_crashcatcher_crashcatcher_cpp
diff -N patches/patch-components_crashcatcher_crashcatcher_cpp
--- patches/patch-components_crashcatcher_crashcatcher_cpp  25 Nov 2019 
10:21:25 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,152 +0,0 @@
-$OpenBSD: patch-components_crashcatcher_crashcatcher_cpp,v 1.1 2019/11/25 
10:21:25 solene Exp $
-
-Fixes game failing to start.
-Upstream commit fe69e5507df97d84d3cb29d760da78f64e41cc07
-
-Index: components/crashcatcher/crashcatcher.cpp
 components/crashcatcher/crashcatcher.cpp.orig
-+++ components/crashcatcher/crashcatcher.cpp
-@@ -17,6 +17,7 @@
- #include 
- 
- #include 
-+#include 
- 
- namespace bfs = boost::filesystem;
- 
-@@ -34,9 +35,13 @@ namespace bfs = boost::filesystem;
- 
- #if defined(__APPLE__)
- #include 
-+#include 
- #endif
- 
--#define UNUSED(x) (void)(x)
-+#if defined(__FreeBSD__)
-+#include 
-+#include 
-+#endif
- 
- static const char crash_switch[] = "--cc-handle-crash";
- 
-@@ -413,6 +418,39 @@ static void crash_handler(const char *logfile)
- exit(0);
- }
- 
-+static void getExecPath(char **argv)
-+{
-+#if defined (__FreeBSD__)
-+int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1 };
-+size_t size = sizeof(argv0);
-+
-+if (sysctl(mib, 4, argv0, &size, nullptr, 0) == 0)
-+return;
-+#endif
-+
-+#if defined (__APPLE__)
-+if(proc_pidpath(getpid(), argv0, sizeof(argv0)) > 0)
-+return;
-+#endif
-+int cwdlen;
-+const char *statusPaths[] = {"/proc/self/exe", "/proc/self/file", 
"/proc/curproc/exe", "/proc/curproc/file"};
-+memset(argv0, 0, sizeof(argv0));
-+
-+for(const char *path : statusPaths)
-+{
-+if (readlink(path, argv0, sizeof(argv0)) != -1)
-+return;
-+}
-+
-+if(argv[0][0] == '/')
-+snprintf(argv0, sizeof(argv0), "%s", argv[0]);
-+else if (getcwd(argv0, sizeof(argv0)) != NULL)
-+{
-+cwdlen = strlen(argv0);
-+snprintf(argv0+cwdlen, sizeof(argv0)-cwdlen, "/%s", argv[0]);
-+}
-+}
-+
- int crashCatcherInstallHandlers(int argc, char **argv, int num_signals, int 
*signals, const char *logfile, int (*user_info)(char*, char*))
- {
- struct sigaction sa;
-@@ -424,20 +462,7 @@ int crashCatcherInstallHandlers(int argc, char **argv,
- 
- cc_user_info = user_info;
- 
--if(argv[0][0] == '/')
--snprintf(argv0, sizeof(argv0), "%s", argv[0]);
--else
--{
--{
--/* we don't want to disable "ignoring return value" warnings, so 
we make
-- * a special exception here. */
--char * unused;
--unused = getcwd(argv0, sizeof(argv0));
--UNUSED(unused);
--}
--retval = strlen(argv0);
--snprintf(argv0+retval, sizeof(argv0)-retval, "/%s", argv[0]);
--}
-+getExecPath(argv);
- 
- /* Set an alternate signal stack so SIGSEGVs caused by stack overflows
-  * still run */
-@@ -467,20 +492,24 @@ int crashCatcherInstallHandlers(int argc, char **argv,
- 
- static bool is_debugger_present()
- {
--#if !defined (__APPLE__)
--bfs::ifstream file((bfs::path("/proc/self/status")));
--while (!file.eof())
-+#if defined (__linux__)
-+bfs::path procstatus = bfs::path("/proc/self/status");
-+if (bfs::exists(procstatus))
- {
--std::string word;
--file >> word;
--if (word == "TracerPid:")
-+bfs::ifstream file((procstatus));
-+while (!file.eof())
- {
-+std::string word;
-

[NEW] cad/qflow

2020-06-21 Thread Alessandro De Laurenzis

Greetings,

This is a proposal for a new port: cad/qflow, a full end-to-end digital 
synthesis flow for VLSI ASIC designs.


DESCR
=
A digital synthesis flow is a set of tools and methods used to turn a
VLSI design written in a high-level behavioral language like Verilog
or VHDL into a physical circuit, which can either be configuration code
for an FPGA target or a layout in a specific technology, that would
become part of an IC.
Qflow uses a complete and open source tool chain for synthesizing
digital circuits starting from Verilog source and ending in physical
layout for a specific target fabrication process.

I started working on this port more than two years ago, firstly 
importing the whole toolchain:

- cad/abc
- cad/yosys
- cad/graywolf
- cad/opensta
- cad/qrouter
- cad/magic
- cad/netgen
and then actively cooperating with upstream (which I'm adding in CC; Tim
always reacted very promptly to my questions/suggestions/proposals; 
thanks Tim!) in order to make all the scripts and executables properly 
working on OpenBSD platforms; it took a while, but finally this version 
is stable enough I think.


Some comments on the port:
- I patched scripts/magic_view.sh and scripts/qflow_manager.py.in, in 
  order to use OpenGL as default rendering for cad/magic (instead of 
  XR/Cairo, which is not working on OpenBSD, see [1]);


- scripts/qrouter.sh requires a patch to use GNU grep instead of base 
  version;


- src/readlef.h requires __compar_fn_t definition for non-Linux 
  platforms (I'll discuss this point with upstream soon);


- other patches are trivial;

- license line is complex (as usual, when technology files are 
  included...); upstream didn't add any license files, so I specified 
  where to find the info; gscl45nm has been released under the Apache-2 
  license, so I see no problem in redistributing the files; OSU 
  050/035/018 tech files have a proprietary license that says:

  [...]
  "Permission to use, copy, and modify this software and its 
  documentation for research and educational purposes only and without 
  fee or royalty is hereby granted..."

  [...]
  I don't know if this is too restrictive; if so, we should probably 
  split the package; please let me know how to proceed; qflow itself has 
  a "GPL Copyright" (see README file in the distribution tarball), but 
  no applicable license version is specified;


- 'package' target flags the following warnings:
  [...]
  Creating package qflow-1.4.83
  Warning: symlink(s) point to non-existent 
/usr/ports/pobj/qflow-1.4.83/fake-amd64/usr/local/bin/abc
  
/usr/ports/pobj/qflow-1.4.83/fake-amd64/usr/local/share/qflow/bin/yosys-abc
  Warning: symlink(s) point to non-existent 
/usr/ports/pobj/qflow-1.4.83/fake-amd64/usr/local/bin/graywolf
  
/usr/ports/pobj/qflow-1.4.83/fake-amd64/usr/local/share/qflow/bin/graywolf
  Warning: symlink(s) point to non-existent 
/usr/ports/pobj/qflow-1.4.83/fake-amd64/usr/local/bin/magic
  
/usr/ports/pobj/qflow-1.4.83/fake-amd64/usr/local/share/qflow/bin/magic
  Warning: symlink(s) point to non-existent 
/usr/ports/pobj/qflow-1.4.83/fake-amd64/usr/local/bin/netgen
  
/usr/ports/pobj/qflow-1.4.83/fake-amd64/usr/local/share/qflow/bin/netgen
  Warning: symlink(s) point to non-existent 
/usr/ports/pobj/qflow-1.4.83/fake-amd64/usr/local/bin/qrouter
  
/usr/ports/pobj/qflow-1.4.83/fake-amd64/usr/local/share/qflow/bin/qrouter
  Warning: symlink(s) point to non-existent 
/usr/ports/pobj/qflow-1.4.83/fake-amd64/usr/local/bin/sta
  /usr/ports/pobj/qflow-1.4.83/fake-amd64/usr/local/share/qflow/bin/sta
  Warning: symlink(s) point to non-existent 
/usr/ports/pobj/qflow-1.4.83/fake-amd64/usr/local/bin/yosys
  
/usr/ports/pobj/qflow-1.4.83/fake-amd64/usr/local/share/qflow/bin/yosys
  [...]
  but I think this is normal, we should accept those messages (or please 
  advice how to get rid of them otherwise).


Tested on amd64 only. Taking MAINTAINER. Tarball attached.

[1] https://marc.info/?l=openbsd-ports&m=158363208902918&w=2

--
Alessandro De Laurenzis
[mailto:jus...@atlantide.mooo.com]
Web: http://www.atlantide.mooo.com
LinkedIn: http://it.linkedin.com/in/delaurenzis


qflow-1.4.83.tar.gz
Description: application/tar-gz


kde breakage

2020-06-21 Thread Antoine Jacoutot
These failed in my last bulk.


x11/kde-applications/libkgapi


-- The following REQUIRED packages have not been found:

 * Sasl2, The Cyrus-sasl library., 

CMake Error at /usr/local/share/cmake/Modules/FeatureSummary.cmake:457 
(message):
  feature_summary() Error: REQUIRED package(s) are missing, aborting CMake
  run.
Call Stack (most recent call first):
  CMakeLists.txt:104 (feature_summary)


x11/kde-applications/kgpg


-- Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is at least 
version "1.34.0")
CMake Warning at 
/usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
  Found package configuration file:

/usr/local/lib/cmake/KF5Akonadi/KF5AkonadiConfig.cmake

  but it set KF5Akonadi_FOUND to FALSE so package "KF5Akonadi" is considered
  to be NOT FOUND.  Reason given by package:

  KF5Akonadi could not be found because dependency Boost could not be found.

Call Stack (most recent call first):
  /usr/local/lib/cmake/KF5AkonadiContact/KF5AkonadiContactConfig.cmake:27 
(find_dependency)
  /usr/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package)
  CMakeLists.txt:54 (find_package)


CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:74 
(find_package):
  Found package configuration file:

/usr/local/lib/cmake/KF5AkonadiContact/KF5AkonadiContactConfig.cmake

  but it set KF5AkonadiContact_FOUND to FALSE so package "KF5AkonadiContact"
  is considered to be NOT FOUND.  Reason given by package:

  KF5AkonadiContact could not be found because dependency KF5Akonadi could
  not be found.

Call Stack (most recent call first):
  CMakeLists.txt:54 (find_package)


CMake Warning (dev) at 
/usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:272 
(message):
  The package name passed to `find_package_handle_standard_args`
  (KF5AkonadiContact) does not match the name of the calling package (KF5).
  This can lead to problems in calling code that expects `find_package`
  result variables (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /usr/local/share/ECM/find-modules/FindKF5.cmake:78 
(find_package_handle_standard_args)
  CMakeLists.txt:54 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find KF5AkonadiContact (found version "5.13.3"), checked the 
following files:
/usr/local/lib/cmake/KF5AkonadiContact/KF5AkonadiContactConfig.cmake 
(version 5.13.3)
Reason given by package: KF5AkonadiContact could not be found because 
dependency KF5Akonadi could not be found.


x11/kde-applications/libkdepim


-- Found Gettext: /usr/local/bin/msgmerge (found version "0.20.2") 
CMake Error at 
/usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 
(message):
  Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is at least
  version "1.34.0")
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 
(_FPHSA_FAILURE_MESSAGE)
  /usr/local/share/cmake/Modules/FindBoost.cmake:2162 
(find_package_handle_standard_args)
  /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 
(find_package)
  /usr/local/lib/cmake/KF5Akonadi/KF5AkonadiConfig.cmake:56 (find_dependency)
  CMakeLists.txt:49 (find_package)


-- Configuring incomplete, errors occurred!



-- 
Antoine



[UPDATE] graphics/p5-Image-ExifTool

2020-06-21 Thread Remi Pointel

Hi,

this is the diff to update exiftool to latest release.

Ok?

Cheers,

Remi.
Index: Makefile
===
RCS file: /cvs/ports/graphics/p5-Image-ExifTool/Makefile,v
retrieving revision 1.48
diff -u -p -u -p -r1.48 Makefile
--- Makefile	7 Feb 2020 05:50:21 -	1.48
+++ Makefile	21 Jun 2020 07:21:16 -
@@ -2,7 +2,7 @@
 
 COMMENT=	read and write meta information in image/audio/video files
 
-DISTNAME=	Image-ExifTool-11.85
+DISTNAME=	Image-ExifTool-12.00
 CATEGORIES=	graphics
 
 HOMEPAGE=	https://exiftool.org/
Index: distinfo
===
RCS file: /cvs/ports/graphics/p5-Image-ExifTool/distinfo,v
retrieving revision 1.41
diff -u -p -u -p -r1.41 distinfo
--- distinfo	7 Feb 2020 05:50:21 -	1.41
+++ distinfo	21 Jun 2020 07:21:16 -
@@ -1,2 +1,2 @@
-SHA256 (Image-ExifTool-11.85.tar.gz) = iwqqjggK38hzbDsXnBQK08BdxYqEVA8eVncs4Smo+Jc=
-SIZE (Image-ExifTool-11.85.tar.gz) = 4700232
+SHA256 (Image-ExifTool-12.00.tar.gz) = 0HksyUq1ios9gbGMzbi0OEjI+5AbW3yuzctoaJxshVo=
+SIZE (Image-ExifTool-12.00.tar.gz) = 4817545
Index: pkg/PLIST
===
RCS file: /cvs/ports/graphics/p5-Image-ExifTool/pkg/PLIST,v
retrieving revision 1.34
diff -u -p -u -p -r1.34 PLIST
--- pkg/PLIST	7 Feb 2020 05:50:21 -	1.34
+++ pkg/PLIST	21 Jun 2020 07:21:16 -
@@ -31,6 +31,7 @@ ${P5SITE}/Image/ExifTool/Charset.pm
 ${P5SITE}/Image/ExifTool/Charset/Arabic.pm
 ${P5SITE}/Image/ExifTool/Charset/Baltic.pm
 ${P5SITE}/Image/ExifTool/Charset/Cyrillic.pm
+${P5SITE}/Image/ExifTool/Charset/DOSCyrillic.pm
 ${P5SITE}/Image/ExifTool/Charset/DOSLatin1.pm
 ${P5SITE}/Image/ExifTool/Charset/DOSLatinUS.pm
 ${P5SITE}/Image/ExifTool/Charset/Greek.pm