Re: NEW graphics/exiftool

2018-03-12 Thread patrick keshishian
Looks OK to me.
Sorry for the delay in reply.
--patrick

On 3/2/18, George Rosamond  wrote:
> Giovanni Bechis:
>> On 03/02/18 16:31, George Rosamond wrote:
>>> Attached is exiftool-10.82:
>>>
>> Hi, exiftool lives in graphics/p5-Image-ExifTool,
>> if you want to update it, you are welcome.
>>  Thanks
>>   Giovanni
>
> Thanks Giovanni, was confused since it's both a Perl module and a
> stand-alone application.
>
> CC'g MAINTAINER.
>
> Diff updating to 10.82 attached.
>
> Changes:
>
> distinfo
> version bump in Makefile
> wrapped pkg/DESCR at 80 characters
> a few PLIST additions
>
> g
>
>



CVS: cvs.openbsd.org: ports

2018-03-12 Thread Bjorn Ketelaars
CVSROOT:/cvs
Module name:ports
Changes by: b...@cvs.openbsd.org2018/03/12 21:50:48

Modified files:
security/dropbear: Makefile distinfo 
security/dropbear/pkg: PLIST 
Added files:
security/dropbear/patches: patch-default_options_h 
security/dropbear/pkg: dropbear.rc 
Removed files:
security/dropbear/patches: patch-options_h 

Log message:
Update to dropbear-2018.76.

Hints and OK sthen@.



CVS: cvs.openbsd.org: ports

2018-03-12 Thread Brian Callahan
CVSROOT:/cvs
Module name:ports
Changes by: bcal...@cvs.openbsd.org 2018/03/12 20:54:45

Modified files:
games/wtf  : Makefile distinfo 

Log message:
Update to wtf-20180307



CVS: cvs.openbsd.org: ports

2018-03-12 Thread Brian Callahan
CVSROOT:/cvs
Module name:ports
Changes by: bcal...@cvs.openbsd.org 2018/03/12 20:46:44

Modified files:
lang/flang/driver: Makefile distinfo 
lang/flang/flang: Makefile distinfo 
Removed files:
lang/flang/flang/patches: patch-runtime_flang_cdcos_c 
  patch-runtime_flang_cdexp_c 
  patch-runtime_flang_cexp_c 
  patch-runtime_include_mthdecls_h 

Log message:
Chase the 20180308 flang updates. Use sincos functions since we have them.



Re: [UPDATE] x11/tint2 0.14.6 -> 16.2

2018-03-12 Thread Stuart Henderson
On 2018/03/11 17:16, Heppler, J. Scott wrote:
> The attached diff updates tint2 to the latest stable release
> https://gitlab.com/o9000/tint2/blob/16.2/ChangeLog
> 
> Upstream incorporated 2 OpenBSD patch in 16.1 and dropped "0" from the
> release numbering system in 15.0.
> 
> Runs on my -current/amd64, additional testing and critique appreciated.

Tried it with cwm, which was failing nastily with the previous version
(I couldn't bring any window to the foreground after running it until
I restarted the WM) - working fine now, port diff looks good -> committed.
Thanks!



CVS: cvs.openbsd.org: ports

2018-03-12 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2018/03/12 16:49:54

Modified files:
x11/tint2  : Makefile distinfo 
x11/tint2/patches: patch-CMakeLists_txt 
   patch-themes_CMakeLists_txt 
   patch-themes_tint2rc 
x11/tint2/pkg  : PLIST 
Removed files:
x11/tint2/patches: patch-src_tint2conf_main_c 
   patch-src_tint2conf_properties_c 

Log message:
update to tint2-16.2, from J. Scott Heppler



[UPDATE] x11/tint2 0.14.6 -> 16.2

2018-03-12 Thread Heppler, J. Scott

The attached diff updates tint2 to the latest stable release
https://gitlab.com/o9000/tint2/blob/16.2/ChangeLog

Upstream incorporated 2 OpenBSD patch in 16.1 and dropped "0" from the
release numbering system in 15.0.

Runs on my -current/amd64, additional testing and critique appreciated.

--
J. Scott Heppler
Index: Makefile
===
RCS file: /cvs/ports/x11/tint2/Makefile,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 Makefile
--- Makefile1 Sep 2017 10:37:44 -   1.6
+++ Makefile11 Mar 2018 16:28:47 -
@@ -2,11 +2,11 @@
 
 COMMENT=   freedesktop-compliant panel
 
-V= 0.14.6
+V= 16.2
 CATEGORIES=x11
 DISTNAME=  tint2-$V
 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}{archive${EXTRACT_SUFX}?ref=v$V}
-WRKDIST=   ${WRKDIR}/tint2-v$V-8046600a552774253939b8a83bdd3fc0e60dacec
+WRKDIST=   ${WRKDIR}/tint2-v$V-b810bad93ff65854137fbd2f344ad2f99338008f
 
 HOMEPAGE=  https://gitlab.com/o9000/tint2/
 
@@ -38,9 +38,5 @@ MODGNOME_TOOLS+= desktop-file-utils \
shared-mime-info
 
 NO_TEST=   Yes
-
-post-install:
-   sed -i 's,/usr/share,${LOCALBASE}/share,g' \
-   ${PREFIX}/share/examples/tint2/*tint2rc
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/x11/tint2/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo1 Sep 2017 10:37:44 -   1.2
+++ distinfo11 Mar 2018 16:28:47 -
@@ -1,2 +1,2 @@
-SHA256 (tint2-0.14.6.tar.gz) = F3Dio33IBmozr3OFuhu+dAUQG87Y6fx+6V1IzvU801E=
-SIZE (tint2-0.14.6.tar.gz) = 466533
+SHA256 (tint2-16.2.tar.gz) = OAvQGg7wIbcxqpzHFONIerz0mO6WFQ73J0BaAN8wuLI=
+SIZE (tint2-16.2.tar.gz) = 537236
Index: patches/patch-CMakeLists_txt
===
RCS file: /cvs/ports/x11/tint2/patches/patch-CMakeLists_txt,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt1 Sep 2017 10:37:44 -   1.1
+++ patches/patch-CMakeLists_txt11 Mar 2018 16:28:47 -
@@ -1,13 +1,14 @@
-$OpenBSD: patch-CMakeLists_txt,v 1.1 2017/09/01 10:37:44 sthen Exp $
+$OpenBSD$
 
 Index: CMakeLists.txt
 --- CMakeLists.txt.orig
 +++ CMakeLists.txt
-@@ -257,7 +257,6 @@ set_target_properties( tint2 PROPERTIES LINK_FLAGS "-p
+@@ -288,7 +288,7 @@ set_target_properties( tint2 PROPERTIES LINK_FLAGS "-p
  install( TARGETS tint2 DESTINATION bin )
  install( FILES tint2.svg DESTINATION 
${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps )
  install( FILES tint2.desktop DESTINATION 
${CMAKE_INSTALL_DATADIR}/applications )
--install( FILES themes/tint2rc DESTINATION /etc/xdg/tint2 )
+-install( FILES themes/tint2rc DESTINATION 
${CMAKE_INSTALL_FULL_SYSCONFDIR}/xdg/tint2 )
++install( FILES themes/tint2rc DESTINATION 
${CMAKE_INSTALL_DATADIR}/examples/tint2 )
  install( FILES default_icon.png DESTINATION ${CMAKE_INSTALL_DATADIR}/tint2 )
  install( FILES AUTHORS ChangeLog README.md doc/tint2.md DESTINATION ${docdir} 
)
  install( FILES doc/manual.html doc/readme.html DESTINATION ${htmldir} )
Index: patches/patch-src_tint2conf_main_c
===
RCS file: patches/patch-src_tint2conf_main_c
diff -N patches/patch-src_tint2conf_main_c
--- patches/patch-src_tint2conf_main_c  1 Sep 2017 10:37:44 -   1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,14 +0,0 @@
-$OpenBSD: patch-src_tint2conf_main_c,v 1.2 2017/09/01 10:37:44 sthen Exp $
-
-Index: src/tint2conf/main.c
 src/tint2conf/main.c.orig
-+++ src/tint2conf/main.c
-@@ -100,7 +100,7 @@ char *file_name_from_path(const char *filepath)
- 
- void make_backup(const char *filepath)
- {
--gchar *backup_path = g_strdup_printf("%s.backup.%ld", filepath, 
time(NULL));
-+gchar *backup_path = g_strdup_printf("%s.backup.%lld", filepath, (long 
long)time(NULL));
- copy_file(filepath, backup_path);
- g_free(backup_path);
- }
Index: patches/patch-src_tint2conf_properties_c
===
RCS file: patches/patch-src_tint2conf_properties_c
diff -N patches/patch-src_tint2conf_properties_c
--- patches/patch-src_tint2conf_properties_c1 Sep 2017 10:37:44 -   
1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,14 +0,0 @@
-$OpenBSD: patch-src_tint2conf_properties_c,v 1.2 2017/09/01 10:37:44 sthen Exp 
$
-
-Index: src/tint2conf/properties.c
 src/tint2conf/properties.c.orig
-+++ src/tint2conf/properties.c
-@@ -180,7 +180,7 @@ void applyClicked(GtkWidget *widget, gpointer data)
- gchar *filepath = get_current_theme_path();
- if (filepath) {
- if (config_is_manual(filepath)) {
--gchar *backup_path = g_strdup_printf("%s.backup.%ld", filepath, 
time(NULL));
-+gchar *backup_path = g_strdup_printf("%s.backup.%lld", filepath, 
(long long)time(NULL));
- 

CVS: cvs.openbsd.org: ports

2018-03-12 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2018/03/12 15:51:23

Modified files:
sysutils/logfmon: Makefile distinfo 
sysutils/logfmon/pkg: PLIST logfmon.rc 
Removed files:
sysutils/logfmon/patches: patch-Makefile 

Log message:
update to logfmon-1.2 (uploaded tarball rather than autogen'd), ok remi@



CVS: cvs.openbsd.org: ports

2018-03-12 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2018/03/12 15:29:16

Modified files:
x11/gnome/gucharmap: Makefile distinfo 

Log message:
update to gucharmap-10.0.4



CVS: cvs.openbsd.org: ports

2018-03-12 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2018/03/12 15:17:27

Modified files:
editors/nano   : Makefile distinfo 
editors/nano/patches: patch-doc_nano_1 patch-src_Makefile_in 
editors/nano/pkg: PLIST 

Log message:
Update to 2.9.4.

Improvements since 2.9.0:
- A key can be bound to a string -- any mix of text and commands.
- Error messages are shown by default in bright white on red.
-  and  can be used to indent/unindent a marked region.
- Can snip trailing whitespace while typing, with 'set trimblanks'.
- The ability to record and replay a series of keystrokes (a macro).
- Assigned functions to ^S (save file) and ^Q (start backward search).
- Indenting and unindenting have been integrated into the undo system.
- Support for $XDG_CONFIG_HOME for the nanorc file, and $XDG_DATA_HOME
for the history files (of search strings and cursor positions).



Re: use /bin/ksh in /etc/rc.d/rsyslogd

2018-03-12 Thread Remi Locherer
On Mon, Mar 12, 2018 at 09:28:30PM +0100, Remi Locherer wrote:
> Hi,
> 
> danj@ noticed that I'm using /bin/sh instead of /bin/ksh in the rc.d
> script for rsyslogd. This changes it.
> 
> OK?
> 
> Remi
> 

tb@ pointed out that we start with REVISON = 0. Updated diff below.

OK?


Index: Makefile
===
RCS file: /cvs/ports/sysutils/rsyslog/Makefile,v
retrieving revision 1.40
diff -u -p -r1.40 Makefile
--- Makefile12 Mar 2018 17:42:08 -  1.40
+++ Makefile12 Mar 2018 21:08:00 -
@@ -18,6 +18,7 @@ PKGNAME-normalize =   rsyslog-normalize-$V
 PKGNAME-pgsql =rsyslog-pgsql-$V
 PKGNAME-elasticsearch =rsyslog-elasticsearch-$V
 CATEGORIES =   sysutils
+REVISION-main =0
 
 HOMEPAGE = http://www.rsyslog.com/
 
Index: pkg/rsyslogd.rc
===
RCS file: /cvs/ports/sysutils/rsyslog/pkg/rsyslogd.rc,v
retrieving revision 1.1
diff -u -p -r1.1 rsyslogd.rc
--- pkg/rsyslogd.rc 12 Mar 2018 17:42:08 -  1.1
+++ pkg/rsyslogd.rc 12 Mar 2018 20:14:36 -
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/ksh
 #
 # $OpenBSD: rsyslogd.rc,v 1.1 2018/03/12 17:42:08 remi Exp $
 



new: pycharm ide

2018-03-12 Thread Daniel Jakots
Hi,

I looked at pycharm ide. I knew it was kinda the same thing as intellij
so I took the intellij port and adapted from there (so cargo-culting is
strong in this one).

It works fine here.

portcheck warns many times
Python module without compiled version, consider using ${MODPY_BIN}
${MODPY_LIBDIR}/compileall.py: pycharm/blahblahblah

It doesn't look like a real problem but I'm not sure (it doesn't
create any pyc file AFAICS). DESCR could be enhanced but I
didn't find a nice description on their website.

What do you think?

Cheers,
Daniel


pycharm.tgz
Description: application/compressed-tar


Re: libm update broke graphics/fotowall

2018-03-12 Thread Matthias Kilian
On Mon, Mar 12, 2018 at 06:10:37PM +, Stuart Henderson wrote:
> In file included from ../App/CanvasAppliance.cpp:18:
> In file included from ../../Fotowall-0.9/Canvas/CanvasViewContent.h:18:
> In file included from ../../Fotowall-0.9/Canvas/AbstractContent.h:19:
> ../../Fotowall-0.9/3rdparty/enricomath.h:291:20: error: static declaration of 
> 'sincos' follows non-static declaration
> static inline void sincos(double th, double *s, double *c)
>^
> /usr/include/math.h:276:6: note: previous declaration is here
> void sincos(double, double *, double *);
>  ^
> 1 error generated.

Oh, at least that one is easy...

Index: patches/patch-3rdparty_enricomath_h
===
RCS file: patches/patch-3rdparty_enricomath_h
diff -N patches/patch-3rdparty_enricomath_h
--- patches/patch-3rdparty_enricomath_h 30 Aug 2016 15:19:49 -  1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,14 +0,0 @@
-$OpenBSD: patch-3rdparty_enricomath_h,v 1.1.1.1 2016/08/30 15:19:49 awolk Exp $
 3rdparty/enricomath.h.orig Sun Jul 10 22:55:21 2016
-+++ 3rdparty/enricomath.h  Sun Jul 10 23:03:34 2016
-@@ -286,8 +286,8 @@ class Matrix3
- #include 
- #include 
- 
--#if defined(Q_OS_WIN32) || defined(Q_OS_MAC)
--//sincos is not defined in win32 and MAC
-+#if defined(Q_OS_WIN32) || defined(Q_OS_MAC) || defined(Q_OS_OPENBSD)
-+//sincos is not defined in win32, MAC and OpenBSD
- static inline void sincos(double th, double *s, double *c)
- {
- *s = sin(th);

Ciao,
Kili



Re: UPDATE security/dropbear

2018-03-12 Thread Björn Ketelaars
On Tue 06/03/2018 08:11, Björn Ketelaars wrote:
> An update is available for dropbear which fixes multiple issues.
> Changelog can be found at https://matt.ucc.asn.au/dropbear/CHANGES
> 
> While here add dropbear.rc, which generates a key upon first connection
> (-R), and attaches to 127.0.0.1:8022.

New diff, which addresses comments from sthen@.

OK?


Index: Makefile
===
RCS file: /cvs/ports/security/dropbear/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile4 Dec 2017 17:56:27 -   1.4
+++ Makefile12 Mar 2018 20:36:25 -
@@ -2,7 +2,7 @@
 
 COMMENT=   small SSH server and client
 
-DISTNAME=  dropbear-2017.75
+DISTNAME=  dropbear-2018.76
 EXTRACT_SUFX=  .tar.bz2
 
 CATEGORIES=security net
@@ -22,6 +22,6 @@ CONFIGURE_STYLE=  gnu
 #NO_TEST=  Yes
 
 post-configure:
-   ${SUBST_CMD} ${WRKSRC}/options.h
+   ${SUBST_CMD} ${WRKSRC}/default_options.h
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/security/dropbear/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo23 May 2017 13:44:13 -  1.3
+++ distinfo12 Mar 2018 20:36:25 -
@@ -1,2 +1,2 @@
-SHA256 (dropbear-2017.75.tar.bz2) = 
bLwdyxyXCdIm3/Zp5WBBcqGM9dv5ogFHTVYYrkRlCYw=
-SIZE (dropbear-2017.75.tar.bz2) = 1623392
+SHA256 (dropbear-2018.76.tar.bz2) = 
8vuRZ+yoz5NFal/B1Pr3CZAqOrcN1E41LzrLw//a6mU=
+SIZE (dropbear-2018.76.tar.bz2) = 2688697
Index: patches/patch-default_options_h
===
RCS file: patches/patch-default_options_h
diff -N patches/patch-default_options_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-default_options_h 12 Mar 2018 20:36:25 -
@@ -0,0 +1,58 @@
+$OpenBSD$
+
+Index: default_options.h
+--- default_options.h.orig
 default_options.h
+@@ -19,9 +19,9 @@ IMPORTANT: Some options will require "make clean" afte
+ #define DROPBEAR_DEFADDRESS ""
+ 
+ /* Default hostkey paths - these can be specified on the command line */
+-#define DSS_PRIV_FILENAME "/etc/dropbear/dropbear_dss_host_key"
+-#define RSA_PRIV_FILENAME "/etc/dropbear/dropbear_rsa_host_key"
+-#define ECDSA_PRIV_FILENAME "/etc/dropbear/dropbear_ecdsa_host_key"
++#define DSS_PRIV_FILENAME "${SYSCONFDIR}/dropbear/dropbear_dss_host_key"
++#define RSA_PRIV_FILENAME "${SYSCONFDIR}/dropbear/dropbear_rsa_host_key"
++#define ECDSA_PRIV_FILENAME "${SYSCONFDIR}/dropbear/dropbear_ecdsa_host_key"
+ 
+ /* Set NON_INETD_MODE if you require daemon functionality (ie Dropbear listens
+  * on chosen ports and keeps accepting connections. This is the default.
+@@ -44,7 +44,7 @@ IMPORTANT: Some options will require "make clean" afte
+  * several kB in binary size however will make the symmetrical ciphers and 
hashes
+  * slower, perhaps by 50%. Recommended for small systems that aren't doing
+  * much traffic. */
+-#define DROPBEAR_SMALL_CODE 1
++#define DROPBEAR_SMALL_CODE 0
+ 
+ /* Enable X11 Forwarding - server only */
+ #define DROPBEAR_X11FWD 1
+@@ -239,11 +239,11 @@ Homedir is prepended unless path begins with / */
+ 
+ /* The default file to store the daemon's process ID, for shutdown
+scripts etc. This can be overridden with the -P flag */
+-#define DROPBEAR_PIDFILE "/var/run/dropbear.pid"
++#define DROPBEAR_PIDFILE "${LOCALSTATEDIR}/run/dropbear.pid"
+ 
+ /* The command to invoke for xauth when using X11 forwarding.
+  * "-q" for quiet */
+-#define XAUTH_COMMAND "/usr/bin/xauth -q"
++#define XAUTH_COMMAND "${X11BASE}/bin/xauth -q"
+ 
+ 
+ /* if you want to enable running an sftp server (such as the one included with
+@@ -254,7 +254,7 @@ Homedir is prepended unless path begins with / */
+ 
+ /* This is used by the scp binary when used as a client binary. If you're
+  * not using the Dropbear client, you'll need to change it */
+-#define DROPBEAR_PATH_SSH_PROGRAM "/usr/bin/dbclient"
++#define DROPBEAR_PATH_SSH_PROGRAM "${TRUEPREFIX}/bin/dbclient"
+ 
+ /* Whether to log commands executed by a client. This only logs the 
+  * (single) command sent to the server, not what a user did in a 
+@@ -290,6 +290,6 @@ be overridden at runtime with -I. 0 disables idle time
+ #define DEFAULT_IDLE_TIMEOUT 0
+ 
+ /* The default path. This will often get replaced by the shell */
+-#define DEFAULT_PATH "/usr/bin:/bin"
++#define DEFAULT_PATH 
"/usr/bin:/bin:/usr/sbin:/sbin:${X11BASE}/bin:${TRUEPREFIX}/bin:${TRUEPREFIX}/sbin"
+ 
+ #endif /* DROPBEAR_DEFAULT_OPTIONS_H_ */
Index: patches/patch-options_h
===
RCS file: patches/patch-options_h
diff -N patches/patch-options_h
--- patches/patch-options_h 6 Apr 2016 22:03:15 -   1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,56 +0,0 @@
-$OpenBSD: patch-options_h,v 1.1.1.1 2016/04/06 22:03:15 sthen Exp $
 options.h.orig Fri Mar 18 14:44:43 2016
-+++ 

use /bin/ksh in /etc/rc.d/rsyslogd

2018-03-12 Thread Remi Locherer
Hi,

danj@ noticed that I'm using /bin/sh instead of /bin/ksh in the rc.d
script for rsyslogd. This changes it.

OK?

Remi


Index: Makefile
===
RCS file: /cvs/ports/sysutils/rsyslog/Makefile,v
retrieving revision 1.40
diff -u -p -r1.40 Makefile
--- Makefile12 Mar 2018 17:42:08 -  1.40
+++ Makefile12 Mar 2018 20:18:42 -
@@ -18,6 +18,7 @@ PKGNAME-normalize =   rsyslog-normalize-$V
 PKGNAME-pgsql =rsyslog-pgsql-$V
 PKGNAME-elasticsearch =rsyslog-elasticsearch-$V
 CATEGORIES =   sysutils
+REVISION-main =1
 
 HOMEPAGE = http://www.rsyslog.com/
 
Index: pkg/rsyslogd.rc
===
RCS file: /cvs/ports/sysutils/rsyslog/pkg/rsyslogd.rc,v
retrieving revision 1.1
diff -u -p -r1.1 rsyslogd.rc
--- pkg/rsyslogd.rc 12 Mar 2018 17:42:08 -  1.1
+++ pkg/rsyslogd.rc 12 Mar 2018 20:14:36 -
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/ksh
 #
 # $OpenBSD: rsyslogd.rc,v 1.1 2018/03/12 17:42:08 remi Exp $
 



Fwd: [NEW] security/floss

2018-03-12 Thread Remi Pointel



 Courriel original 
Objet: [NEW] security/floss
Date: 10-03-2018 08:52
De: Remi Pointel 
À: The OpenBSD ports mailing-list 

Hi,

attached is the port of floss: FireEye Labs Obfuscated String Solver.

-
$ pkg_info floss
Information for inst:floss-1.5.0

Comment:
FireEye Labs Obfuscated String Solver

Description:
The FireEye Labs Obfuscated String Solver (FLOSS) uses advanced static 
analysis
techniques to automatically deobfuscate strings from malware binaries. 
You can

use it just like strings.exe to enhance basic static analysis of unknown
binaries.
Rather than heavily protecting backdoors with hardcore packers, many 
malware
authors evade heuristic detections by obfuscating only key portions of 
an
executable. Often, these portions are strings and resources used to 
configure
domains, files, and other artifacts of an infection. These key features 
will not
show up as plaintext in output of the strings.exe utility that is 
commonly used

during basic static analysis.

Maintainer: Remi Pointel 

WWW: https://github.com/fireeye/flare-floss
-

Ok?

Cheers,

Remi.


floss-1.5.0.tar.gz
Description: GNU Zip compressed data


libm update broke graphics/fotowall

2018-03-12 Thread Stuart Henderson
c++ -c -O2 -pipe -O2 -pipe -Wall -W -pthread -DNO_WORDCLOUD_APPLIANCE 
-DHAS_VIDEOCAPTURE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XML_LIB -DQT_OPENGL_LIB 
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/local/lib/qt4/mkspecs/openbsd-g++4 -I../../Fotowall-0.9 
-I/usr/local/include/X11/qt4/QtCore -I/usr/local/include/X11/qt4/QtNetwork 
-I/usr/local/include/X11/qt4/QtGui -I/usr/local/include/X11/qt4/QtOpenGL 
-I/usr/local/include/X11/qt4/QtXml -I/usr/local/include/X11/qt4/QtSvg 
-I/usr/local/include/X11/qt4 -I../../Fotowall-0.9 -I../3rdparty/posterazor 
-I/usr/X11R6/include -I.build -I.build -I/usr/local/include -I. -o 
.build/CanvasAppliance.o ../App/CanvasAppliance. cpp
In file included from ../App/CanvasAppliance.cpp:18:
In file included from ../../Fotowall-0.9/Canvas/CanvasViewContent.h:18:
In file included from ../../Fotowall-0.9/Canvas/AbstractContent.h:19:
../../Fotowall-0.9/3rdparty/enricomath.h:291:20: error: static declaration of 
'sincos' follows non-static declaration
static inline void sincos(double th, double *s, double *c)
   ^
/usr/include/math.h:276:6: note: previous declaration is here
void sincos(double, double *, double *);
 ^
1 error generated.



ports/lang/gcc/4.9 broken (libm update)

2018-03-12 Thread Stuart Henderson
The GCC ports are broken following the libm update. When run, the bootstrap
compiler works, but reports

warning: libm.so.10.0: minor version >= 1 expected, using it anyway

If there's any output from the bootstrap compiler when testing Ada,
we get

checking whether compiler driver understands Ada... no

followed by

configure: error: GNAT is required to build ada

Copying a new libm in to the bootstrap system-libs dir is enough to get
it to work, but 1) the bootstraps could do with updating, and 2) it seems
something isn't quite right with the bootstrap process anyway if it's
looking for base libs?




[remi.poin...@xiri.fr: Fwd: [NEW] security/floss]

2018-03-12 Thread Stuart Henderson
Forwarding because rpointel's mail didn't make it to the list for some
reason ...
--- Begin Message ---

Hi,

I just send you this mail to know if you correcly receive it.
I sent it 2 times to ports@, and I never receive it (and I don't see 
them on public mirror mailing list).


Cheers,

Remi.

 Courriel original 
Objet: [NEW] security/floss
Date: 10-03-2018 08:52
De: Remi Pointel 
À: The OpenBSD ports mailing-list 

Hi,

attached is the port of floss: FireEye Labs Obfuscated String Solver.

-
$ pkg_info floss
Information for inst:floss-1.5.0

Comment:
FireEye Labs Obfuscated String Solver

Description:
The FireEye Labs Obfuscated String Solver (FLOSS) uses advanced static 
analysis
techniques to automatically deobfuscate strings from malware binaries. 
You can

use it just like strings.exe to enhance basic static analysis of unknown
binaries.
Rather than heavily protecting backdoors with hardcore packers, many 
malware
authors evade heuristic detections by obfuscating only key portions of 
an
executable. Often, these portions are strings and resources used to 
configure
domains, files, and other artifacts of an infection. These key features 
will not
show up as plaintext in output of the strings.exe utility that is 
commonly used

during basic static analysis.

Maintainer: Remi Pointel 

WWW: https://github.com/fireeye/flare-floss
-

Ok?

Cheers,

Remi.

floss-1.5.0.tar.gz
Description: GNU Zip compressed data
--- End Message ---


Re: UPDATE sysutils/sslmate

2018-03-12 Thread George Rosamond
George Rosamond:
> Simple update to 1.6.0.  Also reworded COMMENT brevity.
> 
> g
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/sysutils/sslmate/Makefile,v

New diff attached as previous one missed pkg/ contents.

Any users should test.

g

Index: Makefile
===
RCS file: /cvs/ports/sysutils/sslmate/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile	9 Aug 2016 01:34:34 -	1.10
+++ Makefile	12 Mar 2018 17:57:12 -
@@ -2,11 +2,10 @@
 
 COMMENT =		client for the sslmate.com online certificate service
 
-DISTNAME =		sslmate-1.5.1
+DISTNAME =		sslmate-1.6.0
 CATEGORIES =		sysutils
-REVISION =		1
 
-HOMEPAGE =		https://sslmate.com
+HOMEPAGE =		https://sslmate.com/
 MASTER_SITES =		https://packages.sslmate.com/other/
 
 # MIT
Index: distinfo
===
RCS file: /cvs/ports/sysutils/sslmate/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo	11 Dec 2015 17:52:39 -	1.8
+++ distinfo	12 Mar 2018 17:57:12 -
@@ -1,2 +1,2 @@
-SHA256 (sslmate-1.5.1.tar.gz) = Uz0F5IPQZGCHaRa/4qmzO+TotiErH0bparTcno6HxmA=
-SIZE (sslmate-1.5.1.tar.gz) = 69729
+SHA256 (sslmate-1.6.0.tar.gz) = 2qhh/VW6Yl4a1iLV9bYGAvvDvfw61GHr/RJTC2Zb6vo=
+SIZE (sslmate-1.6.0.tar.gz) = 70852
Index: pkg/DESCR
===
RCS file: /cvs/ports/sysutils/sslmate/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 DESCR
--- pkg/DESCR	25 May 2015 23:55:50 -	1.1.1.1
+++ pkg/DESCR	12 Mar 2018 17:57:12 -
@@ -1,5 +1,5 @@
-SSLMate makes it easy to buy, deploy, and manage your SSL certs. With a
-single command you can buy, import, renew, reissue and revoke
+SSLMate makes it easy to buy, deploy, and manage your SSL certs.
+With a single command you can buy, import, renew, reissue and revoke
 certificates all from the comfort of the command line.
 
-See https://sslmate.com for details or to sign up for this service.
+See https://sslmate.com/ for details.


CVS: cvs.openbsd.org: ports

2018-03-12 Thread Remi Locherer
CVSROOT:/cvs
Module name:ports
Changes by: r...@cvs.openbsd.org2018/03/12 11:43:54

Modified files:
infrastructure/db: user.list 

Log message:
add new user for rsyslog



CVS: cvs.openbsd.org: ports

2018-03-12 Thread Remi Locherer
CVSROOT:/cvs
Module name:ports
Changes by: r...@cvs.openbsd.org2018/03/12 11:42:08

Modified files:
sysutils/rsyslog: Makefile distinfo 
sysutils/rsyslog/files: rsyslog.conf 
sysutils/rsyslog/pkg: PLIST-main 
Added files:
sysutils/rsyslog/pkg: DESCR-elasticsearch DESCR-normalize 
  PLIST-elasticsearch PLIST-normalize 
  rsyslogd.rc 
Removed files:
sysutils/rsyslog/patches: patch-grammar_lexer_l 
  patch-plugins_mmexternal_mmexternal_c 
  patch-runtime_msg_c 
  patch-tools_rsyslogd_c 

Log message:
update to rsyslog-8.33.1
- add rc.d script and user _rsyslogd
- add rsyslog modules elasticsearch and normaliz
- builds now on i386 without -march=i686
- no patches needed anymore

ok sthen@ danj@



lang/rust: regen bootstrap + MAP_STACK

2018-03-12 Thread Sebastien Marie
Hi,

Here a diff for lang/rust:
- regen amd64 bootstrap (I will do i386 a bit later, and it is BROKEN
  for now)

- added MAP_STACK flag for use with sigaltstack() (only used for signal
  handler used for stack overflow detection)

- change a bit the way stack overflow is detected

The testsuite on amd64 still pass.
-- 
Sebastien Marie


Index: Makefile
===
RCS file: /cvs/ports/lang/rust/Makefile,v
retrieving revision 1.61
diff -u -p -r1.61 Makefile
--- Makefile24 Feb 2018 18:04:08 -  1.61
+++ Makefile12 Mar 2018 15:16:10 -
@@ -16,9 +16,10 @@ COMMENT-doc =html documentation for ru
 V =1.24.0
 CARGO_V =  0.25.0
 DISTNAME = rustc-${V}-src
+REVISION = 0
 
 # rustc bootstrap version
-BV-amd64 = 1.24.0-20180213
+BV-amd64 = 1.24.0-20180308
 BV-i386 =  1.24.0-20180213
 BV =   ${BV-${MACHINE_ARCH}}
 
Index: distinfo
===
RCS file: /cvs/ports/lang/rust/distinfo,v
retrieving revision 1.31
diff -u -p -r1.31 distinfo
--- distinfo23 Feb 2018 16:38:16 -  1.31
+++ distinfo12 Mar 2018 15:16:10 -
@@ -1,6 +1,6 @@
 SHA256 (rust/rustc-1.24.0-src.tar.gz) = 
u4J29gROh35Efyn1ZuS7+CD6Uf6i+RLVm3MjP/2VY58=
-SHA256 (rust/rustc-bootstrap-amd64-1.24.0-20180213.tar.gz) = 
HF/ZvsS/EMaGM4GaiZa2/worbtYxwpwreU2p8Bhw3fE=
+SHA256 (rust/rustc-bootstrap-amd64-1.24.0-20180308.tar.gz) = 
qC6MXaM7/DQVJ7Z0xDkY8EphBjdMgyiQPdFfQecy7J4=
 SHA256 (rust/rustc-bootstrap-i386-1.24.0-20180213.tar.gz) = 
nQRwYdT3n9jjmoUt8IdqrJXvhKwq6PMMCAe+49JeivQ=
 SIZE (rust/rustc-1.24.0-src.tar.gz) = 67506894
-SIZE (rust/rustc-bootstrap-amd64-1.24.0-20180213.tar.gz) = 85135015
+SIZE (rust/rustc-bootstrap-amd64-1.24.0-20180308.tar.gz) = 85090848
 SIZE (rust/rustc-bootstrap-i386-1.24.0-20180213.tar.gz) = 86217512
Index: 
patches/patch-src_liblibc_src_unix_bsd_netbsdlike_openbsdlike_openbsd_mod_rs
===
RCS file: 
patches/patch-src_liblibc_src_unix_bsd_netbsdlike_openbsdlike_openbsd_mod_rs
diff -N 
patches/patch-src_liblibc_src_unix_bsd_netbsdlike_openbsdlike_openbsd_mod_rs
--- /dev/null   1 Jan 1970 00:00:00 -
+++ 
patches/patch-src_liblibc_src_unix_bsd_netbsdlike_openbsdlike_openbsd_mod_rs
12 Mar 2018 15:16:10 -
@@ -0,0 +1,11 @@
+$OpenBSD$
+Add MAP_STACK flag.
+Index: src/liblibc/src/unix/bsd/netbsdlike/openbsdlike/openbsd/mod.rs
+--- src/liblibc/src/unix/bsd/netbsdlike/openbsdlike/openbsd/mod.rs.orig
 src/liblibc/src/unix/bsd/netbsdlike/openbsdlike/openbsd/mod.rs
+@@ -1,3 +1,5 @@
++pub const MAP_STACK : ::c_int = 0x4000;
++
+ s! {
+ pub struct lconv {
+ pub decimal_point: *mut ::c_char,
Index: patches/patch-src_libstd_sys_unix_stack_overflow_rs
===
RCS file: patches/patch-src_libstd_sys_unix_stack_overflow_rs
diff -N patches/patch-src_libstd_sys_unix_stack_overflow_rs
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_libstd_sys_unix_stack_overflow_rs 12 Mar 2018 15:16:10 
-
@@ -0,0 +1,14 @@
+$OpenBSD$
+Use MAP_STACK for stack allocation.
+Index: src/libstd/sys/unix/stack_overflow.rs
+--- src/libstd/sys/unix/stack_overflow.rs.orig
 src/libstd/sys/unix/stack_overflow.rs
+@@ -144,7 +144,7 @@ mod imp {
+ let stackp = mmap(ptr::null_mut(),
+   SIGSTKSZ,
+   PROT_READ | PROT_WRITE,
+-  MAP_PRIVATE | MAP_ANON,
++  MAP_PRIVATE | MAP_ANON | libc::MAP_STACK,
+   -1,
+   0);
+ if stackp == MAP_FAILED {
Index: patches/patch-src_libstd_sys_unix_thread_rs
===
RCS file: patches/patch-src_libstd_sys_unix_thread_rs
diff -N patches/patch-src_libstd_sys_unix_thread_rs
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_libstd_sys_unix_thread_rs 12 Mar 2018 15:16:10 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+Don't change permission on stack for creating a stack_guard page: we already 
have such thing.
+Index: src/libstd/sys/unix/thread.rs
+--- src/libstd/sys/unix/thread.rs.orig
 src/libstd/sys/unix/thread.rs
+@@ -269,7 +269,7 @@ pub mod guard {
+ as *mut libc::c_void;
+ }
+ 
+-if cfg!(target_os = "linux") {
++if cfg!(target_os = "linux") || cfg!(target_os = "openbsd") {
+ // Linux doesn't allocate the whole stack right away, and
+ // the kernel has its own stack-guard mechanism to fault
+ // when growing too close to an existing mapping.  If we map



CVS: cvs.openbsd.org: ports

2018-03-12 Thread Robert Nagy
CVSROOT:/cvs
Module name:ports
Changes by: rob...@cvs.openbsd.org  2018/03/12 07:48:34

Modified files:
www/chromium   : Makefile distinfo 
www/chromium/patches: 
  clang-third_party_WebKit_Source_platform_BUILD_gn 
  patch-BUILD_gn 
  patch-ash_display_mirror_window_controller_cc 
  patch-base_BUILD_gn 
  patch-base_debug_stack_trace_posix_cc 
  patch-base_i18n_icu_util_cc 
  patch-base_process_launch_h 
  patch-base_process_process_metrics_h 
  patch-base_process_process_posix_cc 
  patch-base_threading_platform_thread_h 
  patch-base_threading_thread_task_runner_handle_cc 
  patch-base_trace_event_process_memory_dump_cc 
  patch-build_config_BUILDCONFIG_gn 
  patch-build_config_compiler_BUILD_gn 
  patch-build_config_compiler_compiler_gni 
  patch-build_toolchain_gcc_toolchain_gni 
  patch-cc_BUILD_gn 
  patch-chrome_app_chrome_command_ids_h 
  patch-chrome_app_chrome_main_delegate_cc 
  patch-chrome_app_chromium_strings_grd 
  patch-chrome_app_generated_resources_grd 
  patch-chrome_app_google_chrome_strings_grd 
  patch-chrome_app_settings_strings_grdp 
  
patch-chrome_app_theme_chrome_unscaled_resources_grd 
  patch-chrome_browser_about_flags_cc 
  patch-chrome_browser_browser_process_impl_cc 
  patch-chrome_browser_browser_process_impl_h 
  patch-chrome_browser_browser_resources_grd 
  patch-chrome_browser_chrome_browser_main_cc 
  
patch-chrome_browser_chrome_content_browser_client_cc 
  
patch-chrome_browser_chrome_content_browser_client_h 
  
patch-chrome_browser_download_chrome_download_manager_delegate_cc 
  patch-chrome_browser_extensions_BUILD_gn 
  
patch-chrome_browser_extensions_api_settings_private_prefs_util_cc 
  
patch-chrome_browser_extensions_bookmark_app_helper_cc 
  
patch-chrome_browser_extensions_external_provider_impl_cc 
  patch-chrome_browser_flag_descriptions_cc 
  patch-chrome_browser_flag_descriptions_h 
  
patch-chrome_browser_media_galleries_media_file_system_registry_cc 
  
patch-chrome_browser_media_webrtc_webrtc_log_uploader_cc 
  patch-chrome_browser_memory_details_cc 
  
patch-chrome_browser_metrics_chrome_browser_main_extra_parts_metrics_cc 
  patch-chrome_browser_process_singleton_posix_cc 
  
patch-chrome_browser_resources_plugin_metadata_plugins_linux_json 
  
patch-chrome_browser_safe_browsing_permission_reporter_cc 
  
patch-chrome_browser_task_manager_sampling_task_group_cc 
  
patch-chrome_browser_ui_browser_command_controller_cc 
  
patch-chrome_browser_ui_startup_bad_flags_prompt_cc 
  patch-chrome_browser_ui_tab_helpers_cc 
  patch-chrome_browser_ui_toolbar_app_menu_model_cc 
  
patch-chrome_browser_ui_views_accelerator_table_cc 
  
patch-chrome_browser_ui_views_chrome_browser_main_extra_parts_views_cc 
  patch-chrome_browser_ui_views_first_run_dialog_cc 
  
patch-chrome_browser_ui_views_frame_opaque_browser_frame_view_cc 
  
patch-chrome_browser_ui_views_profiles_avatar_button_cc 
  
patch-chrome_browser_ui_views_tabs_new_tab_button_cc 
  
patch-chrome_browser_ui_views_tabs_tab_drag_controller_cc 
  patch-chrome_browser_ui_webui_about_ui_cc 
  
patch-chrome_browser_ui_webui_settings_md_settings_localized_strings_provider_cc
 
  patch-chrome_common_BUILD_gn 
  patch-chrome_common_chrome_features_cc 
  

Re: [www/rt] A flavor for LDAP?

2018-03-12 Thread Paul Irofti
> > +
> > +If you plan to connect your rt installation to an LDAP domain,
> > +install p5-ldap and then run
> > +
> > +# rt-test-dependencies
> 
> Is it actually required to run rt-test-dependencies? I haven't used rt
> for some years but from what I remember it's just a checker and doesn't
> make any actual changes?

It is indeed just a checker, I don't know why you would need to run that
fro LDAP.



CVS: cvs.openbsd.org: ports

2018-03-12 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2018/03/12 01:44:14

Modified files:
devel/meson: Makefile distinfo 
devel/meson/patches: patch-mesonbuild_backend_ninjabackend_py 
 patch-mesonbuild_build_py 
 patch-mesonbuild_mesonlib_py 
 patch-mesonbuild_scripts_meson_install_py 
devel/meson/pkg: PLIST 

Log message:
Update to meson-0.45.0.
- tested in a bulk