Re: UPDATE: math/p5-Math-Base36

2015-01-18 Thread Benoit Lecocq
On 01/19/15 00:15, Mikolaj Kucharski wrote:
> Hi,
> 
> Simple update to 0.13. Upstream Changes file says:
> 
> 0.13 2015-01-17
>  - handle large base-10 numbers when encoding (GH #2)
> 
> 
> Regress tests pass on i386.

Committed, thanks !

> 
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/math/p5-Math-Base36/Makefile,v
> retrieving revision 1.8
> diff -u -r1.8 Makefile
> --- Makefile  18 Apr 2013 23:44:51 -  1.8
> +++ Makefile  18 Jan 2015 23:11:02 -
> @@ -3,7 +3,7 @@
>  COMMENT =encoding and decoding of base36 strings
>  
>  MODULES =cpan
> -DISTNAME =   Math-Base36-0.12
> +DISTNAME =   Math-Base36-0.13
>  CATEGORIES = math
>  
>  MAINTAINER = Mikolaj Kucharski 
> Index: distinfo
> ===
> RCS file: /cvs/ports/math/p5-Math-Base36/distinfo,v
> retrieving revision 1.3
> diff -u -r1.3 distinfo
> --- distinfo  18 Apr 2013 23:44:51 -  1.3
> +++ distinfo  18 Jan 2015 23:11:02 -
> @@ -1,2 +1,2 @@
> -SHA256 (Math-Base36-0.12.tar.gz) = 
> z8YxLxU+yTD9BBcv3H2jAeGJbNHa5C5he+DLDeHP3xc=
> -SIZE (Math-Base36-0.12.tar.gz) = 20272
> +SHA256 (Math-Base36-0.13.tar.gz) = 
> JheoigH2EJvt7AAdg+ZcH4iua31KnsIIrPTuTmopBYk=
> +SIZE (Math-Base36-0.13.tar.gz) = 20368
> 
> 



[UPDATE] databases/p5-DBI to 1.633

2015-01-18 Thread Andrew Fresh
This update is fairly straight forward, just bugfixes and new docs.  

https://metacpan.org/changes/distribution/DBI

The many reverse dependencies that do have tests have the same results
with both the old and new versions of this.

OK?

Index: Makefile
===
RCS file: /cvs/ports/databases/p5-DBI/Makefile,v
retrieving revision 1.62
diff -u -p -r1.62 Makefile
--- Makefile14 Jun 2014 23:24:53 -  1.62
+++ Makefile19 Jan 2015 06:17:23 -
@@ -5,9 +5,8 @@ SHARED_ONLY =   Yes
 COMMENT =  unified perl interface for database access
 
 MODULES =  cpan
-DISTNAME = DBI-1.631
+DISTNAME = DBI-1.633
 CATEGORIES =   databases
-REVISION = 0
 
 HOMEPAGE = http://dbi.perl.org/
 MAINTAINER =   Andrew Fresh 
Index: distinfo
===
RCS file: /cvs/ports/databases/p5-DBI/distinfo,v
retrieving revision 1.26
diff -u -p -r1.26 distinfo
--- distinfo15 May 2014 14:06:18 -  1.26
+++ distinfo19 Jan 2015 06:17:23 -
@@ -1,2 +1,2 @@
-SHA256 (DBI-1.631.tar.gz) = 1wp0IIYwVZF/4gTIPmqDg4xY90g7qmhJlydyCJnN1RE=
-SIZE (DBI-1.631.tar.gz) = 589096
+SHA256 (DBI-1.633.tar.gz) = 4sG63Mn2cr8xYws27NIw9+sE2/BV5tr37e7Q6evPXuc=
+SIZE (DBI-1.633.tar.gz) = 592307
Index: pkg/PLIST
===
RCS file: /cvs/ports/databases/p5-DBI/pkg/PLIST,v
retrieving revision 1.33
diff -u -p -r1.33 PLIST
--- pkg/PLIST   14 Jun 2014 23:24:53 -  1.33
+++ pkg/PLIST   19 Jan 2015 06:17:23 -
@@ -74,7 +74,6 @@ ${P5ARCH}/DBI/W32ODBC.pm
 ${P5ARCH}/Win32/
 ${P5ARCH}/Win32/DBIODBC.pm
 ${P5ARCH}/auto/DBI/
-@comment ${P5ARCH}/auto/DBI/DBI.bs
 ${P5ARCH}/auto/DBI/DBI.so
 ${P5ARCH}/auto/DBI/DBIXS.h
 ${P5ARCH}/auto/DBI/Driver.xst



Re: about rustc / successfully build

2015-01-18 Thread Dave Huseby
I'm going to go through my patches and your patches to see if there is
anything I missed.  You might want to do the same with yours.

--dave

On Sat, Jan 17, 2015, at 11:25 AM, Sébastien Marie wrote:
> Hi !
> 
> I just finish a full compilation cycle of rustc under openbsd ! We have
> a fonctionnal rustc !
> 
> The previous Thread problem was due to following dragonfly for stack
> managment, whereas dragonfly have segmented-stacks, and openbsd not.
> 
> And after that, just some linking problem (rustc search LLVM in
> /usr/local instead of the one it has compiled...)
> 
> 
> The github have been updated: https://github.com/semarie/rust/
> 
> I use two additionnals patchs:
>  - mk/main.mk: for adding --sysroot $$(HROOT$(1)_H_$(3)) to rustc 
>  - etc/mklldeps.py: for linking with estdc+++ instead of stdc++
> 
> But severals tasks remains:
>  - some cleanup
>  - run the unit tests of rustc
>  - propose a pull request to rust dev
> 
> Thanks.
> -- 
> Sébastien Marie



Re: about rustc / successfully build

2015-01-18 Thread Dave Huseby
I think it is great that we did this at the same time :)

--dave

On Sat, Jan 17, 2015, at 11:25 AM, Sébastien Marie wrote:
> Hi !
> 
> I just finish a full compilation cycle of rustc under openbsd ! We have
> a fonctionnal rustc !
> 
> The previous Thread problem was due to following dragonfly for stack
> managment, whereas dragonfly have segmented-stacks, and openbsd not.
> 
> And after that, just some linking problem (rustc search LLVM in
> /usr/local instead of the one it has compiled...)
> 
> 
> The github have been updated: https://github.com/semarie/rust/
> 
> I use two additionnals patchs:
>  - mk/main.mk: for adding --sysroot $$(HROOT$(1)_H_$(3)) to rustc 
>  - etc/mklldeps.py: for linking with estdc+++ instead of stdc++
> 
> But severals tasks remains:
>  - some cleanup
>  - run the unit tests of rustc
>  - propose a pull request to rust dev
> 
> Thanks.
> -- 
> Sébastien Marie



Re: about rustc / successfully build

2015-01-18 Thread Dave Huseby
Me too :)  I should try your version on Bitrig to see if non-segmented
stacks is better there.  I'm getting some issues with sbrk failing
sometimes which may be due to ASLR not playing well with segmented
stacks.  I used your --sysroot patch to get around an issue in stage0
related to load_self in my .rlib being compiled on Linux and not Bitrig.
 But once I got past that, it's all done and works.

One question, when you ran "gmake install" did it install libraries with
a hex value in their name (librustc-4e7c5e5c.rlib) or did it install
librustc.rlib?  I'm seeing libraries with the hex value in the name.

--dave

On Sat, Jan 17, 2015, at 11:25 AM, Sébastien Marie wrote:
> Hi !
> 
> I just finish a full compilation cycle of rustc under openbsd ! We have
> a fonctionnal rustc !
> 
> The previous Thread problem was due to following dragonfly for stack
> managment, whereas dragonfly have segmented-stacks, and openbsd not.
> 
> And after that, just some linking problem (rustc search LLVM in
> /usr/local instead of the one it has compiled...)
> 
> 
> The github have been updated: https://github.com/semarie/rust/
> 
> I use two additionnals patchs:
>  - mk/main.mk: for adding --sysroot $$(HROOT$(1)_H_$(3)) to rustc 
>  - etc/mklldeps.py: for linking with estdc+++ instead of stdc++
> 
> But severals tasks remains:
>  - some cleanup
>  - run the unit tests of rustc
>  - propose a pull request to rust dev
> 
> Thanks.
> -- 
> Sébastien Marie



[UPDATE] devel/p5-Test-Exception to 0.36

2015-01-18 Thread Andrew Fresh
Also a change just for portroach, but while I wait for p5-DBIx-Class
tests to run yet again this is in the dependency list so gets picked up.

https://metacpan.org/changes/distribution/Test-Exception

OK?

Index: Makefile
===
RCS file: /cvs/ports/devel/p5-Test-Exception/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- Makefile10 Nov 2014 01:27:12 -  1.16
+++ Makefile18 Jan 2015 23:04:37 -
@@ -2,7 +2,7 @@
 
 COMMENT =  test functions for exception based code
 
-DISTNAME = Test-Exception-0.35
+DISTNAME = Test-Exception-0.36
 CATEGORIES =   devel
 MODULES =  cpan
 
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-Test-Exception/distinfo,v
retrieving revision 1.10
diff -u -p -r1.10 distinfo
--- distinfo10 Nov 2014 01:27:12 -  1.10
+++ distinfo18 Jan 2015 23:04:37 -
@@ -1,2 +1,2 @@
-SHA256 (Test-Exception-0.35.tar.gz) = 
qEtx37phjXbJQ+MzItDiYD7k+afkOJhwrXJzlr+HjSo=
-SIZE (Test-Exception-0.35.tar.gz) = 15058
+SHA256 (Test-Exception-0.36.tar.gz) = 
swv1h/22kE6dz9ayEpbqfyl1wsQBkUiz5CHgdXWN/P4=
+SIZE (Test-Exception-0.36.tar.gz) = 18694



[UPDATE] devel/p5-Test-Deep to 0.115

2015-01-18 Thread Andrew Fresh
A simple update to p5-Test-Deep, really only to make portroach happy.

https://metacpan.org/changes/distribution/Test-Deep

OK?

Index: Makefile
===
RCS file: /cvs/ports/devel/p5-Test-Deep/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- Makefile22 Dec 2014 07:39:19 -  1.15
+++ Makefile18 Jan 2015 23:04:17 -
@@ -2,7 +2,7 @@
 
 COMMENT =  flexible deep comparison
 
-DISTNAME = Test-Deep-0.114
+DISTNAME = Test-Deep-0.115
 CATEGORIES =   devel
 MODULES =  cpan
 
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-Test-Deep/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo22 Dec 2014 07:39:19 -  1.8
+++ distinfo18 Jan 2015 23:04:17 -
@@ -1,2 +1,2 @@
-SHA256 (Test-Deep-0.114.tar.gz) = wOHLUGeM1mMmwn55JCN7EaKREOgijBmbPkLuw/ch2Sc=
-SIZE (Test-Deep-0.114.tar.gz) = 37986
+SHA256 (Test-Deep-0.115.tar.gz) = Dy9dQeTERUsB3t8/p1PNUQAbFuUzZwLhssWyBqG9w5w=
+SIZE (Test-Deep-0.115.tar.gz) = 38038



Re: py-setuptools

2015-01-18 Thread Jason Tubnor
Done that and I have already made an update patch but since it was
quite some revisions behind, I thought there might have been some
reason.

I'll post a diff shortly and the list can decide what they want to do with it.

Thanks!

On 19 January 2015 at 10:12, Dmitrij D. Czarkoff  wrote:
> Jason Tubnor said:
>> What is the history on holding back py-setuptools to 3.4.4 ?
>
> $ grep MAINTAINER devel/py-setuptools/Makefile
> $
>
> --
> Dmitrij D. Czarkoff



-- 
"Roads?  Where we're going, we don't need roads" - Dr. Emmett "Doc" Brown



UPDATE: math/p5-Math-Base36

2015-01-18 Thread Mikolaj Kucharski
Hi,

Simple update to 0.13. Upstream Changes file says:

0.13 2015-01-17
 - handle large base-10 numbers when encoding (GH #2)


Regress tests pass on i386.



Index: Makefile
===
RCS file: /cvs/ports/math/p5-Math-Base36/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile18 Apr 2013 23:44:51 -  1.8
+++ Makefile18 Jan 2015 23:11:02 -
@@ -3,7 +3,7 @@
 COMMENT =  encoding and decoding of base36 strings
 
 MODULES =  cpan
-DISTNAME = Math-Base36-0.12
+DISTNAME = Math-Base36-0.13
 CATEGORIES =   math
 
 MAINTAINER =   Mikolaj Kucharski 
Index: distinfo
===
RCS file: /cvs/ports/math/p5-Math-Base36/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo18 Apr 2013 23:44:51 -  1.3
+++ distinfo18 Jan 2015 23:11:02 -
@@ -1,2 +1,2 @@
-SHA256 (Math-Base36-0.12.tar.gz) = z8YxLxU+yTD9BBcv3H2jAeGJbNHa5C5he+DLDeHP3xc=
-SIZE (Math-Base36-0.12.tar.gz) = 20272
+SHA256 (Math-Base36-0.13.tar.gz) = JheoigH2EJvt7AAdg+ZcH4iua31KnsIIrPTuTmopBYk=
+SIZE (Math-Base36-0.13.tar.gz) = 20368


-- 
best regards
q#



Re: py-setuptools

2015-01-18 Thread Dmitrij D. Czarkoff
Jason Tubnor said:
> What is the history on holding back py-setuptools to 3.4.4 ?

$ grep MAINTAINER devel/py-setuptools/Makefile 
$

-- 
Dmitrij D. Czarkoff



Re: minidlna media db. refresh

2015-01-18 Thread LÉVAI Dániel
On v, jan 18, 2015 at 19:57:44 +, Stuart Henderson wrote:
> On 2015/01/18 19:10, David Coppa wrote:
> > On Sun, Jan 18, 2015 at 6:38 PM, Stuart Henderson  wrote:
> > > On 2015/01/18 17:42, LÉVAI Dániel wrote:
> > >> Hi!
> > >>
> > >> Has anyone ever had a problem with minidlna not refreshing its media
> > >> library automatically (on -current)?
> > >
> > > That's expected.
> > >
> > >> Does this only work on Linux w/ inotify?
> > >
> > > yep.
> > 
> > Daniel, maybe you could investigate if devel/libinotify is good enough for 
> > it.

Yeah, I got it compiled, but the first thing was a segfault, and I
didn't even bother to dig deeper after I read sthen@'s mail about a
patch to support kqueue/kevent in FreeBSD's ports tree :-) Also, it
seems with libinotify's lib installed in an unusual place (lib/inotify),
one would had to start minidlnad with LD_LIBRARY_FLAGS set -- but of
course, I may be incorrect.

> It might be better to look at the kqueue patch that FreeBSD are using.

Now this seems to work for me on i386, at least. It applied almost
clean, but I've taken the liberty and removed the whitespace-only
changes from FreeBSD's diff(s). I'll be honest, it got a bit slower, but
this could very well be because of my rusty hard drives.

Here is my diff:


Index: Makefile
===
RCS file: /cvs/ports/multimedia/minidlna/Makefile,v
retrieving revision 1.10
diff -p -u -r1.10 Makefile
--- Makefile3 Sep 2014 21:15:43 -   1.10
+++ Makefile18 Jan 2015 22:45:10 -
@@ -3,6 +3,7 @@
 COMMENT=   lightweight DLNA/UPnP-AV media server
 
 V= 1.1.4
+REVISION=  0
 DISTNAME=  minidlna-$V
 PKGNAME=   minidlna-$V
 
@@ -34,9 +35,15 @@ LIB_DEPENDS= audio/flac \
graphics/jpeg \
graphics/libexif
 
+AUTOCONF_VERSION= 2.69
+AUTOMAKE_VERSION= 1.14
+
 NO_TEST=   Yes
 E= ${PREFIX}/share/examples/minidlna
 
+post-patch:
+   @cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
+   AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ./autogen.sh
 post-install:
${INSTALL_DATA_DIR} $E
${INSTALL_DATA} ${WRKSRC}/minidlna.conf $E
Index: patches/patch-configure_ac
===
RCS file: patches/patch-configure_ac
diff -N patches/patch-configure_ac
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-configure_ac  18 Jan 2015 22:45:10 -
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- configure.ac.orig  Tue Aug 26 23:09:22 2014
 configure.ac   Sun Jan 18 22:45:07 2015
+@@ -481,7 +481,7 @@ AC_CHECK_LIB(vorbisfile, vorbis_comment_query,
+ 

+ ### Header checks
+ 
+-AC_CHECK_HEADERS([arpa/inet.h asm/unistd.h endian.h machine/endian.h fcntl.h 
libintl.h locale.h netdb.h netinet/in.h stddef.h stdlib.h string.h sys/file.h 
sys/inotify.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h unistd.h])
++AC_CHECK_HEADERS([arpa/inet.h asm/unistd.h endian.h machine/endian.h fcntl.h 
libintl.h locale.h netdb.h netinet/in.h stddef.h stdlib.h string.h sys/file.h 
sys/inotify.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h unistd.h 
sys/event.h])
+ 
+ AC_CHECK_FUNCS(inotify_init, AC_DEFINE(HAVE_INOTIFY,1,[Whether kernel has 
inotify support]), [
+ AC_MSG_CHECKING([for __NR_inotify_init syscall])
Index: patches/patch-inotify_c
===
RCS file: patches/patch-inotify_c
diff -N patches/patch-inotify_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-inotify_c 18 Jan 2015 22:45:10 -
@@ -0,0 +1,569 @@
+$OpenBSD$
+--- inotify.c.orig Sun Jan 18 22:45:24 2015
 inotify.c  Sun Jan 18 22:45:27 2015
+@@ -15,9 +15,9 @@
+  * You should have received a copy of the GNU General Public License
+  * along with MiniDLNA. If not, see .
+  */
+ #include "config.h"
+ 
+-#ifdef HAVE_INOTIFY
++#if defined(HAVE_INOTIFY) || defined(HAVE_SYS_EVENT_H)
+ #include 
+ #include 
+ #include 
+@@ -31,11 +31,16 @@
+ #include 
+ #include 
+ #include 
++#ifdef HAVE_INOTIFY
+ #ifdef HAVE_SYS_INOTIFY_H
+ #include 
+-#else
++#else /*HAVE_SYS_INOTIFY_H*/
+ #include "linux/inotify.h"
+ #include "linux/inotify-syscalls.h"
++#endif /*HAVE_SYS_INOTIFY_H*/
++#else
++#include 
++#include 
+ #endif
+ #include "libav.h"
+ 
+@@ -49,11 +54,13 @@
+ #include "playlist.h"
+ #include "log.h"
+ 
++#ifdef HAVE_INOTIFY
+ #define EVENT_SIZE  ( sizeof (struct inotify_event) )
+ #define BUF_LEN ( 1024 * ( EVENT_SIZE + 16 ) )
+ #define DESIRED_WATCH_LIMIT 65536
+ 
+ #define PATH_BUF_SIZE PATH_MAX
++#endif
+ 
+ struct watch
+ {
+@@ -86,13 +93,35 @@ add_watch(int fd, const char * path)
+   struct watch *nw;
+   int wd;
+ 
++#ifdef HAVE_INOTIFY
+   wd = inotify_add_watch(fd, path, 
IN_CREATE|IN_CLOSE_WRITE|IN_DELETE|IN_MOVE);
+   if( wd < 0 )
+  

py-setuptools

2015-01-18 Thread Jason Tubnor
Hi,

What is the history on holding back py-setuptools to 3.4.4 ?
Portroach is stating that the latest is 12.0.1
http://portroach.openbsd.org/the%20openbsd%20ports%20mailing-list%20%3cpo...@openbsd.org%3E.html

Reason:  I am working on a port of nikola (http://getnikola.com) which
has a few dependencies (other ports I need to do as well) but one of
the dependencies is setuptools being >= 5.4.1

Thanks,

Jason.



NEW: www/p5-Dancer2-Plugin-Database

2015-01-18 Thread Cesare Gargano
Hi ports@!

A Dancer2 plugin. Tests pass on amd64.

-
pkg/DESCR:
Dancer2 plugin which provides an easy way to obtain a connected DBI database
handle by simply calling the database keyword within your application.

Comments? OK?

Attached its dep, www/p5-Dancer-Plugin-Database-Core

--
C.


p5-Dancer2-Plugin-Database.tgz
Description: GNU Zip compressed data


p5-Dancer-Plugin-Database-Core.tgz
Description: GNU Zip compressed data


NEW: www/p5-Dancer2-Plugin-Ajax

2015-01-18 Thread Cesare Gargano
Hi ports@!

A Dancer2 plugin. Tests pass on amd64.

-
pkg/DESCR:
Dancer2 plugin which allow to define a route handler optimized for
Ajax queries.


p5-Dancer2-Plugin-Ajax.tgz
Description: GNU Zip compressed data


NEW: www/p5-Dancer2-Plugin-DBIC

2015-01-18 Thread Cesare Gargano
Hi ports@!

A Dancer2 plugin. Tests pass on amd64.

-
pkg/DESCR:
Dancer2 plugin which makes very easy to create applications that interface
with databases. It automatically exports the keyword schema which returns a
DBIx::Class::Schema object.

Comments? OK?

--
C.


p5-Dancer2-Plugin-DBIC.tgz
Description: GNU Zip compressed data


NEW: www/p5-Dancer2-Plugin-Auth-Tiny

2015-01-18 Thread Cesare Gargano
Hi ports@!

A Dancer2 plugin. Tests pass on amd64.

-
pkg/DESCR:
Dancer2 plugin which provides an extremely simple way of requiring that a
user be logged in before allowing access to certain routes.

Comments? OK?

--
C.


p5-Dancer2-Plugin-Auth-Tiny.tgz
Description: GNU Zip compressed data


Re: Ports not connected to the tree

2015-01-18 Thread Vadim Zhukov
2015-01-19 0:01 GMT+03:00 Christian Weisgerber :
> My distinfo cleanup has uncovered a number of ports that aren't hooked
> up to the category Makefiles in the tree, i.e., they are never built
> in bulk builds.  I can't quite tell if people forgot to add them or
> forgot to remove them.
>
> Here's the list, along with the committer most likely to know
> (also bcc'ed):
>
> databases/keximdb   zhuk

Space eater neutralized.

--
  WBR,
  Vadim Zhukov



Re: Switch textproc/catdoc to MULTI_PACKAGES

2015-01-18 Thread Dmitrij D. Czarkoff
Updated diff with wording fix (suggested off-list).  Anyone willing to
OK/commit?

-- 
Dmitrij D. Czarkoff

Index: Makefile
===
RCS file: /var/cvs/ports/textproc/catdoc/Makefile,v
retrieving revision 1.33
diff -u -p -r1.33 Makefile
--- Makefile11 Mar 2013 11:42:40 -  1.33
+++ Makefile18 Jan 2015 19:01:05 -
@@ -1,9 +1,14 @@
 # $OpenBSD: Makefile,v 1.33 2013/03/11 11:42:40 espie Exp $
 
-COMMENT=   MS Word, Excel, Powerpoint ==> ASCII or TeX
+COMMENT-main=  convert MS Word, Excel, Powerpoint to ASCII or TeX
+COMMENT-tk=viewer for MS Word files
 
-DISTNAME=  catdoc-0.94.2
-REVISION=  3
+V= 0.94.2
+DISTNAME=  catdoc-$V
+PKGNAME-main=  catdoc-$V
+PKGNAME-tk=wordview-$V
+PKG_ARCH-tk=   *
+REVISION=  4
 CATEGORIES=textproc
 MASTER_SITES=  http://ftp.wagner.pp.ru/pub/catdoc/
 
@@ -12,18 +17,22 @@ HOMEPAGE=   http://wagner.pp.ru/~vitus/sof
 # GPLv2
 PERMIT_PACKAGE_CDROM=  Yes
 
-WANTLIB=   c m
-
-FLAVORS=   tk
+MULTI_PACKAGES=-main
+PSEUDO_FLAVORS=no_x11
 FLAVOR?=
 
-.if ${FLAVOR:Mtk}
-MODULES=   x11/tk
-RUN_DEPENDS=   ${MODTK_RUN_DEPENDS}
-CONFIGURE_ARGS+=--with-wish=${MODTK_BIN}
-.else
+WANTLIB-main=  c m
+
+.if ${FLAVOR:Mno_x11}
 CONFIGURE_ARGS+=--disable-wordview
+.else
+MULTI_PACKAGES+=-tk
+CONFIGURE_ARGS+=--with-wish=${MODTK_BIN}
 .endif
+
+MODULES-tk=x11/tk
+RUN_DEPENDS-tk=textproc/catdoc,-main \
+   ${MODTK_RUN_DEPENDS}
 
 CONFIGURE_STYLE=gnu dest
 
Index: pkg/DESCR
===
RCS file: pkg/DESCR
diff -N pkg/DESCR
--- pkg/DESCR   27 Oct 2006 20:41:47 -  1.5
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,13 +0,0 @@
-catdoc is a program for viewing MS Word documents. It produces plain
-text output and can optionally convert non-standard characters into 
-TeX control sequences.
-
-xls2csv is a program which converts an MS Excel spreadsheet into a
-comma-separated value file.
-
-catppt is a utility to extract textual information from MS Powerpoint
-files.
-
-Flavors:
-tk - a Tcl/Tk GUI frontend to catdoc for viewing MS Word
- documents
Index: pkg/DESCR-main
===
RCS file: pkg/DESCR-main
diff -N pkg/DESCR-main
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/DESCR-main  18 Jan 2015 18:36:48 -
@@ -0,0 +1,11 @@
+catdoc is a program for viewing MS Word documents. It produces plain
+text output and can optionally convert non-standard characters into 
+TeX control sequences.
+
+xls2csv is a program which converts an MS Excel spreadsheet into a
+comma-separated value file.
+
+catppt is a utility to extract textual information from MS Powerpoint
+files.
+
+Tcl/Tk-based user interface for catdoc is provided in "wordview" package.
Index: pkg/DESCR-tk
===
RCS file: pkg/DESCR-tk
diff -N pkg/DESCR-tk
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/DESCR-tk18 Jan 2015 14:56:08 -
@@ -0,0 +1 @@
+a Tcl/Tk GUI frontend to catdoc for viewing MS Word documents
Index: pkg/MESSAGE-main
===
RCS file: pkg/MESSAGE-main
diff -N pkg/MESSAGE-main
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/MESSAGE-main18 Jan 2015 19:00:09 -
@@ -0,0 +1,2 @@
+"tk" flavor of catdoc was dropped in favor of separate "wordview" subpackage,
+which has to be installed explicitly.
Index: pkg/PFRAG.tk
===
RCS file: pkg/PFRAG.tk
diff -N pkg/PFRAG.tk
--- pkg/PFRAG.tk27 Oct 2006 20:41:47 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,3 +0,0 @@
-@comment $OpenBSD: PFRAG.tk,v 1.2 2006/10/27 20:41:47 steven Exp $
-bin/wordview
-@man man/man1/wordview.1
Index: pkg/PLIST
===
RCS file: pkg/PLIST
diff -N pkg/PLIST
--- pkg/PLIST   26 Aug 2012 17:41:17 -  1.5
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,59 +0,0 @@
-@comment $OpenBSD: PLIST,v 1.5 2012/08/26 17:41:17 stu Exp $
-@bin bin/catdoc
-@bin bin/catppt
-@bin bin/xls2csv
-@man man/man1/catdoc.1
-@man man/man1/catppt.1
-@man man/man1/xls2csv.1
-share/catdoc/
-share/catdoc/8859-1.txt
-share/catdoc/8859-10.txt
-share/catdoc/8859-11.txt
-share/catdoc/8859-13.txt
-share/catdoc/8859-14.txt
-share/catdoc/8859-15.txt
-share/catdoc/8859-2.txt
-share/catdoc/8859-3.txt
-share/catdoc/8859-4.txt
-share/catdoc/8859-5.txt
-share/catdoc/8859-6.txt
-share/catdoc/8859-7.txt
-share/catdoc/8859-8.txt
-share/catdoc/8859-9.txt
-share/catdoc/ascii.replchars
-share/catdoc/ascii.specchars
-share/catdoc/cp1250.txt
-share/catdoc/cp1251.txt
-share/catdoc/cp1252.txt
-share/catdoc/cp1253.txt
-share/catdoc/cp1254.txt
-share/catdoc/cp1255.txt
-share/catdoc/cp1256.txt
-share/catdoc/cp1257.txt
-share/catdoc/cp1

Re: Ports not connected to the tree

2015-01-18 Thread Robert Nagy
emulators/fedora/sdl is marked as BROKEN, and can probably
be removed.

On (2015-01-18 22:01), Christian Weisgerber wrote:
> My distinfo cleanup has uncovered a number of ports that aren't hooked
> up to the category Makefiles in the tree, i.e., they are never built
> in bulk builds.  I can't quite tell if people forgot to add them or
> forgot to remove them.
> 
> Here's the list, along with the committer most likely to know
> (also bcc'ed):
> 
> databases/keximdb   zhuk
> devel/p5-POE-Component-Syndicator   jasper
> emulators/fedora/sdlrobert
> graphics/libungif   sthen
> net/p5-POE-Component-Resolver   jasper
> x11/gnustep/libobjc1sebastia
> 
> --
> Christian "naddy" Weisgerber  na...@mips.inka.de
> 



Re: Ports not connected to the tree

2015-01-18 Thread Stuart Henderson
On 2015/01/18 22:01, Christian Weisgerber wrote:
> My distinfo cleanup has uncovered a number of ports that aren't hooked
> up to the category Makefiles in the tree, i.e., they are never built
> in bulk builds.  I can't quite tell if people forgot to add them or
> forgot to remove them.
> 
> Here's the list, along with the committer most likely to know
> (also bcc'ed):
> 
> databases/keximdb   zhuk
> devel/p5-POE-Component-Syndicator   jasper
> emulators/fedora/sdlrobert
> graphics/libungif   sthen

This was "forgot to remove", now fixed.

> net/p5-POE-Component-Resolver   jasper
> x11/gnustep/libobjc1sebastia
> 
> --
> Christian "naddy" Weisgerber  na...@mips.inka.de



Ports not connected to the tree

2015-01-18 Thread Christian Weisgerber
My distinfo cleanup has uncovered a number of ports that aren't hooked
up to the category Makefiles in the tree, i.e., they are never built
in bulk builds.  I can't quite tell if people forgot to add them or
forgot to remove them.

Here's the list, along with the committer most likely to know
(also bcc'ed):

databases/keximdb   zhuk
devel/p5-POE-Component-Syndicator   jasper
emulators/fedora/sdlrobert
graphics/libungif   sthen
net/p5-POE-Component-Resolver   jasper
x11/gnustep/libobjc1sebastia

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



Re: [UPDATE] net/icecast 2.4.0 => 2.4.1

2015-01-18 Thread Eric Lalonde

On Jan 18, 2015, at 10:31 AM, David Coppa  wrote:

> On Sun, Jan 18, 2015 at 12:44 AM, Eric Lalonde  
> wrote:
>> Hi ports@,
>> 
>> Icecast has been updated to to 2.4.1. Changes include explicitly disabling 
>> SSL, SSLv3 compression and setting default ciphers to be more secure.
>> 
>> Changelog is here: http://icecast.org/docs/icecast-2.4.1/changes.html
>> 
>> Tested on i386 and amd64.
>> 
>> This software currently has no maintainer; I am offering to be maintainer, 
>> which this diff reflects.
>> 
> 
> The "V=2.4.1" variable only used once for the distfile name is
> useless, keep the version number in the distname as it was before.
> 
> The rest looks ok to me.
> 
> ciao,
> David


Done. OK?



icecast-2.4.1.diff
Description: Binary data


Re: UPDATE: net/weechat to 1.1

2015-01-18 Thread Henrik Friedrichsen
Ping?



Re: new port: devel/csmith

2015-01-18 Thread Daniel Dickman
WANTLIB in the port should actually be:

-WANTLIB+=  c util z
+WANTLIB+=  c m stdc++

On Sun, Jan 18, 2015 at 3:03 PM, Daniel Dickman  wrote:
> Here's a port for csmith: a C compiler fuzzer. Ok to import?
>
> $ pkg_info csmith
> Information for inst:csmith-2.2.0
>
> Comment:
> fuzzer for C compilers
>
> Description:
> Csmith is a tool that can generate random C programs that statically
> and dynamically conform to the C99 standard. It is useful for
> stress-testing compilers, static analyzers, and other tools that
> process C code. Csmith has found bugs in every tool that it has
> tested, and we have used it to find and report more than 400
> previously-unknown compiler bugs.
>
> Maintainer: Daniel Dickman 
>
> WWW: http://embed.cs.utah.edu/csmith/
>
>



new port: devel/csmith

2015-01-18 Thread Daniel Dickman
Here's a port for csmith: a C compiler fuzzer. Ok to import?

$ pkg_info csmith
Information for inst:csmith-2.2.0

Comment:
fuzzer for C compilers

Description:
Csmith is a tool that can generate random C programs that statically
and dynamically conform to the C99 standard. It is useful for
stress-testing compilers, static analyzers, and other tools that
process C code. Csmith has found bugs in every tool that it has
tested, and we have used it to find and report more than 400
previously-unknown compiler bugs.

Maintainer: Daniel Dickman 

WWW: http://embed.cs.utah.edu/csmith/




csmith.tgz
Description: Binary data


Re: minidlna media db. refresh

2015-01-18 Thread Stuart Henderson
On 2015/01/18 19:10, David Coppa wrote:
> On Sun, Jan 18, 2015 at 6:38 PM, Stuart Henderson  wrote:
> > On 2015/01/18 17:42, LÉVAI Dániel wrote:
> >> Hi!
> >>
> >> Has anyone ever had a problem with minidlna not refreshing its media
> >> library automatically (on -current)?
> >
> > That's expected.
> >
> >> Does this only work on Linux w/ inotify?
> >
> > yep.
> 
> Daniel, maybe you could investigate if devel/libinotify is good enough for it.

It might be better to look at the kqueue patch that FreeBSD are using.




Re: minidlna media db. refresh

2015-01-18 Thread Rafael Sadowski
On Sun Jan 18, 2015 at 05:42:05PM +0100, LÉVAI Dániel wrote:
> Hi!
> 
> Has anyone ever had a problem with minidlna not refreshing its media
> library automatically (on -current)?
> Does this only work on Linux w/ inotify?
> 
> 
> Daniel
> 
> -- 
> LÉVAI Dániel
> PGP key ID = 0x83B63A8F
> Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F

Workaround:

sudo rm -f /var/db/minidlna/files.db &&  sudo rcctl restart minidlna



Re: Switch textproc/catdoc to MULTI_PACKAGES

2015-01-18 Thread Dmitrij D. Czarkoff
Stuart Henderson said:
> I think you'll need to add "@pkgpath textproc/catdoc" and "@pkgpath
> textproc/catdoc,tk" to PLIST-main to allow the new package to replace
> the old one (because PKGPATH changes due to it now being subpackaged).

Yes, update from catdoc-0.94.2p3-tk to catdoc-0.94.2p4 now works
smoothly on my machine.

> The only other thing I'd suggest is a quick mention of the new
> wordview package in DESCR-main.

I've added a mention.

I also added an install message for catdoc, saying that wordview is now
a separate package.

-- 
Dmitrij D. Czarkoff

Index: Makefile
===
RCS file: /var/cvs/ports/textproc/catdoc/Makefile,v
retrieving revision 1.33
diff -u -p -r1.33 Makefile
--- Makefile11 Mar 2013 11:42:40 -  1.33
+++ Makefile18 Jan 2015 19:01:05 -
@@ -1,9 +1,14 @@
 # $OpenBSD: Makefile,v 1.33 2013/03/11 11:42:40 espie Exp $
 
-COMMENT=   MS Word, Excel, Powerpoint ==> ASCII or TeX
+COMMENT-main=  MS Word, Excel, Powerpoint ==> ASCII or TeX
+COMMENT-tk=viewer for MS Word files
 
-DISTNAME=  catdoc-0.94.2
-REVISION=  3
+V= 0.94.2
+DISTNAME=  catdoc-$V
+PKGNAME-main=  catdoc-$V
+PKGNAME-tk=wordview-$V
+PKG_ARCH-tk=   *
+REVISION=  4
 CATEGORIES=textproc
 MASTER_SITES=  http://ftp.wagner.pp.ru/pub/catdoc/
 
@@ -12,18 +17,22 @@ HOMEPAGE=   http://wagner.pp.ru/~vitus/sof
 # GPLv2
 PERMIT_PACKAGE_CDROM=  Yes
 
-WANTLIB=   c m
-
-FLAVORS=   tk
+MULTI_PACKAGES=-main
+PSEUDO_FLAVORS=no_x11
 FLAVOR?=
 
-.if ${FLAVOR:Mtk}
-MODULES=   x11/tk
-RUN_DEPENDS=   ${MODTK_RUN_DEPENDS}
-CONFIGURE_ARGS+=--with-wish=${MODTK_BIN}
-.else
+WANTLIB-main=  c m
+
+.if ${FLAVOR:Mno_x11}
 CONFIGURE_ARGS+=--disable-wordview
+.else
+MULTI_PACKAGES+=-tk
+CONFIGURE_ARGS+=--with-wish=${MODTK_BIN}
 .endif
+
+MODULES-tk=x11/tk
+RUN_DEPENDS-tk=textproc/catdoc,-main \
+   ${MODTK_RUN_DEPENDS}
 
 CONFIGURE_STYLE=gnu dest
 
Index: pkg/DESCR
===
RCS file: pkg/DESCR
diff -N pkg/DESCR
--- pkg/DESCR   27 Oct 2006 20:41:47 -  1.5
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,13 +0,0 @@
-catdoc is a program for viewing MS Word documents. It produces plain
-text output and can optionally convert non-standard characters into 
-TeX control sequences.
-
-xls2csv is a program which converts an MS Excel spreadsheet into a
-comma-separated value file.
-
-catppt is a utility to extract textual information from MS Powerpoint
-files.
-
-Flavors:
-tk - a Tcl/Tk GUI frontend to catdoc for viewing MS Word
- documents
Index: pkg/DESCR-main
===
RCS file: pkg/DESCR-main
diff -N pkg/DESCR-main
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/DESCR-main  18 Jan 2015 18:36:48 -
@@ -0,0 +1,11 @@
+catdoc is a program for viewing MS Word documents. It produces plain
+text output and can optionally convert non-standard characters into 
+TeX control sequences.
+
+xls2csv is a program which converts an MS Excel spreadsheet into a
+comma-separated value file.
+
+catppt is a utility to extract textual information from MS Powerpoint
+files.
+
+Tcl/Tk-based user interface for catdoc is provided in "wordview" package.
Index: pkg/DESCR-tk
===
RCS file: pkg/DESCR-tk
diff -N pkg/DESCR-tk
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/DESCR-tk18 Jan 2015 14:56:08 -
@@ -0,0 +1 @@
+a Tcl/Tk GUI frontend to catdoc for viewing MS Word documents
Index: pkg/MESSAGE-main
===
RCS file: pkg/MESSAGE-main
diff -N pkg/MESSAGE-main
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/MESSAGE-main18 Jan 2015 19:00:09 -
@@ -0,0 +1,2 @@
+"tk" flavor of catdoc was dropped in favor of separate "wordview" subpackage,
+which has to be installed explicitly.
Index: pkg/PFRAG.tk
===
RCS file: pkg/PFRAG.tk
diff -N pkg/PFRAG.tk
--- pkg/PFRAG.tk27 Oct 2006 20:41:47 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,3 +0,0 @@
-@comment $OpenBSD: PFRAG.tk,v 1.2 2006/10/27 20:41:47 steven Exp $
-bin/wordview
-@man man/man1/wordview.1
Index: pkg/PLIST
===
RCS file: pkg/PLIST
diff -N pkg/PLIST
--- pkg/PLIST   26 Aug 2012 17:41:17 -  1.5
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,59 +0,0 @@
-@comment $OpenBSD: PLIST,v 1.5 2012/08/26 17:41:17 stu Exp $
-@bin bin/catdoc
-@bin bin/catppt
-@bin bin/xls2csv
-@man man/man1/catdoc.1
-@man man/man1/catppt.1
-@man man/man1/xls2csv.1
-share/catdoc/
-share/catdoc/8859-1.txt
-share/catdoc/8859-10.txt
-share/catdoc/8859-11.txt
-share/catdoc/8859-13.txt
-share/catdoc/8859-14.txt
-share/catdoc/8859-15.txt
-share/catdoc/8859-2.t

Re: [UPDATE] net/icecast 2.4.0 => 2.4.1

2015-01-18 Thread David Coppa
On Sun, Jan 18, 2015 at 12:44 AM, Eric Lalonde  wrote:
> Hi ports@,
>
> Icecast has been updated to to 2.4.1. Changes include explicitly disabling 
> SSL, SSLv3 compression and setting default ciphers to be more secure.
>
> Changelog is here: http://icecast.org/docs/icecast-2.4.1/changes.html
>
> Tested on i386 and amd64.
>
> This software currently has no maintainer; I am offering to be maintainer, 
> which this diff reflects.
>

The "V=2.4.1" variable only used once for the distfile name is
useless, keep the version number in the distname as it was before.

The rest looks ok to me.

ciao,
David



Re: minidlna media db. refresh

2015-01-18 Thread David Coppa
On Sun, Jan 18, 2015 at 6:38 PM, Stuart Henderson  wrote:
> On 2015/01/18 17:42, LÉVAI Dániel wrote:
>> Hi!
>>
>> Has anyone ever had a problem with minidlna not refreshing its media
>> library automatically (on -current)?
>
> That's expected.
>
>> Does this only work on Linux w/ inotify?
>
> yep.

Daniel, maybe you could investigate if devel/libinotify is good enough for it.

Ciao,
David
-- 
"If you try a few times and give up, you'll never get there. But if
you keep at it... There's a lot of problems in the world which can
really be solved by applying two or three times the persistence that
other people will."
-- Stewart Nelson



Re: minidlna media db. refresh

2015-01-18 Thread Stuart Henderson
On 2015/01/18 17:42, LÉVAI Dániel wrote:
> Hi!
> 
> Has anyone ever had a problem with minidlna not refreshing its media
> library automatically (on -current)?

That's expected.

> Does this only work on Linux w/ inotify?

yep.

I have set this in pkg.conf to rescan at startup:

minidlna_flags="-R"

it's appropriate for some uses but not others.



Re: Switch textproc/catdoc to MULTI_PACKAGES

2015-01-18 Thread Stuart Henderson
On 2015/01/18 18:09, Dmitrij D. Czarkoff wrote:
> Hi!
> 
> The patch below makes textproc/catdoc use MULTI_PACKAGES instead of
> FLAVORS.  As Porter's Handbook recommends, I also added PSEUDO_FLAVOR
> "no_x11" for those building packages by hand.
> 
> With MULTI_PACKAGES, "catdoc" package is pretty much the same as it is
> now, and new "wordview" package is Tk-based viewer that has only runtime
> dependencies on Tk and catdoc.
> 
> I put a conflict marker to PLIST-tk, but I don't know what exactly
> should be done to make update from catdoc-*-tk to wordview seamless.

It's not possible to handle this fully automatically with the current
quirks mechanism, it only looks at PKGNAME stems, not suffixes for
flavours.

I think you'll need to add "@pkgpath textproc/catdoc" and "@pkgpath
textproc/catdoc,tk" to PLIST-main to allow the new package to replace
the old one (because PKGPATH changes due to it now being subpackaged).
You can test that updates work correctly by building new packages
(either clean everything from /usr/ports/packages/$ARCH/all, or
move them to a new directory), run "PKG_PATH=/path/to/new/packages
pkg_add -u" and check that it updates correctly. Then pkg_delete
and test the other flavour.

The only other thing I'd suggest is a quick mention of the new
wordview package in DESCR-main.



Switch textproc/catdoc to MULTI_PACKAGES

2015-01-18 Thread Dmitrij D. Czarkoff
Hi!

The patch below makes textproc/catdoc use MULTI_PACKAGES instead of
FLAVORS.  As Porter's Handbook recommends, I also added PSEUDO_FLAVOR
"no_x11" for those building packages by hand.

With MULTI_PACKAGES, "catdoc" package is pretty much the same as it is
now, and new "wordview" package is Tk-based viewer that has only runtime
dependencies on Tk and catdoc.

I put a conflict marker to PLIST-tk, but I don't know what exactly
should be done to make update from catdoc-*-tk to wordview seamless.

-- 
Dmitrij D. Czarkoff

Index: Makefile
===
RCS file: /var/cvs/ports/textproc/catdoc/Makefile,v
retrieving revision 1.33
diff -u -p -r1.33 Makefile
--- Makefile11 Mar 2013 11:42:40 -  1.33
+++ Makefile18 Jan 2015 16:45:07 -
@@ -1,9 +1,14 @@
 # $OpenBSD: Makefile,v 1.33 2013/03/11 11:42:40 espie Exp $
 
-COMMENT=   MS Word, Excel, Powerpoint ==> ASCII or TeX
+COMMENT-main=  MS Word, Excel, Powerpoint ==> ASCII or TeX
+COMMENT-tk=viewer for MS Word files
 
-DISTNAME=  catdoc-0.94.2
-REVISION=  3
+V= 0.94.2
+DISTNAME=  catdoc-$V
+PKGNAME-main=  catdoc-$V
+PKGNAME-tk=wordview-$V
+PKG_ARCH-tk=   *
+REVISION=  4
 CATEGORIES=textproc
 MASTER_SITES=  http://ftp.wagner.pp.ru/pub/catdoc/
 
@@ -12,18 +17,22 @@ HOMEPAGE=   http://wagner.pp.ru/~vitus/sof
 # GPLv2
 PERMIT_PACKAGE_CDROM=  Yes
 
-WANTLIB=   c m
-
-FLAVORS=   tk
+MULTI_PACKAGES=-main
+PSEUDO_FLAVORS=no_x11
 FLAVOR?=
 
-.if ${FLAVOR:Mtk}
-MODULES=   x11/tk
-RUN_DEPENDS=   ${MODTK_RUN_DEPENDS}
-CONFIGURE_ARGS+=--with-wish=${MODTK_BIN}
-.else
+WANTLIB-main=  c m
+
+.if ${FLAVOR:Mno_x11}
 CONFIGURE_ARGS+=--disable-wordview
+.else
+MULTI_PACKAGES+=-tk
+CONFIGURE_ARGS+=--with-wish=${MODTK_BIN}
 .endif
+
+MODULES-tk=x11/tk
+RUN_DEPENDS-tk=textproc/catdoc,-main \
+   ${MODTK_RUN_DEPENDS}
 
 CONFIGURE_STYLE=gnu dest
 
Index: pkg/DESCR
===
RCS file: pkg/DESCR
diff -N pkg/DESCR
--- pkg/DESCR   27 Oct 2006 20:41:47 -  1.5
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,13 +0,0 @@
-catdoc is a program for viewing MS Word documents. It produces plain
-text output and can optionally convert non-standard characters into 
-TeX control sequences.
-
-xls2csv is a program which converts an MS Excel spreadsheet into a
-comma-separated value file.
-
-catppt is a utility to extract textual information from MS Powerpoint
-files.
-
-Flavors:
-tk - a Tcl/Tk GUI frontend to catdoc for viewing MS Word
- documents
Index: pkg/DESCR-main
===
RCS file: pkg/DESCR-main
diff -N pkg/DESCR-main
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/DESCR-main  18 Jan 2015 14:56:10 -
@@ -0,0 +1,9 @@
+catdoc is a program for viewing MS Word documents. It produces plain
+text output and can optionally convert non-standard characters into 
+TeX control sequences.
+
+xls2csv is a program which converts an MS Excel spreadsheet into a
+comma-separated value file.
+
+catppt is a utility to extract textual information from MS Powerpoint
+files.
Index: pkg/DESCR-tk
===
RCS file: pkg/DESCR-tk
diff -N pkg/DESCR-tk
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/DESCR-tk18 Jan 2015 14:56:08 -
@@ -0,0 +1 @@
+a Tcl/Tk GUI frontend to catdoc for viewing MS Word documents
Index: pkg/PFRAG.tk
===
RCS file: pkg/PFRAG.tk
diff -N pkg/PFRAG.tk
--- pkg/PFRAG.tk27 Oct 2006 20:41:47 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,3 +0,0 @@
-@comment $OpenBSD: PFRAG.tk,v 1.2 2006/10/27 20:41:47 steven Exp $
-bin/wordview
-@man man/man1/wordview.1
Index: pkg/PLIST
===
RCS file: pkg/PLIST
diff -N pkg/PLIST
--- pkg/PLIST   26 Aug 2012 17:41:17 -  1.5
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,59 +0,0 @@
-@comment $OpenBSD: PLIST,v 1.5 2012/08/26 17:41:17 stu Exp $
-@bin bin/catdoc
-@bin bin/catppt
-@bin bin/xls2csv
-@man man/man1/catdoc.1
-@man man/man1/catppt.1
-@man man/man1/xls2csv.1
-share/catdoc/
-share/catdoc/8859-1.txt
-share/catdoc/8859-10.txt
-share/catdoc/8859-11.txt
-share/catdoc/8859-13.txt
-share/catdoc/8859-14.txt
-share/catdoc/8859-15.txt
-share/catdoc/8859-2.txt
-share/catdoc/8859-3.txt
-share/catdoc/8859-4.txt
-share/catdoc/8859-5.txt
-share/catdoc/8859-6.txt
-share/catdoc/8859-7.txt
-share/catdoc/8859-8.txt
-share/catdoc/8859-9.txt
-share/catdoc/ascii.replchars
-share/catdoc/ascii.specchars
-share/catdoc/cp1250.txt
-share/catdoc/cp1251.txt
-share/catdoc/cp1252.txt
-share/catdoc/cp1253.txt
-share/catdoc/cp1254.txt
-share/catdoc/cp1255.txt
-share/catdoc/cp1256.txt
-share/catdoc/cp1257.txt
-share/catdoc/cp1258.txt
-share/catdoc/cp437.txt
-sha

[update] lang/go 1.4.1

2015-01-18 Thread Joel Sing
The following updates lang/go to 1.4.1 - this is basically a handful of bug
fixes and also allows us to remove the last of the patches that existed in
ports:

  https://github.com/golang/go/issues?q=milestone%3AGo1.4.1

Passes regress on 386/amd64.

ok?

Index: Makefile
===
RCS file: /cvs/ports/lang/go/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- Makefile23 Dec 2014 12:21:37 -  1.22
+++ Makefile18 Jan 2015 16:40:02 -
@@ -4,7 +4,7 @@ ONLY_FOR_ARCHS =amd64 i386
 
 COMMENT =  Go programming language
 
-VERSION =  1.4
+VERSION =  1.4.1
 EXTRACT_SUFX = .src.tar.gz
 DISTNAME = go${VERSION}
 PKGNAME =  go-${VERSION}
Index: distinfo
===
RCS file: /cvs/ports/lang/go/distinfo,v
retrieving revision 1.11
diff -u -p -r1.11 distinfo
--- distinfo23 Dec 2014 12:21:37 -  1.11
+++ distinfo18 Jan 2015 16:40:02 -
@@ -1,2 +1,2 @@
-SHA256 (go1.4.src.tar.gz) = Oun2fkWlynAEsogI2osTZ9Moo3HWQd2+Y2wPsK4P/a4=
-SIZE (go1.4.src.tar.gz) = 10911274
+SHA256 (go1.4.1.src.tar.gz) = PZuyetS+UfYNxE89ACYDbvBxQnl7HfG1roFid+bDG7M=
+SIZE (go1.4.1.src.tar.gz) = 10921282
Index: patches/patch-src_syscall_route_openbsd_go
===
RCS file: patches/patch-src_syscall_route_openbsd_go
diff -N patches/patch-src_syscall_route_openbsd_go
--- patches/patch-src_syscall_route_openbsd_go  23 Dec 2014 12:21:37 -  
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,23 +0,0 @@
-$OpenBSD: patch-src_syscall_route_openbsd_go,v 1.1 2014/12/23 12:21:37 jsing 
Exp $
 src/syscall/route_openbsd.go.orig  Thu Oct 30 12:55:40 2014
-+++ src/syscall/route_openbsd.go   Sat Nov  1 02:17:33 2014
-@@ -12,16 +12,16 @@ func (any *anyMessage) toRoutingMessage(b []byte) Rout
-   switch any.Type {
-   case RTM_ADD, RTM_DELETE, RTM_CHANGE, RTM_GET, RTM_LOSING, 
RTM_REDIRECT, RTM_MISS, RTM_LOCK, RTM_RESOLVE:
-   p := (*RouteMessage)(unsafe.Pointer(any))
--  return &RouteMessage{Header: p.Header, Data: 
b[SizeofRtMsghdr:any.Msglen]}
-+  return &RouteMessage{Header: p.Header, Data: 
b[p.Header.Hdrlen:any.Msglen]}
-   case RTM_IFINFO:
-   p := (*InterfaceMessage)(unsafe.Pointer(any))
--  return &InterfaceMessage{Header: p.Header, Data: 
b[SizeofIfMsghdr:any.Msglen]}
-+  return &InterfaceMessage{Header: p.Header, Data: 
b[p.Header.Hdrlen:any.Msglen]}
-   case RTM_IFANNOUNCE:
-   p := (*InterfaceAnnounceMessage)(unsafe.Pointer(any))
-   return &InterfaceAnnounceMessage{Header: p.Header}
-   case RTM_NEWADDR, RTM_DELADDR:
-   p := (*InterfaceAddrMessage)(unsafe.Pointer(any))
--  return &InterfaceAddrMessage{Header: p.Header, Data: 
b[SizeofIfaMsghdr:any.Msglen]}
-+  return &InterfaceAddrMessage{Header: p.Header, Data: 
b[p.Header.Hdrlen:any.Msglen]}
-   }
-   return nil
- }

-- 

"Action without study is fatal. Study without action is futile."
-- Mary Ritter Beard



minidlna media db. refresh

2015-01-18 Thread LÉVAI Dániel
Hi!

Has anyone ever had a problem with minidlna not refreshing its media
library automatically (on -current)?
Does this only work on Linux w/ inotify?


Daniel

-- 
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F



Re: NEW: www/p5-Dancer2

2015-01-18 Thread Benoit Lecocq
On 01/18/15 01:51, Andrew Fresh wrote:
> On Thu, Jan 08, 2015 at 07:35:06PM +0100, Cesare Gargano wrote:
>> Hi ports@!
>>
>> pkg/DESCR:
>> Dancer2 is the new generation of Dancer, the lightweight web-framework for
>> Perl. Dancer2 is a complete rewrite based on Moo.
>>
>> Tested on i386/amd64. All deps already posted to ports@.
> 
> Once the www/p5-Plack update is committed, this is OK afresh1@
> 

Committed, thanks !



Re: UPDATE: p5-Parallel-Prefork to 0.17

2015-01-18 Thread Cesare Gargano
Hi!
I followed your comments, attached new diff using meta/Module-Install
(I created the 4 missing p5-* deps) instead of devel/p5-Module-Install.

Can we have meta/Module-Install in tree to start using it?

Thanks!

--
C.

On Sun, Jan 18, 2015 at 1:50 AM, Nigel J Taylor  wrote:
> A quick look and I need to do checks once my build completes building,
> so it's a visual inspection only...
>
> BUILD_DEPENDS = ${RUN_DEPENDS} should be kept, and
> append devel/p5-Test-Requires and the missing p5-Test-SharedFork.
>
> The configure stage then checks the presence of modules,
> and versions if given.
>
> p5-Class-Accessor-Lite>=0.04
> p5-Proc-Wait3>=0.03
>
> TEST_DEPENDS doesn't need to contain anything that is in the
> BUILD_DEPENDS, test are run on what's built p5-Test-Requires
> p5-Test-SharedFork in the BUILD_DEPENDS they are not needed in the
> TEST_DEPENDS.
>
> Looking at test test 05 this would fail if run, haven't tried but has a
> use Test::SharedFork building something else might have installed this,
> however dpb builds can junk packages that are not dependencies, and
> uninstall them.
>
> Checking the source, this uses Module::Install, that requires
> the Makefile to have a style of modinst, otherwise an old
> bundled version of Module::Install will be used rather than the ports
> version,
>
> Your find this
> inc/Module/Install/ReadmeFromPod.pm in the source.
> For that you might need the new extension package I have, for the
> modinst style to work
>
> devel/p5-Module-Install-ReadmeFromPod
>
> Using modinst style also stops the port when building from downloading
> and installing from CPAN anything that is missing such as dependencies
> or dependencies dpb junk might have removed.
>
>
>
> I have a number of ports where I switched the style to modinst, this is
> so things will be less of a problem with perl 5.22.0 and the CPAN
> download issue.
>
> I use a replacement for p5-Module-Install in perl.port.mk
>
> @@ -52,7 +52,7 @@ MODPERL_configure = ${_MODPERL_preconfig
> fi
>
>  .  if ${CONFIGURE_STYLE:L:Mmodinst}
> -BUILD_DEPENDS +=   devel/p5-Module-Install
> +BUILD_DEPENDS +=   meta/Module-Install
>
> Then installs all the Module::Install extensions, rather than
> adding each one to the ports until modinst stops failing, or creating a
> long list in perl.port.mk, there was some other problem this solved.
>
>
> # $OpenBSD: Makefile,v 1.111 2014/11/13 17:34:21 ajacoutot Exp $
>
> COMMENT=meta - module install and extensions
>
> PKGNAME=Module-Install-0.01
>
> MAINTAINER= Nigel Taylor 
>
> RUN_DEPENDS +=  devel/p5-Module-Install \
> devel/p5-Module-Install-CheckLib \
> devel/p5-Module-Install-GithubMeta \
> devel/p5-Module-Install-ReadmeFromPod \
> devel/p5-Module-Install-TestBase
>
> .include 
>
>
>
> On 01/17/15 20:58, Cesare Gargano wrote:
>> Ping
>>
>> On Thu, Jan 8, 2015 at 8:15 PM, Cesare Gargano  wrote:
>>> Hi ports@!
>>>
>>> Update to 0.17, needed for upcoming update to www/p5-Starlet.
>>>
>>> Tested on amd64.
>>>
>>> Index: Makefile
>>> ===
>>> RCS file: /cvs/ports/devel/p5-Parallel-Prefork/Makefile,v
>>> retrieving revision 1.4
>>> diff -u -r1.4 Makefile
>>> --- Makefile11 Mar 2013 10:50:20 -  1.4
>>> +++ Makefile8 Jan 2015 18:53:11 -
>>> @@ -2,20 +2,22 @@
>>>
>>>  COMMENT=   simple prefork server framework
>>>
>>> -DISTNAME=  Parallel-Prefork-0.11
>>> -REVISION=  1
>>> +MODULES=   cpan
>>> +DISTNAME=  Parallel-Prefork-0.17
>>>  CATEGORIES=devel
>>>
>>>  # Perl
>>>  PERMIT_PACKAGE_CDROM=   Yes
>>>
>>> -MODULES=   cpan
>>> +
>>> +BUILD_DEPENDS= devel/p5-Test-Requires
>>>
>>>  RUN_DEPENDS=   devel/p5-Class-Accessor-Lite \
>>> devel/p5-List-MoreUtils \
>>> +   sysutils/p5-Proc-Wait3 \
>>> devel/p5-Scope-Guard \
>>> -   sysutils/p5-Proc-Wait3
>>> -BUILD_DEPENDS= ${RUN_DEPENDS}
>>> -TEST_DEPENDS=devel/p5-Test-Requires
>>> +   devel/p5-Signal-Mask
>>> +
>>> +TEST_DEPENDS=  devel/p5-Test-Requires
>>>
>>>  .include 
>>> Index: distinfo
>>> ===
>>> RCS file: /cvs/ports/devel/p5-Parallel-Prefork/distinfo,v
>>> retrieving revision 1.1.1.1
>>> diff -u -r1.1.1.1 distinfo
>>> --- distinfo14 Jun 2011 12:13:08 -  1.1.1.1
>>> +++ distinfo8 Jan 2015 18:53:11 -
>>> @@ -1,5 +1,2 @@
>>> -MD5 (Parallel-Prefork-0.11.tar.gz) = 1Lk0fEFOfw0wcI4U4F7jpg==
>>> -RMD160 (Parallel-Prefork-0.11.tar.gz) = hjxU532Q8HFOhiYL9+JE7dJPu1s=
>>> -SHA1 (Parallel-Prefork-0.11.tar.gz) = sVYNm2IL7fBWUwtBLzWkUcgn1ms=
>>> -SHA256 (Parallel-Prefork-0.11.tar.gz) =
>>> flLnrLdQW0SBBP6cVpZDWMPSeqn1p94vGp5A65PZmrc=
>>> -SIZE (Parallel-Prefork-0.11.tar.gz) = 24782
>>> +SHA256 (Parallel-Prefork-0.17.tar.gz) =
>>> DYHeJjIoEJG9MSl

Re: [UPDATE] net/pidgin-sipe 1.18.5

2015-01-18 Thread Stuart Henderson
On 2015/01/17 22:51, Tom Doherty wrote:
> 
> Hi
> Here's an update for pidgin-sipe to 1.18.5

Hmm, the build fails for me ...

cc1: warnings being treated as errors
purple-markup.c: In function 'sipe_backend_markup_css_property':
purple-markup.c:31: warning: implicit declaration of function 
'purple_markup_get_css_property'
purple-markup.c:31: warning: nested extern declaration of 
'purple_markup_get_css_property'
purple-markup.c:31: warning: return makes pointer from integer without a cast
purple-markup.c: In function 'sipe_backend_markup_strip_html':
purple-markup.c:36: warning: implicit declaration of function 
'purple_markup_strip_html'
purple-markup.c:36: warning: nested extern declaration of 
'purple_markup_strip_html'
purple-markup.c:36: warning: return makes pointer from integer without a cast
Error while executing cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include 
-Werror -Wall -Wextra -Waggregate-return -Wcast-align 
-Wdeclaration-after-statement -Wdeprecated-declarations -Winit-self 
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith 
-Wundef -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include -I/usr/local/include/libpurple 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include -I./../api -DLOCALEDIR="/usr/local/share/locale" -O2 -pipe 
-MT libsipe_backend_la-purple-markup.lo -MD -MP -MF 
.deps/libsipe_backend_la-purple-markup.Tpo -c purple-markup.c -fPIC -DPIC -o 
.libs/libsipe_backend_la-purple-markup.o
Makefile:926: recipe for target 'libsipe_backend_la-purple-markup.lo' failed
gmake[3]: *** [libsipe_backend_la-purple-markup.lo] Error 1