Re: NEW: x11/grantlee-qt5

2017-12-15 Thread Rafael Sadowski
*ping*

On Sat Nov 04, 2017 at 11:22:59AM +0100, Rafael Sadowski wrote:
> Hi All,
> 
> Grantlee-qt5 is the Qt5 variant of x11/grantlee and is needed for
> upcoming KDE application. @conflict grantlee-<5.1.0 marker is set in PLIST.
> 
> All tests are green on amd64:
> 
> 100% tests passed, 0 tests failed out of 12
> 
> DESCR:
> Grantlee is a set of Free Software libraries written using the Qt framework.
> 
> The goal of Grantlee Templates is to make it easier for application developers
> to separate the structure of documents from the data they contain, opening the
> door for theming and advanced generation of other text such as code.
> 
> 
> Ok? Comments?
> 
> Best regards,
> 
> Rafael Sadowski




Re: NEW: lang/flang

2017-12-15 Thread Brian Callahan


On 12/10/17 12:27, Brian Callahan wrote:

Hi ports --

Attached is a new port, lang/flang. Flang is a Fortran compiler 
targeting LLVM.


Supposedly Flang is on its way to becoming part of LLVM, though 
there's no timetable for that.


Flang is divided into two ports, the driver and the runtime. The 
driver is a modified version of clang. I chose to only install the 
flang driver binary from the driver port. The CMake build system wants 
to install the entirety of the clang utils and libraries and headers, 
but that means having three copies of some things (1 in base, 1 from 
devel/llvm, 1 from flang), and that seemed crazy. We only need the 
flang driver binary anyway.


In order to link binaries with flang, you must remember to include 
-L${LOCALBASE}/lib -lflang when linking the binary.


I chose to use flang's built-in ompstubs library for OpenMP "support." 
And by "support" I mean that the ompstubs library is just stubbed out 
omp routines that do nothing but allow flang to build. According to 
upstream, !amd64 archs use the ompstubs library anyway. It would be 
nice to eventually move to real OpenMP support, but that can be for a 
later day.


Only tested on amd64 because I do not (yet) have an arm64 machine. 
Flang only supports those two platforms. I will add the needed arm64 
bits once I have my arm64 machine. Flang successfully builds a bunch 
of F90/F95 programs I have and passes a significant chunk of the NIST 
F77 test suite.


OK?

~Brian



Ping. Tarball with latest version attached.

OK?

~Brian



flang.tgz
Description: application/compressed-tar


UPDATE: multimedia/assimp 4.0.1 => 4.1.0

2017-12-15 Thread Brian Callahan

Hi ports --

Attached is a small update to multimedia/assimp.
Some notes:
* Minor bump. Don't see anything that would require a major bump; just 
function additions to the shared library.
* I switched the COMPILER line around to put ports-gcc before 
ports-clang to give archs like macppc a non-zero chance of building this.
* I took the typedef unsigned long z_crc_t fixes (see the new patches) 
from here: https://github.com/nmoinvaz/minizip/pull/136/files


OK?

~Brian

Index: Makefile
===
RCS file: /cvs/ports/multimedia/assimp/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 Makefile
--- Makefile	14 Nov 2017 06:29:25 -	1.1.1.1
+++ Makefile	16 Dec 2017 03:22:54 -
@@ -3,11 +3,11 @@
 COMMENT =	open asset import library
 CATEGORIES =	multimedia
 
-SHARED_LIBS +=  assimp0.0 # 3.3
+SHARED_LIBS +=  assimp0.1 # 3.3
 
 GH_ACCOUNT =	assimp
 GH_PROJECT =	assimp
-GH_TAGNAME =	v4.0.1
+GH_TAGNAME =	v4.1.0
 
 HOMEPAGE =	http://www.assimp.org/
 MAINTAINER =	Brian Callahan 
@@ -18,7 +18,7 @@ PERMIT_PACKAGE_CDROM =	Yes
 WANTLIB += ${COMPILER_LIBCXX} c m z
 
 # C++11
-COMPILER =	base-clang ports-clang ports-gcc
+COMPILER =	base-clang ports-gcc ports-clang
 
 MODULES =	devel/cmake
 
Index: distinfo
===
RCS file: /cvs/ports/multimedia/assimp/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo	14 Nov 2017 06:29:25 -	1.1.1.1
+++ distinfo	16 Dec 2017 03:22:54 -
@@ -1,2 +1,2 @@
-SHA256 (assimp-4.0.1.tar.gz) = YAgNirTaqrMJ9ls8/9mfGesa+NBWI//0abm2UoGOKG4=
-SIZE (assimp-4.0.1.tar.gz) = 44625148
+SHA256 (assimp-4.1.0.tar.gz) = NSCx6Xk7k6LKO3lxmeFvQNYXYmF+By8tUl+tcPlninE=
+SIZE (assimp-4.1.0.tar.gz) = 45417293
Index: patches/patch-CMakeLists_txt
===
RCS file: /cvs/ports/multimedia/assimp/patches/patch-CMakeLists_txt,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt	14 Nov 2017 06:29:25 -	1.1.1.1
+++ patches/patch-CMakeLists_txt	16 Dec 2017 03:22:54 -
@@ -1,30 +1,14 @@
 $OpenBSD: patch-CMakeLists_txt,v 1.1.1.1 2017/11/14 06:29:25 bentley Exp $
 
-Disable OpenMP (until it is imported).
 Disable Qt viewer (doesn't get installed by default anyway).
 
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -143,13 +143,6 @@ IF(ASSIMP_DOUBLE_PRECISION)
-   ADD_DEFINITIONS(-DASSIMP_DOUBLE_PRECISION)
- ENDIF(ASSIMP_DOUBLE_PRECISION)
- 
--# Check for OpenMP support
--find_package(OpenMP)
--if (OPENMP_FOUND)
--set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
--set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
--endif()
--
- configure_file(
-   ${CMAKE_CURRENT_LIST_DIR}/revision.h.in
-   ${CMAKE_CURRENT_BINARY_DIR}/revision.h
-@@ -363,32 +356,6 @@ IF ( ASSIMP_BUILD_ASSIMP_TOOLS )
-   ENDIF ( WIN32 AND DirectX_D3DX9_LIBRARY )
+@@ -413,31 +413,6 @@ IF ( ASSIMP_BUILD_ASSIMP_TOOLS )
  
ADD_SUBDIRECTORY( tools/assimp_cmd/ )
--
+ 
 -  # Check dependencies for assimp_qt_viewer.
 -  # Why here? Maybe user do not want Qt viewer and have no Qt.
 -  # Why assimp_qt_viewer/CMakeLists.txt still contain similar check?
Index: patches/patch-code_D3MFOpcPackage_cpp
===
RCS file: patches/patch-code_D3MFOpcPackage_cpp
diff -N patches/patch-code_D3MFOpcPackage_cpp
--- patches/patch-code_D3MFOpcPackage_cpp	14 Nov 2017 06:29:25 -	1.1.1.1
+++ /dev/null	1 Jan 1970 00:00:00 -
@@ -1,13 +0,0 @@
-$OpenBSD: patch-code_D3MFOpcPackage_cpp,v 1.1.1.1 2017/11/14 06:29:25 bentley Exp $
-From upstream def42bf624c99df8747f3ab9d065374e995b2617.
-Index: code/D3MFOpcPackage.cpp
 code/D3MFOpcPackage.cpp.orig
-+++ code/D3MFOpcPackage.cpp
-@@ -49,6 +49,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY O
- #include 
- #include 
- 
-+#include 
- #include 
- #include 
- #include 
Index: patches/patch-code_Q3BSPZipArchive_cpp
===
RCS file: patches/patch-code_Q3BSPZipArchive_cpp
diff -N patches/patch-code_Q3BSPZipArchive_cpp
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-code_Q3BSPZipArchive_cpp	16 Dec 2017 03:22:54 -
@@ -0,0 +1,15 @@
+$OpenBSD$
+
+Missing cstdlib
+
+Index: code/Q3BSPZipArchive.cpp
+--- code/Q3BSPZipArchive.cpp.orig
 code/Q3BSPZipArchive.cpp
+@@ -44,6 +44,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY O
+ #include "Q3BSPZipArchive.h"
+ #include 
+ #include 
++#include 
+ 
+ namespace Assimp {
+ namespace Q3BSP {
Index: patches/patch-contrib_unzip_crypt_h
===
RCS file: patches/patch-contrib_unzip_crypt_h
diff -N patches/patch-contrib_unzip_crypt_h
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-contrib_unzip_crypt_h	16

Re: UPDATE: misc/memcached

2017-12-15 Thread Giovanni Bechis
On 12/15/17 17:51, Jeremie Courreges-Anglas wrote:
> On Wed, Nov 22 2017, Giovanni Bechis  wrote:
>> Hi,
>> update to latest release, some bug fixes and pledge(2) support
>> committed upstream.
> 
> I don't use this but the update looks fine ports-wise.  ok jca@ fwiw
> 
>> Pledge(2) support is enabled only if the daemon is not run with "-o 
>> no_drop_privileges" parameter;
>> do we want to go the way upstream goes or should we disable the possibility 
>> to disable pledge(2) ?
> 
> I would not bother disabling this, but if you do make it obvious that
> -o no_drop_privileges won't work.  If people use the option as
> a workaround and slack off instead of reporting bugs, they're the ones
> not benefiting from pledge(2), which is not a smart thing to do.
> 
what about this one ?
 Cheers & Thanks
  Giovanni

> My two cents,
> 

Index: Makefile
===
RCS file: /var/cvs/ports/misc/memcached/Makefile,v
retrieving revision 1.39
diff -u -p -r1.39 Makefile
--- Makefile	31 Oct 2017 07:39:25 -	1.39
+++ Makefile	15 Dec 2017 23:28:28 -
@@ -2,7 +2,7 @@
 
 COMMENT=	distributed memory object caching system
 
-DISTNAME=	memcached-1.5.2
+DISTNAME=	memcached-1.5.3
 CATEGORIES=	misc
 
 HOMEPAGE=	https://www.memcached.org/
Index: distinfo
===
RCS file: /var/cvs/ports/misc/memcached/distinfo,v
retrieving revision 1.25
diff -u -p -r1.25 distinfo
--- distinfo	31 Oct 2017 07:39:25 -	1.25
+++ distinfo	15 Dec 2017 23:28:30 -
@@ -1,2 +1,2 @@
-SHA256 (memcached-1.5.2.tar.gz) = mskxE7210DfnnGEnc4ZWSsLl4x1J5ZTxHlVOTBSbckU=
-SIZE (memcached-1.5.2.tar.gz) = 407715
+SHA256 (memcached-1.5.3.tar.gz) = JYzD3bdhNoVGWs/QIV+CciCju90Wf9LAgGMhBbLS884=
+SIZE (memcached-1.5.3.tar.gz) = 409131
Index: patches/patch-configure
===
RCS file: /var/cvs/ports/misc/memcached/patches/patch-configure,v
retrieving revision 1.10
diff -u -p -r1.10 patch-configure
--- patches/patch-configure	31 Oct 2017 07:39:25 -	1.10
+++ patches/patch-configure	15 Dec 2017 23:30:49 -
@@ -2,7 +2,7 @@ $OpenBSD: patch-configure,v 1.10 2017/10
 Index: configure
 --- configure.orig
 +++ configure
-@@ -6517,7 +6517,7 @@ $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
+@@ -6551,7 +6551,7 @@ $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
  elif test "$GCC" = "yes"
  then
GCC_VERSION=`$CC -dumpversion`
Index: patches/patch-memcached_c
===
RCS file: /var/cvs/ports/misc/memcached/patches/patch-memcached_c,v
retrieving revision 1.14
diff -u -p -r1.14 patch-memcached_c
--- patches/patch-memcached_c	31 Oct 2017 07:39:25 -	1.14
+++ patches/patch-memcached_c	15 Dec 2017 23:30:43 -
@@ -1,31 +1,17 @@
-$OpenBSD: patch-memcached_c,v 1.14 2017/10/31 07:39:25 giovanni Exp $
+$OpenBSD$
+
 Index: memcached.c
 --- memcached.c.orig
 +++ memcached.c
-@@ -23,6 +23,7 @@
- #include 
- #include 
- #include 
-+#include 
- 
- /* some POSIX systems need the following definition
-  * to get mlockall flags out of sys/mman.h.  */
-@@ -6861,6 +6862,18 @@ int main (int argc, char **argv) {
- 
- if (pid_file != NULL) {
- save_pid(pid_file);
-+}
-+
-+if (settings.socketpath != NULL) {
-+   if (pledge("stdio unix", NULL) == -1) {
-+  fprintf(stderr, "%s: pledge: %s\n", argv[0], strerror(errno));
-+  exit(1);
-+   }
+@@ -6927,6 +6927,11 @@ int main (int argc, char **argv) {
+ /* Drop privileges no longer needed */
+ if (settings.drop_privileges) {
+ drop_privileges();
 +} else {
-+   if (pledge("stdio inet", NULL) == -1) {
-+  fprintf(stderr, "%s: pledge: %s\n", argv[0], strerror(errno));
-+  exit(1);
-+   }
++#ifdef __OpenBSD__
++fprintf(stderr, "no_drop_privileges option unsupported on this operating system.\n");
++exit(EXIT_FAILURE);
++#endif
  }
  
- /* Drop privileges no longer needed */
+ /* Initialize the uriencode lookup table. */


Re: [NEW] net/toot

2017-12-15 Thread Klemens Nanni
On Sun, Nov 19, 2017 at 09:24:42PM +0100, Klemens Nanni wrote:
> On Sun, Nov 19, 2017 at 02:54:46PM +0100, Klemens Nanni wrote:
> Take three after some feedback now also using Python 3 to avoid new
> ports still depending on Python 2.
> 
> The s,©,(C), patch for README.rst is now required as setup.py reads the
> readme file for its long description but chokes on it. I've already
> mailed the developer about it.
Upstream released new 0.15.1 three days ago with minor bugfixes
including this diff.

> Feedback? Any takers?
Bump.

The curses interface works for me when my terminal is big enough, so 
there's that; still expirmental but critical at all, though.

I'll take responsibility as maintainer.


toot.tgz
Description: application/tar-gz


Re: [UPDATE] ffmpegthumbnailer 2.2.0

2017-12-15 Thread Landry Breuil
On Fri, Dec 15, 2017 at 08:22:32PM +0300, Victor Kukshiev wrote:
> Landry:
> 
> > Maybe stating the obvious, but have you tried building the ports
> > depending on it ? at least x11/kde4/ffmpegthumbs & multimedia/mediatomb
> > ..
> 
> kde4-ffmpegthumbs is not depending on ffmpegthumbnailer. other ports
> build is ok.

Ah, sorry, wrong grep. Commited your diff :)



UPDATE: net/tinc

2017-12-15 Thread Rafael Sadowski
Version 1.0.33 released.

Allow compilation from a build directory.
Source code cleanups.
Fix some options specified on the command line not surviving a HUP
signal.
Handle tun/tap device returning EPERM or EBUSY.
Disable PMTUDiscovery when TCPOnly is used.
Support the —runstatedir option of the autoconf 2.70.

Port changes:

- "patch-doc_tinc_texi" committed upstream.
- "Using $< in a non-suffix rule context is a GNUmake idiom
   (Makefile:840)" enable USE_GMAKE.

ok?

Index: Makefile
===
RCS file: /cvs/ports/net/tinc/Makefile,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 Makefile
--- Makefile4 Oct 2017 20:51:36 -   1.4
+++ Makefile15 Dec 2017 19:56:36 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.4 2017/10/04 20:51:36 rsadowski Exp $
 
 COMMENT =  Virtual Private Network (VPN) daemon
-DISTNAME = tinc-1.0.32
+DISTNAME = tinc-1.0.33
 CATEGORIES =   net security
 
 HOMEPAGE = https://www.tinc-vpn.org/
@@ -22,8 +22,7 @@ CONFIGURE_STYLE = gnu
 CONFIGURE_ENV =CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
 
-post-extract:
-   cd ${WRKSRC}/doc && tar xzf sample-config.tar.gz
+USE_GMAKE =Yes
 
 post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tinc
Index: distinfo
===
RCS file: /cvs/ports/net/tinc/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo4 Oct 2017 20:51:36 -   1.4
+++ distinfo15 Dec 2017 19:56:36 -
@@ -1,2 +1,2 @@
-SHA256 (tinc-1.0.32.tar.gz) = TbJP6v+NtLu37bekuPX47cObJutf7MyZ6OZ6aWDAVYc=
-SIZE (tinc-1.0.32.tar.gz) = 496221
+SHA256 (tinc-1.0.33.tar.gz) = f29dxkRLxlGsY1yB9HRbzOWBu9HUXtYMvcTuEb67EPQ=
+SIZE (tinc-1.0.33.tar.gz) = 486374
Index: patches/patch-doc_sample-config_tinc_conf
===
RCS file: patches/patch-doc_sample-config_tinc_conf
diff -N patches/patch-doc_sample-config_tinc_conf
--- patches/patch-doc_sample-config_tinc_conf   3 Nov 2015 20:07:47 -   
1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,15 +0,0 @@
-$OpenBSD: patch-doc_sample-config_tinc_conf,v 1.1.1.1 2015/11/03 20:07:47 
sthen Exp $
 doc/sample-config/tinc.conf.orig   Mon Nov  2 21:58:56 2015
-+++ doc/sample-config/tinc.confMon Nov  2 21:59:17 2015
-@@ -16,7 +16,7 @@ Name = alpha
- ConnectTo = beta
- 
- # The tap device tinc will use.
--# Default is /dev/tap0 for ethertap or FreeBSD,
--# /dev/tun0 for Solaris and OpenBSD,
--# and /dev/net/tun for Linux tun/tap device.
--Device = /dev/net/tun
-+# /dev/tap0 for ethertap, FreeBSD or OpenBSD
-+# /dev/tun0 for Solaris
-+# /dev/net/tun for Linux tun/tap
-+Device = /dev/tap0
Index: patches/patch-doc_tinc_texi
===
RCS file: /cvs/ports/net/tinc/patches/patch-doc_tinc_texi,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 patch-doc_tinc_texi
--- patches/patch-doc_tinc_texi 4 Oct 2017 20:51:36 -   1.4
+++ patches/patch-doc_tinc_texi 15 Dec 2017 19:56:36 -
@@ -2,7 +2,7 @@ $OpenBSD: patch-doc_tinc_texi,v 1.4 2017
 Index: doc/tinc.texi
 --- doc/tinc.texi.orig
 +++ doc/tinc.texi
-@@ -2071,7 +2071,7 @@ In switch or hub modes ARP does work so the sender alr
+@@ -2075,7 +2075,7 @@ In switch or hub modes ARP does work so the sender alr
  In those modes every interface should have a unique MAC address, so make sure 
they are not the same.
  Because switch and hub modes rely on MAC addresses to function correctly,
  these modes cannot be used on the following operating systems which don't 
have a `tap' style virtual network device:
@@ -11,7 +11,7 @@ Index: doc/tinc.texi
  
  
  @c ==
-@@ -2498,8 +2498,6 @@ For IPv6 addresses:
+@@ -2502,8 +2502,6 @@ For IPv6 addresses:
  On some platforms, when running tinc in switch mode, the VPN interface must 
be set to tap mode with an ifconfig command:
  
  @multitable {Darwin (Mac OS X)} {ifconfig route add -bla network address 
netmask netmask prefixlength interface}



UPDATE: graphics/libraw

2017-12-15 Thread Rafael Sadowski
Simple update to the latest stable version. No symbol changes detected
by nm(1).

Ok?

Index: Makefile
===
RCS file: /cvs/ports/graphics/libraw/Makefile,v
retrieving revision 1.31
diff -u -p -u -p -r1.31 Makefile
--- Makefile8 Dec 2017 18:57:20 -   1.31
+++ Makefile15 Dec 2017 19:44:35 -
@@ -2,7 +2,7 @@
 
 COMMENT =  library for reading RAW files
 
-DISTNAME = LibRaw-0.18.5
+DISTNAME = LibRaw-0.18.6
 PKGNAME =  ${DISTNAME:L}
 CATEGORIES =   graphics
 
Index: distinfo
===
RCS file: /cvs/ports/graphics/libraw/distinfo,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 distinfo
--- distinfo4 Oct 2017 20:47:23 -   1.8
+++ distinfo15 Dec 2017 19:44:35 -
@@ -1,2 +1,2 @@
-SHA256 (LibRaw-0.18.5.tar.gz) = +ip9FNnfr2s2j5WKdteSZrP1jCvDZ766tW4RuqlNoXg=
-SIZE (LibRaw-0.18.5.tar.gz) = 1280046
+SHA256 (LibRaw-0.18.6.tar.gz) = 5bisylWKpFe8khSAIAQyDFYQ0UNMKtsfPqNn8CavpTs=
+SIZE (LibRaw-0.18.6.tar.gz) = 1282212



Re: Remove net/pork?

2017-12-15 Thread Victor Kukshiev
I support this decision.

2017-12-15 20:34 GMT+03:00 Frederic Cambus :

> Hi ports@,
>
> The AIM service is being shut down today (December 15th 2017) [1], so
> the main use case for this port is gone. Documentation says it supports
> IRC however, but I have not been able to make it connect to any server.
> Morever, the program is unmaintained since 2005.
>
> Comments? OK to remove?
>
> [1] https://help.aol.com/articles/aim-discontinued
>
>


Remove net/pork?

2017-12-15 Thread Frederic Cambus
Hi ports@,

The AIM service is being shut down today (December 15th 2017) [1], so
the main use case for this port is gone. Documentation says it supports
IRC however, but I have not been able to make it connect to any server.
Morever, the program is unmaintained since 2005.

Comments? OK to remove?

[1] https://help.aol.com/articles/aim-discontinued



UPDATE: x11/qt5

2017-12-15 Thread Rafael Sadowski
Hi

please find below a straightforward qt5 update. Don't forget this time
to remove REVISION in meta/qt5. No interesting changes expect:

Fix missing private includes https://bugreports.qt.io/browse/QTBUG-37417

Discussed here: https://marc.info/?l=openbsd-ports&m=150978573322467&w=2a

Does anyone want to start a bulk?

Ok? Commenst?

Best regards,

Rafael Sadowksi

Index: meta/qt5/Makefile
===
RCS file: /cvs/ports/meta/qt5/Makefile,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 Makefile
--- meta/qt5/Makefile   29 Jul 2017 11:40:15 -  1.5
+++ meta/qt5/Makefile   15 Dec 2017 12:53:56 -
@@ -7,8 +7,6 @@ PKGNAME =   qt5-${MODQT5_VERSION}
 PKGNAME-main = ${PKGNAME}
 PKGNAME-examples = qt5-examples-${MODQT5_VERSION}
 
-REVISION-main =0
-
 MULTI_PACKAGES =   -main -examples
 
 MODULES =  x11/qt5
Index: x11/qt5/Makefile.version
===
RCS file: /cvs/ports/x11/qt5/Makefile.version,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 Makefile.version
--- x11/qt5/Makefile.version24 Oct 2017 10:12:19 -  1.3
+++ x11/qt5/Makefile.version15 Dec 2017 12:54:07 -
@@ -1,8 +1,8 @@
 # $OpenBSD: Makefile.version,v 1.3 2017/10/24 10:12:19 rsadowski Exp $
 # Common source for Qt5 version
 
-QT5_VERSION =  5.9.2
-QT5_DIST_VERSION = 5.9.2
+QT5_VERSION =  5.9.3
+QT5_DIST_VERSION = 5.9.3
 QT5_WEBKIT_VERSION =   5.9.0
 
 # This one is used for building dependencies for examples and documentation,
Index: x11/qt5/docs/distinfo
===
RCS file: /cvs/ports/x11/qt5/docs/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- x11/qt5/docs/distinfo   24 Oct 2017 10:12:19 -  1.2
+++ x11/qt5/docs/distinfo   15 Dec 2017 12:54:07 -
@@ -1,66 +1,66 @@
-SHA256 (qt/qt3d-opensource-src-5.9.2.tar.xz) = 
yVWpL+Lz8vA0k64OnZc+vhxLHgN7WPGAkvogQPW1B4M=
-SHA256 (qt/qtactiveqt-opensource-src-5.9.2.tar.xz) = 
YEWNGXIHW3GWEisB0O95Kc70nMPwaD+ORs06ZbRN5c8=
-SHA256 (qt/qtbase-opensource-src-5.9.2.tar.xz) = 
f+K7RolV9jPHGz3dPCaeaKLEE3pOW43RLc2zTLxtYJs=
-SHA256 (qt/qtcanvas3d-opensource-src-5.9.2.tar.xz) = 
hKjWbCw1tnr4Q3YDfKxx/nehBd8J/+95BqnLGur7Puo=
-SHA256 (qt/qtcharts-opensource-src-5.9.2.tar.xz) = 
Tnr3CnOCjuHrlga9LAccxzR8X5KKrwe0INznN2scaqQ=
-SHA256 (qt/qtconnectivity-opensource-src-5.9.2.tar.xz) = 
LHWVl+yVnVTymj9iiJbZIIzx9OImnY4BqdMDb2mV88w=
-SHA256 (qt/qtdatavis3d-opensource-src-5.9.2.tar.xz) = 
Bq5WmYctBI6LuZRkxCDbN0nIt2Aen4Vc6LHhVteSsrI=
-SHA256 (qt/qtdeclarative-opensource-src-5.9.2.tar.xz) = 
DUD9TenHO5Fz2DCMDcN5Ur9cdH2H/yIZYt0vhI2CCwg=
-SHA256 (qt/qtdoc-opensource-src-5.9.2.tar.xz) = 
iRkUnRUH9geE/8G7xbAoXkbmaGe4IAHj15cnhyBS2zU=
-SHA256 (qt/qtgamepad-opensource-src-5.9.2.tar.xz) = 
dtHpDZAVoYm213s+6sGoknzbam2StXTYR/k4fQfZpVI=
-SHA256 (qt/qtgraphicaleffects-opensource-src-5.9.2.tar.xz) = 
FFlOfrS3BN1pvzNoKDBv6OZTfDIdSe4LcBs7HN2L+3Y=
-SHA256 (qt/qtimageformats-opensource-src-5.9.2.tar.xz) = 
OmJsoKx//Fa1nEs/ZqrGvHaVQFTO22k4uWFWIijrnfM=
-SHA256 (qt/qtlocation-opensource-src-5.9.2.tar.xz) = 
yBpC5E69Tpwz9xlehq896rn95y7wrY3LBKzuJQ01aww=
-SHA256 (qt/qtmultimedia-opensource-src-5.9.2.tar.xz) = 
yaYnAAJIcfIE5fEHiUw6M5vWRb9tusK88b/4zkaEJSA=
-SHA256 (qt/qtnetworkauth-opensource-src-5.9.2.tar.xz) = 
oAPwWqozBgXGVyIStN+GnAJuq7vrJByZEDH60lEdI5o=
-SHA256 (qt/qtpurchasing-opensource-src-5.9.2.tar.xz) = 
inEFfZ9x8kNwsDJSFEHuCh6JSyi1GsEvaJNkho9HwhE=
-SHA256 (qt/qtquickcontrols-opensource-src-5.9.2.tar.xz) = 
Xwns+GSKzYq+0g1ye4UX4MU8+UXoOpku5Y1Lqt2EvR8=
-SHA256 (qt/qtquickcontrols2-opensource-src-5.9.2.tar.xz) = 
K1XdPdU7Smq7DOt0t/uYpeUukFbHGmzbrq1c350ayNI=
-SHA256 (qt/qtremoteobjects-opensource-src-5.9.2.tar.xz) = 
5owQ6hKwFiz0pVzNie4TEILmcBeQx57qJZ4MHXmDl/o=
-SHA256 (qt/qtscript-opensource-src-5.9.2.tar.xz) = 
R4B9tcJoRgmgJSYB/aChU1MKLJeruMlt8w9OeJfNQPE=
-SHA256 (qt/qtscxml-opensource-src-5.9.2.tar.xz) = 
nSsSkrxjIwWqGWO/v8Bui0SJyg+e04DqZBDJ3DiusV0=
-SHA256 (qt/qtsensors-opensource-src-5.9.2.tar.xz) = 
eUQViMnIvRs0uRSBRBYUB36jNaAAXnmh3GitlkKEtdM=
-SHA256 (qt/qtserialbus-opensource-src-5.9.2.tar.xz) = 
u8JL2v0BkfyAjgixnzeOdL7bt5+vTjlrZrp8qf7Zvgg=
-SHA256 (qt/qtserialport-opensource-src-5.9.2.tar.xz) = 
UO2cwi2xYVvAAmfSSwgZgTuFSvNlGrbl/6p/fH5izUI=
-SHA256 (qt/qtspeech-opensource-src-5.9.2.tar.xz) = 
73qE7Fowx8edOQtcxW1Ha6p8i587Nvi3bQef6FwbAzM=
-SHA256 (qt/qtsvg-opensource-src-5.9.2.tar.xz) = 
upbr+7YNJ5NUcpW3EioSfSG6RM9Ya/08ghLFnWhmEQg=
-SHA256 (qt/qttools-opensource-src-5.9.2.tar.xz) = 
K7mWEYto6ZOcGFpZODflpBuzZnv11NUTT6wCWYvS2Bo=
-SHA256 (qt/qtvirtualkeyboard-opensource-src-5.9.2.tar.xz) = 
6DbKA0iyHfKGNeVBcTcmREq+17U6Cs8zWMyQUy5kxvw=
-SHA256 (qt/qtwebchannel-opensource-src-5.9.2.tar.xz) = 
nBtN7+yt1/nuFdWBXUZKvvCWH8VlzHgxcg/HwMDROiY=
+SHA256 (qt/qt3d-opensource-src-5.9.3.tar.xz) = 
l5JRMvBYPM129eEEyEk0HfOrunPdTZtkdiKiO9rmJz8=
+SHA256 (qt/qt

Re: Ruby 2.4.3 and 2.3.6 Security Releases

2017-12-15 Thread Jeremy Evans
On 12/14 02:08, Jeremy Evans wrote:
> Bump to the latest release of ruby 2.3 and 2.4.

Here's a backport for 6.2-stable.  Due to the minimal changes, for ruby
2.2, 2.3, and 2.4, I'm just using the newer upstream version directly.
Both security issues need to be backported to 2.1, and one security
issue needs to be backported to 1.8.

I'll commit this on Monday unless I hear objections.

Thanks,
Jeremy

Index: 1.8/Makefile
===
RCS file: /cvs/ports/lang/ruby/1.8/Attic/Makefile,v
retrieving revision 1.45
diff -u -p -u -p -r1.45 Makefile
--- 1.8/Makefile16 Sep 2017 22:54:58 -  1.45
+++ 1.8/Makefile15 Dec 2017 17:28:20 -
@@ -20,7 +20,7 @@ PKGNAME-ri_docs=  ruby-ri_docs-${VERSION}
 PKG_ARCH-ri_docs=  *
 PKGSPEC-main=  ruby->=1.8,<1.9
 
-REVISION-main= 9
+REVISION-main= 10
 REVISION-iconv=0
 REVISION-ri_docs=  2
 
Index: 1.8/patches/patch-lib_net_ftp_rb
===
RCS file: 1.8/patches/patch-lib_net_ftp_rb
diff -N 1.8/patches/patch-lib_net_ftp_rb
--- /dev/null   1 Jan 1970 00:00:00 -
+++ 1.8/patches/patch-lib_net_ftp_rb15 Dec 2017 17:28:20 -
@@ -0,0 +1,45 @@
+$OpenBSD$
+
+Index: lib/net/ftp.rb
+--- lib/net/ftp.rb.orig
 lib/net/ftp.rb
+@@ -494,10 +494,10 @@ module Net
+ blocksize = DEFAULT_BLOCKSIZE, &block) # :yield: data
+   if @resume
+   rest_offset = File.size?(localfile)
+-  f = open(localfile, "a")
++  f = File.open(localfile, "a")
+   else
+   rest_offset = nil
+-  f = open(localfile, "w")
++  f = File.open(localfile, "w")
+   end
+   begin
+   f.binmode
+@@ -516,7 +516,7 @@ module Net
+ # line at a time.
+ #
+ def gettextfile(remotefile, localfile = File.basename(remotefile), 
&block) # :yield: line
+-  f = open(localfile, "w")
++  f = File.open(localfile, "w")
+   begin
+   retrlines("RETR " + remotefile) do |line|
+ f.puts(line)
+@@ -556,7 +556,7 @@ module Net
+   else
+   rest_offset = nil
+   end
+-  f = open(localfile)
++  f = File.open(localfile)
+   begin
+   f.binmode
+   storbinary("STOR " + remotefile, f, blocksize, rest_offset, &block)
+@@ -571,7 +571,7 @@ module Net
+ # passing in the transmitted data one line at a time.
+ #
+ def puttextfile(localfile, remotefile = File.basename(localfile), &block) 
# :yield: line
+-  f = open(localfile)
++  f = File.open(localfile)
+   begin
+   storlines("STOR " + remotefile, f, &block)
+   ensure
Index: 2.1/Makefile
===
RCS file: /cvs/ports/lang/ruby/2.1/Attic/Makefile,v
retrieving revision 1.28
diff -u -p -u -p -r1.28 Makefile
--- 2.1/Makefile16 Sep 2017 22:52:40 -  1.28
+++ 2.1/Makefile15 Dec 2017 17:28:20 -
@@ -15,7 +15,8 @@ PKGNAME-gdbm =ruby21-gdbm-${VERSION}
 PKGNAME-tk =   ruby21-tk-${VERSION}
 PKGNAME-ri_docs =  ruby21-ri_docs-${VERSION}
 
-REVISION-main =5
+REVISION-main =6
+REVISION-ri_docs = 0
 PKG_ARCH-ri_docs = *
 WANTLIB-ri_docs =  # empty
 
Index: 2.1/patches/patch-lib_net_ftp_rb
===
RCS file: 2.1/patches/patch-lib_net_ftp_rb
diff -N 2.1/patches/patch-lib_net_ftp_rb
--- /dev/null   1 Jan 1970 00:00:00 -
+++ 2.1/patches/patch-lib_net_ftp_rb15 Dec 2017 17:28:20 -
@@ -0,0 +1,45 @@
+$OpenBSD$
+
+Index: lib/net/ftp.rb
+--- lib/net/ftp.rb.orig
 lib/net/ftp.rb
+@@ -603,10 +603,10 @@ module Net
+   if localfile
+ if @resume
+   rest_offset = File.size?(localfile)
+-  f = open(localfile, "a")
++  f = File.open(localfile, "a")
+ else
+   rest_offset = nil
+-  f = open(localfile, "w")
++  f = File.open(localfile, "w")
+ end
+   elsif !block_given?
+ result = ""
+@@ -634,7 +634,7 @@ module Net
+ def gettextfile(remotefile, localfile = File.basename(remotefile)) # 
:yield: line
+   result = nil
+   if localfile
+-f = open(localfile, "w")
++f = File.open(localfile, "w")
+   elsif !block_given?
+ result = ""
+   end
+@@ -680,7 +680,7 @@ module Net
+   else
+ rest_offset = nil
+   end
+-  f = open(localfile)
++  f = File.open(localfile)
+   begin
+ f.binmode
+ if rest_offset
+@@ -699,7 +699,7 @@ module Net
+ # passing in the transmitted data one line at a time.
+ #
+ def puttextfile(localfile, remotefile = File.basename(localfile), &block) 
# :yield: line
+-  f = open(localfile)
++  f = File.open(localfile)
+   begin
+ storlines("STOR " + remotefile, f, &block)
+   ensure
Index: 2.1/patches/patch-lib_rubygems_config_file_rb

Re: Remove net/aimsniff?

2017-12-15 Thread Victor Kukshiev
Hello!
I support this decision.

2017-12-15 20:25 GMT+03:00 Frederic Cambus :

> Hi ports@,
>
> The AIM service is being shut down today (December 15th 2017) [1], so
> there is
> no use case for this port anymore.
>
> Comments? OK to remove?
>
> [1] https://help.aol.com/articles/aim-discontinued
>
>


Remove net/aimsniff?

2017-12-15 Thread Frederic Cambus
Hi ports@,

The AIM service is being shut down today (December 15th 2017) [1], so there is
no use case for this port anymore.

Comments? OK to remove?

[1] https://help.aol.com/articles/aim-discontinued



Re: [UPDATE] ffmpegthumbnailer 2.2.0

2017-12-15 Thread Victor Kukshiev
Landry:

> Maybe stating the obvious, but have you tried building the ports
> depending on it ? at least x11/kde4/ffmpegthumbs & multimedia/mediatomb
> ..

kde4-ffmpegthumbs is not depending on ffmpegthumbnailer. other ports
build is ok.


Re: Python connect to MS SQL Server Databases

2017-12-15 Thread Jeremie Courreges-Anglas
On Fri, Dec 15 2017, Remi Pointel  wrote:
> Le 15-12-2017 15:09, Сергей Тарасов a écrit :
>> How can I connect in Python program to MS SQL Server Databases in
>> OpenBSD?

That's not a question for tech@, so let's move this thread to ports@. ;)

> Hi,
>
> attached is the port of py-mssql for OpenBSD.
>
> I don't have a MS SQL server to test, so please test and if it works
> fine I will import it.



py-mssql-2.1.3.tar.gz
Description: Binary data

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE


Re: UPDATE: misc/memcached

2017-12-15 Thread Jeremie Courreges-Anglas
On Wed, Nov 22 2017, Giovanni Bechis  wrote:
> Hi,
> update to latest release, some bug fixes and pledge(2) support
> committed upstream.

I don't use this but the update looks fine ports-wise.  ok jca@ fwiw

> Pledge(2) support is enabled only if the daemon is not run with "-o 
> no_drop_privileges" parameter;
> do we want to go the way upstream goes or should we disable the possibility 
> to disable pledge(2) ?

I would not bother disabling this, but if you do make it obvious that
-o no_drop_privileges won't work.  If people use the option as
a workaround and slack off instead of reporting bugs, they're the ones
not benefiting from pledge(2), which is not a smart thing to do.

My two cents,
-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: [update] security/gopass to 1.6.2 - now 1.6.4

2017-12-15 Thread Aaron Bieber
On Mon, Dec 04, 2017 at 04:17:00PM -0700, Aaron Bieber wrote:
> Hola!
>
> This brings gopass to the latest version which has a some fun new stuff!
>
> OpenBSD specific stuff:
>  - Now pledge'd on OpenBSD: "stdio rpath wpath cpath tty proc exec"
>  - Fixes for wizard UI
>  - Fix the version check (won't make http requests anymore)
>
> Full changelog: https://github.com/justwatchcom/gopass/releases
>
> OK?

Just kidding - 1.6.4 came out - here is the diff for it - the patch that
is added is upstreamed and can be removed > 1.6.4.

https://deftly.net/patches/gopass-1.6.4.diff

Index: Makefile
===
RCS file: /cvs/ports/security/gopass/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile28 Oct 2017 13:38:38 -  1.2
+++ Makefile15 Dec 2017 13:27:40 -
@@ -4,7 +4,7 @@ COMMENT =   pass compatible password manag

 GH_ACCOUNT =   justwatchcom
 GH_PROJECT =   gopass
-GH_TAGNAME =   v1.5.1
+GH_TAGNAME =   v1.6.4

 CATEGORIES =   security

@@ -16,10 +16,12 @@ PERMIT_PACKAGE_CDROM =  Yes
 RUN_DEPENDS =  devel/git \
security/gnupg2

+# uses pledge()
 WANTLIB += c pthread

 MODULES =  lang/go
 MODGO_TYPE =   bin
+MODGO_LDFLAGS =-X "main.version=${GH_TAGNAME:S/v//}"

 # Tests require MODGO_ENV, but break in weird ways when it is set.
 NO_TEST =  Yes
Index: distinfo
===
RCS file: /cvs/ports/security/gopass/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo28 Oct 2017 13:38:38 -  1.2
+++ distinfo15 Dec 2017 13:27:40 -
@@ -1,2 +1,2 @@
-SHA256 (gopass-1.5.1.tar.gz) = 0rfjS0YDlh5LRyyreRTj8tM/AODdPke3RXjn/EC3ZYI=
-SIZE (gopass-1.5.1.tar.gz) = 1173306
+SHA256 (gopass-1.6.4.tar.gz) = U2FUvZZSxIuEDhNa+9kcWYCu1MFz7lxvC2AqcXQdkd0=
+SIZE (gopass-1.6.4.tar.gz) = 1681472
Index: patches/patch-utils_notify_notify_others_go
===
RCS file: patches/patch-utils_notify_notify_others_go
diff -N patches/patch-utils_notify_notify_others_go
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-utils_notify_notify_others_go 15 Dec 2017 13:27:40 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+This is fixed upstream. Can be removed next release.
+
+Index utils/notify/notify_others.go
+--- utils/notify/notify_others.go
 utils/notify/notify_others.go
+@@ -10,5 +10,5 @@ import (
+
+ // Notify is not yet implemented on this platform
+ func Notify(subj, msg string) error {
+-  return errors.New("GOOS %s not yet supported", runtime.GOOS)
++  return errors.Errorf("GOOS %s not yet supported", runtime.GOOS)
+ }

>
> --
> PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A  4AF0 1F81 112D 62A9 ADCE
>

--
PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A  4AF0 1F81 112D 62A9 ADCE



Re: bacula versions

2017-12-15 Thread Stuart Henderson
On 2017/12/14 16:53, Stephen Graf wrote:
> I tested from an x86 ver 9 bacula client to a ver 7 server and it works.  My
> server is openbsd 6.1.
> However when I try it from an orange pi one ver 9 client to the same server
> the client quits with the following message in messages and daemon:
> Dec 14 16:47:31 op1-0 bacula-fd: Bacula interrupted by signal 10: BUS error

Ah that's interesting. Could really do with a backtrace for this,
does gdb work on armv7 and if so can you get anything from it?

Something like

gdb `which bacula-fd`
set args -u root -g wheel -v -c /etc/bacula/bacula-fd.conf -f -d255
<...attempt backup...crash...>
bt full

Might need a build done with "DEBUG=-g" if the trace isn't useful.

Not sure if it's the case here but a bus error could be due to
unaligned memory access (x86 will silently handle unaligned access
with AIUI just a performance hit, but some other arches don't allow
it at all).



Re: UPDATE: devel/boost

2017-12-15 Thread Rafael Sadowski
On Fri Dec 15, 2017 at 09:04:36AM +0100, Landry Breuil wrote:
> On Thu, Dec 14, 2017 at 10:58:11PM +0100, Rafael Sadowski wrote:
> > Hi All!
> > 
> > After a long time and many setbacks I'm happy to send this mail. Please find
> > attached a diff as tarball to update boost to the latest stable version 
> > 1.65.1.
> > 
> > Notable port changes.
> > 
> > - Of course bump all shared libs from 6.0 to 7.0.
> > - COMPILER= base-clang ports-gcc (Replace ONLY_FOR_ARCHS)
> 
> 
> Fwiw i fully support this moving on, eventual fallout can be dealt later
> in-tree. But how much was it built-tested on a ports-gcc arch, at least
> macppc|sparc64 ? :)
> 

Thanks landry@. I only built boost with ports-gcc. That's all I can do.



Re: UPDATE: devel/boost

2017-12-15 Thread Landry Breuil
On Thu, Dec 14, 2017 at 10:58:11PM +0100, Rafael Sadowski wrote:
> Hi All!
> 
> After a long time and many setbacks I'm happy to send this mail. Please find
> attached a diff as tarball to update boost to the latest stable version 
> 1.65.1.
> 
> Notable port changes.
> 
> - Of course bump all shared libs from 6.0 to 7.0.
> - COMPILER= base-clang ports-gcc (Replace ONLY_FOR_ARCHS)


Fwiw i fully support this moving on, eventual fallout can be dealt later
in-tree. But how much was it built-tested on a ports-gcc arch, at least
macppc|sparc64 ? :)