Re: [wip] Firefox 57.0b4

2017-10-27 Thread Landry Breuil
On Fri, Oct 27, 2017 at 08:08:16PM -0700, Ryan Freeman wrote:
> On Wed, Oct 25, 2017 at 02:51:23PM -0700, Ryan Freeman wrote:
> > On Mon, Oct 02, 2017 at 02:31:49PM +0200, Landry Breuil wrote:
> > > Hi,
> > > 
> > > of course not targeted for the upcoming 6.2 release, but firefox 57 will
> > > be quite a big change from 56, so testing is more than welcome.
> > > 
> > > https://www.mozilla.org/en-US/firefox/57.0beta/releasenotes/
> > > https://www.mozilla.org/en-US/firefox/quantum/
> > > https://hacks.mozilla.org/2017/09/firefox-quantum-developer-edition-fastest-firefox-ever/
> > 
> > Hi Landry,
> > 
> > I have been using your firefox 57beta packages at work and at home.
> > all amd64 platforms.  Current 57beta6 at work, perhaps beta5 at home.
> > 
> > Most things seem to work a-okay, video seems better in the 57 series
> > than it did before, though html5 controls still flicker in fullscreen.
> > Probably not what you are looking for report-wise anyway :-)
> 
> Well, upgrade to firefox 57beta11 and just like that the html5 video
> control flicker seems to be a thing of the past :-)

That's good news, thanks for the testing :)



Re: [wip] Firefox 57.0b4

2017-10-27 Thread Ryan Freeman
On Wed, Oct 25, 2017 at 02:51:23PM -0700, Ryan Freeman wrote:
> On Mon, Oct 02, 2017 at 02:31:49PM +0200, Landry Breuil wrote:
> > Hi,
> > 
> > of course not targeted for the upcoming 6.2 release, but firefox 57 will
> > be quite a big change from 56, so testing is more than welcome.
> > 
> > https://www.mozilla.org/en-US/firefox/57.0beta/releasenotes/
> > https://www.mozilla.org/en-US/firefox/quantum/
> > https://hacks.mozilla.org/2017/09/firefox-quantum-developer-edition-fastest-firefox-ever/
> 
> Hi Landry,
> 
> I have been using your firefox 57beta packages at work and at home.
> all amd64 platforms.  Current 57beta6 at work, perhaps beta5 at home.
> 
> Most things seem to work a-okay, video seems better in the 57 series
> than it did before, though html5 controls still flicker in fullscreen.
> Probably not what you are looking for report-wise anyway :-)

Well, upgrade to firefox 57beta11 and just like that the html5 video
control flicker seems to be a thing of the past :-)

> 
> The extensions I do use were already updated anyway.
> 
> I can say that $WORKPLACE uses office365, and I have to make heavy use
> of the outlook online features/office suite, and with a user agent
> spoof extension installed they all work just like in Windows.  No
> crashes from those heavy heavy pages (apps?) either.  Skype for
> web even works :-)
> 
> snapshot-wise at home I am running a snap from a few days ago, and
> at work presently oct 3rd.
> 
> Cheers!
> -ryan
> 
> > 
> > etc etc - to note: non-webextensions addons (which are labelled
> > 'legacy' in about:addons) will stop working with this version, you've
> > been warned. A separate content process should be enabled by default,
> > and thanks to semarie@'s help we managed to build and enable the new
> > 'stylo' css rendering engine, written in rust.
> > 
> > So as usual, pull/update/rebuild from
> > https://cgit.rhaalovely.net/mozilla-firefox/log/?h=beta
> > 
> > Or try the packages from https://packages.rhaalovely.net/
> > 
> > Landry
> > 
> 



Re: update: audio/openal

2017-10-27 Thread David CARLIER
ports build tested. Seems ok.

Regards.

On 26 October 2017 at 09:34, David CARLIER  wrote:

> Fair point. I ll try whenever I get the chance this week. Cheers.
>
> On 26 October 2017 at 09:30, Rafael Sadowski 
> wrote:
>
>> On Thu Oct 26, 2017 at 09:26:18AM +0100, David CARLIER wrote:
>> > Not all but couple of video games :-)
>> >
>>
>> That's okay but you have to make sure all consumers are bulding with the
>> new version.
>>
>> > On 26 October 2017 at 08:33, Rafael Sadowski 
>> wrote:
>> >
>> > > Did you test your diff with all consumers?
>> > >
>> > > audio/freealut
>> > > emulators/fs-uae
>> > > emulators/retroarch
>> > > games/0ad/base
>> > > games/astromenace
>> > > games/dhewm3
>> > > games/dustrac
>> > > games/gemrb
>> > > games/ioquake3
>> > > games/irrlamb
>> > > games/love
>> > > games/lugaru
>> > > games/lwjgl
>> > > games/megaglest/base
>> > > games/minetest
>> > > games/openmw
>> > > games/scorched3d
>> > > games/solarus
>> > > games/spacezero
>> > > games/speeddreams
>> > > games/supertux
>> > > games/supertuxkart
>> > > games/taisei
>> > > games/tome4
>> > > games/ufoai/base
>> > > games/valyriatear
>> > > games/vegastrike/engine
>> > > games/warzone2100
>> > > games/yquake2
>> > > graphics/blender
>> > > graphics/simgear
>> > > multimedia/sfml
>> > > x11/kde4/libkdegames
>> > > x11/qt5/qtmultimedia
>> > >
>> > > Your diff itself looks good to me.
>> > >
>> > > On Fri Oct 13, 2017 at 10:57:09PM +0100, David CARLIER wrote:
>> > > > Hi,
>> > > >
>> > > > there is a small update of this port.
>> > > >
>> > > > Hope it s good.
>> > > >
>> > > > Regards.
>> > >
>> > > > Index: Makefile
>> > > > ===
>> > > > RCS file: /cvs/ports/audio/openal/Makefile,v
>> > > > retrieving revision 1.48
>> > > > diff -u -p -r1.48 Makefile
>> > > > --- Makefile  18 Aug 2017 12:47:58 -  1.48
>> > > > +++ Makefile  13 Oct 2017 21:54:17 -
>> > > > @@ -4,13 +4,12 @@ BROKEN-hppa =   undefined reference to __s
>> > > >
>> > > >  COMMENT =cross-platform 3D audio API
>> > > >
>> > > > -V =  1.16.0
>> > > > +V =  1.17.2
>> > > >  EPOCH =  0
>> > > >  DISTNAME =   openal-soft-$V
>> > > >  PKGNAME =openal-$V
>> > > >  CATEGORIES = audio
>> > > > -SHARED_LIBS =openal  2.2
>> > > > -REVISION =   1
>> > > > +SHARED_LIBS =openal  3.0
>> > > >
>> > > >  HOMEPAGE =   http://kcat.strangesoft.net/openal.html
>> > > >
>> > > > Index: distinfo
>> > > > ===
>> > > > RCS file: /cvs/ports/audio/openal/distinfo,v
>> > > > retrieving revision 1.9
>> > > > diff -u -p -r1.9 distinfo
>> > > > --- distinfo  3 Nov 2016 10:27:15 -   1.9
>> > > > +++ distinfo  13 Oct 2017 21:54:17 -
>> > > > @@ -1,2 +1,2 @@
>> > > > -SHA256 (openal-soft-1.16.0.tar.bz2) = Lz3NMT/iY5EoT7+FloY3I/
>> > > mcZdbGhG3MtI55ytr0DV8=
>> > > > -SIZE (openal-soft-1.16.0.tar.bz2) = 393280
>> > > > +SHA256 (openal-soft-1.17.2.tar.bz2) = o0H4VC8fC4xlJBoX2hPQc/
>> > > GOwGZY4aFgao7Mi7wrMxQ=
>> > > > +SIZE (openal-soft-1.17.2.tar.bz2) = 486934
>> > > > Index: patches/patch-Alc_alcConfig_c
>> > > > ===
>> > > > RCS file: /cvs/ports/audio/openal/patches/patch-Alc_alcConfig_c,v
>> > > > retrieving revision 1.3
>> > > > diff -u -p -r1.3 patch-Alc_alcConfig_c
>> > > > --- patches/patch-Alc_alcConfig_c 3 Nov 2016 10:27:15 -
>>1.3
>> > > > +++ patches/patch-Alc_alcConfig_c 13 Oct 2017 21:54:17 -
>> > > > @@ -1,7 +1,8 @@
>> > > >  $OpenBSD: patch-Alc_alcConfig_c,v 1.3 2016/11/03 10:27:15 jasper
>> Exp $
>> > > >  Alc/alcConfig.c.orig Fri Aug 15 08:06:59 2014
>> > > > -+++ Alc/alcConfig.c  Sun Sep  4 22:48:18 2016
>> > > > -@@ -326,7 +326,7 @@ void ReadALConfig(void)
>> > > > +Index: Alc/alcConfig.c
>> > > > +--- Alc/alcConfig.c.orig
>> > > >  Alc/alcConfig.c
>> > > > +@@ -353,7 +353,7 @@ void ReadALConfig(void)
>> > > >   const char *str;
>> > > >   FILE *f;
>> > > >
>> > > > Index: patches/patch-CMakeLists_txt
>> > > > ===
>> > > > RCS file: /cvs/ports/audio/openal/patches/patch-CMakeLists_txt,v
>> > > > retrieving revision 1.6
>> > > > diff -u -p -r1.6 patch-CMakeLists_txt
>> > > > --- patches/patch-CMakeLists_txt  3 Nov 2016 10:27:15 -
>>1.6
>> > > > +++ patches/patch-CMakeLists_txt  13 Oct 2017 21:54:17 -
>> > > > @@ -1,21 +1,13 @@
>> > > >  $OpenBSD: patch-CMakeLists_txt,v 1.6 2016/11/03 10:27:15 jasper
>> Exp $
>> > > >  CMakeLists.txt.orig  Fri Aug 15 08:06:59 2014
>> > > > -+++ CMakeLists.txt   Sun Sep  4 22:58:36 2016
>> > > > -@@ -186,7 +186,7 @@ HAVE_C11_ALIGNAS)
>> > > > - # Check if we have C11 _Atomic
>> > > > - CHECK_C_SOURCE_COMPILES(
>> > > > - "#include 
>> > > > -- int _Atomic foo;
>> > > > -+ const int _Atomic foo = ATOMIC_VAR_INIT(~0);
>> > > > -  int main()
>> > > > -  

Re: [UPDATE] ctwm-4.0.1

2017-10-27 Thread Markus Hennecke
I got some input from Matthew Fuller regarding the dependencies and it 
looks like we could get rid of all build depends by setting 
-DFORCE_PREGEN_FILE=TRUE in CONFIGURE_ARGS (see attached diff) disabling 
the man page build altogether and using the pre generated files.
The post-install target from the last diff can be left out as well.
Comments?
Index: Makefile
===
RCS file: /cvs/ports/x11/ctwm/Makefile,v
retrieving revision 1.25
diff -u -p -u -r1.25 Makefile
--- Makefile17 Aug 2017 17:05:03 -  1.25
+++ Makefile27 Oct 2017 20:43:31 -
@@ -2,8 +2,7 @@
 
 COMMENT=   twm, plus support for multiple virtual screens, etc
 
-DISTNAME=  ctwm-3.6
-REVISION=  2
+DISTNAME=  ctwm-4.0.1
 
 CATEGORIES=x11
 
@@ -12,11 +11,17 @@ HOMEPAGE=   https://www.ctwm.org/
 # BSD-like/badly worded
 PERMIT_PACKAGE_CDROM=  Yes
 
-WANTLIB=   ICE SM X11 Xau Xdmcp Xext Xmu Xpm Xt c
+WANTLIB=   ICE SM X11 Xext Xmu Xpm Xt c jpeg
 
-MASTER_SITES=  ${HOMEPAGE}dist/
+MASTER_SITES=  https://www.ctwm.org/dist/
 
-CONFIGURE_STYLE= imake
+MODULES=   devel/cmake
+
+LIB_DEPENDS=   graphics/jpeg
+
+CONFIGURE_ARGS+=   -DETCDIR=${SYSCONFDIR} \
+   -DNOMANCOMPRESS=TRUE \
+   -DFORCE_PREGEN_FILES=TRUE
 
 NO_TEST=   Yes
 
Index: distinfo
===
RCS file: /cvs/ports/x11/ctwm/distinfo,v
retrieving revision 1.5
diff -u -p -u -r1.5 distinfo
--- distinfo18 Jan 2015 03:15:52 -  1.5
+++ distinfo27 Oct 2017 20:43:31 -
@@ -1,2 +1,2 @@
-SHA256 (ctwm-3.6.tar.gz) = 2r4rF5ZD3bEAscc68gOME+3qcCFLS4RP0Sl+8nb/uzE=
-SIZE (ctwm-3.6.tar.gz) = 370563
+SHA256 (ctwm-4.0.1.tar.gz) = ONLbvHc+PcnTGYP0zkzB5F5dnDWjh+F+kWRNNOKEgvw=
+SIZE (ctwm-4.0.1.tar.gz) = 897148
Index: patches/patch-Imakefile
===
RCS file: patches/patch-Imakefile
diff -N patches/patch-Imakefile
--- patches/patch-Imakefile 17 Sep 2012 10:25:11 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,26 +0,0 @@
 Imakefile.orig Tue Dec 11 16:38:52 2001
-+++ Imakefile  Sun Sep  2 19:01:07 2012
-@@ -11,7 +11,7 @@ XCOMM
- #undef  USE_SOUND
- #define XPM
- #define USEM4
--#undef X11R6
-+#define X11R6
- #undef I18N
- 
-  YFLAGS = -d
-@@ -145,14 +145,6 @@ depend:: lex.c gram.c deftwmrc.c 
- NormalLibraryTarget(ctwm, libctwm.o)
- ComplexProgramTarget(ctwm)
- InstallNonExecFile(system.ctwmrc,$(TWMDIR))
--#ifdef XPM
--install:: xpm
--  MakeDir($(DESTDIR)$(TWMDIR)/images)
--  @case '${MFLAGS}' in *[i]*) set +e;; esac; \
--  for i in xpm/?* ; do \
--  (set -x; $(INSTALL) -c $(INSTLIBFLAGS) $$i 
$(DESTDIR)$(TWMDIR)/images); \
--  done
--#endif
- 
- gram.h gram.c: gram.y
-   $(YACC) $(YFLAGS) gram.y
Index: patches/patch-gram.y
===
RCS file: patches/patch-gram.y
diff -N patches/patch-gram.y
--- patches/patch-gram.y17 Sep 2012 10:25:49 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,56 +0,0 @@
 gram.y.origTue Dec 11 16:38:52 2001
-+++ gram.y Sun Sep  2 18:59:56 2012
-@@ -419,7 +419,6 @@ stmt   : error
-   | WINDOW_RING   { list = &Scr->WindowRingL; }
- win_list
-   | WINDOW_RING   { Scr->WindowRingAll = TRUE; }
--  ;
-   | WINDOW_RING_EXCLUDE{ if (!Scr->WindowRingL)
- Scr->WindowRingAll = TRUE;
- list = &Scr->WindowRingExcludeL; }
-@@ -427,6 +426,7 @@ stmt   : error
- 
-   | WINDOW_GEOMETRIES  {  }
- wingeom_list
-+  ;
- 
- noarg : KEYWORD   { if (!do_single_keyword ($1)) {
-   twmrc_error_prefix();
-@@ -683,10 +683,10 @@ wingeom_entries  : /* Empty */
-   | wingeom_entries wingeom_entry
-   ;
- 
--wingeom_entry : string string { AddToList (&Scr->WindowGeometries, $1, $2) }
-+wingeom_entry : string string { AddToList (&Scr->WindowGeometries, $1, $2); }
-+  ;
- 
- 
--
- squeeze   : SQUEEZE_TITLE { 
-   if (HasShape) Scr->SqueezeTitle = TRUE;
-   }
-@@ -834,6 +834,7 @@ occupy_workspc_entries :   /* Empty */
- occupy_workspc_entry  : string {
-   AddToClientsList ($1, client);
- }
-+  ;
- 
- occupy_window_list: LB occupy_window_entries RB {}
-   ;
-@@ -845,6 +846,7 @@ occupy_window_entries  :   /* Empty */
- occupy_window_entry   : string {
-   AddToClientsList (workspace, $1);
- }
-+  ;
- 
- icon_list

Re: [wip] howleditor 0.5.2

2017-10-27 Thread James Turner
On Fri, Oct 27, 2017 at 10:34:36PM +0200, Peter Ljung wrote:
> On Thu, Oct 26, 2017 at 3:18 PM, James Turner  wrote:
> > On Wed, Oct 25, 2017 at 10:58:51PM +0200, Peter Ljung wrote:
> >> This is my first attempt to make a port for the howl editor 
> >> (https://howl.io/).
> >>
> >> I think howl is a *really* good alternative editor which compares well 
> >> with e.g.
> >> Sublime Text for my uses.
> >>
> >> Also it doesn't come with a huge baggage like the Electron based editors
> >> Atom and VS Code.
> >>
> >> * The upstream code builds cleanly on OpenBSD since 0.4 release
> >> * A stability issue (I found) on OpenBSD was fixed in last point release 
> >> 0.5.2
> >>
> >> I have tried my best to create a suitable port.
> >>
> >> The current port is available at:
> >>
> >> https://github.com/peterljung/howleditor
> >>
> >> Some things I have came across ...
> >>
> >> * I have installed and tested the port on 6.1 and 6.2 release (amd64)
> >> * It is called howleditor to avoid conflict with avahi
> >> * Avahi has a "@conflict howl-*" in PLIST
> >> * I made a small patch in the Makefile to force setting PREFIX variable
> >>   which otherwise is set by ports infrastructure
> >>
> >> Any tips for improvements?
> >>
> >
> > Hi Peter,
> >
> > Port looks pretty good. Biggest thing you're going to want to fix is how
> > Howl downloads external dependencies and builds them locally. You will
> > want to use our ports versions. Ie. LuaJIT, LPEG and maybe others.
> >
> > --
> > James Turner
> 
> Thanks for feedback!
> 
> I actually asked upstream about using ports versions:
> 
> As @kirbyfan64 said, we embed LuaJIT ourselves and link in statically. It 
> would
> be theoretically possible to use 2.0.5, but we switched to 2.1-beta two years
> ago so I can't say for sure. Also, any LuaJIT would need to be compiled with 
> the
> correct compile options also (lua 5.2 compat enabled). We also patch 
> LUA_IDSIZE
> to be slightly larger.
> 
> In short I see the desire to use a system Lua version, but as we don't link it
> dynamically there's nothing to gain with regards to executable size, and the
> needed changes above makes it not worth the while IMO. Release tarballs 
> already
> contain a bundled copy of LuaJIT.
> 
> ...
> 
> So there are some reasons not to use port versions, but someone with more
> lua/porting experience might be able to determine what to do?
> 

Makes sense, I guess I was more concerned with the port downloading
dependencies, but if they are bundled with the tarball that takes care
of that concern.

What are other peoples thoughts?

-- 
James Turner



Re: [wip] howleditor 0.5.2

2017-10-27 Thread Peter Ljung
On Thu, Oct 26, 2017 at 3:18 PM, James Turner  wrote:
> On Wed, Oct 25, 2017 at 10:58:51PM +0200, Peter Ljung wrote:
>> This is my first attempt to make a port for the howl editor 
>> (https://howl.io/).
>>
>> I think howl is a *really* good alternative editor which compares well with 
>> e.g.
>> Sublime Text for my uses.
>>
>> Also it doesn't come with a huge baggage like the Electron based editors
>> Atom and VS Code.
>>
>> * The upstream code builds cleanly on OpenBSD since 0.4 release
>> * A stability issue (I found) on OpenBSD was fixed in last point release 
>> 0.5.2
>>
>> I have tried my best to create a suitable port.
>>
>> The current port is available at:
>>
>> https://github.com/peterljung/howleditor
>>
>> Some things I have came across ...
>>
>> * I have installed and tested the port on 6.1 and 6.2 release (amd64)
>> * It is called howleditor to avoid conflict with avahi
>> * Avahi has a "@conflict howl-*" in PLIST
>> * I made a small patch in the Makefile to force setting PREFIX variable
>>   which otherwise is set by ports infrastructure
>>
>> Any tips for improvements?
>>
>
> Hi Peter,
>
> Port looks pretty good. Biggest thing you're going to want to fix is how
> Howl downloads external dependencies and builds them locally. You will
> want to use our ports versions. Ie. LuaJIT, LPEG and maybe others.
>
> --
> James Turner

Thanks for feedback!

I actually asked upstream about using ports versions:

As @kirbyfan64 said, we embed LuaJIT ourselves and link in statically. It would
be theoretically possible to use 2.0.5, but we switched to 2.1-beta two years
ago so I can't say for sure. Also, any LuaJIT would need to be compiled with the
correct compile options also (lua 5.2 compat enabled). We also patch LUA_IDSIZE
to be slightly larger.

In short I see the desire to use a system Lua version, but as we don't link it
dynamically there's nothing to gain with regards to executable size, and the
needed changes above makes it not worth the while IMO. Release tarballs already
contain a bundled copy of LuaJIT.

...

So there are some reasons not to use port versions, but someone with more
lua/porting experience might be able to determine what to do?



Re: Does anyone use texlive_texmf-docs?

2017-10-27 Thread Stuart Henderson
On 2017/10/27 17:30, Edd Barrett wrote:
> I was wondering if we should kill this package to take load of the
> mirrors.

It is rather large, but there are worse culprits, it's less than half
the size of the biggest 3 ...

-rw-r--r--  4 _pbuild  _pbuild   684M Oct 26 18:06 texlive_texmf-docs-2016.tgz
-rw-r--r--  4 _pbuild  _pbuild   793M Oct 27 02:33 0ad-data-0.0.22.tgz
-rw-r--r--  4 _pbuild  _pbuild   841M Oct 27 07:14 redeclipse-data-1.5.8p0.tgz
-rw-r--r--  4 _pbuild  _pbuild   1.2G Oct 27 05:10 ufoai-data-2.5p0.tgz
-rw-r--r--  4 _pbuild  _pbuild   1.3G Oct 27 04:32 speeddreams-data-2.2.1p0.tgz
-rw-r--r--  4 _pbuild  _pbuild   1.4G Oct 27 02:45 flightgear-data-2016.3.1.tgz
-rw-r--r--  3 _pbuild  _pbuild   1.4G Oct 27 07:29 urbanterror-data-4.3.2.tgz




UPDATE: colordiff-1.0.18

2017-10-27 Thread Edd Barrett
Update to colordiff 1.0.18.

The default config now uses red and green for - and + lines, which is
something :)

OK?

Index: Makefile
===
RCS file: /home/edd/source/OpenBSD-CVS/ports/devel/colordiff/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile29 Apr 2015 12:03:20 -  1.5
+++ Makefile27 Oct 2017 18:48:21 -
@@ -1,8 +1,7 @@
 # $OpenBSD: Makefile,v 1.5 2015/04/29 12:03:20 ajacoutot Exp $
 
 COMMENT =  colorized diff tool
-DISTNAME = colordiff-1.0.13
-REVISION = 1
+DISTNAME = colordiff-1.0.18
 CATEGORIES =   devel
 HOMEPAGE = http://www.colordiff.org/
 MAINTAINER =   Edd Barrett 
@@ -18,8 +17,9 @@ MODULES = perl
 NO_BUILD = Yes
 NO_TEST =  Yes
 
-pre-configure:
-   ${SUBST_CMD} ${WRKSRC}/Makefile
+MAKE_ENV +=INSTALL_DIR=${PREFIX}/bin \
+   MAN_DIR=${PREFIX}/man/man1 \
+   ETC_DIR=${SYSCONFDIR}
 
 EXAMPLES_DIR = ${PREFIX}/share/examples/colordiff
 post-install:
Index: distinfo
===
RCS file: /home/edd/source/OpenBSD-CVS/ports/devel/colordiff/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo18 Aug 2014 17:32:40 -  1.1.1.1
+++ distinfo27 Oct 2017 18:48:21 -
@@ -1,2 +1,2 @@
-SHA256 (colordiff-1.0.13.tar.gz) = zigFoTDIFUVxHflLwAqTVF2j8yPYNcw4tFLTOW74bCo=
-SIZE (colordiff-1.0.13.tar.gz) = 19960
+SHA256 (colordiff-1.0.18.tar.gz) = Kc/s2IVNbhnJYYLuE3BrhGIteyVgd98Z+9alRSww1uA=
+SIZE (colordiff-1.0.18.tar.gz) = 21695
Index: patches/patch-Makefile
===
RCS file: patches/patch-Makefile
diff -N patches/patch-Makefile
--- patches/patch-Makefile  18 Aug 2014 17:32:40 -  1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,33 +0,0 @@
-$OpenBSD: patch-Makefile,v 1.1.1.1 2014/08/18 17:32:40 edd Exp $
 Makefile.orig  Wed Oct 17 21:14:35 2012
-+++ Makefile   Sun Aug 17 21:37:32 2014
-@@ -1,6 +1,6 @@
--INSTALL_DIR=/usr/local/bin
--MAN_DIR=/usr/local/man/man1
--ETC_DIR=/etc
-+INSTALL_DIR=${TRUEPREFIX}/bin
-+MAN_DIR=${TRUEPREFIX}/man/man1
-+ETC_DIR=${SYSCONFDIR}
- VERSION=$(shell egrep '^my .version' colordiff.pl |cut -f 2 -d "'")
- DIST_FILES=COPYING INSTALL Makefile README \
-   colordiff.pl colordiffrc colordiffrc-lightbg cdiff.sh BUGS CHANGES 
colordiff.1 \
-@@ -27,8 +27,8 @@ install:
-   if [ ! -f ${DESTDIR}${INSTALL_DIR}/cdiff ] ; then \
- install cdiff.sh ${DESTDIR}${INSTALL_DIR}/cdiff; \
-   fi
--  install -Dm 644 colordiff.1 ${DESTDIR}${MAN_DIR}/colordiff.1
--  install -Dm 644 cdiff.1 ${DESTDIR}${MAN_DIR}/cdiff.1
-+  install -m 644 colordiff.1 ${DESTDIR}${MAN_DIR}/colordiff.1
-+  install -m 644 cdiff.1 ${DESTDIR}${MAN_DIR}/cdiff.1
-   if [ -f ${DESTDIR}${ETC_DIR}/colordiffrc ]; then \
- mv -f ${DESTDIR}${ETC_DIR}/colordiffrc \
-   ${DESTDIR}${ETC_DIR}/colordiffrc.old; \
-@@ -36,7 +36,7 @@ install:
- install -d ${DESTDIR}${ETC_DIR}; \
-   fi
-   cp colordiffrc ${DESTDIR}${ETC_DIR}/colordiffrc
--  -chown root.root ${DESTDIR}${ETC_DIR}/colordiffrc
-+  -chown root.wheel ${DESTDIR}${ETC_DIR}/colordiffrc
-   chmod 644 ${DESTDIR}${ETC_DIR}/colordiffrc
- 
- uninstall:
Index: patches/patch-cdiff_sh
===
RCS file: 
/home/edd/source/OpenBSD-CVS/ports/devel/colordiff/patches/patch-cdiff_sh,v
retrieving revision 1.1
diff -u -p -r1.1 patch-cdiff_sh
--- patches/patch-cdiff_sh  18 Aug 2014 19:28:50 -  1.1
+++ patches/patch-cdiff_sh  27 Oct 2017 18:48:21 -
@@ -1,17 +1,18 @@
-$OpenBSD: patch-cdiff_sh,v 1.1 2014/08/18 19:28:50 jca Exp $
+$OpenBSD$
 
 Use ftp(1) instead of tools from the ports tree.
 
 cdiff.sh.orig  Wed Oct 17 22:14:35 2012
-+++ cdiff.sh   Mon Aug 18 20:53:33 2014
+Index: cdiff.sh
+--- cdiff.sh.orig
 cdiff.sh
 @@ -30,7 +30,9 @@
  case `echo "$file" | perl -ne 'print lc $_'` in
  http:*|https:*|ftp:*)
  if [ -z "$CDIFF_FETCH" ]; then
--if which curl >/dev/null 2>&1; then
-+if which ftp >/dev/null 2>&1; then
+-if type curl >/dev/null 2>&1; then
++if type ftp >/dev/null 2>&1; then
 +CDIFF_FETCH="ftp -V -o -"
-+elif which curl >/dev/null 2>&1; then
++elif type curl >/dev/null 2>&1; then
  CDIFF_FETCH="curl -s"
- elif which wget >/dev/null 2>&1; then
+ elif type wget >/dev/null 2>&1; then
  CDIFF_FETCH="wget -e timestamping=off -qO -"
Index: pkg/PLIST
===
RCS file: /home/edd/source/OpenBSD-CVS/ports/de

Re: Chromium and Netsurf core dumps

2017-10-27 Thread Cág
Anthony J. Bentley wrote:

> Yes, if I remove websearch I can reproduce this in 3.7 on amd64.
> Thanks for finding a reliable trigger; I've reported it upstream.

Thanks for reporting it! I reckon I should finally subscribe to their lists.

To add to what you had submitted here[1]: in case when it starts with
removed [websearch] and without the error, double clicking on a link in
History results in the same error. My wording wasn't clear.

[1]: http://bugs.netsurf-browser.org/mantis/view.php?id=2569

-- 
caóc



UPDATE: SWI Prolog 7.6.0

2017-10-27 Thread Edd Barrett
Hi,

Here's an update to the latest version of SWI Prolog.

For the first time, all tests are now passing on OpenBSD. This is thanks
to the hard work of Jan Wielemaker who went on a bug fixing rampage
after I set him up an OpenBSD VM. As a result, lots of patches also
disappeared, thus making the port simpler. Many thanks for this Jan!

Comments, OK?


Index: Makefile
===
RCS file: /home/edd/source/OpenBSD-CVS/ports/lang/swi-prolog/Makefile,v
retrieving revision 1.73
diff -u -p -r1.73 Makefile
--- Makefile29 Sep 2017 19:46:53 -  1.73
+++ Makefile27 Oct 2017 16:21:32 -
@@ -1,17 +1,16 @@
-# $OpenBSD: Makefile,v 1.73 2017/09/29 19:46:53 naddy Exp $
+# $OpenBSD: Makefile,v 1.66 2016/05/12 01:17:13 naddy Exp $
 
 BROKEN-hppa =  undefined reference to __sync_fetch_and_add_4
 BROKEN-sparc64 =   infinite loop or aborts during build
 
 COMMENT =  Prolog for the real world
 
-V =6.6.4
-REVISION = 12
-DISTNAME = pl-$V
+V =7.6.0
+DISTNAME = swipl-$V
 PKGNAME =  swi-prolog-$V
 CATEGORIES =   lang
 
-SHARED_LIBS =  pl  5.0
+SHARED_LIBS =  swipl   0.0 # 7.5
 
 HOMEPAGE = http://www.swi-prolog.org/
 
@@ -20,67 +19,55 @@ MAINTAINER =Edd Barrett https://distfiles.nl/
 
+
+# The reccommended way to build is using build.templ. We mimick this as best
+# we can and use the top-level configure script.
 CONFIGURE_STYLE =  gnu
-MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}/src \
+MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}/packages/clib \
${WRKSRC}/packages/jpl \
-   ${WRKSRC}/packages/xpce/src
+   ${WRKSRC}/packages/xpce/ \
+   ${WRKSRC}/packages/xpce/src \
+   ${WRKSRC}/src
+
+CFLAGS +=  -I${LOCALBASE}/include
+LDFLAGS += -L${LOCALBASE}/lib
+CONFIGURE_ENV +=   CIFLAGS='${CFLAGS}' \
+   LDFLAGS='${LDFLAGS}'
+MAKE_ENV = ${CONFIGURE_ENV}
 
-CONFIGURE_ENV +=   CIFLAGS=' -I${LOCALBASE}/include' \
-   LDFLAGS=' -L${LOCALBASE}/lib' \
-   COFLAGS='${CFLAGS}'
-
-CONFIGURE_ARGS =   --enable-mt \
-   --disable-custom-flags \
-   --with-world \
-   --with-jpeg=${LOCALBASE} \
-   --enable-shared
+CONFIGURE_ARGS +=  --enable-shared \
+   --with-world
 
 USE_GMAKE =Yes
 
-# Don't pick up bash
-MAKE_ENV = MAKESHELL=/bin/sh
-
-MAKE_FLAGS =   SONAMEOPT= \
-   SHAREDV=libpl.so.${LIBpl_VERSION}
-
-MODULES =  gcc4
-# for atomic builtins
-MODGCC4_ARCHS =arm
-
-AUTOCONF_VERSION = 2.69
-BUILD_DEPENDS =${MODGNU_AUTOCONF_DEPENDS} \
-   ${RUN_DEPENDS}
+BUILD_DEPENDS =${RUN_DEPENDS}
+BUILD_DEPENDS +=   shells/bash
 LIB_DEPENDS =  devel/gmp \
devel/libexecinfo \
-   graphics/jpeg
+   graphics/jpeg \
+   devel/uuid \
+   databases/db/v4 \
+   archivers/libarchive \
+   databases/iodbc \
+   devel/pcre
 
 FULLARCH = ${MACHINE_ARCH:S/amd64/x86_64/}-openbsd${OSREV}
 SUBST_VARS +=  V BOOT FULLARCH
 
-# only packages/clib/maildrop/rfc822/configure.in is patched
 pre-configure:
-   cd ${WRKSRC}/packages/clib/maildrop/rfc822 && \
-   AUTOCONF_VERSION=${AUTOCONF_VERSION} autoconf
+   ${SUBST_CMD} ${WRKSRC}/src/Makefile.in
 
 post-install:
cd ${PREFIX}/lib && \
-   ln -sf swipl-$V/lib/${FULLARCH}/libpl.so.${LIBpl_VERSION}
+   ln -sf swipl-$V/lib/${FULLARCH}/libswipl.so.${LIBswipl_VERSION}
mv ${PREFIX}/lib/swipl-${V}/doc ${PREFIX}/share/doc/swipl
-
-# Swipl multithreading flaky at best on OpenBSD.
-# We are not sure if this is our threading implementation or their code.
-# The following tests fail (hang). We remove them to allow the rest
-# of the tests to execute atleast.
-# When updating, uncomment these to see if they still fail.
-pre-test:
-   rm -f ${WRKBUILD}/src/Tests/core/test_resource_error.pl
 
 .include 
 
Index: distinfo
===
RCS file: /home/edd/source/OpenBSD-CVS/ports/lang/swi-prolog/distinfo,v
retrieving revision 1.10
diff -u -p -r1.10 distinfo
--- distinfo4 Apr 2014 17:17:03 -   1.10
+++ distinfo27 Oct 2017 16:21:32 -
@@ -1,2 +1,2 @@
-SHA256 (pl-6.6.4.tar.gz) = Zjl3lZl544nfD4fC60JqtxEFwSIGYF7ECSWJO5FzPO8=
-SIZE (pl-6.6.4.tar.gz) = 14830255
+SHA256 (swipl-7.6.0.tar.gz) = WRx2ve/yne1NHbsA

Re: Does anyone use texlive_texmf-docs?

2017-10-27 Thread Edd Barrett
Hi Ingo,

On Fri, Oct 27, 2017 at 04:00:59AM +0200, Ingo Schwarze wrote:
> Part of the documentation
> is in -minimal, part in -full, and part in -docs

That should not be the case. The only package including any "docfiles"
should be texmf-docs. If any documentation is included in the other
subsets, then that would be a bug in the tlpdb. (Manual pages though,
are not considered docfiles).

> In general, finding anything in the documentation is quite hard

As Martin already mentioned, texdoc is the best way to find tex
documentation.

> Why are you asking?

I was wondering if we should kill this package to take load of the
mirrors. Since a couple of people have said they *do* use texmf-docs, I
think it can stay for now.

Thanks

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk



Re: [pretest] emacs-26.0.90

2017-10-27 Thread Jeremie Courreges-Anglas
On Thu, Oct 26 2017, Jeremie Courreges-Anglas  wrote:
> On Wed, Oct 25 2017, Jeremie Courreges-Anglas  wrote:
>> On Sun, Oct 15 2017, Jeremie Courreges-Anglas  wrote:
>>> Here's a diff for the first pretest in the emacs-26 release cycle.
>>> Among other things, emacs now uses system malloc(3) at runtime (gmalloc
>>> is still used at build/unexec time).
>>>
>>> As usual build & test reports are welcome, especially if you use an arch
>>> different from amd64 / arm, or if you use one of the graphical flavors.
>>
>> Thanks for the feedback so far, updated diff (sync with -current, use
>> https instead of ftp).  I think we're going to stay with .xz tarballs
>> for next releases, ~40M vs ~60M.
>>
>> The build is broken on armv7.  Tests on any arch you have at hand are
>> still welcome.
>
> The previous patch was messed up, sorry about that.

Fixed the gtk3 flavor, with an additional patch from upstream to unbreak
on arm.


Index: Makefile
===
RCS file: /d/cvs/ports/editors/emacs/Makefile,v
retrieving revision 1.71
diff -u -p -r1.71 Makefile
--- Makefile19 Oct 2017 16:28:48 -  1.71
+++ Makefile27 Oct 2017 15:44:36 -
@@ -2,8 +2,7 @@
 
 COMMENT=   GNU editor: extensible, customizable, self-documenting
 
-VERSION=   25.3
-REVISION=  0
+VERSION=   26.0.90
 DISTNAME=  emacs-${VERSION}
 
 CATEGORIES=editors
@@ -17,7 +16,8 @@ PERMIT_PACKAGE_CDROM= Yes
 
 WANTLIB=   c m ncurses pthread gnutls xml2 z
 
-MASTER_SITES=  ${MASTER_SITE_GNU:=emacs/}
+MASTER_SITES=  https://alpha.gnu.org/gnu/emacs/pretest/
+EXTRACT_SUFX=  .tar.xz
 
 USE_GMAKE= Yes
 
@@ -47,46 +47,47 @@ LIB_DEPENDS=security/gnutls \
 .if ${FLAVOR} == "no_x11"
 CONFIGURE_ARGS+=   --without-x \
--without-dbus \
-   --without-gconf \
--without-gsettings \
-   --without-jpeg
+   --without-jpeg \
+   --without-lcms2
 .else
 LIB_DEPENDS+=  x11/dbus \
x11/gnome/librsvg \
-   devel/gconf2 \
graphics/jpeg \
graphics/png \
graphics/tiff \
graphics/giflib \
-   graphics/ImageMagick
+   graphics/ImageMagick \
+   graphics/lcms2
 RUN_DEPENDS+=  devel/desktop-file-utils \
devel/xdg-utils \
x11/gtk+3,-guic
 . if ${FLAVOR} == "athena"
 CONFIGURE_ARGS+=   --with-x-toolkit=athena
 LIB_DEPENDS+=  x11/Xaw3d
-WANTLIB += ICE MagickCore-6.Q16 MagickWand-6.Q16 SM X11 Xaw3d
-WANTLIB += Xext Xft Xinerama Xmu Xpm Xrandr Xrender Xt cairo dbus-1
-WANTLIB += fontconfig freetype gconf-2 gdk_pixbuf-2.0 gif gio-2.0
-WANTLIB += glib-2.0 gobject-2.0 intl jpeg png rsvg-2 tiff X11-xcb Xfixes xcb
+WANTLIB += ICE MagickCore-6.Q16 MagickWand-6.Q16 SM X11 X11-xcb
+WANTLIB += Xaw3d Xext Xfixes Xft Xinerama Xmu Xpm Xrandr Xrender
+WANTLIB += Xt cairo dbus-1 fontconfig freetype gdk_pixbuf-2.0
+WANTLIB += gif gio-2.0 glib-2.0 gobject-2.0 intl jpeg lcms2 png
+WANTLIB += rsvg-2 tiff xcb
 . elif ${FLAVOR} == "gtk2"
 CONFIGURE_ARGS+=   --with-x-toolkit=gtk2
 LIB_DEPENDS+=  x11/gtk+2
-WANTLIB += ICE MagickCore-6.Q16 MagickWand-6.Q16 SM X11 Xcomposite
-WANTLIB += Xcursor Xdamage Xext Xfixes Xft Xi Xinerama Xpm Xrandr
-WANTLIB += Xrender atk-1.0 cairo dbus-1 fontconfig freetype gconf-2
-WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gif gio-2.0 glib-2.0 gobject-2.0
-WANTLIB += gtk-x11-2.0 intl jpeg pango-1.0 pangocairo-1.0 pangoft2-1.0
-WANTLIB += png rsvg-2 tiff X11-xcb xcb
+WANTLIB += ICE MagickCore-6.Q16 MagickWand-6.Q16 SM X11 X11-xcb
+WANTLIB += Xcomposite Xcursor Xdamage Xext Xfixes Xft Xi Xinerama
+WANTLIB += Xpm Xrandr Xrender atk-1.0 cairo dbus-1 fontconfig
+WANTLIB += freetype gdk-x11-2.0 gdk_pixbuf-2.0 gif gio-2.0 glib-2.0
+WANTLIB += gobject-2.0 gtk-x11-2.0 intl jpeg lcms2 pango-1.0 pangocairo-1.0
+WANTLIB += pangoft2-1.0 png rsvg-2 tiff xcb
 . elif ${FLAVOR} == "gtk3"
 CONFIGURE_ARGS+=   --with-x-toolkit=gtk3
 LIB_DEPENDS+=  x11/gtk+3
 WANTLIB += ICE MagickCore-6.Q16 MagickWand-6.Q16 SM X11 X11-xcb
-WANTLIB += Xfixes Xft Xinerama Xpm Xrandr Xrender atk-1.0 cairo
-WANTLIB += cairo-gobject dbus-1 fontconfig freetype gconf-2 gdk-3
+WANTLIB += Xext Xfixes Xft Xinerama Xpm Xrandr Xrender atk-1.0
+WANTLIB += cairo cairo-gobject dbus-1 fontconfig freetype gdk-3
 WANTLIB += gdk_pixbuf-2.0 gif gio-2.0 glib-2.0 gobject-2.0 gtk-3
-WANTLIB += intl jpeg pango-1.0 pangocairo-1.0 png rsvg-2 tiff
-WANTLIB += xcb
+WANTLIB += intl jpeg lcms2 pango-1.0 pangocairo-1.0 png rsvg-2
+WANTLIB += tiff xcb
 . else
 ERRORS+=   "Fatal: Conflicting flavor: ${FLAVOR}"
 . endif
@@ -94,7 +9

[update] security/gopass to v1.5.1

2017-10-27 Thread Aaron Bieber
Hola!

This brings gopass to the latest. Among the changes are:
[ENHANCEMENT] Re-introduce usecolor config option [#414]
[ENHANCEMENT] Improve documentation [#407] [#409] [#416] [#417]
[ENHANCEMENT] Add language switch for xckd-style generation [#406]
[BUGFIX] Fix gpg binary detection [#419]
[BUGFIX] Fix tests on windows [#421]

OK?

Index: Makefile
===
RCS file: /cvs/ports/security/gopass/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile22 Oct 2017 23:46:04 -  1.1.1.1
+++ Makefile26 Oct 2017 15:18:00 -
@@ -4,7 +4,7 @@ COMMENT =   pass compatible password manag

 GH_ACCOUNT =   justwatchcom
 GH_PROJECT =   gopass
-GH_TAGNAME =   v1.5.0
+GH_TAGNAME =   v1.5.1

 CATEGORIES =   security

Index: distinfo
===
RCS file: /cvs/ports/security/gopass/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo22 Oct 2017 23:46:04 -  1.1.1.1
+++ distinfo26 Oct 2017 15:18:00 -
@@ -1,2 +1,2 @@
-SHA256 (gopass-1.5.0.tar.gz) = 3SIGcaiIZyWqPGcQc9RKC2aZ5JjZzSVN6lebHszn+fk=
-SIZE (gopass-1.5.0.tar.gz) = 1102549
+SHA256 (gopass-1.5.1.tar.gz) = 0rfjS0YDlh5LRyyreRTj8tM/AODdPke3RXjn/EC3ZYI=
+SIZE (gopass-1.5.1.tar.gz) = 1173306

--
PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A  4AF0 1F81 112D 62A9 ADCE



Re: UPDATE: www/netsurf

2017-10-27 Thread Anthony J. Bentley
On Tue, Oct 24, 2017 at 1:59 AM, Anthony J. Bentley  wrote:
> Hi,
>
> This updates the NetSurf browser to 3.7.
>
> As always, I'm interested in test reports on as many architectures
> as possible, particularly sparc64, powerpc, loongson.

Here's an updated diff using a port for the new libnslog library.

-- 
Anthony J. Bentley
? libnslog
? typescript
Index: Makefile
===
RCS file: /cvs/ports/www/netsurf/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile2 Dec 2016 06:25:36 -   1.6
+++ Makefile27 Oct 2017 10:40:12 -
@@ -8,6 +8,7 @@
  SUBDIR += libnsbmp
  SUBDIR += libnsfb
  SUBDIR += libnsgif
+ SUBDIR += libnslog
  SUBDIR += libnspsl
  SUBDIR += libnsutils
  SUBDIR += libparserutils
Index: Makefile.inc
===
RCS file: /cvs/ports/www/netsurf/Makefile.inc,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile.inc
--- Makefile.inc20 Apr 2017 04:27:58 -  1.17
+++ Makefile.inc27 Oct 2017 10:40:12 -
@@ -28,7 +28,7 @@ MAKE_FLAGS += COMPONENT_TYPE=lib-shared 
 .endfor
 
 .if ${NETSURF_PROJECT} != "buildsystem"
-BUILD_DEPENDS +=   www/netsurf/buildsystem>=1.5
+BUILD_DEPENDS +=   www/netsurf/buildsystem>=1.6
 MAKE_FLAGS +=  Q= \
VQ= \
CC="${CC}" \
Index: browser/Makefile
===
RCS file: /cvs/ports/www/netsurf/browser/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- browser/Makefile20 Apr 2017 04:27:58 -  1.30
+++ browser/Makefile27 Oct 2017 10:40:12 -
@@ -3,24 +3,24 @@
 COMMENT =  lightweight web browser, with GTK interface
 
 NETSURF_PROJECT =  netsurf
-NETSURF_VERSION =  3.6
-REVISION = 1
+NETSURF_VERSION =  3.7
 
 HOMEPAGE=  http://www.netsurf-browser.org/
 MASTER_SITES = 
http://download.netsurf-browser.org/netsurf/releases/source/
 
 MODULES =  devel/gettext
 
-BUILD_DEPENDS =www/netsurf/nsgenbind>=0.4 \
+BUILD_DEPENDS =www/netsurf/nsgenbind>=0.5 \
www/p5-HTML-Parser
-LIB_DEPENDS =  www/netsurf/hubbub>=0.3.3 \
-   www/netsurf/libcss>=0.6.1 \
-   www/netsurf/libnsgif>=0.1.4 \
+LIB_DEPENDS =  www/netsurf/hubbub>=0.3.4 \
+   www/netsurf/libcss>=0.7.0 \
+   www/netsurf/libnsgif>=0.2.0 \
www/netsurf/libnsbmp>=0.1.4 \
-   www/netsurf/libdom>=0.3.1 \
-   www/netsurf/libnspsl>=0.1.0 \
+   www/netsurf/libnslog \
+   www/netsurf/libdom>=0.3.2 \
+   www/netsurf/libnspsl>=0.1.2 \
www/netsurf/libnsutils>=0.0.3 \
-   www/netsurf/libutf8proc>=1.3.1 \
+   www/netsurf/libutf8proc>=1.3.1p0 \
x11/gtk+2 \
x11/gnome/librsvg \
net/curl
@@ -33,7 +33,7 @@ WANTLIB += expat fontconfig freetype gdk
 WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
 WANTLIB += gtk-x11-2.0 hubbub jpeg m nsbmp nsgif nspsl pango-1.0
 WANTLIB += pangocairo-1.0 pangoft2-1.0 parserutils png pthread
-WANTLIB += rsvg-2 ssl utf8proc wapcaplet z nsutils
+WANTLIB += rsvg-2 ssl utf8proc wapcaplet z nsutils nslog
 
 MAKE_FLAGS +=  NETSURF_USE_HARU_PDF=NO \
NETSURF_USE_LIBICONV_PLUG=NO \
@@ -53,7 +53,7 @@ post-patch:
v=$$(egrep ^en\..*$$c: ${WRKSRC}/resources/FatMessages | cut -d 
: -f2 | sed -e 's/$$c<#>$$v<#" 
${WRKSRC}/frontends/gtk/res/options.gtk2.ui ; done
 post-install:
-   ${INSTALL_MAN} ${WRKSRC}/Docs/netsurf-gtk.1 \
+   ${INSTALL_MAN} ${WRKSRC}/docs/netsurf-gtk.1 \
${PREFIX}/man/man1/netsurf-gtk.1
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/frontends/gtk/res/netsurf-gtk.desktop \
Index: browser/distinfo
===
RCS file: /cvs/ports/www/netsurf/browser/distinfo,v
retrieving revision 1.12
diff -u -p -r1.12 distinfo
--- browser/distinfo30 Nov 2016 07:35:00 -  1.12
+++ browser/distinfo27 Oct 2017 10:40:12 -
@@ -1,2 +1,2 @@
-SHA256 (netsurf-3.6-src.tar.gz) = Wa5LUO/54qAKCpdC71RsfeFyIxOcSFr5ZE8ZU0CXmpw=
-SIZE (netsurf-3.6-src.tar.gz) = 4129091
+SHA256 (netsurf-3.7-src.tar.gz) = 78IKhqI7oalm3IcPArMX0/YC4buy4bUHYI40/r+zfhY=
+SIZE (netsurf-3.7-src.tar.gz) = 3911738
Index: browser/pkg/PLIST
===
RCS file: /cvs/ports/www/netsurf/browser/pkg/PLIST,v
retrieving revision 1.13
diff -u -p -r1.13 PLIST
--- browser/pkg/PLIST   30 Nov 2016 07:35:00 -

Re: Chromium and Netsurf core dumps

2017-10-27 Thread Anthony J. Bentley
Cág writes:
> Anthony J. Bentley wrote:
>
> > So far I haven't been able to reproduce this crash.
>
> I think I've found the reason. If I remove [websearch] from the toolbar
> (Customise menu entry), it dumps the core with that error. If I don't,
> it's fine. Could you try it with 3.6 and 3.7?

Yes, if I remove websearch I can reproduce this in 3.7 on amd64.
Thanks for finding a reliable trigger; I've reported it upstream.

I don't get any crashes with a clean profile (remove
~/.config/netsurf/Choices).

-- 
Anthony J. Bentley



Fix dhcpcd(8) breakage

2017-10-27 Thread Martin Pieuchot
Conditionally issues ioctl(2)s the kernel no longer supports.  There's
no need to work around the kernel expiring prefixes and routers anymore
on OpenBSD.

This fix a breakage introduced by my recent removal of such ioctl(2),
reported by aja@.

ok?

Index: patches/patch-if-bsd_c
===
RCS file: /cvs/ports/net/dhcpcd/patches/patch-if-bsd_c,v
retrieving revision 1.2
diff -u -p -r1.2 patch-if-bsd_c
--- patches/patch-if-bsd_c  10 Aug 2017 06:58:39 -  1.2
+++ patches/patch-if-bsd_c  27 Oct 2017 08:56:30 -
@@ -5,6 +5,10 @@ Fixed with netinet6/in6.c r1.202.
 
 netinet6/nd6.h r1.72 removed ND6_IFF_PERFORMNUD
 
+Also conditionnaly flush prefix and router lists, OpenBSD no longer
+keep track of them in kernel.  So there's no risk for dhcpcd(8) to
+have its advertised routers and prefixes expired.
+
 Index: if-bsd.c
 --- if-bsd.c.orig
 +++ if-bsd.c
@@ -33,3 +37,20 @@ Index: if-bsd.c
  
  static int
  if_raflush(int s)
+@@ -1720,9 +1722,14 @@ if_raflush(int s)
+   char dummy[IFNAMSIZ + 8];
+ 
+   strlcpy(dummy, "lo0", sizeof(dummy));
+-  if (ioctl(s, SIOCSRTRFLUSH_IN6, (void *)&dummy) == -1 ||
+-  ioctl(s, SIOCSPFXFLUSH_IN6, (void *)&dummy) == -1)
++#ifdef SIOCSRTRFLUSH_IN6
++  if (ioctl(s, SIOCSRTRFLUSH_IN6, (void *)&dummy) == -1)
+   return -1;
++#endif
++#ifdef SIOCSPFXFLUSH_IN6
++  if (ioctl(s, SIOCSPFXFLUSH_IN6, (void *)&dummy) == -1)
++  return -1;
++#endif
+   return 0;
+ }
+ 



Re: Chrome crashes with 6.2 (Please update official download sites!)

2017-10-27 Thread Federico Giannici

On 10/26/17 13:26, Cág wrote:

Federico Giannici wrote:


Since I upgraded from OBSD 6.1 to 6.2 (amd64), at least half the time I
launch Chrome it crashes (with a "use after free").


We had a discussion in the ports@ list a couple of days ago:
https://marc.info/?t=15085986372&r=1&w=2


I installed the current snapshot package (chromium-61.0.3163.100p1.tgz) 
and it solved the problem! Now I can use chrome again...


As this snapshot package will soon disappear for new ones with 
incompatible dependences, I think that it would be VERY useful for A LOT 
of people that this package be put in the official download sites.


Thank you



Re: Does anyone use texlive_texmf-docs?

2017-10-27 Thread Martin Schröder
2017-10-27 4:00 GMT+02:00 Ingo Schwarze :
> In general, finding anything in the documentation is quite hard
> because

Do you know texdoc(1)?

And of course, today we have Google and tex.stackexchange.com

Best
   Martin