Re: NEW net/mininet

2017-08-14 Thread Klemens Nanni
On Mon, Aug 14, 2017 at 02:30:27PM -0700, Ayaka Koshibe wrote:
> Apologies, wrong attachment - correct one attached.
> 
> On Mon, Aug 14, 2017 at 2:25 PM, Ayaka Koshibe  wrote:
> > I've addressed the comments - updates attached.
> >
So now the description, which I read before installing a package, is
referring to the package's content for more details. I meant something
along the lines of "heavily patched - here be dragons" so users know
this before installing it.

> >> `make test' says "Ran 0 tests in 0.000s"; that's not intentional, is it?
> >
> > The regression tests are intentionally empty, since they involve
> > destructive actions like creating/destroying interfaces.
I see.

Here are some more comments; sorry for splitting this into two mails,
I've been looking into it more closely just now;

MODPY_EGG_VERSION must be set as described in port-modules(5), make sure
to have PLIST updated accordingly.

devel/pep8 is not used and can thus be removed as BUILD_DEPENDS.

PREFIX should be used instead of LOCALBASE for setting *DIR as you've
already done in the pre-install target.

You can set SEPARATE_BUILD, but then README.md must not be installed
from WRKBUILD anymore.

Example files go under /usr/local/share/examples/mininet, not the
python site-packages directory.

Why do you patch files such as the INSTALL-* ones if they're aren't used
or installed anyway?

Why are the platform specific files under freebsd/ and linux/ which are
known not to work for us obviously installed?


Minor style nits:

Indenting the broken help2man line (by four spaces) makes it easier to
read and distinguish from another command itself.

I'd also insert a newline before the bsd.port.mk include.


Thanks for your work on this port, I'm looking forward to it!



CVS: cvs.openbsd.org: ports

2017-08-14 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2017/08/14 20:32:50

Modified files:
databases/citus: Makefile distinfo 

Log message:
update to citus-6.2.3



CVS: cvs.openbsd.org: ports

2017-08-14 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2017/08/14 20:30:00

Modified files:
cad/gtkwave: Makefile distinfo 

Log message:
update to gtkwave-3.3.83



CVS: cvs.openbsd.org: ports

2017-08-14 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2017/08/14 20:28:57

Modified files:
audio/fookebox : Makefile distinfo 

Log message:
use GH_TAGNAME instead of commit as they point to the same



CVS: cvs.openbsd.org: ports

2017-08-14 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2017/08/14 19:07:45

Modified files:
audio/pulseaudio: Makefile 
emulators/mupen64plus/audio-sdl: Makefile 
games/openrct2 : Makefile 

Log message:
tweak dependencies for ports that use only speexdsp, not speex



CVS: cvs.openbsd.org: ports

2017-08-14 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2017/08/14 19:05:13

Modified files:
audio/speex: Makefile distinfo 
audio/speex/patches: patch-src_Makefile_in patch-src_speexdec_c 
audio/speex/pkg: PLIST 

Log message:
update to 1.2.0; speexdsp has been spun off into a separate port
ok jca@



CVS: cvs.openbsd.org: ports

2017-08-14 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2017/08/14 19:03:44

Modified files:
audio  : Makefile 

Log message:
+speexdsp



CVS: cvs.openbsd.org: ports

2017-08-14 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2017/08/14 19:02:40

Log message:
Import speexdsp 1.2rc3, which has been split off from speex.

SpeexDSP is a patent-free speech processing DSP library.  It includes
a preprocessor, acoustic echo canceller, jitter buffer, and resampler.

previous version ok jca@

Status:

Vendor Tag: naddy
Release Tags:   naddy_20170814

N ports/audio/speexdsp/Makefile
N ports/audio/speexdsp/distinfo
N ports/audio/speexdsp/pkg/DESCR
N ports/audio/speexdsp/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2017-08-14 Thread joshua stein
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/08/14 16:32:17

Modified files:
x11/i3status   : Makefile 
x11/i3status/patches: patch-src_print_battery_info_c 

Log message:
for battery status, use sysctl to walk sensors and find power usage.
continue using APM for other battery info so it works on older
machines but newer ones will be able to see "%consumption".

ok jasper



CVS: cvs.openbsd.org: ports

2017-08-14 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2017/08/14 16:09:51

Modified files:
audio/opusfile : Makefile distinfo 
audio/opusfile/patches: patch-configure patch-src_http_c 
audio/opusfile/pkg: DESCR PLIST 

Log message:
maintenance update to 0.9



CVS: cvs.openbsd.org: ports

2017-08-14 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/08/14 16:04:36

Modified files:
net/bwm-ng : Makefile 

Log message:
Disable netstat data input support, needs additional pledge(2) promises

ok sthen@ (maintainer)



Re: NEW net/mininet

2017-08-14 Thread Ayaka Koshibe
Apologies, wrong attachment - correct one attached.

On Mon, Aug 14, 2017 at 2:25 PM, Ayaka Koshibe  wrote:
> I've addressed the comments - updates attached.
>
>> `make test' says "Ran 0 tests in 0.000s"; that's not intentional, is it?
>
> The regression tests are intentionally empty, since they involve
> destructive actions like creating/destroying interfaces.


mininet.tgz
Description: GNU Zip compressed data


Re: Remove Test::Harness TEST_DEPENDS

2017-08-14 Thread Alexander Bluhm
On Mon, Aug 14, 2017 at 01:04:10PM -0700, Andrew Fresh wrote:
> --- textproc/p5-Text-Textile/Makefile 20 Mar 2016 19:57:10 -  1.11
> +++ textproc/p5-Text-Textile/Makefile 14 Aug 2017 19:59:42 -
> @@ -13,6 +13,7 @@ PERMIT_PACKAGE_CDROM =  Yes
>  MODULES =cpan
>  PKG_ARCH =   *
>  
> -TEST_DEPENDS =   devel/p5-Test-Harness
> +# Additional depends to avoid skipping tests
> +TEST_DEPENDS +=  devel/p5-Test-Pod

Please use = here, you are not adding.

OK bluhm@



CVS: cvs.openbsd.org: ports

2017-08-14 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2017/08/14 14:22:23

Modified files:
x11/gnome/bijiben: Makefile distinfo 
x11/gnome/bijiben/pkg: PLIST 

Log message:
update to bijiben-3.24.1



Remove Test::Harness TEST_DEPENDS

2017-08-14 Thread Andrew Fresh
Test::Harness is included in perl base now, so I'll be sending in a diff
to remove that, but want an OK to make sure I didn't do something wrong
as I haven't had any food yet today and feel my brain isn't quite up to
being right.

$ locate Test/Harness.pm | head -1
/usr/libdata/perl5/Test/Harness.pm

OK?


Index: devel/p5-File-pushd/Makefile
===
RCS file: /cvs/ports/devel/p5-File-pushd/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- devel/p5-File-pushd/Makefile9 May 2017 08:16:32 -   1.3
+++ devel/p5-File-pushd/Makefile14 Aug 2017 19:59:42 -
@@ -10,6 +10,4 @@ CATEGORIES=   devel
 # Apache 2.0
 PERMIT_PACKAGE_CDROM=  Yes
 
-TEST_DEPENDS=  devel/p5-Test-Harness
-
 .include 
Index: devel/p5-Module-Build-Tiny/Makefile
===
RCS file: /cvs/ports/devel/p5-Module-Build-Tiny/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- devel/p5-Module-Build-Tiny/Makefile 20 Mar 2016 19:56:27 -  1.4
+++ devel/p5-Module-Build-Tiny/Makefile 14 Aug 2017 19:59:42 -
@@ -22,8 +22,6 @@ RUN_DEPENDS = devel/p5-ExtUtils-Config \
 # This module uses itself to install itself, so runs while it builds
 BUILD_DEPENDS =${RUN_DEPENDS}
 
-TEST_DEPENDS = devel/p5-Test-Harness
-
 do-install:
@cd ${WRKSRC} && perl \
${MODPERL_BUILD} ${FAKE_TARGET} \
Index: textproc/p5-Text-Textile/Makefile
===
RCS file: /cvs/ports/textproc/p5-Text-Textile/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- textproc/p5-Text-Textile/Makefile   20 Mar 2016 19:57:10 -  1.11
+++ textproc/p5-Text-Textile/Makefile   14 Aug 2017 19:59:42 -
@@ -13,6 +13,7 @@ PERMIT_PACKAGE_CDROM =Yes
 MODULES =  cpan
 PKG_ARCH = *
 
-TEST_DEPENDS = devel/p5-Test-Harness
+# Additional depends to avoid skipping tests
+TEST_DEPENDS +=devel/p5-Test-Pod
 
 .include 
Index: www/p5-HTML-Display/Makefile
===
RCS file: /cvs/ports/www/p5-HTML-Display/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- www/p5-HTML-Display/Makefile20 Mar 2016 19:57:17 -  1.2
+++ www/p5-HTML-Display/Makefile14 Aug 2017 19:59:42 -
@@ -18,7 +18,6 @@ RUN_DEPENDS = www/p5-URI \
www/p5-HTML-TokeParser-Simple>=2 \
www/p5-libwww>=5.69
 TEST_DEPENDS = www/p5-HTTP-Daemon \
-   devel/p5-Test-Harness>=2.30 \
devel/p5-Test-Pod>=0.95
 
 .include 



CVS: cvs.openbsd.org: ports

2017-08-14 Thread Daniel Jakots
CVSROOT:/cvs
Module name:ports
Changes by: d...@cvs.openbsd.org2017/08/14 13:34:29

Modified files:
net/weechat: Makefile distinfo 
net/weechat/patches: patch-src_plugins_CMakeLists_txt 
net/weechat/pkg: PLIST-main 
Added files:
net/weechat/patches: patch-src_plugins_plugin-api_c 

Log message:
Update to weechat-1.9

Announcement of 1.8 says you should read release notes:
https://weechat.org/files/releasenotes/ReleaseNotes-1.8.html

tested by semarie, ok rsadowski



CVS: cvs.openbsd.org: ports

2017-08-14 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/08/14 13:01:29

Modified files:
databases/p5-sybperl: Makefile 

Log message:
tidy p5-sybperl Makefile, switch to cpan (same distfile), roll in gettext MODULE



CVS: cvs.openbsd.org: ports

2017-08-14 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:ports
Changes by: bl...@cvs.openbsd.org   2017/08/14 11:50:40

Modified files:
devel  : Makefile 
devel/quirks   : Makefile 
devel/quirks/files: Quirks.pm 
Removed files:
devel/p5-Test-Tester: Makefile distinfo 
devel/p5-Test-Tester/patches: patch-Makefile_PL 
devel/p5-Test-Tester/pkg: DESCR PLIST 
devel/p5-Test-use-ok: Makefile distinfo 
devel/p5-Test-use-ok/pkg: DESCR PLIST 

Log message:
Remove ports for Perl modules that are in base Perl now.
OK afresh1@



CVS: cvs.openbsd.org: ports

2017-08-14 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2017/08/14 11:15:06

Modified files:
devel/quirks   : Makefile 
devel/quirks/files: Quirks.pm 

Log message:
register mico removal



CVS: cvs.openbsd.org: ports

2017-08-14 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2017/08/14 11:11:00

Modified files:
devel  : Makefile 
Removed files:
devel/mico : Makefile distinfo 
devel/mico/patches: patch-Makefile patch-configure 
patch-coss_time_TimeService_help_cc 
patch-demo_MakeVars patch-demo_Makefile 
patch-demo_csiv2_Makefile 
patch-demo_csiv2_interop_Makefile 
patch-demo_dispatcher_Makefile 
patch-demo_interop_Makefile 
patch-demo_interop_jboss_Makefile 
patch-demo_interop_jboss_jdk1_3_x_Makefile 
patch-demo_interop_jboss_jdk1_3_x_cart-ejb_Makefile 

patch-demo_interop_jboss_jdk1_3_x_converter-ejb_Makefile 

patch-demo_interop_jboss_jdk1_3_x_corba-friendly-ejb_Makefile 
patch-demo_interop_jboss_jdk1_4_x_Makefile 
patch-demo_interop_jboss_jdk1_4_x_cart-ejb_Makefile 

patch-demo_interop_jboss_jdk1_4_x_converter-ejb_Makefile 

patch-demo_interop_jboss_jdk1_4_x_corba-friendly-ejb_Makefile 
patch-demo_mt_Makefile 
patch-demo_obv_Makefile 
patch-demo_pi_Makefile 
patch-demo_poa_Makefile 
patch-demo_services_Makefile 
patch-demo_siegel_Makefile 
patch-man_Makefile patch-man_man1_idl_1 
patch-man_man1_imr_1 
patch-man_man1_nsadmin_1 
patch-man_man5_micorc_5 patch-man_man8_ird_8 
patch-man_man8_micod_8 patch-man_man8_nsd_8 
devel/mico/pkg : DESCR PLIST 

Log message:
broken after the switch to gcc4
broken after the switch to clang

quoth the Raven "Mevermore."



CVS: cvs.openbsd.org: ports

2017-08-14 Thread Ian Darwin
CVSROOT:/cvs
Module name:ports
Changes by: i...@cvs.openbsd.org2017/08/14 10:56:40

Modified files:
net/openfire   : Makefile distinfo 

Log message:
Update openfire to 4.1.5. From maintainer Marc Peters marc at mpeters.org



CVS: cvs.openbsd.org: ports

2017-08-14 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/08/14 10:51:54

Modified files:
sysutils/borgbackup: Makefile distinfo 
sysutils/borgbackup/pkg: PLIST 

Log message:
update to borgbackup 1.0.11, from maintainer Björn Ketelaars



CVS: cvs.openbsd.org: ports

2017-08-14 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/08/14 10:51:41

Modified files:
net/bwm-ng : Makefile 
Added files:
net/bwm-ng/patches: patch-src_bwm-ng_c 

Log message:
use pledge()



Re: Question about updated stable ports: rebuilt packages?

2017-08-14 Thread Stuart Henderson
On 2017/08/14 13:07, Andreas Kusalananda Kähäri wrote:
> Sorry, but I can't find this in the FAQ.  If a port is updated and
> committed on the stable OPENBSD_6_1 branch, new packages will not be
> built and uploaded to the package repositories, right?

Correct.



Re: libpng.pc

2017-08-14 Thread Matthieu Herrb
On Mon, Aug 14, 2017 at 05:25:14PM +0200, Christian Weisgerber wrote:
> The recent graphics/png 1.6.31 update added a line
> 
> Requires: zlib
> 
> to libpng.pc.  This makes sense as libpng requires libz.  Consequently,
> the pkg-config output changes:
> 
> pkg-config --cflags libpng
> old: -I/usr/local/include/libpng16
> new: -I/usr/local/include/libpng16 -I/usr/include
> 
> pkg-config --libs libpng
> old: -L/usr/local/lib -lpng
> new: -L/usr/local/lib -L/usr/lib -lpng -lz
> 
> Should be fine, right?
> Well, it causes some interesting fallout.
> 
> * games/chromium-bsu breaks because its configure script picks up
>   libc.so.*.a as a library and tries to link with it.
> * games/pingus adds an additional -isystem/usr/include to the compiler
>   line and now  can't include .
> * There's also strange x11/qt5/qtbase breakage, which may be related
>   to this.
> 
> I'm uncertain how to proceed.  Should I simply revert the change
> to libpng.pc?  The explicit addition of -lz is only required for
> static linking, but that is already covered by Libs.private in
> libpng.pc.


Sorry, I haven't checked thouroughly, but iirc, the Linux/freedesktop
pkg-config never add system directories (ie /usr/include, /usr/lib &
friends) to CFLAGS or LDFLAGS.

OpenBSD's pkg-config probably should strip them out too.

> 
> -- 
> Christian "naddy" Weisgerber  na...@mips.inka.de

-- 
Matthieu Herrb



Re: [NEW] security/go-ed25519

2017-08-14 Thread attila

attila  writes:

> Hi ports@,
>
> Second of the dependencies for net/obfs4proxy: go-ed25519
>
> Port attached.  Feedback welcome.
>

As with devel/go-goptlib, I missed BUILD_DEPENDS completely.  Attached
is a new version.

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



go-ed25519.tgz
Description: Binary data


Re: [NEW] devel/go-goptlib

2017-08-14 Thread attila

attila  writes:

> Hi ports@,
>
> This is the first of four new ports that are part of Pluggable
> Transports, which are used in the Tor Browser Bundle but which can
> also be used without it.  The main port is net/obfs4proxy, which needs
> three others to support it: devel/go-goptlib, security/go-ed25519,
> security/go-siphash.
>
> This is devel/go-goptlib:
>
> $ cat pkg/DESCR
> goptlib is a library for writing Tor pluggable transports in Go.
>
> https://spec.torproject.org/pt-spec
> https://gitweb.torproject.org/torspec.git/tree/proposals/196-transport-control-ports.txt
> https://gitweb.torproject.org/torspec.git/tree/proposals/217-ext-orport-auth.txt
> https://gitweb.torproject.org/torspec.git/tree/proposals/232-pluggable-transports-through-proxy.txt
>
> There is browseable documentation here:
> https://godoc.org/git.torproject.org/pluggable-transports/goptlib.git
>
> Report bugs to the tor-...@lists.torproject.org mailing list or to the
> bug tracker at https://trac.torproject.org/projects/tor.
>
> To the extent possible under law, the authors have dedicated all
> copyright and related and neighboring rights to this software to the
> public domain worldwide. This software is distributed without any
> warranty. See COPYING.
>
>
> Port attached.  Feedback most welcome.

Original port was lacking BUILD_DEPENDS.  Attached is a version that
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



go-goptlib.tgz
Description: port of torproject's goptlib


CVS: cvs.openbsd.org: ports

2017-08-14 Thread Ian Darwin
CVSROOT:/cvs
Module name:ports
Changes by: i...@cvs.openbsd.org2017/08/14 09:59:55

Modified files:
devel/jenkins  : Makefile.inc 
devel/jenkins/devel: Makefile distinfo 
devel/jenkins/stable: Makefile distinfo 

Log message:
Move to latest devel and stable versions, prodded by
Artur Pędziwilk hostmaster at carpatica.org



libpng.pc

2017-08-14 Thread Christian Weisgerber
The recent graphics/png 1.6.31 update added a line

Requires: zlib

to libpng.pc.  This makes sense as libpng requires libz.  Consequently,
the pkg-config output changes:

pkg-config --cflags libpng
old: -I/usr/local/include/libpng16
new: -I/usr/local/include/libpng16 -I/usr/include

pkg-config --libs libpng
old: -L/usr/local/lib -lpng
new: -L/usr/local/lib -L/usr/lib -lpng -lz

Should be fine, right?
Well, it causes some interesting fallout.

* games/chromium-bsu breaks because its configure script picks up
  libc.so.*.a as a library and tries to link with it.
* games/pingus adds an additional -isystem/usr/include to the compiler
  line and now  can't include .
* There's also strange x11/qt5/qtbase breakage, which may be related
  to this.

I'm uncertain how to proceed.  Should I simply revert the change
to libpng.pc?  The explicit addition of -lz is only required for
static linking, but that is already covered by Libs.private in
libpng.pc.

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



Re: Question about updated stable ports: rebuilt packages?

2017-08-14 Thread Andreas Kusalananda Kähäri
On Mon, Aug 14, 2017 at 01:07:43PM +0200, Andreas Kusalananda Kähäri wrote:
> Hi,
> 
> Sorry, but I can't find this in the FAQ.  If a port is updated and
> committed on the stable OPENBSD_6_1 branch, new packages will not be
> built and uploaded to the package repositories, right?  At least this is
> the way it appears to be.

It was pointed out to me that this is actually explicitly mentioned in
the FAQ.  I was just looking in the wrong parts of it (the bits relating
directly to errata and following -stable, not the packages and ports
FAQ).

When serious bugs or security flaws are discovered in third party
software, they are fixed in the -stable branch of the ports
tree. Note that binary packages for -release and -stable are not
updated. In contrast to the base system, the -stable ports tree only
gets security backports for the latest release.

This means that all you need to do is make sure you check out the
correct branch of the ports tree, and build the desired software
from it. You can keep your tree up to date with CVS and subscribe
to the ports-changes mailing list to receive security announcements
related to software in the ports tree.

Thanks,

-- 
Andreas Kusalananda Kähäri,
National Bioinformatics Infrastructure Sweden (NBIS),
Uppsala University, Sweden.



UPDATE: Nextcloud-12.0.1

2017-08-14 Thread Gonzalo L. Rodriguez
Hello,

Update for Nextcloud to 12.0.1:

https://nextcloud.com/changelog/

Ok? Comments?

Cheers.-

-- 
Sending from my toaster.
Index: Makefile
===
RCS file: /cvs/ports/www/nextcloud/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile28 May 2017 20:03:16 -  1.3
+++ Makefile14 Aug 2017 14:31:31 -
@@ -2,7 +2,7 @@
 
 COMMENT=   easy and universal access to shared and/or personal 
files
 
-V= 12.0.0
+V= 12.0.1
 DISTNAME=  nextcloud-${V}
 EXTRACT_SUFX=  .tar.bz2
 
Index: distinfo
===
RCS file: /cvs/ports/www/nextcloud/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo28 May 2017 20:03:16 -  1.3
+++ distinfo14 Aug 2017 14:31:31 -
@@ -1,2 +1,2 @@
-SHA256 (nextcloud-12.0.0.tar.bz2) = 
G52c8F5lfNVkpVK0GPv0LWacpR4P0fHxGP5Ey/k6JD8=
-SIZE (nextcloud-12.0.0.tar.bz2) = 41743343
+SHA256 (nextcloud-12.0.1.tar.bz2) = 
Uoj2RTSO3cGndoglZ4vRnxEM7FhaFvmLUsZDiTWMdLw=
+SIZE (nextcloud-12.0.1.tar.bz2) = 42489514
Index: patches/patch-version_php
===
RCS file: /cvs/ports/www/nextcloud/patches/patch-version_php,v
retrieving revision 1.3
diff -u -p -r1.3 patch-version_php
--- patches/patch-version_php   28 May 2017 20:03:16 -  1.3
+++ patches/patch-version_php   14 Aug 2017 14:31:31 -
@@ -3,8 +3,8 @@ Index: version.php
 --- version.php.orig
 +++ version.php
 @@ -2,7 +2,7 @@
- $OC_Version = array(12,0,0,29);
- $OC_VersionString = '12.0.0';
+ $OC_Version = array(12,0,1,5);
+ $OC_VersionString = '12.0.1';
  $OC_Edition = '';
 -$OC_Channel = 'stable';
 +$OC_Channel = 'OpenBSD ports';
Index: pkg/PLIST
===
RCS file: /cvs/ports/www/nextcloud/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   28 May 2017 20:03:16 -  1.3
+++ pkg/PLIST   14 Aug 2017 14:31:48 -
@@ -3875,6 +3875,8 @@ nextcloud/apps/activity/l10n/
 nextcloud/apps/activity/l10n/.gitkeep
 nextcloud/apps/activity/l10n/.tx/
 nextcloud/apps/activity/l10n/.tx/config
+nextcloud/apps/activity/l10n/af.js
+nextcloud/apps/activity/l10n/af.json
 nextcloud/apps/activity/l10n/ar.js
 nextcloud/apps/activity/l10n/ar.json
 nextcloud/apps/activity/l10n/ast.js
@@ -3953,6 +3955,8 @@ nextcloud/apps/activity/l10n/lv.js
 nextcloud/apps/activity/l10n/lv.json
 nextcloud/apps/activity/l10n/mk.js
 nextcloud/apps/activity/l10n/mk.json
+nextcloud/apps/activity/l10n/mn.js
+nextcloud/apps/activity/l10n/mn.json
 nextcloud/apps/activity/l10n/nb.js
 nextcloud/apps/activity/l10n/nb.json
 nextcloud/apps/activity/l10n/nl.js
@@ -3992,6 +3996,8 @@ nextcloud/apps/activity/l10n/vi.js
 nextcloud/apps/activity/l10n/vi.json
 nextcloud/apps/activity/l10n/zh_CN.js
 nextcloud/apps/activity/l10n/zh_CN.json
+nextcloud/apps/activity/l10n/zh_HK.js
+nextcloud/apps/activity/l10n/zh_HK.json
 nextcloud/apps/activity/l10n/zh_TW.js
 nextcloud/apps/activity/l10n/zh_TW.json
 nextcloud/apps/activity/lib/
@@ -4083,6 +4089,7 @@ nextcloud/apps/comments/appinfo/signatur
 nextcloud/apps/comments/css/
 nextcloud/apps/comments/css/comments.css
 nextcloud/apps/comments/img/
+nextcloud/apps/comments/img/comments-dark.svg
 nextcloud/apps/comments/img/comments.svg
 nextcloud/apps/comments/js/
 nextcloud/apps/comments/js/activitytabviewplugin.js
@@ -4095,6 +4102,8 @@ nextcloud/apps/comments/js/filesplugin.j
 nextcloud/apps/comments/js/merged.json
 nextcloud/apps/comments/l10n/
 nextcloud/apps/comments/l10n/.gitkeep
+nextcloud/apps/comments/l10n/af.js
+nextcloud/apps/comments/l10n/af.json
 nextcloud/apps/comments/l10n/af_ZA.js
 nextcloud/apps/comments/l10n/af_ZA.json
 nextcloud/apps/comments/l10n/ar.js
@@ -4308,14 +4317,20 @@ nextcloud/apps/dav/l10n/cs.js
 nextcloud/apps/dav/l10n/cs.json
 nextcloud/apps/dav/l10n/cs_CZ.js
 nextcloud/apps/dav/l10n/cs_CZ.json
+nextcloud/apps/dav/l10n/da.js
+nextcloud/apps/dav/l10n/da.json
 nextcloud/apps/dav/l10n/de.js
 nextcloud/apps/dav/l10n/de.json
 nextcloud/apps/dav/l10n/de_DE.js
 nextcloud/apps/dav/l10n/de_DE.json
 nextcloud/apps/dav/l10n/el.js
 nextcloud/apps/dav/l10n/el.json
+nextcloud/apps/dav/l10n/en_GB.js
+nextcloud/apps/dav/l10n/en_GB.json
 nextcloud/apps/dav/l10n/es.js
 nextcloud/apps/dav/l10n/es.json
+nextcloud/apps/dav/l10n/es_AR.js
+nextcloud/apps/dav/l10n/es_AR.json
 nextcloud/apps/dav/l10n/es_MX.js
 nextcloud/apps/dav/l10n/es_MX.json
 nextcloud/apps/dav/l10n/fi.js
@@ -4324,6 +4339,8 @@ nextcloud/apps/dav/l10n/fi_FI.js
 nextcloud/apps/dav/l10n/fi_FI.json
 nextcloud/apps/dav/l10n/fr.js
 nextcloud/apps/dav/l10n/fr.json
+nextcloud/apps/dav/l10n/gl.js
+nextcloud/apps/dav/l10n/gl.json
 nextcloud/apps/dav/l10n/hu.js
 nextcloud/apps/dav/l10n/hu.json
 nextcloud/apps/dav/l10n/hu_HU.js
@@ -4771,6 +4788,8 @@ nextcloud/apps/federatedfilesharing/l10n
 

UPDATE: Varnish-5.1.3

2017-08-14 Thread Gonzalo L. Rodriguez
Hello,

Update for Varnish to 5.1.3:

* https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12425
* Switch to GH repo.varnish-cache.org going down soon.

Ok? Comments?


Cheers.-
-- 
Sending from my toaster.
Index: Makefile
===
RCS file: /cvs/ports/www/varnish/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- Makefile11 Apr 2017 03:00:12 -  1.30
+++ Makefile14 Aug 2017 13:55:39 -
@@ -2,7 +2,12 @@
 
 COMMENT =  high-performance HTTP accelerator
 
-DISTNAME = varnish-5.1.2
+V =5.1.3
+GH_ACCOUNT =   varnishcache
+GH_PROJECT =   varnish-cache
+GH_TAGNAME =   varnish-${V}
+DISTNAME = varnish-${V}
+
 CATEGORIES =   www
 
 SHARED_LIBS =  varnishapi  1.0
@@ -15,20 +20,29 @@ MAINTAINER =Jim Razmus II 

Re: [Update / security] PostgreSQL 9.6.4

2017-08-14 Thread Pierre-Emmanuel André
On Fri, Aug 11, 2017 at 10:26:34AM +0200, Pierre-Emmanuel André wrote:
> Hi,
> 
> A new version of PostgreSQL is available. It fixes 3 CVE:
> 
> CVE-2017-7546: Empty password accepted in some authentication methods
> CVE-2017-7547: The "pg_user_mappings" catalog view discloses passwords to 
> users lacking server privileges
> CVE-2017-7548: lo_put() function ignores ACLs
> 
> 
> Tested on @amd64.
> 
> Comments, ok ?
> 
> Regards,


And the diffs for 6.1 and 6.0.
Comments, ok ?

Regards,
Index: Makefile
===
RCS file: /cvs/ports/databases/postgresql/Makefile,v
retrieving revision 1.223.2.1
diff -u -p -u -p -r1.223.2.1 Makefile
--- Makefile	25 May 2017 11:34:21 -	1.223.2.1
+++ Makefile	14 Aug 2017 12:00:31 -
@@ -7,7 +7,7 @@ COMMENT-contrib=PostgreSQL RDBMS contrib
 COMMENT-plpython=Python procedural language for PostgreSQL
 COMMENT-pg_upgrade=Support for upgrading PostgreSQL data from previous version
 
-VERSION=	9.6.3
+VERSION=	9.6.4
 PREV_MAJOR=	9.5
 DISTNAME=	postgresql-${VERSION}
 PKGNAME-main=	postgresql-client-${VERSION}
Index: distinfo
===
RCS file: /cvs/ports/databases/postgresql/distinfo,v
retrieving revision 1.65.2.1
diff -u -p -u -p -r1.65.2.1 distinfo
--- distinfo	25 May 2017 11:34:21 -	1.65.2.1
+++ distinfo	14 Aug 2017 12:00:31 -
@@ -1,2 +1,2 @@
-SHA256 (postgresql-9.6.3.tar.gz) = 3wiDciMLHdIdh7uBaGRxUI9MQglNT08ytdjmhv6mn6Y=
-SIZE (postgresql-9.6.3.tar.gz) = 25536998
+SHA256 (postgresql-9.6.4.tar.gz) = rlx+IgvUvaTF9rD6lgG0+c1XvvhLEAI2HhmSMUgLz9A=
+SIZE (postgresql-9.6.4.tar.gz) = 25636545
Index: pkg/PLIST-docs
===
RCS file: /cvs/ports/databases/postgresql/pkg/PLIST-docs,v
retrieving revision 1.77.2.1
diff -u -p -u -p -r1.77.2.1 PLIST-docs
--- pkg/PLIST-docs	25 May 2017 11:34:21 -	1.77.2.1
+++ pkg/PLIST-docs	14 Aug 2017 12:00:31 -
@@ -903,6 +903,7 @@ share/doc/postgresql/html/release-9-2-19
 share/doc/postgresql/html/release-9-2-2.html
 share/doc/postgresql/html/release-9-2-20.html
 share/doc/postgresql/html/release-9-2-21.html
+share/doc/postgresql/html/release-9-2-22.html
 share/doc/postgresql/html/release-9-2-3.html
 share/doc/postgresql/html/release-9-2-4.html
 share/doc/postgresql/html/release-9-2-5.html
@@ -920,6 +921,7 @@ share/doc/postgresql/html/release-9-3-14
 share/doc/postgresql/html/release-9-3-15.html
 share/doc/postgresql/html/release-9-3-16.html
 share/doc/postgresql/html/release-9-3-17.html
+share/doc/postgresql/html/release-9-3-18.html
 share/doc/postgresql/html/release-9-3-2.html
 share/doc/postgresql/html/release-9-3-3.html
 share/doc/postgresql/html/release-9-3-4.html
@@ -933,6 +935,7 @@ share/doc/postgresql/html/release-9-4-1.
 share/doc/postgresql/html/release-9-4-10.html
 share/doc/postgresql/html/release-9-4-11.html
 share/doc/postgresql/html/release-9-4-12.html
+share/doc/postgresql/html/release-9-4-13.html
 share/doc/postgresql/html/release-9-4-2.html
 share/doc/postgresql/html/release-9-4-3.html
 share/doc/postgresql/html/release-9-4-4.html
@@ -949,10 +952,12 @@ share/doc/postgresql/html/release-9-5-4.
 share/doc/postgresql/html/release-9-5-5.html
 share/doc/postgresql/html/release-9-5-6.html
 share/doc/postgresql/html/release-9-5-7.html
+share/doc/postgresql/html/release-9-5-8.html
 share/doc/postgresql/html/release-9-5.html
 share/doc/postgresql/html/release-9-6-1.html
 share/doc/postgresql/html/release-9-6-2.html
 share/doc/postgresql/html/release-9-6-3.html
+share/doc/postgresql/html/release-9-6-4.html
 share/doc/postgresql/html/release-9-6.html
 share/doc/postgresql/html/release.html
 share/doc/postgresql/html/replication-origins.html
Index: Makefile
===
RCS file: /cvs/ports/databases/postgresql/Makefile,v
retrieving revision 1.215.2.3
diff -u -p -u -p -r1.215.2.3 Makefile
--- Makefile	6 Apr 2017 03:49:40 -	1.215.2.3
+++ Makefile	14 Aug 2017 12:55:47 -
@@ -11,7 +11,7 @@ BROKEN-sparc=	Requires v9|v9a|v9b; reque
 # DO NOT FORGET to also change the @ask-update entry in pkg/PLIST-server
 # in case a dump before / restore after pkg_add -u is required!
 
-VERSION=	9.5.6
+VERSION=	9.5.8
 DISTNAME=	postgresql-${VERSION}
 PKGNAME-main=	postgresql-client-${VERSION}
 PKGNAME-server=	postgresql-server-${VERSION}
Index: distinfo
===
RCS file: /cvs/ports/databases/postgresql/distinfo,v
retrieving revision 1.62.2.3
diff -u -p -u -p -r1.62.2.3 distinfo
--- distinfo	6 Apr 2017 03:49:40 -	1.62.2.3
+++ distinfo	14 Aug 2017 12:55:47 -
@@ -1,2 +1,2 @@
-SHA256 (postgresql-9.5.6.tar.gz) = qorJ8S/iVqOhnogP2FUbN/e2npwu6jVSQTNeOmG9vjc=
-SIZE (postgresql-9.5.6.tar.gz) = 24264195
+SHA256 (postgresql-9.5.8.tar.gz) = d8tRGnwbWUZOzyqZXFCARDsNKQdRQtw/g/olB2pqPoA=
+SIZE (postgresql-9.5.8.tar.gz) = 24376560
Index: pkg/PLIST-docs

Question about updated stable ports: rebuilt packages?

2017-08-14 Thread Andreas Kusalananda Kähäri
Hi,

Sorry, but I can't find this in the FAQ.  If a port is updated and
committed on the stable OPENBSD_6_1 branch, new packages will not be
built and uploaded to the package repositories, right?  At least this is
the way it appears to be.


Regards,

-- 
Andreas Kusalananda Kähäri,
National Bioinformatics Infrastructure Sweden (NBIS),
Uppsala University, Sweden.



CVS: cvs.openbsd.org: ports

2017-08-14 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/08/14 06:20:57

Modified files:
security/rhash : Makefile distinfo 
security/rhash/patches: patch-Makefile patch-common_func_h 
patch-librhash_Makefile 
patch-tests_test_rhash_sh 
Removed files:
security/rhash/patches: patch-find_file_c patch-librhash_rhash_c 
patch-librhash_rhash_h 

Log message:
Update to rhash-1.3.5



CVS: cvs.openbsd.org: ports

2017-08-14 Thread Pierre-Emmanuel Andre
CVSROOT:/cvs
Module name:ports
Changes by: p...@cvs.openbsd.org2017/08/14 05:56:54

Modified files:
databases/postgresql: Makefile distinfo 
databases/postgresql/patches: patch-src_pl_plperl_GNUmakefile 
databases/postgresql/pkg: PLIST-docs 

Log message:
Security update to 9.6.4



CVS: cvs.openbsd.org: ports

2017-08-14 Thread Paul Irofti
CVSROOT:/cvs
Module name:ports
Changes by: piro...@cvs.openbsd.org 2017/08/14 03:59:07

Modified files:
textproc/mupdf : Makefile 
Added files:
textproc/mupdf/patches: patch-include_mupdf_fitz_context_h 

Log message:
Fix debug build for programs including fitz/context.h.

Details at https://bugs.ghostscript.com/show_bug.cgi?id=698353.

OK sthen@



Re: NEW: converters/k2pdfopt

2017-08-14 Thread Paul Irofti
> You are not going to try and debug the crash? If the code is *that* bad,
> then alright ;) But we should raise a bug upstream so we can apply any
> patch they might provide.

The crash is always in maxval due to a negative index.

  961 return(x[imax]);

where imax = -1 from

  952 for (imax=-1,i=index0-dx2-n0;i<=index0+dx2-n0;i++)

because index0 = - 71, dx2 = 0 and n0 = 0 so the loop never iterates.

You can try going up and down the stack, but I can't tell what those
variables do or what their expected output should be.

Here is a hackish fix available on github (does it fix things for you too?)

%---
$OpenBSD$

Index: k2pdfoptlib/textrows.c
--- k2pdfoptlib/textrows.c.orig
+++ k2pdfoptlib/textrows.c
@@ -956,6 +956,11 @@ static int maxval(int *x,int n,int n0,int dx,int *inde
 if (imax<0 || x[i]>x[imax])
 imax=i;
 }
+if (imax < 0)  /* handle negative index by returning the first entry */
+if (index)
+   (*index)=0;
+return(x[0]);
+
 if (index!=NULL)
 (*index)=imax+n0;
 return(x[imax]);
%---

and here is the full stack trace

%---
Program received signal SIGSEGV, Segmentation fault.
0x1fa7dfe27510 in maxval (x=0x1faa35bcb000, n=5550, n0=0, dx=3, 
index=0x7f7cc0a4, index0=-71)
at /usr/ports/pobj/k2pdfopt-2.42/k2pdfopt_v2.42/k2pdfoptlib/textrows.c:961
961 return(x[imax]);
(gdb) bt
#0  0x1fa7dfe27510 in maxval (x=0x1faa35bcb000, n=5550, n0=0, dx=3, 
index=0x7f7cc0a4, index0=-71)
at /usr/ports/pobj/k2pdfopt-2.42/k2pdfopt_v2.42/k2pdfoptlib/textrows.c:961
#1  0x1fa7dfe26d24 in textrows_find_doubles (textrows=0x7f7cc438, 
rowthresh=0x1faa35bcb000, region=0x7f7cc428, 
k2settings=0x1fa7e010e750 , maxsize=3, 
dynamic_aperture=0)
at /usr/ports/pobj/k2pdfopt-2.42/k2pdfopt_v2.42/k2pdfoptlib/textrows.c:717
#2  0x1fa7dfe2b8a3 in bmpregion_find_textrows (region=0x7f7cc428, 
k2settings=0x1fa7e010e750 , 
dynamic_aperture=0, remove_small_rows=1, join_figure_captions=1)
at /usr/ports/pobj/k2pdfopt-2.42/k2pdfopt_v2.42/k2pdfoptlib/bmpregion.c:1482
#3  0x1fa7dfe1436f in masterinfo_add_bitmap (
masterinfo=0x1fa7e0114d70 , 
src=0x7f7ced30, 
k2settings=0x1fa7e010e750 , npageboxes=1, 
justification_flags=143, whitethresh=192, nocr=2, dpi=588, 
wrectmaps=0x7f7ceb28, textrow0=0x7f7ceae0)
at /usr/ports/pobj/k2pdfopt-2.42/k2pdfopt_v2.42/k2pdfoptlib/k2master.c:537
#4  0x1fa7dfe3caf5 in bmpregion_add (added_region=0x7f7d0618, 
k2settings=0x1fa7e010e750 , 
masterinfo=0x1fa7e0114d70 )
at /usr/ports/pobj/k2pdfopt-2.42/k2pdfopt_v2.42/k2pdfoptlib/k2proc.c:1611
#5  0x1fa7dfe401e5 in bmpregion_add_textrows (added_region=0x7f7d07f8, 
k2settings=0x1fa7e010e750 , 
masterinfo=0x1fa7e0114d70 )
at /usr/ports/pobj/k2pdfopt-2.42/k2pdfopt_v2.42/k2pdfoptlib/k2proc.c:2685
#6  0x1fa7dfe395e3 in bmpregion_vertically_break (region=0x1faad30890c8, 
k2settings=0x1fa7e010e750 , 
masterinfo=0x1fa7e0114d70 , force_scale=-2, 
source_page=2, ncols=2, notes=0x0)
at /usr/ports/pobj/k2pdfopt-2.42/k2pdfopt_v2.42/k2pdfoptlib/k2proc.c:2550
#7  0x1fa7dfe3a4d0 in bmpregion_source_box_process (region=0x7f7d0cb8, 
k2settings=0x1fa7e010e750 , 
masterinfo=0x1fa7e0114d70 , level=1, 
pages_done=2)
at /usr/ports/pobj/k2pdfopt-2.42/k2pdfopt_v2.42/k2pdfoptlib/k2proc.c:463
#8  0x1fa7dfe39cf6 in bmpregion_source_page_add (region=0x7f7d0cb8, 
k2settings=0x1fa7e010e750 , 
masterinfo=0x1fa7e0114d70 , level=1, 
pages_done=2)
at /usr/ports/pobj/k2pdfopt-2.42/k2pdfopt_v2.42/k2pdfoptlib/k2proc.c:170
#9  0x1fa7dfe102da in k2pdfopt_proc_one (
k2settings0=0x1fa7e0101aa8 , 
filename=0x7f7d4c30 
"/home/bulibuta/doc/research/sparse/2D/FuGaoSunHong14_TKSVD.pdf", 
k2fileproc=0x7f7d49f0)
at /usr/ports/pobj/k2pdfopt-2.42/k2pdfopt_v2.42/k2pdfoptlib/k2file.c:862
#10 0x1fa7dfe0e9a4 in k2pdfopt_preprocess_single_doc (
k2settings=0x1fa7e0101aa8 , 
srcfilename=0x7f7d50a0 
"/home/bulibuta/doc/research/sparse/2D/FuGaoSunHong14_TKSVD.pdf", 
k2listproc=0x7f7d5c48)
at /usr/ports/pobj/k2pdfopt-2.42/k2pdfopt_v2.42/k2pdfoptlib/k2file.c:339
#11 0x1fa7dfe0cd91 in k2pdfopt_proc_file_or_folder (
k2settings=0x1fa7e0101aa8 , 
filename=0x1faab4a42d80 
"/home/bulibuta/doc/research/sparse/2D/FuGaoSunHong14_TKSVD.pdf", 
k2listproc=0x7f7d5c48)
at /usr/ports/pobj/k2pdfopt-2.42/k2pdfopt_v2.42/k2pdfoptlib/k2file.c:172
#12 0x1fa7dfe0cae3 in k2pdfopt_proc_wildarg (
k2settings=0x1fa7e0101aa8 , 
arg=0x1faab4a42d80 
"/home/bulibuta/doc/research/sparse/2D/FuGaoSunHong14_TKSVD.pdf", 
k2listproc=0x7f7d5c48)
at 

textproc/mupdf: fix debug builds

2017-08-14 Thread Paul Irofti
Hi,

This fixes debug builds for programs including fitz/context.h.
Details here https://bugs.ghostscript.com/show_bug.cgi?id=698353.

OK?


Index: Makefile
===
RCS file: /cvs/ports/textproc/mupdf/Makefile,v
retrieving revision 1.75
diff -u -p -u -p -r1.75 Makefile
--- Makefile3 Aug 2017 17:47:07 -   1.75
+++ Makefile14 Aug 2017 09:03:25 -
@@ -5,7 +5,7 @@ SHARED_LIBS +=  mupdf   6.0
 COMMENT =  graphic library, pdf parser, viewer and utilities
 
 V =1.11
-REVISION = 0
+REVISION = 1
 DISTNAME = mupdf-$V-source
 PKGNAME =  mupdf-$V
 
Index: patches/patch-include_mupdf_fitz_context_h
===
RCS file: patches/patch-include_mupdf_fitz_context_h
diff -N patches/patch-include_mupdf_fitz_context_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-include_mupdf_fitz_context_h  14 Aug 2017 09:03:25 -
@@ -0,0 +1,17 @@
+$OpenBSD$
+
+Fix DEBUG builds for programs that include this header.
+See https://bugs.ghostscript.com/show_bug.cgi?id=698353.
+
+Index: include/mupdf/fitz/context.h
+--- include/mupdf/fitz/context.h.orig
 include/mupdf/fitz/context.h
+@@ -570,7 +570,7 @@ extern fz_alloc_context fz_alloc_default;
+ /* Default locks */
+ extern fz_locks_context fz_locks_default;
+ 
+-#if defined(MEMENTO) || !defined(NDEBUG)
++#if defined(MEMENTO)
+ #define FITZ_DEBUG_LOCKING
+ #endif
+ 



Re: NEW: converters/k2pdfopt

2017-08-14 Thread Paul Irofti
On Sun, Aug 13, 2017 at 10:16:07PM +0100, Edd Barrett wrote:
> On Sun, Aug 13, 2017 at 10:21:51AM +0300, Paul Irofti wrote:
> > It's because of the stupid context.h header from mupdf
> > 
> >   #if defined(MEMENTO) || !defined(NDEBUG)
> >   #define FITZ_DEBUG_LOCKING
> >   #endif
> 
> You could apply that to the mupdf port to make this one debuggable? What
> do you think?

I submitted a bug report to mupdf

  https://bugs.ghostscript.com/show_bug.cgi?id=698353

and am waiting for them to confirm and fix it. In the meantime I am
going to propose a local fix to sthen@.

> You are not going to try and debug the crash? If the code is *that* bad,
> then alright ;) But we should raise a bug upstream so we can apply any
> patch they might provide.

I am going to have another go at fixing the crash, but I do not have the
time nor the nerves to debug that code. If I fail, which I am more then
certain at this point, I will submit a bug. It is weird that the Windows
version does not crash on the same document...



Re: mednafen 0.9.39.2 -> 0.9.46

2017-08-14 Thread Jeremy Evans
>
> With that patch, mednafen 0.9.46 now works even when a gamepad is
> plugged in. But I can't get mednafen to recognize the gamepad; it
> doesn't let me map any of its keys.
>
> Also, I can say that mgba (the sdl version) has the same problem as the
> unpatched mednafen. If a controller is plugged in, it shows only a black
> screen and has to be killed. Works fine without a controller.
>

It certainly appears as though this is an issue in sdl or below.  Looking
at the devel/sdl history, there's no recent changes to it.  I tried
recompiling mednafen and sdl with gcc to make sure it isn't a compiler
issue, but got the same results.  The problem may be lower level. I'd like
to look into this, but I probably won't have the necessary time for a few
months.  If anyone else can work on it before then, I'd appreciate it.

Thanks,
Jeremy