Bug 183379 - [bsd.port.mk] remove "security" check from b.*.m
Summary: [bsd.port.mk] remove "security" check from b.*.m
Status: Closed Not Accepted
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-28 01:00 UTC by Eitan Adler
Modified: 2019-09-04 14:53 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eitan Adler freebsd_committer freebsd_triage 2013-10-28 01:00:00 UTC
The FreeBSD Ports system has a few checks on files to be installed.

These checks are not useful in any most cases and can be easily lost in the noise.

A) The notice is not shown for packages
B) Too many ports result in this notice resulting in it being ignored
C) It is lost in the middle for dependencies
D) Sometimes the 'insecure' functions are actually used security (pkg itself used to use mktemp)
E) World writable folders are not always a problem

and on.

If this functionality is desired it should probably be a plugin to pkg instead.

Please commit this: http://people.freebsd.org/~eadler/files/no-need-for-security-check.diff

Discussed with: cperciva, jilles
Comment 1 Baptiste Daroussin freebsd_committer freebsd_triage 2013-10-28 01:48:06 UTC
I totally agree:

how ever the patch isn't totally correct, I discussed the details with Eitan on
irc so he should come back to that patch once the bsd.fpc.mk and bsd.php.mk are
properly fixed.

if someone it missing those message then we can move part (not all anyway)
into qa.sh, but for now just drop it.

regards,
Bat
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2013-10-28 03:59:34 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

Fix synopsis and assign.
Comment 3 Bryan Drewery freebsd_committer freebsd_triage 2013-10-28 13:12:12 UTC
I think we should have replacements in place before removing this. I
find these notices useful, even if not well implemented currently.

-- 
Regards,
Bryan Drewery
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2014-06-02 01:58:58 UTC
Infrastructure PR.
Comment 5 Xin LI freebsd_committer freebsd_triage 2015-06-01 07:38:14 UTC
Ping?  Is this still being worked on?
Comment 6 Baptiste Daroussin freebsd_committer freebsd_triage 2019-09-04 14:53:35 UTC
Given the lack on interested in the last 4 years for this port, I will close it.