new version of lua-openbsd

2023-06-16 Thread Florian Stinglmayr
Hi ports,

I'm the upstream developer for lua-openbsd, and I have recently released
a new version v0.5. It now supports passing two nil values to unveil,
to stop further calls to unveil. I also ran tests with lua5.4 and it
seems to work well with the new Lua version.

Been a while since I handled cvs and ports in general, so please forgive
if the patch is not usable.

Florian


lua-openbsd-v05.diff
Description: Binary data


Re: UPDATE: x11/herbstluftwm-0.7.0 -> 0.7.1

2018-12-22 Thread Florian Stinglmayr

On 21/12/2018 12:52, Sascha Paunovic wrote:

Hi,

here's an update of herbstluftwm to 0.7.1.



I no longer use OpenBSD on a desktop, so I am not really anyone to give 
an "ok" on this. But for what it's worth you have it anyway.


Florian



Re: UPDATE: textprox/the_silver_searcher-2.2.0

2018-11-23 Thread Florian Stinglmayr

On 18/11/2018 22:09, Edward Lopez-Acosta wrote:

Minor version bump. Existing version is >1 year old.

Builds and runs fine on amd64.
No changelog listed on GitHub page, and no tests.

Ok?


Seems to work fine for me. Been using that patch for a few days now 
without problems.


Florian



UPDATE: the_silver_searcher

2017-08-31 Thread Florian Stinglmayr
Hi list,

here is an update for the_silver_searcher to 2.1.0. Mostly
support for new languages (such as org-mode, .dot, .asciidoc
and a few more. And also a lot of fixes unrelated to OpenBSD.

Forgive my git heresy.

diff --git a/textproc/the_silver_searcher/Makefile 
b/textproc/the_silver_searcher/Makefile
index cd13aaa7509..8311b61bf3b 100644
--- a/textproc/the_silver_searcher/Makefile
+++ b/textproc/the_silver_searcher/Makefile
@@ -2,7 +2,7 @@
 
 COMMENT =  code searching tool, with a focus on speed (ag)
 
-DISTNAME = the_silver_searcher-2.0.0
+DISTNAME = the_silver_searcher-2.1.0
 CATEGORIES =   textproc
 
 HOMEPAGE = https://github.com/ggreer/the_silver_searcher
diff --git a/textproc/the_silver_searcher/distinfo 
b/textproc/the_silver_searcher/distinfo
index 19b8a2e2a1c..06ca678dc6a 100644
--- a/textproc/the_silver_searcher/distinfo
+++ b/textproc/the_silver_searcher/distinfo
@@ -1,2 +1,2 @@
-SHA256 (the_silver_searcher-2.0.0.tar.gz) = 
ADOH67/d5UWEEQPQ74EvMKVQGphK+z1bRftVcUselRM=
-SIZE (the_silver_searcher-2.0.0.tar.gz) = 183959
+SHA256 (the_silver_searcher-2.1.0.tar.gz) = 
1GUr2Rw6Beh6FYCcXz8UrS5eH4AYWvUQ4/pK0gOMFdQ=
+SIZE (the_silver_searcher-2.1.0.tar.gz) = 190010



Re: NEW: devel/riscv-elf

2017-08-02 Thread Florian Stinglmayr
> Comments/OKs ?

Works for me. Once I have my HiFive1 I will give this a try on real
hardware.



UPDATE: the_silver_searcher to 1.0.3

2017-05-05 Thread Florian Stinglmayr
Hi list,

simple update to 1.0.3. The merge request did not make it in
so the patch is still required.

Index: Makefile
===
RCS file: /cvs/ports/textproc/the_silver_searcher/Makefile,v
retrieving revision 1.24
diff -u -p -u -r1.24 Makefile
--- Makefile5 Jan 2017 13:50:49 -   1.24
+++ Makefile5 May 2017 14:55:06 -
@@ -2,8 +2,7 @@

 COMMENT =  code searching tool, with a focus on speed (ag)

-DISTNAME = the_silver_searcher-1.0.2
-REVISION = 0
+DISTNAME = the_silver_searcher-1.0.3
 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.21
diff -u -p -u -r1.21 distinfo
--- distinfo15 Dec 2016 14:16:38 -  1.21
+++ distinfo5 May 2017 14:55:06 -
@@ -1,2 +1,2 @@
-SHA256 (the_silver_searcher-1.0.2.tar.gz) = 
b0p44fHfpUNMGeWlhayM7+5pmG+QkgkoSYIXs2uEpGw=
-SIZE (the_silver_searcher-1.0.2.tar.gz) = 183230
+SHA256 (the_silver_searcher-1.0.3.tar.gz) = 
1Yb0g6DnCd04P4IAZJVVARQXFxnwYzok8J+rbI3eAJ4=
+SIZE (the_silver_searcher-1.0.3.tar.gz) = 183276



Re: NEW: libmpack (needs discussion)

2017-01-20 Thread Florian Stinglmayr
On Thu, Jan 19, 2017 at 09:21:42PM +, Edd Barrett wrote:
> On Thu, Jan 19, 2017 at 10:07:30PM +0100, Jeremie Courreges-Anglas wrote:
> > The best way to know if things are right is probably to have a test
> > target for the lua module. ;)
>
> There is a test suite but it needs a load of lua deps we don't yet have

Which ones? Lua deps are my speciality.

> in tree. I think I'll do as you suggest and make a minimal test target
> of my own.
>
> > Do you have any reason to remove libmpack.la?
>
> Not really. I'll bring it back.



Re: textproc/the_silver_searcher: fix heap buffer overflow

2017-01-05 Thread Florian Stinglmayr
Hi Theo,

thanks for fixing this. The patches look fine.

ok from me



UPDATE: hexchat to 2.12.4

2017-01-01 Thread Florian Stinglmayr
Hi list,

below is an update for hexchat to bring it to 2.12.4.
At first upstream butchered the release tarball [1] and then they
broke compability with LibreSSL [2]. All of these issues are now fixed
upstream however, so after a new release I should be able to remove the
patches and quirks from the port. The upstream patch for LibreSSL is far
nicer and better, but I wanted to avoid calling autoreconf in prebuild
so the not so clean patch it is.

New things and fixes in hexchat 2.12.4:

* Minor utf8 problems fixes
* doat is now an internal command and no longer a plugin. Loading doat
  via startup script might give you trouble
* Support for OpenSSL >= 1.1
* Important bugfix for unwanted ping timeouts on high latency networks.

Regards,
Florian


[1] https://github.com/hexchat/hexchat/issues/1897
[2] https://github.com/hexchat/hexchat/pull/1899



Index: Makefile
===
RCS file: /cvs/ports/net/hexchat/Makefile,v
retrieving revision 1.14
diff -u -p -u -r1.14 Makefile
--- Makefile28 Oct 2016 14:55:19 -  1.14
+++ Makefile2 Jan 2017 01:51:33 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.14 2016/10/28 14:55:19 fcambus Exp $
 
 COMMENT =  GTK+2 IRC Client
-DISTNAME = hexchat-2.12.3
+DISTNAME = hexchat-2.12.4
 EXTRACT_SUFX = .tar.xz
 CATEGORIES =   net x11
 
@@ -21,6 +21,8 @@ WANTLIB += png proxy pthread pthread-stu
 WANTLIB += xcb xcb-render xcb-shm z
 
 MASTER_SITES = http://dl.hexchat.net/hexchat/
+
+DISTFILES =hexchat-2.12.4-repack.tar.xz
 
 MODULES =  textproc/intltool \
lang/lua \
Index: distinfo
===
RCS file: /cvs/ports/net/hexchat/distinfo,v
retrieving revision 1.7
diff -u -p -u -r1.7 distinfo
--- distinfo28 Oct 2016 14:55:19 -  1.7
+++ distinfo2 Jan 2017 01:51:33 -
@@ -1,2 +1,2 @@
-SHA256 (hexchat-2.12.3.tar.xz) = bysiNyx6ntj/q4FweWOOj0F49fi6Y8ics7qgG+YU8ro=
-SIZE (hexchat-2.12.3.tar.xz) = 1577736
+SHA256 (hexchat-2.12.4-repack.tar.xz) = 
F0Fo1IcFwqaGIyRrKrJA3cE2LkXLAjsi69X6cCm64PA=
+SIZE (hexchat-2.12.4-repack.tar.xz) = 1577684
Index: patches/patch-plugins_fishlim_dh1080_c
===
RCS file: patches/patch-plugins_fishlim_dh1080_c
diff -N patches/patch-plugins_fishlim_dh1080_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-plugins_fishlim_dh1080_c  2 Jan 2017 01:51:33 -
@@ -0,0 +1,30 @@
+$OpenBSD$
+--- plugins/fishlim/dh1080.c.orig  Sun Oct 23 09:40:01 2016
 plugins/fishlim/dh1080.c   Mon Jan  2 02:43:16 2017
+@@ -74,7 +74,7 @@ dh1080_init (void)
+ 
+   BN_set_word (g, 2);
+ 
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || LIBRESSL_VERSION_NUMBER
+   g_dh->p = p;
+   g_dh->g = g;
+ #else
+@@ -162,7 +162,7 @@ dh1080_generate_key (char **priv_key, char **pub_key)
+   return 0;
+   }
+ 
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || LIBRESSL_VERSION_NUMBER
+   dh_pub_key = dh->pub_key;
+   dh_priv_key = dh->priv_key;
+ #else
+@@ -213,7 +213,7 @@ dh1080_compute_key (const char *priv_key, const char *
+ 
+   priv_key_data = dh1080_decode_b64 (priv_key, _key_len);
+   priv_key_num = BN_bin2bn(priv_key_data, priv_key_len, NULL);
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || LIBRESSL_VERSION_NUMBER
+   dh->priv_key = priv_key_num;
+ #else
+   DH_set0_key (dh, NULL, priv_key_num);
Index: patches/patch-src_common_ssl_c
===
RCS file: patches/patch-src_common_ssl_c
diff -N patches/patch-src_common_ssl_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_common_ssl_c  2 Jan 2017 01:51:33 -
@@ -0,0 +1,21 @@
+$OpenBSD$
+--- src/common/ssl.c.orig  Sun Oct 23 09:40:01 2016
 src/common/ssl.c   Mon Jan  2 02:43:16 2017
+@@ -176,7 +176,7 @@ _SSL_get_cert_info (struct cert_info *cert_info, SSL *
+   return 1;
+ 
+   alg = OBJ_obj2nid (algor->algorithm);
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || LIBRESSL_VERSION_NUMBER
+   sign_alg = OBJ_obj2nid (peer_cert->sig_alg->algorithm);
+ #else
+   sign_alg = X509_get_signature_nid (peer_cert);
+@@ -306,7 +306,7 @@ _SSL_socket (SSL_CTX *ctx, int sd)
+ 
+   SSL_set_fd (ssl, sd);
+ 
+-#if OPENSSL_VERSION_NUMBER < 0x1010L
++#if OPENSSL_VERSION_NUMBER < 0x1010L || LIBRESSL_VERSION_NUMBER
+   method = ctx->method;
+ #else
+   method = SSL_CTX_get_ssl_method (ctx);
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/hexchat/pkg/PLIST,v
retrieving revision 1.2
diff -u -p 

UPDATE: the_silver_search

2016-12-09 Thread Florian Stinglmayr
Hi list,

here is an update for the_silver_search to 1.0.2. The new release only
fixes issues for Mac OS X. Still I have to still the beast that is
portroach.

Regards,
Florian

? ag-1.0.2.patch
Index: Makefile
===
RCS file: /cvs/ports/textproc/the_silver_searcher/Makefile,v
retrieving revision 1.22
diff -u -p -u -p -r1.22 Makefile
--- Makefile2 Dec 2016 14:51:52 -   1.22
+++ Makefile9 Dec 2016 15:49:56 -
@@ -2,7 +2,7 @@
 
 COMMENT =  code searching tool, with a focus on speed (ag)
 
-DISTNAME = the_silver_searcher-1.0.1
+DISTNAME = the_silver_searcher-1.0.2
 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.20
diff -u -p -u -p -r1.20 distinfo
--- distinfo2 Dec 2016 14:51:52 -   1.20
+++ distinfo9 Dec 2016 15:49:56 -
@@ -1,2 +1,2 @@
-SHA256 (the_silver_searcher-1.0.1.tar.gz) = 
2WgqcPWEIZfRA5HpuFdXbJtvxOkwzW0kHCSee0mC8so=
-SIZE (the_silver_searcher-1.0.1.tar.gz) = 183173
+SHA256 (the_silver_searcher-1.0.2.tar.gz) = 
b0p44fHfpUNMGeWlhayM7+5pmG+QkgkoSYIXs2uEpGw=
+SIZE (the_silver_searcher-1.0.2.tar.gz) = 183230



Re: UPDATE: the_silver_searcher 1.0.1

2016-12-02 Thread Florian Stinglmayr
On Thu, Dec 01, 2016 at 08:48:45PM +, Stuart Henderson wrote:
> It doesn't use C++.  How about this one?
>

Erm, my bad. Yes of course.

> Index: Makefile
> ===
> RCS file: /cvs/ports/textproc/the_silver_searcher/Makefile,v
> retrieving revision 1.21
> diff -u -p -r1.21 Makefile
> --- Makefile  30 Sep 2016 02:08:52 -  1.21
> +++ Makefile  1 Dec 2016 20:47:33 -
> @@ -2,7 +2,7 @@
>
>  COMMENT =code searching tool, with a focus on speed (ag)
>
> -DISTNAME =   the_silver_searcher-0.33.0
> +DISTNAME =   the_silver_searcher-1.0.1
>  CATEGORIES = textproc
>
>  HOMEPAGE =   https://github.com/ggreer/the_silver_searcher
> @@ -13,6 +13,9 @@ PERMIT_PACKAGE_CDROM =  Yes
>
>  # uses pledge()
>  WANTLIB += c lzma pcre pthread z
> +
> +MODULES =gcc4
> +MODGCC4_ARCHS =  * # needed for TLS
>
>  MASTER_SITES =   http://geoff.greer.fm/ag/releases/
>
> Index: distinfo
> ===
> RCS file: /cvs/ports/textproc/the_silver_searcher/distinfo,v
> retrieving revision 1.19
> diff -u -p -r1.19 distinfo
> --- distinfo  30 Sep 2016 02:08:52 -  1.19
> +++ distinfo  1 Dec 2016 20:47:33 -
> @@ -1,2 +1,2 @@
> -SHA256 (the_silver_searcher-0.33.0.tar.gz) = 
> jKaAOZ317ohGpQnIpnwQ7h1fwalEVoBqD/ndkTuWHbM=
> -SIZE (the_silver_searcher-0.33.0.tar.gz) = 180522
> +SHA256 (the_silver_searcher-1.0.1.tar.gz) = 
> 2WgqcPWEIZfRA5HpuFdXbJtvxOkwzW0kHCSee0mC8so=
> +SIZE (the_silver_searcher-1.0.1.tar.gz) = 183173
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/textproc/the_silver_searcher/pkg/PLIST,v
> retrieving revision 1.3
> diff -u -p -r1.3 PLIST
> --- pkg/PLIST 17 May 2016 10:57:07 -  1.3
> +++ pkg/PLIST 1 Dec 2016 20:47:33 -
> @@ -4,3 +4,6 @@
>  share/bash-completion/
>  share/bash-completion/completions/
>  share/bash-completion/completions/ag.bashcomp.sh
> +share/zsh/
> +share/zsh/site-functions/
> +share/zsh/site-functions/_the_silver_searcher
>
> > retrieving revision 1.19
> > diff -u -p -u -r1.19 distinfo
> > --- distinfo30 Sep 2016 02:08:52 -  1.19
> > +++ distinfo1 Dec 2016 16:37:49 -
> > @@ -1,2 +1,2 @@
> > -SHA256 (the_silver_searcher-0.33.0.tar.gz) = 
> > jKaAOZ317ohGpQnIpnwQ7h1fwalEVoBqD/ndkTuWHbM=
> > -SIZE (the_silver_searcher-0.33.0.tar.gz) = 180522
> > +SHA256 (the_silver_searcher-1.0.1.tar.gz) = 
> > 2WgqcPWEIZfRA5HpuFdXbJtvxOkwzW0kHCSee0mC8so=
> > +SIZE (the_silver_searcher-1.0.1.tar.gz) = 183173
> > Index: pkg/PLIST
> > ===
> > RCS file: /cvs/ports/textproc/the_silver_searcher/pkg/PLIST,v
> > retrieving revision 1.3
> > diff -u -p -u -r1.3 PLIST
> > --- pkg/PLIST   17 May 2016 10:57:07 -  1.3
> > +++ pkg/PLIST   1 Dec 2016 16:37:49 -
> > @@ -4,3 +4,6 @@
> >  share/bash-completion/
> >  share/bash-completion/completions/
> >  share/bash-completion/completions/ag.bashcomp.sh
> > +share/zsh/
> > +share/zsh/site-functions/
> > +share/zsh/site-functions/_the_silver_searcher
> >



UPDATE: the_silver_searcher 1.0.1

2016-12-01 Thread Florian Stinglmayr
Hi list,

down below is an update for the_silver_searcher to 1.0.1.
There is now apparently moar speed, new features - such as zsh
completion - and a move to gcc4 because of thread local storage.

Enjoy

Index: Makefile
===
RCS file: /cvs/ports/textproc/the_silver_searcher/Makefile,v
retrieving revision 1.21
diff -u -p -u -r1.21 Makefile
--- Makefile30 Sep 2016 02:08:52 -  1.21
+++ Makefile1 Dec 2016 16:37:49 -
@@ -2,7 +2,7 @@
 
 COMMENT =  code searching tool, with a focus on speed (ag)
 
-DISTNAME = the_silver_searcher-0.33.0
+DISTNAME = the_silver_searcher-1.0.1
 CATEGORIES =   textproc
 
 HOMEPAGE = https://github.com/ggreer/the_silver_searcher
@@ -13,6 +13,11 @@ PERMIT_PACKAGE_CDROM =   Yes
 
 # uses pledge()
 WANTLIB += c lzma pcre pthread z
+
+MODULES += gcc4
+
+MODGCC4_LANGS =c++
+MODGCC4_ARCHS =*
 
 MASTER_SITES = http://geoff.greer.fm/ag/releases/
 
Index: distinfo
===
RCS file: /cvs/ports/textproc/the_silver_searcher/distinfo,v
retrieving revision 1.19
diff -u -p -u -r1.19 distinfo
--- distinfo30 Sep 2016 02:08:52 -  1.19
+++ distinfo1 Dec 2016 16:37:49 -
@@ -1,2 +1,2 @@
-SHA256 (the_silver_searcher-0.33.0.tar.gz) = 
jKaAOZ317ohGpQnIpnwQ7h1fwalEVoBqD/ndkTuWHbM=
-SIZE (the_silver_searcher-0.33.0.tar.gz) = 180522
+SHA256 (the_silver_searcher-1.0.1.tar.gz) = 
2WgqcPWEIZfRA5HpuFdXbJtvxOkwzW0kHCSee0mC8so=
+SIZE (the_silver_searcher-1.0.1.tar.gz) = 183173
Index: pkg/PLIST
===
RCS file: /cvs/ports/textproc/the_silver_searcher/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -u -r1.3 PLIST
--- pkg/PLIST   17 May 2016 10:57:07 -  1.3
+++ pkg/PLIST   1 Dec 2016 16:37:49 -
@@ -4,3 +4,6 @@
 share/bash-completion/
 share/bash-completion/completions/
 share/bash-completion/completions/ag.bashcomp.sh
+share/zsh/
+share/zsh/site-functions/
+share/zsh/site-functions/_the_silver_searcher



Re: UPDATE: textproc/lua-yaml 6.1

2016-11-14 Thread Florian Stinglmayr
On Sun, Nov 13, 2016 at 04:31:40PM +1100, Jonathan Gray wrote:
> Index: Makefile
> ===
> RCS file: /cvs/ports/textproc/lua-yaml/Makefile,v
> retrieving revision 1.2
> diff -u -p -r1.2 Makefile
> --- Makefile  16 Oct 2016 23:21:23 -  1.2
> +++ Makefile  13 Nov 2016 05:12:28 -
> @@ -1,7 +1,7 @@
>  # $OpenBSD: Makefile,v 1.2 2016/10/16 23:21:23 jca Exp $
>
>  COMMENT =Lua library for parsing and emitting YAML
> -V =  6.0
> +V =  6.1
>
>  PKGNAME =lua-yaml-${V}
>
> Index: distinfo
> ===
> RCS file: /cvs/ports/textproc/lua-yaml/distinfo,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 distinfo
> --- distinfo  24 Apr 2016 02:36:45 -  1.1.1.1
> +++ distinfo  13 Nov 2016 05:12:40 -
> @@ -1,2 +1,2 @@
> -SHA256 (lyaml-release-v6.0.tar.gz) = 
> nXz3TXdpmf9vdYxWnVIC/12h8wPG9CKdO0H3HNOj56c=
> -SIZE (lyaml-release-v6.0.tar.gz) = 475288
> +SHA256 (lyaml-release-v6.1.tar.gz) = 
> cGPlDfzuJfh/Gin8LXXRLl2P2DUiqZk21RhBw/N0hRo=
> +SIZE (lyaml-release-v6.1.tar.gz) = 476721
>

Looks and works with my project & lua flavour (5.3)

OK maintainer



UPDATE: hexchat to 2.12.3

2016-10-28 Thread Florian Stinglmayr
Hi list,

the last release apparently introduced some crashes that are now fixed
with this new version.

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/net/hexchat/Makefile,v
retrieving revision 1.13
diff -u -p -u -r1.13 Makefile
--- Makefile12 Oct 2016 10:35:44 -  1.13
+++ Makefile28 Oct 2016 10:13:34 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.13 2016/10/12 10:35:44 fcambus Exp $
 
 COMMENT =  GTK+2 IRC Client
-DISTNAME = hexchat-2.12.2
+DISTNAME = hexchat-2.12.3
 EXTRACT_SUFX = .tar.xz
 CATEGORIES =   net x11
 
Index: distinfo
===
RCS file: /cvs/ports/net/hexchat/distinfo,v
retrieving revision 1.6
diff -u -p -u -r1.6 distinfo
--- distinfo12 Oct 2016 10:35:44 -  1.6
+++ distinfo28 Oct 2016 10:13:34 -
@@ -1,2 +1,2 @@
-SHA256 (hexchat-2.12.2.tar.xz) = ba14PzeqwyqDAaEtSYr3p0kA8BGuxOd7s3iul5ejzPY=
-SIZE (hexchat-2.12.2.tar.xz) = 1600156
+SHA256 (hexchat-2.12.3.tar.xz) = bysiNyx6ntj/q4FweWOOj0F49fi6Y8ics7qgG+YU8ro=
+SIZE (hexchat-2.12.3.tar.xz) = 1577736



Re: UPDATE: emulators/snes9x

2016-10-21 Thread Florian Stinglmayr
On Tue, Oct 18, 2016 at 12:43:48AM -0600, Anthony J. Bentley wrote:
> Hi,
>
> Here is an update to the recently released snes9x-1.54.1.
>
> It looks like there is no longer any asm--would appreciate a test on i386.
>
> ok?
>

ok from me. Works fine on amd64 with all of my ROMs



Re: lua ports: versions/flavors handling

2016-10-13 Thread Florian Stinglmayr
On Wed, Oct 12, 2016 at 05:42:00PM +0200, Jeremie Courreges-Anglas wrote:
>
> Some time ago I took a look at hooking lua53 flavors in the ports that
> support it.  It turned out that some ports were already broken with
> particular versions of lua (the most common errors are missing functions
> at dlopen time, and module() errors), yet they were hooked up.
>

There are basically two use cases for Lua. One you have an app that
extends itself for scripting and usually specify one Lua version to
run at. Like HexChat that recommends lua52 or newer for their scripts.

And then you have the libraries. Those *should* support all Lua versions
but often neglect have them fail at the newer ones. If the library is
decent enough though, then there's usually a newer version somewhere
that fixes that issue, or the issues are trivially fixed. The Lua
maintainers provide very easy pointers on how to support all major
Lua versions.

> So it's not just about adding lua53 flavors, but about having
> a consistent ports tree.  In the end, I think that lua.port.mk should
> stop populating FLAVORS automatically, so that people hacking on lua
> have to explicitly enable the lua versions they tested.  Just like for
> python.port.mk.
>

It would certainly be the easiest solutions yes. And I am sure that
there are projects which are beyond hope. But I'd rather invest the
work and get the good ones to support all flavours, and cleanse the
rest.

> The diff to explicitly add FLAVORS / hook them up is not ripe yet,
> but first I'd like to know if people object to the proposal above.

Those are my €0.02

Regards,
Florian



Re: NEW: lua-cliargs

2016-10-11 Thread Florian Stinglmayr
On Tue, Oct 11, 2016 at 10:32:12PM +0200, Frederic Cambus wrote:
>
> Works fine here, this is definitely handy. Some nitpicking:
>
> -COMMENT =  command line parser for lua
> +COMMENT =  command line parser for Lua
>
> -#MIT
> +# MIT
>
> Also, portcheck warns about 2 line(s) longer than 80 chars in Makefile.
> Could you wrap the lines in the 'do-install' target?
>

A new tarball with the nitpickings fixed

Regards,
Florian


lua-cliargs.tar.gz
Description: application/tar-gz


UPDATE: hexchat to 2.12.2

2016-10-11 Thread Florian Stinglmayr
Servus list,

this is a small update for Hexchat that mainly fixes some bugs in the
script API.

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/net/hexchat/Makefile,v
retrieving revision 1.12
diff -u -p -u -r1.12 Makefile
--- Makefile9 May 2016 22:57:57 -   1.12
+++ Makefile11 Oct 2016 20:52:07 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.12 2016/05/09 22:57:57 jca Exp $
 
 COMMENT =  GTK+2 IRC Client
-DISTNAME = hexchat-2.12.1
+DISTNAME = hexchat-2.12.2
 EXTRACT_SUFX = .tar.xz
 CATEGORIES =   net x11
 
Index: distinfo
===
RCS file: /cvs/ports/net/hexchat/distinfo,v
retrieving revision 1.5
diff -u -p -u -r1.5 distinfo
--- distinfo9 May 2016 22:57:57 -   1.5
+++ distinfo11 Oct 2016 20:52:07 -
@@ -1,2 +1,2 @@
-SHA256 (hexchat-2.12.1.tar.xz) = UgGwxtF9y4wst56cOWgfjgUpmbqPe1mG1cHn3Gj6fGs=
-SIZE (hexchat-2.12.1.tar.xz) = 1585532
+SHA256 (hexchat-2.12.2.tar.xz) = ba14PzeqwyqDAaEtSYr3p0kA8BGuxOd7s3iul5ejzPY=
+SIZE (hexchat-2.12.2.tar.xz) = 1600156



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



Re: Remove net/yt (was: UPDATE: luastdlib)

2016-08-03 Thread Florian Stinglmayr
ping?



Re: UPDATE: luastdlib

2016-06-18 Thread Florian Stinglmayr
ping?



Re: UPDATE: lua 5.3.3

2016-06-07 Thread Florian Stinglmayr
On Tue, Jun 07, 2016 at 03:29:05PM +1000, Jonathan Gray wrote:
> http://marc.info/?l=lua-l=146524872110215=2
>

Works great for me and my software.

Thanks



NEW: lua-cliargs

2016-06-05 Thread Florian Stinglmayr
Hi list,

attached is a port for lua-cliargs. A command line parsing library for
Lua. It works with all versions, and is really handy. It is also a
dependency for some bigger ports I have line up.

Thanks,
Florian


lua-cliargs.tar.gz
Description: application/tar-gz


UPDATE: luastdlib

2016-06-04 Thread Florian Stinglmayr
Hi list,

attached is an update for luastdlib that bumps our stone age old
version 22 to the newest 41.2.0. I have been using this for months
and it works well across all Lua versions.

The only problem though is that it breaks API, and anyone else who
is using this must update his code. In ports it only breaks net/yt,
a youtube downloader.

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/devel/luastdlib/Makefile,v
retrieving revision 1.12
diff -u -p -u -r1.12 Makefile
--- Makefile11 Mar 2013 10:50:11 -  1.12
+++ Makefile4 Jun 2016 07:33:42 -
@@ -2,27 +2,29 @@
 
 PKG_ARCH =  *
 
-COMMENT=   lua library of common programming tasks
-DISTNAME=  stdlib-20
-PKGNAME=   lua${DISTNAME}
-REVISION=  1
-CATEGORIES=devel
-
-MASTER_SITES=  http://luaforge.net/frs/download.php/4805/
-HOMEPAGE=  http://luaforge.net/projects/stdlib/
-EXTRACT_SUFX=  .zip
+COMMENT =  lua library of common programming tasks
+V =41.2.0
+
+GH_ACCOUNT =   lua-stdlib
+GH_PROJECT =   lua-stdlib
+GH_TAGNAME =   release-v${V}
+
+DISTNAME = ${GH_PROJECT:S/-//}-${V}
+
+CATEGORIES =   devel
+
+HOMEPAGE = http://lua-stdlib.github.io/lua-stdlib
+
+MAINTAINER =   Florian Stinglmayr <flor...@n0la.org>
 
 # MIT
-PERMIT_PACKAGE_CDROM=  Yes
+PERMIT_PACKAGE_CDROM = Yes
+
+MODULES =  lang/lua
+NO_TEST =  Yes
 
-MODULES=   lang/lua
-NO_BUILD=  Yes
-NO_TEST=   Yes
-WRKDIST=   ${WRKDIR}/stdlib
-
-do-install:
-   ${INSTALL_DATA_DIR} ${MODLUA_DATADIR} ${MODLUA_DOCDIR}
-   ${INSTALL_DATA} ${WRKSRC}/modules/*.lua ${MODLUA_DATADIR}
-   ${INSTALL_DATA} ${WRKSRC}/modules/*.html ${MODLUA_DOCDIR}
+CONFIGURE_ENV =LUA=lua${MODLUA_VERSION:S/.//}
+CONFIGURE_ARGS =   --docdir="${PREFIX}/share/doc/${FULLPKGNAME}"
+CONFIGURE_STYLE =  gnu
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/devel/luastdlib/distinfo,v
retrieving revision 1.4
diff -u -p -u -r1.4 distinfo
--- distinfo18 Jan 2015 03:13:18 -  1.4
+++ distinfo4 Jun 2016 07:33:42 -
@@ -1,2 +1,2 @@
-SHA256 (stdlib-20.zip) = DPa43S8P60DviCsQQt5anW2xPQpRaaJMqHq9uWbg+38=
-SIZE (stdlib-20.zip) = 48827
+SHA256 (luastdlib-41.2.0.tar.gz) = ydnRHc0uPpVuaX9UVbX2K6rfIz2HJtgFFNBDInPMJ+k=
+SIZE (luastdlib-41.2.0.tar.gz) = 398390
Index: patches/patch-modules_getopt_lua
===
RCS file: patches/patch-modules_getopt_lua
diff -N patches/patch-modules_getopt_lua
--- patches/patch-modules_getopt_lua9 Sep 2009 18:31:33 -   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@
-$OpenBSD: patch-modules_getopt_lua,v 1.1 2009/09/09 18:31:33 jolan Exp $
 modules/getopt.lua.origWed Feb 18 17:28:54 2009
-+++ modules/getopt.lua Wed Sep  9 13:28:20 2009
-@@ -88,6 +86,7 @@ function getOpt (argIn, options)
-   parseOpt (opt, arg)
- end
-   end
-+  argOut.n = #argOut
-   return argOut, optOut, errors
- end
- 
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/luastdlib/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -u -r1.5 PLIST
--- pkg/PLIST   15 May 2012 15:16:29 -  1.5
+++ pkg/PLIST   4 Jun 2016 07:33:42 -
@@ -1,44 +1,44 @@
 @comment $OpenBSD: PLIST,v 1.5 2012/05/15 15:16:29 jasper Exp $
 share/doc/${FULLPKGNAME}/
-share/doc/${FULLPKGNAME}/base.html
-share/doc/${FULLPKGNAME}/debug_ext.html
-share/doc/${FULLPKGNAME}/debug_init.html
-share/doc/${FULLPKGNAME}/getopt.html
-share/doc/${FULLPKGNAME}/io_ext.html
-share/doc/${FULLPKGNAME}/lcs.html
-share/doc/${FULLPKGNAME}/list.html
-share/doc/${FULLPKGNAME}/math_ext.html
-share/doc/${FULLPKGNAME}/mbox.html
-share/doc/${FULLPKGNAME}/modules.html
-share/doc/${FULLPKGNAME}/object.html
-share/doc/${FULLPKGNAME}/package_ext.html
-share/doc/${FULLPKGNAME}/parser.html
-share/doc/${FULLPKGNAME}/posix_ext.html
-share/doc/${FULLPKGNAME}/set.html
-share/doc/${FULLPKGNAME}/std.html
-share/doc/${FULLPKGNAME}/strict.html
-share/doc/${FULLPKGNAME}/string_ext.html
-share/doc/${FULLPKGNAME}/table_ext.html
-share/doc/${FULLPKGNAME}/tree.html
-share/doc/${FULLPKGNAME}/xml.html
-share/lua/${MODLUA_VERSION}/base.lua
-share/lua/${MODLUA_VERSION}/debug_ext.lua
-share/lua/${MODLUA_VERSION}/debug_init.lua
-share/lua/${MODLUA_VERSION}/getopt.lua
-share/lua/${MODLUA_VERSION}/io_ext.lua
-share/lua/${MODLUA_VERSION}/lcs.lua
-share/lua/${MODLUA_VERSION}/list.lua
-share/lua/${MODLUA_VERSION}/math_ext.lua
-share/lua/${MODLUA_VERSION}/mbox.lua
-share/lua/${MODLUA_VERSION}/modules.lua
-share/lua/${MODLUA_VERSION}/object.lua
-share/lua/${MODLUA_VERSION}/package_ext.lua
-share/lua/${MODLUA_VERSION}/parser.lua
-share/lua/${MODLUA_VERSION}/posix_ext.lua
-share/lua/${MODLUA_VERSION}/set.lua
+share/doc/${FULLPKGNAME}/classes/
+share/doc/${FULLPKGNAME}/classes/std.container

Re: UPDATE: snes9x to 1.53

2016-06-02 Thread Florian Stinglmayr
ping?


Index: Makefile
===
RCS file: /cvs/ports/emulators/snes9x/Makefile,v
retrieving revision 1.30
diff -u -p -u -r1.30 Makefile
--- Makefile2 Apr 2015 14:14:33 -   1.30
+++ Makefile7 May 2016 14:53:11 -
@@ -4,12 +4,10 @@ COMMENT = emulates the Super Nintendo En
 BROKEN-alpha = ICE/failure on filter/hq2x.cpp
 BROKEN-hppa =  ICE/failure on filter/hq2x.cpp

-DISTNAME = snes9x-1.52-src
+DISTNAME = snes9x-1.53-src
 PKGNAME =  ${DISTNAME:S/-src//}
 CATEGORIES =   emulators games

-REVISION = 7
-
 HOMEPAGE = http://www.snes9x.com/

 # non-commercial
@@ -22,9 +20,10 @@ WANTLIB =X11 Xau Xcomposite Xcursor Xda
gobject-2.0 gthread-2.0 m pango-1.0 pangocairo-1.0 \
pangoft2-1.0 pixman-1 pthread pthread-stubs stdc++ \
xcb xcb-render xcb-render-util z gdk_pixbuf-2.0 \
-   glade-2.0 SDL png xml2 gtk-x11-2.0 gdk-x11-2.0
+   glade-2.0 intl SDL png xml2 gtk-x11-2.0 gdk-x11-2.0
+
+MASTER_SITES = http://www.s9x-w32.de/dl/

-MASTER_SITES = https://sites.google.com/site/bearoso/snes9x/
 EXTRACT_SUFX = .tar.bz2

 RUN_DEPENDS =  devel/desktop-file-utils \
@@ -33,15 +32,12 @@ LIB_DEPENDS =   devel/libglade2 \
devel/sdl \
graphics/png \
textproc/libxml \
-   x11/gtk+2
+   x11/gtk+2

 .if ${MACHINE_ARCH} == "i386"
-BUILD_DEPENDS =  devel/nasm
+BUILD_DEPENDS =  devel/nasm
 .endif

-MODULES =  devel/gettext \
-   textproc/intltool
-
 USE_GMAKE =Yes

 CONFIGURE_STYLE = gnu
@@ -49,7 +45,7 @@ CONFIGURE_ARGS = --without-portaudio \
 --without-oss \
 --without-alsa \
 --without-pulseaudio \
---without-opengl
+--without-opengl
 CONFIGURE_ENV = CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LIBS="-L${X11BASE}/lib -L${LOCALBASE}/lib"

Index: distinfo
===
RCS file: /cvs/ports/emulators/snes9x/distinfo,v
retrieving revision 1.6
diff -u -p -u -r1.6 distinfo
--- distinfo18 Jan 2015 03:13:51 -  1.6
+++ distinfo7 May 2016 14:53:11 -
@@ -1,2 +1,2 @@
-SHA256 (snes9x-1.52-src.tar.bz2) = NuCbLaYrkhD+siTP0YMEehUaccHV5fknSdwovUt/8cs=
-SIZE (snes9x-1.52-src.tar.bz2) = 1720137
+SHA256 (snes9x-1.53-src.tar.bz2) = n3xdLQ+j/nU2Ec+U6Iebc7i7PA6rl828tqtzdu+njcM=
+SIZE (snes9x-1.53-src.tar.bz2) = 1838746
Index: patches/patch-gtk_configure
===
RCS file: /cvs/ports/emulators/snes9x/patches/patch-gtk_configure,v
retrieving revision 1.4
diff -u -p -u -r1.4 patch-gtk_configure
--- patches/patch-gtk_configure 1 Jun 2013 19:19:16 -   1.4
+++ patches/patch-gtk_configure 7 May 2016 14:53:11 -
@@ -1,12 +1,12 @@
 $OpenBSD: patch-gtk_configure,v 1.4 2013/06/01 19:19:16 ajacoutot Exp $
 gtk/configure.orig Sun Jan 10 18:28:11 2010
-+++ gtk/configure  Sun Oct  2 09:23:54 2011
-@@ -2351,7 +2351,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $
- ac_compiler_gnu=$ac_cv_c_compiler_gnu
+--- gtk/configure.orig Mon Apr 18 22:33:51 2016
 gtk/configure  Mon Apr 18 22:34:12 2016
+@@ -6316,7 +6316,7 @@ else
+   CFLAGS="$CFLAGS -fomit-frame-pointer"
+ fi

+-LIBS="$LIBS -lX11 -ldl -lXext"
++LIBS="$LIBS -lX11 -lXext"

--CFLAGS="-O2 -Wall -W -pedantic -Wno-unused-parameter -pipe $CFLAGS"
-+CFLAGS="-Wall -W -pedantic -Wno-unused-parameter $CFLAGS"
- CXXFLAGS="$CFLAGS"
-
- ac_ext=c
+ ZSNESFX='#ZSNESFX=yes'
+ ZSNESC4='#ZSNESC4=yes'
Index: pkg/PLIST
===
RCS file: /cvs/ports/emulators/snes9x/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -u -r1.6 PLIST
--- pkg/PLIST   15 Jun 2012 08:32:15 -  1.6
+++ pkg/PLIST   7 May 2016 14:53:11 -
@@ -8,19 +8,9 @@ share/doc/snes9x/snapshots.txt
 share/doc/snes9x/snes9x-license.txt
 share/examples/snes9x/
 share/examples/snes9x/snes9x.conf.default
-share/icons/
-share/icons/hicolor/
-share/icons/hicolor/16x16/
-share/icons/hicolor/16x16/apps/
 share/icons/hicolor/16x16/apps/snes9x.png
-share/icons/hicolor/24x24/
-share/icons/hicolor/24x24/apps/
 share/icons/hicolor/24x24/apps/snes9x.png
-share/icons/hicolor/32x32/
-share/icons/hicolor/32x32/apps/
 share/icons/hicolor/32x32/apps/snes9x.png
-share/icons/hicolor/scalable/
-share/icons/hicolor/scalable/apps/
 share/icons/hicolor/scalable/apps/snes9x.svg
 share/locale/es_VE/
 share/locale/es_VE/LC_MESSAGES/
@@ -29,8 +19,7 @@ share/locale/fr_FR/
 share/locale/fr_FR/LC_MESSAGES/
 share/locale/fr_FR/LC_MESSAGES/snes9x-gtk.mo
 share/locale/pt_BR/LC_MESSAGES/snes9x-gtk.mo
-share/locale/sr@latin/
-share/locale/sr@latin/LC_MESSAGES/
+share/locale/ru/LC_MESSAGES/snes9x-gtk.mo
 share/locale/sr@latin/LC_MESSAGES/snes9x-gtk.mo
 @exec %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor
 

Re: lua.port.mk FLAVOR handling

2016-05-27 Thread Florian Stinglmayr
On Fri, May 27, 2016 at 02:21:39PM +0200, Jeremie Courreges-Anglas wrote:
> j...@wxcvbn.org (Jeremie Courreges-Anglas) writes:
>
> > While testing the support for various lua versions in our lua ports,
> > I noticed the case of luasec,lua53 and luasocket,lua53.  luasocket
> > doesn't work with lua53.  I tried to limit its available flavors, but
> > did not get the expected failure when installing luasec,lua53:
> > luasocket,lua53 was still built and installed.
> >

I submitted a patch recently that made luasocket work with lua53. This
patch is already upstream and would make it to ports if they decide to
make a new release.

But otherwise I am fine with the changes.

Index: Makefile
===
RCS file: /cvs/ports/net/luasocket/Makefile,v
retrieving revision 1.31
diff -u -p -u -r1.31 Makefile
--- Makefile5 Apr 2015 13:31:14 -   1.31
+++ Makefile3 Apr 2016 18:26:55 -
@@ -7,7 +7,7 @@ V=  3.0-rc1
 GH_ACCOUNT=diegonehab
 GH_PROJECT=luasocket
 GH_TAGNAME=v$V
-REVISION=  0
+REVISION=  1
 DISTNAME=  ${GH_PROJECT}-$V
 PKGNAME=   ${DISTNAME:S/-rc/rc/}
 CATEGORIES=net
@@ -27,7 +27,8 @@ MAKE_FILE=makefile
 MAKE_FLAGS=CC_linux=${CC} \
LD_linux=${CC} \
CFLAGS_linux="${CFLAGS} -I${MODLUA_INCL_DIR} -fPIC \
- -DPIC -DUNIX_HAS_SUN_LEN" \
+ -DPIC -DUNIX_HAS_SUN_LEN \
+ -DLUA_COMPAT_APIINTCASTS" \
LDFLAGS_linux="${LDFLAGS} -shared -fPIC -o "
 
 do-install:



Re: update the_silver_searcher (uses pledge upstream)

2016-05-17 Thread Florian Stinglmayr
On Tue, May 17, 2016 at 08:54:41AM +0100, Stuart Henderson wrote:
> Update and switch to upstream's standard install target. It now uses
> pledge, so add a marker to the Makefile.  Ok?
> 

Ok by me.

I have also been running the pledge patch without any issues for a few
months now.



Re: NEW: lua-term

2016-05-15 Thread Florian Stinglmayr
On Sun, May 15, 2016 at 10:36:01PM +0200, Jeremie Courreges-Anglas wrote:
> Stuart points out that the spacing you chose is a bit weird.
>
> Objections?
>

Of course not.

Although I could swear I just copied the template...

Regards,
Florian

> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/lua-term/Makefile,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 Makefile
> --- Makefile  15 May 2016 20:27:09 -  1.1.1.1
> +++ Makefile  15 May 2016 20:35:28 -
> @@ -13,11 +13,11 @@ MAINTAINER =  Florian Stinglmayr   # MIT
>  PERMIT_PACKAGE_CDROM =   Yes
>
> -WANTLIB +=   c ${MODLUA_WANTLIB}
> +WANTLIB +=   c ${MODLUA_WANTLIB}
>
> -MODULES =lang/lua
> +MODULES =lang/lua
>
> -NO_TEST =Yes
> +NO_TEST =Yes
>
>  do-build:
>   cd ${WRKSRC} && \



NEW: lua-term

2016-05-14 Thread Florian Stinglmayr
Hi list,

attached is a port for lua-term. lua-term is a small, light weight
wrapper for low level terminal functions. It provides support for
isatty(), coloured output and simple cursor navigation.

It is nice and enough for colouring output or doing simple things
like progressbars and a like.

Regards,
Florian


lua-term.tar.gz
Description: application/tar-gz


Re: UPDATE: snes9x to 1.53

2016-05-07 Thread Florian Stinglmayr
On Sat, May 07, 2016 at 09:32:15PM +0900, Bryan Linton wrote:
> I tried to build it, but some patches fail to apply.  I'm running
> a recent -current (it's just GENERIC.MP with the
> PPPOE_TERM_UNKNOWN_SESSIONS option enabled due to my ISP.
>   OpenBSD 5.9-current (GENERIC.MP-PPPOE_TERM_UNKNOWN_SESSIONS) #3: Tue 
> May  3 11:41:06 JST 2016
>
> I'm running with a ports tree updated from a similar time frame,
> and I tried updating emulators/snes9x before applying it and it
> still gives me an error.  Am I doing something wrong?
>

Below is an updated patch, could you apply it with -p0 to the current
CVS of ports and try again to build it?

Thanks,
Florian

Index: Makefile
===
RCS file: /cvs/ports/emulators/snes9x/Makefile,v
retrieving revision 1.30
diff -u -p -u -r1.30 Makefile
--- Makefile2 Apr 2015 14:14:33 -   1.30
+++ Makefile7 May 2016 14:53:11 -
@@ -4,12 +4,10 @@ COMMENT = emulates the Super Nintendo En
 BROKEN-alpha = ICE/failure on filter/hq2x.cpp
 BROKEN-hppa =  ICE/failure on filter/hq2x.cpp
 
-DISTNAME = snes9x-1.52-src
+DISTNAME = snes9x-1.53-src
 PKGNAME =  ${DISTNAME:S/-src//}
 CATEGORIES =   emulators games
 
-REVISION = 7
-
 HOMEPAGE = http://www.snes9x.com/
 
 # non-commercial
@@ -22,9 +20,10 @@ WANTLIB =X11 Xau Xcomposite Xcursor Xda
gobject-2.0 gthread-2.0 m pango-1.0 pangocairo-1.0 \
pangoft2-1.0 pixman-1 pthread pthread-stubs stdc++ \
xcb xcb-render xcb-render-util z gdk_pixbuf-2.0 \
-   glade-2.0 SDL png xml2 gtk-x11-2.0 gdk-x11-2.0
+   glade-2.0 intl SDL png xml2 gtk-x11-2.0 gdk-x11-2.0
+
+MASTER_SITES = http://www.s9x-w32.de/dl/
 
-MASTER_SITES = https://sites.google.com/site/bearoso/snes9x/
 EXTRACT_SUFX = .tar.bz2
 
 RUN_DEPENDS =  devel/desktop-file-utils \
@@ -33,15 +32,12 @@ LIB_DEPENDS =   devel/libglade2 \
devel/sdl \
graphics/png \
textproc/libxml \
-   x11/gtk+2 
+   x11/gtk+2
 
 .if ${MACHINE_ARCH} == "i386"
-BUILD_DEPENDS =  devel/nasm 
+BUILD_DEPENDS =  devel/nasm
 .endif
 
-MODULES =  devel/gettext \
-   textproc/intltool
-
 USE_GMAKE =Yes
 
 CONFIGURE_STYLE = gnu
@@ -49,7 +45,7 @@ CONFIGURE_ARGS = --without-portaudio \
 --without-oss \
 --without-alsa \
 --without-pulseaudio \
---without-opengl 
+--without-opengl
 CONFIGURE_ENV = CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LIBS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
 
Index: distinfo
===
RCS file: /cvs/ports/emulators/snes9x/distinfo,v
retrieving revision 1.6
diff -u -p -u -r1.6 distinfo
--- distinfo18 Jan 2015 03:13:51 -  1.6
+++ distinfo7 May 2016 14:53:11 -
@@ -1,2 +1,2 @@
-SHA256 (snes9x-1.52-src.tar.bz2) = NuCbLaYrkhD+siTP0YMEehUaccHV5fknSdwovUt/8cs=
-SIZE (snes9x-1.52-src.tar.bz2) = 1720137
+SHA256 (snes9x-1.53-src.tar.bz2) = n3xdLQ+j/nU2Ec+U6Iebc7i7PA6rl828tqtzdu+njcM=
+SIZE (snes9x-1.53-src.tar.bz2) = 1838746
Index: patches/patch-gtk_configure
===
RCS file: /cvs/ports/emulators/snes9x/patches/patch-gtk_configure,v
retrieving revision 1.4
diff -u -p -u -r1.4 patch-gtk_configure
--- patches/patch-gtk_configure 1 Jun 2013 19:19:16 -   1.4
+++ patches/patch-gtk_configure 7 May 2016 14:53:11 -
@@ -1,12 +1,12 @@
 $OpenBSD: patch-gtk_configure,v 1.4 2013/06/01 19:19:16 ajacoutot Exp $
 gtk/configure.orig Sun Jan 10 18:28:11 2010
-+++ gtk/configure  Sun Oct  2 09:23:54 2011
-@@ -2351,7 +2351,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $
- ac_compiler_gnu=$ac_cv_c_compiler_gnu
+--- gtk/configure.orig Mon Apr 18 22:33:51 2016
 gtk/configure  Mon Apr 18 22:34:12 2016
+@@ -6316,7 +6316,7 @@ else
+   CFLAGS="$CFLAGS -fomit-frame-pointer"
+ fi
  
+-LIBS="$LIBS -lX11 -ldl -lXext"
++LIBS="$LIBS -lX11 -lXext"
  
--CFLAGS="-O2 -Wall -W -pedantic -Wno-unused-parameter -pipe $CFLAGS"
-+CFLAGS="-Wall -W -pedantic -Wno-unused-parameter $CFLAGS"
- CXXFLAGS="$CFLAGS"
- 
- ac_ext=c
+ ZSNESFX='#ZSNESFX=yes'
+ ZSNESC4='#ZSNESC4=yes'
Index: pkg/PLIST
===
RCS file: /cvs/ports/emulators/snes9x/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -u -r1.6 PLIST
--- pkg/PLIST   15 Jun 2012 08:32:15 -  1.6
+++ pkg/PLIST   7 May 2016 14:53:11 -
@@ -8,19 +8,9 @@ share/doc/snes9x/snapshots.txt
 share/doc/snes9x/snes9x-license.txt
 share/examples/snes9x/
 share/examples/snes9x/snes9x.conf.default
-share/icons/
-share/icons/hicolor/
-share/icons/hicolor/16x16/
-share/icons/hicolor/16x16/apps/
 share/icons/hicolor/16x16/apps/snes9x.png
-share/icons/hicolor/24x24/
-share/icons/hicolor/24x24/apps/
 

Re: UPDATE: snes9x to 1.53

2016-05-07 Thread Florian Stinglmayr
ping?



Re: UPDATE: ledger 3.1.1

2016-05-03 Thread Florian Stinglmayr
On Mon, May 02, 2016 at 02:48:28PM +0800, Ray Lai wrote:
> Forgot to cvs add the patches, and CC Sergey as well.
>

This patch works fine for me, and ledger works fine on my
ledger files. But someone with more complex files should also
probably take a look and test.

Florian



UPDATE: hexchat to 2.12.1

2016-05-02 Thread Florian Stinglmayr
Hi list,

attached is an update for hexchat 2.12.1. The update brings support
for Lua based plugins. These plugins are best complemented by also
installing lua-lgi.

The full news can be read here:

https://hexchat.github.io/news/2.12.1.html

Index: Makefile
===
RCS file: /cvs/ports/net/hexchat/Makefile,v
retrieving revision 1.11
diff -u -p -u -r1.11 Makefile
--- Makefile9 Apr 2016 23:59:49 -   1.11
+++ Makefile2 May 2016 19:09:45 -
@@ -1,10 +1,9 @@
 # $OpenBSD: Makefile,v 1.11 2016/04/09 23:59:49 naddy Exp $
 
 COMMENT =  GTK+2 IRC Client
-DISTNAME = hexchat-2.12.0
+DISTNAME = hexchat-2.12.1
 EXTRACT_SUFX = .tar.xz
 CATEGORIES =   net x11
-REVISION = 0
 
 HOMEPAGE = http://hexchat.github.io/
 MAINTAINER =   Florian Stinglmayr <flor...@n0la.org>
@@ -16,16 +15,19 @@ WANTLIB += X11 Xcomposite Xcursor Xdamag
 WANTLIB += Xrandr Xrender atk-1.0 c cairo crypto dbus-1 dbus-glib-1
 WANTLIB += expat ffi fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
 WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2
-WANTLIB += gthread-2.0 gtk-x11-2.0 harfbuzz iconv intl m ${MODPY_WANTLIB}
+WANTLIB += gthread-2.0 gtk-x11-2.0 harfbuzz iconv intl ${MODLUA_WANTLIB} m
 WANTLIB += notify pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre perl pixman-1
-WANTLIB += png proxy pthread pthread-stubs ssl stdc++ util xcb
-WANTLIB += xcb-render xcb-shm z
+WANTLIB += png proxy pthread pthread-stubs ${MODPY_WANTLIB} ssl stdc++ util
+WANTLIB += xcb xcb-render xcb-shm z
 
 MASTER_SITES = http://dl.hexchat.net/hexchat/
 
 MODULES =  textproc/intltool \
+   lang/lua \
lang/python
 
+MODLUA_VERSION =   5.3
+
 BUILD_DEPENDS =devel/iso-codes
 
 LIB_DEPENDS =  devel/gettext \
@@ -33,7 +35,8 @@ LIB_DEPENDS = devel/gettext \
net/libproxy \
x11/gtk+2 \
x11/dbus-glib \
-   ${MODPY_LIB_DEPENDS}
+   ${MODPY_LIB_DEPENDS} \
+   ${MODLUA_LIB_DEPENDS}
 
 MODPY_BUILDDEP =   No
 
@@ -47,7 +50,8 @@ CONFIGURE_ARGS += --enable-ipv6 \
--disable-sysinfo \
--disable-libcanberra
 CONFIGURE_ENV =CPPFLAGS=-I${LOCALBASE}/include \
-   LDFLAGS=-L${LOCALBASE}/lib
+   LDFLAGS=-L${LOCALBASE}/lib \
+   LUA=${MODLUA_FLAVOR}
 
 LIBTOOL_FLAGS =--tag=disable-static
 
Index: distinfo
===
RCS file: /cvs/ports/net/hexchat/distinfo,v
retrieving revision 1.4
diff -u -p -u -r1.4 distinfo
--- distinfo14 Mar 2016 20:25:39 -  1.4
+++ distinfo2 May 2016 19:09:45 -
@@ -1,2 +1,2 @@
-SHA256 (hexchat-2.12.0.tar.xz) = wgcvl1EMD+bs+wh4dQ0nF5Yz4IGZBmly+gDloj5n1p0=
-SIZE (hexchat-2.12.0.tar.xz) = 1578164
+SHA256 (hexchat-2.12.1.tar.xz) = UgGwxtF9y4wst56cOWgfjgUpmbqPe1mG1cHn3Gj6fGs=
+SIZE (hexchat-2.12.1.tar.xz) = 1585532
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/hexchat/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 PLIST
--- pkg/PLIST   11 Jun 2014 22:45:36 -  1.1.1.1
+++ pkg/PLIST   2 May 2016 19:09:45 -
@@ -9,6 +9,8 @@ lib/hexchat/plugins/checksum.so
 lib/hexchat/plugins/doat.so
 @comment lib/hexchat/plugins/fishlim.la
 lib/hexchat/plugins/fishlim.so
+@comment lib/hexchat/plugins/lua.la
+lib/hexchat/plugins/lua.so
 @comment lib/hexchat/plugins/perl.la
 lib/hexchat/plugins/perl.so
 @comment lib/hexchat/plugins/python.la
@@ -18,6 +20,8 @@ lib/pkgconfig/hexchat-plugin.pc
 share/appdata/
 share/appdata/hexchat.appdata.xml
 share/applications/hexchat.desktop
+share/dbus-1/
+share/dbus-1/services/
 share/dbus-1/services/org.hexchat.service.service
 share/icons/hicolor/48x48/apps/hexchat.png
 share/icons/hicolor/scalable/apps/hexchat.svg
@@ -56,6 +60,8 @@ share/locale/ml/LC_MESSAGES/hexchat.mo
 share/locale/ms/LC_MESSAGES/hexchat.mo
 share/locale/nb/LC_MESSAGES/hexchat.mo
 share/locale/nl/LC_MESSAGES/hexchat.mo
+share/locale/no/
+share/locale/no/LC_MESSAGES/
 share/locale/no/LC_MESSAGES/hexchat.mo
 share/locale/pa/LC_MESSAGES/hexchat.mo
 share/locale/pl/LC_MESSAGES/hexchat.mo



Re: UPDATE: herbstluftwm to 0.7.0

2016-04-28 Thread Florian Stinglmayr
> OK chrisz@

Ping? Any other comments or oks?



Re: NEW: lua-lyaml

2016-04-23 Thread Florian Stinglmayr
On Fri, Apr 22, 2016 at 05:54:04PM +1000, Jonathan Gray wrote:
> Some time ago when needing to use yaml from lua I ended up with the same
> project as this port.
>
> Debian calls their lyaml package lua-yaml so it isn't without precedent
>
> https://packages.debian.org/sid/lua-yaml
>

Btw, here is the port again with changes from jsg@ for everyone's
convenience. Thanks a lot for your input and help.


lua-yaml.tar.gz
Description: application/tar-gz


Re: NEW: lua-lyaml

2016-04-22 Thread Florian Stinglmayr
> Thinking about it some more "lua-yaml" makes more sense than
> "lua-lyaml".
>

There is another project called lua-yaml [1], and there's even another
just called "yaml" for Lua [2]. I thought it might be important to clear
up by name which one we have in the ports.

But I am okay with all the other changes.

Thanks for submitting it.

Regards,
Florian

[1] http://luaforge.net/projects/luayaml/
[2] http://doc.lubyk.org/yaml.html

> This also fixes the distfile name to include a version.
>
> diff -upr lua-lyaml.orig/Makefile lua-yaml/Makefile
> --- lua-lyaml.orig/Makefile   Fri Apr 22 13:14:20 2016
> +++ lua-yaml/Makefile Fri Apr 22 14:09:56 2016
> @@ -3,9 +3,7 @@
>  COMMENT =Lua library for parsing and emitting YAML
>  V =  6.0
>
> -DISTNAME =   lua-${GH_PROJECT}
> -PKGNAME =${DISTNAME}-${V}
> -WRKDIST =${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME}
> +PKGNAME =lua-yaml-${V}
>
>  GH_ACCOUNT = gvvaughan
>  GH_PROJECT = lyaml
> @@ -18,15 +16,16 @@ MAINTAINER =  Florian Stinglmayr <flor...@n0la.org>
>  # MIT
>  PERMIT_PACKAGE_CDROM =   Yes
>
> +WANTLIB =yaml-0
>  MODULES =lang/lua
>
> -BUILD_DEPENDS =  devel/libyaml
> +LIB_DEPENDS =devel/libyaml
>
>  CONFIGURE_STYLE =gnu
> -CONFIGURE_ENV =  CPPFLAGS="-I${PREFIX}/include -L${PREFIX}/lib" \
> - LUA="${MODLUA_BIN}"
> -
> -LIBTOOL_FLAGS += --tag=disable-static
> +CONFIGURE_ENV =  CPPFLAGS="-I${PREFIX}/include" \
> + LDFLAGS="-L${PREFIX}/lib" \
> + LUA=${MODLUA_BIN} \
> + LUA_INCLUDE=-I${MODLUA_INCL_DIR}
>
>  # Test requires specl, specl requires lyaml.
>  NO_TEST =Yes
> diff -upr lua-lyaml.orig/distinfo lua-yaml/distinfo
> --- lua-lyaml.orig/distinfo   Fri Apr 22 13:14:20 2016
> +++ lua-yaml/distinfo Fri Apr 22 14:09:56 2016
> @@ -1,2 +1,2 @@
> -SHA256 (lua-lyaml.tar.gz) = nXz3TXdpmf9vdYxWnVIC/12h8wPG9CKdO0H3HNOj56c=
> -SIZE (lua-lyaml.tar.gz) = 475288
> +SHA256 (lyaml-release-v6.0.tar.gz) = 
> nXz3TXdpmf9vdYxWnVIC/12h8wPG9CKdO0H3HNOj56c=
> +SIZE (lyaml-release-v6.0.tar.gz) = 475288



Re: NEW: devel/luacheck

2016-04-21 Thread Florian Stinglmayr
On Thu, Apr 21, 2016 at 07:43:48PM +1000, Jonathan Gray wrote:
> Luacheck supports checking Lua files using syntax of Lua 5.1, Lua 5.2,
> Lua 5.3 and LuaJIT 2.0. Luacheck itself is written in Lua and runs on
> all of mentioned Lua versions.

ok from me.

Works fine for me and my projects, and is very useful.



Re: NEW: lua-lyaml

2016-04-21 Thread Florian Stinglmayr
On Thu, Apr 21, 2016 at 08:47:46PM +1000, Jonathan Gray wrote:
> This could now drop the SHARED_ONLY part.
>

Yes.

> Why the need to rerun autoconf?  Could configure be used as is?  Currently
> the build fails here with:
>
> ===>  Configuring for lua-lyaml-6.0
> Using /usr/ports/pobj/lua-lyaml-6.0/config.site (generated)
> /usr/local/bin/autoreconf[35]: /usr/local/bin/autoreconf-2.13: not found
>

You are correct. The previous release didn't have a configure, and was
just a .tar.gz from git master. The appropriate lines have been removed,
and it still builds and works fine.

Regards,
Florian



lua-lyaml.tar.gz
Description: application/tar-gz


Re: luasocket and lua 5.3

2016-04-19 Thread Florian Stinglmayr
ping?



UPDATE: snes9x to 1.53

2016-04-19 Thread Florian Stinglmayr
Hi,

there's nothing better than Lufia II to fill those nights where the code
just won't flow. So below is an update for snes9x to 1.53. The gettext
module is no longer used as well.

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/emulators/snes9x/Makefile,v
retrieving revision 1.30
diff -u -p -u -r1.30 Makefile
--- Makefile2 Apr 2015 14:14:33 -   1.30
+++ Makefile19 Apr 2016 21:49:40 -
@@ -4,12 +4,10 @@ COMMENT = emulates the Super Nintendo En
 BROKEN-alpha = ICE/failure on filter/hq2x.cpp
 BROKEN-hppa =  ICE/failure on filter/hq2x.cpp

-DISTNAME = snes9x-1.52-src
+DISTNAME = snes9x-1.53-src
 PKGNAME =  ${DISTNAME:S/-src//}
 CATEGORIES =   emulators games

-REVISION = 7
-
 HOMEPAGE = http://www.snes9x.com/

 # non-commercial
@@ -22,9 +20,10 @@ WANTLIB =X11 Xau Xcomposite Xcursor Xda
gobject-2.0 gthread-2.0 m pango-1.0 pangocairo-1.0 \
pangoft2-1.0 pixman-1 pthread pthread-stubs stdc++ \
xcb xcb-render xcb-render-util z gdk_pixbuf-2.0 \
-   glade-2.0 SDL png xml2 gtk-x11-2.0 gdk-x11-2.0
+   glade-2.0 intl SDL png xml2 gtk-x11-2.0 gdk-x11-2.0
+
+MASTER_SITES = http://www.s9x-w32.de/dl/

-MASTER_SITES = https://sites.google.com/site/bearoso/snes9x/
 EXTRACT_SUFX = .tar.bz2

 RUN_DEPENDS =  devel/desktop-file-utils \
@@ -33,15 +32,12 @@ LIB_DEPENDS =   devel/libglade2 \
devel/sdl \
graphics/png \
textproc/libxml \
-   x11/gtk+2
+   x11/gtk+2

 .if ${MACHINE_ARCH} == "i386"
-BUILD_DEPENDS =  devel/nasm
+BUILD_DEPENDS =  devel/nasm
 .endif

-MODULES =  devel/gettext \
-   textproc/intltool
-
 USE_GMAKE =Yes

 CONFIGURE_STYLE = gnu
@@ -49,7 +45,7 @@ CONFIGURE_ARGS = --without-portaudio \
 --without-oss \
 --without-alsa \
 --without-pulseaudio \
---without-opengl
+--without-opengl
 CONFIGURE_ENV = CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LIBS="-L${X11BASE}/lib -L${LOCALBASE}/lib"

Index: distinfo
===
RCS file: /cvs/ports/emulators/snes9x/distinfo,v
retrieving revision 1.6
diff -u -p -u -r1.6 distinfo
--- distinfo18 Jan 2015 03:13:51 -  1.6
+++ distinfo19 Apr 2016 21:49:40 -
@@ -1,2 +1,2 @@
-SHA256 (snes9x-1.52-src.tar.bz2) = NuCbLaYrkhD+siTP0YMEehUaccHV5fknSdwovUt/8cs=
-SIZE (snes9x-1.52-src.tar.bz2) = 1720137
+SHA256 (snes9x-1.53-src.tar.bz2) = n3xdLQ+j/nU2Ec+U6Iebc7i7PA6rl828tqtzdu+njcM=
+SIZE (snes9x-1.53-src.tar.bz2) = 1838746
Index: patches/patch-gtk_configure
===
RCS file: /cvs/ports/emulators/snes9x/patches/patch-gtk_configure,v
retrieving revision 1.4
diff -u -p -u -r1.4 patch-gtk_configure
--- patches/patch-gtk_configure 1 Jun 2013 19:19:16 -   1.4
+++ patches/patch-gtk_configure 19 Apr 2016 21:49:40 -
@@ -1,12 +1,12 @@
 $OpenBSD: patch-gtk_configure,v 1.4 2013/06/01 19:19:16 ajacoutot Exp $
 gtk/configure.orig Sun Jan 10 18:28:11 2010
-+++ gtk/configure  Sun Oct  2 09:23:54 2011
-@@ -2351,7 +2351,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $
- ac_compiler_gnu=$ac_cv_c_compiler_gnu
+--- gtk/configure.orig Mon Apr 18 22:33:51 2016
 gtk/configure  Mon Apr 18 22:34:12 2016
+@@ -6316,7 +6316,7 @@ else
+   CFLAGS="$CFLAGS -fomit-frame-pointer"
+ fi

+-LIBS="$LIBS -lX11 -ldl -lXext"
++LIBS="$LIBS -lX11 -lXext"

--CFLAGS="-O2 -Wall -W -pedantic -Wno-unused-parameter -pipe $CFLAGS"
-+CFLAGS="-Wall -W -pedantic -Wno-unused-parameter $CFLAGS"
- CXXFLAGS="$CFLAGS"
-
- ac_ext=c
+ ZSNESFX='#ZSNESFX=yes'
+ ZSNESC4='#ZSNESC4=yes'
Index: pkg/PLIST
===
RCS file: /cvs/ports/emulators/snes9x/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -u -r1.6 PLIST
--- pkg/PLIST   15 Jun 2012 08:32:15 -  1.6
+++ pkg/PLIST   19 Apr 2016 21:49:40 -
@@ -8,19 +8,9 @@ share/doc/snes9x/snapshots.txt
 share/doc/snes9x/snes9x-license.txt
 share/examples/snes9x/
 share/examples/snes9x/snes9x.conf.default
-share/icons/
-share/icons/hicolor/
-share/icons/hicolor/16x16/
-share/icons/hicolor/16x16/apps/
 share/icons/hicolor/16x16/apps/snes9x.png
-share/icons/hicolor/24x24/
-share/icons/hicolor/24x24/apps/
 share/icons/hicolor/24x24/apps/snes9x.png
-share/icons/hicolor/32x32/
-share/icons/hicolor/32x32/apps/
 share/icons/hicolor/32x32/apps/snes9x.png
-share/icons/hicolor/scalable/
-share/icons/hicolor/scalable/apps/
 share/icons/hicolor/scalable/apps/snes9x.svg
 share/locale/es_VE/
 share/locale/es_VE/LC_MESSAGES/
@@ -29,8 +19,7 @@ share/locale/fr_FR/
 share/locale/fr_FR/LC_MESSAGES/
 share/locale/fr_FR/LC_MESSAGES/snes9x-gtk.mo
 share/locale/pt_BR/LC_MESSAGES/snes9x-gtk.mo
-share/locale/sr@latin/

Re: UPDATE: herbstluftwm to 0.7.0

2016-04-18 Thread Florian Stinglmayr
On Mon, Apr 18, 2016 at 08:32:46PM +0200, Christopher Zimmermann wrote:
> I have a finished herbstluftwm port upgrade, too.
> You can remove the BUILD_DEPENDS and the CC=egcc in MAKE_FLAGS since the
> gcc4 module takes care of them. Just use += for assignments to
> LIB_DEPENDS and RUN_DEPENDS so you don't overwrite the assignments
> made by the gcc4 module.

Thanks for the suggestions, it's fixed in a new diff below.

It's weird btw. Their entire code base is basically C with a few C++11
things mixed in there.

> I could remove intl, m and pthread from WANTLIB, after adding
> devel/gettext to MODULES.
>

naddy@ wishes to remove the devel/gettext module [1] and thus I cleaned
up herbstluftwm while I am at it.

> a fixed RUN_DEPENDS is overkill. You may mention dmenu in a MESSAGE, if
> you want to. I don't think it is necessary.
>

You are right, it isn't. It is covered well enough in herbstluftwm's
FAQ on their homepage.

Regards,
Florian

[1] https://marc.info/?l=openbsd-ports=145917613914938

Index: Makefile
===
RCS file: /cvs/ports/x11/herbstluftwm/Makefile,v
retrieving revision 1.4
diff -u -p -u -r1.4 Makefile
--- Makefile25 Aug 2015 13:18:28 -  1.4
+++ Makefile18 Apr 2016 20:22:58 -
@@ -1,29 +1,33 @@
 # $OpenBSD: Makefile,v 1.4 2015/08/25 13:18:28 sthen Exp $

 COMMENT =  manual tiling window manager
-DISTNAME = herbstluftwm-0.6.2
+DISTNAME = herbstluftwm-0.7.0
 CATEGORIES =   x11
-REVISION = 1

 HOMEPAGE = http://herbstluftwm.org/

+MAINTAINER =   Florian Stinglmayr <flor...@n0la.org>
+
 # BSD
 PERMIT_PACKAGE_CDROM = Yes

-WANTLIB += X11 Xext Xinerama c glib-2.0 pthread
+WANTLIB += X11 Xext Xinerama c estdc++ glib-2.0 intl m pthread

 MASTER_SITES = http://herbstluftwm.org/tarballs/

-MODULES =  devel/gettext
+MODULES =  gcc4
+
+MODGCC4_LANGS= c++
+MODGCC4_ARCHS= *

-LIB_DEPENDS =  devel/glib2
+LIB_DEPENDS += devel/glib2

-RUN_DEPENDS =  devel/desktop-file-utils \
+RUN_DEPENDS += devel/desktop-file-utils \
shells/bash \
x11/dzen2,-gadgets

 USE_GMAKE =Yes
-MAKE_FLAGS =   CC="${CC}" LDFLAGS= VERBOSE= COLOR=0
+MAKE_FLAGS =   LDFLAGS= VERBOSE= COLOR=0

 BASEDIR =  ${PREFIX}/share/examples/herbstluftwm
 FAKE_FLAGS =   SYSCONFDIR="${BASEDIR}" \
@@ -33,9 +37,5 @@ FAKE_FLAGS =  SYSCONFDIR="${BASEDIR}" \
XSESSIONSDIR="${PREFIX}/share/applications"

 NO_TEST =  Yes
-
-post-patch:
-   perl -pi -e "s,^#!/bin/bash,#!${LOCALBASE}/bin/bash," \
-   `grep -Rl /bin/bash ${WRKSRC}/*`

 .include 
Index: distinfo
===
RCS file: /cvs/ports/x11/herbstluftwm/distinfo,v
retrieving revision 1.2
diff -u -p -u -r1.2 distinfo
--- distinfo5 Apr 2014 05:42:07 -   1.2
+++ distinfo18 Apr 2016 20:22:58 -
@@ -1,2 +1,2 @@
-SHA256 (herbstluftwm-0.6.2.tar.gz) = 
qJ9cOXrufxqjs53VO8Z+KCZ58C8cC/PDPEGmCOIX8Kw=
-SIZE (herbstluftwm-0.6.2.tar.gz) = 224191
+SHA256 (herbstluftwm-0.7.0.tar.gz) = 
fi/8MLeRFAcjCl7rYeBEzqeFV5mRB9NyvC28PYLQric=
+SIZE (herbstluftwm-0.7.0.tar.gz) = 247469
Index: pkg/PLIST
===
RCS file: /cvs/ports/x11/herbstluftwm/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -u -r1.2 PLIST
--- pkg/PLIST   5 Apr 2014 05:42:07 -   1.2
+++ pkg/PLIST   18 Apr 2016 20:22:58 -
@@ -1,4 +1,5 @@
 @comment $OpenBSD: PLIST,v 1.2 2014/04/05 05:42:07 bcallah Exp $
+@bin bin/dmenu_run_hlwm
 @bin bin/herbstclient
 @bin bin/herbstluftwm
 @man man/man1/herbstclient.1
@@ -7,9 +8,9 @@
 share/applications/herbstluftwm.desktop
 share/doc/herbstluftwm/
 share/doc/herbstluftwm/BUGS
+share/doc/herbstluftwm/INSTALL
 share/doc/herbstluftwm/LICENSE
 share/doc/herbstluftwm/NEWS
-share/doc/herbstluftwm/README
 share/doc/herbstluftwm/herbstclient.html
 share/doc/herbstluftwm/herbstluftwm-tutorial.html
 share/doc/herbstluftwm/herbstluftwm.html
@@ -29,9 +30,12 @@ share/examples/herbstluftwm/keychain.sh
 share/examples/herbstluftwm/lasttag.sh
 share/examples/herbstluftwm/layout.sh
 share/examples/herbstluftwm/loadstate.sh
+share/examples/herbstluftwm/maximize.sh
 share/examples/herbstluftwm/q3terminal.sh
 share/examples/herbstluftwm/savestate.sh
 share/examples/herbstluftwm/scratchpad.sh
+share/examples/herbstluftwm/toggledualhead.sh
+share/examples/herbstluftwm/windowmenu.sh
 share/examples/herbstluftwm/wselect.sh
 share/examples/herbstluftwm/xdg/
 share/examples/herbstluftwm/xdg/herbstluftwm/



UPDATE: herbstluftwm to 0.7.0

2016-04-18 Thread Florian Stinglmayr
Hi list,

below is an update for herbstluftwm to 0.7.0 which was released earlier
this year. Some new features are:

* EWMH request _NET_WM_MOVERESIZE is handled better now. At least for me
  this fixed weird drawing issues with firefox if the frame is resized.
* New command: close_and_remove
* Tags are now accessible through their index
* Native support for dmenu (through dmenu_run_hlwm)
* Post patch is no longer needed, hardcoded paths have been replaced by
  calls to /usr/bin/env.

The port runs well for me but I have one question: dmenu_run_hlwm
requires x11/dmenu (so RUN_DEPENDS) obviously, but the default
herbstluftwm does not mention or use dmenu_run_hlwm. How should I handle
this: Either with a fixed RUN_DEPENDS on dmenu_run_hlwm or just with a
note that suggests to install dmenu if you wish to use dmenu_run_hlwm?

Also I am gladly taking maintainer for this.

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/x11/herbstluftwm/Makefile,v
retrieving revision 1.4
diff -u -p -u -r1.4 Makefile
--- Makefile25 Aug 2015 13:18:28 -  1.4
+++ Makefile18 Apr 2016 16:45:43 -
@@ -1,20 +1,26 @@
 # $OpenBSD: Makefile,v 1.4 2015/08/25 13:18:28 sthen Exp $
 
 COMMENT =  manual tiling window manager
-DISTNAME = herbstluftwm-0.6.2
+DISTNAME = herbstluftwm-0.7.0
 CATEGORIES =   x11
-REVISION = 1
 
 HOMEPAGE = http://herbstluftwm.org/
 
+MAINTAINER =   Florian Stinglmayr <flor...@n0la.org>
+
 # BSD
 PERMIT_PACKAGE_CDROM = Yes
 
-WANTLIB += X11 Xext Xinerama c glib-2.0 pthread
+WANTLIB += X11 Xext Xinerama c estdc++ glib-2.0 intl m pthread
 
 MASTER_SITES = http://herbstluftwm.org/tarballs/
 
-MODULES =  devel/gettext
+MODULES =  gcc4
+
+MODGCC4_LANGS= c++
+MODGCC4_ARCHS= *
+
+BUILD_DEPENDS= lang/gcc/4.9,-c++>=4.9
 
 LIB_DEPENDS =  devel/glib2
 
@@ -23,7 +29,7 @@ RUN_DEPENDS = devel/desktop-file-utils \
x11/dzen2,-gadgets
 
 USE_GMAKE =Yes
-MAKE_FLAGS =   CC="${CC}" LDFLAGS= VERBOSE= COLOR=0
+MAKE_FLAGS =   CC="egcc" LDFLAGS= VERBOSE= COLOR=0
 
 BASEDIR =  ${PREFIX}/share/examples/herbstluftwm
 FAKE_FLAGS =   SYSCONFDIR="${BASEDIR}" \
@@ -33,9 +39,5 @@ FAKE_FLAGS =  SYSCONFDIR="${BASEDIR}" \
XSESSIONSDIR="${PREFIX}/share/applications"
 
 NO_TEST =  Yes
-
-post-patch:
-   perl -pi -e "s,^#!/bin/bash,#!${LOCALBASE}/bin/bash," \
-   `grep -Rl /bin/bash ${WRKSRC}/*`
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/x11/herbstluftwm/distinfo,v
retrieving revision 1.2
diff -u -p -u -r1.2 distinfo
--- distinfo5 Apr 2014 05:42:07 -   1.2
+++ distinfo18 Apr 2016 16:45:43 -
@@ -1,2 +1,2 @@
-SHA256 (herbstluftwm-0.6.2.tar.gz) = 
qJ9cOXrufxqjs53VO8Z+KCZ58C8cC/PDPEGmCOIX8Kw=
-SIZE (herbstluftwm-0.6.2.tar.gz) = 224191
+SHA256 (herbstluftwm-0.7.0.tar.gz) = 
fi/8MLeRFAcjCl7rYeBEzqeFV5mRB9NyvC28PYLQric=
+SIZE (herbstluftwm-0.7.0.tar.gz) = 247469
Index: pkg/PLIST
===
RCS file: /cvs/ports/x11/herbstluftwm/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -u -r1.2 PLIST
--- pkg/PLIST   5 Apr 2014 05:42:07 -   1.2
+++ pkg/PLIST   18 Apr 2016 16:45:43 -
@@ -1,4 +1,5 @@
 @comment $OpenBSD: PLIST,v 1.2 2014/04/05 05:42:07 bcallah Exp $
+@bin bin/dmenu_run_hlwm
 @bin bin/herbstclient
 @bin bin/herbstluftwm
 @man man/man1/herbstclient.1
@@ -7,9 +8,9 @@
 share/applications/herbstluftwm.desktop
 share/doc/herbstluftwm/
 share/doc/herbstluftwm/BUGS
+share/doc/herbstluftwm/INSTALL
 share/doc/herbstluftwm/LICENSE
 share/doc/herbstluftwm/NEWS
-share/doc/herbstluftwm/README
 share/doc/herbstluftwm/herbstclient.html
 share/doc/herbstluftwm/herbstluftwm-tutorial.html
 share/doc/herbstluftwm/herbstluftwm.html
@@ -29,9 +30,12 @@ share/examples/herbstluftwm/keychain.sh
 share/examples/herbstluftwm/lasttag.sh
 share/examples/herbstluftwm/layout.sh
 share/examples/herbstluftwm/loadstate.sh
+share/examples/herbstluftwm/maximize.sh
 share/examples/herbstluftwm/q3terminal.sh
 share/examples/herbstluftwm/savestate.sh
 share/examples/herbstluftwm/scratchpad.sh
+share/examples/herbstluftwm/toggledualhead.sh
+share/examples/herbstluftwm/windowmenu.sh
 share/examples/herbstluftwm/wselect.sh
 share/examples/herbstluftwm/xdg/
 share/examples/herbstluftwm/xdg/herbstluftwm/



Re: HEADS UP: gettext and libiconv don't need modules

2016-04-07 Thread Florian Stinglmayr
On Tue, Apr 05, 2016 at 03:22:12PM +, Christian Weisgerber wrote:
> I want us to move ahead on this.
>
> To summarize:
>
>   When you update a port, drop the converters/libiconv and devel/gettext
>   MODULES and handle libiconv and libintl like any other library
>   dependency.  make port-lib-depends-check will help you.
>
>   If your port requires any of the utilities from gettext-tools to
>   build (typically: it runs something like "msgfmt -o foo.mo foo.po"),
>   you also need to add devel/gettext-tools to BUILD_DEPENDS.
>
> I'll see if I can remove the gettext-tools dependency from some
> common build dependency paths.  Like for the recent cleanups in the
> wake of the vax removal, I'll be the little mouse that keeps nibbling
> away at the edge of the moldy cheese.

Does this seem right?

Index: Makefile
===
RCS file: /cvs/ports/net/hexchat/Makefile,v
retrieving revision 1.8
diff -u -p -u -r1.8 Makefile
--- Makefile11 Mar 2016 20:28:28 -  1.8
+++ Makefile7 Apr 2016 23:14:08 -
@@ -6,7 +6,7 @@ COMMENT =   GTK+2 IRC Client
 DISTNAME = hexchat-2.10.2
 EXTRACT_SUFX = .tar.xz
 CATEGORIES =   net x11
-REVISION = 1
+REVISION = 2
 
 HOMEPAGE =     http://hexchat.github.io/
 MAINTAINER =   Florian Stinglmayr <flor...@n0la.org>
@@ -18,20 +18,20 @@ WANTLIB += X11 Xcomposite Xcursor Xdamag
 WANTLIB += Xrandr Xrender atk-1.0 c cairo crypto dbus-1 dbus-glib-1
 WANTLIB += expat ffi fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
 WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2
-WANTLIB += gthread-2.0 gtk-x11-2.0 harfbuzz m ${MODPY_WANTLIB} notify
-WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre perl pixman-1
+WANTLIB += gthread-2.0 gtk-x11-2.0 harfbuzz iconv intl m ${MODPY_WANTLIB}
+WANTLIB += notify pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre perl pixman-1
 WANTLIB += png proxy pthread pthread-stubs ssl stdc++ util xcb
 WANTLIB += xcb-render xcb-shm z
 
 MASTER_SITES = http://dl.hexchat.net/hexchat/
 
-MODULES =  devel/gettext \
-   textproc/intltool \
+MODULES =  textproc/intltool \
lang/python
 
 BUILD_DEPENDS =devel/iso-codes
 
-LIB_DEPENDS =  devel/libnotify \
+LIB_DEPENDS =  devel/gettext \
+   devel/libnotify \
net/libproxy \
x11/gtk+2 \
x11/dbus-glib \



Re: [NEW] textproc/lua-markdown

2016-04-04 Thread Florian Stinglmayr
On Wed, Mar 23, 2016 at 04:40:14PM +0100, Frederic Cambus wrote:
> Hi ports@,
> [...]
>

No one else interested in getting this and lua-lustache in?

Regards,
Florian



luasocket and lua 5.3

2016-04-03 Thread Florian Stinglmayr
Hi list,

sadly luasocket doesn't work with lua 5.3 because of some internal
API shuffling between lua 5.2 and lua 5.3. In upstream it is already
patched and I will hassle them for a new release.

Meanwhile, if you need luasocket for lua 5.3 like I do, please
consider the following diff.

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/net/luasocket/Makefile,v
retrieving revision 1.31
diff -u -p -u -r1.31 Makefile
--- Makefile5 Apr 2015 13:31:14 -   1.31
+++ Makefile3 Apr 2016 18:26:55 -
@@ -7,7 +7,7 @@ V=  3.0-rc1
 GH_ACCOUNT=diegonehab
 GH_PROJECT=luasocket
 GH_TAGNAME=v$V
-REVISION=  0
+REVISION=  1
 DISTNAME=  ${GH_PROJECT}-$V
 PKGNAME=   ${DISTNAME:S/-rc/rc/}
 CATEGORIES=net
@@ -27,7 +27,8 @@ MAKE_FILE=makefile
 MAKE_FLAGS=CC_linux=${CC} \
LD_linux=${CC} \
CFLAGS_linux="${CFLAGS} -I${MODLUA_INCL_DIR} -fPIC \
- -DPIC -DUNIX_HAS_SUN_LEN" \
+ -DPIC -DUNIX_HAS_SUN_LEN \
+ -DLUA_COMPAT_APIINTCASTS" \
LDFLAGS_linux="${LDFLAGS} -shared -fPIC -o "
 
 do-install:



Re: [NEW] textproc/lua-markdown

2016-03-24 Thread Florian Stinglmayr
On Wed, Mar 23, 2016 at 04:40:14PM +0100, Frederic Cambus wrote:
> Hi ports@,
>
> Here is another Lua port. As with textproc/lua-lustache I use it locally
> when developing on a Lua codebase and it's also a dependency (last one,
> other required ones are already in the ports tree) for an upcoming port.
>
> From DESCR :
>
> This is an implementation of the popular text markup language Markdown
> in pure Lua. Markdown can convert documents written in a simple and easy
> to read text format to well-formatted HTML.
>

Works well in all flavours and clean and simple port. Although I think I
will personally stick with lunamark which gives a little bit more
functionality.

+1

Florian



Re: [NEW] textproc/lua-lustache

2016-03-24 Thread Florian Stinglmayr
On Tue, Mar 22, 2016 at 04:28:44PM +0100, Frederic Cambus wrote:
> Hi ports@,
>
> Here is a new port, I use it locally when developing on a Lua codebase
> and it's also a dependency for an upcoming port.
>
> From DESCR :
>
> lustache is an implementation of the mustache template system in Lua.
>
> Mustache is a logic-less template syntax. It can be used for HTML, config
> files, source code - anything. It works by expanding tags in a template
> using values provided in a hash or object.
>
> We call it "logic-less" because there are no if statements, else clauses,
> or for loops. Instead there are only tags. Some tags are replaced with a
> value, some nothing, and others a series of values.
>

Works nicely on all lua flavours, portcheck doesn't complain and now I
have a template engine for my own project. Cheers!

+1 from me. The more lua ports, the merrier.

Regards,
Florian



Re: UPDATE: ledger 3.1.1

2016-03-15 Thread Florian Stinglmayr
On Mon, Mar 14, 2016 at 06:12:27PM -0500, Matthew Martin wrote:
> Compiles and works for my ledger file (but I started using ledger after
> your first mail).  Only tests 1, 3, 4, and 5 pass for me; the other 339
> fail. Is this expected?
>

Well. The patch below fixes all tests except a handful that need python.
Readding python breaks the build process however. I will look into this
further, but for now

NO_TEST = Yes

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/productivity/ledger/Makefile,v
retrieving revision 1.14
diff -u -p -u -r1.14 Makefile
--- Makefile7 Aug 2013 21:58:00 -   1.14
+++ Makefile15 Mar 2016 18:00:03 -
@@ -1,44 +1,51 @@
 # $OpenBSD: Makefile,v 1.14 2013/08/07 21:58:00 naddy Exp $
 
 COMMENT=   command line double-entry accounting ledger
+V= 3.1.1
 
-DISTNAME=  ledger-2.6.3
-REVISION=  2
+DISTNAME=  ${GH_PROJECT}-${V}
 CATEGORIES=productivity
 
 HOMEPAGE=  http://www.ledger-cli.org/
 
 MAINTAINER=Sergey Bronnikov 
 
-SHARED_LIBS=   amounts 0.0
+SHARED_LIBS=   ledger  0.0
 
 # BSD
 PERMIT_PACKAGE_CDROM=  Yes
 
-MASTER_SITES=  https://github.com/downloads/jwiegley/ledger/
+GH_ACCOUNT =   ledger
+GH_PROJECT =   ledger
+GH_TAGNAME =   v${V}
+
+WANTLIB+=  boost_date_time-mt boost_filesystem-mt boost_iostreams-mt
+WANTLIB+=  boost_regex-mt boost_system-mt boost_unit_test_framework-mt
+WANTLIB+=  c estdc++ gmp>=4 m mpfr pthread
+
+BUILD_DEPENDS= lang/gcc/4.9,-c++>=4.9 \
+   devel/cmake
+
+LIB_DEPENDS=   devel/boost \
+   devel/gmp \
+   devel/mpfr \
+   ${MODGCC4_CPPLIBDEP}
 
-WANTLIB=   c gmp>=4 m pcre stdc++
+MODULES=   devel/cmake \
+   gcc4
 
-LIB_DEPENDS=   devel/gmp \
-   devel/pcre
+MODGCC4_LANGS= c++
+MODGCC4_ARCHS= *
 
 SEPARATE_BUILD=Yes
 
+CONFIGURE_ENV= CC=egcc CXX=eg++
+CONFIGURE_ARGS=-DUSE_PYTHON=OFF -DBUILD_LIBRARY=ON
 
-CONFIGURE_STYLE=gnu
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
-   LDFLAGS="-L${LOCALBASE}/lib" \
-   EMACS=no
-CONFIGURE_ARGS=--disable-xml \
-   --disable-ofx
+NO_TEST =  Yes
 
 post-install:
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ledger
-   ${INSTALL_DATA} ${WRKSRC}/scripts/* ${PREFIX}/share/doc/ledger
-.for f in ledger.texi ledger.vim
-   ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ledger
-.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ledger
-   ${INSTALL_DATA} ${WRKSRC}/sample.dat ${PREFIX}/share/examples/ledger
+   ${INSTALL_DATA} ${WRKSRC}/test/input/sample.dat 
${PREFIX}/share/examples/ledger
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/productivity/ledger/distinfo,v
retrieving revision 1.5
diff -u -p -u -r1.5 distinfo
--- distinfo18 Jan 2015 03:14:59 -  1.5
+++ distinfo15 Mar 2016 18:00:03 -
@@ -1,2 +1,2 @@
-SHA256 (ledger-2.6.3.tar.gz) = s+zQF0o1ALuW/gR2F7HuhwzFGW3rAjA5PZM9zq639xc=
-SIZE (ledger-2.6.3.tar.gz) = 660752
+SHA256 (ledger-3.1.1.tar.gz) = kPBlYatpKxktRtZ7wQYVjanGxoE8w4SLUDJDqd/YVIo=
+SIZE (ledger-3.1.1.tar.gz) = 842364
Index: patches/patch-src_CMakeLists_txt
===
RCS file: patches/patch-src_CMakeLists_txt
diff -N patches/patch-src_CMakeLists_txt
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_CMakeLists_txt15 Mar 2016 18:00:03 -
@@ -0,0 +1,53 @@
+$OpenBSD$
+--- src/CMakeLists.txt.origMon Jan 11 16:59:38 2016
 src/CMakeLists.txt Tue Mar 15 17:26:08 2016
+@@ -263,21 +263,21 @@ include(GNUInstallDirs)
+ 
+ if (BUILD_LIBRARY)
+   set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
+-  add_library(libledger SHARED ${LEDGER_SOURCES})
+-  add_ledger_library_dependencies(libledger)
+-  set_target_properties(libledger PROPERTIES
+-PREFIX ""
++  add_library(ledger SHARED ${LEDGER_SOURCES})
++  add_ledger_library_dependencies(ledger)
++  set_target_properties(ledger PROPERTIES
+ INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}"
+ VERSION ${Ledger_VERSION_MAJOR}
+ SOVERSION ${Ledger_VERSION_MAJOR})
+ 
+-  add_executable(ledger main.cc global.cc)
+-  target_link_libraries(ledger libledger)
++  add_executable(ledger-bin main.cc global.cc)
++  set_target_properties(ledger-bin PROPERTIES OUTPUT_NAME ledger)
++  target_link_libraries(ledger-bin ledger)
+   if (CMAKE_SYSTEM_NAME STREQUAL Darwin AND HAVE_BOOST_PYTHON)
+-target_link_libraries(ledger ${PYTHON_LIBRARIES})
++target_link_libraries(ledger-bin ${PYTHON_LIBRARIES})
+   endif()
+ 
+-  install(TARGETS libledger DESTINATION ${CMAKE_INSTALL_LIBDIR})
++  install(TARGETS ledger DESTINATION ${CMAKE_INSTALL_LIBDIR})
+   install(FILES ${LEDGER_INCLUDES}
+ DESTINATION 

Re: UPDATE: ledger 3.1.1

2016-03-14 Thread Florian Stinglmayr
On Mon, Mar 14, 2016 at 06:00:09PM +, Martin Oppegaard wrote:
> I get it to build, but it doesn't install the binary.  It installs
> libledger.so instead.  From the patch:
>
> -@bin bin/ledger
> +@lib bin/libledger.so.${LIBledger_VERSION}
>

Thanks a lot for testing. This bug has been fixed in the diff below.

Please apply with patch -p0 < ledger.patch so that all necessary
directories are created. This should fix any build issues one might
have.

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/productivity/ledger/Makefile,v
retrieving revision 1.14
diff -u -p -u -r1.14 Makefile
--- Makefile7 Aug 2013 21:58:00 -   1.14
+++ Makefile14 Mar 2016 18:43:37 -
@@ -1,44 +1,49 @@
 # $OpenBSD: Makefile,v 1.14 2013/08/07 21:58:00 naddy Exp $

 COMMENT=   command line double-entry accounting ledger
+V= 3.1.1

-DISTNAME=  ledger-2.6.3
-REVISION=  2
+DISTNAME=  ${GH_PROJECT}-${V}
 CATEGORIES=productivity

 HOMEPAGE=  http://www.ledger-cli.org/

 MAINTAINER=Sergey Bronnikov 

-SHARED_LIBS=   amounts 0.0
+SHARED_LIBS=   ledger  0.0

 # BSD
 PERMIT_PACKAGE_CDROM=  Yes

-MASTER_SITES=  https://github.com/downloads/jwiegley/ledger/
+GH_ACCOUNT =   ledger
+GH_PROJECT =   ledger
+GH_TAGNAME =   v${V}
+
+WANTLIB+=  boost_date_time-mt boost_filesystem-mt boost_iostreams-mt
+WANTLIB+=  boost_regex-mt boost_system-mt boost_unit_test_framework-mt
+WANTLIB+=  c estdc++ gmp>=4 m mpfr pthread
+
+BUILD_DEPENDS= lang/gcc/4.9,-c++>=4.9 \
+   devel/cmake
+
+LIB_DEPENDS=   devel/boost \
+   devel/gmp \
+   devel/mpfr \
+   ${MODGCC4_CPPLIBDEP}

-WANTLIB=   c gmp>=4 m pcre stdc++
+MODULES=   devel/cmake \
+   gcc4

-LIB_DEPENDS=   devel/gmp \
-   devel/pcre
+MODGCC4_LANGS= c++
+MODGCC4_ARCHS= *

 SEPARATE_BUILD=Yes

-
-CONFIGURE_STYLE=gnu
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
-   LDFLAGS="-L${LOCALBASE}/lib" \
-   EMACS=no
-CONFIGURE_ARGS=--disable-xml \
-   --disable-ofx
+CONFIGURE_ENV= CC=egcc CXX=eg++
+CONFIGURE_ARGS=-DUSE_PYTHON=OFF -DBUILD_LIBRARY=ON

 post-install:
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ledger
-   ${INSTALL_DATA} ${WRKSRC}/scripts/* ${PREFIX}/share/doc/ledger
-.for f in ledger.texi ledger.vim
-   ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ledger
-.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ledger
-   ${INSTALL_DATA} ${WRKSRC}/sample.dat ${PREFIX}/share/examples/ledger
+   ${INSTALL_DATA} ${WRKSRC}/test/input/sample.dat 
${PREFIX}/share/examples/ledger

 .include 
Index: distinfo
===
RCS file: /cvs/ports/productivity/ledger/distinfo,v
retrieving revision 1.5
diff -u -p -u -r1.5 distinfo
--- distinfo18 Jan 2015 03:14:59 -  1.5
+++ distinfo14 Mar 2016 18:43:37 -
@@ -1,2 +1,2 @@
-SHA256 (ledger-2.6.3.tar.gz) = s+zQF0o1ALuW/gR2F7HuhwzFGW3rAjA5PZM9zq639xc=
-SIZE (ledger-2.6.3.tar.gz) = 660752
+SHA256 (ledger-3.1.1.tar.gz) = kPBlYatpKxktRtZ7wQYVjanGxoE8w4SLUDJDqd/YVIo=
+SIZE (ledger-3.1.1.tar.gz) = 842364
Index: patches/patch-src_CMakeLists_txt
===
RCS file: patches/patch-src_CMakeLists_txt
diff -N patches/patch-src_CMakeLists_txt
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_CMakeLists_txt14 Mar 2016 18:43:37 -
@@ -0,0 +1,53 @@
+$OpenBSD$
+--- src/CMakeLists.txt.origMon Jan 11 16:59:38 2016
 src/CMakeLists.txt Mon Mar 14 19:19:50 2016
+@@ -263,21 +263,21 @@ include(GNUInstallDirs)
+
+ if (BUILD_LIBRARY)
+   set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
+-  add_library(libledger SHARED ${LEDGER_SOURCES})
+-  add_ledger_library_dependencies(libledger)
+-  set_target_properties(libledger PROPERTIES
+-PREFIX ""
++  add_library(ledger SHARED ${LEDGER_SOURCES})
++  add_ledger_library_dependencies(ledger)
++  set_target_properties(ledger PROPERTIES
+ INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}"
+ VERSION ${Ledger_VERSION_MAJOR}
+ SOVERSION ${Ledger_VERSION_MAJOR})
+
+-  add_executable(ledger main.cc global.cc)
+-  target_link_libraries(ledger libledger)
++  add_executable(ledger-bin main.cc global.cc)
++  set_target_properties(ledger-bin PROPERTIES OUTPUT_NAME ledger)
++  target_link_libraries(ledger-bin ledger)
+   if (CMAKE_SYSTEM_NAME STREQUAL Darwin AND HAVE_BOOST_PYTHON)
+-target_link_libraries(ledger ${PYTHON_LIBRARIES})
++target_link_libraries(ledger-bin ${PYTHON_LIBRARIES})
+   endif()
+
+-  install(TARGETS libledger DESTINATION ${CMAKE_INSTALL_LIBDIR})
++  install(TARGETS ledger DESTINATION ${CMAKE_INSTALL_LIBDIR})
+   install(FILES ${LEDGER_INCLUDES}
+ DESTINATION 

Re: UPDATE: ledger 3.1.1

2016-03-14 Thread Florian Stinglmayr
On Thu, Jan 14, 2016 at 10:40:48PM +0100, Florian Stinglmayr wrote:
> Hello list,
>
> here is an update for ledger. It updates ledger from 2. something to
> ledger 3.1.1. It has moved to github, and I need to patch the cmake
> a little to make it proper.
>
> Could someone who's already using ledger confirm that it is working
> as it should, as I am just staring out to get my finances into ledger.
>

No one? Alright off into mystuff you go.



Re: UPDATE: ledger 3.1.1

2016-03-14 Thread Florian Stinglmayr
On Sat, Feb 13, 2016 at 11:16:06AM +0900, Bryan Linton wrote:
> On 2016-01-14 22:40:48, Florian Stinglmayr <flor...@n0la.org> wrote:
> > Hello list,
> >
> > here is an update for ledger. It updates ledger from 2. something to
> > ledger 3.1.1. It has moved to github, and I need to patch the cmake
> > a little to make it proper.
> >
> > Could someone who's already using ledger confirm that it is working
> > as it should, as I am just staring out to get my finances into ledger.
> >
> > @Sergey Could you give your input?
> >
> > Thanks,
> > Florian
> >
> > P.S.: I see the cmus patches still didn't make it in :-(
> >
>
> I can't get this to build correctly on my machine.  I've tried
> updating to newer snapshots several times since you originally
> sent it out and updated my ports tree each time, thinking that it
> may be a local problem, but it still won't build.
>
> This is what is output when I try resuming the build after it
> fails.  It seems like the key line is probably:
> /usr/bin/ld: cannot find -llibledger.so.3
>
> Any ideas on how to fix this?  I've been using ledger for years
> and it seems like the author wants to deprecate the 2.x series, so
> I'd be happy to help test this so it can be upgraded to the 3.x
> series.  (After the ports unlock of course)
>
>

I am terribly sorry this slipped past my radar. I will see if I can
get it work.



UPDATE: hexchat to 2.12.0

2016-03-13 Thread Florian Stinglmayr
Hi list,

a small update for hexchat to 2.12.0. The full list of changes can be
found here:

https://hexchat.readthedocs.org/en/latest/changelog.html

Some highlights:

 * IRCv3.2
 * DH-{AES,BLOWFISH} have been removed as ciphers
 * Everything is now properly UTF-8

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/net/hexchat/Makefile,v
retrieving revision 1.7
diff -u -p -u -r1.7 Makefile
--- Makefile4 Apr 2015 09:21:02 -   1.7
+++ Makefile13 Mar 2016 18:48:23 -
@@ -3,10 +3,9 @@
 SHARED_ONLY =  Yes
 
 COMMENT =  GTK+2 IRC Client
-DISTNAME = hexchat-2.10.2
+DISTNAME = hexchat-2.12.0
 EXTRACT_SUFX = .tar.xz
 CATEGORIES =   net x11
-REVISION = 1
 
 HOMEPAGE = http://hexchat.github.io/
 MAINTAINER =   Florian Stinglmayr <flor...@n0la.org>
Index: distinfo
===
RCS file: /cvs/ports/net/hexchat/distinfo,v
retrieving revision 1.3
diff -u -p -u -r1.3 distinfo
--- distinfo5 Dec 2014 14:12:24 -   1.3
+++ distinfo13 Mar 2016 18:48:23 -
@@ -1,2 +1,2 @@
-SHA256 (hexchat-2.10.2.tar.xz) = h+vzZcV2ZW+j8j9R0xmzptJ55Kky8viWHYkd1aXhtSw=
-SIZE (hexchat-2.10.2.tar.xz) = 1529732
+SHA256 (hexchat-2.12.0.tar.xz) = wgcvl1EMD+bs+wh4dQ0nF5Yz4IGZBmly+gDloj5n1p0=
+SIZE (hexchat-2.12.0.tar.xz) = 1578164



Re: [UPDATE] net/irssi 0.8.18

2016-03-12 Thread Florian Stinglmayr
On Sun, Mar 06, 2016 at 01:48:41PM +, Stuart Henderson wrote:
> This is due to needing a version check adding, I've committed the fix
> for this to irssi-icb; the other modules will need similar. Mentioned
> offlist but irssi-otr has https://github.com/cryptodotis/irssi-otr/pull/60,
> if maintainers of any other modules would like to look for similar or
> write it themselves that'd be nice :)
>

Upstream is AWOL so a patch is attached. Can be removed if upstream
merges and releases a new version.

> There is another problem which affects at least irssi-otr and irssi-icb
> (and I suspect the others too), sending yourself a message fails like this
> (this is mentioned in https://github.com/cryptodotis/irssi-otr/pull/58)
>
> 13:44 -!- Irssi: critical privmsg_get_query: assertion 'nick != NULL' failed
> 13:44 -!- Irssi: critical query_find: assertion 'nick != NULL' failed
> 13:44 [msg()] test
>

This is also fixed in the patch below for irssi-otr.

Also +1 for the irssi patch.

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/net/irssi-otr/Makefile,v
retrieving revision 1.5
diff -u -p -u -r1.5 Makefile
--- Makefile29 Dec 2015 22:45:48 -  1.5
+++ Makefile12 Mar 2016 18:16:13 -
@@ -5,7 +5,7 @@ SHARED_ONLY =   Yes
 COMMENT =  OTR (off the record) encryption support for irssi
 
 V =1.0.1
-REVISION = 0
+REVISION = 1
 DISTNAME = irssi-otr-$V
 
 CATEGORIES =   net security
Index: patches/patch-src_module_c
===
RCS file: patches/patch-src_module_c
diff -N patches/patch-src_module_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_module_c  12 Mar 2016 18:16:13 -
@@ -0,0 +1,51 @@
+$OpenBSD$
+--- src/module.c.orig  Mon Sep 29 22:11:07 2014
 src/module.c   Sat Mar 12 19:03:22 2016
+@@ -32,6 +32,7 @@
+ #include "otr.h"
+ #include "otr-formats.h"
+ #include "utils.h"
++#include "irssi-version.h"
+ 
+ GCRY_THREAD_OPTION_PTHREAD_IMPL;
+ 
+@@ -90,8 +91,13 @@ end:
+ /*
+  * Pipes all incoming private messages through OTR
+  */
++#if IRSSI_VERSION_DATE > 20141206
+ void sig_message_private(SERVER_REC *server, const char *msg,
++  const char *nick, const char *address, const char *target)
++#else
++void sig_message_private(SERVER_REC *server, const char *msg,
+   const char *nick, const char *address)
++#endif
+ {
+   int ret;
+   char *new_msg = NULL;
+@@ -106,7 +112,11 @@ void sig_message_private(SERVER_REC *server, const cha
+ 
+   if (!new_msg) {
+   /* This message was not OTR */
++#if IRSSI_VERSION_DATE > 20141206
++  signal_continue(5, server, msg, nick, address, target);
++#else
+   signal_continue(4, server, msg, nick, address);
++#endif
+   } else {
+   /*
+* Check for /me IRC marker and if so, handle it so the user 
does not
+@@ -371,3 +381,13 @@ void otr_deinit(void)
+ 
+   theme_unregister();
+ }
++
++#ifdef IRSSI_ABI_VERSION
++/*
++ * irssi abicheck()
++ */
++void otr_abicheck(int *version)
++{
++  *version = IRSSI_ABI_VERSION;
++}
++#endif



Re: pledge textproc/the_silver_searcher

2016-02-04 Thread Florian Stinglmayr
On Wed, Feb 03, 2016 at 05:30:39PM -0800, Doug Hogan wrote:
> Some feedback below.
>
> > diff --git a/src/main.c b/src/main.c
> > index 4d0e623..1551c0d 100644
> > --- a/src/main.c
> > +++ b/src/main.c
> > @@ -35,6 +35,12 @@ int main(int argc, char **argv) {
> >  int workers_len;
> >  int num_cores;
> >
> > +#ifdef HAVE_PLEDGE
> > +if (pledge("stdio rpath proc exec", NULL) < 0) {
>
> Can you use the standard convention == -1?  It's (almost?) universally
> checked that way.  Makes it easier to spot errors when everything is
> consistent.
>
> > diff --git a/src/options.c b/src/options.c
> > index 6bc5b18..bcd452e 100644
> > --- a/src/options.c
> > +++ b/src/options.c
> > @@ -600,6 +600,12 @@ void parse_options(int argc, char **argv, char 
> > **base_paths[], char **paths[]) {
> >  }
> >  }
> >
> > +#ifdef HAVE_PLEDGE
> > +if (opts.skip_vcs_ignores && pledge("stdio rpath proc", NULL) < 0) {
>
> This is a minor nit, but almost every other one is "if (pledge(".
>
> > +#ifdef HAVE_PLEDGE
> > +if (pledge("stdio rpath proc", NULL) < -1) {
>
> This will never happen.  It should be == -1.
>

Thanks for the great feedback. Below is an updated diff for upstream.

Regards,
Florian

diff --git a/configure.ac b/configure.ac
index 42aaf79..65293c1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,7 +57,7 @@ AC_CHECK_DECL([CPU_ZERO, CPU_SET], [AC_DEFINE([USE_CPU_SET], 
[], [Use CPU_SET ma
 AC_CHECK_MEMBER([struct dirent.d_type], [AC_DEFINE([HAVE_DIRENT_DTYPE], [], 
[Have dirent struct member d_type])], [], [[#include ]])
 AC_CHECK_MEMBER([struct dirent.d_namlen], [AC_DEFINE([HAVE_DIRENT_DNAMLEN], 
[], [Have dirent struct member d_namlen])], [], [[#include ]])

-AC_CHECK_FUNCS(fgetln getline realpath strlcpy strndup vasprintf madvise 
posix_fadvise pthread_setaffinity_np)
+AC_CHECK_FUNCS(fgetln getline realpath strlcpy strndup vasprintf madvise 
posix_fadvise pthread_setaffinity_np pledge)

 AC_CONFIG_FILES([Makefile the_silver_searcher.spec])
 AC_CONFIG_HEADERS([src/config.h])
diff --git a/src/main.c b/src/main.c
index 4d0e623..aed75b1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -35,6 +35,12 @@ int main(int argc, char **argv) {
 int workers_len;
 int num_cores;

+#ifdef HAVE_PLEDGE
+if (pledge("stdio rpath proc exec", NULL) == -1) {
+die("pledge: %s", strerror(errno));
+}
+#endif
+
 set_log_level(LOG_LEVEL_WARN);

 work_queue = NULL;
@@ -156,6 +162,12 @@ int main(int argc, char **argv) {
 log_debug("No CPU affinity support.");
 #endif
 }
+
+#ifdef HAVE_PLEDGE
+if (pledge("stdio rpath", NULL) == -1) {
+die("pledge: %s", strerror(errno));
+}
+#endif
 for (i = 0; paths[i] != NULL; i++) {
 log_debug("searching path %s for %s", paths[i], opts.query);
 symhash = NULL;
diff --git a/src/options.c b/src/options.c
index 6bc5b18..3bcd86b 100644
--- a/src/options.c
+++ b/src/options.c
@@ -600,6 +600,14 @@ void parse_options(int argc, char **argv, char 
**base_paths[], char **paths[]) {
 }
 }

+#ifdef HAVE_PLEDGE
+if (opts.skip_vcs_ignores) {
+if (pledge("stdio rpath proc", NULL) == -1) {
+die("pledge: %s", strerror(errno));
+}
+}
+#endif
+
 if (help) {
 usage();
 exit(0);
@@ -659,6 +667,12 @@ void parse_options(int argc, char **argv, char 
**base_paths[], char **paths[]) {
 }
 }

+#ifdef HAVE_PLEDGE
+if (pledge("stdio rpath proc", NULL) == -1) {
+die("pledge: %s", strerror(errno));
+}
+#endif
+
 if (opts.context > 0) {
 opts.before = opts.context;
 opts.after = opts.context;



Re: pledge textproc/the_silver_searcher

2016-02-03 Thread Florian Stinglmayr
On Fri, Jan 29, 2016 at 04:13:20PM -0500, Michael McConville wrote:
> Sorry for disappearing.
>
> Thanks for pointing out the VCS popen. Below is a draft that
> incorporates your suggestions. Let me know if it's too fine-grained. My
> thought was that it's ideal to drop exec as early as possible.
>

Michael's patch is very nice and should definitely make it in.

Yet after speaking with upstream the other day it was made very clear to
me that upstream wants the patch in their repository. Since my upstream
patch requires a change in configure.ac (and thus a rerunning
autoreconf) I don't want to put it in ports. So my plan is:

1. Use Michael's patch until upstream releases a new version.
2. Send Michael's patch upstream.
3. Wait for new version.
4. Update port, remove old patches.

Attached below is the git patch that will go upstream. I'd appreciate
any feedback.

Regards,
Florian

diff --git a/configure.ac b/configure.ac
index 42aaf79..65293c1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,7 +57,7 @@ AC_CHECK_DECL([CPU_ZERO, CPU_SET], [AC_DEFINE([USE_CPU_SET], 
[], [Use CPU_SET ma
 AC_CHECK_MEMBER([struct dirent.d_type], [AC_DEFINE([HAVE_DIRENT_DTYPE], [], 
[Have dirent struct member d_type])], [], [[#include ]])
 AC_CHECK_MEMBER([struct dirent.d_namlen], [AC_DEFINE([HAVE_DIRENT_DNAMLEN], 
[], [Have dirent struct member d_namlen])], [], [[#include ]])
 
-AC_CHECK_FUNCS(fgetln getline realpath strlcpy strndup vasprintf madvise 
posix_fadvise pthread_setaffinity_np)
+AC_CHECK_FUNCS(fgetln getline realpath strlcpy strndup vasprintf madvise 
posix_fadvise pthread_setaffinity_np pledge)
 
 AC_CONFIG_FILES([Makefile the_silver_searcher.spec])
 AC_CONFIG_HEADERS([src/config.h])
diff --git a/src/main.c b/src/main.c
index 4d0e623..1551c0d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -35,6 +35,12 @@ int main(int argc, char **argv) {
 int workers_len;
 int num_cores;
 
+#ifdef HAVE_PLEDGE
+if (pledge("stdio rpath proc exec", NULL) < 0) {
+die("pledge: %s", strerror(errno));
+}
+#endif
+
 set_log_level(LOG_LEVEL_WARN);
 
 work_queue = NULL;
@@ -156,6 +162,12 @@ int main(int argc, char **argv) {
 log_debug("No CPU affinity support.");
 #endif
 }
+
+#ifdef HAVE_PLEDGE
+if (pledge("stdio rpath", NULL) < 0) {
+die("pledge: %s", strerror(errno));
+}
+#endif
 for (i = 0; paths[i] != NULL; i++) {
 log_debug("searching path %s for %s", paths[i], opts.query);
 symhash = NULL;
diff --git a/src/options.c b/src/options.c
index 6bc5b18..bcd452e 100644
--- a/src/options.c
+++ b/src/options.c
@@ -600,6 +600,12 @@ void parse_options(int argc, char **argv, char 
**base_paths[], char **paths[]) {
 }
 }
 
+#ifdef HAVE_PLEDGE
+if (opts.skip_vcs_ignores && pledge("stdio rpath proc", NULL) < 0) {
+die("pledge: %s", strerror(errno));
+}
+#endif
+
 if (help) {
 usage();
 exit(0);
@@ -659,6 +665,12 @@ void parse_options(int argc, char **argv, char 
**base_paths[], char **paths[]) {
 }
 }
 
+#ifdef HAVE_PLEDGE
+if (pledge("stdio rpath proc", NULL) < -1) {
+die("pledge: %s", strerror(errno));
+}
+#endif
+
 if (opts.context > 0) {
 opts.before = opts.context;
 opts.after = opts.context;



Re: pledge textproc/the_silver_searcher

2016-02-02 Thread Florian Stinglmayr
On Fri, Jan 29, 2016 at 04:13:20PM -0500, Michael McConville wrote:
> Sorry for disappearing.
>
> Thanks for pointing out the VCS popen. Below is a draft that
> incorporates your suggestions. Let me know if it's too fine-grained. My
> thought was that it's ideal to drop exec as early as possible.
>

+1, works for me on amd64.

Regards,
Florian



Re: NEW: lua-lyaml

2016-01-19 Thread Florian Stinglmayr
Since I haven't received any suggestions for fixes or improvements I
assume it is ready to be imported, no? ;-)

Regards,
Florian



Re: Delete emulators/zsnes

2016-01-17 Thread Florian Stinglmayr
On Sun, Jan 17, 2016 at 03:02:15AM -0700, Anthony J. Bentley wrote:
> zsnes has holes that allow malicious ROMs to execute code on the host:
> https://www.youtube.com/watch?v=Q3SOYneC7mU
>
> Our port was last updated 10 years ago. The current release of zsnes
> (1.51, which is still vulnerable) was released 8 years ago.
>
> We have two alternative SNES emulators in tree, snes9x and mednafen.
> zsnes is also i386-only, so it is becoming increasingly irrelevant.
>

Since mednafen now has decent network support I whole heartedly agree.

> ok to remove it?
>

ok from me as someone who has switched from zsnes to mednafen.

Regards,
Florian



Re: pledge textproc/the_silver_searcher

2016-01-16 Thread Florian Stinglmayr
On Sat, Jan 16, 2016 at 04:09:20PM -0500, Michael McConville wrote:
> This works for me. It unconditionally vforks at some point so, unlike
> grep, it needs proc. Also, the --pager flag lets the user specify a
> pager to display the output in, so it needs exec in that case.
>
>

Thanks a lot. Here is one with revision bump:

I will test this but so far it seems to work.

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/textproc/the_silver_searcher/Makefile,v
retrieving revision 1.19
diff -u -p -u -r1.19 Makefile
--- Makefile9 Oct 2015 12:48:22 -   1.19
+++ Makefile16 Jan 2016 21:29:15 -
@@ -3,6 +3,7 @@
 COMMENT =  code searching tool, with a focus on speed (ag)
 
 DISTNAME = the_silver_searcher-0.31.0
+REVISION = 0
 CATEGORIES =   textproc
 
 HOMEPAGE = https://github.com/ggreer/the_silver_searcher
Index: patches/patch-src_options_c
===
RCS file: patches/patch-src_options_c
diff -N patches/patch-src_options_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_options_c 16 Jan 2016 21:29:15 -
@@ -0,0 +1,19 @@
+$OpenBSD$
+--- src/options.c.orig Sun Sep  6 02:20:35 2015
 src/options.c  Sat Jan 16 15:52:17 2016
+@@ -543,6 +543,15 @@ void parse_options(int argc, char **argv, char **base_
+ }
+ }
+ 
++if (opts.pager == NULL) {
++if (pledge("stdio rpath proc", NULL) == -1) {
++err(2, "pledge");
++}
++} else {
++if (pledge("stdio rpath proc exec", NULL) == -1) {
++err(2, "pledge");
++}
++}
+ 
+ if (ext_index[0]) {
+ num_exts = combine_file_extensions(ext_index, lang_num, );



NEW: lua-lyaml

2016-01-15 Thread Florian Stinglmayr
Hello list,

attached you will find a port for lua-lyaml. A new and modern binding
for libyaml for Lua. It works with all Lua versions. As with most
Lua libraries the shipped configure script do a terrible job of properly
installing everything, so that has been made with some manual magic.

The test suite sadly doesn't run, because it requires a Lua programm
called specl. Specl in turn requires lua-lyaml to run. So yeah.

The port is also available for your online viewing pleasure [1]

Thank you for your time.

Regards,
Florian

[1] https://github.com/n0la/obsd/tree/master/textproc/lua-lyaml


lua-lyaml.tar.gz
Description: application/tar-gz


UPDATE: ledger 3.1.1

2016-01-14 Thread Florian Stinglmayr
Hello list,

here is an update for ledger. It updates ledger from 2. something to
ledger 3.1.1. It has moved to github, and I need to patch the cmake
a little to make it proper.

Could someone who's already using ledger confirm that it is working
as it should, as I am just staring out to get my finances into ledger.

@Sergey Could you give your input?

Thanks,
Florian

P.S.: I see the cmus patches still didn't make it in :-(

Index: Makefile
===
RCS file: /cvs/ports/productivity/ledger/Makefile,v
retrieving revision 1.14
diff -u -p -u -r1.14 Makefile
--- Makefile7 Aug 2013 21:58:00 -   1.14
+++ Makefile14 Jan 2016 20:11:58 -
@@ -1,44 +1,49 @@
 # $OpenBSD: Makefile,v 1.14 2013/08/07 21:58:00 naddy Exp $

 COMMENT=   command line double-entry accounting ledger
+V= 3.1.1

-DISTNAME=  ledger-2.6.3
-REVISION=  2
+DISTNAME=  ${GH_PROJECT}-${V}
 CATEGORIES=productivity

 HOMEPAGE=  http://www.ledger-cli.org/

 MAINTAINER=Sergey Bronnikov 

-SHARED_LIBS=   amounts 0.0
+SHARED_LIBS=   ledger  0.0

 # BSD
 PERMIT_PACKAGE_CDROM=  Yes

-MASTER_SITES=  https://github.com/downloads/jwiegley/ledger/
+GH_ACCOUNT =   ledger
+GH_PROJECT =   ledger
+GH_TAGNAME =   v${V}
+
+WANTLIB+=  boost_date_time-mt boost_filesystem-mt boost_iostreams-mt
+WANTLIB+=  boost_regex-mt boost_system-mt boost_unit_test_framework-mt
+WANTLIB+=  estdc++ gmp>=4 m mpfr
+
+BUILD_DEPENDS= lang/gcc/4.9,-c++>=4.9 \
+   devel/cmake
+
+LIB_DEPENDS=   devel/boost \
+   devel/gmp \
+   devel/mpfr \
+   ${MODGCC4_CPPLIBDEP}

-WANTLIB=   c gmp>=4 m pcre stdc++
+MODULES=   devel/cmake \
+   gcc4

-LIB_DEPENDS=   devel/gmp \
-   devel/pcre
+MODGCC4_LANGS= c++
+MODGCC4_ARCHS= *

 SEPARATE_BUILD=Yes

-
-CONFIGURE_STYLE=gnu
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
-   LDFLAGS="-L${LOCALBASE}/lib" \
-   EMACS=no
-CONFIGURE_ARGS=--disable-xml \
-   --disable-ofx
+CONFIGURE_ENV= CC=egcc CXX=eg++
+CONFIGURE_ARGS=-DUSE_PYTHON=OFF -DBUILD_LIBRARY=ON

 post-install:
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ledger
-   ${INSTALL_DATA} ${WRKSRC}/scripts/* ${PREFIX}/share/doc/ledger
-.for f in ledger.texi ledger.vim
-   ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ledger
-.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ledger
-   ${INSTALL_DATA} ${WRKSRC}/sample.dat ${PREFIX}/share/examples/ledger
+   ${INSTALL_DATA} ${WRKSRC}/test/input/sample.dat 
${PREFIX}/share/examples/ledger

 .include 
Index: distinfo
===
RCS file: /cvs/ports/productivity/ledger/distinfo,v
retrieving revision 1.5
diff -u -p -u -r1.5 distinfo
--- distinfo18 Jan 2015 03:14:59 -  1.5
+++ distinfo14 Jan 2016 20:11:58 -
@@ -1,2 +1,2 @@
-SHA256 (ledger-2.6.3.tar.gz) = s+zQF0o1ALuW/gR2F7HuhwzFGW3rAjA5PZM9zq639xc=
-SIZE (ledger-2.6.3.tar.gz) = 660752
+SHA256 (ledger-3.1.1.tar.gz) = kPBlYatpKxktRtZ7wQYVjanGxoE8w4SLUDJDqd/YVIo=
+SIZE (ledger-3.1.1.tar.gz) = 842364
Index: patches/patch-src_CMakeLists_txt
===
RCS file: patches/patch-src_CMakeLists_txt
diff -N patches/patch-src_CMakeLists_txt
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_CMakeLists_txt14 Jan 2016 20:11:58 -
@@ -0,0 +1,45 @@
+$OpenBSD$
+--- src/CMakeLists.txt.origWed Jan 13 21:45:53 2016
 src/CMakeLists.txt Wed Jan 13 21:46:01 2016
+@@ -263,21 +263,21 @@ include(GNUInstallDirs)
+
+ if (BUILD_LIBRARY)
+   set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
+-  add_library(libledger SHARED ${LEDGER_SOURCES})
+-  add_ledger_library_dependencies(libledger)
+-  set_target_properties(libledger PROPERTIES
+-PREFIX ""
++  add_library(ledger SHARED ${LEDGER_SOURCES})
++  add_ledger_library_dependencies(ledger)
++  set_target_properties(ledger PROPERTIES
+ INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}"
+ VERSION ${Ledger_VERSION_MAJOR}
+ SOVERSION ${Ledger_VERSION_MAJOR})
+
+-  add_executable(ledger main.cc global.cc)
+-  target_link_libraries(ledger libledger)
++  add_executable(ledger-bin main.cc global.cc)
++  set_target_properties(ledger-bin PROPERTIES OUTPUT_NAME ledger)
++  target_link_libraries(ledger-bin ledger)
+   if (CMAKE_SYSTEM_NAME STREQUAL Darwin AND HAVE_BOOST_PYTHON)
+-target_link_libraries(ledger ${PYTHON_LIBRARIES})
++target_link_libraries(ledger-bin ${PYTHON_LIBRARIES})
+   endif()
+
+-  install(TARGETS libledger DESTINATION ${CMAKE_INSTALL_LIBDIR})
++  install(TARGETS ledger DESTINATION ${CMAKE_INSTALL_LIBDIR})
+   install(FILES ${LEDGER_INCLUDES}
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ledger)
+ else()
+@@ -308,9 +308,9 @@ 

Re: [UPDATE] audio/cmus => 2.7.1

2015-11-22 Thread Florian Stinglmayr

On 24.10.2015 14:58, Donovan Watteau wrote:

Thanks Micah and Florian for the feedback.

ping anyone?  Thanks.



Ping anyone? It's been a while, but having a new cmus would be appreciated.

Thanks,
Florian



Re: [UPDATE] audio/cmus => 2.7.1

2015-10-14 Thread Florian Stinglmayr

On 10.10.2015 15:36, Donovan Watteau wrote:

Hi,

This diff updates audio/cmus to 2.7.1.

Quoting my earlier attempt at getting this port updated [1]:

This merges -flac and -wavpack back into -main, which is what
I should have done in the first place.  @conflict and @pkgpath
markers were added, and devel/quirks stuff too.

I added -ffmpeg for those who need to play more exotic formats
(while trying to keep "sane" defaults formats in -main, so that
you won't usually need ffmpeg and its dependencies).  For AAC,
I've switched from audio/faad to graphics/ffmpeg, because the
former didn't support proper seeking and such.

sndio output plugin has been merged by upstream.

Some changes were suggested by Florian Stinglmayr, thanks.

Tested on amd64, macppc, and loongson.

[1] https://marc.info/?l=openbsd-ports=142799977131494=2



Seems to work great for me on amd64.

Regards,
Florian



UPDATE: the_silver_searcher to 0.31.0

2015-09-18 Thread Florian Stinglmayr
Hi list,

a small update for the silver searcher to 0.31.0. It mostly fixes
small bugs but also adds support for --nomultiline, which disables
regex matching across multiple lines. Multiline matching is now
the default behaviour.

Have a fun and a nice day/night,
Florian

Index: Makefile
===
RCS file: /cvs/ports/textproc/the_silver_searcher/Makefile,v
retrieving revision 1.17
diff -u -p -u -r1.17 Makefile
--- Makefile17 May 2015 13:58:42 -  1.17
+++ Makefile18 Sep 2015 14:23:54 -
@@ -2,7 +2,7 @@
 
 COMMENT =  code searching tool, with a focus on speed (ag)
 
-DISTNAME = the_silver_searcher-0.30.0
+DISTNAME = the_silver_searcher-0.31.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.16
diff -u -p -u -r1.16 distinfo
--- distinfo17 May 2015 13:58:42 -  1.16
+++ distinfo18 Sep 2015 14:23:54 -
@@ -1,2 +1,2 @@
-SHA256 (the_silver_searcher-0.30.0.tar.gz) = 
tL+eUL9IvF/eJ/w4b3vK2GRO8VoXTIYqEIE+gb0Sfmk=
-SIZE (the_silver_searcher-0.30.0.tar.gz) = 177418
+SHA256 (the_silver_searcher-0.31.0.tar.gz) = 
K1VtYacC0E4mOFMqugi8zxeFI7ajhGSiUwVWNYGCMnE=
+SIZE (the_silver_searcher-0.31.0.tar.gz) = 177903
Index: patches/patch-ag_bashcomp_sh
===
RCS file: patches/patch-ag_bashcomp_sh
diff -N patches/patch-ag_bashcomp_sh
--- patches/patch-ag_bashcomp_sh20 Sep 2013 12:46:59 -  1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,8 +0,0 @@
-$OpenBSD: patch-ag_bashcomp_sh,v 1.1.1.1 2013/09/20 12:46:59 bcallah Exp $
 ag.bashcomp.sh.origThu Sep 19 19:56:28 2013
-+++ ag.bashcomp.sh Thu Sep 19 19:55:01 2013
-@@ -1,4 +1,3 @@
--have ag &&
- _ag() {
-   local lngopt shtopt split=false
-   local cur prev



UPDATE: cmus to 2.7.0

2015-07-03 Thread Florian Stinglmayr
Hi list and Donovan,

here's an update to cmus that bumps it to v2.7.0 from 2.5.0.

New features:

 * Development moved to github.
 * New filter methods.
 * Improved UI.
 * Better ffmpeg support which is now enabled by default.
 * sndio plugin is part of cmus now
 * Partial mouse support :set mouse=true to enable.
 * Solarized themes.
 * Better ReplayGain support.
  and much more!

Please comment on test rigorously.

Index: Makefile
===
RCS file: /cvs/ports/audio/cmus/Makefile,v
retrieving revision 1.8
diff -u -p -u -r1.8 Makefile
--- Makefile10 Mar 2013 22:55:02 -  1.8
+++ Makefile3 Jul 2015 08:37:34 -
@@ -1,12 +1,14 @@
 # $OpenBSD: Makefile,v 1.8 2013/03/10 22:55:02 espie Exp $
 
 COMMENT-main=  ncurses-based music player
+COMMENT-ffmpeg=ffmpeg input plugin for cmus
 COMMENT-flac=  FLAC input plugin for cmus
 COMMENT-wavpack=   Wavpack input plugin for cmus
 
-V= 2.5.0
+V= 2.7.0
 DISTNAME=  cmus-v$(V)
 PKGNAME-main=  cmus-$(V)
+PKGNAME-ffmpeg=cmus-ffmpeg-$(V)
 PKGNAME-flac=  cmus-flac-$(V)
 PKGNAME-wavpack=   cmus-wavpack-$(V)
 
@@ -18,19 +20,23 @@ MAINTAINER= Donovan Watteau tsoomi@gma
 # GPLv2+
 PERMIT_PACKAGE_CDROM=  Yes
 
-EXTRACT_SUFX=  .tar.bz2
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=cmus/}
+GH_ACCOUNT =   cmus
+GH_PROJECT =   cmus
+GH_TAGNAME =   v${V}
 
 SHARED_ONLY=   Yes
-MULTI_PACKAGES=-main -flac -wavpack
+MULTI_PACKAGES=-main -ffmpeg -flac -wavpack
 
 MODULES=   converters/libiconv
 
 WANTLIB-main=  c cdio cdio_cdda cue m mad=2 ncursesw pthread sndio
 WANTLIB-main+= ${MODLIBICONV_WANTLIB}
 
-LIB_DEPENDS=   audio/libcdio audio/libcue audio/libmad
+LIB_DEPENDS=   audio/libcdio audio/libcue audio/libmad 
audio/libsamplerate
 
+LIB_DEPENDS-ffmpeg=graphics/ffmpeg
+RUN_DEPENDS-ffmpeg=audio/cmus
+WANTLIB-ffmpeg=avformat swresample
 LIB_DEPENDS-flac=  audio/flac audio/libogg
 RUN_DEPENDS-flac=  audio/cmus
 WANTLIB-flac=  FLAC=5 ogg m
@@ -47,7 +53,6 @@ CONFIGURE_ARGS=   prefix=${PREFIX} \
exampledir=${PREFIX}/share/examples/cmus \
mandir=${PREFIX}/man \
CONFIG_AAC=n \
-   CONFIG_FFMPEG=n \
CONFIG_MODPLUG=n \
CONFIG_MP4=n \
CONFIG_MPC=n \
@@ -60,7 +65,9 @@ CONFIGURE_ARGS=   prefix=${PREFIX} \
CONFIG_ROAR=n \
CONFIG_SNDIO=y \
CONFIG_DISCID=n \
-   CONFIG_CDDB=n
+   CONFIG_CDDB=n \
+   CONFIG_JACK=n
+
 
 .if ${MACHINE_ARCH} == arm
 CONFIGURE_ARGS+=   CONFIG_TREMOR=y
@@ -68,13 +75,12 @@ LIB_DEPENDS+=   audio/tremor
 WANTLIB-main+= vorbisidec=1
 .else
 LIB_DEPENDS+=  audio/libvorbis
-WANTLIB-main+= ogg vorbis=0 vorbisfile=1
+WANTLIB-main+= ogg vorbis=0 vorbisfile=1 samplerate
 .endif
 
 NO_TEST=   Yes
 
 post-patch:
-   @cp ${FILESDIR}/sndio.c ${WRKSRC}
perl -pi -e s,/usr,${LOCALBASE}, ${WRKSRC}/Doc/cmus.txt
perl -pi -e s,doc/cmus/examples,examples/cmus, ${WRKSRC}/Doc/cmus.txt
 
Index: distinfo
===
RCS file: /cvs/ports/audio/cmus/distinfo,v
retrieving revision 1.3
diff -u -p -u -r1.3 distinfo
--- distinfo27 Dec 2012 12:02:33 -  1.3
+++ distinfo3 Jul 2015 08:37:34 -
@@ -1,2 +1,2 @@
-SHA256 (cmus-v2.5.0.tar.bz2) = ICH6tkCIiY1i0UOVJew0XiGfWNkanpM9yF6E7aIcjd8=
-SIZE (cmus-v2.5.0.tar.bz2) = 224675
+SHA256 (cmus-v2.7.0.tar.gz) = rUu8aCjxYtVvfy1h5gcU348QBqIADMfiuGe6kzUpl+k=
+SIZE (cmus-v2.7.0.tar.gz) = 296798
Index: files/sndio.c
===
RCS file: files/sndio.c
diff -N files/sndio.c
--- files/sndio.c   27 Dec 2012 12:02:33 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,261 +0,0 @@
-/*
- * Copyright (C) 2011 Donovan Tsomi Watteau tso...@gmail.com
- *
- * Based on Thomas Pfaff's work for XMMS, and some suggestions from
- * Alexandre Ratchov.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public 

UPDATE: the_silver_searcher to 0.30.0

2015-05-17 Thread Florian Stinglmayr
Hi list,

a small update to the_silver_searcher to the newest version 0.30.0.
Small bugfixes all around and it seems to work fine on amd64.

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/textproc/the_silver_searcher/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- Makefile9 Feb 2015 20:56:44 -   1.16
+++ Makefile17 May 2015 11:29:12 -
@@ -2,7 +2,7 @@
 
 COMMENT =  code searching tool, with a focus on speed (ag)
 
-DISTNAME = the_silver_searcher-0.29.1
+DISTNAME = the_silver_searcher-0.30.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.15
diff -u -p -r1.15 distinfo
--- distinfo9 Feb 2015 20:56:44 -   1.15
+++ distinfo17 May 2015 11:29:12 -
@@ -1,2 +1,2 @@
-SHA256 (the_silver_searcher-0.29.1.tar.gz) = 
11Y1ziQTCJ6BYSCsj9uzduNPI1UhJ2cLcgcSbWyc2Ao=
-SIZE (the_silver_searcher-0.29.1.tar.gz) = 174309
+SHA256 (the_silver_searcher-0.30.0.tar.gz) = 
tL+eUL9IvF/eJ/w4b3vK2GRO8VoXTIYqEIE+gb0Sfmk=
+SIZE (the_silver_searcher-0.30.0.tar.gz) = 177418



Re: UPDATE: devel/luastdlib

2015-03-26 Thread Florian Stinglmayr
On Fri, Mar 20, 2015 at 01:53:13PM +0100, Florian Stinglmayr wrote:
 Hi list,

 an updated patch that allows upgrades from luastdlib-22p1 to
 luastdlib-44.1.1.

 Regards,
 Florian


Ping? No one has yet come forth to speak for net/yt. ;-)

Regards,
Florian

 Index: Makefile
 ===
 RCS file: /cvs/ports/devel/luastdlib/Makefile,v
 retrieving revision 1.12
 diff -u -p -u -r1.12 Makefile
 --- Makefile  11 Mar 2013 10:50:11 -  1.12
 +++ Makefile  20 Mar 2015 12:52:13 -
 @@ -2,27 +2,30 @@

  PKG_ARCH =  *

 -COMMENT= lua library of common programming tasks
 -DISTNAME=stdlib-20
 -PKGNAME= lua${DISTNAME}
 -REVISION=1
 -CATEGORIES=  devel
 -
 -MASTER_SITES=http://luaforge.net/frs/download.php/4805/
 -HOMEPAGE=http://luaforge.net/projects/stdlib/
 -EXTRACT_SUFX=.zip
 +COMMENT =lua library of common programming tasks
 +V =  41.1.1
 +
 +GH_ACCOUNT = lua-stdlib
 +GH_PROJECT = lua-stdlib
 +GH_TAGNAME = release-v${V}
 +GH_COMMIT =  3544b627852125a7bd96a21b7b1a3a647372bdaa
 +
 +DISTNAME =   ${GH_PROJECT:S/-//}-${V}
 +
 +CATEGORIES = devel
 +
 +HOMEPAGE =   http://lua-stdlib.github.io/lua-stdlib
 +
 +MAINTAINER = Florian Stinglmayr flor...@n0la.org

  # MIT
 -PERMIT_PACKAGE_CDROM=Yes
 +PERMIT_PACKAGE_CDROM =   Yes
 +
 +MODULES =lang/lua
 +NO_TEST =Yes

 -MODULES= lang/lua
 -NO_BUILD=Yes
 -NO_TEST= Yes
 -WRKDIST= ${WRKDIR}/stdlib
 -
 -do-install:
 - ${INSTALL_DATA_DIR} ${MODLUA_DATADIR} ${MODLUA_DOCDIR}
 - ${INSTALL_DATA} ${WRKSRC}/modules/*.lua ${MODLUA_DATADIR}
 - ${INSTALL_DATA} ${WRKSRC}/modules/*.html ${MODLUA_DOCDIR}
 +CONFIGURE_ENV =  LUA=lua${MODLUA_VERSION:S/.//}
 +CONFIGURE_ARGS = --docdir=${PREFIX}/share/doc/${FULLPKGNAME}
 +CONFIGURE_STYLE =gnu

  .include bsd.port.mk
 Index: distinfo
 ===
 RCS file: /cvs/ports/devel/luastdlib/distinfo,v
 retrieving revision 1.4
 diff -u -p -u -r1.4 distinfo
 --- distinfo  18 Jan 2015 03:13:18 -  1.4
 +++ distinfo  20 Mar 2015 12:52:13 -
 @@ -1,2 +1,2 @@
 -SHA256 (stdlib-20.zip) = DPa43S8P60DviCsQQt5anW2xPQpRaaJMqHq9uWbg+38=
 -SIZE (stdlib-20.zip) = 48827
 +SHA256 (luastdlib-41.1.1.tar.gz) = 
 sVieTBsrD1THpG8pisA5XPhw6z9iccRVIk1RG936Cfo=
 +SIZE (luastdlib-41.1.1.tar.gz) = 391244
 Index: patches/patch-modules_getopt_lua
 ===
 RCS file: patches/patch-modules_getopt_lua
 diff -N patches/patch-modules_getopt_lua
 --- patches/patch-modules_getopt_lua  9 Sep 2009 18:31:33 -   1.1
 +++ /dev/null 1 Jan 1970 00:00:00 -
 @@ -1,11 +0,0 @@
 -$OpenBSD: patch-modules_getopt_lua,v 1.1 2009/09/09 18:31:33 jolan Exp $
  modules/getopt.lua.orig  Wed Feb 18 17:28:54 2009
 -+++ modules/getopt.lua   Wed Sep  9 13:28:20 2009
 -@@ -88,6 +86,7 @@ function getOpt (argIn, options)
 -   parseOpt (opt, arg)
 - end
 -   end
 -+  argOut.n = #argOut
 -   return argOut, optOut, errors
 - end
 -
 Index: pkg/PLIST
 ===
 RCS file: /cvs/ports/devel/luastdlib/pkg/PLIST,v
 retrieving revision 1.5
 diff -u -p -u -r1.5 PLIST
 --- pkg/PLIST 15 May 2012 15:16:29 -  1.5
 +++ pkg/PLIST 20 Mar 2015 12:52:13 -
 @@ -1,44 +1,44 @@
  @comment $OpenBSD: PLIST,v 1.5 2012/05/15 15:16:29 jasper Exp $
  share/doc/${FULLPKGNAME}/
 -share/doc/${FULLPKGNAME}/base.html
 -share/doc/${FULLPKGNAME}/debug_ext.html
 -share/doc/${FULLPKGNAME}/debug_init.html
 -share/doc/${FULLPKGNAME}/getopt.html
 -share/doc/${FULLPKGNAME}/io_ext.html
 -share/doc/${FULLPKGNAME}/lcs.html
 -share/doc/${FULLPKGNAME}/list.html
 -share/doc/${FULLPKGNAME}/math_ext.html
 -share/doc/${FULLPKGNAME}/mbox.html
 -share/doc/${FULLPKGNAME}/modules.html
 -share/doc/${FULLPKGNAME}/object.html
 -share/doc/${FULLPKGNAME}/package_ext.html
 -share/doc/${FULLPKGNAME}/parser.html
 -share/doc/${FULLPKGNAME}/posix_ext.html
 -share/doc/${FULLPKGNAME}/set.html
 -share/doc/${FULLPKGNAME}/std.html
 -share/doc/${FULLPKGNAME}/strict.html
 -share/doc/${FULLPKGNAME}/string_ext.html
 -share/doc/${FULLPKGNAME}/table_ext.html
 -share/doc/${FULLPKGNAME}/tree.html
 -share/doc/${FULLPKGNAME}/xml.html
 -share/lua/${MODLUA_VERSION}/base.lua
 -share/lua/${MODLUA_VERSION}/debug_ext.lua
 -share/lua/${MODLUA_VERSION}/debug_init.lua
 -share/lua/${MODLUA_VERSION}/getopt.lua
 -share/lua/${MODLUA_VERSION}/io_ext.lua
 -share/lua/${MODLUA_VERSION}/lcs.lua
 -share/lua/${MODLUA_VERSION}/list.lua
 -share/lua/${MODLUA_VERSION}/math_ext.lua
 -share/lua/${MODLUA_VERSION}/mbox.lua
 -share/lua/${MODLUA_VERSION}/modules.lua
 -share/lua/${MODLUA_VERSION}/object.lua
 -share/lua/${MODLUA_VERSION}/package_ext.lua
 -share/lua/${MODLUA_VERSION}/parser.lua
 -share/lua/${MODLUA_VERSION}/posix_ext.lua
 -share/lua/${MODLUA_VERSION}/set.lua
 +share/doc/${FULLPKGNAME}/classes/
 +share/doc

Re: UPDATE: devel/luastdlib

2015-03-20 Thread Florian Stinglmayr
Hi list,

an updated patch that allows upgrades from luastdlib-22p1 to
luastdlib-44.1.1.

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/devel/luastdlib/Makefile,v
retrieving revision 1.12
diff -u -p -u -r1.12 Makefile
--- Makefile11 Mar 2013 10:50:11 -  1.12
+++ Makefile20 Mar 2015 12:52:13 -
@@ -2,27 +2,30 @@
 
 PKG_ARCH =  *
 
-COMMENT=   lua library of common programming tasks
-DISTNAME=  stdlib-20
-PKGNAME=   lua${DISTNAME}
-REVISION=  1
-CATEGORIES=devel
-
-MASTER_SITES=  http://luaforge.net/frs/download.php/4805/
-HOMEPAGE=  http://luaforge.net/projects/stdlib/
-EXTRACT_SUFX=  .zip
+COMMENT =  lua library of common programming tasks
+V =41.1.1
+
+GH_ACCOUNT =   lua-stdlib
+GH_PROJECT =   lua-stdlib
+GH_TAGNAME =   release-v${V}
+GH_COMMIT =3544b627852125a7bd96a21b7b1a3a647372bdaa
+
+DISTNAME = ${GH_PROJECT:S/-//}-${V}
+
+CATEGORIES =   devel
+
+HOMEPAGE = http://lua-stdlib.github.io/lua-stdlib
+
+MAINTAINER =   Florian Stinglmayr flor...@n0la.org
 
 # MIT
-PERMIT_PACKAGE_CDROM=  Yes
+PERMIT_PACKAGE_CDROM = Yes
+
+MODULES =  lang/lua
+NO_TEST =  Yes
 
-MODULES=   lang/lua
-NO_BUILD=  Yes
-NO_TEST=   Yes
-WRKDIST=   ${WRKDIR}/stdlib
-
-do-install:
-   ${INSTALL_DATA_DIR} ${MODLUA_DATADIR} ${MODLUA_DOCDIR}
-   ${INSTALL_DATA} ${WRKSRC}/modules/*.lua ${MODLUA_DATADIR}
-   ${INSTALL_DATA} ${WRKSRC}/modules/*.html ${MODLUA_DOCDIR}
+CONFIGURE_ENV =LUA=lua${MODLUA_VERSION:S/.//}
+CONFIGURE_ARGS =   --docdir=${PREFIX}/share/doc/${FULLPKGNAME}
+CONFIGURE_STYLE =  gnu
 
 .include bsd.port.mk
Index: distinfo
===
RCS file: /cvs/ports/devel/luastdlib/distinfo,v
retrieving revision 1.4
diff -u -p -u -r1.4 distinfo
--- distinfo18 Jan 2015 03:13:18 -  1.4
+++ distinfo20 Mar 2015 12:52:13 -
@@ -1,2 +1,2 @@
-SHA256 (stdlib-20.zip) = DPa43S8P60DviCsQQt5anW2xPQpRaaJMqHq9uWbg+38=
-SIZE (stdlib-20.zip) = 48827
+SHA256 (luastdlib-41.1.1.tar.gz) = sVieTBsrD1THpG8pisA5XPhw6z9iccRVIk1RG936Cfo=
+SIZE (luastdlib-41.1.1.tar.gz) = 391244
Index: patches/patch-modules_getopt_lua
===
RCS file: patches/patch-modules_getopt_lua
diff -N patches/patch-modules_getopt_lua
--- patches/patch-modules_getopt_lua9 Sep 2009 18:31:33 -   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@
-$OpenBSD: patch-modules_getopt_lua,v 1.1 2009/09/09 18:31:33 jolan Exp $
 modules/getopt.lua.origWed Feb 18 17:28:54 2009
-+++ modules/getopt.lua Wed Sep  9 13:28:20 2009
-@@ -88,6 +86,7 @@ function getOpt (argIn, options)
-   parseOpt (opt, arg)
- end
-   end
-+  argOut.n = #argOut
-   return argOut, optOut, errors
- end
- 
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/luastdlib/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -u -r1.5 PLIST
--- pkg/PLIST   15 May 2012 15:16:29 -  1.5
+++ pkg/PLIST   20 Mar 2015 12:52:13 -
@@ -1,44 +1,44 @@
 @comment $OpenBSD: PLIST,v 1.5 2012/05/15 15:16:29 jasper Exp $
 share/doc/${FULLPKGNAME}/
-share/doc/${FULLPKGNAME}/base.html
-share/doc/${FULLPKGNAME}/debug_ext.html
-share/doc/${FULLPKGNAME}/debug_init.html
-share/doc/${FULLPKGNAME}/getopt.html
-share/doc/${FULLPKGNAME}/io_ext.html
-share/doc/${FULLPKGNAME}/lcs.html
-share/doc/${FULLPKGNAME}/list.html
-share/doc/${FULLPKGNAME}/math_ext.html
-share/doc/${FULLPKGNAME}/mbox.html
-share/doc/${FULLPKGNAME}/modules.html
-share/doc/${FULLPKGNAME}/object.html
-share/doc/${FULLPKGNAME}/package_ext.html
-share/doc/${FULLPKGNAME}/parser.html
-share/doc/${FULLPKGNAME}/posix_ext.html
-share/doc/${FULLPKGNAME}/set.html
-share/doc/${FULLPKGNAME}/std.html
-share/doc/${FULLPKGNAME}/strict.html
-share/doc/${FULLPKGNAME}/string_ext.html
-share/doc/${FULLPKGNAME}/table_ext.html
-share/doc/${FULLPKGNAME}/tree.html
-share/doc/${FULLPKGNAME}/xml.html
-share/lua/${MODLUA_VERSION}/base.lua
-share/lua/${MODLUA_VERSION}/debug_ext.lua
-share/lua/${MODLUA_VERSION}/debug_init.lua
-share/lua/${MODLUA_VERSION}/getopt.lua
-share/lua/${MODLUA_VERSION}/io_ext.lua
-share/lua/${MODLUA_VERSION}/lcs.lua
-share/lua/${MODLUA_VERSION}/list.lua
-share/lua/${MODLUA_VERSION}/math_ext.lua
-share/lua/${MODLUA_VERSION}/mbox.lua
-share/lua/${MODLUA_VERSION}/modules.lua
-share/lua/${MODLUA_VERSION}/object.lua
-share/lua/${MODLUA_VERSION}/package_ext.lua
-share/lua/${MODLUA_VERSION}/parser.lua
-share/lua/${MODLUA_VERSION}/posix_ext.lua
-share/lua/${MODLUA_VERSION}/set.lua
+share/doc/${FULLPKGNAME}/classes/
+share/doc/${FULLPKGNAME}/classes/std.container.html
+share/doc/${FULLPKGNAME}/classes/std.list.html
+share/doc/${FULLPKGNAME}/classes/std.object.html
+share/doc/${FULLPKGNAME}/classes/std.optparse.html
+share/doc/${FULLPKGNAME}/classes/std.set.html

Re: UPDATE: devel/luastdlib

2015-03-17 Thread Florian Stinglmayr
On Tue, Feb 10, 2015 at 08:07:17PM +0100, Florian Stinglmayr wrote:
 Hi list,

 knee deep in a Lua project so there might be more updates for Lua
 related ports on their way. This one updates luastdlib from 20.0
 to 44.1.1:

  * lua53 support.
  * Development has moved to github, and it is actively developed
there.
  * configure script for building and installing.

Ping

  * API has changed considerably, so net/yt is broken :-(


net/yt appears broken as it is: It no longer downloads any youtube
links. Does anybody use this and have it found working?

Regards,
Florian



Re: UPDATE: devel/luafs (needs review)

2015-02-19 Thread Florian Stinglmayr
On Wed, Feb 11, 2015 at 05:47:02PM +0100, Florian Stinglmayr wrote:
 On Tue, Feb 10, 2015 at 08:34:34PM +, Stuart Henderson wrote:
  On 2015/02/10 21:20, Florian Stinglmayr wrote:
   I am not as nit-picky about variable ordering as many of you here on
   the list.
 
  This is because we have thousands of ports to deal with, and it's much
  easier when things are in place where we expect to find them :)
 

 Right. There's an ordered diff down below.


Ping.

Or should I wait for this minor update after the lock?



Re: UPDATE: devel/luafs (needs review)

2015-02-11 Thread Florian Stinglmayr
On Tue, Feb 10, 2015 at 08:34:34PM +, Stuart Henderson wrote:
 On 2015/02/10 21:20, Florian Stinglmayr wrote:
  I am not as nit-picky about variable ordering as many of you here on
  the list.

 This is because we have thousands of ports to deal with, and it's much
 easier when things are in place where we expect to find them :)


Right. There's an ordered diff down below.

   Also, and I may well demonstrate my lack of knowledge of luafs here,
   going off your email is this something that should have FLAVORS added to
   it? You say in your email that it adds support for lua53 yet it is built
   with lua51. Could the version I built with lua51 work with lua53 things?
   Do we even care about such things? I assume the answer to the latter
   question is yes since you brought it up.

 that would be done in devel/Makefile by adding flavour/s to the build.

  I assumed that such modules are built for different lua versions
  by overriding MODLUA_VERSION in the environment. Thus you end up with:

 nope, that's the system default version. to build a standard lua port
 against a non-default lua version, you set FLAVOR. for example:

 $ cd devel/luastdlib
 $ make show=PKGNAMES
 luastdlib-20p1
 $ FLAVOR=lua52 make show=PKGNAMES
 lua52stdlib-20p1
 $ FLAVOR=lua53 make show=PKGNAMES
 lua53stdlib-20p1


Interesting, thanks for clearing that up.

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/devel/luafs/Makefile,v
retrieving revision 1.19
diff -u -p -u -r1.19 Makefile
--- Makefile7 Aug 2013 21:57:47 -   1.19
+++ Makefile11 Feb 2015 16:41:47 -
@@ -1,22 +1,32 @@
 # $OpenBSD: Makefile,v 1.19 2013/08/07 21:57:47 naddy Exp $
-SHARED_ONLY=   Yes
+SHARED_ONLY =  Yes
 
-COMMENT=   file system library for the lua language
-V= 1.6.2
-DISTNAME=  luafilesystem-${V}
-PKGNAME=   luafs-${V}
-CATEGORIES=devel
-MASTER_SITES=  https://github.com/downloads/keplerproject/luafilesystem/
+COMMENT =  file system library for the lua language
+V =1_6_3
 
-HOMEPAGE=  http://www.keplerproject.org/luafilesystem/
+DISTNAME = ${GH_PROJECT}-v_${V}
+PKGNAME =  luafs-${V:S/_/./g}
+WRKDIST =  ${WRKDIR}/${DISTNAME}
+
+CATEGORIES =   devel
+
+HOMEPAGE = http://www.keplerproject.org/luafilesystem/
+
+MAINTAINER =   Florian Stinglmayr flor...@n0la.org
 
 # MIT
-PERMIT_PACKAGE_CDROM=  Yes
+PERMIT_PACKAGE_CDROM = Yes
+
+GH_ACCOUNT =   keplerproject
+GH_PROJECT =   luafilesystem
+GH_TAGNAME =   v_${V}
+GH_COMMIT =8014725009e195ffb502bcd65ca4e93b60a1b21c
+
+MODULES =  lang/lua
 
-MODULES=   lang/lua
-ALL_TARGET=lib
+MAKE_ENV +=LUA_LIBDIR=${MODLUA_LIBDIR} LUA_INC=${MODLUA_INCL_DIR}
 
-MAKE_ENV+= LUA_LIBDIR=${MODLUA_LIBDIR} LUA_INC=${MODLUA_INCL_DIR}
+ALL_TARGET =   lib
 
 do-install:
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR} ${MODLUA_DOCDIR} 
${MODLUA_EXAMPLEDIR}
Index: distinfo
===
RCS file: /cvs/ports/devel/luafs/distinfo,v
retrieving revision 1.8
diff -u -p -u -r1.8 distinfo
--- distinfo7 Jan 2013 22:13:40 -   1.8
+++ distinfo11 Feb 2015 16:41:47 -
@@ -1,2 +1,2 @@
-SHA256 (luafilesystem-1.6.2.tar.gz) = 
StFt+ZWDFGYqRZ/shI0jPVkxPvSZKAiikAU8FhRTIBg=
-SIZE (luafilesystem-1.6.2.tar.gz) = 27886
+SHA256 (luafilesystem-v_1_6_3.tar.gz) = 
VSXSuOx3dIZWKaainC+Uyw9+Z4eYe/VM034BG/tkIGg=
+SIZE (luafilesystem-v_1_6_3.tar.gz) = 30379
Index: patches/patch-Makefile
===
RCS file: /cvs/ports/devel/luafs/patches/patch-Makefile,v
retrieving revision 1.7
diff -u -p -u -r1.7 patch-Makefile
--- patches/patch-Makefile  5 May 2011 23:16:19 -   1.7
+++ patches/patch-Makefile  11 Feb 2015 16:41:47 -
@@ -1,6 +1,6 @@
 $OpenBSD: patch-Makefile,v 1.7 2011/05/05 23:16:19 gsoares Exp $
 Makefile.orig  Tue Oct 20 17:54:35 2009
-+++ Makefile   Thu May  5 16:51:24 2011
+--- Makefile.orig  Thu Jan 15 19:58:20 2015
 Makefile   Tue Feb 10 21:14:38 2015
 @@ -12,7 +12,10 @@ OBJS= src/$T.o
  lib: src/lfs.so
  
@@ -11,5 +11,5 @@ $OpenBSD: patch-Makefile,v 1.7 2011/05/0
 +$(OBJS): $(SRCS)
 +  $(CC) $(CFLAGS) $(INCS) -c src/lfs.c
  
- install:
-   mkdir -p $(LUA_LIBDIR)
+ test: lib
+   LUA_CPATH=./src/?.so lua tests/test.lua
Index: patches/patch-config
===
RCS file: /cvs/ports/devel/luafs/patches/patch-config,v
retrieving revision 1.9
diff -u -p -u -r1.9 patch-config
--- patches/patch-config7 Jan 2013 22:13:40 -   1.9
+++ patches/patch-config11 Feb 2015 16:41:47 -
@@ -1,7 +1,9 @@
 $OpenBSD: patch-config,v 1.9 2013/01/07 22:13:40 dcoppa Exp $
 config.origTue Oct 20 22:54:35 2009
-+++ config Sun Jul  8 19:36:28 2012
-@@ -3,9 +3,9 @@
+--- config.origThu Jan 15 19:58:20 2015
 config Tue Feb 10 21:14:38

UPDATE: devel/luastdlib

2015-02-10 Thread Florian Stinglmayr
Hi list,

knee deep in a Lua project so there might be more updates for Lua
related ports on their way. This one updates luastdlib from 20.0
to 44.1.1:

 * lua53 support.
 * Development has moved to github, and it is actively developed
   there.
 * configure script for building and installing.
 * API has changed considerably, so net/yt is broken :-(

I tested it with all Lua versions and it seems to work fine with
all of them. Also I'd take maintainer if no one minds.

Index: Makefile
===
RCS file: /cvs/ports/devel/luastdlib/Makefile,v
retrieving revision 1.12
diff -u -p -u -r1.12 Makefile
--- Makefile11 Mar 2013 10:50:11 -  1.12
+++ Makefile10 Feb 2015 19:03:38 -
@@ -2,27 +2,30 @@
 
 PKG_ARCH =  *
 
-COMMENT=   lua library of common programming tasks
-DISTNAME=  stdlib-20
-PKGNAME=   lua${DISTNAME}
-REVISION=  1
-CATEGORIES=devel
-
-MASTER_SITES=  http://luaforge.net/frs/download.php/4805/
-HOMEPAGE=  http://luaforge.net/projects/stdlib/
-EXTRACT_SUFX=  .zip
+COMMENT =  lua library of common programming tasks
+V =41.1.1
+
+GH_ACCOUNT =   lua-stdlib
+GH_PROJECT =   lua-stdlib
+GH_TAGNAME =   release-v${V}
+GH_COMMIT =3544b627852125a7bd96a21b7b1a3a647372bdaa
+
+DISTNAME = ${GH_PROJECT}-${V}
+
+CATEGORIES =   devel
+
+HOMEPAGE = http://lua-stdlib.github.io/lua-stdlib
+
+MAINTAINER =   Florian Stinglmayr flor...@n0la.org
 
 # MIT
-PERMIT_PACKAGE_CDROM=  Yes
+PERMIT_PACKAGE_CDROM = Yes
+
+MODULES =  lang/lua
+NO_TEST =  Yes
 
-MODULES=   lang/lua
-NO_BUILD=  Yes
-NO_TEST=   Yes
-WRKDIST=   ${WRKDIR}/stdlib
-
-do-install:
-   ${INSTALL_DATA_DIR} ${MODLUA_DATADIR} ${MODLUA_DOCDIR}
-   ${INSTALL_DATA} ${WRKSRC}/modules/*.lua ${MODLUA_DATADIR}
-   ${INSTALL_DATA} ${WRKSRC}/modules/*.html ${MODLUA_DOCDIR}
+CONFIGURE_ENV =LUA=lua${MODLUA_VERSION:S/.//}
+CONFIGURE_ARGS =   --docdir=${PREFIX}/share/doc/${FULLPKGNAME}
+CONFIGURE_STYLE =  gnu
 
 .include bsd.port.mk
Index: distinfo
===
RCS file: /cvs/ports/devel/luastdlib/distinfo,v
retrieving revision 1.4
diff -u -p -u -r1.4 distinfo
--- distinfo18 Jan 2015 03:13:18 -  1.4
+++ distinfo10 Feb 2015 19:03:38 -
@@ -1,2 +1,2 @@
-SHA256 (stdlib-20.zip) = DPa43S8P60DviCsQQt5anW2xPQpRaaJMqHq9uWbg+38=
-SIZE (stdlib-20.zip) = 48827
+SHA256 (lua-stdlib-41.1.1.tar.gz) = 
sVieTBsrD1THpG8pisA5XPhw6z9iccRVIk1RG936Cfo=
+SIZE (lua-stdlib-41.1.1.tar.gz) = 391244
Index: patches/patch-modules_getopt_lua
===
RCS file: patches/patch-modules_getopt_lua
diff -N patches/patch-modules_getopt_lua
--- patches/patch-modules_getopt_lua9 Sep 2009 18:31:33 -   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@
-$OpenBSD: patch-modules_getopt_lua,v 1.1 2009/09/09 18:31:33 jolan Exp $
 modules/getopt.lua.origWed Feb 18 17:28:54 2009
-+++ modules/getopt.lua Wed Sep  9 13:28:20 2009
-@@ -88,6 +86,7 @@ function getOpt (argIn, options)
-   parseOpt (opt, arg)
- end
-   end
-+  argOut.n = #argOut
-   return argOut, optOut, errors
- end
- 
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/luastdlib/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -u -r1.5 PLIST
--- pkg/PLIST   15 May 2012 15:16:29 -  1.5
+++ pkg/PLIST   10 Feb 2015 19:03:38 -
@@ -1,44 +1,44 @@
 @comment $OpenBSD: PLIST,v 1.5 2012/05/15 15:16:29 jasper Exp $
 share/doc/${FULLPKGNAME}/
-share/doc/${FULLPKGNAME}/base.html
-share/doc/${FULLPKGNAME}/debug_ext.html
-share/doc/${FULLPKGNAME}/debug_init.html
-share/doc/${FULLPKGNAME}/getopt.html
-share/doc/${FULLPKGNAME}/io_ext.html
-share/doc/${FULLPKGNAME}/lcs.html
-share/doc/${FULLPKGNAME}/list.html
-share/doc/${FULLPKGNAME}/math_ext.html
-share/doc/${FULLPKGNAME}/mbox.html
-share/doc/${FULLPKGNAME}/modules.html
-share/doc/${FULLPKGNAME}/object.html
-share/doc/${FULLPKGNAME}/package_ext.html
-share/doc/${FULLPKGNAME}/parser.html
-share/doc/${FULLPKGNAME}/posix_ext.html
-share/doc/${FULLPKGNAME}/set.html
-share/doc/${FULLPKGNAME}/std.html
-share/doc/${FULLPKGNAME}/strict.html
-share/doc/${FULLPKGNAME}/string_ext.html
-share/doc/${FULLPKGNAME}/table_ext.html
-share/doc/${FULLPKGNAME}/tree.html
-share/doc/${FULLPKGNAME}/xml.html
-share/lua/${MODLUA_VERSION}/base.lua
-share/lua/${MODLUA_VERSION}/debug_ext.lua
-share/lua/${MODLUA_VERSION}/debug_init.lua
-share/lua/${MODLUA_VERSION}/getopt.lua
-share/lua/${MODLUA_VERSION}/io_ext.lua
-share/lua/${MODLUA_VERSION}/lcs.lua
-share/lua/${MODLUA_VERSION}/list.lua
-share/lua/${MODLUA_VERSION}/math_ext.lua
-share/lua/${MODLUA_VERSION}/mbox.lua
-share/lua/${MODLUA_VERSION}/modules.lua
-share/lua/${MODLUA_VERSION}/object.lua
-share/lua/${MODLUA_VERSION}/package_ext.lua
-share/lua/${MODLUA_VERSION}/parser.lua

UPDATE: devel/luafs (needs review)

2015-02-10 Thread Florian Stinglmayr
Hi list,

down below is a patch to update devel/luafs to the latest version 1.6.3
that also adds support for lua53. There is some variable magic in there
that makes the update kind of ugly though. Can someone more experienced
please take a look at this?

Thanks,
Florian

P.S.: Consistent naming of tags is not luafilesystem's strong suite.

Index: Makefile
===
RCS file: /cvs/ports/devel/luafs/Makefile,v
retrieving revision 1.19
diff -u -p -u -r1.19 Makefile
--- Makefile7 Aug 2013 21:57:47 -   1.19
+++ Makefile10 Feb 2015 18:02:45 -
@@ -2,11 +2,18 @@
 SHARED_ONLY=   Yes
 
 COMMENT=   file system library for the lua language
-V= 1.6.2
-DISTNAME=  luafilesystem-${V}
-PKGNAME=   luafs-${V}
+V= 1_6_3
+
+GH_ACCOUNT=keplerproject
+GH_PROJECT=luafilesystem
+GH_TAGNAME=v_${V}
+GH_COMMIT= 8014725009e195ffb502bcd65ca4e93b60a1b21c
+
+DISTNAME=  ${GH_PROJECT}-v_${V}
+WRKDIST=   ${WRKDIR}/${DISTNAME}
+PKGNAME=   luafs-${V:S/_/./g}
+
 CATEGORIES=devel
-MASTER_SITES=  https://github.com/downloads/keplerproject/luafilesystem/
 
 HOMEPAGE=  http://www.keplerproject.org/luafilesystem/
 
Index: distinfo
===
RCS file: /cvs/ports/devel/luafs/distinfo,v
retrieving revision 1.8
diff -u -p -u -r1.8 distinfo
--- distinfo7 Jan 2013 22:13:40 -   1.8
+++ distinfo10 Feb 2015 18:02:45 -
@@ -1,2 +1,2 @@
-SHA256 (luafilesystem-1.6.2.tar.gz) = 
StFt+ZWDFGYqRZ/shI0jPVkxPvSZKAiikAU8FhRTIBg=
-SIZE (luafilesystem-1.6.2.tar.gz) = 27886
+SHA256 (luafilesystem-v_1_6_3.tar.gz) = 
VSXSuOx3dIZWKaainC+Uyw9+Z4eYe/VM034BG/tkIGg=
+SIZE (luafilesystem-v_1_6_3.tar.gz) = 30379



Re: UPDATE: devel/luafs (needs review)

2015-02-10 Thread Florian Stinglmayr
On Tue, Feb 10, 2015 at 03:27:46PM -0500, Brian Callahan wrote:
 Right. Lua is the one that does it automagically.


Automagically describes it perfectly. But sadly necessary as the
Lua API does change often between versions.

 You still didn't regen your patches...


Oops. Now with 100% more regenerated patches:

Index: Makefile
===
RCS file: /cvs/ports/devel/luafs/Makefile,v
retrieving revision 1.19
diff -u -p -u -r1.19 Makefile
--- Makefile7 Aug 2013 21:57:47 -   1.19
+++ Makefile10 Feb 2015 20:33:03 -
@@ -1,22 +1,31 @@
 # $OpenBSD: Makefile,v 1.19 2013/08/07 21:57:47 naddy Exp $
-SHARED_ONLY=   Yes
+SHARED_ONLY =  Yes
 
-COMMENT=   file system library for the lua language
-V= 1.6.2
-DISTNAME=  luafilesystem-${V}
-PKGNAME=   luafs-${V}
-CATEGORIES=devel
-MASTER_SITES=  https://github.com/downloads/keplerproject/luafilesystem/
+COMMENT =  file system library for the lua language
+V =1_6_3
 
-HOMEPAGE=  http://www.keplerproject.org/luafilesystem/
+GH_ACCOUNT =   keplerproject
+GH_PROJECT =   luafilesystem
+GH_TAGNAME =   v_${V}
+GH_COMMIT =8014725009e195ffb502bcd65ca4e93b60a1b21c
+
+DISTNAME = ${GH_PROJECT}-v_${V}
+WRKDIST =  ${WRKDIR}/${DISTNAME}
+PKGNAME =  luafs-${V:S/_/./g}
+
+CATEGORIES =   devel
+
+HOMEPAGE = http://www.keplerproject.org/luafilesystem/
+
+MAINTAINER =   Florian Stinglmayr flor...@n0la.org
 
 # MIT
-PERMIT_PACKAGE_CDROM=  Yes
+PERMIT_PACKAGE_CDROM = Yes
 
-MODULES=   lang/lua
-ALL_TARGET=lib
+MODULES =  lang/lua
+ALL_TARGET =   lib
 
-MAKE_ENV+= LUA_LIBDIR=${MODLUA_LIBDIR} LUA_INC=${MODLUA_INCL_DIR}
+MAKE_ENV +=LUA_LIBDIR=${MODLUA_LIBDIR} LUA_INC=${MODLUA_INCL_DIR}
 
 do-install:
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR} ${MODLUA_DOCDIR} 
${MODLUA_EXAMPLEDIR}
Index: distinfo
===
RCS file: /cvs/ports/devel/luafs/distinfo,v
retrieving revision 1.8
diff -u -p -u -r1.8 distinfo
--- distinfo7 Jan 2013 22:13:40 -   1.8
+++ distinfo10 Feb 2015 20:33:03 -
@@ -1,2 +1,2 @@
-SHA256 (luafilesystem-1.6.2.tar.gz) = 
StFt+ZWDFGYqRZ/shI0jPVkxPvSZKAiikAU8FhRTIBg=
-SIZE (luafilesystem-1.6.2.tar.gz) = 27886
+SHA256 (luafilesystem-v_1_6_3.tar.gz) = 
VSXSuOx3dIZWKaainC+Uyw9+Z4eYe/VM034BG/tkIGg=
+SIZE (luafilesystem-v_1_6_3.tar.gz) = 30379
Index: patches/patch-Makefile
===
RCS file: /cvs/ports/devel/luafs/patches/patch-Makefile,v
retrieving revision 1.7
diff -u -p -u -r1.7 patch-Makefile
--- patches/patch-Makefile  5 May 2011 23:16:19 -   1.7
+++ patches/patch-Makefile  10 Feb 2015 20:33:03 -
@@ -1,6 +1,6 @@
 $OpenBSD: patch-Makefile,v 1.7 2011/05/05 23:16:19 gsoares Exp $
 Makefile.orig  Tue Oct 20 17:54:35 2009
-+++ Makefile   Thu May  5 16:51:24 2011
+--- Makefile.orig  Thu Jan 15 19:58:20 2015
 Makefile   Tue Feb 10 21:14:38 2015
 @@ -12,7 +12,10 @@ OBJS= src/$T.o
  lib: src/lfs.so
  
@@ -11,5 +11,5 @@ $OpenBSD: patch-Makefile,v 1.7 2011/05/0
 +$(OBJS): $(SRCS)
 +  $(CC) $(CFLAGS) $(INCS) -c src/lfs.c
  
- install:
-   mkdir -p $(LUA_LIBDIR)
+ test: lib
+   LUA_CPATH=./src/?.so lua tests/test.lua
Index: patches/patch-config
===
RCS file: /cvs/ports/devel/luafs/patches/patch-config,v
retrieving revision 1.9
diff -u -p -u -r1.9 patch-config
--- patches/patch-config7 Jan 2013 22:13:40 -   1.9
+++ patches/patch-config10 Feb 2015 20:33:03 -
@@ -1,7 +1,9 @@
 $OpenBSD: patch-config,v 1.9 2013/01/07 22:13:40 dcoppa Exp $
 config.origTue Oct 20 22:54:35 2009
-+++ config Sun Jul  8 19:36:28 2012
-@@ -3,9 +3,9 @@
+--- config.origThu Jan 15 19:58:20 2015
 config Tue Feb 10 21:14:38 2015
+@@ -1,24 +1,24 @@
+ # Installation directories
+ 
  # Default installation prefix
 -PREFIX=/usr/local
 +#PREFIX=/usr/local
@@ -14,7 +16,9 @@ $OpenBSD: patch-config,v 1.9 2013/01/07 
 -LUA_INC= $(PREFIX)/include
 +LUA_INC?= $(LOCALBASE)/include
  
-@@ -15,9 +15,9 @@
+ # OS dependent
+ LIB_OPTION= -shared #for Linux
+ #LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
  
 -LIBNAME= $T.so.$V
 +LIBNAME= $T.so
@@ -28,3 +32,4 @@ $OpenBSD: patch-config,v 1.9 2013/01/07 
 +CFLAGS+= -fPIC $(INCS)
 +#CC= gcc
  
+ # $Id: config,v 1.21 2007/10/27 22:42:32 carregal Exp $



Re: UPDATE: devel/luafs (needs review)

2015-02-10 Thread Florian Stinglmayr
On Tue, Feb 10, 2015 at 02:42:31PM -0500, Brian Callahan wrote:
 Hi Florian --

 It mostly looks ok (might want to tighten up some white space and/or
 rearrange some variables but that's just nit-picking).
 I had to regen the patches (there was fuzz).


I am not as nit-picky about variable ordering as many of you here on
the list. But I like having the path related variables together, as I
am sure they will need a lot of altering if upstream keeps changing the
syntax of their tags and release names.

 Also, and I may well demonstrate my lack of knowledge of luafs here,
 going off your email is this something that should have FLAVORS added to
 it? You say in your email that it adds support for lua53 yet it is built
 with lua51. Could the version I built with lua51 work with lua53 things?
 Do we even care about such things? I assume the answer to the latter
 question is yes since you brought it up.


I assumed that such modules are built for different lua versions
by overriding MODLUA_VERSION in the environment. Thus you end up with:

 * lua53fs-1.6.3 = Lua 5.3
 * lua52fs-1.6.3 = Lua 5.2
 * luafs-1.6.3 = Lua 5.1

At least that is what I concluded after looking at the Lua ports module.

 Finally, do you want to take MAINTAINER of this? There is none
 currently listed.

Can do.

And thanks for taking a peek at it Brian. Much obliged.

Florian

Here is one with me as maintainer:

Index: Makefile
===
RCS file: /cvs/ports/devel/luafs/Makefile,v
retrieving revision 1.19
diff -u -p -u -r1.19 Makefile
--- Makefile7 Aug 2013 21:57:47 -   1.19
+++ Makefile10 Feb 2015 20:14:56 -
@@ -1,22 +1,31 @@
 # $OpenBSD: Makefile,v 1.19 2013/08/07 21:57:47 naddy Exp $
-SHARED_ONLY=   Yes
+SHARED_ONLY =  Yes

-COMMENT=   file system library for the lua language
-V= 1.6.2
-DISTNAME=  luafilesystem-${V}
-PKGNAME=   luafs-${V}
-CATEGORIES=devel
-MASTER_SITES=  https://github.com/downloads/keplerproject/luafilesystem/
+COMMENT =  file system library for the lua language
+V =1_6_3

-HOMEPAGE=  http://www.keplerproject.org/luafilesystem/
+GH_ACCOUNT =   keplerproject
+GH_PROJECT =   luafilesystem
+GH_TAGNAME =   v_${V}
+GH_COMMIT =8014725009e195ffb502bcd65ca4e93b60a1b21c
+
+DISTNAME = ${GH_PROJECT}-v_${V}
+WRKDIST =  ${WRKDIR}/${DISTNAME}
+PKGNAME =  luafs-${V:S/_/./g}
+
+CATEGORIES =   devel
+
+HOMEPAGE = http://www.keplerproject.org/luafilesystem/
+
+MAINTAINER =   Florian Stinglmayr flor...@n0la.org

 # MIT
-PERMIT_PACKAGE_CDROM=  Yes
+PERMIT_PACKAGE_CDROM = Yes

-MODULES=   lang/lua
-ALL_TARGET=lib
+MODULES =  lang/lua
+ALL_TARGET =   lib

-MAKE_ENV+= LUA_LIBDIR=${MODLUA_LIBDIR} LUA_INC=${MODLUA_INCL_DIR}
+MAKE_ENV +=LUA_LIBDIR=${MODLUA_LIBDIR} LUA_INC=${MODLUA_INCL_DIR}

 do-install:
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR} ${MODLUA_DOCDIR} 
${MODLUA_EXAMPLEDIR}
Index: distinfo
===
RCS file: /cvs/ports/devel/luafs/distinfo,v
retrieving revision 1.8
diff -u -p -u -r1.8 distinfo
--- distinfo7 Jan 2013 22:13:40 -   1.8
+++ distinfo10 Feb 2015 20:14:56 -
@@ -1,2 +1,2 @@
-SHA256 (luafilesystem-1.6.2.tar.gz) = 
StFt+ZWDFGYqRZ/shI0jPVkxPvSZKAiikAU8FhRTIBg=
-SIZE (luafilesystem-1.6.2.tar.gz) = 27886
+SHA256 (luafilesystem-v_1_6_3.tar.gz) = 
VSXSuOx3dIZWKaainC+Uyw9+Z4eYe/VM034BG/tkIGg=
+SIZE (luafilesystem-v_1_6_3.tar.gz) = 30379



UPDATE: the_silver_searcher

2015-02-09 Thread Florian Stinglmayr
Hi list,

a small and minor update for the_silver_searcher to the latest version
0.29.1. It adds mostly minor things like:

 * Support for --one-device
 * Vala language detection
 * Better error description when passing incorrect regular expression
   patterns.

Works well on amd64.

Have fun,
Florian

Index: Makefile
===
RCS file: /cvs/ports/textproc/the_silver_searcher/Makefile,v
retrieving revision 1.15
diff -u -p -u -r1.15 Makefile
--- Makefile26 Dec 2014 16:06:02 -  1.15
+++ Makefile9 Feb 2015 17:47:15 -
@@ -2,7 +2,7 @@

 COMMENT =  code searching tool, with a focus on speed (ag)

-DISTNAME = the_silver_searcher-0.28.0
+DISTNAME = the_silver_searcher-0.29.1
 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.14
diff -u -p -u -r1.14 distinfo
--- distinfo26 Dec 2014 16:06:02 -  1.14
+++ distinfo9 Feb 2015 17:47:15 -
@@ -1,2 +1,2 @@
-SHA256 (the_silver_searcher-0.28.0.tar.gz) = 
nF76rk7nv7Dkai+Q7ap8VQl5k4x+bQNaLk2Gn4iZCAc=
-SIZE (the_silver_searcher-0.28.0.tar.gz) = 172632
+SHA256 (the_silver_searcher-0.29.1.tar.gz) = 
11Y1ziQTCJ6BYSCsj9uzduNPI1UhJ2cLcgcSbWyc2Ao=
+SIZE (the_silver_searcher-0.29.1.tar.gz) = 174309



Re: UPDATE: irssi-otr

2015-01-11 Thread Florian Stinglmayr
On Wed, Jan 07, 2015 at 06:47:26PM +0100, Florian Stinglmayr wrote:
 Hi list,

 an update to irssi-otr happened:

 https://lists.cypherpunks.ca/pipermail/otr-dev/2015-January/002301.html

 This fixes a null pointer dereference when using irssi-xmpp. It also
 moves the file to being hosted by the developer. The hardcoded paths
 are sadly not (yet) fixed.

 Also interesting is the intend to include irssi-otr into irssi. Let's
 wait and see if and when that happens :-)

 ...


Ping.



Re: Zap CMAKE_SKIP_INSTALL_ALL_DEPENDENCY

2015-01-07 Thread Florian Stinglmayr
On Wed, Jan 07, 2015 at 04:41:16PM +0100, David Coppa wrote:
 On Wed, Jan 7, 2015 at 4:36 PM, Stuart Henderson st...@openbsd.org wrote:
 
  Hmm. Actually what is the benefit of using CMAKE_SKIP_INSTALL_ALL_DEPENDENCY
  anyway, even in the make(1) case?
 

 It was requested by Vadim some years ago:

 This will tell CMake to skip rescanning the whole directory in the
 fake stage. Our ports infrastructure already takes care that fake
 happens only after build, and this re-scanning is very annoying
 when you are debugging something in a somewhat fat package.
 And this change should speed up bulk builds too...


This could also be achieved by calling the target install/fast instead
of install in the fake stage. install/fast also causes cmake to skip
all dependency checks. On the other hand, a new if just for cmake is
probably not the cleanest solution either.

Regards,
Florian



UPDATE: irssi-otr

2015-01-07 Thread Florian Stinglmayr
Hi list,

an update to irssi-otr happened:

https://lists.cypherpunks.ca/pipermail/otr-dev/2015-January/002301.html

This fixes a null pointer dereference when using irssi-xmpp. It also
moves the file to being hosted by the developer. The hardcoded paths
are sadly not (yet) fixed.

Also interesting is the intend to include irssi-otr into irssi. Let's
wait and see if and when that happens :-)

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/net/irssi-otr/Makefile,v
retrieving revision 1.3
diff -u -p -u -r1.3 Makefile
--- Makefile10 Jul 2014 11:06:37 -  1.3
+++ Makefile7 Jan 2015 17:38:46 -
@@ -4,13 +4,8 @@ SHARED_ONLY =  Yes
 
 COMMENT =  OTR (off the record) encryption support for irssi
 
-V =1.0.0
-GH_ACCOUNT =   cryptodotis
-GH_PROJECT =   irssi-otr
-GH_TAGNAME =   v$V
-GH_COMMIT =d7a88b6697951727a2fa34b7d3d3543b0e5a2ecc
-REVISION = 0
-DISTNAME = ${GH_PROJECT}-$V
+V =1.0.1
+DISTNAME = irssi-otr-$V
 
 CATEGORIES =   net security
 
@@ -22,6 +17,9 @@ MAINTAINER =  Florian Stinglmayr florian
 PERMIT_PACKAGE_CDROM = Yes
 
 WANTLIB += c gcrypt gpg-error otr pthread
+
+MASTER_SITES = https://www.otr.im/dist/irssi-otr/
+EXTRACT_SUFX = .tar.bz2
 
 MODULES =  devel/gettext
 
Index: distinfo
===
RCS file: /cvs/ports/net/irssi-otr/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 distinfo
--- distinfo21 May 2014 15:40:54 -  1.1.1.1
+++ distinfo7 Jan 2015 17:38:46 -
@@ -1,2 +1,2 @@
-SHA256 (irssi-otr-1.0.0.tar.gz) = utCaKFPqb7Gnr0LI8Vho/TzkX5c76Qx4lE3fBPirUX4=
-SIZE (irssi-otr-1.0.0.tar.gz) = 39481
+SHA256 (irssi-otr-1.0.1.tar.bz2) = +9xG/3z0VFFbNnJjcnii7UYwvkGjlktV4ViuNsauT88=
+SIZE (irssi-otr-1.0.1.tar.bz2) = 295144
Index: patches/patch-README_md
===
RCS file: patches/patch-README_md
diff -N patches/patch-README_md
--- patches/patch-README_md 21 May 2014 15:48:13 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,13 +0,0 @@
-$OpenBSD: patch-README_md,v 1.1 2014/05/21 15:48:13 sthen Exp $
 README.md.orig Wed May 21 16:45:34 2014
-+++ README.md  Wed May 21 16:46:04 2014
-@@ -1,9 +1,3 @@
--## IMPORTANT ##
--Please use the git head master branch of libotr which contains a critical fix
--for irssi-otr to work. (Fix commit: d748757e581b74e7298df155ad49174cb914102b)
--
--http://sourceforge.net/p/otr/libotr/ci/master/tree/
--
- irssi-otr
- =
- 
Index: patches/patch-configure_ac
===
RCS file: /cvs/ports/net/irssi-otr/patches/patch-configure_ac,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 patch-configure_ac
--- patches/patch-configure_ac  21 May 2014 15:40:54 -  1.1.1.1
+++ patches/patch-configure_ac  7 Jan 2015 17:38:46 -
@@ -1,12 +1,12 @@
 $OpenBSD: patch-configure_ac,v 1.1.1.1 2014/05/21 15:40:54 sthen Exp $
 configure.ac.orig  Thu May  9 22:17:52 2013
-+++ configure.ac   Thu Jan 30 21:23:45 2014
-@@ -71,7 +71,7 @@ AC_SUBST(DEFAULT_INCLUDES)
+--- configure.ac.orig  Sat Jan  3 17:50:28 2015
 configure.ac   Wed Jan  7 18:25:30 2015
+@@ -77,7 +77,7 @@ AC_SUBST(DEFAULT_INCLUDES)
+ AC_ARG_WITH([irssi-module-dir],
+   AS_HELP_STRING([--with-irssi-module-dir=DIR], [Irssi module directory]),
+   [IRSSI_MODULE_DIR=$withval],
+-  [IRSSI_MODULE_DIR=/usr/lib/irssi/modules])
++  [IRSSI_MODULE_DIR=$prefix/lib/irssi/modules])
  
- # Hardcoded here since irssi only searches in $HOME/.irssi/modules or this 
path
- # which is unfortunate...
--IRSSI_MODULE_DIR=/usr/lib/irssi/modules
-+IRSSI_MODULE_DIR=$prefix/lib/irssi/modules
  AC_SUBST(IRSSI_MODULE_DIR)
  
- AC_CONFIG_FILES([



Re: the_silver_searcher (ag) update to 0.28

2014-12-27 Thread Florian Stinglmayr
On Fri, Dec 26, 2014 at 02:20:50AM -0500, Jean-Philippe Ouellet wrote:
 Sorry if this gets mangled. My normal mail machine is down.

 It appears that perhaps running auto* was forgotten before making
 this release because when I keep CONFIGURE_STYLE=gnu then it fails
 like so:

 ===  Building for the_silver_searcher-0.28.0
 CDPATH=${ZSH_VERSION+.}:  cd .  /bin/sh 
 /usr/ports/pobj/the_silver_searcher-0.28.0/the_silver_searcher-0.28.0/missing 
 autoconf
 Provide an AUTOCONF_VERSION environment variable, please
 WARNING: 'autoconf' is missing on your system.
  You should only need it if you modified 'configure.ac',
  or m4 files included by it.
  The 'autoconf' program is part of the GNU Autoconf package:
  http://www.gnu.org/software/autoconf/
  It also requires GNU m4 and Perl in order to run:
  http://www.gnu.org/software/m4/
  http://www.perl.org/
 *** Error 127 in 
 /usr/ports/pobj/the_silver_searcher-0.28.0/the_silver_searcher-0.28.0 
 (Makefile:364 './configure')
 *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2748 
 '/usr/ports/pobj/the_silver_searcher-0.28.0/.build_done')
 *** Error 1 in /usr/ports/textproc/the_silver_searcher 
 (/usr/ports/infrastructure/mk/bsd.port.mk:2473 'all')

 None of the previous releases have exhibited this behavior.
 Have I misinterpreted something?


It would not be first time that the upstream tar balls are borked
somehow. This is why I usually wait a little before sending in the
patch.

It seems to work now however, and what Brian has submitted should
build and run just fine.

Regards,
Florian



UPDATE: the_silver_searcher

2014-12-26 Thread Florian Stinglmayr
Hi,

just a small update for the_silver_searcher. Seems to work
fine on my end (TM).

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/textproc/the_silver_searcher/Makefile,v
retrieving revision 1.14
diff -u -p -u -r1.14 Makefile
--- Makefile6 Dec 2014 18:01:00 -   1.14
+++ Makefile26 Dec 2014 10:36:03 -
@@ -2,7 +2,7 @@
 
 COMMENT =  code searching tool, with a focus on speed (ag)
 
-DISTNAME = the_silver_searcher-0.27.0
+DISTNAME = the_silver_searcher-0.28.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.13
diff -u -p -u -r1.13 distinfo
--- distinfo6 Dec 2014 18:01:00 -   1.13
+++ distinfo26 Dec 2014 10:36:03 -
@@ -1,2 +1,2 @@
-SHA256 (the_silver_searcher-0.27.0.tar.gz) = 
MhcoWDheK4vqTJFXKjgVNo5YJTlYX9mOccVLQd4YoGo=
-SIZE (the_silver_searcher-0.27.0.tar.gz) = 171850
+SHA256 (the_silver_searcher-0.28.0.tar.gz) = 
nF76rk7nv7Dkai+Q7ap8VQl5k4x+bQNaLk2Gn4iZCAc=
+SIZE (the_silver_searcher-0.28.0.tar.gz) = 172632



UPDATE: the_silver_searcher

2014-10-27 Thread Florian Stinglmayr
Hi list,

attached is an update for the_silver_searcher to version 0.26.
It includes a bugfix regarding absolute paths, and also support
for markdown files in the file type parameter.

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/textproc/the_silver_searcher/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile13 Oct 2014 15:04:11 -  1.12
+++ Makefile27 Oct 2014 18:41:03 -
@@ -2,7 +2,7 @@
 
 COMMENT =  code searching tool, with a focus on speed (ag)
 
-DISTNAME = the_silver_searcher-0.25.0
+DISTNAME = the_silver_searcher-0.26.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.11
diff -u -r1.11 distinfo
--- distinfo13 Oct 2014 15:04:11 -  1.11
+++ distinfo27 Oct 2014 18:41:03 -
@@ -1,2 +1,2 @@
-SHA256 (the_silver_searcher-0.25.0.tar.gz) = 
5Q9K9sz93q3hMM6I4HuOUUXsXXECGVzXuw/4b53YG3Q=
-SIZE (the_silver_searcher-0.25.0.tar.gz) = 170912
+SHA256 (the_silver_searcher-0.26.0.tar.gz) = 
OBf8VExzUtiK0pz2sLJHvDIU+E32Ybg8FU+d6G6fOv8=
+SIZE (the_silver_searcher-0.26.0.tar.gz) = 170949



Re: UPDATE: the_silver_searcher

2014-10-27 Thread Florian Stinglmayr

On 27.10.2014 20:42, Stuart Henderson wrote:

On 2014/10/27 19:44, Florian Stinglmayr wrote:

Hi list,

attached is an update for the_silver_searcher to version 0.26.
It includes a bugfix regarding absolute paths, and also support
for markdown files in the file type parameter.

Regards,
Florian


First time I ran this to test, I hit this ...

Loaded symbols for /usr/libexec/ld.so
#0  0x014e31156454 in strlen (
 str=0x14d895449dd ÐÐÐ, 'ß' repeats 197 times...)
 at /usr/src/lib/libc/string/strlen.c:39
39  for (s = str; *s; ++s)
(gdb) bt
#0  0x014e31156454 in strlen (
 str=0x14d895449dd ÐÐÐ, 'ß' repeats 197 times...)
 at /usr/src/lib/libc/string/strlen.c:39
#1  0x014e31146738 in __vfprintf (fp=0x7f7c4080,
 fmt0=0x14b38e0b963 %s/%s, ap=Variable ap is not available.
) at /usr/src/lib/libc/stdio/vfprintf.c:880
#2  0x014e310e74ac in vasprintf (str=0x7f7c4238,
 fmt=0x14b38e0b963 %s/%s, ap=0x7f7c4140)
 at /usr/src/lib/libc/stdio/vasprintf.c:40
#3  0x014b38d0a3f6 in search_file_worker () from /usr/local/bin/ag
#4  0x014b38d046e2 in ?? () from /usr/local/bin/ag
#5  0x014b38d04b8d in filename_filter () from /usr/local/bin/ag
#6  0x014b38d081e5 in filename_filter () from /usr/local/bin/ag
#7  0x014b38d09223 in filename_filter () from /usr/local/bin/ag
#8  0x014b38d0b749 in search_file_worker () from /usr/local/bin/ag
#9  0x014b38d04371 in ?? () from /usr/local/bin/ag
#10 0x in ?? ()
(gdb) x/16x str
0x14d895449dd:  0xdfd0d0d0  0xdfdfdfdf  0xdfdfdfdf  0xdfdfdfdf
0x14d895449ed:  0xdfdfdfdf  0xdfdfdfdf  0xdfdfdfdf  0xdfdfdfdf
0x14d895449fd:  0xdfdfdfdf  0xdfdfdfdf  0xdfdfdfdf  0xdfdfdfdf
0x14d89544a0d:  0xdfdfdfdf  0xdfdfdfdf  0xdfdfdfdf  0xdfdfdfdf

0xd0, 0xdf - malloc junk. I think somebody else mentioned this before
too ... checks backlog ah yes it was doug@.

I didn't hit it on a retry. Looks like a race...



Thanks for the report, I will try to debug it tomorrow to see if I can 
find and fix it.


Regards,
Florian



UPDATE: the_silver_searcher

2014-09-10 Thread Florian Stinglmayr
Hi list,

down below is an update for the silver searcher to 0.24.1. The biggest
change is that smart casing is now the default. It's nice, but it
differs from the behaviour of 'ack'.

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/textproc/the_silver_searcher/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile6 Jul 2014 21:00:41 -   1.10
+++ Makefile10 Sep 2014 18:20:26 -
@@ -2,7 +2,7 @@
 
 COMMENT =  code searching tool, with a focus on speed (ag)
 
-DISTNAME = the_silver_searcher-0.23.0
+DISTNAME = the_silver_searcher-0.24.1
 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.9
diff -u -r1.9 distinfo
--- distinfo6 Jul 2014 21:00:41 -   1.9
+++ distinfo10 Sep 2014 18:20:26 -
@@ -1,2 +1,2 @@
-SHA256 (the_silver_searcher-0.23.0.tar.gz) = 
zQ8J6tVNxabsmBU5Bqdpt4B/2Hp4aFzCRXFYU+wSr6g=
-SIZE (the_silver_searcher-0.23.0.tar.gz) = 168852
+SHA256 (the_silver_searcher-0.24.1.tar.gz) = 
tbtNLWi3oRR4TXgVQ+ZR9HGGOpVwD5mPFW3FEoraLCA=
+SIZE (the_silver_searcher-0.24.1.tar.gz) = 169323



UPDATE: hexchat

2014-09-10 Thread Florian Stinglmayr
Hi list,

down below is an update for Hexchat. It fixes a few crashes, updates the
network list and translations.

The update itself is rather minor, and it has worked fine on my box (TM)
for some days now.

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/net/hexchat/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile15 Jun 2014 17:56:48 -  1.3
+++ Makefile10 Sep 2014 18:48:53 -
@@ -3,7 +3,7 @@
 SHARED_ONLY =  Yes
 
 COMMENT =  GTK+2 IRC Client
-DISTNAME = hexchat-2.10.0
+DISTNAME = hexchat-2.10.1
 EXTRACT_SUFX = .tar.xz
 CATEGORIES =   net x11
 REVISION = 0
Index: distinfo
===
RCS file: /cvs/ports/net/hexchat/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- distinfo11 Jun 2014 22:45:36 -  1.1.1.1
+++ distinfo10 Sep 2014 18:48:53 -
@@ -1,2 +1,2 @@
-SHA256 (hexchat-2.10.0.tar.xz) = oCR/HhI3kVTQcZ2caGHcIoF7WIViZTu502JoY9jsqRY=
-SIZE (hexchat-2.10.0.tar.xz) = 1607360
+SHA256 (hexchat-2.10.1.tar.xz) = /8zuajRw0vlTnnW9DdLj81xlc3AEywLm0hBsHV3N6ak=
+SIZE (hexchat-2.10.1.tar.xz) = 1618372



UPDATE: textproc/the_silver_searcher

2014-07-06 Thread Florian Stinglmayr
Hi list,

down below is another short update for the_silver_searcher to the latest
version: 0.23.

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/textproc/the_silver_searcher/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile30 May 2014 13:08:47 -  1.9
+++ Makefile6 Jul 2014 19:08:19 -
@@ -2,7 +2,7 @@
 
 COMMENT =  code searching tool, with a focus on speed (ag)
 
-DISTNAME = the_silver_searcher-0.22.0
+DISTNAME = the_silver_searcher-0.23.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.8
diff -u -r1.8 distinfo
--- distinfo30 May 2014 13:08:47 -  1.8
+++ distinfo6 Jul 2014 19:08:19 -
@@ -1,2 +1,2 @@
-SHA256 (the_silver_searcher-0.22.0.tar.gz) = 
92r+wHixsC/8xYoaejtHiFHRwbb7z0wz1upctB4a6Vk=
-SIZE (the_silver_searcher-0.22.0.tar.gz) = 134482
+SHA256 (the_silver_searcher-0.23.0.tar.gz) = 
zQ8J6tVNxabsmBU5Bqdpt4B/2Hp4aFzCRXFYU+wSr6g=
+SIZE (the_silver_searcher-0.23.0.tar.gz) = 168852



Re: NEW: hexchat

2014-06-14 Thread Florian Stinglmayr
On Wed, Jun 11, 2014 at 11:11:31PM +0100, Stuart Henderson wrote:
 On 2014/06/11 21:30, Florian Stinglmayr wrote:
  Now with 100% more attachment.

 Looking pretty good - one last thing, it should be MODPY_BUILDDEP
 not MODPY_BUILD_DEP. Apart from that it's OK with me to import (or I can
 do it if somebody will give me an ok).


I added a new tarball with the fixed versions.

The last few days I did some testing and it works well for me (TM) on
i386 and amd64.


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


Re: NEW: hexchat

2014-06-11 Thread Florian Stinglmayr
On Mon, Jun 09, 2014 at 07:59:05PM +0100, Stuart Henderson wrote:
 This PLIST is missing some directories; it creates files in
 directories which are neither listed in the PLIST nor come from a
 dependent port, e.g. share/appdata, share/locale/ja_JP, lib/hexchat /
 lib/hexchat/plugins.


Fixed.

 It would be better to avoid building the static-library version of
 the plugins by using LIBTOOL_FLAGS = --tag=disable-static (then the
 @comment'ed .a lines can go), and there's a hidden dependency on
 at least libpci (sysinfo is built if it's present at configure
 time, so this will fail sporadically in bulk builds), but check for
 others - there are things like iso-codes in there too which may get
 picked up.


sysinfo plugin is disabled. It is not needed.

 There's also a missing library (LIB_DEPENDS and WANTLIB) on python,
 use the appropriate variables shown in the lang/python section of
 port-modules(5) to set these rather than hardcoding these.

 something's wrong with the --enable-socks, it doesn't pick up an
 installed libsocks? if it's not doing anything useful should it just
 be disabled?
 - empty PFRAG.shared; but because you use loadable modules it should be
 SHARED_ONLY so there shouldn't be a PFRAG.shared

Also fixed.

Thanks again, for all your helpful suggestions and comments. Attached is
a new version of the port with all those fixes.

Regards,
Florian



Re: NEW: hexchat

2014-06-11 Thread Florian Stinglmayr
Now with 100% more attachment.


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


Re: NEW: hexchat

2014-06-09 Thread Florian Stinglmayr
Hi list,

thanks to the work and comments from bcallah@ here is a fixed up port.
It now depends on python as well, allowing it to run perl and python
scripts.

Florian


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


NEW: hexchat

2014-06-06 Thread Florian Stinglmayr
Hi list,

attached is a new port for hexchat. Hexchat is a fork of Xchat, a GTK2
IRC client. It is actively maintained and incorporates a number of new
features that Xchat does not have.

Why a fork you may ask? Xchat is proprietary for Windows, and people who
were fed up by that decided to create a fork.

It is tested on i386.

Regards,
Florian


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


UPDATE: textproc/the_silver_searcher

2014-05-30 Thread Florian Stinglmayr
Hi list,

attached is a simple update to the_silver_searcher. It contains an
updated file detection mechanism and a few simple updates.

Regards,
Florian

Index: Makefile
===
RCS file: /cvs/ports/textproc/the_silver_searcher/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile25 Mar 2014 18:57:31 -  1.8
+++ Makefile30 May 2014 11:02:39 -
@@ -2,7 +2,7 @@
 
 COMMENT =  code searching tool, with a focus on speed (ag)
 
-DISTNAME = the_silver_searcher-0.21.1
+DISTNAME = the_silver_searcher-0.22.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.7
diff -u -r1.7 distinfo
--- distinfo25 Mar 2014 18:57:31 -  1.7
+++ distinfo30 May 2014 11:02:39 -
@@ -1,2 +1,2 @@
-SHA256 (the_silver_searcher-0.21.1.tar.gz) = 
x55f8D97r3klrd+Q17PqGWtQDyfi4Fc2GKkX3wrTUMU=
-SIZE (the_silver_searcher-0.21.1.tar.gz) = 133648
+SHA256 (the_silver_searcher-0.22.0.tar.gz) = 
92r+wHixsC/8xYoaejtHiFHRwbb7z0wz1upctB4a6Vk=
+SIZE (the_silver_searcher-0.22.0.tar.gz) = 134482



Re: NEW: net/irssi-otr

2014-05-24 Thread Florian Stinglmayr

On 22.05.2014 17:46, Vladimir Seleznev wrote:

Not at all. Will you maintain it?



Yes, I will.

Regards,
Florian



Re: NEW: net/irssi-otr

2014-05-21 Thread Florian Stinglmayr

On 21.05.2014 21:55, Vladimir Seleznev wrote:

Hi, I've imported the fixed version from openbsd-wip, please let me know
if there are any further problems with it.



It seems that OpenBSD-WIP version works now, thanks! Looks like that
a major problem was in GNU libtool.



Thanks for fixing it. I should not have abandoned it when my use case 
went away :-/


Regards,
Florian



Update: textproc/the_silver_searcher to 0.21.1

2014-03-25 Thread Florian Stinglmayr
Hi list,

attached is a simple update the_silver_searcher to version 0.21.1. It is
mostly a bug fix release.

Okay?

Index: Makefile
===
RCS file: /cvs/ports/textproc/the_silver_searcher/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile6 Feb 2014 17:17:53 -   1.7
+++ Makefile25 Mar 2014 18:49:15 -
@@ -2,7 +2,7 @@
 
 COMMENT =  code searching tool, with a focus on speed (ag)
 
-DISTNAME = the_silver_searcher-0.19.2
+DISTNAME = the_silver_searcher-0.21.1
 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.6
diff -u -r1.6 distinfo
--- distinfo6 Feb 2014 17:17:53 -   1.6
+++ distinfo25 Mar 2014 18:49:15 -
@@ -1,2 +1,2 @@
-SHA256 (the_silver_searcher-0.19.2.tar.gz) = 
/fjTfm05y5c2NhFDH7w8EB1jwrHytPUnVG+6g1N7+os=
-SIZE (the_silver_searcher-0.19.2.tar.gz) = 133152
+SHA256 (the_silver_searcher-0.21.1.tar.gz) = 
x55f8D97r3klrd+Q17PqGWtQDyfi4Fc2GKkX3wrTUMU=
+SIZE (the_silver_searcher-0.21.1.tar.gz) = 133648



Re: Request for feedback: irssi-otr

2014-02-18 Thread Florian Stinglmayr
On Mon, Feb 17, 2014 at 09:58:43PM +0100, Paul de Weerd wrote:
 I haven't looked closely at your port yet, but the name rang a bell:

 http://marc.info/?l=openbsd-portsm=133616021717580w=2

 David ported this almost two years ago and it worked fine for me then.
 My use-case then disappeared, so I didn't really push for it anymore,
 but David's port was fine for my use.


I tried to continue David's port. I compiled patches for upstream, yet
the upstream maintainer said that the official[1] irssi-otr repository
is no longer maintained, and that development moved to github. Most of
my patches where already in the new repo and I only had to urge for a
new release.

With the new upstream codebase I decided to create a new port.

 Cheers,

 Paul 'WEiRD' de Weerd


Regards,
Florian Stinglmayr

[1] http://irssi-otr.tuxfamily.org/



Request for feedback: irssi-otr

2014-02-17 Thread Florian Stinglmayr
Hi list,

attached is a port for an irssi OTR plugin. This is my first complicated
port and I'd appreciate comments on it. After fixing it up, I will
resubmit it after the ports tree has been unlocked.

My GNU autotool magic is weak, and I have not yet found a way to stop
autotools to build irssi-otr as a static library. Any pointers with in
this direction would also be appreciated.

This port requires irssi and someone else who is also using OTR. After
installing the port load the module in irssi with:

/load otr

And check out the help with:

/help otr

Thanks in advance,
Florian


irssi-otr.tar.gz
Description: application/tar-gz


Update: the_silver_searcher 0.19.2

2014-02-06 Thread Florian Stinglmayr
Hi list,

just a minor update for the_silver_searcher to 0.19.2. This includes a
small bug fix related to result output.

Okay?

Index: Makefile
===
RCS file: /cvs/ports/textproc/the_silver_searcher/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile23 Jan 2014 18:14:35 -  1.6
+++ Makefile6 Feb 2014 16:44:54 -
@@ -2,7 +2,7 @@
 
 COMMENT =  code searching tool, with a focus on speed (ag)
 
-DISTNAME = the_silver_searcher-0.19.1
+DISTNAME = the_silver_searcher-0.19.2
 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.5
diff -u -r1.5 distinfo
--- distinfo23 Jan 2014 18:14:35 -  1.5
+++ distinfo6 Feb 2014 16:44:54 -
@@ -1,2 +1,2 @@
-SHA256 (the_silver_searcher-0.19.1.tar.gz) = 
8NPJ35F9WF1P4kVycJ7w+RjT+B59d6pdt324Z/sBfWc=
-SIZE (the_silver_searcher-0.19.1.tar.gz) = 134140
+SHA256 (the_silver_searcher-0.19.2.tar.gz) = 
/fjTfm05y5c2NhFDH7w8EB1jwrHytPUnVG+6g1N7+os=
+SIZE (the_silver_searcher-0.19.2.tar.gz) = 133152



Update: the_silver_searcher to version 0.19.1

2014-01-23 Thread Florian Stinglmayr
Hi,

attached is a simple update for the_silver_searcher to 0.19.1.
Not many new features just a rather important bugfix:

 * -i before -g or -G is now handled properly.

Seems to works fine on i386. Thoughts?

Florian

Index: Makefile
===
RCS file: /cvs/ports/textproc/the_silver_searcher/Makefile,v
retrieving revision 1.5
diff -u -p -u -r1.5 Makefile
--- Makefile6 Nov 2013 21:56:49 -   1.5
+++ Makefile23 Jan 2014 17:12:20 -
@@ -2,11 +2,11 @@
 
 COMMENT =  code searching tool, with a focus on speed (ag)
 
-DISTNAME = the_silver_searcher-0.18.1
+DISTNAME = the_silver_searcher-0.19.1
 CATEGORIES =   textproc
 
 HOMEPAGE = https://github.com/ggreer/the_silver_searcher
-MAINTAINER =   Florian Stinglmayr fstinglm...@gmail.com
+MAINTAINER =   Florian Stinglmayr flor...@n0la.org
 
 # Apache 2.0
 PERMIT_PACKAGE_CDROM = Yes
Index: distinfo
===
RCS file: /cvs/ports/textproc/the_silver_searcher/distinfo,v
retrieving revision 1.4
diff -u -p -u -r1.4 distinfo
--- distinfo6 Nov 2013 21:56:49 -   1.4
+++ distinfo23 Jan 2014 17:12:20 -
@@ -1,2 +1,2 @@
-SHA256 (the_silver_searcher-0.18.1.tar.gz) = 
M8V/z49R3sMAi8maXLJpv4BDmglkJHAnJslsd8MAUDk=
-SIZE (the_silver_searcher-0.18.1.tar.gz) = 132413
+SHA256 (the_silver_searcher-0.19.1.tar.gz) = 
8NPJ35F9WF1P4kVycJ7w+RjT+B59d6pdt324Z/sBfWc=
+SIZE (the_silver_searcher-0.19.1.tar.gz) = 134140



Re: irssi include files

2014-01-08 Thread Florian Stinglmayr
On Wed, Jan 08, 2014 at 04:59:03PM +0100, Jérémie Courrèges-Anglas wrote:

 Florian: please use diff -u.


Sorry for the noise. Here is an unified diff:

Index: Makefile
===
RCS file: /cvs/ports/net/irssi/Makefile,v
retrieving revision 1.56
diff -u -p -u -r1.56 Makefile
--- Makefile12 Dec 2013 14:10:13 -  1.56
+++ Makefile8 Jan 2014 16:34:59 -
@@ -5,7 +5,7 @@ SHARED_ONLY=Yes
 COMMENT=   modular IRC client with many features (ipv6,socks,proxy)
 
 DISTNAME=  irssi-0.8.15
-REVISION=  4
+REVISION=  5
 CATEGORIES=net
 
 HOMEPAGE=  http://www.irssi.org/
@@ -51,8 +51,5 @@ FAKE_FLAGS=   confdir=${PREFIX}/share/exa
 
 pre-configure:
${SUBST_CMD} ${WRKSRC}/docs/irssi.1
-
-post-install:
-   @rm -rf ${PREFIX}/include
 
 .include bsd.port.mk
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/irssi/pkg/PLIST,v
retrieving revision 1.18
diff -u -p -u -r1.18 PLIST
--- pkg/PLIST   23 May 2009 17:47:01 -  1.18
+++ pkg/PLIST   8 Jan 2014 16:34:59 -
@@ -1,5 +1,132 @@
 @comment $OpenBSD: PLIST,v 1.18 2009/05/23 17:47:01 martynas Exp $
 @bin bin/irssi
+include/irssi/
+include/irssi/irssi-config.h
+include/irssi/irssi-version.h
+include/irssi/src/
+include/irssi/src/common.h
+include/irssi/src/core/
+include/irssi/src/core/args.h
+include/irssi/src/core/channel-rec.h
+include/irssi/src/core/channel-setup-rec.h
+include/irssi/src/core/channels-setup.h
+include/irssi/src/core/channels.h
+include/irssi/src/core/chat-protocols.h
+include/irssi/src/core/chatnet-rec.h
+include/irssi/src/core/chatnets.h
+include/irssi/src/core/commands.h
+include/irssi/src/core/core.h
+include/irssi/src/core/expandos.h
+include/irssi/src/core/ignore.h
+include/irssi/src/core/levels.h
+include/irssi/src/core/line-split.h
+include/irssi/src/core/log.h
+include/irssi/src/core/masks.h
+include/irssi/src/core/misc.h
+include/irssi/src/core/module.h
+include/irssi/src/core/modules-load.h
+include/irssi/src/core/modules.h
+include/irssi/src/core/net-disconnect.h
+include/irssi/src/core/net-nonblock.h
+include/irssi/src/core/net-sendbuffer.h
+include/irssi/src/core/network.h
+include/irssi/src/core/nick-rec.h
+include/irssi/src/core/nicklist.h
+include/irssi/src/core/nickmatch-cache.h
+include/irssi/src/core/pidwait.h
+include/irssi/src/core/queries.h
+include/irssi/src/core/query-rec.h
+include/irssi/src/core/rawlog.h
+include/irssi/src/core/recode.h
+include/irssi/src/core/server-connect-rec.h
+include/irssi/src/core/server-rec.h
+include/irssi/src/core/server-setup-rec.h
+include/irssi/src/core/servers-reconnect.h
+include/irssi/src/core/servers-setup.h
+include/irssi/src/core/servers.h
+include/irssi/src/core/session.h
+include/irssi/src/core/settings.h
+include/irssi/src/core/signals.h
+include/irssi/src/core/special-vars.h
+include/irssi/src/core/window-item-def.h
+include/irssi/src/core/window-item-rec.h
+include/irssi/src/core/write-buffer.h
+include/irssi/src/fe-common/
+include/irssi/src/fe-common/core/
+include/irssi/src/fe-common/core/chat-completion.h
+include/irssi/src/fe-common/core/command-history.h
+include/irssi/src/fe-common/core/completion.h
+include/irssi/src/fe-common/core/fe-channels.h
+include/irssi/src/fe-common/core/fe-common-core.h
+include/irssi/src/fe-common/core/fe-core-commands.h
+include/irssi/src/fe-common/core/fe-exec.h
+include/irssi/src/fe-common/core/fe-messages.h
+include/irssi/src/fe-common/core/fe-queries.h
+include/irssi/src/fe-common/core/fe-recode.h
+include/irssi/src/fe-common/core/fe-windows.h
+include/irssi/src/fe-common/core/formats.h
+include/irssi/src/fe-common/core/hilight-text.h
+include/irssi/src/fe-common/core/keyboard.h
+include/irssi/src/fe-common/core/module-formats.h
+include/irssi/src/fe-common/core/module.h
+include/irssi/src/fe-common/core/printtext.h
+include/irssi/src/fe-common/core/themes.h
+include/irssi/src/fe-common/core/window-activity.h
+include/irssi/src/fe-common/core/window-items.h
+include/irssi/src/fe-common/core/windows-layout.h
+include/irssi/src/fe-common/irc/
+include/irssi/src/fe-common/irc/dcc/
+include/irssi/src/fe-common/irc/dcc/fe-dcc.h
+include/irssi/src/fe-common/irc/dcc/module-formats.h
+include/irssi/src/fe-common/irc/dcc/module.h
+include/irssi/src/fe-common/irc/fe-irc-server.h
+include/irssi/src/fe-common/irc/module-formats.h
+include/irssi/src/fe-common/irc/module.h
+include/irssi/src/fe-common/irc/notifylist/
+include/irssi/src/fe-common/irc/notifylist/module-formats.h
+include/irssi/src/fe-common/irc/notifylist/module.h
+include/irssi/src/fe-text/
+include/irssi/src/fe-text/statusbar-item.h
+include/irssi/src/irc/
+include/irssi/src/irc/core/
+include/irssi/src/irc/core/bans.h
+include/irssi/src/irc/core/channel-rejoin.h
+include/irssi/src/irc/core/ctcp.h
+include/irssi/src/irc/core/irc-channels.h
+include/irssi/src/irc/core/irc-chatnets.h

  1   2   >