fix sip_bin in py3-sip

2017-11-10 Thread Landry Breuil
hi,

py3-sip isnt correct right now, its sipconfig module returns the wrong
path to the sip binary:

c64:~/ $python3.6 
Python 3.6.3 (default, Nov  8 2017, 15:44:01) 
[GCC 4.2.1 Compatible OpenBSD Clang 5.0.0 (tags/RELEASE_500/final)] on
openbsd6
Type "help", "copyright", "credits" or "license" for more information.
>>> import sipconfig
>>> sipcfg = sipconfig.Configuration()
>>> print("sip_bin:%s" % sipcfg.sip_bin)
sip_bin:/usr/local/bin/sip

while it should be sip-3:

py-sip-4.19.3p1:devel/py-sip:/usr/local/bin/sip
py3-sip-4.19.3p1:devel/py-sip,python3:/usr/local/bin/sip-3

The following diff fixes it and the sipconfig.py file has the right
paths:

$grep sip_bin /usr/local/lib/python*/site-packages/sipconfig.py 
/usr/local/lib/python2.7/site-packages/sipconfig.py:'sip_bin': 
'/usr/local/bin/sip',
/usr/local/lib/python3.6/site-packages/sipconfig.py:'sip_bin': 
'/usr/local/bin/sip-3',

looking for okays, and i wonder if it should go in a bulk.

Index: Makefile
===
RCS file: /cvs/ports/devel/py-sip/Makefile,v
retrieving revision 1.39
diff -u -r1.39 Makefile
--- Makefile26 Jul 2017 22:45:18 -  1.39
+++ Makefile11 Nov 2017 07:03:34 -
@@ -7,7 +7,7 @@
 
 DISTNAME=  sip-4.19.3
 PKGNAME=   py-${DISTNAME}
-REVISION = 1
+REVISION = 2
 CATEGORIES=devel
 
 HOMEPAGE=  http://www.riverbankcomputing.co.uk/software/sip/intro
@@ -39,6 +39,8 @@
 NO_TEST=   Yes
 
 SUBST_VARS +=  MODPY_LIB_SUFFIX
+pre-configure:
+   ${SUBST_CMD} ${WRKSRC}/configure.py
 
 post-install:
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${WRKINST}${MODPY_SITEPKG}
Index: patches/patch-configure_py
===
RCS file: patches/patch-configure_py
diff -N patches/patch-configure_py
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-configure_py  11 Nov 2017 07:03:34 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: configure.py
+--- configure.py.orig
 configure.py
+@@ -281,7 +281,7 @@ def create_config(module, template, macros):
+ "sip_version":  sip_version,
+ "sip_version_str":  sip_version_str,
+ "platform": build_platform,
+-"sip_bin":  os.path.join(sip_bin_dir, "sip"),
++"sip_bin":  os.path.join(sip_bin_dir, 
"sip${MODPY_BIN_SUFFIX}"),
+ "sip_inc_dir":  sip_inc_dir,
+ "sip_mod_dir":  sip_module_dir,
+ "default_bin_dir":  plat_bin_dir,



remove textproc/gnuvd?

2017-11-10 Thread Steven Mestdagh
The software gnuvd looks unmaintained since 5 years.
It's a CLI tool to query an online dictionary, and no longer works.
Ok to remove it?



Re: [PATCH] add python3 flavor to net/stem

2017-11-10 Thread Daniel Jakots
On Thu, 09 Nov 2017 12:57:17 -0600, attila 
wrote:

> > > The attached patch adds a python3 flavor to net/stem. 

> CVSROOT:  /cvs
> Module name:  ports
> Changes by:   pas...@cvs.openbsd.org  2017/11/09 09:37:42
> 
> Modified files:
>   net/stem   : Makefile distinfo 
>   net/stem/pkg   : PLIST 
> 
> Log message:
> Update to stem 1.6.0.

Hi Pascal,

Can you work a bit more publicly/with others and not just in your own
corner? It's not really cool to work with multiple parties and having
to deal with commits as well.

Anyway, they (the Tor BSD Diversity Project) do a lot of exciting stuff
and I think more exchange would be valuable to everyone!

Cheers,
Daniel



[NEW] textproc/pup

2017-11-10 Thread Klemens Nanni
Hey,

here's pup, a small but very helpful utility written in Go; pkg/DESCR:

pup is a command line tool for processing HTML. It reads from
stdin, prints to stdout, and allows the user to filter parts of
the page using CSS selectors:


https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Getting_started/Selectors

Inspired by http://stedolan.github.io/jq/, pup aims to be a fast
and flexible way of exploring HTML from the terminal.

Running just fine on my amd64 machine, tests pass.

The port is really simple and only packages the actual binary (no
upstream manual page).

Feedback, comments?


pup.tgz
Description: application/tar-gz


Re: new: net/nyx

2017-11-10 Thread Daniel Jakots
On Thu, 9 Nov 2017 19:21:39 +, Stuart Henderson
 wrote:

> Probably makes sense to fix the package name of stem to add the py-
> prefix before adding things which depends on it;

Once there py3-stem, can you make nyx use python3 please? I'd like we
stop importing tools using py2 now (when it's possible of course).

Cheers,
Daniel



Re: UPDATE: sysutils/monit 5.25

2017-11-10 Thread Jasper Lievisse Adriaanse
On Fri, Nov 10, 2017 at 06:11:16PM +0100, Caspar Schutijser wrote:
> Hi ports@,
> 
> Below is a diff that updates sysutils/monit to 5.25. Tested for a couple
> of days on a amd64 machine, works fine there. The pkg/DESCR changes
> remove trailing whitespace.
> 
> Thanks,
> Caspar Schutijser

Committed, thanks for the update!

-- 
jasper



Re: UPDATE lastpass-cli 1.2.2

2017-11-10 Thread Daniel Jakots
On Wed, 1 Nov 2017 12:58:59 +0100, Björn Ketelaars
 wrote:

> The diff below brings lastpass-cli to the latest version. Changelog
> can be found at
> https://github.com/lastpass/lastpass-cli/releases/tag/v1.2.2

/usr/ports/security/lastpass-cli$ make lib-depends-check

lastpass-cli-1.2.2(security/lastpass-cli):
Missing lib: xml2.15 (/usr/local/bin/lpass) (NOT REACHABLE)
Extra:  xml2.16
Scanning: ok
*** Error 1 in /usr/ports/security/lastpass-cli 
(/usr/ports/infrastructure/mk/bsd.port.mk:2240 'lib-depends-check')

can you check it please?

Cheers,
Daniel



Re: UPDATE py-sphinx_guzzle_theme

2017-11-10 Thread Daniel Jakots
On Fri, 10 Nov 2017 05:13:13 +0100, Björn Ketelaars
 wrote:

> On Wed 01/11/2017 13:05, Björn Ketelaars wrote:
> > The Makefile for textproc/py-sphinx_guzzle_theme contains an error
> > in the MAINTAINER line. Diff below corrects my mistake.
> > 
> > -- 
> > Björn Ketelaars
> > GPG key: 0x4F0E5F21
> > 
> > 
> > diff --git textproc/py-sphinx_guzzle_theme/Makefile
> > textproc/py-sphinx_guzzle_theme/Makefile index
> > 9ba705d1c30..c5b5a162e6f 100644 ---
> > textproc/py-sphinx_guzzle_theme/Makefile +++
> > textproc/py-sphinx_guzzle_theme/Makefile @@ -3,12 +3,13 @@
> >  COMMENT =  sphinx theme used by guzzle
> >  
> >  MODPY_EGG_VERSION =0.7.11
> > +REVISION = 0
> >  DISTNAME = guzzle_sphinx_theme-${MODPY_EGG_VERSION}
> >  PKGNAME =
> > py-sphinx_guzzle_theme-${MODPY_EGG_VERSION} 
> >  CATEGORIES =   textproc
> >  
> > -MAINTAINER =   Bjorn Ketelaars
> >  +MAINTAINER =Bjorn
> > Ketelaars  
> >  # MIT/OFL
> >  PERMIT_PACKAGE_CDROM = Yes  
> 
> Ping?
> 

Thanks, committed. Sorry for the delay!



Re: gcc fix libgfortran.la

2017-11-10 Thread Steven Mestdagh
Marc Espie [2017-11-09, 00:40:28]:
> On Wed, Nov 08, 2017 at 07:38:37PM +0100, Steven Mestdagh wrote:
> > hi,
> > 
> > As I mentioned previously, there is a quoting issue in libgfortran.la:
> > dependency_libs=' '/usr/local/lib'/libquadmath.la -lm'
> > should be:
> > dependency_libs='/usr/local/lib/libquadmath.la -lm'
> > 
> > We would need this to be correct to link with libgfortran via libtool.
> > This diff is a quick fix for libgfortran.la.  OK?
> > 
> > 
> > Index: Makefile
> > ===
> > RCS file: /cvs/ports/lang/gcc/4.9/Makefile,v
> > retrieving revision 1.51
> > diff -u -p -u -r1.51 Makefile
> > --- Makefile21 Aug 2017 19:25:52 -  1.51
> > +++ Makefile8 Nov 2017 18:36:06 -
> > @@ -4,7 +4,7 @@ ONLY_FOR_ARCHS = ${GCC49_ARCHS}
> >  DPB_PROPERTIES = parallel
> >  
> >  V = 4.9.4
> > -REVISION = 6
> > +REVISION = 7
> >  FULL_VERSION = $V
> >  FULL_PKGVERSION = $V
> >  
> > @@ -247,6 +247,7 @@ post-install:
> > chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/gcc/*/$V/adalib
> >  .endif
> >  .if ${BUILD_PACKAGES:M-f95}
> > +   perl -pi -e "if (/^dependency_libs/) { 
> > s,'${TRUEPREFIX}/lib',${TRUEPREFIX}/lib,; }" ${PREFIX}/lib/libgfortran.la
> > ln -sf ${TRUEPREFIX}/bin/egfortran ${PREFIX}/bin/gfortran
> > ln -sf ${TRUEPREFIX}/bin/${CONFIG}-egfortran 
> > ${PREFIX}/bin/${CONFIG}-gfortran
> >  .endif
> 
> Can you have a look at a not so quick fix ? I mean such a bogus thing
> is generated from somewhere in the port.
> 

comparing to what the more recent gnu libtool port is doing, i suggest the
fix below.  this has the same effect of stripping the single quotes around
libdir's value for use in dependency_libs.

ok?

Index: Makefile
===
RCS file: /cvs/ports/lang/gcc/4.9/Makefile,v
retrieving revision 1.51
diff -u -p -u -r1.51 Makefile
--- Makefile21 Aug 2017 19:25:52 -  1.51
+++ Makefile10 Nov 2017 19:13:26 -
@@ -4,7 +4,7 @@ ONLY_FOR_ARCHS = ${GCC49_ARCHS}
 DPB_PROPERTIES = parallel
 
 V = 4.9.4
-REVISION = 6
+REVISION = 7
 FULL_VERSION = $V
 FULL_PKGVERSION = $V
 
Index: patches/patch-ltmain_sh
===
RCS file: patches/patch-ltmain_sh
diff -N patches/patch-ltmain_sh
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-ltmain_sh 10 Nov 2017 19:13:26 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: ltmain.sh
+--- ltmain.sh.orig
 ltmain.sh
+@@ -8268,7 +8268,7 @@ EOF
+ *.la)
+   func_basename "$deplib"
+   name="$func_basename_result"
+-  libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
++  eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+   test -z "$libdir" && \
+ func_fatal_error "\`$deplib' is not a valid libtool archive"
+   newdependency_libs="$newdependency_libs $libdir/$name"



Re: [patch] meta/xfce pkg readme

2017-11-10 Thread Landry Breuil
On Fri, Nov 10, 2017 at 12:17:11PM -0500, Scott Bennett wrote:
> On 11/10/2017 12:12 PM, Theo Buehler wrote:
> > On Fri, Nov 10, 2017 at 06:11:44PM +0100, Theo Buehler wrote:
> >> On Fri, Nov 10, 2017 at 12:09:30PM -0500, Scott Bennett wrote:
> >>> Hi ports,
> >>>
> >>> This diff references the new xenodm in the README and also updates the
> >>> URL to the localization faq.
> >>
> >> ok tb
> > 
> > only with REVISION bump, of course
> 
> My bad. Wasn't sure if README updates required revision bump.
> Updated diff below.

Thanks, commited



Re: [patch] meta/xfce pkg readme

2017-11-10 Thread Daniel Jakots
On Fri, 10 Nov 2017 12:17:11 -0500, Scott Bennett
 wrote:

> My bad. Wasn't sure if README updates required revision bump.

How to know when you need a REVISION bump: it must be bumped when the
package changes. Here, the README is included in the package so there
is a change, thus the bump ;)

Cheers,
Daniel



Re: [patch] meta/xfce pkg readme

2017-11-10 Thread Scott Bennett
On 11/10/2017 12:12 PM, Theo Buehler wrote:
> On Fri, Nov 10, 2017 at 06:11:44PM +0100, Theo Buehler wrote:
>> On Fri, Nov 10, 2017 at 12:09:30PM -0500, Scott Bennett wrote:
>>> Hi ports,
>>>
>>> This diff references the new xenodm in the README and also updates the
>>> URL to the localization faq.
>>
>> ok tb
> 
> only with REVISION bump, of course

My bad. Wasn't sure if README updates required revision bump.
Updated diff below.

diff --git meta/xfce/Makefile meta/xfce/Makefile
index e13593f8dcf..e1f74c18dd0 100644
--- meta/xfce/Makefile
+++ meta/xfce/Makefile
@@ -8,7 +8,7 @@ PKGNAME=xfce-${V}

 PKGNAME-main = xfce-${V}
 PKGNAME-extras =   xfce-extras-${V}
-REVISION-main =7
+REVISION-main =8
 REVISION-extras =  1

 MAINTAINER =   Landry Breuil 
diff --git meta/xfce/pkg/README-main meta/xfce/pkg/README-main
index 1daa1ac5f16..f64d39b5cd7 100644
--- meta/xfce/pkg/README-main
+++ meta/xfce/pkg/README-main
@@ -12,7 +12,7 @@ Startup
 ===
 Xfce desktop environment is launched through the 'startxfce4' script.
 Simply add '${LOCALBASE}/bin/startxfce4' to your .xinitrc/.xsession
-script if you use startx, xdm or slim.
+script if you use startx, xenodm or slim.
 If you use gdm or kdm, have a look at
 http://wiki.xfce.org/faq#starting_xfce. An xfce4.desktop file is
 provided for use by gdm.
@@ -65,7 +65,7 @@ too:
 export LC_MESSAGES=fr

 where 'fr' is your language tag.
-See http://www.openbsd.org/faq/faq10.html#locales for more information
+See http://www.openbsd.org/faq/faq8.html#locales for more information
 on that topic.

 More generally, http://wiki.xfce.org/faq and http://wiki.xfce.org/tips



Re: [patch] meta/xfce pkg readme

2017-11-10 Thread Theo Buehler
On Fri, Nov 10, 2017 at 06:11:44PM +0100, Theo Buehler wrote:
> On Fri, Nov 10, 2017 at 12:09:30PM -0500, Scott Bennett wrote:
> > Hi ports,
> > 
> > This diff references the new xenodm in the README and also updates the
> > URL to the localization faq.
> 
> ok tb

only with REVISION bump, of course



Re: [patch] meta/xfce pkg readme

2017-11-10 Thread Theo Buehler
On Fri, Nov 10, 2017 at 12:09:30PM -0500, Scott Bennett wrote:
> Hi ports,
> 
> This diff references the new xenodm in the README and also updates the
> URL to the localization faq.

ok tb

> 
> Scott
> 
> 
> diff --git meta/xfce/pkg/README-main meta/xfce/pkg/README-main
> index 1daa1ac5f16..f64d39b5cd7 100644
> --- meta/xfce/pkg/README-main
> +++ meta/xfce/pkg/README-main
> @@ -12,7 +12,7 @@ Startup
>  ===
>  Xfce desktop environment is launched through the 'startxfce4' script.
>  Simply add '${LOCALBASE}/bin/startxfce4' to your .xinitrc/.xsession
> -script if you use startx, xdm or slim.
> +script if you use startx, xenodm or slim.
>  If you use gdm or kdm, have a look at
>  http://wiki.xfce.org/faq#starting_xfce. An xfce4.desktop file is
>  provided for use by gdm.
> @@ -65,7 +65,7 @@ too:
>  export LC_MESSAGES=fr
> 
>  where 'fr' is your language tag.
> -See http://www.openbsd.org/faq/faq10.html#locales for more information
> +See http://www.openbsd.org/faq/faq8.html#locales for more information
>  on that topic.
> 
>  More generally, http://wiki.xfce.org/faq and http://wiki.xfce.org/tips
> 



UPDATE: sysutils/monit 5.25

2017-11-10 Thread Caspar Schutijser
Hi ports@,

Below is a diff that updates sysutils/monit to 5.25. Tested for a couple
of days on a amd64 machine, works fine there. The pkg/DESCR changes
remove trailing whitespace.

Thanks,
Caspar Schutijser


Index: Makefile
===
RCS file: /cvs/ports/sysutils/monit/Makefile,v
retrieving revision 1.53
diff -u -p -r1.53 Makefile
--- Makefile10 Jun 2017 11:19:41 -  1.53
+++ Makefile10 Nov 2017 17:05:24 -
@@ -2,7 +2,7 @@
 
 COMMENT=   monitoring and managing daemons utility
 
-DISTNAME=  monit-5.23.0
+DISTNAME=  monit-5.25.0
 
 CATEGORIES=sysutils
 
Index: distinfo
===
RCS file: /cvs/ports/sysutils/monit/distinfo,v
retrieving revision 1.37
diff -u -p -r1.37 distinfo
--- distinfo10 Jun 2017 11:19:41 -  1.37
+++ distinfo10 Nov 2017 17:05:24 -
@@ -1,2 +1,2 @@
-SHA256 (monit-5.23.0.tar.gz) = 3Tn+OjecAkArqcRMIBs7qSXr3I8EIlkYggYHtsXVZxM=
-SIZE (monit-5.23.0.tar.gz) = 1298472
+SHA256 (monit-5.25.0.tar.gz) = iUm5lxZYHFVQu7+xAJGQ8OcPhLgE05kC5VxcPQlcLDI=
+SIZE (monit-5.25.0.tar.gz) = 1353674
Index: patches/patch-Makefile_in
===
RCS file: /cvs/ports/sysutils/monit/patches/patch-Makefile_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Makefile_in
--- patches/patch-Makefile_in   10 Jun 2017 11:19:41 -  1.2
+++ patches/patch-Makefile_in   10 Nov 2017 17:05:24 -
@@ -5,7 +5,7 @@ Using $< in a non-suffix rule context is
 Index: Makefile.in
 --- Makefile.in.orig
 +++ Makefile.in
-@@ -1281,7 +1281,7 @@ cleanall: clean distclean
+@@ -1294,7 +1294,7 @@ cleanall: clean distclean
-rm -rf m4 config
  
  monit.1: doc/monit.pod
Index: pkg/DESCR
===
RCS file: /cvs/ports/sysutils/monit/pkg/DESCR,v
retrieving revision 1.3
diff -u -p -r1.3 DESCR
--- pkg/DESCR   2 Nov 2003 16:12:00 -   1.3
+++ pkg/DESCR   10 Nov 2017 17:05:24 -
@@ -1,22 +1,22 @@
 monit is an utility for monitoring and managing daemons or similar
-programs running on a Unix system. It will start specified programs 
+programs running on a Unix system. It will start specified programs
 if they are not running and restart programs not responding.
 
-monit supports:
- * Daemon mode - poll programs at a specified interval  
+monit supports:
+ * Daemon mode - poll programs at a specified interval
  * Start, stop and restart of programs
  * Group- and manage groups of programs
- * Logging - syslog or own logfile 
+ * Logging - syslog or own logfile
  * Configuration - comprehensive controlfile
  * Runtime and TCP/IP port checking (tcp and udp)
  * Unix domain socket checking
  * Process status and process timeout
  * Process memory usage and process cpu usage
  * Alert, stop or restart a process based on it's characteristics
- * Check the systems load average
+ * Check the systems load average
  * MD5 checksum for programs started and stopped by monit
  * Alert notification for program timeout, restart,
-   checksum, stop and resource error 
- * Flexible and customizable email alert messages
+   checksum, stop and resource error
+ * Flexible and customizable email alert messages
  * Protocol verification. HTTP, FTP, SMTP, POP, IMAP and NNTP
  * A http interface to make monit accessible from a Browser



[patch] meta/xfce pkg readme

2017-11-10 Thread Scott Bennett
Hi ports,

This diff references the new xenodm in the README and also updates the
URL to the localization faq.

Scott


diff --git meta/xfce/pkg/README-main meta/xfce/pkg/README-main
index 1daa1ac5f16..f64d39b5cd7 100644
--- meta/xfce/pkg/README-main
+++ meta/xfce/pkg/README-main
@@ -12,7 +12,7 @@ Startup
 ===
 Xfce desktop environment is launched through the 'startxfce4' script.
 Simply add '${LOCALBASE}/bin/startxfce4' to your .xinitrc/.xsession
-script if you use startx, xdm or slim.
+script if you use startx, xenodm or slim.
 If you use gdm or kdm, have a look at
 http://wiki.xfce.org/faq#starting_xfce. An xfce4.desktop file is
 provided for use by gdm.
@@ -65,7 +65,7 @@ too:
 export LC_MESSAGES=fr

 where 'fr' is your language tag.
-See http://www.openbsd.org/faq/faq10.html#locales for more information
+See http://www.openbsd.org/faq/faq8.html#locales for more information
 on that topic.

 More generally, http://wiki.xfce.org/faq and http://wiki.xfce.org/tips



[UPDATE] security/yara

2017-11-10 Thread Remi Pointel

Hi,

this is the diff to update yara to latest release.

Ok?

Cheers,

Remi.Index: Makefile.inc
===
RCS file: /cvs/ports/security/yara/Makefile.inc,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 Makefile.inc
--- Makefile.inc	6 Jul 2017 04:35:45 -	1.6
+++ Makefile.inc	10 Nov 2017 15:47:50 -
@@ -1,6 +1,6 @@
 # $OpenBSD: Makefile.inc,v 1.6 2017/07/06 04:35:45 rpointel Exp $
 
-VERSION =		3.6.3
+VERSION =		3.7.0
 
 CATEGORIES =		security
 
Index: main/distinfo
===
RCS file: /cvs/ports/security/yara/main/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- main/distinfo	6 Jul 2017 04:35:45 -	1.6
+++ main/distinfo	10 Nov 2017 15:47:50 -
@@ -1,2 +1,2 @@
-SHA256 (yara-3.6.3.tar.gz) = rSwOeItNiy8+kHj0SHVDEySaMCt0m5ok6TK/xeFBpeg=
-SIZE (yara-3.6.3.tar.gz) = 505556
+SHA256 (yara-3.7.0.tar.gz) = AfCEHnOHkYwrbQt/tIAUvaQdFIe+HKv3GKBXYBiWlkE=
+SIZE (yara-3.7.0.tar.gz) = 558035
Index: main/pkg/PLIST
===
RCS file: /cvs/ports/security/yara/main/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 PLIST
--- main/pkg/PLIST	14 Sep 2016 20:40:53 -	1.2
+++ main/pkg/PLIST	10 Nov 2017 15:47:50 -
@@ -9,13 +9,17 @@ include/yara/atoms.h
 include/yara/compiler.h
 include/yara/error.h
 include/yara/exec.h
+include/yara/exefiles.h
 include/yara/filemap.h
 include/yara/hash.h
 include/yara/integers.h
 include/yara/libyara.h
 include/yara/limits.h
+include/yara/mem.h
 include/yara/modules.h
 include/yara/object.h
+include/yara/parser.h
+include/yara/proc.h
 include/yara/re.h
 include/yara/rules.h
 include/yara/scan.h
Index: python/distinfo
===
RCS file: /cvs/ports/security/yara/python/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- python/distinfo	6 Jul 2017 04:35:45 -	1.6
+++ python/distinfo	10 Nov 2017 15:47:50 -
@@ -1,2 +1,2 @@
-SHA256 (yara-python-3.6.3.tar.gz) = RFPD7Ak673J2B9J++hHNZKVl2OnoC93jj1CFOKTahb0=
-SIZE (yara-python-3.6.3.tar.gz) = 29631
+SHA256 (yara-python-3.7.0.tar.gz) = JOH6oF+4XS0jE36BkAXM4KEb37XPMDpqsZnzff8+A1I=
+SIZE (yara-python-3.7.0.tar.gz) = 30722


PostgreSQL security update

2017-11-10 Thread Pierre-Emmanuel André
Hi,

Small diff to update PostgreSQL to it's latest version (9.6.6)
Release notes: https://www.postgresql.org/docs/9.6/static/release-9-6-6.html
(3 CVE fixed)

Comments, ok ?

Regards,


ps: 10.1 is coming but need more tests ;)
Index: Makefile
===
RCS file: /cvs/ports/databases/postgresql/Makefile,v
retrieving revision 1.229
diff -u -p -u -p -r1.229 Makefile
--- Makefile	13 Sep 2017 14:24:08 -	1.229
+++ Makefile	10 Nov 2017 14:29:13 -
@@ -7,7 +7,7 @@ COMMENT-contrib=PostgreSQL RDBMS contrib
 COMMENT-plpython=Python procedural language for PostgreSQL
 COMMENT-pg_upgrade=Support for upgrading PostgreSQL data from previous version
 
-VERSION=	9.6.5
+VERSION=	9.6.6
 PREV_MAJOR=	9.5
 DISTNAME=	postgresql-${VERSION}
 PKGNAME-main=	postgresql-client-${VERSION}
Index: distinfo
===
RCS file: /cvs/ports/databases/postgresql/distinfo,v
retrieving revision 1.68
diff -u -p -u -p -r1.68 distinfo
--- distinfo	13 Sep 2017 14:24:08 -	1.68
+++ distinfo	10 Nov 2017 14:29:13 -
@@ -1,2 +1,2 @@
-SHA256 (postgresql-9.6.5.tar.gz) = eelgXTIbVFsu2d8Yrf0uUslQ3JNGtl6VJ/EXExYn3Ao=
-SIZE (postgresql-9.6.5.tar.gz) = 25652523
+SHA256 (postgresql-9.6.6.tar.gz) = U+HNX9/19FQVrp1bZFF3J1Jlo+gAyGvsu5TOGDo6UGE=
+SIZE (postgresql-9.6.6.tar.gz) = 25709021
Index: pkg/PLIST-docs
===
RCS file: /cvs/ports/databases/postgresql/pkg/PLIST-docs,v
retrieving revision 1.80
diff -u -p -u -p -r1.80 PLIST-docs
--- pkg/PLIST-docs	13 Sep 2017 14:24:08 -	1.80
+++ pkg/PLIST-docs	10 Nov 2017 14:29:13 -
@@ -905,6 +905,7 @@ share/doc/postgresql/html/release-9-2-20
 share/doc/postgresql/html/release-9-2-21.html
 share/doc/postgresql/html/release-9-2-22.html
 share/doc/postgresql/html/release-9-2-23.html
+share/doc/postgresql/html/release-9-2-24.html
 share/doc/postgresql/html/release-9-2-3.html
 share/doc/postgresql/html/release-9-2-4.html
 share/doc/postgresql/html/release-9-2-5.html
@@ -925,6 +926,7 @@ share/doc/postgresql/html/release-9-3-17
 share/doc/postgresql/html/release-9-3-18.html
 share/doc/postgresql/html/release-9-3-19.html
 share/doc/postgresql/html/release-9-3-2.html
+share/doc/postgresql/html/release-9-3-20.html
 share/doc/postgresql/html/release-9-3-3.html
 share/doc/postgresql/html/release-9-3-4.html
 share/doc/postgresql/html/release-9-3-5.html
@@ -939,6 +941,7 @@ share/doc/postgresql/html/release-9-4-11
 share/doc/postgresql/html/release-9-4-12.html
 share/doc/postgresql/html/release-9-4-13.html
 share/doc/postgresql/html/release-9-4-14.html
+share/doc/postgresql/html/release-9-4-15.html
 share/doc/postgresql/html/release-9-4-2.html
 share/doc/postgresql/html/release-9-4-3.html
 share/doc/postgresql/html/release-9-4-4.html
@@ -949,6 +952,7 @@ share/doc/postgresql/html/release-9-4-8.
 share/doc/postgresql/html/release-9-4-9.html
 share/doc/postgresql/html/release-9-4.html
 share/doc/postgresql/html/release-9-5-1.html
+share/doc/postgresql/html/release-9-5-10.html
 share/doc/postgresql/html/release-9-5-2.html
 share/doc/postgresql/html/release-9-5-3.html
 share/doc/postgresql/html/release-9-5-4.html
@@ -963,6 +967,7 @@ share/doc/postgresql/html/release-9-6-2.
 share/doc/postgresql/html/release-9-6-3.html
 share/doc/postgresql/html/release-9-6-4.html
 share/doc/postgresql/html/release-9-6-5.html
+share/doc/postgresql/html/release-9-6-6.html
 share/doc/postgresql/html/release-9-6.html
 share/doc/postgresql/html/release.html
 share/doc/postgresql/html/replication-origins.html


Re: Upcoming firefox 57 release notes

2017-11-10 Thread Christian Weisgerber
On 2017-11-04, Landry Breuil  wrote:

> - and something which has been brought to my attention, the (somewhat
>   hidden imo) feature of 'pasting an url anywhere in the firefox window
> would open it in a new tab' has been disabled by default, because it was

(In the same tab.)

> confusing. See https://bugzilla.mozilla.org/show_bug.cgi?id=366945 for
> rationale, and if you dont like that, stop ranting and toggle
> middlemouse.contentLoadURL, or paste the url where it belongs, in the
> addressbra. No, i wont change the defaults :)

Switching off middlemouse.contentLoadURL clears the way for
autoscrolling.  If enabled in Preferences, pressing the middle
button and moving the mouse will scroll.  This is a very interesting
feature in environments without scroll wheels, e.g., with a trackpoint
or an old-style three-button mouse.

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



Re: [NEW] uw-ttyp0 font

2017-11-10 Thread Manuel Giraud
Manuel Giraud  writes:

> Hi,
>
> Maybe the ports tree is unlocked now so I'm reposting this nice font:
> https://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/

Ping? Anyone for yet another font?
-- 
Manuel Giraud



Re: [patch] net/dnscrypt-proxy: use random resolver

2017-11-10 Thread Vinícius Zavam
2017-11-09 16:08 GMT+00:00 Stuart Henderson :
>
> updated after some feedback.
>
>
> Index: Makefile
> ===
> RCS file: /cvs/ports/net/dnscrypt-proxy/Makefile,v
> retrieving revision 1.31
> diff -u -p -r1.31 Makefile
> --- Makefile2 Aug 2017 09:32:40 -   1.31
> +++ Makefile9 Nov 2017 16:08:14 -
> @@ -7,6 +7,7 @@ V=  1.9.5
>  DISTNAME=  dnscrypt-proxy-${V}
>  PKGNAME-main=  dnscrypt-proxy-${V}
>  PKGNAME-plugins=   dnscrypt-proxy-plugins-${V}
> +REVISION-main= 0
>
>  CATEGORIES=net
>
> Index: pkg/README-main
> ===
> RCS file: /cvs/ports/net/dnscrypt-proxy/pkg/README-main,v
> retrieving revision 1.8
> diff -u -p -r1.8 README-main
> --- pkg/README-main 23 Jan 2017 18:00:23 -  1.8
> +++ pkg/README-main 9 Nov 2017 16:08:14 -
> @@ -4,46 +4,85 @@ $OpenBSD: README-main,v 1.8 2017/01/23 1
>  | Running ${FULLPKGNAME} on OpenBSD
>  +---
>
> -In order to perform queries over DNSCrypt, the easiest way is to change
> -your /etc/resolv.conf file:
> +Basic setup
> +===
> +
> +dnscrypt-proxy listens for DNS queries on a local address and forwards
> +them to a DNSCrypt resolver over an encrypted channel.
> +
> +To use this package, two things are required.
> +
> +Firstly, choose an upstream server. There is no default: the package
> +lets you make a conscious decision about who to trust. A list of public
> +servers is in ${TRUEPREFIX}/share/dnscrypt-proxy/dnscrypt-resolvers.csv,
> +or an updated list is at https://dnscrypt.org/dnscrypt-resolvers.html,
> +
> +Choose one and configure it:
> +
> +# rcctl enable dnscrypt_proxy
> +# rcctl set dnscrypt_proxy flags -E -m1 -R __YOUR_CHOICE__
> +# rcctl start dnscrypt_proxy
> +
> +Replace __YOUR_CHOICE__ with one of the names from the first column
> +(e.g. "cisco", "cs-nl", "dnscrypt-eu.nl"), or use the word "random" to
> +select a random resolver at startup (chosen from those that claim that
> +they use DNSSEC and do not log requests).
> +
> +Secondly, set /etc/resolv.conf to perform queries from dnscrypt-proxy:
>
>  nameserver 127.0.0.1
>  lookup file bind
> -options edns0
>
> -DNSCrypt does _not_ cache queries, so the recommended way to use it is
> -as a forwarder for a DNS cache like Unbound. The following unbound.conf
> -example may be used as a guideline:
> +Note: If fetching your IP address dynamically, dhclient(8) will normally
> +update resolv.conf with network-provided DNS servers. This can be avoided
> +by using "ignore domain-name, domain-name-servers;" in
/etc/dhclient.conf.
> +
> +
> +Caching
> +===
> +
> +dnscrypt-proxy does not cache queries. Performance can be improved by
> +configuring a local caching DNS resolver to forward requests via
> +dnscrypt-proxy.
> +
> +In this configuration, the caching resolver should listen on port 53,
> +and dnscrypt-proxy should be configured to use an alternative port.
> +For example:
> +
> +# rcctl set dnscrypt_proxy flags -E -m1 -R __YOUR_CHOICE__ -a
127.0.0.1:40
> +# rcctl restart dnscrypt_proxy
> +
> +And an example configuration to use this with Unbound:
>
> +# cat /var/unbound/etc/unbound.conf
>  server:
> interface: 127.0.0.1
> -   interface: 192.168.1.1 # additional addresses to listen on
> -   access-control: 192.168.1.0/24 allow # who's allowed to make
queries
> do-not-query-localhost: no
> hide-identity: yes
> hide-version: yes
> +   auto-trust-anchor-file: "/var/unbound/db/root.key"
> +   # provide service to other local machines, if needed:
> +   #interface: 192.168.1.1
> +   #access-control: 192.168.1.0/24 allow
> +
> +remote-control:
> +   control-enable: yes
> +   control-use-cert: no
> +   control-interface: /var/run/unbound.sock
>
>  forward-zone:
> -name: "."
> -forward-addr: 127.0.0.1@40
> -   #forward-addr: 127.0.0.1@41 # example failover server, see below
> -
> -A list of resolvers providing DNSCrypt service is available at
> -${TRUEPREFIX}/share/dnscrypt-proxy/dnscrypt-resolvers.csv.
> -Choose one (there is no default) and configure it, for example:
> -
> -rcctl enable dnscrypt_proxy
> -rcctl set dnscrypt_proxy flags -E -m1 -R dnscrypt.eu-nl -a 127.0.0.1:40
> -rcctl start dnscrypt_proxy
> +   name: "."
> +   forward-addr: 127.0.0.1@40
> +   #forward-addr: 127.0.0.1@41 # example failover server, see below
>
>  The dnscrypt-proxy utility does not support failover resolvers; as
described
>  in "Using DNSCrypt in combination with a DNS cache" on
https://dnscrypt.org/,
>  you will need to run a second instance of it for DNS redundancy. This
can be
>  handled by rcctl(8) by adding a symbolic link to the script:
>
> -ln -s dnscrypt_proxy /etc/rc.d/dnscrypt_proxy2
> -rcctl enable dnscrypt_proxy2
> -rcctl set dnscry

Update: zabbix 3.2.10 (security)

2017-11-10 Thread Mark Patruck
The following diff updates zabbix to 3.2.10 which fixes multiple
security issues. Tested with -pgsql.

https://www.zabbix.com/rn3.2.10


Index: Makefile
===
RCS file: /cvs/ports/net/zabbix/Makefile,v
retrieving revision 1.130
diff -u -p -r1.130 Makefile
--- Makefile3 Nov 2017 11:15:15 -   1.130
+++ Makefile10 Nov 2017 09:17:42 -
@@ -4,8 +4,7 @@ COMMENT-main =  network and application 
 COMMENT-server =   network and application monitoring - server
 COMMENT-web =  network and application monitoring - web frontend
 
-VERSION =  3.2.7
-REVISION = 0
+VERSION =  3.2.10
 DISTNAME = zabbix-${VERSION}
 FULLPKGNAME-main = zabbix-agent-${VERSION}
 FULLPKGPATH-main = net/zabbix,-main
Index: distinfo
===
RCS file: /cvs/ports/net/zabbix/distinfo,v
retrieving revision 1.39
diff -u -p -r1.39 distinfo
--- distinfo26 Jul 2017 17:54:44 -  1.39
+++ distinfo10 Nov 2017 09:17:42 -
@@ -1,2 +1,2 @@
-SHA256 (zabbix-3.2.7.tar.gz) = PqDCmb1pvHKBdxKHQPBHa8Giwd5DgzDfW72PX8YJBxI=
-SIZE (zabbix-3.2.7.tar.gz) = 16016367
+SHA256 (zabbix-3.2.10.tar.gz) = xCRTsrT0CBhLfSHjBgnTwQCPV4kSXp7eaYbgQyxcMao=
+SIZE (zabbix-3.2.10.tar.gz) = 16089723
Index: pkg/PLIST-web
===
RCS file: /cvs/ports/net/zabbix/pkg/PLIST-web,v
retrieving revision 1.30
diff -u -p -r1.30 PLIST-web
--- pkg/PLIST-web   26 Jul 2017 17:54:44 -  1.30
+++ pkg/PLIST-web   10 Nov 2017 09:17:42 -
@@ -493,6 +493,7 @@ zabbix/include/classes/validators/CColor
 zabbix/include/classes/validators/CDecimalStringValidator.php
 zabbix/include/classes/validators/CDecimalValidator.php
 zabbix/include/classes/validators/CFunctionValidator.php
+zabbix/include/classes/validators/CHtmlUrlValidator.php
 zabbix/include/classes/validators/CIPRangeValidator.php
 zabbix/include/classes/validators/CIPValidator.php
 zabbix/include/classes/validators/CIdValidator.php
@@ -881,7 +882,6 @@ zabbix/popup.php
 zabbix/popup_httpstep.php
 zabbix/popup_media.php
 zabbix/popup_trexpr.php
-zabbix/popup_usrgrp.php
 zabbix/profile.php
 zabbix/queue.php
 zabbix/report2.php


-- 
Mark Patruck ( mark at wrapped.cx )
GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74  F644 0D3C F66F F286 5E51

http://www.wrapped.cx



Re: NEW: devel/github-backup

2017-11-10 Thread Edd Barrett
On Thu, Oct 12, 2017 at 10:55:53AM +0100, Laurence Tratt wrote:
> On Thu, Sep 21, 2017 at 11:02:28AM +, Laurence Tratt wrote:
> 
> Here's an updated version of devel/github-backup based on Stuart's pre-lock
> comments. I think this is ready for importing, so am looking for OKs.

Has anyone had a chance to look at this?

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk



Re: Update: devel/radare2

2017-11-10 Thread Edd Barrett
Hi Matthias,

Sorry for the delay. This is looking good. A few more comments
below.

On Sat, Oct 28, 2017 at 07:34:24PM +0200, Matthias Schmidt wrote:
> -@conflict radare-bindings2-*

Any reason for removing that?

>  lib/libr2.so
> -@bin lib/libr2.so.2.0
> +@bin lib/libr2.so.3.0

If you re-run 'make port-lib-depends-check' this becomes a proper shared
library and you can add it to SHARED_LIBS. I'm not sure why it's been
marked @bin in the past.

I tried disassembling a simple binary (with seek and visual) and it
seems to work fine.

Have you tested the bindings at all?

The web interface is broken:

---8<---
$ r2 -c=H a.out  
Starting http server...
sh: firefox: not found
open http://localhost:9090/
r2 -C http://localhost:9090/cmd/
Abort trap (core dumped) 
--->8---

I also notice in the dmesg buffer:
radare2[46700]: pledge "inet", syscall 30

That's probably your problem. Looks like upstream got their pledge(2)
capabilities wrong. 

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk



pgadmin3 segfaults on start

2017-11-10 Thread Timo Myyrä
Hi,

pgadmin3 doesn't seem to be working. It always segfaults when I try to start it 
on amd64.
Here's the backtrace:

(gdb) bt
#0  theme_pixbuf_compute_hints (theme_pb=Variable "theme_pb" is not available.
) at pixbuf-render.c:606
#1  0x0d1cd30be185 in theme_pixbuf_render (theme_pb=0xd1c58b6ca00, 
window=0xd1ccbe29360, mask=0x0, clip_rect=0x7f7e06cc, component_mask=512, 
center=0, x=0, y=0, width=750, height=24)
at pixbuf-render.c:759
#2  0x0d1cd30bd54b in draw_simple_image (width=Variable "width" is not 
available.
) at pixbuf-draw.c:145
#3  0x0d1cd30bc496 in draw_box (style=0xd1c0384e440, window=0xd1ccbe29360, 
state=GTK_STATE_NORMAL, shadow=GTK_SHADOW_NONE, area=0x7f7e06cc, 
widget=0xd1ce5d44060, 
detail=0xd1bfc7518df "menubar", x=Variable "x" is not available.
) at pixbuf-draw.c:668
#4  0x0d1bfc419254 in IA__gtk_paint_box (style=0xd1c0384e440, 
window=0xd1ccbe29360, state_type=GTK_STATE_NORMAL, shadow_type=GTK_SHADOW_NONE, 
area=0x7f7e06cc, widget=Variable "widget" is not available.
) at gtkstyle.c:6207
#5  0x0d1bfc39f887 in gtk_menu_bar_expose (widget=0xd1ce5d44060, 
event=0x7f7e06b8) at gtkmenubar.c:510
#6  0x0d1bfc391044 in _gtk_marshal_BOOLEAN__BOXED (closure=0xd1c5082cea0, 
return_value=0x7f7e0350, n_param_values=Variable "n_param_values" is not 
available.
) at gtkmarshalers.c:86
#7  0x0d1c0cdb24cc in g_closure_invoke (closure=0xd1c5082cea0, 
return_value=0x7f7e0350, n_param_values=2, param_values=0x7f7e03b0, 
invocation_hint=Variable "invocation_hint" is not available.
) at gclosure.c:804
#8  0x0d1c0cdc7d73 in signal_emit_unlocked_R () at gsignal.c:3673
#9  0x0d1c0cdc8ea3 in g_signal_emit_valist (instance=Variable "instance" is 
not available.
) at gsignal.c:3401
#10 0x0d1c0cdc92cf in g_signal_emit (instance=Variable "instance" is not 
available.
) at gsignal.c:3447
#11 0x0d1bfc4ca951 in gtk_widget_event_internal (widget=0xd1ce5d44060, 
event=0x7f7e06b8) at gtkwidget.c:5010
#12 0x0d1bfc38ee63 in IA__gtk_main_do_event (event=Variable "event" is not 
available.
) at gtkmain.c:1621
#13 0x0d1c5f4e25d8 in _gdk_window_process_updates_recurse (window=Variable 
"window" is not available.
) at gdkwindow.c:5479
#14 0x0d1c5f4e24d8 in _gdk_window_process_updates_recurse (window=Variable 
"window" is not available.
) at gdkwindow.c:5452
#15 0x0d1c5f4e24d8 in _gdk_window_process_updates_recurse (window=Variable 
"window" is not available.
) at gdkwindow.c:5452
#16 0x0d1c5f4e24d8 in _gdk_window_process_updates_recurse (window=Variable 
"window" is not available.
) at gdkwindow.c:5452
#17 0x0d1c5f4e3110 in gdk_window_process_updates_internal (window=Variable 
"window" is not available.
) at gdkwindow.c:5646
#18 0x0d1c5f4e2ae1 in IA__gdk_window_process_all_updates () at 
gdkwindow.c:5752
#19 0x0d1bfc3033f0 in gtk_container_idle_sizer () at gtkcontainer.c:1360
#20 0x0d1c5f4bb035 in gdk_threads_dispatch (data=0xd1c9ff1e540) at gdk.c:534
#21 0x0d1c7aea2826 in g_main_context_dispatch (context=Variable "context" 
is not available.
) at gmain.c:3148
#22 0x0d1c7aea2c05 in g_main_context_iterate () at gmain.c:3886
#23 0x0d1c7aea2f3f in g_main_loop_run (loop=0xd1c03d35d50) at gmain.c:4082
#24 0x0d1bfc38e5df in IA__gtk_main () at gtkmain.c:1268
#25 0x0d1c2377a729 in wxEventLoop::Run () from 
/usr/local/lib/libwx_gtk2_core.so.3.0
#26 0x0d1c237ec595 in wxAppBase::MainLoop () from 
/usr/local/lib/libwx_gtk2_core.so.3.0
#27 0x0d1c7ea32785 in wxEntry () from /usr/local/lib/libwx_base.so.3.0
#28 0x0d19fb4053ff in __register_frame_info () from /usr/local/bin/pgadmin3
#29 0x0d19fb405254 in ?? () from /usr/local/bin/pgadmin3
#30 0x in ?? ()
Current language:  auto; currently minimal