#935188 php-apcu: Missing apc.php script

Package:
php-apcu
Source:
php-apcu
Description:
APC User Cache for PHP
Submitter:
Matt Marjanovic
Date:
2023-01-22 18:57:06 UTC
Severity:
normal
#935188#5
Date:
2019-08-20 17:56:31 UTC
From:
To:
Dear Maintainer,

The README.Debian file references a "apc.php" script and implies that
it is in /usr/share/doc/php-apcu/, however there is no such file
installed anywhere by this package.

#935188#10
Date:
2023-01-22 18:47:09 UTC
From:
To:
Dear Maintainer,

the script is still missing from php-apcu 5.1.19.

Workaround: grab the missing script from PECL or from its source tree:

 wget https://github.com/krakjoe/apcu/raw/master/apc.php -O /var/www/apc.php

Adjust the target location as needed of course.

For some reason the Debian build process is trying to do some magic in https://salsa.debian.org/php-team/pecl/php-apcu/-/blob/debian/main/debian/php-apcu.docs:

  */apcu-*/NOTICE
  */apcu-*/README.md
  */apcu-*/TECHNOTES.txt
  */apcu-*/TODO
  */apcu-*/apc.php

....but this fails: https://buildd.debian.org/status/fetch.php?pkg=php-apcu&arch=amd64&ver=5.1.19%2B4.0.11-3&stamp=1613327271&raw=0

  dh_installdocs: warning: Cannot find (any matches for) "*/apcu-*/apc.php" (tried in .)

The whole build process feels overly complicated, but maybe I just don't understand it :-)
The fix would be just to copy the file into usr/share/doc/php-apcu and turn this into a tarball, or package, no?

Thanks,
Christian.