NEW: devel/bzr-svn

2011-01-08 Thread Eric Faurot
bzr-svn is a plugin that allows Bazaar direct access to Subversion
repositories. It allows most bzr commands to work directly against
Subversion repositories, as if you were using bzr with a native bzr
repository.

The plugin can at the moment be used to commit to, pull from, merge
from, push to and view logs of Subversion branches from Bazaar.


bzr-svn.tgz
Description: application/tar-gz


UPDATE: devel/bzr

2011-01-08 Thread Eric Faurot
This is an update to bzr 2.2.2.

Eric.

Index: Makefile
===
RCS file: /cvs/ports/devel/bzr/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile15 Nov 2010 19:45:56 -  1.14
+++ Makefile8 Jan 2011 21:09:47 -
@@ -4,9 +4,8 @@
 
 COMMENT =  distributed version control system by Canonical
 
-MODPY_EGG_VERSION = 2.0.3
+MODPY_EGG_VERSION = 2.2.2
 DISTNAME = bzr-${MODPY_EGG_VERSION}
-REVISION = 1
 CATEGORIES =   devel
 
 HOMEPAGE = http://bazaar-vcs.org/
@@ -27,7 +26,8 @@
 RUN_DEPENDS += net/py-curl \
security/py-paramiko \
textproc/gdiff
-REGRESS_DEPENDS = ${RUN_DEPENDS}
+REGRESS_DEPENDS = ${RUN_DEPENDS} \
+   devel/py-testtools
 
 pre-configure:
${SUBST_CMD} ${WRKSRC}/bzr ${WRKSRC}/bzrlib/tests/test_diff.py
Index: distinfo
===
RCS file: /cvs/ports/devel/bzr/distinfo,v
retrieving revision 1.6
diff -u -r1.6 distinfo
--- distinfo9 Jan 2010 00:21:30 -   1.6
+++ distinfo8 Jan 2011 21:09:47 -
@@ -1,5 +1,5 @@
-MD5 (bzr-2.0.3.tar.gz) = YHWOYbP9NoaWbXqw6hf6ZA==
-RMD160 (bzr-2.0.3.tar.gz) = OzPlFI/0fmawMV6WTSuOVl0FZnU=
-SHA1 (bzr-2.0.3.tar.gz) = F4/mVG0yoXUqnpq8pX2xKEY7seY=
-SHA256 (bzr-2.0.3.tar.gz) = dXlpuL+XwEkpe9BBt4PBl7s5g7BWKaT7B891wt73eAs=
-SIZE (bzr-2.0.3.tar.gz) = 6616470
+MD5 (bzr-2.2.2.tar.gz) = 0b+i/RqtKCxCPHjWLrrLIQ==
+RMD160 (bzr-2.2.2.tar.gz) = iI4PWciOD94mrfaXqUIu1zLMMyk=
+SHA1 (bzr-2.2.2.tar.gz) = nbjwYdlLo/C0jc1iPEc8botXC2o=
+SHA256 (bzr-2.2.2.tar.gz) = c07gw6ZOe4INZjKuDipL+RrdkI/evlyChlYYw4F1yOM=
+SIZE (bzr-2.2.2.tar.gz) = 6897175
Index: patches/patch-bzr
===
RCS file: /cvs/ports/devel/bzr/patches/patch-bzr,v
retrieving revision 1.3
diff -u -r1.3 patch-bzr
--- patches/patch-bzr   19 Sep 2009 22:08:52 -  1.3
+++ patches/patch-bzr   8 Jan 2011 21:09:47 -
@@ -1,9 +1,9 @@
-$OpenBSD: patch-bzr,v 1.3 2009/09/19 22:08:52 fgsch Exp $
 bzr.orig   Thu Aug 20 09:41:03 2009
-+++ bzrMon Sep 14 23:10:15 2009
+$OpenBSD$
+--- bzr.orig   Mon Dec  6 17:49:57 2010
 bzrMon Dec  6 17:50:14 2010
 @@ -1,4 +1,4 @@
 -#! /usr/bin/env python
 +#! ${MODPY_BIN}
  
- # Copyright (C) 2005, 2006, 2007, 2008, 2009 Canonical Ltd
+ # Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Canonical Ltd
  #
Index: patches/patch-bzrlib_diff_py
===
RCS file: /cvs/ports/devel/bzr/patches/patch-bzrlib_diff_py,v
retrieving revision 1.3
diff -u -r1.3 patch-bzrlib_diff_py
--- patches/patch-bzrlib_diff_py19 Sep 2009 22:08:52 -  1.3
+++ patches/patch-bzrlib_diff_py8 Jan 2011 21:09:47 -
@@ -1,7 +1,7 @@
-$OpenBSD: patch-bzrlib_diff_py,v 1.3 2009/09/19 22:08:52 fgsch Exp $
 bzrlib/diff.py.origMon Sep 14 23:11:06 2009
-+++ bzrlib/diff.py Mon Sep 14 23:11:13 2009
-@@ -176,7 +176,7 @@ def external_diff(old_filename, oldlines, new_filename
+$OpenBSD$
+--- bzrlib/diff.py.origMon Dec  6 17:51:40 2010
 bzrlib/diff.py Mon Dec  6 17:51:33 2010
+@@ -189,7 +189,7 @@ def external_diff(old_filename, oldlines, new_filename
  # Since we are dealing with an ANSI api, use mbcs encoding
  old_filename = old_filename.encode('mbcs')
  new_filename = new_filename.encode('mbcs')
Index: patches/patch-bzrlib_patch_py
===
RCS file: /cvs/ports/devel/bzr/patches/patch-bzrlib_patch_py,v
retrieving revision 1.1
diff -u -r1.1 patch-bzrlib_patch_py
--- patches/patch-bzrlib_patch_py   21 Apr 2008 19:00:56 -  1.1
+++ patches/patch-bzrlib_patch_py   8 Jan 2011 21:09:47 -
@@ -1,6 +1,6 @@
-$OpenBSD: patch-bzrlib_patch_py,v 1.1 2008/04/21 19:00:56 okan Exp $
 bzrlib/patch.py.orig   Thu Mar 20 03:12:09 2008
-+++ bzrlib/patch.pyWed Apr  2 23:11:25 2008
+$OpenBSD$
+--- bzrlib/patch.py.orig   Mon Dec  6 17:52:07 2010
 bzrlib/patch.pyMon Dec  6 17:52:44 2010
 @@ -65,7 +65,7 @@ def patch(patch_contents, filename, output_filename=No
  :type reverse: bool
  :return: 0 on success, 1 if some hunks failed
Index: patches/patch-bzrlib_python-compat_h
===
RCS file: patches/patch-bzrlib_python-compat_h
diff -N patches/patch-bzrlib_python-compat_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-bzrlib_python-compat_h8 Jan 2011 21:09:47 -
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- bzrlib/python-compat.h.origTue Dec  7 11:03:32 2010
 bzrlib/python-compat.h Tue Dec  7 11:03:44 2010
+@@ -67,6 +67,7 @@
+ #endif
+ #else /* Not win32 */
+ /* For htonl */
++#include 
+ #include "arpa/inet.h"
+ #endif
+ 
Index: patches/patch-bzrlib_tests_test_diff_py
=

NEW: devel/py-subvertpy

2011-01-08 Thread Eric Faurot
Subvertpy provides alternative Python bindings for Subversion. The
goal is to have complete, portable and "Pythonic" Python bindings. 


py-subvertpy.tgz
Description: application/tar-gz


NEW: devel/py-testtools

2011-01-08 Thread Eric Faurot
This package provides some extensions to the Python standard library
unit testing framework.  It is needed by some ports to run their
regression tests.


py-testtools.tgz
Description: application/tar-gz


Re: drupal7

2011-01-08 Thread Marc Espie
On Sat, Jan 08, 2011 at 03:35:20PM +0100, Jiri B. wrote:
> Hello all,
> 
> as drupal 7 is officially out, is anybody working on new ports for this?
> 
> I've started to play with my drupal7/core and I can say there are three
> differences:

Yeah. I have ports that will get in soonish.

waiting for a bit for the #d7x pledge so that we can have a few modules
around.

Also translations are a bit different.



new: gavl, needed for openmovieeditor

2011-01-08 Thread Ian Darwin
gavl is the Gmerlin Audio Video Library, a low level library, "upon
which multimedia APIs can be built. Gavl handles all the details
of audio and video formats like colorspaces, samplerates, multichannel
configurations etc. It provides standardized definitions for those
formats as well as container structures for carrying audio samples
or video images inside an application."

"In addition, it handles the sometimes ugly task of converting between
all these formats and provides some elementary operations (copying,
scaling, alpha blending etc)."
--
This is one of the first baby steps toward openmovieeditor, one of the
few open-source full-function video NLE tools.

port is at http://www.darwinsys.com/openbsd/myports/gavl.tar.gz



java -Xshare:dump

2011-01-08 Thread Ted Unangst
the jdk has the ability to cache its base classes and reuse them, 
speeding up execution.  kind of like prelinking.  openbsd doesn't enable 
this feature by default, though.

this is accomplished by running 'java -Xshare:dump' as root.  on i386, you 
may need to run it twice, once with -client and once with -server.

this cuts the runtime of a simple hello world app in half for me.  the 
speedup is possibly even greater with a cold cache or slow disk.  of 
course, this only affects startup.  once running, there's no difference.

I don't know if this is worth doing by default, as it does eat up disk.  I 
think it would have to be done as a post-install script and then deleted 
via uninstall.  I'll leave that up to someone else, but I thought I'd 
mention the option for people unaware of it.




Re: tool to forward specific queries to specific dns server

2011-01-08 Thread Christian Weisgerber
Jiri B.  wrote:

> right now I'm using pdnsd with setup to forward queries to specific
> domains to specific dns servers
> 
> Well I'm not 100% happy with my setup. Do you know/use any similar tool
> to forward specific dns queries to specific dns servers? The best would
> be if the tool would detect if such specific dns server is available.

Why don't you just use the BIND named(8) in the base system with
forward zones?

Search for "forward" here:
http://www.bind9.net/manual/bind/9.3.2/Bv9ARM.ch06.html

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



NEW: security/paperkey

2011-01-08 Thread Joe Snikeris
Hi all,

This is my first attempt at creating a port.

Paperkey - an OpenPGP key archiver
http://www.jabberwocky.com/software/paperkey/

Port: http://joe.snikeris.com/paperkey.tar.gz

Regards,
Joe



Re: drupal7

2011-01-08 Thread Sebastian Reitenbach
Jiri B. wrote:
> Hello all,
>
> as drupal 7 is officially out, is anybody working on new ports for this?
>
> I've started to play with my drupal7/core and I can say there are three
> differences:
>
> * it needs PHP PDO - php5-pdo_{mysql,pgsql,sqlite} which is in ports,
>   so just little update of RUN_DEPENDS
> * files dir is located in sites/defualt/files now
> * patch for locale.inc doesn't seem to be needed
>
> How to handle drupal.conf in port's files dir?
>
> Also I haven't found in ports' documentation any mention how to define
> depends on one of potentional ports, example:
>
>   drupal6 depends on php5-mysql or php5-mysqli or...
>
> ...what is valid syntax?
>   
I have sth. similar with www/sogo:

RUN_DEPENDS +=  sope-postgres-*|sope-mysql-*:www/sope,-postgres
Either of sope-postgres-* or sope-mysql-* is sufficient, and
sope-postgres is installed via default.


Sebastian



drupal7

2011-01-08 Thread Jiri B.
Hello all,

as drupal 7 is officially out, is anybody working on new ports for this?

I've started to play with my drupal7/core and I can say there are three
differences:

* it needs PHP PDO - php5-pdo_{mysql,pgsql,sqlite} which is in ports,
  so just little update of RUN_DEPENDS
* files dir is located in sites/defualt/files now
* patch for locale.inc doesn't seem to be needed

How to handle drupal.conf in port's files dir?

Also I haven't found in ports' documentation any mention how to define
depends on one of potentional ports, example:

drupal6 depends on php5-mysql or php5-mysqli or...

...what is valid syntax?

jirib



tool to forward specific queries to specific dns server

2011-01-08 Thread Jiri B.
Hi all,

right now I'm using pdnsd with setup to forward queries to specific
domains to specific dns servers (because I have to use VPN and inside
VPN there are intranet hosts with "public" domain which are not visible
on "real" internet).

Well I'm not 100% happy with my setup. Do you know/use any similar tool
to forward specific dns queries to specific dns servers? The best would
be if the tool would detect if such specific dns server is available.

I heard about dnsproxy (dnsproxy.sf.net) but it doesn't have a check
feature.

Thanks for tip.

jirib



Re: exim Update to 4.73 (security)

2011-01-08 Thread Felix Kronlage
On Fri, Jan 07, 2011 at 08:39:13AM +0100, Andreas Vögele wrote:

> > attached is a diff to update to exim 4.73.
> > I saw no regression here, however exim has a few variations,
> > so I'm happy about any feedback.
> Works fine here on i386 without flavours. I've attached a patch for
> files/Makefile that brings the file in line with src/EDITME.

thanks! 
If noone objects, I would go ahead and commit this tomorrow.

felix

-- 
GPG/PGP:   D9AC74D0 / 076E 1E87 3E05 1C7F B1A0  8A48 0D31 9BD3 D9AC 74D0
http://hazardous.org/~fkr - f...@silc|irc  -  @felixkronlage  -  FKR-RIPE
https://www.bytemine.net/ - bytemine - BSD based Hosting/Solutions/Ideas


signature.asc
Description: Digital signature


how to proceed with "too old" libpcap?

2011-01-08 Thread Markus Lude
Hello,
snort since 2.9 needs daq, which needs a libpcap >= 1.0.

How should one proceed with this? Try to get the necessary stuff added
to the base libpcap or make a port for the newer libpcap?

Regards,
Markus



Re: llvm 2.8 update

2011-01-08 Thread Stuart Henderson
On 2011/01/07 17:08, Jeremy Evans wrote:
> Success!  llvm-gcc4 builds correctly now on amd64 and is at least able
> to compile simple programs such as nc(1).  I didn't try anything more
> advanced yet (requests?).

\o/

> Three diffs included. First is llvm-gcc.  Second is an updated llvm
> diff that should reduce future PLIST churn, requested by Mikolaj
> Kucharski. Third is a diff to enable llvm support in rubinius.
> 
> I haven't yet checked to see if any of the llvm-gcc shared libs should
> be bumped.  Any advice in this area?

Bumping these libs will need some work with the build infrastructure,
unfortunately we don't have this under control yet (see notes in
llvm-gcc4 Makefile).

> +...@man man/cat1/bugpoint.0
> +...@man man/cat1/clang.0
..
> +...@man man/cat1/tblgen.0

these lines need to be removed. Rest looks good but I haven't
tried building it yet.