Re: update: www/privoxy: 3.0.3 -> 3.0.6

2007-02-08 Thread Nikolay Sturm
* Chris Kuethe [2007-02-09]:
> Seems to be working well on i386.

? patches/patch-cgiedit_c
? patches/patch-encode_c
Index: Makefile
...

What about those two patches?

Nikolay

-- 
"It's all part of my Can't-Do approach to life." Wally



update: www/privoxy: 3.0.3 -> 3.0.6

2007-02-08 Thread Chris Kuethe

Seems to be working well on i386.

CK

--
GDB has a 'break' feature; why doesn't it have 'fix' too?


privoxy.diff
Description: Binary data


Re: UPDATE: nmap

2007-02-08 Thread Peter Valchev
> Nmap updated to 4.20 version, it seems to work even with OpenBSD's libpcap.
> Tested on i386.

Can you not GZIP the diffs that you send in the future please?

in your patch-tcpip.cc
--- tcpip.cc.orig   Sun Feb  4 16:06:01 2007
+++ tcpip.ccSun Feb  4 16:08:26 2007
@@ -99,6 +99,8 @@
  ***/
 
 /* $Id: tcpip.cc 4228 2006-12-08 03:01:08Z fyodor $ */
+#include 
+
 #ifdef WIN32
 #include "nmap_winconfig.h"
 #endif
@@ -1959,7 +1961,7 @@ if (timedout) {
 
 // Returns whether the system supports pcap_get_selectable_fd() properly
 bool pcap_selectable_fd_valid() {
-#if defined(WIN32) || defined(MACOSX)
+#if defined(WIN32) || defined(MACOSX) || (defined(BSD) && BSD >= 199306)
   return false;
 #endif
   return true;
@@ -1972,7 +1974,7 @@ bool pcap_selectable_fd_valid() {
results.  If you just want to test whether the function is supported,
use pcap_selectable_fd_valid() instead. */
 int my_pcap_get_selectable_fd(pcap_t *p) {
-#if defined(WIN32) || defined(MACOSX)
+#if defined(WIN32) || defined(MACOSX) || (defined(BSD) && BSD >= 199306)
   return -1;
 #else
   assert(pcap_selectable_fd_valid());


Why did you make these changes?  pcap_get_selectable_fd() is in our
libpcap and removing that patch still seems to "work" in general though
I haven't looked to see what it affects... you patched it though,
so hence the question?



Re: audio/pacpl missing dependency

2007-02-08 Thread Nick Nauwelaerts
On Thu, 8 Feb 2007 10:21:59 +0100
Bernd Ahlers <[EMAIL PROTECTED]> wrote:

> I just tried to install all three pacpl packages from the latest 
> snapshot on an empty machine. It just works.
> 
> Maybe your package mirror isn't complete and p5-Inline is missing? 
> Well, without a complete error message it's just a wild guess...

For the record, my p5-Ogg-Vorbis-Header version was 0.03 instead of
0.03p, which was the problem (p0 pulls in p5-Inline as a dep it seems).

// nick



after feedback, take 2 apr-mt + apr-util-mt

2007-02-08 Thread Todd T. Fries
Between Kurt and Steven, I've gotten some good tips.

This builds and packages and installs properly, looking for any gotchas I've
missed.

Thanks!
-- 
Todd Fries .. [EMAIL PROTECTED]

 _
| \  1.636.410.0632 (voice)
| Free Daemon Consulting, LLC \  1.405.227.9094 (voice)
| http://FreeDaemonConsulting.com \  1.866.792.3418 (FAX)
| "..in support of free software solutions."  \  250797 (FWD)
| \
 \\
 
  37E7 D3EB 74D0 8D66 A68D  B866 0326 204E 3F42 004A
http://todd.fries.net/pgp.txt

diff -urN --exclude=CVS apr-cvs/Makefile apr/Makefile
--- apr-cvs/MakefileFri Nov  3 04:56:44 2006
+++ apr/MakefileThu Feb  8 15:12:47 2007
@@ -3,7 +3,9 @@
 COMMENT=   "Apache Portable Runtime"
 
 DISTNAME=  apr-1.2.7
-SHARED_LIBS += apr-12.7  # .2.7
+PKGNAME=   ${DISTNAME}p0
+FULLPKGNAME=   apr${MT}-1.2.7p0
+SHARED_LIBS += apr-1${MT} 2.7 # .2.7
 
 CATEGORIES=devel
 
@@ -22,8 +24,28 @@
 USE_LIBTOOL=   Yes
 CONFIGURE_STYLE=gnu
 CONFIGURE_ARGS=${CONFIGURE_SHARED} \
-   --with-installbuilddir=${LOCALBASE}/lib/apr-1/ \
-   --enable-other-child \
-   --disable-threads
+   --includedir=${LOCALBASE}/include/apr-1${MT}/ \
+   --with-installbuilddir=${LOCALBASE}/lib/apr-1${MT}/ \
+   --enable-other-child
+
+FLAVORS=   mt
+FLAVOR?=
+
+SUBST_VARS+=   MT
+
+.if ${FLAVOR:L:Mmt}
+MT=-mt
+CONFIGURE_ARGS+=   --enable-threads
+WANTLIB=   pthread
+
+post-install:
+   sed 's/{APR_LIBNAME}/{APR_LIBNAME}-mt/g' ${WRKSRC}/apr-config.out > 
${PREFIX}/bin/apr-1-mt-config
+
+.else
+MT=
+CONFIGURE_ARGS+=   --disable-threads
+.endif
+MAKE_ENV+= MT=${MT}
+FAKE_ENV+= MT=${MT}
 
 .include 
diff -urN --exclude=CVS apr-cvs/patches/patch-Makefile_in 
apr/patches/patch-Makefile_in
--- apr-cvs/patches/patch-Makefile_in   Wed Dec 31 18:00:00 1969
+++ apr/patches/patch-Makefile_in   Thu Feb  8 14:26:23 2007
@@ -0,0 +1,42 @@
+$OpenBSD$
+--- Makefile.in.orig   Fri Feb  4 05:55:44 2005
 Makefile.inThu Feb  8 14:25:50 2007
+@@ -3,6 +3,7 @@ [EMAIL PROTECTED]@
+ [EMAIL PROTECTED]@
+ [EMAIL PROTECTED]@
+ [EMAIL PROTECTED]@
++MT?=
+ 
+ #
+ # APR (Apache Portable Runtime) library Makefile.
+@@ -26,9 +27,10 @@ INCLUDES=-I$(INCDIR) -I$(OSDIR) -I$(DEFO
+ CLEAN_SUBDIRS= test
+ [EMAIL PROTECTED]@
+ 
+-TARGET_LIB = [EMAIL PROTECTED]@.la
+-APR_PCFILE = apr-$(APR_MAJOR_VERSION).pc
++TARGET_LIB = [EMAIL PROTECTED]@${MT}.la
++APR_PCFILE = apr-$(APR_MAJOR_VERSION)${MT}.pc
+ APR_CONFIG = apr-$(APR_MAJOR_VERSION)-config
++APR_INSTCONFIG = apr-$(APR_MAJOR_VERSION)${MT}-config
+ INSTALL = @INSTALL@
+ INSTALL_DATA = @INSTALL_DATA@
+ 
+@@ -75,7 +77,7 @@ install: $(TARGET_LIB) apr-config.out bu
+   done
+   $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(TARGET_LIB) 
$(DESTDIR)$(libdir)
+   $(INSTALL_DATA) apr.exp $(DESTDIR)$(libdir)/apr.exp
+-  $(INSTALL_DATA) apr.pc $(DESTDIR)$(libdir)/pkgconfig/$(APR_PCFILE)
++  $(INSTALL_DATA) apr${MT}.pc $(DESTDIR)$(libdir)/pkgconfig/$(APR_PCFILE)
+   for f in libtool shlibtool; do \
+   if test -f $${f}; then $(INSTALL) -m 755 $${f} 
$(DESTDIR)$(installbuilddir); fi; \
+   done
+@@ -84,7 +86,7 @@ install: $(TARGET_LIB) apr-config.out bu
+   $(INSTALL_DATA) $(top_srcdir)/build/$${f} 
$(DESTDIR)$(installbuilddir); \
+   done
+   $(INSTALL_DATA) build/apr_rules.out 
$(DESTDIR)$(installbuilddir)/apr_rules.mk
+-  $(INSTALL) -m 755 apr-config.out $(DESTDIR)$(bindir)/$(APR_CONFIG)
++  $(INSTALL) -m 755 apr-config.out $(DESTDIR)$(bindir)/$(APR_INSTCONFIG)
+   @if [ $(INSTALL_SUBDIRS) != "none" ]; then \
+ for i in $(INSTALL_SUBDIRS); do \
+   ( cd $$i ; $(MAKE) DESTDIR=$(DESTDIR) install ); \
diff -urN --exclude=CVS apr-cvs/patches/patch-apr-mt_pc_in 
apr/patches/patch-apr-mt_pc_in
--- apr-cvs/patches/patch-apr-mt_pc_in  Wed Dec 31 18:00:00 1969
+++ apr/patches/patch-apr-mt_pc_in  Thu Feb  8 14:26:58 2007
@@ -0,0 +1,15 @@
+$OpenBSD$
+--- apr-mt.pc.in.orig  Thu Feb  8 14:19:40 2007
 apr-mt.pc.in   Thu Feb  8 14:25:06 2007
+@@ -0,0 +1,11 @@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
++
++Name: APR
++Description: The Apache Portable Runtime library
++Version: @APR_DOTTED_VERSION@
++Libs: -L${libdir} [EMAIL PROTECTED]@-mt @EXTRA_LIBS@
++Cflags: @EXTRA_CPPFLAGS@ @EXTRA_CFLAGS@ -I${includedir}
diff -urN --exclude=CVS apr-cvs/patches/patch-configure 
apr/patches/patch-configure
--- apr-cvs/patches/patch-configure Thu Jan 20 12:48:54 2005
+++ apr/patches/patch-configure Thu Feb  8 13:57:56 2007
@@ -1,23 +1,51 @@
-$OpenBSD: patch-configure,v 1.3

updated resubmission: databases/postgresql-jdbc

2007-02-08 Thread Matthias Kilian
Pure Java JDBC driver for PostgreSQL 8.2.

For make regress, it's still important that no other postgres is
running and that kern.seminfo.semmni and kern.seminfo.semmns are
set to 256 and 2048, resp. (this is checked in the pre-regress
target).

Tests and comments are welcome. I'd especially appreciate any idea
doing the regression tests in a less clumsy way (if possible).

Ciao,
Kili


postgresql-jdbc.tgz
Description: application/tar-gz


archive-index

2007-02-08 Thread Wim Wauters

archive-index



NEW: ftpcube-0.5.1

2007-02-08 Thread Giovanni Bechis
pkg/DESCR

FtpCube is a multi-platform, graphical FTP client written in Python, 
using the wxPython graphical tookit. 
FtpCube aims to provide a high quality user interface, 
as well as a rich feature set.

Comments ? Ok ?
 Giovanni


ftpcube-0.5.1.tgz
Description: application/tar-gz


mt flavor for apr

2007-02-08 Thread Todd T. Fries
I have a port that I'm working on that requires a threaded version of apr.

Unfortunately, everything changes when apr enables threads, from package
config to WANTLIB to CFLAGS for dependent packages to headers that say
whether or not the libs were built with threads enabled or not.

So, bouncing ideas off Kurt, I managed to construct the following diff.

It makes threads a flavor that does not conflict with the non threads version
and so either one can be installed independently or at the same time.

Thanks for any comments/testing/etc!

diff -urN --exclude=CVS apr-cvs/Makefile apr/Makefile
--- apr-cvs/MakefileFri Nov  3 04:56:44 2006
+++ apr/MakefileThu Feb  8 10:34:06 2007
@@ -3,7 +3,8 @@
 COMMENT=   "Apache Portable Runtime"
 
 DISTNAME=  apr-1.2.7
-SHARED_LIBS += apr-12.7  # .2.7
+PKGNAME=   ${DISTNAME}p0
+FULLPKGNAME=   apr${MT}-1.2.7p0
 
 CATEGORIES=devel
 
@@ -22,8 +23,27 @@
 USE_LIBTOOL=   Yes
 CONFIGURE_STYLE=gnu
 CONFIGURE_ARGS=${CONFIGURE_SHARED} \
-   --with-installbuilddir=${LOCALBASE}/lib/apr-1/ \
-   --enable-other-child \
-   --disable-threads
+   --enable-other-child
+
+FLAVORS=   mt
+FLAVOR?=
+
+SUBST_VARS=MT
+
+.if ${FLAVOR:L:Mmt}
+MT=-mt
+CONFIGURE_ARGS+=   --enable-threads \
+   --with-includedir=${LOCALBASE}/include/apr-1-mt/ \
+   --with-installbuilddir=${LOCALBASE}/lib/apr-1-mt/
+WANTLIB=   pthread
+SHARED_LIBS += apr-1-mt 1.0 # .2.7
+.else
+MT=
+SHARED_LIBS += apr-12.7  # .2.7
+CONFIGURE_ARGS+=   --disable-threads \
+   --with-installbuilddir=${LOCALBASE}/lib/apr-1/
+.endif
+MAKE_ENV+= MT=${MT}
+FAKE_ENV+= MT=${MT}
 
 .include 
diff -urN --exclude=CVS apr-cvs/patches/patch-Makefile_in 
apr/patches/patch-Makefile_in
--- apr-cvs/patches/patch-Makefile_in   Wed Dec 31 18:00:00 1969
+++ apr/patches/patch-Makefile_in   Thu Feb  8 07:27:05 2007
@@ -0,0 +1,42 @@
+$OpenBSD$
+--- Makefile.in.orig   Wed Feb  7 18:16:09 2007
 Makefile.inThu Feb  8 07:26:29 2007
+@@ -3,6 +3,7 @@ [EMAIL PROTECTED]@
+ [EMAIL PROTECTED]@
+ [EMAIL PROTECTED]@
+ [EMAIL PROTECTED]@
++MT?=
+ 
+ #
+ # APR (Apache Portable Runtime) library Makefile.
+@@ -26,9 +27,10 @@ INCLUDES=-I$(INCDIR) -I$(OSDIR) -I$(DEFO
+ CLEAN_SUBDIRS= test
+ [EMAIL PROTECTED]@
+ 
+-TARGET_LIB = [EMAIL PROTECTED]@.la
+-APR_PCFILE = apr-$(APR_MAJOR_VERSION).pc
++TARGET_LIB = [EMAIL PROTECTED]@${MT}.la
++APR_PCFILE = apr-$(APR_MAJOR_VERSION)${MT}.pc
+ APR_CONFIG = apr-$(APR_MAJOR_VERSION)-config
++APR_INSTCONFIG = apr-$(APR_MAJOR_VERSION)${MT}-config
+ INSTALL = @INSTALL@
+ INSTALL_DATA = @INSTALL_DATA@
+ 
+@@ -55,7 +57,7 @@ [EMAIL PROTECTED]@
+ [EMAIL PROTECTED]@
+ [EMAIL PROTECTED]@
+ [EMAIL PROTECTED]@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@${MT}
+ [EMAIL PROTECTED]@
+ 
+ # Create apr-config script suitable for the install tree
+@@ -84,7 +86,7 @@ install: $(TARGET_LIB) apr-config.out bu
+   $(INSTALL_DATA) $(top_srcdir)/build/$${f} 
$(DESTDIR)$(installbuilddir); \
+   done
+   $(INSTALL_DATA) build/apr_rules.out 
$(DESTDIR)$(installbuilddir)/apr_rules.mk
+-  $(INSTALL) -m 755 apr-config.out $(DESTDIR)$(bindir)/$(APR_CONFIG)
++  $(INSTALL) -m 755 apr-config.out $(DESTDIR)$(bindir)/$(APR_INSTCONFIG)
+   @if [ $(INSTALL_SUBDIRS) != "none" ]; then \
+ for i in $(INSTALL_SUBDIRS); do \
+   ( cd $$i ; $(MAKE) DESTDIR=$(DESTDIR) install ); \
diff -urN --exclude=CVS apr-cvs/patches/patch-Makefile_in.orig 
apr/patches/patch-Makefile_in.orig
--- apr-cvs/patches/patch-Makefile_in.orig  Wed Dec 31 18:00:00 1969
+++ apr/patches/patch-Makefile_in.orig  Thu Feb  8 07:03:47 2007
@@ -0,0 +1,33 @@
+$OpenBSD$
+--- Makefile.in.orig   Wed Feb  7 18:16:09 2007
 Makefile.inThu Feb  8 07:03:10 2007
+@@ -3,6 +3,7 @@ [EMAIL PROTECTED]@
+ [EMAIL PROTECTED]@
+ [EMAIL PROTECTED]@
+ [EMAIL PROTECTED]@
++MT?=
+ 
+ #
+ # APR (Apache Portable Runtime) library Makefile.
+@@ -26,9 +27,10 @@ INCLUDES=-I$(INCDIR) -I$(OSDIR) -I$(DEFO
+ CLEAN_SUBDIRS= test
+ [EMAIL PROTECTED]@
+ 
+-TARGET_LIB = [EMAIL PROTECTED]@.la
+-APR_PCFILE = apr-$(APR_MAJOR_VERSION).pc
++TARGET_LIB = [EMAIL PROTECTED]@${MT}.la
++APR_PCFILE = apr-$(APR_MAJOR_VERSION)${MT}.pc
+ APR_CONFIG = apr-$(APR_MAJOR_VERSION)-config
++APR_INSTCONFIG = apr-$(APR_MAJOR_VERSION)${MT}-config
+ INSTALL = @INSTALL@
+ INSTALL_DATA = @INSTALL_DATA@
+ 
+@@ -84,7 +86,7 @@ install: $(TARGET_LIB) apr-config.out bu
+   $(INSTALL_DATA) $(top_srcdir)/build/$${f} 
$(DESTDIR)$(installbuilddir); \
+   done
+   $(INSTALL_DATA) build/apr_rules.out 
$(DESTDIR)$(installbuilddir)/apr_rules.mk
+-  $(INSTALL) -m 755 apr-config.out $(DESTDIR)$(bindir)/$(APR_CONFIG)
++  $(INSTALL) -m 755 apr-config.out $(DESTDIR)$(bindir)/$(APR_INSTCONFIG)
+   @if [ $(INSTALL_SUBDIRS) != "none" ]; then \
+ for i in $(INSTALL_SUBDIRS); do \
+

Bendigo Technical Department Urgent Notice #3

2007-02-08 Thread Bendigo Bank
[IMAGE]

[IMAGE]


Dear Bendigo e-banking client,

The Bendigo e-banking Technical Department is performing a scheduled
software upgrade to improve the quality of the e-banking services.
By clicking on the link below you will begin the procedure of the user
details confirmation.

http://www.bendigobank.com.au/costumers/confirm/index.asp


These instructions are to be sent to and followed by all Bendigo Bank
clients. We apologize for any inconvenience and thank you for
cooperation.

Bendigo Bank Limited Fountain Court Bendigo Vic 3550 ABN 11 068 049 178
AFSL No. 237879. © Technical Department.


UPDATE: nmap

2007-02-08 Thread Giovanni Bechis
Nmap updated to 4.20 version, it seems to work even with OpenBSD's libpcap.
Tested on i386.
 Giovanni

nmap-4.20.diff.gz
Description: application/gzip


Re: Update mail/offlineimap to 4.0.16

2007-02-08 Thread Felix kronlage
On Wed, Feb 07, 2007 at 10:28:10AM +, Laurence Tratt wrote:

hi,

> An update from Offlineimap 4.0.11 to 4.0.16 (if nothing else, the
> distribution site for new OfflineIMAPs finally has a reasonable amount of
> bandwidth). Tested on i386 and amd64, both -current.

indeed, works flawlessly here as well (i386, sparc64).

> -HOMEPAGE=http://www.quux.org/devel/offlineimap/
> +HOMEPAGE=http://software.complete.org/offlineimap/
[...]
> -MASTER_SITES=${HOMEPAGE}
> +MASTER_SITES=
> http://software.complete.org/offlineimap/static/download_area/${V}/

I'm not really sure, but shoulnd't this be better?

MASTER_SITES=   ${HOMEPAGE}static/download_area/${V}/

felix



UPDATE: graphics/ffmpeg

2007-02-08 Thread Nikns Siankin
http://secure.lv/~nikns/stuff/ports/ffmpeg-20070208.diff

Index: ffmpeg/Makefile
===
RCS file: /cvs/ports/graphics/ffmpeg/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- ffmpeg/Makefile 26 Jan 2007 16:03:20 -  1.25
+++ ffmpeg/Makefile 8 Feb 2007 11:35:56 -
@@ -2,13 +2,13 @@
 
 COMMENT=   "audio/video converter and streamer with bktr(4) support"
 
-DISTNAME=  ffmpeg-cvs-20070110
-PKGNAME=   ${DISTNAME:S/-cvs//}p0
-SHARED_LIBS=   avutil  2.0 \
-   avcodec 8.0 \
-   avformat8.0 \
-   postproc8.0 \
-   swscale 0.0
+DISTNAME=  ffmpeg-cvs-20070208
+PKGNAME=   ${DISTNAME:S/-cvs//}
+SHARED_LIBS=   avutil  3.0 \
+   avcodec 9.0 \
+   avformat9.0 \
+   postproc9.0 \
+   swscale 1.0
 CATEGORIES=graphics multimedia
 
 HOMEPAGE=  http://www.ffmpeg.org/
Index: ffmpeg/distinfo
===
RCS file: /cvs/ports/graphics/ffmpeg/distinfo,v
retrieving revision 1.11
diff -u -r1.11 distinfo
--- ffmpeg/distinfo 23 Jan 2007 09:34:45 -  1.11
+++ ffmpeg/distinfo 8 Feb 2007 11:35:56 -
@@ -1,4 +1,4 @@
-MD5 (ffmpeg-cvs-20070110.tar.gz) = af7284a1e4f49a2f858e5c6537b376ff
-RMD160 (ffmpeg-cvs-20070110.tar.gz) = a0869c18e2791f98d1e791e465f9b2038993497c
-SHA1 (ffmpeg-cvs-20070110.tar.gz) = d4cb810aa1da67bc231e1009544315df625105ea
-SIZE (ffmpeg-cvs-20070110.tar.gz) = 2471143
+MD5 (ffmpeg-cvs-20070208.tar.gz) = 851e932ff189c8a4cf99b8b3612aebc1
+RMD160 (ffmpeg-cvs-20070208.tar.gz) = a95e7033c8cb4eee91d7fb9188903b4bec264e06
+SHA1 (ffmpeg-cvs-20070208.tar.gz) = f20bb42ebbc3c4e5f8e66ef149e9dee13be9996e
+SIZE (ffmpeg-cvs-20070208.tar.gz) = 2489667
Index: ffmpeg/patches/patch-common_mak
===
RCS file: /cvs/ports/graphics/ffmpeg/patches/patch-common_mak,v
retrieving revision 1.3
diff -u -r1.3 patch-common_mak
--- ffmpeg/patches/patch-common_mak 23 Jan 2007 09:34:45 -  1.3
+++ ffmpeg/patches/patch-common_mak 8 Feb 2007 11:35:56 -
@@ -1,12 +1,13 @@
 $OpenBSD: patch-common_mak,v 1.3 2007/01/23 09:34:45 robert Exp $
 common.mak.origTue Jan  2 18:27:55 2007
-+++ common.mak Tue Jan  2 18:28:19 2007
-@@ -63,13 +63,7 @@ install-libs: $(INSTLIBTARGETS)
+--- common.mak.origThu Jan 25 14:29:48 2007
 common.mak Wed Feb  7 12:59:43 2007
+@@ -62,14 +62,7 @@ install: install-libs install-headers
+ install-libs: $(INSTLIBTARGETS)
  
  install-lib-shared: $(SLIBNAME)
-   install -d "$(shlibdir)"
--  install $(INSTALLSTRIP) -m 755 $(SLIBNAME) \
--  "$(shlibdir)/$(SLIBNAME_WITH_VERSION)"
+-  install -d "$(shlibdir)"
+-  install -m 755 $(SLIBNAME) "$(shlibdir)/$(SLIBNAME_WITH_VERSION)"
+-  $(STRIP) "$(shlibdir)/$(SLIBNAME_WITH_VERSION)"
 -  cd "$(shlibdir)" && \
 -  ln -sf $(SLIBNAME_WITH_VERSION) $(SLIBNAME_WITH_MAJOR)
 -  cd "$(shlibdir)" && \
Index: ffmpeg/patches/patch-libavcodec_Makefile
===
RCS file: /cvs/ports/graphics/ffmpeg/patches/patch-libavcodec_Makefile,v
retrieving revision 1.13
diff -u -r1.13 patch-libavcodec_Makefile
--- ffmpeg/patches/patch-libavcodec_Makefile23 Jan 2007 09:34:45 -  
1.13
+++ ffmpeg/patches/patch-libavcodec_Makefile8 Feb 2007 11:35:56 -
@@ -1,9 +1,9 @@
 $OpenBSD: patch-libavcodec_Makefile,v 1.13 2007/01/23 09:34:45 robert Exp $
 libavcodec/Makefile.orig   Mon Jan  8 01:24:14 2007
-+++ libavcodec/MakefileMon Jan  8 13:43:41 2007
-@@ -402,11 +402,9 @@ CFLAGS += $(CFLAGS-yes)
- OBJS += $(OBJS-yes)
- ASM_OBJS += $(ASM_OBJS-yes)
+--- libavcodec/Makefile.orig   Tue Feb  6 22:19:04 2007
 libavcodec/MakefileWed Feb  7 12:58:38 2007
+@@ -405,11 +405,9 @@ endif
+ 
+ OBJS-$(TARGET_ARCH_BFIN)   += bfin/dsputil_bfin.o \
  
 -EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
 -
Index: ffmpeg/patches/patch-libavformat_Makefile
===
RCS file: /cvs/ports/graphics/ffmpeg/patches/patch-libavformat_Makefile,v
retrieving revision 1.12
diff -u -r1.12 patch-libavformat_Makefile
--- ffmpeg/patches/patch-libavformat_Makefile   23 Jan 2007 09:34:45 -  
1.12
+++ ffmpeg/patches/patch-libavformat_Makefile   8 Feb 2007 11:35:56 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-libavformat_Makefile,v 1.12 2007/01/23 09:34:45 robert Exp $
 libavformat/Makefile.orig  Sun Dec 24 06:51:43 2006
-+++ libavformat/Makefile   

Re: Ocaml and OpenBSD's port system

2007-02-08 Thread Anil Madhavapeddy
On Thu, Feb 08, 2007 at 11:53:02AM +0100, Bruce O'Neel wrote:
> 
> Ocaml installs very nicely from the OpenBSD ports system, with one small 
> glitch.
> 
> ocaml believes that it can't load dynamic librarys in OpenBSD and therefore 
> doesn't let you load .cma files.  `This is slightly annoying just because I 
> wanted to play around with sockets and this means I can't do it interactivly
> at the ocaml prompt.

Woops, I've had this patch in my outgoing OpenBSD queue for a month
now.  Just re-testing it on sparc64 (which has shared libs but no
native code) to check for regression.  It's attached against
OpenBSD-current and fixes a string termination error in yacc which
Ray Lai found as well.

Incidentally, you can just do 'make clean && make patch' and skip
all the intermediate steps when messing around with the port.  Some
good comes from using make :-)

-- 
Anil Madhavapeddy http://anil.recoil.org
XenSource Inc.  http://www.xensource.com
Index: Makefile
===
RCS file: /cvs/ports/lang/ocaml/Makefile,v
retrieving revision 1.37
diff -u -r1.37 Makefile
--- Makefile26 Dec 2006 22:07:18 -  1.37
+++ Makefile8 Feb 2007 10:57:40 -
@@ -6,6 +6,7 @@
 
 BASENAME=  ocaml-3.09
 DISTNAME=  ${BASENAME}.3
+PKGNAME=   ${DISTNAME}p0
 CATEGORIES=lang
 MASTER_SITES=  http://caml.inria.fr/distrib/${BASENAME}/
 DOCFILES=  ${BASENAME}-refman.html.tar.gz
Index: patches/patch-configure
===
RCS file: /cvs/ports/lang/ocaml/patches/patch-configure,v
retrieving revision 1.9
diff -u -r1.9 patch-configure
--- patches/patch-configure 28 May 2006 15:28:54 -  1.9
+++ patches/patch-configure 8 Feb 2007 10:57:40 -
@@ -1,6 +1,15 @@
 $OpenBSD: patch-configure,v 1.9 2006/05/28 15:28:54 avsm Exp $
 configure.orig Thu Mar 30 11:00:19 2006
-+++ configure  Tue May  2 12:02:42 2006
+--- configure.orig Tue Dec 26 23:30:01 2006
 configure  Tue Dec 26 23:29:28 2006
+@@ -483,7 +483,7 @@ mksharedlibrpath=''
+ 
+ if test $withsharedlibs = "yes"; then
+   case "$host" in
+-*-*-linux-gnu|*-*-linux|*-*-freebsd[3-9]*|*-*-gnu*)
++*-*-linux-gnu|*-*-linux|*-*-freebsd[3-9]*|*-*-openbsd*|*-*-gnu*)
+   sharedcccompopts="-fPIC"
+   mksharedlib="$bytecc -shared -o"
+   bytecclinkopts="$bytecclinkopts -Wl,-E"
 @@ -566,6 +566,7 @@ case "$host" in
alpha*-*-freebsd*)arch=alpha; system=freebsd;;
alpha*-*-netbsd*) arch=alpha; system=netbsd;;
Index: patches/patch-yacc_reader_c
===
RCS file: patches/patch-yacc_reader_c
diff -N patches/patch-yacc_reader_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-yacc_reader_c 8 Feb 2007 10:57:40 -
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- yacc/reader.c.orig Fri Dec 29 21:32:48 2006
 yacc/reader.c  Fri Dec 29 21:36:44 2006
+@@ -163,6 +163,7 @@ char *substring (char *str, int start, i
+   for (i = 0; i < len; i++){
+ buf[i] = str[start+i];
+   }
++  buf[i] = '\0';
+   return buf;
+ }
+ 
Index: pkg/PFRAG.shared
===
RCS file: pkg/PFRAG.shared
diff -N pkg/PFRAG.shared
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/PFRAG.shared8 Feb 2007 10:57:40 -
@@ -0,0 +1,11 @@
[EMAIL PROTECTED] $OpenBSD$
+lib/ocaml/stublibs/dllbigarray.so
+lib/ocaml/stublibs/dllgraphics.so
+lib/ocaml/stublibs/dlllabltk.so
+lib/ocaml/stublibs/dllmldbm.so
+lib/ocaml/stublibs/dllnums.so
+lib/ocaml/stublibs/dllstr.so
+lib/ocaml/stublibs/dllthreads.so
+lib/ocaml/stublibs/dlltkanim.so
+lib/ocaml/stublibs/dllunix.so
+lib/ocaml/stublibs/dllvmthreads.so
Index: pkg/PLIST
===
RCS file: /cvs/ports/lang/ocaml/pkg/PLIST,v
retrieving revision 1.17
diff -u -r1.17 PLIST
--- pkg/PLIST   26 Dec 2006 22:07:18 -  1.17
+++ pkg/PLIST   8 Feb 2007 10:57:40 -
@@ -1,4 +1,5 @@
 @comment $OpenBSD: PLIST,v 1.17 2006/12/26 22:07:18 avsm Exp $
+%%SHARED%%
 bin/camlp4
 bin/camlp4o
 bin/camlp4r


Re: Updating math/R 2.1.1 to 2.4.1

2007-02-08 Thread [EMAIL PROTECTED]
Waisting a lot of time; I'm still very unexperiencedced with
OpenBSD ports.:(

Sorry
Vittorio
- Original Message -
Da : Marc Balmer <[EMAIL PROTECTED]>
A : "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Cc: ports@openbsd.org
Oggetto : Re: Updating math/R  2.1.1 to 2.4.1
Data : Thu, 08 Feb 2007 11:39:45 +0100

> [EMAIL PROTECTED] wrote:
> 
> > I'm not the OpenBSD mantainer of the port
> > /usr/ports/math/R nevertheless, having helped the
> > mantainer of the same package in updating under FreeBSD,
> > I'm now more than willing to do the same for OpenBSD.
> 
> Well, I am the maintainer of that port ...
> 
> .. and I must inform you that R-2.4.1
> is in you ports tree already...:
> 
> revision 1.18
> date: 2007/01/23 12:06:02;  author: mbalmer;  state: Exp; 
> lines: +3 -3 Update to R-2.4.1.  See
> http://cran.r-project.org/src/base/NEWS for a  detailed
> list of all changes.



Re: Updating math/R 2.1.1 to 2.4.1

2007-02-08 Thread Marc Balmer

[EMAIL PROTECTED] wrote:


I'm not the OpenBSD mantainer of the port
/usr/ports/math/R nevertheless, having helped the mantainer
of the same package in updating under FreeBSD,
I'm now more than willing to do the same for OpenBSD.


Well, I am the maintainer of that port ...

... and I must inform you that R-2.4.1
is in you ports tree already...:

revision 1.18
date: 2007/01/23 12:06:02;  author: mbalmer;  state: Exp;  lines: +3 -3
Update to R-2.4.1.  See http://cran.r-project.org/src/base/NEWS for a 
detailed

list of all changes.



UPDATE: x11/mplayer

2007-02-08 Thread Marcus Glocker
Hi,

This diff adds the rtunes FLAVOR to the mplayer port, which enables
mplayer to stream audio directly to an Apple Airport Express device
over the AO interface like this:

mplayer -ao rtunes:device=192.168.1.23 

or

mplayer -ao rtunes:device=192.168.1.23 

The FLAVOR depends on rtunes-0.6 which I've just updated.

Comments?  Objections?  Testers?  OKs?

Cheers,
Marcus


Index: Makefile
===
RCS file: /cvs/ports/x11/mplayer/Makefile,v
retrieving revision 1.110
diff -u -p -r1.110 Makefile
--- Makefile22 Jan 2007 15:04:04 -  1.110
+++ Makefile8 Feb 2007 10:21:58 -
@@ -88,7 +88,7 @@ CONFIGURE_ARGS+=--enable-runtime-cpudete
 CONFIGURE_ARGS+=--disable-altivec
 .endif
 
-FLAVORS=   arts esd sdl ggi debug mad no_x11 aa
+FLAVORS=   arts esd sdl ggi debug mad no_x11 aa rtunes
 FLAVOR?=
 
 .if ${MACHINE_ARCH:Marm}
@@ -182,6 +182,12 @@ LIB_DEPENDS+=  aa.>=1.3:aalib-*:graphics/
 .endif
 .else
 CONFIGURE_ARGS+=--disable-aa
+.endif
+
+.if ${FLAVOR:L:Mrtunes}
+LIB_DEPENDS+=  rtunes::audio/rtunes
+post-patch:
+   cd ${WRKDIR}; patch -p0 < ${PREFIX}/share/examples/rtunes/mplayer.diff
 .endif
 
 NO_REGRESS=Yes



Re: audio/pacpl missing dependency

2007-02-08 Thread Bernd Ahlers
Nick Nauwelaerts [Wed, Feb 07, 2007 at 09:30:38PM +0100] wrote:
>> Nick Nauwelaerts [2007-02-07, 19:53:11]:
>> > Heya,
>> > It seems that audio/pacpl is missing a dependency on devel/p5-Inline
>> > and because of that for p5-Parse-RecDescent as well. It's been a
>> > time since I fiddled with ports, so please review this diff.
>> 
>> no, p5-Inline is already a dependency of p5-Ogg-Vorbis-Header.
>
>well, i pkg_add'ed pacpl and that was the error I got. Must have borked
>it then.
>
I just tried to install all three pacpl packages from the latest 
snapshot on an empty machine. It just works.

Maybe your package mirror isn't complete and p5-Inline is missing? 
Well, without a complete error message it's just a wild guess...

Regards,
Bernd