Re: draft port of security/pwman

2007-11-14 Thread Aaron S. <[EMAIL PROTECTED]>
Stuart Henderson wrote:
> Hi Aaron,
>
>   
>> - http://www.x96.org/pwman.tar.gz
>> 
>
> w-pwman-0.3.8/pwman-0.3.8/src/options.c:printf("Path to GnuPG 
> [/usr/bin/gpg]: ");
> w-pwman-0.3.8/pwman-0.3.8/src/options.c:
> strncpy(options->gpg_path, "/usr/bin/gpg", STRING_LONG);
>
> these lines should be patched to default to the installed gpg rather
> than make people type it in - in the patch, use some placeholder e.g.
> %LOCALBASE% and then do something like this
>
> pre-configure:
>   @perl -pi -e s,%LOCALBASE%,${LOCALBASE}, ${WRKSRC}/src/options.c
>
>   
Hello Stuart,
Thanks for your input; patched the port as suggested.

- http://www.x96.org/pwman.tar.gz



Re: New: games/lincity-ng

2007-11-14 Thread Antti Harri

On Wed, 14 Nov 2007, Simon Bertrang wrote:


In the meantime there was a new release of lincity-ng - attached is the
updated port tarball.


Changes looked fine again and no problems with building but still the same 
crashing for me.. Empty map (Beach), residential buildings, market places,

communes and tracks to connect them. That's all I get to do before it
crashes.

OpenBSD 4.2-current (GENERIC) #476: Fri Nov  2 14:41:26 MDT 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC

--
Antti Harri



Re: draft port of security/pwman

2007-11-14 Thread Aaron S. <[EMAIL PROTECTED]>
Okan Demirmen wrote:
> On Tue 2007.11.13 at 20:10 -0800, Aaron S. wrote:
>   
>> Okan Demirmen wrote:
>> 
>>> you should probably run update-plist - will get rid of the 3 erroneous
>>> directories in the PLIST.
>>>
>>> also, i'm not sure you need any of the ${DOCS} - the interesting one for
>>> a package is README, but you have the important bit in DESCR already.
>>>
>>> cheers.
>>>
>>>   
>>>   
>> thanks for feedback, updated the port.
>>
>> - http://www.x96.org/pwman.tar.gz
>> 
>
> ah, thanks for the update. i'm kinda unsure about needing README at all
> because the important bit is already included in DESCR.
>
> otherwise, it works on i386/amd64
>   
Removed ${DOCS} altogether as recommended by Okan Demirmen.
I suppose it's more or less ready to be committed unless anyone has any
objections.
- http://www.x96.org/pwman.tar.gz

Thanks.



Re: Notes on vpnc

2007-11-14 Thread Markus Lude
On Fri, Oct 12, 2007 at 06:43:24PM +0200, Thomas Schoeller wrote:
> On Tue, Oct 09, 2007 at 09:08:42AM +0200, Thomas Schoeller wrote:
> > hello,
> > any doubts this could go in?
> > could someone commit this?
> > 
> > thanks
> > thomas
> > 
> > On Fri, Oct 05, 2007 at 03:54:37PM +0200, Thomas Schoeller wrote:
> > > On Fri, Oct 05, 2007 at 12:28:09PM +0100, Stuart Henderson wrote:
> > > > 
> > > > can you send a diff -u with those in please? (I usually 'cvs diff -RuN'
> > > > against an anoncvs server or local mirrored repository, which includes 
> > > > the
> > > > version information, is easy to read and apply, and handles 
> > > > added/removed
> > > > files nicely, but any 'diff -u' would be good)
> > > > 
> > > 
> > > here is a updated diff.
> > > 
> > > thank you stuart.
> > >  
> > 
> 
> new diff that not revert 1.12

This works for me on sparc64. Thanks for the update. Rekeying is nice :)
Maybe someone could commit this?

Regards,
Markus


> Index: Makefile
> ===
> RCS file: /cvs/ports/security/vpnc/Makefile,v
> retrieving revision 1.12
> diff -u -r1.12 Makefile
> --- Makefile  15 Sep 2007 23:30:01 -  1.12
> +++ Makefile  11 Oct 2007 19:27:59 -
> @@ -2,8 +2,7 @@
>  
>  COMMENT= client for Cisco 3000 VPN concentrators
>  
> -DISTNAME=vpnc-0.3.3
> -PKGNAME= ${DISTNAME}p1
> +DISTNAME=vpnc-0.5.1
>  CATEGORIES=  security net
>  
>  HOMEPAGE=http://www.unix-ag.uni-kl.de/~massar/vpnc/
> @@ -22,9 +21,15 @@
>  USE_GMAKE=   Yes
>  NO_REGRESS=  Yes
>  
> +# amd64 works only with -O0
> +.if ${MACHINE_ARCH} == "amd64"
> +CFLAGS+= -O0
> +.endif
> +
>  do-configure:
>   @perl -pi -e "s,/etc,${SYSCONFDIR},g" ${WRKSRC}/{README,config.c}
>   @sed -e "s,%%PREFIX%%,${PREFIX},g" ${FILESDIR}/vpnc.sh > 
> ${WRKBUILD}/vpnc.sh
> + @sed -e "s,%%PREFIX%%,${PREFIX},g" ${FILESDIR}/split.sh > 
> ${WRKBUILD}/split.sh
>  
>  do-install:
>   ${INSTALL_PROGRAM} ${WRKBUILD}/vpnc ${PREFIX}/sbin
> @@ -33,6 +38,7 @@
>   ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vpnc
>   ${INSTALL_DATA} ${WRKBUILD}/vpnc.conf ${PREFIX}/share/examples/vpnc
>   ${INSTALL_DATA} ${WRKBUILD}/vpnc-script ${PREFIX}/share/examples/vpnc
> + ${INSTALL_DATA} ${WRKBUILD}/split.sh ${PREFIX}/share/examples/vpnc
>   ${INSTALL_DATA} ${WRKBUILD}/vpnc.sh ${PREFIX}/share/examples/vpnc
>   ${INSTALL_MAN} ${WRKBUILD}/vpnc.8 ${PREFIX}/man/man8
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/security/vpnc/distinfo,v
> retrieving revision 1.6
> diff -u -r1.6 distinfo
> --- distinfo  5 Apr 2007 17:26:10 -   1.6
> +++ distinfo  11 Oct 2007 19:27:59 -
> @@ -1,5 +1,5 @@
> -MD5 (vpnc-0.3.3.tar.gz) = 51GM/yEyb+frl5W2DCWuag==
> -RMD160 (vpnc-0.3.3.tar.gz) = /8sin7jKwY+NbeoOZ/iM7EIPMdo=
> -SHA1 (vpnc-0.3.3.tar.gz) = lVWeHFsfS8eNwaC5+V4aLWWoTAo=
> -SHA256 (vpnc-0.3.3.tar.gz) = vkqOh7BEy5k0nnHmh5RGc53VN9veE+mexhgX7WdgW9c=
> -SIZE (vpnc-0.3.3.tar.gz) = 59939
> +MD5 (vpnc-0.5.1.tar.gz) = eo6U2+lPOaT9ibcuASX2bw==
> +RMD160 (vpnc-0.5.1.tar.gz) = dt1aOji9IQnPjh+62F4nYuhImDI=
> +SHA1 (vpnc-0.5.1.tar.gz) = 78cdugOqQJRa815LB02Z+SL/f/0=
> +SHA256 (vpnc-0.5.1.tar.gz) = 9jZgvQILvmo56OtnrWDFTXGQRsYZimg0Nx0JiUf5ou0=
> +SIZE (vpnc-0.5.1.tar.gz) = 91496
> Index: files/split.sh
> ===
> RCS file: files/split.sh
> diff -N files/split.sh
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ files/split.sh11 Oct 2007 19:27:59 -
> @@ -0,0 +1,19 @@
> +#!/bin/sh
> +
> +# this effectively disables changes to /etc/resolv.conf
> +INTERNAL_IP4_DNS=
> +
> +# This sets up split networking regardless
> +# of the concentrators specifications.
> +# You can add as many routes as you want,
> +# but you must set the counter $CISCO_SPLIT_INC
> +# accordingly
> +CISCO_SPLIT_INC=1
> +CISCO_SPLIT_INC_0_ADDR=10.0.0.0
> +CISCO_SPLIT_INC_0_MASK=255.255.0.0
> +CISCO_SPLIT_INC_0_MASKLEN=16
> +CISCO_SPLIT_INC_0_PROTOCOL=0
> +CISCO_SPLIT_INC_0_SPORT=0
> +CISCO_SPLIT_INC_0_DPORT=0
> +
> +. /etc/vpnc/vpnc-script
> Index: patches/patch-Makefile
> ===
> RCS file: /cvs/ports/security/vpnc/patches/patch-Makefile,v
> retrieving revision 1.3
> diff -u -r1.3 patch-Makefile
> --- patches/patch-Makefile11 Nov 2005 19:38:07 -  1.3
> +++ patches/patch-Makefile11 Oct 2007 19:27:59 -
> @@ -1,16 +1,18 @@
>  $OpenBSD: patch-Makefile,v 1.3 2005/11/11 19:38:07 sturm Exp $
>  Makefile.origSun May  1 22:30:35 2005
> -+++ Makefile Fri Nov  4 00:03:54 2005
> -@@ -22,9 +22,9 @@ ETCDIR=/etc/vpnc
> - SBINDIR=$(PREFIX)/sbin
> - MANDIR=$(PREFIX)/share/man
> +--- Makefile.origThu Sep  6 16:05:15 2007
>  Makefile Wed Sep 19 06:05:20 2007
> +@@ -49,12 +49,9 @@ RELEASE_VERSION := $(shell cat VERSION)
> + #OPENSSL_

Re: New: games/lincity-ng

2007-11-14 Thread Simon Bertrang
On Wed, Nov 14, 2007 at 08:49:27PM +0100, Simon Bertrang wrote:
> On Sat, Nov 10, 2007 at 02:34:33PM +0200, Antti Harri wrote:
> > On Sat, 10 Nov 2007, Simon Bertrang wrote:
> >
> >> Attached is a tweaked version:
> >> - use MASTER_SITE_BERLIOS for MASTER_SITES
> >> - format a bit
> >> - add RUN_DEPENDS=::devel/desktop-file-utils and entries to PLIST
> >> - slightly change CONFIGURE_ENV use
> >> - install manpage
> >>
> >> Tested on amd64 in sdl and gl mode without regressions.
> >>
> >> Any thoughts, reports or objections?
> >
> > Thanks.
> >
> > By the way, after submitting it to ports@ I did more
> > testing and I'm getting crashes. It *seems* to me
> > it's more prone to do it when I select new game
> > instead of the pre-built cities. I just tried your modified
> > package with same behaviour:
> >
> > Starting lincity-ng (version 1.1.1)...
> > [/home/iku/.lincity] is in the search path.
> > [/usr/local/share/lincity-ng] is in the search path.
> > LINCITY_HOME: /usr/local/share/lincity-ng
> > SDL Mode 800x600
> > No Component specified in cell 2, 1
> > Segmentation fault (core dumped)
> >
> > Otherwise your changes looked fine to me.
> >
> 
> In the meantime there was a new release of lincity-ng - attached is the
> updated port tarball.
> 
> Tests, objections, oks?
> 

Aaargh... sorry, here's it now.

Simon


lincity-ng.tar.gz
Description: application/tar-gz


Re: New: games/lincity-ng

2007-11-14 Thread Simon Bertrang
On Sat, Nov 10, 2007 at 02:34:33PM +0200, Antti Harri wrote:
> On Sat, 10 Nov 2007, Simon Bertrang wrote:
>
>> Attached is a tweaked version:
>> - use MASTER_SITE_BERLIOS for MASTER_SITES
>> - format a bit
>> - add RUN_DEPENDS=::devel/desktop-file-utils and entries to PLIST
>> - slightly change CONFIGURE_ENV use
>> - install manpage
>>
>> Tested on amd64 in sdl and gl mode without regressions.
>>
>> Any thoughts, reports or objections?
>
> Thanks.
>
> By the way, after submitting it to ports@ I did more
> testing and I'm getting crashes. It *seems* to me
> it's more prone to do it when I select new game
> instead of the pre-built cities. I just tried your modified
> package with same behaviour:
>
> Starting lincity-ng (version 1.1.1)...
> [/home/iku/.lincity] is in the search path.
> [/usr/local/share/lincity-ng] is in the search path.
> LINCITY_HOME: /usr/local/share/lincity-ng
> SDL Mode 800x600
> No Component specified in cell 2, 1
> Segmentation fault (core dumped)
>
> Otherwise your changes looked fine to me.
>

In the meantime there was a new release of lincity-ng - attached is the
updated port tarball.

Tests, objections, oks?

Regards,
Simon



Re: [NEW] devede-3.3

2007-11-14 Thread Nikns Siankin
On Wed, Nov 14, 2007 at 12:18:08PM +0100, Antoine Jacoutot wrote:
> pkg/DESCR
> DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD),
> suitables for home players, from any number of video files, in any of
> the formats supported by MPlayer.
>
>
> Slightly tested under i386 and macppc.
> Comments? OK?
Seems to work fine under amd64.



>
> -- 
> Antoine




Re: xmobar: Battery module ported

2007-11-14 Thread Nikns Siankin
On Wed, Nov 14, 2007 at 01:38:01PM +0100, Jona Joachim wrote:
>Hi!
>On 16 October Dmitri Alenitchev submitted the xmobar port:
>http://thread.gmane.org/gmane.os.openbsd.ports/26246
>
>It has not been committed yet.
>One of the major drawbacks was that the monitoring modules make
>extensive use of procfs, so they obviously won't work on OpenBSD.
>I rewrote the battery module so that it uses sysctl.
>I also updated the example config file to show the usage of the
>modified battery module.
>
>An updated tarball is attached.
>I only tested it on a ThinkPad T60 running 4.2-amd64, so it would be
>nice to see if it works right for other people.

Works fine on amd64 with recent acpi changes :]

>
>Please note that some batteries report their remaining charge in Ah
>while others report in Wh. You will have to include this information in
>your xmobar config file by specifying either "watthour" or "amphour".
>You can find out what unit your system uses by running `sysctl
>hw.sensors.acpibat0`.
>
>Oh and please keep in mind that I'm still a beginner in Haskell, so I
>hope the lambda knights among you won't shoot me if I wrote some poor
>style code.
>
>Best regards,
>Jona
>
>
>-- 
>"I am chaos. I am the substance from which your artists and scientists
>build rhythms. I am the spirit with which your children and clowns
>laugh in happy anarchy. I am chaos. I am alive, and tell you that you
>are free." Eris, Goddess Of Chaos, Discord & Confusion"




Re: ImageMagic distfile

2007-11-14 Thread Giovanni Bechis
On Wed, Nov 14, 2007 at 11:02:33AM -0500, Okan Demirmen wrote:
> MASTER_SITES needs an update, as well as the whole port. are you working
> on that?
> 
I am working on update to version 6.3.6-10 (latest version).
  Giovanni



Re: ImageMagic distfile

2007-11-14 Thread Okan Demirmen
On Wed 2007.11.14 at 17:41 +0200, Nikns Siankin wrote:
> >> Fetch 
> >> http://easynews.dl.sourceforge.net/sourceforge/imagemagick/ImageMagick-6.3.5-9.tar.gz.
> 100% |**|  9092 KB06:45   
>  
> >> Size does not match for /usr/ports/distfiles/ImageMagick-6.3.5-9.tar.gz
> *** Error code 1
> 
> Can anyone confirm this?

yup:
-#define MagickReleaseDate  "09/14/07"
+#define MagickReleaseDate  "09/15/07"

MASTER_SITES needs an update, as well as the whole port. are you working
on that?



ImageMagic distfile

2007-11-14 Thread Nikns Siankin
>> Fetch 
>> http://easynews.dl.sourceforge.net/sourceforge/imagemagick/ImageMagick-6.3.5-9.tar.gz.
100% |**|  9092 KB06:45
>> Size does not match for /usr/ports/distfiles/ImageMagick-6.3.5-9.tar.gz
*** Error code 1

Can anyone confirm this?



Re: draft port of security/pwman

2007-11-14 Thread Okan Demirmen
On Tue 2007.11.13 at 20:10 -0800, Aaron S. wrote:
> Okan Demirmen wrote:
> >
> > you should probably run update-plist - will get rid of the 3 erroneous
> > directories in the PLIST.
> >
> > also, i'm not sure you need any of the ${DOCS} - the interesting one for
> > a package is README, but you have the important bit in DESCR already.
> >
> > cheers.
> >
> >   
> thanks for feedback, updated the port.
> 
> - http://www.x96.org/pwman.tar.gz

ah, thanks for the update. i'm kinda unsure about needing README at all
because the important bit is already included in DESCR.

otherwise, it works on i386/amd64



xmobar: Battery module ported

2007-11-14 Thread Jona Joachim
Hi!
On 16 October Dmitri Alenitchev submitted the xmobar port:
http://thread.gmane.org/gmane.os.openbsd.ports/26246

It has not been committed yet.
One of the major drawbacks was that the monitoring modules make
extensive use of procfs, so they obviously won't work on OpenBSD.
I rewrote the battery module so that it uses sysctl.
I also updated the example config file to show the usage of the
modified battery module.

An updated tarball is attached.
I only tested it on a ThinkPad T60 running 4.2-amd64, so it would be
nice to see if it works right for other people.

Please note that some batteries report their remaining charge in Ah
while others report in Wh. You will have to include this information in
your xmobar config file by specifying either "watthour" or "amphour".
You can find out what unit your system uses by running `sysctl
hw.sensors.acpibat0`.

Oh and please keep in mind that I'm still a beginner in Haskell, so I
hope the lambda knights among you won't shoot me if I wrote some poor
style code.

Best regards,
Jona


-- 
"I am chaos. I am the substance from which your artists and scientists
build rhythms. I am the spirit with which your children and clowns
laugh in happy anarchy. I am chaos. I am alive, and tell you that you
are free." Eris, Goddess Of Chaos, Discord & Confusion"


xmobar.tgz
Description: Unix tar archive


[NEW] devede-3.3

2007-11-14 Thread Antoine Jacoutot

pkg/DESCR
DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD),
suitables for home players, from any number of video files, in any of
the formats supported by MPlayer.


Slightly tested under i386 and macppc.
Comments? OK?

--
Antoine

devede.tar.gz
Description: Binary data


Re: Could anyone get Neils Provos's SpyBye compiled successfully on 4.2/amd64

2007-11-14 Thread Siju George
On Nov 14, 2007 2:19 PM, Stuart Henderson <[EMAIL PROTECTED]> wrote:
> from a point-of-view of porting this (rather than hand-building),
> does anyone have a clue what to do with libevent? (spybye uses the
> http parts which are disabled in src/)
>
>

I found that

I already have libevent on my OpenBSD 4.2/amd64


$ locate libevent
/usr/lib/libevent.a
/usr/lib/libevent.so.1.4
/usr/lib/libevent_p.a
/usr/lib/libevent_pic.a
$
===

but I got error while compiling SpyBye and Neils told me to install
libevent first so I installed as told in
http://www.spybye.org/index.php?/pages/installation.html
by hand and still got these errors.

Thank you so much

Kind Regards

Siju



Re: NEW: net/daemonlogger

2007-11-14 Thread Giovanni Bechis
Works well on i386, I have updated a bit pkg/PLIST.
Port available at:
http://bigio.snb.it/openbsd/daemonlogger-1.0.1.tgz
 Giovanni



Re: Could anyone get Neils Provos's SpyBye compiled successfully on 4.2/amd64

2007-11-14 Thread Stuart Henderson
from a point-of-view of porting this (rather than hand-building),
does anyone have a clue what to do with libevent? (spybye uses the
http parts which are disabled in src/)



Re: UPDATE: Add no_x11 flavor to textproc/xpdf

2007-11-14 Thread Landry Breuil
On Tue, Nov 13, 2007 at 02:38:38PM -0800, Jeremy Evans wrote:
> This diff adds a no_x11 flavor to textproc/xpdf.  This is necessary if
> you want to use the pdftotext program without X being installed.  This
> patch is the same is one sent last week, update to -current for the
> recent security patch to xpdf.
> 
> Tested on i386. Please test and commit.

We (bernd and i) had a look at your previous patch, and it seems to make
more sense to have a multi-packages with xpdf-main and xpdf-utils, the latter
containing what corresponds to your no_x11 flavor.
An updated diff should appear soon, there is only a little issue about
upgrading from xpdf to xpdf-main+xpdf-utils which leads to conflicts.

Landry