Re: update editors/TeXmacs 1.99.13

2020-07-31 Thread Nam Nguyen
Nam Nguyen writes:

> This is an update for editors/TeXmacs 1.99.13.

ping

>
> Changelog: https://texmacs.org/tmweb/about/changes.en.html
>
> "Switch to Python 3 for plug-ins programmed in Python (1.99.13)."
>
> Ports-wise, python patching bits can go away as python3 is automatically
> detected by the plugins now.
>
> WRKDIST had to be changed because it normally extracts into -src (e.g.,
> TeXmacs-1.99.13-src), but this release dropped the -src suffix. Also,
> this release erroneously reports 1.99.12 but the changelog is updated.
>
> I had a random segfault crash upon quitting the program that I have no
> reproducer for. I had a help window and a sympy session running and
> closed the program.
>
> All plugins work. There was a problem with missing font in plots
> generated by R that I proposed a fix for here:
> https://marc.info/?l=openbsd-ports&m=159488152518183&w=2
>
> Feedback and tests are welcome.
>

Index: Makefile
===
RCS file: /cvs/ports/editors/TeXmacs/Makefile,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 Makefile
--- Makefile3 Jul 2020 21:12:53 -   1.17
+++ Makefile16 Jul 2020 06:42:30 -
@@ -2,10 +2,9 @@
 
 COMMENT=   wysiwyw (what you see is what you want) editing platform
 
-DISTNAME=  TeXmacs-1.99.12-src
+DISTNAME=  TeXmacs-1.99.13-src
 PKGNAME=   ${DISTNAME:S/-src//}
 CATEGORIES=editors print x11
-REVISION=  0
 
 HOMEPAGE=  https://texmacs.org/
 
@@ -24,9 +23,9 @@ MODULES=  devel/cmake \
lang/python \
x11/qt5
 
-MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
-MODPY_ADJ_FILES=   plugins/tmpy/*.py \
-   plugins/tmpy/{graph,session}/*.py
+MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
+
+WRKDIST=   ${WRKDIR}/${PKGNAME}
 
 BUILD_DEPENDS= print/ghostscript/gnu
 
@@ -45,14 +44,5 @@ CXXFLAGS+=   -Wno-deprecated-register
 
 post-extract:
rm -f ${WRKDIST}/plugins/mathematica/bin/realpath.py
-   # change python interpreter per plugins/python/README.md
-   sed -i 's,\(string-append.*\)python,\1python${MODPY_VERSION},' \
-   ${WRKSRC}/plugins/python/progs/init-python.scm
-   sed -i 's,\(require.*\)python,\1python${MODPY_VERSION},' \
-   ${WRKSRC}/plugins/python/progs/init-python.scm
-.for l in asymptote dratex gnuplot graph graphviz sympy xypic
-   find ${WRKSRC}/plugins/$l -name '*.scm' \
-   -exec sed -i 's,python,python${MODPY_VERSION},' {} +
-.endfor
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/editors/TeXmacs/distinfo,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 distinfo
--- distinfo27 Feb 2020 14:29:46 -  1.3
+++ distinfo16 Jul 2020 06:42:30 -
@@ -1,2 +1,2 @@
-SHA256 (TeXmacs-1.99.12-src.tar.gz) = 
5D2oSdXDdw99T3rZrGNnq0F0od+D8336QfjwDx628UI=
-SIZE (TeXmacs-1.99.12-src.tar.gz) = 35119781
+SHA256 (TeXmacs-1.99.13-src.tar.gz) = 
Aq0cS47QqmFQHelxRjANeJlgXCXagnYRykpAq7wHqbQ=
+SIZE (TeXmacs-1.99.13-src.tar.gz) = 37181886
Index: patches/patch-CMakeLists_txt
===
RCS file: /cvs/ports/editors/TeXmacs/patches/patch-CMakeLists_txt,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt27 Feb 2020 14:29:46 -  1.2
+++ patches/patch-CMakeLists_txt16 Jul 2020 06:42:30 -
@@ -3,7 +3,7 @@ $OpenBSD: patch-CMakeLists_txt,v 1.2 202
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -572,7 +572,7 @@ if (TEXMACS_GUI MATCHES "Qt.*")
+@@ -586,7 +586,7 @@ if (TEXMACS_GUI MATCHES "Qt.*")
  
set (TeXmacs_All_SRCS ${TeXmacs_All_SRCS} ${TeXmacs_Qt_SRCS} 
${TeXmacs_Qt_Moc_HDRS})
set (TeXmacs_Include_Dirs ${TeXmacs_Include_Dirs} ${QT_INCLUDES})
Index: patches/patch-plugins_octave_octave_tm-start_m
===
RCS file: patches/patch-plugins_octave_octave_tm-start_m
diff -N patches/patch-plugins_octave_octave_tm-start_m
--- patches/patch-plugins_octave_octave_tm-start_m  27 Feb 2020 14:29:46 
-  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,14 +0,0 @@
-$OpenBSD: patch-plugins_octave_octave_tm-start_m,v 1.1 2020/02/27 14:29:46 jca 
Exp $
-
-octave session does not start because tmrepl undefined
-https://github.com/texmacs/plugins/issues/11
-
-Index: plugins/octave/octave/tm-start.m
 plugins/octave/octave/tm-start.m.orig
-+++ plugins/octave/octave/tm-start.m
-@@ -1,4 +1,5 @@
- d=getenv("TEXMACS_PATH");
- if (length(d) > 0)
-+addpath("tm")
- tmrepl
- endif
Index: patches/patch-plugins_r_src_tm_r_c
===
RCS file: /cvs/ports/editors/TeXmacs/patches/patch-plugins_r_src_tm_r_c,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-plugins_r_src_tm_r_c
--- patches/patch-plugins_r_src_tm_r_c  27 

[update] goaccess 1.4

2020-07-31 Thread Landry Breuil
Hi,

here's an update to goaccess 1.4 (cf
http://goaccess.io/release-notes#release-1.4), drops the tokyocabinet
flavor (dep dropped upstream), removed some patches from upstream, i
have to admit i'm a bit puzzled by the src/settings.c patch, upstream
code was modified a bit there.

feedback/testing welcome !

Landry
Index: Makefile
===
RCS file: /cvs/ports/www/goaccess/Makefile,v
retrieving revision 1.24
diff -u -r1.24 Makefile
--- Makefile10 Aug 2019 21:24:31 -  1.24
+++ Makefile1 Aug 2020 06:10:22 -
@@ -2,8 +2,7 @@
 
 COMMENT =  realtime console web log analyzer
 
-DISTNAME = goaccess-1.3
-REVISION = 2
+DISTNAME = goaccess-1.4
 
 CATEGORIES =   www
 
@@ -34,14 +33,5 @@
 CONFIGURE_ENV =CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
 FAKE_FLAGS =   confdir="${PREFIX}/share/examples/goaccess"
-
-FLAVORS =  tokyocabinet
-FLAVOR ?=
-
-.if ${FLAVOR:Mtokyocabinet}
-WANTLIB += bz2 tokyocabinet z
-LIB_DEPENDS += databases/tokyocabinet
-CONFIGURE_ARGS +=  --enable-tcb=btree
-.endif
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/www/goaccess/distinfo,v
retrieving revision 1.13
diff -u -r1.13 distinfo
--- distinfo28 Nov 2018 19:40:27 -  1.13
+++ distinfo1 Aug 2020 06:10:22 -
@@ -1,2 +1,2 @@
-SHA256 (goaccess-1.3.tar.gz) = jHdcXCS/hakz/W8SSQBIRzQtZUKqUz5OwCqve+Qde5s=
-SIZE (goaccess-1.3.tar.gz) = 541374
+SHA256 (goaccess-1.4.tar.gz) = 6Pu5/4UlVtct/Z8dATS6B1zltMQSiZAqb04Nl8aTd74=
+SIZE (goaccess-1.4.tar.gz) = 595264
Index: patches/patch-config_goaccess_conf
===
RCS file: /cvs/ports/www/goaccess/patches/patch-config_goaccess_conf,v
retrieving revision 1.1
diff -u -r1.1 patch-config_goaccess_conf
--- patches/patch-config_goaccess_conf  20 Jan 2019 13:36:51 -  1.1
+++ patches/patch-config_goaccess_conf  1 Aug 2020 06:10:22 -
@@ -20,38 +20,15 @@
  ##
  # Date Format Options (required)
  ##
-@@ -653,31 +663,10 @@ static-file .flv
- #std-geoip false
- 
- # Specify path to GeoIP database file. i.e., GeoLiteCity.dat
--# .dat file needs to be downloaded from maxmind.com.
-+# Free GeoLite2 databases are available in the geolite2-city/country packages.
+@@ -698,7 +708,10 @@ static-file .flv
+ # Download the GeoLite2-Country.mmdb.gz
+ # gunzip GeoLite2-Country.mmdb.gz
  #
--# For IPv4 City database:
--# wget -N 
http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
--# gunzip GeoLiteCity.dat.gz
--#
--# For IPv6 City database:
--# wget -N 
http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz
--# gunzip GeoLiteCityv6.dat.gz
--#
--# For IPv6 Country database:
--# wget -N http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz
--# gunzip GeoIPv6.dat.gz
--#
--# For GeoIP2 City database:
--# wget -N 
http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz
--# gunzip GeoLite2-City.mmdb.gz
--#
--# For GeoIP2 Country database:
--# wget -N 
http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz
--# gunzip GeoLite2-Country.mmdb.gz
--#
--# Note: `geoip-city-data` is an alias of `geoip-database`
--#
 -#geoip-database /usr/local/share/GeoIP/GeoLiteCity.dat
++
++# Free GeoLite2 databases are available in the geolite2-city/country packages.
 +#geoip-database /var/db/GeoIP/GeoLite2-City.mmdb
 +geoip-database /var/db/GeoIP/GeoLite2-Country.mmdb
  
  ##
- # Tokyo Cabinet Options
+ # Persistence Options
Index: patches/patch-src_browsers_c
===
RCS file: /cvs/ports/www/goaccess/patches/patch-src_browsers_c,v
retrieving revision 1.1
diff -u -r1.1 patch-src_browsers_c
--- patches/patch-src_browsers_c20 Jan 2019 13:36:51 -  1.1
+++ patches/patch-src_browsers_c1 Aug 2020 06:10:22 -
@@ -5,7 +5,7 @@
 Index: src/browsers.c
 --- src/browsers.c.orig
 +++ src/browsers.c
-@@ -116,6 +116,8 @@ static const char *browsers[][2] = {
+@@ -114,6 +114,8 @@ static const char *browsers[][2] = {
{"MicroMessenger", "Others"},
{"Apache", "Others"},
{"JOSM", "Others"},
@@ -14,10 +14,10 @@
  
/* Feed-reader-as-a-service */
{"AppleNewsBot", "Feeds"},
-@@ -183,6 +185,7 @@ static const char *browsers[][2] = {
-   {"Python", "Crawlers"},
-   {"LinkedIn", "Crawlers"},
+@@ -189,6 +191,7 @@ static const char *browsers[][2] = {
{"Microsoft-WebDAV", "Crawlers"},
+   {"DuckDuckGo-Favicons-Bot", "Crawlers"},
+   {"bingbot", "Crawlers"},
 +  {"The Knowledge AI", "Crawlers"},
  
/* Podcast fetchers */
Index: patches/patch-src_gholder_c
=

Re: lang/ghc workaround for clang 10 fallout

2020-07-31 Thread Greg Steuck
> I only tested the attached up to `make patch`. I have a build running
> on amd64-current. It shows the export-dynamic token has disappeared
> from the build log so far. While the patch is not known to have fixed
> the problem with clang 10, it looks promising.

I have more confidence in this patch as I built the port and then used
it to build xmonad.
Anybody with clang 10 willing to give the a go and OK?

Kili, do you feel there's a risk that this might break on i386?

Thanks
Greg
-- 
nest.cx is Gmail hosted, use PGP: https://pgp.key-server.io/0x0B1542BD8DF5A1B0
Fingerprint: 5E2B 2D0E 1E03 2046 BEC3  4D50 0B15 42BD 8DF5 A1B0



Re: update games/jag 0.3.7

2020-07-31 Thread Nam Nguyen
Rafael Sadowski writes:

> Simple game play test works out-of-box, OK rsadowski@

ping. I am looking for someone to commit this. The diff is reattached.

> On Mon Jul 06, 2020 at 07:39:38PM -0700, Nam Nguyen wrote:
>> Nam Nguyen writes:
>> 
>> > Stefan Sperling writes:
>> >>
>> >> Considering that Debian will likely want to see this resolved as well, and
>> >> that you are planning to update the port, couldn't we set 
>> >> PERMIT_PACKAGE=no
>> >> until the situation is cleared up?
>> >>
>> >> We have ports in much worse licensing situations that do the same (look at
>> >> sysutils/firmware/ulpt for example...)
>> >
>> > This sounds like a good solution.
>> >
>> > Here is a diff updating games/jag to 0.3.7, released on May 8, 2020. I
>> > attached it because patches that were removed have DOS line endings. New
>> > patches use post-extract to delete DOS line endings.
>> 
>> New diff attached that deletes trailing whitespace in cvs header and
>> additionally sets PERMIT_DISTFILES to no as suggested by stsp@ and
>> sthen@.
>> 
>> >
>> > Changelog: https://gitlab.com/coringao/jag/-/blob/0.3.7/CHANGELOG
>> >
>> > This diff:
>> > - Sets PERMIT_PACKAGE to no as suggested by stsp@ and sthen@. Themes are
>> > restrictively licensed so do not build package until it is cleared up.
>> >   https://gitlab.com/coringao/jag/-/issues/1
>> > - Moves to new upstream that Debian uses. Old upstream has stopped
>> > development.
>> >   https://tracker.debian.org/pkg/jag
>> > - Moves HOMEPAGE and MASTER_SITES to new upstream to address thfr@'s
>> > bug report about defunct HOMEPAGE in the README
>> >   https://gitlab.com/coringao/jag/-/issues/2
>> > - Moves to qt5 which was supported since version 0.3.3
>> > - Builds jag-editor in addition to jag. jag-editor is a level editor.
>> > - Many patched files were moved into src
>> > - Delete DOS-line endings in post-extract, as pulled from print/scribus.
>> > - README lists Qt5 Xml as a requirement, but `make
>> >   port-lib-depends-check' reports this as an extra WANTLIB.
>> >   Extra:  Qt5Xml.3
>> >   I chose to not include Qt5Xml in WANTLIB.
>> >
>> > I played jag and changed languages. I tested jag-editor by building a
>> > level pack and was able to play my level.
>> >
>> > Feedback and tests are welcome.
>> 




jag.diff
Description: jag.diff


Re: UPDATE: games/chocolate-doom 3.0.0 => 3.0.1 (fix CVE-2020-14983)

2020-07-31 Thread Nam Nguyen
Brian Callahan writes:

> Hi ports and Ryan --
>
> I noticed via Repology that our version of chocolate-doom is
> vulnerable to CVE-2020-14983 [0].
>
> The simple solution is to update to version 3.0.1, which contains the
> fix [1].
>
> Doom works here for me.

In my testing singleplayer and multiplayer continue to work.

I tested singleplayer by completing the first maps in Doom and Doom 2.

I tested multiplayer by creating a server and having two players join.

$ chocolate-server -privateserver
$ chocolate-doom -iwad doom2.wad -connect 127.0.0.1 -deathmatch -nomonsters
$ chocolate-doom -iwad doom2.wad -connect 127.0.0.1

>
> OK?
>
> ~Brian
>
> [0] https://nvd.nist.gov/vuln/detail/CVE-2020-14983
> [1] https://github.com/chocolate-doom/chocolate-doom/issues/1293
>
> Index: Makefile
> ===
> RCS file: /cvs/ports/games/chocolate-doom/Makefile,v
> retrieving revision 1.27
> diff -u -p -r1.27 Makefile
> --- Makefile  12 Jul 2019 20:46:15 -  1.27
> +++ Makefile  1 Aug 2020 03:43:21 -
> @@ -1,10 +1,9 @@
>  # $OpenBSD: Makefile,v 1.27 2019/07/12 20:46:15 sthen Exp $
>  
>  COMMENT =portable release of Doom, Heretic, Hexen, and Strife
> -V =  3.0.0
> +V =  3.0.1
>  DISTNAME =   chocolate-doom-${V}
>  CATEGORIES = games x11
> -REVISION =   0
>  
>  HOMEPAGE =   https://www.chocolate-doom.org/
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/games/chocolate-doom/distinfo,v
> retrieving revision 1.9
> diff -u -p -r1.9 distinfo
> --- distinfo  18 Jan 2018 09:30:58 -  1.9
> +++ distinfo  1 Aug 2020 03:43:21 -
> @@ -1,2 +1,2 @@
> -SHA256 (chocolate-doom-3.0.0.tar.gz) = 
> c66mI5MMfRinp3juo5Hh3fvpCtGsQKkbOAr8pLDh2rg=
> -SIZE (chocolate-doom-3.0.0.tar.gz) = 2495591
> +SHA256 (chocolate-doom-3.0.1.tar.gz) = 
> 1DXWF3QjSR1gvnBtqfB9OrT6vz4HfsKj/CFuOU/PyMc=
> +SIZE (chocolate-doom-3.0.1.tar.gz) = 2514985



lang/ghc workaround for clang 10 fallout

2020-07-31 Thread Greg Steuck
I only tested the attached up to `make patch`. I have a build running
on amd64-current. It shows the export-dynamic token has disappeared
from the build log so far. While the patch is not known to have fixed
the problem with clang 10, it looks promising.

Thanks
Greg

P.S. Also in cvs:~gnezdo/lang-ghc-clang10.patch
-- 
nest.cx is Gmail hosted, use PGP: https://pgp.key-server.io/0x0B1542BD8DF5A1B0
Fingerprint: 5E2B 2D0E 1E03 2046 BEC3  4D50 0B15 42BD 8DF5 A1B0
lang/ghc workaround for clang 10 fallout

Adapted from https://gitlab.haskell.org/ghc/ghc/-/issues/17962

--
diff --git lang/ghc/Makefile lang/ghc/Makefile
index e520c1d7bd5..05d364eec53 100644
--- lang/ghc/Makefile
+++ lang/ghc/Makefile
@@ -12,7 +12,7 @@ COMMENT =		compiler for the functional language Haskell
 NO_CCACHE =		Yes
 
 DISTNAME =		ghc-${MODGHC_VER}
-REVISION =		4
+REVISION =		5
 CATEGORIES =		lang devel
 HOMEPAGE =		https://www.haskell.org/ghc/
 
diff --git lang/ghc/patches/patch-utils_iserv_ghc_mk lang/ghc/patches/patch-utils_iserv_ghc_mk
new file mode 100644
index 000..a5ab9a2a46a
--- /dev/null
+++ lang/ghc/patches/patch-utils_iserv_ghc_mk
@@ -0,0 +1,18 @@
+$OpenBSD$
+
+Work around https://gitlab.haskell.org/ghc/ghc/-/issues/17962
+
+Index: utils/iserv/ghc.mk
+--- utils/iserv/ghc.mk.orig
 utils/iserv/ghc.mk
+@@ -30,8 +30,9 @@ endif
+ # refer to the RTS.  This is harmless if you don't use it (adds a bit
+ # of overhead to startup and increases the binary sizes) but if you
+ # need it there's no alternative.
++# Don't do this on systems known to use clang 10 to work around #17962.
+ ifeq "$(TargetElf)" "YES"
+-ifneq "$(TargetOS_CPP)" "solaris2"
++ifeq "$(findstring $(TargetOS_CPP), freebsd openbsd solaris2)" ""
+ # The Solaris linker does not support --export-dynamic option. It also
+ # does not need it since it exports all dynamic symbols by default
+ utils/iserv_stage2_MORE_HC_OPTS += -optl-Wl,--export-dynamic


mips64 bulk build report

2020-07-31 Thread visa
bulk build on octeon.ports.openbsd.org
started on  Mon Jul 20 15:09:01 UTC 2020
finished at Thu Jul 30 09:52:57 UTC 2020
lasted 10D18h43m
done with kern.version=OpenBSD 6.7-current (GENERIC.MP) #7: Mon Jul 20 14:31:43 
UTC 2020

built packages:9341
Jul 20:1991
Jul 21:982
Jul 22:652
Jul 23:650
Jul 24:455
Jul 25:551
Jul 26:549
Jul 27:917
Jul 28:1726
Jul 30:867


build failures: 40
http://build-failures.rhaalovely.net/mips64/2020-07-20/cad/netgen.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/chinese/libchewing.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/chinese/libpinyin.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/databases/postgresql-pllua.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/devel/avr32/gcc.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/devel/cgdb.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/devel/coccinelle.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/devel/py-unicorn,python3.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/devel/sdcc.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/emulators/nono.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/emulators/openmsx.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/games/astromenace.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/games/eduke32.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/games/hyperrogue.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/games/valyriatear.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/geo/gpstk.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/graphics/enblend-enfuse.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/graphics/mscgen.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/inputmethods/scim-fcitx.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/lang/STk.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/lang/gforth.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/lang/gpc.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/lang/pfe.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/lang/squeak/vm.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/mail/notmuch/notmuch.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/math/gbc.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/math/mlpack,-main.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/math/ntl.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/multimedia/assimp.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/multimedia/frei0r-plugins.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/net/utox.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/plan9/drawterm.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/productivity/aqbanking.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/security/botan2.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/shells/ksh93.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/sysutils/libvirt.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/sysutils/u-boot,aarch64.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/www/mozplugger.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/x11/qt5/qtscript,,-main.log
http://build-failures.rhaalovely.net/mips64/2020-07-20/x11/qt5/qtwebkit.log



Re: [BE_ARCHS] don't build emulators/nono

2020-07-31 Thread Kurt Mosiejczuk
On Fri, Jul 31, 2020 at 10:19:14PM +0200, Charlene Wendling wrote:
> Hi,

> > http://build-failures.rhaalovely.net/powerpc/2020-07-15/emulators/nono.log
> > http://build-failures.rhaalovely.net/mips64/2020-07-11/emulators/nono.log
> (it fails on sparc64 because ports-gcc is not used)

For the record, ports-gcc doesn't fix it. I tried that. :)

> $WRKSRC/vm/bitmap.h includes $WRKSRC/lib/device.h, where HLB and HLW
> are only defined on little endian archs. $WRKSRC/vm/bitmap.cpp
> expect them and has no fallback code.

> As such, big endian support is not complete, so i'm proposing to
> mark it NOT_FOR_ARCHS.

> Comments/feedback are welcome, 
> Charlène.

ok kmos

--Kurt

> Index: Makefile
> ===
> RCS file: /cvs/ports/emulators/nono/Makefile,v
> retrieving revision 1.3
> diff -u -p -u -p -r1.3 Makefile
> --- Makefile  22 Jul 2020 14:53:59 -  1.3
> +++ Makefile  31 Jul 2020 20:04:14 -
> @@ -1,5 +1,8 @@
>  # $OpenBSD: Makefile,v 1.3 2020/07/22 14:53:59 gonzalo Exp $
>  
> +# Big endian support is not complete as of 0.1.0
> +NOT_FOR_ARCHS=   ${BE_ARCHS}
> +
>  COMMENT= LUNA-I emulator
>  
>  DISTNAME=nono-0.1.0
> 
> 
> 
> 



Re: [sparc64] fix lang/haslink build

2020-07-31 Thread Kurt Mosiejczuk
On Fri, Jul 31, 2020 at 04:37:04PM -0600, Thomas Frohwein wrote:
> On Mon, Jul 27, 2020 at 01:38:22AM -0400, Kurt Mosiejczuk wrote:
> > hashlink has been dying for a bit, probably to do with the 1.11 update.

> > Errors were complaining about no definition of char16_t. Based on what I
> > saw used for fixes for clang without c++, I changed it to use uint16_t
> > for the uchar typedef. This fixes the build on sparc64 and doesn't break
> > it on amd64.

> > ok?

> ok thfr@
> tested on amd64 without issues.

> IMO should bump REVISION

Sure.

> Your bulk from July 28 suggests you've been doing the build with this
> patch already.

Yes. I try it out in the build before asking to commit it.

--Kurt



Re: Update lang/ecl to 20.4.24

2020-07-31 Thread Josh Elsasser
On Thu, Jul 30, 2020 at 02:33:45PM -0400, George Koehler wrote:
> On Thu, 30 Jul 2020 08:32:25 -0700
> Josh Elsasser  wrote:
> 
> > With George's patch, it segfaults in ecl_min as he predicted,
> > similarly to mips64:
> > ...
> > Got signal before environment was installed on our thread   
> > 
> 
> Daniel Kochmański put up a diff for ecl_find_package_nolock() that
> "is not a proper fix", but gets around the segfault:
> https://gitlab.com/embeddable-common-lisp/ecl/-/issues/604#note_388147381
> 
> Here's the diff as a ports/lang/ecl patch.  With this diff, and the
> boehm-gc diff from my last mail, I can build and run ecl on my
> powerpc64.  "make test" says,
> 
> Did 245 tests (0 crashed), 17999 checks.  
>   
>Pass: 17908 (99%)  
>   
>Fail: 91 ( 1%) 
>   

I applied the diff directly from gitlab and was able to build ecl on
sparc64 and mips64. When I tried to run the tests, sparc64 hung (not
spinning) on test CMP.0009.FINALIZATION and mips64 segfaulted almost
immediately:

Running test ATOMIC-INCF/DECF 
;;;
;;; Detected access to protected memory, also known as 'bus or segmentation 
fault'.
;;; Jumping to the outermost toplevel prompt



new games/onscripter-en

2020-07-31 Thread Nam Nguyen
Please find attached a new port for games/onscripter-en.

onscripter-en is an English branch of onscripter to play NScripter and
ONScripter games. These are typically visual novels.

Upstream[1] has been down since 2018.

There were two distfiles available: fullsrc (which bundled dependencies
like sdl-ttf 2.0.8) and src (without any bundled dependencies).
In [0] these are, respectively:
- Source code with dependencies (tar.bz2, 5.60MB)
- Source code (tar.bz2, 956KB)

My goal was to use src and link against devel/sdl-ttf 2.0.11, but 2.0.11
had a regression where fonts would not render at all. 2.0.10 did work.

I backported a fix[2] for devel/sdl-ttf 2.0.11, which is required for
onscripter-en and resolves the problem.

This port:
- hosts the src distfile[0] on my website. This is 20110628, the latest
  version found under releases. (20110930 is nowhere to be found
  according to the comments section.)
- moves from gcc to clang
- two patches for handling clang warnings (assigning field to itself and
  bitwise AND)
- patch for renaming voidp --> void*
- removes -O3 and -fomit-frame-pointer so that debugging can be done
  with DEBUG=-g CXXFLAGS=-g. fomit-frame-pointer made debugging hard.
- sed in pre-configure to modify Makefile.onscripter and
  configure. onscripter-en uses a homegrown configure and
  Makefile.onscripter which generate Makefile. It tries to get -I and -L
  flags in the right places.
- the only remaining clang warning seems harmless: "warning: illegal
  character encoding"
- README contains upstream's FAQs and control README. Because upstream
  is no longer active, it is important to make it more accessible here.
- includes tools to work with extracting archives and working with plaintext
  script files.

Testing
===

Install the backported fix[2] for devel/sdl-ttf 2.0.11.

There is a test directory which can be used to run basic tests on
onscripter-en. This can be used to test the runtime.

$ doas pkg_add ja-sazanami-ttf
$ doas -u _pbuild cp /usr/local/share/fonts/sazanami/sazanami-gothic.ttf $(make 
show=WRKSRC)/test/default.ttf
$ onscripter-en -r $(make show=WRKSRC)/test

I successfully tested several hours of a visual novel game with
this.

I would like to credit chaoskaiser72 for testing earlier versions of
this OpenBSD port, requesting that I port this to OpenBSD, giving
feedback and answering questions I had regarding
onscripter-en. chaoskaiser72 maintains an onscripter-en resource
page[3], mirroring a lot of the resources that used to be upstream,
including the NScripter Command Reference.

Feedback and tests are welcome.

Sources:
[0] 
https://web.archive.org/web/20181006182632/http://unclemion.com/onscripter/releases
[1] https://web.archive.org/web/20180928193924/http://unclemion.com/onscripter
[2] https://marc.info/?l=openbsd-ports&m=159593692105005&w=2
[3] https://kaisernet.neocities.org/onscripter/



onscripter-en.tar.gz
Description: onscripter-en.tar.gz


Re: Clang 10 FIX: games/devilutionx

2020-07-31 Thread Bryan Steele
On Fri, Jul 31, 2020 at 02:09:53PM +, Brian Callahan wrote:
> Hi ports --
> 
> As reported by naddy@, games/devilutionx doesn't build with clang-10.
> The problem is that our ar doesn't understand archives with LLVM thin
> LTO objects in it (devilutionx turns -flto=thin on by default if you
> have a newer toolchain).
> 
> The solution is to disable LTO, which makes things build and run fine.
> 
> While here, add a patch to silence a bunch of warnings about
> redefining __va_list.
> 
> OK?

It probably shouldn't have been enabling LTO automatically in the
first place, so it seems like a good thing to fix regardless of
mysterious clang10 rumblings.

Comments inline.

> ~Brian

> Index: Makefile
> ===
> RCS file: /cvs/ports/games/devilutionx/Makefile,v
> retrieving revision 1.6
> diff -u -p -r1.6 Makefile
> --- Makefile  16 Mar 2020 23:50:28 -  1.6
> +++ Makefile  31 Jul 2020 14:05:16 -
> @@ -2,6 +2,7 @@
>  
>  COMMENT =open source engine recreation for Diablo 1 game
>  PKGNAME =${DISTNAME:L}
> +REVISION =   0
>  CATEGORIES = games x11
>  
>  GH_ACCOUNT = diasurgical
> @@ -37,7 +38,8 @@ NO_TEST =   Yes
>  
>  # Remove DOS line endings from patched files
>  post-extract:
> - @cd ${WRKSRC} && perl -i -pe 's/\r$$//' CMakeLists.txt
> + @cd ${WRKSRC} && perl -i -pe 's/\r$$//' CMakeLists.txt \
> + SourceS/macos_stdarg.h
>  
>  # No install target
>  do-install:
> Index: patches/patch-CMakeLists_txt
> ===
> RCS file: /cvs/ports/games/devilutionx/patches/patch-CMakeLists_txt,v
> retrieving revision 1.5
> diff -u -p -r1.5 patch-CMakeLists_txt
> --- patches/patch-CMakeLists_txt  16 Mar 2020 23:50:28 -  1.5
> +++ patches/patch-CMakeLists_txt  31 Jul 2020 14:05:16 -
> @@ -1,10 +1,20 @@
>  $OpenBSD: patch-CMakeLists_txt,v 1.5 2020/03/16 23:50:28 bcallah Exp $
>  
> +-DLTO=OFF on the command line doesn't catch.
>  Don't do git here.
>  
>  Index: CMakeLists.txt
>  --- CMakeLists.txt.orig
>  +++ CMakeLists.txt
> +@@ -25,7 +25,7 @@ if(BINARY_RELEASE)
> +   set(ASAN OFF)
> +   set(UBSAN OFF)
> +   set(DEBUG OFF)
> +-  set(LTO ON)
> ++  set(LTO Off)

Should this be "OFF" capitalized to match the rest? Also there's already
a section for OpenBSD overrides cmake options like ASAN/UBSAN. I suppose
it doesn't matter much.

> +   set(DIST ON)
> +   set(FASTER OFF)
> + endif()
>  @@ -40,14 +40,8 @@ if(NIGHTLY_BUILD)
> set(FASTER OFF)
>   endif()
> Index: patches/patch-SourceS_macos_stdarg_h
> ===
> RCS file: patches/patch-SourceS_macos_stdarg_h
> diff -N patches/patch-SourceS_macos_stdarg_h
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-SourceS_macos_stdarg_h  31 Jul 2020 14:05:16 -
> @@ -0,0 +1,19 @@
> +$OpenBSD$
> +
> +We don't need this.
> +
> +Index: SourceS/macos_stdarg.h
> +--- SourceS/macos_stdarg.h.orig
>  SourceS/macos_stdarg.h
> +@@ -1,9 +1,11 @@
> + #ifndef __STDARG_H
> + #define __STDARG_H
> + 
> ++#if 0
> + typedef __builtin_va_list va_list;
> + #define _VA_LIST_T
> + #define va_start(ap, param) __builtin_va_start(ap, param)
> + #define va_end(ap) __builtin_va_end(ap)
> ++#endif
> + 
> + #endif /* __STDARG_H */

If we don't need this anymore, then we should remove the check in
SourceS/miniwin.h instead, seems it was working around a bug.

// work around https://reviews.llvm.org/D51265^M
#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
#include "macos_stdarg.h"
#else
#include 
#endif

It doesn't appear to be needed with clang-8.0.1 either, *shrug*.

ok brynet@ with those changes.

-Bryan.



Re: [sparc64] fix lang/haslink build

2020-07-31 Thread Thomas Frohwein
On Mon, Jul 27, 2020 at 01:38:22AM -0400, Kurt Mosiejczuk wrote:
> hashlink has been dying for a bit, probably to do with the 1.11 update.
> 
> Errors were complaining about no definition of char16_t. Based on what I
> saw used for fixes for clang without c++, I changed it to use uint16_t
> for the uchar typedef. This fixes the build on sparc64 and doesn't break
> it on amd64.
> 
> ok?

ok thfr@
tested on amd64 without issues.

IMO should bump REVISION

Your bulk from July 28 suggests you've been doing the build with this
patch already.

> 
> (cc maintainer)
> 
> --Kurt
> 
> Index: patches/patch-src_hl_h
> ===
> RCS file: /cvs/ports/lang/hashlink/patches/patch-src_hl_h,v
> retrieving revision 1.3
> diff -u -p -r1.3 patch-src_hl_h
> --- patches/patch-src_hl_h11 Apr 2020 09:59:20 -  1.3
> +++ patches/patch-src_hl_h27 Jul 2020 05:36:25 -
> @@ -3,10 +3,12 @@ $OpenBSD: patch-src_hl_h,v 1.3 2020/04/1
>  add OpenBSD to ifdef
>  don't typedef char{16,32}_t in clang with C++
>  
> +Use uint16_t for uchar otherwise. char16_t doesn't exist
> +
>  Index: src/hl.h
>  --- src/hl.h.orig
>  +++ src/hl.h
> -@@ -234,11 +234,13 @@ typedef uint16_t uchar;
> +@@ -234,15 +234,17 @@ typedef uint16_t uchar;
>   #   define USTR(str)u##str
>   #else
>   #   include 
> @@ -20,4 +22,9 @@ Index: src/hl.h
>  +#endif
>   #else
>   #   include 
> + #endif
> +-typedef char16_t uchar;
> ++typedef uint16_t uchar;
> + #   undef USTR
> + #   define USTR(str)u##str
>   #endif



[BE_ARCHS] don't build emulators/nono

2020-07-31 Thread Charlene Wendling
Hi,

> http://build-failures.rhaalovely.net/powerpc/2020-07-15/emulators/nono.log
> http://build-failures.rhaalovely.net/mips64/2020-07-11/emulators/nono.log
(it fails on sparc64 because ports-gcc is not used)

$WRKSRC/vm/bitmap.h includes $WRKSRC/lib/device.h, where HLB and HLW
are only defined on little endian archs. $WRKSRC/vm/bitmap.cpp
expect them and has no fallback code.

As such, big endian support is not complete, so i'm proposing to
mark it NOT_FOR_ARCHS.

Comments/feedback are welcome, 

Charlène.


Index: Makefile
===
RCS file: /cvs/ports/emulators/nono/Makefile,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 Makefile
--- Makefile22 Jul 2020 14:53:59 -  1.3
+++ Makefile31 Jul 2020 20:04:14 -
@@ -1,5 +1,8 @@
 # $OpenBSD: Makefile,v 1.3 2020/07/22 14:53:59 gonzalo Exp $
 
+# Big endian support is not complete as of 0.1.0
+NOT_FOR_ARCHS= ${BE_ARCHS}
+
 COMMENT=   LUNA-I emulator
 
 DISTNAME=  nono-0.1.0






Clang 10 FIX: games/devilutionx

2020-07-31 Thread Brian Callahan
Hi ports --

As reported by naddy@, games/devilutionx doesn't build with clang-10.
The problem is that our ar doesn't understand archives with LLVM thin
LTO objects in it (devilutionx turns -flto=thin on by default if you
have a newer toolchain).

The solution is to disable LTO, which makes things build and run fine.

While here, add a patch to silence a bunch of warnings about
redefining __va_list.

OK?

~Brian
Index: Makefile
===
RCS file: /cvs/ports/games/devilutionx/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile	16 Mar 2020 23:50:28 -	1.6
+++ Makefile	31 Jul 2020 14:05:16 -
@@ -2,6 +2,7 @@
 
 COMMENT =	open source engine recreation for Diablo 1 game
 PKGNAME =	${DISTNAME:L}
+REVISION =	0
 CATEGORIES =	games x11
 
 GH_ACCOUNT =	diasurgical
@@ -37,7 +38,8 @@ NO_TEST =	Yes
 
 # Remove DOS line endings from patched files
 post-extract:
-	@cd ${WRKSRC} && perl -i -pe 's/\r$$//' CMakeLists.txt
+	@cd ${WRKSRC} && perl -i -pe 's/\r$$//' CMakeLists.txt \
+		SourceS/macos_stdarg.h
 
 # No install target
 do-install:
Index: patches/patch-CMakeLists_txt
===
RCS file: /cvs/ports/games/devilutionx/patches/patch-CMakeLists_txt,v
retrieving revision 1.5
diff -u -p -r1.5 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt	16 Mar 2020 23:50:28 -	1.5
+++ patches/patch-CMakeLists_txt	31 Jul 2020 14:05:16 -
@@ -1,10 +1,20 @@
 $OpenBSD: patch-CMakeLists_txt,v 1.5 2020/03/16 23:50:28 bcallah Exp $
 
+-DLTO=OFF on the command line doesn't catch.
 Don't do git here.
 
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
+@@ -25,7 +25,7 @@ if(BINARY_RELEASE)
+   set(ASAN OFF)
+   set(UBSAN OFF)
+   set(DEBUG OFF)
+-  set(LTO ON)
++  set(LTO Off)
+   set(DIST ON)
+   set(FASTER OFF)
+ endif()
 @@ -40,14 +40,8 @@ if(NIGHTLY_BUILD)
set(FASTER OFF)
  endif()
Index: patches/patch-SourceS_macos_stdarg_h
===
RCS file: patches/patch-SourceS_macos_stdarg_h
diff -N patches/patch-SourceS_macos_stdarg_h
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-SourceS_macos_stdarg_h	31 Jul 2020 14:05:16 -
@@ -0,0 +1,19 @@
+$OpenBSD$
+
+We don't need this.
+
+Index: SourceS/macos_stdarg.h
+--- SourceS/macos_stdarg.h.orig
 SourceS/macos_stdarg.h
+@@ -1,9 +1,11 @@
+ #ifndef __STDARG_H
+ #define __STDARG_H
+ 
++#if 0
+ typedef __builtin_va_list va_list;
+ #define _VA_LIST_T
+ #define va_start(ap, param) __builtin_va_start(ap, param)
+ #define va_end(ap) __builtin_va_end(ap)
++#endif
+ 
+ #endif /* __STDARG_H */


Re: UPDATE: graphics/scour to 0.37

2020-07-31 Thread Asher Pasha
Hi,
If ok, could anyone please commit to cvs. I do not have access.
Thanks.
Asher



Re: [NEW] mail/aerc 0.4.0

2020-07-31 Thread Raymond E. Pasco
On Fri Jul 31, 2020 at 7:28 AM EDT, Raymond E. Pasco wrote:
> This diff should fix WRKDIST and enable go ports to be patched again.

And, dependent on that diff, the attached port replaces go-libvterm with
a properly dynamic-linking go-libvterm, and depends on devel/libvterm
from ports.


aerc-0.4.0.tar.gz
Description: GNU Zip compressed data


Re: [NEW] mail/aerc 0.4.0

2020-07-31 Thread Raymond E. Pasco
This diff should fix WRKDIST and enable go ports to be patched again.

diff --git a/lang/go/go.port.mk b/lang/go/go.port.mk
index 0d254934f32..32a367a29bb 100644
--- a/lang/go/go.port.mk
+++ b/lang/go/go.port.mk
@@ -107,6 +107,7 @@ MODGO_SETUP_WORKSPACE = mkdir -p ${WRKSRC:H}; mv 
${MODGO_SUBDIR} ${WRKSRC};
 WRKSRC ?=  ${WRKDIR}/${MODGO_MODNAME}@${MODGO_VERSION}
 MODGO_SETUP_WORKSPACE =ln -sf ${WRKSRC} ${WRKDIR}/${MODGO_MODNAME}
 .endif
+WRKDIST =  ${WRKSRC}
 
 INSTALL_STRIP =
 .if ${MODGO_TYPE:L:Mbin}
-- 
2.27.0



powerpc bulk build report

2020-07-31 Thread cwen
Bulk build on macppc-0.ports.openbsd.org

Started : Wed Jul 15 14:50:42 MDT 2020
Finished: Fri Jul 31 08:39:34 MDT 2020
Duration: 15 Days 17 hours 49 minutes

Built using OpenBSD 6.7-current (GENERIC) #753: Tue Jul 14 12:55:03 MDT 2020

Built 9870 packages

Number of packages built each day:
Jul 15: 769
Jul 16: 206
Jul 17: 578
Jul 18: 454
Jul 19: 431
Jul 20: 343
Jul 21: 347
Jul 22: 331
Jul 23: 298
Jul 24: 533
Jul 25: 421
Jul 26: 584
Jul 27: 459
Jul 28: 567
Jul 29: 473
Jul 30: 560
Jul 31: 2516


Critical path missing pkgs: 
http://build-failures.rhaalovely.net/powerpc/2020-07-15/summary.log

Build failures: 16
http://build-failures.rhaalovely.net/powerpc/2020-07-15/devel/geany.log
http://build-failures.rhaalovely.net/powerpc/2020-07-15/emulators/frodo.log
http://build-failures.rhaalovely.net/powerpc/2020-07-15/emulators/nono.log
http://build-failures.rhaalovely.net/powerpc/2020-07-15/games/hyperrogue.log
http://build-failures.rhaalovely.net/powerpc/2020-07-15/games/valyriatear.log
http://build-failures.rhaalovely.net/powerpc/2020-07-15/lang/compcert.log
http://build-failures.rhaalovely.net/powerpc/2020-07-15/lang/gforth.log
http://build-failures.rhaalovely.net/powerpc/2020-07-15/lang/squeak/vm.log
http://build-failures.rhaalovely.net/powerpc/2020-07-15/productivity/gnucash.log
http://build-failures.rhaalovely.net/powerpc/2020-07-15/shells/ksh93.log
http://build-failures.rhaalovely.net/powerpc/2020-07-15/sysutils/libvirt.log
http://build-failures.rhaalovely.net/powerpc/2020-07-15/www/sope.log
http://build-failures.rhaalovely.net/powerpc/2020-07-15/x11/e17/elementary.log
http://build-failures.rhaalovely.net/powerpc/2020-07-15/x11/gnustep/dbuskit.log
http://build-failures.rhaalovely.net/powerpc/2020-07-15/x11/gnustep/gui.log
http://build-failures.rhaalovely.net/powerpc/2020-07-15/x11/gnustep/performance.log

Recurrent failures:
 failures/devel/geany.log
 failures/emulators/frodo.log
 failures/games/hyperrogue.log
 failures/games/valyriatear.log
 failures/lang/gforth.log
 failures/lang/squeak/vm.log
 failures/shells/ksh93.log
 failures/summary.log
 failures/sysutils/libvirt.log

New failures:
+failures/emulators/nono.log
+failures/lang/compcert.log
+failures/productivity/gnucash.log

Resolved failures:
-failures/devel/kdevelop.log

Packages newly built:
+cad/qflow
+devel/bamf
+devel/z80ex
+devel/zmac
+math/bc-gh
+net/py-slixmpp,python3
+sysutils/fff
+sysutils/py-hpilo,python3
+sysutils/py-joblib,python3
+textproc/luceneplusplus
+www/ephemetoot
+x11/bemenu
+x11/elementary/calculator
+x11/elementary/dock

Packages not built this time:
-audio/libgpod,
-audio/libgpod,,-python
-comms/amtterm
-devel/automoc
-devel/clang-tools-extra
-devel/py-astroid
-devel/py-cloudpickle
-devel/py-configargparse
-devel/pylint
-devel/pylint,-gui
-devel/pylint,-main
-geo/mapserver
-math/ebc
-multimedia/phonon
-net/p5-Net-GPSD
-net/py-aiodns
-net/py-slixmpp
-net/wireless
-net/wiresep
-www/vteplugin
-x11/qt5/qtspeech,
-x11/qt5/qtspeech,,-examples



Re: rsync: update to 3.2.2

2020-07-31 Thread Kurt Mosiejczuk
On Thu, Jul 30, 2020 at 11:21:41PM +0200, Klemens Nanni wrote:
> On Fri, Jul 24, 2020 at 02:55:50PM +0200, Klemens Nanni wrote:
> > Tests on amd64 still pass:

> >   31 passed
> >   9 skipped

> > Feedback? OK?
> Any OKs for this diff which updates and brings in all the support?

It compiles fine on sparc64. Tests are the same (31 passed, 9 skipped).

ok kmos

--Kurt

> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/net/rsync/Makefile,v
> retrieving revision 1.85
> diff -u -p -r1.85 Makefile
> --- Makefile  27 Jan 2020 20:27:10 -  1.85
> +++ Makefile  24 Jul 2020 12:52:39 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT =mirroring/synchronization over low bandwidth links
>  
> -DISTNAME =   rsync-3.1.3
> +DISTNAME =   rsync-3.2.2
>  CATEGORIES = net
>  HOMEPAGE =   https://rsync.samba.org/
>  
> @@ -10,32 +10,36 @@ MAINTAINER =  Marc Espie   
>  FLAVORS =iconv
>  FLAVOR ?=
> -REVISION =   0
>  
>  # GPLv3
>  PERMIT_PACKAGE = Yes
>  
> -WANTLIB =c
> +WANTLIB =c crypto lz4 xxhash zstd
>  
>  MASTER_SITES =   https://rsync.samba.org/ftp/rsync/src/ \
>   http://ftp.funet.fi/pub/mirrors/samba.org/pub/rsync/src/
>  
> +SEPARATE_BUILD =Yes
>  CONFIGURE_STYLE =gnu
>  CONFIGURE_ARGS =--with-included-popt \
>   --with-included-zlib \
>   --with-rsyncd-conf="${SYSCONFDIR}/rsyncd.conf" \
>   --with-rsh=/usr/bin/ssh \
>   --with-nobody-group=_rsync
> +CONFIGURE_ENV =  CPPFLAGS='-I${LOCALBASE}/include' \
> + LDFLAGS='-L${LOCALBASE}/lib'
>  
>  .if ${FLAVOR:Miconv}
> -CONFIGURE_ENV += CPPFLAGS='-I${LOCALBASE}/include' \
> - LDFLAGS='-L${LOCALBASE}/lib'
>  LIB_DEPENDS +=   converters/libiconv
>  WANTLIB +=   iconv
>  .endif
>  
>  DOCDIR = ${PREFIX}/share/doc/rsync
>  DEBUG_PACKAGES = ${BUILD_PACKAGES}
> +
> +LIB_DEPENDS =archivers/lz4 \
> + archivers/zstd \
> + sysutils/xxhash
>  
>  pre-configure:
>   ${SUBST_CMD} ${WRKSRC}/rsyncd.conf.5 \
> Index: distinfo
> ===
> RCS file: /cvs/ports/net/rsync/distinfo,v
> retrieving revision 1.29
> diff -u -p -r1.29 distinfo
> --- distinfo  13 Feb 2018 19:20:06 -  1.29
> +++ distinfo  23 Jul 2020 14:20:14 -
> @@ -1,2 +1,2 @@
> -SHA256 (rsync-3.1.3.tar.gz) = VcxVTv7F/arXDekhzVpe62wpqVUkxxXzu/hJI1sIAMA=
> -SIZE (rsync-3.1.3.tar.gz) = 905908
> +SHA256 (rsync-3.2.2.tar.gz) = ZEvThBd5UHZlIR/X24NZyKEGcMV+MFtKq2G05AA3r6g=
> +SIZE (rsync-3.2.2.tar.gz) = 1057001
> Index: patches/patch-authenticate_c
> ===
> RCS file: /cvs/ports/net/rsync/patches/patch-authenticate_c,v
> retrieving revision 1.6
> diff -u -p -r1.6 patch-authenticate_c
> --- patches/patch-authenticate_c  10 Jan 2016 21:36:22 -  1.6
> +++ patches/patch-authenticate_c  23 Jul 2020 14:20:26 -
> @@ -1,7 +1,8 @@
>  $OpenBSD: patch-authenticate_c,v 1.6 2016/01/10 21:36:22 naddy Exp $
>  authenticate.c.orig  Mon Aug 24 20:54:00 2015
> -+++ authenticate.c   Tue Dec 22 21:23:23 2015
> -@@ -350,7 +350,7 @@ void auth_client(int fd, const char *user, const char 
> +Index: authenticate.c
> +--- authenticate.c.orig
>  authenticate.c
> +@@ -349,7 +349,7 @@ void auth_client(int fd, const char *user, const char 
>   char pass2[MAX_DIGEST_LEN*2];
>   
>   if (!user || !*user)
> Index: patches/patch-configure_sh
> ===
> RCS file: /cvs/ports/net/rsync/patches/patch-configure_sh,v
> retrieving revision 1.4
> diff -u -p -r1.4 patch-configure_sh
> --- patches/patch-configure_sh10 Jan 2016 21:36:22 -  1.4
> +++ patches/patch-configure_sh23 Jul 2020 14:20:26 -
> @@ -1,7 +1,8 @@
>  $OpenBSD: patch-configure_sh,v 1.4 2016/01/10 21:36:22 naddy Exp $
>  configure.sh.origMon Dec 21 21:20:53 2015
> -+++ configure.sh Tue Dec 22 21:23:23 2015
> -@@ -4453,7 +4453,7 @@ fi
> +Index: configure.sh
> +--- configure.sh.orig
>  configure.sh
> +@@ -4901,7 +4901,7 @@ fi
>   
>   
>   cat >>confdefs.h <<_ACEOF
> Index: patches/patch-rsync_1
> ===
> RCS file: /cvs/ports/net/rsync/patches/patch-rsync_1,v
> retrieving revision 1.6
> diff -u -p -r1.6 patch-rsync_1
> --- patches/patch-rsync_1 13 Feb 2018 19:20:06 -  1.6
> +++ patches/patch-rsync_1 23 Jul 2020 14:20:26 -
> @@ -2,12 +2,12 @@ $OpenBSD: patch-rsync_1,v 1.6 2018/02/13
>  Index: rsync.1
>  --- rsync.1.orig
>  +++ rsync.1
> -@@ -3990,7 +3990,7 @@ consult the remote shell\(cq\&s documentation.
> +@@ -4109,7 +4109,7 @@ documentation.
>   .IP "\fBUSER\fP or \fBLOGNAME\fP"
> - The USER or LOGNAME environment variables
> - are used to determine the default username sent to an rsync daemon.
> --If neither is set, the userna

NEW: databases/timescaledb 1.7.2

2020-07-31 Thread Martin
Comments? OK?

Martin

# $OpenBSD: Makefile,v $

Makefile
COMMENT =   extension to scale PostgreSQL for time-series data
GH_ACCOUNT =timescale
GH_PROJECT =timescaledb
GH_TAGNAME =1.7.2

CATEGORIES =databases
HOMEPAGE =  https://www.timescale.com/

# ALv2
PERMIT_PACKAGE =Yes

WANTLIB =   c crypto pq ssl

COMPILER =  base-clang ports-gcc

MODULES =   devel/cmake

LIB_DEPENDS =   databases/postgresql
BUILD_DEPENDS = databases/postgresql,-server
RUN_DEPENDS =   databases/postgresql,-server

CONFIGURE_ARGS +=   -DREGRESS_CHECKS=OFF

.include 

distinfo
SHA256 (timescaledb-1.7.2.tar.gz) = 
7066e554fd82f31a74367761ef40cc174d6a9ce9f27d76f81cd3f95093fbc772
SIZE (timescaledb-1.7.2.tar.gz) = 1962929

pkg/DESCR
TimescaleDB scales PostgreSQL for time-series data via automatic
partitioning across time and space (partitioning key), yet retains
the standard PostgreSQL interface.

TimescaleDB packaged as a PostreSQL extension with full SQL support.

pkg/PLIST
@comment $OpenBSD: PLIST,v$
@so lib/postgresql/timescaledb-1.7.2.so
@so lib/postgresql/timescaledb-tsl-1.7.2.so
@so lib/postgresql/timescaledb.so
share/postgresql/extension/timescaledb--0.1.0--1.7.2.sql
share/postgresql/extension/timescaledb--0.10.0--1.7.2.sql
share/postgresql/extension/timescaledb--0.10.1--1.7.2.sql
share/postgresql/extension/timescaledb--0.11.0--1.7.2.sql
share/postgresql/extension/timescaledb--0.12.0--1.7.2.sql
share/postgresql/extension/timescaledb--0.12.1--1.7.2.sql
share/postgresql/extension/timescaledb--0.2.0--1.7.2.sql
share/postgresql/extension/timescaledb--0.3.0--1.7.2.sql
share/postgresql/extension/timescaledb--0.4.0--1.7.2.sql
share/postgresql/extension/timescaledb--0.4.1--1.7.2.sql
share/postgresql/extension/timescaledb--0.4.2--1.7.2.sql
share/postgresql/extension/timescaledb--0.5.0--1.7.2.sql
share/postgresql/extension/timescaledb--0.6.0--1.7.2.sql
share/postgresql/extension/timescaledb--0.6.1--1.7.2.sql
share/postgresql/extension/timescaledb--0.7.0--1.7.2.sql
share/postgresql/extension/timescaledb--0.7.1--1.7.2.sql
share/postgresql/extension/timescaledb--0.8.0--1.7.2.sql
share/postgresql/extension/timescaledb--0.9.0--1.7.2.sql
share/postgresql/extension/timescaledb--0.9.1--1.7.2.sql
share/postgresql/extension/timescaledb--0.9.2--1.7.2.sql
share/postgresql/extension/timescaledb--1.0.0--1.7.2.sql
share/postgresql/extension/timescaledb--1.0.0-rc1--1.7.2.sql
share/postgresql/extension/timescaledb--1.0.0-rc2--1.7.2.sql
share/postgresql/extension/timescaledb--1.0.0-rc3--1.7.2.sql
share/postgresql/extension/timescaledb--1.0.1--1.7.2.sql
share/postgresql/extension/timescaledb--1.1.0--1.7.2.sql
share/postgresql/extension/timescaledb--1.1.1--1.7.2.sql
share/postgresql/extension/timescaledb--1.2.0--1.7.2.sql
share/postgresql/extension/timescaledb--1.2.1--1.7.2.sql
share/postgresql/extension/timescaledb--1.2.2--1.7.2.sql
share/postgresql/extension/timescaledb--1.3.0--1.7.2.sql
share/postgresql/extension/timescaledb--1.3.1--1.7.2.sql
share/postgresql/extension/timescaledb--1.3.2--1.7.2.sql
share/postgresql/extension/timescaledb--1.4.0--1.7.2.sql
share/postgresql/extension/timescaledb--1.4.1--1.7.2.sql
share/postgresql/extension/timescaledb--1.4.2--1.7.2.sql
share/postgresql/extension/timescaledb--1.5.0--1.7.2.sql
share/postgresql/extension/timescaledb--1.5.1--1.7.2.sql
share/postgresql/extension/timescaledb--1.6.0--1.7.2.sql
share/postgresql/extension/timescaledb--1.6.1--1.7.2.sql
share/postgresql/extension/timescaledb--1.7.0--1.7.2.sql
share/postgresql/extension/timescaledb--1.7.1--1.7.2.sql
share/postgresql/extension/timescaledb--1.7.2.sql
share/postgresql/extension/timescaledb.control


timescaledb-1.7.2.tgz
Description: application/gzip


[UPDATE] databases/citus 9.0.1 -> 9.4.0

2020-07-31 Thread Martin
Comments? OK?

Martin

Index: Makefile
===
RCS file: /cvs/openbsd/ports/databases/citus/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile6 Feb 2020 00:37:13 -   1.7
+++ Makefile31 Jul 2020 06:24:01 -
@@ -3,7 +3,7 @@
 COMMENT =  extension to horizontally scale PostgreSQL
 GH_ACCOUNT =   citusdata
 GH_PROJECT =   citus
-GH_TAGNAME =   v9.0.1
+GH_TAGNAME =   v9.4.0

 CATEGORIES =   databases
 HOMEPAGE = https://www.citusdata.com/
Index: distinfo
===
RCS file: /cvs/openbsd/ports/databases/citus/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo6 Feb 2020 00:37:13 -   1.5
+++ distinfo30 Jul 2020 23:22:04 -
@@ -1,2 +1,2 @@
-SHA256 (citus-9.0.1.tar.gz) = u2mD9nDg9Ww3JQvvMgzVpq8hpfF3KLM0LmYISqMwfE8=
-SIZE (citus-9.0.1.tar.gz) = 4232025
+SHA256 (citus-9.4.0.tar.gz) = 
7d298ef2efc4e3ead22a137382cdac5c466a78f996c508d68db5d3851bd8265a
+SIZE (citus-9.4.0.tar.gz) = 4552865
Index: pkg/PLIST
===
RCS file: /cvs/openbsd/ports/databases/citus/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST   6 Feb 2020 00:37:13 -   1.4
+++ pkg/PLIST   30 Jul 2020 23:37:14 -
@@ -1,22 +1,32 @@
-@comment $OpenBSD: PLIST,v 1.4 2020/02/06 00:37:13 jeremy Exp $
+@comment $OpenBSD: PLIST,v$
 include/postgresql/server/citus_version.h
 include/postgresql/server/distributed/
+include/postgresql/server/distributed/adaptive_executor.h
+include/postgresql/server/distributed/argutils.h
 include/postgresql/server/distributed/backend_data.h
+include/postgresql/server/distributed/cancel_utils.h
 include/postgresql/server/distributed/citus_acquire_lock.h
 include/postgresql/server/distributed/citus_clauses.h
 include/postgresql/server/distributed/citus_custom_scan.h
 include/postgresql/server/distributed/citus_nodefuncs.h
 include/postgresql/server/distributed/citus_nodes.h
 include/postgresql/server/distributed/citus_ruleutils.h
+include/postgresql/server/distributed/citus_safe_lib.h
 include/postgresql/server/distributed/colocation_utils.h
+include/postgresql/server/distributed/combine_query_planner.h
 include/postgresql/server/distributed/commands.h
 include/postgresql/server/distributed/connection_management.h
+include/postgresql/server/distributed/coordinator_protocol.h
+include/postgresql/server/distributed/cte_inline.h
 include/postgresql/server/distributed/deparse_shard_query.h
 include/postgresql/server/distributed/deparser.h
+include/postgresql/server/distributed/directed_acyclic_graph_execution.h
 include/postgresql/server/distributed/distributed_deadlock_detection.h
+include/postgresql/server/distributed/distributed_execution_locks.h
 include/postgresql/server/distributed/distributed_planner.h
 include/postgresql/server/distributed/distribution_column.h
 include/postgresql/server/distributed/enterprise.h
+include/postgresql/server/distributed/error_codes.h
 include/postgresql/server/distributed/errormessage.h
 include/postgresql/server/distributed/extended_op_node_utils.h
 include/postgresql/server/distributed/foreign_key_relationship.h
@@ -25,43 +35,49 @@ include/postgresql/server/distributed/fu
 include/postgresql/server/distributed/hash_helpers.h
 include/postgresql/server/distributed/insert_select_executor.h
 include/postgresql/server/distributed/insert_select_planner.h
+include/postgresql/server/distributed/intermediate_result_pruning.h
 include/postgresql/server/distributed/intermediate_results.h
 include/postgresql/server/distributed/listutils.h
 include/postgresql/server/distributed/local_executor.h
+include/postgresql/server/distributed/local_multi_copy.h
+include/postgresql/server/distributed/local_plan_cache.h
 include/postgresql/server/distributed/lock_graph.h
+include/postgresql/server/distributed/log_utils.h
 include/postgresql/server/distributed/maintenanced.h
-include/postgresql/server/distributed/master_metadata_utility.h
-include/postgresql/server/distributed/master_protocol.h
 include/postgresql/server/distributed/memutils.h
 include/postgresql/server/distributed/metadata_cache.h
 include/postgresql/server/distributed/metadata_sync.h
+include/postgresql/server/distributed/metadata_utility.h
 include/postgresql/server/distributed/multi_client_executor.h
 include/postgresql/server/distributed/multi_executor.h
 include/postgresql/server/distributed/multi_explain.h
 include/postgresql/server/distributed/multi_join_order.h
 include/postgresql/server/distributed/multi_logical_optimizer.h
 include/postgresql/server/distributed/multi_logical_planner.h
-include/postgresql/server/distributed/multi_master_planner.h
 include/postgresql/server/distributed/multi_partitioning_utils.h
 include/postgresql/server/distributed/multi_physical_planner.h
 include/postgresql/serv