Re: [NEW] comms/picocom

2011-10-02 Thread Kyle Isom
Thanks Remi!

You are correct, I had forgotten the `make port-lib-depends check` but that is 
now fixed.
Also, for some reason I'd fmt -w 76'd instead of 72. That has also been fixed. 
I've 
attached the changes.




picocom-1.6.tar.gz
Description: GNU Zip compressed data


--
Kyle Isom
pub   1024D/18B4AA48 2007-07-14
  Key fingerprint = F49C B67A E3AF C14A FEA2  6546 D95E 74DD 18B4 AA48
uid  Kyle Isom 




Re: NEW: graphics/mandelbulber

2011-10-02 Thread Landry Breuil
On Fri, Sep 30, 2011 at 01:06:32PM -0600, Anthony J. Bentley wrote:
> Hi,
> 
> Mandelbulber is an easy-to-use, handy, but experimental application
> designed to help you render 3D Mandelbrot fractals such as Mandelbulb,
> Mandelbox, Bulbbox, Juliabulb, and Menger Sponge.
> 
> Comments? ok?

Hm, two comments :
- since most of the patches are s#/usr/#${PREFIX}#, i think it'd be
  simpler from a maintainance pov to use a post-extract construct using
perl -pi -e '#/usr/share/#${PREFIX}/share/#' on a list of files to subst
them, instead of having a patch per file
- in do-install, you could use a loop to create the 5 dirs and copy the
  corresponding files..

Landry



Re: [CHANGE] devel/jdk/1.6 use jamvm bootstrap

2011-10-02 Thread Kurt Miller
On Sunday 02 October 2011 09:51:25 Amit Kulkarni wrote:
> > The following diff changes the default bootstrap depend from jdk/1.5 to
> > lang/jamvm + Eclipse compiler (ecj).
> >
> > Tested on i386 and amd64: builds ok, builds native_bootstrap ok and jdk/1.7
> > ok.
> >
> > After this goes in we can remove jdk/1.5 which is EOL since 2009.
> 
> 
> lang/kaffe can also be removed, right? its old, and somewhat unmaintained...

Yes, that is correct.

-Kurt



Re: [CHANGE] devel/jdk/1.6 use jamvm bootstrap

2011-10-02 Thread Kurt Miller
On Saturday 01 October 2011 14:08:18 Kurt Miller wrote:
> The following diff changes the default bootstrap depend from jdk/1.5 to 
> lang/jamvm + Eclipse compiler (ecj).
> 
> Tested on i386 and amd64: builds ok, builds native_bootstrap ok and jdk/1.7 
> ok.
> 
> After this goes in we can remove jdk/1.5 which is EOL since 2009.
> 
> okay?

The in-lined patch got line wrapped by my mailer. Attached is the same diff.

-Kurt
Index: Makefile
===
RCS file: /cvs/ports/devel/jdk/1.6/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- Makefile	9 Apr 2011 00:38:09 -	1.22
+++ Makefile	1 Oct 2011 18:00:21 -
@@ -8,9 +8,9 @@ COMMENT-jre=		Java2(TM) Standard Edition
 V=			1.6.0.03
 PKGNAME=		jdk-${V}
 PKGNAME-main=		jdk-${V}
-REVISION-main =		13
+REVISION-main =		14
 PKGNAME-jre=		jre-${V}
-REVISION-jre =		13
+REVISION-jre =		14
 
 CATEGORIES=		devel/jdk java
 
@@ -29,6 +29,7 @@ DISTFILES=		${JRLSRC} \
 			${JRLBIN} \
 			${JRLMOZ} \
 			${PATCHSET}
+DIST_SUBDIR=		jdk
 
 MASTER_SITES=		http://download.java.net/jdk6/6u3/promoted/b05/
 
@@ -102,8 +103,22 @@ ERRORS += "Fatal: This flavor requires a
 BUILD_DEPENDS+=		jdk->=1.6,<1.7:devel/jdk/1.6
 MAKE_ENV+=		ALT_BOOTDIR="${LOCALBASE}/${JDKHOME}"
 .else
-BUILD_DEPENDS+=		jdk->=1.5,<1.6:devel/jdk/1.5
-MAKE_ENV+=		ALT_BOOTDIR="${LOCALBASE}/jdk-1.5.0"
+DISTFILES+=		bsd-jdk16-gensrc.tar.gz \
+			xalan-j_2_7_0-bin.tar.gz \
+			ecj-3.7.1.jar
+FETCH_MANUALLY+=	"Get the file:"
+FETCH_MANUALLY+=	"bsd-jdk16-gensrc.tar.gz"
+FETCH_MANUALLY+=	"from http:://www.intricatesoftware.com/distfiles/bsd-jdk16-gensrc.tar.gz"
+FETCH_MANUALLY+=	"Get the Apache Xalan Java file:"
+FETCH_MANUALLY+=	"xalan-j_2_7_0-bin.tar.gz"
+FETCH_MANUALLY+=	"from http://archive.apache.org/dist/xml/xalan-j/";
+FETCH_MANUALLY+=	"Get the Eclipse Java Compiler file:"
+FETCH_MANUALLY+=	"ecj-3.7.1.jar"
+FETCH_MANUALLY+=	"from http://download.eclipse.org/eclipse/downloads/drops/R-3.7.1-201109091335/ecj-3.7.1.jar";
+BUILD_DEPENDS+=		lang/jamvm>=1.5.4
+MAKE_ENV+=		ALT_BOOTDIR=${WRKDIST} \
+			ALT_BOOTSTRAP=yes \
+			ECJ_JAR=${FULLDISTDIR}/ecj-3.7.1.jar
 .endif
 
 .if !${FLAVOR:L:Mno_web}
@@ -164,6 +179,16 @@ post-extract:
 pre-patch:
 	@cd ${WRKDIR} &&  \
 		${PATCH} -p0 -z .orig.bsd --quiet < ${WRKDIR}/jdk16.patches
+
+.if !${FLAVOR:L:Mnative_bootstrap}
+post-patch:
+	@cd ${WRKDIR}/bin && \
+		${CHMOD} +x bootscript
+.for prog in java javac javah jar
+	@cd ${WRKDIR}/bin && \
+		ln -s bootscript ${prog}
+.endfor
+.endif
 
 post-build:
 	@rm -rf ${JDKIMAGEDIR}/man/ja \
Index: distinfo
===
RCS file: /cvs/ports/devel/jdk/1.6/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo	17 Mar 2008 03:28:26 -	1.2
+++ distinfo	1 Oct 2011 18:00:21 -
@@ -1,20 +1,35 @@
-MD5 (bsd-jdk16-patches-4.tar.bz2) = YyBltgOkKKYDg9t/DLBM3w==
-MD5 (jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar) = i28bjY3sBRwYOFU5ERFB7A==
-MD5 (jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar) = bcr3rxYhFhet/11nKot59A==
-MD5 (jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar) = gzkDefufMZPpOp1e7Vsx2Q==
-RMD160 (bsd-jdk16-patches-4.tar.bz2) = uejP2jkrnE/N6uIs1eiqI6jk2GA=
-RMD160 (jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar) = fxvCv48G8stpoPfAsC32v6s2cn0=
-RMD160 (jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar) = 6KePLdZ5CJHIE0i1UpkmkryDaXE=
-RMD160 (jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar) = eSRJxzWuLx5FTpC900Bbski15AQ=
-SHA1 (bsd-jdk16-patches-4.tar.bz2) = iUIf2iB8nGMEftEynEEf3HclN8Q=
-SHA1 (jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar) = xhtWgGJxWxRwvW/B5V+oG+c0iMU=
-SHA1 (jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar) = Sb8hpRWgp7n0W373J3/J09dvkwk=
-SHA1 (jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar) = EqmNoH2CNAWabtr/pgWe/yY35GE=
-SHA256 (bsd-jdk16-patches-4.tar.bz2) = XcdTvuFWdvNbBjD4dP3QnhUoIUTdSiXPEiLnwogB+MY=
-SHA256 (jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar) = C7zELB/3uA2OPqXMB7mmB3j+x6gmc7QrPlS7mnqy6b4=
-SHA256 (jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar) = M23boc1LxqlLzRGFUMXHo6gI5Lvjm7ITQkupiD8gCcQ=
-SHA256 (jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar) = 0ci9lFhM1SgY46HcPwOxELOSQ9VRJQSgnAbFHAadK/k=
-SIZE (bsd-jdk16-patches-4.tar.bz2) = 960930
-SIZE (jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar) = 2116124
-SIZE (jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar) = 8608204
-SIZE (jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar) = 116791442
+MD5 (jdk/bsd-jdk16-gensrc.tar.gz) = YqixvW5QHuntj2X5muIYEw==
+MD5 (jdk/bsd-jdk16-patches-4.tar.bz2) = YyBltgOkKKYDg9t/DLBM3w==
+MD5 (jdk/ecj-3.7.1.jar) = XdYKNUidOpzUsUklWSoBZQ==
+MD5 (jdk/jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar) = i28bjY3sBRwYOFU5ERFB7A==
+MD5 (jdk/jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar) = bcr3rxYhFhet/11nKot59A==
+MD5 (jdk/jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar) = gzkDefufMZPpOp1e7Vsx2Q==
+MD5 (jdk/xalan-j_2_7_0-bin.tar.gz) = 1SbQhIyIYHzk46Ck7bddUA==
+RMD160 (jdk/bsd-jdk16-gensrc.tar.gz) = Jzug24cPOLB/Sydx+OT4icgpG5c=
+RMD1

audio/soundtracker somewhat broken, back to gtk1?

2011-10-02 Thread Juha Erkkila
Howdy,

I think that after 2010/04/08 (revision 1.20 to Makefile),
audio/soundtracker has been quite broken.  IIRC at this point gtk
version 1 (yeah, probably quite "obsolete") was being driven out
of ports, but that has not happened yet.  Soundtracker was updated
to use gtk2, but the problem is that there appears to not be a
stable gtk2 version for it.

The current version in ports crashes if you try simply "Insert" on
the song editor and "Delete" right afterwards.  On zaurus the app
crashes at startup (I tracked this some time ago, but have forgotten
how I fixed it, some uninitialized memory value was dereferenced,
and it works on i386 by luck I guess).

The officially supported (by the actual upstream) version still
uses gtk1, and it is stable enough for real use.  Thus I am asking,
could it be possible to revert the change to gtk2-version?

My main motivation for this is that the software is actually
surprisingly useable on zaurus.  Even if the bugs in gtk2-version
were fixed, the gtk2-version is way too slow on zaurus to be
comfortable with.  If you want to try this on zaurus, I suggest you
choose the "integer32"-mixer in "Audio Configuration", set "Display
Oscilloscopes" to off, and in "GUI Configuration" "Asynchronous
pattern editing" could be turned on (to reduce screen updates).
The gtk-font should possibly be adjusted, here's what I use in
~/.gtkrc (terminus-fonts should also be installed):

---
include "/usr/local/share/themes/Default/gtk/gtkrc"

style "default-text" {
fontset = "-xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-1"
}

class "GtkWidget" style "default-text"
---

And finally, the patch (that mostly just reverts the gtk2-commit):

Index: audio/soundtracker/Makefile
===
RCS file: /usr/cvs/OpenBSD/ports/audio/soundtracker/Makefile,v
retrieving revision 1.24
diff -u -p -r1.24 Makefile
--- audio/soundtracker/Makefile 15 Nov 2010 00:22:48 -  1.24
+++ audio/soundtracker/Makefile 2 Oct 2011 08:38:16 -
@@ -1,13 +1,11 @@
-# $OpenBSD: Makefile,v 1.24 2010/11/15 00:22:48 espie Exp $
+# $OpenBSD: Makefile,v 1.19 2009/12/19 22:59:27 jakemsr Exp $
 
 COMMENT=   music tracking tool for X11
 
-V= 0.6.8
-DISTNAME=  soundtracker_$V.gtk2_17092006_1613
-PKGNAME=   soundtracker-$V
-REVISION=  2
+DISTNAME=  soundtracker-0.6.8
 CATEGORIES=audio
-HOMEPAGE=  http://www.shaltev.org/programming.html
+REVISION=  3
+HOMEPAGE=  http://www.soundtracker.org/
 
 MAINTAINER=Wilbern Cobb 
 
@@ -17,25 +15,17 @@ PERMIT_PACKAGE_FTP= Yes
 PERMIT_DISTFILES_CDROM= Yes
 PERMIT_DISTFILES_FTP=  Yes
 
-MASTER_SITES=  http://www.shaltev.org/data/
-EXTRACT_SUFX=  .tar.bz2
+MASTER_SITES=  http://www.soundtracker.org/dl/v0.6/
 
-WANTLIB += ICE ORBit-2 SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
-WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender art_lgpl_2 atk-1.0
-WANTLIB += bonobo-2 bonobo-activation bonoboui-2 c cairo dbus-1
-WANTLIB += expat fontconfig freetype gailutil gconf-2 gdk-x11-2.0
-WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gnome-2
-WANTLIB += gnome-keyring gnomecanvas-2 gnomevfs-2 gobject-2.0
-WANTLIB += gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0
-WANTLIB += pangoft2-1.0 pixman-1 png popt pthread pthread-stubs
-WANTLIB += sndio xcb xml2 z xcb-render xcb-render-util
-WANTLIB += sndfile gnomeui-2
+WANTLIB=   X11 Xext Xi c m pthread sndio \
+   gdk glib gmodule gthread gtk sndfile
 
 LIB_DEPENDS=   audio/libsndfile \
-   x11/gnome/libgnomeui
+   x11/gtk+
 
 MODULES=   devel/gettext
 
+USE_X11=   Yes
 CONFIGURE_STYLE=   gnu
 CONFIGURE_ARGS=--disable-alsa \
--disable-sgi \
@@ -44,12 +34,12 @@ CONFIGURE_ARGS= --disable-alsa \
--disable-sun \
--disable-sdl \
--disable-jack \
+   --disable-gnome \
+   --disable-gdk-pixbuf \
--disable-splash
 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DDRIVER_SNDIO" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-lsndio"
-
-WRKDIST=   ${WRKDIR}/soundtracker-$V.gtk2
 
 DOCS=  FAQ NEWS README \
doc/xi.txt doc/xm.txt doc/xp.txt
Index: audio/soundtracker/distinfo
===
RCS file: /usr/cvs/OpenBSD/ports/audio/soundtracker/distinfo,v
retrieving revision 1.6
retrieving revision 1.5
diff -u -p -r1.6 -r1.5
--- audio/soundtracker/distinfo 8 Apr 2010 08:47:09 -   1.6
+++ audio/soundtracker/distinfo 19 Dec 2009 22:59:27 -  1.5
@@ -1,5 +1,5 @@
-MD5 (soundtracker_0.

Re: [CHANGE] devel/jdk/1.6 use jamvm bootstrap

2011-10-02 Thread Amit Kulkarni
> The following diff changes the default bootstrap depend from jdk/1.5 to
> lang/jamvm + Eclipse compiler (ecj).
>
> Tested on i386 and amd64: builds ok, builds native_bootstrap ok and jdk/1.7
> ok.
>
> After this goes in we can remove jdk/1.5 which is EOL since 2009.


lang/kaffe can also be removed, right? its old, and somewhat unmaintained...
thanks



Re: [NEW] comms/picocom

2011-10-02 Thread Remi Pointel
On Sun, 2 Oct 2011 16:11:55 +0300
Kyle Isom  wrote:
> Hello,
> 
> picocom is an extremely lightweight terminal emulator. I usually end up 
> installing this from the source tarball on most of my OpenBSD installs, so I 
> figured I should port it. This is my first port, so any critique would be 
> welcome.
> 
> Anyone want to test it?

Hello,

MAKE_FILE is Makefile by default, so it's not necessary to overwrite with its 
default value :).
It's also available for INSTALL_TARGET. ALL_TARGET is not needed here, works 
fine without it.

I think you have forgotten to "make port-lib-depends-check", your port needs:
WANTLIB += c ncurses

There are no regress tests, so you must add:
NO_REGRESS = Yes

And do a "fmt -w 72" for the DESCR.

Otherwise, looks good for me, but I could not test with my laptop.

Remi.



[NEW] comms/picocom

2011-10-02 Thread Kyle Isom
Hello,

picocom is an extremely lightweight terminal emulator. I usually end up 
installing this from the source tarball on most of my OpenBSD installs, so I 
figured I should port it. This is my first port, so any critique would be 
welcome.

Anyone want to test it?

from pkg/DESCR:

Description:
As its name suggests, picocom is a minimal dumb-terminal emulation program.
It is, in principle, very much like minicom, only it's pico instead of
mini!

Picocom was designed to serve as a simple, manual, modem configuration,
testing, and debugging tool. It has also served (quite well) as a low-tech
"terminal-window" to allow operator intervention in PPP connection scripts
(something like the ms-windows "open terminal window before / after
dialing" feature). It could also prove useful in many other similar tasks.

Picocom is ideal for embedded systems since its memory footprint is minimal
(less than 20K, when stripped).





picocom-1.6.tar.gz
Description: GNU Zip compressed data

--
Kyle Isom
http://kisom.github.com

Development-related GnuPG key: 
pub 4096R/B7B720D6 2010-10-30 Kyle Isom 
fpr 9C2B BF53 FB89 50D4 554F  1708 35C8 B8B3 B7B7 20D6



[Update] www/p5-WWW-Mechanize

2011-10-02 Thread wen heping
Hi,

  Here is an update of www/p5-WWW-Mechanize to 1.70.

  Tested and regress OK on Loongson.

  Comments?  OK?

wen
Index: p5-WWW-Mechanize/Makefile
===
RCS file: /cvs/ports/www/p5-WWW-Mechanize/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- p5-WWW-Mechanize/Makefile   3 Dec 2010 11:46:53 -   1.8
+++ p5-WWW-Mechanize/Makefile   2 Oct 2011 08:20:20 -
@@ -4,10 +4,8 @@
 
 MODULES=   cpan
 
-DISTNAME=  WWW-Mechanize-1.60
-REVISION=  1
+DISTNAME=  WWW-Mechanize-1.70
 CATEGORIES=www perl5
-USE_GROFF =Yes
 
 # Artistic + GPL
 PERMIT_PACKAGE_CDROM=  Yes
@@ -16,7 +14,7 @@
 PERMIT_DISTFILES_FTP=  Yes
 
 BUILD_DEPENDS= ${RUN_DEPENDS}
-RUN_DEPENDS=   www/p5-libwww>=5.78 \
+RUN_DEPENDS=   www/p5-libwww>=5.829 \
devel/p5-Test-LongString \
www/p5-HTTP-Server-Simple
 
Index: p5-WWW-Mechanize/distinfo
===
RCS file: /cvs/ports/www/p5-WWW-Mechanize/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- p5-WWW-Mechanize/distinfo   14 Oct 2009 15:27:14 -  1.4
+++ p5-WWW-Mechanize/distinfo   2 Oct 2011 08:20:20 -
@@ -1,5 +1,5 @@
-MD5 (WWW-Mechanize-1.60.tar.gz) = vTv1byiIHFNj0cWZ/0OmMg==
-RMD160 (WWW-Mechanize-1.60.tar.gz) = FItNHPa6Ht8MxsgyuZmz0Wrln24=
-SHA1 (WWW-Mechanize-1.60.tar.gz) = bMNmPT04BTi/ETu4TM5qq+3a5PM=
-SHA256 (WWW-Mechanize-1.60.tar.gz) = 
iETbx/aV+8n4fgSJUpX8YSYFWd9xdrMVnNPcLHCGNHg=
-SIZE (WWW-Mechanize-1.60.tar.gz) = 120157
+MD5 (WWW-Mechanize-1.70.tar.gz) = at49Bu9+FrkYZM2ne52Jpg==
+RMD160 (WWW-Mechanize-1.70.tar.gz) = qxuw0VlKv9EZGZ6wUSJK+kyXqRg=
+SHA1 (WWW-Mechanize-1.70.tar.gz) = Hxtj69ZClEAQ9oPl+3ci/Uj3H2Q=
+SHA256 (WWW-Mechanize-1.70.tar.gz) = 
TcyYpHT6fE/nMJlnFIez2Oz7mCi+NKgO8WOJM9PRkJA=
+SIZE (WWW-Mechanize-1.70.tar.gz) = 124948


[Update]devel/p5-Test-Weaken

2011-10-02 Thread wen heping
Hi,

  Here is an update of devel/p5-Test-Weaken to 3.006000

  Tested and regress both OK on Loongson.

  Comments?  OK ?

wen




Index: p5-Test-Weaken/Makefile
===
RCS file: /cvs/ports/devel/p5-Test-Weaken/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- p5-Test-Weaken/Makefile 3 Dec 2010 11:44:37 -   1.4
+++ p5-Test-Weaken/Makefile 2 Oct 2011 03:29:11 -
@@ -3,10 +3,8 @@
 COMMENT =  test that freed memory objects were, indeed, freed

 MODULES =  cpan
-DISTNAME = Test-Weaken-3.002000
-REVISION = 0
+DISTNAME = Test-Weaken-3.006000
 CATEGORIES =   devel
-USE_GROFF =Yes

 # Perl
 PERMIT_PACKAGE_CDROM = Yes
Index: p5-Test-Weaken/distinfo
===
RCS file: /cvs/ports/devel/p5-Test-Weaken/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- p5-Test-Weaken/distinfo 4 Sep 2009 02:59:19 -   1.2
+++ p5-Test-Weaken/distinfo 2 Oct 2011 03:29:11 -
@@ -1,5 +1,5 @@
-MD5 (Test-Weaken-3.002000.tar.gz) = vCO9WmFN1n5tvFopf+Vjbw==
-RMD160 (Test-Weaken-3.002000.tar.gz) = aM+QCeRYu2ET8OG5gw0bsZthwvs=
-SHA1 (Test-Weaken-3.002000.tar.gz) = Uf07lwrx4D3U1UqCxU6ye0g23Zo=
-SHA256 (Test-Weaken-3.002000.tar.gz) =
pr9UxRk7qHXcj3neuWDJJ3UyXcypFu5Lx+bD+5PMxXg=
-SIZE (Test-Weaken-3.002000.tar.gz) = 36869
+MD5 (Test-Weaken-3.006000.tar.gz) = pfdJUuu33F0cR8+bs1Ksjg==
+RMD160 (Test-Weaken-3.006000.tar.gz) = kx/rk9j4PQczuRUKd7BdEWgsITg=
+SHA1 (Test-Weaken-3.006000.tar.gz) = 4EG5yNzjwP73N5rpOP6oX0qOZ1o=
+SHA256 (Test-Weaken-3.006000.tar.gz) =
Q51FKAw3N5sgnnfCJze3cK2Mwgxq59IT5UHSshQyDY0=
+SIZE (Test-Weaken-3.006000.tar.gz) = 37202



Re: UPDATE: databases/mongodb

2011-10-02 Thread Benoit Lecocq

On 10/02/11 12:40, Remi Pointel wrote:

On Sat, 1 Oct 2011 11:32:35 +0100
Federico Schwindt  wrote:


On Tue, Sep 27, 2011 at 10:55 PM, Federico G. Schwindt  wrote:

Update to mongodb 2.0
OK?

anyone?

Hello,

sounds good for me, regress tests are OK on amd64.

Remi.



Hi,

Works for me too, ok

cheers,
benoit




NEW: games/freedink

2011-10-02 Thread Anton Yabchinskiy
Hi. Have created a port for FreeDink. From it's DESCR:

Dink Smallwood is an adventure/role-playing game, similar to Zelda,
made by RTsoft. The game features the twisted adventure of young
Dink Smallwood, a pig farmer who leaves his town and goes on a quest
to save the world.

Please test and comment.


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


Re: NEW: www/mandoc-cgi-0.1.3

2011-10-02 Thread Kristaps Dzonsons

On 02/10/2011 10:22, Marc Espie wrote:

On Sun, Oct 02, 2011 at 12:28:09AM +0200, Ingo Schwarze wrote:

  - The naming is terrible, one is not even versioned, but i will talk
to Kristaps to fix that before the next mandoc-tools release.


Bad Kristaps. ;-) Obviously not used to work as an upstream developer
for packagers.

In the meantime, use DIST_SUBDIR, as everyone who has to deal with unversioned
distfiles does...


Bad Krista--what!  That's me!  ;)  After Ingo's mail I've added the 
versioning, removed the libmutf8 dep, and fixed some additional stuff he 
asked for.  Feel free to write me directly for fixes and changes and 
I'll get them in as soon as possible.


Thanks!

Kristaps



reminder: PSEUDO_FLAVORS

2011-10-02 Thread Marc Espie
under no circumstances, should PSEUDO_FLAVORS affect the *contents* of packages
being built.

Binary packages are supposed to be a reproducible process, with a specific
package name. So, for instance, ImageMagick-6.6.6.10.p2 and 
ImageMagick-6.6.6.10p2-no_x11 are
different packages. So should php-5.3.8p0 and php-5.3.8p0-no_suhosin.

As a rule, anything that actually affects the package should encode in the
fullpkgname, usually as the flavor extension, automatically.

Pseudo-flavors serve one specific purpose: when one wants to tweak the
build to produce LESS subpackages (or different ones).

For instance, print/poppler normally produces
poppler-0.16.7p1 poppler-qt-0.16.7p0 poppler-qt4-0.16.7p0

If you set FLAVOR=no_qt no_qt4
it will only produce
poppler-0.16.7p1

*but this is identical to the poppler-0.16.7.p1 it would produce without the 
pseudo-flavor*

Some more complicated cases, like flavors that do affect *some* subpackages,
but not all, are usually dealt with using FULLPKGNAME-* and FULLPKGPATH-*

For instance, qt4 is very careful to set its documentation to be without
flavor:
FULLPKGNAME-html = qt4-html-${PKGVERSION}
FULLPKGPATH-html = x11/qt4,-html



Hoje: 95 ofertas com até 93% OFF para aproveitar em Campo Grande/MS nesta domingo (02/10)!

2011-10-02 Thread Liga Ofertas - Campo Grande
[IMAGE]

547 Ofertas em Campo Grande  / MS

O Melhor Lanche de Campo Grande !!! 1 Super Fest Filé Mignon a cavalo de
R$12 por R$5,99

De: R$ 12,00 - Por: R$ 5,99 - (50% de desconto)

Tudo que você precisa! Depilação de Buço + Design de Sombrancelha +
Corte + Escova! ( de R$ 75,00 por R$ 18,40 ) São 75% de desconto!

De: R$ 75,00 - Por: R$ 18,40 - (75% de desconto)

Essa é a Hora !!! Epad Android 2.2 com Wifi e Tecnologia 3G de R$735 por
R$325

De: R$ 735,00 - Por: R$ 325,00 - (56% de desconto)

Pele Renovada !!! 1 sessão de Limpeza de pele + 1 sessão de
hidratação facial + 1 sessão de drenagem Facial com produtos ADCOS DE
R$80 por R$29.

De: R$ 80,00 - Por: R$ 29,00 - (64% de desconto)

Deixe sua Pele mais Bonita! Peeling Diamante + Lifting + Higienização
Facial + Hidratação facial + Drenagem Linfatica Facial com 80% OFF . De
R$220,00 Por: R$ 44,99

De: R$ 220,00 - Por: R$ 44,90 - (80% de desconto)

Parabens Para Voce !!! Comemore o Aniversário de seus Filhos em Grande
Estilo, Cama Elastica + Piscina de Bolinha + Pintura Facial + Maquina
Algodão doce + 400 Gelinhos + 2 Monitores

De: R$ 400,00 - Por: R$ 220,00 - (45% de desconto)

ENEM 2011 - Download Apostilas completas das matérias + exerc�cios +
simulados eletronico de R$ 50.00 por R$ 14,99

De: R$ 50,00 - Por: R$ 14,99 - (70% de desconto)

Saiu Concurso! 40% de desconto em Apostila Concurso Professor da
Secretaria de Educação MS ( de R$50,00 por R$30,00 )

De: R$ 50,00 - Por: R$ 30,00 - (40% de desconto)

80% OFF Simplismente um Luxo, 1 Escova Definitiva + 1 Limpeza Facial com
Argila ( de R$ 450,00 por R$ 89,90 ) Com 3 Meses de Uso!!!

De: R$ 450,00 - Por: R$ 89,90 - (80% de desconto)

Redondinha, Douradinha, uma Delicia!!! Deliciosas Empadinhas de Frango,
de derreter na Boca de R$20 por R$11

De: R$ 20,00 - Por: R$ 11,00 - (45% de desconto)

Douradinha, uma Delicia!!! Deliciosas Empadinhas de Frango, de derreter
na Boca de R$20 por R$11

De: R$ 20,00 - Por: R$ 11,00 - (45% de desconto)

Ideal para divulgar seu negócio! 67% de desconto em 2.000 Panfletos
Policromia Frente 15x21cm no Couche 90grs ( de R$384,00 por R$125,00 )

De: R$ 384,00 - Por: R$ 125,00 - (67% de desconto)

Sucesso!!! Incr�veis 75% desconto em Pacote com Luzes + Hidratação +
Escova + Pé e Mão de R$ 210,00 por R$ 49,90

De: R$ 210,00 - Por: R$ 49,90 - (75% de desconto)

Ilumine seu dia com 75% OFF, Pacote com Luzes + Hidratação + Escova +
Pé e Mão de R$ 210,00 por R$ 49,90

De: R$ 210,00 - Por: R$ 49,90 - (75% de desconto)

HumMm... Del�cia! 1 Super Fest Filé Mignon a cavalo ( de R$12,00 por
R$5,99 ) 50% de desconto e Cupom Já!

De: R$ 12,00 - Por: R$ 5,99 - (50% de desconto)

Hora de cuidar de suas unhas !!! Manicure e Pedicure + spas para seus
Pés ( Esfoliação + hidratação + Massagem )

De: R$ 35,00 - Por: R$ 14,90 - (58% de desconto)

Apostila Concurso Professor da Secretaria de Educação MS

De: R$ 50,00 - Por: R$ 30,00 - (40% de desconto)

DOCE

De: R$ 5,00 - Por: R$ 1,00 - (0,2% de desconto)

teste

De: R$ 395,00 - Por: R$ 197,00 - (50% de desconto)

desconto

De: R$ 2.290,00 - Por: R$ 290,00 - (100% de desconto)

Experimente para Entender! Suculento Sobá Médio pela Metade do Preço
na Sobaria do Tchucky (de R$12 por R$5,90)

De: R$ 12,00 - Por: R$ 5,90 - (50% de desconto)

53% OFF em Porção de Frango a Passarinho (700g) + 01 Cerveja 600ml de
R$24.50 por R$11.50

De: R$ 24,50 - Por: R$ 11,50 - (53% de desconto)

60% OFF em Costela na pedra (p/ 2 pessoas) + acompanhamento no Empório
da Costela (de R$39,90 por R$15,90).

De: R$ 39,90 - Por: R$ 15,90 - (60% de desconto)

Está Calor!! Torta de Mousse de Chocolate Gelada deliciosa e
refrescante, na Sabor Natural, de 52,00 por 18,90.

De: R$ 52,00 - Por: R$ 18,90 - (64% de desconto)

81% OFF em Peeling de Diamante + Assepsia da Pele + Esfoliação +
Hidratação + Máscara Calmante! Compre e Use!

De: R$ 110,00 - Por: R$ 19,90 - (81% de desconto)

Adeus Chulé! 52% OFF em Lavagem de tênis + higienização "Xô Chulé".
De R$ 18,99 por apenas R$ 8,99! Compre e Use!

De: R$ 18,99 - Por: R$ 8,99 - (52% de desconto)

Adeus Chulé! 52% OFF em Lavagem de tênis + higienização "Xô Chulé".
De R$ 18,99 por apenas R$ 8,99! Compre e Use!

De: R$ 18,99 - Por: R$ 8,99 - (52% de desconto)

61% OFF em SUCULENTA PICANHA na chapa para 2 PESSOAS + Porção de Batata
Frita + Acompanhamentos (arroz, vinagrete, mandioca, farofa e creme de
alho).

De: R$ 52,00 - Por: R$ 19,90 - (61% de desconto)

Torta de 2 kilos nos sabores chifon, chifonmista ou brigadeiro + 100
docinhos, a partir de R$ 19,90, no R&J Café

De: R$ 50,00 - Por: R$ 19,90 - (60% de desconto)

.

De: R$ 1,00 - Por: R$ 1,00 - (10% de desconto)

90% OFF em Calibração de Bicos Injetores + Manutenção de Bombas
Injetoras + Check-list Completo: Suspensão + Freios e Muito Mais na ABS
Car (de R$790 por R$79)

De: R$ 790,00 - Por: R$ 79,00 - (90% de desconto)

01 Pacote com 32 tratamentos, na Nadia Ahad Estética Facial e Corporal,
de 890,00 por 139,90.

De: R$ 890,00 - Por: R$ 139,90 - (84% de desconto)

Almoço na Co

Re: NEW: www/mandoc-cgi-0.1.3

2011-10-02 Thread Ingo Schwarze
Hi,

Marc Espie wrote on Sun, Oct 02, 2011 at 10:22:52AM +0200:
> On Sun, Oct 02, 2011 at 12:28:09AM +0200, Ingo Schwarze wrote:

>>  - The naming is terrible, one is not even versioned, but i will talk
>>to Kristaps to fix that before the next mandoc-tools release.

> Bad Kristaps. ;-) Obviously not used to work as an upstream developer
> for packagers.
> 
> In the meantime, use DIST_SUBDIR, as everyone who has to deal with unversioned
> distfiles does...

Thanks for the hint.

Is the following correct an wanted?

Yours,
  Ingo

-- 
The casual porter is the best frequent asker.


Index: guide.html
===
RCS file: /cvs/www/faq/ports/guide.html,v
retrieving revision 1.13
diff -u -r1.13 guide.html
--- guide.html  21 Nov 2010 10:26:03 -  1.13
+++ guide.html  2 Oct 2011 10:27:37 -
@@ -193,13 +193,17 @@
 Ports normally correspond to given versions of software. Once they are 
retrieved, files are checksummed and compared to the recorded
 checksum(s) in distinfo. So, to avoid confusion, DISTFILES and PATCHFILES 
should have clearly visible version numbers:
 don't retrieve foo-latest.tar.gz if it is a link to foo-1.0.5.tar.gz.
-If necessary, gently ask the original program author to make such
-distinctions clear.
+If one of these files is only available with an unnumbered name,
+gently ask the original program author to make such distinctions clear.
+In the meantime, if you must use an unnumbered distribution file,
+set DIST_SUBDIR to what a reasonable DISTNAME would be, like foo-1.0.5,
+such that different, identically named versions of the distfile do not
+clash on the distribution file mirrors.
 
 If a given port needs more than about 5 DISTFILES + PATCHFILES to work, use 
DIST_SUBDIR to avoid cluttering
 DISTDIR (/usr/ports/distfiles by default) too much.
-
-DIST_SUBDIR must not include version numbers. When the port is updated to a 
later version, some distfiles may not change, but will be
+In this case, DIST_SUBDIR must not include version numbers.  When the port
+is updated to a later version, some distfiles may not change, but will be
 refetched if DIST_SUBDIR is changed. Even if all distfiles change, it is 
easier for the user to track cruft.
 
 All DISTFILES and PATCHFILES don't necessarily come from the same set of 
MASTER_SITES. Supplementary sites can be



Re: UPDATE: databases/mongodb

2011-10-02 Thread Remi Pointel
On Sat, 1 Oct 2011 11:32:35 +0100
Federico Schwindt  wrote:

> On Tue, Sep 27, 2011 at 10:55 PM, Federico G. Schwindt  
> wrote:
> > Update to mongodb 2.0
> > OK?
> 
> anyone?

Hello,

sounds good for me, regress tests are OK on amd64.

Remi.



[Maintainer update] Further fixes for audio/cmus

2011-10-02 Thread Donovan Watteau
Hello,

Sorry for being slow at noticing it, but it seems that there was another
problem while importing audio/cmus.  The files/sndio.c backend which
was imported was the old one, i.e. without Alexandre Ratchov's fixes
and improvements.

Things should be better with the following diff.
Donovan.

Index: Makefile
===
RCS file: /cvs/ports/audio/cmus/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile18 Sep 2011 13:27:53 -  1.4
+++ Makefile2 Oct 2011 09:52:12 -
@@ -10,7 +10,7 @@ PKGNAME-main= cmus-$(V)
 PKGNAME-flac=  cmus-flac-$(V)
 PKGNAME-wavpack=   cmus-wavpack-$(V)
 
-REVISION-main= 1
+REVISION-main= 2
 REVISION-flac= 1
 REVISION-wavpack=  1
 
Index: files/sndio.c
===
RCS file: /cvs/ports/audio/cmus/files/sndio.c,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 sndio.c
--- files/sndio.c   6 Sep 2011 07:10:56 -   1.1.1.1
+++ files/sndio.c   2 Oct 2011 09:52:12 -
@@ -1,5 +1,8 @@
 /*
- * Copyright (C) 2010 Donovan "Tsomi" Watteau 
+ * Copyright (C) 2011 Donovan "Tsomi" Watteau 
+ *
+ * Based on Thomas Pfaff's work for XMMS, and some suggestions from
+ * Alexandre Ratchov.
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -36,15 +39,6 @@ static struct sio_hdl *hdl = NULL;
 static int sndio_volume = 100;
 static int sndio_paused;
 
-static long long rdpos;
-static long long wrpos;
-static long bytes_per_sec;
-
-static void onmove_cb(void *addr, int delta)
-{
-   rdpos += delta * (int)(par.bps * par.pchan);
-}
-
 static int sndio_mixer_set_volume(int l, int r)
 {
sndio_volume = l > r ? l : r;
@@ -95,6 +89,7 @@ static int sndio_set_sf(sample_format_t 
return -1;
}
 
+   par.appbufsz = par.rate * 300 / 1000;
apar = par;
 
if (!sio_setpar(hdl, &par))
@@ -103,15 +98,16 @@ static int sndio_set_sf(sample_format_t 
if (!sio_getpar(hdl, &par))
return -1;
 
-   wrpos = 0;
-   rdpos = 0;
-   sio_onmove(hdl, onmove_cb, NULL);
+   if (apar.rate != par.rate || apar.pchan != par.pchan ||
+   apar.bits != par.bits || (par.bits > 8 && apar.le != par.le) ||
+   apar.sig != par.sig)
+   return -1;
+
sndio_mixer_set_volume(sndio_volume, sndio_volume);
 
if (!sio_start(hdl))
return -1;
 
-   bytes_per_sec = par.bps * par.pchan * par.rate;
return 0;
 }
 
@@ -131,7 +127,7 @@ static int sndio_close(void)
sio_close(hdl);
hdl = NULL;
}
-   
+
return 0;
 }
 
@@ -140,6 +136,7 @@ static int sndio_open(sample_format_t sf
hdl = sio_open(NULL, SIO_PLAY, 0);
if (hdl == NULL)
return -1;
+
if (sndio_set_sf(sf) == -1) {
sndio_close();
return -1;
@@ -150,24 +147,13 @@ static int sndio_open(sample_format_t sf
 
 static int sndio_write(const char *buf, int cnt)
 {
-   const char *t;
+   size_t rc;
 
-   cnt /= 4;
-   cnt *= 4;
-   t = buf;
-   while (cnt > 0) {
-   int rc = sio_write(hdl, buf, cnt);
-   if (rc == -1) {
-   if (errno == EINTR)
-   continue;
-   else
-   return rc;
-   }
-   buf += rc;
-   cnt -= rc;
-   }
+   rc = sio_write(hdl, buf, cnt);
+   if (rc == 0)
+   return -1;
 
-   return (buf - t);
+   return rc;
 }
 
 static int op_sndio_set_option(int key, const char *val)
@@ -182,21 +168,30 @@ static int op_sndio_get_option(int key, 
 
 static int sndio_pause(void)
 {
-   sndio_paused = 1;
+   if (!sndio_paused) {
+   sio_stop(hdl);
+   sndio_paused = 1;
+   }
 
return 0;
 }
 
 static int sndio_unpause(void)
 {
-   sndio_paused = 0;
+   if (sndio_paused) {
+   sio_start(hdl);
+   sndio_paused = 0;
+   }
 
return 0;
 }
 
 static int sndio_buffer_space(void)
 {
-   return par.bufsz;
+   /*
+* Do as if there's always some space and let sio_write() block.
+*/
+   return par.bufsz * par.bps * par.pchan;
 }
 
 static int sndio_mixer_init(void)



[NEW] net/py-zmq

2011-10-02 Thread Remi Pointel
Hi,

py-zmq is a lightweight and super-fast messaging library built on top of
the ZeroMQ library.

Critical positive or negative would be appreciated ;-).

Few information :


$ pkg_info py-zmq
Information for inst:py-zmq-2.1.9

Comment:
Python bindings for ZeroMQ

Description:
PyZMQ is a lightweight and super-fast messaging library built on top of
the ZeroMQ library.

Maintainer: The OpenBSD ports mailing-list 

WWW: http://github.com/zeromq/pyzmq/


Thanks,

Remi.


py-zmq-2.1.9.tar.gz
Description: Binary data


Re: UPDATE: www/py-mako

2011-10-02 Thread Remi Pointel
On Sat, 1 Oct 2011 11:32:59 +0100
Federico Schwindt  wrote:

> On Tue, Sep 27, 2011 at 10:57 PM, Federico G. Schwindt  
> wrote:
> > Hi,
> >
> > Update to 0.4.2.
> > OK?
> 
> anyone?

Hi,

ok for me if you add devel/py-babel in REGRESS_DEPENDS (needed for 1 test).

Cheers,
Remi.



Re: NEW: www/mandoc-cgi-0.1.3

2011-10-02 Thread Marc Espie
On Sun, Oct 02, 2011 at 12:28:09AM +0200, Ingo Schwarze wrote:
>  - The naming is terrible, one is not even versioned, but i will talk
>to Kristaps to fix that before the next mandoc-tools release.

Bad Kristaps. ;-) Obviously not used to work as an upstream developer
for packagers.

In the meantime, use DIST_SUBDIR, as everyone who has to deal with unversioned
distfiles does...