Skip to content

Commit

Permalink
devel/php-composer: Update to 2.6.4
Browse files Browse the repository at this point in the history
The main composer port contains old and long EOLed/deprecated version
1.x of the software.

Move the devel/php-composer2 port over, dropping it, and update to
latest version.

Please check UPDATING entry 20230930, to correctly update use
"pkg install phpXX-composer" (replacing XX with the PHP shorthand
version you're using)

PR:		274160
Approved by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
Security:	33922b84-5f09-11ee-b63d-0897988a1c07
  • Loading branch information
madpilot78 committed Sep 30, 2023
1 parent cd69aea commit 8ed8145
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 59 deletions.
1 change: 1 addition & 0 deletions MOVED
Original file line number Diff line number Diff line change
Expand Up @@ -7921,3 +7921,4 @@ www/grafana8|www/grafana9|2023-09-30|Has expired: EOLed upstream
www/mediawiki138|www/mediawiki139|2023-09-30|Has expired: end of life upstream
www/awffull||2023-09-30|Has expired: Abandonware, last release in 14+ years ago. Consider using www/awstats
textproc/raptor||2023-09-30|Has expired: No new release in 10+ years and superseded by 2.0-branch, consider using textproc/raptor2
devel/php-composer2|devel/php-composer|2023-09-30|Port for newer version moved over old EOL version port
11 changes: 11 additions & 0 deletions UPDATING
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.

20230930:
AFFECTS: users of devel/php-composer2
AUTHOR: madpilot@FreeBSD.org

The composer2 ports has been moved over the old devel/php-composer
port, which was still providing the old EOLed version 1 of the
software.

Please use `pkg install php81-composer` (substitute 81 with the
PHP version you're using) to properly upgrade.

20230924:
AFFECTS: users of XFCE desktop (x11-wm/xfce4)
AUTHOR: madpilot@FreeBSD.org
Expand Down
1 change: 0 additions & 1 deletion devel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4081,7 +4081,6 @@
SUBDIR += phasar
SUBDIR += php-Psr_Log
SUBDIR += php-composer
SUBDIR += php-composer2
SUBDIR += php-geshi
SUBDIR += php-ice37
SUBDIR += php-libawl
Expand Down
10 changes: 7 additions & 3 deletions devel/php-composer/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORTNAME= composer
DISTVERSION= 1.10.26
DISTVERSION= 2.6.4
CATEGORIES= devel
MASTER_SITES= https://getcomposer.org/download/${DISTVERSION}/
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
Expand All @@ -13,8 +13,6 @@ WWW= https://getcomposer.org/

LICENSE= MIT

DEPRECATED= packagist.org is dropping API v1 support, please use newer 2.x version

RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss

USES= cpe php:flavors
Expand All @@ -30,6 +28,12 @@ NO_WRKSUBDIR= yes
PLIST_FILES= bin/composer \
bin/composer.phar

OPTIONS_DEFINE= CURL
OPTIONS_DEFAULT= CURL

CURL_DESC= Install the cURL extension for faster downloads
CURL_USE= PHP=curl

do-extract:
${MKDIR} ${WRKSRC}/
${CP} ${_DISTDIR}/composer.phar ${WRKSRC}/
Expand Down
6 changes: 3 additions & 3 deletions devel/php-composer/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1649864691
SHA256 (composer-1.10.26/composer.phar) = cbfe1f85276c57abe464d934503d935aa213494ac286275c8dfabfa91e3dbdc4
SIZE (composer-1.10.26/composer.phar) = 1993462
TIMESTAMP = 1696023354
SHA256 (composer-2.6.4/composer.phar) = 5a39f3e2ce5ba391ee3fecb227faf21390f5b7ed5c56f14cab9e1c3048bcf8b8
SIZE (composer-2.6.4/composer.phar) = 2861074
46 changes: 0 additions & 46 deletions devel/php-composer2/Makefile

This file was deleted.

3 changes: 0 additions & 3 deletions devel/php-composer2/distinfo

This file was deleted.

3 changes: 0 additions & 3 deletions devel/php-composer2/pkg-descr

This file was deleted.

0 comments on commit 8ed8145

Please sign in to comment.