>Number:         151168
>Category:       bin
>Synopsis:       pkg_add -K should preserve file metadata
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 03 04:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     grarpamp
>Release:        i386: HEAD, RELENG_8
>Organization:
>Environment:
Not relevant.
>Description:
pkg_add -K should preserve the source file's metadata
when saving the destination file in the PKGDIR.
This will make it much easier to compare the PKGDIR
contents with, say, an ftp  mirror... bye eye, or with,
say, rsync. It will also stop needless file transfers
that take place just because some file somewhere has
a newer timestamp, due to perhaps removing files from
PKGDIR and running pkg_add again, mirrors, backups, etc.
>How-To-Repeat:
Use pkg_add -K.
>Fix:
Patch the pkg_install toolset to use the fetch(3) functions:
fetchXGetURL()
fetchStatURL()

>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to