Re: UPDATE: net/profanity

2016-09-29 Thread Rafael Sadowski
On Thu Sep 29, 2016 at 11:56:02PM +0200, Theo Buehler wrote:
> On Thu, Sep 29, 2016 at 10:03:32PM +0200, Rafael Sadowski wrote:
> > Hi @ports,
> > 
> > new profanity release. Tested without issues over days. All regressions
> > test are green on amd64. Head up, you need new the libstrophe version.
> > 
> > Kind regards,
> > 
> > Rafael
> > 
> > Index: Makefile
> > ===
> > RCS file: /cvs/ports/net/profanity/Makefile,v
> > retrieving revision 1.3
> > diff -u -p -u -p -r1.3 Makefile
> > --- Makefile26 Apr 2016 09:35:38 -  1.3
> > +++ Makefile29 Sep 2016 19:50:40 -
> > @@ -1,7 +1,7 @@
> >  # $OpenBSD: Makefile,v 1.3 2016/04/26 09:35:38 sthen Exp $
> >  
> >  COMMENT =  console based XMPP client
> > -DISTNAME = profanity-0.4.7
> > +DISTNAME = profanity-0.5.0
> >  CATEGORIES =   net
> >  
> >  HOMEPAGE = http://www.profanity.im/
> > @@ -12,19 +12,24 @@ PERMIT_PACKAGE_CDROM =  Yes
> >  
> >  MASTER_SITES = http://www.profanity.im/
> >  
> > -WANTLIB += assuan c curl ereadline glib-2.0 gpg-error gpgme intl ncursesw
> > -WANTLIB += otr strophe uuid
> > +WANTLIB += assuan c crypto curl ereadline expat ffi gcrypt gdk_pixbuf-2.0
> > +WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gpg-error
> > +WANTLIB += gpgme iconv idn intl m ncursesw nghttp2 notify otr
> > +WANTLIB += pcre png pthread ssl strophe z
> 
> :(

New XEP's

> 
> 
> >  BUILD_DEPENDS +=${MODGNU_AUTOCONF_DEPENDS} \
> > ${MODGNU_AUTOMAKE_DEPENDS}
> >  
> > -LIB_DEPENDS += net/curl \
> > +LIB_DEPENDS += devel/glib2 \
> > +   devel/libnotify \
> > devel/readline>=6.1p2 \
> > -   devel/glib2 \
> > -   net/libstrophe \
> > +   graphics/gdk-pixbuf2 \
> > +   net/curl \
> > +   net/libstrophe>=0.9.1 \
> > security/gpgme \
> > security/libotr \
> > -   sysutils/e2fsprogs
> > +   sysutils/e2fsprogs \
> 
> I get this:
> 
> $ /usr/ports/infrastructure/bin/portcheck
> hardcoded paths detected in Makefile, consider using SUBST_VARS and 
> TRUEPREFIX/LOCALBASE/LOCALSTATEDIR/VARBASE
> LIB_DEPENDS sysutils/e2fsprogs not needed for net/profanity ?
> 
> I assume the former complaint is due to the sed command in post-patch.
> What about the latter?
> 

New diff:

- without e2fsprogs and nghttp2 LIB_DEPENDS
-- port-lib-depends-check looks good
- replace /usr/local with $TRUEPREFIX
- portcheck is happy again

Index: Makefile
===
RCS file: /cvs/ports/net/profanity/Makefile,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 Makefile
--- Makefile26 Apr 2016 09:35:38 -  1.3
+++ Makefile30 Sep 2016 05:52:42 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.3 2016/04/26 09:35:38 sthen Exp $
 
 COMMENT =  console based XMPP client
-DISTNAME = profanity-0.4.7
+DISTNAME = profanity-0.5.0
 CATEGORIES =   net
 
 HOMEPAGE = http://www.profanity.im/
@@ -12,19 +12,22 @@ PERMIT_PACKAGE_CDROM =  Yes
 
 MASTER_SITES = http://www.profanity.im/
 
-WANTLIB += assuan c curl ereadline glib-2.0 gpg-error gpgme intl ncursesw
-WANTLIB += otr strophe uuid
+WANTLIB += assuan c crypto curl ereadline expat ffi gcrypt gdk_pixbuf-2.0
+WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gpg-error
+WANTLIB += gpgme iconv idn intl m ncursesw nghttp2 notify otr
+WANTLIB += pcre png pthread ssl strophe z
 
 BUILD_DEPENDS +=${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS}
 
-LIB_DEPENDS += net/curl \
+LIB_DEPENDS += devel/glib2 \
+   devel/libnotify \
devel/readline>=6.1p2 \
-   devel/glib2 \
-   net/libstrophe \
+   graphics/gdk-pixbuf2 \
+   net/curl \
+   net/libstrophe>=0.9.1 \
security/gpgme \
-   security/libotr \
-   sysutils/e2fsprogs
+   security/libotr
 
 TEST_DEPENDS = devel/cmocka
 
@@ -33,8 +36,9 @@ CONFIGURE_ENV =   CPPFLAGS="-I${LOCALBASE}
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
 
 CONFIGURE_ARGS =   --with-xscreensaver=no \
-   --enable-notifications \
-   --enable-otr
+   --enable-icons=no \
+   --enable-notifications=yes \
+   --enable-otr=yes
 
 MAKE_FLAGS =   CC="${CC}" CFLAGS="${CFLAGS}"
 
@@ -45,6 +49,6 @@ AUTOMAKE_VERSION =1.11
 post-patch:
find ${WRKSRC} -type f -name "*.c" \
-exec sed -i '/stub\_ui.h/d' "{}" \;
-   sed -i s,/usr/local,${LOCALBASE}, ${WRKSRC}/configure.ac
+   sed -i s,${TRUEPREFIX},${LOCALBASE}, ${WRKSRC}/configure.ac
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/net/profanity/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo   

Re: devel/py-coverage was [UPDATE] net/gpodder 3.1.0 to 3.9.1

2016-09-29 Thread trondd
On Sat, September 17, 2016 5:00 pm, trondd wrote:
> Daniel Jakots  wrote:
>
>> On Sat, 17 Sep 2016 12:59:01 -0400, "trondd" 
>> wrote:
>>
>> Yeah, our py-coverage is lagging a bit. If you want to update it, you
>> should verify that ports that depend on it doesn't break. I can have a
>> look at it if you don't want to do the work.
>>
>> The list:
>>   RUN_DEPENDS
>> /usr/ports/audio/py-discogs-client
>> /usr/ports/devel/py-nosexcover
>> /usr/ports/devel/py-nosexcover,python3
>> /usr/ports/devel/py-test-cov
>> /usr/ports/devel/py-test-cov,python3
>>   TEST_DEPENDS
>> /usr/ports/devel/py-nose
>> /usr/ports/devel/py-nose,python3
>> /usr/ports/devel/py-nosexcover
>> /usr/ports/devel/py-nosexcover,python3
>> /usr/ports/devel/py-smmap
>> /usr/ports/net/py-oauth2
>> /usr/ports/security/py-oauthlib
>> /usr/ports/security/py-oauthlib,python3
>> /usr/ports/textproc/cdiff
>> /usr/ports/textproc/py-polib
>> /usr/ports/www/py-beaker
>> /usr/ports/www/py-pylons
>> /usr/ports/www/py-routes
>> /usr/ports/www/py-webtest
>
> Well right away py-nose failed make test.  There hasn't been a realease in
> over a year that I can find.
>

Bringing this back up as I have some time to look into it further.  Turns
out the nose 'make test' failures are expected and not a result of
updating py-coverage.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828224

I'll check the rest of the dependent ports.

Tim.



CVS: cvs.openbsd.org: ports

2016-09-29 Thread Juan Francisco Cantero Hurtado
CVSROOT:/cvs
Module name:ports
Changes by: juan...@cvs.openbsd.org 2016/09/29 20:08:52

Modified files:
textproc/the_silver_searcher: Makefile distinfo 

Log message:
Update to the_silver_searcher 0.33.0. From Florian Stinglmayr (MAINTAINER).



CVS: cvs.openbsd.org: ports

2016-09-29 Thread Juan Francisco Cantero Hurtado
CVSROOT:/cvs
Module name:ports
Changes by: juan...@cvs.openbsd.org 2016/09/29 17:49:58

Modified files:
www/aria2  : Makefile distinfo 
Added files:
www/aria2  : patch-src_Makefile_in 

Log message:
Update to aria2 1.27.1. OK gonzalo@ (MAINTAINER).



Re: UPDATE: net/libstrophe

2016-09-29 Thread Theo Buehler
On Fri, Sep 30, 2016 at 12:30:40AM +0100, Stuart Henderson wrote:
> On 2016/09/29 21:58, Rafael Sadowski wrote:
> > Hi @ports,
> > 
> > the diff below updates libstrophe to the latest stable version 0.9.1.
> > Tested with new profanity (separate diff) on amd64 over days without
> > problems. All ports regression tests are positive.
> > 
> 
> Ports-wise this is better:

Yes, this looks cleaner. Tests pass and works fine with the WIP
profanity. As soon as that is ready, this is

ok tb@

> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/net/libstrophe/Makefile,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 Makefile
> --- Makefile  25 Apr 2016 17:43:39 -  1.1.1.1
> +++ Makefile  29 Sep 2016 23:29:35 -
> @@ -1,20 +1,21 @@
>  # $OpenBSD: Makefile,v 1.1.1.1 2016/04/25 17:43:39 tb Exp $
>  
>  COMMENT =simple, lightweight XMPP C library
> -DISTNAME =   libstrophe-0.8.8
> +
> +GH_ACCOUNT = strophe
> +GH_PROJECT = libstrophe
> +GH_TAGNAME = 0.9.1
> +
> +SHARED_LIBS =strophe 1.0 # 1.0
> +
>  CATEGORIES = net devel
>  
>  HOMEPAGE =   http://strophe.im/libstrophe/
> +
>  MAINTAINER = Rafael Sadowski 
>  
>  # Dual licensed: MIT and GPLv3
>  PERMIT_PACKAGE_CDROM =   Yes
> -
> -GH_ACCOUNT = strophe
> -GH_PROJECT = libstrophe
> -GH_COMMIT =  cd92f69c76cdb93e73e8d15c3634d1b5a9eeea57
> -
> -SHARED_LIBS =   strophe 0.0 # 0.0
>  
>  WANTLIB += crypto expat ssl
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/net/libstrophe/distinfo,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 distinfo
> --- distinfo  25 Apr 2016 17:43:39 -  1.1.1.1
> +++ distinfo  29 Sep 2016 23:29:35 -
> @@ -1,2 +1,2 @@
> -SHA256 (libstrophe-0.8.8.tar.gz) = 
> ngwGRZfKUP8wiame97efH6bJom+EB1O66zw90PYEuic=
> -SIZE (libstrophe-0.8.8.tar.gz) = 128539
> +SHA256 (libstrophe-0.9.1.tar.gz) = 
> yQST+YblvUBxMsWj4XQ3jALLgPpOruKYdeBrS7pq/MM=
> +SIZE (libstrophe-0.9.1.tar.gz) = 153142
> Index: patches/patch-Makefile_am
> ===
> RCS file: patches/patch-Makefile_am
> diff -N patches/patch-Makefile_am
> --- patches/patch-Makefile_am 25 Apr 2016 17:43:39 -  1.1.1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,38 +0,0 @@
> -$OpenBSD: patch-Makefile_am,v 1.1.1.1 2016/04/25 17:43:39 tb Exp $
> -
> -remove thread.{c,h} discussed on
> -https://github.com/strophe/libstrophe/pull/72
> -
> -
>  Makefile.am.orig Tue Aug 18 23:07:06 2015
> -+++ Makefile.am  Sun Dec 20 14:39:41 2015
> -@@ -22,10 +22,10 @@ libstrophe_la_LDFLAGS += -export-symbols-regex '^xmpp_
> - libstrophe_la_SOURCES = src/auth.c src/conn.c src/ctx.c \
> - src/event.c src/handler.c src/hash.c \
> - src/jid.c src/md5.c src/sasl.c src/scram.c src/sha1.c \
> --src/snprintf.c src/sock.c src/stanza.c src/thread.c \
> -+src/snprintf.c src/sock.c src/stanza.c \
> - src/tls_openssl.c src/util.c \
> - src/common.h src/hash.h src/md5.h src/ostypes.h src/parser.h \
> --src/sasl.h src/scram.h src/sha1.h src/sock.h src/thread.h src/tls.h \
> -+src/sasl.h src/scram.h src/sha1.h src/sock.h src/tls.h \
> - src/util.h
> - 
> - if PARSER_EXPAT
> -@@ -45,13 +45,13 @@ EXTRA_DIST = docs
> - noinst_PROGRAMS = examples/active examples/roster examples/basic 
> examples/bot examples/component
> - examples_active_SOURCES = examples/active.c
> - examples_active_CFLAGS = $(STROPHE_FLAGS)
> --examples_active_LDADD = $(STROPHE_LIBS) 
> -+examples_active_LDADD = $(STROPHE_LIBS)
> - examples_roster_SOURCES = examples/roster.c
> - examples_roster_CFLAGS = $(STROPHE_FLAGS)
> --examples_roster_LDADD = $(STROPHE_LIBS) 
> -+examples_roster_LDADD = $(STROPHE_LIBS)
> - examples_basic_SOURCES = examples/basic.c
> - examples_basic_CFLAGS = $(STROPHE_FLAGS)
> --examples_basic_LDADD = $(STROPHE_LIBS) 
> -+examples_basic_LDADD = $(STROPHE_LIBS)
> - examples_bot_SOURCES = examples/bot.c
> - examples_bot_CFLAGS = $(STROPHE_FLAGS)
> - examples_bot_LDADD = $(STROPHE_LIBS)
> Index: patches/patch-configure_ac
> ===
> RCS file: patches/patch-configure_ac
> diff -N patches/patch-configure_ac
> --- patches/patch-configure_ac25 Apr 2016 17:43:39 -  1.1.1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,91 +0,0 @@
> -$OpenBSD: patch-configure_ac,v 1.1.1.1 2016/04/25 17:43:39 tb Exp $
>  configure.ac.origTue Aug 18 23:07:06 2015
> -+++ configure.ac Sun Dec 20 15:25:11 2015
> -@@ -10,13 +10,14 @@ PKG_PROG_PKG_CONFIG
> - AC_CANONICAL_HOST
> - AS_CASE([$host_os],
> -   [freebsd*], [PLATFORM="freebsd"],
> -+  [openbsd*], [PLATFORM="openbsd"],
> -   [PLATFORM="nix"])
> - 
> --PKG_CHECK_MODULES([openssl], [openssl], [PC_REQUIRES+=(openssl)],
> -+PKG_CHECK_MODULES([openssl], [openssl], [PC_REQUIRES="openssl 
> 

Re: UPDATE: net/profanity

2016-09-29 Thread Stuart Henderson
On 2016/09/29 22:03, Rafael Sadowski wrote:
> -WANTLIB += assuan c curl ereadline glib-2.0 gpg-error gpgme intl ncursesw
> -WANTLIB += otr strophe uuid
> +WANTLIB += assuan c crypto curl ereadline expat ffi gcrypt gdk_pixbuf-2.0
> +WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gpg-error
> +WANTLIB += gpgme iconv idn intl m ncursesw nghttp2 notify otr
> +WANTLIB += pcre png pthread ssl strophe z
>  
>  BUILD_DEPENDS +=${MODGNU_AUTOCONF_DEPENDS} \
>   ${MODGNU_AUTOMAKE_DEPENDS}
>  
> -LIB_DEPENDS +=   net/curl \
> +LIB_DEPENDS +=   devel/glib2 \
> + devel/libnotify \
>   devel/readline>=6.1p2 \
> - devel/glib2 \
> - net/libstrophe \
> + graphics/gdk-pixbuf2 \
> + net/curl \
> + net/libstrophe>=0.9.1 \
>   security/gpgme \
>   security/libotr \
> - sysutils/e2fsprogs
> + sysutils/e2fsprogs \
> + www/nghttp2

nghttp2 shouldn't be in LIB_DEPENDS here, it is only coming from curl
and is not used directly by profanity.



Re: UPDATE: net/libstrophe

2016-09-29 Thread Stuart Henderson
On 2016/09/29 21:58, Rafael Sadowski wrote:
> Hi @ports,
> 
> the diff below updates libstrophe to the latest stable version 0.9.1.
> Tested with new profanity (separate diff) on amd64 over days without
> problems. All ports regression tests are positive.
> 

Ports-wise this is better:

Index: Makefile
===
RCS file: /cvs/ports/net/libstrophe/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile25 Apr 2016 17:43:39 -  1.1.1.1
+++ Makefile29 Sep 2016 23:29:35 -
@@ -1,20 +1,21 @@
 # $OpenBSD: Makefile,v 1.1.1.1 2016/04/25 17:43:39 tb Exp $
 
 COMMENT =  simple, lightweight XMPP C library
-DISTNAME = libstrophe-0.8.8
+
+GH_ACCOUNT =   strophe
+GH_PROJECT =   libstrophe
+GH_TAGNAME =   0.9.1
+
+SHARED_LIBS =  strophe 1.0 # 1.0
+
 CATEGORIES =   net devel
 
 HOMEPAGE = http://strophe.im/libstrophe/
+
 MAINTAINER =   Rafael Sadowski 
 
 # Dual licensed: MIT and GPLv3
 PERMIT_PACKAGE_CDROM = Yes
-
-GH_ACCOUNT =   strophe
-GH_PROJECT =   libstrophe
-GH_COMMIT =cd92f69c76cdb93e73e8d15c3634d1b5a9eeea57
-
-SHARED_LIBS =   strophe 0.0 # 0.0
 
 WANTLIB += crypto expat ssl
 
Index: distinfo
===
RCS file: /cvs/ports/net/libstrophe/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo25 Apr 2016 17:43:39 -  1.1.1.1
+++ distinfo29 Sep 2016 23:29:35 -
@@ -1,2 +1,2 @@
-SHA256 (libstrophe-0.8.8.tar.gz) = ngwGRZfKUP8wiame97efH6bJom+EB1O66zw90PYEuic=
-SIZE (libstrophe-0.8.8.tar.gz) = 128539
+SHA256 (libstrophe-0.9.1.tar.gz) = yQST+YblvUBxMsWj4XQ3jALLgPpOruKYdeBrS7pq/MM=
+SIZE (libstrophe-0.9.1.tar.gz) = 153142
Index: patches/patch-Makefile_am
===
RCS file: patches/patch-Makefile_am
diff -N patches/patch-Makefile_am
--- patches/patch-Makefile_am   25 Apr 2016 17:43:39 -  1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,38 +0,0 @@
-$OpenBSD: patch-Makefile_am,v 1.1.1.1 2016/04/25 17:43:39 tb Exp $
-
-remove thread.{c,h} discussed on
-https://github.com/strophe/libstrophe/pull/72
-
-
 Makefile.am.orig   Tue Aug 18 23:07:06 2015
-+++ Makefile.amSun Dec 20 14:39:41 2015
-@@ -22,10 +22,10 @@ libstrophe_la_LDFLAGS += -export-symbols-regex '^xmpp_
- libstrophe_la_SOURCES = src/auth.c src/conn.c src/ctx.c \
-   src/event.c src/handler.c src/hash.c \
-   src/jid.c src/md5.c src/sasl.c src/scram.c src/sha1.c \
--  src/snprintf.c src/sock.c src/stanza.c src/thread.c \
-+  src/snprintf.c src/sock.c src/stanza.c \
-   src/tls_openssl.c src/util.c \
-   src/common.h src/hash.h src/md5.h src/ostypes.h src/parser.h \
--  src/sasl.h src/scram.h src/sha1.h src/sock.h src/thread.h src/tls.h \
-+  src/sasl.h src/scram.h src/sha1.h src/sock.h src/tls.h \
-   src/util.h
- 
- if PARSER_EXPAT
-@@ -45,13 +45,13 @@ EXTRA_DIST = docs
- noinst_PROGRAMS = examples/active examples/roster examples/basic examples/bot 
examples/component
- examples_active_SOURCES = examples/active.c
- examples_active_CFLAGS = $(STROPHE_FLAGS)
--examples_active_LDADD = $(STROPHE_LIBS) 
-+examples_active_LDADD = $(STROPHE_LIBS)
- examples_roster_SOURCES = examples/roster.c
- examples_roster_CFLAGS = $(STROPHE_FLAGS)
--examples_roster_LDADD = $(STROPHE_LIBS) 
-+examples_roster_LDADD = $(STROPHE_LIBS)
- examples_basic_SOURCES = examples/basic.c
- examples_basic_CFLAGS = $(STROPHE_FLAGS)
--examples_basic_LDADD = $(STROPHE_LIBS) 
-+examples_basic_LDADD = $(STROPHE_LIBS)
- examples_bot_SOURCES = examples/bot.c
- examples_bot_CFLAGS = $(STROPHE_FLAGS)
- examples_bot_LDADD = $(STROPHE_LIBS)
Index: patches/patch-configure_ac
===
RCS file: patches/patch-configure_ac
diff -N patches/patch-configure_ac
--- patches/patch-configure_ac  25 Apr 2016 17:43:39 -  1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,91 +0,0 @@
-$OpenBSD: patch-configure_ac,v 1.1.1.1 2016/04/25 17:43:39 tb Exp $
 configure.ac.orig  Tue Aug 18 23:07:06 2015
-+++ configure.ac   Sun Dec 20 15:25:11 2015
-@@ -10,13 +10,14 @@ PKG_PROG_PKG_CONFIG
- AC_CANONICAL_HOST
- AS_CASE([$host_os],
-   [freebsd*], [PLATFORM="freebsd"],
-+  [openbsd*], [PLATFORM="openbsd"],
-   [PLATFORM="nix"])
- 
--PKG_CHECK_MODULES([openssl], [openssl], [PC_REQUIRES+=(openssl)],
-+PKG_CHECK_MODULES([openssl], [openssl], [PC_REQUIRES="openssl 
${PC_REQUIRES}"],
- [AC_CHECK_HEADER([openssl/ssl.h],
-  [
-   openssl_LIBS="-lssl -lcrypto"
--  PC_LIBS+=($openssl_LIBS)
-+  PC_LIBS="${openssl_LIBS} ${PC_LIBS}"
-  ],
-  [AC_MSG_ERROR([openssl not found; openssl 
required])]
- 

Re: UPDATE: graphics/cadubi

2016-09-29 Thread Dmitrij D. Czarkoff
Rafael Sadowski  wrote:

>first of all, I'm not a cadubi user and only picked up because
>HOMEPAGE/MASTER_SITES are down. Changes:
>
>- Switch to github
>- Update patch
>- COMMENT at first place
>
>Tested on amd64. Funny little tool!

While at it, you might want to update it to newer version, which has a manpage
and less funky license.



Re: UPDATE: net/profanity

2016-09-29 Thread Theo Buehler
On Thu, Sep 29, 2016 at 10:03:32PM +0200, Rafael Sadowski wrote:
> Hi @ports,
> 
> new profanity release. Tested without issues over days. All regressions
> test are green on amd64. Head up, you need new the libstrophe version.
> 
> Kind regards,
> 
> Rafael
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/net/profanity/Makefile,v
> retrieving revision 1.3
> diff -u -p -u -p -r1.3 Makefile
> --- Makefile  26 Apr 2016 09:35:38 -  1.3
> +++ Makefile  29 Sep 2016 19:50:40 -
> @@ -1,7 +1,7 @@
>  # $OpenBSD: Makefile,v 1.3 2016/04/26 09:35:38 sthen Exp $
>  
>  COMMENT =console based XMPP client
> -DISTNAME =   profanity-0.4.7
> +DISTNAME =   profanity-0.5.0
>  CATEGORIES = net
>  
>  HOMEPAGE =   http://www.profanity.im/
> @@ -12,19 +12,24 @@ PERMIT_PACKAGE_CDROM =Yes
>  
>  MASTER_SITES =   http://www.profanity.im/
>  
> -WANTLIB += assuan c curl ereadline glib-2.0 gpg-error gpgme intl ncursesw
> -WANTLIB += otr strophe uuid
> +WANTLIB += assuan c crypto curl ereadline expat ffi gcrypt gdk_pixbuf-2.0
> +WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gpg-error
> +WANTLIB += gpgme iconv idn intl m ncursesw nghttp2 notify otr
> +WANTLIB += pcre png pthread ssl strophe z

:(


>  BUILD_DEPENDS +=${MODGNU_AUTOCONF_DEPENDS} \
>   ${MODGNU_AUTOMAKE_DEPENDS}
>  
> -LIB_DEPENDS +=   net/curl \
> +LIB_DEPENDS +=   devel/glib2 \
> + devel/libnotify \
>   devel/readline>=6.1p2 \
> - devel/glib2 \
> - net/libstrophe \
> + graphics/gdk-pixbuf2 \
> + net/curl \
> + net/libstrophe>=0.9.1 \
>   security/gpgme \
>   security/libotr \
> - sysutils/e2fsprogs
> + sysutils/e2fsprogs \

I get this:

$ /usr/ports/infrastructure/bin/portcheck
hardcoded paths detected in Makefile, consider using SUBST_VARS and 
TRUEPREFIX/LOCALBASE/LOCALSTATEDIR/VARBASE
LIB_DEPENDS sysutils/e2fsprogs not needed for net/profanity ?

I assume the former complaint is due to the sed command in post-patch.
What about the latter?

> + www/nghttp2
>  
>  TEST_DEPENDS =   devel/cmocka
>  
> @@ -33,8 +38,9 @@ CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}
>   LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
>  
>  CONFIGURE_ARGS = --with-xscreensaver=no \
> - --enable-notifications \
> - --enable-otr
> + --enable-icons=no \
> + --enable-notifications=yes \
> + --enable-otr=yes
>  
>  MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS}"
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/net/profanity/distinfo,v
> retrieving revision 1.1.1.1
> diff -u -p -u -p -r1.1.1.1 distinfo
> --- distinfo  25 Apr 2016 17:46:38 -  1.1.1.1
> +++ distinfo  29 Sep 2016 19:50:40 -
> @@ -1,2 +1,2 @@
> -SHA256 (profanity-0.4.7.tar.gz) = 
> sCxOAp/oSUEFDMq2yM318V3yPeXROEtNHsZtpvruEd0=
> -SIZE (profanity-0.4.7.tar.gz) = 463291
> +SHA256 (profanity-0.5.0.tar.gz) = 
> eDvoqm6rcZL8IR8ArawTayHlgOpS2cBxKDEqlgmTlmg=
> +SIZE (profanity-0.5.0.tar.gz) = 687169
> Index: patches/patch-configure_ac
> ===
> RCS file: /cvs/ports/net/profanity/patches/patch-configure_ac,v
> retrieving revision 1.1.1.1
> diff -u -p -u -p -r1.1.1.1 patch-configure_ac
> --- patches/patch-configure_ac25 Apr 2016 17:46:38 -  1.1.1.1
> +++ patches/patch-configure_ac29 Sep 2016 19:50:40 -
> @@ -1,7 +1,7 @@
> -$OpenBSD: patch-configure_ac,v 1.1.1.1 2016/04/25 17:46:38 tb Exp $
>  configure.ac.origSun Sep 20 17:42:03 2015
> -+++ configure.ac Sun Oct  4 23:13:15 2015
> -@@ -19,6 +19,7 @@ AC_CANONICAL_HOST
> +$OpenBSD$
> +--- configure.ac.origWed Sep 14 22:52:04 2016
>  configure.ac Sun Sep 25 21:17:03 2016
> +@@ -22,6 +22,7 @@ AC_CANONICAL_HOST
>   PLATFORM="unknown"
>   AS_CASE([$host_os],
>   [freebsd*], [PLATFORM="freebsd"],
> @@ -9,24 +9,9 @@ $OpenBSD: patch-configure_ac,v 1.1.1.1 2
>   [darwin*], [PLATFORM="osx"],
>   [cygwin], [PLATFORM="cygwin"],
>   [PLATFORM="nix"])
> -@@ -57,12 +58,12 @@ AC_ARG_WITH([themes],
> - # Use the CFLAGS and libs provided by libstrophe.pc if libstrophe has 
> pkg-config support.
> - PKG_CHECK_MODULES([libstrophe], [libstrophe], [LIBS="$libstrophe_LIBS 
> $LIBS"],
> - [
> -- if test "x$PLATFORM" != xfreebsd; then
> -+ if test "x$PLATFORM" != xfreebsd || test "x$PLATFORM" != xopenbsd; then
> - AC_CHECK_LIB([resolv], [res_query], [],
> - [AC_CHECK_LIB([resolv], [__res_query], [],
> - [AC_MSG_ERROR([libresolv not found; libresolv required 
> for profanity])])])
> -  else
> --AC_MSG_NOTICE([skipping libresolv checks for freebsd])
> -+

Re: UPDATE: net/libstrophe

2016-09-29 Thread Theo Buehler
On Thu, Sep 29, 2016 at 09:58:59PM +0200, Rafael Sadowski wrote:
> Hi @ports,
> 
> the diff below updates libstrophe to the latest stable version 0.9.1.
> Tested with new profanity (separate diff) on amd64 over days without
> problems. All ports regression tests are positive.
> 
> Kind regards,

I assume you forgot to cvs rm the two patches:

patch-Makefile_am
patch-configure_ac

since they are no longer needed (and don't apply anymore)?

with that, it looks good to me.

> 
> Rafael
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/net/libstrophe/Makefile,v
> retrieving revision 1.1.1.1
> diff -u -p -u -p -r1.1.1.1 Makefile
> --- Makefile  25 Apr 2016 17:43:39 -  1.1.1.1
> +++ Makefile  29 Sep 2016 17:18:38 -
> @@ -1,7 +1,8 @@
>  # $OpenBSD: Makefile,v 1.1.1.1 2016/04/25 17:43:39 tb Exp $
>  
>  COMMENT =simple, lightweight XMPP C library
> -DISTNAME =   libstrophe-0.8.8
> +VERSION =0.9.1
> +DISTNAME =   libstrophe-${VERSION}
>  CATEGORIES = net devel
>  
>  HOMEPAGE =   http://strophe.im/libstrophe/
> @@ -10,11 +11,11 @@ MAINTAINER =  Rafael Sadowski   # Dual licensed: MIT and GPLv3
>  PERMIT_PACKAGE_CDROM =   Yes
>  
> -GH_ACCOUNT = strophe
> -GH_PROJECT = libstrophe
> -GH_COMMIT =  cd92f69c76cdb93e73e8d15c3634d1b5a9eeea57
> +DISTFILES =  libstrophe-{libstrophe/archive/}${VERSION}${EXTRACT_SUFX}
> +MASTER_SITES =   https://github.com/strophe/
>  
> -SHARED_LIBS =   strophe 0.0 # 0.0
> +
> +SHARED_LIBS =   strophe 1.0 # 1.0
>  
>  WANTLIB += crypto expat ssl
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/net/libstrophe/distinfo,v
> retrieving revision 1.1.1.1
> diff -u -p -u -p -r1.1.1.1 distinfo
> --- distinfo  25 Apr 2016 17:43:39 -  1.1.1.1
> +++ distinfo  29 Sep 2016 17:18:38 -
> @@ -1,2 +1,2 @@
> -SHA256 (libstrophe-0.8.8.tar.gz) = 
> ngwGRZfKUP8wiame97efH6bJom+EB1O66zw90PYEuic=
> -SIZE (libstrophe-0.8.8.tar.gz) = 128539
> +SHA256 (libstrophe-0.9.1.tar.gz) = 
> yQST+YblvUBxMsWj4XQ3jALLgPpOruKYdeBrS7pq/MM=
> +SIZE (libstrophe-0.9.1.tar.gz) = 153142
> 



UPDATE py-setuptools

2016-09-29 Thread frantisek holop
please test and commit.

-f
-- 
no generalization is wholly true, not even this one.
Index: Makefile
===
RCS file: /cvs/ports/devel/py-setuptools/Makefile,v
retrieving revision 1.28
diff -u -p -r1.28 Makefile
--- Makefile29 Sep 2015 10:52:11 -  1.28
+++ Makefile29 Sep 2016 21:41:03 -
@@ -2,14 +2,12 @@
 
 COMMENT=   simplified packaging system for Python modules
 
-MODPY_EGG_VERSION= 18.2
+MODPY_EGG_VERSION= 28.0.0
 DISTNAME=  setuptools-${MODPY_EGG_VERSION}
 PKGNAME=   py-${DISTNAME:S/c/./}
-EPOCH =0
+EPOCH =0
 CATEGORIES=devel
 PKG_ARCH=  *
-REVISION=  0
-
 
 MODPY_PI = Yes
 HOMEPAGE=  http://peak.telecommunity.com/DevCenter/setuptools
Index: distinfo
===
RCS file: /cvs/ports/devel/py-setuptools/distinfo,v
retrieving revision 1.10
diff -u -p -r1.10 distinfo
--- distinfo29 Sep 2015 08:49:37 -  1.10
+++ distinfo29 Sep 2016 21:41:03 -
@@ -1,2 +1,2 @@
-SHA256 (setuptools-18.2.tar.gz) = CZSljfJ+pdxSN4KmATV6IZi3ST3MmaMNUYJ6I1hbWx0=
-SIZE (setuptools-18.2.tar.gz) = 630990
+SHA256 (setuptools-28.0.0.tar.gz) = 
4aKFC7etgg5N02Q6bFl76pejXeKQnpvwr6PzN4NrXqM=
+SIZE (setuptools-28.0.0.tar.gz) = 640313
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/py-setuptools/pkg/PLIST,v
retrieving revision 1.10
diff -u -p -r1.10 PLIST
--- pkg/PLIST   29 Sep 2015 08:49:37 -  1.10
+++ pkg/PLIST   29 Sep 2016 21:41:03 -
@@ -5,12 +5,6 @@
 bin/easy_install-${MODPY_VERSION}
 ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}/
 
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}easy_install.${MODPY_PYC_MAGIC_TAG}pyc
-lib/python${MODPY_VERSION}/site-packages/_markerlib/
-lib/python${MODPY_VERSION}/site-packages/_markerlib/__init__.py
-${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/_markerlib/${MODPY_PYCACHE}/
-lib/python${MODPY_VERSION}/site-packages/_markerlib/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
-lib/python${MODPY_VERSION}/site-packages/_markerlib/${MODPY_PYCACHE}markers.${MODPY_PYC_MAGIC_TAG}pyc
-lib/python${MODPY_VERSION}/site-packages/_markerlib/markers.py
 lib/python${MODPY_VERSION}/site-packages/easy_install.py
 lib/python${MODPY_VERSION}/site-packages/pkg_resources/
 lib/python${MODPY_VERSION}/site-packages/pkg_resources/__init__.py
@@ -20,6 +14,10 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/__init__.py
 
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/${MODPY_PYCACHE}/
 
lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/${MODPY_PYCACHE}appdirs.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/${MODPY_PYCACHE}pyparsing.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/${MODPY_PYCACHE}six.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/appdirs.py
 lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/packaging/
 
lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/packaging/__about__.py
 
lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/packaging/__init__.py
@@ -28,12 +26,24 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/packaging/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/packaging/${MODPY_PYCACHE}_compat.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/packaging/${MODPY_PYCACHE}_structures.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/packaging/${MODPY_PYCACHE}markers.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/packaging/${MODPY_PYCACHE}requirements.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/packaging/${MODPY_PYCACHE}specifiers.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/packaging/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/packaging/${MODPY_PYCACHE}version.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/packaging/_compat.py
 
lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/packaging/_structures.py
+lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/packaging/markers.py
+lib/python${MODPY_VERSION}/site-packages/pkg_resources/_vendor/packaging/requirements.py

UPDATE net/nmap 7.30

2016-09-29 Thread David CARLIER
Hello,

here an attempt to update nmap to 7.30.

Regards.
Index: Makefile
===
RCS file: /cvs/ports/net/nmap/Makefile,v
retrieving revision 1.121
diff -u -p -r1.121 Makefile
--- Makefile30 Mar 2016 21:26:45 -  1.121
+++ Makefile29 Sep 2016 21:18:48 -
@@ -3,7 +3,7 @@
 COMMENT-main=  scan ports and fingerprint stack of network hosts
 COMMENT-zenmap=graphical frontend for nmap
 
-MODPY_EGG_VERSION= 7.12
+MODPY_EGG_VERSION= 7.30
 DISTNAME=  nmap-${MODPY_EGG_VERSION}
 PKGNAME-main=  ${DISTNAME}
 PKGNAME-zenmap=nmap-zenmap-${MODPY_EGG_VERSION}
@@ -23,7 +23,7 @@ MULTI_PACKAGES=   -main -zenmap
 
 USE_GMAKE= Yes
 MODLUA_SA= Yes
-MODLUA_VERSION=5.2
+MODLUA_VERSION=5.3
 MODULES=   lang/python \
lang/lua
 
Index: distinfo
===
RCS file: /cvs/ports/net/nmap/distinfo,v
retrieving revision 1.34
diff -u -p -r1.34 distinfo
--- distinfo30 Mar 2016 21:26:45 -  1.34
+++ distinfo29 Sep 2016 21:18:48 -
@@ -1,2 +1,2 @@
-SHA256 (nmap-7.12.tgz) = pgqQNTSTIvECaQfWfk1CTcMBHARKcz/4ci34tQKJ++4=
-SIZE (nmap-7.12.tgz) = 11094463
+SHA256 (nmap-7.30.tgz) = LdYrr7IGxgBe5SLhKNTpXd+4pVwLtaUz/hF0y4DjS4w=
+SIZE (nmap-7.30.tgz) = 11106693
Index: patches/patch-Makefile_in
===
RCS file: /cvs/ports/net/nmap/patches/patch-Makefile_in,v
retrieving revision 1.16
diff -u -p -r1.16 patch-Makefile_in
--- patches/patch-Makefile_in   7 Jan 2016 13:23:47 -   1.16
+++ patches/patch-Makefile_in   29 Sep 2016 21:18:48 -
@@ -1,16 +1,16 @@
 $OpenBSD: patch-Makefile_in,v 1.16 2016/01/07 13:23:47 giovanni Exp $
 Makefile.in.orig   Tue Dec  8 21:54:07 2015
-+++ Makefile.inTue Dec 29 10:47:48 2015
+--- Makefile.in.orig   Tue Aug 16 10:31:59 2016
 Makefile.inThu Sep 29 22:07:52 2016
 @@ -46,7 +46,7 @@ DEFS += -D_FORTIFY_SOURCE=2
  # Should only be enabled during debugging and not in any real release.
  # DEFS += -DMTRACE=1
  CXXFLAGS = @CXXFLAGS@ $(DBGFLAGS) $(CCOPT)
 -CPPFLAGS = @CPPFLAGS@ $(DEFS)
-+CPPFLAGS = -I./libdnet-stripped/include @CPPFLAGS@ $(DEFS)
- export CFLAGS = $(CXXFLAGS)
- # CFLAGS = $(DEFS) $(INCLS)
++CPPFLAGS = -I../libdnet-stripped/include @CPPFLAGS@ $(DEFS)
+ CFLAGS = @CFLAGS@ $(DBGFLAGS) $(CCOPT)
  STATIC =
-@@ -319,8 +319,8 @@ $(NPINGDIR)/nping.h: nmap.h
+ LDFLAGS = @LDFLAGS@ $(DBGFLAGS) $(STATIC)
+@@ -318,8 +318,8 @@ $(NPINGDIR)/nping.h: nmap.h
mv -f $@.tmp $@
  
  # Update the version number used by Zenmap.
Index: patches/patch-libnetutil_netutil_cc
===
RCS file: /cvs/ports/net/nmap/patches/patch-libnetutil_netutil_cc,v
retrieving revision 1.8
diff -u -p -r1.8 patch-libnetutil_netutil_cc
--- patches/patch-libnetutil_netutil_cc 18 Mar 2016 21:13:38 -  1.8
+++ patches/patch-libnetutil_netutil_cc 29 Sep 2016 21:18:48 -
@@ -8,9 +8,9 @@ http://marc.info/?l=nmap-dev=140179174
 
 chunks dealing with iovec: ???
 
 libnetutil/netutil.cc.orig Thu Mar 17 20:17:27 2016
-+++ libnetutil/netutil.cc  Thu Mar 17 20:19:47 2016
-@@ -3142,7 +3142,6 @@ static int route_dst_netlink(const struct sockaddr_sto
+--- libnetutil/netutil.cc.orig Thu Aug 25 19:41:03 2016
 libnetutil/netutil.cc  Thu Sep 29 22:04:48 2016
+@@ -3172,7 +3172,6 @@ static int route_dst_netlink(const struct sockaddr_sto
   const struct sockaddr_storage *spoofss) {
struct sockaddr_nl snl;
struct msghdr msg;
@@ -18,7 +18,7 @@ chunks dealing with iovec: ???
struct nlmsghdr *nlmsg;
struct rtmsg *rtmsg;
struct rtattr *rtattr;
-@@ -3194,22 +3193,14 @@ static int route_dst_netlink(const struct sockaddr_sto
+@@ -3224,22 +3223,14 @@ static int route_dst_netlink(const struct sockaddr_sto
  add_rtattr_addr(nlmsg, , , RTA_SRC, spoofss, intf_index);
}
  
@@ -41,7 +41,7 @@ chunks dealing with iovec: ???
len = recvmsg(fd, , 0);
if (len <= 0)
  netutil_fatal("%s: cannot recvmsg: %s", __func__, strerror(errno));
-@@ -3840,7 +3831,6 @@ static const unsigned char *add_exthdr_ancillary(struc
+@@ -3870,7 +3861,6 @@ static const unsigned char *add_exthdr_ancillary(struc
  static int send_ipv6_ip(const struct sockaddr_in6 *dst,
const unsigned char *packet, size_t packetlen) {
struct msghdr msg;
@@ -49,7 +49,7 @@ chunks dealing with iovec: ???
  
const unsigned char *end;
struct ip6_hdr *hdr;
-@@ -3859,8 +3849,6 @@ static int send_ipv6_ip(const struct sockaddr_in6 *dst
+@@ -3889,8 +3879,6 @@ static int send_ipv6_ip(const struct sockaddr_in6 *dst
/* Set up sendmsg data structure. iov is filled in below. */
msg.msg_name = (void *) dst;
msg.msg_namelen = sizeof(*dst);
@@ -58,7 +58,7 @@ chunks dealing with iovec: ???
msg.msg_control = NULL;
msg.msg_controllen = 

UPDATE: graphics/cadubi

2016-09-29 Thread Rafael Sadowski
Hi ports@,

first of all, I'm not a cadubi user and only picked up because
HOMEPAGE/MASTER_SITES are down. Changes:

- Switch to github
- Update patch
- COMMENT at first place

Tested on amd64. Funny little tool!

Kind regards,

Rafael

Index: Makefile
===
RCS file: /cvs/ports/graphics/cadubi/Makefile,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 Makefile
--- Makefile12 May 2016 14:00:13 -  1.14
+++ Makefile29 Sep 2016 21:04:23 -
@@ -1,5 +1,7 @@
 # $OpenBSD: Makefile,v 1.14 2016/05/12 14:00:13 espie Exp $
 
+COMMENT=   ASCII drawing utility
+
 DISTNAME=  cadubi-1.3
 REVISION = 1
 CATEGORIES=graphics editors
@@ -7,9 +9,8 @@ CATEGORIES= graphics editors
 # perl artistic
 PERMIT_PACKAGE_CDROM=  Yes
 
-COMMENT=   ASCII drawing utility
-HOMEPAGE=  http://langworth.com/cadubi.html
-MASTER_SITES=  http://langworth.com/downloads/
+HOMEPAGE=  https://github.com/statico/cadubi
+MASTER_SITES=  https://github.com/statico/cadubi/releases/download/v1.3/
 
 NO_BUILD=  Yes
 NO_TEST=   Yes
Index: patches/patch-cadubi
===
RCS file: /cvs/ports/graphics/cadubi/patches/patch-cadubi,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-cadubi
--- patches/patch-cadubi27 Feb 2004 05:31:46 -  1.3
+++ patches/patch-cadubi29 Sep 2016 21:04:23 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-cadubi,v 1.3 2004/02/27 05:31:46 jcs Exp $
 cadubi.origThu Feb 26 23:27:56 2004
-+++ cadubi Thu Feb 26 23:28:27 2004
-@@ -18,7 +18,7 @@
+--- cadubi.origFri Feb 20 07:05:10 2004
 cadubi Thu Sep 29 22:53:50 2016
+@@ -18,7 +18,7 @@ $VERSION = '1.3';
  # (sorry guys, i wrote this years before i had the remotest clue as to
  #  what the hell i was doing)
  use FindBin qw($Bin);



CVS: cvs.openbsd.org: ports

2016-09-29 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2016/09/29 14:39:54

Modified files:
archivers  : Makefile 

Log message:
+archivers/zstd



UPDATE: net/profanity

2016-09-29 Thread Rafael Sadowski
Hi @ports,

new profanity release. Tested without issues over days. All regressions
test are green on amd64. Head up, you need new the libstrophe version.

Kind regards,

Rafael

Index: Makefile
===
RCS file: /cvs/ports/net/profanity/Makefile,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 Makefile
--- Makefile26 Apr 2016 09:35:38 -  1.3
+++ Makefile29 Sep 2016 19:50:40 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.3 2016/04/26 09:35:38 sthen Exp $
 
 COMMENT =  console based XMPP client
-DISTNAME = profanity-0.4.7
+DISTNAME = profanity-0.5.0
 CATEGORIES =   net
 
 HOMEPAGE = http://www.profanity.im/
@@ -12,19 +12,24 @@ PERMIT_PACKAGE_CDROM =  Yes
 
 MASTER_SITES = http://www.profanity.im/
 
-WANTLIB += assuan c curl ereadline glib-2.0 gpg-error gpgme intl ncursesw
-WANTLIB += otr strophe uuid
+WANTLIB += assuan c crypto curl ereadline expat ffi gcrypt gdk_pixbuf-2.0
+WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gpg-error
+WANTLIB += gpgme iconv idn intl m ncursesw nghttp2 notify otr
+WANTLIB += pcre png pthread ssl strophe z
 
 BUILD_DEPENDS +=${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS}
 
-LIB_DEPENDS += net/curl \
+LIB_DEPENDS += devel/glib2 \
+   devel/libnotify \
devel/readline>=6.1p2 \
-   devel/glib2 \
-   net/libstrophe \
+   graphics/gdk-pixbuf2 \
+   net/curl \
+   net/libstrophe>=0.9.1 \
security/gpgme \
security/libotr \
-   sysutils/e2fsprogs
+   sysutils/e2fsprogs \
+   www/nghttp2
 
 TEST_DEPENDS = devel/cmocka
 
@@ -33,8 +38,9 @@ CONFIGURE_ENV =   CPPFLAGS="-I${LOCALBASE}
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
 
 CONFIGURE_ARGS =   --with-xscreensaver=no \
-   --enable-notifications \
-   --enable-otr
+   --enable-icons=no \
+   --enable-notifications=yes \
+   --enable-otr=yes
 
 MAKE_FLAGS =   CC="${CC}" CFLAGS="${CFLAGS}"
 
Index: distinfo
===
RCS file: /cvs/ports/net/profanity/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo25 Apr 2016 17:46:38 -  1.1.1.1
+++ distinfo29 Sep 2016 19:50:40 -
@@ -1,2 +1,2 @@
-SHA256 (profanity-0.4.7.tar.gz) = sCxOAp/oSUEFDMq2yM318V3yPeXROEtNHsZtpvruEd0=
-SIZE (profanity-0.4.7.tar.gz) = 463291
+SHA256 (profanity-0.5.0.tar.gz) = eDvoqm6rcZL8IR8ArawTayHlgOpS2cBxKDEqlgmTlmg=
+SIZE (profanity-0.5.0.tar.gz) = 687169
Index: patches/patch-configure_ac
===
RCS file: /cvs/ports/net/profanity/patches/patch-configure_ac,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 patch-configure_ac
--- patches/patch-configure_ac  25 Apr 2016 17:46:38 -  1.1.1.1
+++ patches/patch-configure_ac  29 Sep 2016 19:50:40 -
@@ -1,7 +1,7 @@
-$OpenBSD: patch-configure_ac,v 1.1.1.1 2016/04/25 17:46:38 tb Exp $
 configure.ac.orig  Sun Sep 20 17:42:03 2015
-+++ configure.ac   Sun Oct  4 23:13:15 2015
-@@ -19,6 +19,7 @@ AC_CANONICAL_HOST
+$OpenBSD$
+--- configure.ac.orig  Wed Sep 14 22:52:04 2016
 configure.ac   Sun Sep 25 21:17:03 2016
+@@ -22,6 +22,7 @@ AC_CANONICAL_HOST
  PLATFORM="unknown"
  AS_CASE([$host_os],
  [freebsd*], [PLATFORM="freebsd"],
@@ -9,24 +9,9 @@ $OpenBSD: patch-configure_ac,v 1.1.1.1 2
  [darwin*], [PLATFORM="osx"],
  [cygwin], [PLATFORM="cygwin"],
  [PLATFORM="nix"])
-@@ -57,12 +58,12 @@ AC_ARG_WITH([themes],
- # Use the CFLAGS and libs provided by libstrophe.pc if libstrophe has 
pkg-config support.
- PKG_CHECK_MODULES([libstrophe], [libstrophe], [LIBS="$libstrophe_LIBS $LIBS"],
- [
--   if test "x$PLATFORM" != xfreebsd; then
-+   if test "x$PLATFORM" != xfreebsd || test "x$PLATFORM" != xopenbsd; then
-   AC_CHECK_LIB([resolv], [res_query], [],
-   [AC_CHECK_LIB([resolv], [__res_query], [],
-   [AC_MSG_ERROR([libresolv not found; libresolv required 
for profanity])])])
-else
--  AC_MSG_NOTICE([skipping libresolv checks for freebsd])
-+  AC_MSG_NOTICE([skipping libresolv checks for FreeBSD and 
OpenBSD])
-fi
- 
-  ### Check for libstrophe dependencies
-@@ -141,17 +142,24 @@ PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.26], [],
- PKG_CHECK_MODULES([curl], [libcurl], [],
- [AC_MSG_ERROR([libcurl is required for profanity])])
+@@ -172,15 +173,22 @@ AS_IF([test "x$enable_icons" != xno],
+ [AC_MSG_ERROR([gtk+-2.0 or higher is required for icons])],
+ [AC_MSG_NOTICE([gtk+-2.0 not found, icons not enabled])])])])
  
 -AS_IF([test "x$PLATFORM" != xosx],
 -[AC_CHECK_LIB([readline], [main], 

UPDATE: net/libstrophe

2016-09-29 Thread Rafael Sadowski
Hi @ports,

the diff below updates libstrophe to the latest stable version 0.9.1.
Tested with new profanity (separate diff) on amd64 over days without
problems. All ports regression tests are positive.

Kind regards,

Rafael


Index: Makefile
===
RCS file: /cvs/ports/net/libstrophe/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 Makefile
--- Makefile25 Apr 2016 17:43:39 -  1.1.1.1
+++ Makefile29 Sep 2016 17:18:38 -
@@ -1,7 +1,8 @@
 # $OpenBSD: Makefile,v 1.1.1.1 2016/04/25 17:43:39 tb Exp $
 
 COMMENT =  simple, lightweight XMPP C library
-DISTNAME = libstrophe-0.8.8
+VERSION =  0.9.1
+DISTNAME = libstrophe-${VERSION}
 CATEGORIES =   net devel
 
 HOMEPAGE = http://strophe.im/libstrophe/
@@ -10,11 +11,11 @@ MAINTAINER =Rafael Sadowski 

CVS: cvs.openbsd.org: ports

2016-09-29 Thread Juan Francisco Cantero Hurtado
CVSROOT:/cvs
Module name:ports
Changes by: juan...@cvs.openbsd.org 2016/09/29 13:31:29

Log message:
Comment:
zstandard fast real-time compression algorithm

Description:
Zstd, short for Zstandard, is a fast lossless compression algorithm, 
targeting
real-time compression scenarios at zlib-level and better compression ratios.

Maintainer: Juan Francisco Cantero Hurtado 

WWW: https://facebook.github.io/zstd/

OK sthen@

Status:

Vendor Tag: juanfra
Release Tags:   juanfra_20160929

N ports/archivers/zstd/Makefile
N ports/archivers/zstd/distinfo
N ports/archivers/zstd/patches/patch-tests_playTests_sh
N ports/archivers/zstd/pkg/DESCR
N ports/archivers/zstd/pkg/PLIST

No conflicts created by this import



Re: pledge iogen

2016-09-29 Thread Jan Stary
On Sep 14 19:07:48, h...@stare.cz wrote:
> On Sep 14 16:54:52, h...@stare.cz wrote:
> > Below please find a patch to pledge sysutils/iogen.
> > The "stdio rpath wpath cpath" seems obvious,
> > and the "proc" is for killing. I don't know
> > if the pledge() could somehow be refined.


OK? Comments?


> Index: Makefile
> ===
> RCS file: /cvs/ports/sysutils/iogen/Makefile,v
> retrieving revision 1.25
> diff -u -p -r1.25 Makefile
> --- Makefile  11 Mar 2016 19:43:45 -  1.25
> +++ Makefile  14 Sep 2016 14:53:29 -
> @@ -3,7 +3,7 @@
>  COMMENT= i/o generator
>  
>  V=   3.1
> -REVISION=2
> +REVISION=3
>  GH_TAGNAME=  IOGEN_${V:S/./_/g}
>  GH_ACCOUNT=  conformal
>  GH_PROJECT=  iogen
> Index: patches/patch-iogen_c
> ===
> RCS file: patches/patch-iogen_c
> diff -N patches/patch-iogen_c
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-iogen_c 14 Sep 2016 14:53:29 -
> @@ -0,0 +1,13 @@
> +$OpenBSD$
> +--- iogen.c.orig Fri May 18 16:48:16 2007
>  iogen.c  Wed Sep 14 15:42:25 2016
> +@@ -805,6 +805,9 @@ main(int argc, char *argv[])
> + }
> + }
> + 
> ++if (pledge("stdio rpath wpath cpath proc", NULL) == -1)
> ++err(1, "pledge");
> ++
> + err_log(0, "%s test run commences with %u proc(s)",
> + VERSION, nr_proc);
> + err_log(0,



Re: pledge gsm

2016-09-29 Thread Jan Stary
ping

On Sep 18 10:47:16, s...@spacehopper.org wrote:
> On 2016/09/18 11:23, Jan Stary wrote:
> > OK? Comments?
> 
> That looks better to me but I am swamped with the sqlite3 move and don't
> have time to test at the moment.
> 
> 
> > On Sep 14 16:50:43, h...@stare.cz wrote:
> > > On Sep 13 17:50:12, danj+o...@chown.me wrote:
> > > > And can you add # uses pledge() just before WANTLIB please?
> > > 
> > > OK.
> > > 
> > > On Sep 13 20:16:57, s...@spacehopper.org wrote:
> > > > On 2016/09/13 13:03, Stuart Henderson wrote:
> > > > > 
> > > > > We also often defer pledge until after option parsing, when we have
> > > > > a better idea of what is actually needed: for toast(/untoast/tcat)
> > > > > this would allow a more accurate pledge because we'll then know
> > > > > whether or not it needs filesystem access.
> > > 
> > > See below for a finer pledge():
> > > 
> > > * initially, restrict to "stdio rpath wpath cpath fattr"
> > > * if we are tcat(1), restrict to "stdio rpath"
> > > * if we are just a filter, restrict to "stdio"
> > > 
> > > The "fattr" is for preserving mtime.
> > > 
> > > The following works with these restrictions:
> > > 
> > >  $ toast file
> > >  $ tcat file.gsm > file
> > >  $ untoast file.gsm
> > >  $ toast < file > file.gsm
> > >  $ untoast < file.gsm > file
> > > 
> > >   Jan
> > > 
> > > 
> > > Index: Makefile
> > > ===
> > > RCS file: /cvs/ports/audio/gsm/Makefile,v
> > > retrieving revision 1.45
> > > diff -u -p -r1.45 Makefile
> > > --- Makefile  13 Sep 2016 11:33:28 -  1.45
> > > +++ Makefile  14 Sep 2016 14:48:53 -
> > > @@ -3,6 +3,7 @@
> > >  COMMENT= GSM audio codec library and converter
> > >  
> > >  DISTNAME=gsm-1.0.15
> > > +REVISION=0
> > >  WRKDIST= ${WRKDIR}/gsm-1.0-pl15
> > >  
> > >  SHARED_LIBS= gsm 1.0
> > > @@ -16,6 +17,7 @@ MAINTAINER= Stuart Henderson  > >  # ISC-like
> > >  PERMIT_PACKAGE_CDROM=Yes
> > >  
> > > +# uses pledge(2)
> > >  WANTLIB += c
> > >  
> > >  MASTER_SITES=${HOMEPAGE}
> > > Index: patches/patch-src_toast_c
> > > ===
> > > RCS file: patches/patch-src_toast_c
> > > diff -N patches/patch-src_toast_c
> > > --- /dev/null 1 Jan 1970 00:00:00 -
> > > +++ patches/patch-src_toast_c 14 Sep 2016 14:48:53 -
> > > @@ -0,0 +1,47 @@
> > > +$OpenBSD$
> > > +--- src/toast.c.orig Wed Apr 26 21:14:26 2006
> > >  src/toast.c  Wed Sep 14 14:14:29 2016
> > > +@@ -129,9 +129,22 @@ static void parse_argv0 P1((av0), char * av0 )
> > > +  *  and decode as well.
> > > +  */
> > > + 
> > > +-if (!strncmp(av0, "un", 2)) f_decode = 1;
> > > ++if (pledge("stdio rpath wpath cpath fattr", NULL) == -1) {
> > > ++perror("pledge");
> > > ++exit(1);
> > > ++}
> > > ++
> > > ++if (!strncmp(av0, "un", 2)) {
> > > ++f_decode = 1;
> > > ++}
> > > + if (  (l = strlen(av0)) >= 3 /* strlen("cat") */
> > > +-   && !strcmp( av0 + l - 3, "cat" )) f_cat = f_decode = 1;
> > > ++   && !strcmp( av0 + l - 3, "cat" )) {
> > > ++if (pledge("stdio rpath", NULL) == -1) {
> > > ++perror("pledge");
> > > ++exit(1);
> > > ++}
> > > ++f_cat = f_decode = 1;
> > > ++}
> > > + }
> > > + 
> > > + 
> > > +@@ -793,8 +806,16 @@ int main P2((ac, av), int ac, char **av)
> > > + 
> > > + catch_signals(onintr);
> > > + 
> > > +-if (ac <= 0) process( (char *)0 );
> > > +-else while (ac--) process( *av++ );
> > > ++if (ac <= 0) {
> > > ++if (pledge("stdio", NULL) == -1) {
> > > ++perror("pledge");
> > > ++exit(1);
> > > ++}
> > > ++process( (char *)0 );
> > > ++} else {
> > > ++while (ac--)
> > > ++process( *av++ );
> > > ++}
> > > + 
> > > + exit(0);
> > > + }
> > 



UPDATE: the_silver_searcher to 0.33.0

2016-09-29 Thread Florian Stinglmayr
Oi list,

a small update for the_silver_searcher to 0.33.0.

Have fun,
Florian

Index: Makefile
===
RCS file: /cvs/ports/textproc/the_silver_searcher/Makefile,v
retrieving revision 1.20
diff -u -p -u -r1.20 Makefile
--- Makefile17 May 2016 10:57:07 -  1.20
+++ Makefile29 Sep 2016 18:04:32 -
@@ -2,7 +2,7 @@
 
 COMMENT =  code searching tool, with a focus on speed (ag)
 
-DISTNAME = the_silver_searcher-0.32.0
+DISTNAME = the_silver_searcher-0.33.0
 CATEGORIES =   textproc
 
 HOMEPAGE = https://github.com/ggreer/the_silver_searcher
Index: distinfo
===
RCS file: /cvs/ports/textproc/the_silver_searcher/distinfo,v
retrieving revision 1.18
diff -u -p -u -r1.18 distinfo
--- distinfo17 May 2016 10:57:07 -  1.18
+++ distinfo29 Sep 2016 18:04:32 -
@@ -1,2 +1,2 @@
-SHA256 (the_silver_searcher-0.32.0.tar.gz) = 
lEynfkmPNEsr+9jfbV2N97vBx+CAtQwLqz0amlUVG2A=
-SIZE (the_silver_searcher-0.32.0.tar.gz) = 179724
+SHA256 (the_silver_searcher-0.33.0.tar.gz) = 
jKaAOZ317ohGpQnIpnwQ7h1fwalEVoBqD/ndkTuWHbM=
+SIZE (the_silver_searcher-0.33.0.tar.gz) = 180522



UPDATE: textproc/py-mistune 0.7.3

2016-09-29 Thread Alexandr Shadchin
Hi,

This diff updates py-mistune to the latest release.
Tested on amd64.

* add py3 flavor
* take maintainership

Comments ? OK ?

-- 
Alexandr Shadchin

Index: Makefile
===
RCS file: /cvs/ports/textproc/py-mistune/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile22 Oct 2015 19:49:09 -  1.1.1.1
+++ Makefile29 Sep 2016 16:09:50 -
@@ -2,7 +2,7 @@
 
 COMMENT =  markdown parser for Python
 
-MODPY_EGG_VERSION =0.7.1
+MODPY_EGG_VERSION =0.7.3
 DISTNAME = mistune-${MODPY_EGG_VERSION}
 PKGNAME =  py-${DISTNAME}
 
@@ -10,7 +10,9 @@ CATEGORIES =  textproc
 
 HOMEPAGE = https://github.com/lepture/mistune
 
-TEST_DEPENDS +=devel/py-nose
+MAINTAINER =   Alexandr Shadchin 
+
+TEST_DEPENDS +=devel/py-nose${MODPY_FLAVOR}
 
 # BSD
 PERMIT_PACKAGE_CDROM = Yes
@@ -19,7 +21,7 @@ MODULES = lang/python
 MODPY_PI = Yes
 MODPY_SETUPTOOLS = Yes
 
-do-test:
-   cd ${WRKSRC} && ${LOCALBASE}/bin/nosetests
+FLAVORS =  python3
+FLAVOR ?=
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/textproc/py-mistune/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo22 Oct 2015 19:49:09 -  1.1.1.1
+++ distinfo29 Sep 2016 16:09:50 -
@@ -1,2 +1,2 @@
-SHA256 (mistune-0.7.1.tar.gz) = YHbe33aDSJJ9mR9DceWnmcagFYsWCR3wjuhe4jHZKac=
-SIZE (mistune-0.7.1.tar.gz) = 48371
+SHA256 (mistune-0.7.3.tar.gz) = IdDoad87kYnySOAi8cl2PPkGnhovAGdvHxhSvX+YtxM=
+SIZE (mistune-0.7.3.tar.gz) = 49045
Index: pkg/PLIST
===
RCS file: /cvs/ports/textproc/py-mistune/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   22 Oct 2015 19:49:09 -  1.1.1.1
+++ pkg/PLIST   29 Sep 2016 16:09:50 -
@@ -1,4 +1,5 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2015/10/22 19:49:09 edd Exp $
+lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}mistune.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/mistune-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
 
lib/python${MODPY_VERSION}/site-packages/mistune-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
 
lib/python${MODPY_VERSION}/site-packages/mistune-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
@@ -6,4 +7,3 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/mistune-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe
 
lib/python${MODPY_VERSION}/site-packages/mistune-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
 lib/python${MODPY_VERSION}/site-packages/mistune.py
-lib/python${MODPY_VERSION}/site-packages/mistune.pyc



NEW: devel/py-nose-warnings-filters 0.1.2

2016-09-29 Thread Alexandr Shadchin
Hi,

ok to import?

Need for update IPython 5.

DESCR:

Allow to inject warning filters during nosetest.

-- 
Alexandr Shadchin



py-nose-warnings-filters.tgz
Description: application/tar-gz


Re: switch www/drupal{6,7} HOMEPAGE and MASTER_SITES to https

2016-09-29 Thread Landry Breuil
On Mon, Sep 26, 2016 at 10:17:45PM +0200, Rafael Sadowski wrote:
> hi @ports,
> 
> I know, a ports bump is required for HOMEPAGE/MASTER_SITES change but
> maybe to make an exception here because are so many sub-packages?
> 

Fwiw, drupal6 will go to the attic *soon*. It is dead/EOL'ed upstream.

Landry



NEW: devel/py-prompt-toolkit 1.0.7

2016-09-29 Thread Alexandr Shadchin
Hi,

ok to import?

Need for update IPython 5.

DESCR:

prompt_toolkit is a library for building powerful interactive command
lines and terminal applications in Python.

-- 
Alexandr Shadchin



py-prompt-toolkit.tgz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2016-09-29 Thread Alexandr Shadchin
CVSROOT:/cvs
Module name:ports
Changes by: shadc...@cvs.openbsd.org2016/09/29 09:05:13

Modified files:
devel/py-wcwidth: Makefile distinfo 

Log message:
Update to py-wcwidth 0.1.7. Take maintainership.

ok ajacoutot@



Re: emacs-25.1

2016-09-29 Thread Aaron Bieber
On Tue, Sep 27, 2016 at 06:46:06PM +0200, Jeremie Courreges-Anglas wrote:
> j...@wxcvbn.org (Jeremie Courreges-Anglas) writes:
> 
> > Announce: 
> > http://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00451.html
> > NEWS file: https://www.gnu.org/software/emacs/news/NEWS.25.1
> > There is now support for filesystem notifications support via kqueue.
> 
> I forgot to mention that this update fixes the freezes with the gtk3
> flavor. :)
> 
> -- 
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE
> 

Working great here! (gtk3 on amd64)

I will get my macppc up and running today to do some more testing.



UPDATE: devel/py-wcwidth 0.1.7

2016-09-29 Thread Alexandr Shadchin
Hi,

This diff updates py-wcwidth to the latest release.
Tested on amd64.

* take maintainership
* enable tests

Comments ? OK ?

-- 
Alexandr Shadchin

Index: Makefile
===
RCS file: /cvs/ports/devel/py-wcwidth/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile27 Apr 2016 21:33:59 -  1.2
+++ Makefile29 Sep 2016 13:29:31 -
@@ -2,7 +2,7 @@
 
 COMMENT=   measures number of terminal column cells of wide-char 
code
 
-MODPY_EGG_VERSION= 0.1.6
+MODPY_EGG_VERSION= 0.1.7
 DISTNAME=  wcwidth-${MODPY_EGG_VERSION}
 PKGNAME=   py-${DISTNAME}
 
@@ -15,13 +15,15 @@ PERMIT_PACKAGE_CDROM=   Yes
 
 MODULES=   lang/python
 
+TEST_DEPENDS=  devel/py-test${MODPY_FLAVOR}
+
 MODPY_PI=  Yes
 MODPY_SETUPTOOLS=  Yes
 
 FLAVORS=   python3
 FLAVOR ?=
 
-# requires the 'tox' command
-NO_TEST=   Yes
+do-test:
+   cd ${WRKSRC} && ${MODPY_BIN} -m pytest wcwidth
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/devel/py-wcwidth/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo27 Apr 2016 21:33:59 -  1.2
+++ distinfo29 Sep 2016 13:29:31 -
@@ -1,2 +1,2 @@
-SHA256 (wcwidth-0.1.6.tar.gz) = 3LPsR3EGbMFc9qq11cSkmaXwHGd/9a60bPIFANzNkgs=
-SIZE (wcwidth-0.1.6.tar.gz) = 20483
+SHA256 (wcwidth-0.1.7.tar.gz) = PfNzciJtbmPhseHtoVxZS8qYoi0zojgyqQmY+qlrxl4=
+SIZE (wcwidth-0.1.7.tar.gz) = 22884



UPDATE: lang/go

2016-09-29 Thread Steve Mynott
On Thu, Sep 29, 2016 at 01:48:23AM +1000, Joel Sing typed:
 
> Thanks for sending this - I had already made a start on it, however had not 
> gotten to complete the update.
> 
> Some feedback for future reference:
> 
> - If you are bumping the version number the REVISION (if any) can be removed.

Thanks for the feedback.

I attach a second version of the patch with REVISION removed inline
below.

> - The PLIST will often change between releases - `make PLIST` will generate 
> the updated PLIST, however with lang/go you want to usually run it on 
> OpenBSD/i386 to avoid unintended changes.

I ran on amd64 and filtered out the arch related changes and added 
'go/doc/gopher/favicon.svg' as a result below.

> - How was the update tested? Did you run `make regress` and if so, on what 
> architectures?

I got "ALL TESTS PASSED" with amd64 (I don't have access to other arch.)

It's a relatively minor version bump and I would hope other arch unaffected!

Index: Makefile
===
RCS file: /cvs/ports/lang/go/Makefile,v
retrieving revision 1.38
diff -u -p -r1.38 Makefile
--- Makefile21 Aug 2016 14:08:25 -  1.38
+++ Makefile29 Sep 2016 10:51:14 -
@@ -4,8 +4,7 @@ ONLY_FOR_ARCHS =${GO_ARCHS}
 
 COMMENT =  Go programming language
 
-REVISION = 0
-VERSION =  1.7
+VERSION =  1.7.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.20
diff -u -p -r1.20 distinfo
--- distinfo18 Aug 2016 17:23:03 -  1.20
+++ distinfo29 Sep 2016 10:51:14 -
@@ -1,2 +1,2 @@
-SHA256 (go1.7.src.tar.gz) = cmgMFroIkfzyzPRtD4CeTs9Hu/iJ9diEzLVMXpoX4cA=
-SIZE (go1.7.src.tar.gz) = 14091954
+SHA256 (go1.7.1.src.tar.gz) = K4Q/EzuBt5lfJtDLZLvbudBwS5DETfRfhE0oiBrUQtM=
+SIZE (go1.7.1.src.tar.gz) = 14098889
cvs diff: Diffing patches
cvs diff: Diffing pkg
Index: pkg/PLIST
===
RCS file: /cvs/ports/lang/go/pkg/PLIST,v
retrieving revision 1.17
diff -u -p -r1.17 PLIST
--- pkg/PLIST   18 Aug 2016 17:23:03 -  1.17
+++ pkg/PLIST   29 Sep 2016 12:04:20 -
@@ -105,6 +105,7 @@ go/doc/gopher/bumper320x180.png
 go/doc/gopher/bumper480x270.png
 go/doc/gopher/bumper640x360.png
 go/doc/gopher/doc.png
+go/doc/gopher/favicon.svg
 go/doc/gopher/fiveyears.jpg
 go/doc/gopher/frontpage.png
 go/doc/gopher/gopherbw.png



Re: NEW: x11/agar

2016-09-29 Thread Dmitrij D. Czarkoff
"Anthony J. Bentley"  wrote:

>Hi,
>
>Anthony J. Bentley writes:
>> Anthony J. Bentley writes:
>>> Agar is a cross-platform GUI toolkit. Agar provides a base framework and a
>>> collection of GUI widgets from which GUI applications can be built. Agar can
>>> be styled and themed using a CSS-style engine.
>>> 
>>> Agar applications work seamlessly under X11 (with OpenGL), Windows, MacOS X
>>> and SDL 1.2. Agar can also attach to an OpenGL or SDL context and operate as
>>> window manager for the application. Agar is compact, efficient, and fully
>>> thread-safe. Its functionality can be extended using simple C/C++ class
>>> registration interfaces.
>>> 
>>> and,
>>> 
>>> agartest is an interactive test suite for the agar widget toolkit library.
>>> 
>>> ok?
>> 
>> Ping.
>
>Anyone willing to ok this port?

It is in need of an update.  Diff follows, updated port attached.

I tried running x11/agar/test, but for some reason the lower half of the
window is solid gray.  I guess it is not how things are supposed to be.

--
Dmitrij D. Czarkoff

exporting patch:
# HG changeset patch
# User Dmitrij D. Czarkoff 
# Date 1475147691 -7200
#  Thu Sep 29 13:14:51 2016 +0200
# Node ID c9d4925f25a6e5b205e104cb989ed2f8ec794016
# Parent  7c016fff48d418ba2e185799c62282f5736cf6ae
x11/agar: update

 * fix port after converters/libiconv module removal
 * regen PLIST

diff -r 7c016fff48d4 -r c9d4925f25a6 x11/agar/agar/Makefile
--- a/x11/agar/agar/MakefileThu Sep 29 13:12:15 2016 +0200
+++ b/x11/agar/agar/MakefileThu Sep 29 13:14:51 2016 +0200
@@ -11,13 +11,13 @@
 SHARED_LIBS +=  ag_math   0.0 # 5.0
 SHARED_LIBS +=  ag_vg 0.0 # 5.0
 
-WANTLIB += GL SDL X11 X11-xcb Xdamage Xext Xfixes Xinerama
-WANTLIB += Xxf86vm db drm expat fontconfig freetype glapi jpeg
-WANTLIB += m png pthread pthread-stubs sndio usbhid xcb
-WANTLIB += xcb-dri2 xcb-glx z
+WANTLIB += GL SDL X11 X11-xcb Xdamage Xext Xfixes Xinerama Xxf86vm
+WANTLIB += db drm expat fontconfig freetype glapi iconv jpeg m
+WANTLIB += png pthread pthread-stubs sndio usbhid xcb xcb-dri2
+WANTLIB += xcb-glx z
 
-MODULES =  converters/libiconv
-LIB_DEPENDS =  databases/db/v4 \
+LIB_DEPENDS =  converters/libiconv \
+   databases/db/v4 \
devel/sdl \
graphics/jpeg \
graphics/png
diff -r 7c016fff48d4 -r c9d4925f25a6 x11/agar/agar/pkg/PLIST
--- a/x11/agar/agar/pkg/PLIST   Thu Sep 29 13:12:15 2016 +0200
+++ b/x11/agar/agar/pkg/PLIST   Thu Sep 29 13:14:51 2016 +0200
@@ -549,7 +549,6 @@
 @man man/man3/VG_Polygon.3
 @man man/man3/VG_Text.3
 @man man/man3/VG_View.3
-share/aclocal/
 share/aclocal/agar.m4
 share/agar/
 share/agar/fonts/


agar.tgz
Description: application/gzip


CVS: cvs.openbsd.org: ports

2016-09-29 Thread Alexandr Shadchin
CVSROOT:/cvs
Module name:ports
Changes by: shadc...@cvs.openbsd.org2016/09/29 03:52:00

Modified files:
devel/py-parsing: Makefile distinfo 
devel/py-parsing/pkg: PLIST 

Log message:
Update to py-parsing 2.1.9



update libsndfile to 1.0.27

2016-09-29 Thread Jan Stary
The diff below updates audio/libsndfile to version 1.0.27.
The changes as summarized upstream:

>   * Fix an SF_INFO seekable flag regression introduced in 1.0.26.
>   * Fix potential infinite loops on malformed input files.
>   * Add string metadata read/write for CAF and RF64.
>   * Add handling of CUE chunks.
>   * Fix enaian-ness issues in PAF files.
>   * Minor bug fixes and improvements.

Compiles and works fine on amd64,
macppc (MacMini) and armv7 (BBB).
Please test some more.

Jan


Index: Makefile
===
RCS file: /cvs/ports/audio/libsndfile/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- Makefile11 Mar 2016 20:28:22 -  1.30
+++ Makefile29 Sep 2016 07:30:03 -
@@ -2,11 +2,11 @@
 
 COMMENT=   library to handle various audio file formats
 
-DISTNAME=  libsndfile-1.0.26
+DISTNAME=  libsndfile-1.0.27
 CATEGORIES=audio
 HOMEPAGE=  http://www.mega-nerd.com/libsndfile/
 MAINTAINER=Jan Stary 
-SHARED_LIBS += sndfile  4.0  # .1.26
+SHARED_LIBS += sndfile  5.0  # .1.27
 
 # LGPLv2.1
 PERMIT_PACKAGE_CDROM=  Yes
Index: distinfo
===
RCS file: /cvs/ports/audio/libsndfile/distinfo,v
retrieving revision 1.15
diff -u -p -r1.15 distinfo
--- distinfo10 Dec 2015 10:00:30 -  1.15
+++ distinfo29 Sep 2016 07:30:03 -
@@ -1,2 +1,2 @@
-SHA256 (libsndfile-1.0.26.tar.gz) = 
zWUg7HY9GkVXOIXssfjk5CUFrBIYAmhIKkSyhISiUJI=
-SIZE (libsndfile-1.0.26.tar.gz) = 1080727
+SHA256 (libsndfile-1.0.27.tar.gz) = 
o5GVLyf0qSzrK0wGSTrBB4lu1sdr6aYTpHMfB20w+sA=
+SIZE (libsndfile-1.0.27.tar.gz) = 1192337



CVS: cvs.openbsd.org: ports

2016-09-29 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2016/09/29 01:48:28

Modified files:
sysutils/google-cloud-sdk: Makefile distinfo 
sysutils/google-cloud-sdk/pkg: PLIST 

Log message:
Update to google-cloud-sdk-128.0.0.