CVS: cvs.openbsd.org: ports

2020-05-17 Thread Ingo Feinerer
CVSROOT:/cvs
Module name:ports
Changes by: feine...@cvs.openbsd.org2020/05/17 23:26:13

Modified files:
math/R : Makefile distinfo 
math/R/patches : patch-configure 
math/R/pkg : PLIST README 

Log message:
Update to R 4.0.0

OK pirofti@



UPDATE: devel/cmake (switch to py3, enable DEBUG_PACKAGES, new {py,ruby,lua,java} handling)

2020-05-17 Thread Rafael Sadowski
This diff currently runs through a full amd64 bulk build. I send this
diff in advance to discuss it. Here a list of imported port changes:

- Update CMmke to 3.17.2

- Switch CMake to pyhton3

- Remove all Modules under files. This should no longer be necessary.

- Remove our self hacked MODJAVA* MODLUA* MODPY* MODRUBY* modules.
  - Instead we help the original cmake modules, see cmake.port.mk. That
saves and all these patches and is in my opinion more correct!

- Fix cmake debug packages:
  - If DEBUG_PACKAGES set don't create install stripa rule. Idea by
landry@

What do you think? I would like to commit this diff if the bulk build
is successful.

Opinions?

diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile
index 91b69c9cf98..4492613f889 100644
--- a/devel/cmake/Makefile
+++ b/devel/cmake/Makefile
@@ -4,11 +4,10 @@ DPB_PROPERTIES =  parallel
 
 COMMENT =  portable build system
 
-VER =  3.16.2
+VER =  3.17.2
 EPOCH =0
 DISTNAME = cmake-${VER}
 CATEGORIES =   devel
-REVISION = 1
 
 HOMEPAGE = https://www.cmake.org/
 
@@ -22,7 +21,11 @@ WANTLIB += jsoncpp m rhash uv z
 
 COMPILER = base-clang ports-gcc
 
-BUILD_DEPENDS +=   textproc/py-sphinx>=1.4
+MODULES =  lang/python
+MODPY_VERSION =${MODPY_DEFAULT_VERSION_3}
+MODPY_RUNDEP = No
+
+BUILD_DEPENDS =textproc/py-sphinx${MODPY_FLAVOR}
 
 LIB_DEPENDS =  archivers/libarchive \
devel/libuv \
@@ -38,7 +41,7 @@ CONFIGURE_ARGS =  --datadir=share/cmake \
--no-qt-gui \
--parallel=${MAKE_JOBS} \
--prefix=${PREFIX} \
-   --sphinx-build=${LOCALBASE}/bin/sphinx-build \
+   
--sphinx-build=${LOCALBASE}/bin/sphinx-build${MODPY_BIN_SUFFIX} \
--sphinx-html \
--sphinx-man \
--system-libs \
@@ -71,7 +74,6 @@ post-patch:
${WRKSRC}/Modules/FindDCMTK.cmake \
 
 pre-configure:
-   cp ${FILESDIR}/*.cmake ${WRKSRC}/Modules/
find ${WRKSRC}/Modules -name "*.cmake" -exec ${SUBST_CMD} {} +
find ${WRKSRC}/Tests -name "CMakeLists.txt" -exec ${SUBST_CMD} {} +
${SUBST_CMD} ${SUBST_FILES}
diff --git a/devel/cmake/cmake.port.mk b/devel/cmake/cmake.port.mk
index 750b671b47a..ab14ee38ca2 100644
--- a/devel/cmake/cmake.port.mk
+++ b/devel/cmake/cmake.port.mk
@@ -50,16 +50,34 @@ _MODCMAKE_GEN = "Unix Makefiles"
 DPB_PROPERTIES += nojunk
 .endif
 
-CONFIGURE_ENV +=   MODJAVA_VER=${MODJAVA_VER} \
-   MODLUA_VERSION=${MODLUA_VERSION} \
-   MODLUA_BIN=${MODLUA_BIN} \
-   MODLUA_INCL_DIR=${MODLUA_INCL_DIR} \
-   MODPY_VERSION=${MODPY_VERSION} \
-   MODPY_BIN=${MODPY_BIN} \
-   MODPY_INCDIR=${MODPY_INCDIR} \
-   MODPY_LIBDIR=${MODPY_LIBDIR} \
-   MODRUBY_REV=${MODRUBY_REV} \
-   MODTCL_VERSION=${MODTCL_VERSION} \
+# JAVA
+.if ${MODULES:Mjava}
+CONFIGURE_ENV +=   JAVA_HOME=${JAVA_HOME}
+MAKE_ENV +=JAVA_HOME=${JAVA_HOME}
+.endif
+
+# Python
+.if ${MODULES:Mlang/python}
+# 
https://cmake.org/cmake/help/latest/module/FindPython3.html#artifacts-specification
+CONFIGURE_ARGS +=  -DPYTHON_EXECUTABLE=${MODPY_BIN}
+CONFIGURE_ARGS +=  -DPYTHON_LIBRARY_DIRS=${MODPY_LIBDIR}
+CONFIGURE_ARGS +=  -DPYTHON_INCLUDE_DIR=${MODPY_INCDIR}
+.endif
+
+# Lua
+.if ${MODULES:Mlang/lua}
+CONFIGURE_ARGS +=  -DLUA_INCLUDE_DIR=${MODLUA_INCL_DIR}
+.endif
+
+# Ruby
+.if ${MODULES:Mlang/ruby}
+# https://cmake.org/cmake/help/latest/module/FindRuby.html
+CONFIGURE_ARGS +=  -DRUBY_EXECUTABLE=${RUBY}
+.endif
+
+# XXX Remove hackish patches
+# Tcl/Tk
+CONFIGURE_ENV +=   MODTCL_VERSION=${MODTCL_VERSION} \
MODTK_VERSION=${MODTK_VERSION} \
MODTCL_INCDIR=${MODTCL_INCDIR} \
MODTK_INCDIR=${MODTK_INCDIR} \
diff --git a/devel/cmake/distinfo b/devel/cmake/distinfo
index 0ff61db04f0..e56e6ac943f 100644
--- a/devel/cmake/distinfo
+++ b/devel/cmake/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cmake-3.16.2.tar.gz) = jAl4bsYMor41TCmCkHLDgRPekYTymSjrnahEal8s5qk=
-SIZE (cmake-3.16.2.tar.gz) = 9109837
+SHA256 (cmake-3.17.2.tar.gz) = /HcyTE+CCgkFKneFVJuANf+NNGHe1bvYDSUq59HNOqU=
+SIZE (cmake-3.17.2.tar.gz) = 9469251
diff --git a/devel/cmake/files/FindIconv.cmake 
b/devel/cmake/files/FindIconv.cmake
deleted file mode 100644
index 028df5c1ae5..000
--- a/devel/cmake/files/FindIconv.cmake
+++ /dev/null
@@ -1,58 +0,0 @@
-# - Try to find Iconv 
-# Once done this will define 
-# 
-#  ICONV_FOUND - system has Iconv 
-#  ICONV_INCLUDE_DIR - the Iconv include directory 
-#  ICONV_LIBRARIES - Link these to use Iconv 
-#  ICONV_SECOND_ARGUMENT_IS_CONST - the second argument for iconv() is const
-# 

Update and unbreak www/qutebrowser

2020-05-17 Thread Rafael Sadowski
After we import www/py-qtwebengine we can update and unbreak
qutebrowser.

Rafael

diff --git a/www/qutebrowser/Makefile b/www/qutebrowser/Makefile
index a9644120ee3..5cc1c363f12 100644
--- a/www/qutebrowser/Makefile
+++ b/www/qutebrowser/Makefile
@@ -1,11 +1,9 @@
 # $OpenBSD: Makefile,v 1.16 2020/02/08 13:10:01 jasper Exp $
 
-BROKEN =   update requires QT5 webengine (not ported)
 COMMENT =  keyboard-focused browser with a minimal GUI
 
-MODPY_EGG_VERSION =0.11.1
+MODPY_EGG_VERSION =1.11.1
 DISTNAME = qutebrowser-${MODPY_EGG_VERSION}
-REVISION = 3
 
 HOMEPAGE = https://www.qutebrowser.org/
 
@@ -25,12 +23,14 @@ RUN_DEPENDS =   devel/desktop-file-utils \
textproc/py-pygments${MODPY_FLAVOR} \
textproc/py-yaml${MODPY_FLAVOR} \
x11/gtk+3,-guic \
+   devel/py-attrs${MODPY_FLAVOR} \
x11/py-qt5${MODPY_FLAVOR} \
-   www/py-jinja2${MODPY_FLAVOR}
+   www/py-jinja2${MODPY_FLAVOR} \
+   www/py-qtwebengine
 
 post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/applications/
-   ${INSTALL_DATA} ${WRKSRC}/qutebrowser.desktop 
${PREFIX}/share/applications/
+   ${INSTALL_DATA} ${WRKSRC}/misc/org.qutebrowser.qutebrowser.desktop 
${PREFIX}/share/applications/
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps/qutebrowser/
${INSTALL_DATA} ${WRKSRC}/icons/*.{ico,xpm} 
${PREFIX}/share/pixmaps/qutebrowser/
 .for s in 16 24 32 48 64 96 128 256 512
diff --git a/www/qutebrowser/distinfo b/www/qutebrowser/distinfo
index 6f8e448a90f..56ed0aa1106 100644
--- a/www/qutebrowser/distinfo
+++ b/www/qutebrowser/distinfo
@@ -1,2 +1,2 @@
-SHA256 (qutebrowser-0.11.1.tar.gz) = 
NhtW4Q54/4Q8En6xwnIX04JAHFhWyC6DmvTU0Fj0P10=
-SIZE (qutebrowser-0.11.1.tar.gz) = 3254294
+SHA256 (qutebrowser-1.11.1.tar.gz) = 
ejNUyyjvzsLMRUm4qzfhxLgbRcUfUuh/37k4AQCvtTM=
+SIZE (qutebrowser-1.11.1.tar.gz) = 6789139
diff --git a/www/qutebrowser/pkg/PLIST b/www/qutebrowser/pkg/PLIST
index 64da62473e3..e24ac783e5d 100644
--- a/www/qutebrowser/pkg/PLIST
+++ b/www/qutebrowser/pkg/PLIST
@@ -11,26 +11,47 @@ 
lib/python${MODPY_VERSION}/site-packages/qutebrowser-${MODPY_EGG_VERSION}-py${MO
 
lib/python${MODPY_VERSION}/site-packages/qutebrowser-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/zip-safe
 lib/python${MODPY_VERSION}/site-packages/qutebrowser/__init__.py
 lib/python${MODPY_VERSION}/site-packages/qutebrowser/__main__.py
-lib/python${MODPY_VERSION}/site-packages/qutebrowser/${MODPY_PYCACHE}/
+${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/qutebrowser/${MODPY_PYCACHE}/
 
lib/python${MODPY_VERSION}/site-packages/qutebrowser/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/qutebrowser/${MODPY_PYCACHE}__main__.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/qutebrowser/${MODPY_PYCACHE}app.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/${MODPY_PYCACHE}qt.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/qutebrowser/${MODPY_PYCACHE}qutebrowser.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/qutebrowser/${MODPY_PYCACHE}resources.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/api/
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/api/__init__.py
+${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/qutebrowser/api/${MODPY_PYCACHE}/
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/api/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/api/${MODPY_PYCACHE}apitypes.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/api/${MODPY_PYCACHE}cmdutils.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/api/${MODPY_PYCACHE}config.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/api/${MODPY_PYCACHE}downloads.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/api/${MODPY_PYCACHE}hook.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/api/${MODPY_PYCACHE}interceptor.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/api/${MODPY_PYCACHE}message.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/api/${MODPY_PYCACHE}qtutils.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/api/apitypes.py
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/api/cmdutils.py
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/api/config.py
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/api/downloads.py
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/api/hook.py
+lib/python${MODPY_VERSION}/site-packages/qutebrowser/api/interceptor.py

Enable x11/qt5/{qtwebengine,qtwebglplugin,qtwebview and docs}

2020-05-17 Thread Rafael Sadowski
Hi ports@

The following diff enables qtwebengine qtwebglplugin qtwebview and docs
Switch from qtwebkit to qtwebengine for the following ports:
  - qt-creator
  - digikam
  - marble
  - kalgebra
  - gpsbabel (Build test only)

I tested all other qtwebkit ports and see no need for action on the
rest. Disabled qtwebengine otter-browser. "Otter is the only browser
really working on macppc." - cwen

What do you think? OK? I would like to see that as soon as possible.

Rafael

diff --git a/devel/qt-creator/Makefile b/devel/qt-creator/Makefile
index 65045d7dbdd..9ab08d5e6fc 100644
--- a/devel/qt-creator/Makefile
+++ b/devel/qt-creator/Makefile
@@ -7,6 +7,7 @@ COMMENT =   cross-platform IDE for use with Qt
 V =4.12.0
 DISTNAME = qt-creator-opensource-src-${V}
 PKGNAME =  qt-creator-${V}
+REVISION = 0
 
 SHARED_LIBS += Aggregation   0.0 # 0.0
 SHARED_LIBS += CPlusPlus 2.0 # 0.0
@@ -41,9 +42,10 @@ PERMIT_PACKAGE = Yes
 
 WANTLIB += ${COMPILER_LIBCXX} GL KF5SyntaxHighlighting Qt5Concurrent
 WANTLIB += Qt5Core Qt5Designer Qt5DesignerComponents Qt5Gui Qt5Help
-WANTLIB += Qt5Network Qt5PrintSupport Qt5Qml Qt5Quick Qt5QuickWidgets
-WANTLIB += Qt5Script Qt5SerialPort Qt5Sql Qt5Svg Qt5Widgets Qt5Xml
-WANTLIB += c clang m yaml-cpp
+WANTLIB += Qt5Network Qt5Positioning Qt5PrintSupport Qt5Qml Qt5Quick
+WANTLIB += Qt5QuickWidgets Qt5Script Qt5SerialPort Qt5Sql Qt5Svg
+WANTLIB += Qt5WebChannel Qt5WebEngineCore Qt5WebEngineWidgets
+WANTLIB += Qt5Widgets Qt5Xml c clang m yaml-cpp
 
 MASTER_SITES = https://download.qt.io/official_releases/qtcreator/${V:R}/${V}/
 
@@ -71,7 +73,7 @@ RUN_DEPENDS = ${MODGCC4_CPPDEP} \
lang/clazy>=1.5 \
x11/gtk+3,-guic \
x11/qt5/qtquickcontrols \
-   x11/qt5/qtwebkit
+   x11/qt5/qtwebengine
 
 LIB_DEPENDS =  devel/llvm \
devel/kf5/syntax-highlighting \
diff --git a/devel/qt-creator/pkg/PLIST b/devel/qt-creator/pkg/PLIST
index 3bb3fe4083c..6a7af205d15 100644
--- a/devel/qt-creator/pkg/PLIST
+++ b/devel/qt-creator/pkg/PLIST
@@ -1,6 +1,7 @@
 @comment $OpenBSD: PLIST,v 1.14 2020/04/24 13:14:09 rsadowski Exp $
 @bin bin/qtcreator
 bin/qtcreator.sh
+@lib lib/libAdvancedDockingSystem.so.${LIBAdvancedDockingSystem_VERSION}
 @lib lib/libAggregation.so.${LIBAggregation_VERSION}
 @lib lib/libCPlusPlus.so.${LIBCPlusPlus_VERSION}
 @lib lib/libClangsupport.so.${LIBClangsupport_VERSION}
diff --git a/geo/gpsbabel/Makefile b/geo/gpsbabel/Makefile
index 15aeed8fff3..35f4458b0dc 100644
--- a/geo/gpsbabel/Makefile
+++ b/geo/gpsbabel/Makefile
@@ -12,8 +12,8 @@ DISTNAME= gpsbabel-${VERSION}
 PKGNAME-main=  gpsbabel-${VERSION}
 PKGNAME-tk=gpsbabel-tk-${VERSION}
 PKGNAME-qt=gpsbabel-qt-${VERSION}
-REVISION-main= 0
-REVISION-qt=   0
+REVISION-main= 1
+REVISION-qt=   1
 CATEGORIES=geo
 
 HOMEPAGE=  https://www.gpsbabel.org/
@@ -42,13 +42,15 @@ LIB_DEPENDS-main=   ${MODGCC4_CPPLIBDEP} \
 
 cWANTLIB = c m pthread
 WANTLIB-main += shp>=1 usb z ${cWANTLIB} ${COMPILER_LIBCXX}
-WANTLIB-tk = 
-WANTLIB-qt += GL Qt5Core Qt5Gui Qt5Network Qt5WebKit Qt5WebKitWidgets
-WANTLIB-qt += Qt5Widgets Qt5Xml ${COMPILER_LIBCXX} ${cWANTLIB}
+WANTLIB-tk =
+WANTLIB-qt += ${COMPILER_LIBCXX} ${cWANTLIB} GL Qt5Core Qt5Gui Qt5Network
+WANTLIB-qt += Qt5Positioning Qt5PrintSupport Qt5Qml Qt5Quick Qt5WebChannel
+WANTLIB-qt += Qt5WebEngineCore Qt5WebEngineWidgets Qt5Widgets Qt5Xml
+
 
 LIB_DEPENDS-tk=
 LIB_DEPENDS-qt=${MODGCC4_CPPLIBDEP} \
-   x11/qt5/qtwebkit
+   x11/qt5/qtwebengine
 PKG_ARCH-tk=   *
 RUN_DEPENDS-tk=geo/gpsbabel \
${MODTK_RUN_DEPENDS}
diff --git a/graphics/digikam/Makefile b/graphics/digikam/Makefile
index 3fd4b8bc09a..a560d4cb577 100644
--- a/graphics/digikam/Makefile
+++ b/graphics/digikam/Makefile
@@ -5,6 +5,7 @@ COMMENT =   KDE digital photo and video management utility
 V =6.4.0
 DISTNAME = digikam-${V}
 CATEGORIES =   graphics
+REVISION = 0
 
 HOMEPAGE = https://www.digikam.org/
 
@@ -24,14 +25,15 @@ WANTLIB += KF5JobWidgets KF5KIOCore KF5KIOWidgets 
KF5Notifications
 WANTLIB += KF5NotifyConfig KF5Sane KF5Service KF5Solid KF5ThreadWeaver
 WANTLIB += KF5WidgetsAddons KF5WindowSystem KF5XmlGui Magick++-6.Q16
 WANTLIB += MagickCore-6.Q16 Qt5Concurrent Qt5Core Qt5DBus Qt5Gui
-WANTLIB += Qt5Network Qt5OpenGL Qt5PrintSupport Qt5Sql Qt5WebKit
-WANTLIB += Qt5WebKitWidgets Qt5Widgets Qt5X11Extras Qt5Xml Qt5XmlPatterns
-WANTLIB += SM X11 Xext avcodec avfilter avformat avutil c exiv2
-WANTLIB += expat exslt glib-2.0 gphoto2 gphoto2_port intl jasper
-WANTLIB += jpeg lcms2 lensfun lqr-1 m marblewidget-qt5 opencv_calib3d
-WANTLIB += opencv_core opencv_features2d opencv_flann opencv_imgcodecs
-WANTLIB += opencv_imgproc 

NEW: benchmarks/nuttcp

2020-05-17 Thread Alexander Bluhm
Hi,

patrick@ and tobhe@ told be that they would like to have their
favorite tcp/udp benchmark tool nuttcp as a port.

ok to import nuttcp-8.2.2 ?

bluhm

Comment:
network performance measurement tool

Description:
nuttcp is a network performance measurement tool intended for use
by network and system managers.  Its most basic usage is to determine
the raw TCP (or UDP) network layer throughput by transferring memory
buffers from a source system across an interconnecting network to
a destination system, either transferring data for a specified time
interval, or alternatively transferring a specified number of bytes.
In addition to reporting the achieved network throughput in Mbps,
nuttcp also provides additional useful information related to the
data transfer such as user, system, and wall-clock time, transmitter
and receiver CPU utilization, and loss percentage (for UDP transfers).



nuttcp.tgz
Description: application/tar-gz


Update games/pentobi 14.1=> 18.0

2020-05-17 Thread Brian Callahan
Hi ports --

Attached is an update to games/pentobi. This has been unupdated for a
while since our Qt5 lagged behind.

Big endian testing highly appreciated. Colors should be orange and
purple :)

OK?

~Brian

Index: Makefile
===
RCS file: /cvs/ports/games/pentobi/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile	21 Oct 2019 14:34:37 -	1.14
+++ Makefile	12 May 2020 17:14:13 -
@@ -1,10 +1,9 @@
 # $OpenBSD: Makefile,v 1.14 2019/10/21 14:34:37 cwen Exp $
 
 COMMENT =	free clone of Blokus board game
-DISTNAME =	pentobi-14.1
+DISTNAME =	pentobi-18.0
 EXTRACT_SUFX =	.tar.xz
 CATEGORIES =	games x11
-REVISION =	4
 
 HOMEPAGE =	http://pentobi.sourceforge.net/
 MAINTAINER =	Brian Callahan 
@@ -12,24 +11,29 @@ MAINTAINER =	Brian Callahan http://www.w3.org/1999/XSL/Transform;  vers
+ 
+ 
+ 
+-
++
+ 
+ 
+ 
+@@ -69,7 +69,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform;  vers
+ 
+ 
+ 
+-
++
+ 
+ 
+ 
+@@ -99,7 +99,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform;  vers
+ 
+ 
+ 
+-
++
+ 
+ 
+ 
+@@ -131,7 +131,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform;  vers
+ 
+ 
+ 
+-
++
+ 
+ 
+ 
Index: pkg/PLIST
===
RCS file: /cvs/ports/games/pentobi/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- pkg/PLIST	1 Jul 2018 18:33:36 -	1.5
+++ pkg/PLIST	12 May 2020 17:14:13 -
@@ -1,6 +1,14 @@
 @comment $OpenBSD: PLIST,v 1.5 2018/07/01 18:33:36 espie Exp $
 @bin bin/pentobi
 @bin bin/pentobi-thumbnailer
+man/de/
+man/de/man6/
+@man man/de/man6/pentobi-thumbnailer.6
+@man man/de/man6/pentobi.6
+man/es/
+man/es/man6/
+@man man/es/man6/pentobi-thumbnailer.6
+@man man/es/man6/pentobi.6
 @man man/man6/pentobi-thumbnailer.6
 @man man/man6/pentobi.6
 share/applications/io.sourceforge.pentobi.desktop
@@ -23,6 +31,7 @@ share/help/C/pentobi/index.html
 share/help/C/pentobi/junior_rules.html
 share/help/C/pentobi/license.html
 share/help/C/pentobi/nexos_rules.html
+share/help/C/pentobi/overview.html
 share/help/C/pentobi/pieces.png
 share/help/C/pentobi/pieces_callisto.png
 share/help/C/pentobi/pieces_gembloq.jpg
@@ -53,47 +62,36 @@ share/help/de/pentobi/index.html
 share/help/de/pentobi/junior_rules.html
 share/help/de/pentobi/license.html
 share/help/de/pentobi/nexos_rules.html
+share/help/de/pentobi/overview.html
 share/help/de/pentobi/shortcuts.html
 share/help/de/pentobi/system.html
 share/help/de/pentobi/trigon_rules.html
 share/help/de/pentobi/user_interface.html
 share/help/de/pentobi/window_menu.html
-share/icons/hicolor/16x16/apps/pentobi.png
-share/icons/hicolor/16x16/mimetypes/application-x-blokus-sgf.png
-share/icons/hicolor/32x32/apps/pentobi.png
-share/icons/hicolor/32x32/mimetypes/application-x-blokus-sgf.png
+share/help/es/
+share/help/es/pentobi/
+share/help/es/pentobi/become_stronger.html
+share/help/es/pentobi/callisto_rules.html
+share/help/es/pentobi/classic_rules.html
+share/help/es/pentobi/duo_rules.html
+share/help/es/pentobi/gembloq_rules.html
+share/help/es/pentobi/index.html
+share/help/es/pentobi/junior_rules.html
+share/help/es/pentobi/license.html
+share/help/es/pentobi/nexos_rules.html
+share/help/es/pentobi/overview.html
+share/help/es/pentobi/shortcuts.html
+share/help/es/pentobi/system.html
+share/help/es/pentobi/trigon_rules.html
+share/help/es/pentobi/user_interface.html
+share/help/es/pentobi/window_menu.html
 share/icons/hicolor/48x48/apps/pentobi.png
 share/icons/hicolor/48x48/mimetypes/application-x-blokus-sgf.png
-share/icons/hicolor/64x64/apps/pentobi.png
-share/icons/hicolor/64x64/mimetypes/application-x-blokus-sgf.png
 share/icons/hicolor/scalable/apps/pentobi.svg
 share/icons/hicolor/scalable/mimetypes/application-x-blokus-sgf.svg
 share/metainfo/
 share/metainfo/io.sourceforge.pentobi.appdata.xml
 share/mime/packages/pentobi-mime.xml
-share/pentobi/
-share/pentobi/books/
-share/pentobi/books/book_callisto.blksgf
-share/pentobi/books/book_callisto_2.blksgf
-share/pentobi/books/book_callisto_3.blksgf
-share/pentobi/books/book_classic.blksgf
-share/pentobi/books/book_classic_2.blksgf
-share/pentobi/books/book_classic_3.blksgf
-share/pentobi/books/book_duo.blksgf
-share/pentobi/books/book_gembloq.blksgf
-share/pentobi/books/book_gembloq_2.blksgf
-share/pentobi/books/book_gembloq_2_4.blksgf
-share/pentobi/books/book_gembloq_3.blksgf
-share/pentobi/books/book_junior.blksgf
-share/pentobi/books/book_nexos.blksgf
-share/pentobi/books/book_nexos_2.blksgf
-share/pentobi/books/book_trigon.blksgf
-share/pentobi/books/book_trigon_2.blksgf
-share/pentobi/books/book_trigon_3.blksgf
-share/pentobi/translations/
-share/pentobi/translations/libpentobi_gui_de.qm
-share/pentobi/translations/pentobi.qm
-share/pentobi/translations/pentobi_de.qm
 share/thumbnailers/pentobi.thumbnailer
 @tag update-desktop-database
 @tag update-mime-database


CVS: cvs.openbsd.org: ports

2020-05-17 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2020/05/17 18:15:44

Log message:
Import p5-Mail-ListDetector-1.04

This module analyzes mail objects in any of the classes handled by
Email::Abstract. It returns a Mail::ListDetector::List object
representing the mailing list.

The RFC2369 mailing list detector is also capable of matching some
Mailman and Ezmlm messages. It is deliberately checked last to allow
the more specific Mailman and Ezmlm parsing to happen first, and
more accurately identify the type of mailing list involved.

OK cwen@

Status:

Vendor Tag: afresh1
Release Tags:   afresh1_20200517

N ports/mail/p5-Mail-ListDetector/Makefile
N ports/mail/p5-Mail-ListDetector/distinfo
N ports/mail/p5-Mail-ListDetector/pkg/DESCR
N ports/mail/p5-Mail-ListDetector/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2020/05/17 18:16:15

Modified files:
mail   : Makefile 

Log message:
+ p5-Email-Filter-Rules p5-Mail-ListDetector



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2020/05/17 18:14:28

Log message:
Import p5-Email-Filter-Rules-1.2

Email::Filter::Rules is a simple way to route e-mail into folders
without having to touch your filter script. I used to edit my filter
script often to add or remove e-mail lists and often would fat
finger something and enter a typo. This would result in all my
e-mail bouncing and all in all would be a real bummer.

I wanted to make it syntax simple so it wouldn't end up looking
like to awful procmail recipe or some cryptic piece of junk.

OK cwen@

Status:

Vendor Tag: afresh1
Release Tags:   afresh1_20200517

N ports/mail/p5-Email-Filter-Rules/Makefile
N ports/mail/p5-Email-Filter-Rules/distinfo
N ports/mail/p5-Email-Filter-Rules/pkg/DESCR
N ports/mail/p5-Email-Filter-Rules/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2020/05/17 18:14:58

Modified files:
devel/quirks   : Makefile 
devel/quirks/files: Quirks.pm 

Log message:
bg5pdf and pdflib removals



Re: [NEW] www/p5-HTML-FormFu-MultiForm

2020-05-17 Thread Andrew Hewus Fresh
On Sun, May 03, 2020 at 03:46:57AM +, wen heping wrote:
> Hi, ports@:
> 
>   Here is a patch to create new port www/p5-HTML-FormFu-MultiForm,
> which is needed by the update of devel/catalyst.
> 
>   It build well and pass all tests on amd64-current system.

OK afresh1@ if someone wants to import or provide a second

> 
> 
> Regards,
> wen



-- 
andrew - http://afresh1.com

People who invent random theories which only defend the vendor must have
been beaten as children.  Beaten with sticks.
At least, that's my theory.
  -- Theo De Raadt



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2020/05/17 18:11:08

Modified files:
devel/quirks   : Tag: OPENBSD_6_6 Makefile 
devel/quirks/files: Tag: OPENBSD_6_6 Quirks.pm 

Log message:
Revert previous, this was intended for -current



Re: [NEW] www/p5-Catalyst-Model-Adaptor

2020-05-17 Thread Andrew Hewus Fresh
On Sun, May 03, 2020 at 07:02:25AM +, wen heping wrote:
> Hi, ports@:
> 
> Here is a patch to create new port www/p5-Catalyst-Model-Adaptor,
> which is needed by the update of devel/catalyst.
> It build well and pass all tests on amd64-current system.

This could use a TEST_DEPENDS=devel/p5-Test-WWW-Mechanize-Catalyst 

With that, OK afresh1@, if someone could import or provide a second


> 
> Regards,
> wen



-- 
andrew - http://afresh1.com

A hacker does for love what others would not do for money.



Re: [NEW] www/p5-Catalyst-Controller-ActionRole

2020-05-17 Thread Andrew Hewus Fresh
On Sun, May 03, 2020 at 01:38:41AM +, wen heping wrote:
> Hi, ports@:
> 
> Here is a patch to create new port www/p5-Catalyst-Controller-ActionRole.
> Although it is marked DEPRECATED upstream, it is needed by 
> www/p5-Catalyst-ActionRole-ACL,
> which is needed by the update of devel/catalyst.
> It build well and pass all tests on amd64-current system.

OK afresh1@ if someone could import or provide a second


> 
> Regards,
> wen
> 
> 



-- 
andrew - http://afresh1.com

Hey! It compiles! Ship it!



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2020/05/17 18:04:53

Modified files:
devel/quirks   : Tag: OPENBSD_6_6 Makefile 
devel/quirks/files: Tag: OPENBSD_6_6 Quirks.pm 

Log message:
bg5pdf and pdflib removals



Re: 回复: [NEW] www/p5-Catalyst-Action-REST

2020-05-17 Thread Andrew Hewus Fresh
On Fri, May 01, 2020 at 11:23:42PM +, wen heping wrote:
> ping ...

Still OK afresh1@ if someone could import it or give a second OK.

> 
> 发件人: Andrew Hewus Fresh 
> 发送时间: 2020年1月27日 5:05
> 收件人: wen heping 
> 抄送: ports@openbsd.org 
> 主题: Re: [NEW] www/p5-Catalyst-Action-REST
> 
> On Fri, Dec 20, 2019 at 06:37:07AM +, wen heping wrote:
> > Hi, ports@:
> >
> >Here is a patch to create www/p5-Catalyst-Action-REST,
> > which is required by the future update of www/p5-Catalyst-*.
> >   It build well and pass all tests on amd64-current system.
> >
> > Comments? OK?
> > wen
> 
> OK afresh1@

-- 
andrew - http://afresh1.com

Unix is very simple,
but it takes a genius to understand the simplicity.
  -- Dennis Ritchie



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2020/05/17 18:02:48

Modified files:
print  : Makefile 
Removed files:
print/pdflib   : Makefile distinfo 
print/pdflib/patches: patch-configure_in 
print/pdflib/pkg: DESCR PLIST 

Log message:
Drop pdflib, badly outdated and newer versions aren't free

ok cwen@



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2020/05/17 18:01:28

Modified files:
print  : Makefile 
Removed files:
print/bg5pdf   : Makefile distinfo 
print/bg5pdf/patches: patch-Makefile 
print/bg5pdf/pkg: DESCR PLIST 

Log message:
Drop bg5pdf

Outdated software of dubious usefulness, last consumer of print/pdflib.
ok cwen@ kevlo@



Re: [NEW] www/p5-Catalyst-Authentication-Credential-HTTP

2020-05-17 Thread Andrew Hewus Fresh
On Sun, May 03, 2020 at 02:22:24AM +, wen heping wrote:
> Hi, ports@:
> 
>Here is a patch to create new port 
> www/p5-Catalyst-Authentication-Credential-HTTP,
> which is needed by the update of devel/catalyst.
>It build well and pass all tests on amd64-current system.

With some optional TEST_DEPENDS this will avoid skipping some tests but
unfortunately cause them to fail.  It appears some other module needs an
update before I get passing tests with these other things installed.

Something like this after the first TEST_DEPENDS line:

# Optional depends to avoid skipping tests
TEST_DEPENDS += devel/p5-Cache-Cach
devel/p5-Test-WWW-Mechanize-Catalyst \
www/p5-Catalyst-Plugin-Cache


Some dependency in that was  missing a RUN_DEPENDS on
devel/p5-Class-Data-Inheritable, but that looks like it should clear up
once we get the new Catalyst-Runtime in.

I'd like to see a combined update of Catalyst with this passing all
tests and a reminder about www/p5-Catalyst-ActionRole-ACL if you
wouldn't mind.

> 
> Regards,
> wen



-- 
andrew - http://afresh1.com

People who invent random theories which only defend the vendor must have
been beaten as children.  Beaten with sticks.
At least, that's my theory.
  -- Theo De Raadt



Re: [New] Puppet6 - 6.14.0

2020-05-17 Thread Arthur Barton
On Sat, May 16, 2020, at 11:54, Klemens Nanni wrote:
> `cron` is one of those types that moved to forge but still ought to be
> included in the puppet-agent package;  does that apply to our package,
> that is to ask, will proper master/agent setup run with without an extra
> manual cron module installation?  At least that's how I read it;  but
> then again this talks about the agent whereas the two of us are using
> a masterless setup without a (long running) agent involved.

I've extracted the puppetlabs puppet-agent debian package for 6.14, and it 
looks like they bundle the following
 $ grep module usr/share/doc/puppet-agent/bill-of-materials
module-puppetlabs-augeas_core 1.0.5
module-puppetlabs-cron_core 1.0.3
module-puppetlabs-host_core 1.0.3
module-puppetlabs-mount_core 1.0.4
module-puppetlabs-scheduled_task 1.0.0
module-puppetlabs-selinux_core 1.0.4
module-puppetlabs-sshkeys_core 1.0.3
module-puppetlabs-yumrepo_core 1.0.6
module-puppetlabs-zfs_core 1.0.4
module-puppetlabs-zone_core 1.0.3

Extracting the package finds these in (/)opt/puppetlabs/puppet/vendor_modules/ 
which is referenced here
https://puppet.com/docs/puppet/latest/configuration.html#vendormoduledir and in 
the puppet-agent build manifest here 
https://github.com/puppetlabs/puppet-agent/blob/6.4.x/configs/projects/puppet-agent.rb#L116

It looks like Debian are going to package the modules then make puppet-6 depend 
on them
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950182

I could do likewise, or include a MESSAGE (like the one attached). I don't know 
how to manage displaying it only for the v6 install however.

--
Starting with Puppet 6, some common functionality has been moved from
puppet into modules managed by puppetlabs.

This includes providers for
 - cron
 - host
 - mount
 - scheduled_task
 - selinux
 - sshkeys
 - yumrepo
 - zfs
 - zone

These can be installed from the Puppet Forge to reintroduce this
functionality. See puppet-module(8)


-- 
Arthur Barton
arth...@igniferous.net



Re: [NEW] www/p5-Catalyst-ActionRole-ACL

2020-05-17 Thread Andrew Hewus Fresh
On Sun, May 03, 2020 at 01:40:34AM +, wen heping wrote:
> Hi, ports@:
> 
>   Here is a patch to create new port www/p5-Catalyst-ActionRole-ACL,
> which is needed by the update of devel/catalyst.

This one, of course, requires the newer p5-Catalyst-Runtime, but
committing that together with this one, this seems OK afresh1@


>It build well and pass all tests on amd64-current system.
> 
> 
> Regards,
> wen



-- 
andrew - http://afresh1.com

Hey, I think I see a barn up ahead.
  -- The American Astronaut



Re: [NEW] www/p5-CGI-Struct

2020-05-17 Thread Andrew Hewus Fresh
Wow, I hit some button and replied to the wrong message.  Saw the
"create new" and didn't re-read further.  Oops.  Anyway, this OK was for
the two CGI::Struct modules.

On Sat, May 02, 2020 at 09:46:37AM +, wen heping wrote:
> Hi, ports@:
> 
>   Here is a patch to create two new ports: www/p5-CGI-Struct and
> www/p5-CGI-Struct-XS. It is required by the update of www/p5-Catalyst-Runtime.
>   It build well and pass all tests on amd64-current system.
> 
> 
> Regards,
> wen



On Sun, May 17, 2020 at 04:35:17PM -0700, Andrew Hewus Fresh wrote:
> On Sun, May 03, 2020 at 01:40:34AM +, wen heping wrote:
> > Hi, ports@:
> > 
> >   Here is a patch to create new port www/p5-Catalyst-ActionRole-ACL,
> > which is needed by the update of devel/catalyst.
> > 
> >It build well and pass all tests on amd64-current system.
> 
> OK afresh1@ for both, although the XS version could use TEST_POD=Yes
> 
> Surprising that CGI::Struct doesn't automatically use the ::XS version
> if it is installed, but I guess they're completely different authors.
> 
> 
> > 
> > 
> > Regards,
> > wen
> 
> 
> 
> -- 
> andrew - http://afresh1.com
> 
> Life's unfair - but root password helps!
> 


-- 
andrew - http://afresh1.com

Life's unfair - but root password helps!



Re: [NEW] www/p5-Catalyst-ActionRole-ACL

2020-05-17 Thread Andrew Hewus Fresh
On Sun, May 03, 2020 at 01:40:34AM +, wen heping wrote:
> Hi, ports@:
> 
>   Here is a patch to create new port www/p5-Catalyst-ActionRole-ACL,
> which is needed by the update of devel/catalyst.
> 
>It build well and pass all tests on amd64-current system.

OK afresh1@ for both, although the XS version could use TEST_POD=Yes

Surprising that CGI::Struct doesn't automatically use the ::XS version
if it is installed, but I guess they're completely different authors.


> 
> 
> Regards,
> wen



-- 
andrew - http://afresh1.com

Life's unfair - but root password helps!



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2020/05/17 17:29:00

Modified files:
devel/p5-Devel-Declare: Makefile distinfo 
devel/p5-Devel-Declare/pkg: PLIST 

Log message:
Update devel/p5-Devel-Declare to 0.006022

>From wen heping 



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2020/05/17 17:26:12

Modified files:
devel/p5-AnyEvent-HTTP: Makefile distinfo 

Log message:
Update devel/p5-AnyEvent-HTTP to 2.25

>From wen heping 



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2020/05/17 17:21:26

Modified files:
textproc   : Makefile 

Log message:
+ p5-String-Escape



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2020/05/17 17:21:03

Log message:
Import p5-String-Escape-2010.002

Backslash escapes, quoted phrase, word elision, etc.

From wen heping 
OK bluhm@

Status:

Vendor Tag: afresh1
Release Tags:   afresh1_20200517

N ports/textproc/p5-String-Escape/Makefile
N ports/textproc/p5-String-Escape/distinfo
N ports/textproc/p5-String-Escape/pkg/DESCR
N ports/textproc/p5-String-Escape/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2020/05/17 17:04:49

Modified files:
math/grace : Makefile distinfo 
math/grace/patches: patch-src_editpwin_c 
math/grace/pkg : PLIST 
Removed files:
math/grace/patches: patch-src_rstdrv_c 

Log message:
grace: update to 5.1.25

PDF support is no more available, it requires pdflib>=5, and the new licensing
terms don't allow us to distribute it. Upstream dropped TIFF support. Also,
move HOMEPAGE to https.

OK jca@



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2020/05/17 16:37:08

Modified files:
mail/p5-Email-Filter: Makefile 
mail/p5-Email-FolderType: Makefile 

Log message:
p5-Email-FolderType: add a missing run depends, remove it from p5-Email-Filter

afresh1@ found out that the previous fix that targeted p5-Email-Filter was
actually for p5-Email-FolderType, so fix it there instead.

Module::Pluggable has been removed from core some times ago, add the module
to RUN_DEPENDS. While here make spacing consistent around '=', and add a
missing TEST_DEPENDS.

input and OK afresh1@



Re: coreboot-utils: extract only what's needed

2020-05-17 Thread Klemens Nanni
On Sun, May 17, 2020 at 09:55:51PM -, Christian Weisgerber wrote:
> Didn't this come up with another port relatively recently?
> Should we have infrastructure support for this, like FreeBSD's
> EXTRACT_ONLY?
Not that I know of, unless you mean sysutils/mdprint were I tweaked
post-extract a bit, but that is another special case with an archive in
an archive, so not the same as coreboot-utils.

In general, it would make sense to have a variable which can hold files
to extract from the tarball;  the existing extract infrastructure seems
simple enough to be extended this way.



UPDATE: lang/gawk 5.0.1 => 5.1.0

2020-05-17 Thread Brian Callahan
Hi ports --

Now that we're post unlock, here is the update to GNU awk again. I have 
successful reports on octeon from jj and I've tested things on amd64.

OK?

~Brian

Index: Makefile
===
RCS file: /cvs/ports/lang/gawk/Makefile,v
retrieving revision 1.39
diff -u -p -r1.39 Makefile
--- Makefile	18 Dec 2019 00:36:46 -	1.39
+++ Makefile	24 Apr 2020 17:39:08 -
@@ -2,8 +2,9 @@
 
 COMMENT=	GNU awk
 
-V=		5.0.1
+V=		5.1.0
 DISTNAME=	gawk-$V
+EXTRACT_SUFX=	.tar.xz
 CATEGORIES=	lang
 MASTER_SITES=	${MASTER_SITE_GNU:=gawk/}
 
Index: distinfo
===
RCS file: /cvs/ports/lang/gawk/distinfo,v
retrieving revision 1.19
diff -u -p -r1.19 distinfo
--- distinfo	18 Dec 2019 00:36:46 -	1.19
+++ distinfo	24 Apr 2020 17:39:08 -
@@ -1,2 +1,2 @@
-SHA256 (gawk-5.0.1.tar.gz) = YlvzcY4lqE3ESGE11ctTiBdGgjYscBB/0T8hVy9WA7s=
-SIZE (gawk-5.0.1.tar.gz) = 5981609
+SHA256 (gawk-5.1.0.tar.xz) = z1/qSsVmX9UXGvRxa6qy7/x2MGqVcpiNW6EHjxljgr0=
+SIZE (gawk-5.1.0.tar.xz) = 3154564


Re: coreboot-utils: extract only what's needed

2020-05-17 Thread Christian Weisgerber
On 2020-05-15, Klemens Nanni  wrote:

> The distfile is only about 40M big but extracts to 205M sources, of
> which we only ever need two directories that sum up to 7M;  it also
> makes it clearer what this port actually requires from upstream and
> WRKSRC is lot cleaner.

Didn't this come up with another port relatively recently?
Should we have infrastructure support for this, like FreeBSD's
EXTRACT_ONLY?

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



Re: [NEW] mail/p5-Mail-ListDetector 1.04

2020-05-17 Thread Charlene Wendling
On Sun, 17 May 2020 12:05:32 -0700
Andrew Hewus Fresh wrote:

> This one I was using before I started tracking my email filter with
> rcs(1) but still after switching from procmail.  That doesn't really
> help narrow it down any more than "at least 2009".
> 
> pkg/DESCR:
> > This module analyzes mail objects in any of the classes handled by
> > Email::Abstract. It returns a Mail::ListDetector::List object
> > representing the mailing list.
> > 
> > The RFC2369 mailing list detector is also capable of matching some
> > Mailman and Ezmlm messages. It is deliberately checked last to allow
> > the more specific Mailman and Ezmlm parsing to happen first, and
> > more accurately identify the type of mailing list involved.
> 
> Comments, OK?

OK cwen@



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2020/05/17 15:30:21

Modified files:
mail/p5-Email-Filter: Makefile 

Log message:
p5-Email-Filter: add a missing run depends

Module::Pluggable has been removed from core some times ago, add the module
to RUN_DEPENDS. While here remove the "BUILD_DEPENDS = ${RUN_DEPENDS}"
construct that is not needed.

OK afresh1@



Re: Qemu error on OpenBSD

2020-05-17 Thread Stuart Henderson
On 2020/05/17 20:08, Stephan Mending wrote:
> On Sun, May 17, 2020 at 07:52:03PM +0200, Alexandre Ratchov wrote:
> > On Sun, May 17, 2020 at 07:19:44PM +0200, Stephan Mending wrote:
> > > Hi,
> > > after upgrading to qemu 5.0.0 I'm getting the following error when trying 
> > > to start a virtual machine.
> > > 
> > > $ qemu-system-x86_64 -s -drive format=raw,file=/path/to/harddrive
> > > Could not allocate dynamic translator buffer
> > > 
> > > Do you have any idea how to fix this? 
> > > 
> > > I'm running OpenBSD on AMD64 architecture on current branch. 
> > 
> > Increasing user datasize limit (see login.conf(5) fixed it for me.
> 
> I tried that. Didn't solve it for me. 
> datasize-cur=1024M
> datasize-max=8192M
> 
> I cannot imagine that 8G are too little for a VM that i wanna assign 512M. 
> 
> Best regards, 
> Stephan
> 

Your limit here is still 1G unless you do "ulimit -d" or some software calls
setrlimit.

So either try bumping datasize-cur some more, or "ulimit -d $((2*1024*1024))"
or something before running qemu.



Re: [Update] devel/p5-Algorithm-Dependency : Update to 1.112

2020-05-17 Thread Andrew Hewus Fresh
On Tue, Apr 28, 2020 at 08:24:56AM +, wen heping wrote:
> Hi, ports@:
>   Here is a patch for devel/p5-Algorithm-Dependency :
>   i) Update to 1.112
>   ii) Remove the line BUILD_DEPENDS= ${RUN_DEPENDS}
>   iii) Change devel/p5-Test-ClassAPI from RUN_DEPENDS to TEST_DEPENDS
> 
>   It build well and pass all tests on amd64-current system.
> 
>  Only one ports depends on it:  devel/p5-Test-ClassAPI, it build well
> and pass all tests with this patch.

It seems to need FIX_EXTRACT_PERMISSIONS=Yes, but with that change:

OK afresh1@

> 
> 
> Regards,
> wen

> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/p5-Algorithm-Dependency/Makefile,v
> retrieving revision 1.15
> diff -u -p -r1.15 Makefile
> --- Makefile  5 Feb 2020 08:52:18 -   1.15
> +++ Makefile  28 Apr 2020 08:14:56 -
> @@ -5,14 +5,14 @@ COMMENT=base class for implementing var
>  MODULES= cpan
>  PKG_ARCH=*
>  
> -DISTNAME=Algorithm-Dependency-1.111
> +DISTNAME=Algorithm-Dependency-1.112
>  CATEGORIES=  devel
>  
>  # perl
>  PERMIT_PACKAGE=  Yes
>  
> -RUN_DEPENDS= devel/p5-Test-ClassAPI \
> - devel/p5-Params-Util
> -BUILD_DEPENDS=   ${RUN_DEPENDS}
> +RUN_DEPENDS= devel/p5-Params-Util>=0.31
> +
> +TEST_DEPENDS=devel/p5-Test-ClassAPI>=0.6
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/p5-Algorithm-Dependency/distinfo,v
> retrieving revision 1.5
> diff -u -p -r1.5 distinfo
> --- distinfo  5 Feb 2020 08:52:18 -   1.5
> +++ distinfo  28 Apr 2020 08:14:56 -
> @@ -1,2 +1,2 @@
> -SHA256 (Algorithm-Dependency-1.111.tar.gz) = 
> oGztxgQRqdBxJ/lGFll6z6GJWQjIV3AjX3cYWx81nr4=
> -SIZE (Algorithm-Dependency-1.111.tar.gz) = 41536
> +SHA256 (Algorithm-Dependency-1.112.tar.gz) = 
> fg+3w59WotzPnQKVyC8wMe4RboB/ahKkOPpN1BsOwYc=
> +SIZE (Algorithm-Dependency-1.112.tar.gz) = 43014


-- 
andrew - http://afresh1.com

Whatever happened to the days when hacking started at the cerebral cortex 
and not the keyboard?
  -- Sid from UserFriendly.org



Re: UPDATE: math/R

2020-05-17 Thread Paul Irofti
On Sun, May 17, 2020 at 09:55:31AM +0200, Ingo Feinerer wrote:
> Dear useRs,
> 
> update math/R 3.6.3 -> 4.0.0
> 
> - SHARED_LIBS: increase major version number due to removals in dynamic
>   export changes in libR.so.
> 
> - Sync WANTLIB as PCRE2 is now preferred (see
>   https://stat.ethz.ch/pipermail/r-announce/2020/000653.html for details).
> 
> - Clean up MASTER_SITES as a few sites time out (for details see
>   https://cran.r-project.org/mirmon_report.html). Use the main site and the 
> new
>   cloud CDN site as backup instead.
> 
> - Update line numbers in patch.
> 
> - Recommend to use (optional) Java 11 instead of 1.8 in README.
> 
> Works for me on amd64 since a few weeks (released on 24 April).
> 
> (Note: you need to reinstall your R packages as this is a major R update.)
> 
> OK?

OK 

> 
> Best regards,
> Ingo
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/math/R/Makefile,v
> retrieving revision 1.114
> diff -u -p -r1.114 Makefile
> --- Makefile  2 Mar 2020 14:07:05 -   1.114
> +++ Makefile  17 May 2020 07:33:04 -
> @@ -1,9 +1,9 @@
>  # $OpenBSD: Makefile,v 1.114 2020/03/02 14:07:05 feinerer Exp $
>  
>  COMMENT= powerful math/statistics/graphics language
> -DISTNAME=R-3.6.3
> +DISTNAME=R-4.0.0
>  
> -SO_VERSION=  36.1
> +SO_VERSION=  37.0
>  .for _lib in R Rblas Rlapack
>  SHARED_LIBS +=   ${_lib} ${SO_VERSION}
>  .endfor
> @@ -19,20 +19,12 @@ PERMIT_PACKAGE=   Yes
>  WANTLIB += ${COMPILER_LIBCXX} ${MODTK_WANTLIB} ${MODFORTRAN_WANTLIB}
>  WANTLIB += ICE SM X11 Xext Xmu Xss Xt bz2 c cairo crypto curl
>  WANTLIB += glib-2.0 gobject-2.0 harfbuzz iconv icui18n icuuc intl jpeg lzma m
> -WANTLIB += nghttp2 pango-1.0 pangocairo-1.0 pcre pcre2-8 png readline ssl 
> tiff z
> +WANTLIB += nghttp2 pango-1.0 pangocairo-1.0 pcre2-8 png readline ssl tiff z
>  
>  COMPILER =   base-clang ports-gcc base-gcc
>  
> -MASTER_SITES=https://cran.r-project.org/src/base/R-3/ \
> - http://cran.at.r-project.org/src/base/R-3/ \
> - http://cran.br.r-project.org/src/base/R-3/ \
> - http://cran.ch.r-project.org/src/base/R-3/ \
> - http://cran.dk.r-project.org/src/base/R-3/ \
> - http://cran.es.r-project.org/src/base/R-3/ \
> - http://cran.stat.ucla.edu/src/base/R-3/ \
> - http://cran.uk.r-project.org/src/base/R-3/ \
> - http://cran.us.r-project.org/src/base/R-3/ \
> - http://probability.ca/cran/src/base/R-3/
> +MASTER_SITES=https://cran.r-project.org/src/base/R-4/ \
> + https://cloud.r-project.org/src/base/R-4/
>  
>  MODULES= fortran \
>   x11/tk
> Index: distinfo
> ===
> RCS file: /cvs/ports/math/R/distinfo,v
> retrieving revision 1.46
> diff -u -p -r1.46 distinfo
> --- distinfo  2 Mar 2020 14:07:05 -   1.46
> +++ distinfo  17 May 2020 07:33:04 -
> @@ -1,2 +1,2 @@
> -SHA256 (R-3.6.3.tar.gz) = iTApkNjordU24SEl7FkdaVECLPhHWGGzaQvIvxzvqo8=
> -SIZE (R-3.6.3.tar.gz) = 33308185
> +SHA256 (R-4.0.0.tar.gz) = Br6wKRtWmXhITrDctdIzlmXsdFc3vftOhz56WnVJKUA=
> +SIZE (R-4.0.0.tar.gz) = 33173947
> Index: patches/patch-configure
> ===
> RCS file: /cvs/ports/math/R/patches/patch-configure,v
> retrieving revision 1.40
> diff -u -p -r1.40 patch-configure
> --- patches/patch-configure   18 Dec 2019 13:05:48 -  1.40
> +++ patches/patch-configure   17 May 2020 07:33:04 -
> @@ -3,7 +3,7 @@ $OpenBSD: patch-configure,v 1.40 2019/12
>  Index: configure
>  --- configure.orig
>  +++ configure
> -@@ -42057,8 +42057,8 @@ fi
> +@@ -45219,8 +45219,8 @@ fi
>   
>   fi
>   if test "${have_zlib}" = yes; then
> @@ -14,7 +14,7 @@ Index: configure
>   if ${r_cv_header_zlib_h+:} false; then :
> $as_echo_n "(cached) " >&6
>   else
> -@@ -42073,7 +42073,7 @@ else
> +@@ -45235,7 +45235,7 @@ else
>   #include 
>   int main() {
>   #ifdef ZLIB_VERNUM
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/math/R/pkg/PLIST,v
> retrieving revision 1.43
> diff -u -p -r1.43 PLIST
> --- pkg/PLIST 18 Dec 2019 13:05:48 -  1.43
> +++ pkg/PLIST 17 May 2020 07:33:05 -
> @@ -415,6 +415,9 @@ lib/R/library/class/po/en@quot/LC_MESSAG
>  lib/R/library/class/po/fr/
>  lib/R/library/class/po/fr/LC_MESSAGES/
>  lib/R/library/class/po/fr/LC_MESSAGES/R-class.mo
> +lib/R/library/class/po/it/
> +lib/R/library/class/po/it/LC_MESSAGES/
> +lib/R/library/class/po/it/LC_MESSAGES/R-class.mo
>  lib/R/library/class/po/ko/
>  lib/R/library/class/po/ko/LC_MESSAGES/
>  lib/R/library/class/po/ko/LC_MESSAGES/R-class.mo
> @@ -1923,12 +1926,16 @@ share/doc/R/NEWS
>  share/doc/R/NEWS.0
>  share/doc/R/NEWS.1
>  share/doc/R/NEWS.2
> +share/doc/R/NEWS.2.rds
> +share/doc/R/NEWS.3
> +share/doc/R/NEWS.3.rds
>  share/doc/R/NEWS.pdf
>  

Re: [fix] mail/p5-Email-Filter: add missing depend

2020-05-17 Thread Andrew Hewus Fresh
On Sun, May 17, 2020 at 02:08:18PM -0700, Andrew Hewus Fresh wrote:
> On Sun, May 17, 2020 at 10:46:42PM +0200, Charlene Wendling wrote:
> > Hi,
> > 
> > While testing the p5-Email-Filter-Rules submission from Andrew, i'm
> > greeted with:
> 
> Oh right, I guess I last tested that before Module::Pluggable got
> removed from core.  Sigh.  Not sure it's been in long enough to need a
> REVISION, but either way

Oh, I misread which thing was missing the RUN_DEPENDS.  Sigh.  But, that
looks like the right fix, that I wish had been found post perl 5.30 and
pre OpenBSD 6.7.  Oh well, still (if it builds without the BUILD_DEPENDS)


> OK afresh1@
> 
> > 
> > ===>  Regression tests for p5-Email-Filter-Rules-1.2
> > 
> >
> > PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" 
> > "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 
> > 'blib/lib', 'blib/arch')" t/*.t
> > 
> > 
> >
> > #   Failed test 'use Email::Filter;'
> > 
> >
> > #   at t/001_load.t line 6. 
> > 
> >
> > # Tried to use 'Email::Filter'. 
> > 
> >
> > # Error:  Can't locate Module/Pluggable.pm in @INC (you may need to 
> > install the Module::Pluggable module) (@INC contains: 
> > /usr/ports/pobj/p5-Email-Filter-Rules-1.2/Email-Filter-Rules-1.2/
> > blib/lib 
> > /usr/ports/pobj/p5-Email-Filter-Rules-1.2/Email-Filter-Rules-1.2/blib/arch 
> > /usr/local/libdata/perl5/site_perl/amd64-openbsd 
> > /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/amd6
> > 4-openbsd /usr/libdata/perl5 .) at 
> > /usr/local/libdata/perl5/site_perl/Email/FolderType.pm line 8.   
> > 
> > The below diff fixes that, and while here i've removed the useless
> > BUILD_DEPENDS=RUN_DEPENDS.
> > 
> > OK?
> > 
> > Charlène.
> > 
> > 
> > Index: Makefile
> > ===
> > RCS file: /cvs/ports/mail/p5-Email-Filter/Makefile,v
> > retrieving revision 1.8
> > diff -u -p -u -p -r1.8 Makefile
> > --- Makefile12 Jul 2019 20:47:31 -  1.8
> > +++ Makefile17 May 2020 20:42:09 -
> > @@ -3,6 +3,7 @@
> >  COMMENT =  library for creating easy email filters
> >  
> >  DISTNAME = Email-Filter-1.034
> > +REVISION = 0
> >  CATEGORIES =   mail
> >  
> >  HOMEPAGE = http://emailproject.perl.org/
> > @@ -17,11 +18,10 @@ PKG_ARCH =  *
> >  CPAN_AUTHOR =  RJBS
> >  
> >  RUN_DEPENDS =  devel/p5-Class-Trigger>=0.08 \
> > +   devel/p5-Module-Pluggable \
> > mail/p5-Email-LocalDelivery>=0.07 \
> > mail/p5-Email-Simple>=1.91 \
> > devel/p5-IPC-Run>=0.77
> > -
> > -BUILD_DEPENDS =${RUN_DEPENDS}
> >  
> >  MAKE_ENV = TEST_POD=Yes
> >  
> 
> -- 
> andrew - http://afresh1.com
> 
> Speed matters.  
> Almost as much as some things, and nowhere near as much as others.
>   -- Nick Holland
> 

-- 
andrew - http://afresh1.com

Adding manpower to a late software project makes it later.



Re: [fix] mail/p5-Email-Filter: add missing depend

2020-05-17 Thread Andrew Hewus Fresh
On Sun, May 17, 2020 at 10:46:42PM +0200, Charlene Wendling wrote:
> Hi,
> 
> While testing the p5-Email-Filter-Rules submission from Andrew, i'm
> greeted with:

Oh right, I guess I last tested that before Module::Pluggable got
removed from core.  Sigh.  Not sure it's been in long enough to need a
REVISION, but either way

OK afresh1@

> 
> ===>  Regression tests for p5-Email-Filter-Rules-1.2  
>   
>
> PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" 
> "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 
> 'blib/arch')" t/*.t
>   
>   
>
> #   Failed test 'use Email::Filter;'  
>   
>
> #   at t/001_load.t line 6.   
>   
>
> # Tried to use 'Email::Filter'.   
>   
>
> # Error:  Can't locate Module/Pluggable.pm in @INC (you may need to 
> install the Module::Pluggable module) (@INC contains: 
> /usr/ports/pobj/p5-Email-Filter-Rules-1.2/Email-Filter-Rules-1.2/
> blib/lib 
> /usr/ports/pobj/p5-Email-Filter-Rules-1.2/Email-Filter-Rules-1.2/blib/arch 
> /usr/local/libdata/perl5/site_perl/amd64-openbsd 
> /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/amd6
> 4-openbsd /usr/libdata/perl5 .) at 
> /usr/local/libdata/perl5/site_perl/Email/FolderType.pm line 8.   
> 
> The below diff fixes that, and while here i've removed the useless
> BUILD_DEPENDS=RUN_DEPENDS.
> 
> OK?
> 
> Charlène.
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/mail/p5-Email-Filter/Makefile,v
> retrieving revision 1.8
> diff -u -p -u -p -r1.8 Makefile
> --- Makefile  12 Jul 2019 20:47:31 -  1.8
> +++ Makefile  17 May 2020 20:42:09 -
> @@ -3,6 +3,7 @@
>  COMMENT =library for creating easy email filters
>  
>  DISTNAME =   Email-Filter-1.034
> +REVISION =   0
>  CATEGORIES = mail
>  
>  HOMEPAGE =   http://emailproject.perl.org/
> @@ -17,11 +18,10 @@ PKG_ARCH =*
>  CPAN_AUTHOR =RJBS
>  
>  RUN_DEPENDS =devel/p5-Class-Trigger>=0.08 \
> + devel/p5-Module-Pluggable \
>   mail/p5-Email-LocalDelivery>=0.07 \
>   mail/p5-Email-Simple>=1.91 \
>   devel/p5-IPC-Run>=0.77
> -
> -BUILD_DEPENDS =  ${RUN_DEPENDS}
>  
>  MAKE_ENV =   TEST_POD=Yes
>  

-- 
andrew - http://afresh1.com

Speed matters.  
Almost as much as some things, and nowhere near as much as others.
  -- Nick Holland



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Brian Callahan
CVSROOT:/cvs
Module name:ports
Changes by: bcal...@cvs.openbsd.org 2020/05/17 15:08:07

Modified files:
games/endless-sky: Makefile distinfo 
games/endless-sky/patches: patch-SConstruct 
games/endless-sky/pkg: PLIST 

Log message:
Update to endless-sky-0.9.12
Changelog: https://github.com/endless-sky/endless-sky/releases/tag/v0.9.12



Re: [NEW] mail/p5-Email-Filter-Rules 1.2

2020-05-17 Thread Charlene Wendling
On Sun, 17 May 2020 12:03:28 -0700
Andrew Hewus Fresh wrote:

> New port of this module that I've been using for over 10 years now
> apparently.  Not sure how I avoided sending it at some point in the
> past to reduce the pain of updating my shell server.
> 
> pkg/DECR:
> > Email::Filter::Rules is a simple way to route e-mail into folders
> > without having to touch your filter script. I used to edit my filter
> > script often to add or remove e-mail lists and often would fat
> > finger something and enter a typo. This would result in all my
> > e-mail bouncing and all in all would be a real bummer.
> > 
> > I wanted to make it syntax simple so it wouldn't end up looking
> > like to awful procmail recipe or some cryptic piece of junk.
> 
> 
> Comments, OK?

OK cwen@ once the mail/p5-Email-Filter run depends fix is in.



[fix] mail/p5-Email-Filter: add missing depend

2020-05-17 Thread Charlene Wendling
Hi,

While testing the p5-Email-Filter-Rules submission from Andrew, i'm
greeted with:

===>  Regression tests for p5-Email-Filter-Rules-1.2

   
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" 
"-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" 
t/*.t


   
#   Failed test 'use Email::Filter;'

   
#   at t/001_load.t line 6. 

   
# Tried to use 'Email::Filter'. 

   
# Error:  Can't locate Module/Pluggable.pm in @INC (you may need to install 
the Module::Pluggable module) (@INC contains: 
/usr/ports/pobj/p5-Email-Filter-Rules-1.2/Email-Filter-Rules-1.2/
blib/lib 
/usr/ports/pobj/p5-Email-Filter-Rules-1.2/Email-Filter-Rules-1.2/blib/arch 
/usr/local/libdata/perl5/site_perl/amd64-openbsd 
/usr/local/libdata/perl5/site_perl /usr/libdata/perl5/amd6
4-openbsd /usr/libdata/perl5 .) at 
/usr/local/libdata/perl5/site_perl/Email/FolderType.pm line 8.   

The below diff fixes that, and while here i've removed the useless
BUILD_DEPENDS=RUN_DEPENDS.

OK?

Charlène.


Index: Makefile
===
RCS file: /cvs/ports/mail/p5-Email-Filter/Makefile,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 Makefile
--- Makefile12 Jul 2019 20:47:31 -  1.8
+++ Makefile17 May 2020 20:42:09 -
@@ -3,6 +3,7 @@
 COMMENT =  library for creating easy email filters
 
 DISTNAME = Email-Filter-1.034
+REVISION = 0
 CATEGORIES =   mail
 
 HOMEPAGE = http://emailproject.perl.org/
@@ -17,11 +18,10 @@ PKG_ARCH =  *
 CPAN_AUTHOR =  RJBS
 
 RUN_DEPENDS =  devel/p5-Class-Trigger>=0.08 \
+   devel/p5-Module-Pluggable \
mail/p5-Email-LocalDelivery>=0.07 \
mail/p5-Email-Simple>=1.91 \
devel/p5-IPC-Run>=0.77
-
-BUILD_DEPENDS =${RUN_DEPENDS}
 
 MAKE_ENV = TEST_POD=Yes
 



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Brian Callahan
CVSROOT:/cvs
Module name:ports
Changes by: bcal...@cvs.openbsd.org 2020/05/17 14:46:34

Modified files:
sysutils/lookat: Makefile distinfo 
sysutils/lookat/patches: patch-Makefile_in 

Log message:
Update to lookat-2.0.1
Changelog: https://savannah.nongnu.org/forum/forum.php?forum_id=9722



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Brian Callahan
CVSROOT:/cvs
Module name:ports
Changes by: bcal...@cvs.openbsd.org 2020/05/17 14:43:09

Modified files:
sysutils/bfs   : Makefile distinfo 
Added files:
sysutils/bfs/patches: patch-tests_sh 

Log message:
Update to bfs-1.7
Changelog: https://github.com/tavianator/bfs/releases/tag/1.7



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Brian Callahan
CVSROOT:/cvs
Module name:ports
Changes by: bcal...@cvs.openbsd.org 2020/05/17 14:26:40

Modified files:
lang/gawk  : Makefile distinfo 

Log message:
Update to gawk-5.1.0
Changelog: http://git.savannah.gnu.org/cgit/gawk.git/tree/NEWS
amd64 and sparc64 testing by me
macppc testing by cwen@
octeon testing by jj
ok kn@ cwen@



Re: NEW: net/asdig v0.96

2020-05-17 Thread Stuart Henderson
On 2020/05/17 18:16, Denis Fondras wrote:
> asdig is a simple tool for retrieving ASN (autonomous system number) match 
> from
> IPv4/IPv6 published by services like Rezopole GoASMap or Cymru.
> 
> For a given IPv4 or IPv6 it would display current BGP anouncements received at
> the BGP-infrastructure of the queried IP-to-AS reference server, or Internet
> Exchange Point (IXP) subnets from PeeringDB, or reserved subnets from Internet
> Assigned Numbers Authority (IANA).  For a given ASnumber it would display a
> digest of the registered informations from Regional Internet Registries (RIR).
> 
> https://github.com/Rezopole/asdig
> 
> 

ah, I was hoping not to have another program using the libbind port, it
is a complete bodge - mtr got rid of their dodgy DNS code so only zeek
was left. I won't block import due to this but it's a bit annoying ;)

did any of the rezopole lookups work for you? the only thing where I'm
getting any results from queries that I've tried are IP lookups from
team cymru's database. the rezopole ones all come back NO_DATA.

btw I had a look at converting to the libc resolver instead, some of the
failures with this are due to asdig poking in resolver internals, some
are due to our ancient nameser.h - I'd like to call those out in case
anyone else bumps into them as we have to patch some other ports too:

| asdig.cpp:62:31: error: use of undeclared identifier 'ns_c_in'
| asdig.cpp:62:40: error: use of undeclared identifier 'ns_t_txt'
| asdig.cpp:105:31: error: use of undeclared identifier 'ns_t_txt'

- the patches for these would be ns_c_xx -> C_XX, ns_t_xx -> T_XX

here are some fixes for the port.

diff 4ceaa312c63a530ce478baab6ef8d1b256c98a05 /usr/ports/mystuff
blob - 63d1cb1bec758bcd65378d0f77b7afc8dd2ae594
file + net/asdig/Makefile
--- net/asdig/Makefile
+++ net/asdig/Makefile
@@ -2,11 +2,9 @@
 
 COMMENT =  retrieve routing informations efficiently via dns queries
 
-V =0.96
-DISTNAME = asdig-${V}
 GH_ACCOUNT =   rezopole
 GH_PROJECT =   asdig
-GH_TAGNAME =   v${V}
+GH_TAGNAME =   v0.96
 
 CATEGORIES =   net
 
@@ -16,15 +14,13 @@ MAINTAINER =Denis Fondras 

 # GPLv2+
 PERMIT_PACKAGE =   Yes
 
-WANTLIB += lib/libbind/bind
+WANTLIB += ${COMPILER_LIBCXX} c lib/libbind/bind m
 
 LIB_DEPENDS=   net/libbind
 
 CONFIGURE_STYLE =  autoreconf
 AUTOCONF_VERSION = 2.69
 AUTOMAKE_VERSION = 1.16
-
-NO_TEST =  Yes
 
 do-install:
${INSTALL_PROGRAM} ${WRKSRC}/asdig ${PREFIX}/bin



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Todd C . Miller
CVSROOT:/cvs
Module name:ports
Changes by: mill...@cvs.openbsd.org 2020/05/17 14:20:09

Modified files:
devel  : Makefile 
devel/py-dulwich: Makefile distinfo 
devel/py-dulwich/pkg: PLIST 

Log message:
Update py-dulwich to 0.19.16 and make python3 the default flavor.
Passes its tests and verified working with mercurial 5.3.2 and the
latest hg-git from foss.heptapod.net.  OK kn@



Stop building Ruby 2.5 ports by default

2020-05-17 Thread Jeremy Evans
Per our standard Ruby support policy, now that Ruby 2.5 is out of the
normal maintenance phase, remove the building of Ruby 2.5 ports by
default.  You can still build the ports manually if you need to.

The only other change here is the removal of the explicit ruby
version for devel/ruby-puppet_forge.  We only use explicit Ruby versions
for ruby ports with native code, not for pure-Ruby ports.

I plan on committing this in a couple days unless I hear objections.

Thanks,
Jeremy

Index: audio/Makefile
===
RCS file: /cvs/ports/audio/Makefile,v
retrieving revision 1.430
diff -u -p -r1.430 Makefile
--- audio/Makefile  15 Apr 2020 15:50:15 -  1.430
+++ audio/Makefile  17 May 2020 19:45:26 -
@@ -214,10 +214,8 @@
  SUBDIR += rhythmbox
  SUBDIR += rtunes
  SUBDIR += rubberband
- SUBDIR += ruby-taglib,ruby25
  SUBDIR += ruby-taglib,ruby26
  SUBDIR += ruby-taglib,ruby27
- SUBDIR += ruby-vorbis_comment,ruby25
  SUBDIR += ruby-vorbis_comment,ruby26
  SUBDIR += ruby-vorbis_comment,ruby27
  SUBDIR += schismtracker
Index: databases/Makefile
===
RCS file: /cvs/ports/databases/Makefile,v
retrieving revision 1.393
diff -u -p -r1.393 Makefile
--- databases/Makefile  15 May 2020 10:23:59 -  1.393
+++ databases/Makefile  17 May 2020 19:45:36 -
@@ -203,7 +203,6 @@
  SUBDIR += redis
  SUBDIR += repmgr
  SUBDIR += riak
- SUBDIR += ruby-amalgalite,ruby25
  SUBDIR += ruby-amalgalite,ruby26
  SUBDIR += ruby-amalgalite,ruby27
  SUBDIR += ruby-hiera3
@@ -211,29 +210,22 @@
  SUBDIR += ruby-hiera-eyaml-gpg
  SUBDIR += ruby-hiera-file
  SUBDIR += ruby-kirbybase
- SUBDIR += ruby-ldap,ruby25
  SUBDIR += ruby-ldap,ruby26
  SUBDIR += ruby-ldap,ruby27
- SUBDIR += ruby-mysql,ruby25
  SUBDIR += ruby-mysql,ruby26
  SUBDIR += ruby-mysql,ruby27
- SUBDIR += ruby-mysql2,ruby25
  SUBDIR += ruby-mysql2,ruby26
  SUBDIR += ruby-mysql2,ruby27
- SUBDIR += ruby-pg,ruby25
  SUBDIR += ruby-pg,ruby26
  SUBDIR += ruby-pg,ruby27
  SUBDIR += ruby-redis
  SUBDIR += ruby-redis-namespace
  SUBDIR += ruby-resque
  SUBDIR += ruby-sequel
- SUBDIR += ruby-sequel_pg,ruby25
  SUBDIR += ruby-sequel_pg,ruby26
  SUBDIR += ruby-sequel_pg,ruby27
- SUBDIR += ruby-sqlite3,ruby25
  SUBDIR += ruby-sqlite3,ruby26
  SUBDIR += ruby-sqlite3,ruby27
- SUBDIR += ruby-tiny_tds,ruby25
  SUBDIR += ruby-tiny_tds,ruby26
  SUBDIR += ruby-tiny_tds,ruby27
  SUBDIR += sharedance
Index: devel/Makefile
===
RCS file: /cvs/ports/devel/Makefile,v
retrieving revision 1.1970
diff -u -p -r1.1970 Makefile
--- devel/Makefile  17 May 2020 18:44:09 -  1.1970
+++ devel/Makefile  17 May 2020 19:46:19 -
@@ -1807,7 +1807,6 @@
  SUBDIR += ruby-diff-lcs
  SUBDIR += ruby-extlib
  SUBDIR += ruby-fast_gettext
- SUBDIR += ruby-ffi,ruby25
  SUBDIR += ruby-ffi,ruby26
  SUBDIR += ruby-ffi,ruby27
  SUBDIR += ruby-flexmock
@@ -1823,10 +1822,8 @@
  SUBDIR += ruby-isolate
  SUBDIR += ruby-jeweler
  SUBDIR += ruby-json_pure
- SUBDIR += ruby-kgio,ruby25
  SUBDIR += ruby-kgio,ruby26
  SUBDIR += ruby-kgio,ruby27
- SUBDIR += ruby-libv8,ruby25
  SUBDIR += ruby-libv8,ruby26
  SUBDIR += ruby-libv8,ruby27
  SUBDIR += ruby-locale
@@ -1834,13 +1831,10 @@
  SUBDIR += ruby-metaclass
  SUBDIR += ruby-minitest
  SUBDIR += ruby-mocha
- SUBDIR += ruby-narray,ruby25
  SUBDIR += ruby-narray,ruby26
  SUBDIR += ruby-narray,ruby27
- SUBDIR += ruby-ncurses,ruby25
  SUBDIR += ruby-ncurses,ruby26
  SUBDIR += ruby-ncurses,ruby27
- SUBDIR += ruby-nio4r,ruby25
  SUBDIR += ruby-nio4r,ruby26
  SUBDIR += ruby-nio4r,ruby27
  SUBDIR += ruby-ole
@@ -1848,17 +1842,13 @@
  SUBDIR += ruby-opt_parse_validator
  SUBDIR += ruby-optimist
  SUBDIR += ruby-polyglot
- SUBDIR += ruby-prof,ruby25
  SUBDIR += ruby-prof,ruby26
  SUBDIR += ruby-prof,ruby27
- SUBDIR += ruby-puppet_forge,ruby25
- SUBDIR += ruby-puppet_forge,ruby26
- SUBDIR += ruby-racc,ruby25
+ SUBDIR += ruby-puppet_forge
  SUBDIR += ruby-racc,ruby26
  SUBDIR += ruby-racc,ruby27
  SUBDIR += ruby-rake-compiler
  SUBDIR += ruby-rake-remote_task
- SUBDIR += ruby-rb-gsl,ruby25
  SUBDIR += ruby-rb-gsl,ruby26
  SUBDIR += ruby-rb-gsl,ruby27
  SUBDIR += ruby-ref
@@ -1873,12 +1863,10 @@
  SUBDIR += ruby-semantic_puppet
  SUBDIR += ruby-sexp_processor
  SUBDIR += ruby-shims
- SUBDIR += ruby-subset_sum,ruby25
  SUBDIR += ruby-subset_sum,ruby26
  SUBDIR += ruby-subset_sum,ruby27
  SUBDIR += ruby-systemu
  SUBDIR += ruby-sys-proctable
- SUBDIR += ruby-therubyracer,ruby25
 

New: net/ruby-cbor

2020-05-17 Thread Jeremy Evans
This is a CBOR (Concise Binary Object Representation, RFC 7049)
implementation for Ruby.  It's a dependency of the webauthn gem,
needed for implementing WebAuthn in Ruby.

Tested on amd64.  Looking for OKs to import.

Thanks,
Jeremy


ruby-cbor.tar.gz
Description: application/tar-gz


Re: avrdude 6.3 and libelf

2020-05-17 Thread Andrea Fleckenstein
Tracey Emery  writes:

> On Fri, Apr 24, 2020 at 08:18:53AM -0600, Tracey Emery wrote:
>> I can certainly test this here in the future. Having newer avrdude would
>> be great. None of the ESP "suite of tools" uses avrdude, so those won't
>> be affected.
>> 
>> I'm working on a ATTiny project, which would be a good test case for
>> this. :D
>> 
>> > -- 
>> > jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE
>> 
>> -- 
>> 
>> Tracey Emery
>
> Here is a diff for later review. Tested communications with my
> buspirate, with no problems.
>
> -- 
>
> Tracey Emery

Hello, I've tested this on amd64 -current using an Arduino UNO with a
simple program, works as expected.

> diff b8b1ea7c41effe940702be2e1fa45f122b9f3cc7 /usr/ports/mystuff
> blob - f36bee3303e7d620c926342c755d4f26336e9f69
> file + devel/avrdude/Makefile
> --- devel/avrdude/Makefile
> +++ devel/avrdude/Makefile
> @@ -2,10 +2,12 @@
>  
>  COMMENT= AVR microcontroller hardware in-system programmer
>  
> -V=   5.11
> +V=   6.3
>  DISTNAME=avrdude-${V}
> -REVISION=4
>  DISTFILES+=  avrdude-${V}.tar.gz avrdude-doc-${V}.pdf
> +
> +SHARED_LIBS +=  avrdude   0.0 # 1.0
> +
>  CATEGORIES=  devel
>  
>  HOMEPAGE=http://www.nongnu.org/avrdude/
> @@ -13,7 +15,7 @@ HOMEPAGE=   http://www.nongnu.org/avrdude/
>  # GPLv2+
>  PERMIT_PACKAGE=  Yes
>  
> -WANTLIB += c curses ftdi m pthread readline usb usb-1.0
> +WANTLIB += c curses elf ftdi1 m pthread readline usb usb-1.0
>  
>  MASTER_SITES=${MASTER_SITE_SAVANNAH:=avrdude/}
>  EXTRACT_ONLY=avrdude-${V}${EXTRACT_SUFX}
> @@ -23,7 +25,7 @@ CONFIGURE_STYLE=autoconf
>  CONFIGURE_ARGS+= CPPFLAGS="-I${LOCALBASE}/include" \
>   LDFLAGS="-L${LOCALBASE}/lib -pthread"
>  
> -LIB_DEPENDS= devel/libftdi \
> +LIB_DEPENDS= devel/libftdi1 \
>   devel/libusb-compat
>  
>  SUBST_VARS+= V
> blob - c143503b71077821ad44e1110d56fac3bb6fff06
> file + devel/avrdude/distinfo
> --- devel/avrdude/distinfo
> +++ devel/avrdude/distinfo
> @@ -1,4 +1,4 @@
> -SHA256 (avrdude-5.11.tar.gz) = Yxf08w/LG69+B+VeXHQ68+Hn+UnyBtOHKmIq7THVldc=
> -SHA256 (avrdude-doc-5.11.pdf) = 7mmFOgnvMLPV2yVrxpDT6lp4ezQjVsDTghUrLBbNEtM=
> -SIZE (avrdude-5.11.tar.gz) = 549113
> -SIZE (avrdude-doc-5.11.pdf) = 236872
> +SHA256 (avrdude-6.3.tar.gz) = D59zG2OUyneVuINZaJp/ofuoGMbh2WJRPrKNpnDgoZY=
> +SHA256 (avrdude-doc-6.3.pdf) = 8+fMdVehEcGB8/BNLasHXoNB141+f4kUtXgZjRjayi8=
> +SIZE (avrdude-6.3.tar.gz) = 909744
> +SIZE (avrdude-doc-6.3.pdf) = 255521
> blob - 9bc1c22fbaa811e0c3fe93f8b334a775d0ee1934
> file + /dev/null
> --- devel/avrdude/patches/patch-avrdude_conf_in
> +++ devel/avrdude/patches/patch-avrdude_conf_in
> @@ -1,201 +0,0 @@
> -$OpenBSD: patch-avrdude_conf_in,v 1.2 2013/05/05 16:48:08 edd Exp $
> -
> -Add support for attiny4313:
> -http://savannah.nongnu.org/patch/?7393
> -
>  avrdude.conf.in.orig Fri Aug 26 21:50:33 2011
> -+++ avrdude.conf.in  Sat May  4 10:30:28 2013
> -@@ -9788,6 +9788,193 @@ part
> -   ;
> - 
> - #
> -+# ATtiny4313
> -+#
> -+
> -+part
> -+ id= "t4313";
> -+ desc  = "ATtiny4313";
> -+ has_debugwire = yes;
> -+ flash_instr   = 0xB2, 0x0F, 0x1F;
> -+ eeprom_instr  = 0xBB, 0xFE, 0xBB, 0xEE, 0xBB, 0xCC, 0xB2, 0x0D,
> -+ 0xBA, 0x0F, 0xB2, 0x0F, 0xBA, 0x0D, 0xBB, 0xBC,
> -+ 0x99, 0xE1, 0xBB, 0xAC;
> -+ stk500_devcode   = 0x23;
> -+##   Use the ATtiny26 devcode:
> -+ avr910_devcode   = 0x5e;
> -+ signature= 0x1e 0x92 0x0d;
> -+ pagel= 0xD4;
> -+ bs2  = 0xD6;
> -+ reset= io;
> -+ chip_erase_delay = 9000;
> -+
> -+ pgm_enable   = "1 0 1 0  1 1 0 00 1 0 1  0 0 1 1",
> -+"x x x x  x x x xx x x x  x x x x";
> -+
> -+ chip_erase   = "1 0 1 0  1 1 0 01 0 0 x  x x x x",
> -+"x x x x  x x x xx x x x  x x x x";
> -+
> -+timeout = 200;
> -+stabdelay   = 100;
> -+cmdexedelay = 25;
> -+synchloops  = 32;
> -+bytedelay   = 0;
> -+pollindex   = 3;
> -+pollvalue   = 0x53;
> -+predelay= 1;
> -+postdelay   = 1;
> -+pollmethod  = 1;
> -+
> -+pp_controlstack =
> -+0x0E, 0x1E, 0x0E, 0x1E, 0x2E, 0x3E, 0x2E, 0x3E,
> -+0x4E, 0x5E, 0x4E, 0x5E, 0x6E, 0x7E, 0x6E, 0x7E,
> -+0x26, 0x36, 0x66, 0x76, 0x2A, 0x3A, 0x6A, 0x7A,
> -+0x2E, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00;
> -+hventerstabdelay= 100;
> -+progmodedelay   = 0;
> -+latchcycles = 5;
> -+togglevtg   = 1;
> -+poweroffdelay   = 15;
> -+resetdelayms= 1;
> -+

Re: Qemu error on OpenBSD

2020-05-17 Thread Stephan Mending
On Sun, May 17, 2020 at 07:52:03PM +0200, Alexandre Ratchov wrote:
> On Sun, May 17, 2020 at 07:19:44PM +0200, Stephan Mending wrote:
> > Hi,
> > after upgrading to qemu 5.0.0 I'm getting the following error when trying 
> > to start a virtual machine.
> > 
> > $ qemu-system-x86_64 -s -drive format=raw,file=/path/to/harddrive
> > Could not allocate dynamic translator buffer
> > 
> > Do you have any idea how to fix this? 
> > 
> > I'm running OpenBSD on AMD64 architecture on current branch. 
> 
> Increasing user datasize limit (see login.conf(5) fixed it for me.

I tried that. Didn't solve it for me. 
datasize-cur=1024M
datasize-max=8192M

I cannot imagine that 8G are too little for a VM that i wanna assign 512M. 

Best regards, 
Stephan



Re: UPDATE: multimedia/mlt

2020-05-17 Thread Tracey Emery
On Sun, May 17, 2020 at 08:19:05PM +0200, Marc Espie wrote:
> On Sun, May 17, 2020 at 04:47:10PM +0200, Marc Espie wrote:
> > Now with better runtime behavior
> > 
> > Some of the mutexes don't work with our stringent defaults,
> > this prevents some aborts on shotcut.
> > 
> > and I can actually start a clip in kdenlive with this.
> 
> New version... I neutered some setlocale for now, which was definitely 
> segfaulting
> (this code should be using uselocale obviously)
> 
> with this I can now do a few things in shotcut...
> 
> Not everything works, next core dump points to
> #0  generate_hash (name=) at mlt_properties.c:336
> #1  mlt_properties_find (self=0x15bd99e2d500, 
> name=0x15bd770e3e98 '\337' ,  \337>...) at mlt_properties.c:517
> #2  0x15bdc2e95cac in mlt_properties_anim_get_rect (self=0x15bd99e2d500, 
> name=0x15bd770e3e98 '\337' ,  \337>..., position=461, length=20205) at mlt_properties.c:2685
> #3  0x15bd8fbe2d69 in Mlt::Properties::anim_get_rect (
> this=, 
> name=0x29389a3e , 
> position=1997422592, length=397259376) at MltProperties.cpp:429
> #4  0x15baf0b159fb in QmlFilter::getRect (this=0x15bd7923e400, name=..., 
> position=461)
> at 
> /build/pobj/shotcut-20.04.12/shotcut-20.04.12/src/qmltypes/qmlfilter.cpp:100
> 

My mailserver was down for a day, so I'm sure I've missed some emails,
and some will take time to get to me. I tested building synfig
yesterday, with no problems. Anywho, has this version been ok'd?

> which seems to be often called with invalid names.
> 
> BUT I can create a timeline, put several clips on it, and even use effects 
> like blur!
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/multimedia/mlt/Makefile,v
> retrieving revision 1.23
> diff -u -p -r1.23 Makefile
> --- Makefile  12 Jul 2019 20:47:57 -  1.23
> +++ Makefile  17 May 2020 18:16:03 -
> @@ -2,17 +2,18 @@
>  
>  COMMENT-main =   multimedia transformations framework
>  COMMENT-gpl2 =   GPLv2-licensed modules for mlt
> -VERSION =6.16.0
> +VERSION =6.20.0
>  DISTNAME =   mlt-${VERSION}
>  PKGNAME-main =   ${DISTNAME}
>  PKGNAME-gpl2 =   mlt-gpl2-${VERSION}
>  
>  # XXX versions should be kept in sync together
> -SHARED_LIBS =mlt 3.1
> -SHARED_LIBS +=   mlt++   3.1
> +SHARED_LIBS =mlt 3.2
> +SHARED_LIBS +=   mlt++   3.2
>  
>  CATEGORIES = multimedia devel
>  HOMEPAGE =   https://www.mltframework.org/
> +DEBUG_PACKAGES = ${BUILD_PACKAGES}
>  
>  MAINTAINER = Rafael Sadowski 
>  
> @@ -21,13 +22,10 @@ MAINTAINER =  Rafael Sadowski   # file gets included, see --enable-gpl3 configure option.
>  PERMIT_PACKAGE = Yes
>  
> -WANTLIB-main += ${COMPILER_LIBCXX} SDL SDL2 SDL_image X11 Xcomposite
> -WANTLIB-main += Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr Xrender
> -WANTLIB-main += atk-1.0 avcodec avdevice avfilter avformat avutil c
> -WANTLIB-main += cairo exif fftw3 fontconfig freetype gdk-x11-2.0 
> gdk_pixbuf-2.0
> -WANTLIB-main += gio-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0 intl jack
> -WANTLIB-main += m pango-1.0 pangocairo-1.0 pangoft2-1.0 sox swresample
> -WANTLIB-main += swscale xml2 z
> +WANTLIB-main += ${COMPILER_LIBCXX} SDL SDL2 SDL_image X11 avcodec avdevice
> +WANTLIB-main += avfilter avformat avutil c exif fftw3 fontconfig gdk-x11-2.0
> +WANTLIB-main += gdk_pixbuf-2.0 glib-2.0 gobject-2.0 jack m pango-1.0
> +WANTLIB-main += pangoft2-1.0 sox swresample swscale vorbisfile xml2
>  
>  WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Gui Qt5Svg Qt5Widgets
>  WANTLIB += Qt5Xml SDL2 exif m mlt samplerate
> Index: distinfo
> ===
> RCS file: /cvs/ports/multimedia/mlt/distinfo,v
> retrieving revision 1.7
> diff -u -p -r1.7 distinfo
> --- distinfo  10 May 2019 15:57:37 -  1.7
> +++ distinfo  17 May 2020 18:16:03 -
> @@ -1,2 +1,2 @@
> -SHA256 (mlt-6.16.0.tar.gz) = 2fzC1D8PdoBfU63KcOl5W/6nlSgF130UvjoqNj+x7cM=
> -SIZE (mlt-6.16.0.tar.gz) = 1414374
> +SHA256 (mlt-6.20.0.tar.gz) = qyEeJ8BsBoj5y+LXTcBiNiTvdepPlO6pFc3DExlr4t0=
> +SIZE (mlt-6.20.0.tar.gz) = 1446137
> Index: patches/patch-configure
> ===
> RCS file: patches/patch-configure
> diff -N patches/patch-configure
> --- patches/patch-configure   26 Apr 2019 13:39:16 -  1.3
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,18 +0,0 @@
> -$OpenBSD: patch-configure,v 1.3 2019/04/26 13:39:16 rsadowski Exp $
> -Index: configure
>  configure.orig
> -+++ configure
> -@@ -124,6 +124,13 @@ build_config()
> - echo "RDYNAMIC=-rdynamic"
> - echo "LDFLAGS+=-Wl,--no-undefined -Wl,--as-needed"
> - ;;
> -+OpenBSD)
> -+echo "CFLAGS+=-fPIC"
> -+ 

[NEW] mail/p5-Mail-ListDetector 1.04

2020-05-17 Thread Andrew Hewus Fresh
This one I was using before I started tracking my email filter with
rcs(1) but still after switching from procmail.  That doesn't really
help narrow it down any more than "at least 2009".

pkg/DESCR:
> This module analyzes mail objects in any of the classes handled by
> Email::Abstract. It returns a Mail::ListDetector::List object
> representing the mailing list.
> 
> The RFC2369 mailing list detector is also capable of matching some
> Mailman and Ezmlm messages. It is deliberately checked last to allow
> the more specific Mailman and Ezmlm parsing to happen first, and
> more accurately identify the type of mailing list involved.

Comments, OK?


p5-Mail-ListDetector-1.04.tar.gz
Description: application/tar-gz


[NEW] mail/p5-Email-Filter-Rules 1.2

2020-05-17 Thread Andrew Hewus Fresh
New port of this module that I've been using for over 10 years now
apparently.  Not sure how I avoided sending it at some point in the past
to reduce the pain of updating my shell server.

pkg/DECR:
> Email::Filter::Rules is a simple way to route e-mail into folders
> without having to touch your filter script. I used to edit my filter
> script often to add or remove e-mail lists and often would fat
> finger something and enter a typo. This would result in all my
> e-mail bouncing and all in all would be a real bummer.
> 
> I wanted to make it syntax simple so it wouldn't end up looking
> like to awful procmail recipe or some cryptic piece of junk.


Comments, OK?


p5-Email-Filter-Rules-1.2.tar.gz
Description: application/tar-gz


Re: [NEW] mail/t-prot 3.4

2020-05-17 Thread Andrew Hewus Fresh
ping

On Sun, May 12, 2019 at 08:55:49PM -0700, Andrew Hewus Fresh wrote:
> Here's a new port that I was reminded I use this port regularly to make
> my email nicer.   I have just forgotten to mail this out nearly forever,
> so probably have things wrong (although I didn't spot any).
> 
> Comments, OK?
> 
> t-prot (TOFU Protection) is a filter which improves the readability of
> email messages and Usenet posts by hiding some of their annoying parts.
> The annoyances it handles include mailing list footers, signatures,
> TOFU, sequences of blank lines, and repeated punctuation. TOFU is an
> acronym that stands for "Text oben, Fullquote unten", a German reference
> to the practice of adding just a few lines of original text and quoting
> a complete message below them.




t-prot-3.4.tar.gz
Description: application/tar-gz


Re: UPDATE: lang/gawk 5.0.1 => 5.1.0

2020-05-17 Thread Charlene Wendling
Hi,

On Sun, 17 May 2020 18:26:09 +
Brian Callahan wrote:

> Hi ports --
> 
> Now that we're post unlock, here is the update to GNU awk again. I
> have successful reports on octeon from jj and I've tested things on
> amd64.
> 
> OK?

It builds and works fine on macppc as well.

OK cwen@

> ~Brian
> 



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2020/05/17 12:48:47

Modified files:
net: Makefile 

Log message:
+ p5-Twitter-API



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2020/05/17 12:48:08

Log message:
Import p5-Twitter-API-1.0005

Twitter::API provides an interface to the Twitter REST API for perl.

Features:
* full support for all Twitter REST API endpoints
* not dependent on a new distribution for new endpoint support
* optionally specify access tokens per API call
* error handling via an exception object that captures the full
request/response context
* full support for OAuth handshake and Xauth authentication

Additional features are available via optional traits:
* convenient methods for API endpoints with simplified argument
handling via ApiMethods
* normalized booleans (Twitter likes 'true' and 'false', except when
it doesn't) via NormalizeBooleans
* automatic decoding of HTML entities via DecodeHtmlEntities
* automatic retry on transient errors via RetryOnError
* "the whole enchilada" combines all the above traits via Enchilada
* app-only (OAuth2) support via AppAuth
* automatic rate limiting via RateLimiting

OK sthen@

Status:

Vendor Tag: afresh1
Release Tags:   afresh1_20200517

N ports/net/p5-Twitter-API/Makefile
N ports/net/p5-Twitter-API/distinfo
N ports/net/p5-Twitter-API/pkg/DESCR
N ports/net/p5-Twitter-API/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2020/05/17 12:47:22

Modified files:
www: Makefile 

Log message:
+ p5-HTTP-Thin p5-URL-Encode p5-WWW-OAuth



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2020/05/17 12:46:50

Log message:
Import p5-WWW-OAuth-1.000

WWW::OAuth implements OAuth 1.0 request authentication according to RFC
5849  (sometimes referred to as
OAuth 1.0A). It does not implement the user agent requests needed for
the complete OAuth 1.0 authorization flow; it only prepares and signs
requests, leaving the rest up to your application. It can authenticate
requests for LWP::UserAgent, Mojo::UserAgent, HTTP::Tiny, and can be
extended to operate on other types of requests.

OK sthen@

Status:

Vendor Tag: afresh1
Release Tags:   afresh1_20200517

N ports/www/p5-WWW-OAuth/Makefile
N ports/www/p5-WWW-OAuth/distinfo
N ports/www/p5-WWW-OAuth/pkg/DESCR
N ports/www/p5-WWW-OAuth/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2020/05/17 12:46:05

Log message:
Import p5-URL-Encode-0.03

This module provides functions to encode and decode strings into and
from the "application/x-www-form-urlencoded" encoding.

OK sthen@

Status:

Vendor Tag: afresh1
Release Tags:   afresh1_20200517

N ports/www/p5-URL-Encode/Makefile
N ports/www/p5-URL-Encode/distinfo
N ports/www/p5-URL-Encode/pkg/DESCR
N ports/www/p5-URL-Encode/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2020/05/17 12:45:28

Log message:
Import p5-HTTP-Thin-0.006

HTTP::Thin is a thin wrapper around HTTP::Tiny adding the ability
to pass in HTTP::Request objects and get back HTTP::Response objects.
The maintainers of HTTP::Tiny, justifiably, don't want to have to
maintain compatibility but many other projects already consume the
HTTP::Message objects. This is just glue code doing what it does
best.

OK sthen@

Status:

Vendor Tag: afresh1
Release Tags:   afresh1_20200517

N ports/www/p5-HTTP-Thin/Makefile
N ports/www/p5-HTTP-Thin/distinfo
N ports/www/p5-HTTP-Thin/pkg/DESCR
N ports/www/p5-HTTP-Thin/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2020/05/17 12:44:09

Modified files:
devel  : Makefile 

Log message:
+ p5-Class-Tiny-Chained p5-MooX-Aliases p5-MooX-Traits p5-Test-Spec



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2020/05/17 12:42:47

Log message:
Import p5-Test-Spec-0.54

This is a declarative specification-style testing system for
behavior-driven development (BDD) in Perl. The tests (a.k.a. examples)
are named with strings instead of subroutine names, so your fingers
will suffer less fatigue from underscore-itis, with the side benefit
that the test reports are more legible.

This module is inspired by and borrows heavily from RSpec, a BDD
tool for the Ruby programming language.

OK sthen@

Status:

Vendor Tag: afresh1
Release Tags:   afresh1_20200517

N ports/devel/p5-Test-Spec/Makefile
N ports/devel/p5-Test-Spec/distinfo
N ports/devel/p5-Test-Spec/pkg/DESCR
N ports/devel/p5-Test-Spec/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2020/05/17 12:41:57

Log message:
Import p5-MooX-Traits-0.005

This module is the same thing as MooseX::Traits and MouseX::Traits,
only for Moo.

OK sthen@

Status:

Vendor Tag: afresh1
Release Tags:   afresh1_20200517

N ports/devel/p5-MooX-Traits/Makefile
N ports/devel/p5-MooX-Traits/distinfo
N ports/devel/p5-MooX-Traits/pkg/DESCR
N ports/devel/p5-MooX-Traits/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2020/05/17 12:41:06

Log message:
Import p5-MooX-Aliases-0.001006

The MooX::Aliases module will allow you to quickly alias methods in Moo.
It provides an alias parameter for has() to generate aliased accessors
as well as the standard ones. Attributes can also be initialized in the
constructor via their aliased names.

OK sthen@

Status:

Vendor Tag: afresh1
Release Tags:   afresh1_20200517

N ports/devel/p5-MooX-Aliases/Makefile
N ports/devel/p5-MooX-Aliases/distinfo
N ports/devel/p5-MooX-Aliases/pkg/DESCR
N ports/devel/p5-MooX-Aliases/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2020/05/17 12:39:54

Log message:
Import p5-Class-Tiny-Chained-0.004

Class::Tiny::Chained is a wrapper around Class::Tiny which makes the
generated attribute accessors chainable; that is, when setting an
attribute value, the object is returned so that further methods can be
called.

OK sthen@

Status:

Vendor Tag: afresh1
Release Tags:   afresh1_20200517

N ports/devel/p5-Class-Tiny-Chained/Makefile
N ports/devel/p5-Class-Tiny-Chained/distinfo
N ports/devel/p5-Class-Tiny-Chained/pkg/DESCR
N ports/devel/p5-Class-Tiny-Chained/pkg/PLIST

No conflicts created by this import



Re: NEW: net/asdig v0.96

2020-05-17 Thread Klemens Nanni
On Sun, May 17, 2020 at 08:23:59PM +0200, Denis Fondras wrote:
> Thank you for checking it.
> Here is a new version. The typos were fixed upstream and your comments were
> included in ports Makefile.
Oh, and please see `make port-lib-depends-check' to update WANTLIB
accordingly (currently incomplete).



Re: NEW: net/asdig v0.96

2020-05-17 Thread Klemens Nanni
On Sun, May 17, 2020 at 08:23:59PM +0200, Denis Fondras wrote:
> Here is a new version. The typos were fixed upstream and your comments were
> included in ports Makefile.
In case upstream is so responsive, can you also make them install the
manual alongside the executable by default?  Then your do-install can
go entirely.

V and DISTNAME can go, just GH_TAGNAME=v0.97 is enough, HOMEPAGE is also
redundant and covered by GH_*.

Uou should set TEST_TARGET=vimtest;  if those tests require network
access, set TEST_IS_INTERACTIVE=... as well.

OK kn with tests adjusted, the rest not changing anything but should
probably be adjusted as well as is best practise with GH_* ports.



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2020/05/17 12:29:37

Modified files:
print/poppler/patches: patch-glib_CMakeLists_txt 

Log message:
Unbreak poppler build

Remove hardcoded poppler-glib SOVERSION

Spotted by naddy aja, ok kili (maintainer)



Re: NEW: net/asdig v0.96

2020-05-17 Thread Denis Fondras
On Sun, May 17, 2020 at 06:45:02PM +0200, Klemens Nanni wrote:
> On Sun, May 17, 2020 at 06:16:03PM +0200, Denis Fondras wrote:
> > asdig is a simple tool for retrieving ASN (autonomous system number) match 
> > from
> > IPv4/IPv6 published by services like Rezopole GoASMap or Cymru.
> > 
> > For a given IPv4 or IPv6 it would display current BGP anouncements received 
> > at
> > the BGP-infrastructure of the queried IP-to-AS reference server, or Internet
> > Exchange Point (IXP) subnets from PeeringDB, or reserved subnets from 
> > Internet
> > Assigned Numbers Authority (IANA).  For a given ASnumber it would display a
> > digest of the registered informations from Regional Internet Registries 
> > (RIR).
> > 
> > https://github.com/Rezopole/asdig
> Missing space after LIB_DEPENDS,
> SEPARATE_BUILD can be set,
> do-install can be post-install merely installing the manual from WRKBUILD,
> NO_TEST=Yes is incorrect as tests exist under the "vimtest" target.
> 

Thank you for checking it.
Here is a new version. The typos were fixed upstream and your comments were
included in ports Makefile.


asdig-0.97.tgz
Description: application/tar-gz


Re: UPDATE: multimedia/mlt

2020-05-17 Thread Marc Espie
On Sun, May 17, 2020 at 04:47:10PM +0200, Marc Espie wrote:
> Now with better runtime behavior
> 
> Some of the mutexes don't work with our stringent defaults,
> this prevents some aborts on shotcut.
> 
> and I can actually start a clip in kdenlive with this.

New version... I neutered some setlocale for now, which was definitely 
segfaulting
(this code should be using uselocale obviously)

with this I can now do a few things in shotcut...

Not everything works, next core dump points to
#0  generate_hash (name=) at mlt_properties.c:336
#1  mlt_properties_find (self=0x15bd99e2d500, 
name=0x15bd770e3e98 '\337' , ...) at mlt_properties.c:517
#2  0x15bdc2e95cac in mlt_properties_anim_get_rect (self=0x15bd99e2d500, 
name=0x15bd770e3e98 '\337' , ..., position=461, length=20205) at mlt_properties.c:2685
#3  0x15bd8fbe2d69 in Mlt::Properties::anim_get_rect (
this=, 
name=0x29389a3e , 
position=1997422592, length=397259376) at MltProperties.cpp:429
#4  0x15baf0b159fb in QmlFilter::getRect (this=0x15bd7923e400, name=..., 
position=461)
at 
/build/pobj/shotcut-20.04.12/shotcut-20.04.12/src/qmltypes/qmlfilter.cpp:100


which seems to be often called with invalid names.

BUT I can create a timeline, put several clips on it, and even use effects like 
blur!

Index: Makefile
===
RCS file: /cvs/ports/multimedia/mlt/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- Makefile12 Jul 2019 20:47:57 -  1.23
+++ Makefile17 May 2020 18:16:03 -
@@ -2,17 +2,18 @@
 
 COMMENT-main = multimedia transformations framework
 COMMENT-gpl2 = GPLv2-licensed modules for mlt
-VERSION =  6.16.0
+VERSION =  6.20.0
 DISTNAME = mlt-${VERSION}
 PKGNAME-main = ${DISTNAME}
 PKGNAME-gpl2 = mlt-gpl2-${VERSION}
 
 # XXX versions should be kept in sync together
-SHARED_LIBS =  mlt 3.1
-SHARED_LIBS += mlt++   3.1
+SHARED_LIBS =  mlt 3.2
+SHARED_LIBS += mlt++   3.2
 
 CATEGORIES =   multimedia devel
 HOMEPAGE = https://www.mltframework.org/
+DEBUG_PACKAGES =   ${BUILD_PACKAGES}
 
 MAINTAINER =   Rafael Sadowski 
 
@@ -21,13 +22,10 @@ MAINTAINER =Rafael Sadowski .depend
-@@ -121,6 +125,8 @@ install:
+@@ -123,6 +127,8 @@ install:
install -m 755 $(TARGET) 
"$(DESTDIR)$(bindir)/libmlt.dll" ; \
fi; \
install -m 644 libmlt.def "$(DESTDIR)$(libdir)" ; \
Index: patches/patch-src_framework_mlt_property_c
===
RCS file: patches/patch-src_framework_mlt_property_c
diff -N patches/patch-src_framework_mlt_property_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_framework_mlt_property_c  17 May 2020 18:16:03 -
@@ -0,0 +1,38 @@
+$OpenBSD$
+
+Index: src/framework/mlt_property.c
+--- src/framework/mlt_property.c.orig
 src/framework/mlt_property.c
+@@ -90,8 +90,12 @@ struct mlt_property_s
+ mlt_property mlt_property_init( )
+ {
+   mlt_property self = calloc( 1, sizeof( *self ) );
+-  if ( self )
+-  pthread_mutex_init( >mutex, NULL );
++  if ( self ) {
++  pthread_mutexattr_t attr;
++  pthread_mutexattr_init();
++  pthread_mutexattr_settype(, PTHREAD_MUTEX_RECURSIVE);
++  pthread_mutex_init( >mutex,  );
++  }
+   return self;
+ }
+ 
+@@ -756,7 +760,7 @@ char *mlt_property_get_string_l_tf( mlt_property self,
+   }
+   else if ( ! ( self->types & mlt_prop_string ) )
+   {
+-#if !defined(_WIN32)
++#if !defined(_WIN32) && !defined(__OpenBSD__)
+   // TODO: when glibc gets sprintf_l, start using it! For now, 
hack on setlocale.
+   // Save the current locale
+ #if defined(__APPLE__)
+@@ -802,7 +806,7 @@ char *mlt_property_get_string_l_tf( mlt_property self,
+   self->types |= mlt_prop_string;
+   self->prop_string = self->serialiser( self->data, 
self->length );
+   }
+-#if !defined(_WIN32)
++#if !defined(_WIN32) && !defined(__OpenBSD__)
+   // Restore the current locale
+   setlocale( LC_NUMERIC, orig_localename );
+   free( orig_localename );
Index: patches/patch-src_framework_mlt_property_h
===
RCS file: patches/patch-src_framework_mlt_property_h
diff -N patches/patch-src_framework_mlt_property_h
--- patches/patch-src_framework_mlt_property_h  26 Apr 2019 13:39:16 -  
1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,15 +0,0 @@
-$OpenBSD: patch-src_framework_mlt_property_h,v 1.3 2019/04/26 13:39:16 
rsadowski Exp $
-
-Index: src/framework/mlt_property.h
 src/framework/mlt_property.h.orig
-+++ src/framework/mlt_property.h
-@@ -34,6 

CVS: cvs.openbsd.org: ports

2020-05-17 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/05/17 12:16:24

Modified files:
misc/shared-mime-info: Makefile distinfo 
misc/shared-mime-info/pkg: PLIST 
Added files:
misc/shared-mime-info/patches: 
   patch-data_freedesktop_generate_sh 
   patch-src_update-mime-database_c 
Removed files:
misc/shared-mime-info/patches: patch-update-mime-database_c 

Log message:
Update to shared-mime-info-2.0.



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Matthias Kilian
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2020/05/17 12:06:07

Modified files:
lang/ghc   : Makefile 

Log message:
On i386, explicitely set GHC_CC_OPTS to -Wl,-znotext -Wl,-z,wxneeded.
Also, drop -fno-pie from CFLAGS.

Unbreaks build as noticed by sthen and also fixes ghci.



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/05/17 11:55:22

Modified files:
print/system-config-printer: Makefile 

Log message:
Remove stray line.



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/05/17 11:54:05

Modified files:
x11/yaru   : Makefile distinfo 
x11/yaru/pkg   : PLIST 
Added files:
x11/yaru/patches: patch-sessions_mode_json_in 

Log message:
Update to yaru-20.10.1.



Re: Qemu error on OpenBSD

2020-05-17 Thread Alexandre Ratchov
On Sun, May 17, 2020 at 07:19:44PM +0200, Stephan Mending wrote:
> Hi,
> after upgrading to qemu 5.0.0 I'm getting the following error when trying to 
> start a virtual machine.
> 
> $ qemu-system-x86_64 -s -drive format=raw,file=/path/to/harddrive
> Could not allocate dynamic translator buffer
> 
> Do you have any idea how to fix this? 
> 
> I'm running OpenBSD on AMD64 architecture on current branch. 

Increasing user datasize limit (see login.conf(5) fixed it for me.



Re: UPDATE: devel/py-dulwich

2020-05-17 Thread Klemens Nanni
On Sun, May 17, 2020 at 07:36:33PM +0200, Klemens Nanni wrote:
> On Sat, May 16, 2020 at 09:28:57AM -0600, Todd C. Miller wrote:
> > Update py-dulwich to 0.19.16 and make python3 the default flavor.
> > Passes its tests and verified working with mercurial 5.3.2 and the
> > latest hg-git from foss.heptapod.net.
> > 
> > We don't have hg-git in ports anymore but that is still the main
> > consumer of dulwich.  Now that mercurial has moved to python3,
> > dulwich should as well.
> Makes sense, but now devel/py-dulwich is no more (only devel/py3-dulwich)
> so a) devel/Makefile needs updating for the FLAVOR and pkg/PLIST must
> provide @pkgpath for the old port, otherwise pkg_add won't see an
> upgrade path.
Oh, conflict must be registered as well.

Updated diff below, feel free to go ahead with OK kn.


Index: Makefile
===
RCS file: /cvs/ports/devel/Makefile,v
retrieving revision 1.1969
diff -u -p -r1.1969 Makefile
--- Makefile16 May 2020 11:04:12 -  1.1969
+++ Makefile17 May 2020 17:37:07 -
@@ -1422,7 +1422,7 @@
  SUBDIR += py-doit
  SUBDIR += py-dtfabric
  SUBDIR += py-dtfabric,python3
- SUBDIR += py-dulwich
+ SUBDIR += py-dulwich,python3
  SUBDIR += py-easyprocess
  SUBDIR += py-easyprocess,python3
  SUBDIR += py-editdist
Index: py-dulwich/Makefile
===
RCS file: /cvs/ports/devel/py-dulwich/Makefile,v
retrieving revision 1.35
diff -u -p -r1.35 Makefile
--- py-dulwich/Makefile 12 Jul 2019 20:45:47 -  1.35
+++ py-dulwich/Makefile 17 May 2020 17:30:46 -
@@ -2,10 +2,9 @@
 
 COMMENT =  pure Python implementation of Git file formats and 
protocols
 
-MODPY_EGG_VERSION =0.19.3
+MODPY_EGG_VERSION =0.19.16
 DISTNAME = dulwich-${MODPY_EGG_VERSION}
 PKGNAME =  py-${DISTNAME}
-REVISION = 0
 
 CATEGORIES =   devel
 
@@ -20,12 +19,15 @@ MODULES =   lang/python
 MODPY_PI = Yes
 MODPY_SETUPTOOLS = Yes
 
-RUN_DEPENDS =  net/py-geventhttpclient
+FLAVORS =  python3
+FLAVOR =   python3
+
+RUN_DEPENDS =  net/py-geventhttpclient${MODPY_FLAVOR}
 
 TEST_DEPENDS = devel/git,-main \
-   devel/py-fastimport \
-   devel/py-greenlet \
-   devel/py-mock
+   devel/py-fastimport${MODPY_FLAVOR} \
+   devel/py-greenlet${MODPY_FLAVOR} \
+   devel/py-mock${MODPY_FLAVOR}
 
 MAKE_ENV +=LC_CTYPE=en_US.UTF-8
 GIT =  ${LOCALBASE}/bin/git
Index: py-dulwich/distinfo
===
RCS file: /cvs/ports/devel/py-dulwich/distinfo,v
retrieving revision 1.18
diff -u -p -r1.18 distinfo
--- py-dulwich/distinfo 25 Dec 2018 12:00:08 -  1.18
+++ py-dulwich/distinfo 17 May 2020 17:30:46 -
@@ -1,2 +1,2 @@
-SHA256 (dulwich-0.19.3.tar.gz) = DRq2rfXo6bwwzObi+STKBuUCQfsbsXpYX8jZjjwJxKQ=
-SIZE (dulwich-0.19.3.tar.gz) = 345823
+SHA256 (dulwich-0.19.16.tar.gz) = 90VhxEi/tvBMB95zHBGBrkKAAX91mwuwT6V3CqhMqFA=
+SIZE (dulwich-0.19.16.tar.gz) = 375483
Index: py-dulwich/pkg/PLIST
===
RCS file: /cvs/ports/devel/py-dulwich/pkg/PLIST,v
retrieving revision 1.11
diff -u -p -r1.11 PLIST
--- py-dulwich/pkg/PLIST25 Dec 2018 12:00:08 -  1.11
+++ py-dulwich/pkg/PLIST17 May 2020 17:46:16 -
@@ -1,4 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.11 2018/12/25 12:00:08 millert Exp $
+@conflict py-dulwich-*
+@pkgpath devel/py-dulwich
 bin/dul-receive-pack
 bin/dul-upload-pack
 bin/dulwich
@@ -10,103 +12,151 @@ lib/python${MODPY_VERSION}/site-packages
 
lib/python${MODPY_VERSION}/site-packages/dulwich-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
 
lib/python${MODPY_VERSION}/site-packages/dulwich-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
 lib/python${MODPY_VERSION}/site-packages/dulwich/__init__.py
-lib/python${MODPY_VERSION}/site-packages/dulwich/__init__.pyc
+${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}/
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}archive.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}client.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}config.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}diff_tree.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}errors.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/dulwich/${MODPY_PYCACHE}fastexport.${MODPY_PYC_MAGIC_TAG}pyc

Qemu error on OpenBSD

2020-05-17 Thread Stephan Mending
Hi,
after upgrading to qemu 5.0.0 I'm getting the following error when trying to 
start a virtual machine.

$ qemu-system-x86_64 -s -drive format=raw,file=/path/to/harddrive
Could not allocate dynamic translator buffer

Do you have any idea how to fix this? 

I'm running OpenBSD on AMD64 architecture on current branch. 

Thanks alot. 

Best regards,
Stephan



Re: UPDATE: devel/py-dulwich

2020-05-17 Thread Klemens Nanni
On Sat, May 16, 2020 at 09:28:57AM -0600, Todd C. Miller wrote:
> Update py-dulwich to 0.19.16 and make python3 the default flavor.
> Passes its tests and verified working with mercurial 5.3.2 and the
> latest hg-git from foss.heptapod.net.
> 
> We don't have hg-git in ports anymore but that is still the main
> consumer of dulwich.  Now that mercurial has moved to python3,
> dulwich should as well.
Makes sense, but now devel/py-dulwich is no more (only devel/py3-dulwich)
so a) devel/Makefile needs updating for the FLAVOR and pkg/PLIST must
provide @pkgpath for the old port, otherwise pkg_add won't see an
upgrade path.



Re: print/poppler intermittent build failures

2020-05-17 Thread Matthias Kilian
Hi,

On Sun, May 17, 2020 at 06:53:57PM +0200, Rafael Sadowski wrote:
> On Sun May 17, 2020 at 05:40:31PM +0200, Christian Weisgerber wrote:
> > In my amd64 bulk builds, I keep seeing the occasional print/poppler
> > build failure.
> > 
> > In the build stage, libpoppler-glib is built with our SHARED_LIBS
> > version number, e.g. libpoppler-glib.so.19.5.
> > 
> > In the fake stage, cmake tries to install the library with the upstream
> > version number, e.g. libpoppler-glib.so.8.16.0:
> > 
> > CMake Error at glib/cmake_install.cmake:52 (file):
> >   file INSTALL cannot find
> >   
> > "/usr/obj/ports/poppler-0.88.0/build-amd64/glib/libpoppler-glib.so.8.16.0":
> >   No such file or directory.
> > 
> > Bizarrely, this only happens in _some_ builds.
> > 
> 
> This should fix it, tested local.
> 
> Rafael
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/print/poppler/Makefile,v
> retrieving revision 1.158
> diff -u -p -r1.158 Makefile
> --- Makefile  16 May 2020 18:41:15 -  1.158
> +++ Makefile  17 May 2020 16:52:30 -
> @@ -10,6 +10,7 @@ CATEGORIES= print
>  PKGNAME-main=poppler-$V
>  PKGNAME-utils=   poppler-utils-$V
>  PKGNAME-qt5= poppler-qt5-$V
> +REVISION-main=   0
>  
>  EXTRACT_SUFX=.tar.xz
>  
> Index: patches/patch-glib_CMakeLists_txt
> ===
> RCS file: /cvs/ports/print/poppler/patches/patch-glib_CMakeLists_txt,v
> retrieving revision 1.4
> diff -u -p -r1.4 patch-glib_CMakeLists_txt
> --- patches/patch-glib_CMakeLists_txt 16 May 2020 18:41:15 -  1.4
> +++ patches/patch-glib_CMakeLists_txt 17 May 2020 16:52:30 -
> @@ -3,7 +3,15 @@ $OpenBSD: patch-glib_CMakeLists_txt,v 1.
>  Index: glib/CMakeLists.txt
>  --- glib/CMakeLists.txt.orig
>  +++ glib/CMakeLists.txt
> -@@ -135,7 +135,9 @@ if (HAVE_INTROSPECTION AND BUILD_SHARED_LIBS)
> +@@ -87,7 +87,6 @@ set(poppler_glib_generated_SRCS
> +   ${CMAKE_SOURCE_DIR}/poppler/CairoRescaleBox.cc
> + )
> + add_library(poppler-glib ${poppler_glib_SRCS} 
> ${poppler_glib_generated_SRCS})
> +-set_target_properties(poppler-glib PROPERTIES VERSION 8.16.0 SOVERSION 8)
> + set_target_properties(poppler-glib PROPERTIES C_VISIBILITY_PRESET hidden)
> + set_target_properties(poppler-glib PROPERTIES CXX_VISIBILITY_PRESET hidden)
> + set_target_properties(poppler-glib PROPERTIES VISIBILITY_INLINES_HIDDEN 1)
> +@@ -135,7 +134,9 @@ if (HAVE_INTROSPECTION AND BUILD_SHARED_LIBS)
> set(Poppler_0_18_gir_INCLUDES GObject-2.0 Gio-2.0 cairo-1.0)
> get_directory_property(_tmp_includes INCLUDE_DIRECTORIES)
> _list_prefix(_includes _tmp_includes "-I")


Ok, if it helps, but you don't need to bump REVISION.

Ciao,
Kili



Re: CVS: cvs.openbsd.org: ports

2020-05-17 Thread Frederic Cambus
On Sun, May 17, 2020 at 02:33:29PM +0100, Stuart Henderson wrote:

> > > > Update adplug to 2.3.2.
> > > > 
> > > 
> > > Looks like this has broken adplay.
> > 
> > Yes, I mentioned that 2 days ago.
> > Should we revert the update?
> > 
> > -- 
> > Antoine
> 
> That or mark it BROKEN, I don't mind which. Let's get it out of the E=
> list one way or another though so builders don't need to waste time on
> it. I'm surprised this wasn't noticed in testing :)

Guilty as charged :) Obviously I didn't rebuild adplay, only audio/ocp.

I pushed a fix, with the required bits from upstream's master branch.



Re: print/poppler intermittent build failures

2020-05-17 Thread Rafael Sadowski
On Sun May 17, 2020 at 05:40:31PM +0200, Christian Weisgerber wrote:
> In my amd64 bulk builds, I keep seeing the occasional print/poppler
> build failure.
> 
> In the build stage, libpoppler-glib is built with our SHARED_LIBS
> version number, e.g. libpoppler-glib.so.19.5.
> 
> In the fake stage, cmake tries to install the library with the upstream
> version number, e.g. libpoppler-glib.so.8.16.0:
> 
> CMake Error at glib/cmake_install.cmake:52 (file):
>   file INSTALL cannot find
>   "/usr/obj/ports/poppler-0.88.0/build-amd64/glib/libpoppler-glib.so.8.16.0":
>   No such file or directory.
> 
> Bizarrely, this only happens in _some_ builds.
> 

This should fix it, tested local.

Rafael

Index: Makefile
===
RCS file: /cvs/ports/print/poppler/Makefile,v
retrieving revision 1.158
diff -u -p -r1.158 Makefile
--- Makefile16 May 2020 18:41:15 -  1.158
+++ Makefile17 May 2020 16:52:30 -
@@ -10,6 +10,7 @@ CATEGORIES=   print
 PKGNAME-main=  poppler-$V
 PKGNAME-utils= poppler-utils-$V
 PKGNAME-qt5=   poppler-qt5-$V
+REVISION-main= 0
 
 EXTRACT_SUFX=  .tar.xz
 
Index: patches/patch-glib_CMakeLists_txt
===
RCS file: /cvs/ports/print/poppler/patches/patch-glib_CMakeLists_txt,v
retrieving revision 1.4
diff -u -p -r1.4 patch-glib_CMakeLists_txt
--- patches/patch-glib_CMakeLists_txt   16 May 2020 18:41:15 -  1.4
+++ patches/patch-glib_CMakeLists_txt   17 May 2020 16:52:30 -
@@ -3,7 +3,15 @@ $OpenBSD: patch-glib_CMakeLists_txt,v 1.
 Index: glib/CMakeLists.txt
 --- glib/CMakeLists.txt.orig
 +++ glib/CMakeLists.txt
-@@ -135,7 +135,9 @@ if (HAVE_INTROSPECTION AND BUILD_SHARED_LIBS)
+@@ -87,7 +87,6 @@ set(poppler_glib_generated_SRCS
+   ${CMAKE_SOURCE_DIR}/poppler/CairoRescaleBox.cc
+ )
+ add_library(poppler-glib ${poppler_glib_SRCS} ${poppler_glib_generated_SRCS})
+-set_target_properties(poppler-glib PROPERTIES VERSION 8.16.0 SOVERSION 8)
+ set_target_properties(poppler-glib PROPERTIES C_VISIBILITY_PRESET hidden)
+ set_target_properties(poppler-glib PROPERTIES CXX_VISIBILITY_PRESET hidden)
+ set_target_properties(poppler-glib PROPERTIES VISIBILITY_INLINES_HIDDEN 1)
+@@ -135,7 +134,9 @@ if (HAVE_INTROSPECTION AND BUILD_SHARED_LIBS)
set(Poppler_0_18_gir_INCLUDES GObject-2.0 Gio-2.0 cairo-1.0)
get_directory_property(_tmp_includes INCLUDE_DIRECTORIES)
_list_prefix(_includes _tmp_includes "-I")



Re: NEW: net/asdig v0.96

2020-05-17 Thread Klemens Nanni
On Sun, May 17, 2020 at 06:16:03PM +0200, Denis Fondras wrote:
> asdig is a simple tool for retrieving ASN (autonomous system number) match 
> from
> IPv4/IPv6 published by services like Rezopole GoASMap or Cymru.
> 
> For a given IPv4 or IPv6 it would display current BGP anouncements received at
> the BGP-infrastructure of the queried IP-to-AS reference server, or Internet
> Exchange Point (IXP) subnets from PeeringDB, or reserved subnets from Internet
> Assigned Numbers Authority (IANA).  For a given ASnumber it would display a
> digest of the registered informations from Regional Internet Registries (RIR).
> 
> https://github.com/Rezopole/asdig
Missing space after LIB_DEPENDS,
SEPARATE_BUILD can be set,
do-install can be post-install merely installing the manual from WRKBUILD,
NO_TEST=Yes is incorrect as tests exist under the "vimtest" target.

: /p/mystuff/net/asdig ;  make test
===>  Regression tests for asdig-0.96
./asdig 134.214.100.6  10.10.12.64  
2a02:3d0:623:a000::8008
NO_DATA
RFC1918 | 10.0.0.0/8 | | | | 
22822 | 2a02:3d0::/32 | US | arin | 2001-11-28 | LLNW
./asdig -cumry  134.214.100.6  10.10.12.64  
2a02:3d0:623:a000::8008
unkown option "-cumry"
NO_DATA
NO_DATA
22822 | 2a02:3d0::/32 | US | arin | 2001-11-28 | LLNW
./asdig -cymru  134.214.100.6  10.10.12.64  
2a02:3d0:623:a000::8008
2060 | 134.214.0.0/16 | FR | ripencc | 1989-07-25
HOST_NOT_FOUND
22822 | 2a02:3d0::/32 | US | ripencc | 2008-05-22
./asdig -rezopole   134.214.100.6  10.10.12.64  
2a02:3d0:623:a000::8008
NO_DATA
NO_DATA
NO_DATA
./asdig -suffixv4=tagada.tsointsoin.fr  134.214.100.6  10.10.12.64  
2a02:3d0:623:a000::8008
HOST_NOT_FOUND
HOST_NOT_FOUND
NO_DATA
./asdig -suffixv6=tagada.tsointsoin.fr  134.214.100.6  10.10.12.64  
2a02:3d0:623:a000::8008
NO_DATA
NO_DATA
HOST_NOT_FOUND

that "unkown option -cumry" reads odd.

Otherwise the port looks good and asdig(1) works nicely, thanks.



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2020/05/17 10:42:38

Modified files:
audio/adplay   : Makefile 
Added files:
audio/adplay/patches: patch-src_adplay_cc 

Log message:
Fix build with adplug 2.3.2.

Thanks to ajacoutot@ and naddy@ for reporting the issue.



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2020/05/17 10:35:01

Modified files:
geo/merkaartor : Makefile 

Log message:
Remove quazip qtwebkit as dependency.

quazip and qtwebkit are no longer required. Regen WANTLIB and bump.

OK landry@ (maintainer)



Re: print/poppler intermittent build failures

2020-05-17 Thread Antoine Jacoutot
On Sun, May 17, 2020 at 05:40:31PM +0200, Christian Weisgerber wrote:
> In my amd64 bulk builds, I keep seeing the occasional print/poppler
> build failure.
> 
> In the build stage, libpoppler-glib is built with our SHARED_LIBS
> version number, e.g. libpoppler-glib.so.19.5.
> 
> In the fake stage, cmake tries to install the library with the upstream
> version number, e.g. libpoppler-glib.so.8.16.0:
> 
> CMake Error at glib/cmake_install.cmake:52 (file):
>   file INSTALL cannot find
>   "/usr/obj/ports/poppler-0.88.0/build-amd64/glib/libpoppler-glib.so.8.16.0":
>   No such file or directory.
> 
> Bizarrely, this only happens in _some_ builds.

I see the same.

-- 
Antoine



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2020/05/17 10:26:02

Modified files:
net/qsyncthingtray: Makefile 

Log message:
Remove useless Qt5*_DIR vars, it comes from our qt5 module

OK edd@ (maintainer)



NEW: net/asdig v0.96

2020-05-17 Thread Denis Fondras
asdig is a simple tool for retrieving ASN (autonomous system number) match from
IPv4/IPv6 published by services like Rezopole GoASMap or Cymru.

For a given IPv4 or IPv6 it would display current BGP anouncements received at
the BGP-infrastructure of the queried IP-to-AS reference server, or Internet
Exchange Point (IXP) subnets from PeeringDB, or reserved subnets from Internet
Assigned Numbers Authority (IANA).  For a given ASnumber it would display a
digest of the registered informations from Regional Internet Registries (RIR).

https://github.com/Rezopole/asdig




asdig-0.96.tgz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2020-05-17 Thread Edd Barrett
CVSROOT:/cvs
Module name:ports
Changes by: e...@cvs.openbsd.org2020/05/17 10:10:25

Modified files:
net/syncthing  : Makefile distinfo 

Log message:
Update net/syncthing to version 1.5.0.

OK paco@ and bket@. Thank you both.



NEW: hyperfine: command line benchmarking tool

2020-05-17 Thread f.holop
hi,

$ cat DESCR
Command-line benchmarking tool.

Features:
- Statistical analysis across multiple runs.
- Support for arbitrary shell commands.
- Constant feedback about the benchmark progress and current estimates.
- Warmup runs can be executed before the actual benchmark.
- Cache-clearing commands can be set up before each timing run.
- Statistical outlier detection to detect interference from other
  programs and caching effects.
- Export results to various formats: CSV, JSON, Markdown, AsciiDoc.
- Parameterized benchmarks (e.g. vary the number of threads).
- Cross-platform


-f
-- 


hyperfine.tgz
Description: application/tar-gz


print/poppler intermittent build failures

2020-05-17 Thread Christian Weisgerber
In my amd64 bulk builds, I keep seeing the occasional print/poppler
build failure.

In the build stage, libpoppler-glib is built with our SHARED_LIBS
version number, e.g. libpoppler-glib.so.19.5.

In the fake stage, cmake tries to install the library with the upstream
version number, e.g. libpoppler-glib.so.8.16.0:

CMake Error at glib/cmake_install.cmake:52 (file):
  file INSTALL cannot find
  "/usr/obj/ports/poppler-0.88.0/build-amd64/glib/libpoppler-glib.so.8.16.0":
  No such file or directory.

Bizarrely, this only happens in _some_ builds.

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/05/17 09:41:04

Modified files:
x11/gtk+4/patches: patch-testsuite_reftests_gtk-reftest_c 

Log message:
Stupid me, I reversed the logic.

spotted by naddy@



CVS: cvs.openbsd.org: ports

2020-05-17 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/05/17 09:30:11

Modified files:
graphics/sane-backends: Makefile distinfo 
graphics/sane-backends/patches: patch-backend_Makefile_in 

Log message:
SECURITY update to sane-backends-1.0.30.
CVE-2020-12867, CVE-2020-12862, CVE-2020-12863, CVE-2020-12865,
CVE-2020-12866, CVE-2020-12864



Re: [New] Puppet6 - 6.14.0

2020-05-17 Thread Klemens Nanni
On Fri, May 15, 2020 at 10:02:41AM +1000, Arthur Barton wrote:
> Puppet 6 has moved some core functions/providers into modules, including 
> cron, mount, mailalias - a few others.
> Originally I think these were bundled into vendor_modules for v6, but that 
> was deprecated at some point around 6.10
> 
> See the forge list at 
> https://forge.puppet.com/modules?q=_core_size=25=6.x=rank 
> 
> $  puppet resource cron before command=/usr/bin/true
> Error: Could not run: Could not find type cron
> $  puppet module install puppetlabs-cron_core
> Notice: Preparing to install into /home/arthurb/.puppetlabs/etc/code/modules 
> ...
> Notice: Created target directory /home/arthurb/.puppetlabs/etc/code/modules
> Notice: Downloading from https://forgeapi.puppet.com ...
> Notice: Installing -- do not interrupt ...
> /home/arthurb/.puppetlabs/etc/code/modules
> └── puppetlabs-cron_core (v1.0.4)
> $  puppet resource cron after command=/usr/bin/true
> Notice: /Cron[after]/ensure: created
> cron { 'after':
>   ensure   => 'present',
>   command  => '/usr/bin/true',
>   provider => 'crontab',
>   target   => 'arthurb',
> }
After installing the now refactored moduls from forge (through
librarian-puppet) I upgraded all my nodes to Puppet 6 without hassle.
Stuff just works.

Unless I hear objections, I'll commit your work in day or two.

Thanks!



WIP: multimedia/shotcut

2020-05-17 Thread Marc Espie
With the new mlt (mutex fixes),
this at least starts and can import clips to the timeline, and
can try to edit stuff

There are more bugs to be found, the beastie tends to segfault
on a whim, but assuming new mlt gets in, we could probably work in-tree.

Note that DEBUG_PACKAGES working properly depends on an 
infrastructure patch.


shotcut.tgz
Description: shotcut.tgz


kdenlive update

2020-05-17 Thread Marc Espie
Seems I can now remove the BROKEN marker.
This does depend on rttr and the mlt fixed update

Index: Makefile
===
RCS file: /cvs/ports/x11/kde-applications/kdenlive/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile23 Mar 2020 18:01:19 -  1.9
+++ Makefile17 May 2020 14:47:25 -
@@ -1,6 +1,6 @@
 # $OpenBSD $
 
-BROKEN =   Crashes immediately when you add a clip to the timeline
+#BROKEN =  Crashes immediately when you add a clip to the timeline
 
 #Qt5Webkit
 USE_WXNEEDED = Yes
@@ -37,6 +37,7 @@ LIB_DEPENDS +=devel/kf5/attica \
devel/kf5/kconfigwidgets \
devel/kf5/kcoreaddons \
devel/kf5/kcrash \
+   devel/kf5/kdeclarative \
devel/kf5/kdbusaddons \
devel/kf5/kfilemetadata \
devel/kf5/kguiaddons \
@@ -59,7 +60,21 @@ LIB_DEPENDS +=   devel/kf5/attica \
x11/qt5/qtdeclarative \
x11/qt5/qtscript \
x11/qt5/qtsvg \
-   x11/qt5/qtwebkit
+   x11/qt5/qtwebkit \
+   devel/rttr
+
+WANTLIB += ${COMPILER_LIBCXX} KF5Archive KF5Attica KF5Auth KF5AuthCore
+WANTLIB += KF5Bookmarks KF5Codecs KF5Completion KF5ConfigCore
+WANTLIB += KF5ConfigGui KF5ConfigWidgets KF5CoreAddons KF5Crash
+WANTLIB += KF5DBusAddons KF5Declarative KF5FileMetaData KF5GuiAddons
+WANTLIB += KF5I18n KF5IconThemes KF5ItemViews KF5JobWidgets KF5KIOCore
+WANTLIB += KF5KIOFileWidgets KF5KIOWidgets KF5NewStuff KF5NewStuffCore
+WANTLIB += KF5Notifications KF5NotifyConfig KF5Package KF5Purpose
+WANTLIB += KF5PurposeWidgets KF5Service KF5Solid KF5SonnetUi KF5TextWidgets
+WANTLIB += KF5WidgetsAddons KF5XmlGui Qt5Concurrent Qt5Core Qt5DBus
+WANTLIB += Qt5Gui Qt5Multimedia Qt5Network Qt5Qml Qt5Quick Qt5QuickWidgets
+WANTLIB += Qt5Svg Qt5WebKit Qt5WebKitWidgets Qt5Widgets Qt5Xml
+WANTLIB += c m mlt mlt++ rttr_core
 
 CONFIGURE_ARGS =   -DCMAKE_DISABLE_FIND_PACKAGE_LibV4L2=Yes
 
Index: pkg/PLIST
===
RCS file: /cvs/ports/x11/kde-applications/kdenlive/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   18 Dec 2018 09:39:19 -  1.3
+++ pkg/PLIST   17 May 2020 14:47:25 -
@@ -2,33 +2,21 @@
 @pkgpath multimedia/kdenlive
 @bin bin/kdenlive
 @bin bin/kdenlive_render
-lib/qt5/plugins/mltpreview.so
+@so lib/qt5/plugins/mltpreview.so
 @man man/man1/kdenlive.1
 @man man/man1/kdenlive_render.1
 share/applications/org.kde.kdenlive.desktop
 share/config.kcfg/
 share/config.kcfg/kdenlivesettings.kcfg
 share/doc/HTML/ca/kdenlive/
-share/doc/HTML/ca/kdenlive/Kdenlive-Quickstart-Add-Last-Clip.png
-share/doc/HTML/ca/kdenlive/Kdenlive-Quickstart-Add-Transition.png
-share/doc/HTML/ca/kdenlive/Kdenlive-Quickstart-EffectStack.png
-share/doc/HTML/ca/kdenlive/Kdenlive_Quickstart-Add-Clips.png
-share/doc/HTML/ca/kdenlive/Kdenlive_Quickstart-Add-Effect.png
-share/doc/HTML/ca/kdenlive/Kdenlive_Quickstart-Effect-Flag.png
-share/doc/HTML/ca/kdenlive/Kdenlive_Quickstart-Fadeout.png
-share/doc/HTML/ca/kdenlive/Kdenlive_Quickstart-Folder-Structure.png
-share/doc/HTML/ca/kdenlive/Kdenlive_Quickstart-Keyframes.png
-share/doc/HTML/ca/kdenlive/Kdenlive_Quickstart-Mainwindow.png
-share/doc/HTML/ca/kdenlive/Kdenlive_Quickstart-New-Project.png
-share/doc/HTML/ca/kdenlive/Kdenlive_Quickstart-Overlap-Clips.png
-share/doc/HTML/ca/kdenlive/Kdenlive_Quickstart-Renderer.png
-share/doc/HTML/ca/kdenlive/Kdenlive_Quickstart-Rendering.png
-share/doc/HTML/ca/kdenlive/Kdenlive_Quickstart-Resize-Marker.png
-share/doc/HTML/ca/kdenlive/Kdenlive_Quickstart-Save-Project.png
-share/doc/HTML/ca/kdenlive/Kdenlive_Quickstart-Timeline-Clips.png
-share/doc/HTML/ca/kdenlive/Kdenlive_Quickstart-TimelineCursor.png
 share/doc/HTML/ca/kdenlive/index.cache.bz2
 share/doc/HTML/ca/kdenlive/index.docbook
+share/doc/HTML/ca/kdenlive/kdenlive_quickstart-overlap-clips.png
+share/doc/HTML/ca/kdenlive/kdenlive_quickstart-renderer.png
+share/doc/HTML/ca/kdenlive/kdenlive_quickstart-resize-marker.png
+share/doc/HTML/ca/kdenlive/kdenlive_quickstart-save-project.png
+share/doc/HTML/ca/kdenlive/kdenlive_quickstart-timeline-clips.png
+share/doc/HTML/ca/kdenlive/kdenlive_quickstart-timelinecursor.png
 share/doc/HTML/de/kdenlive/
 share/doc/HTML/de/kdenlive/index.cache.bz2
 share/doc/HTML/de/kdenlive/index.docbook
@@ -73,6 +61,10 @@ share/doc/HTML/fr/kdenlive/Kdenlive_Quic
 share/doc/HTML/fr/kdenlive/index.cache.bz2
 share/doc/HTML/fr/kdenlive/index.docbook
 share/doc/HTML/fr/kdenlive/section 1 - screen 2.png
+share/doc/HTML/id/
+share/doc/HTML/id/kdenlive/
+share/doc/HTML/id/kdenlive/index.cache.bz2
+share/doc/HTML/id/kdenlive/index.docbook
 share/doc/HTML/it/kdenlive/
 share/doc/HTML/it/kdenlive/index.cache.bz2
 share/doc/HTML/it/kdenlive/index.docbook
@@ -85,6 +77,27 @@ share/doc/HTML/pt/kdenlive/index.docbook
 

Re: UPDATE: multimedia/mlt

2020-05-17 Thread Marc Espie
Now with better runtime behavior

Some of the mutexes don't work with our stringent defaults,
this prevents some aborts on shotcut.

and I can actually start a clip in kdenlive with this.

Index: Makefile
===
RCS file: /cvs/ports/multimedia/mlt/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- Makefile12 Jul 2019 20:47:57 -  1.23
+++ Makefile17 May 2020 14:46:43 -
@@ -2,17 +2,18 @@
 
 COMMENT-main = multimedia transformations framework
 COMMENT-gpl2 = GPLv2-licensed modules for mlt
-VERSION =  6.16.0
+VERSION =  6.20.0
 DISTNAME = mlt-${VERSION}
 PKGNAME-main = ${DISTNAME}
 PKGNAME-gpl2 = mlt-gpl2-${VERSION}
 
 # XXX versions should be kept in sync together
-SHARED_LIBS =  mlt 3.1
-SHARED_LIBS += mlt++   3.1
+SHARED_LIBS =  mlt 3.2
+SHARED_LIBS += mlt++   3.2
 
 CATEGORIES =   multimedia devel
 HOMEPAGE = https://www.mltframework.org/
+DEBUG_PACKAGES =   ${BUILD_PACKAGES}
 
 MAINTAINER =   Rafael Sadowski 
 
@@ -21,13 +22,10 @@ MAINTAINER =Rafael Sadowski .depend
-@@ -121,6 +125,8 @@ install:
+@@ -123,6 +127,8 @@ install:
install -m 755 $(TARGET) 
"$(DESTDIR)$(bindir)/libmlt.dll" ; \
fi; \
install -m 644 libmlt.def "$(DESTDIR)$(libdir)" ; \
Index: patches/patch-src_framework_mlt_property_c
===
RCS file: patches/patch-src_framework_mlt_property_c
diff -N patches/patch-src_framework_mlt_property_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_framework_mlt_property_c  17 May 2020 14:46:43 -
@@ -0,0 +1,20 @@
+$OpenBSD$
+
+Index: src/framework/mlt_property.c
+--- src/framework/mlt_property.c.orig
 src/framework/mlt_property.c
+@@ -90,8 +90,12 @@ struct mlt_property_s
+ mlt_property mlt_property_init( )
+ {
+   mlt_property self = calloc( 1, sizeof( *self ) );
+-  if ( self )
+-  pthread_mutex_init( >mutex, NULL );
++  if ( self ) {
++  pthread_mutexattr_t attr;
++  pthread_mutexattr_init();
++  pthread_mutexattr_settype(, PTHREAD_MUTEX_RECURSIVE);
++  pthread_mutex_init( >mutex,  );
++  }
+   return self;
+ }
+ 
Index: patches/patch-src_framework_mlt_property_h
===
RCS file: patches/patch-src_framework_mlt_property_h
diff -N patches/patch-src_framework_mlt_property_h
--- patches/patch-src_framework_mlt_property_h  26 Apr 2019 13:39:16 -  
1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,15 +0,0 @@
-$OpenBSD: patch-src_framework_mlt_property_h,v 1.3 2019/04/26 13:39:16 
rsadowski Exp $
-
-Index: src/framework/mlt_property.h
 src/framework/mlt_property.h.orig
-+++ src/framework/mlt_property.h
-@@ -34,6 +34,9 @@
- #  include 
- #elif defined(__APPLE__) || (defined(__FreeBSD_version) && __FreeBSD_version 
>= 900506)
- #  include 
-+#elif defined(__OpenBSD__)
-+/* XXX matches __nop_locale glue in libc++ */
-+typedef void* locale_t;
- #else
- typedef char* locale_t;
- #endif
Index: patches/patch-src_modules_avformat_producer_avformat_c
===
RCS file: patches/patch-src_modules_avformat_producer_avformat_c
diff -N patches/patch-src_modules_avformat_producer_avformat_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_modules_avformat_producer_avformat_c  17 May 2020 
14:46:43 -
@@ -0,0 +1,23 @@
+$OpenBSD$
+
+Index: src/modules/avformat/producer_avformat.c
+--- src/modules/avformat/producer_avformat.c.orig
 src/modules/avformat/producer_avformat.c
+@@ -755,10 +755,13 @@ static int producer_open(producer_avformat self, mlt_p
+ 
+   if ( !self->is_mutex_init )
+   {
+-  pthread_mutex_init( >audio_mutex, NULL );
+-  pthread_mutex_init( >video_mutex, NULL );
+-  pthread_mutex_init( >packets_mutex, NULL );
+-  pthread_mutex_init( >open_mutex, NULL );
++  pthread_mutexattr_t attr;
++  pthread_mutexattr_init();
++  pthread_mutexattr_settype(, PTHREAD_MUTEX_RECURSIVE);
++  pthread_mutex_init( >audio_mutex,  );
++  pthread_mutex_init( >video_mutex,  );
++  pthread_mutex_init( >packets_mutex,  );
++  pthread_mutex_init( >open_mutex,  );
+   self->is_mutex_init = 1;
+   }
+ 
Index: patches/patch-src_modules_kino_endian_types_h
===
RCS file: patches/patch-src_modules_kino_endian_types_h
diff -N patches/patch-src_modules_kino_endian_types_h
--- patches/patch-src_modules_kino_endian_types_h   14 Jul 2014 09:15:12 
-  1.1.1.1
+++ 

NEW PORT: rttr (dependency for kdenlive)

2020-05-17 Thread Marc Espie
kdenlive lists this as "optional" but in actuality
it cheats and tries to download it on the side (which
obviously fails for us)

The tests take forever to build, and some actually don't build with 
clang/libc++,
so I've removed them, as the goal is only to build kdenlive


rttr.tgz
Description: rttr.tgz


CVS: cvs.openbsd.org: ports

2020-05-17 Thread Aaron Bieber
CVSROOT:/cvs
Module name:ports
Changes by: abie...@cvs.openbsd.org 2020/05/17 08:33:04

Modified files:
infrastructure/lib/OpenBSD/PortGen/Port: Go.pm 

Log message:
Remove PKGNAME, setting DISTNAME is enough.

OK ajacoutot@



  1   2   >