summaryrefslogtreecommitdiff
path: root/sys-libs/darwin-libc-headers
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /sys-libs/darwin-libc-headers
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'sys-libs/darwin-libc-headers')
-rw-r--r--sys-libs/darwin-libc-headers/Manifest18
-rw-r--r--sys-libs/darwin-libc-headers/darwin-libc-headers-1158.50.2-r4.ebuild (renamed from sys-libs/darwin-libc-headers/darwin-libc-headers-1158.50.2-r2.ebuild)32
-rw-r--r--sys-libs/darwin-libc-headers/darwin-libc-headers-1244.50.9-r4.ebuild (renamed from sys-libs/darwin-libc-headers/darwin-libc-headers-1244.50.9-r2.ebuild)32
-rw-r--r--sys-libs/darwin-libc-headers/darwin-libc-headers-1272.250.1-r4.ebuild (renamed from sys-libs/darwin-libc-headers/darwin-libc-headers-1272.250.1-r2.ebuild)32
4 files changed, 96 insertions, 18 deletions
diff --git a/sys-libs/darwin-libc-headers/Manifest b/sys-libs/darwin-libc-headers/Manifest
index 4064e93ee813..af6a4943af8a 100644
--- a/sys-libs/darwin-libc-headers/Manifest
+++ b/sys-libs/darwin-libc-headers/Manifest
@@ -7,14 +7,20 @@ DIST Libc-1272.250.1.tar.gz 2020635 BLAKE2B 7ec6be323928e169a23de08858cfb8f42f02
DIST Libinfo-503.50.4.tar.gz 283084 BLAKE2B 69f4a32910bcdd4870c23d54916b913336ea4e13430d23d94aa728958f4da54930702c332c427155501cb6c3929a49d585db401971dbe093e05ade18c57ea316 SHA512 145ad52b14050126da9f3e17507a7e3a83e962ac796d4f014b6b44554e33a499723fdf4f6912b1457e435997cff4f5fc29f1d7424397169c5709fce762fda9d5
DIST Libinfo-517.200.9.tar.gz 306337 BLAKE2B da91c8d79997fc04eaaeca21b5dc90336c2d43dda4641fb91085f5a32157ab50ef022886b5b4ff09e2c306a8f887c4280a045fb01c04ca86f3e59d2bd5cf8d66 SHA512 8c2f72484f584312083095b8e8a373ae349e92bca2cacebd460e6e7c885d98d5dc3975eb37c348f6e65ff77af1990d3111468613af105b8605c7d575d8119eaa
DIST Libinfo-517.30.1.tar.gz 293825 BLAKE2B dd19937b9c8419e953ff1e22f73dc89a9328706c87284fa6f138e23c97c236600f20e71d1926607211cc82766d3c3a9113381f2471046aceb01a56d3d332f2fb SHA512 48313e8ce4822ad61023faf364d7d64d7f15f8b70930d3052c321c9b555c4af20fd6563ae4b890e0504a1ca141423635a1bb7561cb82123cb0593ccafec6f915
-DIST darwin-libc-headers-10.12.tar.gz 390395 BLAKE2B 2d8d1da31ff293da6bdb21b432679c8e96741e5662b0c0b5b2c1233cc9ba6d99ee0d1fb58131702f9d9f875e7349a6620d5ad12d5e366904ea490c423d562a36 SHA512 591e92f060c63b993cd79a6c5fe17d199b30eb2f59c72b653203723f9466dab3d7c63964f87a6e87ac3e0cb515221fd9c53a911b6b63d9c4093bbe6e430e71c7
-DIST darwin-libc-headers-10.13.tar.gz 398528 BLAKE2B 9db448448523dbd2bf438e4f91234c6fb747b8c91f461e1e1f1127b8268a3323139e5ce6eef42ea8b4a03fdb5a55c597ac6229769cbf5d17a7fffee313d2a176 SHA512 8834676930c1150677021dd923e137a8d995c02aaef1f1b6c7c1eff93f3932e629953ffd6b26c186e45a1b4567077e0c0d094fd4aad8154136ed909f289b2476
-DIST darwin-libc-headers-10.14.tar.gz 395144 BLAKE2B 2a45ed22c80f7d74f00b7bb70746ed32c2d4deed6d71921384d73aa877ed9a5bbf1afecc16539cc844d0a20234df4719a3517fbaba0add084ce1f2ec19a6e620 SHA512 e8948ef06d49c6dd8589c812b98f84957684896eac6bc5662a6e31378684ee00efe5d5b1b802ebf31ef1e07a2a9422f85e6a47a0e85cb66b21e8a7dd75c27b9c
+DIST copyfile-138.tar.gz 52035 BLAKE2B be62d549a45d7f8140d10a3f5857e8d445e5b968e05b82ec73668176047a94b7799b41450223e32406c3ba6677a1a6c694eb8b0ad839a25c37dd4657c176e5d7 SHA512 455fb02b8f5e03a751ebaf05af7cbf2efa60ce5a8084bb3953044abf71ec6b75f394fa5f7ec7fac76532a4216b0930100aee972963cfada83eed73717a881fd6
+DIST copyfile-146.200.3.tar.gz 65045 BLAKE2B 4e5b3524e6e5a54046a68b04d0277645d6ba5be466e669cbdd7a78d41c3d1a69e222cea55198ae53c5803c96fd6ba7ab4543d0bdc42b5cc99054815a84de664f SHA512 555c320eeb27373f68f1a8844ead0614f734e47f7a3d87f867663fc8d6a9e6fa295c1159f9be4e32af2f0933f3e56dd52288a3b2ff970966de5436d2ac054f2f
+DIST copyfile-146.50.5.tar.gz 64621 BLAKE2B 1bbb368dff263e43ebd97802310f98af2592c5a04279297a645e042179f86815376b393b44cba60be5d25e89a15e3b58751da9fd30ccb923d57d62f9c08808d3 SHA512 e09cacf3c284ca3460cfc8263d75b810c2e853a6a134ff3568af86394c90f04d866ba8d1e5996a2e009034fdd9e44162b04faf2fcefe56aeb12e5d128b0a678f
+DIST darwin-libc-headers-10.12-r2.tar.gz 3867106 BLAKE2B 6ac9399716da731913e51b141935496e9ce5e596cc58b971224b39b3346c961e8b2143e88c279736a557c27e64dc286436e662b4fb63183440948d31ab761b52 SHA512 7098832b46fd79d3a5255711a8825c63bea5f513c7646363912b08203d24c30b334cb9745cf84732ea558e50f71c0327eca53c5a8bc81daafffb10c6a43bd3f1
+DIST darwin-libc-headers-10.13-r2.tar.gz 3653319 BLAKE2B 96874e314adaafe129fbd35b743ae7e3f4a258ee3a21872cc197c1fe9244f74309321664fecdd0591583425f0e4bad2eb2bc024ae5eb04a864e27db14a4cf39f SHA512 a41047db4740933e961f433660661fc84fd7a124e5ec9806859042ec32680075f35953b96a58576b494ac0c5add7abd91522b1111b862b23fef7d12049e35e5b
+DIST darwin-libc-headers-10.14-r2.tar.gz 3984239 BLAKE2B 6c0681691dffe9e105b05a63d7a9022f0085dd89154e721c11dbadedcb2382bfc029293a6c510288ea5196f69a763a7eee34a5b5224d1072bb41b4125d224f2d SHA512 422139e55ef36217b38f8ee7f3b8dc78ca127358b5fcfbe2906c22597aaa52a55c576830cf19528872fb4dc6960a134783292d714c21a8be5b7d664bfafff9b4
DIST dyld-433.5.tar.gz 632900 BLAKE2B b051aee22eb646942473f698b1f29f9acbc0ab20b0c1a60578123b4db5032290f02301bd2d867724b424b74a08470cdd29b47234063df2d100fd535bb8ec3ed7 SHA512 9479b66e5956a852491e1d080d45ff4c9254aa5bf890c634a6cf973f6e45862d282e00ba81c6ff4c849a643585920b654964ed4dde280a73849a84dd8f7be830
DIST dyld-551.4.tar.gz 832297 BLAKE2B e65c5b2ed90af6ec94f1295efc984404af99f0e5dc666bfc854379f13fd2e98b8048fae84b7bc8864fe27112abf12f741a33cc404b18ae7c88b7abd6a1d9e3c6 SHA512 896281c4b2330c92ed538af58f1b60906ed0a9ffa3099a5e8ef9a15b7ed974259bf546fd2ab7562739f2c8cf1fdfb44ea0ea7567092c77f2ea2cab377da064b0
DIST dyld-655.1.tar.gz 907306 BLAKE2B d0c22abe50575dc80214d2eba8a057068e4e2d7f06f5562e7cdf29293de9c97fffece206d9324ba37c0b98afa583693e2c26fcc91f0ea089720fc960709e93a9 SHA512 7054461b6ff2ba24153f2097516c1273c77ec0fd7edd5108c336bc22990b45eb68974bcd654b9a45724fd631253443f01988e9b1647dc37f8ae5b8d18bb0352d
DIST libclosure-67.tar.gz 128749 BLAKE2B 2ca085bd3b98bbcad6a10af27fcf058941b755a4f3ff88102ce5bda4293d2f693c06569726ad368c08bceea8997e3ffc4019c21320d64c861d866eb30dc99044 SHA512 b3c5ab14f8e0e60ef11421cc366f6596864d5837ade51a3ef7b9cf2de7958a0dacf6a5a07ee3e6db03bbecc696fce7b60091f5820450b29b447596c04d2d7ee7
DIST libclosure-73.tar.gz 131448 BLAKE2B fec5d92d6e9ddb338d730eaddc1c83e94e1a16323308abb0531118dffe02f8e50aa85c2721041a17ab4ef3fc15ece3a6f4b5045bca9c4e3cf3d54c2fdd8b42d1 SHA512 9749a5a08b0720eec1acedc60952b0ccc40f9cbfc9a326e0640280e0d017b9d241827bb6c5a9e68077662439877f3bd14082b7972399144bcb723988bb30def1
+DIST libdispatch-1008.220.2.tar.gz 503589 BLAKE2B d09427bbaf5a3c38ad036bb0d05ca3ba548be22bda59829be43db6aaa0509199d088b854326a95494fafd4870b2d00dcf31bd5ea4484b3a37e682c89cd6db781 SHA512 f3df85d1f37449ea8538a3e34f3b90abd939a6a3ff9ea0882a129597ab024773f5499bee173bf8062cbf5c48f8a1f52dbbebab12f5abb1248ddc78edc66f79ed
+DIST libdispatch-703.50.37.tar.gz 415675 BLAKE2B a30695458f274bb869556837ee69f0f47839fd8741cb446c0c9513ed0d971f44a7eb55d7276db34b5ac3409b68ec283576ea547f12052cfd656fc110ce95cfaf SHA512 a23d3850dc7b6b6e3ef09764a202d6600fc2f238b8dbfe9b13e63b6aae2336dc800d86d987afab88d9c4493d30824468a31a48997b2cfbd2d743e7f1e6dc28cf
+DIST libdispatch-913.60.2.tar.gz 463117 BLAKE2B ec8d90788c86853bd8b65ec953b0e96c57e7a58765d3cd2e53e6c6aae4effa16ae16d18b44e25121717e26774f031391e977d6adaae796192b1f14acdc1dbfcd SHA512 29520016db9fd89457f76d86d889834140e211b6da35bd370178814e97e8f6ffce4b36d96cf41af1280846cdff0ba4ea6ca58d0c63e29ab1a49595c6e52030f4
DIST libmalloc-116.50.8.tar.gz 186880 BLAKE2B 00ec1cf6dc494fad1e817d942323da86f4de6ab35d92702b6c98b7b0fdb765e756f566298d3369165b0cdf687d43a655be64e3015f884c4d1cd7b7a286669de6 SHA512 a2a49a1d12e66618b124917617c942a51ac36b7b4a12c218b5c979b9d05db822949fc8ffada8901f551f5c2e7fce9abf1d3aeb4a6507f5870a9eab5b9f69ec18
DIST libmalloc-140.50.6.tar.gz 208453 BLAKE2B 40b7f0052e81bc7862b7bffd302a7868f1f0e6dc11c799370842457635d32bbc61e75753b2b6ebaf2dceaf26b43d7bf4efc718df91c91e0f5572929cbc9bed1d SHA512 9d39f9758f85cfa61835f9deaa4ae4958569aac0da006c5f0e87aaab2cd902b60f60e537fa0d9250401b7177f8c186e8c8e6498b48ee3eaf856daf103bf61412
DIST libmalloc-166.220.1.tar.gz 277584 BLAKE2B 2fee2a98aa0babc958726522639ddd135b4383bb8328a4d879481e27ec051bd530fc540ba2d959504c457a67536197632e28384959107b103bb466f96223b9ba SHA512 ebbe6d6e5d4cb4e6d928df49c8ab6582e4197ae9b7ed4e1068afd4227ca3e7d22f0d10d47745abcd7f983a75419c8fa7c94d127e3624cee16fa557434b0c3cef
@@ -26,7 +32,7 @@ DIST libpthread-301.50.1.tar.gz 208501 BLAKE2B d9056fc4132e453ed21b054761a3b78f4
DIST libpthread-330.230.1.tar.gz 197145 BLAKE2B 2366a9961862ac5467e48abf1e8a6ab4f240ebb09a8c58a390b49b259aa8ee012017de3a1ab0df6f779f1fc601fe841704c68406ed457f14456041a67038b29a SHA512 6ef2cd2775668ca74f365201b3477e26e6459a2597694d7c12ff203970004abf12deaea7a00b5301ab02344fb390e402e99155bf4e28f28db23928cac9f3bf6e
DIST libunwind-35.3.tar.gz 90002 BLAKE2B d63ab0ae6e66a6f35ec17de9713d3bf4853cd80af218e868762b20dd8a44d42cd9ff8fce1d8c46fca4759144726bbf248a02a5dede5a94a2b75d3b45ddb7d018 SHA512 b7d9a86ef24f1fe9ca14517471e03a910219a229af9f0d4cf94435115971360640451107ba20c93fb1aab788f8b6eb5ed580ee08fdaa990b9fa43e9ae360c6b4
DIST libunwind-35.4.tar.gz 1094999 BLAKE2B 5ddc3bb3dca0ceb5c979fd55657ad3ca0a4601be5594749d26a461ea61f75891b564ea9b4d60943baafe07f924d3750e857c0cd27154aceb130cada1cc83ff41 SHA512 7fcfaf071c6bfecd1b5dbdae6a24186c9741b2d877eaea9f64158278dc19f84b5bc46f09df2a4b81cf40f6dc91594b5411a0084e9e8fefcdbbfd8b53668f2631
-EBUILD darwin-libc-headers-1158.50.2-r2.ebuild 4321 BLAKE2B c0d7dab98d96dcdfb6b7e6de01f5b8da2d482053a7e41ce1c86ba4430770c9a5f2f71387cb16ab2932e7b12148509a7efe87f8759d48735a28648b5fdef3a8e0 SHA512 14de99afa52564f5148da28a7a833320e9e81f9bcd2aa59295005b3ae5ea2ade102ea81a413e6c3f5024fd0165e9333de622b3fb1d8f927e560cf1df785d8894
-EBUILD darwin-libc-headers-1244.50.9-r2.ebuild 4321 BLAKE2B b4d5dc5a400c5b25274154e503eb503b4e220a64a0d11b2dfd11c7e0b8389163e28ac446cc2ef1c18e766cb164e1b8827092031aa09529c11e3bed768962e8d6 SHA512 3e5601f082e7805b7bf473c2e8159929c2d576d57cd17ae4e43b94458b8d92b254719eaf6b23abbf3c6f1a22bbb70ae658376bf50e41cd3f06eac4cb2a1d711e
-EBUILD darwin-libc-headers-1272.250.1-r2.ebuild 4284 BLAKE2B 939a02936ac9e5ec863e9a8aca3b527b98c9772ae3a5e05ad7fb2ec39cb0549f7c4276577b1cb17847766bdc6ffa721534e6b2fb9c9504233a0c0cf53bb7abb8 SHA512 69997e3708bc840dbfc24ae68e9424e2dc43381cbd279dcaadfc3ed02c66ce1bd7754059650150853bc684508b46da8a70bfeece8ebf54909bf8a799b8726ba6
+EBUILD darwin-libc-headers-1158.50.2-r4.ebuild 5176 BLAKE2B c0b3a15ebf53916c6ea2b99b0971e33667ed489c14b5be48774f4e84d6b61a5b7a8ee4a87ff4b1631f30d5db2a1360b1b8b0436902d4ce674cdac337d587dc07 SHA512 2c472e5d9c11913c52021a2dc2ad5185a371fd5cea7a2a40ce5c82248bf1c76c7074bf1de308197b400b5f5938ce7d51d78800a044dfbb9ac36b29ae622884a1
+EBUILD darwin-libc-headers-1244.50.9-r4.ebuild 5180 BLAKE2B c413e9d916a83c730b14a8e8db62ef3f8c1ffd37bddd1d56b364d7d0022752321dacc6cc48db8164aea4fc2b614fb8506f94fa7df9526bfadc6fa73ac5d1d9c6 SHA512 6b733d866b6fd89b354f00f555e635d1f91f8a6ef6ddd1e56a3a4e1c9fa037e88af0936cc0c03390fba42885a059fd50f0ea9d3fbee3fa6e3fb861315086d108
+EBUILD darwin-libc-headers-1272.250.1-r4.ebuild 5146 BLAKE2B 825ca5005551b44989fbcdef8249d942b30b91e634ef481a83a33b0b45c59d7e84fa27ebc572c60f17b9f26f3d97094966cdb292b3f33765f1e0f9cceefe5836 SHA512 26d3425807ba7e57579789b5e7475c3be50924d998cf94e0e8f80b75379e7bda31c52ea5b86b34c844f1a81b2865fd7838c2fe194842a25289abf6723870224b
MISC metadata.xml 533 BLAKE2B df8e811ac29ac4dfc64f46302aa7975f223b0ca01af65978e55049c63514872efc54821682bad5b7f544b35a5246e93c1ef8f781b8ee8b6256da30fb110bdd5e SHA512 6151f4de2c080a8ac5bb8676170e7c467bae9c730d6726bc590d34b3e653161f7c58d2dcebe199cbbf49b5129bd7d121c73119ea8d54943eb01bf2d5fdcd4ce8
diff --git a/sys-libs/darwin-libc-headers/darwin-libc-headers-1158.50.2-r2.ebuild b/sys-libs/darwin-libc-headers/darwin-libc-headers-1158.50.2-r4.ebuild
index f3b1c4eac4e6..622f6d899e35 100644
--- a/sys-libs/darwin-libc-headers/darwin-libc-headers-1158.50.2-r2.ebuild
+++ b/sys-libs/darwin-libc-headers/darwin-libc-headers-1158.50.2-r4.ebuild
@@ -11,6 +11,8 @@ LPV=126.50.8
UPV=35.3
OPV=67
DPV=433.5
+APV=703.50.37
+FPV=138
OSX=10.12
DESCRIPTION="Darwin system headers from Libc ${PV}, macOS ${OSX}.6"
HOMEPAGE="https://opensource.apple.com/source/Libc"
@@ -22,8 +24,10 @@ SRC_URI="https://opensource.apple.com/tarballs/Libc/Libc-${PV}.tar.gz
https://opensource.apple.com/tarballs/libplatform/libplatform-${LPV}.tar.gz
https://opensource.apple.com/tarballs/libunwind/libunwind-${UPV}.tar.gz
https://opensource.apple.com/tarballs/libclosure/libclosure-${OPV}.tar.gz
+ https://opensource.apple.com/tarballs/libdispatch/libdispatch-${APV}.tar.gz
+ https://opensource.apple.com/tarballs/copyfile/copyfile-${FPV}.tar.gz
https://opensource.apple.com/tarballs/dyld/dyld-${DPV}.tar.gz
- https://dev.gentoo.org/~grobian/distfiles/${PN}-${OSX}.tar.gz"
+ https://dev.gentoo.org/~grobian/distfiles/${PN}-${OSX}-r2.tar.gz"
LICENSE="APSL-2"
SLOT="${OSX}"
@@ -47,7 +51,8 @@ src_prepare() {
sed -i \
-e 's/-o "$INSTALL_OWNER" -g "$INSTALL_GROUP"//' \
-e 's/ln -hf/ln -sf/' \
- "${WORKDIR}"/Libinfo-${IPV}/xcodescripts/install_files.sh
+ "${WORKDIR}"/Libinfo-${IPV}/xcodescripts/install_files.sh \
+ "${WORKDIR}"/copyfile-${FPV}/xcodescripts/install_files.sh || die
# add libmalloc manpage stuff to Libc to automate the installation
cp "${WORKDIR}"/libmalloc-${MPV}/man/*.3 man/ || die
@@ -83,12 +88,21 @@ src_install() {
run_xcode_ish ./xcodescripts/headers.sh || die
if use man ; then
run_xcode_ish ./xcodescripts/manpages.sh || die
+ for f in "${ED}"/usr/share/man/man*/* ; do
+ [[ -e ${f} ]] || rm "${f}"
+ done
fi
pushd "${WORKDIR}"/Libinfo-${IPV} > /dev/null || die
run_xcode_ish ./xcodescripts/install_files.sh || die
popd > /dev/null || die
+ if use man ; then
+ pushd "${WORKDIR}"/copyfile-${FPV} > /dev/null || die
+ run_xcode_ish ./xcodescripts/install_files.sh || die
+ popd > /dev/null || die
+ fi
+
insinto /usr/include
doins -r "${WORKDIR}"/libmalloc-${MPV}/include/malloc
doins -r "${WORKDIR}"/libpthread-${PPV}/pthread
@@ -97,6 +111,8 @@ src_install() {
doins -r "${WORKDIR}"/${PN}-${OSX}/include/*
doins "${WORKDIR}"/libclosure-${OPV}/Block.h
doins "${WORKDIR}"/dyld-${DPV}/include/dlfcn.h
+ doins "${WORKDIR}"/copyfile-${FPV}/copyfile.h \
+ "${WORKDIR}"/copyfile-${FPV}/xattr_flags.h
insinto /usr/include/sys
doins "${WORKDIR}"/libpthread-${PPV}/sys/qos.h
@@ -115,6 +131,12 @@ src_install() {
"${WORKDIR}"/CommonCrypto-${CPV}/include/CommonRandom.h \
"${WORKDIR}"/CommonCrypto-${CPV}/include/CommonSymmetricKeywrap.h
+ insinto /usr/include/dispatch
+ doins "${WORKDIR}"/libdispatch-${APV}/dispatch/*.h \
+ "${WORKDIR}"/libdispatch-${APV}/dispatch/darwin/module.modulemap
+ insinto /usr/include/os
+ doins "${WORKDIR}"/libdispatch-${APV}/os/object.h
+
insinto /Frameworks
doins -r "${WORKDIR}"/${PN}-${OSX}/Frameworks/*.framework
@@ -124,9 +146,11 @@ src_install() {
S="${WORKDIR}"/libpthread-${PPV} run_xcode_ish \
"${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-manpages.sh || die
+ ln -s ../nameser.h "${ED}"/usr/include/arpa/nameser.h || die
+
rm -Rf "${ED}"/remove-me "${ED}"/System "${ED}"/usr/local || die
use man || rm -Rf "${ED}/usr/share/man"
- # drop empty or conflicting headers (db is antiquated)
- rm "${ED}"/usr/include/{db,util}.h || die
+ # drop conflicting header (db is antiquated)
+ rm "${ED}"/usr/include/db.h || die
}
diff --git a/sys-libs/darwin-libc-headers/darwin-libc-headers-1244.50.9-r2.ebuild b/sys-libs/darwin-libc-headers/darwin-libc-headers-1244.50.9-r4.ebuild
index 55949607a21d..a7a635ddd3b4 100644
--- a/sys-libs/darwin-libc-headers/darwin-libc-headers-1244.50.9-r2.ebuild
+++ b/sys-libs/darwin-libc-headers/darwin-libc-headers-1244.50.9-r4.ebuild
@@ -11,6 +11,8 @@ LPV=161.50.1
UPV=35.3
OPV=67
DPV=551.4
+APV=913.60.2
+FPV=146.50.5
OSX=10.13
DESCRIPTION="Darwin system headers from Libc ${PV}, macOS ${OSX}.6"
HOMEPAGE="https://opensource.apple.com/source/Libc"
@@ -22,8 +24,10 @@ SRC_URI="https://opensource.apple.com/tarballs/Libc/Libc-${PV}.tar.gz
https://opensource.apple.com/tarballs/libplatform/libplatform-${LPV}.tar.gz
https://opensource.apple.com/tarballs/libunwind/libunwind-${UPV}.tar.gz
https://opensource.apple.com/tarballs/libclosure/libclosure-${OPV}.tar.gz
+ https://opensource.apple.com/tarballs/libdispatch/libdispatch-${APV}.tar.gz
+ https://opensource.apple.com/tarballs/copyfile/copyfile-${FPV}.tar.gz
https://opensource.apple.com/tarballs/dyld/dyld-${DPV}.tar.gz
- https://dev.gentoo.org/~grobian/distfiles/${PN}-${OSX}.tar.gz"
+ https://dev.gentoo.org/~grobian/distfiles/${PN}-${OSX}-r2.tar.gz"
LICENSE="APSL-2"
SLOT="${OSX}"
@@ -47,7 +51,8 @@ src_prepare() {
sed -i \
-e 's/-o "$INSTALL_OWNER" -g "$INSTALL_GROUP"//' \
-e 's/ln -hf/ln -sf/' \
- "${WORKDIR}"/Libinfo-${IPV}/xcodescripts/install_files.sh
+ "${WORKDIR}"/Libinfo-${IPV}/xcodescripts/install_files.sh \
+ "${WORKDIR}"/copyfile-${FPV}/xcodescripts/install_files.sh || die
# add libmalloc manpage stuff to Libc to automate the installation
cp "${WORKDIR}"/libmalloc-${MPV}/man/*.3 man/ || die
@@ -83,12 +88,21 @@ src_install() {
run_xcode_ish ./xcodescripts/headers.sh || die
if use man ; then
run_xcode_ish ./xcodescripts/manpages.sh || die
+ for f in "${ED}"/usr/share/man/man*/* ; do
+ [[ -e ${f} ]] || rm "${f}"
+ done
fi
pushd "${WORKDIR}"/Libinfo-${IPV} > /dev/null || die
run_xcode_ish ./xcodescripts/install_files.sh || die
popd > /dev/null || die
+ if use man ; then
+ pushd "${WORKDIR}"/copyfile-${FPV} > /dev/null || die
+ run_xcode_ish ./xcodescripts/install_files.sh || die
+ popd > /dev/null || die
+ fi
+
insinto /usr/include
doins -r "${WORKDIR}"/libmalloc-${MPV}/include/malloc
doins -r "${WORKDIR}"/libpthread-${PPV}/pthread
@@ -97,6 +111,8 @@ src_install() {
doins -r "${WORKDIR}"/${PN}-${OSX}/include/*
doins "${WORKDIR}"/libclosure-${OPV}/Block.h
doins "${WORKDIR}"/dyld-${DPV}/include/dlfcn.h
+ doins "${WORKDIR}"/copyfile-${FPV}/copyfile.h \
+ "${WORKDIR}"/copyfile-${FPV}/xattr_flags.h
insinto /usr/include/sys
doins "${WORKDIR}"/libpthread-${PPV}/sys/qos.h
@@ -115,6 +131,12 @@ src_install() {
"${WORKDIR}"/CommonCrypto-${CPV}/include/CommonRandom.h \
"${WORKDIR}"/CommonCrypto-${CPV}/include/CommonSymmetricKeywrap.h
+ insinto /usr/include/dispatch
+ doins "${WORKDIR}"/libdispatch-${APV}/dispatch/*.h \
+ "${WORKDIR}"/libdispatch-${APV}/dispatch/darwin/module.modulemap
+ insinto /usr/include/os
+ doins "${WORKDIR}"/libdispatch-${APV}/os/object.h
+
insinto /Frameworks
doins -r "${WORKDIR}"/${PN}-${OSX}/Frameworks/*.framework
@@ -124,9 +146,11 @@ src_install() {
S="${WORKDIR}"/libpthread-${PPV} run_xcode_ish \
"${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-manpages.sh || die
+ ln -s ../nameser.h "${ED}"/usr/include/arpa/nameser.h || die
+
rm -Rf "${ED}"/remove-me "${ED}"/System "${ED}"/usr/local || die
use man || rm -Rf "${ED}/usr/share/man"
- # drop empty or conflicting headers (db is antiquated)
- rm "${ED}"/usr/include/{db,util}.h || die
+ # drop conflicting header (db is antiquated)
+ rm "${ED}"/usr/include/db.h || die
}
diff --git a/sys-libs/darwin-libc-headers/darwin-libc-headers-1272.250.1-r2.ebuild b/sys-libs/darwin-libc-headers/darwin-libc-headers-1272.250.1-r4.ebuild
index 0f07e5b38789..8de0fcb25482 100644
--- a/sys-libs/darwin-libc-headers/darwin-libc-headers-1272.250.1-r2.ebuild
+++ b/sys-libs/darwin-libc-headers/darwin-libc-headers-1272.250.1-r4.ebuild
@@ -11,6 +11,8 @@ LPV=177.200.16
UPV=35.4
OPV=73
DPV=655.1
+APV=1008.220.2
+FPV=146.200.3
OSX=10.14
DESCRIPTION="Darwin system headers from Libc ${PV}, macOS ${OSX}.3"
HOMEPAGE="https://opensource.apple.com/source/Libc"
@@ -22,8 +24,10 @@ SRC_URI="https://opensource.apple.com/tarballs/Libc/Libc-${PV}.tar.gz
https://opensource.apple.com/tarballs/libplatform/libplatform-${LPV}.tar.gz
https://opensource.apple.com/tarballs/libunwind/libunwind-${UPV}.tar.gz
https://opensource.apple.com/tarballs/libclosure/libclosure-${OPV}.tar.gz
+ https://opensource.apple.com/tarballs/libdispatch/libdispatch-${APV}.tar.gz
+ https://opensource.apple.com/tarballs/copyfile/copyfile-${FPV}.tar.gz
https://opensource.apple.com/tarballs/dyld/dyld-${DPV}.tar.gz
- https://dev.gentoo.org/~grobian/distfiles/${PN}-${OSX}.tar.gz"
+ https://dev.gentoo.org/~grobian/distfiles/${PN}-${OSX}-r2.tar.gz"
LICENSE="APSL-2"
SLOT="${OSX}"
@@ -46,7 +50,8 @@ src_prepare() {
sed -i \
-e 's/-o "$INSTALL_OWNER" -g "$INSTALL_GROUP"//' \
-e 's/ln -hf/ln -sf/' \
- "${WORKDIR}"/Libinfo-${IPV}/xcodescripts/install_files.sh
+ "${WORKDIR}"/Libinfo-${IPV}/xcodescripts/install_files.sh \
+ "${WORKDIR}"/copyfile-${FPV}/xcodescripts/install_files.sh || die
# add libmalloc manpage stuff to Libc to automate the installation
cp "${WORKDIR}"/libmalloc-${MPV}/man/*.3 man/ || die
@@ -82,12 +87,21 @@ src_install() {
run_xcode_ish ./xcodescripts/headers.sh || die
if use man ; then
run_xcode_ish ./xcodescripts/manpages.sh || die
+ for f in "${ED}"/usr/share/man/man*/* ; do
+ [[ -e ${f} ]] || rm "${f}"
+ done
fi
pushd "${WORKDIR}"/Libinfo-${IPV} > /dev/null || die
run_xcode_ish ./xcodescripts/install_files.sh || die
popd > /dev/null || die
+ if use man ; then
+ pushd "${WORKDIR}"/copyfile-${FPV} > /dev/null || die
+ run_xcode_ish ./xcodescripts/install_files.sh || die
+ popd > /dev/null || die
+ fi
+
insinto /usr/include
doins -r "${WORKDIR}"/libmalloc-${MPV}/include/malloc
doins -r "${WORKDIR}"/libpthread-${PPV}/pthread
@@ -96,6 +110,8 @@ src_install() {
doins -r "${WORKDIR}"/${PN}-${OSX}/include/*
doins "${WORKDIR}"/libclosure-${OPV}/Block.h
doins "${WORKDIR}"/dyld-${DPV}/include/dlfcn.h
+ doins "${WORKDIR}"/copyfile-${FPV}/copyfile.h \
+ "${WORKDIR}"/copyfile-${FPV}/xattr_flags.h
insinto /usr/include/sys
doins "${WORKDIR}"/libpthread-${PPV}/sys/qos.h
@@ -114,6 +130,12 @@ src_install() {
"${WORKDIR}"/CommonCrypto-${CPV}/include/CommonRandom.h \
"${WORKDIR}"/CommonCrypto-${CPV}/include/CommonSymmetricKeywrap.h
+ insinto /usr/include/dispatch
+ doins "${WORKDIR}"/libdispatch-${APV}/dispatch/*.h \
+ "${WORKDIR}"/libdispatch-${APV}/dispatch/darwin/module.modulemap
+ insinto /usr/include/os
+ doins "${WORKDIR}"/libdispatch-${APV}/os/object.h
+
insinto /Frameworks
doins -r "${WORKDIR}"/${PN}-${OSX}/Frameworks/*.framework
@@ -123,9 +145,11 @@ src_install() {
S="${WORKDIR}"/libpthread-${PPV} run_xcode_ish \
"${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-manpages.sh || die
+ ln -s ../nameser.h "${ED}"/usr/include/arpa/nameser.h || die
+
rm -Rf "${ED}"/remove-me "${ED}"/System "${ED}"/usr/local || die
use man || rm -Rf "${ED}/usr/share/man"
- # drop empty or conflicting headers (db is antiquated)
- rm "${ED}"/usr/include/{db,util}.h || die
+ # drop conflicting header (db is antiquated)
+ rm "${ED}"/usr/include/db.h || die
}