Re: update www/composer 1.8.6 -> 1.10.7

2020-06-15 Thread Stuart Henderson
On 2020/06/14 13:46, Omar Polo wrote:
> I was trying to run a php application when I've seen that www/composer
> was a bit outdated, so here's a trivial patch to update it.

Thanks, committed.

> You can find the complete changelog on github[0], but the TL;DR is
> something along these lines: (skipping the various bugfix)
> 
>  1.9.0:
>   - breaking change regarding repositories that require authentication
>   - added options
> 
>  1.10.0:
>   - breaking change: ``composer global exec'' executes in the current
>  working directory
>   - deprecated something about class autoloading due to classmap
> optimizations
>   - added options
> 
>  1.10.2:
>   - added options
> 
> I personally don't use it, so I've done only a light testing.  It seems
> also that no ports depends directly on it, but www/drush and
> net/librenms uses it behind the scenes to generate the distfile.

2.0 might bring some problems if dependencies aren't updated in the projects
using it, but this one is fine.



update www/composer 1.8.6 -> 1.10.7

2020-06-14 Thread Omar Polo


Hello,

I was trying to run a php application when I've seen that www/composer
was a bit outdated, so here's a trivial patch to update it.

You can find the complete changelog on github[0], but the TL;DR is
something along these lines: (skipping the various bugfix)

 1.9.0:
  - breaking change regarding repositories that require authentication
  - added options

 1.10.0:
  - breaking change: ``composer global exec'' executes in the current
 working directory
  - deprecated something about class autoloading due to classmap
optimizations
  - added options

 1.10.2:
  - added options

I personally don't use it, so I've done only a light testing.  It seems
also that no ports depends directly on it, but www/drush and
net/librenms uses it behind the scenes to generate the distfile.

[0]: https://github.com/composer/composer/releases

Index: Makefile
===
RCS file: /cvs/ports/www/composer/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile26 Sep 2019 22:01:47 -  1.12
+++ Makefile14 Jun 2020 11:21:07 -
@@ -6,7 +6,7 @@ CATEGORIES= www devel
 
 PORTROACH= site:https://github.com/composer/composer/releases
 
-V= 1.8.6
+V= 1.10.7
 EPOCH= 0
 MASTER_SITES=  https://getcomposer.org/download/$V/
 DISTNAME=  composer-$V
Index: distinfo
===
RCS file: /cvs/ports/www/composer/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo12 Jul 2019 17:05:59 -  1.7
+++ distinfo14 Jun 2020 11:21:07 -
@@ -1,2 +1,2 @@
-SHA256 (composer-1.8.6.phar) = tm+bU9tyxRF0CN7+ih4AUV/nSel84bCui9qmpaQ91UI=
-SIZE (composer-1.8.6.phar) = 1915161
+SHA256 (composer-1.10.7.phar) = uUuHJylmjeW1+/YvFv9YjSojSA3aiMDkXLQ7cht1rik=
+SIZE (composer-1.10.7.phar) = 1976232