package apache2-error-2.4.64-r0 lacks error/include sub-directory
The package apache2-error-2.4.64-r0
unfortunately is lacking some essential files. The contained *.html.var
files include files from a sub-directory include
that's part of the original tarball distribution but is missing in the apk. I could mitigate the problem by building apache 2.4.46 myself and adding the missing files.
This might be an upstream bug but I can't say for sure. Even if so and you guys are not going to fix it, this might help one or the other.
contents of APK
~ # apk fetch apache2-error
Downloading apache2-error-2.4.46-r0
~ # tar tvzf apache2-error-2.4.46-r0.apk
-rw-r--r-- root/root 256 2020-08-10 14:00:06 .SIGN.RSA.alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub
-rw-r--r-- root/root 582 2020-08-10 14:00:06 .PKGINFO
drwxr-xr-x root/root 0 2020-08-10 14:00:06 etc/
drwxr-xr-x root/root 0 2020-08-10 14:00:06 etc/apache2/
drwxr-xr-x root/root 0 2020-08-10 14:00:06 etc/apache2/conf.d/
-rw-r--r-- root/root 2222 2020-08-10 14:00:06 etc/apache2/conf.d/multilang-errordoc.conf
drwxr-xr-x root/root 0 2020-08-10 14:00:06 usr/
drwxr-xr-x root/root 0 2020-08-10 14:00:06 usr/share/
drwxr-xr-x root/root 0 2020-08-10 14:00:06 usr/share/apache2/
drwxr-xr-x root/root 0 2020-08-10 14:00:06 usr/share/apache2/error/
-rw-r--r-- root/root 11594 2020-08-10 14:00:06 usr/share/apache2/error/HTTP_BAD_GATEWAY.html.var
-rw-r--r-- root/root 8309 2020-08-10 14:00:06 usr/share/apache2/error/HTTP_BAD_REQUEST.html.var
-rw-r--r-- root/root 14503 2020-08-10 14:00:06 usr/share/apache2/error/HTTP_FORBIDDEN.html.var
-rw-r--r-- root/root 16571 2020-08-10 14:00:06 usr/share/apache2/error/HTTP_GONE.html.var
-rw-r--r-- root/root 16892 2020-08-10 14:00:06 usr/share/apache2/error/HTTP_INTERNAL_SERVER_ERROR.html.var
-rw-r--r-- root/root 9423 2020-08-10 14:00:06 usr/share/apache2/error/HTTP_LENGTH_REQUIRED.html.var
-rw-r--r-- root/root 8372 2020-08-10 14:00:06 usr/share/apache2/error/HTTP_METHOD_NOT_ALLOWED.html.var
-rw-r--r-- root/root 16868 2020-08-10 14:00:06 usr/share/apache2/error/HTTP_NOT_FOUND.html.var
-rw-r--r-- root/root 7861 2020-08-10 14:00:06 usr/share/apache2/error/HTTP_NOT_IMPLEMENTED.html.var
-rw-r--r-- root/root 8041 2020-08-10 14:00:06 usr/share/apache2/error/HTTP_PRECONDITION_FAILED.html.var
-rw-r--r-- root/root 9681 2020-08-10 14:00:06 usr/share/apache2/error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
-rw-r--r-- root/root 8788 2020-08-10 14:00:06 usr/share/apache2/error/HTTP_REQUEST_TIME_OUT.html.var
-rw-r--r-- root/root 8858 2020-08-10 14:00:06 usr/share/apache2/error/HTTP_REQUEST_URI_TOO_LARGE.html.var
-rw-r--r-- root/root 9835 2020-08-10 14:00:06 usr/share/apache2/error/HTTP_SERVICE_UNAVAILABLE.html.var
-rw-r--r-- root/root 16814 2020-08-10 14:00:06 usr/share/apache2/error/HTTP_UNAUTHORIZED.html.var
-rw-r--r-- root/root 7833 2020-08-10 14:00:06 usr/share/apache2/error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
-rw-r--r-- root/root 8772 2020-08-10 14:00:06 usr/share/apache2/error/HTTP_VARIANT_ALSO_VARIES.html.var
-rw-r--r-- root/root 2267 2020-08-10 14:00:06 usr/share/apache2/error/README
-rw-r--r-- root/root 5349 2020-08-10 14:00:06 usr/share/apache2/error/contact.html.var
what error directory should look like
/usr/share/apache2 # tree error
error
├── HTTP_BAD_GATEWAY.html.var
├── HTTP_BAD_REQUEST.html.var
├── HTTP_FORBIDDEN.html.var
├── HTTP_GONE.html.var
├── HTTP_INTERNAL_SERVER_ERROR.html.var
├── HTTP_LENGTH_REQUIRED.html.var
├── HTTP_METHOD_NOT_ALLOWED.html.var
├── HTTP_NOT_FOUND.html.var
├── HTTP_NOT_IMPLEMENTED.html.var
├── HTTP_PRECONDITION_FAILED.html.var
├── HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
├── HTTP_REQUEST_TIME_OUT.html.var
├── HTTP_REQUEST_URI_TOO_LARGE.html.var
├── HTTP_SERVICE_UNAVAILABLE.html.var
├── HTTP_UNAUTHORIZED.html.var
├── HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
├── HTTP_VARIANT_ALSO_VARIES.html.var
├── README
├── contact.html.var
└── include
├── bottom.html
├── spacer.html
└── top.html