[Bug 275126] www/apache24: POST-INSTALL script failed

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 29 Nov 2026 10:24:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275126

--- Comment #7 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=858ffe72d4d489fe64b756bca6d6f108c6999201

commit 858ffe72d4d489fe64b756bca6d6f108c6999201
Author:     Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2026-11-29 10:23:24 +0000
Commit:     Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2026-11-29 10:23:52 +0000

    www/apache24: Fix installing with pkg --rootdir

    The @postexec that copied misc/index.html to data/index.html failed
    under pkg --rootdir with "cp: /usr/local/share/apache24/misc/index.html:
    No such file or directory" and "POST-INSTALL script failed", and
    data/index.html was not created.

    Install the file as data/index.html.sample and let pkg create
    data/index.html with @sample, which works with pkg --rootdir. An existing
    index.html is kept, and a modified one is not removed on deinstall.

    PR:             275126
    Sponsored by:   Netzkommune GmbH

 www/apache24/Makefile                | 2 +-
 www/apache24/files/patch-Makefile.in | 7 +++----
 www/apache24/pkg-plist               | 4 +---
 3 files changed, 5 insertions(+), 8 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.