CVS: cvs.openbsd.org: ports

2017-09-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/09/07 23:58:19

Modified files:
lang/clang : clang.port.mk 
devel/llvm : Makefile distinfo 
devel/llvm/patches: 
patch-tools_clang_include_clang_Driver_Options_td 
patch-tools_clang_lib_Driver_ToolChains_Clang_cpp 
devel/llvm/pkg : PLIST-main 

Log message:
Update to llvm-5.0.0.

from Brad (maintainer)



Re: CVS: cvs.openbsd.org: ports

2017-09-07 Thread Jonathan Gray
On Thu, Sep 07, 2017 at 09:21:27AM -0600, Robert Nagy wrote:
> CVSROOT:  /cvs
> Module name:  ports
> Changes by:   rob...@cvs.openbsd.org  2017/09/07 09:21:27
> 
> Log message:
> import of the inteldrm port for creating the firmware package that 
> includes
> firmwares for i915/inteldrm
> 
> ok ajacoutot@

This does not package the correct guc files.

The code in tree has:
intel_guc_loader.c:#define I915_SKL_GUC_UCODE "i915/skl_guc_ver4.bin"

proposed kaby lake patch has

#define I915_KBL_GUC_UCODE "i915/kbl_guc_ver9_14.bin"

but only i915/skl_guc_ver6.bin is packaged.

Naming the files i915-filename or inteldrm-filename without a
.ucode/.bin suffix instead of putting them in a i915 directory would be
consistent with how the other firmware is handled.

> 
> Status:
> 
> Vendor Tag:   robert
> Release Tags: robert_20170907
> 
> N ports/sysutils/firmware/inteldrm/Makefile
> N ports/sysutils/firmware/inteldrm/distinfo
> N ports/sysutils/firmware/inteldrm/pkg/DESCR
> N ports/sysutils/firmware/inteldrm/pkg/PLIST
> 
> No conflicts created by this import
> 



Re: bacula build error on arm

2017-09-07 Thread Stephen Graf
Yes, that corrected the problem.  Thank you

-Original Message-
From: owner-po...@openbsd.org [mailto:owner-po...@openbsd.org] On Behalf Of
Theo Buehler
Sent: Thursday, September 7, 2017 1:57 PM
To: ports@openbsd.org
Subject: Re: bacula build error on arm

On Thu, Sep 07, 2017 at 01:39:47PM -0700, Stephen Graf wrote:
> I tried to build the port for bacula on my orange pi one and got a 
> long way into it before this happened:

[...]

> Using /usr/ports/pobj/Python-2.7.13/config.site (generated)

[...]

> configure: error: cannot run C compiled programs.

This looks like the usual python problem with W^X (check your dmesg).

Your /usr/ports/pobj should be on a partition mounted with the wxallowed
option, as explained in ports(7):

 /usr/ports/pobj  Build directories.  A number of insecurely coded
  ports require a dedicated file system with the
  wxallowed mount(8) option.




NEW: graphics/farbfeld

2017-09-07 Thread Kaashif Hymabaccus
Hello ports@,

Please find attached a port for graphics/farbfeld.

pkg/DESCR:
Farbfeld is a lossless image format which is easy to parse, pipe and
compress.

The port includes some tools ff2* and *2ff which convert to and from
farbfeld, so I put it in the converters category too.

Works ok on amd64.

-- 
Kaashif Hymabaccus
GPG: 3E810B04


farbfeld.tgz
Description: application/tar-gz


Re: sysutils/sleuthkit: why CONFIGURE_STYLE=simple?

2017-09-07 Thread nigel
On 09/07/17 21:38, Stuart Henderson wrote:
> On 2017/09/07 19:45, ni...@openbsd.org wrote:
>>
>> Attached update to version 4.4.2
>>
>> Switch CONFIGURE_STYLE = gnu, to stop some bulk build failures.
>> Remove need for cppunit.
>>
>> Builds on amd64.
>>
>> Ok?
> 
> I can't really comment on the sleuthkit update itself (did you check if
> a library bump is needed?), but the autoconf bits are ok with me.
> 
> 

added functions to library, major version change in log. So bumped library.
Index: Makefile
===
RCS file: /home/cvs/ports/sysutils/sleuthkit/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- Makefile	26 Jul 2017 22:45:30 -	1.21
+++ Makefile	7 Sep 2017 21:13:24 -
@@ -2,11 +2,10 @@
 
 COMMENT=		forensic toolkit based on TCT
 
-DISTNAME=		sleuthkit-4.3.0
+DISTNAME=		sleuthkit-4.4.2
 CATEGORIES=		sysutils security
-REVISION=		0
 
-SHARED_LIBS +=		tsk	0.0 # 14.0
+SHARED_LIBS +=		tsk	1.0 # 16.1
 
 HOMEPAGE=		http://www.sleuthkit.org/
 
@@ -18,17 +17,19 @@ PERMIT_PACKAGE_FTP=	Yes
 
 MASTER_SITES =		https://github.com/sleuthkit/sleuthkit/releases/download/${DISTNAME}/
 
-WANTLIB += 		c m pthread ${COMPILER_LIBCXX} z
+WANTLIB += 		c m pthread ${COMPILER_LIBCXX} sqlite3 z
 
-CONFIGURE_STYLE =	simple
+CONFIGURE_STYLE =	gnu
 
 CONFIGURE_ARGS += 	--mandir='${PREFIX}/man' \
 			--disable-java \
 			--without-afflib \
 			--without-libewf
 
-BUILD_DEPENDS=		devel/cppunit
+CONFIGURE_ENV =		ac_cv_path_CPPUNIT_CONFIG=no
+
 RUN_DEPENDS=		converters/p5-DateManip
+LIB_DEPENDS =		databases/sqlite3
 
 NO_TEST =		Yes
 
Index: distinfo
===
RCS file: /home/cvs/ports/sysutils/sleuthkit/distinfo,v
retrieving revision 1.11
diff -u -p -r1.11 distinfo
--- distinfo	10 Oct 2016 18:58:38 -	1.11
+++ distinfo	29 Aug 2017 21:15:44 -
@@ -1,2 +1,2 @@
-SHA256 (sleuthkit-4.3.0.tar.gz) = mJxpGD5Le+w3NGQlOIAs3KvjRqbcrTHN5F7ry5v8GR8=
-SIZE (sleuthkit-4.3.0.tar.gz) = 8539568
+SHA256 (sleuthkit-4.4.2.tar.gz) = E1lkRj9LClj82V/fcxiB/Nby8ifuuP+sAEiAyOTY3VM=
+SIZE (sleuthkit-4.4.2.tar.gz) = 8572974
Index: pkg/PLIST
===
RCS file: /home/cvs/ports/sysutils/sleuthkit/pkg/PLIST,v
retrieving revision 1.8
diff -u -p -r1.8 PLIST
--- pkg/PLIST	10 Oct 2016 18:58:38 -	1.8
+++ pkg/PLIST	29 Aug 2017 21:21:20 -
@@ -33,10 +33,11 @@ bin/sorter
 @bin bin/tsk_gettimes
 @bin bin/tsk_loaddb
 @bin bin/tsk_recover
+@bin bin/usnjls
 include/tsk/
 include/tsk/auto/
-include/tsk/auto/sqlite3.h
 include/tsk/auto/tsk_auto.h
+include/tsk/auto/tsk_is_image_supported.h
 include/tsk/base/
 include/tsk/base/tsk_base.h
 include/tsk/base/tsk_os.h
@@ -94,6 +95,7 @@ lib/libtsk.la
 @man man/man1/tsk_gettimes.1
 @man man/man1/tsk_loaddb.1
 @man man/man1/tsk_recover.1
+@man man/man1/usnjls.1
 share/tsk/
 share/tsk/sorter/
 share/tsk/sorter/default.sort


Re: UPDATE: SMPlayer-17.9.0

2017-09-07 Thread Josh Grosse
On Thu, Sep 07, 2017 at 04:50:51PM -0300, Gonzalo L. Rodriguez wrote:
> Hello,
> 
> Update for SMPlayer to 17.9.0:
> 
> *Now it's possible to the search for subtitles using the filename
>  instead of a hash.
> *Fix for the OSD when using SMPlayer with mpv 0.26.
> 
> Ok? Comments?

Tested on amd64.  Switched to mpv and the OSD works well.  

I discovered that port-lib-depends-check complained about the x11/qt5
module, but that's external to the port:

"LIB_DEPENDS x11/gnome/at-spi2-core not needed for x11/qt5/qtbase,-main ?"

Thanks again, Gonzalo! 



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2017/09/07 16:12:57

Modified files:
devel/afl  : Makefile distinfo 

Log message:
update to 2.51b
ok jsg



Re: amule is crashing on i386

2017-09-07 Thread Juan Francisco Cantero Hurtado
On Sun, Aug 27, 2017 at 09:46:27PM +0200, Juan Francisco Cantero Hurtado wrote:
> On Mon, Aug 14, 2017 at 03:07:11AM +0200, Juan Francisco Cantero Hurtado 
> wrote:
> > On lunes, 14 de agosto de 2017 1:55:40 (CEST) Juan Francisco Cantero 
> > Hurtado wrote:
> > > The last night I ran amule and it crashed with this message:
> > > 
> > > libunwind: _Unwind_Resume
> > > /usr/src/lib/libcxxabi/../libunwind/src/UnwindLevel1.c:391 -
> > > _Unwind_Resume() can't return
> > > 
> > > I don't have the backtrace but it looked like a problem in wx with the
> > > udp sockets.
> > > 
> > 
> > I talked too soon. Ignore the patch. Amule works for more time but also 
> > crashes with the same error.
> 
> For the archives:
> 
> Building wxwidgets with -O1 or -O0 and amule with -O0, the client
> doesn't crash. Everything else fails for me. Obviously, this is just
> hiding the real problem.

I updated yesterday the system to the latest snapshot + packages and
I've not seen any crash. Maybe the pthread or locale change fixed the
problem.

Thanks a lot guys!


-- 
Juan Francisco Cantero Hurtado http://juanfra.info



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Sebastian Reitenbach
CVSROOT:/cvs
Module name:ports
Changes by: sebas...@cvs.openbsd.org2017/09/07 15:17:18

Modified files:
x11/gnustep/laternamagica: Makefile distinfo 

Log message:
Minor update to 0.5



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Sebastian Reitenbach
CVSROOT:/cvs
Module name:ports
Changes by: sebas...@cvs.openbsd.org2017/09/07 15:13:15

Modified files:
x11/gnustep/ftp: Makefile distinfo 

Log message:
Minor Bugfix update to 0.6



Re: bacula build error on arm

2017-09-07 Thread Theo Buehler
On Thu, Sep 07, 2017 at 01:39:47PM -0700, Stephen Graf wrote:
> I tried to build the port for bacula on my orange pi one and got a long way
> into it before this happened:

[...]

> Using /usr/ports/pobj/Python-2.7.13/config.site (generated)

[...]

> configure: error: cannot run C compiled programs.

This looks like the usual python problem with W^X (check your dmesg).

Your /usr/ports/pobj should be on a partition mounted with the wxallowed
option, as explained in ports(7):

 /usr/ports/pobj  Build directories.  A number of insecurely coded
  ports require a dedicated file system with the
  wxallowed mount(8) option.



bacula build error on arm

2017-09-07 Thread Stephen Graf
I tried to build the port for bacula on my orange pi one and got a long way
into it before this happened:

 

===>  Configuring for Python-2.7.13

Using /usr/ports/pobj/Python-2.7.13/config.site (generated)

configure: WARNING: unrecognized options: --disable-silent-rules,
--disable-gtk-doc

configure: loading site script /usr/ports/pobj/Python-2.7.13/config.site

checking build system type... arm-unknown-openbsd6.2

checking host system type... arm-unknown-openbsd6.2

checking for --enable-universalsdk... no

checking for --with-universal-archs... 32-bit

checking MACHDEP... openbsd6

checking EXTRAPLATDIR...

checking for --without-gcc... no

checking for --with-icc... no

checking for gcc... cc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... configure: error: in
`/usr/ports/pobj/Python-2.7.13/Python-2.7.13':

configure: error: cannot run C compiled programs.

If you meant to cross compile, use `--host'.

See `config.log' for more details

*** Error 1 in /usr/ports/lang/python/2.7
(/usr/ports/infrastructure/mk/bsd.port.mk:2694
'/usr/ports/pobj/Python-2.7.13/.configure_done': @f...)

*** Error 1 in /usr/ports/lang/python/2.7
(/usr/ports/infrastructure/mk/bsd.port.mk:1940
'/usr/ports/packages/arm/all/python-2.7.13p2.tgz')

*** Error 1 in /usr/ports/lang/python/2.7
(/usr/ports/infrastructure/mk/bsd.port.mk:2441 '_internal-package')

*** Error 1 in /usr/ports/lang/python/2.7
(/usr/ports/infrastructure/mk/bsd.port.mk:2420 'package')

*** Error 1 in /usr/ports/lang/python/2.7
(/usr/ports/infrastructure/mk/bsd.port.mk:1958
'/var/db/pkg/python-2.7.13p2/+CONTENTS')

*** Error 1 in /usr/ports/lang/python/2.7
(/usr/ports/infrastructure/mk/bsd.port.mk:2420 'install')

*** Error 1 in /usr/ports/textproc/libxml
(/usr/ports/infrastructure/mk/bsd.port.mk:2075
'/usr/ports/pobj/libxml2-2.9.4/.dep-lang-python-2.7')

*** Error 1 in /usr/ports/textproc/libxml
(/usr/ports/infrastructure/mk/bsd.port.mk:2511
'/usr/ports/pobj/libxml2-2.9.4/.extract_done')

*** Error 1 in /usr/ports/textproc/libxml
(/usr/ports/infrastructure/mk/bsd.port.mk:1940
'/usr/ports/packages/arm/all/libxml-2.9.4p2.tgz')

*** Error 1 in /usr/ports/textproc/libxml
(/usr/ports/infrastructure/mk/bsd.port.mk:2441 '_internal-package')

*** Error 1 in /usr/ports/textproc/libxml
(/usr/ports/infrastructure/mk/bsd.port.mk:2420 'package')

*** Error 1 in /usr/ports/textproc/libxml
(/usr/ports/infrastructure/mk/bsd.port.mk:1958
'/var/db/pkg/libxml-2.9.4p2/+CONTENTS')

*** Error 1 in /usr/ports/textproc/libxml
(/usr/ports/infrastructure/mk/bsd.port.mk:2420 'install')

*** Error 1 in /usr/ports/textproc/docbook-xsl
(/usr/ports/infrastructure/mk/bsd.port.mk:2075
'/usr/ports/pobj/docbook-xsl-1.68.1/.dep-textproc-libxml')

*** Error 1 in /usr/ports/textproc/docbook-xsl
(/usr/ports/infrastructure/mk/bsd.port.mk:2511
'/usr/ports/pobj/docbook-xsl-1.68.1/.extract_done')

*** Error 1 in /usr/ports/textproc/docbook-xsl
(/usr/ports/infrastructure/mk/bsd.port.mk:1940
'/usr/ports/packages/arm/no-arch/docbook-xsl-1.68.1p5.tgz')

*** Error 1 in /usr/ports/textproc/docbook-xsl
(/usr/ports/infrastructure/mk/bsd.port.mk:2441 '_internal-package')

*** Error 1 in /usr/ports/textproc/docbook-xsl
(/usr/ports/infrastructure/mk/bsd.port.mk:2420 'package')

*** Error 1 in /usr/ports/textproc/docbook-xsl
(/usr/ports/infrastructure/mk/bsd.port.mk:1958
'/var/db/pkg/docbook-xsl-1.68.1p5/+CONTENTS')

*** Error 1 in /usr/ports/textproc/docbook-xsl
(/usr/ports/infrastructure/mk/bsd.port.mk:2420 'install')

*** Error 1 in /usr/ports/textproc/xmlto
(/usr/ports/infrastructure/mk/bsd.port.mk:2075
'/usr/ports/pobj/xmlto-0.0.28/.dep-textproc-docbook-xsl')

*** Error 1 in /usr/ports/textproc/xmlto
(/usr/ports/infrastructure/mk/bsd.port.mk:1960
'/var/db/pkg/xmlto-0.0.28/+CONTENTS')

*** Error 1 in /usr/ports/textproc/xmlto
(/usr/ports/infrastructure/mk/bsd.port.mk:2420 'install')

*** Error 1 in /usr/ports/x11/dbus
(/usr/ports/infrastructure/mk/bsd.port.mk:2075
'/usr/ports/pobj/dbus-1.10.22/.dep-textproc-xmlto')

*** Error 1 in /usr/ports/x11/dbus
(/usr/ports/infrastructure/mk/bsd.port.mk:2511
'/usr/ports/pobj/dbus-1.10.22/.extract_done')

*** Error 1 in /usr/ports/x11/dbus
(/usr/ports/infrastructure/mk/bsd.port.mk:1940
'/usr/ports/packages/arm/all/dbus-1.10.22v0.tgz')

*** Error 1 in /usr/ports/x11/dbus
(/usr/ports/infrastructure/mk/bsd.port.mk:2441 '_internal-package')

*** Error 1 in /usr/ports/x11/dbus
(/usr/ports/infrastructure/mk/bsd.port.mk:2420 'package')

*** Error 1 in /usr/ports/x11/dbus
(/usr/ports/infrastructure/mk/bsd.port.mk:1958
'/var/db/pkg/dbus-1.10.22v0/+CONTENTS')

*** Error 1 in /usr/ports/x11/dbus
(/usr/ports/infrastructure/mk/bsd.port.mk:2420 'install')

*** Error 1 in /usr/ports/x11/qt4
(/usr/ports/infrastructure/mk/bsd.port.mk:2075
'/usr/ports/pobj/qt4-4.8.7/.dep-x11-dbus')

*** Error 1 in /usr/ports/x11/qt4

Re: sysutils/sleuthkit: why CONFIGURE_STYLE=simple?

2017-09-07 Thread Stuart Henderson
On 2017/09/07 19:45, ni...@openbsd.org wrote:
> 
> Attached update to version 4.4.2
> 
> Switch CONFIGURE_STYLE = gnu, to stop some bulk build failures.
> Remove need for cppunit.
> 
> Builds on amd64.
> 
> Ok?

I can't really comment on the sleuthkit update itself (did you check if
a library bump is needed?), but the autoconf bits are ok with me.



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/09/07 14:33:09

Modified files:
benchmarks/netperf: Makefile distinfo 

Log message:
netperf upstream moved to github



Re: UPDATE: archivers/libzip 1.2.0 => 1.3.0

2017-09-07 Thread Brian Callahan


On 09/07/17 09:01, Stuart Henderson wrote:

On 2017/09/03 17:58, Brian Callahan wrote:

Hi ports --

Attached is an update to libzip. One function was added to the library, so
minor bump.

Security:
* CVE-2017-12858: Fix double free().
* CVS-2017-14107: Improve EOCD64 parsing.

Other fixes:
* Improve file progress callback code
* Fix zip_fdopen()

OK?

~Brian

Index: Makefile
===
RCS file: /cvs/ports/archivers/libzip/Makefile,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 Makefile
--- Makefile6 Jul 2017 07:57:33 -   1.15
+++ Makefile3 Sep 2017 14:35:11 -
@@ -2,9 +2,9 @@
  
  COMMENT=		library for reading, creating and modifying zip archives
  
-DISTNAME=		libzip-1.2.0

+DISTNAME=  libzip-1.3.0
  CATEGORIES=   archivers
-SHARED_LIBS +=  zip  2.0  # 4.0
+SHARED_LIBS +=  zip  2.1  # 5.0
  
  HOMEPAGE=		https://www.nih.at/libzip/

  MAINTAINER=   Brian Callahan 
@@ -17,5 +17,6 @@ WANTLIB=  c z
  MASTER_SITES= ${HOMEPAGE}
  
  CONFIGURE_STYLE=	gnu

+CONFIGURE_ARGS=--without-bzip2
  
  .include 

Index: distinfo
===
RCS file: /cvs/ports/archivers/libzip/distinfo,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 distinfo
--- distinfo6 Jul 2017 07:57:33 -   1.9
+++ distinfo3 Sep 2017 14:35:11 -
@@ -1,2 +1,2 @@
-SHA256 (libzip-1.2.0.tar.gz) = bPmEDkJ9uW6/OTZmVDC6sgTJ670BIMMmRZB37ZyQfZ8=
-SIZE (libzip-1.2.0.tar.gz) = 1514966
+SHA256 (libzip-1.3.0.tar.gz) = qRk1D2g8phlN8KhWaYtHfangZBZmW4g/5PwjwORuY5g=
+SIZE (libzip-1.3.0.tar.gz) = 1544247
Index: patches/patch-src_ziptool_c
===
RCS file: patches/patch-src_ziptool_c
diff -N patches/patch-src_ziptool_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_ziptool_c 3 Sep 2017 14:35:11 -
@@ -0,0 +1,25 @@
+$OpenBSD$
+
+time_t == %lld
+
+Index: src/ziptool.c
+--- src/ziptool.c.orig
 src/ziptool.c
+@@ -519,7 +519,7 @@ set_file_mtime(int argc, char *argv[]) {
+ idx = strtoull(argv[0], NULL, 10);
+ mtime = (time_t)strtoull(argv[1], NULL, 10);
+ if (zip_file_set_mtime(za, idx, mtime, 0) < 0) {
+-  fprintf(stderr, "can't set file mtime at index '%" PRIu64 "' to '%ld': 
%s\n", idx, mtime, zip_strerror(za));
++  fprintf(stderr, "can't set file mtime at index '%" PRIu64 "' to '%lld': 
%s\n", idx, mtime, zip_strerror(za));

please cast mtime to (long long)


+   return -1;
+ }
+ return 0;
+@@ -539,7 +539,7 @@ set_file_mtime_all(int argc, char *argv[]) {
+ }
+ for (idx = 0; idx < (zip_uint64_t)num_entries; idx++) {
+   if (zip_file_set_mtime(za, idx, mtime, 0) < 0) {
+-  fprintf(stderr, "can't set file mtime at index '%" PRIu64 "' to '%ld': 
%s\n", idx, mtime, zip_strerror(za));
++  fprintf(stderr, "can't set file mtime at index '%" PRIu64 "' to '%lld': 
%s\n", idx, mtime, zip_strerror(za));
+   return -1;
+   }
+ }

same



Sure. OK?

~Brian

Index: Makefile
===
RCS file: /cvs/ports/archivers/libzip/Makefile,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 Makefile
--- Makefile	6 Jul 2017 07:57:33 -	1.15
+++ Makefile	7 Sep 2017 19:53:09 -
@@ -2,9 +2,9 @@
 
 COMMENT=		library for reading, creating and modifying zip archives
 
-DISTNAME=		libzip-1.2.0
+DISTNAME=		libzip-1.3.0
 CATEGORIES=		archivers
-SHARED_LIBS +=  zip  2.0  # 4.0
+SHARED_LIBS +=  zip  2.1  # 5.0
 
 HOMEPAGE=		https://www.nih.at/libzip/
 MAINTAINER=		Brian Callahan 
@@ -17,5 +17,6 @@ WANTLIB=		c z
 MASTER_SITES=		${HOMEPAGE}
 
 CONFIGURE_STYLE=	gnu
+CONFIGURE_ARGS=		--without-bzip2
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/archivers/libzip/distinfo,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 distinfo
--- distinfo	6 Jul 2017 07:57:33 -	1.9
+++ distinfo	7 Sep 2017 19:53:09 -
@@ -1,2 +1,2 @@
-SHA256 (libzip-1.2.0.tar.gz) = bPmEDkJ9uW6/OTZmVDC6sgTJ670BIMMmRZB37ZyQfZ8=
-SIZE (libzip-1.2.0.tar.gz) = 1514966
+SHA256 (libzip-1.3.0.tar.gz) = qRk1D2g8phlN8KhWaYtHfangZBZmW4g/5PwjwORuY5g=
+SIZE (libzip-1.3.0.tar.gz) = 1544247
Index: patches/patch-src_ziptool_c
===
RCS file: patches/patch-src_ziptool_c
diff -N patches/patch-src_ziptool_c
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-src_ziptool_c	7 Sep 2017 19:53:09 -
@@ -0,0 +1,25 @@
+$OpenBSD$
+
+time_t == %lld
+
+Index: src/ziptool.c
+--- src/ziptool.c.orig
 src/ziptool.c
+@@ -519,7 +519,7 @@ set_file_mtime(int argc, char *argv[]) {
+ idx = strtoull(argv[0], NULL, 10);
+ mtime = (time_t)strtoull(argv[1], NULL, 10);
+  

UPDATE: SMPlayer-17.9.0

2017-09-07 Thread Gonzalo L. Rodriguez
Hello,

Update for SMPlayer to 17.9.0:

*Now it's possible to the search for subtitles using the filename
 instead of a hash.
*Fix for the OSD when using SMPlayer with mpv 0.26.

Ok? Comments?

Cheers.-


-- 
Sending from my toaster.
Index: Makefile
===
RCS file: /cvs/ports/x11/smplayer/Makefile,v
retrieving revision 1.39
diff -u -p -r1.39 Makefile
--- Makefile11 Aug 2017 18:49:13 -  1.39
+++ Makefile7 Sep 2017 19:47:50 -
@@ -2,7 +2,7 @@
 
 COMMENT =  complete front-end for MPlayer
 
-DISTNAME = smplayer-17.8.0
+DISTNAME = smplayer-17.9.0
 
 CATEGORIES =   multimedia x11
 
Index: distinfo
===
RCS file: /cvs/ports/x11/smplayer/distinfo,v
retrieving revision 1.26
diff -u -p -r1.26 distinfo
--- distinfo11 Aug 2017 18:49:13 -  1.26
+++ distinfo7 Sep 2017 19:47:50 -
@@ -1,2 +1,2 @@
-SHA256 (smplayer-17.8.0.tar.bz2) = cHkOvbkbJbQpMhKYfGQihYGcj87Uur8d6lSybY/7p2o=
-SIZE (smplayer-17.8.0.tar.bz2) = 5054096
+SHA256 (smplayer-17.9.0.tar.bz2) = KvAJC5YHrKzhsnX5NJpQZF94T3LMC9ZFSwJRXpkpKGk=
+SIZE (smplayer-17.9.0.tar.bz2) = 5011073


Re: sysutils/sleuthkit: why CONFIGURE_STYLE=simple?

2017-09-07 Thread nigel
On 09/06/17 22:01, ni...@openbsd.org wrote:
> On 09/06/17 11:34, Stuart Henderson wrote:
>> I just ran into this...
>>
>> ===>  Configuring for sleuthkit-4.3.0p0
>> checking for a BSD-compatible install... 
>> /usr/obj/ports/sleuthkit-4.3.0/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
>> [..snip..]
>> Making install in auto
>>  /usr/local/bin/gmkdir -p 
>> '/usr/obj/ports/sleuthkit-4.3.0/fake-i386/usr/local/lib'
>> /bin/sh: /usr/local/bin/gmkdir: not found
>>
>> ...which shows that it's not using CONFIGURE_STYLE=gnu.
>>
>> Is there a reason why?
>>
>>
> 
> naddy already asked me the same question to which the reply was I took
> it over like that, and someone else did the last update, it has been
> fixed once I catch up with libc / pthread I have this prepared below
> this bring it upto date with latest found by portroach.
> 
> It's one of the next lot of portroach updates - socat, tcpreplay once
> those already posted to ports@ have been ok'd and cleared
> 
> $ ident Makefile
> Makefile:
>  $OpenBSD: Makefile,v 1.21 2017/07/26 22:45:30 sthen Exp $
> 
> $ cvs -R -q diff -uNp | head -30
> Index: Makefile
> ===
> RCS file: /home/cvs/ports/sysutils/sleuthkit/Makefile,v
> retrieving revision 1.21
> diff -u -p -r1.21 Makefile
> --- Makefile26 Jul 2017 22:45:30 -  1.21
> +++ Makefile29 Aug 2017 21:30:52 -
> @@ -2,9 +2,8 @@
> 
>  COMMENT=   forensic toolkit based on TCT
> 
> -DISTNAME=  sleuthkit-4.3.0
> +DISTNAME=  sleuthkit-4.4.2
>  CATEGORIES=sysutils security
> -REVISION=  0
> 
>  SHARED_LIBS += tsk 0.0 # 14.0
> 
> @@ -18,17 +17,19 @@ PERMIT_PACKAGE_FTP= Yes
> 
>  MASTER_SITES =
> https://github.com/sleuthkit/sleuthkit/releases/download/${DISTNAME}/
> 
> -WANTLIB += c m pthread ${COMPILER_LIBCXX} z
> +WANTLIB += c m pthread ${COMPILER_LIBCXX} sqlite3 z
> 
> -CONFIGURE_STYLE =  simple
> +CONFIGURE_STYLE =  gnu
> 
>  CONFIGURE_ARGS +=  --mandir='${PREFIX}/man' \
> --disable-java \
> 
> ...
> $ make show=MAINTAINER
> Nigel Taylor 
> 
> 

Attached update to version 4.4.2

Switch CONFIGURE_STYLE = gnu, to stop some bulk build failures.
Remove need for cppunit.

Builds on amd64.

Ok?


Index: Makefile
===
RCS file: /home/cvs/ports/sysutils/sleuthkit/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- Makefile	26 Jul 2017 22:45:30 -	1.21
+++ Makefile	29 Aug 2017 21:30:52 -
@@ -2,9 +2,8 @@
 
 COMMENT=		forensic toolkit based on TCT
 
-DISTNAME=		sleuthkit-4.3.0
+DISTNAME=		sleuthkit-4.4.2
 CATEGORIES=		sysutils security
-REVISION=		0
 
 SHARED_LIBS +=		tsk	0.0 # 14.0
 
@@ -18,17 +17,19 @@ PERMIT_PACKAGE_FTP=	Yes
 
 MASTER_SITES =		https://github.com/sleuthkit/sleuthkit/releases/download/${DISTNAME}/
 
-WANTLIB += 		c m pthread ${COMPILER_LIBCXX} z
+WANTLIB += 		c m pthread ${COMPILER_LIBCXX} sqlite3 z
 
-CONFIGURE_STYLE =	simple
+CONFIGURE_STYLE =	gnu
 
 CONFIGURE_ARGS += 	--mandir='${PREFIX}/man' \
 			--disable-java \
 			--without-afflib \
 			--without-libewf
 
-BUILD_DEPENDS=		devel/cppunit
+CONFIGURE_ENV =		ac_cv_path_CPPUNIT_CONFIG=no
+
 RUN_DEPENDS=		converters/p5-DateManip
+LIB_DEPENDS =		databases/sqlite3
 
 NO_TEST =		Yes
 
Index: distinfo
===
RCS file: /home/cvs/ports/sysutils/sleuthkit/distinfo,v
retrieving revision 1.11
diff -u -p -r1.11 distinfo
--- distinfo	10 Oct 2016 18:58:38 -	1.11
+++ distinfo	29 Aug 2017 21:15:44 -
@@ -1,2 +1,2 @@
-SHA256 (sleuthkit-4.3.0.tar.gz) = mJxpGD5Le+w3NGQlOIAs3KvjRqbcrTHN5F7ry5v8GR8=
-SIZE (sleuthkit-4.3.0.tar.gz) = 8539568
+SHA256 (sleuthkit-4.4.2.tar.gz) = E1lkRj9LClj82V/fcxiB/Nby8ifuuP+sAEiAyOTY3VM=
+SIZE (sleuthkit-4.4.2.tar.gz) = 8572974
Index: pkg/PLIST
===
RCS file: /home/cvs/ports/sysutils/sleuthkit/pkg/PLIST,v
retrieving revision 1.8
diff -u -p -r1.8 PLIST
--- pkg/PLIST	10 Oct 2016 18:58:38 -	1.8
+++ pkg/PLIST	29 Aug 2017 21:21:20 -
@@ -33,10 +33,11 @@ bin/sorter
 @bin bin/tsk_gettimes
 @bin bin/tsk_loaddb
 @bin bin/tsk_recover
+@bin bin/usnjls
 include/tsk/
 include/tsk/auto/
-include/tsk/auto/sqlite3.h
 include/tsk/auto/tsk_auto.h
+include/tsk/auto/tsk_is_image_supported.h
 include/tsk/base/
 include/tsk/base/tsk_base.h
 include/tsk/base/tsk_os.h
@@ -94,6 +95,7 @@ lib/libtsk.la
 @man man/man1/tsk_gettimes.1
 @man man/man1/tsk_loaddb.1
 @man man/man1/tsk_recover.1
+@man man/man1/usnjls.1
 share/tsk/
 share/tsk/sorter/
 share/tsk/sorter/default.sort


Re: Update: graphics/dpic 2014.01.01 -> 2017.08.01

2017-09-07 Thread Nigel Taylor
On 08/27/17 23:27, Nigel Taylor wrote:
> On 08/23/17 22:47, Nigel Taylor wrote:
>> On 08/23/17 20:58, Nigel Taylor wrote:
>>> Hasn't been updated in a while.
>>>
>>> patched for clang
>>> tests added, by running all examples, requires manual checks of results
>>> afterwards.
>>>
>>> Tried only on amd64.
>>>
>>> Ok?
>>>
>>>
>> Missed the attachment again.
>>
> Ok?
> 
> 

Ping



Re: Maintainer Update multimedia/get_flash_videos 1.25.93 -> 1.25.94

2017-09-07 Thread nigel
On 08/27/17 23:26, ni...@openbsd.org wrote:
> On 08/23/17 20:21, ni...@openbsd.org wrote:
>> Update to fix issues 212, 215 and change some old url's.
>>
>> Home page changed to github home page.
>>
>> Ok?
>>
> 
> Ok?
> 
> 
Ping



UPDATE: Gource-0.46

2017-09-07 Thread Gonzalo L. Rodriguez
Hello,

Small update for Gource to 0.46:


*Added --screen option.
*Added --window-position XxY option.
*Added --frameless option.
*Added --file-show-filter REGEX option (swoogles).
*Added --filename-time and filename-colour options (gh2k).
*Improved handling of very low seconds-per-day values (malengrin).
*Fixed crash when SVN log lacks author information (obarthel).
*Additional git log command validation (cym13).
*Allow lower case hex colours in custom logs (HSorensen).
*Now requires SDL 2 to build (deprecated SDL 1.2 support removed).

Ok? Comments?

Cheers.-

-- 
Sending from my toaster.
Index: Makefile
===
RCS file: /cvs/ports/sysutils/gource/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile26 Jul 2017 22:45:30 -  1.13
+++ Makefile7 Sep 2017 19:20:40 -
@@ -2,10 +2,9 @@
 
 COMMENT =  software version control visualization tool
 
-DISTNAME = gource-0.44
+DISTNAME = gource-0.46
 CATEGORIES =   sysutils graphics
 HOMEPAGE = http://gource.io/
-REVISION = 0
 
 MAINTAINER =   Gonzalo L. R. 
 
Index: distinfo
===
RCS file: /cvs/ports/sysutils/gource/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo2 May 2017 03:43:33 -   1.4
+++ distinfo7 Sep 2017 19:20:40 -
@@ -1,2 +1,2 @@
-SHA256 (gource-0.44.tar.gz) = JgTKREIwX/3Fuxp7rAfiI9WchG+TVnvgZ+jf4vQvCXw=
-SIZE (gource-0.44.tar.gz) = 875131
+SHA256 (gource-0.46.tar.gz) = mq/cBy5FCJkJZdokbKF6uUxpN2SQML9J3jcRJvyEed0=
+SIZE (gource-0.46.tar.gz) = 876639


CVS: cvs.openbsd.org: ports

2017-09-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2017/09/07 13:24:28

Modified files:
geo/libchamplain: Makefile distinfo 
geo/libchamplain/pkg: PLIST 

Log message:
update to libchamplain-0.12.16



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2017/09/07 13:23:03

Modified files:
lang/vala  : Makefile distinfo 

Log message:
update to vala-0.36.5



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Nigel Taylor
CVSROOT:/cvs
Module name:ports
Changes by: ni...@cvs.openbsd.org   2017/09/07 13:15:19

Modified files:
www/p5-LWP-Protocol-https: Makefile distinfo 

Log message:
Update version to 6.07
Ok bluhm@



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Nigel Taylor
CVSROOT:/cvs
Module name:ports
Changes by: ni...@cvs.openbsd.org   2017/09/07 13:11:36

Modified files:
www/p5-HTTP-Message: Makefile distinfo 
www/p5-HTTP-Message/pkg: PLIST 

Log message:
Update to version 6.13
Ok bluhm@



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Nigel Taylor
CVSROOT:/cvs
Module name:ports
Changes by: ni...@cvs.openbsd.org   2017/09/07 13:07:38

Modified files:
net/p5-Net-HTTP: Makefile distinfo 
net/p5-Net-HTTP/pkg: PLIST 

Log message:
Update to 1.17
1.17 is a minor fix to tests only source changes checked and no changes.
Ok bluhm@ for 1.16



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Nigel Taylor
CVSROOT:/cvs
Module name:ports
Changes by: ni...@cvs.openbsd.org   2017/09/07 12:58:40

Modified files:
net/p5-IO-Socket-Socks: Makefile distinfo 

Log message:
Update to 0.74
Ok bluhm@



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Nigel Taylor
CVSROOT:/cvs
Module name:ports
Changes by: ni...@cvs.openbsd.org   2017/09/07 12:54:07

Modified files:
multimedia/p5-Storable-AMF: Makefile distinfo 

Log message:
Update to version 1.23
Ok bluhm@



[update] various go-* packages

2017-09-07 Thread Joel Sing
This brings security/go-crypto, net/go-net, textproc/go-text and
devel/go-tools up to versions that match the time of the Go 1.9
release. This depends on the new devel/go-sys package.

It is worth noting that some of the SSH related regress tests fail,
however these also fail on the current versions - I've not had time
to dig into the issue, however I suspect it is due to feature removal
within OpenSSH itself.

ok?

Index: security/go-crypto/Makefile
===
RCS file: /cvs/ports/security/go-crypto/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- security/go-crypto/Makefile 23 Feb 2017 16:01:09 -  1.4
+++ security/go-crypto/Makefile 28 Aug 2017 16:59:41 -
@@ -1,10 +1,10 @@
 # $OpenBSD: Makefile,v 1.4 2017/02/23 16:01:09 jsing Exp $
 
 COMMENT =  Go supplementary cryptography libraries
-DISTNAME = go-crypto-20170201
+DISTNAME = go-crypto-20170824
 GH_ACCOUNT =   golang
 GH_PROJECT =   crypto
-GH_COMMIT =dc137beb6cce2043eb6b5f223ab8bf51c32459f4
+GH_COMMIT =eb71ad9bd329b5ac0fd0148dd99bd62e8be8e035
 CATEGORIES =   security devel
 
 HOMEPAGE = https://godoc.org/golang.org/x/crypto
@@ -20,10 +20,12 @@ MODULES =   lang/go
 
 MODGO_TYPE =   lib
 
-# The acme and acme\autocert packages are not currently enabled, since
-# there is now a lovely circular dependency with the go-net package...
+BUILD_DEPENDS = devel/go-sys
+
 _MAIN =golang.org/x/crypto
-_SUBPKGS = bcrypt \
+_SUBPKGS = acme \
+   acme/autocert \
+   bcrypt \
blake2b \
blake2s \
blowfish \
@@ -31,11 +33,13 @@ _SUBPKGS =  bcrypt \
cast5 \
chacha20poly1305 \
chacha20poly1305/internal/chacha20 \
+   cryptobyte \
curve25519 \
ed25519 \
ed25519/internal/edwards25519 \
hkdf \
md4 \
+   nacl/auth \
nacl/box \
nacl/secretbox \
ocsp \
@@ -58,12 +62,14 @@ _SUBPKGS =  bcrypt \
sha3 \
ssh \
ssh/agent \
+   ssh/knownhosts \
ssh/terminal \
ssh/test \
tea \
twofish \
xtea \
xts
+
 ALL_TARGET =   ${_SUBPKGS:%=${_MAIN}/%}
 WRKSRC =   ${MODGO_WORKSPACE}/src/${_MAIN}
 
Index: security/go-crypto/distinfo
===
RCS file: /cvs/ports/security/go-crypto/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- security/go-crypto/distinfo 6 May 2017 15:10:18 -   1.4
+++ security/go-crypto/distinfo 28 Aug 2017 16:59:41 -
@@ -1,2 +1,2 @@
-SHA256 (go-crypto-20170201-dc137beb.tar.gz) = 
AjKECpRv0MZlnrw/c9CgKTc/OlWGt/0s1ya9Wm2hEfg=
-SIZE (go-crypto-20170201-dc137beb.tar.gz) = 1306030
+SHA256 (go-crypto-20170824-eb71ad9b.tar.gz) = 
R1YFeAE+zIP+QS9ZVYWSNAUm6caUiQyxcoGKrKuIx+A=
+SIZE (go-crypto-20170824-eb71ad9b.tar.gz) = 1431301
Index: security/go-crypto/pkg/PLIST
===
RCS file: /cvs/ports/security/go-crypto/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- security/go-crypto/pkg/PLIST23 Feb 2017 16:01:09 -  1.3
+++ security/go-crypto/pkg/PLIST28 Aug 2017 16:59:41 -
@@ -5,6 +5,9 @@ ${MODGO_PACKAGES}/
 ${MODGO_PACKAGES}/golang.org/
 ${MODGO_PACKAGES}/golang.org/x/
 ${MODGO_PACKAGES}/golang.org/x/crypto/
+${MODGO_PACKAGES}/golang.org/x/crypto/acme/
+${MODGO_PACKAGES}/golang.org/x/crypto/acme.a
+${MODGO_PACKAGES}/golang.org/x/crypto/acme/autocert.a
 ${MODGO_PACKAGES}/golang.org/x/crypto/bcrypt.a
 ${MODGO_PACKAGES}/golang.org/x/crypto/blake2b.a
 ${MODGO_PACKAGES}/golang.org/x/crypto/blake2s.a
@@ -15,6 +18,7 @@ ${MODGO_PACKAGES}/golang.org/x/crypto/ch
 ${MODGO_PACKAGES}/golang.org/x/crypto/chacha20poly1305.a
 ${MODGO_PACKAGES}/golang.org/x/crypto/chacha20poly1305/internal/
 ${MODGO_PACKAGES}/golang.org/x/crypto/chacha20poly1305/internal/chacha20.a
+${MODGO_PACKAGES}/golang.org/x/crypto/cryptobyte.a
 ${MODGO_PACKAGES}/golang.org/x/crypto/curve25519.a
 ${MODGO_PACKAGES}/golang.org/x/crypto/ed25519/
 ${MODGO_PACKAGES}/golang.org/x/crypto/ed25519.a
@@ -23,6 +27,7 @@ ${MODGO_PACKAGES}/golang.org/x/crypto/ed
 ${MODGO_PACKAGES}/golang.org/x/crypto/hkdf.a
 ${MODGO_PACKAGES}/golang.org/x/crypto/md4.a
 ${MODGO_PACKAGES}/golang.org/x/crypto/nacl/
+${MODGO_PACKAGES}/golang.org/x/crypto/nacl/auth.a
 ${MODGO_PACKAGES}/golang.org/x/crypto/nacl/box.a
 ${MODGO_PACKAGES}/golang.org/x/crypto/nacl/secretbox.a
 ${MODGO_PACKAGES}/golang.org/x/crypto/ocsp.a
@@ -50,6 +55,7 @@ ${MODGO_PACKAGES}/golang.org/x/crypto/sh
 ${MODGO_PACKAGES}/golang.org/x/crypto/ssh/
 ${MODGO_PACKAGES}/golang.org/x/crypto/ssh.a
 ${MODGO_PACKAGES}/golang.org/x/crypto/ssh/agent.a

[new] devel/go-sys

2017-09-07 Thread Joel Sing
Attached is a new port - devel/go-sys - which provides the golang.org/x/sys 
package. This is needed by the next security/go-crypto update.

ok?

P.S. This currently fails to pass regress on i386, due to a mmap test failure 
(this is a kernel/uvm issue, not an issue with the package) - this should 
ideally be fixed on i386, however if it is not I'll patch the port 
appropriately.

go-sys.tar.gz
Description: application/compressed-tar


CVS: cvs.openbsd.org: ports

2017-09-07 Thread Jeremy Evans
CVSROOT:/cvs
Module name:ports
Changes by: jer...@cvs.openbsd.org  2017/09/07 11:32:16

Modified files:
lang/ruby/2.2  : Tag: OPENBSD_6_1 Makefile distinfo 
lang/ruby/2.3  : Tag: OPENBSD_6_1 Makefile distinfo 
lang/ruby/2.4  : Tag: OPENBSD_6_1 Makefile distinfo 

Log message:
Apply rubygems 2.6.13 security patches from upstream



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Jeremy Evans
CVSROOT:/cvs
Module name:ports
Changes by: jer...@cvs.openbsd.org  2017/09/07 11:29:59

Modified files:
lang/ruby/2.1  : Tag: OPENBSD_6_1 Makefile 
Added files:
lang/ruby/2.1/patches: Tag: OPENBSD_6_1 
   patch-lib_rubygems_commands_query_command_rb 
   patch-lib_rubygems_installer_rb 
   patch-lib_rubygems_remote_fetcher_rb 
   patch-lib_rubygems_specification_rb 
   patch-lib_rubygems_text_rb 

Log message:
Apply rubygems 2.6.13 security patches



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Jeremy Evans
CVSROOT:/cvs
Module name:ports
Changes by: jer...@cvs.openbsd.org  2017/09/07 11:26:48

Modified files:
devel/ruby-gems: Tag: OPENBSD_6_1 Makefile 
devel/ruby-gems/patches: Tag: OPENBSD_6_1 
 patch-lib_rubygems_commands_setup_command_rb 
 patch-lib_rubygems_specification_rb 
Added files:
devel/ruby-gems/patches: Tag: OPENBSD_6_1 
 patch-lib_rubygems_commands_query_command_rb 
 patch-lib_rubygems_installer_rb 
 patch-lib_rubygems_text_rb 

Log message:
Backport rubygems 2.6.13 security patches to rubygems 1.8.24.



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Jeremy Evans
CVSROOT:/cvs
Module name:ports
Changes by: jer...@cvs.openbsd.org  2017/09/07 11:22:47

Modified files:
lang/jruby : Tag: OPENBSD_6_1 Makefile 
Added files:
lang/jruby/patches: Tag: OPENBSD_6_1 

patch-lib_ruby_stdlib_rubygems_commands_open_command_rb 

patch-lib_ruby_stdlib_rubygems_commands_query_command_rb 

patch-lib_ruby_stdlib_rubygems_commands_sources_command_rb 
patch-lib_ruby_stdlib_rubygems_dependency_list_rb 
patch-lib_ruby_stdlib_rubygems_installer_rb 
patch-lib_ruby_stdlib_rubygems_platform_rb 
patch-lib_ruby_stdlib_rubygems_rb 
patch-lib_ruby_stdlib_rubygems_remote_fetcher_rb 
patch-lib_ruby_stdlib_rubygems_specification_rb 
patch-lib_ruby_stdlib_rubygems_test_case_rb 
patch-lib_ruby_stdlib_rubygems_text_rb 

Log message:
Apply rubygems 2.6.13 security patches



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/09/07 10:57:51

Modified files:
graphics/GraphicsMagick: Makefile distinfo 
graphics/GraphicsMagick/patches: patch-configure 
graphics/GraphicsMagick/pkg: PLIST 

Log message:
update to GraphicsMagick-1.3.26, from Brad.

CVE-2016-7800, CVE-2016-7997, CVE-2016-9830, CVE-2017-6335, CVE-2017-8350,
CVE-2017-10794, CVE-2017-10799, CVE-2017-10800



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Giovanni Bechis
CVSROOT:/cvs
Module name:ports
Changes by: giova...@cvs.openbsd.org2017/09/07 10:52:55

Modified files:
net/p5-IP-Country: Makefile distinfo 
Added files:
net/p5-IP-Country/patches: patch-dbmScripts_ipcc_loader_pl 
   patch-dbmScripts_ipcc_maker_pl 
   patch-dbmScripts_whois_filenames 

Log message:
Update country database, upstream provides a database from 2013
add an additional target to recreate the database
take maintainership
ok and hints sthen@




CVS: cvs.openbsd.org: ports

2017-09-07 Thread Giovanni Bechis
CVSROOT:/cvs
Module name:ports
Changes by: giova...@cvs.openbsd.org2017/09/07 10:50:36

ports/net/p5-IP-Country/patches

Update of /cvs/ports/net/p5-IP-Country/patches
In directory cvs.openbsd.org:/tmp/cvs-serv36461/patches

Log Message:
Directory /cvs/ports/net/p5-IP-Country/patches added to the repository



Re: update: net/p5-IP-Country

2017-09-07 Thread Stuart Henderson
On 2017/09/07 16:15, Giovanni Bechis wrote:
> On 09/07/17 15:21, Stuart Henderson wrote:
> > On 2017/09/07 12:05, Giovanni Bechis wrote:
> >> Index: files/cc.gif
> >> ===
> >> RCS file: files/cc.gif
> >> diff -N files/cc.gif
> >> Binary files /dev/null and cc.gif differ
> >> Index: files/ip.gif
> >> ===
> >> RCS file: files/ip.gif
> >> diff -N files/ip.gif
> >> Binary files /dev/null and ip.gif differ
> > 
> > I'm not a fan of binaries in ${FILESDIR}.. Can you upload them
> > somewhere to use as an extra distfile instead like we do for
> > geolite, the mac address database, etc, please? (Or someone else
> > could host them, but that gets annoying when you want to update it!).
> > 
> 
> What about that ?
>  Cheers
>   Giovanni

Oh, please just use cp to copy into WRKSRC, INSTALL_DATA is for the
install stage.. Otherwise OK.



Re: x11/wxWidgets 3.0.3.1 update

2017-09-07 Thread Giovanni Bechis
On 09/07/17 15:00, Stuart Henderson wrote:
> On 2017/09/07 12:45, Jérôme KASPER wrote:
>> Hi ports,
>>
>> attached an update to wxWidgets 3.0.3.1 .
>>
>> improvements :
>> - Switch to github 
>> - unified package instead of -main, -media
>> - dependancies upgraded to GTK+3 , SDL2 and gstreamer1
>>
>> built on AMD64. This is my first port work so there might be mistakes 
>> lasting.
>> Any comments welcome.
>>
>> Best regards,
>> Jerome KASPER
> 
> You picked a bit of a challenge for first ports work, I think!
> 
> A number of other ports use wxWidgets and would need testing with the
> update:
> 
...
> .. there are quite a few changes compared to 2.x (see
> http://docs.wxwidgets.org/3.0.0/overview_changes_since28.html)
> so my understanding is that it's likely to need work on the ports
> using it.
> 
maybe it could be worth adding a new wxwidgets3 port and then switch some ports 
to the new version

> (Also note we're gearing up to release now, it's definitely too late
> for a change like this, or even spending much time looking at it,
> until after 6.2 is done).
> 
to be done after 6.2 definitely
 Giovanni



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/09/07 10:19:08

Modified files:
mail/neomutt   : Makefile distinfo 
mail/neomutt/patches: patch-main_c patch-mutt_sasl_c 
  patch-mutt_sasl_h 
mail/neomutt/pkg: PLIST 
Added files:
mail/neomutt/patches: patch-newsrc_c 

Log message:
update to neomutt-20170907



Re: update: net/p5-IP-Country

2017-09-07 Thread Giovanni Bechis
On 09/07/17 15:21, Stuart Henderson wrote:
> On 2017/09/07 12:05, Giovanni Bechis wrote:
>> Index: files/cc.gif
>> ===
>> RCS file: files/cc.gif
>> diff -N files/cc.gif
>> Binary files /dev/null and cc.gif differ
>> Index: files/ip.gif
>> ===
>> RCS file: files/ip.gif
>> diff -N files/ip.gif
>> Binary files /dev/null and ip.gif differ
> 
> I'm not a fan of binaries in ${FILESDIR}.. Can you upload them
> somewhere to use as an extra distfile instead like we do for
> geolite, the mac address database, etc, please? (Or someone else
> could host them, but that gets annoying when you want to update it!).
> 

What about that ?
 Cheers
  Giovanni
Index: Makefile
===
RCS file: /var/cvs/ports/net/p5-IP-Country/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile	20 Mar 2016 19:56:51 -	1.9
+++ Makefile	7 Sep 2017 16:13:24 -
@@ -4,13 +4,30 @@ COMMENT= 	fast lookup of country codes b
 
 MODULES=	cpan
 PKG_ARCH=	*
+D=		20170907
 DISTNAME=	IP-Country-2.28
+PKGNAME=	p5-${DISTNAME}.$D
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
+		IP-Country-data-$D.tar.bz2:0
+
 CATEGORIES=	net
-REVISION=	0
+
+MAINTAINER =	Giovanni Bechis <giova...@openbsd.org>
 
 # Artistic
 PERMIT_PACKAGE_CDROM=	Yes
 
+MASTER_SITES0 =		https://paclan.it/distfiles/
+
 RUN_DEPENDS =		geo/p5-Geography-Countries
+
+post-patch:
+	${SUBST_CMD} ${WRKSRC}/dbmScripts/ipcc_maker.pl
+	${INSTALL_DATA} ${WRKDIR}/data/*.gif ${WRKSRC}/lib/IP/Country/Fast/
+
+# maintainer convenience target
+updatedb:
+	cd ${WRKSRC}/dbmScripts && sh whois_filenames \
+		&& perl ipcc_loader.pl && perl ipcc_maker.pl 
 
 .include 
Index: distinfo
===
RCS file: /var/cvs/ports/net/p5-IP-Country/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo	17 Nov 2013 04:02:58 -	1.3
+++ distinfo	7 Sep 2017 16:10:29 -
@@ -1,2 +1,4 @@
 SHA256 (IP-Country-2.28.tar.gz) = iNuDOlqyLtBstT1vIFcl47U3GyVFlgU3OIhekfoQX3U=
+SHA256 (IP-Country-data-20170907.tar.bz2) = ZQuOCMnbwEXzMAj21R9pfOxtU33o+Yww1xqDcY/A+pc=
 SIZE (IP-Country-2.28.tar.gz) = 296585
+SIZE (IP-Country-data-20170907.tar.bz2) = 386248
Index: patches/patch-dbmScripts_ipcc_loader_pl
===
RCS file: patches/patch-dbmScripts_ipcc_loader_pl
diff -N patches/patch-dbmScripts_ipcc_loader_pl
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-dbmScripts_ipcc_loader_pl	7 Sep 2017 09:12:59 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: dbmScripts/ipcc_loader.pl
+--- dbmScripts/ipcc_loader.pl.orig
 dbmScripts/ipcc_loader.pl
+@@ -70,7 +70,7 @@ read_reg('delegated-afrinic-latest');
+ read_reg('delegated-lacnic-latest');
+ read_reg('delegated-apnic-latest');
+ read_ripe();
+-read_reg('delegated-arin-latest');
++read_reg('delegated-arin-extended-latest');
+ 
+ join_neighbours();
+ punch_holes();
Index: patches/patch-dbmScripts_ipcc_maker_pl
===
RCS file: patches/patch-dbmScripts_ipcc_maker_pl
diff -N patches/patch-dbmScripts_ipcc_maker_pl
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-dbmScripts_ipcc_maker_pl	7 Sep 2017 16:05:29 -
@@ -0,0 +1,23 @@
+$OpenBSD$
+
+Index: dbmScripts/ipcc_maker.pl
+--- dbmScripts/ipcc_maker.pl.orig
 dbmScripts/ipcc_maker.pl
+@@ -31,7 +31,7 @@ close REG || warn("can't close $reg_file, but continui
+ 
+ 
+ print "Saving ultralite IP registry to disk\n";
+-my $ip = new IO::File "> ../lib/IP/Country/Fast/ip.gif";
++my $ip = new IO::File "> ${WRKDIR}/data/ip.gif";
+ if (defined $ip) {
+ binmode $ip;
+ print $ip pack("N",time()); # returned by $obj->db_time()
+@@ -44,7 +44,7 @@ if (defined $ip) {
+ 
+ print "Saving ultralite country database to disk\n";
+ 
+-open (CC, "> ../lib/IP/Country/Fast/cc.gif")
++open (CC, "> ${WRKDIR}/data/cc.gif")
+ or die ("couldn't create country database: $!");
+ binmode CC;
+ foreach my $country (sort $tree->get_countries()){
Index: patches/patch-dbmScripts_whois_filenames
===
RCS file: patches/patch-dbmScripts_whois_filenames
diff -N patches/patch-dbmScripts_whois_filenames
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-dbmScripts_whois_filenames	6 Sep 2017 16:46:59 -
@@ -0,0 +1,12 @@
+$OpenBSD$
+
+Index: dbmScripts/whois_filenames
+--- dbmScripts/whois_filenames.orig
 dbmScripts/whois_filenames
+@@ -2,5 +2,5 @@
+ ftp ftp://ftp.ripe.net/ripe/dbase/split/ripe.db.inetnum.gz && gunzip ripe.db.inetnum.gz
+ ftp ftp://ftp.ripe.net/pub/stats/afrinic

Re: fail2ban port - looking for testers!

2017-09-07 Thread Ghost Squad 57
Hehe, yeah sorry about giving a Mega link, wasn't sure why I though that
would be a could way to distribute it.

I'll attach it to this email.

On Thu, Sep 7, 2017 at 9:02 AM, Stuart Henderson 
wrote:

> On 2017/09/07 04:27, Keith Henderson Jr wrote:
> > Here's a link to the package:
> > https://mega.nz/#!C8dSBbDb!am_Hj7MS1AOmzpxpufTOgo3Mhl6kZEHlsJLfhsatEj8
> >
>
> Attach a tar.gz of the port instead.
>
>


fail2ban.tar.gz
Description: GNU Zip compressed data


CVS: cvs.openbsd.org: ports

2017-09-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/09/07 10:03:34

Modified files:
mail/abook : Makefile 

Log message:
set CONFIGURE_STYLE=gnu, automake isn't needed and it's running into problems
trying to run autoheader during build.



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Robert Nagy
CVSROOT:/cvs
Module name:ports
Changes by: rob...@cvs.openbsd.org  2017/09/07 09:21:27

Log message:
import of the inteldrm port for creating the firmware package that includes
firmwares for i915/inteldrm

ok ajacoutot@

Status:

Vendor Tag: robert
Release Tags:   robert_20170907

N ports/sysutils/firmware/inteldrm/Makefile
N ports/sysutils/firmware/inteldrm/distinfo
N ports/sysutils/firmware/inteldrm/pkg/DESCR
N ports/sysutils/firmware/inteldrm/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2017-09-07 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/07 09:11:44

Modified files:
audio/ncmpcpp/patches: patch-src_curses_window_h 

Log message:
Add missing comment



Re: clang FFmpeg segfaults on i386 [st...@openbsd.org: CVS: cvs.openbsd.org: ports]

2017-09-07 Thread Stuart Henderson
On 2017/09/07 07:02, Jan Beich wrote:
> Stuart Henderson  writes:
> 
> [...]
> > So this works around the recently-reported hangs seen on amd64 but we
> > still have a segfault issue on i386 (I've only seen this so far when
> > decoding H264, though given the function other things may use it too).
> 
> Probably same as https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205958
> Update to FFmpeg 3.2+ or try the following patch.

Great - with that patch I can decode H264 without crashing.

I do then hit the problem with AAC encoding on i386 (which I *didn't*
hit before this change), whether it's built with base or ports clang,
but that's a less urgent problem.

So while it's not perfect I think this is preferable to the current
situation.

Brad: OK with this for now?

Index: Makefile
===
RCS file: /cvs/ports/graphics/ffmpeg/Makefile,v
retrieving revision 1.164
diff -u -p -r1.164 Makefile
--- Makefile4 Sep 2017 19:27:56 -   1.164
+++ Makefile7 Sep 2017 13:48:30 -
@@ -5,7 +5,7 @@ COMMENT=audio/video converter and strea
 V= 20170825
 DISTNAME=  ffmpeg-git-${V}
 PKGNAME=   ffmpeg-${V}
-REVISION=  0
+REVISION=  1
 CATEGORIES=graphics multimedia
 MASTER_SITES=  http://comstyle.com/source/
 EXTRACT_SUFX=  .tar.xz
@@ -33,9 +33,10 @@ WANTLIB= SDL X11 Xext Xv ass bz2 c crypt
vorbisenc vpx>=5 x264 x265>=2 xcb xcb-shape xcb-shm xcb-xfixes \
xvidcore z
 
-# AAC encoder hangs on amd64 when built with clang 4.0.0 or 4.0.1 but
-# succeeds with ports clang 5.0.0rc4.
-# XXX h264 decoder segfaults in ff_deblock_v_luma_8_sse2 on i386
+# AAC encoder hangs on at least amd64/i386 when built with base
+# clang and at least in some cases ports clang 4.0.0 or 4.0.1.
+# It succeeds with ports clang 5.0.0rc4 on amd64, though not i386.
+# e.g. "ffmpeg -i somefile.mkv -acodec aac out.mkv"
 COMPILER=  base-gcc ports-clang base-clang
 COMPILER_LANGS=c
 MODCLANG_ARCHS=amd64
Index: patches/patch-configure
===
RCS file: /cvs/ports/graphics/ffmpeg/patches/patch-configure,v
retrieving revision 1.55
diff -u -p -r1.55 patch-configure
--- patches/patch-configure 11 Dec 2016 09:27:53 -  1.55
+++ patches/patch-configure 7 Sep 2017 13:48:30 -
@@ -2,8 +2,12 @@ $OpenBSD: patch-configure,v 1.55 2016/12
 
 lavu/random_seed: use arc4random() when available
 
 configure.orig Sat Dec 10 20:37:25 2016
-+++ configure  Sat Dec 10 20:43:59 2016
+-mstack-alignment=16, -mstack-realign: h264 decoder segfaults
+in ff_deblock_v_luma_8_sse2 on i386
+
+Index: configure
+--- configure.orig
 configure
 @@ -1755,6 +1755,7 @@ MATH_FUNCS="
  SYSTEM_FUNCS="
  access
@@ -38,7 +42,18 @@ lavu/random_seed: use arc4random() when 
  check_func_headers time.h clock_gettime || { check_func_headers time.h 
clock_gettime -lrt && add_extralibs -lrt && LIBRT="-lrt"; }
  check_func  fcntl
  check_func  fork
-@@ -5788,6 +5790,11 @@ if test $target_os = "haiku"; then
+@@ -5685,6 +5687,10 @@ elif enabled llvm_gcc; then
+ check_cflags -mllvm -stack-alignment=16
+ elif enabled clang; then
+ check_cflags -mllvm -stack-alignment=16
++check_cflags -mstack-alignment=16
++if enabled x86_32; then
++check_cflags -mstackrealign
++fi
+ check_cflags -Qunused-arguments
+ check_cflags -Werror=implicit-function-declaration
+ check_cflags -Werror=missing-prototypes
+@@ -5788,6 +5794,11 @@ if test $target_os = "haiku"; then
  disable posix_memalign
  fi
  
@@ -50,7 +65,7 @@ lavu/random_seed: use arc4random() when 
  enabled_all dxva2 dxva2api_cobj CoTaskMemFree &&
  prepend ffmpeg_libs $($ldflags_filter "-lole32" "-luser32") &&
  enable dxva2_lib
-@@ -6220,8 +6227,8 @@ pkgconfig_generate(){
+@@ -6220,8 +6231,8 @@ pkgconfig_generate(){
  comment=$2
  version=$3
  libs=$4
@@ -61,7 +76,7 @@ lavu/random_seed: use arc4random() when 
  enabled ${name#lib} || return 0
  mkdir -p $name
  cat < $name/$name${build_suffix}.pc
-@@ -6236,7 +6243,7 @@ Version: $version
+@@ -6236,7 +6247,7 @@ Version: $version
  Requires: $(enabled shared || echo $requires)
  Requires.private: $(enabled shared && echo $requires)
  Conflicts:
@@ -70,7 +85,7 @@ lavu/random_seed: use arc4random() when 
  Libs.private: $(enabled shared && echo $libs)
  Cflags: -I\${includedir}
  EOF
-@@ -6260,12 +6267,12 @@ Cflags: -I\${includedir}
+@@ -6260,12 +6271,12 @@ Cflags: -I\${includedir}
  EOF
  }
  



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/09/07 07:41:11

Modified files:
archivers/lz4  : Makefile 

Log message:
honour CXX, it's used for a program to generate the manual, and somehow
was defaulting to g++, breaking aarch64 build.



Re: update: net/p5-IP-Country

2017-09-07 Thread Giovanni Bechis
On 09/07/17 15:21, Stuart Henderson wrote:
> On 2017/09/07 12:05, Giovanni Bechis wrote:
>> Index: files/cc.gif
>> ===
>> RCS file: files/cc.gif
>> diff -N files/cc.gif
>> Binary files /dev/null and cc.gif differ
>> Index: files/ip.gif
>> ===
>> RCS file: files/ip.gif
>> diff -N files/ip.gif
>> Binary files /dev/null and ip.gif differ
> 
> I'm not a fan of binaries in ${FILESDIR}.. Can you upload them
> somewhere to use as an extra distfile instead like we do for
> geolite, the mac address database, etc, please? (Or someone else
> could host them, but that gets annoying when you want to update it!).
> 
sure, I will take care of it.
 Cheers
  Giovanni



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2017/09/07 07:31:21

Modified files:
textproc/the_silver_searcher: Makefile distinfo 

Log message:
Update the_silver_searcher to 2.1.0.

>From maintainer Florian Stinglmayr, thanks!



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2017/09/07 07:30:09

Modified files:
net/libmaxminddb: Makefile distinfo 

Log message:
Update GeoLite2 databases to latest version.



Re: update: net/p5-IP-Country

2017-09-07 Thread Stuart Henderson
On 2017/09/07 12:05, Giovanni Bechis wrote:
> Index: files/cc.gif
> ===
> RCS file: files/cc.gif
> diff -N files/cc.gif
> Binary files /dev/null and cc.gif differ
> Index: files/ip.gif
> ===
> RCS file: files/ip.gif
> diff -N files/ip.gif
> Binary files /dev/null and ip.gif differ

I'm not a fan of binaries in ${FILESDIR}.. Can you upload them
somewhere to use as an extra distfile instead like we do for
geolite, the mac address database, etc, please? (Or someone else
could host them, but that gets annoying when you want to update it!).



Re: fail2ban port - looking for testers!

2017-09-07 Thread Stuart Henderson
On 2017/09/07 04:27, Keith Henderson Jr wrote:
> Here's a link to the package:
> https://mega.nz/#!C8dSBbDb!am_Hj7MS1AOmzpxpufTOgo3Mhl6kZEHlsJLfhsatEj8
> 

Attach a tar.gz of the port instead.



Re: UPDATE: archivers/libzip 1.2.0 => 1.3.0

2017-09-07 Thread Stuart Henderson
On 2017/09/03 17:58, Brian Callahan wrote:
> Hi ports --
> 
> Attached is an update to libzip. One function was added to the library, so
> minor bump.
> 
> Security:
> * CVE-2017-12858: Fix double free().
> * CVS-2017-14107: Improve EOCD64 parsing.
> 
> Other fixes:
> * Improve file progress callback code
> * Fix zip_fdopen()
> 
> OK?
> 
> ~Brian
> 

> Index: Makefile
> ===
> RCS file: /cvs/ports/archivers/libzip/Makefile,v
> retrieving revision 1.15
> diff -u -p -u -p -r1.15 Makefile
> --- Makefile  6 Jul 2017 07:57:33 -   1.15
> +++ Makefile  3 Sep 2017 14:35:11 -
> @@ -2,9 +2,9 @@
>  
>  COMMENT= library for reading, creating and modifying zip archives
>  
> -DISTNAME=libzip-1.2.0
> +DISTNAME=libzip-1.3.0
>  CATEGORIES=  archivers
> -SHARED_LIBS +=  zip  2.0  # 4.0
> +SHARED_LIBS +=  zip  2.1  # 5.0
>  
>  HOMEPAGE=https://www.nih.at/libzip/
>  MAINTAINER=  Brian Callahan 
> @@ -17,5 +17,6 @@ WANTLIB=c z
>  MASTER_SITES=${HOMEPAGE}
>  
>  CONFIGURE_STYLE= gnu
> +CONFIGURE_ARGS=  --without-bzip2
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/archivers/libzip/distinfo,v
> retrieving revision 1.9
> diff -u -p -u -p -r1.9 distinfo
> --- distinfo  6 Jul 2017 07:57:33 -   1.9
> +++ distinfo  3 Sep 2017 14:35:11 -
> @@ -1,2 +1,2 @@
> -SHA256 (libzip-1.2.0.tar.gz) = bPmEDkJ9uW6/OTZmVDC6sgTJ670BIMMmRZB37ZyQfZ8=
> -SIZE (libzip-1.2.0.tar.gz) = 1514966
> +SHA256 (libzip-1.3.0.tar.gz) = qRk1D2g8phlN8KhWaYtHfangZBZmW4g/5PwjwORuY5g=
> +SIZE (libzip-1.3.0.tar.gz) = 1544247
> Index: patches/patch-src_ziptool_c
> ===
> RCS file: patches/patch-src_ziptool_c
> diff -N patches/patch-src_ziptool_c
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-src_ziptool_c   3 Sep 2017 14:35:11 -
> @@ -0,0 +1,25 @@
> +$OpenBSD$
> +
> +time_t == %lld
> +
> +Index: src/ziptool.c
> +--- src/ziptool.c.orig
>  src/ziptool.c
> +@@ -519,7 +519,7 @@ set_file_mtime(int argc, char *argv[]) {
> + idx = strtoull(argv[0], NULL, 10);
> + mtime = (time_t)strtoull(argv[1], NULL, 10);
> + if (zip_file_set_mtime(za, idx, mtime, 0) < 0) {
> +-fprintf(stderr, "can't set file mtime at index '%" PRIu64 "' to '%ld': 
> %s\n", idx, mtime, zip_strerror(za));
> ++fprintf(stderr, "can't set file mtime at index '%" PRIu64 "' to '%lld': 
> %s\n", idx, mtime, zip_strerror(za));

please cast mtime to (long long)

> + return -1;
> + }
> + return 0;
> +@@ -539,7 +539,7 @@ set_file_mtime_all(int argc, char *argv[]) {
> + }
> + for (idx = 0; idx < (zip_uint64_t)num_entries; idx++) {
> + if (zip_file_set_mtime(za, idx, mtime, 0) < 0) {
> +-fprintf(stderr, "can't set file mtime at index '%" PRIu64 "' to 
> '%ld': %s\n", idx, mtime, zip_strerror(za));
> ++fprintf(stderr, "can't set file mtime at index '%" PRIu64 "' to 
> '%lld': %s\n", idx, mtime, zip_strerror(za));
> + return -1;
> + }
> + }

same



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/09/07 07:00:39

Modified files:
sysutils/terraform/provider-ignition: Makefile distinfo 

Log message:
Update to terraform-provider-ignition-0.2.0.



Re: x11/wxWidgets 3.0.3.1 update

2017-09-07 Thread Stuart Henderson
On 2017/09/07 12:45, Jérôme KASPER wrote:
> Hi ports,
> 
> attached an update to wxWidgets 3.0.3.1 .
> 
> improvements :
> - Switch to github 
> - unified package instead of -main, -media
> - dependancies upgraded to GTK+3 , SDL2 and gstreamer1
> 
> built on AMD64. This is my first port work so there might be mistakes lasting.
> Any comments welcome.
> 
> Best regards,
> Jerome KASPER

You picked a bit of a challenge for first ports work, I think!

A number of other ports use wxWidgets and would need testing with the
update:

$ sqlite3 /usr/local/share/sqlports 
SQLite version 3.20.0 2017-08-01 13:24:15
Enter ".help" for usage hints.
sqlite> select distinct fullpkgpath from depends where dependspath like 
'x11/wxWidgets%';
audio/audacity
cad/kicad,-main
databases/pgadmin3
devel/codeblocks
devel/p5-Alien-wxWidgets
devel/poedit
devel/rapidsvn
games/golly
games/megaglest/base
games/scorched3d
games/scummvm-tools
geo/spatialite/gis
geo/spatialite/gui
geo/spatialite/librewms
graphics/delaboratory
graphics/discwrapper
graphics/hugin
lang/erlang/16,-wx
lang/erlang/17,-wx
lang/erlang/18,-wx
lang/erlang/19,-wx
math/wxMaxima
misc/rocrail,-gui
multimedia/dvdstyler
net/amule,-daemon
net/amule,-main
net/amule,-web
net/dysnomia
net/filezilla
telephony/iaxclient,-iaxcomm
x11/nx/opennx
x11/p5-Wx
x11/py-wxPython
x11/wxSVG
x11/wxWidgets,-media
x11/wxWidgets,-main
x11/xchm

.. there are quite a few changes compared to 2.x (see
http://docs.wxwidgets.org/3.0.0/overview_changes_since28.html)
so my understanding is that it's likely to need work on the ports
using it.

(Also note we're gearing up to release now, it's definitely too late
for a change like this, or even spending much time looking at it,
until after 6.2 is done).



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/09/07 06:38:12

Modified files:
sysutils/terraform/terraform: Makefile distinfo 

Log message:
Update to terraform-0.10.4.



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/09/07 06:34:38

Modified files:
sysutils/awless: Makefile distinfo 

Log message:
Update to awless-0.1.3.



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/09/07 06:29:31

Modified files:
net/gajim  : Makefile 
net/libepc : Makefile 
x11/gnome/vinagre: Makefile 
x11/remmina: Makefile 

Log message:
Hopefully fix avahi subpackages dependency (need ',,' for FLAVORless).



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/09/07 06:21:24

Modified files:
net/py-botocore: Makefile distinfo 

Log message:
Update to py-botocore-1.7.5.



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/09/07 06:21:36

Modified files:
sysutils/awscli: Makefile distinfo 

Log message:
Update to awscli-1.11.147.



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/09/07 06:15:44

Modified files:
devel/harfbuzz : Makefile distinfo 

Log message:
Update to harfbuzz-1.5.1.



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2017/09/07 06:03:07

Modified files:
security/sudo  : Makefile distinfo 

Log message:
Update to sudo 1.8.21p2



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/09/07 05:41:32

Modified files:
databases/evolution-data-server: Makefile distinfo 

Log message:
Update to evolution-data-server-3.24.6.



x11/wxWidgets 3.0.3.1 update

2017-09-07 Thread Jérôme KASPER
Hi ports,

attached an update to wxWidgets 3.0.3.1 .

improvements :
- Switch to github 
- unified package instead of -main, -media
- dependancies upgraded to GTK+3 , SDL2 and gstreamer1

built on AMD64. This is my first port work so there might be mistakes lasting.
Any comments welcome.

Best regards,
Jerome KASPER


wxWidgets-3.0.3.1.tar.gz
Description: GNU Zip compressed data


Re: UPDATE: archivers/libzip 1.2.0 => 1.3.0

2017-09-07 Thread Brian Callahan


On 09/03/17 17:58, Brian Callahan wrote:

Hi ports --

Attached is an update to libzip. One function was added to the 
library, so minor bump.


Security:
* CVE-2017-12858: Fix double free().
* CVS-2017-14107: Improve EOCD64 parsing.

Other fixes:
* Improve file progress callback code
* Fix zip_fdopen()

OK?

~Brian



Ping.



Re: update: net/p5-IP-Country

2017-09-07 Thread Giovanni Bechis
On 09/07/17 12:05, Giovanni Bechis wrote:
> Update to a more recent database (upstream provides a 2013 database) and add 
> a target to update ip/country database.
>  Comments ? ok ?
>   Cheers
>Giovanni
> 
I will use ${INSTALL_DATA} instead of cp(1) if the idea is ok.
 Cheers
  Giovanni



update: net/p5-IP-Country

2017-09-07 Thread Giovanni Bechis
Update to a more recent database (upstream provides a 2013 database) and add a 
target to update ip/country database.
 Comments ? ok ?
  Cheers
   Giovanni
Index: Makefile
===
RCS file: /var/cvs/ports/net/p5-IP-Country/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile	20 Mar 2016 19:56:51 -	1.9
+++ Makefile	7 Sep 2017 08:57:46 -
@@ -6,11 +6,22 @@ MODULES=	cpan
 PKG_ARCH=	*
 DISTNAME=	IP-Country-2.28
 CATEGORIES=	net
-REVISION=	0
+REVISION=	1
 
 # Artistic
 PERMIT_PACKAGE_CDROM=	Yes
 
 RUN_DEPENDS =		geo/p5-Geography-Countries
+
+SUBST_VARS =		FILESDIR
+
+post-patch:
+	${SUBST_CMD} ${WRKSRC}/dbmScripts/ipcc_maker.pl
+	cp ${FILESDIR}/*.gif ${WRKSRC}/lib/IP/Country/Fast/
+
+# Target to update country database
+updatedb:
+	cd ${WRKSRC}/dbmScripts && sh whois_filenames \
+		&& perl ipcc_loader.pl && perl ipcc_maker.pl 
 
 .include 
Index: files/cc.gif
===
RCS file: files/cc.gif
diff -N files/cc.gif
Binary files /dev/null and cc.gif differ
Index: files/ip.gif
===
RCS file: files/ip.gif
diff -N files/ip.gif
Binary files /dev/null and ip.gif differ
Index: patches/patch-dbmScripts_ipcc_loader_pl
===
RCS file: patches/patch-dbmScripts_ipcc_loader_pl
diff -N patches/patch-dbmScripts_ipcc_loader_pl
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-dbmScripts_ipcc_loader_pl	7 Sep 2017 09:12:59 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: dbmScripts/ipcc_loader.pl
+--- dbmScripts/ipcc_loader.pl.orig
 dbmScripts/ipcc_loader.pl
+@@ -70,7 +70,7 @@ read_reg('delegated-afrinic-latest');
+ read_reg('delegated-lacnic-latest');
+ read_reg('delegated-apnic-latest');
+ read_ripe();
+-read_reg('delegated-arin-latest');
++read_reg('delegated-arin-extended-latest');
+ 
+ join_neighbours();
+ punch_holes();
Index: patches/patch-dbmScripts_ipcc_maker_pl
===
RCS file: patches/patch-dbmScripts_ipcc_maker_pl
diff -N patches/patch-dbmScripts_ipcc_maker_pl
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-dbmScripts_ipcc_maker_pl	7 Sep 2017 09:00:54 -
@@ -0,0 +1,23 @@
+$OpenBSD$
+
+Index: dbmScripts/ipcc_maker.pl
+--- dbmScripts/ipcc_maker.pl.orig
 dbmScripts/ipcc_maker.pl
+@@ -31,7 +31,7 @@ close REG || warn("can't close $reg_file, but continui
+ 
+ 
+ print "Saving ultralite IP registry to disk\n";
+-my $ip = new IO::File "> ../lib/IP/Country/Fast/ip.gif";
++my $ip = new IO::File "> ${FILESDIR}/ip.gif";
+ if (defined $ip) {
+ binmode $ip;
+ print $ip pack("N",time()); # returned by $obj->db_time()
+@@ -44,7 +44,7 @@ if (defined $ip) {
+ 
+ print "Saving ultralite country database to disk\n";
+ 
+-open (CC, "> ../lib/IP/Country/Fast/cc.gif")
++open (CC, "> ${FILESDIR}/cc.gif")
+ or die ("couldn't create country database: $!");
+ binmode CC;
+ foreach my $country (sort $tree->get_countries()){
Index: patches/patch-dbmScripts_whois_filenames
===
RCS file: patches/patch-dbmScripts_whois_filenames
diff -N patches/patch-dbmScripts_whois_filenames
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-dbmScripts_whois_filenames	6 Sep 2017 16:46:59 -
@@ -0,0 +1,12 @@
+$OpenBSD$
+
+Index: dbmScripts/whois_filenames
+--- dbmScripts/whois_filenames.orig
 dbmScripts/whois_filenames
+@@ -2,5 +2,5 @@
+ ftp ftp://ftp.ripe.net/ripe/dbase/split/ripe.db.inetnum.gz && gunzip ripe.db.inetnum.gz
+ ftp ftp://ftp.ripe.net/pub/stats/afrinic/delegated-afrinic-latest
+ ftp ftp://ftp.ripe.net/pub/stats/apnic/delegated-apnic-latest
+-ftp ftp://ftp.ripe.net/pub/stats/arin/delegated-arin-latest
++ftp ftp://ftp.ripe.net/pub/stats/arin/delegated-arin-extended-latest
+ ftp ftp://ftp.ripe.net/pub/stats/lacnic/delegated-lacnic-latest


CVS: cvs.openbsd.org: ports

2017-09-07 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2017/09/07 03:44:22

Modified files:
www/cntlm  : Makefile 
www/cntlm/pkg  : PLIST 
Added files:
www/cntlm/patches: patch-doc_cntlm_1 

Log message:
manpage fixes

partly from ubuntu



Re: CVS: cvs.openbsd.org: ports

2017-09-07 Thread Ingo Schwarze
Hi Marc,

Marc Espie wrote on Thu, Sep 07, 2017 at 11:18:00AM +0200:
> On Wed, Sep 06, 2017 at 03:14:16PM -0600, Jeremie Courreges-Anglas wrote:

>> CVSROOT: /cvs
>> Module name: ports
>> Changes by:  j...@cvs.openbsd.org2017/09/06 15:14:16
>> 
>> Modified files:
>>  devel/ectags   : Makefile 
>> 
>> Log message:
>> Fix build failure due to a macro crashing with system headers
>> 
>> ectags defines an __unused__ macro that clashes with functions using
>> __attribute__((__unused__).  A bunch of such functions were introduced
>> recently as part of the uselocale work from schwarze@.
>> 
>> Bulk-rename the offending macro and another one similarly named to
>> something more reasonable.
>> 
>> Committing early since ectags is needed by vim-taglist and
>> x11/gnome/builder.  Comment suggested by schwarze@, ok schwarze@ sthen@

> The other *ctags port that breaks could use the exact same fix.

Jeremie already sent that patch for devel/universal-ctags to ports@
and has my OK.  As far as i understand, the reason why he didn't
commit that one yet is because it is less urgent (fewer, if any,
reverse dependencies), and he probably intends to give the MAINTAINER
rsadowski@ a chance to chime in.

Yours,
  Ingo



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Remi Pointel
CVSROOT:/cvs
Module name:ports
Changes by: rpoin...@cvs.openbsd.org2017/09/07 03:22:04

Modified files:
www/py-django/lts: Makefile distinfo 
www/py-django/lts/pkg: PLIST 
www/py-django/stable: Makefile distinfo 
www/py-django/stable/pkg: PLIST 

Log message:
update django to 1.11.5 and 1.10.8.
ok benoit@.



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Remi Pointel
CVSROOT:/cvs
Module name:ports
Changes by: rpoin...@cvs.openbsd.org2017/09/07 03:21:04

Modified files:
security/regripper: Makefile distinfo 
security/regripper/pkg: PLIST 

Log message:
update regripper.
ok benoit@.



Re: CVS: cvs.openbsd.org: ports

2017-09-07 Thread Marc Espie
On Wed, Sep 06, 2017 at 03:14:16PM -0600, Jeremie Courreges-Anglas wrote:
> CVSROOT:  /cvs
> Module name:  ports
> Changes by:   j...@cvs.openbsd.org2017/09/06 15:14:16
> 
> Modified files:
>   devel/ectags   : Makefile 
> 
> Log message:
> Fix build failure due to a macro crashing with system headers
> 
> ectags defines an __unused__ macro that clashes with functions using
> __attribute__((__unused__).  A bunch of such functions were introduced
> recently as part of the uselocale work from schwarze@.
> 
> Bulk-rename the offending macro and another one similarly named to
> something more reasonable.
> 
> Committing early since ectags is needed by vim-taglist and
> x11/gnome/builder.  Comment suggested by schwarze@, ok schwarze@ sthen@

The other *ctags port that breaks could use the exact same fix.



Re: textproc/aspell uselocale undefined symbol from converters/libiconv

2017-09-07 Thread Ingo Schwarze
Hi Ian,

Ian McWilliam wrote on Wed, Sep 06, 2017 at 11:31:21PM +:

> You are correct. spell hadn't at that point been updated
> and still pointed to the old libc.

Thanks for confirming, so nothing is broken in libc.  Phew.

> What's interesting is a
> make repackage update in textproc/aspell directory sees the failure.
> make repackage update in textporoc/aspell/core first, solved the issue.

I'm sorry, i can't help with that.

Even though it is partially documented, i never managed to understand
the maze of targets in bsd.port.mk(5).  It is overengineered and
of excessive complexity to the point that documenting it no longer
helps using it.  Yes, this is one of the few areas where the
historically grown, rampant design of a subsystem ran riot and is
now strongly at variance with the OpenBSD project goals of simplicity,
usability, and easy debugability.  OpenBSD user interfaces ought
to be small.

My personal way of dealing with the mess is to practically never
use any targets except

 - makesum
 - show
 - extract
 - patch
 - update-patches
 - build
 - fake
 - update-plist
 - package
 - clean

I always figure out the dependencies by hand and manually build
all ports in the correct order.  I exclusively use pkg_add(1)
for installing ports, even those that i build myself, and almost
never let "make" install any ports for me.

Personally, i wouldn't object to deleting most other targets
(including repackage, update, and most others), to drain the swamp
and facilitate debugging.  But i expect that's a minority opinion.
In particular, bulk builders and prolific porters are likely to
disagree.

Yours,
  Ingo



fail2ban port - looking for testers!

2017-09-07 Thread Keith Henderson Jr
Hello! This is my first port and I'm looking for people to help test it

I've tested this package under OpenBSD -current and it appears
to work fine.

Some configuration is needed out-of-the-box, see:
https://github.com/fail2ban/fail2ban/wiki/Proper-fail2ban-configuration

The port is for fail2ban:
Fail2ban scans log files (e.g. /var/log/apache/error_log) and bans IPs
that show the malicious signs -- too many password failures, seeking for
exploits, etc. Generally Fail2Ban is then used to update firewall rules
to reject the IP addresses for a specified amount of time, although any
arbitrary other action (e.g. sending an email) could also be configured.
Out of the box Fail2Ban comes with filters for various services
(apache, courier, ssh, etc). Fail2Ban is able to reduce the rate of
incorrect authentications attempts.

Here's a link to the package:
https://mega.nz/#!C8dSBbDb!am_Hj7MS1AOmzpxpufTOgo3Mhl6kZEHlsJLfhsatEj8



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:ports
Changes by: an...@cvs.openbsd.org   2017/09/07 01:03:24

Modified files:
textproc/lowdown: Makefile distinfo 
textproc/lowdown/pkg: PLIST 

Log message:
Update to lowdown 0.2.4.

ok okan@



[update] freeciv-2.5.9

2017-09-07 Thread Timo Myyrä
Hi,

Freeciv has got few bugfix releases recently.
Here's simple update to latest version. 
Tested lightly on amd64 that game starts and played for few turns.

Timo

Index: Makefile
===
RCS file: /cvs/ports/games/freeciv/Makefile,v
retrieving revision 1.112
diff -u -p -r1.112 Makefile
--- Makefile30 May 2017 07:08:56 -  1.112
+++ Makefile7 Sep 2017 06:38:36 -
@@ -4,7 +4,7 @@ COMMENT-main=   Civilization clone for X11
 COMMENT-client=Freeciv client
 COMMENT-share= shared data files for Freeciv
 
-VERSION=   2.5.7
+VERSION=   2.5.9
 DISTNAME=  freeciv-${VERSION}
 PKGNAME-main=  freeciv-server-${VERSION}
 PKGNAME-client=freeciv-client-${VERSION}
Index: distinfo
===
RCS file: /cvs/ports/games/freeciv/distinfo,v
retrieving revision 1.25
diff -u -p -r1.25 distinfo
--- distinfo30 May 2017 07:08:56 -  1.25
+++ distinfo7 Sep 2017 06:38:36 -
@@ -1,2 +1,2 @@
-SHA256 (freeciv-2.5.7.tar.bz2) = /+NnNttqZIk2genuqLkPer4F6uvmt3foIUmpjK1tvtI=
-SIZE (freeciv-2.5.7.tar.bz2) = 41200685
+SHA256 (freeciv-2.5.9.tar.bz2) = uDxzWFroCJiyc3mYT5NlkbUUIsnKzLlIgPoWAwyXWSg=
+SIZE (freeciv-2.5.9.tar.bz2) = 41176249
Index: pkg/PLIST-main
===
RCS file: /cvs/ports/games/freeciv/pkg/PLIST-main,v
retrieving revision 1.9
diff -u -p -r1.9 PLIST-main
--- pkg/PLIST-main  9 Jun 2016 12:16:14 -   1.9
+++ pkg/PLIST-main  7 Sep 2017 06:38:36 -
@@ -43,6 +43,7 @@ share/doc/freeciv/README.ruleset_multipl
 share/doc/freeciv/README.rulesets
 share/doc/freeciv/README.scorelog
 share/doc/freeciv/README.sound
+share/doc/freeciv/README.tilesets
 share/doc/freeciv/TODO
 share/examples/freeciv/
 @sample ${SYSCONFDIR}/freeciv/



CVS: cvs.openbsd.org: ports

2017-09-07 Thread Sebastian Reitenbach
CVSROOT:/cvs
Module name:ports
Changes by: sebas...@cvs.openbsd.org2017/09/07 00:39:41

Modified files:
sysutils/mcollective: Makefile distinfo 

Log message:
Minor update to 2.11.2