mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
audio/ampache: Update to 5.0.0
Huge numbers of features added and several changes-- please refer to UPDATING for required actions. Release notes: https://github.com/ampache/ampache/releases/tag/5.0.0
This commit is contained in:
parent
af854d2032
commit
f8b16d75a0
22
UPDATING
22
UPDATING
@ -5,6 +5,28 @@ 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.
|
||||
|
||||
20210901:
|
||||
AFFECTS: users of audio/ampache
|
||||
AUTHOR: crees@FreeBSD.org
|
||||
|
||||
With the upgrade to Ampache 5.0.0, the root Ampache folder has changed
|
||||
to %%WWWDIR%%/ampache/public. Please update your web server aliases,
|
||||
for example if you use Apache, then in httpd.conf make sure the lines
|
||||
look like this:
|
||||
|
||||
Alias /ampache /usr/local/www/ampache/public
|
||||
|
||||
<Directory "/usr/local/www/ampache/public">
|
||||
|
||||
If you have customised your .htaccess files to allow for a different
|
||||
alias, you'll need to move them to the new location after upgrading:
|
||||
|
||||
# sh -c 'cd /usr/local/www/ampache && for f in */.htaccess; do mv $f public/$f; done'
|
||||
|
||||
More upgrade notes can be found on Github:
|
||||
|
||||
https://github.com/ampache/ampache/releases/tag/5.0.0
|
||||
|
||||
20210823:
|
||||
AFFECTS: users of mail/mu
|
||||
AUTHOR: hrs@FreeBSD.org
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Created by: Philippe Audeoud <jadawin@tuxaco.net>
|
||||
|
||||
PORTNAME= ampache
|
||||
PORTVERSION= 4.3.0
|
||||
PORTVERSION= 5.0.0
|
||||
DISTVERSIONSUFFIX= _all
|
||||
CATEGORIES= audio www
|
||||
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTVERSION}/
|
||||
@ -14,10 +14,12 @@ LICENSE= AGPLv3+
|
||||
|
||||
USES= cpe zip gettext php:flavors mysql
|
||||
USE_PHP= pdo pdo_mysql hash session json intl simplexml curl dom xml
|
||||
IGNORE_WITH_PHP=73 80
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
NO_BUILD= yes
|
||||
SUB_FILES= 500.ampache-cron
|
||||
SUB_LIST= WWWOWN="${WWWOWN}"
|
||||
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
@ -25,7 +27,7 @@ OPTIONS_DEFINE= DOCS
|
||||
post-patch:
|
||||
.for h in channel play rest
|
||||
${REINPLACE_CMD} 's,[[:space:]]*RewriteRule [^[:space:]]*[[:space:]],&/ampache,' \
|
||||
${WRKSRC}/$h/.htaccess.dist
|
||||
${WRKSRC}/public/$h/.htaccess.dist
|
||||
.endfor
|
||||
${REINPLACE_CMD} 's,^;web_path = "",web_path = "/${PORTNAME}",' \
|
||||
${WRKSRC}/config/ampache.cfg.php.dist
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1612622345
|
||||
SHA256 (ampache-4.3.0_all.zip) = 51cee899a93c8bfe8a1b495a6fadce2f4e1973969e434452ab04221f5eebd0e8
|
||||
SIZE (ampache-4.3.0_all.zip) = 62752685
|
||||
TIMESTAMP = 1630503927
|
||||
SHA256 (ampache-5.0.0_all.zip) = c8e7c797c6219726060264414b3149c2b1b825a18695d111cf417a084a7350bb
|
||||
SIZE (ampache-5.0.0_all.zip) = 65176889
|
||||
|
@ -12,10 +12,11 @@ case "${daily_ampache_gc_enable:-no}" in
|
||||
;;
|
||||
*)
|
||||
phpcmd=%%LOCALBASE%%/bin/php
|
||||
cronscript=%%WWWDIR%%/bin/cron.inc
|
||||
cronscript="%%WWWDIR%%/bin/cli run:cronProcess"
|
||||
|
||||
if ! $phpcmd $cronscript >/dev/null 2>&1 ; then
|
||||
if ! su -m %%WWWOWN%% -c "$phpcmd $cronscript" >/dev/null 2>&1 ; then
|
||||
echo 'ampache cron script failed- try running it manually'
|
||||
echo "# $phpcmd $cronscript"
|
||||
rc=2
|
||||
fi
|
||||
;;
|
||||
|
16802
audio/ampache/pkg-plist
16802
audio/ampache/pkg-plist
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user