UPDATE: archivers/lzma

2008-03-15 Thread Steven Mestdagh
works on amd64, please give this a try on a few other archs.

Index: Makefile
===
RCS file: /cvs/ports/archivers/lzma/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile15 Sep 2007 10:14:33 -  1.5
+++ Makefile15 Mar 2008 08:31:34 -
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.4 2007/09/05 07:11:16 steven Exp $
+# $OpenBSD: Makefile,v 1.5 2007/09/15 10:14:33 espie Exp $
 
 COMMENT=   LZMA utils - make usage of LZMA compression easy
 
-DISTNAME=  lzma-4.32.0beta5
+DISTNAME=  lzma-4.32.5
 SHARED_LIBS += lzmadec  0.0  # .0.0
 CATEGORIES=archivers
 
Index: distinfo
===
RCS file: /cvs/ports/archivers/lzma/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo5 Sep 2007 07:11:16 -   1.4
+++ distinfo15 Mar 2008 08:31:42 -
@@ -1,5 +1,5 @@
-MD5 (lzma-4.32.0beta5.tar.gz) = T64eB7LwAlLlQiBBRkzIeg==
-RMD160 (lzma-4.32.0beta5.tar.gz) = X/OR40Tu/h8V9oSn3vGFIunTRUA=
-SHA1 (lzma-4.32.0beta5.tar.gz) = uKjCayJvkKlweu35YfpAxheHI1U=
-SHA256 (lzma-4.32.0beta5.tar.gz) = b5no1nlkqDS94xmJsWNgbxL/3s5dCWFivQ+wMtli9/E=
-SIZE (lzma-4.32.0beta5.tar.gz) = 435099
+MD5 (lzma-4.32.5.tar.gz) = ghdsMrkeqCDF6AieDIb3YA==
+RMD160 (lzma-4.32.5.tar.gz) = r36LrbZGjDOK0cxp4AVkJXZoojc=
+SHA1 (lzma-4.32.5.tar.gz) = W4teOZwbK7uJvEVbhg1cLPuHqzE=
+SHA256 (lzma-4.32.5.tar.gz) = kIkz7quol1u+4iZF3wGcjMOSBhXZv2GNn/gZ4uMKHtc=
+SIZE (lzma-4.32.5.tar.gz) = 472975
Index: patches/patch-src_liblzmadec_main_c
===
RCS file: /cvs/ports/archivers/lzma/patches/patch-src_liblzmadec_main_c,v
retrieving revision 1.1
diff -u -r1.1 patch-src_liblzmadec_main_c
--- patches/patch-src_liblzmadec_main_c 17 Jul 2006 12:10:22 -  1.1
+++ patches/patch-src_liblzmadec_main_c 15 Mar 2008 08:31:52 -
@@ -1,7 +1,7 @@
-$OpenBSD$
 src/liblzmadec/main.c.orig Sat Dec 24 21:02:46 2005
-+++ src/liblzmadec/main.c  Sun Jul  2 15:56:00 2006
-@@ -227,9 +227,9 @@ lzmadec_header_uncompressed (uint_fast64
+$OpenBSD: patch-src_liblzmadec_main_c,v 1.1 2006/07/17 12:10:22 steven Exp $
+--- src/liblzmadec/main.c.orig Sun Jan  6 19:05:28 2008
 src/liblzmadec/main.c  Sat Mar 15 09:31:50 2008
+@@ -233,9 +233,9 @@ lzmadec_header_uncompressed (uint_fast64_t *size, uint
  {
/* Streamed files have all 64 bits set in the size field.
   We don't know the uncompressed size beforehand. */
@@ -12,7 +12,7 @@
for (i = 0; i < 8; i++) {
*size += (uint_fast64_t)buffer[i] << (i * 8);
if (buffer[i] != 255)
-@@ -253,6 +253,7 @@ lzmadec_internal_init (lzmadec_stream *s
+@@ -259,6 +259,7 @@ lzmadec_internal_init (lzmadec_stream *strm)
  {
uint_fast32_t i;
uint32_t num_probs;
@@ -20,7 +20,7 @@
  
/* Make sure we have been called sanely */
if (STATE->probs != NULL || STATE->dictionary != NULL
-@@ -285,7 +286,7 @@ lzmadec_internal_init (lzmadec_stream *s
+@@ -291,7 +292,7 @@ lzmadec_internal_init (lzmadec_stream *strm)
strm->avail_in -= 8;
  
/* Allocate memory for internal data */
@@ -29,7 +29,7 @@
+ (LZMA_LIT_SIZE << (STATE->lc + STATE->lp)));
STATE->probs = (CProb *)((strm->lzma_alloc)(strm->opaque, 1,
lzmadec_num_probs * sizeof(CProb)));
-@@ -668,8 +669,8 @@ assert (state >= 0);
+@@ -674,8 +675,8 @@ assert (state >= 0);
numDirectBits = 
LZMA_NUM_ALIGN_BITS;
}
{



Re: audio/aqualung .desktop file?

2008-03-15 Thread Antoine Jacoutot

On Fri, 14 Mar 2008, Jeremy Evans wrote:

@@ -78,5 +81,9 @@

post-install:
mv ${PREFIX}/share/aqualung/doc ${PREFIX}/share/doc/aqualung
+   mkdir -p ${PREFIX}/share/applications


Use ${INSTALL_DATA_DIR} instead


@@ -1,6 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/02/15 15:52:02 steven Exp $
bin/aqualung
@man man/man1/aqualung.1
+share/applications/


Please update your ports, the previous line should not appear.

--
Antoine



[NEW] mod_encoding-20021209

2008-03-15 Thread Antoine Jacoutot

pkg/DESCR
This module improves non-ascii filename interoperability of Apache
(and mod_dav).

It seems many WebDAV clients send filename in its platform-local
encoding.  But since mod_dav expects everything, even HTTP request line,
to be in UTF-8, this causes an interoperability problem.

This module adds following directives:
EncodingEngine, SetServerEncoding, AddClientEncoding,
DefaultClientEncoding, and NormalizeUsername.


Comments/OK?

--
Antoine

mod_encoding.tar.gz
Description: Binary data


UPDATE: x11/isomaster

2008-03-15 Thread Giovanni Bechis

Update to latest version (1.3), now editing files inside the iso works well.
 Cheers
  Giovanni
Index: Makefile
===
RCS file: /cvs/ports/x11/isomaster/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile5 Nov 2007 22:44:54 -   1.3
+++ Makefile31 Dec 2007 16:16:37 -
@@ -2,7 +2,7 @@
 
 COMMENT=   gui cd image editor
 
-DISTNAME=  isomaster-1.2
+DISTNAME=  isomaster-1.3
 CATEGORIES=x11
 HOMEPAGE=  http://littlesvr.ca/isomaster/
 
Index: distinfo
===
RCS file: /cvs/ports/x11/isomaster/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo5 Nov 2007 22:44:54 -   1.3
+++ distinfo31 Dec 2007 16:16:37 -
@@ -1,5 +1,5 @@
-MD5 (isomaster-1.2.tar.bz2) = rPqSJv9DWIZbgzYsXcB9ew==
-RMD160 (isomaster-1.2.tar.bz2) = QRrJiRGmCA3/rvWoM1OUXa7w81A=
-SHA1 (isomaster-1.2.tar.bz2) = kvqMw55aFpDTgcbjpYwMhtQwCcs=
-SHA256 (isomaster-1.2.tar.bz2) = YJQyMeZKtOn38aBt0ZVXCWy5h7L15nBkIGMMkNyRGk0=
-SIZE (isomaster-1.2.tar.bz2) = 183654
+MD5 (isomaster-1.3.tar.bz2) = CRaJMC3EFwVwbaAyPE/r8w==
+RMD160 (isomaster-1.3.tar.bz2) = UV0WUxmnFANc6zXmlzwe6n8eo4E=
+SHA1 (isomaster-1.3.tar.bz2) = 2aHpf0d0EzCmH/zf0S77O7+GECM=
+SHA256 (isomaster-1.3.tar.bz2) = W1v6p/R6ie/e9ao5hUQsKW/lFibiuc/whoXs5QYSKDE=
+SIZE (isomaster-1.3.tar.bz2) = 191258
Index: pkg/PLIST
===
RCS file: /cvs/ports/x11/isomaster/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   5 Nov 2007 22:44:54 -   1.3
+++ pkg/PLIST   31 Dec 2007 16:16:37 -
@@ -22,8 +22,10 @@ share/locale/fo/
 share/locale/fo/LC_MESSAGES/
 share/locale/fo/LC_MESSAGES/isomaster.mo
 share/locale/fr/LC_MESSAGES/isomaster.mo
+share/locale/he/LC_MESSAGES/isomaster.mo
 share/locale/hr/LC_MESSAGES/isomaster.mo
 share/locale/hu/LC_MESSAGES/isomaster.mo
+share/locale/id/LC_MESSAGES/isomaster.mo
 share/locale/it/LC_MESSAGES/isomaster.mo
 share/locale/nb/LC_MESSAGES/isomaster.mo
 share/locale/nl/LC_MESSAGES/isomaster.mo


abcde id3tag patch

2008-03-15 Thread Hermann Gottschalk
Hi,
as abcde is designed to use id3 and id3v2 to tag the the ripped files and
in the openbsd-ports is only id3tag one may change the option to tag the
tracktitle with id3tag from '-t' to '-s'.
A patch is attached.
-- 
Hermann Gottschalk / Kesslerpl. 1a / D-90489 Nuernberg / PGP 0x0B2D8EEA
[EMAIL PROTECTED] / tel +49 911 180 6256 / mobile +49 173 360 0680
http://www.de.openbsd.org/ -- Free, functional, secure
--- /usr/local/bin/abcdeThu Aug 16 01:51:18 2007
+++ abcde   Sat Mar 15 11:33:02 2008
@@ -490,7 +490,7 @@
 
# FIXME # track numbers in mp3 come with 1/10, so we cannot 
happily substitute them with $TRACKNUM
run_command tagtrack-$1 $TAGGER $TAGGEROPTS -c "$COMMENTOUTPUT" 
\
-   -A "$DALBUM" -a "$TRACKARTIST" -t "$TRACKNAME" -y 
"$CDYEAR" \
+   -A "$DALBUM" -a "$TRACKARTIST" -s "$TRACKNAME" -y 
"$CDYEAR" \
-g "$GENREID" -T "${TRACKNUM:-$1/$TRACKS}" \
"$ABCDETEMPDIR/track$1.$OUTPUT"
;;


pgpOwntV8MRao.pgp
Description: PGP signature


gcal-port

2008-03-15 Thread Hermann Gottschalk
A port for gcal (http://www.gnu.org/software/gcal/) is attached.


gcal.tgz
Description: application/tar-gz


pgp6HN5BGnskc.pgp
Description: PGP signature


update databases/postgresql to version 8.3 (and drop postgresql-uuid from devel/uuid)

2008-03-15 Thread Simon Bertrang
Hi,
first, here's an update of postgresql to the next major version, 8.3 [0],
and thus the usual dump/restore procedure is necessary.

Second, there are some more changes that might need your attention:

- tsearch2 has moved to the core distribution, some minor syntax changes,
  changed the pg_catalog schema and thus needs some adjustments.

- postgresql-uuid is superseeded by native uuid support but has a
  different function naming, so it also needs some minor adjustments.
  The single fact that native support allows using NULL values in
  foreign key constraints makes uuid usage much easier in a few
  situations.

In any case the uuid diff is required, otherwise postgresql pulls in
uuid which pulls in postgresql and so on...

Please test, give feedback and eventually oks.

Kind regards,
Simon

[0] http://www.postgresql.org/docs/8.3/static/release-8-3.html
Index: Makefile
===
RCS file: /cvs/ports/devel/uuid/Makefile,v
retrieving revision 1.29
diff -u -p -r1.29 Makefile
--- Makefile16 Sep 2007 02:53:14 -  1.29
+++ Makefile15 Mar 2008 16:05:58 -
@@ -4,13 +4,11 @@ SHARED_ONLY=  Yes
 
 COMMENT-main=  ISO-C API and CLI for generating UUIDs
 COMMENT-perl=  UUID modules for Perl
-COMMENT-pgsql= UUID extension for PostgreSQL
 
 VERSION=   1.6.0
 DISTNAME=  uuid-${VERSION}
 FULLPKGNAME-main=  uuid-${VERSION}
 FULLPKGNAME-perl=  p5-UUID-${VERSION}p0
-FULLPKGNAME-pgsql= postgresql-uuid-${VERSION}
 CATEGORIES=devel
 SHARED_LIBS=   uuid13.22 \
uuid++  14.21
@@ -26,7 +24,7 @@ PERMIT_PACKAGE_FTP=   Yes
 PERMIT_DISTFILES_CDROM=Yes
 PERMIT_DISTFILES_FTP=  Yes
 
-MULTI_PACKAGES=-main -perl -pgsql
+MULTI_PACKAGES=-main -perl
 
 WANTLIB-main=  c
 
@@ -34,19 +32,10 @@ CATEGORIES-perl=devel perl5
 WANTLIB-perl=
 LIB_DEPENDS-perl=  uuid.>=12::devel/uuid
 
-CATEGORIES-pgsql=  devel databases
-WANTLIB-pgsql= c
-LIB_DEPENDS-pgsql= uuid.>=12::devel/uuid
-RUN_DEPENDS-pgsql= :postgresql-server-*:databases/postgresql,-server
-BUILD_DEPENDS+=${RUN_DEPENDS-pgsql}
-
 USE_LIBTOOL=   Yes
 
 CONFIGURE_STYLE=   gnu
 CONFIGURE_ARGS+=   --with-perl --with-cxx \
-   --without-php --with-pgsql
-
-pre-build:
-   @cp ${FILESDIR}/Makefile ${WRKSRC}/pgsql
+   --without-php --without-pgsql
 
 .include 
Index: files/Makefile
===
RCS file: files/Makefile
diff -N files/Makefile
--- files/Makefile  19 Jun 2007 16:09:12 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,48 +0,0 @@
-
-LIB=   uuid
-
-PG_CONFIG?=pg_config
-PG_CFLAGS!=${PG_CONFIG} --cflags
-PG_CPPFLAGS!=  ${PG_CONFIG} --cppflags
-PG_INCDIR!=${PG_CONFIG} --pkgincludedir
-PG_LIBDIR!=${PG_CONFIG} --pkglibdir
-PG_SHAREDIR!=  ${PG_CONFIG} --sharedir
-PG_DOCDIR!=${PG_CONFIG} --docdir
-
-CFLAGS=${PG_CFLAGS}
-CPPFLAGS=  ${PG_CPPFLAGS} -I.. -I${PG_INCDIR}/server 
-I${PG_INCDIR}/internal
-
-LDFLAGS=   -L../.libs -L${PG_LIBDIR}
-LDADD= -luuid -lc
-
-.SUFFIXES: .sql .sql.in .c .o .so
-
-all: ${LIB:=.sql} ${LIB:=.so}
-
-.sql.in.sql:
-   sed -e 's,MODULE_PATHNAME,$$libdir/$*,g' $< >$@
-
-.c.o:
-   ${COMPILE.c} ${PICFLAG} -DPIC ${.IMPSRC} -o ${.TARGET}
-
-.o.so:
-   ${AR} cr ${LIB}.a uuid.o
-   ${RANLIB} ${LIB}.a
-   ${CC} ${CFLAGS} ${PICFLAG} -DPIC -shared -Wl,-x ${.IMPSRC} \
-   ${LDFLAGS} ${LDADD} -o ${.TARGET}
-
-install: all
-   ${INSTALL} -d ${DESTDIR}${PG_LIBDIR}
-   ${INSTALL} ${LIB:=.so} ${DESTDIR}${PG_LIBDIR}/${LIB:=.so}
-   ${INSTALL} -d ${DESTDIR}${PG_SHAREDIR}
-   ${INSTALL} uuid.sql ${DESTDIR}${PG_SHAREDIR}/uuid.sql
-   ${INSTALL} -d ${DESTDIR}${PG_DOCDIR}
-   ${INSTALL} uuid.txt ${DESTDIR}${PG_DOCDIR}/uuid.txt
-
-clean:
-   rm -f a.out [Ee]rrs mklog core *.core
-   rm -f ${LIB:=.sql} ${LIB}*.{a,o,so}
-
-.PHONY: clean
-
-.include 
Index: pkg/DESCR-pgsql
===
RCS file: pkg/DESCR-pgsql
diff -N pkg/DESCR-pgsql
--- pkg/DESCR-pgsql 19 Jun 2007 16:09:12 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,2 +0,0 @@
-This is the OSSP uuid binding for the PostgreSQL RDBMS, providing
-native UUID data type support.
Index: pkg/PLIST-pgsql
===
RCS file: pkg/PLIST-pgsql
diff -N pkg/PLIST-pgsql
--- pkg/PLIST-pgsql 19 Jun 2007 16:09:12 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,7 +0,0 @@
[EMAIL PROTECTED] $OpenBSD: PLIST-pgsql,v 1.1 2007/06/19 16:09:12 simon Exp $
-lib/postgresql/
-lib/postgresql/uuid.so
-share/doc/postgresql/
-share/doc/postgresql/uuid.txt
-share/postgresql/
-share/postgresql/uuid.sql
Index: Makefile

Privoxy stable release is 3.0.8

2008-03-15 Thread Andraž 'ruskie' Levstik
But ports still have 3.0.3. Any chances of getting this updated? There's
atleast one security update in there...



new: mail/swaks

2008-03-15 Thread Simon Bertrang
Hi,
this is a port of a handy tool when configuring mailservers or general
testing SMTP functionality.
Tested successfully on amd64 and i386.

pkg/DESCR says:
swaks is the Swiss Army Knife for SMTP transaction testing.  It provides
command line SMTP testing capabilities, including TLS and AUTH.

Feedback/ok?


Regards,
Simon


swaks.tar.gz
Description: application/tar-gz


new: devel/sge

2008-03-15 Thread Simon Bertrang
Hi,
the attached port is a SDL-based library used by various game developers.

What pkg/DESCR has to say:
SGE is a graphic library for the excellent Simple DirectMedia Layer
(SDL) library.  It provides pixel operations, clipping, lines, circles
and other figures (with antialiasing and alpha blending), rotation and
scaling of surfaces, palette functions, TrueType/Bitmap/SFont font
functions, basic 2D collision detection, sprite classes, basic texture
mapping and filled and gourand shaded polygons (with antialiasing or
alpha blending).

Tested on amd64 and i386 without regressions.  The games that need it
will follow as soon as i've cleaned them up for shipping.

Any feedback, comments - or even better - oks?


Regards,
Simon


sge.tar.gz
Description: application/tar-gz


vpnc unknown host

2008-03-15 Thread Weldon Goree
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

4.2 on PPC. vpnc, no matter what host is supplied in
/etc/vpnc/default.conf as IPSec gateway fails with
'unknown host `whatever.host.is.put.in.conf.file.com`'
and exits with status 1

The system resolver has no problem resolving the host. So far, google
has not been my friend concerning this problem.

Any thoughts?

Weldon Goree
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (OpenBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH3DswVtX426KgZ58RAq2GAKDBMxwkIHcZ93kDdD3xHO/Rxauz0ACbBqWV
u/1jGN2dHa9k4O1aunYV6Ec=
=4C8l
-END PGP SIGNATURE-



Re: vpnc unknown host

2008-03-15 Thread Weldon Goree
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Markus Lude wrote:
> Does --debug 3 show anything strange? Do you have a connection to
> the gateway mentioned above?
>
> Regards, Markus

# vpnc --debug 3
Enter password for [EMAIL PROTECTED]:
hex_test: 00010203
vpnc version 0.3.3
S1
unknown host `server.tld'

*shrug*

Weldon Goree
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (OpenBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH3EVeVtX426KgZ58RAh9zAJ99FIslkT5bTeQzsb1O03PFXDq0lgCgq0RH
zBzcQTw2JaKg0U29kWDZ7LM=
=D0c1
-END PGP SIGNATURE-



Re: vpnc unknown host

2008-03-15 Thread Weldon Goree
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Markus Lude wrote:
>> Does --debug 3 show anything strange? Do you have a connection to
>>  the gateway mentioned above?
>
>> Regards, Markus
>

Also, I can resolve and ping the host that is the IPSec gateway.

Weldon Goree
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (OpenBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH3EeNVtX426KgZ58RArarAJ9W/eK1Nzxh1rfkFSX/P71LTpcrAwCeO6Iy
V+DTMIB9UMMfdw4wZ1gLnvs=
=Hr5L
-END PGP SIGNATURE-



Re: vpnc unknown host

2008-03-15 Thread Markus Lude
On Sat, Mar 15, 2008 at 06:02:55PM -0400, Weldon Goree wrote:
> Markus Lude wrote:
> >> Does --debug 3 show anything strange? Do you have a connection to
> >>  the gateway mentioned above?
> >
> >> Regards, Markus
> >
> 
> Also, I can resolve and ping the host that is the IPSec gateway.

How did you try to resolve the host name? Do you use IPv4 or perhaps
IPv6? Looks like the gethostbyname(3) call fails.

Regards,
Markus



Re: vpnc unknown host

2008-03-15 Thread Weldon Goree
Markus Lude wrote:
> On Sat, Mar 15, 2008 at 06:02:55PM -0400, Weldon Goree wrote:
>   
>> Markus Lude wrote:
>> 
 Does --debug 3 show anything strange? Do you have a connection to
  the gateway mentioned above?
 
 Regards, Markus
 
>> Also, I can resolve and ping the host that is the IPSec gateway.
>> 
>
> How did you try to resolve the host name? Do you use IPv4 or perhaps
> IPv6? Looks like the gethostbyname(3) call fails.
>
> Regards,
> Markus
>
>   
Ummm... yes. That's what I meant by "Also, I can resolve and ping the
host". Other applications have no problem resolving that hostname.
Substituting in obviously-resolvable names like "www.yahoo.com" and
"localhost"

On further reflection, putting in the IP address rather than the
hostname works.

Why would this application alone be unable to resolve a hostname?

Weldon Goree



Re: update databases/postgresql to version 8.3 (and drop postgresql-uuid from devel/uuid)

2008-03-15 Thread Marc Balmer

Simon Bertrang wrote:

Hi,
first, here's an update of postgresql to the next major version, 8.3 [0],
and thus the usual dump/restore procedure is necessary.

Second, there are some more changes that might need your attention:

- tsearch2 has moved to the core distribution, some minor syntax changes,
  changed the pg_catalog schema and thus needs some adjustments.

- postgresql-uuid is superseeded by native uuid support but has a
  different function naming, so it also needs some minor adjustments.
  The single fact that native support allows using NULL values in
  foreign key constraints makes uuid usage much easier in a few
  situations.

In any case the uuid diff is required, otherwise postgresql pulls in
uuid which pulls in postgresql and so on...

Please test, give feedback and eventually oks.


I want to know first how hard updates of real applications will be
(with stored procedures etc).  There are incompatibilities between
8.2 and 8.3 in the area of type conversions e.g.

If an update means a lot of hazzle, then we should consider keeping
both branches in the tree, like we do with python and other stuff.



Re: new: devel/sge

2008-03-15 Thread Antti Harri


Works (builds, packages, installs) on i386.

--
Antti Harri