Re:Baseline Mac OS X Support merged into FreeBSD package man...
by derefr on Friday January 02, 2015 @06:51PM
(#8829239)
Naive question: does the pkg(7) format used by FreeBSD have anything to do with the .pkg files Apple distributes? And if not, why not try to be "OSX native" using .pkg files instead of "BSD native" using pkg(7)?
[ Parent
| on HN ]
Re:Baseline Mac OS X Support merged into FreeBSD package man...
by brynet on Friday January 02, 2015 @08:36PM
(#8829576)
FreeBSD's binary packages aren't .pkg, but rather .txz (.tar + .xz).
http://pkg.freebsd.org/freebsd:10:x86:64/latest/All/2bsd-dif...:
-rw-r--r-- 1 root wheel 626 Dec 31 1969 +COMPACT_MANIFEST
-rw-r--r-- 1 root wheel 921 Dec 31 1969 +MANIFEST
tar: Removing leading / from absolute path names in the archive
-r-xr-xr-x 1 root wheel 30616 Oct 3 10:49 usr/local/bin/2diff
-r-xr-xr-x 1 root wheel 11256 Oct 3 10:49 usr/local/libexec/2diffh
-r--r--r-- 1 root wheel 2823 Oct 3 10:49 usr/local/man/man1/2diff.1.gz
This is similar to other BSD binary package formats.
Re:Baseline Mac OS X Support merged into FreeBSD package man...
by lobster_johnson on Friday January 02, 2015 @07:46PM
(#8829422)
No, Apple's .pkg files are proprietary to Apple's Installer.app. They are XAR archives containing metadata generated by the package creation GUI.