Add mailcap to dependencies

Without `/etc/mime.types` (from mailcap) or alternatively
`/usr/share/mime/globs2` (created by the pacman hook of
shared-mime-info), Caddy will not set a `Content-Type` header for the
files it serves.

See https://wiki.archlinux.org/title/Caddy#Missing_Content-Type
This commit is contained in:
nl6720
2025-05-27 15:50:05 +03:00
parent 26a66c5bf5
commit 03383ef4a1
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ pkgbase = caddy
makedepends = git
makedepends = go
depends = glibc
depends = mailcap
backup = etc/caddy/Caddyfile
source = git+https://github.com/caddyserver/caddy.git#tag=v2.10.0?signed
source = caddy-dist::git+https://github.com/caddyserver/dist.git#tag=v2.10.0

View File

@ -15,6 +15,7 @@ arch=(x86_64)
license=(Apache-2.0)
depends=(
glibc
mailcap
)
makedepends=(
git