CVS: cvs.openbsd.org: ports

2018-02-05 Thread Giovanni Bechis
CVSROOT:/cvs
Module name:ports
Changes by: giova...@cvs.openbsd.org2018/02/06 00:58:03

Modified files:
mail/p5-Mail-SpamAssassin: Makefile 
Added files:
mail/p5-Mail-SpamAssassin/patches: 
   
patch-lib_Mail_SpamAssassin_Plugin_URILocalBL_pm 

Log message:
Add compatibility patches for perl 5.23+



Re: [update] devel/codeblocks

2018-02-05 Thread Stuart Henderson
On 2018/02/05 23:34, Josh Grosse wrote:
> On Mon, Feb 05, 2018 at 08:02:08PM -0600, Amit Kulkarni wrote:
> > > Here's a fixed-up one. Move boost to LIB_DEPENDS, regenerated WANTLIB,
> > > regenerated patches.
> > > 
> > > Runtime not tested, anyone fancy taking it from here?
> > > 
> > 
> > This diff is good. No issues at all.
> > 
> > Thanks
>  
> I'm getting the NOT_REACHABLE error again, using Stuart's diff set:
> 
> --
> codeblocks-17.12(devel/codeblocks):
> Bogus WANTLIB: boost_system.8 
> (/usr/local/lib/codeblocks/plugins/libNassiShneiderman.so) (NOT REACHABLE)
> *** Error 1 in target 'port-lib-depends-check' (ignored)
> --
> 
> But I'll trust that as the rest of you no longer see this, that this is 
> a local manefestation on this system under test.

Do you have boost 1.66.0 in both ports tree and packages? If not, that
would explain it.



UPDATE security/polarssl

2018-02-05 Thread Björn Ketelaars
mbedtls (security/polarssl) has been updated to 2.7.0., which fixes
CVE-2018-0488, CVE-2018-0487, and other security related issues.
Changelog can be found at
https://github.com/ARMmbed/mbedtls/blob/development/ChangeLog

Bumped minor library number of mbedtls as functions have been added, and
bumped major library number of mbedcrypto because of API changes
(replacement of functions in the message digest modules). I found no
changes related to mbedx509 (checked by diffing nm output).

Output make test:

100% tests passed, 0 tests failed out of 60

While here set SEPARATE_BUILD=Yes




diff --git Makefile Makefile
index 67dce4e4e86..271b007d500 100644
--- Makefile
+++ Makefile
@@ -2,13 +2,13 @@
 
 COMMENT=   SSL library with an intuitive API and readable source code
 
-DISTNAME=  mbedtls-2.6.0
+DISTNAME=  mbedtls-2.7.0
 EXTRACT_SUFX=  -gpl.tgz
 
 # check SOVERSION
-SHARED_LIBS +=  mbedtls   3.0 # 2.6
-SHARED_LIBS +=  mbedcrypto1.0 # 2.6
-SHARED_LIBS +=  mbedx509  1.0 # 2.6
+SHARED_LIBS +=  mbedtls   3.1 # 2.7
+SHARED_LIBS +=  mbedcrypto2.0 # 2.7
+SHARED_LIBS +=  mbedx509  1.0 # 2.7
 
 CATEGORIES=security
 
@@ -24,6 +24,7 @@ MASTER_SITES= https://tls.mbed.org/download/
 
 MODULES=   devel/cmake
 
+SEPARATE_BUILD=Yes
 CONFIGURE_ARGS=-DUSE_SHARED_MBEDTLS_LIBRARY=ON \
-DLINK_WITH_PTHREAD=ON
 
diff --git distinfo distinfo
index ea7816f7808..27c7d8602c6 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (mbedtls-2.6.0-gpl.tgz) = qZlZ1zYN7yL5EI0tSHyd44T+dsNJaXF2sfIjcAgNWBA=
-SIZE (mbedtls-2.6.0-gpl.tgz) = 1958070
+SHA256 (mbedtls-2.7.0-gpl.tgz) = LG/iibS1C/Z7SDnoGwf89SoZ9RKdAkHSqk1Jyx7xHk8=
+SIZE (mbedtls-2.7.0-gpl.tgz) = 2092971
diff --git patches/patch-include_mbedtls_config_h 
patches/patch-include_mbedtls_config_h
index 69f4bd2dcdd..49c8a211797 100644
--- patches/patch-include_mbedtls_config_h
+++ patches/patch-include_mbedtls_config_h
@@ -6,7 +6,7 @@ www/hiawatha.
 Index: include/mbedtls/config.h
 --- include/mbedtls/config.h.orig
 +++ include/mbedtls/config.h
-@@ -1385,7 +1385,7 @@
+@@ -1433,7 +1433,7 @@
   *
   * Uncomment this to enable pthread mutexes.
   */
@@ -15,7 +15,7 @@ Index: include/mbedtls/config.h
  
  /**
   * \def MBEDTLS_VERSION_FEATURES
-@@ -2423,7 +2423,7 @@
+@@ -2510,7 +2510,7 @@
   *
   * Enable this layer to allow use of mutexes within mbed TLS
   */
diff --git patches/patch-tests_suites_main_test_function 
patches/patch-tests_suites_main_test_function
index d3c25267144..d238412fb44 100644
--- patches/patch-tests_suites_main_test_function
+++ patches/patch-tests_suites_main_test_function
@@ -5,11 +5,10 @@ XXX can't take the address of stdout
 Index: tests/suites/main_test.function
 --- tests/suites/main_test.function.orig
 +++ tests/suites/main_test.function
-@@ -401,32 +401,7 @@ int main(int argc, const char *argv[])
- if( unmet_dep_count == 0 )
+@@ -418,30 +418,7 @@ int main(int argc, const char *argv[])
  {
- test_errors = 0;
--
+ test_info.failed = 0;
+ 
 -#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
 -/* Suppress all output from the library unless we're verbose
 - * mode
@@ -34,7 +33,6 @@ Index: tests/suites/main_test.function
 -exit( 1 );
 -}
 -#endif /* __unix__ || __APPLE__ __MACH__ */
--
+ 
  }
  
- if( unmet_dep_count > 0 || ret == DISPATCH_UNSUPPORTED_SUITE )
diff --git pkg/PLIST pkg/PLIST
index 554de97a044..8dd1d192b04 100644
--- pkg/PLIST
+++ pkg/PLIST
@@ -54,6 +54,7 @@ include/mbedtls/platform.h
 include/mbedtls/platform_time.h
 include/mbedtls/ripemd160.h
 include/mbedtls/rsa.h
+include/mbedtls/rsa_internal.h
 include/mbedtls/sha1.h
 include/mbedtls/sha256.h
 include/mbedtls/sha512.h



NEW: net/deluge-ltconfig

2018-02-05 Thread Anthony J. Bentley
Hi,

ltConfig is a plugin for Deluge that allows direct modification to
libtorrent settings and has preset support.

This plugin adds a preference page to both GtkUI and WebUI.

WARNING: Modify settings at your own risk!


This depends on the deluge/libtorrent-rasterbar ports I recently sent
to the list, which have apparently been a big hit but so far haven't
received any oks.


ok?

-- 
Anthony J. Bentley


deluge-ltconfig.tar.gz
Description: deluge-ltconfig.tar.gz


Re: [update] devel/codeblocks

2018-02-05 Thread Josh Grosse
On Mon, Feb 05, 2018 at 08:02:08PM -0600, Amit Kulkarni wrote:
> > Here's a fixed-up one. Move boost to LIB_DEPENDS, regenerated WANTLIB,
> > regenerated patches.
> > 
> > Runtime not tested, anyone fancy taking it from here?
> > 
> 
> This diff is good. No issues at all.
> 
> Thanks
 
I'm getting the NOT_REACHABLE error again, using Stuart's diff set:

--
codeblocks-17.12(devel/codeblocks):
Bogus WANTLIB: boost_system.8 
(/usr/local/lib/codeblocks/plugins/libNassiShneiderman.so) (NOT REACHABLE)
*** Error 1 in target 'port-lib-depends-check' (ignored)
--

But I'll trust that as the rest of you no longer see this, that this is 
a local manefestation on this system under test.



Re: [update] devel/codeblocks

2018-02-05 Thread Amit Kulkarni
> Here's a fixed-up one. Move boost to LIB_DEPENDS, regenerated WANTLIB,
> regenerated patches.
> 
> Runtime not tested, anyone fancy taking it from here?
> 

This diff is good. No issues at all.

Thanks



Re: [NEW] net/onionshare

2018-02-05 Thread attila
Klemens Nanni wrote:
> On Tue, Dec 12, 2017 at 10:45:21AM -0600, attila wrote:
> > Klemens Nanni  wrote:
> > > You should zap V and PKGNAME, set GH_TAGNAME=v1.1 and move GH_* right
> > > beneath COMMENT; see infrastructure/templates/Makefile.template.
> > >
> > > RUN_DEPENDS lacks net/tor.
> > > onionshare-gui still starts but python will dump core when
> > > /usr/local/bin/tor is missing. It also mentions our net/tor package as
> > > "Tor that is bundled with OpenShare" which is misleading.
> > >
> > > TEST_DEPENDS lacks net/py-stem and www/py-frozen-flask.
> >
> > Attached is an updated port that addresses all of these comments.
> > Thanks a lot for the feedback!
> Looks good to me except for the bundle bits. Optimally this should be
> clarified upstream.

There has been a new release in the interim and my patches for the old
release were discussed a bit on GH.  Attached is a new attempt that is
for the latest release (1.2) and that takes into account some of the
suggestions from other contributors.

I changed TEST_DEPENDS for 1.2 but the tests fail now for me and I
have not had time to investigate, thus NO_TEST=Yes.  I'd like this to
be critiqued regardless, I don't see this as fatal to getting in if it
passes muster otherwise...

Feedback welcome.

Pax, -A
--
https://haqistan.net/~attila | attila@{stalphonsos.com,haqistan.net}
pgp: 0x62A729CF | C2CE 2487 03AC 4C2F 101D  09C1 4068 D5D5 62A7 29CF



onionshare-1.2-2.tgz
Description: Binary data


Re: [Patch] games/urbanterror doesn't rely on W|X

2018-02-05 Thread Ryan Freeman
On Sat, Feb 03, 2018 at 11:07:05AM +, Stuart Henderson wrote:
> On 2018/02/03 10:04, Mikolaj Kucharski wrote:
> > On Fri, Feb 02, 2018 at 06:41:26AM +0200, mazocomp wrote:
> > > Index: Makefile
> > > ===
> > > RCS file: /cvs/ports/games/urbanterror/Makefile,v
> > > retrieving revision 1.4
> > > diff -u -p -r1.4 Makefile
> > > --- Makefile  8 Feb 2017 12:55:18 -   1.4
> > > +++ Makefile  2 Feb 2018 04:26:18 -
> > > @@ -1,6 +1,5 @@
> > >  # $OpenBSD: Makefile,v 1.4 2017/02/08 12:55:18 sthen Exp $
> > >  
> > > -USE_WXNEEDED =   Yes
> > >  ONLY_FOR_ARCHS = amd64 i386
> > >  
> > >  COMMENT =fast-paced hollywood-tactical shooter: "fun over 
> > > realism"
> > 
> > Shouldn't that also have REVISION bump?
> 
> Yes, it should.
> 

I will take care of it when I get a chance -- I need to update this
to include a hotfix from upstream, and will incorporate the OP's
WX fix at the same time and test accordingly. 

Again, sorry for delays, just finished a move after several months
of not having a real address, and still need to get internet hooked
up at said new home. :-)

-ryan



CVS: cvs.openbsd.org: ports

2018-02-05 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2018/02/05 15:34:17

Modified files:
mail/exim  : Makefile 
mail/exim/pkg  : exim.rc 

Log message:
Remove the rc_pre check that silently disables exim if /etc/mailer.conf.exim
is present (presumably intended to ensure that 'exim-enable' has been run,
but the other MTAs don't do this). From Christian Gut, ok jca@



Re: [update] devel/codeblocks

2018-02-05 Thread Amit Kulkarni
On Mon, Feb 5, 2018 at 3:41 PM, Brian Callahan  wrote:
>
>
> On 2/5/2018 4:35 PM, Stuart Henderson wrote:
>> On 2018/02/05 14:31, Stuart Henderson wrote:
>>> On 2018/02/05 09:26, Josh Grosse wrote:
 On 2018-02-05 07:41, Amit Kulkarni wrote:
>>> When I ran 'make update-patches' some patches got regenerated.
>>> Also, when I ran 'make port-lib-depends-check' I got some complaints 
>>> about
>>> boost_system.7 missing.
>> I received a similar NOT_REACHABLE error, for boost_system.8 (which
>> is -current)
>> during one build, but it was not a reproduceable issue.  Here on
>> amd64, I
>> was not able to reproduce the message after that first occurrance.
> This happens also on make lib-depends-check on amd64. I guess WANTLIB
> += boost_system should fix the issue.
>
> Thanks
 No, because that produces a "Bogus WANTLIB" report.
>>> Make sure you have packages and ports tree in sync. If there's a
>>> discrepancy it's likely to come up with errors like this, and since
>>> boost was updated recently including a library version number bump,
>>> it's fairly likely here.
>>>
>> Here's a fixed-up one. Move boost to LIB_DEPENDS, regenerated WANTLIB,
>> regenerated patches.
>>
>> Runtime not tested, anyone fancy taking it from here?
>
> Thanks, Stuart. I can take it from here in a few hours, if no one beats
> me to it.
>
> ~Brian

Thanks for that Stuart. I was going to reply the same :) codeblocks is
a giant port to compile.



Re: [update] devel/codeblocks

2018-02-05 Thread Brian Callahan


On 2/5/2018 4:35 PM, Stuart Henderson wrote:
> On 2018/02/05 14:31, Stuart Henderson wrote:
>> On 2018/02/05 09:26, Josh Grosse wrote:
>>> On 2018-02-05 07:41, Amit Kulkarni wrote:
>> When I ran 'make update-patches' some patches got regenerated.
>> Also, when I ran 'make port-lib-depends-check' I got some complaints 
>> about
>> boost_system.7 missing.
> I received a similar NOT_REACHABLE error, for boost_system.8 (which
> is -current)
> during one build, but it was not a reproduceable issue.  Here on
> amd64, I
> was not able to reproduce the message after that first occurrance.
 This happens also on make lib-depends-check on amd64. I guess WANTLIB
 += boost_system should fix the issue.

 Thanks
>>> No, because that produces a "Bogus WANTLIB" report.
>> Make sure you have packages and ports tree in sync. If there's a
>> discrepancy it's likely to come up with errors like this, and since
>> boost was updated recently including a library version number bump,
>> it's fairly likely here.
>>
> Here's a fixed-up one. Move boost to LIB_DEPENDS, regenerated WANTLIB,
> regenerated patches.
>
> Runtime not tested, anyone fancy taking it from here?

Thanks, Stuart. I can take it from here in a few hours, if no one beats
me to it.

~Brian

> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/codeblocks/Makefile,v
> retrieving revision 1.46
> diff -u -p -r1.46 Makefile
> --- Makefile  20 Jan 2018 15:05:34 -  1.46
> +++ Makefile  5 Feb 2018 21:34:10 -
> @@ -3,12 +3,12 @@
>  BROKEN-alpha=sqvm.cpp:394:1: internal compiler error: Segmentation 
> fault
>  COMMENT= Code::Blocks C/C++ IDE
>  
> -V=   16.01
> +V=   17.12
>  DISTNAME=codeblocks_${V}
>  PKGNAME= codeblocks-${V}
> -REVISION=5
> +EXTRACT_SUFX=.tar.xz
>  
> -WRKDIST= ${WRKDIR}/codeblocks-${V}.release
> +WRKDIST= ${WRKDIR}/codeblocks-${V}
>  
>  SHARED_LIBS +=  codeblocks   0.1  # 0.1
>  SHARED_LIBS +=  wxchartctrl  0.1  # 0.1
> @@ -31,24 +31,24 @@ HOMEPAGE= http://www.codeblocks.org/
>  # GPLv3
>  PERMIT_PACKAGE_CDROM=Yes
>  
> -WANTLIB += ICE SDL SM X11 Xcomposite Xcursor Xdamage Xext Xfixes
> -WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 bz2 c cairo
> -WANTLIB += expat ffi fontconfig freetype gamin-1 gdk-x11-2.0 gdk_pixbuf-2.0
> -WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2
> -WANTLIB += gthread-2.0 gtk-x11-2.0 harfbuzz hunspell-1.6 iconv intl iodbc
> +WANTLIB += ${COMPILER_LIBCXX} ICE SDL SM X11 Xcomposite Xcursor
> +WANTLIB += Xdamage Xext Xfixes Xi Xinerama Xrandr Xrender Xxf86vm
> +WANTLIB += atk-1.0 boost_system bz2 c cairo expat ffi fontconfig
> +WANTLIB += freetype gamin-1 gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
> +WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 graphite2 gthread-2.0
> +WANTLIB += gtk-x11-2.0 harfbuzz hunspell-1.6 iconv intl iodbc
>  WANTLIB += jpeg m mspack pango-1.0 pangocairo-1.0 pangoft2-1.0
> -WANTLIB += pcre pixman-1 png pthread sndio ${LIBCXX}
> -WANTLIB += tiff usbhid wx_base wx_base_net wx_base_odbc wx_base_xml
> -WANTLIB += wx_gtk2_adv wx_gtk2_aui wx_gtk2_core wx_gtk2_dbgrid
> -WANTLIB += wx_gtk2_html wx_gtk2_qa wx_gtk2_richtext wx_gtk2_xrc
> -WANTLIB += xcb xcb-render xcb-shm z ${COMPILER_LIBCXX}
> +WANTLIB += pcre pixman-1 png sndio tiff usbhid wx_base wx_base_net
> +WANTLIB += wx_base_odbc wx_base_xml wx_gtk2_adv wx_gtk2_aui wx_gtk2_core
> +WANTLIB += wx_gtk2_dbgrid wx_gtk2_html wx_gtk2_qa wx_gtk2_richtext
> +WANTLIB += wx_gtk2_xrc xcb xcb-render xcb-shm z
>  
>  MASTER_SITES=${MASTER_SITE_SOURCEFORGE:=codeblocks/Sources/${V}/}
>  
> -BUILD_DEPENDS=   archivers/zip \
> - devel/boost
> +BUILD_DEPENDS=   archivers/zip
>  
>  LIB_DEPENDS= archivers/bzip2 \
> + devel/boost \
>   sysutils/gamin \
>   textproc/hunspell \
>   x11/wxWidgets
> @@ -67,8 +67,7 @@ BUILD_DEPENDS +=${MODGNU_AUTOCONF_DEPEN
>   devel/libtool
>  
>  CONFIGURE_STYLE=gnu
> -# nullptr test must pass
> -CXXFLAGS +=  -std=c++11 -Wno-c++11-narrowing
> +CXXFLAGS +=  -std=c++11
>  CONFIGURE_ENV=   CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
>   LDFLAGS="-L${LOCALBASE}/lib"
>  CONFIGURE_ARGS=  --with-contrib-plugins=all
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/codeblocks/distinfo,v
> retrieving revision 1.5
> diff -u -p -r1.5 distinfo
> --- distinfo  30 Jan 2016 11:20:01 -  1.5
> +++ distinfo  5 Feb 2018 21:34:10 -
> @@ -1,2 +1,2 @@
> -SHA256 (codeblocks_16.01.tar.gz) = 
> MPudIG30qzwuL+wkUaCnyXI7/tmmc8yb5x6IHFKdWgM=
> -SIZE (codeblocks_16.01.tar.gz) = 20250097
> +SHA256 (codeblocks_17.12.tar.xz) = 
> E4gaCnJ2lpToLlMbjngU1R+/H6EixzxQBOGGVg+8V+A=
> +SIZE (codeblocks_17.12.tar.xz) = 15725976
> Index: 

CVS: cvs.openbsd.org: ports

2018-02-05 Thread Okan Demirmen
CVSROOT:/cvs
Module name:ports
Changes by: o...@cvs.openbsd.org2018/02/05 14:38:44

Modified files:
mail/mailman   : Makefile distinfo 
mail/mailman/patches: patch-Mailman_Defaults_py_in 
  patch-Mailman_htmlformat_py 
mail/mailman/pkg: PLIST 

Log message:
Update to 2.1.26; includes CVE-2018-5950 fix.

ok bcallah@



Re: [update] devel/codeblocks

2018-02-05 Thread Stuart Henderson
On 2018/02/05 14:31, Stuart Henderson wrote:
> On 2018/02/05 09:26, Josh Grosse wrote:
> > On 2018-02-05 07:41, Amit Kulkarni wrote:
> > > > > When I ran 'make update-patches' some patches got regenerated.
> > > > > Also, when I ran 'make port-lib-depends-check' I got some complaints 
> > > > > about
> > > > > boost_system.7 missing.
> > > > 
> > > > I received a similar NOT_REACHABLE error, for boost_system.8 (which
> > > > is -current)
> > > > during one build, but it was not a reproduceable issue.  Here on
> > > > amd64, I
> > > > was not able to reproduce the message after that first occurrance.
> > > 
> > > This happens also on make lib-depends-check on amd64. I guess WANTLIB
> > > += boost_system should fix the issue.
> > > 
> > > Thanks
> > 
> > No, because that produces a "Bogus WANTLIB" report.
> 
> Make sure you have packages and ports tree in sync. If there's a
> discrepancy it's likely to come up with errors like this, and since
> boost was updated recently including a library version number bump,
> it's fairly likely here.
> 

Here's a fixed-up one. Move boost to LIB_DEPENDS, regenerated WANTLIB,
regenerated patches.

Runtime not tested, anyone fancy taking it from here?

Index: Makefile
===
RCS file: /cvs/ports/devel/codeblocks/Makefile,v
retrieving revision 1.46
diff -u -p -r1.46 Makefile
--- Makefile20 Jan 2018 15:05:34 -  1.46
+++ Makefile5 Feb 2018 21:34:10 -
@@ -3,12 +3,12 @@
 BROKEN-alpha=  sqvm.cpp:394:1: internal compiler error: Segmentation fault
 COMMENT=   Code::Blocks C/C++ IDE
 
-V= 16.01
+V= 17.12
 DISTNAME=  codeblocks_${V}
 PKGNAME=   codeblocks-${V}
-REVISION=  5
+EXTRACT_SUFX=  .tar.xz
 
-WRKDIST=   ${WRKDIR}/codeblocks-${V}.release
+WRKDIST=   ${WRKDIR}/codeblocks-${V}
 
 SHARED_LIBS +=  codeblocks   0.1  # 0.1
 SHARED_LIBS +=  wxchartctrl  0.1  # 0.1
@@ -31,24 +31,24 @@ HOMEPAGE=   http://www.codeblocks.org/
 # GPLv3
 PERMIT_PACKAGE_CDROM=  Yes
 
-WANTLIB += ICE SDL SM X11 Xcomposite Xcursor Xdamage Xext Xfixes
-WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 bz2 c cairo
-WANTLIB += expat ffi fontconfig freetype gamin-1 gdk-x11-2.0 gdk_pixbuf-2.0
-WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2
-WANTLIB += gthread-2.0 gtk-x11-2.0 harfbuzz hunspell-1.6 iconv intl iodbc
+WANTLIB += ${COMPILER_LIBCXX} ICE SDL SM X11 Xcomposite Xcursor
+WANTLIB += Xdamage Xext Xfixes Xi Xinerama Xrandr Xrender Xxf86vm
+WANTLIB += atk-1.0 boost_system bz2 c cairo expat ffi fontconfig
+WANTLIB += freetype gamin-1 gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
+WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 graphite2 gthread-2.0
+WANTLIB += gtk-x11-2.0 harfbuzz hunspell-1.6 iconv intl iodbc
 WANTLIB += jpeg m mspack pango-1.0 pangocairo-1.0 pangoft2-1.0
-WANTLIB += pcre pixman-1 png pthread sndio ${LIBCXX}
-WANTLIB += tiff usbhid wx_base wx_base_net wx_base_odbc wx_base_xml
-WANTLIB += wx_gtk2_adv wx_gtk2_aui wx_gtk2_core wx_gtk2_dbgrid
-WANTLIB += wx_gtk2_html wx_gtk2_qa wx_gtk2_richtext wx_gtk2_xrc
-WANTLIB += xcb xcb-render xcb-shm z ${COMPILER_LIBCXX}
+WANTLIB += pcre pixman-1 png sndio tiff usbhid wx_base wx_base_net
+WANTLIB += wx_base_odbc wx_base_xml wx_gtk2_adv wx_gtk2_aui wx_gtk2_core
+WANTLIB += wx_gtk2_dbgrid wx_gtk2_html wx_gtk2_qa wx_gtk2_richtext
+WANTLIB += wx_gtk2_xrc xcb xcb-render xcb-shm z
 
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=codeblocks/Sources/${V}/}
 
-BUILD_DEPENDS= archivers/zip \
-   devel/boost
+BUILD_DEPENDS= archivers/zip
 
 LIB_DEPENDS=   archivers/bzip2 \
+   devel/boost \
sysutils/gamin \
textproc/hunspell \
x11/wxWidgets
@@ -67,8 +67,7 @@ BUILD_DEPENDS +=  ${MODGNU_AUTOCONF_DEPEN
devel/libtool
 
 CONFIGURE_STYLE=gnu
-# nullptr test must pass
-CXXFLAGS +=-std=c++11 -Wno-c++11-narrowing
+CXXFLAGS +=-std=c++11
 CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
 CONFIGURE_ARGS=--with-contrib-plugins=all
Index: distinfo
===
RCS file: /cvs/ports/devel/codeblocks/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo30 Jan 2016 11:20:01 -  1.5
+++ distinfo5 Feb 2018 21:34:10 -
@@ -1,2 +1,2 @@
-SHA256 (codeblocks_16.01.tar.gz) = MPudIG30qzwuL+wkUaCnyXI7/tmmc8yb5x6IHFKdWgM=
-SIZE (codeblocks_16.01.tar.gz) = 20250097
+SHA256 (codeblocks_17.12.tar.xz) = E4gaCnJ2lpToLlMbjngU1R+/H6EixzxQBOGGVg+8V+A=
+SIZE (codeblocks_17.12.tar.xz) = 15725976
Index: patches/patch-configure
===
RCS file: /cvs/ports/devel/codeblocks/patches/patch-configure,v
retrieving revision 1.5
diff -u -p -r1.5 patch-configure
--- patches/patch-configure 30 Jan 2016 11:20:01 -  1.5
+++ 

CVS: cvs.openbsd.org: ports

2018-02-05 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2018/02/05 14:35:11

Modified files:
www/w3m: Tag: OPENBSD_6_2 Makefile distinfo 

Log message:
Security update to Debian patch 36.  Fixes for:
- multiple flaws with malformed text (buffer overflow, use after free)
- stack overflow with malformed text [CVE-2018-6196]
- null deref with malformed text [CVE-2018-6197]
- /tmp file races only when ~/.w3m is unwritable [CVE-2018-6198]

Reminded by and ok tj@



CVS: cvs.openbsd.org: ports

2018-02-05 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2018/02/05 13:36:50

Modified files:
www/w3m: Makefile distinfo 

Log message:
Security update to Debian patch 36.  Fixes for:
- multiple flaws with malformed text (buffer overflow, use after free)
- stack overflow with malformed text [CVE-2018-6196]
- null deref with malformed text [CVE-2018-6197]
- /tmp file races only when ~/.w3m is unwritable [CVE-2018-6198]

Reminded by and ok tj@



Re: NEW: devel/p5-Test-Command

2018-02-05 Thread Alexander Bluhm
On Sun, Jan 28, 2018 at 04:34:59AM +0100, Klemens Nanni wrote:
> Test::Command is a TEST_DEPENDS for the upcoming graphics/feh-2.23
> update, all tests (for this port) pass.

OK bluhm@



CVS: cvs.openbsd.org: ports

2018-02-05 Thread Robert Nagy
CVSROOT:/cvs
Module name:ports
Changes by: rob...@cvs.openbsd.org  2018/02/05 10:15:05

Modified files:
editors/libreoffice: Makefile distinfo 
editors/libreoffice/patches: patch-RepositoryExternal_mk 
 patch-basic_source_runtime_methods_cxx 
 patch-configure 
 patch-desktop_source_app_app_cxx 
 
patch-external_cppunit_UnpackedTarball_cppunit_mk 
 patch-external_libexttextcat_openbsd_patch 
 
patch-external_libfreehand_ExternalProject_libfreehand_mk 
 
patch-external_libmspub_ExternalProject_libmspub_mk 
 
patch-external_libmwaw_ExternalProject_libmwaw_mk 
 
patch-external_libodfgen_ExternalProject_libodfgen_mk 
 
patch-external_liborcus_ExternalPackage_liborcus_mk 
 
patch-external_libpagemaker_ExternalProject_libpagemaker_mk 
 
patch-external_libstaroffice_ExternalProject_libstaroffice_mk 
 
patch-external_libvisio_ExternalProject_libvisio_mk 
 
patch-external_libwpd_ExternalProject_libwpd_mk 
 
patch-external_libwps_ExternalProject_libwps_mk 
 patch-filter_Executable_svg2odf_mk 
 patch-include_osl_endian_h 
 patch-oox_Library_oox_mk 
 patch-sal_cppunittester_cppunittester_cxx 
 patch-sc_source_core_data_column3_cxx 
 patch-sc_source_core_data_types_cxx 
 patch-shell_source_unix_exec_shellexec_cxx 
 patch-shell_source_unix_misc_senddoc_sh 
 patch-solenv_bin_ooinstall 
 
patch-solenv_gbuild_platform_com_GCC_defs_mk 
 patch-solenv_gbuild_platform_unxgcc_mk 
 
patch-stoc_source_corereflection_criface_cxx 
 patch-svtools_Executable_langsupport_mk 
 patch-vcl_Library_vclplug_gen_mk 
 patch-vcl_Library_vclplug_kde4_mk 
 patch-vcl_source_salmain_salmain_cxx 
 patch-vcl_unx_generic_app_wmadaptor_cxx 
 
patch-writerfilter_source_rtftok_rtfsprm_hxx 
editors/libreoffice/pkg: PLIST-i18n-ar PLIST-i18n-bg 
 PLIST-i18n-ca PLIST-i18n-de 
 PLIST-i18n-es PLIST-i18n-fa 
 PLIST-i18n-fi PLIST-i18n-fr 
 PLIST-i18n-hu PLIST-i18n-it 
 PLIST-i18n-kk PLIST-i18n-lt 
 PLIST-i18n-lv PLIST-i18n-nl 
 PLIST-i18n-pl PLIST-i18n-pt-br 
 PLIST-i18n-ru PLIST-i18n-sl 
 PLIST-i18n-sv PLIST-main 
Added files:
editors/libreoffice/patches: patch-bean_Library_officebean_mk 
 patch-desktop_Executable_oosplash_mk 
 patch-desktop_Executable_soffice_bin_mk 
 
patch-external_cppunit_openbsd-cppunit_patch_0 
 patch-external_epoxy_Library_epoxy_mk 
 
patch-external_libexttextcat_UnpackedTarball_libexttextcat_mk 
 
patch-external_liblangtag_ExternalProject_liblangtag_mk 
 
patch-external_libqxp_UnpackedTarball_libqxp_mk 
 patch-external_libqxp_fabs_patch 
 
patch-external_pdfium_UnpackedTarball_pdfium_mk 
 patch-external_pdfium_pdfium-openbsd_patch 
 patch-sdext_Module_sdext_mk 
 patch-svx_Executable_gengal_mk 
 patch-svx_Executable_pixelctl_mk 
 patch-xmlsecurity_Executable_pdfverify_mk 
Removed files:
editors/libreoffice/patches: 
 
patch-external_cppunit_openbsd-cppunit_patch 
 
patch-external_libexttextcat_UnpackedTarball_exttextcat_mk 
 

[UPDATE] sysutils/bitrot to 0.9.2 and take maintainer

2018-02-05 Thread Bryan Vyhmeister
This is an update from sysutils bitrot 0.9.0 to 0.9.2. The changes are:

0.9.2

bugfix: one place in the code incorrectly hardcoded UTF-8 as the 
filesystem encoding

0.9.1

bugfix: print the path that failed to decode with FSENCODING
bugfix: when using -q, don't hide warnings about files that can't be 
statted or read
bugfix: -s is no longer broken on Python 3


I'm also willing to take MAINTAINER since it was dropped yesterday
unless someone else wants to do it. Tested on amd64.

Bryan



Index: sysutils/bitrot/Makefile
===
RCS file: /cvs/ports/sysutils/bitrot/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- sysutils/bitrot/Makefile5 Feb 2018 06:30:21 -   1.3
+++ sysutils/bitrot/Makefile5 Feb 2018 16:33:56 -
@@ -2,13 +2,14 @@
 
 COMMENT =  detects when files bit-rot
 
-MODPY_EGG_VERSION =0.9.0
+MODPY_EGG_VERSION =0.9.2
 DISTNAME = bitrot-${MODPY_EGG_VERSION}
-REVISION=  0
 
 CATEGORIES =   sysutils
 
 HOMEPAGE = https://github.com/ambv/bitrot/
+
+MAINTAINER =   Bryan Vyhmeister 
 
 # MIT
 PERMIT_PACKAGE_CDROM = Yes
Index: sysutils/bitrot/distinfo
===
RCS file: /cvs/ports/sysutils/bitrot/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- sysutils/bitrot/distinfo18 Aug 2016 01:52:29 -  1.2
+++ sysutils/bitrot/distinfo5 Feb 2018 16:33:56 -
@@ -1,2 +1,2 @@
-SHA256 (bitrot-0.9.0.tar.gz) = 3Kc+FpTxnJt8G8BRRQKm8C/ClHKVCx9WU6trqPGH7XQ=
-SIZE (bitrot-0.9.0.tar.gz) = 9159
+SHA256 (bitrot-0.9.2.tar.gz) = +AQUhSrgrDPkfn1IjaaxMzJzL1eZnRYK5VvU1QDhRwY=
+SIZE (bitrot-0.9.2.tar.gz) = 9699



CVS: cvs.openbsd.org: ports

2018-02-05 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2018/02/05 09:29:47

Modified files:
sysutils/augeas: Makefile distinfo 
sysutils/augeas/pkg: PLIST 
Added files:
sysutils/augeas/patches: patch-configure patch-src_augmatch_c 
 patch-src_augtool_c 

Log message:
- update to augeas-1.10.1
- drop maintainership

tested by and ok sebastia@



UPDATE archivers/fuse-zip

2018-02-05 Thread Björn Ketelaars
Included a diff for bringing archivers/fuse-zip to the latest version, 
which addresses:
  - Print error message and exit on nonexistent file in read-only mode.
  - Check return value of chdir().
  - Add patch to make the build reproducible.
  - Fixed errors found by static code analysis.

make port-lib-depends-check indicates that bz2 should be part of WANTLIB.
Reason is libzip, which pull bz2 in.

Lightly tested by creating a zip, adding a file to it, and extracting it.


diff --git Makefile Makefile
index ae298eb1f45..cb8b0b88b51 100644
--- Makefile
+++ Makefile
@@ -2,7 +2,7 @@
 
 COMMENT =  navigate zip archives through FUSE
 
-DISTNAME = fuse-zip-0.4.4
+DISTNAME = fuse-zip-0.4.5
 
 CATEGORIES =   archivers
 
@@ -11,7 +11,7 @@ HOMEPAGE =https://bitbucket.org/agalanin/fuse-zip
 # GPLv3+
 PERMIT_PACKAGE_CDROM = Yes
 
-WANTLIB += c fuse m ${COMPILER_LIBCXX} z zip
+WANTLIB =  ${COMPILER_LIBCXX} bz2 c fuse m z zip
 
 MASTER_SITES = https://bitbucket.org/agalanin/fuse-zip/downloads/
 
diff --git distinfo distinfo
index 6e52da6b426..947877253a0 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (fuse-zip-0.4.4.tar.gz) = xGSmPKfMFu73wUA2/gmCPKnZag71MOJ0hFBEpUQOR9I=
-SIZE (fuse-zip-0.4.4.tar.gz) = 687132
+SHA256 (fuse-zip-0.4.5.tar.gz) = LFEB9by41mbRymAnF7qQFWfa0uetfenbbluyasV0NdE=
+SIZE (fuse-zip-0.4.5.tar.gz) = 687727



Re: [NEW] devel/p5-List-Compare

2018-02-05 Thread Alexander Bluhm
On Mon, Jan 29, 2018 at 09:21:52AM -0500, James E Keenan wrote:
> >> Here is a new port, for Perl extension List-Compare (version 0.53).

Commited, Thanks

bluhm



CVS: cvs.openbsd.org: ports

2018-02-05 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:ports
Changes by: bl...@cvs.openbsd.org   2018/02/05 07:38:25

Modified files:
devel  : Makefile 

Log message:
+p5-List-Compare



CVS: cvs.openbsd.org: ports

2018-02-05 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:ports
Changes by: bl...@cvs.openbsd.org   2018/02/05 07:37:13

Log message:
import p5-List-Compare 0.53
from James E Keenan; OK afresh1

Comment:
compare elements of two or more lists

Description:
List::Compare is a Perl module which provides ways of comparing
two or more lists.

List::Compare provides an object-oriented interface which accepts Perl
arrays and hashes as arguments and returns data structures representing
comparisons such as intersection, union, complement, symmetric
difference, subset and so forth.

A functional interface is also available via List::Compare::Functional.

Status:

Vendor Tag: bluhm
Release Tags:   jkeenan_20180205

N ports/devel/p5-List-Compare/Makefile
N ports/devel/p5-List-Compare/distinfo
N ports/devel/p5-List-Compare/pkg/DESCR
N ports/devel/p5-List-Compare/pkg/PLIST

No conflicts created by this import



Re: [update] devel/codeblocks

2018-02-05 Thread Stuart Henderson
On 2018/02/05 09:26, Josh Grosse wrote:
> On 2018-02-05 07:41, Amit Kulkarni wrote:
> > > > When I ran 'make update-patches' some patches got regenerated.
> > > > Also, when I ran 'make port-lib-depends-check' I got some complaints 
> > > > about
> > > > boost_system.7 missing.
> > > 
> > > I received a similar NOT_REACHABLE error, for boost_system.8 (which
> > > is -current)
> > > during one build, but it was not a reproduceable issue.  Here on
> > > amd64, I
> > > was not able to reproduce the message after that first occurrance.
> > 
> > This happens also on make lib-depends-check on amd64. I guess WANTLIB
> > += boost_system should fix the issue.
> > 
> > Thanks
> 
> No, because that produces a "Bogus WANTLIB" report.

Make sure you have packages and ports tree in sync. If there's a
discrepancy it's likely to come up with errors like this, and since
boost was updated recently including a library version number bump,
it's fairly likely here.



Re: [update] devel/codeblocks

2018-02-05 Thread Josh Grosse

On 2018-02-05 07:41, Amit Kulkarni wrote:

> When I ran 'make update-patches' some patches got regenerated.
> Also, when I ran 'make port-lib-depends-check' I got some complaints about
> boost_system.7 missing.

I received a similar NOT_REACHABLE error, for boost_system.8 (which is 
-current)
during one build, but it was not a reproduceable issue.  Here on 
amd64, I

was not able to reproduce the message after that first occurrance.


This happens also on make lib-depends-check on amd64. I guess WANTLIB
+= boost_system should fix the issue.

Thanks


No, because that produces a "Bogus WANTLIB" report.

I suspect this may possibly be a problem with DPB_PROPERTIES=parallel 
issue,

perhaps from the order of entries in the source file provided to
check-lib-depends(1).  But this is conjecture, I need to do more
testing.



CVS: cvs.openbsd.org: ports

2018-02-05 Thread Gonzalo L . Rodriguez
CVSROOT:/cvs
Module name:ports
Changes by: gonz...@cvs.openbsd.org 2018/02/05 07:03:26

Modified files:
www/varnish: Makefile 
www/varnish/pkg: varnishd.rc 

Log message:
[FIX] varnish pexp doesn't match on rc script.

>From Tom Van Looy, thanks!



Re: [FIX] mail/exim rc script fix

2018-02-05 Thread Jeremie Courreges-Anglas
On Mon, Feb 05 2018, Stuart Henderson  wrote:
> On 2018/01/31 10:47, Christian Gut wrote:
>> Hi ports@
>> 
>> for the second time in history I got a failed exim start after
>> upgrading an OpenBSD release. The cause: /etc/rc.d/exim checks,
>> whether /etc/mailer.conf.exim is present and (silently) fails to
>> start, if present. This also is pretty difficult to find.
>> 
>> As I understand the reason for this check, the other mta in ports do not do 
>> this. It even seems wrong, as mailer.conf contains the exim binaries, but 
>> mailer.conf.exim is brought back by port upgrade.
>> 
>> I attach two possible patches to address this issue:
>> 
>> exim.rc.nocheck.patch removes rc_pre to bring it in line with other mta
>> exim.rc.grep.patch replaces the check with a direct check, if mailer.conf 
>> has “exim” in it and does some logging to report the issue.
>> 
>> Please provide me with feedback for better solutions.
>> 
>> Kind Regards,
>> Christian
>
>
> I think removing the check makes more sense. (REVISION bump needed as
> well, but no need to re-send just for that). Anyone else have comments?

No further comment here, ok jca@

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



CVS: cvs.openbsd.org: ports

2018-02-05 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2018/02/05 06:47:27

Modified files:
sysutils/parallel: Makefile distinfo 

Log message:
Update to 20180122, from Bjorn Ketelaars.



Re: [UPDATE] net/rsync to 3.1.3

2018-02-05 Thread Daniel Jakots
On Wed, 31 Jan 2018 09:46:00 -0800, Bryan Vyhmeister
 wrote:

> On Wed, Jan 31, 2018 at 12:39:42PM -0500, Daniel Jakots wrote:
> > cvs rm -f /path/to/patch and then cvs diff ;)  
> 
> Thanks! That was exactly what I was missing. Updated diff with the
> patches removed below.

I don't know how you did the patch but I had to specify the patch
files as it didn't find them. No worry though, I appreciate the effort.

Here's a diff that should apply cleanly with also regenerated patches.

 anything actually new, or they're just folding patches ? ->
there are:

>   ENHANCEMENTS:
> 
> - Added the ability for rsync to compare nanosecond times in its
> file-check comparisons, and added support nanosecond times on Mac OS
> X.
> - Added a short-option (-@) for --modify-window.
> - Added the --checksum-choice=NAME[,NAME] option to choose the
> checksum algorithms.
> - Added hashing of xattr names (with using -X) to improve the
> handling of files with large numbers of xattrs.
> - Added a way to filter xattr names using include/exclude/filter
> rules (see the --xattrs option in the manpage for details).
> - Added "daemon chroot|uid|gid" to the daemon config (in addition
> to the old chroot|uid|gid settings that affect the daemon's transfer
> process).
> - Added "syslog tag" to the daemon configuration.
> - Some manpage improvements.


other than that NEWS is filled with security fixes and bug fixes.

Cheers,
Daniel

Index: Makefile
===
RCS file: /cvs/ports/net/rsync/Makefile,v
retrieving revision 1.79
diff -u -p -r1.79 Makefile
--- Makefile11 Jan 2018 19:27:07 -  1.79
+++ Makefile5 Feb 2018 13:45:21 -
@@ -2,8 +2,7 @@
 
 COMMENT =  mirroring/synchronization over low bandwidth links
 
-DISTNAME = rsync-3.1.2
-REVISION = 2
+DISTNAME = rsync-3.1.3
 CATEGORIES =   net
 HOMEPAGE = https://rsync.samba.org/
 
Index: distinfo
===
RCS file: /cvs/ports/net/rsync/distinfo,v
retrieving revision 1.28
diff -u -p -r1.28 distinfo
--- distinfo10 Jan 2016 21:36:22 -  1.28
+++ distinfo5 Feb 2018 13:45:21 -
@@ -1,2 +1,2 @@
-SHA256 (rsync-3.1.2.tar.gz) = 7Ppip/o8TBi57M2MFurd7kvTCKdupQtcAqWEDwnAocI=
-SIZE (rsync-3.1.2.tar.gz) = 892724
+SHA256 (rsync-3.1.3.tar.gz) = VcxVTv7F/arXDekhzVpe62wpqVUkxxXzu/hJI1sIAMA=
+SIZE (rsync-3.1.3.tar.gz) = 905908
Index: patches/patch-receiver_c
===
RCS file: patches/patch-receiver_c
diff -N patches/patch-receiver_c
--- patches/patch-receiver_c19 Dec 2017 19:58:39 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,45 +0,0 @@
-$OpenBSD: patch-receiver_c,v 1.3 2017/12/19 19:58:39 danj Exp $
-
-Backport from upstream
-3e06d40029cfdce9d0f73d87cfd4edaf54be9c51
-5509597decdbd7b91994210f700329d8a35e70a1
-f5e8a17e093065fb20fea00a29540fe2c7896441
-
-Index: receiver.c
 receiver.c.orig
-+++ receiver.c
-@@ -583,6 +583,12 @@ int recv_files(int f_in, int f_out, char *local_name)
-   if (DEBUG_GTE(RECV, 1))
-   rprintf(FINFO, "recv_files(%s)\n", fname);
- 
-+  if (daemon_filter_list.head && (*fname != '.' || fname[1] != 
'\0')
-+   && check_filter(_filter_list, FLOG, fname, 0) < 0) {
-+  rprintf(FERROR, "attempt to hack rsync failed.\n");
-+  exit_cleanup(RERR_PROTOCOL);
-+  }
-+
- #ifdef SUPPORT_XATTRS
-   if (preserve_xattrs && iflags & ITEM_REPORT_XATTR && do_xfers
-&& !(want_xattr_optim && BITS_SET(iflags, 
ITEM_XNAME_FOLLOWS|ITEM_LOCAL_CHANGE)))
-@@ -651,12 +657,6 @@ int recv_files(int f_in, int f_out, char *local_name)
- 
-   cleanup_got_literal = 0;
- 
--  if (daemon_filter_list.head
--  && check_filter(_filter_list, FLOG, fname, 0) < 0) {
--  rprintf(FERROR, "attempt to hack rsync failed.\n");
--  exit_cleanup(RERR_PROTOCOL);
--  }
--
-   if (read_batch) {
-   int wanted = redoing
-  ? we_want_redo(ndx)
-@@ -728,7 +728,7 @@ int recv_files(int f_in, int f_out, char *local_name)
-   break;
-   }
-   if (!fnamecmp || (daemon_filter_list.head
--&& check_filter(_filter_list, FLOG, fname, 0) 
< 0)) {
-+&& check_filter(_filter_list, FLOG, fnamecmp, 
0) < 0)) {
-   fnamecmp = fname;
-   fnamecmp_type = FNAMECMP_FNAME;
-   }
Index: patches/patch-rsync_1
===
RCS file: /cvs/ports/net/rsync/patches/patch-rsync_1,v
retrieving revision 1.5
diff -u -p -r1.5 patch-rsync_1
--- 

Re: [FIX] mail/exim rc script fix

2018-02-05 Thread Stuart Henderson
On 2018/01/31 10:47, Christian Gut wrote:
> Hi ports@
> 
> for the second time in history I got a failed exim start after upgrading an 
> OpenBSD release. The cause: /etc/rc.d/exim checks, whether 
> /etc/mailer.conf.exim is present and (silently) fails to start, if present. 
> This also is pretty difficult to find.
> 
> As I understand the reason for this check, the other mta in ports do not do 
> this. It even seems wrong, as mailer.conf contains the exim binaries, but 
> mailer.conf.exim is brought back by port upgrade.
> 
> I attach two possible patches to address this issue:
> 
> exim.rc.nocheck.patch removes rc_pre to bring it in line with other mta
> exim.rc.grep.patch replaces the check with a direct check, if mailer.conf has 
> “exim” in it and does some logging to report the issue.
> 
> Please provide me with feedback for better solutions.
> 
> Kind Regards,
> Christian


I think removing the check makes more sense. (REVISION bump needed as
well, but no need to re-send just for that). Anyone else have comments?

This port could really do with a maintainer, I've done most of the
recent updates but don't use it myself.



[FIX] mail/exim rc script fix

2018-02-05 Thread Christian Gut
Hi ports@

for the second time in history I got a failed exim start after upgrading an 
OpenBSD release. The cause: /etc/rc.d/exim checks, whether 
/etc/mailer.conf.exim is present and (silently) fails to start, if present. 
This also is pretty difficult to find.

As I understand the reason for this check, the other mta in ports do not do 
this. It even seems wrong, as mailer.conf contains the exim binaries, but 
mailer.conf.exim is brought back by port upgrade.

I attach two possible patches to address this issue:

exim.rc.nocheck.patch removes rc_pre to bring it in line with other mta
exim.rc.grep.patch replaces the check with a direct check, if mailer.conf has 
“exim” in it and does some logging to report the issue.

Please provide me with feedback for better solutions.

Kind Regards,
Christian


exim.rc.grep.patch
Description: Binary data


exim.rc.nocheck.patch
Description: Binary data


Re: [FIX] varnish pexp doesn't match

2018-02-05 Thread Gonzalo L. Rodriguez
Yes, you are right.

Thanks!

On [03/02/18] [10:53P], Tom Van Looy wrote:
; Hi
; 
; I was not able to stop varnish on my machine and noticed that the pexp
; didn't match. This my ps output:
; 
; _varnish 10665  1.2  4.2 24280 88380 ??  S 10:21PM0:00.46 varnishd:
; Varnish-Child -i x.home.ctors.net (varnishd)
; _varnish 21965  0.0  0.1  1608  2240 ??  Ss10:21PM0:00.01 varnishd:
; Varnish-Mgt -i x.home.ctors.net (varnishd)
; 
; So, here is a fix for it:
; 
; Index: www/varnish//pkg/varnishd.rc
; ===
; RCS file: /cvs/ports/www/varnish/pkg/varnishd.rc,v
; retrieving revision 1.4
; diff -u -p -u -r1.4 varnishd.rc
; --- www/varnish//pkg/varnishd.rc11 Jan 2018 19:27:12 -  1.4
; +++ www/varnish//pkg/varnishd.rc3 Feb 2018 22:52:16 -
; @@ -7,7 +7,7 @@ daemon_flags="-j unix,user=_varnish,ccgr
; 
;  . /etc/rc.d/rc.subr
; 
; -pexp="varnishd: Varnish-Mgr $(hostname)"
; +pexp="varnishd: Varnish-Mgt -i $(hostname)"
;  rc_reload=NO
; 
;  rc_cmd $1

-- 
Sending from my toaster.



CVS: cvs.openbsd.org: ports

2018-02-05 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2018/02/05 06:07:42

Modified files:
databases/evolution-data-server: Makefile distinfo 

Log message:
Update to evolution-data-server-3.26.5.



CVS: cvs.openbsd.org: ports

2018-02-05 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2018/02/05 06:07:56

Modified files:
mail/evolution : Makefile distinfo 

Log message:
Update to evolution-3.26.5.



CVS: cvs.openbsd.org: ports

2018-02-05 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2018/02/05 06:08:10

Modified files:
mail/evolution-ews: Makefile distinfo 

Log message:
Update to evolution-ews-3.26.5.



Re: [update] devel/codeblocks

2018-02-05 Thread Amit Kulkarni
> > When I ran 'make update-patches' some patches got regenerated.
> > Also, when I ran 'make port-lib-depends-check' I got some complaints about
> > boost_system.7 missing.
> 
> I received a similar NOT_REACHABLE error, for boost_system.8 (which is 
> -current)
> during one build, but it was not a reproduceable issue.  Here on amd64, I
> was not able to reproduce the message after that first occurrance.

This happens also on make lib-depends-check on amd64. I guess WANTLIB += 
boost_system should fix the issue.

Thanks



CVS: cvs.openbsd.org: ports

2018-02-05 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2018/02/05 05:11:07

Modified files:
sysutils/iucode-tool: Makefile 

Log message:
x86-only



CVS: cvs.openbsd.org: ports

2018-02-05 Thread Edd Barrett
CVSROOT:/cvs
Module name:ports
Changes by: e...@cvs.openbsd.org2018/02/05 04:53:03

Modified files:
net/syncthing  : Makefile distinfo 
net/syncthing/patches: patch-build_go 

Log message:
Update to syncthing-0.14.43.

>From Björn Ketelaars. OK awolk@, thanks.



CVS: cvs.openbsd.org: ports

2018-02-05 Thread Juan Francisco Cantero Hurtado
CVSROOT:/cvs
Module name:ports
Changes by: juan...@cvs.openbsd.org 2018/02/05 04:19:05

Modified files:
lang/bacon : Makefile distinfo 
lang/bacon/patches: patch-Makefile_in 
lang/bacon/pkg : PLIST 

Log message:
Update to bacon 3.7.1.



CVS: cvs.openbsd.org: ports

2018-02-05 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2018/02/05 04:03:43

Modified files:
lang/vala  : Makefile 
lang/vala/pkg  : PLIST-valadoc 

Log message:
Fix build with the empty FLAVOR.

spotted by nigel@



Re: [update] devel/codeblocks

2018-02-05 Thread Josh Grosse
On Mon, Feb 05, 2018 at 02:38:03AM -0500, Brian Callahan wrote:
> Hi Josh --
> 
> On 02/04/18 23:34, Josh Grosse wrote:
> > Update from 16.01 to 17.12.
> > 
> > Changelog:
> > http://www.codeblocks.org/downloads/binaries/changelog
> > 
> > Initial testing underway on amd64.  Builds, and runs.
> > 
> 
> When I ran 'make update-patches' some patches got regenerated.
> Also, when I ran 'make port-lib-depends-check' I got some complaints about
> boost_system.7 missing.

I received a similar NOT_REACHABLE error, for boost_system.8 (which is -current)
during one build, but it was not a reproduceable issue.  Here on amd64, I
was not able to reproduce the message after that first occurrance.

I'll review the changed patches.  Thank you!



CVS: cvs.openbsd.org: ports

2018-02-05 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2018/02/05 03:41:47

Modified files:
databases/mariadb: Tag: OPENBSD_6_2 Makefile distinfo 
databases/mariadb/patches: Tag: OPENBSD_6_2 
   patch-cmake_install_macros_cmake 
   patch-libmysql_CMakeLists_txt 
   patch-scripts_CMakeLists_txt 
   patch-scripts_mysql_install_db_sh 
   patch-sql_CMakeLists_txt 
   patch-storage_oqgraph_CMakeLists_txt 
databases/mariadb/pkg: Tag: OPENBSD_6_2 PLIST-tests mysqld.rc 

Log message:
backport update to MariaDB 10.0.34, req by Brad.

CVE-2018-2562, CVE-2018-2622, CVE-2018-2640, CVE-2018-2665, CVE-2018-2668,
CVE-2018-2612



CVS: cvs.openbsd.org: ports

2018-02-05 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2018/02/05 03:40:03

Modified files:
databases/mariadb: Makefile distinfo 
databases/mariadb/patches: patch-libmysql_CMakeLists_txt 
   patch-scripts_mysql_install_db_sh 
databases/mariadb/pkg: PLIST-tests 

Log message:
update to MariaDB 10.0.34, from Brad.

CVE-2018-2562, CVE-2018-2622, CVE-2018-2640, CVE-2018-2665, CVE-2018-2668,
CVE-2018-2612



CVS: cvs.openbsd.org: ports

2018-02-05 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2018/02/05 02:55:57

Modified files:
net/wget   : Makefile distinfo 
net/wget/patches: patch-doc_wget_texi 

Log message:
update to wget-1.19.4, from Björn Ketelaars.
various fixes and extra support, a particularly notable change:

"Switch off compression by default

Gzip compression has a number of bugs which need to be ironed out before
we can support it by default. Some of these stem from a misunderstanding
of the HTTP spec, but a lot of them are also due to many web servers not
being compliant with RFC 7231.

With this commit, I am marking GZip compression support as experimental
in GNU Wget pending further investigation and the addition of tests."



CVS: cvs.openbsd.org: ports

2018-02-05 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2018/02/05 02:28:08

Modified files:
graphics/libqrencode: Makefile 

Log message:
add BDEP on sdl2. it's used by the test program (built but not installed,
so doesn't need LDEP). spotted by aja@



CVS: cvs.openbsd.org: ports

2018-02-05 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2018/02/05 01:26:55

Modified files:
textproc/enchant2: Makefile distinfo 

Log message:
Update to enchant2-2.2.3.