Re: update: audio/faad

2009-01-30 Thread Tobias Ulmer
bah wrong patch, here's the correct version:


Index: Makefile
===
RCS file: /nfs/obsd0/cvs/ports/audio/faad/Makefile,v
retrieving revision 1.38
diff -u -p Makefile
--- Makefile15 Sep 2008 21:58:19 -  1.38
+++ Makefile31 Jan 2009 00:23:41 -
@@ -4,7 +4,7 @@ COMMENT-main=   MPEG-2 and MPEG-4 AAC decoder
 COMMENT-xmms=  XMMS input plugin for AAC files
 V= 2.6.1
 DISTNAME=  faad2-${V}
-PKGNAME-main=  faad-${V}
+PKGNAME-main=  faad-${V}p0
 PKGNAME-xmms=  faad-xmms-${V}
 CATEGORIES=audio
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=faac/}
Index: patches/patch-common_mp4ff_Makefile_am
===
RCS file: 
/nfs/obsd0/cvs/ports/audio/faad/patches/patch-common_mp4ff_Makefile_am,v
retrieving revision 1.1
diff -u -p patches/patch-common_mp4ff_Makefile_am
--- patches/patch-common_mp4ff_Makefile_am  15 Sep 2008 21:58:19 -  
1.1
+++ patches/patch-common_mp4ff_Makefile_am  31 Jan 2009 01:06:41 -
@@ -1,9 +1,14 @@
 $OpenBSD: patch-common_mp4ff_Makefile_am,v 1.1 2008/09/15 21:58:19 jakemsr Exp 
$
 common/mp4ff/Makefile.am.orig  Fri Jul 11 14:17:17 2008
-+++ common/mp4ff/Makefile.am   Fri Jul 11 14:17:37 2008
+--- common/mp4ff/Makefile.am.orig  Sun May  7 20:09:00 2006
 common/mp4ff/Makefile.am   Sat Jan 31 02:00:12 2009
 @@ -1,4 +1,4 @@
 -noinst_LTLIBRARIES = libmp4ff.la
 +lib_LTLIBRARIES = libmp4ff.la
  
  libmp4ff_la_CFLAGS = -DUSE_TAGGING=1
  
+@@ -6,3 +6,4 @@ libmp4ff_la_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4s
+mp4tagupdate.c mp4ff.h mp4ffint.h mp4ff_int_types.h \
+drms.h drms.c drmstables.h
+ 
++include_HEADERS=mp4ff.h mp4ff_int_types.h
Index: pkg/PLIST-main
===
RCS file: /nfs/obsd0/cvs/ports/audio/faad/pkg/PLIST-main,v
retrieving revision 1.2
diff -u -p pkg/PLIST-main
--- pkg/PLIST-main  15 Sep 2008 21:58:19 -  1.2
+++ pkg/PLIST-main  31 Jan 2009 01:06:41 -
@@ -6,6 +6,8 @@
 @bin bin/faad
 include/faad.h
 include/faadconfig.h
+include/mp4ff.h
+include/mp4ff_int_types.h
 include/neaacdec.h
 lib/libfaad.a
 lib/libfaad.la



update: audio/faad

2009-01-30 Thread Tobias Ulmer
don't just install libmp4ff without headers, include them. this is
required for the mpd update everyone is moaning about...

Index: Makefile
===
RCS file: /nfs/obsd0/cvs/ports/audio/faad/Makefile,v
retrieving revision 1.38
diff -u -p Makefile
--- Makefile15 Sep 2008 21:58:19 -  1.38
+++ Makefile31 Jan 2009 00:23:41 -
@@ -4,7 +4,7 @@ COMMENT-main=   MPEG-2 and MPEG-4 AAC decoder
 COMMENT-xmms=  XMMS input plugin for AAC files
 V= 2.6.1
 DISTNAME=  faad2-${V}
-PKGNAME-main=  faad-${V}
+PKGNAME-main=  faad-${V}p0
 PKGNAME-xmms=  faad-xmms-${V}
 CATEGORIES=audio
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=faac/}
Index: patches/patch-common_mp4ff_Makefile_am
===
RCS file: 
/nfs/obsd0/cvs/ports/audio/faad/patches/patch-common_mp4ff_Makefile_am,v
retrieving revision 1.1
diff -u -p patches/patch-common_mp4ff_Makefile_am
--- patches/patch-common_mp4ff_Makefile_am  15 Sep 2008 21:58:19 -  
1.1
+++ patches/patch-common_mp4ff_Makefile_am  31 Jan 2009 00:23:41 -
@@ -1,9 +1,14 @@
 $OpenBSD: patch-common_mp4ff_Makefile_am,v 1.1 2008/09/15 21:58:19 jakemsr Exp 
$
 common/mp4ff/Makefile.am.orig  Fri Jul 11 14:17:17 2008
-+++ common/mp4ff/Makefile.am   Fri Jul 11 14:17:37 2008
+--- common/mp4ff/Makefile.am.orig  Sun May  7 20:09:00 2006
 common/mp4ff/Makefile.am   Sat Jan 31 01:16:17 2009
 @@ -1,4 +1,4 @@
 -noinst_LTLIBRARIES = libmp4ff.la
 +lib_LTLIBRARIES = libmp4ff.la
  
  libmp4ff_la_CFLAGS = -DUSE_TAGGING=1
  
+@@ -6,3 +6,4 @@ libmp4ff_la_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4s
+mp4tagupdate.c mp4ff.h mp4ffint.h mp4ff_int_types.h \
+drms.h drms.c drmstables.h
+ 
++include_HEADERS=mp4ff.h mp4ffint.h
Index: pkg/PLIST-main
===
RCS file: /nfs/obsd0/cvs/ports/audio/faad/pkg/PLIST-main,v
retrieving revision 1.2
diff -u -p pkg/PLIST-main
--- pkg/PLIST-main  15 Sep 2008 21:58:19 -  1.2
+++ pkg/PLIST-main  31 Jan 2009 00:23:41 -
@@ -6,6 +6,8 @@
 @bin bin/faad
 include/faad.h
 include/faadconfig.h
+include/mp4ff.h
+include/mp4ffint.h
 include/neaacdec.h
 lib/libfaad.a
 lib/libfaad.la



Re: [new] www/varnish

2009-01-30 Thread Alex Popov
On Fri, Jan 30, 2009 at 3:13 PM, Jim Razmus  wrote:
> Varnish has a default config built in.

if I don't provide config file it dies on startup with:

Jan 31 00:10:57 ultra varnishd[31411]: No VCL loaded yet
Jan 31 00:10:57 ultra varnishd[31411]: manager dies

> The web site also offers config ideas.
>
> http://varnish.projects.linpro.no/wiki/VCLExamples

Thanks for the link!

I also noticed a weird error opening varnishd manual.
All other mans seem to be okay.

# man varnishd
man: Formatting manual page...
Usage: Too many arguments (maximum of 8 accepted) (#65)
Fl a Ar address Ns Op : Ns Ar
Usage: Too many arguments (maximum of 8 accepted) (#92)
Fl b Ar host Ns Op : Ns Ar
Usage: Too many arguments (maximum of 8 accepted) (#134)
Fl h Ar type Ns Op , Ns Ar
Usage: Too many arguments (maximum of 8 accepted) (#164)
Fl s Ar type Ns Op , Ns Ar
Usage: Too many arguments (maximum of 8 accepted) (#171)
Fl T Ar address Ns Op : Ns Ar
Usage: Too many arguments (maximum of 8 accepted) (#195)
Fl w Ar min Ns Op , Ns Ar
Usage: Too many arguments (maximum of 8 accepted) (#222)
Cm classic Ns Op Ns , Ns Ar buckets
Usage: Too many arguments (maximum of 8 accepted) (#242)
Cm file Ns Op Ns , Ns Ar path

Thanks,

Alex



Re: [new] www/varnish

2009-01-30 Thread Landry Breuil
On Fri, Jan 30, 2009 at 06:13:35PM -0500, Jim Razmus wrote:
> * Alex Popov  [090130 17:52]:
> > On Sat, Jan 17, 2009 at 8:06 PM, Jim Razmus  wrote:
> > 
> > >
> > > Varnish 2.0.2 - high-performance HTTP accelerator.
> > >
> > > Port available here: http://www.bonetruck.org/temp/varnish-2.0.2.tgz
> > >
> > > Built on i386 -current.  Start the daemon with something like the
> > > following to test:
> > >
> > 
> > builds on sparc64
> > 
> > shouldn't it use /var/varnish instead  of /usr/local/var/varnish ?
> 
> I don't think so according to: man 7 hier

local/Local executables, libraries, etc.

i don't see it..besides that, on my system full with dozens of ports:
ls: /usr/local/var: No such file or directory

so yes, please, /var/varnish (like postfix) or /var/lib/varnish
(dovecot), but it has nothing to do in usr/local. runtime files don't
belong there.

Landry



Re: [new] www/varnish

2009-01-30 Thread Jim Razmus
* Alex Popov  [090130 17:52]:
> On Sat, Jan 17, 2009 at 8:06 PM, Jim Razmus  wrote:
> 
> >
> > Varnish 2.0.2 - high-performance HTTP accelerator.
> >
> > Port available here: http://www.bonetruck.org/temp/varnish-2.0.2.tgz
> >
> > Built on i386 -current.  Start the daemon with something like the
> > following to test:
> >
> 
> builds on sparc64
> 
> shouldn't it use /var/varnish instead  of /usr/local/var/varnish ?

I don't think so according to: man 7 hier

> adding an example of config file would also help

Varnish has a default config built in.  You can change the behavior
though as documented in: man 7 vcl

The web site also offers config ideas.

http://varnish.projects.linpro.no/wiki/VCLExamples

HTH,
Jim



Re: [new] www/varnish

2009-01-30 Thread Alex Popov
On Sat, Jan 17, 2009 at 8:06 PM, Jim Razmus  wrote:

>
> Varnish 2.0.2 - high-performance HTTP accelerator.
>
> Port available here: http://www.bonetruck.org/temp/varnish-2.0.2.tgz
>
> Built on i386 -current.  Start the daemon with something like the
> following to test:
>

builds on sparc64

shouldn't it use /var/varnish instead  of /usr/local/var/varnish ?
adding an example of config file would also help


Thanks,

Alex



Re: devel/p5-Moose

2009-01-30 Thread Simon Bertrang
On Fri, Jan 30, 2009 at 06:39:58AM -0800, James Wright wrote:
> Are there plans for updating of Moose to 0.61 before the ports tree lock?  
> It does depend on updated Class::MOP and Sub::Exporter.  I have updates for 
> these and a bunch of lightly tested (only on i386) Moose extensions, i.e. 
> MooseX::POE MooseX::Iterator MooseX::SimpleConfig Moose::Policy 
> MooseX::Getopt MooseX::Storage and MooseX::Params::Validate which I'll post 
> if noone else is working on anything Moose-y.
>

Well, the latest point where i would push the diffs i have is when
Catalyst 5.8 is ready.  As i'm testing it from time to time i currently
have the following updates to offer:
 - p5-Sub-Exporter -> 0.982
 - p5-Class-MOP -> 0.75
 - p5-Moose -> 0.64

I'm running with them for a while now on amd64 and tested all dependent
ports without any issues.  I think it's possible to commit them soonish,
given i get some feedback (other arches anyone?).

Three birds, one stone... but you need to throw it from ports/devel :-)

Kind regards,
Simon


Index: p5-Sub-Exporter/Makefile
===
RCS file: /cvs/ports/devel/p5-Sub-Exporter/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- p5-Sub-Exporter/Makefile3 Oct 2008 13:40:33 -   1.5
+++ p5-Sub-Exporter/Makefile30 Jan 2009 17:36:52 -
@@ -3,7 +3,7 @@
 COMMENT=   exporter on steroids
 
 MODULES=   cpan
-DISTNAME=  Sub-Exporter-0.980
+DISTNAME=  Sub-Exporter-0.982
 CATEGORIES=devel
 
 # perl
Index: p5-Sub-Exporter/distinfo
===
RCS file: /cvs/ports/devel/p5-Sub-Exporter/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- p5-Sub-Exporter/distinfo3 Oct 2008 13:40:33 -   1.4
+++ p5-Sub-Exporter/distinfo30 Jan 2009 17:36:52 -
@@ -1,5 +1,5 @@
-MD5 (Sub-Exporter-0.980.tar.gz) = vTMjphV8pyJAhZetrbPFow==
-RMD160 (Sub-Exporter-0.980.tar.gz) = 8aHk7TV82M005iboEIEa79dv2fw=
-SHA1 (Sub-Exporter-0.980.tar.gz) = PbGX9uuyTOtBXKgYuKJVXrbyJas=
-SHA256 (Sub-Exporter-0.980.tar.gz) = 
IkDiFkVXw3lgPE2yVVpS/WDw/XjeEJSR+vC8Mau9+qw=
-SIZE (Sub-Exporter-0.980.tar.gz) = 53300
+MD5 (Sub-Exporter-0.982.tar.gz) = 25Cg1zpcotGF3WxtL8hI8A==
+RMD160 (Sub-Exporter-0.982.tar.gz) = CpqXyLwTXja5lu8SR8qRd6lZBjA=
+SHA1 (Sub-Exporter-0.982.tar.gz) = NhKv05/YoOLyuRaN6NLVEQQgg5Y=
+SHA256 (Sub-Exporter-0.982.tar.gz) = 
ci+GEHEQFHtovk3w1XWXFhzTCrX2Do8NX0P3MgvAyHU=
+SIZE (Sub-Exporter-0.982.tar.gz) = 53651
Index: p5-Class-MOP/Makefile
===
RCS file: /cvs/ports/devel/p5-Class-MOP/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- p5-Class-MOP/Makefile   7 Oct 2008 17:01:14 -   1.4
+++ p5-Class-MOP/Makefile   30 Jan 2009 17:36:52 -
@@ -5,7 +5,7 @@ SHARED_ONLY=Yes
 COMMENT=   meta object protocol for perl 5
 
 MODULES=   cpan
-DISTNAME=  Class-MOP-0.66
+DISTNAME=  Class-MOP-0.75
 CATEGORIES=devel
 
 # perl
Index: p5-Class-MOP/distinfo
===
RCS file: /cvs/ports/devel/p5-Class-MOP/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- p5-Class-MOP/distinfo   7 Oct 2008 17:01:14 -   1.3
+++ p5-Class-MOP/distinfo   30 Jan 2009 17:36:52 -
@@ -1,5 +1,5 @@
-MD5 (Class-MOP-0.66.tar.gz) = ILG3jG7HsnhDatY2A2hgsg==
-RMD160 (Class-MOP-0.66.tar.gz) = 6wRlY/BLVwjSzuteTrOCdZbU0A0=
-SHA1 (Class-MOP-0.66.tar.gz) = K2+PrK0rVAWEnVq8U2GazCdsAQs=
-SHA256 (Class-MOP-0.66.tar.gz) = qROtSrbrE/nx5CS611zoQk28Vt6Xv58vEdhKW+/Fb2w=
-SIZE (Class-MOP-0.66.tar.gz) = 146195
+MD5 (Class-MOP-0.75.tar.gz) = uCu7Fo7sd27AJ5W7IYyfIw==
+RMD160 (Class-MOP-0.75.tar.gz) = XiDwJwHmzSpwp5X4XXQ3HUULQ90=
+SHA1 (Class-MOP-0.75.tar.gz) = WoL0InbK1VpAIZ7ZDDySvtieVjs=
+SHA256 (Class-MOP-0.75.tar.gz) = OGIQr9jTvFwec1vxSghREqqwqnYJhTe+qO2Bf1D9xUQ=
+SIZE (Class-MOP-0.75.tar.gz) = 153042
Index: p5-Moose/Makefile
===
RCS file: /cvs/ports/devel/p5-Moose/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- p5-Moose/Makefile   7 Oct 2008 17:54:22 -   1.4
+++ p5-Moose/Makefile   30 Jan 2009 17:36:52 -
@@ -3,8 +3,7 @@
 COMMENT=   complete modern object system for perl 5
 
 MODULES=   cpan
-DISTNAME=  Moose-0.58
-PKGNAME=   p5-${DISTNAME}p0
+DISTNAME=  Moose-0.64
 CATEGORIES=devel
 
 # perl
@@ -16,7 +15,7 @@ PERMIT_DISTFILES_FTP= Yes
 CPAN_AUTHOR=   DROLSKY
 
 BUILD_DEPENDS= ${RUN_DEPENDS}
-RUN_DEPENDS=   :p5-Class-MOP->=0.66:devel/p5-Class-MOP \
+RUN_DEPENDS=   :p5-Class-MOP->=0.75:devel/p5-Class-MOP \
::devel/p5-List-MoreUtils \
::devel/p5-Sub-Exporter
 
Index: p5-Moose/distinfo
===
RCS file: /cvs/ports/devel/p5-Moose/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--

Re: [new] www/varnish

2009-01-30 Thread Jim Razmus
* b...@openbsd.rutgers.edu  [090130 10:40]:
> On 17 January 2009 at 23:06, Jim Razmus  wrote:
> 
> > * Jim Razmus  [090117 10:16]:
> > > * Toni Mueller  [090117 06:39]:
> > > > 
> > > > Hi,
> > > > 
> > > > On Mon, 10.11.2008 at 11:59:50 -0500, Jim Razmus  
> > > > wrot
> e:
> > > > > This really needs testing on different archs before commit.  My sun
> > > > > servers are toast.  Only tested on i386.
> > > > > 
> > > > > Port available here: http://www.bonetruck.org/tmp/varnish.tgz
> > > > 
> > > > I can't find this tarball, and neither a commit. Also, there's varnish
> > > > 2.0.2...
> > > > 
> > > > Can you please make it available again?
> > > > 
> > > > TIA!
> > > > 
> > > > 
> > > > -- 
> > > > Kind regards,
> > > > --Toni++
> > > > 
> > > 
> > > I didn't get any interest previously so I dropped it.  But I'll update
> > > it later today (EST) and post here.
> > > 
> > > Jim
> > 
> > Varnish 2.0.2 - high-performance HTTP accelerator.
> > 
> > Port available here: http://www.bonetruck.org/temp/varnish-2.0.2.tgz
> > 
> > Built on i386 -current.  Start the daemon with something like the
> > following to test:
> > 
> > varnishd -f /etc/varnishd.vcl -p send_timeout=327 \
> > -s file,/tmp/mmap.file,50M -T localhost:3999
> > 
> > I dropped the maintainer line from the Makefile.  I've gone with Movable
> > Type and don't need or want an HTTP accelerator anymore.
> > 
> > Jim
> 
> Could a committer please look at importing this?
> 
> Seems to work fine on amd64.
> 
> Thanks.
> 

Anyone is welcome to step in, pick this up, and take the role of
maintainer.

Possible improvement for future ports of this software could be getting
kqueue support working.  I started on that, but like I mentioned above,
no longer have a need so abandoned it.  Also, fiddling with the
send_timeout to figure out why 328 causes issues on OpenBSD would be
good too.  I suspect a bug, but that's just guesstimate on my part.

Jim



Re: Upgrading to GHC 6.10

2009-01-30 Thread Jona Joachim
On 2009-01-29, TeXitoi  wrote:
> Jona Joachim  writes:
>
>> Yes, xmonad 0.8 does not compile with ghc-6.10, you have to use the darcs
>> version of xmonad. I haven't tried to compile darcs with 6.10 yet.
>
> xmonad 0.8.1 is out, and compile with ghc 6.10 (this is the only
> change since 0.8).
>
>> If somebody wants to take a look or test, here is a work in progress port for
>> ghc and a proof of concept port for xmonad:
>> http://www.hcl-club.lu/~jaj/stuff/obsd_ports/
>
> Work great here on i386 with several xmonad-contrib modules.
>
>> It should work on i386 and amd64. It's not ready for prime time but
>> I don't have any spare time either ATM.
>
> I hope it will be ready for 4.5. xmonad with xmonad-contrib is much
> better!

I promise to start working again on this in about one week.


-- 
Pond-erosa Puff wouldn't take no guff
Water oughta be clean and free
So he fought the fight and he set things right
With his OpenBSD



Re: dejavu fonts

2009-01-30 Thread frantisek holop
hmm, on Thu, Jan 29, 2009 at 04:36:35PM +0100, Tim van der Molen said that
> > I did not add dejavu to my font path, nor test any
> > non-fontconfig X11 clients, nor any use of fonts without
> > X11.
> 
> Adding the DejaVu dir to your font path is useful only if you want to
> use the DejaVu fonts with non-fontconfig clients. fontconfig clients
> `automatically' find the DejaVu fonts because /usr/local/libs/X11/fonts
> is listed in /etc/fonts/fonts.conf.

in my experience there is one more use case for opera in linux
emulation.  for opera to see my truetype fonts i have to copy
them to /emul/linux/usr/share/fonts

symlinks to my fonts directories make opera use 100% cpu and
can only be killed.

i was wondering, how the others deal with this?

-f
-- 
fish and guests smell in three days.



Re: audio/xmp sndio

2009-01-30 Thread Thomas Pfaff
On Fri, 30 Jan 2009 15:31:57 +0100
Thomas Pfaff  wrote:

> This diff adds an sndio driver for audio/xmp.

I added a few XMs at http://www.tp76.info/stuff/ from
my collection, in case you don't have any to test with.



Re: UPDATE: devel/py-twisted

2009-01-30 Thread Will Maier
Hi Eric-

On Tue, Jan 20, 2009 at 11:39:53AM +0100, Eric Faurot wrote:
> This diff updates twisted to 8.2.0.  The most notable change is
> Web2 being phased out.  I have reworked the regress target a bit
> too. 

Looks good on i386 with the py-openssl and py-zopeinterface updates.
All but two (non-skipped) tests pass. The two errors relate to a
silly test that tries to write in ${LOCALBASE}, which is, I think, a
side effect of your regress change. I'm OK with the failure, as I
think that the new regress approach causes more tests to succeed
overall. ok wcma...@.

Thanks!

-- 

o--{ Will Maier }--o
| web:...http://www.lfod.us/ | email.willma...@ml1.net |
*-[ BSD: Live Free or Die ]*



Re: UPDATE: security/py-openssl

2009-01-30 Thread Will Maier
Hi Eric-

On Tue, Jan 27, 2009 at 12:20:35PM +0100, Eric Faurot wrote:
> This diffs updates py-openssl to 0.8. The patch fixes a regress
> test that hangs.

Looks ok on i386 and py-twisted doesn't mind. ok wcma...@.

Thanks!

-- 

o--{ Will Maier }--o
| web:...http://www.lfod.us/ | email.willma...@ml1.net |
*-[ BSD: Live Free or Die ]*



Re: Fw: UPDATE: devel/py-zopeinterface

2009-01-30 Thread Will Maier
Hi Eric-

On Tue, Jan 20, 2009 at 11:20:46AM +0100, Eric Faurot wrote:
> ok anyone?

Jup. ;) ok wcmaier@; regress is good on i386, and py-twisted likes
the update, too.

Thanks!

-- 

o--{ Will Maier }--o
| web:...http://www.lfod.us/ | email.willma...@ml1.net |
*-[ BSD: Live Free or Die ]*



audio/xmp sndio

2009-01-30 Thread Thomas Pfaff
This diff adds an sndio driver for audio/xmp.

The default audio output was mono which I changed to stereo (otherwise
aucat will only play on one speaker), however I've not updated the man
page nor changed the --stereo option to --mono.  Mail to upstream bounces,
so I'm not sure how much work I should put into this.

Suggestions are welcome.  Please test and comment.


Index: xmp/Makefile
diff -u xmp/Makefile:1.1.1.1 xmp/Makefile:1.2
--- xmp/Makefile:1.1.1.1Fri Jan 30 15:15:58 2009
+++ xmp/MakefileFri Jan 30 15:18:35 2009
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile,v 1.29 2007/09/15 21:26:04 simon Exp $
+# $OpenBSD: Makefile,v 1.30 2008/06/18 18:08:06 miod Exp $
 
 COMMENT-main=  extended module player
 COMMENT-xmms=  extended module player plugin for XMMS
 DISTNAME=  xmp-2.0.4
-PKGNAME-main=  ${DISTNAME}p3
+PKGNAME-main=  ${DISTNAME}p4
 PKGNAME-xmms=  xmms-${DISTNAME}p1
 CATEGORIES=audio
 
@@ -29,15 +29,14 @@
 MULTI_PACKAGES+=   -xmms
 LIB_DEPENDS=   xmms.>=3::audio/xmms
 .else
-CONFIGURE_ARGS+= --disable-xmms
+CONFIGURE_ARGS+= --disable-xmms --disable-esd
 .endif
 
 LIB_DEPENDS-xmms=
 RUN_DEPENDS-xmms=  ::audio/xmms
 WANTLIB-xmms=
 
-LIB_DEPENDS-main=  esd.>=2::audio/esound
-WANTLIB-main=  X11 Xext c m
+WANTLIB-main=  X11 Xext c m sndio
 
 USE_X11=   Yes
 USE_GMAKE= Yes
@@ -49,6 +48,9 @@
 
 FAKE_FLAGS=DEST_DIR=${WRKINST} \
SYSCONF_DIR=${PREFIX}/share/examples/xmp
+
+post-extract:
+   @cp -f ${FILESDIR}/openbsd.c ${WRKSRC}/src/drivers
 
 pre-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xmp \
Index: xmp/files/openbsd.c
diff -u /dev/null xmp/files/openbsd.c:1.1
--- /dev/null   Fri Jan 30 15:20:33 2009
+++ xmp/files/openbsd.c Fri Jan 30 15:18:06 2009
@@ -0,0 +1,126 @@
+/*
+ * Copyright (c) 2009 Thomas Pfaff 
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#include 
+#include 
+
+#include 
+
+#include "xmpi.h"
+#include "driver.h"
+#include "mixer.h"
+
+static struct sio_hdl *hdl;
+
+static int init (struct xmp_control *);
+static void dance (int);
+static void shutdown (void);
+static void dummy (void);
+
+struct xmp_drv_info drv_openbsd = {
+   "sndio",/* driver ID */
+   "OpenBSD sndio",/* driver description */
+   NULL,   /* help */
+   init,   /* init */
+   shutdown,   /* shutdown */
+   xmp_smix_numvoices, /* numvoices */
+   dummy,  /* voicepos */
+   xmp_smix_echoback,  /* echoback */
+   dummy,  /* setpatch */
+   xmp_smix_setvol,/* setvol */
+   dummy,  /* setnote */
+   xmp_smix_setpan,/* setpan */
+   dummy,  /* setbend */
+   xmp_smix_seteffect, /* seteffect */
+   dummy,  /* starttimer */
+   dummy,  /* stctlimer */
+   dummy,  /* reset */
+   dance,  /* bufdump */
+   dummy,  /* bufwipe */
+   dummy,  /* clearmem */
+   dummy,  /* sync */
+   xmp_smix_writepatch,/* writepatch */
+   xmp_smix_getmsg,/* getmsg */
+   NULL
+};
+
+static void
+dummy (void)
+{
+}
+
+static int
+init (struct xmp_control *ctl)
+{
+   struct sio_par par, askpar;
+
+   hdl = sio_open (NULL, SIO_PLAY, 0);
+   if (hdl == NULL) {
+   fprintf (stderr, "%s: failed to open audio device\n", __func__);
+   return XMP_ERR_DINIT;
+   }
+
+   sio_initpar (&par);
+   par.pchan = ctl->outfmt & XMP_FMT_MONO ? 1 : 2;
+   par.rate = ctl->freq;
+   par.bits = ctl->resol;
+   par.sig = ctl->resol > 8 ? 1 : 0;
+   par.le = SIO_LE_NATIVE;
+   par.appbufsz = par.rate / 4; /* 250ms buffer */
+
+   askpar = par;
+   if (!sio_setpar (hdl, &par) || !sio_getpar (hdl, &par)) {
+   fprintf (stderr, "%s: failed to set parameters\n", __func__);
+   goto error;
+   }
+
+   if ((par.bits == 16 && par.le != askpar.le) ||
+   par.bits != askpar.bits ||
+   par.sig != askpar.sig ||
+   par.pchan != askpar.pchan ||
+par.rate != askpar.rate) {
+   

devel/p5-Moose

2009-01-30 Thread James Wright
Are there plans for updating of Moose to 0.61 before the ports tree 
lock?  It does depend on updated Class::MOP and Sub::Exporter.  I have 
updates for these and a bunch of lightly tested (only on i386) Moose 
extensions, i.e. MooseX::POE MooseX::Iterator MooseX::SimpleConfig 
Moose::Policy MooseX::Getopt MooseX::Storage and 
MooseX::Params::Validate which I'll post if noone else is working on 
anything Moose-y.




Re: Transmission 1.50 Beta 2

2009-01-30 Thread Christian Weisgerber
Brad  wrote:

> > For anyone wanting to try out Transmission 1.50 Beta 2 here is an update.
> > The main addition for the 1.50 release is IPv6 support. This is especially
> > interesting now that The Pirate Bay has v6 support.
> 
> Here is Beta 3..

Beta 4.

Index: Makefile
===
RCS file: /cvs/ports/net/transmission/Makefile,v
retrieving revision 1.29
diff -u -p -r1.29 Makefile
--- Makefile27 Dec 2008 15:54:43 -  1.29
+++ Makefile30 Jan 2009 12:28:48 -
@@ -3,7 +3,7 @@
 COMMENT-main=  lightweight BitTorrent command line and daemon client
 COMMENT-gui=   lightweight BitTorrent client with graphical interface
 
-VER=   1.42
+VER=   1.50b4
 DISTNAME=  transmission-${VER}
 PKGNAME-main=  transmission-${VER}
 PKGNAME-gui=   transmission-gui-${VER}
@@ -18,7 +18,7 @@ PERMIT_PACKAGE_FTP=   Yes
 PERMIT_DISTFILES_CDROM=Yes
 PERMIT_DISTFILES_FTP=  Yes
 
-MASTER_SITES=  http://download.m0k.org/transmission/files/
+MASTER_SITES=  http://mirrors.m0k.org/transmission/files/
 EXTRACT_SUFX=  .tar.bz2
 
 PSEUDO_FLAVORS=no_gui
Index: distinfo
===
RCS file: /cvs/ports/net/transmission/distinfo,v
retrieving revision 1.17
diff -u -p -r1.17 distinfo
--- distinfo27 Dec 2008 15:54:43 -  1.17
+++ distinfo30 Jan 2009 12:28:48 -
@@ -1,5 +1,5 @@
-MD5 (transmission-1.42.tar.bz2) = wIO9ywFCZGboDuM5vM2TUQ==
-RMD160 (transmission-1.42.tar.bz2) = ++KhhaFpMBNu9rn1aCj2OHPmGIo=
-SHA1 (transmission-1.42.tar.bz2) = EJ7xIbxNAyx4sU19OTTyCl7ZgDU=
-SHA256 (transmission-1.42.tar.bz2) = 
5+F/KaFmeUAXxtlDYhWTN/FACMQU0fjaX3wsHAXH1UM=
-SIZE (transmission-1.42.tar.bz2) = 4630409
+MD5 (transmission-1.50b4.tar.bz2) = sByMea1S6Uj9y8tP+WKOHQ==
+RMD160 (transmission-1.50b4.tar.bz2) = rKHUYKF6qDNCRlfWxBCn7E5+r1g=
+SHA1 (transmission-1.50b4.tar.bz2) = 6QZH+LvnqImwZ9vCOE0zaMc6jC0=
+SHA256 (transmission-1.50b4.tar.bz2) = 
bO7u/CacfjXvfJ/Us36xCycxBMQzFhDBmOVQ8tGD0E0=
+SIZE (transmission-1.50b4.tar.bz2) = 4679444
Index: patches/patch-configure
===
RCS file: /cvs/ports/net/transmission/patches/patch-configure,v
retrieving revision 1.10
diff -u -p -r1.10 patch-configure
--- patches/patch-configure 2 Dec 2008 15:29:07 -   1.10
+++ patches/patch-configure 30 Jan 2009 12:28:48 -
@@ -1,14 +1,36 @@
 $OpenBSD: patch-configure,v 1.10 2008/12/02 15:29:07 naddy Exp $
 configure.orig Thu Nov 27 21:20:39 2008
-+++ configure  Thu Nov 27 21:21:19 2008
-@@ -21453,10 +21453,6 @@ else
- fi
+--- configure.orig Fri Jan 23 15:38:05 2009
 configure  Fri Jan 23 15:40:49 2009
+@@ -20147,8 +20147,8 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+ 
+ if test X = "0"; then
+   supported_build=yes
+-  CFLAGS="$CFLAGS -g -O3 -funroll-loops "
+-  CXXFLAGS="$CXXFLAGS -g -O3 -funroll-loops "
++  : CFLAGS="$CFLAGS -g -O3 -funroll-loops "
++  : CXXFLAGS="$CXXFLAGS -g -O3 -funroll-loops "
+ 
+ cat >>confdefs.h <<\_ACEOF
+ #define TR_STABLE_RELEASE 1
+@@ -20156,8 +20156,8 @@ _ACEOF
  
+ else
+   supported_build=no
+-  CFLAGS="$CFLAGS -g -O0"
+-  CXXFLAGS="$CXXFLAGS -g -O0"
++  : CFLAGS="$CFLAGS -g -O0"
++  : CXXFLAGS="$CXXFLAGS -g -O0"
+   if test X = "X"; then
  
--if test "x$GCC" = "xyes" ; then
--CFLAGS="-g -Wall -Wformat-security -W -Wmissing-prototypes 
-Wdeclaration-after-statement -O3 -funroll-loops"
--CXXFLAGS="-g -Wall -Wformat-security -W -O3 -funroll-loops"
--fi
+ cat >>confdefs.h <<\_ACEOF
+@@ -21540,8 +21540,8 @@ _ACEOF
+ esac
+ 
+ if test "x$GCC" = "xyes" ; then
+-CFLAGS="-std=gnu99 -ggdb3 -Wall -Wextra -Wredundant-decls -Wpointer-arith 
-Wformat-security -W -Wmissing-declarations -Wdeclaration-after-statement 
-Wcast-align -Winit-self -Wundef -Wnested-externs -Wmissing-format-attribute"
+-CXXFLAGS="-Wall -Wformat-security -W"
++: CFLAGS="-std=gnu99 -ggdb3 -Wall -Wextra -Wredundant-decls 
-Wpointer-arith -Wformat-security -W -Wmissing-declarations 
-Wdeclaration-after-statement -Wcast-align -Winit-self -Wundef -Wnested-externs 
-Wmissing-format-attribute"
++: CXXFLAGS="-Wall -Wformat-security -W"
+ fi
  
  { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
- $as_echo_n "checking for ANSI C header files... " >&6; }
Index: patches/patch-daemon_remote_c
===
RCS file: /cvs/ports/net/transmission/patches/patch-daemon_remote_c,v
retrieving revision 1.2
diff -u -p -r1.2 patch-daemon_remote_c
--- patches/patch-daemon_remote_c   27 Dec 2008 15:54:43 -  1.2
+++ patches/patch-daemon_remote_c   30 Jan 2009 12:28:48 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-daemon_remote_c,v 1.2 2008/12/27 15:54:43 naddy Exp $
 daemon/remote.c.orig   Wed Dec  3 00:44:08 2008
-+++ daemon/remote.cThu Dec  4 17:58:32 2008
-@@ -575,11 +575,11 @@ strlratio2( char * buf, double ratio, size_t buflen )