CVS: cvs.openbsd.org: ports

2017-12-13 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/12/13 23:44:23

Modified files:
editors/scintilla: Makefile 
editors/qscintilla: Makefile 

Log message:
Need a C++11/14 compiler



CVS: cvs.openbsd.org: ports

2017-12-13 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/12/13 23:11:09

Modified files:
www/newsbeuter : Makefile 

Log message:
Annotate COMPILER (C++1)



CVS: cvs.openbsd.org: ports

2017-12-13 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/12/13 23:02:30

Modified files:
www/webkitgtk4 : Makefile 

Log message:
typo



CVS: cvs.openbsd.org: ports

2017-12-13 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/12/13 23:00:17

Modified files:
sysutils/smartmontools: Makefile 

Log message:
Requires a C++11 but doesn't use it (yet), just skip the test



CVS: cvs.openbsd.org: ports

2017-12-13 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/12/13 22:57:44

Modified files:
geo/geos   : Makefile 
Removed files:
geo/geos/patches: patch-include_geos_geom_Lineal_h 
  patch-include_geos_geom_Polygonal_h 
  patch-include_geos_geom_Puntal_h 
  patch-include_geos_util_GEOSException_h 

Log message:
Bigger hammer to kill UTF-8 BOM (fails to build with base gcc)



CVS: cvs.openbsd.org: ports

2017-12-13 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/12/13 22:54:18

Modified files:
www/xapian-omega: Makefile 

Log message:
Needs a C++11 compiler like other xapian ports



sparc64 bulk build report

2017-12-13 Thread landry
bulk build on sparc64-1.ports.openbsd.org
started on  Sun Dec 3 08:27:04 MST 2017
finished at Wed Dec 13 20:46:04 MST 2017
lasted 11D05h19m
done with kern.version=OpenBSD 6.2-current (GENERIC) #359: Sat Dec  2 19:25:55 
MST 2017

built packages:8075
Dec 3:252
Dec 4:204
Dec 5:134
Dec 6:50
Dec 7:148
Dec 8:121
Dec 9:295
Dec 10:369
Dec 11:539
Dec 12:1210
Dec 13:4752



build failures: 36
http://build-failures.rhaalovely.net//sparc64/2017-12-03/audio/cmu-sphinxbase.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/converters/k2pdfopt.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/devel/arm-none-eabi/gcc-linaro.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/devel/astyle.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/devel/dlib.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/devel/reposurgeon.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/devel/xtensa-elf/gcc.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/editors/qscintilla.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/editors/scintilla.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/games/easyrpg.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/games/fifengine.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/games/hyperrogue.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/games/irrlamb.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/games/lugaru.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/games/openrct2.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/geo/geos.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/graphics/dcmtk.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/graphics/slop.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/lang/apl.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/lang/duktape.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/multimedia/assimp.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/multimedia/gstreamer1/mm.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/net/telegram-purple.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/security/encfs.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/security/sslscan,openssl.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/sysutils/facter.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/sysutils/logstalgia.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/sysutils/smartmontools.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/telephony/asterisk,imap,-calendar.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/textproc/uncrustify.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/www/webkitgtk4.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/www/xapian-omega.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/x11/gnome/libdazzle.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/x11/gnome/totem-pl-parser.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/x11/qt5/qtbase.log
http://build-failures.rhaalovely.net//sparc64/2017-12-03/x11/worker.log

recurrent failures
 failures/audio/cmu-sphinxbase.log
 failures/converters/k2pdfopt.log
 failures/devel/arm-none-eabi/gcc-linaro.log
 failures/devel/astyle.log
 failures/devel/dlib.log
 failures/devel/reposurgeon.log
 failures/devel/xtensa-elf/gcc.log
 failures/editors/qscintilla.log
 failures/editors/scintilla.log
 failures/games/easyrpg.log
 failures/games/fifengine.log
 failures/games/hyperrogue.log
 failures/games/openrct2.log
 failures/geo/geos.log
 failures/graphics/dcmtk.log
 failures/graphics/slop.log
 failures/lang/apl.log
 failures/multimedia/assimp.log
 failures/multimedia/gstreamer1/mm.log
 failures/net/telegram-purple.log
 failures/security/encfs.log
 failures/security/sslscan,openssl.log
 failures/sysutils/facter.log
 failures/sysutils/logstalgia.log
 failures/textproc/uncrustify.log
 failures/www/webkitgtk4.log
 failures/x11/gnome/libdazzle.log
 failures/x11/gnome/totem-pl-parser.log
 failures/x11/qt5/qtbase.log
 failures/x11/worker.log
new failures
+++ ls-failures Wed Dec 13 20:46:32 2017
+failures/lang/duktape.log
+failures/sysutils/smartmontools.log
+failures/telephony/asterisk,imap,-calendar.log
+failures/www/xapian-omega.log
resolved failures
--- ../old/sparc64/last//ls-failuresSat Dec  2 16:02:16 2017
-failures/archivers/woff2.log
-failures/audio/grip.log
-failures/databases/xapian-core.log
-failures/devel/jsonrpc-glib.log
-failures/devel/template-glib.log
-failures/games/cataclysm-dda.log
-failures/graphics/gdcm.log
-failures/lang/verilator.log
-failures/net/libnids.log
-failures/net/prosody.log
-failures/security/pcsc-cyberjack.log
-failures/security/py-cryptography.log
-failures/textproc/libical.log
-failures/textproc/link-grammar,,-main.log
-failures/x11/gnome/gjs.log
-failures/x11/xfce4/xfce4-pulseaudio.log
Base 

CVS: cvs.openbsd.org: ports

2017-12-13 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/12/13 17:29:47

Modified files:
devel/json-c   : Makefile 

Log message:
autoheader is the default for CONFIGURE_STYLE=autoconf



CVS: cvs.openbsd.org: ports

2017-12-13 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/12/13 17:24:36

Modified files:
graphics/DevIL : Makefile 
Added files:
graphics/DevIL/patches: patch-src-IL_src_il_jp2_c 

Log message:
Cope with newer graphics/jasper

ok ajacoutot@



CVS: cvs.openbsd.org: ports

2017-12-13 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/12/13 17:23:28

Modified files:
graphics/jasper: Makefile distinfo 
graphics/jasper/patches: patch-src_appl_jasper_c 
 patch-src_libjasper_base_jas_seq_c 
 patch-src_libjasper_base_jas_stream_c 
 patch-src_libjasper_base_jas_string_c 
 patch-src_libjasper_jp2_jp2_enc_c 
 patch-src_libjasper_jpc_jpc_enc_c 
 patch-src_libjasper_pnm_pnm_enc_c 
graphics/jasper/pkg: PLIST 
Added files:
graphics/jasper/patches: patch-CMakeLists_txt 
Removed files:
graphics/jasper/patches: patch-src_libjasper_base_jas_cm_c 
 patch-src_libjasper_base_jas_icc_c 
 patch-src_libjasper_base_jas_image_c 
 patch-src_libjasper_base_jas_init_c 
 patch-src_libjasper_base_jas_malloc_c 
 patch-src_libjasper_bmp_bmp_dec_c 
 
patch-src_libjasper_include_jasper_jas_malloc_h 
 patch-src_libjasper_jp2_jp2_cod_c 
 patch-src_libjasper_jp2_jp2_dec_c 
 patch-src_libjasper_jpc_jpc_cs_c 
 patch-src_libjasper_jpc_jpc_dec_c 
 patch-src_libjasper_jpc_jpc_mqdec_c 
 patch-src_libjasper_jpc_jpc_mqenc_c 
 patch-src_libjasper_jpc_jpc_qmfb_c 
 patch-src_libjasper_jpc_jpc_t1enc_c 
 patch-src_libjasper_jpc_jpc_t2cod_c 
 patch-src_libjasper_jpc_jpc_t2dec_c 
 patch-src_libjasper_jpc_jpc_t2enc_c 
 patch-src_libjasper_jpc_jpc_tagtree_c 
 patch-src_libjasper_jpc_jpc_util_c 
 patch-src_libjasper_mif_mif_cod_c 

Log message:
Update to jasper-2.0.14

Security patches removed, since all of them appear to be merged
upstream, APIWARN diffs kept.  The atexit workaround introduced by jolan
is not needed any more.

The port now explicitely requests gnu11 support.  I did not change the
feature set (no libjpeg, no opengl) to ease the update.  People can
enable stuff later if they need to.
Testing quirks:
- not enabling jpeg means that the two first tests fail
- shells/bash should be installed at *configure* time in order for tests
to be picked up; maybe we should add a "test" FLAVOR so that regular
builds aren't affected?

Tested on amd64 and arm, bulk build + ok ajacoutot@ (thanks!)



CVS: cvs.openbsd.org: ports

2017-12-13 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/12/13 17:16:14

Modified files:
net/yersinia   : Makefile 

Log message:
Sync with other libnet consumers

ok steven@ (maintainer)



Re: Retire devel/arm-elf?

2017-12-13 Thread Jeremie Courreges-Anglas
On Wed, Dec 13 2017, Klemens Nanni  wrote:
> On Wed, Dec 13, 2017 at 08:09:38PM +0100, Jeremie Courreges-Anglas wrote:
>> 
>> devel/arm-elf/gcc has been marked as broken almost three years ago,
>> devel/arm-elf/newlib depends on it.  I doubt that gdb and binutils alone
>> are useful, especially since the ARM ecosystem moved to a newer ABI.
>> 
>> ok to remove?
> Working with microprocessors without a compiler is certainly annoying.
> as and ld are useful though when preparing things for the lab and
> stepping through code with gdb is required all the time so having those
> tools around can definitely be worth it.

I can understand how running gdb from a regular machine makes sense,
given the size of gdb these days.  But binutils when you have no
compiler...

> But in the end it's still an incomplete toolchain which forces you onto
> other platforms one way or another, so I don't object to remove it even
> though I'm using it.

Just to make it crystal clear: you are using arm-elf-binutils-2.20 and
arm-elf-gdb-7.1, not arm-none-eabi-binutils-2.27 and
arm-none-eabi-gdb-7.9.1, right?  I'm not versed enough in ARM stuff to
know whether arm-elf is still relevant these days.

My concern is to avoid stuff rotting for years in the ports tree, not to
prevent people from having useful tools at hand.  Maybe updating to newer
upstream versions would be doable?  (Or mybe adding an arm-elf
FLAVOR to devel/arm-none-eabi?)

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



Re: security/botan without boost

2017-12-13 Thread Alexander Bluhm
On Wed, Dec 13, 2017 at 10:42:25PM +0100, Rafael Sadowski wrote:
> Hi bluhm@, Hi ports@,
> 
> the upcoming boost removed T1 library support. Before we update our boost
> I would like to commit the diff below.
> 
> I have changed the following:
> 
> 1.) Add COMPILER and drop ONLY_FOR_ARCHS
> 2.) Add -std=c++11 (clang also needs -Wno-c++11-narrowing to build successful)
> 3.) Drop boost as bdep and change tr1-implementation to system.
> 4.) fake function in namespace std::tr1:: and use std::placeholders.
> 
> Build correctly with base-clang and ports-gcc. All tests passed with
> both compilers.
> 
> Ok? Comments?

OK bluhm@

> +COMPILER= base-clang ports-gcc

you need a space before = and a tab after =



security/botan without boost

2017-12-13 Thread Rafael Sadowski
Hi bluhm@, Hi ports@,

the upcoming boost removed T1 library support. Before we update our boost
I would like to commit the diff below.

I have changed the following:

1.) Add COMPILER and drop ONLY_FOR_ARCHS
2.) Add -std=c++11 (clang also needs -Wno-c++11-narrowing to build successful)
3.) Drop boost as bdep and change tr1-implementation to system.
4.) fake function in namespace std::tr1:: and use std::placeholders.

Build correctly with base-clang and ports-gcc. All tests passed with
both compilers.

Ok? Comments?

Best regards,

Rafael Sadowski

Index: Makefile
===
RCS file: /cvs/ports/security/botan/Makefile,v
retrieving revision 1.27
diff -u -p -u -p -r1.27 Makefile
--- Makefile9 Oct 2017 20:06:26 -   1.27
+++ Makefile13 Dec 2017 21:28:54 -
@@ -1,13 +1,12 @@
 # $OpenBSD: Makefile,v 1.27 2017/10/09 20:06:26 bluhm Exp $
 
-ONLY_FOR_ARCHS =   ${GCC4_ARCHS} ${CLANG_ARCHS}
-
 COMMENT =  portable, easy to use, and efficient C++ crypto library
 
 PORTROACH =limit:^1\.10\.
 VERSION =  1.10.17
 DISTNAME = Botan-${VERSION}
 PKGNAME =  botan-${VERSION}
+REVISION = 0
 
 SHARED_LIBS =  botan-1.10  1.1
 
@@ -22,6 +21,8 @@ PERMIT_PACKAGE_CDROM =Yes
 
 WANTLIB =  bz2 crypto gmp m pthread ${COMPILER_LIBCXX} z
 
+COMPILER= base-clang ports-gcc
+
 MASTER_SITES = ${HOMEPAGE}releases/
 
 SUPDISTFILES = ${DISTFILES}.asc
@@ -31,9 +32,8 @@ MODULES = lang/python
 MODPY_RUNDEP = No
 LIB_DEPENDS =  archivers/bzip2 \
devel/gmp
-BUILD_DEPENDS =devel/boost
 
-CXXFLAGS +=-I${LOCALBASE}/include
+CXXFLAGS +=-std=c++11 -Wno-c++11-narrowing -I${LOCALBASE}/include
 MAKE_FLAGS =   CXX="${CXX}" LIB_OPT="${CXXFLAGS} -finline-functions" \
CHECK_OPT="${CXXFLAGS}" LDFLAGS="-L${LOCALBASE}/lib" \
LIBbotan_VERSION=${LIBbotan-1.10_VERSION}
@@ -46,7 +46,7 @@ CONFIGURE_ARGS =  --cpu=${MACHINE_ARCH} \
--with-bzip2 \
--with-gnump \
--with-openssl \
-   --with-tr1-implementation=boost \
+   --with-tr1-implementation=system \
--with-zlib \
--without-sphinx
 
Index: patches/patch-src_ssl_tls_record_h
===
RCS file: patches/patch-src_ssl_tls_record_h
diff -N patches/patch-src_ssl_tls_record_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_ssl_tls_record_h  13 Dec 2017 21:28:54 -
@@ -0,0 +1,33 @@
+$OpenBSD$
+
+Index: src/ssl/tls_record.h
+--- src/ssl/tls_record.h.orig
 src/ssl/tls_record.h
+@@ -17,8 +17,13 @@
+ 
+ #if defined(BOTAN_USE_STD_TR1)
+ 
+-#if defined(BOTAN_BUILD_COMPILER_IS_MSVC)
++#if defined(BOTAN_BUILD_COMPILER_IS_MSVC) || 
(defined(BOTAN_BUILD_COMPILER_IS_CLANG) || defined(BOTAN_BUILD_COMPILER_IS_GCC))
+ #include 
++namespace std {
++namespace tr1 {
++using std::function;
++}
++}
+ #else
+ #include 
+ #endif
+@@ -31,7 +36,11 @@
+ 
+ namespace Botan {
+ 
+-using namespace std::tr1::placeholders;
++#if (defined(BOTAN_BUILD_COMPILER_IS_CLANG) || 
defined(BOTAN_BUILD_COMPILER_IS_GCC))
++using namespace std::placeholders;
++#else
++using namespace std::tr1::placeholders;
++#endif
+ 
+ /**
+ * TLS Record Writer



[UPDATE] emulators/fuse-utils to 1.4.0

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

Here is a diff to update fuse-utils to 1.4.0.

Comments? OK?

Index: Makefile
===
RCS file: /cvs/ports/emulators/fuse-utils/Makefile,v
retrieving revision 1.29
diff -u -p -r1.29 Makefile
--- Makefile18 Oct 2017 15:58:35 -  1.29
+++ Makefile13 Dec 2017 20:47:39 -
@@ -2,7 +2,7 @@
 
 COMMENT=   Free Unix Spectrum Emulator utilities
 
-DISTNAME=  fuse-utils-1.3.5
+DISTNAME=  fuse-utils-1.4.0
 CATEGORIES=emulators
 HOMEPAGE=  http://fuse-emulator.sourceforge.net/
 
Index: distinfo
===
RCS file: /cvs/ports/emulators/fuse-utils/distinfo,v
retrieving revision 1.13
diff -u -p -r1.13 distinfo
--- distinfo18 Oct 2017 15:58:35 -  1.13
+++ distinfo13 Dec 2017 20:47:39 -
@@ -1,2 +1,2 @@
-SHA256 (fuse-utils-1.3.5.tar.gz) = BhUuGQq7/kCP+5vVguUS4nd0ZNAhlFtsLuBWomIlGr0=
-SIZE (fuse-utils-1.3.5.tar.gz) = 493821
+SHA256 (fuse-utils-1.4.0.tar.gz) = sAHneaJyxqOmcZuJfptWrisaqdY69OTSZ9MTmVci2Vo=
+SIZE (fuse-utils-1.4.0.tar.gz) = 499865
Index: pkg/PLIST
===
RCS file: /cvs/ports/emulators/fuse-utils/pkg/PLIST,v
retrieving revision 1.8
diff -u -p -r1.8 PLIST
--- pkg/PLIST   3 Jan 2017 13:20:43 -   1.8
+++ pkg/PLIST   13 Dec 2017 20:47:39 -
@@ -11,6 +11,7 @@
 @bin bin/scl2trd
 @bin bin/snap2tzx
 @bin bin/snapconv
+@bin bin/snapdump
 @bin bin/tape2pulses
 @bin bin/tape2wav
 @bin bin/tapeconv
@@ -28,6 +29,7 @@
 @man man/man1/scl2trd.1
 @man man/man1/snap2tzx.1
 @man man/man1/snapconv.1
+@man man/man1/snapdump.1
 @man man/man1/tape2pulses.1
 @man man/man1/tape2wav.1
 @man man/man1/tapeconv.1



[UPDATE] emulators/fuse to 1.5.0

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

Here is a diff to update fuse to 1.5.0.

Comments? OK?

Index: Makefile
===
RCS file: /cvs/ports/emulators/fuse/Makefile,v
retrieving revision 1.42
diff -u -p -r1.42 Makefile
--- Makefile18 Oct 2017 15:56:42 -  1.42
+++ Makefile13 Dec 2017 20:40:32 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.42 2017/10/18 15:56:42 fcambus Exp $
 
 COMMENT=   Free Unix Spectrum Emulator
-DISTNAME=  fuse-1.4.1
+DISTNAME=  fuse-1.5.0
 CATEGORIES=emulators
 HOMEPAGE=  http://fuse-emulator.sourceforge.net/
 
Index: distinfo
===
RCS file: /cvs/ports/emulators/fuse/distinfo,v
retrieving revision 1.21
diff -u -p -r1.21 distinfo
--- distinfo18 Oct 2017 15:56:42 -  1.21
+++ distinfo13 Dec 2017 20:40:32 -
@@ -1,2 +1,2 @@
-SHA256 (fuse-1.4.1.tar.gz) = gX1X222pWkEbW0TMrioA//MyslG1ApV6iohteU1HWqM=
-SIZE (fuse-1.4.1.tar.gz) = 1654522
+SHA256 (fuse-1.5.0.tar.gz) = sRNKn00hHPnb+EXdWyikpYpKtp878ffQTRwmFH4Nrv0=
+SIZE (fuse-1.5.0.tar.gz) = 1619748
Index: pkg/PLIST
===
RCS file: /cvs/ports/emulators/fuse/pkg/PLIST,v
retrieving revision 1.9
diff -u -p -r1.9 PLIST
--- pkg/PLIST   9 Jun 2014 08:55:00 -   1.9
+++ pkg/PLIST   13 Dec 2017 20:40:32 -
@@ -9,7 +9,6 @@ share/fuse/128-1.rom
 share/fuse/48.rom
 share/fuse/cassette.bmp
 share/fuse/disciple.rom
-share/fuse/disk_plus3.szx
 share/fuse/keyboard.scr
 share/fuse/microdrive.bmp
 share/fuse/plus2-0.rom
@@ -27,20 +26,6 @@ share/fuse/plusd.rom
 share/fuse/se-0.rom
 share/fuse/se-1.rom
 share/fuse/speccyboot-1.4.rom
-share/fuse/tape_128.szx
-share/fuse/tape_16.szx
-share/fuse/tape_2048.szx
-share/fuse/tape_2068.szx
-share/fuse/tape_48.szx
-share/fuse/tape_48_ntsc.szx
-share/fuse/tape_pentagon.szx
-share/fuse/tape_plus2.szx
-share/fuse/tape_plus2a.szx
-share/fuse/tape_plus3.szx
-share/fuse/tape_plus3e.szx
-share/fuse/tape_scorpion.szx
-share/fuse/tape_se.szx
-share/fuse/tape_ts2068.szx
 share/fuse/tc2048.rom
 share/fuse/tc2068-0.rom
 share/fuse/tc2068-1.rom



fix security issue in -stable for net/tor

2017-12-13 Thread Daniel Jakots
Hi,

A bunch of security fixes were released on Dec 1st, -current was
updated but not -stable
https://lists.torproject.org/pipermail/tor-announce/2017-December/000147.html

Now Tor is going to remove the affected relays for the networks so
updating is really mandatory :p

Here's a diff to update the ports. Ports compiled tested only so tests
report welcome.

Cheers,
Daniel

Index: Makefile
===
RCS file: /cvs/ports/net/tor/Makefile,v
retrieving revision 1.105
diff -u -p -r1.105 Makefile
--- Makefile3 Aug 2017 12:21:26 -   1.105
+++ Makefile13 Dec 2017 20:25:01 -
@@ -2,7 +2,7 @@
 
 COMMENT=   anonymity service using onion routing
 
-DISTNAME=  tor-0.3.0.10
+DISTNAME=  tor-0.3.0.13
 CATEGORIES=net
 HOMEPAGE=  https://www.torproject.org/
 
Index: distinfo
===
RCS file: /cvs/ports/net/tor/distinfo,v
retrieving revision 1.86
diff -u -p -r1.86 distinfo
--- distinfo3 Aug 2017 12:21:26 -   1.86
+++ distinfo13 Dec 2017 20:25:01 -
@@ -1,2 +1,2 @@
-SHA256 (tor-0.3.0.10.tar.gz) = mo5uSaFoja5k3KEPhKQU7JpPOT+yJWrijgwuMjkYWrE=
-SIZE (tor-0.3.0.10.tar.gz) = 5845205
+SHA256 (tor-0.3.0.13.tar.gz) = bgE5uo3JXeJUkaAXHcwDr24Fmid9OW8lmZianJDVLkM=
+SIZE (tor-0.3.0.13.tar.gz) = 5913752




CVS: cvs.openbsd.org: ports

2017-12-13 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:ports
Changes by: bl...@cvs.openbsd.org   2017/12/13 13:34:58

Modified files:
devel/p5-List-MoreUtils: Makefile distinfo 

Log message:
update p5-List-MoreUtils to 0.428



Re: Retire devel/arm-elf?

2017-12-13 Thread Klemens Nanni
On Wed, Dec 13, 2017 at 08:09:38PM +0100, Jeremie Courreges-Anglas wrote:
> 
> devel/arm-elf/gcc has been marked as broken almost three years ago,
> devel/arm-elf/newlib depends on it.  I doubt that gdb and binutils alone
> are useful, especially since the ARM ecosystem moved to a newer ABI.
> 
> ok to remove?
Working with microprocessors without a compiler is certainly annoying.
as and ld are useful though when preparing things for the lab and
stepping through code with gdb is required all the time so having those
tools around can definitely be worth it.

But in the end it's still an incomplete toolchain which forces you onto
other platforms one way or another, so I don't object to remove it even
though I'm using it.



Retire devel/arm-elf?

2017-12-13 Thread Jeremie Courreges-Anglas

devel/arm-elf/gcc has been marked as broken almost three years ago,
devel/arm-elf/newlib depends on it.  I doubt that gdb and binutils alone
are useful, especially since the ARM ecosystem moved to a newer ABI.

ok to remove?

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



CVS: cvs.openbsd.org: ports

2017-12-13 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:ports
Changes by: schwa...@cvs.openbsd.org2017/12/13 09:45:04

Modified files:
textproc/igor  : Makefile 
textproc/igor/pkg: DESCR 

Log message:
We repeatedly received requests to change various OpenBSD manuals
based on questionable advice provided by igor(1), so clarify the
purpose and the limitations of the port in the DESCR and bump.
Using wording tweaks from tb@.
OK tb@ and no objection from jmc@.



CVS: cvs.openbsd.org: ports

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

Modified files:
net/librenms   : Makefile 
Removed files:
net/librenms/patches: patch-librenms_nonroot_cron 

Log message:
librenms tweak: use sed instead of patching to replace username in
sample crontab entries, drop some other minor changes that are no longer
needed/wanted.



CVS: cvs.openbsd.org: ports

2017-12-13 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/12/13 08:56:07

Modified files:
net/librenms   : Makefile 
net/librenms/patches: patch-includes_functions_php 

Log message:
librenms: avoid gnuism, trying to call rm -v. (why doesn't it just use php
unlink anyway though?)



Re: [new] minio server/client

2017-12-13 Thread Landry Breuil
On Tue, Dec 12, 2017 at 01:51:06PM -0500, trondd wrote:
> On Sat, December 9, 2017 5:23 pm, Landry Breuil
> > Feedback on the ports welcome :) I havent done an rc script for the
> > server, since i wouldnt know what to share by default... and it can run
> > as whatever user. Does it even need a README ? joe user could set it
> > up..
> >
> > Landry
> >
> 
> Thanks.  I might have a need for this in a -stable prod environment, so
> that's where I am actually testing.
> 
> I would like to see an rc script to run this persistently as a system
> user.  Similar to net/syncthing which can also run as a user, but also as
> a system daemon sharing out of /var/syncthing/.
> 
> A similar setup might work here.  My particular usecase for a tool like
> this would be as a system service.  Though, the tool seems to be designed
> for per-user usage.

Myeah. Here's a version with an rc script, running by default as _minio and
exporting /var/minio/export, storing the config in
/var/minio/.minio/config.json.

Starting from this i dunno if it warrants a readme or a MESSAGE, you
just need to go fetch the access/secret keys in the config file after
first startup, and maybe bump maxfiles limits for minio (as advised on
https://github.com/minio/minio-service - the sysv init script bumps to
8k)

Landry


minio_2.tgz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2017-12-13 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/12/13 08:36:22

Modified files:
sysutils/consolekit: Makefile distinfo 
Removed files:
sysutils/consolekit/patches: patch-src_ck-manager_c 

Log message:
Update to consolekit2-1.2.1.



CVS: cvs.openbsd.org: ports

2017-12-13 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/12/13 08:30:43

Modified files:
net/librenms   : Makefile 
net/librenms/patches: patch-daily_sh patch-discovery-wrapper_py 
  patch-includes_defaults_inc_php 
  patch-poller-wrapper_py 
Added files:
net/librenms/patches: patch-LibreNMS_FileLock_php 
  patch-LibreNMS_Validations_Php_php 
  patch-html_includes_output_capture_inc_php 

Log message:
librenms tweaks:

- replace more hardcoded php binary names with ${MODPHP_BIN}, unbreaks some
scripts as we include the PHP release branch in the string (php-5.6 etc).

- drop php-mysql dependency, no longer required.



[UPDATE] security/sshguard

2017-12-13 Thread Remi Pointel

Hi,

this is the diff to update sshguard to latest release.

I quickly test and "works fine for me"©.

There are lot of changes so I would appreciate if some people who used 
it could test.


Cheers,

Remi.Index: Makefile
===
RCS file: /cvs/ports/security/sshguard/Makefile,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 Makefile
--- Makefile	27 May 2017 19:57:06 -	1.10
+++ Makefile	13 Dec 2017 14:16:41 -
@@ -2,8 +2,7 @@
 
 COMMENT=	protect against brute force attacks on sshd and others
 
-DISTNAME=	sshguard-1.5
-REVISION=	3
+DISTNAME=	sshguard-2.1.0
 CATEGORIES=	security
 
 # BSD
@@ -13,11 +12,19 @@ WANTLIB+=	c pthread
 
 HOMEPAGE=	http://www.sshguard.net/
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=sshguard/}
-EXTRACT_SUFX=	.tar.bz2
 
 CONFIGURE_STYLE=gnu
-NO_TEST=	Yes
 
-CONFIGURE_ARGS = --with-firewall=pf 
+RUN_DEPENDS =	shells/bash
+
+pre-fake:
+	${SUBST_CMD} ${WRKSRC}/examples/sshguard.conf.sample
+	sed -i "1s#/bin/sh#${LOCALBASE}/bin/bash#" ${WRKSRC}/src/sshguard
+	sed -i "1s#/bin/sh#${LOCALBASE}/bin/bash#" ${WRKSRC}/src/fw/sshg-fw-pf
+	sed -i "1s#/bin/sh#${LOCALBASE}/bin/bash#" ${WRKSRC}/examples/sshguard.conf.sample
+
+post-install:
+	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sshguard/
+	${INSTALL_DATA} ${WRKDIST}/examples/sshguard.conf.sample ${PREFIX}/share/doc/sshguard/
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/security/sshguard/distinfo,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 distinfo
--- distinfo	27 Jan 2014 15:49:15 -	1.3
+++ distinfo	13 Dec 2017 14:16:41 -
@@ -1,2 +1,2 @@
-SHA256 (sshguard-1.5.tar.bz2) = tTf4dlRV/fhCT4fUvWleW2dbiOXRZIZUUhN5Rwk+fhk=
-SIZE (sshguard-1.5.tar.bz2) = 303767
+SHA256 (sshguard-2.1.0.tar.gz) = ISUqSDSthAjfOE7k3fRoYkqp3pzq1a/eHHc4CkjPAoo=
+SIZE (sshguard-2.1.0.tar.gz) = 1117466
Index: patches/patch-examples_sshguard_conf_sample
===
RCS file: patches/patch-examples_sshguard_conf_sample
diff -N patches/patch-examples_sshguard_conf_sample
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-examples_sshguard_conf_sample	13 Dec 2017 14:16:41 -
@@ -0,0 +1,25 @@
+$OpenBSD$
+
+Index: examples/sshguard.conf.sample
+--- examples/sshguard.conf.sample.orig
 examples/sshguard.conf.sample
+@@ -7,9 +7,11 @@
+  REQUIRED CONFIGURATION 
+ # Full path to backend executable (required, no default)
+ #BACKEND="/usr/local/libexec/sshg-fw-iptables"
++BACKEND="${LOCALBASE}/libexec/sshg-fw-pf"
+ 
+ # Space-separated list of log files to monitor. (optional, no default)
+ #FILES="/var/log/auth.log /var/log/authlog /var/log/maillog"
++FILES="/var/log/authlog"
+ 
+ # Shell command that provides logs on standard output. (optional, no default)
+ # Example 1: ssh and sendmail from systemd journal:
+@@ -41,6 +43,7 @@ DETECTION_TIME=1800
+ 
+ # Full path to PID file (optional, no default)
+ #PID_FILE=/run/sshguard.pid
++PID_FILE=/var/run/sshguard.pid
+ 
+ # Colon-separated blacklist threshold and full path to blacklist file.
+ # (optional, no default)
Index: patches/patch-src_fwalls_command_c
===
RCS file: patches/patch-src_fwalls_command_c
diff -N patches/patch-src_fwalls_command_c
--- patches/patch-src_fwalls_command_c	9 Sep 2011 20:13:28 -	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -
@@ -1,15 +0,0 @@
-$OpenBSD: patch-src_fwalls_command_c,v 1.1 2011/09/09 20:13:28 naddy Exp $
-
-Allow building with gcc3.
-
 src/fwalls/command.c.orig	Fri Sep  9 22:07:56 2011
-+++ src/fwalls/command.c	Fri Sep  9 22:08:12 2011
-@@ -59,7 +59,7 @@ int fw_block(const char *restrict addr, int addrkind, 
- return (run_command(COMMAND_BLOCK, addr, addrkind, service) == 0 ? FWALL_OK : FWALL_ERR);
- }
- 
--int fw_block_list(const char *restrict addresses[], int addrkind, const int service_codes[]) {
-+int fw_block_list(const char *restrict *addresses, int addrkind, const int service_codes[]) {
- /* block each address individually */
- int i;
- 
Index: patches/patch-src_sshguard_fw_h
===
RCS file: patches/patch-src_sshguard_fw_h
diff -N patches/patch-src_sshguard_fw_h
--- patches/patch-src_sshguard_fw_h	9 Sep 2011 20:13:28 -	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -
@@ -1,15 +0,0 @@
-$OpenBSD: patch-src_sshguard_fw_h,v 1.1 2011/09/09 20:13:28 naddy Exp $
-
-Allow building with gcc3.
-
 src/sshguard_fw.h.orig	Fri Sep  9 22:07:03 2011
-+++ src/sshguard_fw.h	Fri Sep  9 22:07:20 2011
-@@ -85,7 +85,7 @@ int fw_block(const char *restrict addr, int addrkind, 
-  *
-  * @return FWALL_OK or FWALL_ERR
-  */
--int fw_block_list(const char *restrict addresses[], int addrkind, const int service_codes[]);
-+int fw_block_list(const char *restrict *addresses, int addrkind, const int service_codes[]);
- 
- 
- /**
Index: 

[new] shells/fish 2.7.0

2017-12-13 Thread Aaron Bieber
Hola!

Here is a new port for the Fish Shell: http://fishshell.com/

All the patches have been upstreamed and can be removed come fish 3.0:
https://github.com/fish-shell/fish-shell/pull/4584/

OK?

Cheers,
Aaron

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


fish-2.7.0.tgz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2017-12-13 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/12/13 05:09:48

Modified files:
net/py-botocore: Makefile distinfo 
net/py-botocore/pkg: PLIST 

Log message:
Update to py-botocore-1.8.13.



CVS: cvs.openbsd.org: ports

2017-12-13 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/12/13 05:10:01

Modified files:
sysutils/awscli: Makefile distinfo 
sysutils/awscli/pkg: PLIST 

Log message:
Update to awscli-1.14.9.



CVS: cvs.openbsd.org: ports

2017-12-13 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/12/13 01:29:40

Modified files:
games/irrlamb  : Makefile 

Log message:
Needs to LDEP on databases/sqlite3.