[Bug 196435] New: Prevent @sample keyword from removing user symlinks
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jan 2 12:05:05 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196435
Bug ID: 196435
Summary: Prevent @sample keyword from removing user symlinks
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Ports Framework
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: jbeich at vfemail.net
CC: portmgr at FreeBSD.org
Created attachment 151209
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=151209&action=edit
v1
If .conf file listed as @sample is replaced by user with a symlink the content
may be lost on upgrade because:
- post-install ignores existing non-regular files
- post-deinstall treats symlink as a regular file
An example of such usage is security/ca_root_nss with only one .sample file
copied/edited by user while the rest point to it.
/etc/ssl/cert.pem (regular file, user-modified)
/usr/local/etc/ssl/cert.pem (symlink to /etc/ssl/cert.pem)
/usr/local/openssl/cert.pem (symlink to /etc/ssl/cert.pem)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list