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




CVS: cvs.openbsd.org: ports

2017-12-15 Thread Aaron Bieber
CVSROOT:/cvs
Module name:ports
Changes by: abie...@cvs.openbsd.org 2017/12/15 22:15:12

Modified files:
shells : Makefile 

Log message:
+fish



CVS: cvs.openbsd.org: ports

2017-12-15 Thread Aaron Bieber
CVSROOT:/cvs
Module name:ports
Changes by: abie...@cvs.openbsd.org 2017/12/15 22:14:32

Log message:
Import fish shell.

Fish offers some nice things like:
- Autosuggestions
- Man page completions
- OpenBSD specific completions for things like vmctl
- "Configless" config

OK rsadowski@

Status:

Vendor Tag: abieber
Release Tags:   abieber_20171215

N ports/shells/fish/Makefile
N ports/shells/fish/distinfo
N ports/shells/fish/patches/patch-share_completions_pfctl_fish
N ports/shells/fish/patches/patch-share_completions_pkg_add_fish
N ports/shells/fish/patches/patch-share_completions_pkg_delete_fish
N ports/shells/fish/patches/patch-share_completions_pkg_info_fish
N ports/shells/fish/patches/patch-share_completions_rcctl_fish
N ports/shells/fish/patches/patch-share_completions_signify_fish
N ports/shells/fish/patches/patch-share_completions_vmctl_fish
N 
ports/shells/fish/patches/patch-share_functions___fish_print_interfaces_fish
N ports/shells/fish/patches/patch-share_functions___fish_print_packages_fish
N ports/shells/fish/patches/patch-share_tools_create_manpage_completions_py
N 
ports/shells/fish/patches/patch-share_functions___fish_print_filesystems_fish
N ports/shells/fish/pkg/DESCR
N ports/shells/fish/pkg/PLIST

No conflicts created by this import



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


CVS: cvs.openbsd.org: ports

2017-12-15 Thread Brian Callahan
CVSROOT:/cvs
Module name:ports
Changes by: bcal...@cvs.openbsd.org 2017/12/15 20:44:41

Modified files:
lang/kona  : Makefile distinfo 

Log message:
Update to kona-3.2.0.20171212
Just cleans up some compiler warnings.



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 -
+++ 

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


CVS: cvs.openbsd.org: ports

2017-12-15 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2017/12/15 14:42:01

Modified files:
devel/tig  : Makefile distinfo 

Log message:
Update tig to 2.3.1 and enable verbose build.



CVS: cvs.openbsd.org: ports

2017-12-15 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2017/12/15 14:11:42

Modified files:
graphics/ffmpegthumbnailer: Makefile distinfo 
graphics/ffmpegthumbnailer/pkg: PLIST 

Log message:
Update to ffmpegthumbnailer 2.2.0, from Victor Kukshiev who takes
maintainership.



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 :)



CVS: cvs.openbsd.org: ports

2017-12-15 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2017/12/15 14:03:58

Modified files:
www/mozilla-firefox: Makefile 
www/mozilla-firefox/files: all-openbsd.js 

Log message:
Out-out from shield/studies by default in new profiles.

For existing profiles, visit about:preferences#privacy to disable it (cf
https://support.mozilla.org/en-US/kb/shield)

Users just want to browse the web, not be opted-in by default to random UI
experiments. See https://wiki.mozilla.org/Firefox/Shield/Shield_Studies
for details.

While i usually don't like diverting from upstream defaults, something
that automagically loads unwanted add-ons isn't right, so i'm making an
exception here.



CVS: cvs.openbsd.org: ports

2017-12-15 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/12/15 13:51:22

Modified files:
mail/neomutt   : Makefile 
Added files:
mail/neomutt/patches: patch-auto_def 

Log message:
unbreak sasl build, autosetup does a test-compile of sasl.h which fails
because it doesn't include types.h



CVS: cvs.openbsd.org: ports

2017-12-15 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/12/15 13:14:24

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

Log message:
update to neomutt-20171215

* moves from autoconf to the new Tcl-based "autosetup" build tool



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=150978573322467=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 

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, ) # :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), 
) # :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, )
+@@ -571,7 +571,7 @@ module Net
+ # passing in the transmitted data one line at a time.
+ #
+ def puttextfile(localfile, remotefile = File.basename(localfile), ) 
# :yield: line
+-  f = open(localfile)
++  f = File.open(localfile)
+   begin
+   storlines("STOR " + remotefile, f, )
+   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), ) 
# :yield: line
+-  f = open(localfile)
++  f = File.open(localfile)
+   begin
+ storlines("STOR " + remotefile, f, )
+   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



CVS: cvs.openbsd.org: ports

2017-12-15 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/12/15 09:47:34

Modified files:
lang/pypy  : Makefile distinfo 

Log message:
regen lang/pypy's bootstrap; the libutil symbol visibility changes resulted
in the old one no longer working:

08:59 < aja> pypy:/usr/lib/libutil.so.13.0: undefined symbol 'freezero'
08:59 < aja> pypy:/usr/lib/libutil.so.13.0: undefined symbol 'recallocarray'



CVS: cvs.openbsd.org: ports

2017-12-15 Thread Jeremy Evans
CVSROOT:/cvs
Module name:ports
Changes by: jer...@cvs.openbsd.org  2017/12/15 09:47:38

Modified files:
lang/ruby/2.4  : Makefile distinfo 
lang/ruby/2.4/pkg: PLIST-main PLIST-ri_docs 

Log message:
Update to ruby 2.4.3, fixing CVE-2017-17405 and CVE-2017-0903



CVS: cvs.openbsd.org: ports

2017-12-15 Thread Jeremy Evans
CVSROOT:/cvs
Module name:ports
Changes by: jer...@cvs.openbsd.org  2017/12/15 09:46:52

Modified files:
lang/ruby/2.3  : Makefile distinfo 
lang/ruby/2.3/pkg: PLIST-main PLIST-ri_docs 

Log message:
Update to ruby 2.3.6, fixing CVE-2017-17405 and CVE-2017-0903



CVS: cvs.openbsd.org: ports

2017-12-15 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/12/15 09:25:31

Modified files:
emulators/qemu : Makefile distinfo 
emulators/qemu/patches: patch-configure patch-util_cacheinfo_c 
emulators/qemu/pkg: PLIST 
Removed files:
emulators/qemu/patches: patch-include_qemu_osdep_h 

Log message:
Update to qemu-2.11.0.

from Brad (maintainer)



CVS: cvs.openbsd.org: ports

2017-12-15 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/12/15 07:49:50

Modified files:
multimedia/get_iplayer: Makefile distinfo 
multimedia/get_iplayer/patches: patch-get_iplayer 

Log message:
update to get_iplayer-3.07



CVS: cvs.openbsd.org: ports

2017-12-15 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/12/15 07:42:49

Modified files:
security/libsodium: Makefile distinfo 

Log message:
update to libsodium-1.0.16



CVS: cvs.openbsd.org: ports

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

Modified files:
www/nghttp2: Makefile distinfo 

Log message:
update to nghttp2-1.28.0



CVS: cvs.openbsd.org: ports

2017-12-15 Thread Aaron Bieber
CVSROOT:/cvs
Module name:ports
Changes by: abie...@cvs.openbsd.org 2017/12/15 07:33:17

Modified files:
security/gopass: Makefile distinfo 
Added files:
security/gopass/patches: patch-utils_notify_notify_others_go 

Log message:
Bump to latest.

Adds pledge()
Fixes UI on OpenBSD
No more http version check

ok rsadowski@



CVS: cvs.openbsd.org: ports

2017-12-15 Thread Aaron Bieber
CVSROOT:/cvs
Module name:ports
Changes by: abie...@cvs.openbsd.org 2017/12/15 07:32:40

ports/security/gopass/patches

Update of /cvs/ports/security/gopass/patches
In directory cvs.openbsd.org:/tmp/cvs-serv37230/patches

Log Message:
Directory /cvs/ports/security/gopass/patches added to the repository



CVS: cvs.openbsd.org: ports

2017-12-15 Thread Remi Pointel
CVSROOT:/cvs
Module name:ports
Changes by: rpoin...@cvs.openbsd.org2017/12/15 07:18:10

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

Log message:
update django to 1.11.8.
release notes:https://docs.djangoproject.com/en/1.11/releases/1.11.8/



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.



CVS: cvs.openbsd.org: ports

2017-12-15 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/12/15 01:26:48

Modified files:
sysutils/awscli: Makefile distinfo 

Log message:
Update to awscli-1.14.10.



CVS: cvs.openbsd.org: ports

2017-12-15 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/12/15 01:26:30

Modified files:
net/py-boto3   : Makefile distinfo 

Log message:
Update to py-boto3-1.5.0.



CVS: cvs.openbsd.org: ports

2017-12-15 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/12/15 01:26:07

Modified files:
net/py-botocore: Makefile distinfo 

Log message:
Update to py-botocore-1.8.14.



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 ? :)