Re: audio/mumble

2013-05-19 Thread André Stöbe
Gregor Best wrote:
> Hi ports@,
> 
> attached is a slightly updated version of the audio/mumble port David
> Coppa submitted in April 2012. I fixed two things related to the
> deprecation of PERMIT_DISTFILES_CDROM and NO_REGRESS. Also, I fixed a
> typo in WANTLIB (it said sndfile>=4 instead of >=3) and removed the
> -sqlite from the qt4 dependency because as far as I can see sqlite is
> now always included in qt4.
> 
> The port builds and runs fine since ... a long time ago, I've been
> testing it for about 4 months now.
> 
> I've kept the name for the tarball in sync with the last name David sent
> to ports@, so this is version 5 of the port.

Thanks Gregor, I'm happy to see this port show up again.
I finally found the time to test it on my i386 laptop, which works great!

I think you can delete both PERMIT_PACKAGE_FTP and PERMIT_DISTFILES_FTP
from the Makefile, see bsd.port.mk(5): "If PERMIT_PACKAGE_CDROM is set
to `Yes', PERMIT_PACKAGE_FTP and PERMIT_DISTFILES_FTP will default to
`Yes'."

Regards
André





UPDATE: net/softflowd

2013-06-16 Thread André Stöbe
Here is an update to softflowd 0.9.9.

Tested on amd64 and i386.

Regards
André


Index: Makefile
===
RCS file: /cvs/ports/net/softflowd/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile4 Sep 2012 03:40:34 -   1.5
+++ Makefile16 Jun 2013 01:13:24 -
@@ -1,24 +1,21 @@
-# $OpenBSD: Makefile,v 1.5 2012/09/04 03:40:34 jeremy Exp $
+# $OpenBSD$
 
 COMMENT=   flow-based network traffic analyser
 
-DISTNAME=  softflowd-0.9.8
+DISTNAME=  softflowd-0.9.9
 REVISION=  0
 CATEGORIES=net
 
 # BSD
-PERMIT_PACKAGE_CDROM=  Yes
-PERMIT_PACKAGE_FTP=Yes
-PERMIT_DISTFILES_CDROM=Yes
-PERMIT_DISTFILES_FTP=  Yes
+PERMIT_PACKAGE_CDROM= Yes
 
-MASTER_SITES=  http://www2.mindrot.org/files/softflowd/
+MASTER_SITES=  http://softflowd.googlecode.com/files/
 
 WANTLIB=   c pcap
 
 CONFIGURE_STYLE= gnu
 
 USE_GROFF =Yes
-NO_REGRESS= Yes
+NO_TEST=   Yes
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/net/softflowd/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo5 Apr 2007 16:20:16 -   1.3
+++ distinfo16 Jun 2013 01:13:24 -
@@ -1,5 +1,2 @@
-MD5 (softflowd-0.9.8.tar.gz) = AFTRyASUOWzBXtsKHHdIsQ==
-RMD160 (softflowd-0.9.8.tar.gz) = XvRpxWG+8FXHQX57UeFZfz7h+wg=
-SHA1 (softflowd-0.9.8.tar.gz) = bqGM/p09OGV0n1n5tGalb8f7hss=
-SHA256 (softflowd-0.9.8.tar.gz) = UpyFSoJ0KAkigTzPCrl89JLJFfG+F89rdqgr0avquMM=
-SIZE (softflowd-0.9.8.tar.gz) = 89839
+SHA256 (softflowd-0.9.9.tar.gz) = IxPyxQ6ps/LbNSTjjsfNcfmm6IWsLjtVqwN7zPgXNhI=
+SIZE (softflowd-0.9.9.tar.gz) = 91939
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/softflowd/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   3 Apr 2005 02:22:31 -   1.1.1.1
+++ pkg/PLIST   16 Jun 2013 01:13:24 -
@@ -1,5 +1,6 @@
-@comment $OpenBSD: PLIST,v 1.1.1.1 2005/04/03 02:22:31 msf Exp $
+@comment $OpenBSD$
 @man man/man8/softflowctl.8
 @man man/man8/softflowd.8
-sbin/softflowctl
-sbin/softflowd
+@bin sbin/softflowctl
+@bin sbin/softflowd
+@rcscript ${RCDIR}/softflowd
Index: pkg/softflowd.rc
===
RCS file: pkg/softflowd.rc
diff -N pkg/softflowd.rc
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/softflowd.rc16 Jun 2013 01:13:24 -
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+# $OpenBSD$
+
+daemon="${TRUEPREFIX}/sbin/softflowd"
+
+. /etc/rc.d/rc.subr
+
+rc_reload=NO
+
+rc_cmd $1



Re: UPDATE: net/softflowd

2013-06-16 Thread André Stöbe
Stuart Henderson wrote:
> On 2013/06/16 12:17, André Stöbe wrote:
>> Here is an update to softflowd 0.9.9.
>>
>> Tested on amd64 and i386.
> 
> Here's a diff against current (and avoid groff). I think it could
> do with a readme though; using the rc script requires more than just
> adding to pkg_scripts, users need to set, as a minimum,
> softflowd_flags="-i ".

Hi Stuart,

thanks for the correction. This is actually my first port and I'm
very happy to have someone point me in the right direction so I can
do better next time. :-)

Here's an updated diff with a readme file.

Regards
André

Index: Makefile
===
RCS file: /cvs/ports/net/softflowd/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile11 Mar 2013 11:35:56 -  1.6
+++ Makefile16 Jun 2013 12:45:48 -
@@ -1,21 +1,21 @@
-# $OpenBSD: Makefile,v 1.6 2013/03/11 11:35:56 espie Exp $
+# $OpenBSD$
 
 COMMENT=   flow-based network traffic analyser
 
-DISTNAME=  softflowd-0.9.8
-REVISION=  0
+DISTNAME=  softflowd-0.9.9
 CATEGORIES=net
 
+HOMEPAGE=  http://code.google.com/p/softflowd/
+
 # BSD
 PERMIT_PACKAGE_CDROM=  Yes
 
-MASTER_SITES=  http://www2.mindrot.org/files/softflowd/
+MASTER_SITES=  http://softflowd.googlecode.com/files/
 
 WANTLIB=   c pcap
 
 CONFIGURE_STYLE= gnu
 
-USE_GROFF =Yes
-NO_TEST= Yes
+NO_TEST=   Yes
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/net/softflowd/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo5 Apr 2007 16:20:16 -   1.3
+++ distinfo16 Jun 2013 12:45:48 -
@@ -1,5 +1,2 @@
-MD5 (softflowd-0.9.8.tar.gz) = AFTRyASUOWzBXtsKHHdIsQ==
-RMD160 (softflowd-0.9.8.tar.gz) = XvRpxWG+8FXHQX57UeFZfz7h+wg=
-SHA1 (softflowd-0.9.8.tar.gz) = bqGM/p09OGV0n1n5tGalb8f7hss=
-SHA256 (softflowd-0.9.8.tar.gz) = UpyFSoJ0KAkigTzPCrl89JLJFfG+F89rdqgr0avquMM=
-SIZE (softflowd-0.9.8.tar.gz) = 89839
+SHA256 (softflowd-0.9.9.tar.gz) = IxPyxQ6ps/LbNSTjjsfNcfmm6IWsLjtVqwN7zPgXNhI=
+SIZE (softflowd-0.9.9.tar.gz) = 91939
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/softflowd/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   3 Apr 2005 02:22:31 -   1.1.1.1
+++ pkg/PLIST   16 Jun 2013 12:45:48 -
@@ -1,5 +1,7 @@
-@comment $OpenBSD: PLIST,v 1.1.1.1 2005/04/03 02:22:31 msf Exp $
+@comment $OpenBSD$
 @man man/man8/softflowctl.8
 @man man/man8/softflowd.8
-sbin/softflowctl
-sbin/softflowd
+@bin sbin/softflowctl
+@bin sbin/softflowd
+share/doc/pkg-readmes/${FULLPKGNAME}
+@rcscript ${RCDIR}/softflowd
Index: pkg/README
===
RCS file: pkg/README
diff -N pkg/README
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/README  16 Jun 2013 12:45:48 -
@@ -0,0 +1,24 @@
+$OpenBSD$
+
++---
+| Running ${FULLPKGNAME} on OpenBSD
++---
+
+Before starting softflowd(8), "softflowd_flags" needs to be modified in
+rc.conf.local(8) to listen on a network interface as a minimum.
+
+For example:
+
+   softflowd_flags="-i em0"
+   This would cause softflowd(8) to listen on interface
+   em0 and to run in statistics gathering mode only (i.e.
+   no NetFlow data export).
+
+   softflowd_flags="-i fxp0 -n 10.1.0.2:4432"
+   This would cause softflowd(8) to listen on interface
+   fxp0 and to export NetFlow v.5 datagrams on flow expiry
+   to a flow collector running on 10.1.0.2 port 4432.
+
+In both statistics-only and export mode, the running daemon can be
+controlled (i.e. pause data collection, expire or delete flows, etc.)
+and queried for statistics using the softflowctl(8) control program.
Index: pkg/softflowd.rc
===
RCS file: pkg/softflowd.rc
diff -N pkg/softflowd.rc
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/softflowd.rc16 Jun 2013 12:45:48 -
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+# $OpenBSD$
+
+daemon="${TRUEPREFIX}/sbin/softflowd"
+
+. /etc/rc.d/rc.subr
+
+rc_reload=NO
+
+rc_cmd $1



tpb's on-screen display broken?

2013-08-10 Thread André Stöbe
Hi!

I'm running current (i386) on my ThinkPad T43.

Somehow over the last updates -- I can't recall when this happened --
tpb stopped showing me the volume and brightness bar whenever I press
the appropriate keys.

These are however reported by tpb's verbose mode, and besides the
missing on-screen display, the keys are fully functional.

Strangely enough, the ThinkLight and the mute keys are still displayed
on-screen.

I've tried to start tpb without a configuration file (and therefore the
default values, which enable the display for volume, mute and
brightness) and I've also tried to set the options explicitly
(OSDBRIGHTNESS ON/OSDVOLUME ON), but no luck.

There weren't any significant updates to tpb or osd in the last months,
so I suspect this might have something to do with the other
dependencies, or... I really don't know.

Is anybody with a ThinkPad willing to test this?
It should be enough to just "pkg_add tpb; tpb-v" in a xterm and press
those keys. tpb should report them being pressed and display stuff at
the lower left corner.

Thanks a lot.

Regards
André



Re: tpb's on-screen display broken?

2013-08-12 Thread André Stöbe
Florian Stinglmayr wrote:
> Just tested this on my Lenovo X60s and it works fine.

Ryan Freeman wrote:
> Hey, I've not usually ever used tbp for my thinkpad, but I installed
> on my T61 to see.  I am seeing that the volume and brightness are not
> showed...

Thanks to both of you, Florian and Ryan, for testing and reporting back!

Ryan Freeman wrote:
> I see this behavior, once mute causes the osd to display, quickly unmuting
> and using volume keys lets me see some slight updates to the osd volume
> bar.

That's exactly the behaviour I'm seeing, too.

After Florians response, I did a fresh install on a USB stick, booted
from it, and the problem was gone. Any clues what could be causing this?

I'm really interested in debugging this further, so I a) can learn
something new and b) don't have to install everything from scratch :-),
whereas point "a" takes precedence, of course. To any experienced
OpenBSD user: What would be your next steps to get this back to a
working state?

Thanks!

Regards
André



Re: Best practice for CUPS-less foomatic use?

2014-02-24 Thread André Stöbe
Josh Grosse wrote:
> I'm currently using foomatic-rip with lpd(8) for standard print, but find
> myself using foomatic-rip directly, without spooling, when I need to set
> a print option such as papersize or InputPort (tray).  
> 
> I am not using apsfilter, which uses lpr(1)'s -C option to pass print
> options, as I am using the printer vendor's supplied PPD file with Foomatic.
> 
> I am wondering how others are managing print options with Postscript printers.

I had a similar setup some time ago. If I remember correctly, you can
use lpr's -J option to pass options to foomatic-rip.

Regards
André



Re: Best practice for CUPS-less foomatic use?

2014-02-25 Thread André Stöbe
Josh Grosse wrote:
> I haven't found that the -J option works for me.  OTOH, the foomatic-rip -o
> operand does work with print options when printing directly.

Are you sure? I've used this in conjunction with the options defined in
the PPD file.

Try "foomatic-ppd-options
/etc/foomatic/hp-lj_300_400_color_m351_m451-ps.ppd"
and see if you can pass any of these options.

Regards
André