backport net/tor update

2019-05-29 Thread Solene Rapenne
Hi

I'd like to backport the net/tor update to 6.5, works fine for me on
various machines.


Index: ports/net/tor/Makefile
diff -u ports/net/tor/Makefile:1.123 ports/net/tor/Makefile:1.124
--- ports/net/tor/Makefile:1.123Fri Feb 22 18:38:09 2019
+++ ports/net/tor/Makefile  Tue May 14 23:10:03 2019
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.123 2019/02/22 17:38:09 pascal Exp $
+# $OpenBSD: Makefile,v 1.124 2019/05/14 21:10:03 pascal Exp $
 
 COMMENT=   anonymity service using onion routing
 
-DISTNAME=  tor-0.3.5.8
+DISTNAME=  tor-0.4.0.5
 CATEGORIES=net
 HOMEPAGE=  https://www.torproject.org/
 
Index: ports/net/tor/distinfo
diff -u ports/net/tor/distinfo:1.101 ports/net/tor/distinfo:1.102
--- ports/net/tor/distinfo:1.101Fri Feb 22 18:38:09 2019
+++ ports/net/tor/distinfo  Tue May 14 23:10:03 2019
@@ -1,2 +1,2 @@
-SHA256 (tor-0.3.5.8.tar.gz) = 1cVmA5QqiSdnD1CkpGn7kJ4p01cf3QEzidVn5Xq8C0c=
-SIZE (tor-0.3.5.8.tar.gz) = 6994335
+SHA256 (tor-0.4.0.5.tar.gz) = taLL8NzT8d8mddvV7BC75viumVxBtozr4ryVv/yQaW4=
+SIZE (tor-0.4.0.5.tar.gz) = 7203877
Index: ports/net/tor/patches/patch-configure_ac
diff -u ports/net/tor/patches/patch-configure_ac:1.7 
ports/net/tor/patches/patch-configure_ac:1.8
--- ports/net/tor/patches/patch-configure_ac:1.7Mon Jan  7 23:58:05 2019
+++ ports/net/tor/patches/patch-configure_acTue May 14 23:10:03 2019
@@ -1,9 +1,9 @@
-$OpenBSD: patch-configure_ac,v 1.7 2019/01/07 22:58:05 pascal Exp $
+$OpenBSD: patch-configure_ac,v 1.8 2019/05/14 21:10:03 pascal Exp $
 disable -fasynchronous-unwind-tables as it breaks build on armv7
 Index: configure.ac
 --- configure.ac.orig
 +++ configure.ac
-@@ -1299,13 +1299,6 @@ fi
+@@ -1306,13 +1306,6 @@ fi
  CFLAGS="$saved_CFLAGS"
  AC_SUBST(F_OMIT_FRAME_POINTER)
  



UPDATED NEW PORT: openbsd-backgrounds

2019-05-29 Thread Marc Espie
So, based on feedback, attached is the new port.

In the mean time, I've got lots more contribs. Thanks guys!

So, this new port does create "decent" resolution pictures on the fly.

I've also stopped extracting then copying to fake, considering the size.
gm mogrify does a nice job in fake.

I've provided two flavors: default and large.

The default resizes to 1920x1080, large resizes to 2440x1600.

Packages weigh in at ~60MB / 100MB  roughly.

The distfile proper is fairly large, but that's not really an issue,
since that needs to be fetched just once.

Asking for okays now.

I don't know whether to hook the large flavor into the Makefile as well.
To me, 100MB seems like your average package size.


openbsd-backgrounds-1.5.tgz
Description: openbsd-backgrounds-1.5.tgz


Re: chromium runs only once

2019-05-29 Thread Robert Nagy
On 29/05/19 13:04 +0900, 岡本健二 wrote:
> I'm using chromium of yesterday's -current source, and facing problem which
> I can run chromium only once.
> 
> The secnd try to run chromium, I get the error message:
> process_metirics_openbsd.cc: Not implemented reached in bool base:
> GetSystemMemoryInfo (base: SystemMemoryInfoKB *)
> 
> The patch source of 'patch-base_process_process_metrics_openbsd_cc' says:
> 
> +bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo) {
> +  NOTIMPLEMENTED_LOG_ONCE();  <
> +  return false;
> +}
> 
> How I can solve this problem.
> 
> Kenji
> 

You can implement the missing function.



[patch] devel/meson: enable detection of libexecinfo

2019-05-29 Thread Andreas Kusalananda Kähäri
Since Meson updated from 0.50.0 to 0.50.1, the libexecinfo library, if
installed, is not properly detected with Meson's find_library().  The
attached patch (modification of an existing patch file that we already
have) fixes this for OpenBSD.

I have also opened an issue about this on the Meson Github pages.
https://github.com/mesonbuild/meson/issues/5432

Regards,

-- 
Kusalananda
Sweden
Index: patches/patch-mesonbuild_compilers_compilers_py
===
RCS file: 
/extra/cvs/ports/devel/meson/patches/patch-mesonbuild_compilers_compilers_py,v
retrieving revision 1.12
diff -u -p -r1.12 patch-mesonbuild_compilers_compilers_py
--- patches/patch-mesonbuild_compilers_compilers_py 18 Apr 2019 09:55:15 
-  1.12
+++ patches/patch-mesonbuild_compilers_compilers_py 29 May 2019 16:36:18 
-
@@ -13,6 +13,15 @@ Subject: [PATCH] Fix indent to please co
 Index: mesonbuild/compilers/compilers.py
 --- mesonbuild/compilers/compilers.py.orig
 +++ mesonbuild/compilers/compilers.py
+@@ -82,7 +82,7 @@ cflags_mapping = {'c': 'CFLAGS',
+   'rust': 'RUSTFLAGS'}
+ 
+ # execinfo is a compiler lib on BSD
+-unixy_compiler_internal_libs = ('m', 'c', 'pthread', 'dl', 'rt', 'execinfo')
++unixy_compiler_internal_libs = ('m', 'c', 'pthread', 'dl', 'rt')
+ 
+ # All these are only for C-linkable languages; see `clink_langs` above.
+ 
 @@ -1491,7 +1491,9 @@ class GnuLikeCompiler(abc.ABC):
  self.compiler_type = compiler_type
  self.base_options = ['b_pch', 'b_lto', 'b_pgo', 'b_sanitize', 
'b_coverage',


Re: Move lang/pcc to lang/pcc/pcc, update to 20190521 and add lang/pcc/pcc-libs

2019-05-29 Thread Brian Callahan




On 5/28/19 8:11 AM, Leonid Bobrov wrote:

On Mon, May 27, 2019 at 03:22:16PM -0400, Brian Callahan wrote:

Last thing this needs is to remove the hardcoded -O flags from
pcc-libs/libpcc/Makefile.in and pcc-libs/libsoftfloat/Makefile.in. Then it's
ok.

~Brian


Yay!


This is ok now, if someone wants to give an ok (or just go ahead and 
commit it).


~Brian


Index: Makefile
===
RCS file: /cvs/ports/lang/pcc/Makefile,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 Makefile
--- Makefile3 May 2019 16:59:10 -   1.17
+++ Makefile28 May 2019 12:08:00 -
@@ -1,33 +1,7 @@
  # $OpenBSD: Makefile,v 1.17 2019/05/03 16:59:10 danj Exp $
  
-COMMENT =	portable C compiler

+SUBDIR =
+SUBDIR += pcc
+SUBDIR += pcc-libs
  
-PCCVER =	1.0.0

-DISTNAME = pcc-${PCCVER}
-REVISION = 14
-EXTRACT_SUFX = .tgz
-
-CATEGORIES =   lang
-
-HOMEPAGE = http://pcc.ludd.ltu.se/
-
-# Other architectures not fully supported yet
-ONLY_FOR_ARCHS = i386 amd64
-
-# BSD
-PERMIT_PACKAGE_CDROM = Yes
-
-WANTLIB += c
-
-MASTER_SITES = http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/ \
-   ftp://pcc.ludd.ltu.se/pub/pcc-releases/
-
-CONFIGURE_STYLE = gnu
-
-CONFIG =   ${MACHINE_ARCH:S/amd64/x86_64/}-unknown-openbsd${OSREV}
-SUBST_VARS =   PCCVER CONFIG
-
-do-test:
-   cd ${WRKBUILD} && ./cc/cc/pcc --version
-
-.include 
+.include 
Index: Makefile.inc
===
RCS file: Makefile.inc
diff -N Makefile.inc
--- /dev/null   1 Jan 1970 00:00:00 -
+++ Makefile.inc28 May 2019 12:08:00 -
@@ -0,0 +1,18 @@
+# $OpenBSD: Makefile,v 1.17 2019/05/03 16:59:10 danj Exp $
+
+# Other architectures not fully supported yet
+ONLY_FOR_ARCHS = i386 amd64
+
+V =1.1.0.20190528
+EXTRACT_SUFX = .tgz
+
+CATEGORIES ?=  lang
+
+HOMEPAGE ?=http://pcc.ludd.ltu.se/
+
+# BSD
+PERMIT_PACKAGE_CDROM = Yes
+
+CONFIGURE_STYLE =gnu
+
+NO_TEST ?= Yes
Index: distinfo
===
RCS file: distinfo
diff -N distinfo
--- distinfo18 Jan 2015 03:14:19 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,2 +0,0 @@
-SHA256 (pcc-1.0.0.tgz) = WALbukbW6j+brapVuQRKBBa7QQAgwkpcKoouqvQRVss=
-SIZE (pcc-1.0.0.tgz) = 652308
Index: pcc/Makefile
===
RCS file: pcc/Makefile
diff -N pcc/Makefile
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pcc/Makefile28 May 2019 12:08:00 -
@@ -0,0 +1,22 @@
+# $OpenBSD: Makefile,v 1.17 2019/05/03 16:59:10 danj Exp $
+
+COMMENT =  portable C compiler
+
+DISTNAME = pcc-${V:E}
+PKGNAME =  pcc-${V}
+
+CATEGORIES =   lang
+
+# BSD
+PERMIT_PACKAGE_CDROM = Yes
+
+WANTLIB += c
+
+RUN_DEPENDS =  lang/pcc/pcc-libs
+
+MASTER_SITES = http://pcc.ludd.ltu.se/ftp/pub/pcc/ \
+   ftp://pcc.ludd.ltu.se/pub/pcc/
+
+CONFIGURE_ENV =YACC=/usr/bin/yacc
+
+.include 
Index: pcc/distinfo
===
RCS file: pcc/distinfo
diff -N pcc/distinfo
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pcc/distinfo28 May 2019 12:08:00 -
@@ -0,0 +1,2 @@
+SHA256 (pcc-20190528.tgz) = HGZEWtnAB7ZPZngQp8MWf7+wbQu3wAONgGWiZfMZyKM=
+SIZE (pcc-20190528.tgz) = 943292
Index: pcc/patches/patch-cc_Makefile_in
===
RCS file: pcc/patches/patch-cc_Makefile_in
diff -N pcc/patches/patch-cc_Makefile_in
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pcc/patches/patch-cc_Makefile_in28 May 2019 12:08:00 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: cc/Makefile.in
+--- cc/Makefile.in.orig
 cc/Makefile.in
+@@ -5,7 +5,7 @@
+
+ @SET_MAKE@
+
+-ALL_SUBDIRS=  cc cpp ccom cxxcom
++ALL_SUBDIRS=  cc cpp ccom
+ DIST_SUBDIRS= $(ALL_SUBDIRS) driver
+
+ all install clean:
Index: pcc/patches/patch-cc_cc_Makefile_in
===
RCS file: pcc/patches/patch-cc_cc_Makefile_in
diff -N pcc/patches/patch-cc_cc_Makefile_in
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pcc/patches/patch-cc_cc_Makefile_in 28 May 2019 12:08:00 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: cc/cc/Makefile.in
+--- cc/cc/Makefile.in.orig
 cc/cc/Makefile.in
+@@ -45,7 +45,7 @@ MDIR=$(top_srcdir)/arch/$(TARGMACHDIR)
+ COMMONDIR=$(top_srcdir)/common
+
+ DEST=cc$(EXEEXT)
+-DRIVERS=pcc pcpp p++
++DRIVERS=pcc pcpp
+
+ all: $(DEST)
+
Index: pcc/pkg/DESCR
===
RCS file: pcc/pkg/DESCR
diff -N pcc/pkg/DESCR
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pcc/pkg/DESCR   28 May 2019 12:08:00 -
@@ -0,0 +1,19 @@
+The compiler is based on the original Portable C Compiler by S. C.
+Johnson, written in the late 70's. Even though much of the compiler has
+been rewritten, some of the basics still remain.
+
+The intention is to write a C99 compiler while still keeping 

Re: lang/ghc 8.6.4

2019-05-29 Thread Matthias Kilian
Hi,

On Sun, May 26, 2019 at 11:23:55PM -0700, Greg Steuck wrote:
> I've updated a couple dozen more ports after having slacked for 2 months:
> https://github.com/blackgnezdo/ports/commits/ghc_864_may26

Thanks (and, well, I'm slacking even more than you).

I really hope to get a try of it, but first I want to experiment a
little bit with replacing all the @exec/@unexec plist entries for
registering and unregistering the hs packages (in ghc *and* the
hs-ports) by @define-tag/@tag. @espie gave me some hints; the idea
is:

- after building the port, in the fake stage, create the package
  description and install it straight into lib/ghc/package.conf.d
  (with the proper file name) and include that into the plist,

- use (via @define-tag / @tag to run ghc-pkg recache *once* after
  installation / deletion or updates.

Don't ve afraid -- if I successfully test this with ghc-8.2 and two
or three hs-ports, I'll just add all the necessary changes to your
work (and send you diffs for it).

Ciao,
Kili



[UPDATE] sysutils/consul 1.4.4 -> 1.5.1

2019-05-29 Thread Uwe Werler
Hi ports,

update to 1.5.1. Tested on amd64.

Index: Makefile
===
RCS file: /cvs/ports/sysutils/consul/Makefile,v
retrieving revision 1.30
diff -u -p -u -r1.30 Makefile
--- Makefile3 Apr 2019 08:15:51 -   1.30
+++ Makefile29 May 2019 21:53:24 -
@@ -5,7 +5,7 @@ ONLY_FOR_ARCHS= amd64
 
 COMMENT=   service discovery and configuration tool
 
-GH_TAGNAME=v1.4.4
+GH_TAGNAME=v1.5.1
 GH_ACCOUNT=hashicorp
 GH_PROJECT=consul
 
Index: distinfo
===
RCS file: /cvs/ports/sysutils/consul/distinfo,v
retrieving revision 1.19
diff -u -p -u -r1.19 distinfo
--- distinfo3 Apr 2019 08:15:51 -   1.19
+++ distinfo29 May 2019 21:53:24 -
@@ -1,2 +1,2 @@
-SHA256 (consul-1.4.4.tar.gz) = i/s75cJcsgt9hoJYL6VJaaR0V5RwHvuWfTfAarB13+Q=
-SIZE (consul-1.4.4.tar.gz) = 22736827
+SHA256 (consul-1.5.1.tar.gz) = uDdjabFph+h9P82iDrlGMURzfbx9/d0Ty6bbn49Cf9k=
+SIZE (consul-1.5.1.tar.gz) = 21123963
cvs server: Diffing files
cvs server: Diffing pkg
Index: pkg/PLIST
===
RCS file: /cvs/ports/sysutils/consul/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -u -r1.2 PLIST
--- pkg/PLIST   10 Jul 2018 15:43:54 -  1.2
+++ pkg/PLIST   29 May 2019 21:53:24 -
@@ -12,5 +12,3 @@ share/examples/consul/config.json
 @sample ${SYSCONFDIR}/consul.d/config.json
 @mode
 @sample ${LOCALSTATEDIR}/consul/
-@owner
-@group



[UPDATE] security/vault 1.1.0 -> 1.1.2

2019-05-29 Thread Uwe Werler
Hi ports,

update from vault 1.1.0 to 1.1.2

Index: Makefile
===
RCS file: /cvs/ports/security/vault/Makefile,v
retrieving revision 1.24
diff -u -p -u -r1.24 Makefile
--- Makefile21 Mar 2019 09:52:12 -  1.24
+++ Makefile29 May 2019 23:06:16 -
@@ -2,7 +2,7 @@
 
 COMMENT=   secure secret storage
 
-GH_TAGNAME=v1.1.0
+GH_TAGNAME=v1.1.2
 GH_ACCOUNT=hashicorp
 GH_PROJECT=vault
 
Index: distinfo
===
RCS file: /cvs/ports/security/vault/distinfo,v
retrieving revision 1.17
diff -u -p -u -r1.17 distinfo
--- distinfo21 Mar 2019 09:52:12 -  1.17
+++ distinfo29 May 2019 23:06:16 -
@@ -1,2 +1,2 @@
-SHA256 (vault-1.1.0.tar.gz) = 8y57skKIRvl4qkJxLNHuklv/UIGvxwnVqp8zQQgkeJU=
-SIZE (vault-1.1.0.tar.gz) = 25943119
+SHA256 (vault-1.1.2.tar.gz) = 13ZtHXbQ/W6mGFi53F30oLcheYm33tkbUAZxPDNvP+k=
+SIZE (vault-1.1.2.tar.gz) = 26026601



UPDATE net/dnstop to 20180521

2019-05-29 Thread George Rosamond
Move to GitHub from HOMEPAGE hosting.

Changes listed here: 
https://github.com/measurement-factory/dnstop/commits/master

diff attached.
Index: Makefile
===
RCS file: /cvs/ports/net/dnstop/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile	20 May 2019 20:52:34 -	1.14
+++ Makefile	29 May 2019 21:44:57 -
@@ -2,10 +2,13 @@
 
 COMMENT =		pcap-based DNS query monitor
 
-DISTNAME =		dnstop-20140915
-REVISION =		1
+DISTNAME =		dnstop-20180521
 CATEGORIES =		net
 
+GH_ACCOUNT =		measurement-factory
+GH_PROJECT =		dnstop
+GH_COMMIT =		a5a5d2e2ca9a433bb8f017682ac6f2085741bdf8
+
 # 3-clause BSD
 PERMIT_PACKAGE_CDROM =	Yes
 
@@ -14,7 +17,6 @@ WANTLIB += 		c curses pcap
 CONFIGURE_STYLE =	gnu
 
 HOMEPAGE =		http://dns.measurement-factory.com/tools/dnstop/
-MASTER_SITES =		${HOMEPAGE}src/
 
 NO_TEST =		Yes
 
Index: distinfo
===
RCS file: /cvs/ports/net/dnstop/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo	16 Sep 2014 10:32:39 -	1.8
+++ distinfo	29 May 2019 21:44:57 -
@@ -1,2 +1,2 @@
-SHA256 (dnstop-20140915.tar.gz) = tLA9AgBbFumNkj+nmVfqlH46pmOLsmdAMQLRIpDQxXo=
-SIZE (dnstop-20140915.tar.gz) = 77917
+SHA256 (dnstop-20180521-a5a5d2e2.tar.gz) = ghdd/NJNndg3j+7sy1wpDXbdj0uWfkQHuZfAKoZei88=
+SIZE (dnstop-20180521-a5a5d2e2.tar.gz) = 86690


[NEW] fonts/asap-0.20190313

2019-05-29 Thread George Rosamond
(submitted 20190331, but resubmitting with one very slight tweak in COMMENT)

from pkg/DESCR:

Asap is a contemporary sans-serif family with subtle rounded corners.
Designed by Pablo Cosgaya, Asap ("as soon as possible") has six
styles: Regular, Italic, Medium, Medium Italic, Bold and Bold Italic.
This family, specially developed for screen and desktop use, offers
a standarised character width on all styles, which means lines of
text remain the same length. This useful feature allows users to
change type styles on-the-go without reflowing a text body.

Asap is based on Ancha (designed by Pablo Cosgaya and Hector Gatti),
and has been developed with the collaboration of Andres Torresi.

thanks

g


asap-0.20190313.tgz
Description: application/compressed-tar


[NEW] fonts/archivo

2019-05-29 Thread George Rosamond
from pkg/DESCR:

Archivo was designed to be used simultaneously in print and digital
platforms. The technical and aesthetic characteristics of the font
are both crafted for high performance typography. Designed by Hector
Gatti, Archivo supports over 200 world languages. Archivo is a
grotesque sans serif typeface family from Omnibus-Type. It was
originally designed for highlights and headlines.

This family is reminiscent of late nineteenth century American
typefaces. It includes single Black weight and Narrow styles, and
was derived from Chivo.

Thanks

g


archivo-0.20190305.tgz
Description: application/compressed-tar


回复: [New]www/p5-WWW-Form-UrlEncoded

2019-05-29 Thread wen heping
Hi,

   This is the revised patch which reviewed by cwen@.
   Comments ?

wen




p5-WWW-Form-UrlEncoded.tgz
Description: p5-WWW-Form-UrlEncoded.tgz


回复: 回复: [Update] www/p5-Cookie-Baker : update to 0.10

2019-05-29 Thread wen heping
ping ...

发件人: Andrew Hewus Fresh 
发送时间: 2019年5月27日 10:39
收件人: wen heping
抄送: Charlene Wendling; ports@openbsd.org
主题: Re: 回复: [Update] www/p5-Cookie-Baker : update to 0.10

On Tue, May 21, 2019 at 02:53:38AM +, wen heping wrote:
> Here is revised patch.
> Now remove p5-CGI from TEST_DEPENDS since TEST_DEPENDS includes RUN_DEPENDS.

OK afresh1@


> wen
> 
> 发件人: Charlene Wendling 
> 发送时间: 2019年5月15日 22:13
> 收件人: wen heping
> 抄送: ports@openbsd.org
> 主题: Re: [Update] www/p5-Cookie-Baker : update to 0.10
>
> On Wed, 15 May 2019 08:38:13 +
> wen heping  wrote:
>
> > Hi, ports@ :
> >
> > Here is a patch to update www/p5-Cookie-Baker to 0.10, which is
> > required by the future update of www/p5-Plack. It build well and
> > passed all tests on my amd64-current system.
> >
> > Only one port p5-Plack depends on www/p5-Cookie-Baker, p5-Plack
> > build well and passed all tests with this update.
>
> Same results here.
>
> >Comments ?
>
> As far as Perl is concerned, TEST_DEPENDS includes RUN_DEPENDS,
> so you don't need to add www/p5-URI to TEST_DEPENDS.
>
> With that tweaked, OK cwen@
>
> > wen
>
> Charlène.

> Index: Makefile
> ===
> RCS file: /cvs/ports/www/p5-Cookie-Baker/Makefile,v
> retrieving revision 1.3
> diff -u -p -r1.3 Makefile
> --- Makefile  1 May 2019 19:57:07 -   1.3
> +++ Makefile  21 May 2019 02:51:29 -
> @@ -4,18 +4,16 @@ COMMENT =   cookie string generator / par
>
>  MODULES =cpan
>  PKG_ARCH =   *
> -DISTNAME =   Cookie-Baker-0.06
> +DISTNAME =   Cookie-Baker-0.10
>  CATEGORIES = www
> -REVISION =   0
>
>  # Perl
>  PERMIT_PACKAGE_CDROM =   Yes
>
>  RUN_DEPENDS =www/p5-URI
>
> -TEST_DEPENDS =   devel/p5-Test-Time \
> - www/p5-URI
> +TEST_DEPENDS =   devel/p5-Test-Time
>
> -CONFIGURE_STYLE =modbuild
> +CONFIGURE_STYLE =modbuild tiny
>
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/www/p5-Cookie-Baker/distinfo,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 distinfo
> --- distinfo  18 Jan 2016 22:37:16 -  1.1.1.1
> +++ distinfo  21 May 2019 02:51:29 -
> @@ -1,2 +1,2 @@
> -SHA256 (Cookie-Baker-0.06.tar.gz) = 
> Sx+xc9aXevkC+gGCQqCygJnlYSovpD4BYDgHgfXXbqA=
> -SIZE (Cookie-Baker-0.06.tar.gz) = 11976
> +SHA256 (Cookie-Baker-0.10.tar.gz) = 
> tCutFbEtpM3FyQyQL6861IQoGkIgP6TnZShmQ09vpN0=
> +SIZE (Cookie-Baker-0.10.tar.gz) = 12401


--
andrew - http://afresh1.com

The 3 great virtues of a programmer: Laziness, Impatience, and Hubris.
  --Larry Wall


[NEW】www/p5-HTTP-MultiPartParser

2019-05-29 Thread wen heping
Hi, ports@:

  Here is a patch to create www/p5-HTTP-MultiPartParser, it is required by the
update of p5-Plack, which is required by the update of p5-Dancer2.

  It build well and passed all tests on my amd64-current system.

  Comments?

wen


p5-HTTP-MultiPartParser-0.02.tar.gz
Description: p5-HTTP-MultiPartParser-0.02.tar.gz


Re: 回复: 回复: [Update] www/p5-Cookie-Baker : update to 0.10

2019-05-29 Thread Charlene Wendling
Hi Wen,

On Thu, 30 May 2019 00:05:50 +
wen heping  wrote:

> ping ...

It has just been committed. 

Charlène.

> 
> 发件人: Andrew Hewus Fresh 
> 发送时间: 2019年5月27日 10:39
> 收件人: wen heping
> 抄送: Charlene Wendling; ports@openbsd.org
> 主题: Re: 回复: [Update] www/p5-Cookie-Baker : update to 0.10
> 
> On Tue, May 21, 2019 at 02:53:38AM +, wen heping wrote:
> > Here is revised patch.
> > Now remove p5-CGI from TEST_DEPENDS since TEST_DEPENDS includes
> > RUN_DEPENDS.
> 
> OK afresh1@
> 
> 
> > wen
> > 
> > 发件人: Charlene Wendling 
> > 发送时间: 2019年5月15日 22:13
> > 收件人: wen heping
> > 抄送: ports@openbsd.org
> > 主题: Re: [Update] www/p5-Cookie-Baker : update to 0.10
> >
> > On Wed, 15 May 2019 08:38:13 +
> > wen heping  wrote:
> >
> > > Hi, ports@ :
> > >
> > > Here is a patch to update www/p5-Cookie-Baker to 0.10, which
> > > is required by the future update of www/p5-Plack. It build well
> > > and passed all tests on my amd64-current system.
> > >
> > > Only one port p5-Plack depends on www/p5-Cookie-Baker,
> > > p5-Plack build well and passed all tests with this update.
> >
> > Same results here.
> >
> > >Comments ?
> >
> > As far as Perl is concerned, TEST_DEPENDS includes RUN_DEPENDS,
> > so you don't need to add www/p5-URI to TEST_DEPENDS.
> >
> > With that tweaked, OK cwen@
> >
> > > wen
> >
> > Charlène.
> 
> > Index: Makefile
> > ===
> > RCS file: /cvs/ports/www/p5-Cookie-Baker/Makefile,v
> > retrieving revision 1.3
> > diff -u -p -r1.3 Makefile
> > --- Makefile  1 May 2019 19:57:07 -   1.3
> > +++ Makefile  21 May 2019 02:51:29 -
> > @@ -4,18 +4,16 @@ COMMENT =   cookie string generator / par
> >
> >  MODULES =cpan
> >  PKG_ARCH =   *
> > -DISTNAME =   Cookie-Baker-0.06
> > +DISTNAME =   Cookie-Baker-0.10
> >  CATEGORIES = www
> > -REVISION =   0
> >
> >  # Perl
> >  PERMIT_PACKAGE_CDROM =   Yes
> >
> >  RUN_DEPENDS =www/p5-URI
> >
> > -TEST_DEPENDS =   devel/p5-Test-Time \
> > - www/p5-URI
> > +TEST_DEPENDS =   devel/p5-Test-Time
> >
> > -CONFIGURE_STYLE =modbuild
> > +CONFIGURE_STYLE =modbuild tiny
> >
> >  .include 
> > Index: distinfo
> > ===
> > RCS file: /cvs/ports/www/p5-Cookie-Baker/distinfo,v
> > retrieving revision 1.1.1.1
> > diff -u -p -r1.1.1.1 distinfo
> > --- distinfo  18 Jan 2016 22:37:16 -  1.1.1.1
> > +++ distinfo  21 May 2019 02:51:29 -
> > @@ -1,2 +1,2 @@
> > -SHA256 (Cookie-Baker-0.06.tar.gz) =
> > Sx+xc9aXevkC+gGCQqCygJnlYSovpD4BYDgHgfXXbqA= -SIZE
> > (Cookie-Baker-0.06.tar.gz) = 11976 +SHA256
> > (Cookie-Baker-0.10.tar.gz) =
> > tCutFbEtpM3FyQyQL6861IQoGkIgP6TnZShmQ09vpN0= +SIZE
> > (Cookie-Baker-0.10.tar.gz) = 12401
> 
> 
> --
> andrew - http://afresh1.com
> 
> The 3 great virtues of a programmer: Laziness, Impatience, and Hubris.
>   --Larry Wall



Re: [NEW】www/p5-HTTP-MultiPartParser

2019-05-29 Thread Charlene Wendling
On Thu, 30 May 2019 00:34:59 +
wen heping  wrote:

> Hi, ports@:
> 
>   Here is a patch to create www/p5-HTTP-MultiPartParser, it is
> required by the update of p5-Plack, which is required by the update
> of p5-Dancer2.
> 
>   It build well and passed all tests on my amd64-current system.

Same here.
 
>   Comments?

OK cwen@ if someone is willing to import.

> wen



new: openradtool-0.7.4

2019-05-29 Thread James Turner
Information for inst:openradtool-0.7.4

Comment:
application source generator

Description:
openradtool ("ort") is an open source RAD tool generating front-end code
(JavaScript, TypeScript) and back-end code (SQL, C) for your
application, leaving you to develop your "middle-tier" business and
presentation logic.

The system consists of a set of source generators, each accepting a
single ort(5) configuration file that describes your data and how it is
accessed, modified, created, deleted. The generated sources have a
strong focus on security, documentation, and auditability.

Maintainer: James Turner 

WWW: https://kristaps.bsd.lv/openradtool/

-- 
James Turner


openradtool-0.7.4.tar.gz
Description: Binary data


Re: [update] www/p5-WWW-Search 2.517 -> 2.518

2019-05-29 Thread Andrew Hewus Fresh
On Tue, May 21, 2019 at 05:48:10AM +0200, Charlene Wendling wrote:
> 
> Here is an update for WWW::Search.
> 
> What's new upstream [0]:
> 
> - upstream don't force us to use Env anymore, as they use it for
>   their own purpose
> - if tests fail, the html content is saved to a file
> 
> What's new in the port:
> 
> - the module really needs itself as TEST_DEPENDS to perform all its
>   tests
> - devel/p5-Test-File is actually a TEST_DEPENDS
> - i've reluctantly kept the p5-Mail-* optional dependencies to avoid
>   breaking users' setup
> 
> Testing:
> 
> - 'make test' passes
> - there are 2 consumers: www/p5-WWW-Ebay (it passes), and
>   www/p5-WWW-Search-Ebay (it doesn't pass because it's outdated,
>   but it's the next on the list)
> 
> 
> Comments/feedback are welcome :) 

OK afresh1@



> Charlène.
> 
> 
> [0]
> https://metacpan.org/source/MTHURN/WWW-Search-2.518/Changes
> [1] http://0x0.st/zm4r.tgz
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/www/p5-WWW-Search/Makefile,v
> retrieving revision 1.13
> diff -u -p -u -p -r1.13 Makefile
> --- Makefile  12 May 2017 20:54:50 -  1.13
> +++ Makefile  21 May 2019 03:40:33 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT= virtual base class for WWW searches
>  
> -DISTNAME =   WWW-Search-2.517
> +DISTNAME=WWW-Search-2.518
>  CATEGORIES=  www
>  
>  # perl
> @@ -13,17 +13,21 @@ PKG_ARCH= *
>  
>  RUN_DEPENDS= converters/p5-DateManip \
>   devel/p5-File-Slurp \
> - devel/p5-Test-File \
> - mail/p5-Email-MIME>=1.910 \
> - mail/p5-Email-Send \
>   math/p5-Bit-Vector \
>   misc/p5-User \
>   www/p5-CGI \
>   www/p5-HTML-Parser>=2.23 \
>   www/p5-HTML-Tree \
>   www/p5-URI \
> - www/p5-libwww
> + www/p5-libwww>=2
> +
> +# Optional dependencies, kept to not break users' setup
> +RUN_DEPENDS+=mail/p5-Email-MIME>=1.910 \
> + mail/p5-Email-Send
> +
> +# The module needs itself to perform all its tests
>  TEST_DEPENDS=devel/p5-IO-Capture \
> + devel/p5-Test-File \
>   www/p5-WWW-Search
>  
>  MAKE_ENV+=   TEST_POD=Yes
> Index: distinfo
> ===
> RCS file: /cvs/ports/www/p5-WWW-Search/distinfo,v
> retrieving revision 1.6
> diff -u -p -u -p -r1.6 distinfo
> --- distinfo  12 May 2017 20:54:50 -  1.6
> +++ distinfo  21 May 2019 03:40:33 -
> @@ -1,2 +1,2 @@
> -SHA256 (WWW-Search-2.517.tar.gz) = 
> BAI1OzgImLJzYp0o/eTYzpDSCtx2UbeGiZICxLpRxBI=
> -SIZE (WWW-Search-2.517.tar.gz) = 95286
> +SHA256 (WWW-Search-2.518.tar.gz) = 
> WLj0lNDSAgXOzkLnw7NWfPZsxaMcPMBzdYYdCrR+ATA=
> +SIZE (WWW-Search-2.518.tar.gz) = 94261
> 

-- 
andrew - http://afresh1.com

I wish life had an UNDO function.



Re: [update] www/p5-WWW-Search-Ebay 3.042 -> 3.052

2019-05-29 Thread Andrew Hewus Fresh
On Tue, May 21, 2019 at 08:12:30AM +0200, Charlene Wendling wrote:
> 
> As said earlier, here is an update for WWW::Search::Ebay.
> 
> What's new upstream [0]:
> 
> - fix category test
> - sync with Ebay HTML changes
> - allow shipping to be "unknown"
> 
> Port-wise it's a simple update with some cleaning.
> 
> Testing:
> 
> - 'make test' passes, but you may meet HTTP 501s very often [1]
> - There is one consumer, www/p5-WWW-Ebay, and it passes [2]
> 
> Comments/feedback are welcome!

This one needs:
RUN_DEPENDS+=   www/p5-LWP-Protocol-https

and a comment that tests need the network to run, similar to
p5-WWW-Tumbler. 

It still doesn't quite seem to work right when I use:
AutoSearch --engine Ebay -n BSD -s bsd bsd

it does work though, check out:
https://www.ebay.com/itm/COMDEX-1999-special-1-4M-preview-release-of-the-NetBSD-operating-system-CD-ROM/333212907390?hash=item4d9509777e:g:GQcAAOSwX1xc2Wjm

But lots of warnings for:
Use of uninitialized value in numeric lt (<) at 
/usr/local/libdata/perl5/site_pe rl/WWW/Search/Ebay.pm line 672.

This patch seems to fix it, but I don't know if it's the right fix or if
there's some other extenuating reason that the end_date is sometimes
undefined.  I do see a few wide characters in the output so I wonder if
it's just not very unicode safe and stuff is going wrong due to that.


$OpenBSD$

Index: lib/WWW/Search/Ebay.pm
--- lib/WWW/Search/Ebay.pm.orig
+++ lib/WWW/Search/Ebay.pm
@@ -669,7 +669,7 @@ sub result_as_HTML
   my $dateNow = ParseDate('now');
   print STDERR " DDD compare end_date ==$dateEnd==\n" if (DEBUG_DATES || (1 < 
$self->{_debug}));
   print STDERR " DDD compare date_now ==$dateNow==\n" if (DEBUG_DATES || (1 < 
$self->{_debug}));
-  if (Date_Cmp($dateEnd, $dateNow) < 0)
+  if ((Date_Cmp($dateEnd, $dateNow) || 0) < 0)
 {
 $sEndedColor = 'red';
 $sEndedWord = 'ended';
@@ -1040,7 +1040,7 @@ sub _parse_tree
 &&
 (0 < $iBids) # Item got any bids
 &&
-(Date_Cmp($enddate, 'now') < 0) # Item is ended
+((Date_Cmp($enddate, 'now') || 0) < 0) # Item is ended
)
   {
   # Item must have been sold!?!


> 
> Charlène.
> 
> 
> [0]
> https://metacpan.org/diff/file?target=MTHURN/WWW-Search-Ebay-3.052/&source=MTHURN%2FWWW-Search-Ebay-3.042
> [1]
> https://www.cpantesters.org/distro/W/WWW-Search-Ebay.html?oncpan=1&distmat=1&version=3.052&grade=3
> [2] http://0x0.st/zm4L.tgz
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/www/p5-WWW-Search-Ebay/Makefile,v
> retrieving revision 1.14
> diff -u -p -u -p -r1.14 Makefile
> --- Makefile  6 Aug 2017 20:12:57 -   1.14
> +++ Makefile  21 May 2019 05:38:13 -
> @@ -2,22 +2,26 @@
>  
>  COMMENT= backend for searching www.ebay.com
>  
> -DISTNAME =   WWW-Search-Ebay-3.042
> -REVISION =   1
> +DISTNAME=WWW-Search-Ebay-3.052
>  CATEGORIES=  www
>  
> -# perl
> +# Perl
>  PERMIT_PACKAGE_CDROM=Yes
>  
>  MODULES= cpan
>  PKG_ARCH=*
>  
> -BUILD_DEPENDS =  devel/p5-Module-Install-AuthorTests
> -RUN_DEPENDS= www/p5-WWW-Search
> +BUILD_DEPENDS=   devel/p5-Module-Install-AuthorTests
> +
> +RUN_DEPENDS= converters/p5-DateManip \
> + www/p5-HTML-Tree \
> + www/p5-WWW-Search>=2.517 \
> + www/p5-libwww
> +
>  TEST_DEPENDS=devel/p5-IO-Capture
>  
>  MAKE_ENV+=   TEST_POD="Yes"
>  
> -CONFIGURE_STYLE =modinst
> +CONFIGURE_STYLE= modinst
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/www/p5-WWW-Search-Ebay/distinfo,v
> retrieving revision 1.6
> diff -u -p -u -p -r1.6 distinfo
> --- distinfo  19 Sep 2015 10:05:48 -  1.6
> +++ distinfo  21 May 2019 05:38:13 -
> @@ -1,2 +1,2 @@
> -SHA256 (WWW-Search-Ebay-3.042.tar.gz) = 
> IJnzUNMmnbHXrgb8Tbxbjb5QJ0wlu7dzCnFSYVPER5U=
> -SIZE (WWW-Search-Ebay-3.042.tar.gz) = 54585
> +SHA256 (WWW-Search-Ebay-3.052.tar.gz) = 
> osgshTeJPvhLfwLOQoGN+TW4F7cL0EBrgoE6iA6R0Gg=
> +SIZE (WWW-Search-Ebay-3.052.tar.gz) = 54632
> 

-- 
andrew - http://afresh1.com

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



NEW: www/p5-CSS-DOM

2019-05-29 Thread Anthony J. Bentley
Hi,

This set of modules provides the CSS-specific interfaces described in the
W3C DOM recommendation.

The CSS::DOM class itself implements the StyleSheet and CSSStyleSheet DOM
interfaces.

This set of modules has two modes:

1. It can validate property values, ignoring those that are invalid (just
like a real web browser), and support shorthand properties. This means you
can set font to '13px/15px My Font' and have the font-size, line-height, and
font-family properties (among others) set automatically. Also, color: green;
color: kakariki will assign 'green' to the color property, 'kakariki' not
being a recognised color value.

2. It can blithely accept all property assignments as being valid. In the
case of color: green; color: kakariki, 'kakariki' will be assigned, since it
overrides the previous assignment.

These two modes are controlled by the property_parser option to the
constructors.


This is a dependency of p5-W3C-LinkChecker, an automated 404 checker.

ok?

-- 
Anthony J. Bentley


p5-CSS-DOM.tar.gz
Description: p5-CSS-DOM.tar.gz


NEW: www/p5-W3C-LinkChecker (automated 404 checker)

2019-05-29 Thread Anthony J. Bentley
Hi,

This package contains the W3C Link Checker. It checks HTML pages for
links pointing to resources that have been moved or no longer exist.

The link checker can be run as a CGI script in a web server as well as on
the command line.  The CGI version provides a HTML interface as seen at
.


ok?

-- 
Anthony J. Bentley


p5-W3C-LinkChecker.tar.gz
Description: p5-W3C-LinkChecker.tar.gz


Re: pkg_outdated: add support for $PORTSDIR_PATH

2019-05-29 Thread Sebastien Marie
On Wed, Apr 17, 2019 at 09:11:59AM +0200, Sebastien Marie wrote:
> On Sun, Mar 24, 2019 at 12:10:32PM +0100, Sebastien Marie wrote:
> > Hi,
> > 
> > I am using PORTSDIR_PATH for local ports (aka mystuff), and I usually
> > ran pkg_outdated to check if I need to rebuild these packages (due to
> > dependencies).
> > 
> > Currently, it isn't possible out-of-box: pkg_outdated checks only for
> > "official" ports. I would like to extend it a bit to check also others
> > ports available thought PORTSDIR_PATH.
> > 
> > The following diff does that by avoid checking if the directory
> > "$portsdir/$dir" exists, but rely on make output to determine if the
> > port is accessible for futher investigation.
> > 
> > Comments or OK ?
> 
> ping
>

reping
-- 
Sebastien Marie

Index: pkg_outdated
===
RCS file: /cvs/ports/infrastructure/bin/pkg_outdated,v
retrieving revision 1.5
diff -u -p -r1.5 pkg_outdated
--- pkg_outdated19 May 2019 08:48:58 -  1.5
+++ pkg_outdated21 May 2019 04:47:52 -
@@ -45,11 +45,8 @@ sub collect_installed
$name);
return;
}
-   
-   my $subdir = $plist->{extrainfo}->{subdir};
-   $subdir =~ s/mystuff\///;
-   $subdir =~ s/\/usr\/ports\///;
 
+   my $subdir = $plist->{extrainfo}->{subdir};
$pkg->{$subdir}->{name}  = $name;
$pkg->{$subdir}->{stem}  = $stem;
$pkg->{$subdir}->{version}   = $version;
@@ -80,11 +77,7 @@ sub collect_port_versions
my @subdirs = ();
for my $subdir (keys %$pkg) {
my ($dir) = split(/,/, $subdir);
-   if (-d "$portsdir/$dir") {
-   push(@subdirs, $subdir);
-   } else {
-   push(@$notfound, $subdir);
-   }
+   push(@subdirs, $subdir);
}
 
my $cmd = "cd $portsdir && SUBDIR=\"".join(' ', @subdirs)
@@ -106,6 +99,12 @@ sub collect_port_versions
$count++;
$state->progress->show($count, $total);
next;
+   } elsif (/^>>\s+Broken dependency\:\s+(\S+)/) {
+   $subdir = $1;
+   push(@$notfound, $subdir);
+   $count++;
+   $state->progress->show($count, $total);
+   next;
}
next unless $_ or $subdir;
next if defined $error->{$subdir};
@@ -237,8 +236,7 @@ if ($opt_q) {
 }
 
 if (@notfound > 0) {
-   $state->errsay("\nPorts that can't be found in the official "
-   . "ports tree:");
+   $state->errsay("\nPorts that can't be found in the ports tree:");
for (sort @notfound) {
$state->errsay("#1", $_);
}



Re: chromium runs only once

2019-05-29 Thread 岡本健二
Chromium source is too large to my ability.
However, there is a patch for this in Freebsd 12.0-R.
Can't we apply that?

Kenji


2019年5月29日(水) 22:09 Robert Nagy :

> On 29/05/19 13:04 +0900, 岡本健二 wrote:
> > I'm using chromium of yesterday's -current source, and facing problem
> which
> > I can run chromium only once.
> >
> > The secnd try to run chromium, I get the error message:
> > process_metirics_openbsd.cc: Not implemented reached in bool base:
> > GetSystemMemoryInfo (base: SystemMemoryInfoKB *)
> >
> > The patch source of 'patch-base_process_process_metrics_openbsd_cc' says:
> >
> > +bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo) {
> > +  NOTIMPLEMENTED_LOG_ONCE();  <
> > +  return false;
> > +}
> >
> > How I can solve this problem.
> >
> > Kenji
> >
>
> You can implement the missing function.
>