UPDATE: security/burpsuite 2.1.02

2019-07-27 Thread Lawrence Teo
This updates burpsuite to 2.1.02.

http://releases.portswigger.net/2019/07/professional-community-edition-2102.html

I've tested with both jdk 1.8 and 11.

While here I have also updated the PERMIT_* URLs to the latest URLs.

ok?
Index: Makefile
===
RCS file: /cvs/ports/security/burpsuite/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- Makefile19 Jul 2019 02:17:21 -  1.30
+++ Makefile28 Jul 2019 03:25:15 -
@@ -2,7 +2,7 @@
 
 COMMENT =  tool for testing security of web applications
 
-VERSION =  2.1.01
+VERSION =  2.1.02
 DISTNAME = burpsuite_free_v${VERSION}
 PKGNAME =  burpsuite-${VERSION}
 
@@ -12,8 +12,8 @@ CATEGORIES =  security
 
 HOMEPAGE = https://portswigger.net/burp/
 
-PERMIT_PACKAGE =   https://portswigger.net/burp/eula-free.html
-PERMIT_DISTFILES = https://portswigger.net/burp/eula-free.html
+PERMIT_PACKAGE =   https://portswigger.net/burp/eula/community
+PERMIT_DISTFILES = https://portswigger.net/burp/eula/community
 
 MASTER_SITES = https://portswigger.net/Burp/Releases/
 
Index: distinfo
===
RCS file: /cvs/ports/security/burpsuite/distinfo,v
retrieving revision 1.24
diff -u -p -r1.24 distinfo
--- distinfo19 Jul 2019 02:17:21 -  1.24
+++ distinfo28 Jul 2019 02:53:56 -
@@ -1,2 +1,2 @@
-SHA256 (burpsuite_free_v2.1.01.jar) = 
pC6iQApjkglzAbxdiGrB8XOiSpIcrWixXeyiWGLVZXs=
-SIZE (burpsuite_free_v2.1.01.jar) = 300627459
+SHA256 (burpsuite_free_v2.1.02.jar) = 
6awlN3D+cWq+6M0ZhUlNBl4u/QDfC0Mxh6/BvsUIpDI=
+SIZE (burpsuite_free_v2.1.02.jar) = 301105466


[Update] textproc/p5-LaTeXML : Update to 0.8.4

2019-07-27 Thread wen heping
Hi,

Here is a patch for textproc/p5-LaTeXML to update to 0.8.4
It build well and passed all tests on amd64-head system.
No other ports depends on textproc/p5-LaTeXML.

Comments? OK?
wen
Index: Makefile
===
RCS file: /cvs/ports/textproc/p5-LaTeXML/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile12 Jul 2019 20:50:03 -  1.7
+++ Makefile28 Jul 2019 03:18:11 -
@@ -4,7 +4,7 @@ COMMENT =   LaTeX to XML/HTML/MathML Conve
 
 MODULES =  cpan
 PKG_ARCH = *
-DISTNAME = LaTeXML-0.8.3_7
+DISTNAME = LaTeXML-0.8.4
 CATEGORIES =   textproc
 
 # perl
Index: distinfo
===
RCS file: /cvs/ports/textproc/p5-LaTeXML/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo6 Jan 2019 20:51:33 -   1.3
+++ distinfo28 Jul 2019 03:18:11 -
@@ -1,2 +1,2 @@
-SHA256 (LaTeXML-0.8.3_7.tar.gz) = XoUOCkyGrvxftnpdo32/FuNEKTkQ4S/+8MgfX/h6Aa4=
-SIZE (LaTeXML-0.8.3_7.tar.gz) = 10704544
+SHA256 (LaTeXML-0.8.4.tar.gz) = klmbRftYesFLK6nMhLhdndwt6vHL3C6J56ZVnh+7NMw=
+SIZE (LaTeXML-0.8.4.tar.gz) = 11502627
Index: pkg/PLIST
===
RCS file: /cvs/ports/textproc/p5-LaTeXML/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST   6 Jan 2019 20:51:33 -   1.4
+++ pkg/PLIST   28 Jul 2019 03:18:11 -
@@ -89,6 +89,7 @@ ${P5SITE}/LaTeXML/Package/JHEP2.cls.ltxm
 ${P5SITE}/LaTeXML/Package/JHEP3.cls.ltxml
 ${P5SITE}/LaTeXML/Package/LaTeX.pool.ltxml
 ${P5SITE}/LaTeXML/Package/OmniBus.cls.ltxml
+${P5SITE}/LaTeXML/Package/PoS.cls.ltxml
 ${P5SITE}/LaTeXML/Package/TeX.pool.ltxml
 ${P5SITE}/LaTeXML/Package/a0poster.cls.ltxml
 ${P5SITE}/LaTeXML/Package/a0size.sty.ltxml
@@ -102,14 +103,14 @@ ${P5SITE}/LaTeXML/Package/aasms.sty.ltxm
 ${P5SITE}/LaTeXML/Package/aaspp.sty.ltxml
 ${P5SITE}/LaTeXML/Package/aastex.cls.ltxml
 ${P5SITE}/LaTeXML/Package/aastex.sty.ltxml
-${P5SITE}/LaTeXML/Package/aastex6.cls.ltxml
-${P5SITE}/LaTeXML/Package/aastex61.cls.ltxml
 ${P5SITE}/LaTeXML/Package/accents.sty.ltxml
 ${P5SITE}/LaTeXML/Package/acmart.cls.ltxml
 ${P5SITE}/LaTeXML/Package/acronym.sty.ltxml
 ${P5SITE}/LaTeXML/Package/ae.sty.ltxml
 ${P5SITE}/LaTeXML/Package/aecompl.sty.ltxml
 ${P5SITE}/LaTeXML/Package/afterpage.sty.ltxml
+${P5SITE}/LaTeXML/Package/aipcheck.tex.ltxml
+${P5SITE}/LaTeXML/Package/aipproc.cls.ltxml
 ${P5SITE}/LaTeXML/Package/algc.sty.ltxml
 ${P5SITE}/LaTeXML/Package/algcompatible.sty.ltxml
 ${P5SITE}/LaTeXML/Package/algmatlab.sty.ltxml
@@ -155,6 +156,8 @@ ${P5SITE}/LaTeXML/Package/balance.sty.lt
 ${P5SITE}/LaTeXML/Package/bbm.sty.ltxml
 ${P5SITE}/LaTeXML/Package/bbold.sty.ltxml
 ${P5SITE}/LaTeXML/Package/beton.sty.ltxml
+${P5SITE}/LaTeXML/Package/bibunits.sty.ltxml
+${P5SITE}/LaTeXML/Package/blindtext.sty.ltxml
 ${P5SITE}/LaTeXML/Package/bm.sty.ltxml
 ${P5SITE}/LaTeXML/Package/book.cls.ltxml
 ${P5SITE}/LaTeXML/Package/bookman.sty.ltxml
@@ -162,12 +165,15 @@ ${P5SITE}/LaTeXML/Package/booktabs.sty.l
 ${P5SITE}/LaTeXML/Package/braket.sty.ltxml
 ${P5SITE}/LaTeXML/Package/breakurl.sty.ltxml
 ${P5SITE}/LaTeXML/Package/calc.sty.ltxml
+${P5SITE}/LaTeXML/Package/calrsfs.sty.ltxml
 ${P5SITE}/LaTeXML/Package/cancel.sty.ltxml
 ${P5SITE}/LaTeXML/Package/caption.sty.ltxml
 ${P5SITE}/LaTeXML/Package/cases.sty.ltxml
 ${P5SITE}/LaTeXML/Package/ccfonts.sty.ltxml
 ${P5SITE}/LaTeXML/Package/chancery.sty.ltxml
+${P5SITE}/LaTeXML/Package/chapterbib.sty.ltxml
 ${P5SITE}/LaTeXML/Package/charter.sty.ltxml
+${P5SITE}/LaTeXML/Package/chngcntr.sty.ltxml
 ${P5SITE}/LaTeXML/Package/circuitikz.sty.ltxml
 ${P5SITE}/LaTeXML/Package/cite.sty.ltxml
 ${P5SITE}/LaTeXML/Package/citesort.sty.ltxml
@@ -217,6 +223,7 @@ ${P5SITE}/LaTeXML/Package/eurosym.sty.lt
 ${P5SITE}/LaTeXML/Package/euscript.sty.ltxml
 ${P5SITE}/LaTeXML/Package/exscale.sty.ltxml
 ${P5SITE}/LaTeXML/Package/fancyhdr.sty.ltxml
+${P5SITE}/LaTeXML/Package/fancyheadings.sty.ltxml
 ${P5SITE}/LaTeXML/Package/fix-cm.sty.ltxml
 ${P5SITE}/LaTeXML/Package/fixltx2e.sty.ltxml
 ${P5SITE}/LaTeXML/Package/flafter.sty.ltxml
@@ -230,6 +237,7 @@ ${P5SITE}/LaTeXML/Package/flushend.sty.l
 ${P5SITE}/LaTeXML/Package/fontenc.sty.ltxml
 ${P5SITE}/LaTeXML/Package/fontspec.sty.ltxml
 ${P5SITE}/LaTeXML/Package/footmisc.sty.ltxml
+${P5SITE}/LaTeXML/Package/footnote.sty.ltxml
 ${P5SITE}/LaTeXML/Package/fourier.sty.ltxml
 ${P5SITE}/LaTeXML/Package/framed.sty.ltxml
 ${P5SITE}/LaTeXML/Package/french.ldf.ltxml
@@ -250,9 +258,7 @@ ${P5SITE}/LaTeXML/Package/hhline.sty.ltx
 ${P5SITE}/LaTeXML/Package/html.sty.ltxml
 ${P5SITE}/LaTeXML/Package/hyperref.sty.ltxml
 ${P5SITE}/LaTeXML/Package/hyperxmp.sty.ltxml
-${P5SITE}/LaTeXML/Package/icml2016.sty.ltxml
-${P5SITE}/LaTeXML/Package/icml2017.sty.ltxml
-${P5SITE}/LaTeXML/Package/icml2018.sty.ltxml
+${P5SITE}/LaTeXML/Package/icml.sty.ltxml
 ${P5SITE}/LaTeXML/Package/icml_support.sty.ltxml
 

[Update] devel/p5-Modern-Perl : Update to 1.20190727

2019-07-27 Thread wen heping
Hi, ports@:

Here is a patch for devel/p5-Modern-Perl to update to 1.20190727.
It build well and passed all tests on amd64-head system.
No other ports depends on devel/p5-Modern-Perl.

Comments? OK?
wen
Index: Makefile
===
RCS file: /cvs/ports/devel/p5-Modern-Perl/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile17 Jul 2019 14:49:21 -  1.7
+++ Makefile28 Jul 2019 01:30:49 -
@@ -5,9 +5,8 @@ COMMENT =   enable all of the features of
 MODULES =  cpan
 PKG_ARCH = *
 CPAN_AUTHOR =  CHROMATIC
-DISTNAME = Modern-Perl-1.20181021
+DISTNAME = Modern-Perl-1.20190727
 CATEGORIES =   devel
-REVISION = 0
 
 # Perl
 PERMIT_PACKAGE =   Yes
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-Modern-Perl/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo10 Dec 2018 09:46:26 -  1.4
+++ distinfo28 Jul 2019 01:30:49 -
@@ -1,2 +1,2 @@
-SHA256 (Modern-Perl-1.20181021.tar.gz) = 
HUgrUo98bGD4aNfQvw/MnDZoJQ3ET8s5qVt8Y+CSycU=
-SIZE (Modern-Perl-1.20181021.tar.gz) = 14234
+SHA256 (Modern-Perl-1.20190727.tar.gz) = 
LmnXq35KUxU+aGwlVHrZFOdGTU5WBLiFGTGm5j/FGyE=
+SIZE (Modern-Perl-1.20190727.tar.gz) = 14826
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/p5-Modern-Perl/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   3 Sep 2014 10:06:23 -   1.1.1.1
+++ pkg/PLIST   28 Jul 2019 01:30:49 -
@@ -1,7 +1,10 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2014/09/03 10:06:23 landry Exp $
 ${P5SITE}/Modern/
 ${P5SITE}/Modern/Perl.pm
+${P5SITE}/odern/
+${P5SITE}/odern/Perl.pm
 @man man/man3p/Modern::Perl.3p
+@man man/man3p/odern::Perl.3p
 share/doc/p5-Modern-Perl/
 share/doc/p5-Modern-Perl/Changes
 share/doc/p5-Modern-Perl/LICENSE


[ports-gcc] Unbreak emulators/desmume

2019-07-27 Thread Charlene Wendling

> http://build-failures.rhaalovely.net/powerpc/2019-07-14/emulators/desmume.log
> http://build-failures.rhaalovely.net/sparc64/2019-07-11/emulators/desmume.log

Since gcc-6 this part of the code requires integer constants, and later
in the build, some additional casting is needed. The diff has been
upstreamed already [0].

This fixes the build on macppc, i've tested some homebrews without
issues. amd64 is still doing well.

While here i've moved HOMEPAGE to https. 

The code contains some DOS line endings, so i attach it this time. 

Comments/feedback are welcome!

Charlène.


[0] https://sourceforge.net/p/desmume/bugs/1570/
[1] https://bin.charlenew.xyz/desmume.log




desmume.diff
Description: Binary data


CVS: cvs.openbsd.org: ports

2019-07-27 Thread Alexandre Ratchov
CVSROOT:/cvs
Module name:ports
Changes by: ratc...@cvs.openbsd.org 2019/07/27 17:59:51

Modified files:
www/chromium   : Makefile 
www/chromium/files: sndio_output.cc 

Log message:
Fix audio-video synchronisation bug revealed by last commit.

A/V synchronization was caused by confusion between bytes and samples
in the hardware delay calculation. Bug reported and fix tested by
Tobias Kortkamp and robert@, thanks.

ok robert@



[ports-gcc] Unbreak emulators/xnp2

2019-07-27 Thread Charlene Wendling


> http://build-failures.rhaalovely.net/sparc64/2019-07-11/emulators/xnp2.log
> http://build-failures.rhaalovely.net/powerpc/2019-07-14/emulators/xnp2.log

There is a macro vs function clash here iiuc.

Upstream [0] has already accepted a fix for it. It builds without
issues on macppc [1] and amd64.

Comments/feedback are welcome!

Charlène.


[0] https://github.com/nonakap/xnp2/issues/6
[1] https://bin.charlenew.xyz/xnp2.log


Index: Makefile
===
RCS file: /cvs/ports/emulators/xnp2/Makefile,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 Makefile
--- Makefile12 Jul 2019 20:46:10 -  1.14
+++ Makefile27 Jul 2019 22:54:26 -
@@ -4,7 +4,7 @@ COMMENT =   PC-9801 emulator
 
 DISTNAME = xnp2-0.86
 EPOCH =0
-REVISION = 3
+REVISION = 4
 CATEGORIES =   emulators
 
 HOMEPAGE = https://www.nonakap.org/np2/
Index: patches/patch-x11_compiler_h
===
RCS file: patches/patch-x11_compiler_h
diff -N patches/patch-x11_compiler_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-x11_compiler_h27 Jul 2019 22:54:26 -
@@ -0,0 +1,25 @@
+$OpenBSD$
+
+ports-gcc fix for: 
+error: macro "min" passed 3 arguments, but takes just 2
+From:
+https://github.com/nonakap/xnp2/issues/6
+
+Index: x11/compiler.h
+--- x11/compiler.h.orig
 x11/compiler.h
+@@ -117,12 +117,14 @@ typedef  gbooleanBOOL;
+ #define   MAX_PATHMAXPATHLEN
+ #endif
+ 
++#ifndef __cplusplus
+ #ifndef   max
+ #define   max(a,b)(((a) > (b)) ? (a) : (b))
+ #endif
+ #ifndef   min
+ #define   min(a,b)(((a) < (b)) ? (a) : (b))
+ #endif
++#endif /* __cplusplus */
+ 
+ #ifndef   ZeroMemory
+ #define   ZeroMemory(d,n) memset((d), 0, (n))



Re: UPDATE: games/chocolate-doom

2019-07-27 Thread Ryan Freeman
On Sat, Jul 27, 2019 at 04:13:07PM -0400, Brian Callahan wrote:
> 
> 
> On 7/27/19 3:52 PM, Ryan Freeman wrote:
> >Thanks Brian.  How about this, then?  Same thing, just without
> >Simon's name in the DESCR.
> >
> 
> How about just "Chocolate Doom aims to provide an experience
> identical to that of the original games on original hardware." Same
> effect, no weird "author" this or that.
> 
> ~Brian

That works great :)  OK by with with your change.
-Ryan

> 
> >On Sat, Jul 27, 2019 at 5:41 AM Brian Callahan  >> wrote:
> >
> >
> >
> >On 7/26/19 8:46 PM, Ryan Freeman wrote:
> >> Hey All,
> >>
> >> For some reason my normal email doesn't seem to be working with
> >regards to
> >> reaching ports@.
> >> Apologies for the gmail-based delivery.
> >>
> >> This isn't a version update, just a change to the package DESCR, and
> >> removal of MESSAGE
> >> in lieu of a pkg README.  I've tried to dress it up to cover
> >most things a
> >> user might need
> >> to know on installation of chocolate-doom, and now the DESCR
> >doesn't scroll
> >> away an
> >> 80x24 terminal.
> >
> >I like this overall. I think it's a good improvement.
> >That one sentence with the author's name feels awkward (we don't list
> >the authors of any other software in DESCR, do we?) but that was
> >in the
> >original DESCR too.
> >
> >OK for me.
> >
> >~Brian
> >
> 



[macppc] unbreak security/aircrack

2019-07-27 Thread Charlene Wendling


> http://build-failures.rhaalovely.net/powerpc/2019-07-14/security/aircrack-ng.log

On macppc:

- we have AltiVec support
- we don't (and won't) have POWER8 instructions

The autotools magic works properly here. As such, it's just about
removing the PFRAG entries. This indeed packages [0] once done.

I can't test the runtime, the bwi(4) wifi card in my PowerBook is
known to be almost unusable.

REVISION bump is probably gratuitous.

Comments/feedback are welcome!

Charlène.

[0] https://bin.charlenew.xyz/aircrack-ng.log



Index: Makefile
===
RCS file: /cvs/ports/security/aircrack-ng/Makefile,v
retrieving revision 1.26
diff -u -p -u -p -r1.26 Makefile
--- Makefile12 Jul 2019 21:02:24 -  1.26
+++ Makefile27 Jul 2019 21:19:34 -
@@ -2,7 +2,7 @@
 
 COMMENT=   802.11 WEP and WPA-PSK keys cracking program
 DISTNAME=  aircrack-ng-1.5.2
-REVISION=  1
+REVISION=  2
 CATEGORIES=security
 
 HOMEPAGE=  https://www.aircrack-ng.org/
Index: pkg/PFRAG.ppc
===
RCS file: /cvs/ports/security/aircrack-ng/pkg/PFRAG.ppc,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 PFRAG.ppc
--- pkg/PFRAG.ppc   23 Feb 2019 22:23:25 -  1.1
+++ pkg/PFRAG.ppc   27 Jul 2019 21:19:34 -
@@ -1,7 +1,4 @@
 @comment $OpenBSD: PFRAG.ppc,v 1.1 2019/02/23 22:23:25 sebastia Exp $
-lib/libaircrack-crypto-ppc-power8-1.3.0.so
-lib/libaircrack-crypto-ppc-power8.la
-lib/libaircrack-crypto-ppc-power8.so
 lib/libaircrack-crypto-ppc-altivec-1.3.0.so
 lib/libaircrack-crypto-ppc-altivec.la
 lib/libaircrack-crypto-ppc-altivec.so



[ports-gcc] Unbreak productivity/ledger

2019-07-27 Thread Charlene Wendling


> http://build-failures.rhaalovely.net/powerpc/2019-07-14/productivity/ledger.log
> http://build-failures.rhaalovely.net/sparc64/2019-07-11/productivity/ledger.log

There is some namespace issues when built with gcc, upstream fixed it
already.

This allows building on macppc [0], and amd64 is still fine.

Comments/feedback are welcome!

Charlène. 


[0] https://bin.charlenew.xyz/ledger.log


Index: Makefile
===
RCS file: /cvs/ports/productivity/ledger/Makefile,v
retrieving revision 1.26
diff -u -p -u -p -r1.26 Makefile
--- Makefile12 Jul 2019 20:48:58 -  1.26
+++ Makefile27 Jul 2019 21:05:16 -
@@ -5,7 +5,7 @@ COMMENT =   command line double-entry acc
 GH_TAGNAME =   v3.1.1
 GH_ACCOUNT =   ledger
 GH_PROJECT =   ledger
-REVISION = 3
+REVISION = 4
 
 SHARED_LIBS +=  ledger0.0 # 3.0
 
Index: patches/patch-src_item_h
===
RCS file: patches/patch-src_item_h
diff -N patches/patch-src_item_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_item_h27 Jul 2019 21:05:16 -
@@ -0,0 +1,17 @@
+$OpenBSD$
+
+Fix the build with ports-gcc, from upstream:
+https://github.com/ledger/ledger/commit/258cab91ab702e82d477b41bb1c6a026c848bda5
+
+Index: src/item.h
+--- src/item.h.orig
 src/item.h
+@@ -92,7 +92,7 @@ class item_t : public supports_flags, 
+ 
+   typedef std::pair, bool> tag_data_t;
+   typedef std::map > string_map;
++   std::function > string_map;
+ 
+   state_t  _state;
+   optional _date;



Re: UPDATE: games/chocolate-doom

2019-07-27 Thread Brian Callahan




On 7/27/19 3:52 PM, Ryan Freeman wrote:
Thanks Brian.  How about this, then?  Same thing, just without Simon's 
name in the DESCR.




How about just "Chocolate Doom aims to provide an experience identical 
to that of the original games on original hardware." Same effect, no 
weird "author" this or that.


~Brian

On Sat, Jul 27, 2019 at 5:41 AM Brian Callahan > wrote:




On 7/26/19 8:46 PM, Ryan Freeman wrote:
> Hey All,
>
> For some reason my normal email doesn't seem to be working with
regards to
> reaching ports@.
> Apologies for the gmail-based delivery.
>
> This isn't a version update, just a change to the package DESCR, and
> removal of MESSAGE
> in lieu of a pkg README.  I've tried to dress it up to cover
most things a
> user might need
> to know on installation of chocolate-doom, and now the DESCR
doesn't scroll
> away an
> 80x24 terminal.

I like this overall. I think it's a good improvement.
That one sentence with the author's name feels awkward (we don't list
the authors of any other software in DESCR, do we?) but that was
in the
original DESCR too.

OK for me.

~Brian





[macppc, arm64] Unbreak graphics/openscenegraph

2019-07-27 Thread Charlene Wendling


> http://build-failures.rhaalovely.net/powerpc/2019-07-14/graphics/openscenegraph.log
> http://build-failures.rhaalovely.net/aarch64/2019-07-12/graphics/openscenegraph.log

Typical narrowing error... once type specifiers are used properly, it
builds without issues [0] on macppc (and amd64 isn't broken).

While here, i've removed the -std=c++11 block, as expected we don't need
that anymore with gcc-8.

Comments/feedback are welcome,

Charlène.


[0] https://bin.charlenew.xyz/openscenegraph.log.gz


Index: Makefile
===
RCS file: /cvs/ports/graphics/openscenegraph/Makefile,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 Makefile
--- Makefile12 Jul 2019 20:47:05 -  1.17
+++ Makefile27 Jul 2019 19:37:29 -
@@ -9,7 +9,7 @@ GH_ACCOUNT =openscenegraph
 GH_PROJECT =   OpenSceneGraph
 GH_TAGNAME =   OpenSceneGraph-$V
 DISTNAME = openscenegraph-${V}
-REVISION = 3
+REVISION = 4
 
 SUBST_VARS +=  V
 
@@ -67,9 +67,3 @@ CONFIGURE_ARGS =  -DDESIRED_QT_VERSION=5 
 NO_TEST =  Yes
 
 .include 
-
-# fix error: #error Must have C++11 or newer.
-# XXX this should be retried once moving to ports-gcc>=8
-.if ${CHOSEN_COMPILER} == "ports-gcc"
-CONFIGURE_ENV += CXXFLAGS="${CXXFLAGS} -std=c++11"
-.endif
Index: patches/patch-src_osgDB_ConvertBase64_cpp
===
RCS file: patches/patch-src_osgDB_ConvertBase64_cpp
diff -N patches/patch-src_osgDB_ConvertBase64_cpp
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_osgDB_ConvertBase64_cpp   27 Jul 2019 19:37:29 -
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Fix narrowing errors on archs where char is unsigned by default (ppc, arm)
+
+Index: src/osgDB/ConvertBase64.cpp
+--- src/osgDB/ConvertBase64.cpp.orig
 src/osgDB/ConvertBase64.cpp
+@@ -28,7 +28,7 @@ namespace osgDB
+ 
+ int base64_decode_value(char value_in)
+ {
+-static const char decoding[] = 
{62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-2,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51};
++static const signed char decoding[] = 
{62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-2,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51};
+ static const char decoding_size = sizeof(decoding);
+ value_in -= 43;
+ if (value_in < 0 || value_in > decoding_size) return -1;
Index: patches/patch-src_osgPlugins_osgjs_Base64
===
RCS file: patches/patch-src_osgPlugins_osgjs_Base64
diff -N patches/patch-src_osgPlugins_osgjs_Base64
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_osgPlugins_osgjs_Base64   27 Jul 2019 19:37:29 -
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+ppc, arm: from_table is actually signed, and has to be declared as such
+
+Index: src/osgPlugins/osgjs/Base64
+--- src/osgPlugins/osgjs/Base64.orig
 src/osgPlugins/osgjs/Base64
+@@ -61,7 +61,7 @@ namespace base64
+   extern const char* to_table;
+   extern const char* to_table_end;
+ 
+-  extern const char* from_table;
++  extern const signed char* from_table;
+ 
+ 
+   template 
Index: patches/patch-src_osgPlugins_osgjs_Base64_cpp
===
RCS file: patches/patch-src_osgPlugins_osgjs_Base64_cpp
diff -N patches/patch-src_osgPlugins_osgjs_Base64_cpp
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_osgPlugins_osgjs_Base64_cpp   27 Jul 2019 19:37:29 
-
@@ -0,0 +1,24 @@
+$OpenBSD$
+
+Fix narrowing errors on archs where char is unsigned by default (ppc, arm)
+
+Index: src/osgPlugins/osgjs/Base64.cpp
+--- src/osgPlugins/osgjs/Base64.cpp.orig
 src/osgPlugins/osgjs/Base64.cpp
+@@ -18,7 +18,7 @@ namespace base64
+   const char* to_table_end =
+ _to_table + sizeof(_to_table);
+ 
+-  const char _from_table[128] =
++  const signed char _from_table[128] =
+   {
+ -1, -1, -1, -1, -1, -1, -1, -1, // 0
+ -1, -1, -1, -1, -1, -1, -1, -1, // 8
+@@ -37,6 +37,6 @@ namespace base64
+ 41, 42, 43, 44, 45, 46, 47, 48, // 112
+ 49, 50, 51, -1, -1, -1, -1, -1  // 120
+   };
+-  const char* from_table = _from_table;
++  const signed char* from_table = _from_table;
+ }
+ 



[macppc] Unbreak emulators/retroarch

2019-07-27 Thread Charlene Wendling
Hi!

> http://build-failures.rhaalovely.net/powerpc/2019-07-14/emulators/retroarch.log

It's simply a missing header with the asm code that goes with it.

Once added it builds [0] and (surprisingly) runs fine on macppc. While
pretty useless to do in such a case, i've tested on amd64 as well, and
met no issues indeed.

Comments/feedback are welcome,

Charlène.


[0] https://bin.charlenew.xyz/retroarch.log.gz


Index: Makefile
===
RCS file: /cvs/ports/emulators/retroarch/Makefile,v
retrieving revision 1.18
diff -u -p -u -p -r1.18 Makefile
--- Makefile12 Jul 2019 20:46:09 -  1.18
+++ Makefile27 Jul 2019 15:15:30 -
@@ -5,7 +5,7 @@ COMMENT =   generic multi-emulator fronte
 V =1.7.6
 DISTNAME = RetroArch-$V
 PKGNAME =  retroarch-$V
-REVISION = 1
+REVISION = 2
 
 CATEGORIES =   emulators
 
Index: patches/patch-libretro-common_features_features_cpu_c
===
RCS file: patches/patch-libretro-common_features_features_cpu_c
diff -N patches/patch-libretro-common_features_features_cpu_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-libretro-common_features_features_cpu_c   27 Jul 2019 
15:15:30 -
@@ -0,0 +1,17 @@
+$OpenBSD$
+
+ppc fix for:
+features_cpu.c:(.text+0x20): undefined reference to `__mftb'
+
+Index: libretro-common/features/features_cpu.c
+--- libretro-common/features/features_cpu.c.orig
 libretro-common/features/features_cpu.c
+@@ -39,7 +39,7 @@
+ #include 
+ #endif
+ 
+-#if defined(__CELLOS_LV2__)
++#if defined(__CELLOS_LV2__) || ( defined(__OpenBSD__) && defined(__powerpc__) 
)
+ #ifndef _PPU_INTRINSICS_H
+ #include 
+ #endif



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2019/07/27 10:53:07

Modified files:
misc/dialog: Makefile distinfo 
misc/dialog/pkg: PLIST 

Log message:
Update dialog to 1.3-20190724.



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2019/07/27 10:36:37

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

Log message:
Update psftools to 1.0.13.



Re: [ports-gcc] unbreak graphics/spirv-tools and graphics/glslang

2019-07-27 Thread Thomas Frohwein
[...]
> OK.
> 
> All ports with ${COMPILER_LIBCXX} in WANTLIB should set COMPILER unless there
> are special circumstance (mostly just things on the path to building ports-gcc
> itself).
> 
>

committed along with vulkan-loader diff, thanks!

-- 
  
tfrohw...@fastmail.com

PGP Public Key: https://pgp.mit.edu/pks/lookup?op=get=0xE1A22D58D20C6D22



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Thomas Frohwein
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2019/07/27 09:47:35

Modified files:
graphics/glslang: Makefile 
graphics/spirv-tools: Makefile 
graphics/vulkan-loader: Makefile 

Log message:
set COMPILER to base-clang ports-gcc for vulkan ports, fixing build on
powerpc. No revision bump because packages never built on base-gcc
archs.

diffs and build testing on ppc from cwen@, thanks!
ok jca@ for vulkan-loader diff
ok sthen@ for spirv-tools and glslang diff



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/07/27 09:47:15

Modified files:
net/py-botocore: Makefile distinfo 

Log message:
Update to py-botocore-1.12.197.
(forgot to commit this with sysutils/awscli)



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/07/27 09:37:03

Modified files:
x11/gnome/grilo-plugins: Makefile 

Log message:
Missong BDEP on devel/gperf.

reporte by naddy@



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/07/27 09:16:01

Modified files:
lang/php   : Makefile 
lang/php/7.1   : Makefile 
lang/php/7.1/patches: patch-sapi_fpm_www_conf_in 
lang/php/7.2   : Makefile 
lang/php/7.2/patches: patch-sapi_fpm_www_conf_in 
lang/php/7.3   : Makefile 
lang/php/7.3/patches: patch-sapi_fpm_www_conf_in 

Log message:
add a note to the sample php-fpm.conf files that if using TCP (rather than
the patched default of a unix socket), the fpm port should never be exposed
to the internet.



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/07/27 08:01:45

Modified files:
net/isc-bind   : Makefile 

Log message:
the geoip flavour requires COMPILER=base-clang ports-gcc / COMPILER_LANGS=c



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/07/27 07:54:13

Modified files:
net/ldns   : Makefile distinfo 
Added files:
net/ldns/patches: patch-examples_ldns-nsec3-hash_c 
net/ldns/pkg   : DESCR-drill DESCR-main DESCR-utils PLIST-drill 
 PLIST-main PLIST-utils 
Removed files:
net/ldns   : Makefile.inc 
net/ldns/drill : Makefile 
net/ldns/drill/patches: patch-drill_root_c 
net/ldns/drill/pkg: DESCR PLIST 
net/ldns/libldns: Makefile 
net/ldns/libldns/patches: patch-Makefile_in 
net/ldns/libldns/pkg: DESCR PLIST 
net/ldns/utils : Makefile 
net/ldns/utils/patches: patch-examples_configure_ac 
patch-examples_ldns-signzone_c 
net/ldns/utils/pkg: DESCR PLIST 

Log message:
update to ldns-1.7.1

the build scaffolding changed so that it's easier to build everything at
once, so merge the sub-ports into a single build with multipackages.
dependent ports (net/adsuck net/p5-Zonemaster/ldns security/opendnssec)
will be synced shortly.



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/07/27 07:54:41

Modified files:
net/adsuck : Makefile 
net/p5-Zonemaster/ldns: Makefile 
security/opendnssec: Makefile 

Log message:
handle packaging changes in net/ldns



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Klemens Nanni
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2019/07/27 06:58:08

Modified files:
x11/vlc: Makefile 

Log message:
Use CONFIGURE_STYLE=autoreconf

Switch "find | xargs rm" to "find -delete" while here.



Re: CVS: cvs.openbsd.org: ports

2019-07-27 Thread Stuart Henderson
devel/angr/py-z3-solver fails on i386 with a bunch of these:

ld: error: relocation R_386_GOTOFF cannot be used against symbol VTT for 
std::__1::basic_ostringstream, 
std::__1::allocator >; recompile with -fPIC

ld: error: relocation R_386_PC32 cannot be used against symbol 
std::__1::enable_if<__is_forward_iterator::value, void>::type 
std::__1::basic_string, 
std::__1::allocator >::__init(char*, char*); recompile with -fPIC

ld: error: relocation R_386_PC32 cannot be used against symbol unsigned long 
std::__1::basic_string, 
std::__1::allocator >::__align_it<16ul>(unsigned long); recompile with 
-fPIC

etc.

On 2019/07/23 13:22, Jasper Lievisse Adriaanse wrote:
> CVSROOT:  /cvs
> Module name:  ports
> Changes by:   jas...@cvs.openbsd.org  2019/07/23 13:22:24
> 
> Log message:
> import angr-8.19.4.5 and supporting libraries
> 
> angr is a suite of Python 3 libraries that let you load a binary
> and do a lot of cool things to it:
> 
> - Disassembly and intermediate-representation lifting
> - Program instrumentation
> - Symbolic execution
> - Control-flow analysis
> - Data-dependency analysis
> - Value-set analysis (VSA)
> - Decompilation
> 
> join work with and ok kn@
> rough edges will be handled in-tree
> 
> Status:
> 
> Vendor Tag:   jasper
> Release Tags: jasper_20192307
> 
> N ports/devel/angr/Makefile.inc
> N ports/devel/angr/Makefile
> N ports/devel/angr/vex/Makefile
> N ports/devel/angr/vex/distinfo
> N ports/devel/angr/vex/pkg/DESCR
> N ports/devel/angr/vex/pkg/PLIST
> N ports/devel/angr/vex/patches/patch-Makefile-gcc
> N ports/devel/angr/py-pyvex/Makefile
> N ports/devel/angr/py-pyvex/distinfo
> N ports/devel/angr/py-pyvex/pkg/DESCR
> N ports/devel/angr/py-pyvex/pkg/PLIST
> N ports/devel/angr/py-pyvex/patches/patch-pyvex_c_Makefile
> N ports/devel/angr/py-pyvex/patches/patch-setup_py
> N ports/devel/angr/py-pyvex/patches/patch-make_ffi_py
> N ports/devel/angr/py-pyvex/patches/patch-pyvex_c_pyvex_c
> N ports/devel/angr/py-cle/Makefile
> N ports/devel/angr/py-cle/distinfo
> N ports/devel/angr/py-cle/pkg/DESCR
> N ports/devel/angr/py-cle/pkg/PLIST
> N ports/devel/angr/py-cle/patches/patch-cle_loader_py
> N ports/devel/angr/py-cle/patches/patch-setup_py
> N ports/devel/angr/py-ailment/Makefile
> N ports/devel/angr/py-ailment/distinfo
> N ports/devel/angr/py-ailment/pkg/DESCR
> N ports/devel/angr/py-ailment/pkg/PLIST
> N ports/devel/angr/py-claripy/Makefile
> N ports/devel/angr/py-claripy/distinfo
> N ports/devel/angr/py-claripy/pkg/DESCR
> N ports/devel/angr/py-claripy/pkg/PLIST
> N ports/devel/angr/py-archinfo/Makefile
> N ports/devel/angr/py-archinfo/distinfo
> N ports/devel/angr/py-archinfo/pkg/DESCR
> N ports/devel/angr/py-archinfo/pkg/PLIST
> N ports/devel/angr/py-angr/Makefile
> N ports/devel/angr/py-angr/distinfo
> N ports/devel/angr/py-angr/pkg/DESCR
> N ports/devel/angr/py-angr/pkg/PLIST
> N ports/devel/angr/py-angr/patches/patch-native_Makefile
> N ports/devel/angr/py-angr/patches/patch-native_log_c
> N 
> ports/devel/angr/py-angr/patches/patch-angr_knowledge_plugins_functions_function_py
> N ports/devel/angr/py-angr/patches/patch-setup_py
> N ports/devel/angr/py-z3-solver/Makefile
> N ports/devel/angr/py-z3-solver/distinfo
> N ports/devel/angr/py-z3-solver/pkg/DESCR
> N ports/devel/angr/py-z3-solver/pkg/PLIST
> 
> No conflicts created by this import
> 



Re: UPDATE: games/chocolate-doom

2019-07-27 Thread Brian Callahan




On 7/26/19 8:46 PM, Ryan Freeman wrote:

Hey All,

For some reason my normal email doesn't seem to be working with regards to
reaching ports@.
Apologies for the gmail-based delivery.

This isn't a version update, just a change to the package DESCR, and
removal of MESSAGE
in lieu of a pkg README.  I've tried to dress it up to cover most things a
user might need
to know on installation of chocolate-doom, and now the DESCR doesn't scroll
away an
80x24 terminal.


I like this overall. I think it's a good improvement.
That one sentence with the author's name feels awkward (we don't list 
the authors of any other software in DESCR, do we?) but that was in the 
original DESCR too.


OK for me.

~Brian



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/07/27 05:27:55

Modified files:
x11/gnome/libdazzle: Makefile distinfo 

Log message:
Update to libdazzle-3.32.3.



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/07/27 03:58:45

Modified files:
sysutils/terraform/provider-heroku: Makefile distinfo 
sysutils/terraform/provider-alicloud: Makefile distinfo 
sysutils/terraform/provider-azurerm: Makefile distinfo 

Log message:
Update terraform providers.



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/07/27 03:55:17

Modified files:
security/gnutls: Makefile distinfo 
security/gnutls/pkg: PLIST 

Log message:
Update to gnutls-3.6.9.



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/07/27 03:53:32

Modified files:
sysutils/govmomi: Makefile distinfo 

Log message:
Update to govc-0.21.0.



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/07/27 03:52:58

Modified files:
www/py-bokeh   : Makefile distinfo 
www/py-bokeh/pkg: PLIST 

Log message:
Update to py-bokeh-1.3.0.



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/07/27 03:51:11

Modified files:
sysutils/google-cloud-sdk: Makefile distinfo 
sysutils/google-cloud-sdk/patches: 
   
patch-platform_gsutil_gslib_commands_config_py 
sysutils/google-cloud-sdk/pkg: PLIST 

Log message:
Update to google-cloud-sdk-255.0.0.



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/07/27 03:48:38

Modified files:
sysutils/amazon-ssm-agent: Makefile distinfo 

Log message:
Update to amazon-ssm-agent-2.3.680.0.



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/07/27 03:48:18

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

Log message:
Update to awscli-1.16.207.



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/07/27 03:47:40

Modified files:
net/py-boto3   : Makefile distinfo 

Log message:
Update to py-boto3-1.9.197.



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/07/27 03:46:23

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

Log message:
Update to glib2-2.60.6.



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/07/27 03:40:18

Modified files:
security/libtasn1: Makefile distinfo 

Log message:
Update to libtasn1-4.14.



CVS: cvs.openbsd.org: ports

2019-07-27 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/07/27 03:34:40

Modified files:
devel/desktop-file-utils: Makefile distinfo 
devel/desktop-file-utils/patches: patch-src_install_c 
  patch-src_update-desktop-database_c 
  patch-src_validator_c 
devel/desktop-file-utils/pkg: PLIST 
Removed files:
devel/desktop-file-utils/patches: patch-src_keyfileutils_c 
  patch-src_mimeutils_c 

Log message:
Update to desktop-file-utils-0.24.



回复: [NEW] www/p5-HTTP-Entity-Parser

2019-07-27 Thread wen heping
ping ...

发件人: Charlene Wendling 
发送时间: 2019年7月20日 17:51
收件人: wen heping 
抄送: ports@openbsd.org 
主题: Re: [NEW] www/p5-HTTP-Entity-Parser

On Tue, 16 Jul 2019 07:24:56 +
wen heping wrote:

> Hi, ports@:
>
> Here is a patch to create new port www/p5-HTTP-Entity-Parser,
> which is required by the future update of www/p5-Plack.
> It build well and passed all tests on my amd64-head system.
>
> Comments? OK?
> wen

OK cwen@


回复: [NEW] textproc/p5-PPIx-QuoteLike

2019-07-27 Thread wen heping
Revised patch, fixed RUN_DEPENDS.
Thank Stuart Henderson !

wen

发件人: Stuart Henderson 
发送时间: 2019年7月26日 22:42
收件人: wen heping 
抄送: ports@openbsd.org 
主题: Re: [NEW] textproc/p5-PPIx-QuoteLike

On 2019/07/26 12:37, wen heping wrote:
> Hi, ports@:
>
> Here is a patch to create new port textproc/p5-PPIx-QuoteLike,
> which is required by the update of devel/p5-Perl-Critic.
>  It build well and passed all tests on amd64-head system.
>
> Comments? OK?
> wen

RUN_DEPENDS =   cpan/p5-PPI>=1.117




p5-PPIx-QuoteLike-p0.tar.gz
Description: p5-PPIx-QuoteLike-p0.tar.gz