Re: sysutils/apcupsd rc.d script

2011-03-07 Thread Antoine Jacoutot
On Tue, 8 Mar 2011, Kirill Bychkov wrote:

> Hi.
> This diff adds rc script, removes snmp flavor, which is marked as
> obsolete upstream and doesn't build.
> 
> Could it go in now?

Hi.

As a general rule when adding rc.d(8) scripts please make sure (and 
mention it) that all rc actions were tested correctly. That is rc_start 
rc_check rc_stop rc_restart and what most people forget, rc_reload.
I see no mention in the man page about apcupsd supporting a SIGHUP to 
reload its configuration (maybe I just missed it I don't know).

So please people when you post rc scripts, be more verbose about the 
tests you did.

Thanks.


> Index: Makefile
> ===
> RCS file: /cvs/ports/sysutils/apcupsd/Makefile,v
> retrieving revision 1.10
> diff -u -p -r1.10 Makefile
> --- Makefile  7 Mar 2011 18:54:51 -   1.10
> +++ Makefile  8 Mar 2011 07:35:13 -
> @@ -6,7 +6,7 @@ COMMENT-x11 = gapcmon - GUI for apcupsd
> 
>  DISTNAME =   apcupsd-3.14.8
>  PKGNAME-main =   ${DISTNAME}
> -REVISION-main =  2
> +REVISION-main =  3
>  PKGNAME-cgi =${DISTNAME:S/-/-cgi-/}
>  PKGNAME-x11 =${DISTNAME:S/-/-x11-/}
>  REVISION-x11 =   1
> @@ -47,7 +47,6 @@ CONFIGURE_ARGS =--mandir=${PREFIX}/man
>   --enable-usb
> 
>  PSEUDO_FLAVORS = no_x11
> -FLAVORS =snmp
>  FLAVOR ?=
> 
>  MULTI_PACKAGES = -main
> @@ -74,12 +73,6 @@ WANTLIB-x11 += gmodule-2.0 gobject-2.0 g
>  WANTLIB-x11 += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
>  WANTLIB-x11 += pthread-stubs xcb-render xcb z ${WANTLIB} c pthread
>  WANTLIB-x11 += GL X11-xcb Xxf86vm drm xcb-shm
> -.endif
> -
> -.if ${FLAVOR:L:Msnmp}
> -CONFIGURE_ARGS +=--enable-net-snmp
> -LIB_DEPENDS-main +=  net/net-snmp
> -WANTLIB-main =   ${WANTLIB} crypto netsnmp
>  .endif
> 
>  FAKE_FLAGS = sysconfdir=${TRUEPREFIX}/share/examples/apcupsd/etc
> Index: pkg/MESSAGE-main
> ===
> RCS file: /cvs/ports/sysutils/apcupsd/pkg/MESSAGE-main,v
> retrieving revision 1.3
> diff -u -p -r1.3 MESSAGE-main
> --- pkg/MESSAGE-main  17 Jun 2010 18:43:43 -  1.3
> +++ pkg/MESSAGE-main  8 Mar 2011 07:35:13 -
> @@ -1,10 +1,3 @@
> -To start apcupsd at boot time, edit ${SYSCONFDIR}/apcupsd/apcupsd.conf
> -and add the following lines to /etc/rc.local:
> -
> -if [ -x ${PREFIX}/sbin/apcupsd ]; then
> - echo -n ' apcupsd';   ${PREFIX}/sbin/apcupsctl start
> -fi
> -
>  To allow the system to be fully powered down (in order to preserve
>  UPS battery), add the following lines to /etc/rc.shutdown:
> 
> Index: pkg/PLIST-main
> ===
> RCS file: /cvs/ports/sysutils/apcupsd/pkg/PLIST-main,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 PLIST-main
> --- pkg/PLIST-main25 May 2010 21:56:33 -  1.1.1.1
> +++ pkg/PLIST-main8 Mar 2011 07:35:13 -
> @@ -1,4 +1,5 @@
>  @comment $OpenBSD: PLIST-main,v 1.1.1.1 2010/05/25 21:56:33 sthen Exp $
> +@pkgpath sysutils/apcupsd,snmp
>  @group bin
>  @man man/man5/apcupsd.conf.5
>  @man man/man8/apcaccess.8
> @@ -82,3 +83,4 @@ share/examples/apcupsd/status/SmartUPS70
>  share/examples/apcupsd/status/SmartUPS700.status
>  share/examples/apcupsd/status/newbackupspro1.status
>  share/examples/apcupsd/status/newbackupspro2.status
> +@rcscript ${RCDIR}/apcupsd
> Index: pkg/apcupsd.rc
> ===
> RCS file: pkg/apcupsd.rc
> diff -N pkg/apcupsd.rc
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ pkg/apcupsd.rc8 Mar 2011 07:35:13 -
> @@ -0,0 +1,14 @@
> +#!/bin/sh
> +#
> +# $OpenBSD$
> +
> +daemon=${TRUEPREFIX}/sbin/apcupsd
> +daemon_flags="-k"
> +
> +. /etc/rc.d/rc.subr
> +
> +rc_pre() {
> + rm -f ${SYSCONFDIR}/apcupsd/powerfail
> +}
> +
> +rc_cmd $1
> 
> 
> 

-- 
Antoine



Re: sysutils/apcupsd rc.d script

2011-03-07 Thread Kirill Bychkov
Hi.
This diff adds rc script, removes snmp flavor, which is marked as
obsolete upstream and doesn't build.

Could it go in now?

Index: Makefile
===
RCS file: /cvs/ports/sysutils/apcupsd/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile7 Mar 2011 18:54:51 -   1.10
+++ Makefile8 Mar 2011 07:35:13 -
@@ -6,7 +6,7 @@ COMMENT-x11 =   gapcmon - GUI for apcupsd

 DISTNAME = apcupsd-3.14.8
 PKGNAME-main = ${DISTNAME}
-REVISION-main =2
+REVISION-main =3
 PKGNAME-cgi =  ${DISTNAME:S/-/-cgi-/}
 PKGNAME-x11 =  ${DISTNAME:S/-/-x11-/}
 REVISION-x11 = 1
@@ -47,7 +47,6 @@ CONFIGURE_ARGS =  --mandir=${PREFIX}/man
--enable-usb

 PSEUDO_FLAVORS =   no_x11
-FLAVORS =  snmp
 FLAVOR ?=

 MULTI_PACKAGES =   -main
@@ -74,12 +73,6 @@ WANTLIB-x11 += gmodule-2.0 gobject-2.0 g
 WANTLIB-x11 += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
 WANTLIB-x11 += pthread-stubs xcb-render xcb z ${WANTLIB} c pthread
 WANTLIB-x11 += GL X11-xcb Xxf86vm drm xcb-shm
-.endif
-
-.if ${FLAVOR:L:Msnmp}
-CONFIGURE_ARGS +=  --enable-net-snmp
-LIB_DEPENDS-main +=net/net-snmp
-WANTLIB-main = ${WANTLIB} crypto netsnmp
 .endif

 FAKE_FLAGS =   sysconfdir=${TRUEPREFIX}/share/examples/apcupsd/etc
Index: pkg/MESSAGE-main
===
RCS file: /cvs/ports/sysutils/apcupsd/pkg/MESSAGE-main,v
retrieving revision 1.3
diff -u -p -r1.3 MESSAGE-main
--- pkg/MESSAGE-main17 Jun 2010 18:43:43 -  1.3
+++ pkg/MESSAGE-main8 Mar 2011 07:35:13 -
@@ -1,10 +1,3 @@
-To start apcupsd at boot time, edit ${SYSCONFDIR}/apcupsd/apcupsd.conf
-and add the following lines to /etc/rc.local:
-
-if [ -x ${PREFIX}/sbin/apcupsd ]; then
-   echo -n ' apcupsd';   ${PREFIX}/sbin/apcupsctl start
-fi
-
 To allow the system to be fully powered down (in order to preserve
 UPS battery), add the following lines to /etc/rc.shutdown:

Index: pkg/PLIST-main
===
RCS file: /cvs/ports/sysutils/apcupsd/pkg/PLIST-main,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST-main
--- pkg/PLIST-main  25 May 2010 21:56:33 -  1.1.1.1
+++ pkg/PLIST-main  8 Mar 2011 07:35:13 -
@@ -1,4 +1,5 @@
 @comment $OpenBSD: PLIST-main,v 1.1.1.1 2010/05/25 21:56:33 sthen Exp $
+@pkgpath sysutils/apcupsd,snmp
 @group bin
 @man man/man5/apcupsd.conf.5
 @man man/man8/apcaccess.8
@@ -82,3 +83,4 @@ share/examples/apcupsd/status/SmartUPS70
 share/examples/apcupsd/status/SmartUPS700.status
 share/examples/apcupsd/status/newbackupspro1.status
 share/examples/apcupsd/status/newbackupspro2.status
+@rcscript ${RCDIR}/apcupsd
Index: pkg/apcupsd.rc
===
RCS file: pkg/apcupsd.rc
diff -N pkg/apcupsd.rc
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/apcupsd.rc  8 Mar 2011 07:35:13 -
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# $OpenBSD$
+
+daemon=${TRUEPREFIX}/sbin/apcupsd
+daemon_flags="-k"
+
+. /etc/rc.d/rc.subr
+
+rc_pre() {
+   rm -f ${SYSCONFDIR}/apcupsd/powerfail
+}
+
+rc_cmd $1




Re: [UPDATE] feh-1.11.2

2011-03-07 Thread David Coppa
On Mon, Mar 7, 2011 at 5:48 PM, Stuart Henderson  wrote:

> IMO this message should at least mention .fehrc so the user
> has some idea what file is causing the problem, and the non-ascii
> chars in the invalid option lines are nasty..

I don't have these messages with non-ascii chars, but only the first one:
"feh WARNING: the config is now read from .config/feh/themes, please
update your path!"

What version of feh you were previously running? Arch?

ciao,
david



A few more typos in COMMENTs

2011-03-07 Thread Anthony J. Bentley
Index: devel/hs-unix-compat/Makefile
===
RCS file: /cvs/ports/devel/hs-unix-compat/Makefile,v
retrieving revision 1.3
diff -u devel/hs-unix-compat/Makefile
--- devel/hs-unix-compat/Makefile   3 Nov 2010 22:13:39 -   1.3
+++ devel/hs-unix-compat/Makefile   8 Mar 2011 03:01:48 -
@@ -1,9 +1,9 @@
 # $OpenBSD: Makefile,v 1.3 2010/11/03 22:13:39 kili Exp $
 
-COMMENT =  portable POSIX-compatability layer
+COMMENT =  portable POSIX-compatibility layer
 
 DISTNAME = unix-compat-0.1.2.1
-REVISION = 1
+REVISION = 2
 CATEGORIES =   devel
 
 MAINTAINER =   Jim Razmus II 
Index: devel/pybugz/Makefile
===
RCS file: /cvs/ports/devel/pybugz/Makefile,v
retrieving revision 1.3
diff -u devel/pybugz/Makefile
--- devel/pybugz/Makefile   30 Aug 2010 22:24:16 -  1.3
+++ devel/pybugz/Makefile   8 Mar 2011 03:01:48 -
@@ -1,10 +1,10 @@
 # $OpenBSD: Makefile,v 1.3 2010/08/30 22:24:16 jasper Exp $
 
-COMMENT =  Commanline client for Bugzilla bug tracking systems
+COMMENT =  Commandline client for Bugzilla bug tracking systems
 
 MODPY_EGG_VERSION =0.8.0
 DISTNAME = pybugz-${MODPY_EGG_VERSION}
-REVISION = 0
+REVISION = 1
 CATEGORIES =   devel
 
 HOMEPAGE = http://www.liquidx.net/pybugz/
Index: lang/jamvm/Makefile
===
RCS file: /cvs/ports/lang/jamvm/Makefile,v
retrieving revision 1.12
diff -u lang/jamvm/Makefile
--- lang/jamvm/Makefile 17 Nov 2010 08:05:17 -  1.12
+++ lang/jamvm/Makefile 8 Mar 2011 03:01:48 -
@@ -2,9 +2,10 @@
 
 ONLY_FOR_ARCHS= arm amd64 i386 powerpc
 
-COMMENT=   free, standards-compilant jvm with a small footprint
+COMMENT=   free, standards-compliant jvm with a small footprint
 
 DISTNAME=  jamvm-1.5.3
+REVISION = 0
 
 CATEGORIES=lang java
 
Index: misc/ftdi-eeprom/Makefile
===
RCS file: /cvs/ports/misc/ftdi-eeprom/Makefile,v
retrieving revision 1.6
diff -u misc/ftdi-eeprom/Makefile
--- misc/ftdi-eeprom/Makefile   20 Oct 2010 15:23:04 -  1.6
+++ misc/ftdi-eeprom/Makefile   8 Mar 2011 03:01:48 -
@@ -1,8 +1,9 @@
 # $OpenBSD: Makefile,v 1.6 2010/10/20 15:23:04 naddy Exp $
 
-COMMENT=   tool to programm the eeprom on FTDI usb devices
+COMMENT=   tool to program the eeprom on FTDI usb devices
 
 DISTNAME=  ftdi-eeprom-1.1
+REVISION = 0
 CATEGORIES=misc
 
 # BSD
Index: security/ipguard/Makefile
===
RCS file: /cvs/ports/security/ipguard/Makefile,v
retrieving revision 1.8
diff -u security/ipguard/Makefile
--- security/ipguard/Makefile   20 Nov 2010 17:22:43 -  1.8
+++ security/ipguard/Makefile   8 Mar 2011 03:01:48 -
@@ -1,9 +1,10 @@
 # $OpenBSD: Makefile,v 1.8 2010/11/20 17:22:43 espie Exp $
 
-COMMENT =  protect LAN IP adress space by ARP spoofing
+COMMENT =  protect LAN IP address space by ARP spoofing
 
 DISTNAME = ipguard-1.02
 CATEGORIES =   security
+REVISION = 0
 
 HOMEPAGE = http://ipguard.deep.perm.ru/
 MASTER_SITES = ${HOMEPAGE}files/
Index: security/sentinel/Makefile
===
RCS file: /cvs/ports/security/sentinel/Makefile,v
retrieving revision 1.19
diff -u security/sentinel/Makefile
--- security/sentinel/Makefile  26 Nov 2010 14:56:15 -  1.19
+++ security/sentinel/Makefile  8 Mar 2011 03:01:48 -
@@ -1,9 +1,9 @@
 # $OpenBSD: Makefile,v 1.19 2010/11/26 14:56:15 espie Exp $
 
-COMMENT=   remote promiscous mode detection tool
+COMMENT=   remote promiscuous mode detection tool
 
 DISTNAME=  sentinel-1.0
-REVISION = 0
+REVISION = 1
 CATEGORIES=security net
 
 HOMEPAGE=  http://www.packetfactory.net/projects/sentinel/



NEW: graphics/dpic

2011-03-07 Thread Anthony J. Bentley
Hi,

Dpic is a simple language, derived from pic and gpic, to produce
diagrams for LaTeX documents. It is particularly suited for easily
creating line diagrams such as electric circuits.

--
Anthony J. Bentley


dpic.tar.gz
Description: GNU Zip compressed data


Re: UPDATE: QEMU 0.14.0

2011-03-07 Thread Brad

On 20/02/11 4:42 PM, Brad wrote:

Here is an update to QEMU 0.14.0.


Now that the tree is unlocked it would be nice to get this in.


Index: Makefile
===
RCS file: /home/cvs/ports/emulators/qemu/Makefile,v
retrieving revision 1.61
diff -u -p -r1.61 Makefile
--- Makefile26 Jan 2011 13:51:43 -  1.61
+++ Makefile18 Feb 2011 02:16:07 -
@@ -5,8 +5,7 @@ ONLY_FOR_ARCHS =i386 amd64 sparc64

  COMMENT = multi system emulator

-DISTNAME = qemu-0.13.0
-REVISION = 1
+DISTNAME = qemu-0.14.0
  CATEGORIES =  emulators

  HOMEPAGE =http://www.qemu.org/
@@ -35,6 +34,8 @@ CONFIGURE_STYLE = simple
  CONFIGURE_ARGS =  --prefix=${PREFIX} \
--sysconfdir=${SYSCONFDIR} \
--mandir=${PREFIX}/man \
+   --cc="${CC}" \
+   --host-cc="${CC}" \
--extra-cflags="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/libpng" \
--extra-ldflags=-L${LOCALBASE}/lib \
Index: distinfo
===
RCS file: /home/cvs/ports/emulators/qemu/distinfo,v
retrieving revision 1.13
diff -u -p -r1.13 distinfo
--- distinfo22 Nov 2010 11:32:01 -  1.13
+++ distinfo18 Feb 2011 02:16:38 -
@@ -1,5 +1,5 @@
-MD5 (qemu-0.13.0.tar.gz) = OXoNZl2oup07lYNinz1kIQ==
-RMD160 (qemu-0.13.0.tar.gz) = Sm+q841WFvt77cGmQI3h27PsNgw=
-SHA1 (qemu-0.13.0.tar.gz) = JQu6H9tQWnh8SDMbawL1QoLt/HY=
-SHA256 (qemu-0.13.0.tar.gz) = Hm9YUbBc6m43fINfRmhAjUEkz7hF+ZSNkigIdDxf2Hc=
-SIZE (qemu-0.13.0.tar.gz) = 5184531
+MD5 (qemu-0.14.0.tar.gz) = +dFF1cCd6fCYT/6b0SKZcA==
+RMD160 (qemu-0.14.0.tar.gz) = FAkmQ4fkz+RRQ+EN13sldJNeLXg=
+SHA1 (qemu-0.14.0.tar.gz) = z42RZDbUuHdSiTmWSOHwyp2GfRg=
+SHA256 (qemu-0.14.0.tar.gz) = uiHoTXhTIXgw4Wfa6Zmc2/9IEYnGoLtgCsf7cgFFMQg=
+SIZE (qemu-0.14.0.tar.gz) = 5439695
Index: patches/patch-configure
===
RCS file: /home/cvs/ports/emulators/qemu/patches/patch-configure,v
retrieving revision 1.15
diff -u -p -r1.15 patch-configure
--- patches/patch-configure 22 Nov 2010 11:32:01 -  1.15
+++ patches/patch-configure 16 Feb 2011 01:46:15 -
@@ -1,41 +1,30 @@
  $OpenBSD: patch-configure,v 1.15 2010/11/22 11:32:01 fgsch Exp $
 configure.orig Fri Oct 15 21:56:09 2010
-+++ configure  Thu Nov 18 21:05:53 2010
-@@ -69,12 +69,12 @@ interp_prefix="/usr/gnemul/qemu-%M"
- static="no"
- sparc_cpu=""
- cross_prefix=""
--cc="gcc"
-+cc="${CC:-cc}"
- audio_drv_list=""
- audio_card_list="ac97 es1370 sb16"
- audio_possible_cards="ac97 es1370 sb16 cs4231a adlib gus"
- block_drv_whitelist=""
--host_cc="gcc"
-+host_cc="${CC:-cc}"
- ar="ar"
- make="make"
- install="install"
-@@ -128,15 +128,15 @@ ld="${cross_prefix}${ld}"
+--- configure.orig Mon Feb 14 17:02:07 2011
 configure  Tue Feb 15 20:46:07 2011
+@@ -223,9 +223,8 @@ sdl_config="${cross_prefix}${SDL_CONFIG-sdl-config}"

   # default flags for all hosts
   QEMU_CFLAGS="-fno-strict-aliasing $QEMU_CFLAGS"
  -CFLAGS="-g $CFLAGS"
-+CFLAGS="$CFLAGS"
   QEMU_CFLAGS="-Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes 
$QEMU_CFLAGS"
  -QEMU_CFLAGS="-Wstrict-prototypes -Wredundant-decls $QEMU_CFLAGS"
  +QEMU_CFLAGS="-Wstrict-prototypes $QEMU_CFLAGS"
   QEMU_CFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
$QEMU_CFLAGS"
   QEMU_CFLAGS="-D_FORTIFY_SOURCE=2 $QEMU_CFLAGS"
- QEMU_CFLAGS="-I. -I\$(SRC_PATH) $QEMU_CFLAGS"
- LDFLAGS="-g $LDFLAGS"
+ QEMU_INCLUDES="-I. -I\$(SRC_PATH)"
+@@ -931,10 +930,9 @@ else
+ exit 1
+ fi

--gcc_flags="-Wold-style-declaration -Wold-style-definition 
-fstack-protector-all"
-+gcc_flags="-Wold-style-definition"
+-gcc_flags="-Wold-style-declaration -Wold-style-definition -Wtype-limits"
++gcc_flags="-Wold-style-definition -Wtype-limits"
+ gcc_flags="-Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers 
$gcc_flags"
+ gcc_flags="-Wmissing-include-dirs -Wempty-body -Wnested-externs $gcc_flags"
+-gcc_flags="-fstack-protector-all $gcc_flags"
   cat>  $TMPC<<  EOF
   int main(void) { return 0; }
   EOF
-@@ -1300,7 +1300,7 @@ int main(void) {
+@@ -1345,7 +1343,7 @@ int main(void) {
   }
   EOF
   vnc_png_cflags=""
@@ -44,7 +33,7 @@ $OpenBSD: patch-configure,v 1.15 2010/11
 if compile_prog "$vnc_png_cflags" "$vnc_png_libs" ; then
   vnc_png=yes
   libs_softmmu="$vnc_png_libs $libs_softmmu"
-@@ -1677,7 +1677,7 @@ fi
+@@ -1760,7 +1758,7 @@ fi

   ##
   # pthread probe
@@ -53,18 +42,18 @@ $OpenBSD: patch-configure,v 1.15 2010/11

   pthread=no
   cat>  $TMPC<<  EOF
-@@ -2061,7 +2061,9 @@ fi
+@@ -2329,8 +2327,8 @@ fi
+ # End of CC checks
   # After here, no more $cc or $ld runs

- if test "$debug" = "no" ; then
+-if test "$debug" = "no

Re: [New] OpenMDNS 0.3

2011-03-07 Thread Hugo Osvaldo Barrera
On 2011-03-06 18:07, Gonzalo L. R. wrote:
> Hi porters,
> 
> I made a port for OpenMDNS, is a MDNS/DNS-SD Daemon (like Avahi, but
> better ;) for more info here is the official site:
> 
> http://www.haesbaert.org/openmdns/
> 
> please test it, works here on i386.
> 
> And I'd be glad if is in before the unlock.
> 
> Cheers
> 

No chance it gets in before the unlock:
http://marc.info/?m=129560821924520

-- 
Hugo Osvaldo Barrera



[update] x11/wmii-3.9.2 and devel/libixp-0.5

2011-03-07 Thread Oliver Klima
Hi,

attached you'll find the long due updates to x11/wmii (version 3.9.2)
and its dependency devel/libixp (version 0.5).

I stripped all non-essential parts from wmii - especially the
alternative wmiirc scripts (written in python, ruby, rc) and
libwmii_hack to keep the dependencies to a minimum. If someone
wants/needs them, I might have a look into it, but until then it isn't
worth the trouble (their custom build system is a mess IMHO).

One thing I'm not sure about is ranlib(1):
I removed a patch that added a ranlib-run for each library that's built,
as ar(1) is run with option 's' anyway. According to the man pages this
should be alright, but I might be missing something.

Another side note:
wmii includes _modified_ versions of libutf, libfmt, libbio and
libregexp9. The original libraries are already in the ports tree, but
don't work for wmii - even when updated to the "latest" version. Thus I
didn't use them to build wmii, which shouldn't be a problem as they're
only linked statically. As soon as rsc@plan9port provides proper
distfiles I'm going to provide updates for those ports nonetheless.

Regards,
Oliver Klima

P.S.: Part of the included patches have been send upstream, but I
haven't got feedback yet.
diff -Naur ports/devel/libixp/Makefile ports.new/devel/libixp/Makefile
--- ports/devel/libixp/Makefile Mon Nov 15 20:45:59 2010
+++ ports.new/devel/libixp/Makefile Mon Mar  7 20:55:37 2011
@@ -1,28 +1,29 @@
-# $OpenBSD: Makefile,v 1.6 2010/11/15 19:45:59 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2009/03/11 19:41:03 martin Exp $
 
-COMMENT=   stand-alone client/server 9P library
+PORTNAME = libixp
+RELEASE = 0.5
 
-DISTNAME=  libixp-0.4
-REVISION = 1
-CATEGORIES=devel
+CATEGORIES = devel
+COMMENT = stand-alone client/server 9P library
 
-HOMEPAGE=  http://www.suckless.org
+DISTNAME = ${PORTNAME}-${RELEASE}
+REVISION =
 
-# MIT/X, except intmap.c under Plan 9 License
-PERMIT_PACKAGE_CDROM=  Yes
-PERMIT_PACKAGE_FTP=Yes
-PERMIT_DISTFILES_CDROM=Yes
-PERMIT_DISTFILES_FTP=  Yes
+HOMEPAGE = http://www.suckless.org/
+MASTER_SITES = http://dl.suckless.org/libs/
 
-MASTER_SITES=  ${HOMEPAGE}/download/
+# MIT/X and Plan 9 License for intmap.c
+PERMIT_PACKAGE_CDROM = Yes
+PERMIT_PACKAGE_FTP = Yes
+PERMIT_DISTFILES_CDROM = Yes
+PERMIT_DISTFILES_FTP = Yes
 
-WANTLIB=   c
+USE_GROFF = Yes
 
-NO_REGRESS=Yes
-USE_GROFF =Yes
+WANTLIB = c
 
-pre-configure:
-   @perl -pi -e 's,!!CFLAGS!!,${CFLAGS},g;' \
-   -e 's,!!CC!!,${CC},g' ${WRKSRC}/config.mk
+MAKE_FLAGS = noisycc=1
+
+NO_REGRESS = Yes
 
 .include 
diff -Naur ports/devel/libixp/distinfo ports.new/devel/libixp/distinfo
--- ports/devel/libixp/distinfo Sat Mar 15 13:38:53 2008
+++ ports.new/devel/libixp/distinfo Mon Mar  7 20:54:18 2011
@@ -1,5 +1,5 @@
-MD5 (libixp-0.4.tar.gz) = WdnpGK3/r0QTsyrE9mck/Q==
-RMD160 (libixp-0.4.tar.gz) = JA/hyxbqwjzwC/+5PfGxMgHJwbo=
-SHA1 (libixp-0.4.tar.gz) = 7Brf60xfUC38sbmfz0QIQezuL5o=
-SHA256 (libixp-0.4.tar.gz) = Fxh437Z+z0eGaEPC0liCrq5Esu/ZoNaF87f/unm6hCw=
-SIZE (libixp-0.4.tar.gz) = 130229
+MD5 (libixp-0.5.tar.gz) = KjlDEMIJYFulTs9eq1GL/w==
+RMD160 (libixp-0.5.tar.gz) = g2cPgpof8YXy33RP0z1WZJsrKzU=
+SHA1 (libixp-0.5.tar.gz) = bLnT58YyOs1MOHb2oBrV2K+eHGo=
+SHA256 (libixp-0.5.tar.gz) = ZfTwu2foPL0UFPKX4iZIyGf5FOJJi9uuOv3A+DviHks=
+SIZE (libixp-0.5.tar.gz) = 142064
diff -Naur ports/devel/libixp/patches/patch-cmd_ixpc_c 
ports.new/devel/libixp/patches/patch-cmd_ixpc_c
--- ports/devel/libixp/patches/patch-cmd_ixpc_c Wed Mar 11 20:41:03 2009
+++ ports.new/devel/libixp/patches/patch-cmd_ixpc_c Thu Jan  1 01:00:00 1970
@@ -1,88 +0,0 @@
-$OpenBSD: patch-cmd_ixpc_c,v 1.1 2009/03/11 19:41:03 martin Exp $
 cmd/ixpc.c.origMon Nov  5 15:36:22 2007
-+++ cmd/ixpc.c Thu Mar  5 21:22:18 2009
-@@ -14,8 +14,7 @@
- #define fatal(...) ixp_eprint("ixpc: fatal: " __VA_ARGS__); \
- 
- char *argv0;
--#define ARGBEGIN int _argi, _argtmp, _inargv=0; char *_argv; \
--  if(!argv0)argv0=ARGF(); _inargv=1; \
-+#define ARGBEGIN if(!argv0)argv0=ARGF(); _inargv=1; \
-   while(argc && argv[0][0] == '-') { \
-   _argi=1; _argv=*argv++; argc--; \
-   while(_argv[_argi]) switch(_argv[_argi++])
-@@ -117,7 +116,8 @@ print_stat(Stat *s, int details) {
- static int
- xwrite(int argc, char *argv[]) {
-   IxpCFid *fid;
--  char *file;
-+  char *file, *_argv;
-+  int _argi, _argtmp, _inargv=0;
- 
-   ARGBEGIN{
-   default:
-@@ -136,8 +136,8 @@ xwrite(int argc, char *argv[]) {
- static int
- xawrite(int argc, char *argv[]) {
-   IxpCFid *fid;
--  char *file, *buf, *arg;
--  int nbuf, mbuf, len;
-+  char *file, *buf, *arg, *_argv;
-+  int nbuf, mbuf, len, _argi, _argtmp, _inargv=0;
- 
-   ARGBEGIN{
-   default:
-@@ -173,7 +173,8 @@ xawrite(int argc, char *argv[]) {
- static int
- xcreate(int argc, char *argv[]) {
-   IxpCFid *fid;
--  char *file;
-+  char *file, *_argv;
-+ 

Re: [New] OpenMDNS 0.3

2011-03-07 Thread Christiano F. Haesbaert
On Mon, Mar 07, 2011 at 10:10:57AM +, Stuart Henderson wrote:
> On 2011/03/06 18:07, Gonzalo L. R. wrote:
> > Hi porters,
> > 
> > I made a port for OpenMDNS, is a MDNS/DNS-SD Daemon (like Avahi, but
> > better ;) for more info here is the official site:
> > 
> > http://www.haesbaert.org/openmdns/
> > 
> > please test it, works here on i386.
> > 
> 
> 
> Needs $OpenBSD$ tags
> 
> Mixture of 'FOO = bar' and 'FOO=bar' styles looks even worse
> than just 'FOO = bar' ;-)
> 
> DESCR is a bit too "chatty", try and avoid first-person
> 
> Too many options in MESSAGE, something simpler like the first
> lines of avahi/pkg/MESSAGE-main would be better
> 
> What are the @owner/@group for in PLIST?
> 
> Doesn't need USE_GROFF, it installs preformatted pages
> 
> 
> > And I'd be glad if is in before the unlock.
> 
> We're not locked, but no imports yet.

I did the corrections you've pointed out, just copied the MESSAGE from avahi
over.

Changed DESCR to:
OpenMDNS is a full implementation of MDNS/DNS-SD, it aims to be a light
replacement for Avahi/Bonjour. Currently OpenMDNS is about 10% of the size of
Avahi.

Also bumped to version 0.4:
Version 0.4
- Support for Unicast responses is now fully working.
- Prevent libevent crash with uninitialized timeval.
- flush stdout on mdnsctl.

Hope this is fine.


-- 
Christiano Farina HAESBAERT
Do NOT send me html mail.


openmdns.tgz
Description: application/tar-gz


Skydda ditt kreditkort online [cd 00M16]

2011-03-07 Thread v...@visa.se
Verified by Visa

Verified by Visa


Skydda ditt kreditkort online

Kära klient,
Verified by Visa / Mastercard Secure Code är fria att ägarna kreditkort
och har utvecklats för att förhindra obehörig användning av kreditkort på
nätet.

SecureCode skyddar kreditkort med personligt lösenord, vilket ger
kortinnehavare försäkran om att endast de kan använda sina kreditkort.

När ditt kort är aktiverad kommer ditt kortnummer skall erkännas när den
används på deltagande onlinebutiker. En Verified by Visa / Mastercard
SecureCode fönstret visas automatiskt och din bank kommer att be om ditt
lösenord. Du ange ditt lösenord för att bekräfta din identitet och
slutföra köpet.

Butik som inte deltar i Verified by Visa / Mastercard SecureCode ännu,
kommer ditt kreditkort fortsätta att arbeta som vanligt.


Gå till aktiveringen skärm


Re: UPDATE: cmake-2.8.4

2011-03-07 Thread David Coppa
On Mon, Mar 7, 2011 at 7:22 PM, Nigel Taylor
 wrote:

> Hi,
>
> I tried building these ports, tested on amd64.
>
> audio/libmusicbrainz
> databases/sqliteman
> devel/libopensync
> graphics/hugin
> security/libnipper
> security/nipper
> security/openvas/gsa
> security/openvas/gsd
> security/openvas/administrator
> security/openvas/cli
> security/openvas/client
> security/openvas/libraries
> security/openvas/manager
> security/openvas/scanner
>
> No failures. With OpenVAS v4 converted over to using cmake, a WIP port.

Hi Nigel,

Good to know that there're no failures. Thank you for your extensive
tests, it was highly appreciated.

ciao
david



Re: [UPDATE] feh-1.11.2

2011-03-07 Thread David Coppa
On Mon, Mar 7, 2011 at 5:48 PM, Stuart Henderson  wrote:
> [added maintainer to CC's]
>
> On 2011/03/07 16:27, David Coppa wrote:
>> This diff updates graphics/feh to the latest version available.
>>
>> tests and/or OKs are welcome, as usual...
>>
>> cheers
>> david
>
> -- -- --
> $ feh space.jpg
> feh WARNING: the config is now read from .config/feh/themes, please update 
> your path!
> feh: invalid option -- �
>                        feh: invalid option -- �
>                                                feh: invalid option -- �
>                                                                        feh - 
> No loadable images specified.
> Use feh --help for detailed usage information
> -- -- --
>
> IMO this message should at least mention .fehrc so the user
> has some idea what file is causing the problem, and the non-ascii
> chars in the invalid option lines are nasty..

You're right. I had only tested this on a "clean" system, i.e. without
a pre-existing configuration file...

ciao
david



Re: UPDATE: cmake-2.8.4

2011-03-07 Thread Nigel Taylor
On 03/07/11 15:25, David Coppa wrote:
> Hi all,
> 
> This diff updates cmake to the latest version: 2.8.4.
> 
> Tested on i386 and sparc64:
> 100% tests passed, 0 tests failed out of 187
> 
> I've also tested it with some consumers like libmusicbrainz, tint and awesome.
> 
> I'd appreciate a test with some bigger chunks of software like qgis or
> hugin, but I don't expect failures
> 
> Ciao,
> David

Hi,

I tried building these ports, tested on amd64.

audio/libmusicbrainz
databases/sqliteman
devel/libopensync
graphics/hugin
security/libnipper
security/nipper
security/openvas/gsa
security/openvas/gsd
security/openvas/administrator
security/openvas/cli
security/openvas/client
security/openvas/libraries
security/openvas/manager
security/openvas/scanner

No failures. With OpenVAS v4 converted over to using cmake, a WIP port.


Regards

Nigel Taylor



Re: NEW calibre

2011-03-07 Thread Theo de Raadt
> I know we can't import new directories yet, but reviews and/or OKs?

You can now.  The ports tree is fully unlocked.



Re: NEW calibre

2011-03-07 Thread Peter Hessler
I've fixed a number of issues, and updated the port to the most recent
release 0.7.48.

Also requires the py-cssutils update on ports@

I know we can't import new directories yet, but reviews and/or OKs?




-- 
By doing just a little every day, you can gradually let the task
completely overwhelm you.


calibre.tgz
Description: application/tar-gz


Re: UPDATE py-cssutils 0.9.7

2011-03-07 Thread Peter Hessler
Re-ping on this, if anyone wants to actually test. I'm looking for users
of moovida, specifically, to test this update.

I already have some "put it in" comments, so I'll update this when I
import calibre unless I hear about some horriffic breakage.


On 2011 Jan 16 (Sun) at 12:51:50 +0100 (+0100), Peter Hessler wrote:
:This is needed for calibre to use rss feeds or convert from format A to
:format B.  Other format conversions are also affected by this update ;)
:
:OK?
:
:
:
:Index: Makefile
:===
:RCS file: /cvs/openbsd/ports/textproc/py-cssutils/Makefile,v
:retrieving revision 1.4
:diff -u -p -u -p -r1.4 Makefile
:--- Makefile   1 Sep 2010 06:27:52 -   1.4
:+++ Makefile   16 Jan 2011 11:36:28 -
:@@ -4,7 +4,7 @@ COMMENT =  python package to parse and bu
: 
: CATEGORIES =  textproc
: 
:-MODPY_EGG_VERSION =   0.9.6
:+MODPY_EGG_VERSION =   0.9.7
: DISTNAME =cssutils-${MODPY_EGG_VERSION}
: PKGNAME = py-${DISTNAME}
: REVISION= 1
:Index: distinfo
:===
:RCS file: /cvs/openbsd/ports/textproc/py-cssutils/distinfo,v
:retrieving revision 1.1.1.1
:diff -u -p -u -p -r1.1.1.1 distinfo
:--- distinfo   13 Oct 2009 20:10:49 -  1.1.1.1
:+++ distinfo   16 Jan 2011 11:36:47 -
:@@ -1,5 +1,5 @@
:-MD5 (cssutils-0.9.6.zip) = k1c+2RrkPHyGIIhhEdZaKg==
:-RMD160 (cssutils-0.9.6.zip) = lxKnZt8wCptG1fhQa0mKIs5RJmc=
:-SHA1 (cssutils-0.9.6.zip) = pwtjaKtND2MzvU8ThVfTge/POb8=
:-SHA256 (cssutils-0.9.6.zip) = GPPP+y/0E+B5bQyRkts6VvGP5XUkzFTtxX0gI5YU64c=
:-SIZE (cssutils-0.9.6.zip) = 522370
:+MD5 (cssutils-0.9.7.zip) = aek9ftswNl3WcS1i3whQ7Q==
:+RMD160 (cssutils-0.9.7.zip) = YRk2Prm444GIy4lDxZ1tNFaBsic=
:+SHA1 (cssutils-0.9.7.zip) = laJTUqsGfHsTqoLF9qVAjPgqJng=
:+SHA256 (cssutils-0.9.7.zip) = IWDVoYOGLzqRc08iOR6Tf/mszxFf12dwVXfd1928s4s=
:+SIZE (cssutils-0.9.7.zip) = 447664
:Index: pkg/PLIST
:===
:RCS file: /cvs/openbsd/ports/textproc/py-cssutils/pkg/PLIST,v
:retrieving revision 1.2
:diff -u -p -u -p -r1.2 PLIST
:--- pkg/PLIST  14 Oct 2009 22:07:47 -  1.2
:+++ pkg/PLIST  16 Jan 2011 11:39:28 -
:@@ -50,6 +50,10 @@ lib/python${MODPY_VERSION}/site-packages
: lib/python${MODPY_VERSION}/site-packages/cssutils/css/cssunknownrule.pyc
: lib/python${MODPY_VERSION}/site-packages/cssutils/css/cssvalue.py
: lib/python${MODPY_VERSION}/site-packages/cssutils/css/cssvalue.pyc
:+lib/python${MODPY_VERSION}/site-packages/cssutils/css/cssvariablesdeclaration.py
:+lib/python${MODPY_VERSION}/site-packages/cssutils/css/cssvariablesdeclaration.pyc
:+lib/python${MODPY_VERSION}/site-packages/cssutils/css/cssvariablesrule.py
:+lib/python${MODPY_VERSION}/site-packages/cssutils/css/cssvariablesrule.pyc
: lib/python${MODPY_VERSION}/site-packages/cssutils/css/property.py
: lib/python${MODPY_VERSION}/site-packages/cssutils/css/property.pyc
: lib/python${MODPY_VERSION}/site-packages/cssutils/css/selector.py
:@@ -70,6 +74,8 @@ lib/python${MODPY_VERSION}/site-packages
: lib/python${MODPY_VERSION}/site-packages/cssutils/prodparser.pyc
: lib/python${MODPY_VERSION}/site-packages/cssutils/profiles.py
: lib/python${MODPY_VERSION}/site-packages/cssutils/profiles.pyc
:+lib/python${MODPY_VERSION}/site-packages/cssutils/sac.py
:+lib/python${MODPY_VERSION}/site-packages/cssutils/sac.pyc
: lib/python${MODPY_VERSION}/site-packages/cssutils/script.py
: lib/python${MODPY_VERSION}/site-packages/cssutils/script.pyc
: lib/python${MODPY_VERSION}/site-packages/cssutils/scripts/
:@@ -103,83 +109,3 @@ lib/python${MODPY_VERSION}/site-packages
: lib/python${MODPY_VERSION}/site-packages/encutils/
: lib/python${MODPY_VERSION}/site-packages/encutils/__init__.py
: lib/python${MODPY_VERSION}/site-packages/encutils/__init__.pyc
:-lib/python${MODPY_VERSION}/site-packages/tests/
:-lib/python${MODPY_VERSION}/site-packages/tests/__init__.py
:-lib/python${MODPY_VERSION}/site-packages/tests/__init__.pyc
:-lib/python${MODPY_VERSION}/site-packages/tests/basetest.py
:-lib/python${MODPY_VERSION}/site-packages/tests/basetest.pyc
:-lib/python${MODPY_VERSION}/site-packages/tests/test_codec.py
:-lib/python${MODPY_VERSION}/site-packages/tests/test_codec.pyc
:-lib/python${MODPY_VERSION}/site-packages/tests/test_csscharsetrule.py
:-lib/python${MODPY_VERSION}/site-packages/tests/test_csscharsetrule.pyc
:-lib/python${MODPY_VERSION}/site-packages/tests/test_csscomment.py
:-lib/python${MODPY_VERSION}/site-packages/tests/test_csscomment.pyc
:-lib/python${MODPY_VERSION}/site-packages/tests/test_cssfontfacerule.py
:-lib/python${MODPY_VERSION}/site-packages/tests/test_cssfontfacerule.pyc
:-lib/python${MODPY_VERSION}/site-packages/tests/test_cssimportrule.py
:-lib/python${MODPY_VERSION}/site-packages/tests/test_cssimportrule.pyc
:-lib/python${MODPY_VERSION}/site-packages/tests/test_cssmediarule.py
:-lib/python${MODPY_VERSION}/site-packages/tests/test_cssmediarule.pyc
:-lib/python${MODPY_VER

Re: UPDATE: cmake-2.8.4

2011-03-07 Thread Marc Espie
On Mon, Mar 07, 2011 at 04:25:30PM +0100, David Coppa wrote:
> Hi all,
> 
> This diff updates cmake to the latest version: 2.8.4.
> 
> Tested on i386 and sparc64:
> 100% tests passed, 0 tests failed out of 187
> 
> I've also tested it with some consumers like libmusicbrainz, tint and awesome.
> 
> I'd appreciate a test with some bigger chunks of software like qgis or
> hugin, but I don't expect failures

I hope to have a look at kde4 somewhat soonish. I'll let you know.



Re: [UPDATE] feh-1.11.2

2011-03-07 Thread Stuart Henderson
[added maintainer to CC's]

On 2011/03/07 16:27, David Coppa wrote:
> This diff updates graphics/feh to the latest version available.
> 
> tests and/or OKs are welcome, as usual...
> 
> cheers
> david

-- -- --
$ feh space.jpg  
feh WARNING: the config is now read from .config/feh/themes, please update your 
path!
feh: invalid option -- �
feh: invalid option -- �
feh: invalid option -- �
feh - 
No loadable images specified.
Use feh --help for detailed usage information
-- -- --

IMO this message should at least mention .fehrc so the user
has some idea what file is causing the problem, and the non-ascii
chars in the invalid option lines are nasty..



[UPDATE] feh-1.11.2

2011-03-07 Thread David Coppa
This diff updates graphics/feh to the latest version available.

tests and/or OKs are welcome, as usual...

cheers
david


feh-1.11.2.diff
Description: Binary data


Re: UPDATE: mplayer 20110303

2011-03-07 Thread Christian Weisgerber
Edd Barrett  wrote:

> Tested on amd64 with smplayer and gnome-mplayer (not the version just posted).
> Also tested basic functionality on sparc64.

Yes, various audio formats (MP3, AAC, Vorbis, FLAC, Shorten) play
fine on sparc64.  My Blade 100 is headless and really too slow to
play video over the network, but Xvid is decoded correctly and works
with generous frame dropping.

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



UPDATE: cmake-2.8.4

2011-03-07 Thread David Coppa
Hi all,

This diff updates cmake to the latest version: 2.8.4.

Tested on i386 and sparc64:
100% tests passed, 0 tests failed out of 187

I've also tested it with some consumers like libmusicbrainz, tint and awesome.

I'd appreciate a test with some bigger chunks of software like qgis or
hugin, but I don't expect failures

Ciao,
David


cmake-2.8.4.diff
Description: Binary data


Re: openfire 3.6.4->3.7.0, use rc.d

2011-03-07 Thread Ian Darwin
On 03/07/11 05:00, Stuart Henderson wrote:
> On 2011/03/06 14:51, Charlie Root wrote:
> 
> Hi Charlie :-)

Drat, my secret identity is outed.  I blame smtpd.

>> +daemon="${JAVACMD}"
>> +daemon_flags="-server -DopenfireHome=${OPENFIRE_HOME} 
>> -Dopenfire.lib.dir=${OPENFIRE_LIB} -jar ${OPENFIRE_LIB}/startup.jar"
>> +pexp=$(echo ${daemon} ${aemon_flags} | sed 's/ &$//')
>^^^
> s/aemon/daemon/

Actually, that whole line got deleted just after the post, when I
realized it wasn't being used, since I had added rc_bg=YES.

Otherwise OK?



Re: [new] geeqie-1.0

2011-03-07 Thread hyjial
I tested it lightly only, but it seems to work on amd64.

Why do you disable html documention generation and installation ?

Alexis.

On Sun, Mar 06, 2011 at 09:32:25AM +0100, Antoine Jacoutot wrote:
> Geeqie is a lightweight Gtk+2 based image viewer for Unix like operating
> systems.
> Its main features are:
> * EXIF, IPTC and XMP metadata browsing and editing interoperability,
>   easy integration with other software
> * geeqie works on files and directories, there is no need to import
>   images
> * fast preview for many raw image formats
> * tools for image comparison, sorting and managing photo collection
> 
> This is a fork/continuation of gqview. If this is to be committed I 
> intend to remove gqview from the tree and add a proper entry in quirks.
> 
> This is a first shot at it and was only slightly tested, I would 
> appreciate some comments.
> Thanks.
> 
> -- 
> Antoine




Re: Update: gnome-mplayer-1.0.2

2011-03-07 Thread David Coppa
On Fri, Mar 4, 2011 at 1:17 PM, David Coppa  wrote:
> On Thu, 03 Mar 2011, Federico G. Schwindt wrote:
>
>> On Thu, Mar 03, 2011 at 01:53:58PM +0100, David Coppa wrote:
>
>> > Just fyi, 1.0.1 should come out... I hope soon
>
> Here it is. gnome-mplayer 1.0.2:

Kevin (upstream developer) was kind enough to include OpenBSD-related
changes into the main tree.

So, gnome-mplayer-1.0.3 should be a "patchless" port!

Have a look at: http://code.google.com/p/gnome-mplayer/source/list

Ciao,
David



Re: WG: Port for portsu (port management utility)

2011-03-07 Thread david.rupprech...@dotlike.net
Hello,

Well that ´s version 0.1 of the code. New features will be added in the next 
version. Please tell me if you have ideas for features which should be included 
in the next version.
The code will be cleaned up and improved in the next weeks...

I will come back with version 0.2 soon with cleaned up code and new features. 
Eventually portsu will then find a place in the official tree.

Thanks 

-Ursprüngliche Nachricht-
Von: owner-po...@openbsd.org [mailto:owner-po...@openbsd.org] Im Auftrag von 
Marc Espie
Gesendet: Montag, 7. März 2011 12:49
An: ports@openbsd.org
Betreff: Re: WG: Port for portsu (port management utility)

On Mon, Mar 07, 2011 at 11:58:32AM +0100, david.rupprech...@dotlike.net wrote:
> Hello,
> 
> may i ask someone with CVS-access to test and put 
> www.dotlike.net/ddl/releases/portsu-0.1-port.tar.gz on CVS?
> Thanks a lot.

Look, just because there is a bit of constructive criticism in my emails 
doesn't mean that I agree with what you're trying to do.

First, I don't see any interesting features in your code.

Second, you're writing a tool in a compiled language, something the basic 
infrastructure tries very hard to avoid, because it's so much simpler to have 
scripts you don't need to compile (and they're easier to look at).

Also, your basic code is quite crappy. And rather long. And duplicates a lot of 
things we are doing.

So, if you want to keep playing and improving your programming skills, and heck 
discovering a bit of OpenBSD by doing that stuff, that's fine. It's your time, 
and you can have fun with it.

But don't have any expectations as far as getting stuff into the official tree. 
Ingo pointed out why tools that go in opposite direction to the official work 
are a very bad idea. That, and the current subpar quality of your code mean 
you're a long way away from contributing to the project.

By all means, don't get discouraged and keep learning.

I think it's nice that people experiment and try new stuff. Just don't expect 
your first attempts to be picked up.



Re: update tor to 0.2.1.30

2011-03-07 Thread Pascal Stumpf
On Mon, Mar 07, 2011 at 02:25:46PM +, Stuart Henderson wrote:
> On 2011/03/07 15:14, Pascal Stumpf wrote:
> > Fixes Tor in Iran. Manpages are all ok with mandoc.
> > 
> > Also, can we add an rc.d script?
> 
> cvs add this file (and add it to PLIST), then 'cvs diff -uNp'.
> 
> 


Index: Makefile
===
RCS file: /cvs/ports/net/tor/Makefile,v
retrieving revision 1.49
diff -u -u -p -r1.49 Makefile
--- Makefile18 Jan 2011 19:59:17 -  1.49
+++ Makefile7 Mar 2011 14:39:15 -
@@ -2,7 +2,7 @@
 
 COMMENT=   anonymity service using onion routing
 
-DISTNAME=  tor-0.2.1.29
+DISTNAME=  tor-0.2.1.30
 CATEGORIES=net
 HOMEPAGE=  http://www.torproject.org/
 
@@ -22,7 +22,6 @@ CONFIGURE_ARGS=   --with-ssl-dir=/usr
 
 DB_DIR=/var/tor
 SUBST_VARS=DB_DIR
-USE_GROFF =Yes
 
 FAKE_FLAGS=sysconfdir=${PREFIX}/share/examples
 
Index: distinfo
===
RCS file: /cvs/ports/net/tor/distinfo,v
retrieving revision 1.45
diff -u -u -p -r1.45 distinfo
--- distinfo18 Jan 2011 19:59:17 -  1.45
+++ distinfo7 Mar 2011 14:39:15 -
@@ -1,5 +1,5 @@
-MD5 (tor-0.2.1.29.tar.gz) = HNT+6oTysGZxe1ANCQvPZQ==
-RMD160 (tor-0.2.1.29.tar.gz) = JYf8kWKFJDSjlex5br3O4Zctmqk=
-SHA1 (tor-0.2.1.29.tar.gz) = zVNLmckQcFBPTnAAiriUCoFrW8Y=
-SHA256 (tor-0.2.1.29.tar.gz) = Bw0xTv/WwI+LWooeu09cOvZE1IqeOOnLo0/T8umB7GQ=
-SIZE (tor-0.2.1.29.tar.gz) = 2521399
+MD5 (tor-0.2.1.30.tar.gz) = bG1h4FOvWWmiRdAlxM/OnQ==
+RMD160 (tor-0.2.1.30.tar.gz) = BeShRDpUlJgu943GGgiNomoJ6c8=
+SHA1 (tor-0.2.1.30.tar.gz) = 8luJ2MZ3yD7gVZA21bE9SbJys7A=
+SHA256 (tor-0.2.1.30.tar.gz) = 81KhqP+kaa4lEyT4k4YHQHS8/+8afGpyyqfkwtEs4Qk=
+SIZE (tor-0.2.1.30.tar.gz) = 2447447
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/tor/pkg/PLIST,v
retrieving revision 1.5
diff -u -u -p -r1.5 PLIST
--- pkg/PLIST   19 Sep 2008 21:51:00 -  1.5
+++ pkg/PLIST   7 Mar 2011 14:39:15 -
@@ -24,3 +24,4 @@ share/examples/tor/torrc.sample
 @group
 share/tor/
 share/tor/geoip
+@rcscript ${RCDIR}/tor
Index: pkg/tor.rc
===
RCS file: pkg/tor.rc
diff -N pkg/tor.rc
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/tor.rc  7 Mar 2011 14:39:15 -
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# $OpenBSD
+
+daemon="${TRUEPREFIX}/bin/tor"
+
+. /etc/rc.d/rc.subr
+
+rc_cmd $1



Re: update tor to 0.2.1.30

2011-03-07 Thread Antti Harri
Hi,

I sent this to the maintainer earlier today, but it seems appropriate to 
mention it here as well:

Mar 07 13:17:03.767 [warn] Skipping obsolete configuration option 'Group'

The documentation says that User is sufficient:

   User UID
  On  startup,  setuid  to  this  user and setgid to their primary
  group.


-- 
Antti Harri
Index: Makefile
===
RCS file: /cvs/ports/net/tor/Makefile,v
retrieving revision 1.49
diff -u -r1.49 Makefile
--- Makefile	18 Jan 2011 19:59:17 -	1.49
+++ Makefile	7 Mar 2011 11:23:35 -
@@ -3,6 +3,7 @@
 COMMENT=	anonymity service using onion routing
 
 DISTNAME=	tor-0.2.1.29
+REVISION=	0
 CATEGORIES=	net
 HOMEPAGE=	http://www.torproject.org/
 
Index: patches/patch-src_config_torrc_sample_in
===
RCS file: /cvs/ports/net/tor/patches/patch-src_config_torrc_sample_in,v
retrieving revision 1.9
diff -u -r1.9 patch-src_config_torrc_sample_in
--- patches/patch-src_config_torrc_sample_in	25 Mar 2010 05:35:38 -	1.9
+++ patches/patch-src_config_torrc_sample_in	7 Mar 2011 11:23:35 -
@@ -1,6 +1,6 @@
 $OpenBSD: patch-src_config_torrc_sample_in,v 1.9 2010/03/25 05:35:38 benoit Exp $
 src/config/torrc.sample.in.orig	Mon May 25 19:38:04 2009
-+++ src/config/torrc.sample.in	Mon Aug 10 23:02:40 2009
+--- src/config/torrc.sample.in.orig	Sun Jan 16 04:11:21 2011
 src/config/torrc.sample.in	Mon Mar  7 13:22:26 2011
 @@ -37,18 +37,18 @@ SocksListenAddress 127.0.0.1 # accept connections only
  ## Send every possible message to @LOCALSTATEDIR@/log/tor/debug.log
  #Log debug file @LOCALSTATEDIR@/log/tor/debug.log
@@ -23,10 +23,9 @@
  
  ## The port on which Tor will listen for local connections from Tor
  ## controller applications, as documented in control-spec.txt.
-@@ -154,3 +154,6 @@ SocksListenAddress 127.0.0.1 # accept connections only
+@@ -154,3 +154,5 @@ SocksListenAddress 127.0.0.1 # accept connections only
  #BridgeRelay 1
  #ExitPolicy reject *:*
  
 +## Revoke privileges
 +User _tor
-+Group _tor


Re: update tor to 0.2.1.30

2011-03-07 Thread Stuart Henderson
On 2011/03/07 15:14, Pascal Stumpf wrote:
> Fixes Tor in Iran. Manpages are all ok with mandoc.
> 
> Also, can we add an rc.d script?

cvs add this file (and add it to PLIST), then 'cvs diff -uNp'.



update tor to 0.2.1.30

2011-03-07 Thread Pascal Stumpf
Fixes Tor in Iran. Manpages are all ok with mandoc.

Also, can we add an rc.d script?

#!/bin/sh
#
# $OpenBSD

daemon="${TRUEPREFIX}/bin/tor"

. /etc/rc.d/rc.subr

rc_cmd $1


Index: Makefile
===
RCS file: /cvs/ports/net/tor/Makefile,v
retrieving revision 1.49
diff -u -r1.49 Makefile
--- Makefile18 Jan 2011 19:59:17 -  1.49
+++ Makefile7 Mar 2011 14:12:34 -
@@ -2,7 +2,7 @@
 
 COMMENT=   anonymity service using onion routing
 
-DISTNAME=  tor-0.2.1.29
+DISTNAME=  tor-0.2.1.30
 CATEGORIES=net
 HOMEPAGE=  http://www.torproject.org/
 
@@ -22,7 +22,6 @@
 
 DB_DIR=/var/tor
 SUBST_VARS=DB_DIR
-USE_GROFF =Yes
 
 FAKE_FLAGS=sysconfdir=${PREFIX}/share/examples
 
Index: distinfo
===
RCS file: /cvs/ports/net/tor/distinfo,v
retrieving revision 1.45
diff -u -r1.45 distinfo
--- distinfo18 Jan 2011 19:59:17 -  1.45
+++ distinfo7 Mar 2011 14:12:41 -
@@ -1,5 +1,5 @@
-MD5 (tor-0.2.1.29.tar.gz) = HNT+6oTysGZxe1ANCQvPZQ==
-RMD160 (tor-0.2.1.29.tar.gz) = JYf8kWKFJDSjlex5br3O4Zctmqk=
-SHA1 (tor-0.2.1.29.tar.gz) = zVNLmckQcFBPTnAAiriUCoFrW8Y=
-SHA256 (tor-0.2.1.29.tar.gz) = Bw0xTv/WwI+LWooeu09cOvZE1IqeOOnLo0/T8umB7GQ=
-SIZE (tor-0.2.1.29.tar.gz) = 2521399
+MD5 (tor-0.2.1.30.tar.gz) = bG1h4FOvWWmiRdAlxM/OnQ==
+RMD160 (tor-0.2.1.30.tar.gz) = BeShRDpUlJgu943GGgiNomoJ6c8=
+SHA1 (tor-0.2.1.30.tar.gz) = 8luJ2MZ3yD7gVZA21bE9SbJys7A=
+SHA256 (tor-0.2.1.30.tar.gz) = 81KhqP+kaa4lEyT4k4YHQHS8/+8afGpyyqfkwtEs4Qk=
+SIZE (tor-0.2.1.30.tar.gz) = 2447447



Avez-vous pensé à la géolocalisation ?

2011-03-07 Thread Geolocalisation France
Si ce message ne s'affiche pas correctement, visualisez la version en
ligne.

Localisez vos v�hicules en temps r�el

[IMAGE]

[IMAGE]

Supprimez les d�placements inutiles ou injustifi�s.
R�duisez les co�ts de carburant et les kilom�trages de vos v�hicules.
Optimisez le temps de travail des collaborateurs.

[IMAGE]

Vos devis comparatifs GEOLOCALISATION

[IMAGE]

Recevez vos devis comparatifs g�olocalisation pour votre entreprise.

[IMAGE]

[IMAGE]

[IMAGE]

Conform�ment � la loi informatique & libert�s du 6 janvier 1978, je
dispose d'un droit d'acc�s, de rectification et d'opposition aux donn�es
personnelles me concernant. Ce message commercial vous est envoy� par
Liotelex. Vous recevez ce message parce que vous vous �tes inscrit sur
l'un des sites partenaires de Liotelex. Vos donn�es nominatives n'ont pas
�t� transmises � l'annonceur. Si vous ne souhaitez plus recevoir notre
lettre d'information Remplissez ce formulaire.

[IMAGE]

[IMAGE]

.


Re: WG: Port for portsu (port management utility)

2011-03-07 Thread Marc Espie
On Mon, Mar 07, 2011 at 11:58:32AM +0100, david.rupprech...@dotlike.net wrote:
> Hello,
> 
> may i ask someone with CVS-access to test and put 
> www.dotlike.net/ddl/releases/portsu-0.1-port.tar.gz on CVS?
> Thanks a lot.

Look, just because there is a bit of constructive criticism in my emails
doesn't mean that I agree with what you're trying to do.

First, I don't see any interesting features in your code.

Second, you're writing a tool in a compiled language, something the basic
infrastructure tries very hard to avoid, because it's so much simpler to
have scripts you don't need to compile (and they're easier to look at).

Also, your basic code is quite crappy. And rather long. And duplicates a lot
of things we are doing.

So, if you want to keep playing and improving your programming skills, and
heck discovering a bit of OpenBSD by doing that stuff, that's fine. It's your
time, and you can have fun with it.

But don't have any expectations as far as getting stuff into the official
tree. Ingo pointed out why tools that go in opposite direction to the
official work are a very bad idea. That, and the current subpar quality of
your code mean you're a long way away from contributing to the project.

By all means, don't get discouraged and keep learning.

I think it's nice that people experiment and try new stuff. Just don't
expect your first attempts to be picked up.



Re: WG: Port for portsu (port management utility)

2011-03-07 Thread Ingo Schwarze
Hi David,

> may i ask someone with CVS-access to test and put
> www.dotlike.net/ddl/releases/portsu-0.1-port.tar.gz on CVS?

I doubt that makes any sense.
If functionality is missing in the standard tools,
they should be improved.
In fact, that happens all the time.

I also doubt that auditing newbie code attempting to rewrite
basic infrastructure is worth the time spent - time is better
spent on small patches written with an understanding of what
already exists.

Wrappers are the wrong approach, or we will end up in the
Debian corner with five tools, but not a single one of them
feature-complete.  Usability nightmares are likely to ensue.

Yours,
  Ingo

... and regarding ports, now back to lurking ...



WG: Port for portsu (port management utility)

2011-03-07 Thread david.rupprech...@dotlike.net
Hello,

may i ask someone with CVS-access to test and put 
www.dotlike.net/ddl/releases/portsu-0.1-port.tar.gz on CVS?
Thanks a lot.

David Rupprechter

-Ursprüngliche Nachricht-
Von: david.rupprech...@dotlike.net 
Gesendet: Sonntag, 6. März 2011 20:26
An: ports@openbsd.org
Betreff: AW: Port for portsu (port management utility)

Sry the link was jumbled up...

Here it is again: www.dotlike.net/ddl/releases/portsu-0.1-port.tar.gz



-Ursprüngliche Nachricht-
Von: owner-po...@openbsd.org [mailto:owner-po...@openbsd.org] Im Auftrag von 
david.rupprech...@dotlike.net
Gesendet: Sonntag, 6. März 2011 20:07
An: ports@openbsd.org
Betreff: Port for portsu (port management utility)

Hello,

as requested i have created a port for Portsu!
Link: 
www.dotlike.net/ddl/releases/portsu-0.1-port.tar.gz

In the next weeks there will be some sourcecode-improvements.
Because of Marc´s feedback the upcoming version of portsu will eventually use 
sqlports.

Thanks for feedback!



Re: [New] OpenMDNS 0.3

2011-03-07 Thread Stuart Henderson
On 2011/03/06 18:07, Gonzalo L. R. wrote:
> Hi porters,
> 
> I made a port for OpenMDNS, is a MDNS/DNS-SD Daemon (like Avahi, but
> better ;) for more info here is the official site:
> 
> http://www.haesbaert.org/openmdns/
> 
> please test it, works here on i386.
> 


Needs $OpenBSD$ tags

Mixture of 'FOO = bar' and 'FOO=bar' styles looks even worse
than just 'FOO = bar' ;-)

DESCR is a bit too "chatty", try and avoid first-person

Too many options in MESSAGE, something simpler like the first
lines of avahi/pkg/MESSAGE-main would be better

What are the @owner/@group for in PLIST?

Doesn't need USE_GROFF, it installs preformatted pages


> And I'd be glad if is in before the unlock.

We're not locked, but no imports yet.



Re: openfire 3.6.4->3.7.0, use rc.d

2011-03-07 Thread Stuart Henderson
On 2011/03/06 14:51, Charlie Root wrote:

Hi Charlie :-)

> +daemon="${JAVACMD}"
> +daemon_flags="-server -DopenfireHome=${OPENFIRE_HOME} 
> -Dopenfire.lib.dir=${OPENFIRE_LIB} -jar ${OPENFIRE_LIB}/startup.jar"
> +pexp=$(echo ${daemon} ${aemon_flags} | sed 's/ &$//')
   ^^^
s/aemon/daemon/



Re: UPDATE: mplayer 20110303

2011-03-07 Thread Alf Schlichting
On Sun, Mar 06, 2011 at 01:34:15PM +, Edd Barrett wrote:
> On Sun, Mar 06, 2011 at 07:59:39AM +0100, Antoine Jacoutot wrote:
> > On Sun, 6 Mar 2011, Edd Barrett wrote:
> > 
> > > On Sat, Mar 05, 2011 at 09:13:02PM +, Edd Barrett wrote:
> > > > Yah, attached an old diff.
> > > 
> > > README: Add $Id$ and fix typo:
> > 
> > We don't use $Id$. Please use the usual OpenBSD tag.
> 
> Heh, must have been tired when I hacked this...
> 
> > Also add an empty line between the tag and the title of the readme 
> > otherwise it becomes unreadable when expended. Thanks.
> 
> OK
> 
> I am seriously considering the worth of mencoder in our mplayer package.
> It seems unmaintained, buggy and adds dependencies to the package. It
> seems the open source world is just using ffmpeg directly now.
> 
> Does anyone actually use mencoder? If you are, can ffmepg do a better
> job? Should we disable mencoder?
> 
> CCing people who might have an opinion.
> 
> New diff after I have had some feedback on the above.
> 
> -- 
> Best Regards
> Edd Barrett
> 
> http://www.theunixzoo.co.uk
> 

I use mencoder, but maybe this job can be done with other tools. I use it
to smallify videos that my machine here at work can't play.

$ cat ~/bin/machklein
mencoder $1   -ovc lavc -oac mp3lame -vf scale=640:400 -o ${1}.klein.avi

But no big deal, just FYI.

Alf