CVS: cvs.openbsd.org: ports

2018-01-10 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2018/01/11 00:56:50

Modified files:
mail/sendmail  : Makefile 
mail/sendmail/files: site.OS.m4 

Log message:
Revert previous, it seems to break the build somehow.



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Brian Callahan
CVSROOT:/cvs
Module name:ports
Changes by: bcal...@cvs.openbsd.org 2018/01/10 22:09:30

Modified files:
lang/flang/flang: Makefile distinfo 

Log message:
Update flang to the latest upstream.



UPDATE: net/snort 2.9.11.1

2018-01-10 Thread Lawrence Teo
This updates Snort to 2.9.11.1.

Release notes + changelog:
https://www.snort.org/downloads/snort/release_notes_2.9.11.1.txt
https://www.snort.org/downloads/snort/changelog_2.9.11.1.txt

In addition, the diff also syncs pkg/README with reality, adds
daemon_timeout=120 to the rc script (since Snort can take a long time
to start with the current rules), and updates/regenerates patches.

ok?



Index: Makefile
===
RCS file: /cvs/ports/net/snort/Makefile,v
retrieving revision 1.97
diff -u -p -r1.97 Makefile
--- Makefile23 Jan 2017 11:22:58 -  1.97
+++ Makefile11 Jan 2018 02:14:22 -
@@ -2,13 +2,12 @@
 
 COMMENT =  highly flexible sniffer/NIDS
 
-VERSION =  2.9.9.0
+VERSION =  2.9.11.1
 DISTNAME = snort-${VERSION}
-REVISION = 0
 
 CATEGORIES =   net security
 
-HOMEPAGE = http://www.snort.org/
+HOMEPAGE = https://www.snort.org/
 
 MAINTAINER =   Markus Lude 
 
Index: distinfo
===
RCS file: /cvs/ports/net/snort/distinfo,v
retrieving revision 1.36
diff -u -p -r1.36 distinfo
--- distinfo5 Jan 2017 03:08:04 -   1.36
+++ distinfo11 Jan 2018 02:15:07 -
@@ -1,2 +1,2 @@
-SHA256 (snort-2.9.9.0.tar.gz) = cbFHEl6WOQoS89VXlu1Qc993IGvTVj2E0+Wh8Z59elY=
-SIZE (snort-2.9.9.0.tar.gz) = 6364482
+SHA256 (snort-2.9.11.1.tar.gz) = n2s66sWhCfVVBL03BWSsQxyxdzUHkp3EYWJomPM/Rs0=
+SIZE (snort-2.9.11.1.tar.gz) = 6442755
Index: patches/patch-src_decode_h
===
RCS file: /cvs/ports/net/snort/patches/patch-src_decode_h,v
retrieving revision 1.10
diff -u -p -r1.10 patch-src_decode_h
--- patches/patch-src_decode_h  5 Jan 2017 03:08:04 -   1.10
+++ patches/patch-src_decode_h  11 Jan 2018 02:28:39 -
@@ -1,7 +1,8 @@
 $OpenBSD: patch-src_decode_h,v 1.10 2017/01/05 03:08:04 lteo Exp $
 src/decode.h.orig  Tue Jun  7 03:47:47 2016
-+++ src/decode.h   Sun Dec  4 00:36:43 2016
-@@ -834,9 +834,9 @@ typedef struct _SLLHdr {
+Index: src/decode.h
+--- src/decode.h.orig
 src/decode.h
+@@ -835,9 +835,9 @@ typedef struct _SLLHdr {
   * Pflog1_Hdr:  CVS = 1.3,  DLT_OLD_PFLOG = 17,  Length = 28
   * Pflog2_Hdr:  CVS = 1.8,  DLT_PFLOG = 117, Length = 48
   * Pflog3_Hdr:  CVS = 1.12, DLT_PFLOG = 117, Length = 64
Index: patches/patch-src_dynamic-plugins_sf_engine_Makefile_in
===
RCS file: 
/cvs/ports/net/snort/patches/patch-src_dynamic-plugins_sf_engine_Makefile_in,v
retrieving revision 1.10
diff -u -p -r1.10 patch-src_dynamic-plugins_sf_engine_Makefile_in
--- patches/patch-src_dynamic-plugins_sf_engine_Makefile_in 2 May 2016 
02:29:58 -   1.10
+++ patches/patch-src_dynamic-plugins_sf_engine_Makefile_in 11 Jan 2018 
02:28:36 -
@@ -1,7 +1,8 @@
 $OpenBSD: patch-src_dynamic-plugins_sf_engine_Makefile_in,v 1.10 2016/05/02 
02:29:58 lteo Exp $
 src/dynamic-plugins/sf_engine/Makefile.in.orig Fri Mar 18 15:11:29 2016
-+++ src/dynamic-plugins/sf_engine/Makefile.in  Fri Apr 29 11:02:26 2016
-@@ -376,7 +376,7 @@ top_srcdir = @top_srcdir@
+Index: src/dynamic-plugins/sf_engine/Makefile.in
+--- src/dynamic-plugins/sf_engine/Makefile.in.orig
 src/dynamic-plugins/sf_engine/Makefile.in
+@@ -388,7 +388,7 @@ top_srcdir = @top_srcdir@
  AUTOMAKE_OPTIONS = foreign no-dependencies
  dynamicengine_LTLIBRARIES = libsf_engine.la
  dynamicenginedir = $(libdir)/snort_dynamicengine
Index: patches/patch-src_dynamic-preprocessors_Makefile_in
===
RCS file: 
/cvs/ports/net/snort/patches/patch-src_dynamic-preprocessors_Makefile_in,v
retrieving revision 1.16
diff -u -p -r1.16 patch-src_dynamic-preprocessors_Makefile_in
--- patches/patch-src_dynamic-preprocessors_Makefile_in 2 May 2016 02:29:58 
-   1.16
+++ patches/patch-src_dynamic-preprocessors_Makefile_in 11 Jan 2018 02:28:36 
-
@@ -1,7 +1,8 @@
 $OpenBSD: patch-src_dynamic-preprocessors_Makefile_in,v 1.16 2016/05/02 
02:29:58 lteo Exp $
 src/dynamic-preprocessors/Makefile.in.orig Fri Mar 18 15:11:29 2016
-+++ src/dynamic-preprocessors/Makefile.in  Fri Apr 29 11:02:26 2016
-@@ -1528,19 +1528,8 @@ clean-local:
+Index: src/dynamic-preprocessors/Makefile.in
+--- src/dynamic-preprocessors/Makefile.in.orig
 src/dynamic-preprocessors/Makefile.in
+@@ -1635,19 +1635,8 @@ clean-local:
rm -rf include build
  
  install-data-local:
Index: patches/patch-src_dynamic-preprocessors_dcerpc2_Makefile_in
===
RCS file: 
/cvs/ports/net/snort/patches/patch-src_dynamic-preprocessors_dcerpc2_Makefile_in,v
retrieving revision 1.13
diff -u -p -r1.13 patch-src_dynamic-preprocessors_dcerpc2_Makefile_in
--- 

Re: [PATCH] net/obfs4proxy/pkg/README

2018-01-10 Thread Daniel Jakots
On Wed, 10 Jan 2018 15:03:30 -0600, attila 
wrote:

> A typo in the pkg/README for net/obfs4proxy was reported to me on IRC.
> The attached patch fixes it.

Thanks committed (with the needed REVISION)



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Daniel Jakots
CVSROOT:/cvs
Module name:ports
Changes by: d...@cvs.openbsd.org2018/01/10 20:25:38

Modified files:
net/obfs4proxy : Makefile 
net/obfs4proxy/pkg: README 

Log message:
Fix a typo in the README

from attila (maintainer)



Re: UPDATE: games/chocolate-doom

2018-01-10 Thread Ryan Freeman
On Tue, Nov 21, 2017 at 07:14:18PM -0800, Ryan Freeman wrote:
> After prodding from bentley@ about modified chunk canary crashes,
> when running with 'ln -s S /etc/malloc.conf', I had a go at
> resolving it.  Lucky for me, the new sdl2-branch of chocolate-doom
> seems to neatly skirt around the issue.
> 
> I first had a go at seeing if the current release could just be
> patched, but I got lost with no usable results.
> 
> Here is an update to chocolate-doom 3.0.0beta1, which works with
> malloc S option set.  I tested doom2, and a local chocolate-server
> + connect to localhost via chocolate-doom-setup.
> 
> I quickly ran the heretic, hexen, and strife games and confirmed
> they start and the games play.
> 
> For the port, I used the latest github sdl2-branch as a base,
> rather than an available chocolate-doom-3.0.0beta1 prerolled
> tarball from February 2017.  This is because various little fixes
> to that branch have rolled in since then, and it is more or less
> stable until the actual release happens.
> 
> The manpages were not available pre-built, and thus I had to do
> some dancing around with making sure its little manpage generator
> could successfully use a python2 executable.  I am not sure if
> I did this right at all, and was having issues finding other examples
> in-tree.  A push in the right direction appreciated if necessary.

Hi,

Here is an update to the recently released chocolate-doom 3.0.0.

This still works fine with 'ln -s S /etc/malloc.conf' set.
Builds, packages, and plays good here on amd64.

I let python stay as a BUILD_DEPENDS like the 3.0.0beta1 patch
prior, as the manpages list has grown, manually maintaining
lists of them in the Makefile starts to feel tedious :-)

Comments/OK?

Cheers!
-ryan


? chocolate-doom.diff
Index: Makefile
===
RCS file: /cvs/ports/games/chocolate-doom/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- Makefile13 Nov 2017 11:25:27 -  1.22
+++ Makefile11 Jan 2018 02:48:53 -
@@ -1,10 +1,9 @@
 # $OpenBSD: Makefile,v 1.22 2017/11/13 11:25:27 bentley Exp $
 
 COMMENT =  portable release of Doom, Heretic, Hexen, and Strife
-V =2.3.0
+V =3.0.0
 DISTNAME = chocolate-doom-${V}
 CATEGORIES =   games x11
-REVISION = 0
 
 HOMEPAGE = https://www.chocolate-doom.org/
 
@@ -13,10 +12,10 @@ MAINTAINER =Ryan Freeman 

Re: sparc64 bulk build report

2018-01-10 Thread Jonathan Gray
On Wed, Jan 10, 2018 at 12:36:05PM -0700, lan...@openbsd.org wrote:
> bulk build on sparc64-1.ports.openbsd.org
> started on  Sat Dec 30 04:12:44 MST 2017
> finished at Wed Jan 10 12:35:33 MST 2018
> lasted 12D01h22m
> done with kern.version=OpenBSD 6.2-current (GENERIC) #398: Fri Dec 29 
> 18:07:48 MST 2017
> 
> built packages:8293
> Dec 30:407
> Dec 31:193
> Jan 1:3566
> Jan 2:79
> Jan 3:119
> Jan 4:94
> Jan 5:131
> Jan 6:221
> Jan 7:444
> Jan 8:868
> Jan 9:2170
> Jan 10:3335
> 
> 
> 
> build failures: 41
> http://build-failures.rhaalovely.net//sparc64/2017-12-30/audio/audacious-plugins.log
> http://build-failures.rhaalovely.net//sparc64/2017-12-30/audio/cmu-sphinxbase.log
> http://build-failures.rhaalovely.net//sparc64/2017-12-30/devel/arm-none-eabi/gcc-linaro,aarch64.log
> http://build-failures.rhaalovely.net//sparc64/2017-12-30/devel/astyle.log
> http://build-failures.rhaalovely.net//sparc64/2017-12-30/devel/avr/gcc.log
> http://build-failures.rhaalovely.net//sparc64/2017-12-30/devel/dlib.log
> http://build-failures.rhaalovely.net//sparc64/2017-12-30/devel/libvmime.log
> http://build-failures.rhaalovely.net//sparc64/2017-12-30/devel/reposurgeon.log
> http://build-failures.rhaalovely.net//sparc64/2017-12-30/devel/xtensa-elf/gcc.log
> http://build-failures.rhaalovely.net//sparc64/2017-12-30/editors/qscintilla.log
> http://build-failures.rhaalovely.net//sparc64/2017-12-30/editors/scintilla.log
> http://build-failures.rhaalovely.net//sparc64/2017-12-30/emulators/higan.log
> http://build-failures.rhaalovely.net//sparc64/2017-12-30/emulators/ppsspp.log
> http://build-failures.rhaalovely.net//sparc64/2017-12-30/emulators/retroarch.log
> http://build-failures.rhaalovely.net//sparc64/2017-12-30/games/easyrpg.log
> http://build-failures.rhaalovely.net//sparc64/2017-12-30/games/hyperrogue.log
> http://build-failures.rhaalovely.net//sparc64/2017-12-30/games/lugaru.log
> http://build-failures.rhaalovely.net//sparc64/2017-12-30/games/pokerth.log
> http://build-failures.rhaalovely.net//sparc64/2017-12-30/games/scummvm-tools.log

Index: Makefile
===
RCS file: /cvs/ports/games/scummvm-tools/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- Makefile21 Dec 2017 10:23:27 -  1.30
+++ Makefile11 Jan 2018 01:32:36 -
@@ -2,6 +2,7 @@
 
 COMMENT=   collection of various tools for scummvm
 V= 2.0.0
+REVISION=  0
 DISTNAME=  scummvm-tools-${V}
 CATEGORIES=games
 MASTER_SITES=  http://www.scummvm.org/frs/scummvm-tools/${V}/
@@ -22,6 +23,9 @@ WANTLIB=  c freetype iconv m ogg ${COMPI
 
 NO_TEST=   Yes
 USE_GMAKE= Yes
+
+# extract_prince uses C++11 std::to_string
+COMPILER=  base-clang ports-gcc
 
 LIB_DEPENDS=   audio/flac \
graphics/png \



Re: UPDATE: security/botan2

2018-01-10 Thread Alexander Bluhm
On Wed, Jan 10, 2018 at 10:24:45PM +0100, Rafael Sadowski wrote:
> -MAINTAINER = Alexander Bluhm 
> +MAINTAINER = Alexander Bluhm 

Makefile.template has two tabs here.

> Index: patches/patch-src_build-data_cc_gcc_txt
> ===
> RCS file: /cvs/ports/security/botan2/patches/patch-src_build-data_cc_gcc_txt,v
> retrieving revision 1.1.1.1
> diff -u -p -u -p -r1.1.1.1 patch-src_build-data_cc_gcc_txt
> --- patches/patch-src_build-data_cc_gcc_txt   13 Mar 2017 15:00:39 -  
> 1.1.1.1
> +++ patches/patch-src_build-data_cc_gcc_txt   10 Jan 2018 21:20:28 -
> @@ -1,20 +1,13 @@
>  $OpenBSD: patch-src_build-data_cc_gcc_txt,v 1.1.1.1 2017/03/13 15:00:39 
> bluhm Exp $
>  src/build-data/cc/gcc.txt.orig   Tue Jan 10 04:21:31 2017
> -+++ src/build-data/cc/gcc.txtMon Mar 13 07:14:45 2017
> -@@ -1,6 +1,6 @@
> - macro_name GCC
> +Index: src/build-data/cc/gcc.txt
> +--- src/build-data/cc/gcc.txt.orig
>  src/build-data/cc/gcc.txt
> +@@ -9,7 +9,7 @@ warning_flags "-Wall -Wextra -Wpedantic -Wstrict-alias
>   
> --binary_name g++
> -+binary_name ${CXX}

Why do you remove this?

> + maintainer_warning_flags "-Wstrict-overflow=5 -Wold-style-cast 
> -Wsuggest-override -Wshadow -Werror -Wno-error=strict-overflow 
> -Wno-error=deprecated-declarations"
>   
> - output_to_option "-o "
> - add_include_dir_option -I
> -@@ -16,7 +16,7 @@ maintainer_warning_flags "-Wold-style-cast -Wsuggest-o
> - 
> - compile_flags "-c"
> - debug_info_flags "-g"
>  -optimization_flags "-O3"
> -+optimization_flags "${CXXFLAGS}"
> ++optimization_flags ""

Should this be ${CXXFLAGS}?  Have you tested it on a non clang
architecture?

> Index: patches/patch-src_lib_prov_openssl_openssl_rsa_cpp
> ===
> RCS file: 
> /cvs/ports/security/botan2/patches/patch-src_lib_prov_openssl_openssl_rsa_cpp,v
> retrieving revision 1.1
> diff -u -p -u -p -r1.1 patch-src_lib_prov_openssl_openssl_rsa_cpp
> --- patches/patch-src_lib_prov_openssl_openssl_rsa_cpp9 Oct 2017 
> 20:05:07 -   1.1
> +++ patches/patch-src_lib_prov_openssl_openssl_rsa_cpp10 Jan 2018 
> 21:20:28 -
> @@ -12,4 +12,4 @@ Index: src/lib/prov/openssl/openssl_rsa.
>  +#include 
>   #include 
>   #include 
> - 
> + #include 

Do we need cstdlib twice?  I think you should remove this patch.

bluhm



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Juan Francisco Cantero Hurtado
CVSROOT:/cvs
Module name:ports
Changes by: juan...@cvs.openbsd.org 2018/01/10 17:13:49

Modified files:
archivers/zstd : Makefile 

Log message:
Bjorn Ketelaars takes the maintainership.



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2018/01/10 15:46:21

Modified files:
graphics/ffmpegthumbnailer: Makefile 

Log message:
Uses -std=c++11 so set COMPILER accordingly, fixes build on sparc64
(tested by myself). From maintainer.



Re: [BUG] x11/mate/atril: EPUBs can't be read

2018-01-10 Thread Rafael Sadowski
On Wed Jan 10, 2018 at 08:59:45PM +0200, Lari Rasku wrote:
> cc ajacoutot@ in case he has something to say re: the webkit errors
> and debugging (bottom).
> 
> libepubdocument uses the (Linux-only?) {ftello,fseeko,fopen}64
> functions, so trying to open an EPUB results in the following console
> prints (and the misleading GUI error message "File type electronic
> book document (application/epub+zip) is not supported"):
> 
>   atril:/usr/local/lib/atril/3/backends/libepubdocument.so: undefined 
> symbol 'ftello64'
>   atril:/usr/local/lib/atril/3/backends/libepubdocument.so: undefined 
> symbol 'fseeko64'
>   atril:/usr/local/lib/atril/3/backends/libepubdocument.so: undefined 
> symbol 'fopen64'
> 
>   (atril:26401): AtrilDocument-WARNING **: Cannot load specified object
> 
>   (atril:26401): AtrilDocument-WARNING **: Cannot load backend 
> 'epubdocument' since file 
> '/usr/local/lib/atril/3/backends/libepubdocument.so' cannot be read.
> 
> This is easy to fix with the following (crude) patch:
> 
> diff --git x11/mate/atril/patches/patch-backend_epub_minizip_ioapi_h 
> x11/mate/atril/patches/patch-backend_epub_minizip_ioapi_h
> new file mode 100644
> index 0..ba014a61d
> --- /dev/null
> +++ x11/mate/atril/patches/patch-backend_epub_minizip_ioapi_h
> @@ -0,0 +1,14 @@
> +$OpenBSD$
> +
> +Index: backend/epub/minizip/ioapi.h
> +--- backend/epub/minizip/ioapi.h.orig
>  backend/epub/minizip/ioapi.h
> +@@ -50,7 +50,7 @@
> + #define ftello64 ftell
> + #define fseeko64 fseek
> + #else
> +-#ifdef __FreeBSD__
> ++#ifdef __OpenBSD__

I would prefer:

if defined(__OpenBSD__) || defined(__FreeBSD__)

Anyway I like your commitment to x11/mate/*. Don't worry I quite sure
your diffs will find their way into the tree. You could report them
upstream.

Rafael



UPDATE: security/botan2

2018-01-10 Thread Rafael Sadowski
Hi ports@, Hi bluhm@,

simple update to bring botan2 to the latest stable version

Notable changes;

- fix clang.txt to avoid -03
- remove unnecessary pacthe
- shared version bump
- fix one tab

"Tests complete ran 2679866 tests in 128.74 sec all tests ok"

Best regards,

Rafael


Index: Makefile
===
RCS file: /cvs/ports/security/botan2/Makefile,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 Makefile
--- Makefile16 Nov 2017 23:20:40 -  1.11
+++ Makefile10 Jan 2018 21:20:28 -
@@ -2,17 +2,17 @@
 
 COMMENT =  crypto and TLS for C++11
 
-VERSION =  2.3.0
+VERSION =  2.4.0
 DISTNAME = Botan-${VERSION}
 PKGNAME =  botan2-${VERSION}
 
-SHARED_LIBS =  botan-2 3.0
+SHARED_LIBS =  botan-2 4.0
 
 CATEGORIES =   security
 
 HOMEPAGE = https://botan.randombit.net/
 
-MAINTAINER =   Alexander Bluhm 
+MAINTAINER =   Alexander Bluhm 
 
 # BSD 2-Clause
 PERMIT_PACKAGE_CDROM = Yes
@@ -54,6 +54,7 @@ SUBST_VARS =  CXX CXXFLAGS LIBbotan-2_VE
 
 pre-configure:
${SUBST_CMD} ${WRKSRC}/src/build-data/cc/gcc.txt
+   ${SUBST_CMD} ${WRKSRC}/src/build-data/cc/clang.txt
${SUBST_CMD} ${WRKSRC}/src/build-data/os/openbsd.txt
${SUBST_CMD} ${WRKSRC}/src/tests/main.cpp
ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python
Index: distinfo
===
RCS file: /cvs/ports/security/botan2/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo9 Oct 2017 20:05:07 -   1.4
+++ distinfo10 Jan 2018 21:20:28 -
@@ -1,4 +1,4 @@
-SHA256 (Botan-2.3.0.tgz) = Oflw/uWYakw+QlAwrvUKwoTaGFlsAE0anM52iMTm1Hw=
-SHA256 (Botan-2.3.0.tgz.asc) = rBepmkNJSGvNpHthTWx+iKNioryjL57ilCAv0WPNTjU=
-SIZE (Botan-2.3.0.tgz) = 5947072
-SIZE (Botan-2.3.0.tgz.asc) = 488
+SHA256 (Botan-2.4.0.tgz) = 7ZRk4qXP7kzT2b16j4BnO0XIoHGNshgac/VGWmBmCKU=
+SHA256 (Botan-2.4.0.tgz.asc) = WArU/IbE+ZLiC7SODpCyO8ObUrS/JauY+zghPXRAUSk=
+SIZE (Botan-2.4.0.tgz) = 6530714
+SIZE (Botan-2.4.0.tgz.asc) = 488
Index: patches/patch-configure_py
===
RCS file: /cvs/ports/security/botan2/patches/patch-configure_py,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 patch-configure_py
--- patches/patch-configure_py  9 Oct 2017 20:05:07 -   1.5
+++ patches/patch-configure_py  10 Jan 2018 21:20:28 -
@@ -2,7 +2,16 @@ $OpenBSD: patch-configure_py,v 1.5 2017/
 Index: configure.py
 --- configure.py.orig
 +++ configure.py
-@@ -2916,10 +2916,6 @@ def set_defaults_for_unset_options(options, info_arch,
+@@ -1284,7 +1284,7 @@ class OsInfo(InfoObject): # pylint: disable=too-many-i
+ 'bin_dir': 'bin',
+ 'lib_dir': 'lib',
+ 'doc_dir': 'share/doc',
+-'man_dir': 'share/man',
++'man_dir': 'man',
+ 'use_stack_protector': 'true',
+ 'so_post_link_command': '',
+ 'cli_exe_name': 'botan',
+@@ -2664,10 +2664,6 @@ def set_defaults_for_unset_options(options, info_arch,
  if have_program('clang++'):
  options.compiler = 'clang'
  elif options.os == 'openbsd':
Index: patches/patch-src_build-data_cc_clang_txt
===
RCS file: patches/patch-src_build-data_cc_clang_txt
diff -N patches/patch-src_build-data_cc_clang_txt
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_build-data_cc_clang_txt   10 Jan 2018 21:20:28 -
@@ -0,0 +1,21 @@
+$OpenBSD$
+
+Index: src/build-data/cc/clang.txt
+--- src/build-data/cc/clang.txt.orig
 src/build-data/cc/clang.txt
+@@ -1,13 +1,13 @@
+ macro_name CLANG
+ 
+-binary_name clang++
++binary_name ${CXX}
+ 
+ lang_flags "-std=c++11 -D_REENTRANT"
+ 
+ warning_flags "-Wall -Wextra -Wpedantic -Wshadow -Wstrict-aliasing 
-Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith 
-Wcast-qual"
+ maintainer_warning_flags "-Wunreachable-code -Wdocumentation 
-Qunused-arguments -Werror -Wno-error=unused-parameter 
-Wno-error=unreachable-code -Wno-error=deprecated-declarations"
+ 
+-optimization_flags "-O3"
++optimization_flags "${CXXFLAGS}"
+ size_optimization_flags "-Os"
+ #sanitizer_flags "-fsanitize=address,undefined 
-fsanitize-coverage=edge,indirect-calls,8bit-counters 
-fno-sanitize-recover=undefined"
+ sanitizer_flags "-fsanitize=address,undefined"
Index: patches/patch-src_build-data_cc_gcc_txt
===
RCS file: /cvs/ports/security/botan2/patches/patch-src_build-data_cc_gcc_txt,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 patch-src_build-data_cc_gcc_txt
--- patches/patch-src_build-data_cc_gcc_txt 13 Mar 2017 15:00:39 -  
1.1.1.1
+++ patches/patch-src_build-data_cc_gcc_txt 10 Jan 2018 21:20:28 -
@@ 

[PATCH] net/obfs4proxy/pkg/README

2018-01-10 Thread attila
Hi ports@,

A typo in the pkg/README for net/obfs4proxy was reported to me on IRC.
The attached patch fixes it.

Pax, -A
--
https://haqistan.net/~attila | attila@{stalphonsos.com,haqistan.net}
pgp: 0x62A729CF | C2CE 2487 03AC 4C2F 101D  09C1 4068 D5D5 62A7 29CF

Index: pkg/README
===
RCS file: /cvs/ports/net/obfs4proxy/pkg/README,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 README
--- pkg/README	29 Aug 2017 17:02:48 -	1.1.1.1
+++ pkg/README	10 Jan 2018 21:01:44 -
@@ -13,7 +13,7 @@ To enable this Pluggable Transport in yo
 following configurations in your 'torrc' file:
 
 	# Use obfs4proxy to provide the obfuscator
-	ServerTransportPlugin obfs4 exec ${PREFIX}/bin/obfs4proxy managed
+	ServerTransportPlugin obfs4 exec ${PREFIX}/bin/obfs4proxy
 
 	# Enable Extended ORPort
 	ExtORPort auto


CVS: cvs.openbsd.org: ports

2018-01-10 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2018/01/10 13:54:43

Modified files:
sysutils/firmware: Makefile 

Log message:
+intel



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2018/01/10 13:53:15

Log message:
import sysutils/firmware/intel, for intel cpu microcode. updated and 
slightly
tweaked from a port by patrick@.

Status:

Vendor Tag: sthen
Release Tags:   sthen_20180110

N ports/sysutils/firmware/intel/Makefile
N ports/sysutils/firmware/intel/distinfo
N ports/sysutils/firmware/intel/pkg/DESCR
N ports/sysutils/firmware/intel/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2018/01/10 13:36:34

Modified files:
sysutils   : Makefile 

Log message:
+iucode-tool



CVS: cvs.openbsd.org: ports

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

Log message:
import sysutils/iucode-tool, tweaked from a port from patrick@

"This is a simple tool to manipulate microcode for Intel CPUs."

Status:

Vendor Tag: sthen
Release Tags:   sthen_20180110

N ports/sysutils/iucode-tool/Makefile
N ports/sysutils/iucode-tool/distinfo
N ports/sysutils/iucode-tool/patches/patch-iucode_tool_c
N ports/sysutils/iucode-tool/pkg/DESCR
N ports/sysutils/iucode-tool/pkg/PLIST

No conflicts created by this import



sparc64 bulk build report

2018-01-10 Thread landry
bulk build on sparc64-1.ports.openbsd.org
started on  Sat Dec 30 04:12:44 MST 2017
finished at Wed Jan 10 12:35:33 MST 2018
lasted 12D01h22m
done with kern.version=OpenBSD 6.2-current (GENERIC) #398: Fri Dec 29 18:07:48 
MST 2017

built packages:8293
Dec 30:407
Dec 31:193
Jan 1:3566
Jan 2:79
Jan 3:119
Jan 4:94
Jan 5:131
Jan 6:221
Jan 7:444
Jan 8:868
Jan 9:2170
Jan 10:3335



build failures: 41
http://build-failures.rhaalovely.net//sparc64/2017-12-30/audio/audacious-plugins.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/audio/cmu-sphinxbase.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/devel/arm-none-eabi/gcc-linaro,aarch64.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/devel/astyle.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/devel/avr/gcc.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/devel/dlib.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/devel/libvmime.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/devel/reposurgeon.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/devel/xtensa-elf/gcc.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/editors/qscintilla.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/editors/scintilla.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/emulators/higan.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/emulators/ppsspp.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/emulators/retroarch.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/games/easyrpg.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/games/hyperrogue.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/games/lugaru.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/games/pokerth.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/games/scummvm-tools.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/games/stockfish.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/geo/gdal,python3,-python.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/graphics/dcmtk.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/graphics/ffmpegthumbnailer.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/graphics/slop.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/lang/apl.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/lang/duktape.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/multimedia/assimp.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/multimedia/gstreamer1/mm.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/net/py-slixmpp.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/net/telegram-purple.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/net/zeromq.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/security/encfs.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/security/sslscan,openssl.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/sysutils/facter.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/telephony/asterisk,imap,-calendar.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/textproc/uncrustify.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/www/webkitgtk4.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/x11/gnome/totem.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/x11/qt5/qtbase.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/x11/vlc.log
http://build-failures.rhaalovely.net//sparc64/2017-12-30/x11/worker.log

recurrent failures
 failures/audio/cmu-sphinxbase.log
 failures/devel/astyle.log
 failures/devel/dlib.log
 failures/devel/reposurgeon.log
 failures/devel/xtensa-elf/gcc.log
 failures/editors/qscintilla.log
 failures/editors/scintilla.log
 failures/games/easyrpg.log
 failures/games/hyperrogue.log
 failures/games/lugaru.log
 failures/graphics/dcmtk.log
 failures/graphics/slop.log
 failures/lang/apl.log
 failures/lang/duktape.log
 failures/multimedia/assimp.log
 failures/multimedia/gstreamer1/mm.log
 failures/net/telegram-purple.log
 failures/security/encfs.log
 failures/security/sslscan,openssl.log
 failures/sysutils/facter.log
 failures/telephony/asterisk,imap,-calendar.log
 failures/textproc/uncrustify.log
 failures/www/webkitgtk4.log
 failures/x11/qt5/qtbase.log
 failures/x11/worker.log
new failures
+++ ls-failures Wed Jan 10 12:36:02 2018
+failures/audio/audacious-plugins.log
+failures/devel/arm-none-eabi/gcc-linaro,aarch64.log
+failures/devel/avr/gcc.log
+failures/devel/libvmime.log
+failures/emulators/higan.log
+failures/emulators/ppsspp.log
+failures/emulators/retroarch.log
+failures/games/pokerth.log
+failures/games/scummvm-tools.log
+failures/games/stockfish.log
+failures/geo/gdal,python3,-python.log
+failures/graphics/ffmpegthumbnailer.log
+failures/net/py-slixmpp.log
+failures/net/zeromq.log
+failures/x11/gnome/totem.log

UPDATE deutex

2018-01-10 Thread Björn Ketelaars
Enclosed a diff for bringing deutex to the latest version, which is a bug fix
release.

I only tested it by extracting a BMP. Maybe someone else want to try something
more serious?

-- 
Björn Ketelaars
GPG key: 0x4F0E5F21


diff --git archivers/deutex/Makefile archivers/deutex/Makefile
index 8819f27bf46..eeb93ba1fec 100644
--- archivers/deutex/Makefile
+++ archivers/deutex/Makefile
@@ -4,7 +4,7 @@ COMMENT =   WAD composer for Doom, Heretic, Hexen, and 
Strife
 
 GH_ACCOUNT =   Doom-Utils
 GH_PROJECT =   deutex
-GH_TAGNAME =   v5.1.0
+GH_TAGNAME =   v5.1.1
 
 CATEGORIES =   archivers
 
diff --git archivers/deutex/distinfo archivers/deutex/distinfo
index 581c49688b5..e4b98a96f0a 100644
--- archivers/deutex/distinfo
+++ archivers/deutex/distinfo
@@ -1,2 +1,2 @@
-SHA256 (deutex-5.1.0.tar.gz) = y6AYkAMphZnMSDWp8dPKq+80ycjzKI7IGTNKsMujefE=
-SIZE (deutex-5.1.0.tar.gz) = 122278
+SHA256 (deutex-5.1.1.tar.gz) = K2Kf0DMNyB172WyPhAtaAMnsNl17vtCDGUwDCfvC3hw=
+SIZE (deutex-5.1.1.tar.gz) = 122556



Re: SeaBIOS (vmm-firmware) update

2018-01-10 Thread Mike Larkin
On Wed, Jan 10, 2018 at 01:56:27PM +, Stuart Henderson wrote:
> On 2018/01/09 15:13, Mike Larkin wrote:
> > On Tue, Jan 09, 2018 at 10:39:30PM +, Stuart Henderson wrote:
> > > There was a new release of SeaBIOS recently which includes its own
> > > serial console redirection code. This updates SeaBIOS, enables
> > > CONFIG_SERCON and removes SGABIOS and the option rom-related
> > > code/config.
> > > 
> > > Working here in a quick test with OpenBSD guest (also gets rid of the
> > > doubled characters in the boot loader seen before with SGABIOS) but I'm
> > > not making heavy use of vmm myself.
> > > 
> > > After building, to test:
> > > 
> > > fw_update -p /path/to/packages/amd64/ -D unsigned
> > > 
> > > To revert to the old one in case of problems, pkg_delete vmm-firmware
> > > and re-run fw_update with no command line.
> > 
> > cool, seems ok to me. if we do a quick sanity test with a linux guest
> > bootloader (eg can you see grub), then I think this can become the default.
> > 
> > thanks sthen
> 
> Ah damn, sorry, my testing methodology was bogus. It needs more than just
> the config option, also it needs a fw_cfg variable to actually enable it,
> which I had forgotten to workaround.
> 
> That's easy enough and works for HD boots (I've now got Alpine setup to
> test) but something is wrong with CD boots (both with CONFIG_SERCON and
> with SGABIOS).
> 
> No urgency (afaik) with the update, and I definitely don't want to cause
> any work for you Mike :) but paging ccardenas if you are interested in
> taking a look?
> 
> It hangs after "pci dev 00:04.0 using legacy (0.9.5) virtio mode" if
> cdrom is used.
> 
> (I mostly looked at updating SeaBIOS because I thought it would be nice
> to remove the Apache-license SGABIOS code).
> 
> Updated diff with the config part I missed before at
> https://junkpile.org/seabios-1.11.0-diff,2
> 

Ah too bad, but thanks for clarifying it. Maybe carlos can figure it out :)



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2018/01/10 11:01:34

Modified files:
net: Makefile 

Log message:
+cppzmq



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2018/01/10 11:00:19

Log message:
import cppzmq-4.2.2

C++ bindings for ZeroMQ.

from Nick Owens with small tweaks by me
ok aja@

Status:

Vendor Tag: jasper
Release Tags:   jasper_20181001

N ports/net/cppzmq/Makefile
N ports/net/cppzmq/distinfo
N ports/net/cppzmq/patches/patch-libzmqPkgConfigFallback_cmake
N ports/net/cppzmq/pkg/DESCR
N ports/net/cppzmq/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2018/01/10 10:11:12

Modified files:
devel/promu: Makefile 
devel/promu/pkg: DESCR 

Log message:
Fix DESCR and drop useless MODGO_TYPE.



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Claudio Jeker
CVSROOT:/cvs
Module name:ports
Changes by: clau...@cvs.openbsd.org 2018/01/10 09:43:15

Modified files:
devel  : Makefile 
sysutils   : Makefile 

Log message:
Add devel/promu and sysutils/prometheus



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Claudio Jeker
CVSROOT:/cvs
Module name:ports
Changes by: clau...@cvs.openbsd.org 2018/01/10 09:26:19

Log message:
Prometheus is an open-source systems monitoring and alerting toolkit.
Its main features are:
- a multi-dimensional data model with time series data identified by
metric name and key/value pairs
- a flexible query language to leverage this dimensionality
- no reliance on distributed storage; single server nodes are autonomous
- time series collection happens via a pull model over HTTP
- pushing time series is supported via an intermediary gateway
- targets are discovered via service discovery or static configuration
- multiple modes of graphing and dashboarding support

Input and OK sthen@

Status:

Vendor Tag: claudio
Release Tags:   claudio_20180110

N ports/sysutils/prometheus/Makefile
N ports/sysutils/prometheus/distinfo
N ports/sysutils/prometheus/pkg/prometheus.rc
N ports/sysutils/prometheus/pkg/PLIST
N ports/sysutils/prometheus/pkg/DESCR
N ports/sysutils/prometheus/patches/patch-Makefile

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Claudio Jeker
CVSROOT:/cvs
Module name:ports
Changes by: clau...@cvs.openbsd.org 2018/01/10 09:24:36

Log message:
Import promu a build helper for prometheus

Status:

Vendor Tag: claudio
Release Tags:   claudio_20180110

N ports/devel/promu/Makefile
N ports/devel/promu/distinfo
N ports/devel/promu/pkg/PLIST
N ports/devel/promu/pkg/DESCR

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Claudio Jeker
CVSROOT:/cvs
Module name:ports
Changes by: clau...@cvs.openbsd.org 2018/01/10 09:20:58

Modified files:
infrastructure/db: user.list 

Log message:
take uid/gid 799 for upcoming prometheus port



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Robert Nagy
CVSROOT:/cvs
Module name:ports
Changes by: rob...@cvs.openbsd.org  2018/01/10 08:46:11

Modified files:
mail/kopano: Makefile.inc 
mail/kopano/core: Makefile distinfo 
mail/kopano/core/patches: patch-Makefile_in 
  patch-caldav_CalDAV_cpp 
  patch-common_include_kopano_platform_linux_h 
  patch-configure_ac 
  patch-gateway_Gateway_cpp 
  patch-provider_libserver_ECSession_cpp 
  patch-provider_server_ECServer_cpp 
  patch-spooler_Spooler_cpp 
mail/kopano/core/pkg: PLIST-main 
Removed files:
mail/kopano/core/patches: patch-mapi4linux_src_libkchl_sym_in 

Log message:
update to 8.5.80.49



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Remi Pointel
CVSROOT:/cvs
Module name:ports
Changes by: rpoin...@cvs.openbsd.org2018/01/10 08:34:32

Modified files:
www/py-django/lts: Makefile distinfo 
www/py-django/lts/pkg: PLIST 

Log message:
update to 1.11.9.
more information: https://docs.djangoproject.com/en/2.0/releases/1.11.9/



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Kirill Bychkov
CVSROOT:/cvs
Module name:ports
Changes by: ki...@cvs.openbsd.org   2018/01/10 08:12:08

Modified files:
graphics/zint  : Makefile distinfo 
graphics/zint/patches: patch-backend_CMakeLists_txt 
Removed files:
graphics/zint/patches: patch-backend_code1_c 
   patch-backend_common_c 
   patch-backend_maxicode_c 

Log message:
update to zint-2.6.2



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2018/01/10 07:35:49

Modified files:
net/tor: Makefile distinfo 
net/tor/patches: patch-src_config_torrc_sample_in 

Log message:
Update to new Tor release 0.3.2.9.  Complete list of changes can be found
here: 
https://gitweb.torproject.org/tor.git/tree/ReleaseNotes?h=tor-0.3.2.9=9e8b762fcecfece64aae70ae640aaa59fd227ca5



Re: SeaBIOS (vmm-firmware) update

2018-01-10 Thread Carlos Cardenas
Stuart Henderson  wrote:

> On 2018/01/09 15:13, Mike Larkin wrote:
> > On Tue, Jan 09, 2018 at 10:39:30PM +, Stuart Henderson wrote:
> > > There was a new release of SeaBIOS recently which includes its own
> > > serial console redirection code. This updates SeaBIOS, enables
> > > CONFIG_SERCON and removes SGABIOS and the option rom-related
> > > code/config.
> > > 
> > > Working here in a quick test with OpenBSD guest (also gets rid of the
> > > doubled characters in the boot loader seen before with SGABIOS) but I'm
> > > not making heavy use of vmm myself.
> > > 
> > > After building, to test:
> > > 
> > > fw_update -p /path/to/packages/amd64/ -D unsigned
> > > 
> > > To revert to the old one in case of problems, pkg_delete vmm-firmware
> > > and re-run fw_update with no command line.
> > 
> > cool, seems ok to me. if we do a quick sanity test with a linux guest
> > bootloader (eg can you see grub), then I think this can become the default.
> > 
> > thanks sthen
> 
> Ah damn, sorry, my testing methodology was bogus. It needs more than just
> the config option, also it needs a fw_cfg variable to actually enable it,
> which I had forgotten to workaround.
> 
> That's easy enough and works for HD boots (I've now got Alpine setup to
> test) but something is wrong with CD boots (both with CONFIG_SERCON and
> with SGABIOS).
> 
> No urgency (afaik) with the update, and I definitely don't want to cause
> any work for you Mike :) but paging ccardenas if you are interested in
> taking a look?
> 
> It hangs after "pci dev 00:04.0 using legacy (0.9.5) virtio mode" if
> cdrom is used.
> 
> (I mostly looked at updating SeaBIOS because I thought it would be nice
> to remove the Apache-license SGABIOS code).
> 
> Updated diff with the config part I missed before at
> https://junkpile.org/seabios-1.11.0-diff,2
> 

The latest SeaBIOS requires additional opcodes to be implemented in our
vioscsi driver (at least report_luns).  I won't know which other ones
need implementing until I handle report_luns.  The default behavior in
the vmd vioscsi driver is to not respond to unhandled opcodes which
gives the behavior of the VM "hanging" as it's waiting on a response.

I'll see what I can do in the next few days.

+--+
Carlos



Re: SeaBIOS (vmm-firmware) update

2018-01-10 Thread Stuart Henderson
On 2018/01/09 15:13, Mike Larkin wrote:
> On Tue, Jan 09, 2018 at 10:39:30PM +, Stuart Henderson wrote:
> > There was a new release of SeaBIOS recently which includes its own
> > serial console redirection code. This updates SeaBIOS, enables
> > CONFIG_SERCON and removes SGABIOS and the option rom-related
> > code/config.
> > 
> > Working here in a quick test with OpenBSD guest (also gets rid of the
> > doubled characters in the boot loader seen before with SGABIOS) but I'm
> > not making heavy use of vmm myself.
> > 
> > After building, to test:
> > 
> > fw_update -p /path/to/packages/amd64/ -D unsigned
> > 
> > To revert to the old one in case of problems, pkg_delete vmm-firmware
> > and re-run fw_update with no command line.
> 
> cool, seems ok to me. if we do a quick sanity test with a linux guest
> bootloader (eg can you see grub), then I think this can become the default.
> 
> thanks sthen

Ah damn, sorry, my testing methodology was bogus. It needs more than just
the config option, also it needs a fw_cfg variable to actually enable it,
which I had forgotten to workaround.

That's easy enough and works for HD boots (I've now got Alpine setup to
test) but something is wrong with CD boots (both with CONFIG_SERCON and
with SGABIOS).

No urgency (afaik) with the update, and I definitely don't want to cause
any work for you Mike :) but paging ccardenas if you are interested in
taking a look?

It hangs after "pci dev 00:04.0 using legacy (0.9.5) virtio mode" if
cdrom is used.

(I mostly looked at updating SeaBIOS because I thought it would be nice
to remove the Apache-license SGABIOS code).

Updated diff with the config part I missed before at
https://junkpile.org/seabios-1.11.0-diff,2



i386 www/chromium - BFD internal error: bfd/merge.c line 863 in bfd_vma _bfd_merged_section_offset()

2018-01-10 Thread Stuart Henderson
I'm going to retry the build from scratch in case there was a problem earlier
triggering it, but I'm currently seeing this in www/chromium build.

Could be out-of-memory-related but I've hit exactly the same error a few times
which suggests that's unlikely.

[696/696] LINK ./chrome
FAILED: chrome
python "../../build/toolchain/gcc_link_wrapper.py" --output="./chrome" -- c++ 
-pie -fPIC -Wl,-z,wxneeded -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro 
-Wl,--no-as-needed -lpthread -Wl,--as-needed -m32 -Wl,-O1 -Wl,--gc-sections 
-Wl,-rpath-link=. -Wl,--disable-new-dtags -Wl,-rpath-link,/usr/X11R6/lib -Wl,-E 
-L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/lib -L/usr/X11R6/lib 
-Wl,--no-keep-memory -o "./chrome" -Wl,--start-group @"./chrome.rsp"  
-Wl,--end-group   -lpangocairo-1.0 -lpangoft2-1.0 -lharfbuzz -lgraphite2 
-lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lintl -lpcre -lpixman-1 
-lfontconfig -lexpat -lpng -lz -lxcb-shm -lxcb-render -lXrender -lXext -lX11 
-lxcb -lXau -lXdmcp -lX11-xcb -lXcomposite -lXcursor -lXdamage -lXfixes -lXi 
-lXtst -lgmodule-2.0 -lgthread-2.0 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 
-lnspr4 -lcups -ldbus-1 -levent -lXss -lXrandr -lgconf-2 -lgio-2.0 -lsndio -lm 
-lGL -lpci -latk-1.0 -lgtk-3 -latk-bridge-2.0 -latspi -lgdk-3 -lXinerama 
-lepoxy -lcairo-gobject -lfreetype -lgdk_pixbuf-2.0 -lxslt -lxml2 -lexecinfo
obj/third_party/libwebm/libwebm.a(mkvmuxerutil.o): In function 
`mkvmuxer::MakeUID(unsigned int*)':
../../third_party/libwebm/source/mkvmuxer/mkvmuxerutil.cc:(.text._ZN8mkvmuxer7MakeUIDEPj+0x21):
 warning: rand_r() is not random, it is deterministic.
obj/third_party/libvpx/libvpx.a(add_noise.o): In function 
`vpx_plane_add_noise_c':
../../third_party/libvpx/source/libvpx/vpx_dsp/add_noise.c:(.text.vpx_plane_add_noise_c+0xa5):
 warning: rand() may return deterministic values, is that what you want?
obj/services/resource_coordinator/lib/coordinator_impl.o: In function 
`memory_instrumentation::CoordinatorImpl::FinalizeGlobalMemoryDumpIfAllManagersReplied()':
../../services/resource_coordinator/memory_instrumentation/coordinator_impl.cc:(.text._ZN22memory_instrumentation15CoordinatorImpl44FinalizeGlobalMemoryDumpIfAllManagersRepliedEv+0x9f6):
 warning: sprintf() is often misused, please use snprintf()
obj/third_party/freetype/freetype_source/sfnt.o: In function `sfnt_get_ps_name':
../../third_party/freetype/src/src/sfnt/sfnt.c:(.text.sfnt_get_ps_name+0x4d2): 
warning: strcpy() is almost always misused, please use strlcpy()
obj/skia/libskia.a(SkSLCPPCodeGenerator.o): In function 
`SkSL::CPPCodeGenerator::writef(char const*, char*)':
../../third_party/skia/src/sksl/SkSLCPPCodeGenerator.cpp:(.text._ZN4SkSL16CPPCodeGenerator6writefEPKcPc+0x81):
 warning: vsprintf() is often misused, please use vsnprintf()
obj/third_party/icu/libicuuc.a(brkiter.o): In function 
`icu_59::BreakIterator::makeInstance(icu_59::Locale const&, int, UErrorCode&)':
../../third_party/icu/source/common/brkiter.cpp:(.text._ZN6icu_5913BreakIterator12makeInstanceERKNS_6LocaleEiR10UErrorCode+0x119):
 warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libglib-2.0.so.4200.6: warning: stpcpy() is dangerous; do not 
use it
obj/third_party/usrsctp/libusrsctp.a(user_environment.o): In function 
`read_random':
../../third_party/usrsctp/usrsctplib/usrsctplib/user_environment.c:(.text.read_random+0x31):
 warning: random() may return deterministic values, is that what you want?
/usr/bin/ld: BFD 2.17 internal error, aborting at 
/usr/src/gnu/usr.bin/binutils-2.17/bfd/merge.c line 863 in bfd_vma 
_bfd_merged_section_offset(bfd *, asection **, void *, bfd_vma)

/usr/bin/ld: Please report this bug.

c++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
*** Error 1 in www/chromium (Makefile:184 'do-build': @cd 
/usr/obj/ports/chromium-63.0.3239.132/chromium-63.0.3239.132 && env -i CC=cc 
PYTHO...)
===> Exiting www/chromium with an error
*** Error 1 in www/chromium (/usr/ports/infrastructure/mk/bsd.port.mk:2738 
'/usr/obj/ports/chromium-63.0.3239.132/.build_done')
*** Error 1 in www/chromium (/usr/ports/infrastructure/mk/bsd.port.mk:2419 
'build')
*** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:147 'build')
Error: job failed with 256 on i386-2





[Update] GnuPG 2.2.4

2018-01-10 Thread Pierre-Emmanuel André
Hi,

Here is a diff to update GnuPG to it's latest version (2.2.4).
Please note that you will need the latest libassuan version (2.5.1).
Tested on @amd64.

Comments, ok ?

Regards,
Index: Makefile
===
RCS file: /cvs/ports/security/gnupg2/Makefile,v
retrieving revision 1.55
diff -u -p -u -p -r1.55 Makefile
--- Makefile	12 Dec 2017 16:22:22 -	1.55
+++ Makefile	10 Jan 2018 13:26:34 -
@@ -2,7 +2,7 @@
 
 COMMENT =	GNU privacy guard - a free PGP replacement
 
-DISTNAME =	gnupg-2.2.3
+DISTNAME =	gnupg-2.2.4
 CATEGORIES = 	security
 
 MASTER_SITES =	${MASTER_SITE_GNUPG:=gnupg/}
Index: distinfo
===
RCS file: /cvs/ports/security/gnupg2/distinfo,v
retrieving revision 1.25
diff -u -p -u -p -r1.25 distinfo
--- distinfo	12 Dec 2017 16:22:22 -	1.25
+++ distinfo	10 Jan 2018 13:26:34 -
@@ -1,2 +1,2 @@
-SHA256 (gnupg-2.2.3.tar.bz2) = y9NxBdE596p0+StvZdE2ZYaCCUsOMIZmuCCuS5hAhLQ=
-SIZE (gnupg-2.2.3.tar.bz2) = 6547069
+SHA256 (gnupg-2.2.4.tar.bz2) = QBo+ZHgP36bXZw3giAqlydWJs9t6cJiXnXYGzsVG8uw=
+SIZE (gnupg-2.2.4.tar.bz2) = 6571487


CVS: cvs.openbsd.org: ports

2018-01-10 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2018/01/10 06:22:25

Modified files:
www/tor-browser: Makefile.inc 
www/tor-browser/browser: Makefile distinfo 
www/tor-browser/https-everywhere: Makefile distinfo 
www/tor-browser/noscript: Makefile distinfo 
www/tor-browser/tor-launcher: Makefile distinfo 
www/tor-browser/torbutton: Makefile distinfo 
meta/tor-browser: Makefile 

Log message:
update to tor-browser 7.0.11, from attila (maintainer)



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2018/01/10 05:31:56

Modified files:
sysutils/terraform/provider-ovh: Makefile distinfo 
sysutils/terraform/provider-triton: Makefile distinfo 

Log message:
Update providers to their latest release.



[Update] Pgpool-II 3.7.1

2018-01-10 Thread Pierre-Emmanuel André
Hi,

Small diff to update pgpool-II to it's latest version : 3.7.1
Tested on @amd64.

Comments, ok ?

Regards,
Index: Makefile
===
RCS file: /cvs/ports/databases/pgpool/Makefile,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 Makefile
--- Makefile	19 Dec 2017 09:02:03 -	1.8
+++ Makefile	10 Jan 2018 11:01:01 -
@@ -2,7 +2,7 @@
 
 COMMENT= 	connection pool server for PostgreSQL
 
-DISTNAME= 	pgpool-II-3.7.0
+DISTNAME= 	pgpool-II-3.7.1
 
 CATEGORIES= 	databases
 
Index: distinfo
===
RCS file: /cvs/ports/databases/pgpool/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- distinfo	19 Dec 2017 09:02:03 -	1.6
+++ distinfo	10 Jan 2018 11:01:01 -
@@ -1,2 +1,2 @@
-SHA256 (pgpool-II-3.7.0.tar.gz) = UtQJST/1mWR31Y0Bzjds7LMzWGmoxrhAY2BNZ27u+og=
-SIZE (pgpool-II-3.7.0.tar.gz) = 3269076
+SHA256 (pgpool-II-3.7.1.tar.gz) = FC6sh3boH9IIszefWiHEtakt35KrOiN/oA8Ux8d7x1o=
+SIZE (pgpool-II-3.7.1.tar.gz) = 3237755


CVS: cvs.openbsd.org: ports

2018-01-10 Thread Pierre-Emmanuel Andre
CVSROOT:/cvs
Module name:ports
Changes by: p...@cvs.openbsd.org2018/01/10 03:59:50

Modified files:
security/libassuan: Makefile distinfo 

Log message:
Update to 2.5.1

ok jca@



[NEW] textproc/p5-List-SomeUtils

2018-01-10 Thread Frederic Cambus
Hi ports@,

Here is a new port: textproc/p5-List-SomeUtils

Also attaching a port for textproc/p5-List-SomeUtils-XS which is required
as both BUILD_DEPENDS and RUN_DEPENDS.

Both of those ports are dependencies for an upcoming port which I need
for $WORK.

Comments? OK?

>From DESCR:

List::SomeUtils provides some trivial but commonly needed functionality
on lists which is not going to go into List::Util.


p5-List-SomeUtils.tar.gz
Description: application/tar-gz


p5-List-SomeUtils-XS.tar.gz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2018-01-10 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2018/01/10 03:22:26

Modified files:
sysutils/terraform/terraform: Makefile distinfo 

Log message:
Update to terraform-0.11.2.



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2018/01/10 03:21:17

Modified files:
sysutils/amazon-ecs-cli: Makefile distinfo 

Log message:
Update to ecs-cli-1.2.2.



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2018/01/10 03:07:39

Modified files:
sysutils/awscli: Makefile distinfo 

Log message:
Update to awscli-1.14.22.



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2018/01/10 03:07:04

Modified files:
net/py-boto3   : Makefile distinfo 

Log message:
Update to py-boto3-1.5.12.



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2018/01/10 03:07:23

Modified files:
net/py-botocore: Makefile distinfo 

Log message:
Update to py-botocore-1.8.26.



CVS: cvs.openbsd.org: ports

2018-01-10 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2018/01/10 01:56:08

Modified files:
textproc/gxml  : Makefile distinfo 
textproc/gxml/pkg: PLIST 
Removed files:
textproc/gxml/patches: patch-Makefile_in 

Log message:
Update to gxml-0.16.0.