devel/websvn: update to 2.8.0

PR:		266996
Reported by:	michael.osipov@siemens.com (maintainer)

(cherry picked from commit df3fca4f09)
This commit is contained in:
Michael Osipov 2022-10-13 07:38:48 +02:00 committed by Fernando Apesteguía
parent ec40dbf458
commit 97985ee0ff
5 changed files with 31 additions and 17 deletions

View File

@ -5,6 +5,16 @@ 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.
20221012:
AFFECTS: devel/websvn
AUTHOR: michael.osipov@siemens.com
WebSVN 2.8.0 includes full PHP 8.x support which requires a change from PEAR
to Composer 2. You must manually install dependencies through it, the ports
system will not handle it anymore for you since */horde* (PR 266552) has been
marked as incompatible with PHP 8.x for the time being. See pkg-message for
detailed instructions.
20220929:
AFFECTS: users of graphics/bmeps
AUTHOR: takefu@airport.fm

View File

@ -1,5 +1,5 @@
PORTNAME= websvn
PORTVERSION= 2.7.0
PORTVERSION= 2.8.0
CATEGORIES= devel www
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
@ -11,19 +11,16 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/license.txt
RUN_DEPENDS= ${LOCALBASE}/bin/svn:devel/subversion \
${PEARDIR}/Archive/Tar.php:devel/pear@${PHP_FLAVOR} \
${PEARDIR}/geshi.php:devel/pear-geshi@${PHP_FLAVOR} \
${PEARDIR}/Text/Diff.php:devel/pear-Text_Diff@${PHP_FLAVOR}
${LOCALBASE}/bin/composer:devel/php-composer2@${PHP_FLAVOR}
USES= php:flavors cpe
IGNORE_WITH_PHP= 82
USES= php:web,flavors cpe
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME}php
USE_PHP= iconv pcre xml mbstring
USE_PHP= iconv pcre xml mbstring zlib dom
NO_BUILD= yes
NO_ARCH= yes
NO_BUILD= yes
PEARDIR?= ${LOCALBASE}/share/pear

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1647254076
SHA256 (websvnphp-websvn-2.7.0_GH0.tar.gz) = 1cb23254f19e37f37620048711a55a0c439c38f6329475fea40a8be9c2df4e69
SIZE (websvnphp-websvn-2.7.0_GH0.tar.gz) = 253551
TIMESTAMP = 1665562275
SHA256 (websvnphp-websvn-2.8.0_GH0.tar.gz) = 3376f2d3710a2c4faaa332295b9f655f6bb7b2c2b792bb5e4a26eb84f5264760
SIZE (websvnphp-websvn-2.8.0_GH0.tar.gz) = 253612

View File

@ -1,16 +1,23 @@
[
{ type: install
message: <<EOM
To setup WebSVN, please edit the configuration file:
%%WWWDIR%%/include/config.php
Make sure to install dependencies with:
cd %%WWWDIR%% && composer i
and modify your web server's configuration to serve
WebSVN actually!
Make sure you modify %%WWWDIR%%/include/config.php to your needs and your web
server configuration to serve WebSVN!
EOM
},
{ type: upgrade
message: <<EOM
Make sure to update dependencies with:
cd %%WWWDIR%% && composer u
EOM
},
{ type: remove
message: <<EOM
Consider deleting %%ETCDIR%%!
You would like to delete:
rm -R %%WWWDIR%% %%ETCDIR%%
EOM
}
]

View File

@ -3,7 +3,7 @@
%%WWWDIR%%/browse.php
%%WWWDIR%%/cache/tmp
%%WWWDIR%%/comp.php
@comment %%WWWDIR%%/composer.json
%%WWWDIR%%/composer.json
%%WWWDIR%%/diff.php
%%WWWDIR%%/dl.php
%%WWWDIR%%/filedetails.php