CVS: cvs.openbsd.org: ports

2012-02-18 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2012/02/18 01:32:54

Modified files:
multimedia/gstreamer-0.10/plugins-ffmpeg: Makefile 
Added files:
multimedia/gstreamer-0.10/plugins-ffmpeg/patches: 
  
patch-ext_ffmpeg_gstffmpegdec_c 
  
patch-ext_ffmpeg_gstffmpegdemux_c 

Log message:
Several fixes from upstream:
- Report latency if B-frames are present.
- Give the (E)AC3/DTS decoders a rank of marginal.
- Only set get_buffer() function for video.
- Demote SWF demuxer to GST_RANK_NONE.

from Brad



CVS: cvs.openbsd.org: ports

2012-02-18 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2012/02/18 02:08:16

Modified files:
print/a2ps : Makefile 
print/a2ps/pkg : DESCR 
print/mpage: Makefile 
print/mpage/pkg: DESCR 
print/psutils  : Makefile 
print/psutils/pkg: DESCR 

Log message:
Tweak DESCR after recent FLAVORs change.



CVS: cvs.openbsd.org: ports

2012-02-18 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2012/02/18 04:09:15

Modified files:
x11/gnome/gvfs : Makefile 
Removed files:
x11/gnome/gvfs/patches: patch-client_gdaemonfileinputstream_c 
patch-client_gdaemonfileoutputstream_c 

Log message:
Remove horrible uthreads hack.



CVS: cvs.openbsd.org: ports

2012-02-18 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2012/02/18 04:24:44

Modified files:
x11/awesome: Makefile 
x11/awesome/patches: patch-lib_awful_util_lua_in 

Log message:
Bye bye uthreads hack.



CVS: cvs.openbsd.org: ports

2012-02-18 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2012/02/18 09:40:18

Modified files:
www/nginx  : Makefile distinfo 

Log message:
update to nginx 1.0.12, ok william@



CVS: cvs.openbsd.org: ports

2012-02-18 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2012/02/18 09:58:56

Modified files:
mail/gmime : Makefile distinfo 
mail/gmime/pkg : PLIST-main 

Log message:
Update to gmime-2.6.5.



CVS: cvs.openbsd.org: ports

2012-02-18 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2012/02/18 10:02:22

Modified files:
devel/glib2: Makefile 

Log message:
Use autoreconf instead of manually using each autohell script one after the
other. Add missing BUILD_DEPENDS on libtool.

from Brad



CVS: cvs.openbsd.org: ports

2012-02-18 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2012/02/18 11:19:14

Modified files:
x11/gnome  : gnome.port.mk 

Log message:
Add --disable-vala-bindings to the default MODGNOME_CONFIGURE_ARGS_vala.



CVS: cvs.openbsd.org: ports

2012-02-18 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2012/02/18 11:40:18

Modified files:
mail/evolution : Makefile 
x11/gnome/tracker: Makefile 
x11/gnome/libgda: Makefile 

Log message:
Extend+sync comment about VERSION sync.



CVS: cvs.openbsd.org: ports

2012-02-18 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2012/02/18 11:48:21

Modified files:
infrastructure/man/man1: register-plist.1 

Log message:
make it more obvious that PLIST_DB uses that.



CVS: cvs.openbsd.org: ports

2012-02-18 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2012/02/18 15:04:23

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

Log message:
handle gpsbabel-gui - gpsbabel-tk



CVS: cvs.openbsd.org: ports

2012-02-18 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2012/02/18 15:04:08

Modified files:
geo/gpsbabel   : Makefile distinfo 
geo/gpsbabel/patches: patch-Makefile_in patch-configure_in 
  patch-guibabel 
geo/gpsbabel/pkg: PLIST-main 
Added files:
geo/gpsbabel/patches: patch-gui_serial_unix_cpp 
geo/gpsbabel/pkg: DESCR-qt DESCR-tk PLIST-qt PLIST-tk 
Removed files:
geo/gpsbabel/pkg: DESCR-gui PLIST-gui 

Log message:
update to gpsbabel 1.4.3 from Kyrill Bychkov, maintainer timeout ~1month
- support new file formats
- adds new Qt gui
- don't hardcode dependency on Tcl/Tk 8.4 for the Tk gui



CVS: cvs.openbsd.org: ports

2012-02-18 Thread Robert Nagy
CVSROOT:/cvs
Module name:ports
Changes by: rob...@cvs.openbsd.org  2012/02/18 15:22:41

Modified files:
editors/libreoffice: Makefile 

Log message:
set ncpu to 0 in a non-parallel build



CVS: cvs.openbsd.org: ports

2012-02-18 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2012/02/18 16:05:40

Modified files:
net/telepathy/folks: Makefile 
Added files:
net/telepathy/folks/pkg: DESCR-main DESCR-tracker PLIST-main 
 PLIST-tracker 
Removed files:
net/telepathy/folks/pkg: DESCR PLIST 

Log message:
Add a -tracker subpackage for the tracker backend.



CVS: cvs.openbsd.org: ports

2012-02-18 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2012/02/18 16:06:17

Modified files:
x11/gnome/contacts: Makefile 
x11/gnome/empathy: Makefile 

Log message:
Bump after folks subpackaging.



CVS: cvs.openbsd.org: ports

2012-02-18 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2012/02/18 16:07:18

Modified files:
meta/gnome : Makefile 

Log message:
Add net/telepathy/folks,-tracker to gnome-extras RUN_DEPENDS.



CVS: cvs.openbsd.org: ports

2012-02-18 Thread Benoit Lecocq
CVSROOT:/cvs
Module name:ports
Changes by: ben...@cvs.openbsd.org  2012/02/19 00:23:42

Modified files:
graphics/pngcrush: Makefile distinfo 

Log message:
- update pngcrush to 1.7.25



Re: geo/gpsbabel update

2012-02-18 Thread Kirill Bychkov
Hi. Ports tree is unlocked, so I'm sending a diff once again. Now it's update
to 1.4.3. Also tested with qlandkartegt.
OK to commit?

On Wed, February 1, 2012 23:30, Kirill Bychkov wrote:
 This patch updates gpsbabel to one of the latest stable versions (1.4.2),
adds Qt-gui subpackage, disables hardcoding of Tk version (works with both
8.4 and 8.5) and removes gmake from dependencies, as it's not needed (even
for 1.3.6 building).

 There were a lot of changes since 2008 - support of new file formats,
translations, new Qt-GUI, fixes. Full list of changes could be found there
http://www.gpsbabel.org/changes.html

 CLI and Qt-GUI were tested on amd64 with Garmin eTrex Summit, connected via
serial port. geo/viking also works fine. OK to commit now or this should
wait unlock?

 Is it OK to use gentoo mirror, or I should mirror distfile on my own server?

 Patch was send to maintainer at 15.01, but I have no response from Chris.


Index: Makefile
===
RCS file: /cvs/ports/geo/gpsbabel/Makefile,v
retrieving revision 1.20
diff -u -p -r1.20 Makefile
--- Makefile13 Nov 2011 13:54:04 -  1.20
+++ Makefile2 Feb 2012 11:12:36 -
@@ -1,29 +1,27 @@
 # $OpenBSD: Makefile,v 1.20 2011/11/13 13:54:04 ajacoutot Exp $

 COMMENT-main=  GPS waypoint, track, and route conversion tool
-COMMENT-gui=   Tk front-end to gpsbabel
+COMMENT-tk=Tk front-end to gpsbabel
+COMMENT-qt=Qt front-end to gpsbabel

-VERSION=   1.3.6
+VERSION=   1.4.3
 DISTNAME=  gpsbabel-${VERSION}
 PKGNAME-main=  gpsbabel-${VERSION}
-PKGNAME-gui=   gpsbabel-gui-${VERSION}
-REVISION-main =0
-REVISION-gui = 0
+PKGNAME-tk=gpsbabel-tk-${VERSION}
+PKGNAME-qt=gpsbabel-qt-${VERSION}
 CATEGORIES=geo

 HOMEPAGE=  http://www.gpsbabel.org/

 MAINTAINER=Chris Kuethe ckue...@openbsd.org

-# GPL
+# GPLv2
 PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=Yes
 PERMIT_DISTFILES_CDROM=Yes
 PERMIT_DISTFILES_FTP=  Yes

-#MASTER_SITES= ${HOMEPAGE}
-MASTER_SITES=  http://comstyle.com/source/ \
-   ftp://quatramaran.ens.fr/pub/espie/
+MASTER_SITES=  http://www.linklevel.net/distfiles/

 AUTOCONF_VERSION=  2.61
 CONFIGURE_STYLE=   autoconf
@@ -37,11 +35,9 @@ CONFIGURE_ENV+=  CPPFLAGS=-I${LOCALBASE
LDFLAGS=-L${LOCALBASE}/lib \
WEB=${WRKSRC}

-USE_GMAKE= Yes
-MULTI_PACKAGES=-main -gui
+MULTI_PACKAGES=-main -tk -qt

-MODULES=   x11/tk
-MODTK_VERSION= 8.4
+MODULES=   x11/tk x11/qt4

 BUILD_DEPENDS= textproc/libxslt \
textproc/docbook \
@@ -49,18 +45,31 @@ BUILD_DEPENDS=  textproc/libxslt \
 LIB_DEPENDS-main=  devel/libusb-compat \
devel/shapelib

-WANTLIB-main=  expat m c z usb shp=1 pthread
-
-LIB_DEPENDS-gui=
-PKG_ARCH-gui=  *
-RUN_DEPENDS-gui=   geo/gpsbabel \
+cWANTLIB = c m pthread
+WANTLIB-main += expat shp=1 usb z ${cWANTLIB}
+WANTLIB-tk =
+WANTLIB-qt += ICE QtCore QtGui QtNetwork QtWebKit QtXml SM X11 Xext Xi
+WANTLIB-qt += Xinerama Xrender fontconfig freetype stdc++ ${cWANTLIB}
+
+LIB_DEPENDS-tk=
+PKG_ARCH-tk=   *
+RUN_DEPENDS-tk=geo/gpsbabel \
${MODTK_RUN_DEPENDS}
+RUN_DEPENDS-qt=geo/gpsbabel

+pre-configure:
+   ${SUBST_CMD} ${WRKSRC}/guibabel
+post-configure:
+   cd ${WRKSRC}/gui  ${SETENV} ${CONFIGURE_ENV} qmake4 \
+   app.pro
 post-build:
-   gmake -C ${WRKSRC} doc
+   cd ${WRKSRC}  make doc
+   cd ${WRKSRC}/gui  make

 do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gpsbabel ${PREFIX}/bin
+   ${INSTALL_PROGRAM} ${WRKSRC}/gui/objects/gpsbabelfe-bin \
+   ${PREFIX}/bin/guibabel-qt
${INSTALL_SCRIPT} ${WRKSRC}/guibabel ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gpsbabel
${INSTALL_DATA} ${WRKSRC}/babelweb/htmldoc-*/*.html \
Index: distinfo
===
RCS file: /cvs/ports/geo/gpsbabel/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo31 Aug 2009 22:48:17 -  1.6
+++ distinfo2 Feb 2012 11:12:36 -
@@ -1,5 +1,5 @@
-MD5 (gpsbabel-1.3.6.tar.gz) = FXGzH48G9yKZVEnb/wHKSQ==
-RMD160 (gpsbabel-1.3.6.tar.gz) = 20BeAg+0NA2n9ArPJm4nqJMwrZQ=
-SHA1 (gpsbabel-1.3.6.tar.gz) = j/huNWU5ykk7M1J7kQMq2ztFKng=
-SHA256 (gpsbabel-1.3.6.tar.gz) = CL1dBPyT/hjMxYDyI8xVG94dWBcj/Z+S+RtI3dilqbY=
-SIZE (gpsbabel-1.3.6.tar.gz) = 6637505
+MD5 (gpsbabel-1.4.3.tar.gz) = kW9+Ek9t+RGiTh6jI+nFKQ==
+RMD160 (gpsbabel-1.4.3.tar.gz) = n/L+4X6Xj+ckjRwNRf8cf/43ddE=
+SHA1 (gpsbabel-1.4.3.tar.gz) = vWJm7u84dV1J5twXMwtYxo5aMtc=
+SHA256 

Re: xcursor-themes updated intructions

2012-02-18 Thread Matthieu Herrb
On Wed, Feb 15, 2012 at 07:45:14AM +1100, Brett wrote:
 Hi,
 While installing xcursor-themes I noticed that the config instructions
 at  are out-of-date. The path specified does not
 exist when this port is built.

${PREFIX} is supposed to be the path where ports are installed
(/usr/local by default). The policy is to not hard-code /usr/local in
port files.

~/.icons doesn't need to exist, but it's the freedesktop standard
location inside ${HOME} where applications will put additionnal
cursors when not installed globally.

 Also the instructions say to use the
 XCURSOR_SIZE environment variable to change the pointer size, but (at
 least when using jwm) it does nothing. Changing Xcursor.size in
 ~/.Xdefaults does work though.

XCURSOR_SIZE only affects the size of the cursor in applications
started with the new value. It doesn't change the size of existing
cursors. But when used correctly it definatly does work. 

So I've nothing against a patch that adds the fact that the
Xcursor.size resource can be used, but I don't want to remove the env
var documentation.

 
 
 Index: ports/x11/xcursor-themes/pkg/DESCR
 ===
 RCS file: /usr/cvsync/ports/x11/xcursor-themes/pkg/DESCR,v
 retrieving revision 1.2
 diff -u -r1.2 DESCR
 --- ports/x11/xcursor-themes/pkg/DESCR15 Apr 2010 14:34:12 -  
 1.2
 +++ ports/x11/xcursor-themes/pkg/DESCR14 Feb 2012 20:38:32 -
 @@ -6,7 +6,7 @@
  
  To use the new cursors 
  - set the environment variable XCURSOR_PATH to 
 -  ~/.icons:${PREFIX}/lib/X11/icons
 +  /usr/local/lib/X11/icons
  
  - either :
a) set the XCURSOR_THEME environment variable to one of the theme names 
 @@ -18,5 +18,5 @@
 Inherits=whiteglass
 -- Cut --
  
 -The XCURSOR_SIZE environment variable can be used to set the size of
 -the cursors. 
 +The size of the cursors can be changed by adding the line Xcursor.size: 
 +value to ~/.Xdefaults, where value is a pixel size (eg 32 or 48).

-- 
Matthieu Herrb



Re: xcursor-themes updated intructions

2012-02-18 Thread Brett
On Sat, 18 Feb 2012 11:28:50 +0100
Matthieu Herrb matthieu.he...@laas.fr wrote:

 On Wed, Feb 15, 2012 at 07:45:14AM +1100, Brett wrote:
  Hi,
  While installing xcursor-themes I noticed that the config instructions
  at  are out-of-date. The path specified does not
  exist when this port is built.

[...]

  Also the instructions say to use the
  XCURSOR_SIZE environment variable to change the pointer size, but (at
  least when using jwm) it does nothing. Changing Xcursor.size in
  ~/.Xdefaults does work though.
 
 XCURSOR_SIZE only affects the size of the cursor in applications
 started with the new value. It doesn't change the size of existing
 cursors. But when used correctly it definatly does work. 
 
 So I've nothing against a patch that adds the fact that the
 Xcursor.size resource can be used, but I don't want to remove the env
 var documentation.
 

Originally I installed the ports and updated XCURSOR_PATH, XCURSOR_THEME, and 
XCURSOR_SIZE in ~/.profile, then logged out of x with ctrl+alt+backspace, and 
startxd back in. The cursor size did not change for me until I used the 
.Xdefault method. But most likely it was some mistake on my part.

How about this diff, incorporating Matthieu's above reply:


Index: ports/x11/xcursor-themes/pkg/DESCR
===
RCS file: /cvs/ports/x11/xcursor-themes/pkg/DESCR,v
retrieving revision 1.2
diff -u -r1.2 DESCR
--- ports/x11/xcursor-themes/pkg/DESCR  15 Apr 2010 14:34:12 -  1.2
+++ ports/x11/xcursor-themes/pkg/DESCR  18 Feb 2012 11:18:49 -
@@ -5,8 +5,8 @@
 to the traditional X server core cursors. 
 
 To use the new cursors 
-- set the environment variable XCURSOR_PATH to 
-  ~/.icons:${PREFIX}/lib/X11/icons
+- set the environment variable XCURSOR_PATH to ~/.icons (the freedesktop
+  standard location) or ${PREFIX}/lib/X11/icons
 
 - either :
   a) set the XCURSOR_THEME environment variable to one of the theme names 
@@ -18,5 +18,7 @@
Inherits=whiteglass
-- Cut --
 
-The XCURSOR_SIZE environment variable can be used to set the size of
-the cursors. 
+The size of the cursor can be controlled by either:
+  a) setting the CURSOR_SIZE environment variable 
+  b) adding the line Xcursor.size: value to ~/.Xdefaults
+ where value is a pixel size (eg 24, 32 or 48).



Re: android sdk on openbsd

2012-02-18 Thread Илья Шипицин
That worth publishing at undeadly.org, I think
16.02.2012 4:57 пользователь frantisek holop min...@obiit.org написал:

 hi there,

 i wanted to try at least a hello world on android.
 so i installed some linux on a usb stick to use as a
 mobile development environment.  it went rather well,
 using the official hello world tutorial, eclipse and ADT.

 but eclipse is not my thing really and as many components
 needed for android development run on openbsd, and there
 is linux emulation (must be on for this) i started
 wondering how far could i get on openbsd before using
 linux as a crutch.

 turns out, looong way.

 the development flow is basically: write code, make apk,
 install apk on phone/emulator, run apk, (get rich).


 first things first, had to cheat to get the SDK.  the
 initial download android-sdk_r16-linux.tgz contains
 only scaffolding to get the real thing.  it is in java,
 but unfortunately swt (part of eclipse) from ports is
 too old and i couldnt use the GUI or install ADT (Android
 Development Tools).

 TODO: try to update the eclipse port.

 but as i already had all of it on the linux stick,
 i simply rsync-ed it over under ~/adroid-sdk

 $ ls -1 android-sdk
 SDK Readme.txt
 add-ons/
 docs/
 platform-tools/
 platforms/
 samples/
 sources/
 system-images/
 temp/
 tools/

 $ sudo pkg_add jdk apache-ant
 $ export
 PATH=$PATH:/usr/local/jdk-1.7.0/bin:$HOME/android-sdk/tools:$HOME/adroid-sdk/platform-tools
 $ java -version
 openjdk version 1.7.0
 OpenJDK Runtime Environment (build 1.7.0-b00)
 OpenJDK Server VM (build 21.0-b17, mixed mode)

 apply the attached patch to dx.

 these are the API's i have installed using linux:

 $ android list target | grep ^id
 id: 1 or android-3
 id: 2 or Google Inc.:Google APIs:3
 id: 3 or android-7
 id: 4 or Google Inc.:Google APIs:7
 id: 5 or android-15
 id: 6 or Google Inc.:Google APIs:15

 i will use id 3 (Android 2.1.x Eclair)
 HelloAndroid.java is also attached

 $ cd src/android/hello
 ~/src/android/hello$ android create project -t 3 -n HelloPuffy -p . -k
 com.puffy.hello -a HelloPuffy
 ~/src/android/hello$ cp ~/HelloAndroid.java src/com/puffy/hello/
 ~/src/android/hello$ ant debug

 if i did not leave out something, the output should finish with:

 BUILD SUCCESSFUL
 Total time: 7 seconds


 for now i upload the apk files using ftp (swiftp on android).
 http://obiit.org/f/hello.png

 obviously, this is a suboptimal solution, and there is the emulator...
 let's see how far that goes.

 ~/src/android/hello$ android create avd -n puffy_avd -t 3
 Auto-selecting single ABI armeabi
 Android 2.1 is a basic Android platform.
 Do you wish to create a custom hardware profile [no]
 Created AVD 'puffy_avd' based on Android 2.1, ARM (armeabi) processor,
 with the following hardware config:
 hw.lcd.density=240
 vm.heapSize=24

 unfortunately 'emulator' uses /proc to determine
 it's own path, so we need to trick it:

 ~/src/android/hello$ sudo ln -s ~/android-sdk/tools/emulator /proc/self/exe
 ~/src/android/hello$ emulator -avd puffy_avd
 emulator: ERROR: _camera_device_open: Cannot open camera device
 '/dev/video0': No such device or address
 emulator: warning: opening audio input failed

 emulator: WARNING: Unable to create sensors port: Connection refused


 masaka!  stupefaction
 http://obiit.org/f/android-emulator-on-openbsd.jpg
 http://obiit.org/f/android-emulator-on-openbsd2.jpg

 and its fast compared to the linux stick.  just wow.


 now the bad news.  adb does not work.
 i have asked about it some time ago on ports@
 as having a native adb just by itself would be
 great to push apk's, shell, root, etc.
 http://marc.info/?l=openbsd-miscm=131809077812364w=2
 some responses indicated it's already work in progress.

 TODO: get adb to work
 adb source: https://github.com/android/platform_system_core


 so this is it, perhaps because i started out with zero
 expectations, this is a massive happy end.

 of course, hello world is just that.  it remains
 to be seen if more complicated projects can be
 compiled.

 -f
 --
 most days the only good thing on tv is the vase.
 --- android-sdk/platform-tools/dx.orig  Wed Feb 15 21:42:04 2012
 +++ android-sdk/platform-tools/dx   Tue Feb 14 21:29:26 2012
 @@ -1,4 +1,4 @@
 -#!/bin/bash
 +#!/bin/sh
  #
  # Copyright (C) 2007 The Android Open Source Project
  #
 @@ -56,6 +56,7 @@
  # By default, give dx a max heap size of 1 gig. This can be overridden
  # by using a -J option (see below).
  defaultMx=-Xmx1024M
 +defaultMx=-Xmx512M

  # The following will extract any initial parameters of the form
  # -Jstuff from the command line and pass them to the Java
 package com.puffy.hello;

 import android.app.Activity;
 import android.os.Bundle;
 import android.widget.TextView;

 public class HelloPuffy extends Activity
 {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
 

Re: [NEW] Sqtop

2012-02-18 Thread MERIGHI Marcus
gonz...@x61.com.ar (Gonzalo L. R.), 2012.02.17 (Fri) 17:05 (CET):
 Sqtop is top-like monitor for Squid.

tested on 

OpenBSD 5.1 (GENERIC) #160: Sun Feb 12 09:46:33 MST 2012
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC

OpenBSD 5.0 (GENERIC) #39: Mon Aug  8 14:53:43 MDT 2011
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC

works for me. nice to have an overview apart from watching logs. 

having to add groff is somewhat annoying. 

I wonder whether sysutils is the right category when squid lives in www. 

thanks, marcus



Re: [NEW] Sqtop

2012-02-18 Thread Gonzalo L. R.

The GROFF yes was an error I want a NO, and I change for www.

Ok?

On Sat, 18 Feb 2012 13:06:38 +, Stuart Henderson wrote:

On 2012/02/18 13:36, MERIGHI Marcus wrote:

having to add groff is somewhat annoying.


If you're building from ports, you should have that installed anyway.

I wonder whether sysutils is the right category when squid lives in 
www.


I'd prefer www.


--
Sending from my VCR

sqtop.tgz
Description: Binary data


Re: [NEW] Sqtop

2012-02-18 Thread MERIGHI Marcus
s...@spacehopper.org (Stuart Henderson), 2012.02.18 (Sat) 14:06 (CET):
 On 2012/02/18 13:36, MERIGHI Marcus wrote:
  having to add groff is somewhat annoying. 
 If you're building from ports, you should have that installed anyway.

thanks for the hint, did not know that (and rarely use ports).

Are you actually being paid for your great job of being some sort of an
OpenBSD reference/encyclopaedia person?

bye, Marcus



Re: [NEW] Sqtop

2012-02-18 Thread Stuart Henderson
On 2012/02/18 14:47, MERIGHI Marcus wrote:
 s...@spacehopper.org (Stuart Henderson), 2012.02.18 (Sat) 14:06 (CET):
  On 2012/02/18 13:36, MERIGHI Marcus wrote:
   having to add groff is somewhat annoying. 
  If you're building from ports, you should have that installed anyway.
 
 thanks for the hint, did not know that (and rarely use ports).

well, should as in almost certainly will because half the tree needs
it :-)

 Are you actually being paid for your great job of being some sort of an
 OpenBSD reference/encyclopaedia person?

I accept donations :)
http://spacehopper.org/wishlist



[Update] ,s/scrotwm/spectrwm/g

2012-02-18 Thread Gonzalo L. R.

Hi,

Scrotwm change its name to Spectrwm, but still rocks, so here is a new 
shinny version, with a lot of bugs fixed:


* Fixed all clang static analyze bugs/issues
* Remain name and config file compatible with scrotwm
* Fix OSX version again
* Print proper version with M-S-v on linux
* Add flip_layout binding to all keyboard layout examples
* Fix setting of window property strings
* Clear status-bar when iconifying the last window
* Use a red-black tree for key bindings

I add the diff to Quirks.

Ok? If is Ok, bye bye x11/scrotwm.

Cheers

--
Sending from my Computer.


spectrwm.tgz
Description: Binary data
Index: Quirks.pm
===
RCS file: /cvs/ports/devel/quirks/files/Quirks.pm,v
retrieving revision 1.66
diff -u -p -r1.66 Quirks.pm
--- Quirks.pm   6 Feb 2012 22:07:09 -   1.66
+++ Quirks.pm   17 Feb 2012 18:11:38 -
@@ -279,6 +279,8 @@ my $stem_extensions = {
'aspell5-tn' = 'aspell-tn',
'aspell6-uk' = 'aspell-uk',
'vte-ptyhelper' = 'vte',
+# 5.2
+   'scrotwm' = 'spectrwm',
 };
 
 # -is_base_system($handle, $state):


mysql doesn't try to start?

2012-02-18 Thread Jan Stary
I have installed mysql-server-5.1.60 on current/i386,
configured it, and put it in pkg_scripts which now looks like this:

pkg_scripts=postfix postgresql mysql

But the mysql server doesn't seem to even try to start upon reboot.
THis is how the mysql log looks after a reboot:

120218 21:47:21 [Note] /usr/local/libexec/mysqld: Normal shutdown
120218 21:47:21 [Note] Event Scheduler: Purging the queue. 0 events
120218 21:47:22  InnoDB: Starting shutdown...

(That's the shutdown before. But no attempt to start now.)

If I do '/etc/rc.d/mysql start' manully after boot,
everything works fine.  Am I missing somthing?

Jan



Sr: ports - Bases Reales

2012-02-18 Thread D - M
Asi como este mail te llego, vos tambien podes hacer llegar tu
publicidad a miles de potenciales clientes.
Nosotros nos encargamos de enviar tu publicidad y que puedas
estar mas cerca de tus expectativas.

Tambien si estas en Capital, podemos instalarte un Soft.
de alta velocidad y con servidores nuestros
para que puedas hacer vos mismo los envios.

Miles de personas recibiran una propuesta tuya, y la
posibilidad de venta sera mucho mas fluida para tu empresa.

Simple, Confiable y Efectivo, es el envio de Informacion
a Potenciales clientes y es la herramienta mas utilizada
para hacer Publicidad por internet.

Contamos con las mejores Bases de Email del Mercado

Honestidad , Responsabilidad y Celeridad son nuestras
herramientas de trabajo.

Consultanos a: marketingxem...@fibertel.com.ar

En caso de no querer recibir más estas comunicaciones, por favor haga
click aquí


Re: mysql doesn't try to start?

2012-02-18 Thread Antoine Jacoutot
On Sat, Feb 18, 2012 at 09:57:37PM +0100, Jan Stary wrote:
 I have installed mysql-server-5.1.60 on current/i386,
 configured it, and put it in pkg_scripts which now looks like this:
 
   pkg_scripts=postfix postgresql mysql

s/mysql/mysqld/


 
 But the mysql server doesn't seem to even try to start upon reboot.
 THis is how the mysql log looks after a reboot:
 
 120218 21:47:21 [Note] /usr/local/libexec/mysqld: Normal shutdown
 120218 21:47:21 [Note] Event Scheduler: Purging the queue. 0 events
 120218 21:47:22  InnoDB: Starting shutdown...
 
 (That's the shutdown before. But no attempt to start now.)
 
 If I do '/etc/rc.d/mysql start' manully after boot,
 everything works fine.  Am I missing somthing?
 
   Jan
 

-- 
Antoine



Re: mysql doesn't try to start?

2012-02-18 Thread David Hill
On Sat, Feb 18, 2012 at 09:57:37PM +0100, Jan Stary wrote:
:I have installed mysql-server-5.1.60 on current/i386,
:configured it, and put it in pkg_scripts which now looks like this:
:
:   pkg_scripts=postfix postgresql mysql
:
:But the mysql server doesn't seem to even try to start upon reboot.
:THis is how the mysql log looks after a reboot:
:
:120218 21:47:21 [Note] /usr/local/libexec/mysqld: Normal shutdown
:120218 21:47:21 [Note] Event Scheduler: Purging the queue. 0 events
:120218 21:47:22  InnoDB: Starting shutdown...
:
:(That's the shutdown before. But no attempt to start now.)
:
:If I do '/etc/rc.d/mysql start' manully after boot,
:everything works fine.  Am I missing somthing?
:
:   Jan
:

You sure it is not mysqld instead of mysql?



Re: android sdk on openbsd

2012-02-18 Thread joshua stein
 now the bad news.  adb does not work.
 i have asked about it some time ago on ports@
 as having a native adb just by itself would be
 great to push apk's, shell, root, etc.
 http://marc.info/?l=openbsd-miscm=131809077812364w=2
 some responses indicated it's already work in progress.

here's some initial work that compiles (with a few hacks) with the
libusb1 package:

https://github.com/jcs/adb

it can iterate over the usb devices, but won't talk to them beyond
that for some reason.  might have to do with the server-client stuff
rather than the usb stuff, but it's a start.

jcs@mario:~/adb2 env ADB_TRACE=all ./adb fork-server server
usb_init(): started
scan_usb_devices(): started
check_device(): Probing usb device 1410:a014
check_device(): Ignored due unknown vendor id
check_device(): Probing usb device 0cf3:3000
check_device(): Ignored due unknown vendor id
check_device(): Probing usb device 18d1:4e22
check_device(): Device bus: 0, address: 5
check_usb_interface(): Device: 18d1:4e22 iclass: 8, isclass: 6, iproto: 50 
ep: 88/a- not matches
check_usb_interface(): Forced Android interface protocol v.1
check_usb_interface(): Forced Android interface protocol v.1
check_usb_interface(): Device: 18d1:4e22 iclass: ff, isclass: 42, iproto: 1 
ep: 8b/d- matches
check_usb_interfaces(): Interface 1 of 18d1:4e22 matches Android device
check_device(): Device matches Android interface
register_device(): Registering 0x7f7dae60 [3631405323CD00EC] as USB 
transport
transport: 0x20c5c8c00 init'ing for usb_handle 0x20c5c8700 
(sn='3631405323CD00EC')
transport: usb
transport: 0x20c5c8c00 registered
device_poll_thread(): Created USB scan thread
usb_init(): finished
transport: local client init
OK

on my laptop, i had to 'cd /dev; ./MAKEDEV ugen2' for libusb to find
the phone.  dmesg snippet of attached phone:

umass1 at uhub0 port 6 configuration 1 interface 0 Samsung Nexus S rev 
2.00/2.27 addr 5
umass1: using SCSI over Bulk-Only
scsibus4 at umass1: 2 targets, initiator 0
sd3 at scsibus4 targ 1 lun 0: Android, UMS Composite, 0001 SCSI2 0/direct 
removable serial.18d14e22405323CD00EC
ugen2 at uhub0 port 6 configuration 1 Samsung Nexus S rev 2.00/2.27 addr 5



UPDATE: automake 1.11.3

2012-02-18 Thread Brad Smith
Here is an update to automake 1.11.3.

Tested with everything in the tree using 1.11.


Index: Makefile
===
RCS file: /home/cvs/ports/devel/automake/1.11/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile20 Jun 2011 20:28:44 -  1.5
+++ Makefile17 Feb 2012 06:37:39 -
@@ -3,8 +3,7 @@
 COMMENT=   GNU standards-compliant Makefile generator
 
 VERSION=   1.11
-DISTNAME=  automake-${VERSION}.1
-REVISION=  2
+DISTNAME=  automake-${VERSION}.3
 PKGSPEC=   automake-=${VERSION},1.12
 
 CATEGORIES=devel
@@ -23,7 +22,7 @@ MODULES=  lang/python
 MODPY_BUILDDEP=No
 MODPY_RUNDEP=  No
 
-AUTOCONF_VERSION=  2.65
+AUTOCONF_VERSION=  2.68
 
 BUILD_DEPENDS =${RUN_DEPENDS}
 RUN_DEPENDS=   ${MODGNU_AUTOCONF_DEPENDS}
@@ -48,14 +47,13 @@ REGRESS_DEPENDS=${BASE_PKGPATH} \
editors/emacs21 \
devel/dejagnu
 
-TESTS_ENVIRONMENT= AUTOCONF_VERSION=${AUTOCONF_VERSION} \
+REGRESS_ENV=   AUTOCONF_VERSION=${AUTOCONF_VERSION} \
MAKE=${GMAKE}
 
 do-regress:
ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python
@cd ${WRKBUILD}  \
-   exec ${SETENV} ${MAKE_ENV} \
-   TESTS_ENVIRONMENT=${TESTS_ENVIRONMENT} \
+   exec ${SETENV} ${MAKE_ENV} ${REGRESS_ENV} \
${MAKE_PROGRAM} ${ALL_REGRESS_FLAGS} \
-f ${MAKE_FILE} ${REGRESS_TARGET}
 
@@ -69,7 +67,7 @@ post-install:
perl -pi -e s,aclocal\: \(automake\),aclocal: \(automake-1\.11\), \
${PREFIX}/info/automake${SUFFIX}.info
 
-.for f in info-1 info-2
+.for f in info-1 info-2 info-3
cd ${PREFIX}/info  mv automake.${f} automake${SUFFIX}.${f} \
 perl -pi -e s,automake.${f},automake${SUFFIX}.${f}, \
${PREFIX}/info/automake${SUFFIX}.info
Index: distinfo
===
RCS file: /home/cvs/ports/devel/automake/1.11/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo5 May 2011 18:55:34 -   1.1.1.1
+++ distinfo13 Feb 2012 00:49:25 -
@@ -1,5 +1,5 @@
-MD5 (automake-1.11.1.tar.gz) = Tufw/18ORn1Ytr1dqWscdA==
-RMD160 (automake-1.11.1.tar.gz) = Ovo77cMb5Jn5PZz4xiLYSvqff+c=
-SHA1 (automake-1.11.1.tar.gz) = 3GC4fXIM0mafPi4WWdkEs4MUnEA=
-SHA256 (automake-1.11.1.tar.gz) = t7N8DA8JoobPVcrUCNdK75d3TXPXRMiMOW/3lXBF1Ms=
-SIZE (automake-1.11.1.tar.gz) = 1383931
+MD5 (automake-1.11.3.tar.gz) = k+yzGfA2XLgBmQsA9ljQJg==
+RMD160 (automake-1.11.3.tar.gz) = vUuJgbRaaacCvQ+VC/zsBxfP9FU=
+SHA1 (automake-1.11.3.tar.gz) = U39ZZLt+x9DfZUTj0Q2WMf50YPA=
+SHA256 (automake-1.11.3.tar.gz) = khtRiAV+V73ZwLoG4h0LDqfa+mGpvQiisEEhW8/xL1U=
+SIZE (automake-1.11.3.tar.gz) = 1620860
Index: patches/patch-automake_in
===
RCS file: /home/cvs/ports/devel/automake/1.11/patches/patch-automake_in,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-automake_in
--- patches/patch-automake_in   5 May 2011 18:55:34 -   1.1.1.1
+++ patches/patch-automake_in   17 Feb 2012 03:28:21 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-automake_in,v 1.1.1.1 2011/05/05 18:55:34 jasper Exp $
 automake.in.orig   Tue Dec  8 19:15:40 2009
-+++ automake.inThu May  5 19:57:31 2011
-@@ -4337,7 +4337,7 @@ sub handle_configure ($$$@)
+--- automake.in.orig   Wed Feb  1 05:31:13 2012
 automake.inThu Feb 16 22:24:10 2012
+@@ -4384,7 +4384,7 @@ sub handle_configure ($$$@)
# Use $(install_sh), not $(MKDIR_P) because the latter requires
# at least one argument, and $(mkinstalldirs) used to work
# even without arguments (e.g. $(mkinstalldirs) $(conditional_dir)).
@@ -10,7 +10,7 @@ $OpenBSD: patch-automake_in,v 1.1.1.1 20
  }
  
reject_var ('CONFIG_HEADER',
-@@ -5240,6 +5240,7 @@ sub scan_autoconf_traces ($)
+@@ -5337,6 +5337,7 @@ sub scan_autoconf_traces ($)
_LT_AC_TAGCONFIG = 0,
m4_include = 1,
m4_sinclude = 1,
@@ -18,7 +18,7 @@ $OpenBSD: patch-automake_in,v 1.1.1.1 20
sinclude = 1,
  );
  
-@@ -5263,6 +5264,7 @@ sub scan_autoconf_traces ($)
+@@ -5360,6 +5361,7 @@ sub scan_autoconf_traces ($)
my ($here, $depth, @args) = split (/::/);
$where = new Automake::Location $here;
my $macro = $args[0];
Index: patches/patch-doc_automake_texi
===
RCS file: /home/cvs/ports/devel/automake/1.11/patches/patch-doc_automake_texi,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-doc_automake_texi
--- patches/patch-doc_automake_texi 5 May 2011 18:55:34 -   1.1.1.1
+++ patches/patch-doc_automake_texi 17 Feb 2012 03:28:30 -
@@ -1,6 +1,6 @@
 $OpenBSD: 

Is anyone able to use subtitleeditor?

2012-02-18 Thread Abel Abraham Camarillo Ojeda
When I tell it to open any video I get this:

Media file could not be played.
Failed to create a GStreamer textoverlay (textoverlay). Please check
your GStreamer installation.

$ pkg_info -S subtitleeditor
Information for inst:subtitleeditor-0.37.1p2

Signature: 
subtitleeditor-0.37.1p2,GL.12.0,X11.15.0,Xau.9.0,Xcomposite.3.0,Xcursor.4.0,Xdamage.3.1,Xdmcp.10.0,Xext.12.0,Xfixes.5.1,Xi.11.0,Xinerama.5.0,Xrandr.6.1,Xrender.5.0,Xxf86vm.5.0,atk-1.0.2801.0,atkmm-1.6.10.0,c.62.0,cairo.11.1,cairomm-1.0.5.0,desktop-file-utils-0.19,drm.2.6,enchant-1.6.0p0,enchant.6.1,expat.9.0,fontconfig.7.0,freetype.18.1,gdk-x11-2.0.2400.0,gdk_pixbuf-2.0.2200.1,gdkmm-2.4.11.0,gettext-0.18.1p0,gio-2.0.2992.0,giomm-2.4.11.0,glib-2.0.2992.0,glibmm-2.4.11.0,gmodule-2.0.2992.0,gobject-2.0.2992.0,gstaudio-0.10.2.5,gstbase-0.10.2.4,gstcdda-0.10.2.5,gstcontroller-0.10.3.4,gstdataprotocol-0.10.2.4,gstinterfaces-0.10.2.5,gstnet-0.10.2.4,gstnetbuffer-0.10.2.5,gstpbutils-0.10.2.5,gstreamer-0.10.2.4,gstreamer-plugins-base-0.10.35p1,gstreamer-plugins-good-0.10.30p2v0,gstreamermm-0.10.1.0,gstreamermm-0.10.10,gstrtp-0.10.2.5,gsttag-0.10.2.5,gstvideo-0.10.2.5,gthread-2.0.2992.0,gtk-update-icon-cache-2.24.8,gtk-x11-2.0.2400.0,gtk2mm-2.24.2p0,gtkmm-2.4.11.0,iconv.6.0,intl.5.0,iso-codes-3.28,libiconv-1.14,m.7.0,pango-1.0.2903.0,pangocairo-1.0.2903.0,pangoft2-1.0.2903.0,pangomm-1.4.10.0,pcre-8.21,pcre.2.5,pixman-1.22.2,png.13.0,pthread-stubs.1.0,pthread.13.3,sigc-2.0.2.0,stdc++.54.0,xcb-render.0.0,xcb-shm.0.0,xcb.2.2,xml++-2.6.1.0,xml2.12.0,z.4.1

$ subtitleeditor
(subtitleeditor:29100): GStreamer-CRITICAL **:
gst_element_factory_get_element_type: assertion
`GST_IS_ELEMENT_FACTORY (factory)' failed

(subtitleeditor:29100): GLib-GObject-CRITICAL **: g_object_unref:
assertion `G_IS_OBJECT (object)' failed

(subtitleeditor:29100): GStreamer-CRITICAL **: gst_element_register:
assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed

(subtitleeditor:29100): GStreamer-CRITICAL **:
gst_element_factory_get_element_type: assertion
`GST_IS_ELEMENT_FACTORY (factory)' failed

(subtitleeditor:29100): GLib-GObject-CRITICAL **: g_object_unref:
assertion `G_IS_OBJECT (object)' failed

(subtitleeditor:29100): GStreamer-CRITICAL **:
gst_element_factory_get_element_type: assertion
`GST_IS_ELEMENT_FACTORY (factory)' failed

(subtitleeditor:29100): GLib-GObject-CRITICAL **: g_object_unref:
assertion `G_IS_OBJECT (object)' failed

(subtitleeditor:29100): GStreamer-CRITICAL **: gst_element_register:
assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed

(subtitleeditor:29100): GStreamer-CRITICAL **:
gst_element_factory_get_element_type: assertion
`GST_IS_ELEMENT_FACTORY (factory)' failed

(subtitleeditor:29100): GLib-GObject-CRITICAL **: g_object_unref:
assertion `G_IS_OBJECT (object)' failed

(subtitleeditor:29100): GStreamer-CRITICAL **:
gst_element_factory_get_element_type: assertion
`GST_IS_ELEMENT_FACTORY (factory)' failed

(subtitleeditor:29100): GLib-GObject-CRITICAL **: g_object_unref:
assertion `G_IS_OBJECT (object)' failed

(subtitleeditor:29100): GStreamer-CRITICAL **: gst_element_register:
assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed

(subtitleeditor:29100): GStreamer-CRITICAL **:
gst_element_factory_get_element_type: assertion
`GST_IS_ELEMENT_FACTORY (factory)' failed

(subtitleeditor:29100): GLib-GObject-CRITICAL **: g_object_unref:
assertion `G_IS_OBJECT (object)' failed

(subtitleeditor:29100): GStreamer-CRITICAL **:
gst_element_factory_get_element_type: assertion
`GST_IS_ELEMENT_FACTORY (factory)' failed

(subtitleeditor:29100): GLib-GObject-CRITICAL **: g_object_unref:
assertion `G_IS_OBJECT (object)' failed

(subtitleeditor:29100): GStreamer-CRITICAL **: gst_element_register:
assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed

(subtitleeditor:29100): GStreamer-CRITICAL **:
gst_element_factory_get_element_type: assertion
`GST_IS_ELEMENT_FACTORY (factory)' failed

(subtitleeditor:29100): GLib-GObject-CRITICAL **: g_object_unref:
assertion `G_IS_OBJECT (object)' failed

(subtitleeditor:29100): GStreamer-CRITICAL **:
gst_element_factory_get_element_type: assertion
`GST_IS_ELEMENT_FACTORY (factory)' failed

(subtitleeditor:29100): GLib-GObject-CRITICAL **: g_object_unref:
assertion `G_IS_OBJECT (object)' failed

(subtitleeditor:29100): GStreamer-CRITICAL **: gst_element_register:
assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed

(subtitleeditor:29100): GStreamer-CRITICAL **:
gst_element_factory_get_element_type: assertion
`GST_IS_ELEMENT_FACTORY (factory)' failed

(subtitleeditor:29100): GLib-GObject-CRITICAL **: g_object_unref:
assertion `G_IS_OBJECT (object)' failed

(subtitleeditor:29100): GStreamer-CRITICAL **:
gst_element_factory_get_element_type: assertion
`GST_IS_ELEMENT_FACTORY (factory)' failed

(subtitleeditor:29100): GLib-GObject-CRITICAL **: g_object_unref:
assertion `G_IS_OBJECT (object)' failed

(subtitleeditor:29100): GStreamer-CRITICAL **: gst_element_register:
assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed


Re: new: fonts/urwfonts-8.71, (GaramondNo8)

2012-02-18 Thread Abel Abraham Camarillo Ojeda
On Sat, Feb 18, 2012 at 11:57 PM, Abel Abraham Camarillo Ojeda
acam...@verlet.org wrote:
 On Sat, Feb 18, 2012 at 11:56 PM, Anthony J. Bentley
 anthonyjbent...@gmail.com wrote:
 Did you attach the port...?

 duh...

 now with port attached...

copy @ports...


urwfonts.tgz
Description: GNU Zip compressed data


UPDATE: security/libssh2

2012-02-18 Thread Benoit Lecocq

Hi,

This diff updates libssh2 to the latest release 1.4.0.
Tested on amd64.

Comments ? OK ?

Cheers,
benoit
Index: Makefile
===
RCS file: /cvs/ports/security/libssh2/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile26 Nov 2011 09:25:46 -  1.12
+++ Makefile19 Feb 2012 07:39:04 -
@@ -2,9 +2,9 @@
 
 COMMENT =  library implementing the SSH2 protocol
 
-DISTNAME = libssh2-1.3.0
+DISTNAME = libssh2-1.4.0
 CATEGORIES =   security
-SHARED_LIBS += ssh25.1 # .1.1
+SHARED_LIBS += ssh26.0 # .1.1
 
 HOMEPAGE =  http://www.libssh2.org/
 
Index: distinfo
===
RCS file: /cvs/ports/security/libssh2/distinfo,v
retrieving revision 1.10
diff -u -r1.10 distinfo
--- distinfo26 Nov 2011 09:25:46 -  1.10
+++ distinfo19 Feb 2012 07:39:04 -
@@ -1,5 +1,5 @@
-MD5 (libssh2-1.3.0.tar.gz) = ZCUzGJnM8QFfHteUSMtHCQ==
-RMD160 (libssh2-1.3.0.tar.gz) = XI8M/eb7Q3jrCYX27MCQBhMpoTM=
-SHA1 (libssh2-1.3.0.tar.gz) = 00Lgar44opsbu5xY1Q3Qk+qwvuk=
-SHA256 (libssh2-1.3.0.tar.gz) = neN3hUIC8DO/tXzk+VGUorEoPUX7JDtefcow4Fj0D5w=
-SIZE (libssh2-1.3.0.tar.gz) = 639262
+MD5 (libssh2-1.4.0.tar.gz) = 7mcBYdjF3/k66Eo/NPFWaQ==
+RMD160 (libssh2-1.4.0.tar.gz) = NvGo+8CoBVUqqNtZrJBug3q/j5s=
+SHA1 (libssh2-1.4.0.tar.gz) = U0KLSTWrbrhD1F8Vk9xDTLKHuT4=
+SHA256 (libssh2-1.4.0.tar.gz) = 38W7rRSlBJ/qXF6KenQxMLseNlcw4T4rt9ZJTJKkxYE=
+SIZE (libssh2-1.4.0.tar.gz) = 653514
Index: patches/patch-example-x11_c
===
RCS file: patches/patch-example-x11_c
diff -N patches/patch-example-x11_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-example-x11_c 19 Feb 2012 07:39:04 -
@@ -0,0 +1,15 @@
+$OpenBSD$
+--- example/x11.c.orig Sun Feb 19 08:33:45 2012
 example/x11.c  Sun Feb 19 08:33:59 2012
+@@ -8,10 +8,10 @@
+ 
+ #include string.h
+ #include sys/ioctl.h
++#include unistd.h
+ #include netinet/in.h
+ #include sys/socket.h
+ #include arpa/inet.h
+-#include unistd.h
+ #include sys/types.h
+ #include sys/un.h
+ #include fcntl.h
Index: pkg/PLIST
===
RCS file: /cvs/ports/security/libssh2/pkg/PLIST,v
retrieving revision 1.9
diff -u -r1.9 PLIST
--- pkg/PLIST   26 Nov 2011 09:25:49 -  1.9
+++ pkg/PLIST   19 Feb 2012 07:39:04 -
@@ -96,6 +96,8 @@
 @man man/man3/libssh2_scp_send64.3
 @man man/man3/libssh2_scp_send_ex.3
 @man man/man3/libssh2_session_abstract.3
+@man man/man3/libssh2_session_banner_get.3
+@man man/man3/libssh2_session_banner_set.3
 @man man/man3/libssh2_session_block_directions.3
 @man man/man3/libssh2_session_callback_set.3
 @man man/man3/libssh2_session_disconnect.3
@@ -114,6 +116,7 @@
 @man man/man3/libssh2_session_set_blocking.3
 @man man/man3/libssh2_session_set_timeout.3
 @man man/man3/libssh2_session_startup.3
+@man man/man3/libssh2_session_supported_algs.3
 @man man/man3/libssh2_sftp_close.3
 @man man/man3/libssh2_sftp_close_handle.3
 @man man/man3/libssh2_sftp_closedir.3
@@ -121,6 +124,7 @@
 @man man/man3/libssh2_sftp_fstat.3
 @man man/man3/libssh2_sftp_fstat_ex.3
 @man man/man3/libssh2_sftp_fstatvfs.3
+@man man/man3/libssh2_sftp_get_channel.3
 @man man/man3/libssh2_sftp_init.3
 @man man/man3/libssh2_sftp_last_error.3
 @man man/man3/libssh2_sftp_lstat.3


scary irssi segfaults in SSL code

2012-02-18 Thread Matthieu Herrb
Hi,

I use irssi to to connect to oftc.net channels, using SSL and a
personal certificate to authenticate myself. From time to time (once
every 2 weeks or so, but its' not a regular frequence) it segfaults
because of a NULL pointer dereference, somewhere in the SSL code.

I somehow trust OpenBSD's defense mechanisms to make this harder to
exploit, but still it doesn't feel too good.

Backtrace below. Not that it's not an action on my side that triggers
this. It generally happens during the night while I'm away from the
keyboard.

Loaded symbols for /usr/libexec/ld.so
#0  strncpy (dst=0x7f7c92e0 Ð\234üÿ\177\177, src=0x0, n=1024)
at /local/OpenBSD/src/lib/libc/string/strncpy.c:53
53  if ((*d++ = *s++) == 0) {
(gdb) bt
#0  strncpy (dst=0x7f7c92e0 Ð\234üÿ\177\177, src=0x0, n=1024)
at /local/OpenBSD/src/lib/libc/string/strncpy.c:53
#1  0x0048b607 in net_connect_ip_ssl ()
#2  0x000205601f31 in PEM_do_header (cipher=0x7f7c9870, 
data=0x20d14f000 ËkóV¿pÛ-l, plen=0x7f7c9850, callback=Variable 
callback is not available.
)
at /local/OpenBSD/src/lib/libssl/crypto/../src/crypto/pem/pem_lib.c:451
#3  0x00020560243d in PEM_bytes_read_bio (pdata=0x7f7c98e8, 
plen=0x7f7c98e0, pnm=0x7f7c98f8, 
name=0x20573a2c5 ANY PRIVATE KEY, bp=0x2068ba080, 
cb=0x48b5b0 net_connect_ip_ssl+1008, u=0x2081908a0)
at /local/OpenBSD/src/lib/libssl/crypto/../src/crypto/pem/pem_lib.c:296
#4  0x000205595997 in PEM_read_bio_PrivateKey (bp=Variable bp is not 
available.
)
at /local/OpenBSD/src/lib/libssl/crypto/../src/crypto/pem/pem_pkey.c:84
#5  0x00020e0e76ef in SSL_CTX_use_PrivateKey_file (ctx=0x20922fc00, 
file=0x200ecbe40 /home/matthieu/.irssi/certs/mherrb.pem, type=1)
at /local/OpenBSD/src/lib/libssl/ssl/../src/ssl/ssl_rsa.c:654
#6  0x0048b2d5 in net_connect_ip_ssl ()
#7  0x00481f23 in server_connect_finished ()
#8  0x004823b9 in server_start_connect ()
#9  0x0047a5aa in mask_match ()
#10 0x0002029a9125 in g_main_context_dispatch ()
   from /usr/local/lib/libglib-2.0.so.2992.0
#11 0x0002029ac9cc in g_main_context_check ()
   from /usr/local/lib/libglib-2.0.so.2992.0
#12 0x0002029aceee in g_main_context_iteration ()
   from /usr/local/lib/libglib-2.0.so.2992.0
#13 0x00428733 in main ()
(gdb) p d
$1 = 0x7f7c92e0 Ð\234üÿ\177\177
(gdb) p s
$2 = 0x0
(gdb) 

% irssi --version 
irssi 0.8.15 (20100403 1617)

OpenBSD 5.0-current (GENERIC.MP) #0: Sat Dec  3 09:43:45 CET 2011
matth...@cortez.herrb.net:/usr/obj/GENERIC.MP
real mem = 4025024512 (3838MB)
avail mem = 3903729664 (3722MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xfbdd0 (54 entries)
bios0: vendor American Megatrends Inc. version V1.0 date 02/20/2009
bios0: MICRO-STAR INTERNATIONAL CO.,LTD MS-7576
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB HPET
acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) 
PCE9(S4) PCEA(S4) PCEB(S4) PCEC(S4) SBAZ(S4) PS2K(S1) PS2M(S1) P0PC(S4) 
UHC1(S4) UHC2(S4) UHC3(S4) USB4(S4) UHC5(S4) UHC6(S4) UHC7(S4) PWRB(S1)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) X2 250 Processor, 3000.65 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) X2 250 Processor, 3000.15 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 21, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus -1 (PCE2)
acpiprt3 at acpi0: bus -1 (PCE3)
acpiprt4 at acpi0: bus -1 (PCE4)
acpiprt5 at acpi0: bus 2 (PCE5)
acpiprt6 at acpi0: bus 0 (PCE6)
acpiprt7 at acpi0: bus -1 (PCE7)
acpiprt8 at acpi0: bus -1 (PCE9)
acpiprt9 at acpi0: bus -1 (PCEA)
acpiprt10 at acpi0: bus -1 (PCEB)
acpiprt11 at acpi0: bus -1 (PCEC)
acpiprt12 at acpi0: bus 3 (P0PC)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpibtn0 at acpi0: PWRB
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0