Bug 253750

Summary: sysutils/cpdup description is inaccurate
Product: Ports & Packages Reporter: dewayne
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Some People CC: lwhsu
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description dewayne 2021-02-22 00:24:55 UTC
Based on the desciption (& hope) I installed cpdup 1.22.  I created two folders and...
# echo hello > a/hi
# setfacl -m u:www:r a/hi.txt
# setextattr user t "a line" a/hi
# cpdup a b
# getextattr user t a/hi b/hi
a/hi    a line
getextattr: b/hi: failed: Attribute not found
# getfacl b/hi.txt
# file: b/hi.txt
# owner: root
# group: wheel
user::rwx
group::r--
other::---
(missing www acl)

I then searched the source for calls to acl_*, extattr_* and mac_*, there are no system calls included in the source tree.

The description of this port is inaccurate because it does not provide a comprehensive backup or mirror, due to its inability to copy ACL's, extended ACL's or MAC file attributes.  (MAC I can understand not doing to some extent, but acl's & extacl's should be included for the assertion to be true)

Would you please correct the description.  Suggest at least, the addition of:
"Note: This port does not copy (or mirror) FreeBSD ACLs, extended ACLs nor MAC labels."

Aside: For the interested:  rsync -aAX a/* b # does perform as expected.