Re: [new] audio/deadbeef

2012-05-18 Thread Pierre-Emmanuel André
On Tue, May 15, 2012 at 01:16:12AM +0600, Alexandr Shadchin wrote:
> Hi,
> 
> pkg/DESCR:
> DeaDBeeF (as in 0xDEADBEEF) is an audio player for GNU/Linux, BSD,
> OpenSolaris and probably other UNIX-like systems.
> 
> Some features (more can be found on the homepage):
> 
> * mp3, ogg vorbis, flac, ape, wv, wav, cd audio (and many more)
> * ID3v1, ID3v2.2, ID3v2.3, ID3v2.4, APEv2, xing/info tags support
> * no GNOME or KDE dependencies
> * minimize to tray, with scrollwheel volume control
> * drag and drop, both inside the playlist, and from other applications
> * control playback from command line
> * global hotkeys
> * multiple playlists
> * album artwork display
> * 18-band graphical equalizer
> * metadata editor
> * user-customizable groups in playlists
> * user-customizable columns with flexible title formatting
> * radio and podcast support for ogg vorbis, mp3 and aac streams
> * gapless playback
> * plugin support; bundled with lots of plugins, such as global
>   hotkeys and last.fm scrobbler; sdk is included
> 
> Tested on amd64.
> 
> Comments ? OK ?
> 

Very nice player. Works fine on @amd64 and @i386.
Regards,

-- 
Pierre-Emmanuel André 
GPG key: 0x7AE329DC



Re: NEW: www/racktables

2012-05-18 Thread Pierre-Emmanuel André
On Fri, May 18, 2012 at 05:28:10PM +0100, Stuart Henderson wrote:
> So, rackmonkey has a nice clean UI and is very straightforward to setup
> and easy to use, but it's a bit limited (can't do separate placements in
> the front and back of the rack, doesn't have a way to record cable
> connections, etc), and development has pretty much stalled... so
> rather than try and hack some of the things I need into place I've
> written a port for Racktables instead.
> 
> Racktables is mysql-only and there's a bit more clicking around in
> the UI but it's fairly well thought-out and has a lot more features
> than rackmonkey, works quite well in my tests so far, and is actively
> developed. It's a fairly standard PHP port, nothing tricky.
> 
> Any comments?  OK to import?
> 
> -- -- --
> Racktables is a web-based database for datacenter and server room asset
> management. It helps document hardware assets, network addresses, space in
> racks, networks configuration and more.
> -- -- --
> 
> http://www.racktables.org/


Looks good to me. ok pea@
Regards,

-- 
Pierre-Emmanuel André 
GPG key: 0x7AE329DC



MODIFY: devel/libelf

2012-05-18 Thread David Hill
libelf installs with perms 555 and stripped libs.

This diff makes libelf install with perms 444 and not stripped libs.

Index: Makefile
===
RCS file: /cvs/ports/devel/libelf/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile8 Apr 2010 15:07:51 -   1.5
+++ Makefile18 May 2012 17:15:34 -
@@ -3,6 +3,7 @@
 COMMENT=   read, modify, create ELF files on any arch
 
 DISTNAME=  libelf-0.8.13
+REVISION=  0
 
 SHARED_LIBS=   elf 1.1
 
Index: patches/patch-aclocal_m4
===
RCS file: /cvs/ports/devel/libelf/patches/patch-aclocal_m4,v
retrieving revision 1.2
diff -u -p -r1.2 patch-aclocal_m4
--- patches/patch-aclocal_m413 Oct 2009 00:00:37 -  1.2
+++ patches/patch-aclocal_m418 May 2012 17:15:34 -
@@ -11,7 +11,7 @@ $OpenBSD: patch-aclocal_m4,v 1.2 2009/10
 +  SHLINK_SFX='$(SHLIB_SFX)'
 +  SONAME_SFX='$(SHLIB_SFX)'
 +  LINK_SHLIB='$(CC) -shared'
-+  INSTALL_SHLIB='$(INSTALL_PROGRAM)'
++  INSTALL_SHLIB='$(INSTALL_DATA)'
 +;;
sparc-sun-solaris2*)
if test "$GCC" = yes; then



Re: NEW: database/tinycdb

2012-05-18 Thread Stuart Henderson
and this?

attachment http://marc.info/?l=openbsd-ports&m=133371383731021&q=p3

On 2012/04/06 12:58, Stuart Henderson wrote:
> On 2012/04/01 11:19, Christian Rueger wrote:
> > tinycdb is a small, fast and reliable utility and subroutine library for
> > creating and reading constant databases. The database structure is tuned
> > for fast reading.
> > 
> > See http://www.corpit.ru/mjt/tinycdb.html
> > 
> > tested on i386, sparc64, amd64
> > 
> > --
> > Christian Rueger
> > 
> 
> I think I prefer it with this change, I guess it doesn't matter so much
> now we have REVISION but I think it's usually better not to base WRKDIST on
> PKGNAME, also uses ${PROPERTIES:Mno_shared} rather than
> '!defined(NO_SHARED_LIBS) || ${NO_SHARED_LIBS:L} != "yes"'
> 
> Any OKs to import it?
> 
> 
> diff --git a/databases/tinycdb/Makefile b/databases/tinycdb/Makefile
> index 9bfde3d..ce45917 100644
> --- a/databases/tinycdb/Makefile
> +++ b/databases/tinycdb/Makefile
> @@ -2,8 +2,9 @@
>  
>  COMMENT =creating and reading constant databases
>  
> -DISTNAME =   tinycdb_0.77
> -PKGNAME =${DISTNAME:S/_/-/}
> +V =  0.77
> +DISTNAME =   tinycdb_$V
> +PKGNAME =tinycdb-$V
>  CATEGORIES = databases
>  SHARED_LIBS =cdb 0.0
>  
> @@ -20,17 +21,19 @@ PERMIT_DISTFILES_FTP =Yes
>  
>  WANTLIB =c
>  
> -WRKDIST =${WRKDIR}/${PKGNAME}
> +WRKDIST =${WRKDIR}/tinycdb-$V
>  MAKE_FLAGS +=sysconfdir="${SYSCONFDIR}" 
> LIBcdb_VERSION="${LIBcdb_VERSION}"
>  FAKE_FLAGS +=${MAKE_FLAGS} prefix="${PREFIX}"
>  
> -.include 
> +.include 
>  
> -.if !defined(NO_SHARED_LIBS) || ${NO_SHARED_LIBS:L} != "yes"
> +.if ${PROPERTIES:Mno_shared}
> +REGRESS_TARGET = tests
> +.else
>  MAKE_FLAGS +=INSTALLPROG="cdb-shared"
> -ALL_TARGET +=shared
> -INSTALL_TARGET +=install-sharedlib
> +ALL_TARGET = all shared
> +INSTALL_TARGET = install install-sharedlib
>  REGRESS_TARGET = tests-shared
> -.else
> -REGRESS_TARGET = tests
>  .endif
> +
> +.include 




Re: NEW: www/phpmemcachedadmin

2012-05-18 Thread Stuart Henderson
anyone?

attachment: http://marc.info/?l=openbsd-ports&m=133314085121061&q=p3

On 2012/03/30 21:49, Stuart Henderson wrote:
> On 2012/03/30 21:42, Stuart Henderson wrote:
> > "This program allows to see in real-time (top-like) or from the start of
> > the server, stats for get, set, delete, increment, decrement, evictions,
> > reclaimed, cas command, as well as server stats (network, items, server
> > version) with googlecharts and server internal configuration. You can go
> > further to see each server slabs, occupation, memory wasted and items (key
> > & value). Another part can execute commands on any memcached server: get,
> > set, delete, flush_all, as well as execute any commands (like stats) with
> > telnet."
> > 
> > OK?
> 
> oups, should move the config file out the way and @sample it.
> 




Re: NEW: devel/cfshell

2012-05-18 Thread Stuart Henderson
anyone?

Attachment at http://marc.info/?l=openbsd-ports&m=133561592314887&q=p3

On 2012/04/28 13:20, Stuart Henderson wrote:
> -- snip -- -- -- -- --
> cfshell provides a way to interactively run CFML code using the command
> line. This project consists on two parts: a client side written in Python
> which handles user interaction, and a server side script running under an
> application server which processes the inputs.
> 
> This port is setup to work with the Railo/Tomcat package, which must be
> configured and running before cfshell can be used.
> -- snip -- -- -- -- --
> 
> the whole idea is a bit of a hack itself, but useful nonetheless,
> since it saves back-and-forth with a web browser while testing things.
> OK?
> 
> $ cfshell
> CFShellClient :: Version 0.3
> URL: http://localhost:8080/cfshell/
> Type .help for available commands
> >> .help
> CFShell v0.3 - Interactive shell for CFML
> by oscar arevalo - Oct 2009
> Type CFML statements to evaluate interactively. If the statement
> generates any output, it will be displayed.
> Available Commands:
> .help : displays this message
> .cfscript  : executes the rest of the line as cfscript code
> .get  : does a GET request to the given page (output supressed)
> .sget  : same as .get without supressing output
> .post   : does a POST request to the given template 
> (output supressed)
> .spost   : same as .post without supressing output
> .call  : does a cfcinclude of the given template
> .print  : surrounds with # and evaluates the rest of the string
> .#  : same as .print
> .new   : shorthand for  = 
> createObject('component',)
> .install  [] : downloads and unpacks the given application 
> from RIAForge. If no path is given, unzips to 'downloadedapps' in the local 
> dir
> .exit : exits cfshell
> >> 
> 
> >> #foo#
> bar
> >> #now()#
> {ts '2012-04-28 13:07:13'}
> >>  >> scope="subtree" filter="(&(objectClass=mailUser)(uid=spamtrap))" 
> >> attributes="mail">
> 
> >> #writedump(var=moo,format="text")#
> 
> Query [Execution Time (ms):0
> Recordcount:1
> Cached:No]
> xf6mail 1 spamtrap@bleh 
> 
> >> .exit
> Bye!
> 




NEW: www/racktables

2012-05-18 Thread Stuart Henderson
So, rackmonkey has a nice clean UI and is very straightforward to setup
and easy to use, but it's a bit limited (can't do separate placements in
the front and back of the rack, doesn't have a way to record cable
connections, etc), and development has pretty much stalled... so
rather than try and hack some of the things I need into place I've
written a port for Racktables instead.

Racktables is mysql-only and there's a bit more clicking around in
the UI but it's fairly well thought-out and has a lot more features
than rackmonkey, works quite well in my tests so far, and is actively
developed. It's a fairly standard PHP port, nothing tricky.

Any comments?  OK to import?

-- -- --
Racktables is a web-based database for datacenter and server room asset
management. It helps document hardware assets, network addresses, space in
racks, networks configuration and more.
-- -- --

http://www.racktables.org/


racktables.tgz
Description: application/tar-gz


Re: UPDATE: Trickle

2012-05-18 Thread Gonzalo L. R.
New diff without the rc.local parts on MESSAGE because now we have rc
script, pointed by ajacoutot@

Ok? Comments? Tested are wellcome :)

El 05/09/12 20:18, Gonzalo L. R. escribió:
> Hi,
> 
> Little update to make Makefile better to eyes, USE_GROFF is not needed,
> little fix on HOMEPAGE and add rc.d(8) script.
> 
> Tested on i386.
> 
> Ok? Comments?
> 

-- 
Sending from my VCR.
Index: Makefile
===
RCS file: /cvs/ports/net/trickle/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- Makefile18 Oct 2010 18:36:59 -  1.15
+++ Makefile17 May 2012 14:44:38 -
@@ -2,20 +2,21 @@
 
 COMMENT=   lightweight userspace bandwidth shaper
 DISTNAME=  trickle-1.06
-REVISION=  4
+REVISION=  5
 CATEGORIES=net
-HOMEPAGE=  "http://monkey.org/~marius/pages/?page=trickle";
-MASTER_SITES=  http://monkey.org/~marius/trickle/
+
+HOMEPAGE=  http://monkey.org/~marius/trickle/
+MASTER_SITES=  ${HOMEPAGE}
 
 # BSD
 PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=Yes
 PERMIT_DISTFILES_CDROM=Yes
 PERMIT_DISTFILES_FTP=  Yes
+
 WANTLIB=   c event
 
 USE_LIBTOOL=   Yes
 CONFIGURE_STYLE=gnu
-USE_GROFF =Yes
 
 .include 
Index: patches/patch-trickle-overload_c
===
RCS file: /cvs/ports/net/trickle/patches/patch-trickle-overload_c,v
retrieving revision 1.1
diff -u -p -r1.1 patch-trickle-overload_c
--- patches/patch-trickle-overload_c14 Dec 2003 23:27:44 -  1.1
+++ patches/patch-trickle-overload_c17 May 2012 14:44:38 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-trickle-overload_c,v 1.1 2003/12/14 23:27:44 naddy Exp $
 trickle-overload.c.orig2003-12-14 21:34:01.0 +0100
-+++ trickle-overload.c 2003-12-14 21:34:41.0 +0100
-@@ -473,7 +473,7 @@ select(int nfds, fd_set *rfds, fd_set *w
+--- trickle-overload.c.origMon Jun  2 20:13:28 2003
 trickle-overload.c Tue May  8 16:53:30 2012
+@@ -473,7 +473,7 @@ select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *e
  #define POLL_WRMASK (POLLOUT | POLLWRNORM | POLLWRBAND)
  #define POLL_RDMASK (POLLIN | /* POLLNORM | */  POLLPRI | POLLRDNORM | 
POLLRDBAND)
  
Index: pkg/MESSAGE
===
RCS file: /cvs/ports/net/trickle/pkg/MESSAGE,v
retrieving revision 1.2
diff -u -p -r1.2 MESSAGE
--- pkg/MESSAGE 15 Apr 2010 14:58:24 -  1.2
+++ pkg/MESSAGE 17 May 2012 14:44:38 -
@@ -4,11 +4,3 @@ Post Installation Set-Up of trickle
 See trickle(1), trickled.conf(5), and trickled(8) for information on
 configuring and using trickle.  The optional trickled.conf configuration
 file should be placed at ${SYSCONFDIR}/trickled.conf.
-
-Additionally, you may wish to start trickled at system start-up time
-via the /etc/rc.local script (it should be noted that trickled can run
-with, but does not require root privileges):
-
-if [ -x ${PREFIX}/bin/trickled ]; then
-echo -n ' trickled'; ${PREFIX}/bin/trickled
-fi
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/trickle/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST   27 Nov 2004 18:00:32 -  1.4
+++ pkg/PLIST   17 May 2012 14:44:38 -
@@ -1,10 +1,11 @@
 @comment $OpenBSD: PLIST,v 1.4 2004/11/27 18:00:32 alek Exp $
-bin/trickle
-bin/tricklectl
-bin/trickled
+@bin bin/trickle
+@bin bin/tricklectl
+@bin bin/trickled
 lib/trickle/
 lib/trickle/trickle-overload.so
 @man man/man1/trickle.1
 @man man/man5/trickled.conf.5
 @man man/man8/trickled.8
 @extra ${SYSCONFDIR}/trickled.conf
+@rcscript ${RCDIR}/trickled
Index: pkg/trickled.rc
===
RCS file: pkg/trickled.rc
diff -N pkg/trickled.rc
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/trickled.rc 17 May 2012 14:44:38 -
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+# $OpenBSD$
+
+daemon="${TRUEPREFIX}/bin/trickled"
+
+. /etc/rc.d/rc.subr
+
+rc_reload=NO
+
+rc_cmd $1


Re: WIP: Dovecot 2.1

2012-05-18 Thread Stuart Henderson
On 2012/05/17 19:10, Brad Smith wrote:
> Attached is a start at providing updates to Dovecot 2.1 and the
> associated add-ons. The antispam update was provided by sthen@.
> So if you have a new enough -current system and can provide any
> feedback please do so.
> 
> Note: none of this has been tested so far other than ensuring
> it builds.

btw, I've been running various Dovecot 2.1.x and Pigeonhole for a while
now with diffs similar to this, that's all been working fine. I don't use
the antispam plugin though.

You might need to merge in changes to the default config, iirc there
was a small change to namespaces, but it's a while ago and I didn't make
notes..



Re: UPDATE xcircuit 3.7.26 -> 3.7.39

2012-05-18 Thread Gonzalo L. R.
Anyone OK with this? I want to commit this unless there are objections.

Cheers!

El 05/15/12 02:06, Stuart Cassoff escribió:
> Thanks to Gonzalo L. R. for diff.
> 
> Stu
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/cad/xcircuit/Makefile,v
> retrieving revision 1.19
> diff -u -p -r1.19 Makefile
> --- Makefile  31 Oct 2011 17:07:19 -  1.19
> +++ Makefile  15 May 2012 04:57:04 -
> @@ -5,8 +5,7 @@ SHARED_ONLY = Yes
>  COMMENT =circuit drawing and schematic capture
> 
>  BASEVER =3.7
> -DISTNAME =   xcircuit-${BASEVER}.26
> -REVISION =   0
> +DISTNAME =   xcircuit-${BASEVER}.39
>  CATEGORIES = cad
>  HOMEPAGE =   http://opencircuitdesign.com/xcircuit/
>  MAINTAINER = Stuart Cassoff 
> @@ -26,7 +25,6 @@ MODULES =   x11/tk
>  LIB_DEPENDS =${MODTK_LIB_DEPENDS}
> 
>  USE_GMAKE =  Yes
> -USE_GROFF =  Yes
> 
>  CONFIGURE_STYLE =autoconf no-autoheader
>  AUTOCONF_VERSION =   2.59
> Index: distinfo
> ===
> RCS file: /cvs/ports/cad/xcircuit/distinfo,v
> retrieving revision 1.9
> diff -u -p -r1.9 distinfo
> --- distinfo  30 Oct 2011 05:12:15 -  1.9
> +++ distinfo  15 May 2012 04:57:04 -
> @@ -1,5 +1,5 @@
> -MD5 (xcircuit-3.7.26.tgz) = YCb2WkvDJ+V2kVf/0ThzQg==
> -RMD160 (xcircuit-3.7.26.tgz) = oM8BK65q0Ik4kSQaxInvxBQmPDs=
> -SHA1 (xcircuit-3.7.26.tgz) = wYlek2RYLk8xyPtQpBw28ErWbVo=
> -SHA256 (xcircuit-3.7.26.tgz) = MVigB8bxJco8B/aJDuxfFd+H9X5a3hObbnZMypiV/zQ=
> -SIZE (xcircuit-3.7.26.tgz) = 1468743
> +MD5 (xcircuit-3.7.39.tgz) = zTOmRakF/5s1qkKZ/z7eXQ==
> +RMD160 (xcircuit-3.7.39.tgz) = OPprp+p1aqGTj3ldUry4MTjL0qc=
> +SHA1 (xcircuit-3.7.39.tgz) = LiUpB0AiU8+S3igUxuluZB4HwRk=
> +SHA256 (xcircuit-3.7.39.tgz) = 41Hf4KuPVbeOTbQa3gO48nBZ0B1iDUS2NTrSI9hOGvM=
> +SIZE (xcircuit-3.7.39.tgz) = 1507600
> Index: patches/patch-configure_in
> ===
> RCS file: /cvs/ports/cad/xcircuit/patches/patch-configure_in,v
> retrieving revision 1.3
> diff -u -p -r1.3 patch-configure_in
> --- patches/patch-configure_in30 Oct 2011 05:12:15 -  1.3
> +++ patches/patch-configure_in15 May 2012 04:57:04 -
> @@ -1,7 +1,7 @@
>  $OpenBSD: patch-configure_in,v 1.3 2011/10/30 05:12:15 stu Exp $
>  configure.in.origThu Oct 27 17:18:48 2011
> -+++ configure.in Thu Oct 27 17:24:56 2011
> -@@ -735,6 +735,12 @@ if test "x$xc_with_tcl" != "x" ; then
> +--- configure.in.origThu Mar 29 11:08:59 2012
>  configure.in Tue May 15 00:53:08 2012
> +@@ -736,6 +736,12 @@ if test "x$xc_with_tcl" != "x" ; then
>   fi
> 
>   if test "x$xc_with_tcl" != "x" ; then
> 

-- 
Sending from my VCR.
Index: Makefile
===
RCS file: /cvs/ports/cad/xcircuit/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- Makefile31 Oct 2011 17:07:19 -  1.19
+++ Makefile14 May 2012 17:36:10 -
@@ -5,8 +5,7 @@ SHARED_ONLY =   Yes
 COMMENT =  circuit drawing and schematic capture
 
 BASEVER =  3.7
-DISTNAME = xcircuit-${BASEVER}.26
-REVISION = 0
+DISTNAME = xcircuit-${BASEVER}.39
 CATEGORIES =   cad
 HOMEPAGE = http://opencircuitdesign.com/xcircuit/
 MAINTAINER =   Stuart Cassoff 
@@ -26,7 +25,6 @@ MODULES = x11/tk
 LIB_DEPENDS =  ${MODTK_LIB_DEPENDS}
 
 USE_GMAKE =Yes
-USE_GROFF =Yes
 
 CONFIGURE_STYLE =  autoconf no-autoheader
 AUTOCONF_VERSION = 2.59
Index: distinfo
===
RCS file: /cvs/ports/cad/xcircuit/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo30 Oct 2011 05:12:15 -  1.9
+++ distinfo14 May 2012 17:36:10 -
@@ -1,5 +1,5 @@
-MD5 (xcircuit-3.7.26.tgz) = YCb2WkvDJ+V2kVf/0ThzQg==
-RMD160 (xcircuit-3.7.26.tgz) = oM8BK65q0Ik4kSQaxInvxBQmPDs=
-SHA1 (xcircuit-3.7.26.tgz) = wYlek2RYLk8xyPtQpBw28ErWbVo=
-SHA256 (xcircuit-3.7.26.tgz) = MVigB8bxJco8B/aJDuxfFd+H9X5a3hObbnZMypiV/zQ=
-SIZE (xcircuit-3.7.26.tgz) = 1468743
+MD5 (xcircuit-3.7.39.tgz) = zTOmRakF/5s1qkKZ/z7eXQ==
+RMD160 (xcircuit-3.7.39.tgz) = OPprp+p1aqGTj3ldUry4MTjL0qc=
+SHA1 (xcircuit-3.7.39.tgz) = LiUpB0AiU8+S3igUxuluZB4HwRk=
+SHA256 (xcircuit-3.7.39.tgz) = 41Hf4KuPVbeOTbQa3gO48nBZ0B1iDUS2NTrSI9hOGvM=
+SIZE (xcircuit-3.7.39.tgz) = 1507600
Index: patches/patch-configure_in
===
RCS file: /cvs/ports/cad/xcircuit/patches/patch-configure_in,v
retrieving revision 1.3
diff -u -p -r1.3 patch-configure_in
--- patches/patch-configure_in  30 Oct 2011 05:12:15 -  1.3
+++ patches/patch-configure_in  14 May 2012 17:36:10 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-configure_in,v 1.3 2011/10/30 05:12:15 stu Exp $
 configure.in.orig  Thu Oct 27 17:18:48 2011
-+++ configure.in   Thu Oct 27 17:24:56 2011
-@@ -735,6 +735,12 @@ if test "x$xc_with_tcl