[Bug 196435] Prevent @sample keyword from removing user symlinks

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 2 16:53:32 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196435

--- Comment #4 from Jan Beich <jbeich at vfemail.net> ---
This bug is about user-modified target_file. How the file was modified isn't
limited to content but includes differnt filetypes as well such as being
replaced by a symlink. It usually happens after package install but before
deinstall.

Here're steps to reproduce:

  1/ install a port with @sample in pkg-plist
  2/ replace target_file with a symlink to sample_file
  3/ deinstall the port
  4/ notice target_file now a symlink disappeared as well

or

  1/ find a port with @sample in pkg-plist
  2/ create matching empty config but without .sample suffix
  3/ swap it with a symlink
  4/ install the port
  5/ notice symlink destination is no longer empty

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


More information about the freebsd-ports-bugs mailing list