Bug 277972 - security/amavisd-new: Uses INSTALL_SCRIPT for installing configuration file
Summary: security/amavisd-new: Uses INSTALL_SCRIPT for installing configuration file
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Florian Smeets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-26 09:15 UTC by Mikael Urankar
Modified: 2024-03-26 21:41 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (flo)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Urankar freebsd_committer freebsd_triage 2024-03-26 09:15:43 UTC
Are there any reasons to use INSTALL_SCRIPT for installing configuration file? The config files end up with a 755 perm. INSTALL_DATA is more appropriate.
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-03-26 21:32:44 UTC
A commit in branch main references this bug:

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

commit e18075d840ebaf663f853515312094f215425f69
Author:     Florian Smeets <flo@FreeBSD.org>
AuthorDate: 2024-03-26 21:31:33 +0000
Commit:     Florian Smeets <flo@FreeBSD.org>
CommitDate: 2024-03-26 21:32:23 +0000

    security/amavisd-new: fix config file installation

    Don't use INSTALL_SCRIPT to install config file. Use the more
    appropriate INSTALL_DATA.

    PR:             277972
    Reported by:    mikael

 security/amavisd-new/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Comment 2 Florian Smeets freebsd_committer freebsd_triage 2024-03-26 21:41:26 UTC
According to git blame it has been that way for 20 years. I've been using this port for about that time and never noticed. Thanks for the report. I committed the necessary changes.