CVS: cvs.openbsd.org: ports

2017-01-17 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2017/01/18 00:23:18

Modified files:
games/dustrac  : Makefile 

Log message:
Switch to use GLEW instead of plain OpenGL, fixes a segfault upon exit.
>From David Carlier.



sparc64 bulk build report

2017-01-17 Thread landry
bulk build on sparc64-1.ports.openbsd.org
started on  Thu Jan 5 11:18:29 MST 2017
finished at Tue Jan 17 21:42:19 MST 2017
lasted 13D03h23m
done with kern.version=OpenBSD 6.0-current (GENERIC) #51: Wed Jan  4 11:16:53 
MST 2017

built packages:8574
Jan 5:204
Jan 6:100
Jan 7:255
Jan 8:162
Jan 9:65
Jan 10:137
Jan 11:165
Jan 12:175
Jan 13:313
Jan 14:327
Jan 15:608
Jan 16:1182
Jan 17:4880



build failures: 9
http://build-failures.rhaalovely.net//sparc64/2017-01-05/audio/openal.log
http://build-failures.rhaalovely.net//sparc64/2017-01-05/devel/cargo.log
http://build-failures.rhaalovely.net//sparc64/2017-01-05/devel/cbmc.log
http://build-failures.rhaalovely.net//sparc64/2017-01-05/devel/keystone.log
http://build-failures.rhaalovely.net//sparc64/2017-01-05/lang/rust,-doc.log
http://build-failures.rhaalovely.net//sparc64/2017-01-05/multimedia/gstreamer1/core.log
http://build-failures.rhaalovely.net//sparc64/2017-01-05/security/sslscan,openssl.log
http://build-failures.rhaalovely.net//sparc64/2017-01-05/sysutils/u-boot,aarch64.log
http://build-failures.rhaalovely.net//sparc64/2017-01-05/textproc/link-grammar,,-main.log

recurrent failures
 failures/audio/openal.log
 failures/devel/cbmc.log
 failures/devel/keystone.log
 failures/multimedia/gstreamer1/core.log
 failures/security/sslscan,openssl.log
 failures/sysutils/u-boot,aarch64.log
new failures
+++ ls-failures Tue Jan 17 21:42:46 2017
+failures/devel/cargo.log
+failures/lang/rust,-doc.log
resolved failures
--- ../old/sparc64/last//ls-failuresTue Dec 27 16:53:30 2016
-failures/audio/moc.log
-failures/devel/ocaml-menhir.log
-failures/geo/qgis.log
-failures/graphics/tesseract/tessdata,-afr.log
-failures/lang/rust,-main.log
Base libs:
curses.14.0 edit.5.2 event.4.1 expat.11.0 form.6.0 formw.6.0 fuse.1.1
iberty.12.0 menu.6.0 menuw.6.0 ncurses.14.0 ncursesw.14.0 objc.6.0
ossaudio.4.0 panel.6.0 panelw.6.0 perl.17.1 radius.1.0 readline.4.0
rpcsvc.2.0 skey.6.0 sndio.6.1 stdc++.57.0 termcap.14.0 .14.0 usbhid.7.0
util.12.1 z.5.0 pthread.23.0 c.89.2 c.89.2.a kvm.16.2 m.10.0 pcap.8.3
crypto.41.0 ssl.42.0 tls.14.0

X libs:
FS.10.0 GLESv1_CM.1.0 GLU.9.0 GLw.6.0 ICE.10.0 SM.9.0 X11-xcb.2.0
X11.16.1 XRes.5.0 Xau.10.0 Xaw.15.0 Xaw7.15.0 Xcomposite.4.0 Xcursor.5.0
Xdamage.4.0 Xdmcp.11.0 Xext.13.0 Xfixes.6.0 Xfontcache.5.0 Xi.12.1
Xinerama.6.0 Xmu.11.0 Xmuu.6.0 Xpm.9.0 Xrandr.7.1 Xrender.6.0 Xss.6.0
Xt.11.0 Xtst.11.0 Xv.6.0 XvMC.6.0 XvMCW.2.0 dmx.2.0 XvMCr600.1.0
Xxf86dga.6.0 Xxf86misc.6.0 Xxf86vm.6.0 drm_nouveau.3.0 drm_radeon.4.0
epoxy.2.0 fontenc.4.0 pciaccess.2.0 pixman-1.32.6 pthread-stubs.2.0
txc_dxtn.0.0 xcb-composite.1.0 xcb-cursor.0.0 xcb-damage.1.0
xcb-dpms.1.0 xcb-dri2.1.1 xcb-dri3.0.0 xcb-ewmh.2.0 xcb-icccm.4.0
xcb-image.2.0 xcb-keysyms.3.0 xcb-render-util.2.0 xcb-res.1.1
xcb-shm.1.1 xcb-util.0.0 xcb-xevie.1.0 xcb-xf86dri.2.0 xcb-xinerama.1.0
xcb-xtest.1.0 xcb-xvmc.1.0 xkbfile.6.0 xkbui.5.0 Xfont.13.0 Xft.10.0
glapi.0.2 fontconfig.11.0 xcb-glx.1.1 xcb-present.0.1 xcb-randr.2.2
xcb-record.1.1 xcb-render.1.1 xcb-screensaver.1.1 xcb-shape.1.1
xcb-sync.1.2 xcb-xfixes.1.2 xcb-xkb.0.1 xcb-xprint.3.0 xcb-xv.1.1
xcb.4.0 freetype.27.0 xcb-xrm.0.0 drm.7.3 drm_amdgpu.1.2 EGL.1.1 GL.17.1
GLESv2.1.2 OSMesa.10.1 gbm.0.1



NEW: libmpack (needs discussion)

2017-01-17 Thread Edd Barrett
Hi,

(CCing some people who have worked on lang/lua, hoping one of them knows
the answer to my question below).

This is (yet another) neovim dependency. libmpack (not to be confused
with libmsgpack):

---8<---
libmpack is a small binary serialization/RPC library that implements both the
msgpack and msgpack-rpc specifications.
--->8---

This isn't quite ready as it requires some thought. Neovim (on some
arches) will use this via LuaJIT, not plain Lua. We don't have to do
anything special to build against LuaJIT as plain Lua extensions are
binary compatible with LuaJIT [1].

What I don't think will work is mixing Lua versions. So how do we guard
against the case where (e.g.) the default Lua is bumped to target a
newer Lua than LuaJIT? This means the library will not be found by
LuaJIT.

Although I could explicitly set the Lua version used in this port,
setting it to anything other than the default version seems wrong too,
since then regular Lua users won't have access.

Do we need (versioned) lua flavors, e.g. -lua51, -lua52?

We could just use plain Lua across the board, but that would be a shame.
One of the attractions of neovim is to use a higher performance (and
a less "argh, my eyes, they burn") scripting language than vimscript.

Any ideas, or other comments?

[1] http://luajit.org/extensions.html

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk


libmpack.tgz
Description: application/tar-gz


NEW: libtermkey

2017-01-17 Thread Edd Barrett
Hi,

Another neovim dependency:
---8<---
This library allows easy processing of keyboard entry from terminal-based
programs. It handles all the necessary logic to recognise special keys, UTF-8
combining, and so on, with a simple interface.
--->8---

Again, this is a team effort from openbsd-wip with those in CC.

OK?

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk


libtermkey.tgz
Description: application/tar-gz


NEW: unibilium

2017-01-17 Thread Edd Barrett
Hi,

This is a dependency of neovim.

---8<---
Unibilium is a very basic terminfo library. It doesn't depend on curses or any
other library. It also doesn't use global variables, so it should be
thread-safe.
--->8---

The port comes from openbsd-wip and was worked on by a few people (in
CC) including myself.

OK?

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk


unibilium.tgz
Description: application/tar-gz


Re: CVS: cvs.openbsd.org: ports

2017-01-17 Thread Landry Breuil
On Tue, Jan 17, 2017 at 07:04:15AM -0700, Gonzalo L. Rodriguez wrote:
> CVSROOT:  /cvs
> Module name:  ports
> Changes by:   gonz...@cvs.openbsd.org 2017/01/17 07:04:15
> 
> Modified files:
>   www/varnish: distinfo 
>   www/varnish/pkg: MESSAGE PLIST 

Seems you forgot to commit the Makefile part, fails in bulks :)



CVS: cvs.openbsd.org: ports

2017-01-17 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2017/01/17 12:23:42

Modified files:
sysutils/ansible: Makefile distinfo 
sysutils/ansible/patches: 
  patch-lib_ansible_module_utils_facts_py 
sysutils/ansible/pkg: PLIST 

Log message:
update to ansible-2.2.1.0, includes a security fix for CVE-2016-9587



CVS: cvs.openbsd.org: ports

2017-01-17 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/01/17 09:18:18

Modified files:
net/unworkable : Makefile 
net/ipfreely   : Makefile 
graphics/pycha : Makefile 
x11/wmclockmon : Makefile 

Log message:
Remove MAINTAINER.

Mail address bounces, no reply from alternative address.



CVS: cvs.openbsd.org: ports

2017-01-17 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/01/17 09:16:02

Modified files:
net/unworkable : Makefile 

Log message:
Better HOMEPAGE, code.google.com is dead.



CVS: cvs.openbsd.org: ports

2017-01-17 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/01/17 09:09:15

Modified files:
mail/swaks : Makefile 
mail/swaks/pkg : DESCR 

Log message:
Stop mentioning outdated optional deps.

p5-Authen-NTLM is already in RUN_DEPENDS, and swaks now uses Digest::SHA
from base, not p5-Digest-SHA1.  ok sthen@ schwarze@ benoit@



[NEW PORT: audio/lv2]

2017-01-17 Thread Tobias Brodel

lilv is a C library for embedding LV2 plugins in audio
applications.

It depends on recently posted ports audio/lv2,
devel/serd, devel/sord and devel/sratom. lilv itself is
a dependency for newer versions of audio/ardour.

Tested on amd64 and armv7.

t/


lilv.tar.gz
Description: application/gzip


CVS: cvs.openbsd.org: ports

2017-01-17 Thread Gonzalo L . Rodriguez
CVSROOT:/cvs
Module name:ports
Changes by: gonz...@cvs.openbsd.org 2017/01/17 07:46:19

Modified files:
www/aria2  : Makefile distinfo 
Removed files:
www/aria2/patches: patch-src_Makefile_in 

Log message:
Upgrade for Aria2 to 1.31.0:

https://github.com/aria2/aria2/releases/tag/release-1.31.0

OK benoit@



CVS: cvs.openbsd.org: ports

2017-01-17 Thread Gonzalo L . Rodriguez
CVSROOT:/cvs
Module name:ports
Changes by: gonz...@cvs.openbsd.org 2017/01/17 07:42:14

Modified files:
databases/p5-Redis: Makefile distinfo 

Log message:
Little update for p5-Redis to 1.991.

OK benoit@ (maintainer)



CVS: cvs.openbsd.org: ports

2017-01-17 Thread Gonzalo L . Rodriguez
CVSROOT:/cvs
Module name:ports
Changes by: gonz...@cvs.openbsd.org 2017/01/17 07:04:15

Modified files:
www/varnish: distinfo 
www/varnish/pkg: MESSAGE PLIST 

Log message:
Upgrade for Varnish to 5.0.0:

https://varnish-cache.org/releases/rel5.0.0.html#rel5-0-0

So we jump to 5.0 now, Tests are welcomed.

Also, added myself to maintainers. Jim is sort of off-line for a while
now.

OK benoit@



UPDATE: Aria2-1.31.0

2017-01-17 Thread Gonzalo L. Rodriguez
Hello,

Upgrade for Aria2 to 1.31.0:

https://github.com/aria2/aria2/releases/tag/release-1.31.0

Ok? Comments?

Cheers.-

-- 
Sending from my toaster.
Index: Makefile
===
RCS file: /cvs/ports/www/aria2/Makefile,v
retrieving revision 1.44
diff -u -p -r1.44 Makefile
--- Makefile7 Nov 2016 10:51:36 -   1.44
+++ Makefile17 Jan 2017 13:56:58 -
@@ -3,8 +3,7 @@
 BROKEN-alpha = MetalinkParserStateV4Impl.cc:219:1: internal compiler error: 
Segmentation fault
 
 COMMENT =  lightweight multi-protocol & multi-source download 
utility
-V =1.27.1
-REVISION = 0
+V =1.31.0
 DISTNAME = aria2-${V}
 CATEGORIES =   www
 HOMEPAGE = https://aria2.github.io/
Index: distinfo
===
RCS file: /cvs/ports/www/aria2/distinfo,v
retrieving revision 1.28
diff -u -p -r1.28 distinfo
--- distinfo29 Sep 2016 23:49:58 -  1.28
+++ distinfo17 Jan 2017 13:56:58 -
@@ -1,2 +1,2 @@
-SHA256 (aria2-1.27.1.tar.gz) = ZcJJ886w054dTCCCjwTAGJ3hfOjNtdM6leQ+pmT49fk=
-SIZE (aria2-1.27.1.tar.gz) = 3737594
+SHA256 (aria2-1.31.0.tar.gz) = OAhvh+4/15+I0f5KiAGM8hh7jmqa2jAmOiuKm6c+vt4=
+SIZE (aria2-1.31.0.tar.gz) = 3764972
Index: patches/patch-src_Makefile_in
===
RCS file: patches/patch-src_Makefile_in
diff -N patches/patch-src_Makefile_in
--- patches/patch-src_Makefile_in   4 Oct 2016 11:26:00 -   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,13 +0,0 @@
-$OpenBSD: patch-src_Makefile_in,v 1.1 2016/10/04 11:26:00 juanfra Exp $
 src/Makefile.in.orig   Sat Sep 17 02:15:49 2016
-+++ src/Makefile.inSun Sep 25 02:40:41 2016
-@@ -1686,7 +1686,8 @@ EXTLDADD = @ALLOCA@ \
-   @LIBCARES_LIBS@ \
-   @WSLAY_LIBS@ \
-   @TCMALLOC_LIBS@ \
--  @JEMALLOC_LIBS@
-+  @JEMALLOC_LIBS@ \
-+  @LTLIBINTL@
- 
- LDADD = libaria2.la $(am__append_48)
- @ENABLE_LIBARIA2_TRUE@libaria2_la_LIBADD = $(EXTLDADD)


CVS: cvs.openbsd.org: ports

2017-01-17 Thread Matthias Kilian
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2017/01/17 06:03:30

Modified files:
print/poppler  : Makefile distinfo 

Log message:
Update to poppler-0.51.0.



Re: [NEW] editors/ghostwriter

2017-01-17 Thread Adam Wolk
On Tue, Jan 17, 2017 at 01:46:22PM +0100, Landry Breuil wrote:
> On Tue, Jan 17, 2017 at 01:12:07PM +0100, Adam Wolk wrote:
> > Hi ports@
> > 
> > Attaching a new port editors/ghostwriter
> > 
> >  - https://wereturtle.github.io/ghostwriter/
> >  - https://github.com/wereturtle/ghostwriter
> > 
> > Feedback? OK's?
> 
> As for the port itself, looks good, maybe just remove the leading 'a' in
> COMMENT and put the BDEPs on their own line (ie newline between guic and
> desktop-file-utils)
> 

Removed the leading 'a' and split dependencies to separate lines.

> ok to import it.
> 
> Landry
> 

Imported. Thanks!

Regards,
Adam



CVS: cvs.openbsd.org: ports

2017-01-17 Thread Adam Wolk
CVSROOT:/cvs
Module name:ports
Changes by: aw...@cvs.openbsd.org   2017/01/17 06:00:00

Modified files:
editors: Makefile 

Log message:
Plug editors/ghostwriter to the build



CVS: cvs.openbsd.org: ports

2017-01-17 Thread Adam Wolk
CVSROOT:/cvs
Module name:ports
Changes by: aw...@cvs.openbsd.org   2017/01/17 05:58:26

Log message:
import editors/ghostwriter

- https://wereturtle.github.io/ghostwriter/
- https://github.com/wereturtle/ghostwriter/

OK landry@

$ cat pkg/DESCR
ghostwriter is a Windows and Unix text editor for Markdown, providing a
relaxing, distraction-free writing environment, whether your masterpiece
be that next blog post, your school paper, or your NaNoWriMo novel.

* Syntax highlighting of Markdown
* Navigation of document headings
* Full-screen mode
* Focus mode that highlights the current sentence, line, three lines, or
paragraph
* Two built-in themes, one light and one dark
* Theme creator for custom colors and background images
* Spell checking with Hunspell
* A Live word count
* A live HTML preview as you type
* Use of custom CSS style sheets for HTML preview
* Image URL insertion via dragging and dropping an image file into the 
editor
* Sundown processor built in for preview and export to HTML
* Interoperability with the following Markdown processors (if installed) for
preview and export to popular document formats, such as PDF, ODT, and RTF:
* Pandoc
* MultiMarkdown
* Discount
* cmark

Status:

Vendor Tag: awolk
Release Tags:   awolk_20170117

N ports/editors/ghostwriter/Makefile
N ports/editors/ghostwriter/distinfo
N ports/editors/ghostwriter/pkg/PLIST
N ports/editors/ghostwriter/pkg/DESCR

No conflicts created by this import



NEW: textproc/py-pdfminer

2017-01-17 Thread Ingo Feinerer
Hi,

please find attached a port for PDFMiner, a PDF parser and analyzer.

$ cat pkg/DESCR
PDFMiner is a tool for extracting information from PDF documents. Unlike other
PDF-related tools, it focuses entirely on getting and analyzing text data.
PDFMiner allows one to obtain the exact location of text in a page, as well as
other information such as fonts or lines. It includes a PDF converter that can
transform PDF files into other text formats (such as HTML). It has an
extensible PDF parser that can be used for other purposes than text analysis.

OK to import?

(Remark: 'make test' fails with an error but the same happens e.g. on a Debian
Linux.)

Best regards,
Ingo


py-pdfminer.tar.gz
Description: application/tar-gz


Re: [NEW] editors/ghostwriter

2017-01-17 Thread Landry Breuil
On Tue, Jan 17, 2017 at 01:12:07PM +0100, Adam Wolk wrote:
> Hi ports@
> 
> Attaching a new port editors/ghostwriter
> 
>  - https://wereturtle.github.io/ghostwriter/
>  - https://github.com/wereturtle/ghostwriter
> 
> Feedback? OK's?

As for the port itself, looks good, maybe just remove the leading 'a' in
COMMENT and put the BDEPs on their own line (ie newline between guic and
desktop-file-utils)

ok to import it.

Landry



Re: [NEW] editors/ghostwriter

2017-01-17 Thread Landry Breuil
On Tue, Jan 17, 2017 at 01:12:07PM +0100, Adam Wolk wrote:
> Hi ports@
> 
> Attaching a new port editors/ghostwriter
> 
>  - https://wereturtle.github.io/ghostwriter/
>  - https://github.com/wereturtle/ghostwriter
> 
> Feedback? OK's?

Reminds me a lot of editors/focuswriter
(https://gottcode.org/focuswriter/), but with markdown support,
nice...



[NEW] editors/ghostwriter

2017-01-17 Thread Adam Wolk
Hi ports@

Attaching a new port editors/ghostwriter

 - https://wereturtle.github.io/ghostwriter/
 - https://github.com/wereturtle/ghostwriter

Feedback? OK's?

$ cat pkg/DESCR
ghostwriter is a Windows and Unix text editor for Markdown, providing a
relaxing, distraction-free writing environment, whether your masterpiece
be that next blog post, your school paper, or your NaNoWriMo novel.

* Syntax highlighting of Markdown
* Navigation of document headings
* Full-screen mode
* Focus mode that highlights the current sentence, line, three lines, or
  paragraph
* Two built-in themes, one light and one dark
* Theme creator for custom colors and background images
* Spell checking with Hunspell
* A Live word count
* A live HTML preview as you type
* Use of custom CSS style sheets for HTML preview
* Image URL insertion via dragging and dropping an image file into the editor
* Sundown processor built in for preview and export to HTML
* Interoperability with the following Markdown processors (if installed) for
  preview and export to popular document formats, such as PDF, ODT, and RTF:
  * Pandoc
  * MultiMarkdown
  * Discount
  * cmark


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


Re: [NEW PORT: audio/rubberband]

2017-01-17 Thread Stuart Henderson
On 2017/01/17 08:15, Tobias Brodel wrote:
> Please find attached a port for rubberband, a library and utility for
> timestretching and repitching audio. It is one of a few new dependencies
> required for an update to audio/ardour. I'm pretty new to ports so any
> feedback would be much appreciated. Tested on amd64. Cheers, toby/

Hi, some quick feedback :

Makefile:
- "ONLY_FOR_ARCHS =  amd64 i386", why?
- "#GPLv2 only" please add a space, "# GPLv2 only"
- "COMMENT = Library for ..." lower-case first letter -> "library for"

pkg/DESCR:
- don't list WWW, it comes automatically from HOMEPAGE in Makefile

pkg/PLIST, Makefile:
- the linux-style shared library handling needs modifying. you have:

lib/librubberband.so
lib/librubberband.so.2
@bin lib/librubberband.so.2.1.0

there should be a single entry,

@lib lib/librubberband.so.0.0

and the ".0.0" needs to be under control of SHARED_LIBS lines in
Makefile, so you'll need

SHARED_LIBS= rubberband 0.0

and arrange things so you can pass this in to the build via
LIBrubberband_VERSION (maybe via patching, maybe MAKE_FLAGS overrides
etc). If you grep other port Makefiles for "LIB[a-z]*_VERSION" you'll
find various ways that this is handled; the :R and :E constructs
you'll see in some of these are to split up the "major" and "minor"
versions for ports that need it.


On 2017/01/17 14:20, Tobias Brodel wrote:
> Lv2 is an audio plugin standard designed to replace LADSPA.
(etc)

Since you are pretty new to ports on OpenBSD, please get the first
one in good shape before sending others, as most of my comments apply
to the others too.



Re: zabbix 3.2.3

2017-01-17 Thread Stuart Henderson
On 2017/01/17 09:47, Hiltjo Posthuma wrote:
> Hey,
> 
> Nice work on the Zabbix port!. I use it and it works well.
> 
> I'd like to send monitored data encrypted to the Zabbix server, but noticed
> that it's not compiled with TLS support (--with-openssl).
> 
> I tried to compile --with-openssl but LibreSSL doesn't support PSK
> identities, atleast not in a compatible way to OpenSSL.

PSK support was removed from LibreSSL. Zabbix supports multiple TLS
libraries, your best option is probably to try building it against gnutls.



Re: zabbix 3.2.3

2017-01-17 Thread Mark Patruck
Haven't used this yet because - when needed - IPsec is there,
but will give it a try soon.

On Tue, Jan 17, 2017 at 09:47:07AM +0100, Hiltjo Posthuma wrote:
> Hey,
> 
> Nice work on the Zabbix port!. I use it and it works well.
> 
> I'd like to send monitored data encrypted to the Zabbix server, but noticed
> that it's not compiled with TLS support (--with-openssl).
> 
> I tried to compile --with-openssl but LibreSSL doesn't support PSK
> identities, atleast not in a compatible way to OpenSSL.
> 
> Do you know a solution for this?
> 
> -- 
> Kind regards,
> Hiltjo

-- 
Mark Patruck ( mark at wrapped.cx )
GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74  F644 0D3C F66F F286 5E51

http://www.wrapped.cx



CVS: cvs.openbsd.org: ports

2017-01-17 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2017/01/17 04:22:50

Modified files:
devel/afl  : Makefile distinfo 

Log message:
update to afl-2.36b
OK jsg@



Re: zabbix 3.2.3

2017-01-17 Thread Hiltjo Posthuma
Hey,

Nice work on the Zabbix port!. I use it and it works well.

I'd like to send monitored data encrypted to the Zabbix server, but noticed
that it's not compiled with TLS support (--with-openssl).

I tried to compile --with-openssl but LibreSSL doesn't support PSK
identities, atleast not in a compatible way to OpenSSL.

Do you know a solution for this?

-- 
Kind regards,
Hiltjo



openvpn-2.4.0

2017-01-17 Thread Jeremie Courreges-Anglas

Lots of improvements, seems to work fine here but please check that your
use case still works.

  https://github.com/OpenVPN/openvpn/blob/master/Changes.rst

(See "Deprecated features" and "User-visible Changes".)


Index: Makefile
===
RCS file: /cvs/ports/net/openvpn/Makefile,v
retrieving revision 1.70
diff -u -p -r1.70 Makefile
--- Makefile18 Dec 2016 18:58:01 -  1.70
+++ Makefile17 Jan 2017 08:21:00 -
@@ -2,7 +2,7 @@
 
 COMMENT=   easy-to-use, robust, and highly configurable VPN
 
-DISTNAME=  openvpn-2.3.14
+DISTNAME=  openvpn-2.4.0
 CATEGORIES=net security
 
 HOMEPAGE=  https://openvpn.net/index.php/open-source/
@@ -12,18 +12,19 @@ MAINTAINER= Jeremie Courreges-Anglas http://swupdate.openvpn.net/community/releases/
 
-LIB_DEPENDS=   archivers/lzo2
+LIB_DEPENDS=   archivers/lzo2 \
+   archivers/lz4
 
 SEPARATE_BUILD=Yes
 CONFIGURE_STYLE= gnu
 
 CONFIGURE_ARGS+=   --enable-password-save
-CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
-   LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+   LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}"
 
 SAMPLES_DIR=   ${PREFIX}/share/examples/openvpn
 
@@ -37,11 +38,11 @@ SAMPLES_DIR=${PREFIX}/share/examples/op
 #.endif
 
 post-install:
-   ${INSTALL_DATA_DIR} ${SAMPLES_DIR}/sample-config-files \
-   ${SAMPLES_DIR}/sample-keys ${SAMPLES_DIR}/sample-scripts
-   find ${WRKSRC}/sample/sample-config-files/ -type f \! -name "*.orig" \
-   -exec ${INSTALL_DATA} {} ${SAMPLES_DIR}/sample-config-files \;
-   ${INSTALL_DATA} ${WRKSRC}/sample/sample-keys/* 
${SAMPLES_DIR}/sample-keys
-   ${INSTALL_DATA} ${WRKSRC}/sample/sample-scripts/* 
${SAMPLES_DIR}/sample-scripts
+   cd ${WRKSRC}/sample/; \
+   find sample-config-files sample-keys sample-scripts -type d \
+   -exec ${INSTALL_DATA_DIR} ${SAMPLES_DIR}/{} ';' ; \
+   find sample-config-files sample-keys sample-scripts -type f \
+   '(' ! -name '*.orig' -a ! -name '.gitignore' ')' \
+   -exec ${INSTALL_DATA} {} ${SAMPLES_DIR}/{} ';'
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/net/openvpn/distinfo,v
retrieving revision 1.34
diff -u -p -r1.34 distinfo
--- distinfo18 Dec 2016 18:58:01 -  1.34
+++ distinfo17 Jan 2017 08:21:00 -
@@ -1,2 +1,2 @@
-SHA256 (openvpn-2.3.14.tar.gz) = K1W5NCTkiauLeNDtdej5kqs0BSzWZrxNakFEGRkUO5c=
-SIZE (openvpn-2.3.14.tar.gz) = 1241145
+SHA256 (openvpn-2.4.0.tar.gz) = 8h21JbPAOpu9Cnq20OT7r4kC8ji/U7i8TgT4NOTnyqQ=
+SIZE (openvpn-2.4.0.tar.gz) = 1409019
Index: patches/patch-configure
===
RCS file: /cvs/ports/net/openvpn/patches/patch-configure,v
retrieving revision 1.13
diff -u -p -r1.13 patch-configure
--- patches/patch-configure 29 Nov 2016 09:22:02 -  1.13
+++ patches/patch-configure 17 Jan 2017 08:21:00 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-configure,v 1.13 2016/11/29 09:22:02 jca Exp $
 configure.orig Thu Nov  3 09:52:52 2016
-+++ configure  Fri Nov 18 17:49:59 2016
-@@ -17092,7 +17092,7 @@ fi
+--- configure.orig Tue Dec 27 12:22:04 2016
 configure  Tue Jan 17 03:33:06 2017
+@@ -17090,7 +17090,7 @@ fi
  
  
  plugindir="${with_plugindir}"
Index: patches/patch-include_Makefile_in
===
RCS file: /cvs/ports/net/openvpn/patches/patch-include_Makefile_in,v
retrieving revision 1.6
diff -u -p -r1.6 patch-include_Makefile_in
--- patches/patch-include_Makefile_in   29 Nov 2016 09:22:02 -  1.6
+++ patches/patch-include_Makefile_in   17 Jan 2017 08:21:00 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-include_Makefile_in,v 1.6 2016/11/29 09:22:02 jca Exp $
 include/Makefile.in.orig   Thu Nov  3 09:52:54 2016
-+++ include/Makefile.inTue Nov 29 10:18:42 2016
-@@ -316,7 +316,7 @@ host_cpu = @host_cpu@
+--- include/Makefile.in.orig   Tue Dec 27 12:22:04 2016
 include/Makefile.inTue Jan 17 03:33:06 2017
+@@ -322,7 +322,7 @@ host_cpu = @host_cpu@
  host_os = @host_os@
  host_vendor = @host_vendor@
  htmldir = @htmldir@
Index: patches/patch-src_openvpn_route_c
===
RCS file: /cvs/ports/net/openvpn/patches/patch-src_openvpn_route_c,v
retrieving revision 1.6
diff -u -p -r1.6 patch-src_openvpn_route_c
--- patches/patch-src_openvpn_route_c   18 Dec 2016 18:58:01 -  1.6
+++ patches/patch-src_openvpn_route_c   17 Jan 2017 08:21:00 -
@@ -2,26 +2,26 @@ $OpenBSD: patch-src_openvpn_route_c,v 1.
 
 - add support for on-link routes
 
 src/openvpn/route.c.orig   Wed Dec  7 12:35:43 2016
-+++ src/openvpn/route.cTue Dec 13 18:55:42 2016
-@@ -1501,12 +1501,17 @@ add_route (struct route_ipv4