From nobody Sat May 13 10:45:18 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QJMjC22cDz4BDTc; Sat, 13 May 2023 10:45:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QJMjC1Fq7z3pws; Sat, 13 May 2023 10:45:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683974719; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MlMZc9owIcFiS64bqZ7Zwv+SgOvNorqmC0jiDeRb518=; b=aJcVhsyKbt9wSp+1hvrYEL8QSYSsfvcrSp7npgcX28Hg+2C+pUI6jyimGN3KoUSTebtpFI 8YWCi9/INsjORBsmjMGKsNkQtdaRVydQv5NxKCCYEEaYSQALP46lAfKogPJ2YmisVUqd6o tGzwztL1OMMXxAeWAKSF8k3S604RmceCs9pQegzpBsQ2cy6HOCMY6PNJX4NSMTZwrv5nm9 69p8blyA5I/XLSDTluQY9jovcYcSt5oomvssVgH2fFxdpLn2hg1pOhqPi9KWWAmC+6EZIa 4lApMfSzN60DeJjN82yaDTcD2zdE5rsep6hyKHBd3nxxj6ajbuNDUeufLCol2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683974719; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MlMZc9owIcFiS64bqZ7Zwv+SgOvNorqmC0jiDeRb518=; b=Gzfxbo8XELGsjA6NByuEDrTn75L+63b9+EDRky3vgAl8j69aHVW3P2tSHqLcOHM/e4Fjsa Xgwna2HXptPvKXI5erScj4E/QSw8mkSlWEWCox2DujUS6rHY8YB/2ZVfn7/vQ3Vc1qsep8 6Z0jFzGtdszIBn4wekbnCyIX8UTCZVwSmoZABCFh9y2hJQQoYawgTjvcD26g8jN/HwY4pv AzaxB1La5WRRxqcq/wPRUbjX/Ckz5AOhC84/NxIxdXQd0LzJGPfXyStwQf081RWA4/ueEc vHEMAzIRfmk7U4HJXvRQ3LXStuSyZUBCx+oFFzyKrrp7VBCopeaTPO3nwjKflQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683974719; a=rsa-sha256; cv=none; b=m/mZirYGrWUq7HUmda2Bf5bW0sIgCkTXMqiB7E4YrglO48rI1vqSFcexsShx26RBezKfSn NpdJGlw5nzzP/Y2uMJS9auA6IANipckM0VChv2vsi6fp/FFcvU/w4yByhnjnAMZcVEbPRA JU7b/v2vaZULCopPINsL4b/epdWEG5PIHgB70Bocvw2Pt056HoAGla36GLzI6/zSO8hI/u mwnutd9Rjj+Qm5/yrWhg91uVzKPEQx4RYxLeQBFLmToiUJbXYjn/FqNnxUzplyFbEVLCAB b/xYdYKjWi8Vspn5jnIxPRt/bgEm6bIokbAtbpbf8xZZtM5ja+2WixGWzWw/tg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QJMjC0Cr1z1CxX; Sat, 13 May 2023 10:45:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34DAjIhv039981; Sat, 13 May 2023 10:45:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34DAjIaG039980; Sat, 13 May 2023 10:45:18 GMT (envelope-from git) Date: Sat, 13 May 2023 10:45:18 GMT Message-Id: <202305131045.34DAjIaG039980@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Chris Rees Subject: git: 1fe33abd0b01 - main - audio/ampache: Update to 5.6.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: crees X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1fe33abd0b0111c87b0b50bf902e777c948aa03c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by crees: URL: https://cgit.FreeBSD.org/ports/commit/?id=1fe33abd0b0111c87b0b50bf902e777c948aa03c commit 1fe33abd0b0111c87b0b50bf902e777c948aa03c Author: Chris Rees AuthorDate: 2023-05-13 10:41:24 +0000 Commit: Chris Rees CommitDate: 2023-05-13 10:45:05 +0000 audio/ampache: Update to 5.6.0 Fix the .htaccess issues with newer Apache-- see patchfile. Submitted upstream as pull request 3526 https://github.com/ampache/ampache/pull/3526 Changelog: https://github.com/ampache/ampache/blob/develop/docs/CHANGELOG.md --- audio/ampache/Makefile | 3 +-- audio/ampache/distinfo | 6 ++--- audio/ampache/files/patch-htaccess | 53 ++++++++++++++++++++++++++++++++++++++ audio/ampache/pkg-plist | 9 ++++++- 4 files changed, 65 insertions(+), 6 deletions(-) diff --git a/audio/ampache/Makefile b/audio/ampache/Makefile index 61e671212b91..e58884b582fa 100644 --- a/audio/ampache/Makefile +++ b/audio/ampache/Makefile @@ -1,6 +1,5 @@ PORTNAME= ampache -PORTVERSION= 5.5.7 -PORTREVISION= 1 +PORTVERSION= 5.6.0 DISTVERSIONSUFFIX= _all CATEGORIES= audio www MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTVERSION}/ diff --git a/audio/ampache/distinfo b/audio/ampache/distinfo index 32ab5dc391b4..efdf403ca6eb 100644 --- a/audio/ampache/distinfo +++ b/audio/ampache/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1679911015 -SHA256 (ampache-5.5.7_all.zip) = d0b2241dc4ed74beea80d58612afab108a955d4814fd009221515813d7e52095 -SIZE (ampache-5.5.7_all.zip) = 58923907 +TIMESTAMP = 1683967385 +SHA256 (ampache-5.6.0_all.zip) = a3b6d8fe9179f49d0b2b3578b0ea02f9d38259d1d9584af81b26fa6cf98859ca +SIZE (ampache-5.6.0_all.zip) = 58936006 diff --git a/audio/ampache/files/patch-htaccess b/audio/ampache/files/patch-htaccess new file mode 100644 index 000000000000..ac721dff0d6f --- /dev/null +++ b/audio/ampache/files/patch-htaccess @@ -0,0 +1,53 @@ +Since Apache r1908095 [1], it has become far less forgiving of 'invalid characters' in Rewrite patterns, for example patterns with spaces. + +Songs often have spaces in the filenames, so it is necessary to pass them. + +[1] https://svn.apache.org/viewvc?view=revision&revision=1908095 + +[2] https://webmasters.stackexchange.com/questions/141837/ah10411-rewritten-query-string-contains-control-characters-or-spaces + +diff --git a/public/daap/.htaccess b/public/daap/.htaccess +index b1e0ee01b..0d8fc6e69 100644 +--- public/daap/.htaccess ++++ public/daap/.htaccess +@@ -2,5 +2,5 @@ + RewriteEngine On + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-s +- RewriteRule ^(.+)$ /index.php?action=$1 [PT,L,QSA] +- +\ No newline at end of file ++ RewriteRule ^(.+)$ /index.php?action=$1 "[PT,L,QSA,B= ?,BNP]" ++ +diff --git a/public/play/.htaccess.dist b/public/play/.htaccess.dist +index e1320aaae..6a11825a9 100644 +--- public/play/.htaccess.dist ++++ public/play/.htaccess.dist +@@ -2,8 +2,8 @@ + RewriteEngine On + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-s +- RewriteRule ^art/([^/]+)/([^/]+)/([0-9]+)/thumb([0-9]*)\.([a-z]+)$ /image.php?object_type=$2&object_id=$3&auth=$1&thumb=$4&name=art.jpg [L] +- RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)(/.*)?$ /play/$5?$1=$2&$3=$4 [N,QSA] +- RewriteRule ^([^/]+)/([^/]+)(/.*)?$ /play/$3?$1=$2 [N,QSA] +- RewriteRule ^(/[^/]+|[^/]+/|/?)$ /play/index.php [L,QSA] ++ RewriteRule ^art/([^/]+)/([^/]+)/([0-9]+)/thumb([0-9]*)\.([a-z]+)$ /image.php?object_type=$2&object_id=$3&auth=$1&thumb=$4&name=art.jpg "[L,B= ?,BNP]" ++ RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)(/.*)?$ /play/$5?$1=$2&$3=$4 "[N,QSA,B= ?,BNP]" ++ RewriteRule ^([^/]+)/([^/]+)(/.*)?$ /play/$3?$1=$2 "[N,QSA,B= ?,BNP]" ++ RewriteRule ^(/[^/]+|[^/]+/|/?)$ /play/index.php "[L,QSA,B= ?,BNP]" + +diff --git a/public/rest/.htaccess.dist b/public/rest/.htaccess.dist +index 182930219..65cff9e4f 100644 +--- public/rest/.htaccess.dist ++++ public/rest/.htaccess.dist +@@ -2,6 +2,6 @@ + RewriteEngine On + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-s +- RewriteRule ^(.+)\.view$ /rest/index.php?ssaction=$1 [PT,L,QSA] +- RewriteRule ^fake/(.+)$ /play/$1 [PT,L,QSA] +- +\ No newline at end of file ++ RewriteRule ^(.+)\.view$ /rest/index.php?ssaction=$1 "[PT,L,QSA,B= ?,BNP]" ++ RewriteRule ^fake/(.+)$ /play/$1 "[PT,L,QSA,B= ?,BNP]" ++ diff --git a/audio/ampache/pkg-plist b/audio/ampache/pkg-plist index e80b0dd173d3..8bbf2b85492b 100644 --- a/audio/ampache/pkg-plist +++ b/audio/ampache/pkg-plist @@ -5916,6 +5916,7 @@ man/man1/ampache.1.gz %%WWWDIR%%/vendor/myclabs/deep-copy/src/DeepCopy/DeepCopy.php %%WWWDIR%%/vendor/myclabs/deep-copy/src/DeepCopy/Exception/CloneException.php %%WWWDIR%%/vendor/myclabs/deep-copy/src/DeepCopy/Exception/PropertyException.php +%%WWWDIR%%/vendor/myclabs/deep-copy/src/DeepCopy/Filter/ChainableFilter.php %%WWWDIR%%/vendor/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineCollectionFilter.php %%WWWDIR%%/vendor/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineEmptyCollectionFilter.php %%WWWDIR%%/vendor/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineProxyFilter.php @@ -7359,7 +7360,7 @@ man/man1/ampache.1.gz %%WWWDIR%%/vendor/phpmailer/phpmailer/src/PHPMailer.php %%WWWDIR%%/vendor/phpmailer/phpmailer/src/POP3.php %%WWWDIR%%/vendor/phpmailer/phpmailer/src/SMTP.php -%%WWWDIR%%/vendor/phpunit/php-code-coverage/ChangeLog.md +%%WWWDIR%%/vendor/phpunit/php-code-coverage/ChangeLog-9.2.md %%WWWDIR%%/vendor/phpunit/php-code-coverage/LICENSE %%WWWDIR%%/vendor/phpunit/php-code-coverage/README.md %%WWWDIR%%/vendor/phpunit/php-code-coverage/composer.json @@ -10117,6 +10118,8 @@ man/man1/ampache.1.gz %%WWWDIR%%/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.1.inc.fixed %%WWWDIR%%/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.2.inc %%WWWDIR%%/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.2.inc.fixed +%%WWWDIR%%/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.3.inc +%%WWWDIR%%/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.3.inc.fixed %%WWWDIR%%/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.css %%WWWDIR%%/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.css.fixed %%WWWDIR%%/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.js @@ -11081,6 +11084,10 @@ man/man1/ampache.1.gz %%WWWDIR%%/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizer/FinallyTest.php %%WWWDIR%%/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizer/GotoLabelTest.inc %%WWWDIR%%/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizer/GotoLabelTest.php +%%WWWDIR%%/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizer/HeredocNowdocCloserTest.inc +%%WWWDIR%%/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizer/HeredocNowdocCloserTest.php +%%WWWDIR%%/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizer/HeredocStringTest.inc +%%WWWDIR%%/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizer/HeredocStringTest.php %%WWWDIR%%/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizer/NamedFunctionCallArgumentsTest.inc %%WWWDIR%%/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizer/NamedFunctionCallArgumentsTest.php %%WWWDIR%%/vendor/squizlabs/php_codesniffer/tests/Core/Tokenizer/NullsafeObjectOperatorTest.inc