CVS: cvs.openbsd.org: ports

2019-02-21 Thread Sebastien Marie
CVSROOT:/cvs
Module name:ports
Changes by: sema...@cvs.openbsd.org 2019/02/22 00:24:36

Modified files:
productivity/tryton/5.0/account: Makefile distinfo 
productivity/tryton/5.0/account_asset: Makefile distinfo 
productivity/tryton/5.0/account_be: Makefile distinfo 
productivity/tryton/5.0/account_credit_limit: Makefile distinfo 
productivity/tryton/5.0/account_de_skr03: Makefile distinfo 
productivity/tryton/5.0/account_deposit: Makefile distinfo 
productivity/tryton/5.0/account_dunning: Makefile distinfo 
productivity/tryton/5.0/account_dunning_email: Makefile distinfo 
productivity/tryton/5.0/account_dunning_fee: Makefile distinfo 
productivity/tryton/5.0/account_dunning_letter: Makefile 
distinfo 
productivity/tryton/5.0/account_es: Makefile distinfo 
productivity/tryton/5.0/account_eu: Makefile distinfo 
productivity/tryton/5.0/account_fr: Makefile distinfo 
productivity/tryton/5.0/account_fr_chorus: Makefile distinfo 
productivity/tryton/5.0/account_invoice: Makefile distinfo 
productivity/tryton/5.0/account_invoice_correction: Makefile 
distinfo 
productivity/tryton/5.0/account_invoice_history: Makefile 
 distinfo 
productivity/tryton/5.0/account_invoice_line_standalone: 
 Makefile 
 distinfo 
productivity/tryton/5.0/account_invoice_stock: Makefile distinfo 
productivity/tryton/5.0/account_payment: Makefile distinfo 
productivity/tryton/5.0/account_payment_clearing: Makefile 
  distinfo 
productivity/tryton/5.0/account_payment_sepa: Makefile distinfo 
productivity/tryton/5.0/account_payment_sepa_cfonb: Makefile 
distinfo 
productivity/tryton/5.0/account_product: Makefile distinfo 
productivity/tryton/5.0/account_statement: Makefile distinfo 
productivity/tryton/5.0/account_statement_ofx: Makefile distinfo 
productivity/tryton/5.0/account_stock_anglo_saxon: Makefile 
   distinfo 
productivity/tryton/5.0/account_stock_continental: Makefile 
   distinfo 
productivity/tryton/5.0/account_stock_landed_cost: Makefile 
   distinfo 
productivity/tryton/5.0/account_stock_landed_cost_weight: 
  Makefile 
  distinfo 
productivity/tryton/5.0/analytic_account: Makefile distinfo 
productivity/tryton/5.0/analytic_invoice: Makefile distinfo 
productivity/tryton/5.0/analytic_purchase: Makefile distinfo 
productivity/tryton/5.0/analytic_sale: Makefile distinfo 
productivity/tryton/5.0/authentication_sms: Makefile distinfo 
productivity/tryton/5.0/bank: Makefile distinfo 
productivity/tryton/5.0/carrier: Makefile distinfo 
productivity/tryton/5.0/carrier_percentage: Makefile distinfo 
productivity/tryton/5.0/carrier_weight: Makefile distinfo 
productivity/tryton/5.0/commission: Makefile distinfo 
productivity/tryton/5.0/commission_waiting: Makefile distinfo 
productivity/tryton/5.0/company: Makefile distinfo 
productivity/tryton/5.0/company_work_time: Makefile distinfo 
productivity/tryton/5.0/country: Makefile distinfo 
productivity/tryton/5.0/currency: Makefile distinfo 
productivity/tryton/5.0/customs: Makefile distinfo 
productivity/tryton/5.0/dashboard: Makefile distinfo 
productivity/tryton/5.0/edocument_uncefact: Makefile distinfo 
productivity/tryton/5.0/edocument_unece: Makefile distinfo 
productivity/tryton/5.0/google_maps: Makefile distinfo 
productivity/tryton/5.0/notification_email: Makefile distinfo 
productivity/tryton/5.0/party: Makefile distinfo 
productivity/tryton/5.0/party_relationship: Makefile distinfo 
productivity/tryton/5.0/party_siret: Makefile distinfo 
productivity/tryton/5.0/product: Makefile distinfo 
productivity/tryton/5.0/product_attribute: Makefile distinfo 
productivity/tryton/5.0/product_classification: Makefile 
distinfo 
productivity/tryton/5.0/product_classification_taxonomic: 
  Makefile 
  

CVS: cvs.openbsd.org: ports

2019-02-21 Thread Sebastien Marie
CVSROOT:/cvs
Module name:ports
Changes by: sema...@cvs.openbsd.org 2019/02/22 00:18:38

Modified files:
telephony/py-phonenumbers: Makefile distinfo 
telephony/py-phonenumbers/pkg: PLIST 

Log message:
update py-phonenumbers to 8.10.4

diff from Linda Lapinlampi linda at lindalap fi

while here take maintainership



net/p5-GeoIP2 support for mail/p5-Mail-SpamAssassin

2019-02-21 Thread Giovanni Bechis
Hi,
this diff add GeoIP2 support to SpamAssassin and makes it the default
geo library as done upstream.
Ok or is it a too heavy dependency ?
 Cheers
  Giovanni
Index: Makefile
===
RCS file: /var/cvs/ports/mail/p5-Mail-SpamAssassin/Makefile,v
retrieving revision 1.111
diff -u -p -r1.111 Makefile
--- Makefile25 Sep 2018 09:05:09 -  1.111
+++ Makefile20 Feb 2019 07:59:32 -
@@ -5,7 +5,7 @@ COMMENT=mailfilter to identify and mar
 VER=   3.4.2
 DISTNAME=  Mail-SpamAssassin-${VER}
 PKGNAME=   p5-${DISTNAME}
-REVISION=  0
+REVISION=  1
 RULESNAME= Mail-SpamAssassin-rules-${VER}.r1840640.tgz
 CATEGORIES=mail perl5
 
@@ -35,7 +35,7 @@ RUN_DEPENDS=  ${COMMON_DEPENDS} \
devel/re2c \
devel/p5-BSD-Resource \
p5-Mail-SPF-*|p5-Mail-SPF-Query-*:mail/p5-Mail-SPF \
-   
p5-Geo-IP-*|p5-IP-Country-DB_File-*|p5-IP-Country-*:net/p5-Geo-IP \
+   
p5-GeoIP2-*|p5-Geo-IP-*|p5-IP-Country-DB_File-*|p5-IP-Country-*:net/p5-GeoIP2 \
net/p5-Net-LibIDN \
net/p5-Net-Patricia \
security/gnupg \
Index: patches/patch-lib_Mail_SpamAssassin_Plugin_URILocalBL_pm
===
RCS file: patches/patch-lib_Mail_SpamAssassin_Plugin_URILocalBL_pm
diff -N patches/patch-lib_Mail_SpamAssassin_Plugin_URILocalBL_pm
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-lib_Mail_SpamAssassin_Plugin_URILocalBL_pm20 Feb 2019 
08:05:11 -
@@ -0,0 +1,34 @@
+$OpenBSD$
+
+Patch to fix URILocalBL plugin with GeoIP2 Perl module
+
+Index: lib/Mail/SpamAssassin/Plugin/URILocalBL.pm
+--- lib/Mail/SpamAssassin/Plugin/URILocalBL.pm.orig
 lib/Mail/SpamAssassin/Plugin/URILocalBL.pm
+@@ -459,16 +459,20 @@ sub check_uri_local_bl {
+ 
+ # this code burps an ugly message if it fails, but that's redirected 
elsewhere
+ my $flags = 0;
+-eval '$flags = Geo::IP::GEOIP_SILENCE' if ($gip_wanted >= $gip_have);
++my $flag_isp = 0;
++my $flag_silent = 0;
++eval '$flags = GEOIP_MEMORY_CACHE | GEOIP_CHECK_CACHE' if ($gip_wanted >= 
$gip_have);
++eval '$flag_silent = Geo::IP::GEOIP_SILENCE' if ($gip_wanted >= 
$gip_have);
++eval '$flag_isp = GEOIP_ISP_EDITION' if ($gip_wanted >= $gip_have);
+ 
+-if ($flags && $gic_wanted >= $gic_have) {
+-  $self->{geoip} = Geo::IP->new(GEOIP_MEMORY_CACHE | GEOIP_CHECK_CACHE | 
$flags);
+-  $self->{geoisp} = Geo::IP->open_type(GEOIP_ISP_EDITION, 
GEOIP_MEMORY_CACHE | GEOIP_CHECK_CACHE | $flags);
++if ($flag_silent && $gic_wanted >= $gic_have) {
++  $self->{geoip} = Geo::IP->new($flags | $flag_silent);
++  $self->{geoisp} = Geo::IP->open_type($flag_isp | $flag_silent | $flags);
+ } else {
+   open(OLDERR, ">");
+   open(STDERR, ">", "/dev/null");
+-  $self->{geoip} = Geo::IP->new(GEOIP_MEMORY_CACHE | GEOIP_CHECK_CACHE);
+-  $self->{geoisp} = Geo::IP->open_type(GEOIP_ISP_EDITION, 
GEOIP_MEMORY_CACHE | GEOIP_CHECK_CACHE);
++  $self->{geoip} = Geo::IP->new($flags);
++  $self->{geoisp} = Geo::IP->open_type($flag_isp);
+   open(STDERR, ">");
+   close(OLDERR);
+ }


signature.asc
Description: PGP signature


CVS: cvs.openbsd.org: ports

2019-02-21 Thread Remi Pointel
CVSROOT:/cvs
Module name:ports
Changes by: rpoin...@cvs.openbsd.org2019/02/21 23:42:02

Modified files:
devel/py-yapf  : Makefile distinfo 

Log message:
update yapf to 0.26.0, from Kurt Mosiejczuk (kurt at cranky dot work)



[NEW]devel/devel/p5-Ref-Util

2019-02-21 Thread wen heping
Hi:

   Here is a new port devel/p5-Ref-Util, which is neded by the future update of 
www/p5-Dancer2.
   It depends on devel/p5-Ref-Util-XS, which I submitted two minutes ago.

  It build and pass all the tests on my amd64 system on OpenBSD-current.

  Comments ?

Regards,
wen


p5-Ref-Util.tar.gz
Description: p5-Ref-Util.tar.gz


[NEW] devel/p5-Ref-Util-XS

2019-02-21 Thread wen heping
Hi:

   Here is a new port devel/p5-Ref-Util-XS, which is neded by the future update 
of www/p5-Dancer2.

  It build and pass all the tests on my amd64 system on OpenBSD-current.

  Comments ?

Regards,
wen


p5-Ref-Util-XS.tar.gz
Description: p5-Ref-Util-XS.tar.gz


[UPDATE] mail/p5-Email-Simple to 2.216

2019-02-21 Thread Andrew Hewus Fresh
Minor feature changes and enhancements, nothing exciting, but build no
longer requires RUN_DEPENDS and the POD tests moved to xt/

https://metacpan.org/changes/distribution/Email-Simple

No fallout in dependencies.

OK?


Index: Makefile
===
RCS file: /cvs/ports/mail/p5-Email-Simple/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- Makefile12 Jan 2017 14:37:03 -  1.19
+++ Makefile22 Feb 2019 04:23:00 -
@@ -1,18 +1,15 @@
 # $OpenBSD: Makefile,v 1.19 2017/01/12 14:37:03 sthen Exp $
 
-COMMENT =  simple module for handling email messages
+COMMENT =  simple parsing of RFC2822 message format and headers
 
 MODULES =  cpan
 PKG_ARCH = *
-DISTNAME = Email-Simple-2.213
+DISTNAME = Email-Simple-2.216
 CATEGORIES =   mail
 
 # Perl
 PERMIT_PACKAGE_CDROM = Yes
 
 RUN_DEPENDS =  mail/p5-Email-Date-Format
-BUILD_DEPENDS =${RUN_DEPENDS}
-
-MAKE_ENV = TEST_POD=Yes
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/mail/p5-Email-Simple/distinfo,v
retrieving revision 1.11
diff -u -p -r1.11 distinfo
--- distinfo12 Jan 2017 14:37:03 -  1.11
+++ distinfo22 Feb 2019 04:23:00 -
@@ -1,2 +1,2 @@
-SHA256 (Email-Simple-2.213.tar.gz) = 
zbl6nWRyMcwPcgejHtbsX/3muKxlBJENw3i/YZ7VfMU=
-SIZE (Email-Simple-2.213.tar.gz) = 39302
+SHA256 (Email-Simple-2.216.tar.gz) = 
2F9jzRCI0RMREDZ2qM9Jj/9WSiAbU43lLNdTteXKi9Q=
+SIZE (Email-Simple-2.216.tar.gz) = 39695



Re: [NEW] devel/p5-String-Formatter 0.102084 (Perl+MPD 3/5)

2019-02-21 Thread Andrew Hewus Fresh
On Fri, Feb 22, 2019 at 12:53:06AM +0100, Alexander Bluhm wrote:
> On Thu, Feb 21, 2019 at 11:22:12PM +0100, Charlene Wendling wrote:
> > Here is a new port, String::Formatter. It will be needed for updating 
> > audio/p5-Audio-MPD-Common.
> 
> I think you should keep String/Formatter/Cookbook.pm, it makes
> perldoc String::Formatter::Cookbook work.
> 
> Instead of an extra post-install target, you could just comment out
> bench.pl from PLIST.
> 
> @comment ${P5SITE}/String/bench.pl
> 
> I don't like the @rm -f.  The @ prevents that you see what is going
> on, and with -f it cannot fail.  What happens if in a later version
> bench.pl is not part of the distribution?  You will never notice
> that rm -f would not work.
> 
> with that OK bluhm@

I agree, @comment is the expected way to avoid installing things as long
as it goes through the rest of the build fine.

with bluhm's changes, OK afresh1@



Re: [UPDATE] devel/p5-Test-Corpus-Audio-MPD to 1.120990 (Perl+MPD 2/5)

2019-02-21 Thread Andrew Hewus Fresh
On Thu, Feb 21, 2019 at 11:21:48PM +0100, Charlene Wendling wrote:
> 
> Here is an update for Test::Corpus::Audio::MPD. You'll need the new
> devel/p5-File-ShareDir-PathClass port i've mailed just earlier. 

OK afresh1@



> What's new upstream (partial, see [1]):
> 
> - now listens on ipv6 too
> - using a software mixer
> 
> Port-wise, i've enabled more tests, only QA tests are skipped because we
> are missing some modules in the ports tree.
> 
> Testing: 
> 
> - 'make test' passes
> - The sole consumer is audio/p5-Audio-MPD, it passes as well.
> 
> Comments and feedback are welcome, 
> 
> Charlène. 
> 
> 
> [1]
> https://metacpan.org/changes/release/JQUELIN/Test-Corpus-Audio-MPD-1.120990
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/p5-Test-Corpus-Audio-MPD/Makefile,v
> retrieving revision 1.7
> diff -u -p -u -p -r1.7 Makefile
> --- Makefile  20 Mar 2016 19:56:36 -  1.7
> +++ Makefile  21 Feb 2019 20:26:19 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT= automate launching of fake mpd for testing purposes
>  
> -DISTNAME=Test-Corpus-Audio-MPD-1.110710
> +DISTNAME=Test-Corpus-Audio-MPD-1.120990
>  CATEGORIES=  devel audio
>  
>  # perl
> @@ -13,9 +13,12 @@ PKG_ARCH=  *
>  
>  CONFIGURE_STYLE= modbuild
>  
> -BUILD_DEPENDS=   ${RUN_DEPENDS}
> -RUN_DEPENDS= devel/p5-File-ShareDir \
> +RUN_DEPENDS= devel/p5-File-ShareDir>=1.0 \
> + devel/p5-File-ShareDir-PathClass \
>   devel/p5-Path-Class \
>   devel/p5-Readonly
> +
> +MAKE_ENV +=  TEST_POD=Yes RELEASE_TESTING=Yes
> +
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/p5-Test-Corpus-Audio-MPD/distinfo,v
> retrieving revision 1.3
> diff -u -p -u -p -r1.3 distinfo
> --- distinfo  18 Jan 2015 03:13:36 -  1.3
> +++ distinfo  21 Feb 2019 20:26:19 -
> @@ -1,2 +1,2 @@
> -SHA256 (Test-Corpus-Audio-MPD-1.110710.tar.gz) = 
> Wu/WYEuD4kiNeRGVn3P86UO/HVvSqpeuBoshxgiQ0RU=
> -SIZE (Test-Corpus-Audio-MPD-1.110710.tar.gz) = 33366
> +SHA256 (Test-Corpus-Audio-MPD-1.120990.tar.gz) = 
> 3tulmtGbGYkLlMxto7n2HHaKmIkcSdPky+/rEcfpGAU=
> +SIZE (Test-Corpus-Audio-MPD-1.120990.tar.gz) = 32794
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/devel/p5-Test-Corpus-Audio-MPD/pkg/PLIST,v
> retrieving revision 1.1.1.1
> diff -u -p -u -p -r1.1.1.1 PLIST
> --- pkg/PLIST 29 Sep 2010 17:17:26 -  1.1.1.1
> +++ pkg/PLIST 21 Feb 2019 20:26:19 -
> @@ -11,6 +11,7 @@ ${P5SITE}/auto/share/dist/Test-Corpus-Au
>  ${P5SITE}/auto/share/dist/Test-Corpus-Audio-MPD/music/dir1/title-artist.ogg
>  ${P5SITE}/auto/share/dist/Test-Corpus-Audio-MPD/music/dir2/
>  ${P5SITE}/auto/share/dist/Test-Corpus-Audio-MPD/music/dir2/album.ogg
> +${P5SITE}/auto/share/dist/Test-Corpus-Audio-MPD/music/title-artist-album-genre.ogg
>  ${P5SITE}/auto/share/dist/Test-Corpus-Audio-MPD/music/title.ogg
>  ${P5SITE}/auto/share/dist/Test-Corpus-Audio-MPD/playlists/
>  ${P5SITE}/auto/share/dist/Test-Corpus-Audio-MPD/playlists/test.m3u
> 

-- 
andrew - http://afresh1.com

($do || !$do) && undef($try) ;  # Master of Perl, Yoda is.  H?



Re: [NEW] devel/p5-File-ShareDir-PathClass 1.112440 (Perl+MPD 1/5)

2019-02-21 Thread Andrew Hewus Fresh
On Fri, Feb 22, 2019 at 12:36:05AM +0100, Alexander Bluhm wrote:
> On Thu, Feb 21, 2019 at 11:21:03PM +0100, Charlene Wendling wrote:
> > Here is new port for File::ShareDir::PathClass. It will be needed to
> > update devel/p5-Test-Corpus-Audio-MPD.
> 
> OK bluhm@
> 

OK afresh1@



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2019/02/21 21:07:49

Modified files:
devel/p5-Test-Pod: Makefile distinfo 

Log message:
Update devel/p5-Test-Pod to 1.52

OK cwen@



Re: [UPDATE] databases/p5-Mojo-Pg to 4.13

2019-02-21 Thread Andrew Hewus Fresh
On Thu, Feb 21, 2019 at 11:46:59AM +0200, Manolis Tzanidakis wrote:
> Hello ports,
> here is an update for databases/p5-Mojo-Pg to 4.13.
> 
> This version requires a newer version of databases/p5-SQL-Abstract than
> the one currently in the tree. A diff to update p5-SQL-Abstract was
> sent on another email to the list.

It looks like it actually wants Mojo 8.03 before tests will pass, and
with that change it seems to pass.

https://metacpan.org/source/SRI/Mojo-Pg-4.13/META.yml

So this is OK afresh1@ with the updated RUN_DEPENDS and after the
p5-Mojo update gets committed.

I don't recall if we were waiting on a new p5-Mojo patch with an updated
MAINTAINER.



> All tests successful.
> Files=10, Tests=328,  9 wallclock secs ( 0.10 usr  0.07 sys +  4.31 cusr
> 1.16 csys =  5.64 CPU)
> Result: PASS
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/databases/p5-Mojo-Pg/Makefile,v
> retrieving revision 1.3
> diff -u -p -r1.3 Makefile
> --- Makefile  20 Mar 2016 19:56:11 -  1.3
> +++ Makefile  21 Feb 2019 09:40:18 -
> @@ -4,7 +4,7 @@ COMMENT = dbd-pg wrapper for mojoliciou
>  
>  MODULES =cpan databases/postgresql
>  PKG_ARCH =   *
> -DISTNAME =   Mojo-Pg-2.17
> +DISTNAME =   Mojo-Pg-4.13
>  CATEGORIES = databases
>  MAINTAINER = Abel Abraham Camarillo Ojeda 
>  
> @@ -14,7 +14,8 @@ PERMIT_PACKAGE_CDROM =  Yes
>  CPAN_AUTHOR =SRI
>  
>  RUN_DEPENDS =databases/p5-DBD-Pg>=3.5.1 \
> - www/p5-Mojo>=6
> + databases/p5-SQL-Abstract>=1.84 \
> + www/p5-Mojo>=7.15 \
>  
>  MODPOSTGRESQL_TEST_DBNAME =  testdb
>  TEST_FLAGS = TEST_ONLINE=postgresql:///${MODPOSTGRESQL_TEST_DBNAME}
> Index: distinfo
> ===
> RCS file: /cvs/ports/databases/p5-Mojo-Pg/distinfo,v
> retrieving revision 1.2
> diff -u -p -r1.2 distinfo
> --- distinfo  7 Jan 2016 09:00:03 -   1.2
> +++ distinfo  21 Feb 2019 09:40:18 -
> @@ -1,2 +1,2 @@
> -SHA256 (Mojo-Pg-2.17.tar.gz) = MEynT/6H1qhQaQv4pvRYWJ4OXZI0R2twKJt+Y1BIGQU=
> -SIZE (Mojo-Pg-2.17.tar.gz) = 24660
> +SHA256 (Mojo-Pg-4.13.tar.gz) = XtLcqkdCMqqUg3oFQHY9IRdt5W6WaFEut7UtApfwCKA=
> +SIZE (Mojo-Pg-4.13.tar.gz) = 37795
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/databases/p5-Mojo-Pg/pkg/PLIST,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 PLIST
> --- pkg/PLIST 30 Oct 2015 16:52:04 -  1.1.1.1
> +++ pkg/PLIST 21 Feb 2019 09:40:18 -
> @@ -6,9 +6,11 @@ ${P5SITE}/Mojo/Pg/Migrations.pm
>  ${P5SITE}/Mojo/Pg/PubSub.pm
>  ${P5SITE}/Mojo/Pg/Results.pm
>  ${P5SITE}/Mojo/Pg/Transaction.pm
> +${P5SITE}/SQL/Abstract/Pg.pm
>  @man man/man3p/Mojo::Pg.3p
>  @man man/man3p/Mojo::Pg::Database.3p
>  @man man/man3p/Mojo::Pg::Migrations.3p
>  @man man/man3p/Mojo::Pg::PubSub.3p
>  @man man/man3p/Mojo::Pg::Results.3p
>  @man man/man3p/Mojo::Pg::Transaction.3p
> +@man man/man3p/SQL::Abstract::Pg.3p
> 

-- 
andrew - http://afresh1.com

I'd stop being mean if they'd stop being stupid.
  -- Stephen Mynhier



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2019/02/21 20:32:34

Modified files:
databases/p5-SQL-Abstract: Makefile distinfo 

Log message:
Update databases/p5-SQL-Abstract to 1.86

Manolis Tzanidakis 



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2019/02/21 20:26:51

Modified files:
devel/p5-File-Slurp: Makefile distinfo 

Log message:
Update devel/p5-File-Slurp to .26

OK bluhm@ and sthen@



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2019/02/21 20:25:10

Modified files:
security   : Makefile 

Log message:
+ security/p5-Mojolicious-Plugin-Authentication



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Andrew Fresh
CVSROOT:/cvs
Module name:ports
Changes by: afre...@cvs.openbsd.org 2019/02/21 20:24:18

Log message:
Import security/p5-Mojolicious-Plugin-Authentication

Mojolicious::Plugin::Authentication provides methods that facilitate
user authentication in Mojolicious web applications.

From Manolis Tzanidakis 
OK bluhm@

Status:

Vendor Tag: afresh1
Release Tags:   afresh1_20190221

N ports/security/p5-Mojolicious-Plugin-Authentication/Makefile
N ports/security/p5-Mojolicious-Plugin-Authentication/distinfo
N ports/security/p5-Mojolicious-Plugin-Authentication/pkg/DESCR
N ports/security/p5-Mojolicious-Plugin-Authentication/pkg/PLIST

No conflicts created by this import



Re: Update: wget 1.19.5 -> 1.20.1

2019-02-21 Thread Nam Nguyen
Nam Nguyen  writes:
> +EPOCH =  0

After reading the FAQs, this should be REVISION and not EPOCH.



CVS: cvs.openbsd.org: ports

2019-02-21 Thread James Turner
CVSROOT:/cvs
Module name:ports
Changes by: jtur...@cvs.openbsd.org 2019/02/21 19:12:13

Modified files:
devel/fossil   : Makefile distinfo 

Log message:
Update fossil to 2.8. Release notes here:
https://fossil-scm.org/index.html/doc/trunk/www/changes.wiki#v2_8



Re: Update: wget 1.19.5 -> 1.20.1

2019-02-21 Thread Nam Nguyen
Here is a diff to revert the changes. Hopefully, I did it correctly.

Index: Makefile
===
RCS file: /cvs/ports/net/wget/Makefile,v
retrieving revision 1.76
diff -u -p -r1.76 Makefile
--- Makefile21 Feb 2019 22:32:31 -  1.76
+++ Makefile22 Feb 2019 01:24:18 -
@@ -4,6 +4,7 @@ COMMENT =   retrieve files from the web vi
 
 DISTNAME = wget-1.20.1
 CATEGORIES =   net
+EPOCH =0
 
 HOMEPAGE = https://www.gnu.org/software/wget/
 MAINTAINER =   Nam Nguyen 
@@ -13,9 +14,7 @@ PERMIT_PACKAGE_CDROM =Yes
 
 WANTLIB += c crypto iconv idn2 intl pcre2-8 psl ssl unistring z
 
-BUILD_DEPENDS =${MODGNU_AUTOCONF_DEPENDS} \
-   ${MODGNU_AUTOMAKE_DEPENDS} \
-   devel/gettext-tools
+BUILD_DEPENDS =devel/gettext-tools
 
 LIB_DEPENDS =  converters/libunistring \
devel/gettext \
@@ -39,8 +38,6 @@ FAKE_FLAGS =  sysconfdir="${PREFIX}/shar
 
 CONFIGURE_STYLE =  gnu
 CONFIGURE_ARGS =   --with-ssl=openssl
-AUTOCONF_VERSION = 2.69
-AUTOMAKE_VERSION = 1.16
 # hack to avoid depending on python3 at build time
 CONFIGURE_ARGS +=  PYTHON="" \
am_cv_pathless_PYTHON="${MODPY_BIN}"



Re: UPDATE: FFmpeg 4.1.1

2019-02-21 Thread Brad Smith

On 2/21/2019 5:47 PM, Brad Smith wrote:


I have patched as far as I know the whole ports tree for API issues
that were found with newer FFmpeg. So I am now able to send out a
proper update to FFmpeg.

Here is an update to FFmpeg 4.1.1 and coupled ports updates.

Any and all testing welcome.

FFmpeg
https://comstyle.com/ffmpeg/ffmpeg.diff

Update to mpv to 0.29.1 and fix API usage for mplayer / squeezelite.
https://comstyle.com/ffmpeg/mplayer.diff
https://comstyle.com/ffmpeg/mpv.diff
https://comstyle.com/ffmpeg/squeezelite.diff


I uploaded an updated diff with a backported decoder for AV1 via libdav1d.



Re: Update: wget 1.19.5 -> 1.20.1

2019-02-21 Thread Nam Nguyen


>> > -Add AUTOCONF_VERSION
>> > -Add AUTOMAKE_VERSION
>> > -Add autoconf and automake to BUILD_DEPENDS
>> > 
>> > This is necessary because it failed to build when I did not have
>> > autoconf and automake installed on my system.

Stuart Henderson  writes:
> Actually .. I don't see where autoconf/automake would be used.
> Are you still able to reproduce? If so, can you show the log please?
Good catch. Sorry for the mistake. Undo the AUTOCONF_VERSION,
AUTOMAKE_VERSION and adding lines to BUILD_DEPENDS.

The reason why it complained about missing automake and autoconf was
because I left in AUTOMAKE_VERSION and AUTOCONF_VERSION but removed the
BUILD_DEPENDS lines. After reverting back to the one Aaron reviewed, it
works.



Re: [NEW] devel/p5-String-Formatter 0.102084 (Perl+MPD 3/5)

2019-02-21 Thread Alexander Bluhm
On Thu, Feb 21, 2019 at 11:22:12PM +0100, Charlene Wendling wrote:
> Here is a new port, String::Formatter. It will be needed for updating 
> audio/p5-Audio-MPD-Common.

I think you should keep String/Formatter/Cookbook.pm, it makes
perldoc String::Formatter::Cookbook work.

Instead of an extra post-install target, you could just comment out
bench.pl from PLIST.

@comment ${P5SITE}/String/bench.pl

I don't like the @rm -f.  The @ prevents that you see what is going
on, and with -f it cannot fail.  What happens if in a later version
bench.pl is not part of the distribution?  You will never notice
that rm -f would not work.

with that OK bluhm@



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2019/02/21 16:41:12

Modified files:
net/openvpn: Makefile 
net/openvpn/patches: patch-src_openvpn_tun_c 

Log message:
Fix memory leak, unused variable pointed out by the compiler



Re: [update] openvpn-2.4.7

2019-02-21 Thread Jeremie Courreges-Anglas
On Thu, Feb 21 2019, Theo Buehler  wrote:
> On Thu, Feb 21, 2019 at 04:47:25PM +0100, Jeremie Courreges-Anglas wrote:
>> 
>> Hi,
>> 
>> openvpn-2.4.7 was released earlier today, with support for TLSv1.3.
>> That doesn't change much for us: TLSv1.3 is in the works in LibreSSL,
>> and there's no code yet in OpenVPN to support TLSv1.3 with mbedtls.
>> 
>>   https://github.com/OpenVPN/openvpn/blob/release/2.4/Changes.rst
>>   https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn24
>> 
>> I thought I'd mention this from the announcement mail:
>> --8<--
>> Please note that LibreSSL is not a supported crypto backend. We accept
>> patches and we do test on OpenBSD 6.0 which comes with LibreSSL, but if
>> newer versions of LibreSSL break API compatibility we do not take
>> responsibility to fix that.
>> -->8--
>> 
>> Given the way past API differences between OpenSSL and LibreSSL have
>> been dealt with upstream, the statement doesn't change things for ports
>> users anyway.  My efforts with upstream have stalled in the past months.
>> 
>> Which leads us to this diff, with some parts force-disabling the TLSv1.3
>> code paths introduced upstream.  I dislike the OPENSSL_NO_* macros even
>> more than the OPENSSL_VERSION_NUMBER checks, but since that's what the
>> ecosystem seems to prefer...
>> 
>> Reviews and tests welcome.
>
> While I'm no OpenVPN user, this reads and builds fine and is what we
> discussed about a month ago.
>
> ok tb (once you're happy with the number of tests reports or you've
> waited long enough)

Committed, thank you for the review.

> I noticed that there is one test that is skipped:
>
> make  check-TESTS
> ./t_client.sh: cannot find 't_client.rc' in build dir ('..')
> ./t_client.sh: or source directory 
> ('/usr/ports/pobj/openvpn-2.4.7/openvpn-2.4.7/tests'). SKIPPING TEST.
> SKIP: t_client.sh
>
> but I didn't investigate further.

This is is expected, it already happened with previous versions.

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



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/02/21 16:39:01

Modified files:
databases/mariadb: Tag: OPENBSD_6_4 Makefile distinfo 
databases/mariadb/patches: Tag: OPENBSD_6_4 
   patch-client_CMakeLists_txt 
   patch-scripts_mysql_install_db_sh 
   patch-storage_connect_reldef_cpp 
databases/mariadb/pkg: Tag: OPENBSD_6_4 PLIST-tests 

Log message:
MFC security update to mariadb-10.0.38, from Brad



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/02/21 16:37:24

Modified files:
net/isc-bind   : Tag: OPENBSD_6_4 Makefile distinfo 
net/isc-bind/patches: Tag: OPENBSD_6_4 patch-bin_dig_dig_c 
  patch-bin_dig_host_c 
  patch-bin_dig_nslookup_c 
  patch-bin_named_include_named_globals_h 
  patch-lib_isc_unix_net_c 
  patch-lib_isc_unix_socket_c 
net/isc-bind/pkg: Tag: OPENBSD_6_4 PLIST 
Removed files:
net/isc-bind/patches: Tag: OPENBSD_6_4 
  patch-lib_dns_opensslgost_link_c 

Log message:
MFC security update to isc-bind 9.11.5-P4



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/02/21 16:37:44

Modified files:
devel/quirks   : Makefile 
devel/quirks/files: Quirks.pm 

Log message:
cve quirk for isc-bind



Re: [NEW] devel/p5-File-ShareDir-PathClass 1.112440 (Perl+MPD 1/5)

2019-02-21 Thread Alexander Bluhm
On Thu, Feb 21, 2019 at 11:21:03PM +0100, Charlene Wendling wrote:
> Here is new port for File::ShareDir::PathClass. It will be needed to
> update devel/p5-Test-Corpus-Audio-MPD.

OK bluhm@



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/02/21 16:35:34

Modified files:
net/isc-bind   : Makefile distinfo 

Log message:
security update to isc-bind 9.11.5-P4

CVE-2018-5744: A specially crafted packet can cause named to leak memory
...
A failure to free memory can occur when processing messages
having a specific combination of EDNS options.

By exploiting this condition, an attacker can potentially cause
named's memory use to grow without bounds until all memory
available to the process is exhausted. Typically a server process
is limited as to the amount of memory it can use but if the named
process is not limited by the operating system all free memory
on the server could be exhausted.
...

CVE-2018-5745: An assertion failure can occur if a trust anchor
rolls over to an unsupported key algorithm when using managed-keys

(there is also CVE-2019-6465 but we don't build dlz)



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2019/02/21 16:32:23

Modified files:
net/openvpn: Makefile distinfo 
net/openvpn/patches: patch-configure 
net/openvpn/pkg: PLIST 
Added files:
net/openvpn/patches: patch-src_openvpn_ssl_c 
 patch-src_openvpn_ssl_openssl_c 

Log message:
Update to openvpn-2.4.7

Adds TLSv1.3 support, not supported by LibreSSL yet.
#ifdef OPENSSL_DEFINES_MAZE proofread by and ok tb@



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/02/21 16:28:26

Modified files:
x11/kde4/ffmpegthumbs: Makefile 
Added files:
x11/kde4/ffmpegthumbs/patches: patch-CMakeLists_txt 
   patch-cmake_FindFFmpeg_cmake 
   patch-ffmpegthumbnailer_moviedecoder_cpp 
   patch-ffmpegthumbnailer_moviedecoder_h 
   patch-tests_CMakeLists_txt 

Log message:
Fix kde4/ffmpegthumbs with newer FFmpeg; patch from
https://git.reviewboard.kde.org/r/126992/ via FreeBSD (Brad found it the
same time as I did).

Fix deps; graphics/ffmpeg should be LIB_DEPENDS not RUN_DEPENDS.



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:ports
Changes by: bl...@cvs.openbsd.org   2019/02/21 16:21:01

Modified files:
devel  : Makefile 

Log message:
+p5-Term-Size-Any



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:ports
Changes by: bl...@cvs.openbsd.org   2019/02/21 16:19:30

Log message:
import p5-Term-Size-Any 0.002
OK cwen@

Comment:
retrieve terminal size

Description:
This is a unified interface to retrieve terminal size. It loads one
module of a list of known alternatives, each implementing some way to
get the desired terminal information. This loaded module will actually
do the job on behalf of `Term::Size::Any'.

Status:

Vendor Tag: bluhm
Release Tags:   bluhm_20190222

N ports/devel/p5-Term-Size-Any/Makefile
N ports/devel/p5-Term-Size-Any/distinfo
N ports/devel/p5-Term-Size-Any/pkg/DESCR
N ports/devel/p5-Term-Size-Any/pkg/PLIST

No conflicts created by this import



Re: Update: wget 1.19.5 -> 1.20.1

2019-02-21 Thread Stuart Henderson
On 2019/02/21 22:32, Stuart Henderson wrote:
> On 2019/02/21 14:20, Nam Nguyen wrote:
> > 
> > Aaron Bieber  writes:
> > >> > Nam, you still want maintainer?
> > >> > OK abieber@ for Nam's diff. Builds / wget's things fine here.
> > 
> > Stuart Henderson  writes:
> > > It's good to have this fixed upstream but it doesn't really seem to
> > > add much to the port at the moment. I would go with the plain update
> > > for now.
> > 
> > That sounds good. The plain update is reproduced here for convenience. I
> > made some changes, though, compared to the earlier one that Aaron had
> > reviewed.
> > 
> > -Add AUTOCONF_VERSION
> > -Add AUTOMAKE_VERSION
> > -Add autoconf and automake to BUILD_DEPENDS
> > 
> > This is necessary because it failed to build when I did not have
> > autoconf and automake installed on my system.
> 
> Thanks, committed.
> 

Actually .. I don't see where autoconf/automake would be used.
Are you still able to reproduce? If so, can you show the log please?



Re: new devel/p5-Term-Size-Any

2019-02-21 Thread Charlene Wendling
On Thu, 21 Feb 2019 20:18:49 +0100
Alexander Bluhm wrote:

> Hi,
> 
> ok to import p5-Term-Size-Any ?

OK cwen@

> Comment:
> retrieve terminal size
> 
> Description:
> This is a unified interface to retrieve terminal size. It loads one
> module of a list of known alternatives, each implementing some way to
> get the desired terminal information. This loaded module will actually
> do the job on behalf of `Term::Size::Any'.
> 
> bluhm



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/02/21 16:01:36

ports/x11/kde4/ffmpegthumbs/patches

Update of /cvs/ports/x11/kde4/ffmpegthumbs/patches
In directory cvs.openbsd.org:/tmp/cvs-serv92582/patches

Log Message:
Directory /cvs/ports/x11/kde4/ffmpegthumbs/patches added to the repository



Re: [UPDATE] devel/p5-MooseX-Types-Structured 0.33 -> 0.36

2019-02-21 Thread Andrew Hewus Fresh
On Thu, Feb 21, 2019 at 11:31:30PM +0100, Charlene Wendling wrote:
> On Thu, 21 Feb 2019 09:45:36 -0700 Andrew Hewus Fresh wrote:
> > On Thu, Feb 07, 2019 at 09:38:17PM +0100, Charlene Wendling wrote:
> > > Here is an update for MooseX::Types::Common. 
 
> > OK afresh1@
> > 
> 
> Hi Andrew, 
> 
> You've already OK'd this port and it's committed since a few days. I
> guess you have replied to the wrong mail ^^


sigh,  let's try that again with the correct email this time.


On Thu, Feb 21, 2019 at 11:58:58AM +0100, Charlene Wendling wrote:
> Ping. 

OK afresh1@

> 
> On Fri, 8 Feb 2019 15:23:04 +0100
> Charlene Wendling wrote:
> 
> > I'm proposing here an update for MooseX::Types::Structured.
> > 
> > There are only a few changes upstream [1]: distribution tooling
> > has been changed, slurpy constraints fixed, documentation improved.
> > 
> > Port-wise i did a *_DEPENDS cleanup, otherwise it's a simple version
> > bump. 
> > 
> > Testing: 
> > 
> > - 'make test' passes
> > - There are 5 consumers and they all pass! [2]
> > 
> > Comments/feedback are welcome! 
> > 
> > Charlène. 
> > 
> > 
> > [1] https://metacpan.org/changes/distribution/MooseX-Types-Structured
> > [2] https://transfer.sh/g0nIm/p5-MooseX-Types-Structured.tgz
> > 
> > 
> > Index: Makefile
> > ===
> > RCS file: /cvs/ports/devel/p5-MooseX-Types-Structured/Makefile,v
> > retrieving revision 1.12
> > diff -u -p -u -p -r1.12 Makefile
> > --- Makefile20 Mar 2016 19:56:30 -  1.12
> > +++ Makefile8 Feb 2019 14:09:58 -
> > @@ -2,7 +2,7 @@
> >  
> >  COMMENT=   structured Type Constraints for Moose
> >  
> > -DISTNAME = MooseX-Types-Structured-0.33
> > +DISTNAME = MooseX-Types-Structured-0.36
> >  
> >  CATEGORIES=devel
> >  
> > @@ -14,11 +14,14 @@ PKG_ARCH=   *
> >  
> >  RUN_DEPENDS=   devel/p5-Devel-PartialDump \
> > devel/p5-MooseX-Types>=0.22 \
> > -   devel/p5-MooseX-Types-DateTime \
> > devel/p5-Sub-Exporter
> >  BUILD_DEPENDS= ${RUN_DEPENDS}
> >  
> > -TEST_DEPENDS = devel/p5-Test-Fatal \
> > -   devel/p5-Test-Requires
> > +TEST_DEPENDS=  devel/p5-DateTime \
> > +   devel/p5-MooseX-Types-DateTime \
> > +   devel/p5-Test-Fatal \
> > +   devel/p5-Test-Needs
> > +
> > +CONFIGURE_STYLE =  modbuild tiny
> >  
> >  .include 
> > Index: distinfo
> > ===
> > RCS file: /cvs/ports/devel/p5-MooseX-Types-Structured/distinfo,v
> > retrieving revision 1.4
> > diff -u -p -u -p -r1.4 distinfo
> > --- distinfo13 Jun 2015 08:37:31 -  1.4
> > +++ distinfo8 Feb 2019 14:09:58 -
> > @@ -1,2 +1,2 @@
> > -SHA256 (MooseX-Types-Structured-0.33.tar.gz) =
> > Vys42xBJNQqh642RmhpvOVHZcSwaL8/vMBpVbe7UR5U= -SIZE
> > (MooseX-Types-Structured-0.33.tar.gz) = 58533 +SHA256
> > (MooseX-Types-Structured-0.36.tar.gz) =
> > Q822UvljhyPjV3yw+LVGhiAkTJY252WYEeW0qAFgPVc= +SIZE
> > (MooseX-Types-Structured-0.36.tar.gz) = 61348 Index: pkg/PLIST
> > ===
> > RCS file: /cvs/ports/devel/p5-MooseX-Types-Structured/pkg/PLIST,v
> > retrieving revision 1.3 diff -u -p -u -p -r1.3 PLIST
> > --- pkg/PLIST   13 Jun 2015 08:37:31 -  1.3
> > +++ pkg/PLIST   8 Feb 2019 14:09:58 -
> > @@ -12,5 +12,10 @@ ${P5SITE}/MooseX/Types/Structured/
> >  ${P5SITE}/MooseX/Types/Structured.pm
> >  ${P5SITE}/MooseX/Types/Structured/MessageStack.pm
> >  ${P5SITE}/MooseX/Types/Structured/OverflowHandler.pm
> > +@man man/man3p/MooseX::Meta::TypeCoercion::Structured.3p
> > +@man man/man3p/MooseX::Meta::TypeCoercion::Structured::Optional.3p
> >  @man man/man3p/MooseX::Meta::TypeConstraint::Structured.3p
> > +@man man/man3p/MooseX::Meta::TypeConstraint::Structured::Optional.3p
> >  @man man/man3p/MooseX::Types::Structured.3p
> > +@man man/man3p/MooseX::Types::Structured::MessageStack.3p
> > +@man man/man3p/MooseX::Types::Structured::OverflowHandler.3p
> > 
> 



-- 
andrew - http://afresh1.com

Mountain Dew and doughnuts...
 because breakfast is the most important meal of the day.



Re: UPDATE: FFmpeg 4.1.1

2019-02-21 Thread Stuart Henderson
On 2019/02/21 17:47, Brad Smith wrote:
> I have patched as far as I know the whole ports tree for API issues
> that were found with newer FFmpeg. So I am now able to send out a
> proper update to FFmpeg.
> 
> Here is an update to FFmpeg 4.1.1 and coupled ports updates.
> 
> Any and all testing welcome.
> 
> FFmpeg
> https://comstyle.com/ffmpeg/ffmpeg.diff
> 
> Update to mpv to 0.29.1 and fix API usage for mplayer / squeezelite.
> https://comstyle.com/ffmpeg/mplayer.diff
> https://comstyle.com/ffmpeg/mpv.diff
> https://comstyle.com/ffmpeg/squeezelite.diff
> 

actually, if anyone is really testing squeezelite with this, please try
https://junkpile.org/squeezelite.diff instead (testing with audio on
OpenBSD is a pain for me now that 'disable xhci' is no longer enough
to get my uaudio to work)



UPDATE: FFmpeg 4.1.1

2019-02-21 Thread Brad Smith
I have patched as far as I know the whole ports tree for API issues
that were found with newer FFmpeg. So I am now able to send out a
proper update to FFmpeg.

Here is an update to FFmpeg 4.1.1 and coupled ports updates.

Any and all testing welcome.

FFmpeg
https://comstyle.com/ffmpeg/ffmpeg.diff

Update to mpv to 0.29.1 and fix API usage for mplayer / squeezelite.
https://comstyle.com/ffmpeg/mplayer.diff
https://comstyle.com/ffmpeg/mpv.diff
https://comstyle.com/ffmpeg/squeezelite.diff



Re: UPDATE: VLC - FFmpeg API

2019-02-21 Thread Jeremie Courreges-Anglas
On Thu, Feb 21 2019, Brad Smith  wrote:
> On 2/21/2019 2:34 PM, Jeremie Courreges-Anglas wrote:
>
>> On Thu, Feb 21 2019, Brad Smith  wrote:
>>> Update API usage to deal with current vs new FFmpeg API.
>> Builds fine on amd64.  One nit,
>>
>> [...]
>>
>>> Index: patches/patch-modules_codec_avcodec_avcommon_compat_h
>>> ===
>>> RCS file: patches/patch-modules_codec_avcodec_avcommon_compat_h
>>> diff -N patches/patch-modules_codec_avcodec_avcommon_compat_h
>>> --- /dev/null   1 Jan 1970 00:00:00 -
>>> +++ patches/patch-modules_codec_avcodec_avcommon_compat_h   21 Feb 2019 
>>> 17:04:13 -
>>> @@ -0,0 +1,19 @@
>>> +$OpenBSD$
>>> +
>>> +Update for newer FFmpeg API.
>>> +
>>> +Index: modules/codec/avcodec/avcommon_compat.h
>>> +--- modules/codec/avcodec/avcommon_compat.h.orig
>>>  modules/codec/avcodec/avcommon_compat.h
>>> +@@ -36,6 +36,11 @@
>>> + ( (LIBAVCODEC_VERSION_MICRO <  100 && LIBAVCODEC_VERSION_INT >= 
>>> AV_VERSION_INT( a, b, c ) ) || \
>>> +   (LIBAVCODEC_VERSION_MICRO >= 100 && LIBAVCODEC_VERSION_INT >= 
>>> AV_VERSION_INT( a, d, e ) ) )
>>> +
>>> ++#ifndef  FF_MAX_B_FRAMES
>>> ++# define  FF_MAX_B_FRAMES 16 // FIXME: remove this
>>> ++#endif
>> Should this be committed too?
>
> Yes, that symbol goes away with newer FFmpeg.

ack.  Lightly tested with a few movies, diff committed.

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



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2019/02/21 15:38:48

Modified files:
x11/vlc: Makefile 
x11/vlc/patches: patch-configure_ac 
Added files:
x11/vlc/patches: patch-modules_codec_avcodec_audio_c 
 patch-modules_codec_avcodec_avcommon_compat_h 
 patch-modules_codec_avcodec_encoder_c 
 patch-modules_codec_avcodec_subtitle_c 
 patch-modules_codec_avcodec_video_c 

Log message:
Update API usage to deal with current vs new FFmpeg API

from Brad (maintainer)



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/02/21 15:37:58

Modified files:
audio/audacious-plugins: Makefile 
audio/pianobar : Makefile 
audio/xmms2: Makefile 
graphics/amide : Makefile 
graphics/blender: Makefile 
multimedia/libquicktime: Makefile 
multimedia/transcode: Makefile 
telephony/iaxclient: Makefile 

Log message:
clean up ffmpeg dep's, from Brad.



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/02/21 15:34:56

Modified files:
graphics/openscenegraph: Makefile 

Log message:
Add LIB_DEPENDS on devel/sdl. Missed previously as it was pulled in by
FFmpeg, but openscenegraph uses it itself, and the dep will go away with
new FFmpeg. From Brad.



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/02/21 15:32:31

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

Log message:
update to wget-1.20.1, from Nam Nguyen (taking maintainer).
earlier version ok abieber@



Re: Update: wget 1.19.5 -> 1.20.1

2019-02-21 Thread Stuart Henderson
On 2019/02/21 14:20, Nam Nguyen wrote:
> 
> Aaron Bieber  writes:
> >> > Nam, you still want maintainer?
> >> > OK abieber@ for Nam's diff. Builds / wget's things fine here.
> 
> Stuart Henderson  writes:
> > It's good to have this fixed upstream but it doesn't really seem to
> > add much to the port at the moment. I would go with the plain update
> > for now.
> 
> That sounds good. The plain update is reproduced here for convenience. I
> made some changes, though, compared to the earlier one that Aaron had
> reviewed.
> 
> -Add AUTOCONF_VERSION
> -Add AUTOMAKE_VERSION
> -Add autoconf and automake to BUILD_DEPENDS
> 
> This is necessary because it failed to build when I did not have
> autoconf and automake installed on my system.

Thanks, committed.



Missing depends for openscenegraph

2019-02-21 Thread Brad Smith
Updating FFmpeg exposed a missing dependency in openscenegraph.


Index: Makefile
===
RCS file: /home/cvs/ports/graphics/openscenegraph/Makefile,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 Makefile
--- Makefile9 Nov 2017 16:36:22 -   1.13
+++ Makefile21 Feb 2019 22:24:56 -
@@ -9,6 +9,7 @@ GH_ACCOUNT =openscenegraph
 GH_PROJECT =   OpenSceneGraph
 GH_TAGNAME =   OpenSceneGraph-$V
 DISTNAME = openscenegraph-${V}
+REVISION = 1
 
 SUBST_VARS +=  V
 
@@ -50,7 +51,8 @@ WANTLIB += tiff z
 
 MODULES =  devel/cmake \
x11/qt5
-LIB_DEPENDS =  graphics/openexr \
+LIB_DEPENDS =  devel/sdl \
+   graphics/openexr \
graphics/ffmpeg \
graphics/gdk-pixbuf2 \
graphics/giflib \



[UPDATE] audio/p5-POE-Component-Client-MPD 0.9.2 -> 2.001

2019-02-21 Thread Charlene Wendling


Here is an update for POE::Component::Client::MPD. It requires the
full Perl+MPD stack updates i've mailed earlier. 

There are 10 years of changelog to read [1], there are no backward
incompatible change though.

What's new in the port: 

- examples have been moved in the upstream tree, so we ensure that they
  still install
- RUN_DEPENDS overhaul
- Symlink mpd to WRKDIR/bin because mpd isn't in PATH when 'make test'
  is ran.
- Don't enable QA tests because we don't ship Pod::Coverage::TrustPod 
- Add a patch that accounts a duration format change (from Debian)
- Add another patch that deals with 'ps -f' being unavailable on 
  OpenBSD, and also restarts mpd once the test is done (from Debian)

Testing: 

- 'make test' passes 
- There are no reverse dependencies. 

Any comment? 


Charlène. 


[1] https://metacpan.org/changes/distribution/POE-Component-Client-MPD


Index: Makefile
===
RCS file: /cvs/ports/audio/p5-POE-Component-Client-MPD/Makefile,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 Makefile
--- Makefile20 Mar 2016 19:56:06 -  1.15
+++ Makefile21 Feb 2019 21:58:49 -
@@ -2,8 +2,7 @@
 
 COMMENT=   complete MPD client library
 
-DISTNAME=  POE-Component-Client-MPD-0.9.2
-REVISION=  2
+DISTNAME=  POE-Component-Client-MPD-2.001
 CATEGORIES=audio
 
 # perl
@@ -12,16 +11,29 @@ PERMIT_PACKAGE_CDROM=   Yes
 MODULES=   cpan
 PKG_ARCH=  *
 MODCPAN_EXAMPLES=  Yes
-MODCPAN_EXAMPLES_DIST= bin
+MODCPAN_EXAMPLES_DIST= examples
 
-RUN_DEPENDS=   audio/p5-Audio-MPD-Common>=0.1.4 \
-   devel/p5-Class-Accessor \
-   devel/p5-List-MoreUtils \
+RUN_DEPENDS=   audio/p5-Audio-MPD-Common \
+   devel/p5-List-AllUtils \
+   devel/p5-Moose>=0.92 \
+   devel/p5-MooseX-Has-Sugar \
+   devel/p5-MooseX-POE \
+   devel/p5-MooseX-SemiAffordanceAccessor \
+   devel/p5-MooseX-Types \
devel/p5-POE \
-   devel/p5-Readonly
+   devel/p5-Readonly \
+   devel/p5-Sub-Exporter \
+   devel/p5-Test-Corpus-Audio-MPD>=1.120990
 
 PORTHOME=  ${WRKDIR}
 
+# It would require Pod::Coverage::TrustPod that we don't ship
+TEST_ENV +=AUTHOR_TESTING=
+
 CONFIGURE_STYLE=   modbuild
+
+# Tests need to find mpd.
+pre-test:
+   @ln -sf ${LOCALBASE}/sbin/mpd ${WRKDIR}/bin/mpd
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/audio/p5-POE-Component-Client-MPD/distinfo,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 distinfo
--- distinfo18 Jan 2015 03:12:47 -  1.7
+++ distinfo21 Feb 2019 21:58:49 -
@@ -1,2 +1,2 @@
-SHA256 (POE-Component-Client-MPD-0.9.2.tar.gz) = 
DSQuIEbyEj0mHiAT/076vWluT7bz4xATmWeN4X1o83c=
-SIZE (POE-Component-Client-MPD-0.9.2.tar.gz) = 48482
+SHA256 (POE-Component-Client-MPD-2.001.tar.gz) = 
It51LPe2W8oZrleKPnBXMDbcsn3DphSnmPF74AUQhRY=
+SIZE (POE-Component-Client-MPD-2.001.tar.gz) = 40747
Index: patches/patch-lib_POE_Component_Client_MPD_Connection_pm
===
RCS file: patches/patch-lib_POE_Component_Client_MPD_Connection_pm
diff -N patches/patch-lib_POE_Component_Client_MPD_Connection_pm
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-lib_POE_Component_Client_MPD_Connection_pm21 Feb 2019 
21:58:49 -
@@ -0,0 +1,17 @@
+$OpenBSD$
+Accounting a change in the MPD protocol
+see https://rt.cpan.org/Public/Bug/Display.html?id=122469
+Index: lib/POE/Component/Client/MPD/Connection.pm
+--- lib/POE/Component/Client/MPD/Connection.pm.orig
 lib/POE/Component/Client/MPD/Connection.pm
+@@ -217,6 +217,10 @@ sub _got_data {
+ my ($k,$v) = split /:\s+/, $input, 2;
+ $k = lc $k;
+ $k =~ s/-/_/;
++if ( $k eq 'duration' ) {
++$k = 'time';
++$v = int($v + 0.5);
++}
+ 
+ if ( $k eq 'file' || $k eq 'directory' || $k eq 'playlist' ) {
+ # build a new amc-item
Index: patches/patch-t_40-cmds-kill_t
===
RCS file: patches/patch-t_40-cmds-kill_t
diff -N patches/patch-t_40-cmds-kill_t
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-t_40-cmds-kill_t  21 Feb 2019 21:58:49 -
@@ -0,0 +1,22 @@
+$OpenBSD$
+Hunk #1: Fix "ps: unknown option -- f" by using pgrep(1) instead
+Hunk #2: restart test MPD before exiting, see RT#126902
+Index: t/40-cmds-kill.t
+--- t/40-cmds-kill.t.orig
 t/40-cmds-kill.t
+@@ -22,8 +22,7 @@ use warnings;
+ POE::Kernel->delay_set( kill => 0.5 );  # FIXME: use connected event 
to start tests in pococm-test
+ }
+ 

[UPDATE] audio/p5-Audio-MPD 1.110560 -> 2.004 (Perl+MPD 5/5)

2019-02-21 Thread Charlene Wendling


Here is an update for Audio::MPD. 

What's new upstream (partial, see [1]): 

- support for mpd on a Unix socket
- syncing with mpd changes, especially allow dumping song ratings
- ipv6 support

What's new in the port: 

- Dropped CPAN_AUTHOR, it's unneeded here
- Really install examples thanks to MODCPAN_EXAMPLES_DIST
- When tested in the ports tree, mpd isn't in PATH, so i've symlinked
  it in ${WRKDIR}/bin to enable them. If mpd isn't installed it skips 
  tests gracefully anyway.

Testing:

- 'make test' pass, we don't have Pod::Coverage::TrustPod, so 
  qa tests would fail and thus aren't enabled.
- It has no direct reverse dependencies but is pulled by
  audio/p5-POE-Component-Client-MPD, and tests pass there - anyway
  i've an update for it as well :) 


Comments/feedback are welcome, 

Charlène. 


[1] https://metacpan.org/changes/distribution/Audio-MPD


Index: Makefile
===
RCS file: /cvs/ports/audio/p5-Audio-MPD/Makefile,v
retrieving revision 1.28
diff -u -p -u -p -r1.28 Makefile
--- Makefile20 Mar 2016 19:56:06 -  1.28
+++ Makefile21 Feb 2019 21:26:16 -
@@ -1,8 +1,7 @@
 # $OpenBSD: Makefile,v 1.28 2016/03/20 19:56:06 naddy Exp $
 
 COMMENT=   module for communicating with MPD servers
-DISTNAME=  Audio-MPD-1.110560
-REVISION=  3
+DISTNAME=  Audio-MPD-2.004
 CATEGORIES=audio
 
 # perl
@@ -10,18 +9,24 @@ PERMIT_PACKAGE_CDROM=Yes
 
 MODULES=   cpan
 PKG_ARCH=  *
-CPAN_AUTHOR=   JQUELIN
 MODCPAN_EXAMPLES=  Yes
+MODCPAN_EXAMPLES_DIST= examples
 
 CONFIGURE_STYLE=   modbuild
 
-RUN_DEPENDS=   audio/p5-Audio-MPD-Common>=1.110550 \
-   devel/p5-MooseX-Has-Sugar \
-   devel/p5-MooseX-SemiAffordanceAccessor>=0.09 \
-   devel/p5-Class-Accessor \
+RUN_DEPENDS=   audio/p5-Audio-MPD-Common \
devel/p5-Getopt-Euclid \
+   devel/p5-List-AllUtils \
+   devel/p5-List-MoreUtils \
+   devel/p5-Moose \
+   devel/p5-MooseX-Has-Sugar \
+   devel/p5-MooseX-SemiAffordanceAccessor \
devel/p5-Proc-Daemon
-TEST_DEPENDS=  devel/p5-Getopt-Euclid \
-   devel/p5-Test-Corpus-Audio-MPD
+
+TEST_DEPENDS=  devel/p5-Test-Corpus-Audio-MPD>=1.113282
+
+# Tests need to find mpd.
+pre-test:
+   @ln -sf ${LOCALBASE}/sbin/mpd ${WRKDIR}/bin/mpd
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/audio/p5-Audio-MPD/distinfo,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 distinfo
--- distinfo17 Apr 2014 20:51:25 -  1.13
+++ distinfo21 Feb 2019 21:26:16 -
@@ -1,2 +1,2 @@
-SHA256 (Audio-MPD-1.110560.tar.gz) = 
EnQIRIdGxv58uweer9ZRC7IZLneZ2BAeBDts/BQK39M=
-SIZE (Audio-MPD-1.110560.tar.gz) = 36121
+SHA256 (Audio-MPD-2.004.tar.gz) = xPit/gQNU3PdyaM9umbqEI0C5FF4uOYPXPdKpAjGqpI=
+SIZE (Audio-MPD-2.004.tar.gz) = 41586
Index: pkg/PLIST
===
RCS file: /cvs/ports/audio/p5-Audio-MPD/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 PLIST
--- pkg/PLIST   29 Sep 2010 17:19:30 -  1.5
+++ pkg/PLIST   21 Feb 2019 21:26:16 -
@@ -1,10 +1,12 @@
 @comment $OpenBSD: PLIST,v 1.5 2010/09/29 17:19:30 jasper Exp $
+bin/mpd-dump-ratings
 bin/mpd-dynamic
 bin/mpd-rate
 ${P5SITE}/Audio/MPD.pm
 ${P5SITE}/Audio/MPD/Collection.pm
 ${P5SITE}/Audio/MPD/Playlist.pm
 ${P5SITE}/Audio/MPD/Types.pm
+@man man/man1/mpd-dump-ratings.1
 @man man/man1/mpd-dynamic.1
 @man man/man1/mpd-rate.1
 @man man/man3p/Audio::MPD.3p



[UPDATE] audio/p5-Audio-MPD-Common 1.110550 -> 2.003 (Perl+MPD 4/5)

2019-02-21 Thread Charlene Wendling


Here is an update for Audio::MPD::Common. You'll need the new
devel/p5-String-Formatter i've mailed earlier.

What's new upstream (partial, see [1]): 

- Accounting changes to the mpd API
- Various bug fixes

Port-wise, i've just dropped the unneeded CPAN_AUTHOR and cleaned
RUN_DEPENDS. 

Testing: 

- 'make test' passes. We don't have Pod::Coverage::TrustPod, so 
  qa tests would fail.
- There are 2 consumers, audio/p5-Audio-MPD and
  audio/p5-POE-Component-Client-MPD, they pass as well. 

Any comment? 

Charlène. 


[1] https://metacpan.org/changes/release/JQUELIN/Audio-MPD-Common-2.003


Index: Makefile
===
RCS file: /cvs/ports/audio/p5-Audio-MPD-Common/Makefile,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 Makefile
--- Makefile20 Mar 2016 19:56:06 -  1.14
+++ Makefile21 Feb 2019 20:57:42 -
@@ -2,8 +2,7 @@
 
 COMMENT=   bunch of common helper classes for MPD
 
-DISTNAME=  Audio-MPD-Common-1.110550
-REVISION=  2
+DISTNAME=  Audio-MPD-Common-2.003
 CATEGORIES=audio
 
 # perl
@@ -11,13 +10,13 @@ PERMIT_PACKAGE_CDROM=   Yes
 
 MODULES=   cpan
 PKG_ARCH=  *
-CPAN_AUTHOR=   JQUELIN
 
 CONFIGURE_STYLE=   modbuild
 
-RUN_DEPENDS=   devel/p5-Class-Accessor \
+RUN_DEPENDS=   devel/p5-Moose>=0.92 \
devel/p5-MooseX-Has-Sugar \
devel/p5-MooseX-Types \
-   devel/p5-Readonly
+   devel/p5-Readonly \
+   devel/p5-String-Formatter
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/audio/p5-Audio-MPD-Common/distinfo,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 distinfo
--- distinfo18 Jan 2015 03:12:46 -  1.7
+++ distinfo21 Feb 2019 20:57:42 -
@@ -1,2 +1,2 @@
-SHA256 (Audio-MPD-Common-1.110550.tar.gz) = 
tTOzDvncQW7A66e9w9/t3c9WvAwP58iTUojehPau1d4=
-SIZE (Audio-MPD-Common-1.110550.tar.gz) = 19418
+SHA256 (Audio-MPD-Common-2.003.tar.gz) = 
0bWc1ni7FJwlkVh7SPSlJbK0DTtcBH3eyKn1fP7atqQ=
+SIZE (Audio-MPD-Common-2.003.tar.gz) = 22569



[NEW] devel/p5-String-Formatter 0.102084 (Perl+MPD 3/5)

2019-02-21 Thread Charlene Wendling

Here is a new port, String::Formatter. It will be needed for updating 
audio/p5-Audio-MPD-Common.

It has been created by portgen. 'make test' passes. 


Comment:
build sprintf-like functions of your own

Description:
String::Formatter is a tool for building sprintf-like formatting
routines. It supports named or positional formatting, custom
conversions, fixed string interpolation, and simple width-matching
out of the box.


Comments/feedback are welcome :) 

Charlène.


p5-String-Formatter.tgz
Description: Binary data


[UPDATE] devel/p5-Test-Corpus-Audio-MPD to 1.120990 (Perl+MPD 2/5)

2019-02-21 Thread Charlene Wendling


Here is an update for Test::Corpus::Audio::MPD. You'll need the new
devel/p5-File-ShareDir-PathClass port i've mailed just earlier. 

What's new upstream (partial, see [1]):

- now listens on ipv6 too
- using a software mixer

Port-wise, i've enabled more tests, only QA tests are skipped because we
are missing some modules in the ports tree.

Testing: 

- 'make test' passes
- The sole consumer is audio/p5-Audio-MPD, it passes as well.

Comments and feedback are welcome, 

Charlène. 


[1]
https://metacpan.org/changes/release/JQUELIN/Test-Corpus-Audio-MPD-1.120990


Index: Makefile
===
RCS file: /cvs/ports/devel/p5-Test-Corpus-Audio-MPD/Makefile,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 Makefile
--- Makefile20 Mar 2016 19:56:36 -  1.7
+++ Makefile21 Feb 2019 20:26:19 -
@@ -2,7 +2,7 @@
 
 COMMENT=   automate launching of fake mpd for testing purposes
 
-DISTNAME=  Test-Corpus-Audio-MPD-1.110710
+DISTNAME=  Test-Corpus-Audio-MPD-1.120990
 CATEGORIES=devel audio
 
 # perl
@@ -13,9 +13,12 @@ PKG_ARCH=*
 
 CONFIGURE_STYLE=   modbuild
 
-BUILD_DEPENDS= ${RUN_DEPENDS}
-RUN_DEPENDS=   devel/p5-File-ShareDir \
+RUN_DEPENDS=   devel/p5-File-ShareDir>=1.0 \
+   devel/p5-File-ShareDir-PathClass \
devel/p5-Path-Class \
devel/p5-Readonly
+
+MAKE_ENV +=TEST_POD=Yes RELEASE_TESTING=Yes
+
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-Test-Corpus-Audio-MPD/distinfo,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 distinfo
--- distinfo18 Jan 2015 03:13:36 -  1.3
+++ distinfo21 Feb 2019 20:26:19 -
@@ -1,2 +1,2 @@
-SHA256 (Test-Corpus-Audio-MPD-1.110710.tar.gz) = 
Wu/WYEuD4kiNeRGVn3P86UO/HVvSqpeuBoshxgiQ0RU=
-SIZE (Test-Corpus-Audio-MPD-1.110710.tar.gz) = 33366
+SHA256 (Test-Corpus-Audio-MPD-1.120990.tar.gz) = 
3tulmtGbGYkLlMxto7n2HHaKmIkcSdPky+/rEcfpGAU=
+SIZE (Test-Corpus-Audio-MPD-1.120990.tar.gz) = 32794
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/p5-Test-Corpus-Audio-MPD/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   29 Sep 2010 17:17:26 -  1.1.1.1
+++ pkg/PLIST   21 Feb 2019 20:26:19 -
@@ -11,6 +11,7 @@ ${P5SITE}/auto/share/dist/Test-Corpus-Au
 ${P5SITE}/auto/share/dist/Test-Corpus-Audio-MPD/music/dir1/title-artist.ogg
 ${P5SITE}/auto/share/dist/Test-Corpus-Audio-MPD/music/dir2/
 ${P5SITE}/auto/share/dist/Test-Corpus-Audio-MPD/music/dir2/album.ogg
+${P5SITE}/auto/share/dist/Test-Corpus-Audio-MPD/music/title-artist-album-genre.ogg
 ${P5SITE}/auto/share/dist/Test-Corpus-Audio-MPD/music/title.ogg
 ${P5SITE}/auto/share/dist/Test-Corpus-Audio-MPD/playlists/
 ${P5SITE}/auto/share/dist/Test-Corpus-Audio-MPD/playlists/test.m3u



[NEW] devel/p5-File-ShareDir-PathClass 1.112440 (Perl+MPD 1/5)

2019-02-21 Thread Charlene Wendling
Hi ports, 

Here is new port for File::ShareDir::PathClass. It will be needed to
update devel/p5-Test-Corpus-Audio-MPD.

Portgen made it. 'make test' passes, QA tests are skipped because we
miss too many modules.


Comment:
File::ShareDir returning Path::Class objects

Description:
This module is a wrapper around File::ShareDir functions, transforming
their return value to Path::Class objects.


Comments/feedback are welcome!

Charlène. 


p5-File-ShareDir-PathClass.tgz
Description: Binary data


Re: Update: wget 1.19.5 -> 1.20.1

2019-02-21 Thread Nam Nguyen


Aaron Bieber  writes:
>> > Nam, you still want maintainer?
>> > OK abieber@ for Nam's diff. Builds / wget's things fine here.

Stuart Henderson  writes:
> It's good to have this fixed upstream but it doesn't really seem to
> add much to the port at the moment. I would go with the plain update
> for now.

That sounds good. The plain update is reproduced here for convenience. I
made some changes, though, compared to the earlier one that Aaron had
reviewed.

-Add AUTOCONF_VERSION
-Add AUTOMAKE_VERSION
-Add autoconf and automake to BUILD_DEPENDS

This is necessary because it failed to build when I did not have
autoconf and automake installed on my system.

--8<---cut here---start->8---
Index: Makefile
===
RCS file: /cvs/ports/net/wget/Makefile,v
retrieving revision 1.75
diff -u -p -r1.75 Makefile
--- Makefile7 May 2018 10:37:59 -   1.75
+++ Makefile21 Feb 2019 22:04:35 -
@@ -2,22 +2,25 @@
 
 COMMENT =  retrieve files from the web via HTTP, HTTPS and FTP
 
-DISTNAME = wget-1.19.5
+DISTNAME = wget-1.20.1
 CATEGORIES =   net
 
 HOMEPAGE = https://www.gnu.org/software/wget/
+MAINTAINER =   Nam Nguyen 
 
 # GPLv3
 PERMIT_PACKAGE_CDROM = Yes
 
-WANTLIB += c crypto iconv idn2 intl pcre psl ssl unistring z
+WANTLIB += c crypto iconv idn2 intl pcre2-8 psl ssl unistring z
 
-BUILD_DEPENDS =devel/gettext-tools
+BUILD_DEPENDS =${MODGNU_AUTOCONF_DEPENDS} \
+   ${MODGNU_AUTOMAKE_DEPENDS} \
+   devel/gettext-tools
 
 LIB_DEPENDS =  converters/libunistring \
devel/gettext \
devel/libidn2 \
-   devel/pcre \
+   devel/pcre2 \
net/libpsl
 
 MASTER_SITES = ${MASTER_SITE_GNU:=wget/}
@@ -36,6 +39,8 @@ FAKE_FLAGS =  sysconfdir="${PREFIX}/shar
 
 CONFIGURE_STYLE =  gnu
 CONFIGURE_ARGS =   --with-ssl=openssl
+AUTOCONF_VERSION = 2.69
+AUTOMAKE_VERSION = 1.16
 # hack to avoid depending on python3 at build time
 CONFIGURE_ARGS +=  PYTHON="" \
am_cv_pathless_PYTHON="${MODPY_BIN}"
Index: distinfo
===
RCS file: /cvs/ports/net/wget/distinfo,v
retrieving revision 1.22
diff -u -p -r1.22 distinfo
--- distinfo7 May 2018 10:37:59 -   1.22
+++ distinfo21 Feb 2019 22:04:35 -
@@ -1,2 +1,2 @@
-SHA256 (wget-1.19.5.tar.gz) = s5ISq+GnPyso9MbLIjxzhVnKrJHW5Bam2R1LnVXJ+u4=
-SIZE (wget-1.19.5.tar.gz) = 4455797
+SHA256 (wget-1.20.1.tar.gz) = t4OzkMtXHIN7OShXlF9aHwDsawQxd8xCq7juG1Qu4bM=
+SIZE (wget-1.20.1.tar.gz) = 4392853
Index: patches/patch-doc_wget_texi
===
RCS file: /cvs/ports/net/wget/patches/patch-doc_wget_texi,v
retrieving revision 1.15
diff -u -p -r1.15 patch-doc_wget_texi
--- patches/patch-doc_wget_texi 7 May 2018 10:37:59 -   1.15
+++ patches/patch-doc_wget_texi 21 Feb 2019 22:04:35 -
@@ -20,7 +20,7 @@ Index: doc/wget.texi
  Default location of the @dfn{global} startup file.
  
  @item .wgetrc
-@@ -3154,9 +3154,8 @@ commands.
+@@ -3166,9 +3166,8 @@ commands.
  @cindex location of wgetrc
  
  When initializing, Wget will look for a @dfn{global} startup file,
@@ -32,7 +32,7 @@ Index: doc/wget.texi
  
  Then it will look for the user's file.  If the environmental variable
  @code{WGETRC} is set, Wget will try to load that file.  Failing that, no
-@@ -3166,7 +3165,7 @@ If @code{WGETRC} is not set, Wget will try to load @fi
+@@ -3178,7 +3177,7 @@ If @code{WGETRC} is not set, Wget will try to load @fi
  
  The fact that user's settings are loaded after the system-wide ones
  means that in case of collision user's wgetrc @emph{overrides} the
--8<---cut here---end--->8---



Re: [M. UPDATE] net/py-zmq 17.1.2 to 18.0.0

2019-02-21 Thread Stuart Henderson
On 2019/02/21 16:27, Elias M. Mariani wrote:
> https://pyzmq.readthedocs.io/en/latest/changelog.html

If things are still working with it then OK.

> - Update bundled libzmq to 4.3.1 (fixes CVE-2019-6250)
> https://nvd.nist.gov/vuln/detail/CVE-2019-6250

We don't use the bundled libzmq.

> Regression tests on consumers are working equal with this version and
> the previous one.
> 
> Comments ? OKs ?
> Elias.



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/02/21 15:01:30

Modified files:
graphics/openimageio: Makefile 
Added files:
graphics/openimageio/patches: 
  patch-src_ffmpeg_imageio_ffmpeginput_cpp 

Log message:
Update for newer FFmpeg API, from Brad.



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:ports
Changes by: an...@cvs.openbsd.org   2019/02/21 14:09:53

Modified files:
mail/mdsort: Makefile distinfo 

Log message:
Update to mdsort-3.0.0.

ok giovanni@



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Theo Buehler
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2019/02/21 13:04:34

Modified files:
math/R : Makefile 
Added files:
math/R/patches : patch-src_modules_internet_libcurl_c 

Log message:
Fix use-after-free found the hard way with vm.malloc_conf=F.
Upstream SVN commit #76143.

ok feinerer (maintainer)



Re: UPDATE: VLC - FFmpeg API

2019-02-21 Thread Brad Smith

On 2/21/2019 2:34 PM, Jeremie Courreges-Anglas wrote:


On Thu, Feb 21 2019, Brad Smith  wrote:

Update API usage to deal with current vs new FFmpeg API.

Builds fine on amd64.  One nit,

[...]


Index: patches/patch-modules_codec_avcodec_avcommon_compat_h
===
RCS file: patches/patch-modules_codec_avcodec_avcommon_compat_h
diff -N patches/patch-modules_codec_avcodec_avcommon_compat_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-modules_codec_avcodec_avcommon_compat_h   21 Feb 2019 
17:04:13 -
@@ -0,0 +1,19 @@
+$OpenBSD$
+
+Update for newer FFmpeg API.
+
+Index: modules/codec/avcodec/avcommon_compat.h
+--- modules/codec/avcodec/avcommon_compat.h.orig
 modules/codec/avcodec/avcommon_compat.h
+@@ -36,6 +36,11 @@
+ ( (LIBAVCODEC_VERSION_MICRO <  100 && LIBAVCODEC_VERSION_INT >= 
AV_VERSION_INT( a, b, c ) ) || \
+   (LIBAVCODEC_VERSION_MICRO >= 100 && LIBAVCODEC_VERSION_INT >= 
AV_VERSION_INT( a, d, e ) ) )
+
++#ifndef  FF_MAX_B_FRAMES
++# define  FF_MAX_B_FRAMES 16 // FIXME: remove this
++#endif

Should this be committed too?


Yes, that symbol goes away with newer FFmpeg.



Re: UPDATE: VLC - FFmpeg API

2019-02-21 Thread Jeremie Courreges-Anglas
On Thu, Feb 21 2019, Brad Smith  wrote:
> Update API usage to deal with current vs new FFmpeg API.

Builds fine on amd64.  One nit,

[...]

> Index: patches/patch-modules_codec_avcodec_avcommon_compat_h
> ===
> RCS file: patches/patch-modules_codec_avcodec_avcommon_compat_h
> diff -N patches/patch-modules_codec_avcodec_avcommon_compat_h
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-modules_codec_avcodec_avcommon_compat_h 21 Feb 2019 
> 17:04:13 -
> @@ -0,0 +1,19 @@
> +$OpenBSD$
> +
> +Update for newer FFmpeg API.
> +
> +Index: modules/codec/avcodec/avcommon_compat.h
> +--- modules/codec/avcodec/avcommon_compat.h.orig
>  modules/codec/avcodec/avcommon_compat.h
> +@@ -36,6 +36,11 @@
> + ( (LIBAVCODEC_VERSION_MICRO <  100 && LIBAVCODEC_VERSION_INT >= 
> AV_VERSION_INT( a, b, c ) ) || \
> +   (LIBAVCODEC_VERSION_MICRO >= 100 && LIBAVCODEC_VERSION_INT >= 
> AV_VERSION_INT( a, d, e ) ) )
> + 
> ++#ifndef  FF_MAX_B_FRAMES
> ++# define  FF_MAX_B_FRAMES 16 // FIXME: remove this
> ++#endif

Should this be committed too?

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



Re: UPDATE: ircII 20190117

2019-02-21 Thread Klemens Nanni
On Thu, Feb 21, 2019 at 02:14:03PM -0500, Brad Smith wrote:
> Here is an update to ircII 20190117.
>From http://www.eterna.com.au/ircii/news.html:

As well as many bug fixes, the new features include features to
restore lastlog when restarting. Future work to enable seamless
restarts planned. Basic support for converting help files to
html is also included.

Works fine with both IRC and ICB on amd64, OK kn if anyone wants to
commit;  otherwise I'll take care of it this weekend.



[M. UPDATE] net/py-zmq 17.1.2 to 18.0.0

2019-02-21 Thread Elias M. Mariani
https://pyzmq.readthedocs.io/en/latest/changelog.html

- Update bundled libzmq to 4.3.1 (fixes CVE-2019-6250)
https://nvd.nist.gov/vuln/detail/CVE-2019-6250

Regression tests on consumers are working equal with this version and
the previous one.

Comments ? OKs ?
Elias.


py-zmq-18.0.0.diff
Description: Binary data


CVS: cvs.openbsd.org: ports

2019-02-21 Thread Klemens Nanni
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2019/02/21 12:22:27

Modified files:
mail/isync : Makefile 
mail/isync/patches: patch-src_drv_imap_c 

Log message:
Fix CopyArrivalDate for timestamps with single digit day of the month

On timestamps such as " 4-Mar-2018 16:49:25 -0500", mbsync would abort if
the Channel option `CopyArrivalDate' was set.

The IMAP protocol specifies a date format beginning with a day-of-month
space-padded to two characters.  The "%d" specifier in glibc's strptime(3)
will consume a space-padded day of month, but OpenBSD's "%d" only accepts
leading zeroes.

Prodded by this issue, our strptime(3) now strips leading spaces with "%e"
as of lib/libc/time/strptime.c r1.25.

Found, analysed and patch (using "%n%d" instead of "%e") from
Evan Silberman , thanks!



new devel/p5-Term-Size-Any

2019-02-21 Thread Alexander Bluhm
Hi,

ok to import p5-Term-Size-Any ?

Comment:
retrieve terminal size

Description:
This is a unified interface to retrieve terminal size. It loads one
module of a list of known alternatives, each implementing some way to
get the desired terminal information. This loaded module will actually
do the job on behalf of `Term::Size::Any'.

bluhm


p5-Term-Size-Any.tgz
Description: application/tar-gz


Re: NEW: security/p5-Mojolicious-Plugin-Authentication

2019-02-21 Thread Alexander Bluhm
On Thu, Feb 21, 2019 at 11:57:29AM +0200, Manolis Tzanidakis wrote:
> Hello ports,
> here is a new port for Mojolicious::Plugin::Authentication, an
> authentication plugin for Mojolicious (www/p5-Mojo).

OK bluhm@

> All tests successful.
> Files=7, Tests=88,  3 wallclock secs ( 0.07 usr  0.07 sys +  1.98 cusr
> 0.45 csys =  2.57 CPU)
> Result: PASS




UPDATE: ircII 20190117

2019-02-21 Thread Brad Smith
Here is an update to ircII 20190117.


Index: Makefile
===
RCS file: /home/cvs/ports/net/ircII/Makefile,v
retrieving revision 1.52
diff -u -p -u -p -r1.52 Makefile
--- Makefile17 Mar 2018 20:41:01 -  1.52
+++ Makefile21 Feb 2019 19:00:57 -
@@ -2,8 +2,7 @@
 
 COMMENT=   Internet Relay Chat client
 
-VERSION=   20170704
-REVISION=  1
+VERSION=   20190117
 DISTNAME=  ircii-${VERSION}
 PKGNAME=   ircII-${VERSION}
 CATEGORIES=net
@@ -20,14 +19,17 @@ MAINTAINER= Brad Smith window = NULL;
do_add = 1;
full_list = server_get_chan_list(server);
-   add_to_list((List **)(void *)_list, (List *) new);
+   if ((new->window = is_bound(channel, server)) == NULL)
Index: pkg/PLIST
===
RCS file: /home/cvs/ports/net/ircII/pkg/PLIST,v
retrieving revision 1.27
diff -u -p -u -p -r1.27 PLIST
--- pkg/PLIST   2 Dec 2015 21:52:16 -   1.27
+++ pkg/PLIST   21 Feb 2019 17:50:04 -
@@ -125,6 +125,7 @@ share/irc/help/exec
 share/irc/help/exit
 share/irc/help/expressions
 share/irc/help/flush
+share/irc/help/for
 share/irc/help/foreach
 share/irc/help/help
 share/irc/help/history
@@ -137,7 +138,11 @@ share/irc/help/input
 share/irc/help/intro
 share/irc/help/invite
 share/irc/help/ircii/
+share/irc/help/ircii/command_line_args
 share/irc/help/ircii/copyright
+share/irc/help/ircii/environment_vars
+share/irc/help/ircii/programming
+share/irc/help/ircii/server_lists
 share/irc/help/ison
 share/irc/help/join
 share/irc/help/kick
@@ -300,11 +305,9 @@ share/irc/help/on/send_dcc_chat
 share/irc/help/on/send_msg
 share/irc/help/on/send_notice
 share/irc/help/on/send_public
-share/irc/help/on/send_talk
 share/irc/help/on/serial_numbers
 share/irc/help/on/server_notice
 share/irc/help/on/signoff
-share/irc/help/on/talk
 share/irc/help/on/timer
 share/irc/help/on/topic
 share/irc/help/on/wall



Re: [UPDATE] devel/p5-File-Slurp to 9999.26

2019-02-21 Thread Alexander Bluhm
On Thu, Feb 21, 2019 at 11:45:57AM -0700, Andrew Hewus Fresh wrote:
> Changes of note are "Perl 5.30 compliance", plus other improvements.
> 
> https://metacpan.org/changes/distribution/File-Slurp
> 
> No fallout in reverse dependency tests.

OK bluhm@

> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/p5-File-Slurp/Makefile,v
> retrieving revision 1.12
> diff -u -p -r1.12 Makefile
> --- Makefile  6 Jan 2019 21:10:39 -   1.12
> +++ Makefile  21 Feb 2019 18:42:46 -
> @@ -4,7 +4,7 @@ COMMENT=  efficient reading/writing of co
>  
>  MODULES= cpan
>  PKG_ARCH=*
> -DISTNAME=File-Slurp-.25
> +DISTNAME=File-Slurp-.26
>  CATEGORIES=  devel
>  
>  # Perl
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/p5-File-Slurp/distinfo,v
> retrieving revision 1.7
> diff -u -p -r1.7 distinfo
> --- distinfo  6 Jan 2019 21:10:39 -   1.7
> +++ distinfo  21 Feb 2019 18:42:46 -
> @@ -1,2 +1,2 @@
> -SHA256 (File-Slurp-.25.tar.gz) = 
> x+qXuuYbxoQER2zmknf295bTGrWMnEDuOQ2dWhxc48E=
> -SIZE (File-Slurp-.25.tar.gz) = 38260
> +SHA256 (File-Slurp-.26.tar.gz) = 
> HieNJd9GMQqNLNCsqbjCcD8eroOKmajLkelpUOiOCTA=
> +SIZE (File-Slurp-.26.tar.gz) = 37645



Re: R: avoid use-after-free

2019-02-21 Thread Ingo Feinerer
On Sat, Feb 16, 2019 at 10:27:30AM +0100, Theo Buehler wrote:
> When running R with vm.malloc_conf=F, doing
> 
> > install.package("any")
> 
> on a fresh R install leads a segfault due to a use-after-free in
> src/modules/internet/libcurl.c:
> 
> 644 for (int i = 0; i < nurls; i++) {
> 
> ...
> 
> here hnd[0] is freed:
> 
> 656 curl_easy_cleanup(hnd[i]);
> 657 }
> 658 // This can show an invalid read: can it be improved?
> 659 long status = 0L;
> 660 if(nurls == 1)
> 661 curl_easy_getinfo(hnd[0], CURLINFO_RESPONSE_CODE, );
> 
> and here it is used again to retrieve the status code.
> 
> Note that the value of status is used later only in case nurls == 1
> for error reporting. The patch below should therefore preserve the
> intended behavior since curl_easy_getinfo() is idempotent.

OK feinerer@

Upstream commit has SVN revision 76143
(https://github.com/wch/r-source/commit/36bcd78ffd71547e1132903c00c5a6dae6e43609)

> Index: Makefile
> ===
> RCS file: /var/cvs/ports/math/R/Makefile,v
> retrieving revision 1.105
> diff -u -p -r1.105 Makefile
> --- Makefile  23 Dec 2018 08:03:45 -  1.105
> +++ Makefile  16 Feb 2019 08:54:02 -
> @@ -2,6 +2,7 @@
>  
>  COMMENT= powerful math/statistics/graphics language
>  DISTNAME=R-3.5.2
> +REVISION=0
>  
>  SO_VERSION=  34.2
>  .for _lib in R Rblas Rlapack
> Index: patches/patch-src_modules_internet_libcurl_c
> ===
> RCS file: patches/patch-src_modules_internet_libcurl_c
> diff -N patches/patch-src_modules_internet_libcurl_c
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-src_modules_internet_libcurl_c  16 Feb 2019 08:43:53 
> -
> @@ -0,0 +1,31 @@
> +$OpenBSD$
> +
> +Avoid use-after-free.
> +Index: src/modules/internet/libcurl.c
> +--- src/modules/internet/libcurl.c.orig
>  src/modules/internet/libcurl.c
> +@@ -641,12 +641,12 @@ in_do_curlDownload(SEXP call, SEXP op, SEXP args, SEXP
> + 
> + n_err += curlMultiCheckerrs(mhnd);
> + 
> ++long status = 0L;
> + for (int i = 0; i < nurls; i++) {
> + if (out[i]) {
> + fclose(out[i]);
> + double dl;
> + curl_easy_getinfo(hnd[i], CURLINFO_SIZE_DOWNLOAD, );
> +-long status;
> + curl_easy_getinfo(hnd[i], CURLINFO_RESPONSE_CODE, );
> + // should we do something about incomplete transfers?
> + if (status != 200 && dl == 0. && strchr(mode, 'w'))
> +@@ -655,10 +655,6 @@ in_do_curlDownload(SEXP call, SEXP op, SEXP args, SEXP
> + curl_multi_remove_handle(mhnd, hnd[i]);
> + curl_easy_cleanup(hnd[i]);
> + }
> +-// This can show an invalid read: can it be improved?
> +-long status = 0L;
> +-if(nurls == 1)
> +-curl_easy_getinfo(hnd[0], CURLINFO_RESPONSE_CODE, );
> + curl_multi_cleanup(mhnd);
> + if (!cacheOK) curl_slist_free_all(slist1);
> + 



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:ports
Changes by: bl...@cvs.openbsd.org   2019/02/21 11:56:05

Modified files:
textproc/p5-PDF-Table: Makefile distinfo 

Log message:
update p5-PDF-Table to 0.10.1
from Manolis Tzanidakis



[UPDATE] devel/p5-File-Slurp to 9999.26

2019-02-21 Thread Andrew Hewus Fresh
Changes of note are "Perl 5.30 compliance", plus other improvements.

https://metacpan.org/changes/distribution/File-Slurp

No fallout in reverse dependency tests.

Index: Makefile
===
RCS file: /cvs/ports/devel/p5-File-Slurp/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile6 Jan 2019 21:10:39 -   1.12
+++ Makefile21 Feb 2019 18:42:46 -
@@ -4,7 +4,7 @@ COMMENT=efficient reading/writing of co
 
 MODULES=   cpan
 PKG_ARCH=  *
-DISTNAME=  File-Slurp-.25
+DISTNAME=  File-Slurp-.26
 CATEGORIES=devel
 
 # Perl
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-File-Slurp/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo6 Jan 2019 21:10:39 -   1.7
+++ distinfo21 Feb 2019 18:42:46 -
@@ -1,2 +1,2 @@
-SHA256 (File-Slurp-.25.tar.gz) = 
x+qXuuYbxoQER2zmknf295bTGrWMnEDuOQ2dWhxc48E=
-SIZE (File-Slurp-.25.tar.gz) = 38260
+SHA256 (File-Slurp-.26.tar.gz) = 
HieNJd9GMQqNLNCsqbjCcD8eroOKmajLkelpUOiOCTA=
+SIZE (File-Slurp-.26.tar.gz) = 37645



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/02/21 10:13:20

Modified files:
x11/gnome/desktop: Makefile 

Log message:
fonts/adobe-fonts/source-code-pro will be the default monospace-font-name
in the next gsettings-desktop-schema, so be proactive and add the
dependency now.



UPDATE: VLC - FFmpeg API

2019-02-21 Thread Brad Smith
Update API usage to deal with current vs new FFmpeg API.


ndex: Makefile
===
RCS file: /home/cvs/ports/x11/vlc/Makefile,v
retrieving revision 1.221
diff -u -p -u -p -r1.221 Makefile
--- Makefile24 Oct 2018 14:28:13 -  1.221
+++ Makefile21 Feb 2019 13:42:21 -
@@ -10,7 +10,7 @@ PKGNAME-jack= vlc-jack-${V}
 CATEGORIES=x11
 MASTER_SITES=  https://download.videolan.org/pub/videolan/vlc/${V}/
 EXTRACT_SUFX=  .tar.xz
-REVISION=  3
+REVISION=  4
 
 SHARED_LIBS=   vlc 3.0 \
vlccore 3.0
Index: patches/patch-configure_ac
===
RCS file: /home/cvs/ports/x11/vlc/patches/patch-configure_ac,v
retrieving revision 1.33
diff -u -p -u -p -r1.33 patch-configure_ac
--- patches/patch-configure_ac  27 May 2017 08:40:14 -  1.33
+++ patches/patch-configure_ac  21 Feb 2019 17:02:00 -
@@ -1,4 +1,7 @@
 $OpenBSD: patch-configure_ac,v 1.33 2017/05/27 08:40:14 ajacoutot Exp $
+
+Update for newer FFmpeg API.
+
 Index: configure.ac
 --- configure.ac.orig
 +++ configure.ac
@@ -56,7 +59,55 @@ Index: configure.ac
], [
  LIVE555_PREFIX=${LIVE555_PREFIX-"/usr/lib/live"}
  CPPFLAGS_live555="-I${LIVE555_PREFIX}/liveMedia/include 
-I${LIVE555_PREFIX}/groupsock/include 
-I${LIVE555_PREFIX}/BasicUsageEnvironment/include 
-I${LIVE555_PREFIX}/UsageEnvironment/include"
-@@ -3730,47 +3699,18 @@ AC_ARG_ENABLE(qt, [
+@@ -2316,10 +2285,10 @@ dnl
+ AC_ARG_ENABLE(avcodec,
+ [  --enable-avcodeclibavcodec codec (default enabled)])
+ AS_IF([test "${enable_avcodec}" != "no"], [
+-  PKG_CHECK_MODULES(AVCODEC,[libavcodec >= 53.34.0 libavutil >= 51.22.0], [
+-PKG_CHECK_EXISTS([libavutil < 55],, [
+-  AC_MSG_ERROR([libavutil versions 55 and later are not supported.])
+-])
++  PKG_CHECK_MODULES(AVCODEC,[libavcodec >= 55.0.0 libavutil >= 51.22.0], [
++dnl PKG_CHECK_EXISTS([libavcodec < 56],, [
++dnl  AC_MSG_ERROR([libavcodec versions 56 and later are not supported 
yet.])
++dnl ])
+ VLC_SAVE_FLAGS
+ CPPFLAGS="${CPPFLAGS} ${AVCODEC_CFLAGS}"
+ CFLAGS="${CFLAGS} ${AVCODEC_CFLAGS}"
+@@ -2377,7 +2346,9 @@ AS_IF([test "${have_vaapi}" = "yes" -a "${have_avcodec
+   case "${avfork}" in
+ ffmpeg)
+   PKG_CHECK_EXISTS([libavcodec >= 57.10.100], [
+-AC_MSG_ERROR([VA API requires FFmpeg libavcodec < 57.10 or libav.])
++PKG_CHECK_EXISTS([libavcodec <= 57.12.100], [
++  AC_MSG_ERROR([VA API requires FFmpeg libavcodec < 57.10 or > 57.12 
or libav.])
++])
+   ])
+   ;;
+   esac
+@@ -2411,7 +2382,9 @@ AS_IF([test "${enable_dxva2}" != "no"], [
+ case "${avfork}" in
+   ffmpeg)
+ PKG_CHECK_EXISTS([libavcodec >= 57.10.100], [
+-  AC_MSG_ERROR([DXVA2 requires FFmpeg libavcodec < 57.10 or libav.])
++  PKG_CHECK_EXISTS([libavcodec <= 57.12.100], [
++AC_MSG_ERROR([DXVA2 requires FFmpeg libavcodec < 57.10 or > 57.12 
or libav.])
++  ])
+ ])
+ ;;
+ esac
+@@ -3175,7 +3148,9 @@ AS_IF([test "${have_vdpau}" = "yes" -a "${have_avcodec
+ libav) av_vdpau_ver="55.26.0" ;;
+ ffmpeg) av_vdpau_ver="55.42.100"
+   PKG_CHECK_EXISTS([libavcodec >= 57.10.100], [
+-AC_MSG_ERROR([VDPAU requires FFmpeg libavcodec < 57.10 or libav.])
++PKG_CHECK_EXISTS([libavcodec <= 57.12.100], [
++  AC_MSG_ERROR([VDPAU requires FFmpeg libavcodec < 57.10 or > 57.12 
or libav.])
++])
+   ])
+   ;;
+   esac
+@@ -3730,47 +3705,18 @@ AC_ARG_ENABLE(qt, [
])
  ])
  AS_IF([test "${enable_qt}" != "no"], [
Index: patches/patch-modules_codec_avcodec_audio_c
===
RCS file: patches/patch-modules_codec_avcodec_audio_c
diff -N patches/patch-modules_codec_avcodec_audio_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-modules_codec_avcodec_audio_c 21 Feb 2019 17:02:16 -
@@ -0,0 +1,50 @@
+$OpenBSD$
+
+Update for newer FFmpeg API.
+
+Index: modules/codec/avcodec/audio.c
+--- modules/codec/avcodec/audio.c.orig
 modules/codec/avcodec/audio.c
+@@ -39,7 +39,7 @@
+ #include 
+ #include 
+ 
+-#include 
++#include 
+ 
+ #include "avcodec.h"
+ 
+@@ -96,7 +96,7 @@ static void InitDecoderConfig( decoder_t *p_dec, AVCod
+ if( i_size > 0 )
+ {
+ p_context->extradata =
+-av_malloc( i_size + FF_INPUT_BUFFER_PADDING_SIZE );
++av_malloc( i_size + AV_INPUT_BUFFER_PADDING_SIZE );
+ if( p_context->extradata )
+ {
+ uint8_t *p_dst = p_context->extradata;
+@@ -104,7 +104,7 @@ static void InitDecoderConfig( decoder_t *p_dec, AVCod
+ p_context->extradata_size = i_size;
+ 
+ memcpy( _dst[0],_src[i_offset], i_size );
+-memset( _dst[i_size], 0, FF_INPUT_BUFFER_PADDING_SIZE );
++memset( 

CVS: cvs.openbsd.org: ports

2019-02-21 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/02/21 10:08:50

Modified files:
x11/gnome/bijiben: Makefile 
x11/gnome/bijiben/pkg: PLIST 
x11/gnome/documents: Makefile 
x11/gnome/grilo-plugins: Makefile 
x11/gnome/nautilus: Makefile 
x11/gnome/online-miners: Makefile 
x11/gnome/photos: Makefile 

Log message:
Sync WANTLIB after tracker and tracker-miners update.



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/02/21 10:08:28

Modified files:
x11/gnome/tracker-miners: Makefile distinfo 
x11/gnome/tracker-miners/pkg: PLIST 
Removed files:
x11/gnome/tracker-miners/patches: patch-configure_ac 

Log message:
Update to tracker-miners-2.2.0.



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2019/02/21 10:08:13

Modified files:
x11/gnome/tracker: Makefile distinfo 
x11/gnome/tracker/patches: 
   patch-tests_functional-tests_test-runner_sh 
x11/gnome/tracker/pkg: PLIST 
Added files:
x11/gnome/tracker/patches: 
   patch-src_libtracker-common_meson_build 

Log message:
Update to (meta-)tracker-2.2.0.



Re: UPDATE: p5-Mojo 8.12 (was: Re: [Update] www/p5-Mojo : update to 8.04)

2019-02-21 Thread Manolis Tzanidakis
Hello,

On Thu (21/02/19), Andrew Hewus Fresh wrote:
> On Thu, Feb 21, 2019 at 02:05:34PM +0100, Mark Patruck wrote:
> > Hi,
> > i never got TEST_IPV6/TLS to work and as i don't use Mojo in production
> > anymore i also drop MAINTAINER.
>
> This update looks OK afresh1@, any volunteers to take over MAINTAINER?

I'm interested.

> Should we disable the failing tests with a comment until someone has
> time to diagnose?

I'm ok with that. My apps already run with this, without problems.

Just opened an issue with upstream, nevertheless:
https://github.com/mojolicious/mojo/issues/1326



Re: [UPDATE] devel/p5-MooseX-Types-Common 0.001002 -> 0.001014

2019-02-21 Thread Andrew Hewus Fresh
On Thu, Feb 07, 2019 at 09:38:17PM +0100, Charlene Wendling wrote:
> Here is an update for MooseX::Types::Common. 
> 
> There are 9 years of changelog to read [1] but no backward incompatible
> change.
> 
> What's new in the port: 
> 
> - Use Module::Build::Tiny now
> - *_DEPENDS overhaul
> 
> Testing: 
> 
> - 'make test' passes
> - There are 65 consumers that i've tested [2]. I've met no new issue
>   due to that update. 
> 
> Comments/feedback are welcome! 

OK afresh1@



> Charlène. 
> 
> [1]
> https://metacpan.org/source/ETHER/MooseX-Types-Common-0.001014/Changes
> [2] https://transfer.sh/10gshc/p5-MooseX-Types-Common.tgz
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/p5-MooseX-Types-Common/Makefile,v
> retrieving revision 1.7
> diff -u -p -u -p -r1.7 Makefile
> --- Makefile  20 Mar 2016 19:56:30 -  1.7
> +++ Makefile  7 Feb 2019 20:25:46 -
> @@ -4,8 +4,7 @@ COMMENT=  library of commonly used type 
>  
>  MODULES= cpan
>  PKG_ARCH=*
> -DISTNAME=MooseX-Types-Common-0.001002
> -REVISION=0
> +DISTNAME=MooseX-Types-Common-0.001014
>  CATEGORIES=  devel
>  
>  MAINTAINER=  Jim Razmus II 
> @@ -13,9 +12,10 @@ MAINTAINER=Jim Razmus II   # perl
>  PERMIT_PACKAGE_CDROM=Yes
>  
> -RUN_DEPENDS= devel/p5-Moose \
> - devel/p5-MooseX-Types
> -TEST_DEPENDS=devel/p5-Test-Exception \
> - sysutils/p5-Capture-Tiny
> +CONFIGURE_STYLE= modbuild tiny
> +
> +RUN_DEPENDS= devel/p5-MooseX-Types
> +TEST_DEPENDS=devel/p5-Test-Deep \
> + devel/p5-Test-Warnings
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/p5-MooseX-Types-Common/distinfo,v
> retrieving revision 1.2
> diff -u -p -u -p -r1.2 distinfo
> --- distinfo  18 Jan 2015 03:13:31 -  1.2
> +++ distinfo  7 Feb 2019 20:25:46 -
> @@ -1,2 +1,2 @@
> -SHA256 (MooseX-Types-Common-0.001002.tar.gz) = 
> eXaBQP4jt0APGHyR3JBPSK4ghv7Spe7ae3is+YqgrVU=
> -SIZE (MooseX-Types-Common-0.001002.tar.gz) = 16897
> +SHA256 (MooseX-Types-Common-0.001014.tar.gz) = 
> 75Nxi20vJA1QtcOssadLTCoZGGllFHAAGoK+HzXQ7w8=
> +SIZE (MooseX-Types-Common-0.001014.tar.gz) = 32971
> 

-- 
andrew - http://afresh1.com

There are two ways to write error-free programs;
only the third one works.



Re: UPDATE: p5-Mojo 8.12 (was: Re: [Update] www/p5-Mojo : update to 8.04)

2019-02-21 Thread Andrew Hewus Fresh
On Thu, Feb 21, 2019 at 02:05:34PM +0100, Mark Patruck wrote:
> Hi,
> 
> i never got TEST_IPV6/TLS to work and as i don't use Mojo in production
> anymore i also drop MAINTAINER.


This update looks OK afresh1@, any volunteers to take over MAINTAINER?

I do use Mojo for openbsd.somedomain.net so I like to see it updated,
but I don't want to say I'll have the time to keep it updated.

Should we disable the failing tests with a comment until someone has
time to diagnose?


> When updating www/p5-Mojo, please also check for
> 
> - www/p5-MojoX-Session
> - textproc/p5-Mojolicious-Plugin-TtRenderer
> 
> If not updated/used, they can be removed i'd say.
> 
>  
> On Wed, Feb 20, 2019 at 01:40:22PM +0200, Manolis Tzanidakis wrote:
> > On Thu (25/10/18), wen heping wrote:
> > > Hi,
> > > 
> > >Here is a patch to update www/p5-Mojo to 8.04 and add some missing 
> > > TEST_DEPENDS.
> > >It build and test well on my amd64 system.
> > 
> > Hello ports and wen,
> > here is another diff for version 8.12, along with the project's actual
> > HOMEPAGE. Maintainer CC'd, as well.
> > 
> > I'm having issues with TEST_IPV6 and TEST_TLS on my amd64 laptop; maybe
> > something to do with my setup.
> > Could you please try 'make test' and report back with the results?
> > 
> > I'd love to see Mojolicious 8 in the 6.5 release.
> > 
> > 
> > Index: Makefile
> > ===
> > RCS file: /cvs/ports/www/p5-Mojo/Makefile,v
> > retrieving revision 1.31
> > diff -u -p -r1.31 Makefile
> > --- Makefile4 Sep 2018 12:46:26 -   1.31
> > +++ Makefile20 Feb 2019 11:27:48 -
> > @@ -4,23 +4,24 @@ COMMENT = next generation web framework 
> >  
> >  MODULES =  cpan
> >  PKG_ARCH = *
> > -DISTNAME = Mojolicious-7.70
> > +DISTNAME = Mojolicious-8.12
> >  CATEGORIES =   www
> > -REVISION = 0
> >  
> >  MAINTAINER =   Mark Patruck 
> >  
> >  # Perl
> >  PERMIT_PACKAGE_CDROM = Yes
> >  
> > -HOMEPAGE = http://mojolicio.us/
> > +HOMEPAGE = https://mojolicious.org/
> >  
> >  CPAN_AUTHOR =  SRI
> >  
> >  RUN_DEPENDS =  devel/p5-EV \
> > security/p5-IO-Socket-SSL>=1.94
> >  
> > -TEST_DEPENDS +=net/p5-IO-Socket-Socks
> > +TEST_DEPENDS +=net/p5-IO-Socket-Socks \
> > +   devel/p5-Role-Tiny>=2.01 \
> > +   converters/p5-Cpanel-JSON-XS>=4.04
> >  
> >  MAKE_ENV += TEST_EV=Yes
> >  MAKE_ENV += TEST_HYPNOTOAD=Yes
> > Index: distinfo
> > ===
> > RCS file: /cvs/ports/www/p5-Mojo/distinfo,v
> > retrieving revision 1.23
> > diff -u -p -r1.23 distinfo
> > --- distinfo16 Mar 2018 17:42:23 -  1.23
> > +++ distinfo20 Feb 2019 11:27:48 -
> > @@ -1,2 +1,2 @@
> > -SHA256 (Mojolicious-7.70.tar.gz) = 
> > wFdGpomCHjhxeqV/RdKfUA3QEd8a+ZMRVtKPHez8ErU=
> > -SIZE (Mojolicious-7.70.tar.gz) = 711260
> > +SHA256 (Mojolicious-8.12.tar.gz) = 
> > vIkpSt7br4e7//sX+3uHi9z4m5B9xOq6UTBdwlRbiek=
> > +SIZE (Mojolicious-8.12.tar.gz) = 752808
> > Index: pkg/PLIST
> > ===
> > RCS file: /cvs/ports/www/p5-Mojo/pkg/PLIST,v
> > retrieving revision 1.13
> > diff -u -p -r1.13 PLIST
> > --- pkg/PLIST   4 Sep 2018 12:46:26 -   1.13
> > +++ pkg/PLIST   20 Feb 2019 11:27:48 -
> > @@ -26,6 +26,7 @@ ${P5SITE}/Mojo/DOM.pm
> >  ${P5SITE}/Mojo/DOM/CSS.pm
> >  ${P5SITE}/Mojo/DOM/HTML.pm
> >  ${P5SITE}/Mojo/Date.pm
> > +${P5SITE}/Mojo/DynamicMethods.pm
> >  ${P5SITE}/Mojo/EventEmitter.pm
> >  ${P5SITE}/Mojo/Exception.pm
> >  ${P5SITE}/Mojo/File.pm
> > @@ -88,22 +89,22 @@ ${P5SITE}/Mojolicious/
> >  ${P5SITE}/Mojolicious.pm
> >  ${P5SITE}/Mojolicious/Command/
> >  ${P5SITE}/Mojolicious/Command.pm
> > +${P5SITE}/Mojolicious/Command/Author/
> > +${P5SITE}/Mojolicious/Command/Author/cpanify.pm
> > +${P5SITE}/Mojolicious/Command/Author/generate/
> > +${P5SITE}/Mojolicious/Command/Author/generate.pm
> > +${P5SITE}/Mojolicious/Command/Author/generate/app.pm
> > +${P5SITE}/Mojolicious/Command/Author/generate/lite_app.pm
> > +${P5SITE}/Mojolicious/Command/Author/generate/makefile.pm
> > +${P5SITE}/Mojolicious/Command/Author/generate/plugin.pm
> > +${P5SITE}/Mojolicious/Command/Author/inflate.pm
> >  ${P5SITE}/Mojolicious/Command/cgi.pm
> > -${P5SITE}/Mojolicious/Command/cpanify.pm
> >  ${P5SITE}/Mojolicious/Command/daemon.pm
> >  ${P5SITE}/Mojolicious/Command/eval.pm
> > -${P5SITE}/Mojolicious/Command/generate/
> > -${P5SITE}/Mojolicious/Command/generate.pm
> > -${P5SITE}/Mojolicious/Command/generate/app.pm
> > -${P5SITE}/Mojolicious/Command/generate/lite_app.pm
> > -${P5SITE}/Mojolicious/Command/generate/makefile.pm
> > -${P5SITE}/Mojolicious/Command/generate/plugin.pm
> >  ${P5SITE}/Mojolicious/Command/get.pm
> > -${P5SITE}/Mojolicious/Command/inflate.pm
> >  ${P5SITE}/Mojolicious/Command/prefork.pm
> >  ${P5SITE}/Mojolicious/Command/psgi.pm
> >  

Re: [UPDATE] databases/p5-Mojo-Pg to 4.13

2019-02-21 Thread Abel Abraham Camarillo Ojeda
On Thursday, February 21, 2019, Manolis Tzanidakis 
wrote:

> Hello ports,
> here is an update for databases/p5-Mojo-Pg to 4.13.
>
> This version requires a newer version of databases/p5-SQL-Abstract than
> the one currently in the tree. A diff to update p5-SQL-Abstract was
> sent on another email to the list.
>
> All tests successful.
> Files=10, Tests=328,  9 wallclock secs ( 0.10 usr  0.07 sys +  4.31 cusr
> 1.16 csys =  5.64 CPU)
> Result: PASS
>
>
> Index: Makefile
> ===
> RCS file: /cvs/ports/databases/p5-Mojo-Pg/Makefile,v
> retrieving revision 1.3
> diff -u -p -r1.3 Makefile
> --- Makefile20 Mar 2016 19:56:11 -  1.3
> +++ Makefile21 Feb 2019 09:40:18 -
> @@ -4,7 +4,7 @@ COMMENT =   dbd-pg wrapper for mojoliciou
>
>  MODULES =  cpan databases/postgresql
>  PKG_ARCH = *
> -DISTNAME = Mojo-Pg-2.17
> +DISTNAME = Mojo-Pg-4.13
>  CATEGORIES =   databases
>  MAINTAINER =   Abel Abraham Camarillo Ojeda 
>
> @@ -14,7 +14,8 @@ PERMIT_PACKAGE_CDROM =Yes
>  CPAN_AUTHOR =  SRI
>
>  RUN_DEPENDS =  databases/p5-DBD-Pg>=3.5.1 \
> -   www/p5-Mojo>=6
> +   databases/p5-SQL-Abstract>=1.84 \
> +   www/p5-Mojo>=7.15 \
>
>  MODPOSTGRESQL_TEST_DBNAME =testdb
>  TEST_FLAGS =   TEST_ONLINE=postgresql:///${
> MODPOSTGRESQL_TEST_DBNAME}
> Index: distinfo
> ===
> RCS file: /cvs/ports/databases/p5-Mojo-Pg/distinfo,v
> retrieving revision 1.2
> diff -u -p -r1.2 distinfo
> --- distinfo7 Jan 2016 09:00:03 -   1.2
> +++ distinfo21 Feb 2019 09:40:18 -
> @@ -1,2 +1,2 @@
> -SHA256 (Mojo-Pg-2.17.tar.gz) = MEynT/6H1qhQaQv4pvRYWJ4OXZI0R2twKJt+
> Y1BIGQU=
> -SIZE (Mojo-Pg-2.17.tar.gz) = 24660
> +SHA256 (Mojo-Pg-4.13.tar.gz) = XtLcqkdCMqqUg3oFQHY9IRdt5W6WaF
> Eut7UtApfwCKA=
> +SIZE (Mojo-Pg-4.13.tar.gz) = 37795
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/databases/p5-Mojo-Pg/pkg/PLIST,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 PLIST
> --- pkg/PLIST   30 Oct 2015 16:52:04 -  1.1.1.1
> +++ pkg/PLIST   21 Feb 2019 09:40:18 -
> @@ -6,9 +6,11 @@ ${P5SITE}/Mojo/Pg/Migrations.pm
>  ${P5SITE}/Mojo/Pg/PubSub.pm
>  ${P5SITE}/Mojo/Pg/Results.pm
>  ${P5SITE}/Mojo/Pg/Transaction.pm
> +${P5SITE}/SQL/Abstract/Pg.pm
>  @man man/man3p/Mojo::Pg.3p
>  @man man/man3p/Mojo::Pg::Database.3p
>  @man man/man3p/Mojo::Pg::Migrations.3p
>  @man man/man3p/Mojo::Pg::PubSub.3p
>  @man man/man3p/Mojo::Pg::Results.3p
>  @man man/man3p/Mojo::Pg::Transaction.3p
> +@man man/man3p/SQL::Abstract::Pg.3p
>
>
diff looks good to me


Re: [update] openvpn-2.4.7

2019-02-21 Thread Theo Buehler
On Thu, Feb 21, 2019 at 04:47:25PM +0100, Jeremie Courreges-Anglas wrote:
> 
> Hi,
> 
> openvpn-2.4.7 was released earlier today, with support for TLSv1.3.
> That doesn't change much for us: TLSv1.3 is in the works in LibreSSL,
> and there's no code yet in OpenVPN to support TLSv1.3 with mbedtls.
> 
>   https://github.com/OpenVPN/openvpn/blob/release/2.4/Changes.rst
>   https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn24
> 
> I thought I'd mention this from the announcement mail:
> --8<--
> Please note that LibreSSL is not a supported crypto backend. We accept
> patches and we do test on OpenBSD 6.0 which comes with LibreSSL, but if
> newer versions of LibreSSL break API compatibility we do not take
> responsibility to fix that.
> -->8--
> 
> Given the way past API differences between OpenSSL and LibreSSL have
> been dealt with upstream, the statement doesn't change things for ports
> users anyway.  My efforts with upstream have stalled in the past months.
> 
> Which leads us to this diff, with some parts force-disabling the TLSv1.3
> code paths introduced upstream.  I dislike the OPENSSL_NO_* macros even
> more than the OPENSSL_VERSION_NUMBER checks, but since that's what the
> ecosystem seems to prefer...
> 
> Reviews and tests welcome.

While I'm no OpenVPN user, this reads and builds fine and is what we
discussed about a month ago.

ok tb (once you're happy with the number of tests reports or you've
waited long enough)

I noticed that there is one test that is skipped:

make  check-TESTS
./t_client.sh: cannot find 't_client.rc' in build dir ('..')
./t_client.sh: or source directory 
('/usr/ports/pobj/openvpn-2.4.7/openvpn-2.4.7/tests'). SKIPPING TEST.
SKIP: t_client.sh

but I didn't investigate further.



[update] openvpn-2.4.7

2019-02-21 Thread Jeremie Courreges-Anglas


Hi,

openvpn-2.4.7 was released earlier today, with support for TLSv1.3.
That doesn't change much for us: TLSv1.3 is in the works in LibreSSL,
and there's no code yet in OpenVPN to support TLSv1.3 with mbedtls.

  https://github.com/OpenVPN/openvpn/blob/release/2.4/Changes.rst
  https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn24

I thought I'd mention this from the announcement mail:
--8<--
Please note that LibreSSL is not a supported crypto backend. We accept
patches and we do test on OpenBSD 6.0 which comes with LibreSSL, but if
newer versions of LibreSSL break API compatibility we do not take
responsibility to fix that.
-->8--

Given the way past API differences between OpenSSL and LibreSSL have
been dealt with upstream, the statement doesn't change things for ports
users anyway.  My efforts with upstream have stalled in the past months.

Which leads us to this diff, with some parts force-disabling the TLSv1.3
code paths introduced upstream.  I dislike the OPENSSL_NO_* macros even
more than the OPENSSL_VERSION_NUMBER checks, but since that's what the
ecosystem seems to prefer...

Reviews and tests welcome.


Index: Makefile
===
RCS file: /cvs/ports/net/openvpn/Makefile,v
retrieving revision 1.92
diff -u -p -r1.92 Makefile
--- Makefile7 Dec 2018 18:31:33 -   1.92
+++ Makefile21 Feb 2019 14:37:20 -
@@ -2,9 +2,8 @@
 
 COMMENT=   easy-to-use, robust, and highly configurable VPN
 
-DISTNAME=  openvpn-2.4.6
+DISTNAME=  openvpn-2.4.7
 CATEGORIES=net security
-REVISION=  1
 
 HOMEPAGE=  https://openvpn.net/index.php/open-source/
 
Index: distinfo
===
RCS file: /cvs/ports/net/openvpn/distinfo,v
retrieving revision 1.41
diff -u -p -r1.41 distinfo
--- distinfo24 Apr 2018 17:32:43 -  1.41
+++ distinfo21 Feb 2019 14:37:20 -
@@ -1,2 +1,2 @@
-SHA256 (openvpn-2.4.6.tar.gz) = c429N/z465OCxTYo2yIljEG6lVAWVRnZIA6L6670y+I=
-SIZE (openvpn-2.4.6.tar.gz) = 1431971
+SHA256 (openvpn-2.4.7.tar.gz) = c9zlQu09bwVTZ09JAl373/GDSOuKJeYhUTXWhrFlQjw=
+SIZE (openvpn-2.4.7.tar.gz) = 1457784
Index: patches/patch-configure
===
RCS file: /cvs/ports/net/openvpn/patches/patch-configure,v
retrieving revision 1.19
diff -u -p -r1.19 patch-configure
--- patches/patch-configure 4 Mar 2018 19:03:00 -   1.19
+++ patches/patch-configure 21 Feb 2019 14:37:20 -
@@ -2,7 +2,7 @@ $OpenBSD: patch-configure,v 1.19 2018/03
 Index: configure
 --- configure.orig
 +++ configure
-@@ -18057,7 +18057,7 @@ else
+@@ -18033,7 +18033,7 @@ else
  fi
  
  
Index: patches/patch-src_openvpn_ssl_c
===
RCS file: patches/patch-src_openvpn_ssl_c
diff -N patches/patch-src_openvpn_ssl_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_openvpn_ssl_c 21 Feb 2019 14:37:20 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: src/openvpn/ssl.c
+--- src/openvpn/ssl.c.orig
 src/openvpn/ssl.c
+@@ -4146,7 +4146,7 @@ show_available_tls_ciphers(const char *cipher_list,
+ {
+ printf("Available TLS Ciphers, listed in order of preference:\n");
+ 
+-#if (ENABLE_CRYPTO_OPENSSL && OPENSSL_VERSION_NUMBER >= 0x1010100fL)
++#if (ENABLE_CRYPTO_OPENSSL && OPENSSL_VERSION_NUMBER >= 0x1010100fL && 
!defined(OPENSSL_NO_TLS1_3))
+ printf("\nFor TLS 1.3 and newer (--tls-ciphersuites):\n\n");
+ show_available_tls_ciphers_list(cipher_list_tls13, tls_cert_profile, 
true);
+ #else
Index: patches/patch-src_openvpn_ssl_openssl_c
===
RCS file: patches/patch-src_openvpn_ssl_openssl_c
diff -N patches/patch-src_openvpn_ssl_openssl_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_openvpn_ssl_openssl_c 21 Feb 2019 14:37:20 -
@@ -0,0 +1,41 @@
+$OpenBSD$
+
+Index: src/openvpn/ssl_openssl.c
+--- src/openvpn/ssl_openssl.c.orig
 src/openvpn/ssl_openssl.c
+@@ -206,7 +206,7 @@ info_callback(INFO_CALLBACK_SSL_CONST SSL *s, int wher
+ int
+ tls_version_max(void)
+ {
+-#if defined(TLS1_3_VERSION)
++#if defined(TLS1_3_VERSION) && !defined(OPENSSL_NO_TLS1_3)
+ return TLS_VER_1_3;
+ #elif defined(TLS1_2_VERSION) || defined(SSL_OP_NO_TLSv1_2)
+ return TLS_VER_1_2;
+@@ -233,7 +233,7 @@ openssl_tls_version(int ver)
+ {
+ return TLS1_2_VERSION;
+ }
+-#if defined(TLS1_3_VERSION)
++#if defined(TLS1_3_VERSION) && !defined(OPENSSL_NO_TLS1_3)
+ else if (ver == TLS_VER_1_3)
+ {
+ return TLS1_3_VERSION;
+@@ -459,7 +459,7 @@ tls_ctx_restrict_ciphers_tls13(struct tls_root_ctx *ct
+ return;
+ }
+ 
+-#if (OPENSSL_VERSION_NUMBER < 0x1010100fL)
++#if (OPENSSL_VERSION_NUMBER < 0x1010100fL) || defined(OPENSSL_NO_TLS1_3)
+ crypto_msg(M_WARN, "Not compiled with OpenSSL 1.1.1 or higher. "
+"Ignoring TLS 

CVS: cvs.openbsd.org: ports

2019-02-21 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:ports
Changes by: bl...@cvs.openbsd.org   2019/02/21 07:23:48

Log message:
import p5-Term-Size-Perl 0.031
OK afresh1@

Comment:
perl extension for retrieving terminal size

Description:
Yet another implementation of Term::Size.  Now in pure Perl, with
the exception of a C probe run on build time.

Status:

Vendor Tag: bluhm
Release Tags:   bluhm_20190221

N ports/devel/p5-Term-Size-Perl/Makefile
N ports/devel/p5-Term-Size-Perl/distinfo
N ports/devel/p5-Term-Size-Perl/pkg/DESCR
N ports/devel/p5-Term-Size-Perl/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:ports
Changes by: bl...@cvs.openbsd.org   2019/02/21 07:26:22

Modified files:
devel  : Makefile 

Log message:
+p5-Term-Size-Perl



Re: Linking issue with VLC 3

2019-02-21 Thread Stuart Henderson
On 2019/02/09 11:40, Brad Smith wrote:
> I have been looking at updating VLC to version 3, but as I am looking into =
> it I
> have run into a linking issue. I am looking for any help to resolve the iss=
> ue.
> 
> The issue is with VLC building a libtool convenience library called libcomp=
> at to
> provide various substitute functions which don't exist on OpenBSD, e.g. ffs=
> ll(),
> strnstr() and tdestroy().
> 
> Here is a start at an update plus FFmpeg 4.1 which is required for VLC 3.
> 
> https://comstyle.com/ffmpeg/ffmpeg.diff
> https://comstyle.com/ffmpeg/vlc.diff

This doesn't help, but I just wanted to add that it's no different if you
use ld.bfd instead of LLD.


> libtool: link: cc -shared  -fPIC -DPIC -o .libs/libhttps_plugin.so  access/=
> http/.libs/access.o   .libs/libhttps_plugin.lax/libcompat.a/dummy.o .libs/l=
> ibhttps_plugin.lax/libcompat.a/ffsll.o .libs/libhttps_plugin.lax/libcompat.=
> a/strnstr.o .libs/libhttps_plugin.lax/libcompat.a/strverscmp.o .libs/libhtt=
> ps_plugin.lax/libcompat.a/tdestroy.o  .libs/libhttps_plugin.lax/libvlc_http=
> =2Ea/dummy.o
> =2Elibs/libhttps_plugin.lax/libvlc_http.a/ffsll.o .libs/libhttps_plugin.lax=
> /libvlc_http.a/libvlc_http_la-chunked.o .libs/libhttps_plugin.lax/libvlc_ht=
> tp.a/libvlc_http_la-connmgr.o .libs/libhttps_plugin.lax/libvlc_http.a/libvl=
> c_http_la-file.o .libs/libhttps_plugin.lax/libvlc_http.a/libvlc_http_la-h1c=
> onn.o .libs/libhttps_plugin.lax/libvlc_http.a/libvlc_http_la-h2conn.o .libs=
> /libhttps_plugin.lax/libvlc_http.a/libvlc_http_la-h2frame.o .libs/libhttps_=
> plugin.lax/libvlc_http.a/libvlc_http_la-h2output.o .libs/libhttps_plugin.la=
> x/libvlc_http.a/libvlc_http_la-hpack.o .libs/libhttps_plugin.lax/libvlc_htt=
> p.a/libvlc_http_la-hpackenc.o .libs/libhttps_plugin.lax/libvlc_http.a/libvl=
> c_http_la-live.o .libs/libhttps_plugin.lax/libvlc_http.a/libvlc_http_la-mes=
> sage.o .libs/libhttps_plugin.lax/libvlc_http.a/libvlc_http_la-resource.o .l=
> ibs/libhttps_plugin.lax/libvlc_http.a/libvlc_http_la-tunnel.o .libs/libhttp=
> s_plugin.lax/libvlc_http.a/strnstr.o .libs/libhttps_plugin.lax/libvlc_http.=
> a/strverscmp.o .libs/libhttps_plugin.lax/libvlc_http.a/tdestroy.o   -L/home=
> /ports/pobj/vlc-3.0.6/vlc-3.0.6/src/.libs -L/usr/X11R6/lib -L/usr/local/lib=
>  -L../src/.libs -lvlccore -lidn -lintl -liconv -lc -ldbus-1 -lm -lpthread  =
> -O2 -Wl,-z -Wl,defs   -Wl,-retain-symbols-file,.libs/libhttps_plugin.exp
> ld: error: duplicate symbol: ffsll
> >>> defined at ffsll.c
> >>>.libs/libhttps_plugin.lax/libcompat.a/ffsll.o:(ffsll)
> >>> defined at ffsll.c
> >>>.libs/libhttps_plugin.lax/libvlc_http.a/ffsll.o:(.text+0x0)
> 
> ld: error: duplicate symbol: strnstr
> >>> defined at strnstr.c
> >>>.libs/libhttps_plugin.lax/libcompat.a/strnstr.o:(strnstr)
> >>> defined at strnstr.c
> >>>.libs/libhttps_plugin.lax/libvlc_http.a/strnstr.o:(.text+0x0)
> 
> ld: error: duplicate symbol: strverscmp
> >>> defined at strverscmp.c
> >>>.libs/libhttps_plugin.lax/libcompat.a/strverscmp.o:(strversc=
> mp)
> >>> defined at strverscmp.c
> >>>.libs/libhttps_plugin.lax/libvlc_http.a/strverscmp.o:(.text+=
> 0x0)
> 
> ld: error: duplicate symbol: tdestroy
> >>> defined at tdestroy.c
> >>>.libs/libhttps_plugin.lax/libcompat.a/tdestroy.o:(tdestroy)
> >>> defined at tdestroy.c
> >>>.libs/libhttps_plugin.lax/libvlc_http.a/tdestroy.o:(.text+0x=
> 0)
> 



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/02/21 06:08:25

Modified files:
databases/postgresql-previous: Makefile 

Log message:
Copy chunk from old ../postgresql: gcc is needed for postgresql 10.6+ on i386.



Re: UPDATE: p5-Mojo 8.12 (was: Re: [Update] www/p5-Mojo : update to 8.04)

2019-02-21 Thread Mark Patruck
Hi,

i never got TEST_IPV6/TLS to work and as i don't use Mojo in production
anymore i also drop MAINTAINER.

When updating www/p5-Mojo, please also check for

- www/p5-MojoX-Session
- textproc/p5-Mojolicious-Plugin-TtRenderer

If not updated/used, they can be removed i'd say.

 
On Wed, Feb 20, 2019 at 01:40:22PM +0200, Manolis Tzanidakis wrote:
> On Thu (25/10/18), wen heping wrote:
> > Hi,
> > 
> >Here is a patch to update www/p5-Mojo to 8.04 and add some missing 
> > TEST_DEPENDS.
> >It build and test well on my amd64 system.
> 
> Hello ports and wen,
> here is another diff for version 8.12, along with the project's actual
> HOMEPAGE. Maintainer CC'd, as well.
> 
> I'm having issues with TEST_IPV6 and TEST_TLS on my amd64 laptop; maybe
> something to do with my setup.
> Could you please try 'make test' and report back with the results?
> 
> I'd love to see Mojolicious 8 in the 6.5 release.
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/www/p5-Mojo/Makefile,v
> retrieving revision 1.31
> diff -u -p -r1.31 Makefile
> --- Makefile  4 Sep 2018 12:46:26 -   1.31
> +++ Makefile  20 Feb 2019 11:27:48 -
> @@ -4,23 +4,24 @@ COMMENT =   next generation web framework 
>  
>  MODULES =cpan
>  PKG_ARCH =   *
> -DISTNAME =   Mojolicious-7.70
> +DISTNAME =   Mojolicious-8.12
>  CATEGORIES = www
> -REVISION =   0
>  
>  MAINTAINER = Mark Patruck 
>  
>  # Perl
>  PERMIT_PACKAGE_CDROM =   Yes
>  
> -HOMEPAGE =   http://mojolicio.us/
> +HOMEPAGE =   https://mojolicious.org/
>  
>  CPAN_AUTHOR =SRI
>  
>  RUN_DEPENDS =devel/p5-EV \
>   security/p5-IO-Socket-SSL>=1.94
>  
> -TEST_DEPENDS +=  net/p5-IO-Socket-Socks
> +TEST_DEPENDS +=  net/p5-IO-Socket-Socks \
> + devel/p5-Role-Tiny>=2.01 \
> + converters/p5-Cpanel-JSON-XS>=4.04
>  
>  MAKE_ENV += TEST_EV=Yes
>  MAKE_ENV += TEST_HYPNOTOAD=Yes
> Index: distinfo
> ===
> RCS file: /cvs/ports/www/p5-Mojo/distinfo,v
> retrieving revision 1.23
> diff -u -p -r1.23 distinfo
> --- distinfo  16 Mar 2018 17:42:23 -  1.23
> +++ distinfo  20 Feb 2019 11:27:48 -
> @@ -1,2 +1,2 @@
> -SHA256 (Mojolicious-7.70.tar.gz) = 
> wFdGpomCHjhxeqV/RdKfUA3QEd8a+ZMRVtKPHez8ErU=
> -SIZE (Mojolicious-7.70.tar.gz) = 711260
> +SHA256 (Mojolicious-8.12.tar.gz) = 
> vIkpSt7br4e7//sX+3uHi9z4m5B9xOq6UTBdwlRbiek=
> +SIZE (Mojolicious-8.12.tar.gz) = 752808
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/www/p5-Mojo/pkg/PLIST,v
> retrieving revision 1.13
> diff -u -p -r1.13 PLIST
> --- pkg/PLIST 4 Sep 2018 12:46:26 -   1.13
> +++ pkg/PLIST 20 Feb 2019 11:27:48 -
> @@ -26,6 +26,7 @@ ${P5SITE}/Mojo/DOM.pm
>  ${P5SITE}/Mojo/DOM/CSS.pm
>  ${P5SITE}/Mojo/DOM/HTML.pm
>  ${P5SITE}/Mojo/Date.pm
> +${P5SITE}/Mojo/DynamicMethods.pm
>  ${P5SITE}/Mojo/EventEmitter.pm
>  ${P5SITE}/Mojo/Exception.pm
>  ${P5SITE}/Mojo/File.pm
> @@ -88,22 +89,22 @@ ${P5SITE}/Mojolicious/
>  ${P5SITE}/Mojolicious.pm
>  ${P5SITE}/Mojolicious/Command/
>  ${P5SITE}/Mojolicious/Command.pm
> +${P5SITE}/Mojolicious/Command/Author/
> +${P5SITE}/Mojolicious/Command/Author/cpanify.pm
> +${P5SITE}/Mojolicious/Command/Author/generate/
> +${P5SITE}/Mojolicious/Command/Author/generate.pm
> +${P5SITE}/Mojolicious/Command/Author/generate/app.pm
> +${P5SITE}/Mojolicious/Command/Author/generate/lite_app.pm
> +${P5SITE}/Mojolicious/Command/Author/generate/makefile.pm
> +${P5SITE}/Mojolicious/Command/Author/generate/plugin.pm
> +${P5SITE}/Mojolicious/Command/Author/inflate.pm
>  ${P5SITE}/Mojolicious/Command/cgi.pm
> -${P5SITE}/Mojolicious/Command/cpanify.pm
>  ${P5SITE}/Mojolicious/Command/daemon.pm
>  ${P5SITE}/Mojolicious/Command/eval.pm
> -${P5SITE}/Mojolicious/Command/generate/
> -${P5SITE}/Mojolicious/Command/generate.pm
> -${P5SITE}/Mojolicious/Command/generate/app.pm
> -${P5SITE}/Mojolicious/Command/generate/lite_app.pm
> -${P5SITE}/Mojolicious/Command/generate/makefile.pm
> -${P5SITE}/Mojolicious/Command/generate/plugin.pm
>  ${P5SITE}/Mojolicious/Command/get.pm
> -${P5SITE}/Mojolicious/Command/inflate.pm
>  ${P5SITE}/Mojolicious/Command/prefork.pm
>  ${P5SITE}/Mojolicious/Command/psgi.pm
>  ${P5SITE}/Mojolicious/Command/routes.pm
> -${P5SITE}/Mojolicious/Command/test.pm
>  ${P5SITE}/Mojolicious/Command/version.pm
>  ${P5SITE}/Mojolicious/Commands.pm
>  ${P5SITE}/Mojolicious/Controller.pm
> @@ -127,7 +128,6 @@ ${P5SITE}/Mojolicious/Plugin/EPRenderer.
>  ${P5SITE}/Mojolicious/Plugin/HeaderCondition.pm
>  ${P5SITE}/Mojolicious/Plugin/JSONConfig.pm
>  ${P5SITE}/Mojolicious/Plugin/Mount.pm
> -${P5SITE}/Mojolicious/Plugin/PODRenderer.pm
>  ${P5SITE}/Mojolicious/Plugin/TagHelpers.pm
>  ${P5SITE}/Mojolicious/Plugins.pm
>  ${P5SITE}/Mojolicious/Renderer.pm
> @@ -149,25 +149,23 @@ ${P5SITE}/Mojolicious/resources/public/m
>  

UPDATE: openimageio - FFmpeg API

2019-02-21 Thread Brad Smith
Update API usage to deal with current vs new FFmpeg API.


Index: Makefile
===
RCS file: /home/cvs/ports/graphics/openimageio/Makefile,v
retrieving revision 1.32
diff -u -p -u -p -r1.32 Makefile
--- Makefile25 Jan 2019 20:09:43 -  1.32
+++ Makefile21 Feb 2019 12:23:41 -
@@ -10,7 +10,7 @@ GH_PROJECT =  oiio
 V =1.8.6
 GH_TAGNAME =   Release-$V
 DISTNAME = openimageio-${V}
-REVISION = 1
+REVISION = 2
 
 SHARED_LIBS += OpenImageIO 5.0 # 1.0
 SHARED_LIBS += OpenImageIO_Util2.0 # 1.5
Index: patches/patch-src_ffmpeg_imageio_ffmpeginput_cpp
===
RCS file: patches/patch-src_ffmpeg_imageio_ffmpeginput_cpp
diff -N patches/patch-src_ffmpeg_imageio_ffmpeginput_cpp
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_ffmpeg_imageio_ffmpeginput_cpp21 Feb 2019 12:34:41 
-
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Update for newer FFmpeg API.
+
+Index: src/ffmpeg.imageio/ffmpeginput.cpp
+--- src/ffmpeg.imageio/ffmpeginput.cpp.orig
 src/ffmpeg.imageio/ffmpeginput.cpp
+@@ -330,7 +330,7 @@ FFmpegInput::open (const std::string , ImageSpec 
+ !strcmp (m_codec_context->codec->name, "dvvideo")) {
+ m_offset_time = false;
+ }
+-m_codec_cap_delay = (bool) (m_codec_context->codec->capabilities & 
CODEC_CAP_DELAY);
++m_codec_cap_delay = (bool) (m_codec_context->codec->capabilities & 
AV_CODEC_CAP_DELAY);
+ 
+ AVStream *stream = m_format_context->streams[m_video_stream];
+ if (stream->r_frame_rate.num != 0 && stream->r_frame_rate.den != 0) {



Re: [UPDATE] devel/p5-MooseX-Types-Structured 0.33 -> 0.36

2019-02-21 Thread Charlene Wendling
Ping. 

On Fri, 8 Feb 2019 15:23:04 +0100
Charlene Wendling wrote:

> I'm proposing here an update for MooseX::Types::Structured.
> 
> There are only a few changes upstream [1]: distribution tooling
> has been changed, slurpy constraints fixed, documentation improved.
> 
> Port-wise i did a *_DEPENDS cleanup, otherwise it's a simple version
> bump. 
> 
> Testing: 
> 
> - 'make test' passes
> - There are 5 consumers and they all pass! [2]
> 
> Comments/feedback are welcome! 
> 
> Charlène. 
> 
> 
> [1] https://metacpan.org/changes/distribution/MooseX-Types-Structured
> [2] https://transfer.sh/g0nIm/p5-MooseX-Types-Structured.tgz
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/p5-MooseX-Types-Structured/Makefile,v
> retrieving revision 1.12
> diff -u -p -u -p -r1.12 Makefile
> --- Makefile  20 Mar 2016 19:56:30 -  1.12
> +++ Makefile  8 Feb 2019 14:09:58 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT= structured Type Constraints for Moose
>  
> -DISTNAME =   MooseX-Types-Structured-0.33
> +DISTNAME =   MooseX-Types-Structured-0.36
>  
>  CATEGORIES=  devel
>  
> @@ -14,11 +14,14 @@ PKG_ARCH= *
>  
>  RUN_DEPENDS= devel/p5-Devel-PartialDump \
>   devel/p5-MooseX-Types>=0.22 \
> - devel/p5-MooseX-Types-DateTime \
>   devel/p5-Sub-Exporter
>  BUILD_DEPENDS=   ${RUN_DEPENDS}
>  
> -TEST_DEPENDS =   devel/p5-Test-Fatal \
> - devel/p5-Test-Requires
> +TEST_DEPENDS=devel/p5-DateTime \
> + devel/p5-MooseX-Types-DateTime \
> + devel/p5-Test-Fatal \
> + devel/p5-Test-Needs
> +
> +CONFIGURE_STYLE =modbuild tiny
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/p5-MooseX-Types-Structured/distinfo,v
> retrieving revision 1.4
> diff -u -p -u -p -r1.4 distinfo
> --- distinfo  13 Jun 2015 08:37:31 -  1.4
> +++ distinfo  8 Feb 2019 14:09:58 -
> @@ -1,2 +1,2 @@
> -SHA256 (MooseX-Types-Structured-0.33.tar.gz) =
> Vys42xBJNQqh642RmhpvOVHZcSwaL8/vMBpVbe7UR5U= -SIZE
> (MooseX-Types-Structured-0.33.tar.gz) = 58533 +SHA256
> (MooseX-Types-Structured-0.36.tar.gz) =
> Q822UvljhyPjV3yw+LVGhiAkTJY252WYEeW0qAFgPVc= +SIZE
> (MooseX-Types-Structured-0.36.tar.gz) = 61348 Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/devel/p5-MooseX-Types-Structured/pkg/PLIST,v
> retrieving revision 1.3 diff -u -p -u -p -r1.3 PLIST
> --- pkg/PLIST 13 Jun 2015 08:37:31 -  1.3
> +++ pkg/PLIST 8 Feb 2019 14:09:58 -
> @@ -12,5 +12,10 @@ ${P5SITE}/MooseX/Types/Structured/
>  ${P5SITE}/MooseX/Types/Structured.pm
>  ${P5SITE}/MooseX/Types/Structured/MessageStack.pm
>  ${P5SITE}/MooseX/Types/Structured/OverflowHandler.pm
> +@man man/man3p/MooseX::Meta::TypeCoercion::Structured.3p
> +@man man/man3p/MooseX::Meta::TypeCoercion::Structured::Optional.3p
>  @man man/man3p/MooseX::Meta::TypeConstraint::Structured.3p
> +@man man/man3p/MooseX::Meta::TypeConstraint::Structured::Optional.3p
>  @man man/man3p/MooseX::Types::Structured.3p
> +@man man/man3p/MooseX::Types::Structured::MessageStack.3p
> +@man man/man3p/MooseX::Types::Structured::OverflowHandler.3p
> 



Re: [UPDATE] audio/abcde 2.9.2 -> 2.9.3

2019-02-21 Thread Charlene Wendling


Ping. 


On Thu, 14 Feb 2019 18:55:27 +0100
Charlene Wendling wrote:

> Hi,
> 
> Can someone check this update out please?
> 
> Charlène. 
> 
> On Wed, 6 Feb 2019 17:31:47 +0100
> Charlene Wendling wrote:
> 
> > Hi ports,
> > 
> > abcde 2.9.3 has been released yesterday, so here is an update! 
> > 
> > What's new upstream [1]:
> > 
> > - Replace non portable sed code with a simple awk statement
> > - Deal with bizarre cdda2wav behaviour when doing cdtext lookup
> > - Add support for detecting if recode is installed when the
> >   mungefilename directive is used in abcde.conf
> > 
> > What's new in the port:
> > 
> > - Changed my MAINTAINER mail address
> > - Dropped the upstreamed patch
> > 
> > What i've tested successfully, with the default abcde.conf: 
> > 
> > - ripping to wav, mp3, flac, ogg
> > - embedded album art
> > - musicbrainz support
> > 
> > Any comments/feedback? 
> > 
> > Charlène. 
> > 
> > 
> > [1]
> > https://git.einval.com/cgi-bin/gitweb.cgi?p=abcde.git;a=blob_plain;f=changelog;h=e72086e88e069b5ec5a24b93672b1a1da2aa2d89;hb=HEAD
> > 
> > 
> > Index: Makefile
> > ===
> > RCS file: /cvs/ports/audio/abcde/Makefile,v
> > retrieving revision 1.28
> > diff -u -p -u -p -r1.28 Makefile
> > --- Makefile31 Aug 2018 08:48:12 -  1.28
> > +++ Makefile6 Feb 2019 14:14:59 -
> > @@ -2,13 +2,13 @@
> >  
> >  COMMENT=   command-line utility to rip and encode audio cds
> >  
> > -DISTNAME=  abcde-2.9.2
> > +DISTNAME=  abcde-2.9.3
> >  EPOCH= 0
> >  CATEGORIES=audio
> >  
> >  HOMEPAGE=  https://abcde.einval.com/
> >  
> > -MAINTAINER=Charlene Wendling 
> > +MAINTAINER=Charlene Wendling 
> >  
> >  # Artistic or GPLv2+
> >  PERMIT_PACKAGE_CDROM=  Yes
> > Index: distinfo
> > ===
> > RCS file: /cvs/ports/audio/abcde/distinfo,v
> > retrieving revision 1.14
> > diff -u -p -u -p -r1.14 distinfo
> > --- distinfo31 Aug 2018 08:48:12 -  1.14
> > +++ distinfo6 Feb 2019 14:14:59 -
> > @@ -1,2 +1,2 @@
> > -SHA256 (abcde-2.9.2.tar.gz) =
> > NDVsbqTMObM8gHJhv9+OjaiQWy7VAxMUfHiyg+72hY0= -SIZE
> > (abcde-2.9.2.tar.gz) = 160799 +SHA256 (abcde-2.9.3.tar.gz) =
> > BGzQu6eN1LvcvPgv5iWGXGDfNaAFSC3hOmaZxaO4MSQ= +SIZE
> > (abcde-2.9.3.tar.gz) = 160876 Index: patches/patch-abcde
> > ===
> > RCS file: patches/patch-abcde
> > diff -N patches/patch-abcde
> > --- patches/patch-abcde 31 Aug 2018 08:48:12 -
> > 1.10 +++ /dev/null  1 Jan 1970 00:00:00 -
> > @@ -1,15 +0,0 @@
> > -$OpenBSD: patch-abcde,v 1.10 2018/08/31 08:48:12 landry Exp $
> > -Fix tracks offsets list gathering, will be fixed for v2.9.3
> > -Upstream commit 8de69dd9476d40b4d61b25532f0a22acd932d765
> > -Index: abcde
> >  abcde.orig
> > -+++ abcde
> > -@@ -2110,7 +2110,7 @@ do_discid ()
> > -   CDPARANOIAAUDIOTRACKS="$TRACKS"
> > - 
> > -   LEADOUT="$(echo
> > "$CDPARANOIAOUTPUT"
> > | grep -Eo '^TOTAL[[:space:]]+([[:digit:]]+)' | get_last)"
> > --  OFFSETS="$(echo
> > "$CDPARANOIAOUTPUT"
> > | sed -n -e's/^ .* \([0-9]\+\) \[.*/\1/p')"
> > | -+OFFSETS="$(echo
> > | "$CDPARANOIAOUTPUT" | awk '/^ +.*\[/ {print $4}')"
> > -   makeids
> > -   ;;
> > -   *)
> > 
> > 
> 



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2019/02/21 03:50:23

Modified files:
textproc/p5-Font-TTF: Makefile 

Log message:
fix deps; from Manolis Tzanidakis



Re: RUN_DEPENDS fix for textproc/p5-Font-TTF

2019-02-21 Thread Stuart Henderson
thanks, committed

On 2019/02/21 11:21, Manolis Tzanidakis wrote:
> Hello ports,
> p5-Font-TTF requires p5-IO-String; IO::String is imported in Table.pm.
> 
> p5-IO-String is already listed in TEST_DEPENDS. This diff switches TEST_
> to RUN_ and adds a REVISION bump.
> 
> All tests successful.
> Files=3, Tests=10,  0 wallclock secs ( 0.04 usr  0.02 sys +  0.51 cusr
> 0.08 csys =  0.65 CPU)
> Result: PASS
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/textproc/p5-Font-TTF/Makefile,v
> retrieving revision 1.29
> diff -u -p -r1.29 Makefile
> --- Makefile  28 Mar 2017 11:11:46 -  1.29
> +++ Makefile  21 Feb 2019 09:13:13 -
> @@ -6,10 +6,11 @@ MODULES=cpan
>  PKG_ARCH=*
>  DISTNAME =   Font-TTF-1.06
>  CATEGORIES=  textproc
> +REVISION=0
>  
>  # Artistic
>  PERMIT_PACKAGE_CDROM=Yes
>  
> -TEST_DEPENDS=devel/p5-IO-String
> +RUN_DEPENDS= devel/p5-IO-String
>  
>  .include 
> 



Re: Update: wget 1.19.5 -> 1.20.1

2019-02-21 Thread Stuart Henderson
On 2019/02/20 22:25, Nam Nguyen wrote:
> 
> Aaron Bieber  writes:
> > Nam, you still want maintainer?
> > OK abieber@ for Nam's diff. Builds / wget's things fine here.
> 
> Unit tests and fuzz tests run by `make test' now pass. The main benefit
> from this was removing a hardcoded `-ldl', which does not exist on
> OpenBSD. Then, I ensured some missing symbols were included in a static
> library called `libgnu.a.'
> 
> From my discussion with upstream 
> (http://lists.gnu.org/archive/html/bug-wget/2019-02/msg00026.html):
> > We exclude the fuzzer test data from the tarball to not blow it up too
> > much. These test are mainly interesting for developers when using ASAN /
> > UBSAN builds (or valgrind test runs).
> 
> > The test data comes mainly from OSS-Fuzz and covers all kinds of code
> > paths (though we are far away from 100%).
> 
> As is, the proposed diff will patch fuzz tests to link properly but skip
> the fuzz tests due to missing fuzz/*.in and fuzz/*.repro input files.
> It runs unit tests as before (i.e., I omitted the `pre-test' target in
> the diff).
> 
> I am attaching test logs that show that with the `pre-test' target, fuzz
> tests pass and unit tests pass.
> - test.log: output from ports tree `make test'
> - wget_css_fuzzer.log: log file found in fuzz/
> 
> Questions:
> 1. Do we want fuzz tests? If so, should I clone the git repo and then
>copy the fuzz/*.in and fuzz/*.repro files? This seems a bit
>messy, since it relies on a tarball and git repo.
> 
> 2. Should we bother including these "fuzz patches" since I got them
>directly from git head after upstream incorporated my feedback? Or,
>we could wait until the next release of wget to avoid polluting the
>ports tree with patches.

It's good to have this fixed upstream but it doesn't really seem to
add much to the port at the moment. I would go with the plain update
for now.



Re: [UPDATE] devel/p5-Test-Pod to 1.52

2019-02-21 Thread Charlene Wendling
On Wed, 20 Feb 2019 22:00:57 -0700
Andrew Hewus Fresh wrote:

> A super simple update, just adds detection of .psgi files to what POD
> is tested.
> 
> https://metacpan.org/changes/distribution/Test-Pod
> 
> OK?

I've seen nothing wrong in it and tested it against some consumers
without issues. Spacing is incoherent for FIX_EXTRACT_PERMISSIONS, but
i'm picky here.

OK cwen@

> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/p5-Test-Pod/Makefile,v
> retrieving revision 1.19
> diff -u -p -r1.19 Makefile
> --- Makefile  5 Dec 2017 16:25:45 -   1.19
> +++ Makefile  21 Feb 2019 04:37:59 -
> @@ -4,7 +4,7 @@ COMMENT = check for POD errors in files
>  
>  MODULES =cpan
>  PKG_ARCH =   *
> -DISTNAME =   Test-Pod-1.51
> +DISTNAME =   Test-Pod-1.52
>  CATEGORIES = devel
>  FIX_EXTRACT_PERMISSIONS=Yes
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/p5-Test-Pod/distinfo,v
> retrieving revision 1.12
> diff -u -p -r1.12 distinfo
> --- distinfo  14 Aug 2015 13:03:38 -  1.12
> +++ distinfo  21 Feb 2019 04:37:59 -
> @@ -1,2 +1,2 @@
> -SHA256 (Test-Pod-1.51.tar.gz) =
> waHTzt9KV546rYnDb5h4qFQrZlbb5x8VgUIPSVgtfvs= -SIZE
> (Test-Pod-1.51.tar.gz) = 12159 +SHA256 (Test-Pod-1.52.tar.gz) =
> YKjbzGAWi/HapcwjUCNt+TQ+mHj0q5gwlwpd3m/o5fw= +SIZE
> (Test-Pod-1.52.tar.gz) = 11841
> 



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Charlene Wendling
CVSROOT:/cvs
Module name:ports
Changes by: c...@cvs.openbsd.org2019/02/21 03:25:48

Modified files:
biology/bioperl: Makefile 
biology/bioperl/patches: patch-maintenance_symlink_script_pl 
Added files:
biology/bioperl/patches: patch-Bio_Tools_Alignment_Consed_pm 
 patch-Bio_Tools_SiRNA_Ruleset_tuschl_pm 

Log message:
bioperl: unbreak tests, fix runtime with Perl 5.28, move HOMEPAGE to https
Thanks to afresh1@ for patches and hints!

OK afresh1@



CVS: cvs.openbsd.org: ports

2019-02-21 Thread Sebastian Reitenbach
CVSROOT:/cvs
Module name:ports
Changes by: sebas...@cvs.openbsd.org2019/02/21 03:19:49

Modified files:
sysutils/beats/filebeat: Makefile 
sysutils/beats/filebeat/patches: patch-filebeat_filebeat_yml 

Log message:
Let filebeat startup with default config file

OK jasper@ (MAINTAINER)



NEW: security/p5-Mojolicious-Plugin-Authentication

2019-02-21 Thread Manolis Tzanidakis
Hello ports,
here is a new port for Mojolicious::Plugin::Authentication, an
authentication plugin for Mojolicious (www/p5-Mojo).

All tests successful.
Files=7, Tests=88,  3 wallclock secs ( 0.07 usr  0.07 sys +  1.98 cusr
0.45 csys =  2.57 CPU)
Result: PASS


p5-Mojolicious-Plugin-Authentication.tgz
Description: application/tar-gz


[UPDATE] databases/p5-Mojo-Pg to 4.13

2019-02-21 Thread Manolis Tzanidakis
Hello ports,
here is an update for databases/p5-Mojo-Pg to 4.13.

This version requires a newer version of databases/p5-SQL-Abstract than
the one currently in the tree. A diff to update p5-SQL-Abstract was
sent on another email to the list.

All tests successful.
Files=10, Tests=328,  9 wallclock secs ( 0.10 usr  0.07 sys +  4.31 cusr
1.16 csys =  5.64 CPU)
Result: PASS


Index: Makefile
===
RCS file: /cvs/ports/databases/p5-Mojo-Pg/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile20 Mar 2016 19:56:11 -  1.3
+++ Makefile21 Feb 2019 09:40:18 -
@@ -4,7 +4,7 @@ COMMENT =   dbd-pg wrapper for mojoliciou
 
 MODULES =  cpan databases/postgresql
 PKG_ARCH = *
-DISTNAME = Mojo-Pg-2.17
+DISTNAME = Mojo-Pg-4.13
 CATEGORIES =   databases
 MAINTAINER =   Abel Abraham Camarillo Ojeda 
 
@@ -14,7 +14,8 @@ PERMIT_PACKAGE_CDROM =Yes
 CPAN_AUTHOR =  SRI
 
 RUN_DEPENDS =  databases/p5-DBD-Pg>=3.5.1 \
-   www/p5-Mojo>=6
+   databases/p5-SQL-Abstract>=1.84 \
+   www/p5-Mojo>=7.15 \
 
 MODPOSTGRESQL_TEST_DBNAME =testdb
 TEST_FLAGS =   TEST_ONLINE=postgresql:///${MODPOSTGRESQL_TEST_DBNAME}
Index: distinfo
===
RCS file: /cvs/ports/databases/p5-Mojo-Pg/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo7 Jan 2016 09:00:03 -   1.2
+++ distinfo21 Feb 2019 09:40:18 -
@@ -1,2 +1,2 @@
-SHA256 (Mojo-Pg-2.17.tar.gz) = MEynT/6H1qhQaQv4pvRYWJ4OXZI0R2twKJt+Y1BIGQU=
-SIZE (Mojo-Pg-2.17.tar.gz) = 24660
+SHA256 (Mojo-Pg-4.13.tar.gz) = XtLcqkdCMqqUg3oFQHY9IRdt5W6WaFEut7UtApfwCKA=
+SIZE (Mojo-Pg-4.13.tar.gz) = 37795
Index: pkg/PLIST
===
RCS file: /cvs/ports/databases/p5-Mojo-Pg/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   30 Oct 2015 16:52:04 -  1.1.1.1
+++ pkg/PLIST   21 Feb 2019 09:40:18 -
@@ -6,9 +6,11 @@ ${P5SITE}/Mojo/Pg/Migrations.pm
 ${P5SITE}/Mojo/Pg/PubSub.pm
 ${P5SITE}/Mojo/Pg/Results.pm
 ${P5SITE}/Mojo/Pg/Transaction.pm
+${P5SITE}/SQL/Abstract/Pg.pm
 @man man/man3p/Mojo::Pg.3p
 @man man/man3p/Mojo::Pg::Database.3p
 @man man/man3p/Mojo::Pg::Migrations.3p
 @man man/man3p/Mojo::Pg::PubSub.3p
 @man man/man3p/Mojo::Pg::Results.3p
 @man man/man3p/Mojo::Pg::Transaction.3p
+@man man/man3p/SQL::Abstract::Pg.3p



[UPDATE] databases/p5-SQL-Abstract to 1.86

2019-02-21 Thread Manolis Tzanidakis
Hello ports,
here is a diff to update p5-SQL-Abstract to 1.86.

This is required to update databases/p5-Mojo-Pg to the latest version;
diff coming up after that. Maintainer CC'd, as well.

All tests successful.
Files=25, Tests=3209,  9 wallclock secs ( 0.39 usr  0.24 sys +  7.49
cusr  1.17 csys =  9.29 CPU)
Result: PASS


Index: Makefile
===
RCS file: /cvs/ports/databases/p5-SQL-Abstract/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile20 Mar 2016 19:56:11 -  1.13
+++ Makefile21 Feb 2019 09:31:35 -
@@ -4,7 +4,7 @@ COMMENT =   generate SQL from Perl data st
 
 MODULES =  cpan
 PKG_ARCH = *
-DISTNAME = SQL-Abstract-1.81
+DISTNAME = SQL-Abstract-1.86
 CATEGORIES =   databases
 
 MAINTAINER =   Andrew Fresh 
Index: distinfo
===
RCS file: /cvs/ports/databases/p5-SQL-Abstract/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo3 Jan 2015 06:36:12 -   1.8
+++ distinfo21 Feb 2019 09:31:35 -
@@ -1,2 +1,2 @@
-SHA256 (SQL-Abstract-1.81.tar.gz) = 
X01WGM4kJNYrv9tSKLOC6L4ODM7bsnPW2FDiXQfmT58=
-SIZE (SQL-Abstract-1.81.tar.gz) = 103010
+SHA256 (SQL-Abstract-1.86.tar.gz) = 
56f32l5vpC9JWGDpLpE4uKCWTKdnTJW9b/GxziGqjN8=
+SIZE (SQL-Abstract-1.86.tar.gz) = 104797



[UPDATE] p5-DBD-Pg to 3.7.4

2019-02-21 Thread Manolis Tzanidakis
Hello ports,
here is diff to update p5-DBD-Pg to 3.7.4. This also bumps the required
version of p5-DBI to 1.614 as stated in the project's changelog in
version 3.0.0: https://metacpan.org/changes/distribution/DBD-Pg#L321

Maintainer CC'd, as well.

All tests successful.
Files=16, Tests=2131, 24 wallclock secs ( 0.30 usr  0.16 sys +  5.19
cusr  1.22 csys =  6.87 CPU)
Result: PASS


Index: Makefile
===
RCS file: /cvs/ports/databases/p5-DBD-Pg/Makefile,v
retrieving revision 1.72
diff -u -p -r1.72 Makefile
--- Makefile20 Mar 2016 19:56:10 -  1.72
+++ Makefile21 Feb 2019 09:25:44 -
@@ -3,11 +3,11 @@
 COMMENT=   access to PostgreSQL databases through the DBI
 
 MODULES=   cpan databases/postgresql
-DISTNAME=  DBD-Pg-3.5.3
+DISTNAME=  DBD-Pg-3.7.4
 CATEGORIES=databases
 
 LIB_DEPENDS=   databases/postgresql
-RUN_DEPENDS=   databases/p5-DBI>=1.52
+RUN_DEPENDS=   databases/p5-DBI>=1.614
 BUILD_DEPENDS= ${RUN_DEPENDS}
 TEST_DEPENDS=  devel/p5-Test-Warn
 
Index: distinfo
===
RCS file: /cvs/ports/databases/p5-DBD-Pg/distinfo,v
retrieving revision 1.24
diff -u -p -r1.24 distinfo
--- distinfo30 Oct 2015 16:20:11 -  1.24
+++ distinfo21 Feb 2019 09:25:44 -
@@ -1,2 +1,2 @@
-SHA256 (DBD-Pg-3.5.3.tar.gz) = fpipuXUlakcz2xwOl0ytWtXLghSJMj45Xtl70FjgqQ4=
-SIZE (DBD-Pg-3.5.3.tar.gz) = 256570
+SHA256 (DBD-Pg-3.7.4.tar.gz) = n/qcTp0daxSD7DJZEUuVmY/X5KQWiTHJA7WtX9emeD4=
+SIZE (DBD-Pg-3.7.4.tar.gz) = 261212



[UPDATE] textproc/p5-PDF-Table to 0.10.1

2019-02-21 Thread Manolis Tzanidakis
Hello ports,
here is diff to update textproc/p5-PDF-Table to 0.10.1.

All tests successful.
Files=5, Tests=25,  1 wallclock secs ( 0.07 usr  0.02 sys +  0.55 cusr
0.16 csys =  0.80 CPU)
Result: PASS


Index: Makefile
===
RCS file: /cvs/ports/textproc/p5-PDF-Table/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile20 May 2016 13:27:35 -  1.12
+++ Makefile21 Feb 2019 09:21:53 -
@@ -2,7 +2,7 @@
 
 COMMENT =  create PDF tables with perl
 
-DISTNAME = PDF-Table-0.9.12
+DISTNAME = PDF-Table-0.10.1
 
 CATEGORIES =   textproc
 
Index: distinfo
===
RCS file: /cvs/ports/textproc/p5-PDF-Table/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo20 May 2016 13:27:35 -  1.6
+++ distinfo21 Feb 2019 09:21:53 -
@@ -1,2 +1,2 @@
-SHA256 (PDF-Table-0.9.12.tar.gz) = N6U2mVhjQmTW014GWIOYjIZqw1GmRet8SlxeNXNtfEE=
-SIZE (PDF-Table-0.9.12.tar.gz) = 31228
+SHA256 (PDF-Table-0.10.1.tar.gz) = +y02nQl5funPeYEf+FBhu6jlbGHmXBOspnS1MhBaJxM=
+SIZE (PDF-Table-0.10.1.tar.gz) = 28459



RUN_DEPENDS fix for textproc/p5-Font-TTF

2019-02-21 Thread Manolis Tzanidakis
Hello ports,
p5-Font-TTF requires p5-IO-String; IO::String is imported in Table.pm.

p5-IO-String is already listed in TEST_DEPENDS. This diff switches TEST_
to RUN_ and adds a REVISION bump.

All tests successful.
Files=3, Tests=10,  0 wallclock secs ( 0.04 usr  0.02 sys +  0.51 cusr
0.08 csys =  0.65 CPU)
Result: PASS


Index: Makefile
===
RCS file: /cvs/ports/textproc/p5-Font-TTF/Makefile,v
retrieving revision 1.29
diff -u -p -r1.29 Makefile
--- Makefile28 Mar 2017 11:11:46 -  1.29
+++ Makefile21 Feb 2019 09:13:13 -
@@ -6,10 +6,11 @@ MODULES=  cpan
 PKG_ARCH=  *
 DISTNAME = Font-TTF-1.06
 CATEGORIES=textproc
+REVISION=  0
 
 # Artistic
 PERMIT_PACKAGE_CDROM=  Yes
 
-TEST_DEPENDS=  devel/p5-IO-String
+RUN_DEPENDS=   devel/p5-IO-String
 
 .include 



  1   2   >