[Bug 191392] www/apache24 does not install config files

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jun 29 15:04:10 UTC 2014


Olli Hauer <ohauer at FreeBSD.org> changed:

           What    |Removed                     |Added
                 CC|                            |ohauer at FreeBSD.org

--- Comment #1 from Olli Hauer <ohauer at FreeBSD.org> ---
Hi Robert,

the files are installed/removed with the following lines from pkg-plist (sample
line for mime.types)

@unexec if cmp -s %D/%%ETCDIR%%/mime.types %D/%%EXAMPLESDIR%%/mime.types; then
rm -f %D/%%ETCDIR%%/mime.types; fi
@exec [ -f %D/%%ETCDIR%%/mime.types ] || cp %D/%%EXAMPLESDIR%%/mime.types

Without this lines existing files would be overwritten, so it is correct to
have them during package building only in the share/example/apache24 directory.

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

More information about the freebsd-apache mailing list