Re: java and IPv6: java.net.SocketException: Protocol family unavailable

2015-01-26 Thread Sebastian Reitenbach
 
On Monday, January 26, 2015 21:40 CET, Stuart Henderson  
wrote: 
 
> On 2015/01/26 13:52, trondd wrote:
> > On 1/26/15, Sebastian Reitenbach  wrote:
> > 
> > >
> > > It seems, since it worked, java got updated, at least when it worked, I 
> > > had
> > > the java version 7u65, now I have the 7u71.
> > > But don't know if the Java update might have caused the trouble, or
> > > something else in the IPv6 stack?
> > >
> > > I'm going to try build and installing the 7u65, in order to see if that
> > > helps.
> > >
> > > Does anyone else has luck with a current snapshot, java 7u71 and IPv6?
> > >
> > > Sebastian
> > 
> > A quick look at the JDK ports Makefile shows a separate "with_ipv6"
> > flavor.  Doesn't look like that flavor is built and published to
> > mirrors, though.  It might be broken or just not in high demand.  Not
> > sure.
> > 
> > If you are building from ports, make sure you build the right flavor.
> > 
> > Tim.
> > 
> 
> Note the warnings in DESCR: Java doesn't have great multi-AF support,
> it relies on OS mapping that OpenBSD intentionally doesn't allow.
> 
 
I already recognized that one earlier. However, I usually only installed the
default jdk package, and that was able to do IPv6 or IPv4, but I did not
got it to do both at the same time. 
Maybe the older versions didn't really catched the DONT_ENABLE_IPV6="YES"?
At least that's what I figured worked so far with puppetdb. Java 7u65 default 
flavor 
is still building, I'll see if this allows IPv6 on the current snapshot.

Anyways, with IPv6 disabled by default, does this with_ipv6 java flavor make
sense at all? With no IPv6, shouldn't it just fall back and operate on IPv4? 
Or you use the parameters -Djava.net.preferIPv6Addresses=true or 
-Djava.net.preferIPv4Addresses=true.
Still have to test, whenever its finished building.

Sebastian




[DEPENDS FIX] databases/p5-DBIx-Class-Schema-Loader

2015-01-26 Thread Andrew Fresh
I was going to look into actually updating this as well, but now
suddenly ports lock.  Would be nice to have this dependency corrected.

The maintainers email bounces, I'll take it if nobody else cares to.

Index: Makefile
===
RCS file: /cvs/ports/databases/p5-DBIx-Class-Schema-Loader/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- Makefile13 Jan 2015 13:05:02 -  1.19
+++ Makefile25 Jan 2015 20:50:56 -
@@ -4,7 +4,7 @@ COMMENT=dynamic definition of a DBIx::C
 
 MODULES=   cpan
 DISTNAME=  DBIx-Class-Schema-Loader-0.07015
-REVISION=  0
+REVISION=  1
 CATEGORIES=databases
 
 MAINTAINER=Simon Bertrang 
@@ -14,6 +14,7 @@ PERMIT_PACKAGE_CDROM= Yes
 
 RUN_DEPENDS=   databases/p5-DBIx-Class \
databases/p5-DBIx-Class-IntrospectableM2M \
+   devel/p5-Carp-Clan \
devel/p5-Class-Unload \
devel/p5-Data-Dump \
devel/p5-List-MoreUtils \



Re: NEW: textproc/multimarkdown

2015-01-26 Thread attila


multimarkdown.tgz
Description: proposed new port: textproc/multimarkdown
Hi ports@,

Ping?

Pax, -A

Attila  writes:
>Hi ports@,
>
>Attached is an updated version of the proposed textproc/multimarkdown
>port I submitted a few days ago.  As with devel/greg, this version
>incorporates changes resulting from the output of make udpate-patches.
>Thanks to bcallah@ again.
>
>>
>> Attached is a new port, text/multimarkdown.  Multimarkdown is a
>> marked-up plain text to formatted document converter.
>>
>> pkg/DESCR:
>> MultiMarkdown is a derivative of Markdown that adds new syntax
>> features, such as footnotes, tables, and metadata. Additionally, it
>> offers mechanisms to convert plain text into LaTeX in addition to
>> HTML.
>> ---
>> C.f. http://fletcherpenney.net/multimarkdown/ for more information.
>>
>> This port depends on devel/greg, a parser generator.  I've submitted
>> a devel/greg port for your consideration in a separate email.
>>
>> Multimarkdown works well on i386.  I am working on getting all the
>> patches upstream, especially the ones related to randomness.  Thanks
>> to bcallah@ again for working with me on this.
>>
>> Testing and comments most appreciated!
>>
>> Pax, -A
>
>Pax, -A


Re: UPDATE: Smplayer-14.9.0.6690

2015-01-26 Thread Daniel Jakots
On Mon, 26 Jan 2015 16:00:11 -0300, "Gonzalo L. Rodriguez"
 wrote:

> Test are welcome.

It builds and works (basic test though) fine on -current amd64.

Cheers,
Daniel



Re: NEW: audio/canata 1.5.1

2015-01-26 Thread Nils R
ping?



Re: java and IPv6: java.net.SocketException: Protocol family unavailable

2015-01-26 Thread Stuart Henderson
On 2015/01/26 13:52, trondd wrote:
> On 1/26/15, Sebastian Reitenbach  wrote:
> 
> >
> > It seems, since it worked, java got updated, at least when it worked, I had
> > the java version 7u65, now I have the 7u71.
> > But don't know if the Java update might have caused the trouble, or
> > something else in the IPv6 stack?
> >
> > I'm going to try build and installing the 7u65, in order to see if that
> > helps.
> >
> > Does anyone else has luck with a current snapshot, java 7u71 and IPv6?
> >
> > Sebastian
> 
> A quick look at the JDK ports Makefile shows a separate "with_ipv6"
> flavor.  Doesn't look like that flavor is built and published to
> mirrors, though.  It might be broken or just not in high demand.  Not
> sure.
> 
> If you are building from ports, make sure you build the right flavor.
> 
> Tim.
> 

Note the warnings in DESCR: Java doesn't have great multi-AF support,
it relies on OS mapping that OpenBSD intentionally doesn't allow.



[update] news/sabnzbd to 0.7.20

2015-01-26 Thread Carlin Bingham
This updates sabnzbd from 0.7.11 to 0.7.20

The changelogs for the all the intervening versions can be found at 
https://forums.sabnzbd.org/viewforum.php?f=8


--
Carlin



Index: news/sabnzbd//Makefile
===
RCS file: /cvs/ports/news/sabnzbd/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- news/sabnzbd//Makefile  20 May 2013 18:36:06 -  1.4
+++ news/sabnzbd//Makefile  23 Jan 2015 19:03:02 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.4 2013/05/20 18:36:06 abieber Exp $
 
 COMMENT =  retrieve and process nzb-files via web interface
-VERSION =  0.7.11
+VERSION =  0.7.20
 DISTNAME = SABnzbd-${VERSION}-src
 PKGNAME =  sabnzbd-${VERSION}
 CATEGORIES =   news
Index: news/sabnzbd//distinfo
===
RCS file: /cvs/ports/news/sabnzbd/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- news/sabnzbd//distinfo  20 May 2013 18:36:06 -  1.2
+++ news/sabnzbd//distinfo  23 Jan 2015 19:03:02 -
@@ -1,2 +1,2 @@
-SHA256 (SABnzbd-0.7.11-src.tar.gz) = 
3pwiN36JsIG3wmSZPBWViKy4YgbRuCpGVVTi+d85sxE=
-SIZE (SABnzbd-0.7.11-src.tar.gz) = 2273355
+SHA256 (SABnzbd-0.7.20-src.tar.gz) = 
ILOkYToOze3k/f62KK6AbkWKwab7aEMGMo3U7R+vh0I=
+SIZE (SABnzbd-0.7.20-src.tar.gz) = 2389762
Index: news/sabnzbd//pkg/PLIST
===
RCS file: /cvs/ports/news/sabnzbd/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- news/sabnzbd//pkg/PLIST 20 May 2013 18:36:06 -  1.2
+++ news/sabnzbd//pkg/PLIST 23 Jan 2015 19:03:03 -
@@ -108,6 +108,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-de.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-en.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-es.tmpl
+lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-fi.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-fr.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-nb.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/badfetch-nl.tmpl
@@ -119,6 +120,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-de.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-en.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-es.tmpl
+lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-fi.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-fr.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-nb.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/email-nl.tmpl
@@ -130,6 +132,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-de.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-en.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-es.tmpl
+lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-fi.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-fr.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-nb.tmpl
 lib/python${MODPY_VERSION}/site-packages/sabnzbd/email/rss-nl.tmpl
@@ -355,10 +358,14 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/nav/rss-grey.png
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/nav/rss.png
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/sabnzbdplus.ico
+lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/sound16.png
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/sprite-config.png
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/sprite-main.png
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/sprite-tilex.png
 
lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/sprite-tiley.png
+lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/thumbdown20.png
+lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/images/thumbup20.png
+lib/python${MODPY_VERSION}/site-packages/sabnzbd/interfaces/Plush/templates/static/stylesheets/colorschemes/gold/imag

UPDATE: Smplayer-14.9.0.6690

2015-01-26 Thread Gonzalo L. Rodriguez
Hi,

Update for SMPlayer to 14.9.0.6690 (yeah... best version ever):

* We added support for mpv, which is a player based on mplayer with 
* Now it's possible to select a secondary subtitle track which is 
  displayed on top of the screen (mpv only).
* New option to set a template for screenshots (mpv only).
* Now it's possible to play videos from streaming sites (besides 
  Youtube) like DailyMotion, Vimeo, Vevo and many more (mpv only).
* Option to step back one frame (mpv only).

Test are welcome.

Cheers.-

-- 
Sending from my toaster.
Index: Makefile
===
RCS file: /cvs/ports/x11/smplayer/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- Makefile31 Oct 2014 13:51:36 -  1.18
+++ Makefile26 Jan 2015 18:55:43 -
@@ -2,7 +2,7 @@
 
 COMMENT =  complete front-end for MPlayer
 
-DISTNAME = smplayer-14.9.0
+DISTNAME = smplayer-14.9.0.6690
 
 CATEGORIES =   multimedia x11
 
@@ -24,6 +24,7 @@ EXTRACT_SUFX =.tar.bz2
 MODULES =  x11/qt4
 RUN_DEPENDS =  x11/mplayer>=20090708 \
devel/desktop-file-utils \
+   multimedia/mpv \
x11/gtk+2,-guic
 
 USE_GMAKE =Yes
Index: distinfo
===
RCS file: /cvs/ports/x11/smplayer/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo31 Oct 2014 13:51:36 -  1.9
+++ distinfo26 Jan 2015 18:55:43 -
@@ -1,2 +1,2 @@
-SHA256 (smplayer-14.9.0.tar.bz2) = QprU7dbfH87dXqT6KwJOtaYclBL1J2Lp2anCJFt93xM=
-SIZE (smplayer-14.9.0.tar.bz2) = 3716434
+SHA256 (smplayer-14.9.0.6690.tar.bz2) = 
Xsih0pEoKOmxn4AOM4Ap5nV/ww45dM9iohtn9GYyvFo=
+SIZE (smplayer-14.9.0.6690.tar.bz2) = 3813209
Index: patches/patch-Makefile
===
RCS file: /cvs/ports/x11/smplayer/patches/patch-Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 patch-Makefile
--- patches/patch-Makefile  24 Mar 2014 18:20:19 -  1.3
+++ patches/patch-Makefile  26 Jan 2015 18:55:43 -
@@ -1,6 +1,6 @@
 $OpenBSD: patch-Makefile,v 1.3 2014/03/24 18:20:19 gonzalo Exp $
 --- Makefile.orig  Thu Nov  1 19:42:16 2012
-+++ Makefile   Wed Jan 29 16:46:49 2014
 Makefile   Mon Jan 26 12:06:01 2015
 @@ -5,7 +5,7 @@ PREFIX=/usr/local
  CONF_PREFIX=$(PREFIX)
  
@@ -26,17 +26,7 @@ $OpenBSD: patch-Makefile,v 1.3 2014/03/2
  ifdef KDE_SUPPORT
  
  # KDE paths, change if necessary
-@@ -40,7 +31,8 @@ QMAKE_OPTS=DEFINES+=KDE_SUPPORT INCLUDEPATH+=$(KDE_INC
- endif
- 
- src/smplayer:
--  ./get_svn_revision.sh
-+# OpenBSD - this script doesnt work on OpenBSD and is not needed
-+# ./get_svn_revision.sh
-   +cd src && $(QMAKE) $(QMAKE_OPTS) && $(DEFS) make
-   cd src && $(LRELEASE) smplayer.pro
- 
-@@ -59,7 +51,7 @@ install: src/smplayer
+@@ -59,7 +50,7 @@ install: src/smplayer
install -m 644 Changelog *.txt $(DESTDIR)$(DOC_PATH)
  
-install -d $(DESTDIR)$(DOC_PATH)
@@ -45,7 +35,7 @@ $OpenBSD: patch-Makefile,v 1.3 2014/03/2
  
-install -d $(DESTDIR)$(SHORTCUTS_PATH)
cp src/shortcuts/* $(DESTDIR)$(SHORTCUTS_PATH)
-@@ -88,9 +80,9 @@ install: src/smplayer
+@@ -88,9 +79,9 @@ install: src/smplayer
-install -d $(DESTDIR)$(KDE_APPLNK)
install -m 644 smplayer.desktop $(DESTDIR)$(KDE_APPLNK)
install -m 644 smplayer_enqueue.desktop $(DESTDIR)$(KDE_APPLNK)
Index: patches/patch-src_preferences_cpp
===
RCS file: /cvs/ports/x11/smplayer/patches/patch-src_preferences_cpp,v
retrieving revision 1.5
diff -u -p -r1.5 patch-src_preferences_cpp
--- patches/patch-src_preferences_cpp   31 Oct 2014 13:51:36 -  1.5
+++ patches/patch-src_preferences_cpp   26 Jan 2015 18:55:43 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-src_preferences_cpp,v 1.5 2014/10/31 13:51:36 gonzalo Exp $
 src/preferences.cpp.orig   Sat Aug 30 19:28:56 2014
-+++ src/preferences.cppWed Oct 22 13:01:25 2014
-@@ -136,7 +136,7 @@ void Preferences::reset() {
+--- src/preferences.cpp.orig   Tue Jan 20 19:57:21 2015
 src/preferences.cppMon Jan 26 12:05:36 2015
+@@ -138,7 +138,7 @@ void Preferences::reset() {
softvol_max = 110; // 110 = default value in mplayer
use_scaletempo = Detect;
use_hwac3 = false;
@@ -10,7 +10,7 @@ $OpenBSD: patch-src_preferences_cpp,v 1.
  
global_volume = true;
volume = 50;
-@@ -164,8 +164,8 @@ void Preferences::reset() {
+@@ -166,8 +166,8 @@ void Preferences::reset() {
 Drives (CD/DVD)
 *** */
  
@@ -21,7 +21,7 @@ $OpenBSD: patch-src_preferences_cpp,v 1.
  #ifdef BLURAY_SUPPORT
bluray_device = "";
  #endif
-@@ -290,13 +290,13 @@ void Preferences::reset() {
+@@ -291,13 +291,13 @@ void Preferences::reset() {
  mplayer_additional_audi

Re: java and IPv6: java.net.SocketException: Protocol family unavailable

2015-01-26 Thread trondd
On 1/26/15, Sebastian Reitenbach  wrote:

>
> It seems, since it worked, java got updated, at least when it worked, I had
> the java version 7u65, now I have the 7u71.
> But don't know if the Java update might have caused the trouble, or
> something else in the IPv6 stack?
>
> I'm going to try build and installing the 7u65, in order to see if that
> helps.
>
> Does anyone else has luck with a current snapshot, java 7u71 and IPv6?
>
> Sebastian

A quick look at the JDK ports Makefile shows a separate "with_ipv6"
flavor.  Doesn't look like that flavor is built and published to
mirrors, though.  It might be broken or just not in high demand.  Not
sure.

If you are building from ports, make sure you build the right flavor.

Tim.



java and IPv6: java.net.SocketException: Protocol family unavailable

2015-01-26 Thread Sebastian Reitenbach
Hi,

a few weeks, maybe a few montsh ago, I had to prevent puppetdb to connect to 
IPv6, because I was not IPv6 ready ;)
Now, I explicitly want to connect to IPv6, but I get:



2015-01-26 19:14:27,907 INFO  [o.e.j.s.ServerConnector] Started 
ServerConnector@974121{HTTP/1.1}{localhost:8080}
2015-01-26 19:14:28,058 WARN  [o.e.j.u.c.AbstractLifeCycle] FAILED 
ServerConnector@1ef8a98{SSL-HTTP/1.1}{:::8081}: java.net.SocketException: 
Protocol family unavailable
java.net.SocketException: Protocol family unavailable
at sun.nio.ch.Net.bind0(Native Method) ~[na:1.7.0_71]
at sun.nio.ch.Net.bind(Net.java:444) ~[na:1.7.0_71]
at sun.nio.ch.Net.bind(Net.java:436) ~[na:1.7.0_71]
at 
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214) 
~[na:1.7.0_71]
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) 
~[na:1.7.0_71]
at 
org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:279) 
~[puppetdb.jar:na]
at 
org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
 ~[puppetdb.jar:na]
at 
org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:218) 
~[puppetdb.jar:na]
at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)
 [puppetdb.jar:na]
at org.eclipse.jetty.server.Server.doStart(Server.java:336) 
[puppetdb.jar:na]
at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)
 [puppetdb.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[na:1.7.0_71]
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
~[na:1.7.0_71]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[na:1.7.0_71]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_71]
...

Same is true with activemq, I don't get it to listen to IPv6, for the same 
reason given: java.net.SocketException: Protocol family unavailable

Some googling, I found the parameter -Djava.net.preferIPv6Addresses=true but 
that doesn't help.

It seems, since it worked, java got updated, at least when it worked, I had the 
java version 7u65, now I have the 7u71.
But don't know if the Java update might have caused the trouble, or something 
else in the IPv6 stack?

I'm going to try build and installing the 7u65, in order to see if that helps.

Does anyone else has luck with a current snapshot, java 7u71 and IPv6?

Sebastian

OpenBSD 5.7-beta (GENERIC) #679: Thu Jan 22 15:40:48 MST 2015
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: VIA Eden Processor 1200MHz ("CentaurHauls" 686-class) 1.21 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,APIC,SEP,MTRR,PGE,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE,NXE,SSE3,EST,TM2,xTPR
real mem  = 1004945408 (958MB)
avail mem = 976191488 (930MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 06/26/09, BIOS32 rev. 0 @ 0xfa430, SMBIOS rev. 2.3 @ 
0xf (34 entries)
bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 06/26/2009
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP _HPT _WDT APIC
acpi0: wakeup devices PCI0(S5) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) 
USB5(S3) USB6(S3) USB7(S3) LAN0(S5) AC97(S5) UAR1(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: RNG AES AES-CTR SHA1 SHA256 RSA
cpu0: apic clock running at 99MHz
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 3, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C3, C2, PSS
acpitz0 at acpi0: critical temperature is 127 degC
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc/0x1 0xd/0x2800
cpu0: Enhanced SpeedStep 1201 MHz: speeds: 1200, 400 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "VIA CN700 Host" rev 0x00
viaagp0 at pchb0: v3
agp0 at viaagp0: aperture at 0xe800, size 0x1000
pchb1 at pci0 dev 0 function 1 "VIA CN700 Host" rev 0x00
pchb2 at pci0 dev 0 function 2 "VIA CN700 Host" rev 0x00
pchb3 at pci0 dev 0 function 3 "VIA PT890 Host" rev 0x00
pchb4 at pci0 dev 0 function 4 "VIA CN700 Host" rev 0x00
pchb5 at pci0 dev 0 function 7 "VIA CN700 Host" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "VIA S3 Unichrome PRO IGP" rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pciide0 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA
pciide0: using apic 2 int 20 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
pciide1 at pci0 dev 15 function

Re: claws-mail: stop using encrypt()

2015-01-26 Thread Kevin Chadwick
On Mon, 12 Jan 2015 22:49:00 +0100
Landry Breuil wrote:

> > Sorry for that.
> > And yes I'm running claws with this diff and it reads and writes my old 
> > config
> > file just fine, since Jan 4 now.  
> 
> Thanks, commited!

Since I updated to the Jan 18th snapshot I have had the password field
of the first used account (maybe last used before close) get overwritten
with "A"s in accountrc but it only happens occasionally.

password=!b+lVQCP/

I've uchg accountrc as a workaround



Re: x11/keynav update

2015-01-26 Thread Landry Breuil
On Mon, Jan 26, 2015 at 01:04:55PM +0100, Jérémie Courrèges-Anglas wrote:
> Landry Breuil  writes:
> 
> > On Mon, Jan 26, 2015 at 10:10:35AM +0100, Jérémie Courrèges-Anglas wrote:
> >> 
> >> Hi,
> >> 
> >> keynav now depends on glib2, cairo and x11/xdotool (the previous version
> >> included its own libxdo copy - same upstream).  Makefile patching not
> >> needed if we use MAKE_FLAGS.  Add an EPOCH bump and a segfault fix while
> >> here.
> >
> > Iirc there used to be working tests in the previous version, they got
> > removed ?
> 
> I can't see those tests here.  The -current Makefile has NO_TEST=Yes,
> this update doesn't change this fact.

Right, i probably remembered wrong, that might be xdotool which has
tests..

> 
> ajacoutot@ pointed out that this port should include the gettext module
> ('intl' in WANTLIB).  It doesn't depend on gettext being a direct or
> indirect dependency of keynav.  This point had always be unclear to me.
> 
> Updated version that adds the gettext module and updates WANTLIB.
> 
> ok?

ok



Re: x11/keynav update

2015-01-26 Thread Jérémie Courrèges-Anglas
Landry Breuil  writes:

> On Mon, Jan 26, 2015 at 10:10:35AM +0100, Jérémie Courrèges-Anglas wrote:
>> 
>> Hi,
>> 
>> keynav now depends on glib2, cairo and x11/xdotool (the previous version
>> included its own libxdo copy - same upstream).  Makefile patching not
>> needed if we use MAKE_FLAGS.  Add an EPOCH bump and a segfault fix while
>> here.
>
> Iirc there used to be working tests in the previous version, they got
> removed ?

I can't see those tests here.  The -current Makefile has NO_TEST=Yes,
this update doesn't change this fact.

ajacoutot@ pointed out that this port should include the gettext module
('intl' in WANTLIB).  It doesn't depend on gettext being a direct or
indirect dependency of keynav.  This point had always be unclear to me.

Updated version that adds the gettext module and updates WANTLIB.

ok?

Index: Makefile
===
RCS file: /cvs/ports/x11/keynav/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile7 Aug 2013 21:33:04 -   1.7
+++ Makefile26 Jan 2015 11:51:51 -
@@ -1,10 +1,9 @@
 # $OpenBSD: Makefile,v 1.7 2013/08/07 21:33:04 naddy Exp $
 
-COMMENT=   turns your keyboard into an fast pointer mover
+COMMENT=   turns your keyboard into a fast pointer mover
 
-DISTNAME=  keynav-20080614.01
-PKGNAME=   ${DISTNAME:S/.//}
-REVISION=  1
+DISTNAME=  keynav-0.20101014.3067
+EPOCH= 0
 
 CATEGORIES=x11
 
@@ -15,11 +14,17 @@ PERMIT_PACKAGE_CDROM=   Yes
 
 MASTER_SITES=  https://semicomplete.googlecode.com/files/
 
-WANTLIB=   X11 Xau Xdmcp Xext Xtst c pthread-stubs xcb
-NO_TEST=   Yes
+WANTLIB += X11 Xext Xinerama c cairo glib-2.0 pthread xdo
+
+MODULES=   devel/gettext
+LIB_DEPENDS=   devel/glib2 \
+   graphics/cairo \
+   x11/xdotool
 
-pre-configure:
-   ${SUBST_CMD} ${WRKSRC}/Makefile
+MAKE_FLAGS=CFLAGS="$$(pkg-config --cflags cairo-xlib xinerama glib-2.0) 
${CFLAGS}" \
+   LDFLAGS="$$(pkg-config --libs cairo-xlib xinerama glib-2.0) 
${LDFLAGS}"
+
+NO_TEST=   Yes
 
 do-install:
${INSTALL_PROGRAM} ${WRKSRC}/keynav ${PREFIX}/bin
Index: distinfo
===
RCS file: /cvs/ports/x11/keynav/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo18 Jan 2015 03:15:57 -  1.2
+++ distinfo25 Jan 2015 23:45:10 -
@@ -1,2 +1,2 @@
-SHA256 (keynav-20080614.01.tar.gz) = 
con/SPShyRvaXBcA4ukxFHvO9BaEb7mQ+3hmLf0Z2EE=
-SIZE (keynav-20080614.01.tar.gz) = 26300
+SHA256 (keynav-0.20101014.3067.tar.gz) = 
UwwUsF2PfH2wcjkR7CdFmmAuSX1ZYJzrSZsx3E/AVxY=
+SIZE (keynav-0.20101014.3067.tar.gz) = 20968
Index: patches/patch-Makefile
===
RCS file: patches/patch-Makefile
diff -N patches/patch-Makefile
--- patches/patch-Makefile  6 Jun 2009 04:53:39 -   1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,26 +0,0 @@
-$OpenBSD: patch-Makefile,v 1.2 2009/06/06 04:53:39 ajacoutot Exp $
 Makefile.orig  Fri Jun  5 22:27:03 2009
-+++ Makefile   Fri Jun  5 22:31:54 2009
-@@ -1,5 +1,5 @@
--CFLAGS=`pkg-config --cflags x11 xtst 2> /dev/null || echo 
-I/usr/X11R6/include -I/usr/local/include`
--LDFLAGS=`pkg-config --libs x11 xtst 2> /dev/null || echo -L/usr/X11R6/lib 
-L/usr/local/lib -lX11 -lXtst` 
-+CFLAGS+=`pkg-config --cflags x11 xtst 2> /dev/null || echo 
-I${X11BASE}/include -I${LOCALBASE}/include`
-+LDFLAGS+=`pkg-config --libs x11 xtst 2> /dev/null || echo -L${X11BASE}/lib 
-L${LOCALBASE}/lib -lX11 -lXtst` 
- 
- #CFLAGS+=-g
- OTHERFILES=README CHANGELIST COPYRIGHT \
-@@ -13,12 +13,8 @@ clean:
-   rm *.o || true;
-   make -C xdotool clean || true
- 
--keynav: xdo.o keynav.o
--  gcc $(LDFLAGS) xdo.o keynav.o -o $@
--
--xdo.o:
--  make -C xdotool xdo.o
--  cp xdotool/xdo.o .
-+keynav:
-+  ${CC} ${CFLAGS} xdotool/xdo.c keynav.c ${LDFLAGS} -o $@
- 
- package: clean
-   NAME=keynav-`date +%Y%m%d`.$(MICROVERSION); \
Index: patches/patch-keynav_c
===
RCS file: patches/patch-keynav_c
diff -N patches/patch-keynav_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-keynav_c  26 Jan 2015 00:39:52 -
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- keynav.c.orig  Wed Oct 13 09:27:51 2010
 keynav.c   Mon Jan 26 01:39:45 2015
+@@ -526,7 +526,7 @@ int parse_config_line(char *orig_line) {
+ 
+   tokctx = line;
+   keyseq = strdup(strtok_r(line, " ", &tokctx));
+-  commands = strdup(tokctx);
++  commands = (tokctx != NULL) ? strdup(tokctx) : NULL;
+ 
+   /* A special config option that will clear all keybindings */
+   if (strcmp(keyseq, "clear") == 0) {


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



Re: CVS: cvs.openbsd.org: ports

2015-01-26 Thread Vadim Zhukov
26 янв. 2015 г. 13:05 пользователь "Stuart Henderson" 
написал:
>
> On 2015/01/24 03:56, Vadim Zhukov wrote:
> > CVSROOT:  /cvs
> > Module name:  ports
> > Changes by:   z...@cvs.openbsd.org2015/01/24 03:56:43
> >
> > Modified files:
> >   graphics/opencv: Makefile distinfo
> >   graphics/opencv/patches: patch-CMakeLists_txt
> >patch-apps_haartraining_CMakeLists_txt
> >patch-cmake_OpenCVFindLibsVideo_cmake
> >   graphics/opencv/pkg: PLIST-docs PLIST-java PLIST-main
> >
> > Log message:
> > Update OpenCV to 2.4.10, mostly from Rafael Sadowski (MAINTAINER).
> >
> > This switches the whole package to PIC (from PIE) due to problems with
> > inline assembly and build system specifics. Since OpenCV is used mostly
> > as a library, this shouldn't be a big problem.
> >
>
> This is broken on i386.
>
> /usr/obj/ports/opencv-2.4.10/opencv-2.4.10/modules/core/src/system.cpp:
In function 'void __static_initialization_and_destruction_0(int, int)':
>
/usr/obj/ports/opencv-2.4.10/opencv-2.4.10/modules/core/src/system.cpp:280:
error: can't find a register in class 'BREG' while reloading 'asm'
>
> Please be more careful with commits everyone. We are close to lock.
> If you break things you _might not have chance to fix them_.
> If in doubt, don't commit!

Shouldn't be, I specially verified build there - got the same error first
time, and this error was gone with switching to -fPIC... I'll recheck in
the evening, and revert if there will be no quick fix.

--
Vadim Zhukov


Re: CVS: cvs.openbsd.org: ports

2015-01-26 Thread Stuart Henderson
On 2015/01/24 03:56, Vadim Zhukov wrote:
> CVSROOT:  /cvs
> Module name:  ports
> Changes by:   z...@cvs.openbsd.org2015/01/24 03:56:43
> 
> Modified files:
>   graphics/opencv: Makefile distinfo 
>   graphics/opencv/patches: patch-CMakeLists_txt 
>patch-apps_haartraining_CMakeLists_txt 
>patch-cmake_OpenCVFindLibsVideo_cmake 
>   graphics/opencv/pkg: PLIST-docs PLIST-java PLIST-main 
> 
> Log message:
> Update OpenCV to 2.4.10, mostly from Rafael Sadowski (MAINTAINER).
> 
> This switches the whole package to PIC (from PIE) due to problems with
> inline assembly and build system specifics. Since OpenCV is used mostly
> as a library, this shouldn't be a big problem.
> 

This is broken on i386.

/usr/obj/ports/opencv-2.4.10/opencv-2.4.10/modules/core/src/system.cpp: In 
function 'void __static_initialization_and_destruction_0(int, int)':
/usr/obj/ports/opencv-2.4.10/opencv-2.4.10/modules/core/src/system.cpp:280: 
error: can't find a register in class 'BREG' while reloading 'asm'

Please be more careful with commits everyone. We are close to lock.
If you break things you _might not have chance to fix them_.
If in doubt, don't commit!



Re: x11/keynav update

2015-01-26 Thread Landry Breuil
On Mon, Jan 26, 2015 at 10:10:35AM +0100, Jérémie Courrèges-Anglas wrote:
> 
> Hi,
> 
> keynav now depends on glib2, cairo and x11/xdotool (the previous version
> included its own libxdo copy - same upstream).  Makefile patching not
> needed if we use MAKE_FLAGS.  Add an EPOCH bump and a segfault fix while
> here.

Iirc there used to be working tests in the previous version, they got
removed ?

Landry



x11/keynav update

2015-01-26 Thread Jérémie Courrèges-Anglas

Hi,

keynav now depends on glib2, cairo and x11/xdotool (the previous version
included its own libxdo copy - same upstream).  Makefile patching not
needed if we use MAKE_FLAGS.  Add an EPOCH bump and a segfault fix while
here.

ok?

Index: Makefile
===
RCS file: /cvs/ports/x11/keynav/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile7 Aug 2013 21:33:04 -   1.7
+++ Makefile26 Jan 2015 08:40:36 -
@@ -1,10 +1,9 @@
 # $OpenBSD: Makefile,v 1.7 2013/08/07 21:33:04 naddy Exp $
 
-COMMENT=   turns your keyboard into an fast pointer mover
+COMMENT=   turns your keyboard into a fast pointer mover
 
-DISTNAME=  keynav-20080614.01
-PKGNAME=   ${DISTNAME:S/.//}
-REVISION=  1
+DISTNAME=  keynav-0.20101014.3067
+EPOCH= 0
 
 CATEGORIES=x11
 
@@ -15,11 +14,16 @@ PERMIT_PACKAGE_CDROM=   Yes
 
 MASTER_SITES=  https://semicomplete.googlecode.com/files/
 
-WANTLIB=   X11 Xau Xdmcp Xext Xtst c pthread-stubs xcb
-NO_TEST=   Yes
+WANTLIB += X11 Xext Xinerama c cairo glib-2.0 intl pthread xdo
+
+LIB_DEPENDS=   devel/glib2 \
+   graphics/cairo \
+   x11/xdotool
 
-pre-configure:
-   ${SUBST_CMD} ${WRKSRC}/Makefile
+MAKE_FLAGS=CFLAGS="$$(pkg-config --cflags cairo-xlib xinerama glib-2.0) 
${CFLAGS}" \
+   LDFLAGS="$$(pkg-config --libs cairo-xlib xinerama glib-2.0) 
${LDFLAGS}"
+
+NO_TEST=   Yes
 
 do-install:
${INSTALL_PROGRAM} ${WRKSRC}/keynav ${PREFIX}/bin
Index: distinfo
===
RCS file: /cvs/ports/x11/keynav/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo18 Jan 2015 03:15:57 -  1.2
+++ distinfo25 Jan 2015 23:45:10 -
@@ -1,2 +1,2 @@
-SHA256 (keynav-20080614.01.tar.gz) = 
con/SPShyRvaXBcA4ukxFHvO9BaEb7mQ+3hmLf0Z2EE=
-SIZE (keynav-20080614.01.tar.gz) = 26300
+SHA256 (keynav-0.20101014.3067.tar.gz) = 
UwwUsF2PfH2wcjkR7CdFmmAuSX1ZYJzrSZsx3E/AVxY=
+SIZE (keynav-0.20101014.3067.tar.gz) = 20968
Index: patches/patch-Makefile
===
RCS file: patches/patch-Makefile
diff -N patches/patch-Makefile
--- patches/patch-Makefile  6 Jun 2009 04:53:39 -   1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,26 +0,0 @@
-$OpenBSD: patch-Makefile,v 1.2 2009/06/06 04:53:39 ajacoutot Exp $
 Makefile.orig  Fri Jun  5 22:27:03 2009
-+++ Makefile   Fri Jun  5 22:31:54 2009
-@@ -1,5 +1,5 @@
--CFLAGS=`pkg-config --cflags x11 xtst 2> /dev/null || echo 
-I/usr/X11R6/include -I/usr/local/include`
--LDFLAGS=`pkg-config --libs x11 xtst 2> /dev/null || echo -L/usr/X11R6/lib 
-L/usr/local/lib -lX11 -lXtst` 
-+CFLAGS+=`pkg-config --cflags x11 xtst 2> /dev/null || echo 
-I${X11BASE}/include -I${LOCALBASE}/include`
-+LDFLAGS+=`pkg-config --libs x11 xtst 2> /dev/null || echo -L${X11BASE}/lib 
-L${LOCALBASE}/lib -lX11 -lXtst` 
- 
- #CFLAGS+=-g
- OTHERFILES=README CHANGELIST COPYRIGHT \
-@@ -13,12 +13,8 @@ clean:
-   rm *.o || true;
-   make -C xdotool clean || true
- 
--keynav: xdo.o keynav.o
--  gcc $(LDFLAGS) xdo.o keynav.o -o $@
--
--xdo.o:
--  make -C xdotool xdo.o
--  cp xdotool/xdo.o .
-+keynav:
-+  ${CC} ${CFLAGS} xdotool/xdo.c keynav.c ${LDFLAGS} -o $@
- 
- package: clean
-   NAME=keynav-`date +%Y%m%d`.$(MICROVERSION); \
Index: patches/patch-keynav_c
===
RCS file: patches/patch-keynav_c
diff -N patches/patch-keynav_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-keynav_c  26 Jan 2015 00:39:52 -
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- keynav.c.orig  Wed Oct 13 09:27:51 2010
 keynav.c   Mon Jan 26 01:39:45 2015
+@@ -526,7 +526,7 @@ int parse_config_line(char *orig_line) {
+ 
+   tokctx = line;
+   keyseq = strdup(strtok_r(line, " ", &tokctx));
+-  commands = strdup(tokctx);
++  commands = (tokctx != NULL) ? strdup(tokctx) : NULL;
+ 
+   /* A special config option that will clear all keybindings */
+   if (strcmp(keyseq, "clear") == 0) {


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