Re: xpdf crashes when going fullscreen

2016-08-25 Thread Alessandro DE LAURENZIS
Hello David,

On Wed, 24 Aug 2016 10:22:26 +0200
David Coppa  wrote:
[...]
> Next time, try harder. Google is your friend ;)
> 
> Five minutes of googling lead me to this:
> 
> https://bugs.launchpad.net/ubuntu/+source/ddd/+bug/1354961
> 
> Can you please try the x11/motif diff below and report back?

sorry for delay; yes, I confirm that this patch solves the issue.

Cheers

-- 
Alessandro DE LAURENZIS
[mailto:jus...@atlantide.t28.net]
LinkedIn: http://it.linkedin.com/in/delaurenzis



CVS: cvs.openbsd.org: ports

2016-08-25 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2016/08/25 23:18:58

Modified files:
games/0ad/base : Makefile 
Removed files:
games/0ad/base/patches: patch-build_premake_premake4_lua 

Log message:
-Wl,-z,wxneeded patch no longer necessary.



Re: I want to make a simple port.

2016-08-25 Thread Theo de Raadt
> I did report it to bugs. Ted took care of it in -current apparently. I
> still haven't looked into getopt really well. I need root to write into
> /etc/pkg.conf it privilege separates and drops privileges before it gets to
> network ftp calls. I'm not claiming it's the best it can be right now. But
> I think it is useful and possibly useful in edge cases in the base. I have
> been rewriting it a lot and it outputs more than it needs to because I have
> been debugging new features. I think it would maybe in the future, be an
> attractive feature for a new install that doesn't have a mirror set, and
> the user doesn't know which mirror is the best, who may just choose the
> main install mirror for the perceived stability over minimized latency;
> overloading the main mirrors. I've seen pkg_add just sit there doing
> nothing when it had a bad mirror and at least there ought to be some sanity
> checking

[rest deleted]

ktrace or it didn't happen

if you can't use the tools to study what is happening, you don't
stand a chance making things better



Re: I want to make a simple port.

2016-08-25 Thread Luke Small
I did report it to bugs. Ted took care of it in -current apparently. I
still haven't looked into getopt really well. I need root to write into
/etc/pkg.conf it privilege separates and drops privileges before it gets to
network ftp calls. I'm not claiming it's the best it can be right now. But
I think it is useful and possibly useful in edge cases in the base. I have
been rewriting it a lot and it outputs more than it needs to because I have
been debugging new features. I think it would maybe in the future, be an
attractive feature for a new install that doesn't have a mirror set, and
the user doesn't know which mirror is the best, who may just choose the
main install mirror for the perceived stability over minimized latency;
overloading the main mirrors. I've seen pkg_add just sit there doing
nothing when it had a bad mirror and at least there ought to be some sanity
checking, if not at least some manual interface to choosing a new mirror.
Especially since web browsers aren't in the base and looking up
/etc/examples/pkg.conf, which has cymru, which is dead and others which
don't work, isn't the most obvious for people that aren't aware of its
existence. I think it only exists, because a guy made it as an answer to my
previous program that got it in an insecure manner from openbsd.org/ftp.html
I'm not sure why there is resistance to automating mirror selection, even
if it could be a manual choice to do so.

On Thu, Aug 25, 2016, 09:26 Jeremie Courreges-Anglas  wrote:

> Luke Small  writes:
>
> > It calls ftp multiple times to find the relative speed and latency of a
> > PKG_PATH mirrors found in /etc/examples/pkg.conf and if it is run as
> root,
> > provides automatic, fine-grained excision of installpath options and
> > attributed comments.
>
> My opinion is that this is still a toy project.  This will not be
> included in base/, and I would object to an inclusion in the ports tree.
>
> > It is pledged in many places, provides privilege
> > separation, but I run 5.9 and a glitch that is fixed in current forbids
> > using NOTE_EXIT in kqueue while using setuid executables.
>
> What you're saying is scary.  In a perfect world no program runs
> setuid-root.
>
> Anyway, if you noticed a behavior change that breaks userland, please
> report on bugs@.
>
> > I need NOTE_EXIT
> > to time how long it takes for ftp to run and to kill it if it takes too
> > long. It is a fun little utility!
>
> No you do not *need* NOTE_EXIT.  You do not need kqueue(2), you do not
> need C, you do not need to rewrite getopt(3) from scratch, etc etc.
>
> Sorry if it hurts, but please do not waste people's time about this toy
> project.
>
> --
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE
>


Re: graphics/quirc: new port

2016-08-25 Thread Dmitrij D. Czarkoff
"Dmitrij D. Czarkoff"  wrote:

>Updated port:
>
> - pkg/DESCR fix from sthen@ and 
> - tuned to recognize smaller QR codes in larger images \
> at expense of slightly
>   higher memory footprint.
>
>OK?

ping



Re: New port: devel/py-hgsubversion

2016-08-25 Thread Dmitrij D. Czarkoff
"Dmitrij D. Czarkoff"  wrote:

>"Dmitrij D. Czarkoff"  wrote:
>
>>Below is a port for hgsubversion.  Hgsubversion is an extension for
>>Mercurial that allows using Mercurial as a Subversion client.  It allows
>>cloning subversion repository with as if it was a regular Mercurial
>>repository:
>>
>> $ hg clone  [destination]
>>
>>and subsequently working with it using only Mercurial.
>>
>>It fails two tests, but otherwise is usable for read-only access to
>>subversion repos, which is how I use it for more then half a year.
>>
>>Comments?  OKs?
>
>ping

ping



unison sometimes crashes after update to ocaml 4.03.0

2016-08-25 Thread Caspar Schutijser
Hi ports@,

Since lang/ocaml was updated to 4.03.0, unison crashes every now and
then with a segmentation fault on my amd64 machine (I use the no_x11
flavor of unison).

The backtrace (see below) suggests that this only happens when unison
is used with a network connection. Indeed, I have not been able to
reproduce it while synchronizing two local roots. I have been able to
reproduce the problem both with SSH and the unison "socket method".

To get a useful backtrace, I recompiled ocaml with the patch found
below to enable the debugging symbols (compiling with DEBUG=-g didn't
work).

If I need to provide more information or if I can help in some other
way, please let me know.

Thanks,
Caspar Schutijser




==> how to reproduce

unison only seems to crash after quite some files have been transferred,
so the number of changed files between the two unison roots need to be
big.

To make it easy to reproduce, I cloned a big git repository. Once the
files have been transferred successfully, check out an old tag so lots
of files change.

Initialize the test environment:
  # useradd -m test
  # su - test
  $ ssh-keygen
  $ cat .ssh/id_rsa.pub >>.ssh/authorized_keys
  $ mkdir .unison
  $ echo "auto = true" >.unison/default.prf
  $ git clone https://github.com/postgres/postgres

Run unison and observe how it segfaults:
  $ yes | unison postgres/ ssh://localhost//home/test/postgres.copy

Once the entire repository has been transferred, check out an old
postgres release to generate lots of changed files:
  $ cd postgres
  $ git checkout PG95-1_01
And then run unison again as described above.

After that, if you want to go back to the master branch:
  $ cd postgres
  $ git checkout master
And run unison again as described above.



==> backtrace

$ egdb /usr/local/bin/unison /home/test/unison.core
GNU gdb (GDB) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-openbsd6.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/unison...done.
[New process 75757]
Core was generated by `unison'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x1e8d923e9948 in intern_rec (dest=0x1e8fbb92ffe0) at intern.c:366
366 *intern_dest = Make_header(size, tag, intern_color);
(gdb) bt
#0  0x1e8d923e9948 in intern_rec (dest=0x1e8fbb92ffe0) at intern.c:366
#1  0x1e8d923eac15 in input_val_from_block (h=0x7f7bdd50) at 
intern.c:777
#2  0x1e8d923ead16 in caml_input_value_from_block (data=0x1e901ca85803 
'\337' , ..., len=34) at 
intern.c:805
#3  0x1e8d923d599b in ml_unmarshal_from_bigarray (b=33602674032808, ofs=7) 
at /home/caspar/tmp-ports/obj/unison-2.48.4-no_x11/src/bytearray_stubs.c:25
#4  0x1e8d9233df2f in camlRemote__fun_12901 () at 
/home/caspar/tmp-ports/obj/unison-2.48.4-no_x11/src/remote.ml:454
#5  0x1e8d923392a7 in camlRemote__fun_13262 () at 
/home/caspar/tmp-ports/obj/unison-2.48.4-no_x11/src/remote.ml:464
#6  0x1e8d92360cad in camlLwt__apply_1225 () at 
/home/caspar/tmp-ports/obj/unison-2.48.4-no_x11/src/lwt/lwt.ml:75
#7  0x1e8d9236072e in camlLwt__fun_1450 () at 
/home/caspar/tmp-ports/obj/unison-2.48.4-no_x11/src/lwt/lwt.ml:94
#8  0x1e8d9238a7b1 in camlList__iter_1258 () at list.ml:77
#9  0x1e8d92360a02 in camlLwt__restart_1211 () at 
/home/caspar/tmp-ports/obj/unison-2.48.4-no_x11/src/lwt/lwt.ml:31
#10 0x1e8d9235cb8e in camlLwt_unix_impl__fun_3373 () at 
/home/caspar/tmp-ports/obj/unison-2.48.4-no_x11/src/lwt/generic/lwt_unix_impl.ml:153
#11 0x1e8d9238a7b1 in camlList__iter_1258 () at list.ml:77
#12 0x1e8d9235dbb1 in camlLwt_unix_impl__run_1576 () at 
/home/caspar/tmp-ports/obj/unison-2.48.4-no_x11/src/lwt/generic/lwt_unix_impl.ml:148
#13 0x1e8d92304eec in camlMain__fun_1874 () at 
/home/caspar/tmp-ports/obj/unison-2.48.4-no_x11/src/main.ml:202
#14 0x1e8d92305245 in camlMain__catch_all_1293 () at 
/home/caspar/tmp-ports/obj/unison-2.48.4-no_x11/src/main.ml:131
#15 0x1e8d92305613 in camlMain__init_1317 () at 
/home/caspar/tmp-ports/obj/unison-2.48.4-no_x11/src/main.ml:199
#16 0x1e8d923057d5 in camlMain__Body_1547 () at 
/home/caspar/tmp-ports/obj/unison-2.48.4-no_x11/src/main.ml:239
#17 0x1e8d92304dc3 in camlLinktext__entry ()
#18 0x1e8d92301699 in caml_startup.code_begin ()
#19 0x1e8d923f6d30 in caml_start_program ()
#20 0x1e8d923f71bc in caml_main (argv=0x7f7be0a8) at startup.c:138
#21 

CVS: cvs.openbsd.org: ports

2016-08-25 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2016/08/25 14:00:08

Modified files:
www/iridium: Makefile 
www/chromium   : Makefile 

Log message:
use USE_WXNEEDED for chromium/iridium now that it works with gcc4



CVS: cvs.openbsd.org: ports

2016-08-25 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2016/08/25 09:59:58

Modified files:
emulators/qemu : Makefile 
lang/node  : Makefile 

Log message:
once more with an updated gcc; drop the workarounds and XXX comments

spotted by naddy@



CVS: cvs.openbsd.org: ports

2016-08-25 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2016/08/25 09:42:55

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

Log message:
Register removal of lang/gfortran



CVS: cvs.openbsd.org: ports

2016-08-25 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2016/08/25 09:13:41

Modified files:
devel/libgit2/libgit2-glib: Makefile distinfo 

Log message:
- update to libgit2-glib-0.24.3
- drop gettext module



Re: emulators/qemu wxneeded (was: Re: CVS: cvs.openbsd.org: ports)

2016-08-25 Thread Jasper Lievisse Adriaanse
On Thu, Aug 25, 2016 at 03:48:11PM +0100, Stuart Henderson wrote:
> On 2016/08/25 16:35, Christian Weisgerber wrote:
> > Jasper Lievisse Adriaanse:
> > 
> > > CVSROOT:  /cvs
> > > Module name:  ports
> > > Changes by:   jas...@cvs.openbsd.org  2016/08/25 02:56:12
> > > 
> > > Modified files:
> > >   emulators/qemu : Makefile 
> > > 
> > > Log message:
> > > annotate two more ports that were marked as wxneeded with USE_WXNEEDED,
> > > even though in both cases it doesn't work yet, at least they're marked
> > > so they are indexed by sqlports
> > 
> > How does this fail to work?
> > 
> > I removed -Wl,-z,wxneeded from EXTRA_LDFLAGS, did a test build, and
> > the qemu executables all end up with OPENBSD_WXNEEDED in the program
> > header.
> > 
> > -- 
> > Christian "naddy" Weisgerber  na...@mips.inka.de
> > 
> 
> I think that was a gcc4 one.
Crikey, you're right. gcc wasn't properly up to date. I'll double check and
fix it when it's done building.

Thanks,
-- 
jasper



CVS: cvs.openbsd.org: ports

2016-08-25 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2016/08/25 08:53:46

Modified files:
infrastructure/mk: fortran.port.mk 

Log message:
Clean up and remove old cruft.

With shadchin@

Tested in a bulk build by naddy@



Re: emulators/qemu wxneeded (was: Re: CVS: cvs.openbsd.org: ports)

2016-08-25 Thread Stuart Henderson
On 2016/08/25 16:35, Christian Weisgerber wrote:
> Jasper Lievisse Adriaanse:
> 
> > CVSROOT:/cvs
> > Module name:ports
> > Changes by: jas...@cvs.openbsd.org  2016/08/25 02:56:12
> > 
> > Modified files:
> > emulators/qemu : Makefile 
> > 
> > Log message:
> > annotate two more ports that were marked as wxneeded with USE_WXNEEDED,
> > even though in both cases it doesn't work yet, at least they're marked
> > so they are indexed by sqlports
> 
> How does this fail to work?
> 
> I removed -Wl,-z,wxneeded from EXTRA_LDFLAGS, did a test build, and
> the qemu executables all end up with OPENBSD_WXNEEDED in the program
> header.
> 
> -- 
> Christian "naddy" Weisgerber  na...@mips.inka.de
> 

I think that was a gcc4 one.



emulators/qemu wxneeded (was: Re: CVS: cvs.openbsd.org: ports)

2016-08-25 Thread Christian Weisgerber
Jasper Lievisse Adriaanse:

> CVSROOT:  /cvs
> Module name:  ports
> Changes by:   jas...@cvs.openbsd.org  2016/08/25 02:56:12
> 
> Modified files:
>   emulators/qemu : Makefile 
> 
> Log message:
> annotate two more ports that were marked as wxneeded with USE_WXNEEDED,
> even though in both cases it doesn't work yet, at least they're marked
> so they are indexed by sqlports

How does this fail to work?

I removed -Wl,-z,wxneeded from EXTRA_LDFLAGS, did a test build, and
the qemu executables all end up with OPENBSD_WXNEEDED in the program
header.

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



Re: I want to make a simple port.

2016-08-25 Thread Jeremie Courreges-Anglas
Luke Small  writes:

> It calls ftp multiple times to find the relative speed and latency of a
> PKG_PATH mirrors found in /etc/examples/pkg.conf and if it is run as root,
> provides automatic, fine-grained excision of installpath options and
> attributed comments.

My opinion is that this is still a toy project.  This will not be
included in base/, and I would object to an inclusion in the ports tree.

> It is pledged in many places, provides privilege
> separation, but I run 5.9 and a glitch that is fixed in current forbids
> using NOTE_EXIT in kqueue while using setuid executables.

What you're saying is scary.  In a perfect world no program runs
setuid-root.

Anyway, if you noticed a behavior change that breaks userland, please
report on bugs@.

> I need NOTE_EXIT
> to time how long it takes for ftp to run and to kill it if it takes too
> long. It is a fun little utility!

No you do not *need* NOTE_EXIT.  You do not need kqueue(2), you do not
need C, you do not need to rewrite getopt(3) from scratch, etc etc.

Sorry if it hurts, but please do not waste people's time about this toy
project.

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: minidlna

2016-08-25 Thread Stuart Henderson
> On Mon, Aug 22, 2016 at 06:42:36PM -0500, Ed Ahlsen-Girard wrote:
> > While attempting to trouble shoot minidlna (21 Aug 2016 snap) I found
> > that the package has no docs, either as minidlna, minidlnad, or
> > readymedia. Checked for man and info pages both. In addition to not
> > running on my machine.

"Not running on my machine" is a poor problem report. Logs? Startup
messages? dmesg?



CVS: cvs.openbsd.org: ports

2016-08-25 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2016/08/25 07:21:26

Modified files:
security/opensc: Makefile 
Added files:
security/opensc/patches: patch-src_libopensc_card_c 
 patch-src_libsm_sm-common_c 

Log message:
Merge two fixes from upstream:

commit 1e82dbe5c79e431e4d1b333a91b329e0164a86c2:
libopensc: fix reopen SM after reader reconnect

commit e98315a1966d73d4b6be733cc0a94a85ebfa7916:
libsm: fixed out of bounds write



Re: minidlna

2016-08-25 Thread Marc Espie
On Mon, Aug 22, 2016 at 06:42:36PM -0500, Ed Ahlsen-Girard wrote:
> While attempting to trouble shoot minidlna (21 Aug 2016 snap) I found
> that the package has no docs, either as minidlna, minidlnad, or
> readymedia. Checked for man and info pages both. In addition to not
> running on my machine.
> 
> Is it being abandoned?

it's still alive and kicking. I've seen updates on my netgear nas.



CVS: cvs.openbsd.org: ports

2016-08-25 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2016/08/25 05:40:32

Modified files:
www/webkitgtk4 : Makefile 

Log message:
Bump REVISION to be on the safe side since -stable is using the same
version minus the wxneeded parts.



CVS: cvs.openbsd.org: ports

2016-08-25 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2016/08/25 05:38:59

Modified files:
www/webkitgtk4 : Makefile distinfo 
www/webkitgtk4/patches: patch-Source_cmake_OptionsCommon_cmake 

Log message:
Update to webkitgtk4-2.12.4.

WebKitGTK+ Security Advisory WSA-2016-0005:
CVE-2016-4583, CVE-2016-4585, CVE-2016-4586, CVE-2016-4587, CVE-2016-4588,
CVE-2016-4589, CVE-2016-4590, CVE-2016-4591, CVE-2016-4592, CVE-2016-4622,
CVE-2016-4623, CVE-2016-4624, CVE-2016-4651



CVS: cvs.openbsd.org: ports

2016-08-25 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2016/08/25 02:56:43

Modified files:
lang/smlnj : Makefile 

Log message:
missed in previous:

annotate two more ports that were marked as wxneeded with USE_WXNEEDED,
even though in both cases it doesn't work yet, at least they're marked
so they are indexed by sqlports



CVS: cvs.openbsd.org: ports

2016-08-25 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2016/08/25 02:56:12

Modified files:
emulators/qemu : Makefile 

Log message:
annotate two more ports that were marked as wxneeded with USE_WXNEEDED,
even though in both cases it doesn't work yet, at least they're marked
so they are indexed by sqlports



CVS: cvs.openbsd.org: ports

2016-08-25 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2016/08/25 02:42:08

Modified files:
lang/node  : Makefile 

Log message:
add USE_WXNEEDED (for sqlports purposes) as it doesn't work yet here (see 
comment)



CVS: cvs.openbsd.org: ports

2016-08-25 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2016/08/25 02:30:22

Modified files:
lang/libv8 : Makefile 

Log message:
switch to USE_WXNEEDED instead of altering MAKE_ENV



CVS: cvs.openbsd.org: ports

2016-08-25 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2016/08/25 01:24:21

Modified files:
audio/mpd  : Makefile distinfo 

Log message:
Update to mpd-0.19.19



CVS: cvs.openbsd.org: ports

2016-08-25 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2016/08/25 01:17:39

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-123.0.0.



CVS: cvs.openbsd.org: ports

2016-08-25 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2016/08/25 00:57:39

Modified files:
emulators/desmume: Makefile 

Log message:
Switch to USE_WXNEEDED after the gcc4 fix.



CVS: cvs.openbsd.org: ports

2016-08-25 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2016/08/25 00:23:41

Modified files:
sysutils/ruby-puppet-lint: Makefile distinfo 
sysutils/ruby-puppet-lint/pkg: PLIST 

Log message:
update to puppet-lint-2.0.2



CVS: cvs.openbsd.org: ports

2016-08-25 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2016/08/25 00:22:26

Modified files:
net/ruby-stomp : Makefile distinfo 
net/ruby-stomp/pkg: PLIST 

Log message:
update to stomp-1.4.3



CVS: cvs.openbsd.org: ports

2016-08-25 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2016/08/25 00:21:46

Modified files:
devel/leatherman: Makefile distinfo 

Log message:
update to leatherman-0.9.0