From 193d0e0e0c47d8af8e7c475b4d4e702cdd8770f7 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sat, 14 Dec 2019 15:54:09 +0100 Subject: sys-libs/darwin-libc-headers: remove accidental drop of utmp.h Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Fabian Groffen --- .../darwin-libc-headers-1158.50.2-r1.ebuild | 132 --------------------- .../darwin-libc-headers-1158.50.2-r2.ebuild | 132 +++++++++++++++++++++ .../darwin-libc-headers-1244.50.9-r1.ebuild | 132 --------------------- .../darwin-libc-headers-1244.50.9-r2.ebuild | 132 +++++++++++++++++++++ .../darwin-libc-headers-1272.250.1-r1.ebuild | 131 -------------------- .../darwin-libc-headers-1272.250.1-r2.ebuild | 131 ++++++++++++++++++++ 6 files changed, 395 insertions(+), 395 deletions(-) delete mode 100644 sys-libs/darwin-libc-headers/darwin-libc-headers-1158.50.2-r1.ebuild create mode 100644 sys-libs/darwin-libc-headers/darwin-libc-headers-1158.50.2-r2.ebuild delete mode 100644 sys-libs/darwin-libc-headers/darwin-libc-headers-1244.50.9-r1.ebuild create mode 100644 sys-libs/darwin-libc-headers/darwin-libc-headers-1244.50.9-r2.ebuild delete mode 100644 sys-libs/darwin-libc-headers/darwin-libc-headers-1272.250.1-r1.ebuild create mode 100644 sys-libs/darwin-libc-headers/darwin-libc-headers-1272.250.1-r2.ebuild (limited to 'sys-libs/darwin-libc-headers') diff --git a/sys-libs/darwin-libc-headers/darwin-libc-headers-1158.50.2-r1.ebuild b/sys-libs/darwin-libc-headers/darwin-libc-headers-1158.50.2-r1.ebuild deleted file mode 100644 index 266ccf06c137..000000000000 --- a/sys-libs/darwin-libc-headers/darwin-libc-headers-1158.50.2-r1.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -IPV=503.50.4 -CPV=60092.50.5 -MPV=116.50.8 -PPV=218.60.3 -LPV=126.50.8 -UPV=35.3 -OPV=67 -DPV=433.5 -OSX=10.12 -DESCRIPTION="Darwin system headers from Libc ${PV}, macOS ${OSX}.6" -HOMEPAGE="https://opensource.apple.com/source/Libc" -SRC_URI="https://opensource.apple.com/tarballs/Libc/Libc-${PV}.tar.gz - https://opensource.apple.com/tarballs/Libinfo/Libinfo-${IPV}.tar.gz - https://opensource.apple.com/tarballs/CommonCrypto/CommonCrypto-${CPV}.tar.gz - https://opensource.apple.com/tarballs/libmalloc/libmalloc-${MPV}.tar.gz - https://opensource.apple.com/tarballs/libpthread/libpthread-${PPV}.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/dyld/dyld-${DPV}.tar.gz - https://dev.gentoo.org/~grobian/distfiles/${PN}-${OSX}.tar.gz" - -LICENSE="APSL-2" -SLOT="${OSX}" -KEYWORDS="~x64-macos" -IUSE="+man" - -BDEPEND="sys-apps/darwin-miscutils" - -S=${WORKDIR}/Libc-${PV} - -src_prepare() { - default - - # convert BSD find to GNU find syntax - sed -i \ - -e 's/find -E ${SRCROOT}/find ${SRCROOT} -regextype posix-extended/' \ - xcodescripts/manpages.sh || die - chmod 755 xcodescripts/manpages.sh || die - - # drop ownership stuff and use soft-links - sed -i \ - -e 's/-o "$INSTALL_OWNER" -g "$INSTALL_GROUP"//' \ - -e 's/ln -hf/ln -sf/' \ - "${WORKDIR}"/Libinfo-${IPV}/xcodescripts/install_files.sh - - # add libmalloc manpage stuff to Libc to automate the installation - cp "${WORKDIR}"/libmalloc-${MPV}/man/*.3 man/ || die - cat "${WORKDIR}"/libmalloc-${MPV}/man/manpages.lst \ - >> man/manpages.lst || die - - # produce softlinks when installing libpthread manpages, don't do - # ownership or /usr/local stuff - sed -i \ - -e 's/ln -fh/ln -fs/' \ - -e '/chmod/d' -e '/chown/d' \ - -e '/\/usr\/local\/share/d' \ - "${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-manpages.sh || die -} - -src_compile() { - : ; # nothing to do -} - -src_install() { - run_xcode_ish() { - env ARCHS="x86_64 i386" \ - PLATFORM_NAME=macosx \ - VARIANT_PLATFORM_NAME=macosx \ - DERIVED_FILES_DIR="${T}" \ - SRCROOT="${S}" \ - DSTROOT="${ED}" \ - PUBLIC_HEADERS_FOLDER_PATH="/usr/include" \ - PRIVATE_HEADERS_FOLDER_PATH="remove-me" \ - "${BASH}" "$@" - } - - run_xcode_ish ./xcodescripts/headers.sh || die - if use man ; then - run_xcode_ish ./xcodescripts/manpages.sh || die - fi - - pushd "${WORKDIR}"/Libinfo-${IPV} > /dev/null || die - run_xcode_ish ./xcodescripts/install_files.sh || die - popd > /dev/null || die - - insinto /usr/include - doins -r "${WORKDIR}"/libmalloc-${MPV}/include/malloc - doins -r "${WORKDIR}"/libpthread-${PPV}/pthread - doins -r "${WORKDIR}"/libplatform-${LPV}/include/* - doins -r "${WORKDIR}"/libunwind-${UPV}/include/* - doins -r "${WORKDIR}"/${PN}-${OSX}/include/* - doins "${WORKDIR}"/libclosure-${OPV}/Block.h - doins "${WORKDIR}"/dyld-${DPV}/include/dlfcn.h - - insinto /usr/include/sys - doins "${WORKDIR}"/libpthread-${PPV}/sys/qos.h - doins -r "${WORKDIR}"/libpthread-${PPV}/sys/_pthread - - insinto /usr/include/mach-o - doins "${WORKDIR}"/dyld-${DPV}/include/mach-o/dyld{,_images}.h - - insinto /usr/include/CommonCrypto - doins "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonCrypto.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonCryptoError.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonCryptor.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonDigest.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonHMAC.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonKeyDerivation.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonRandom.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonSymmetricKeywrap.h - - insinto /Frameworks - doins -r "${WORKDIR}"/${PN}-${OSX}/Frameworks/*.framework - - run_xcode_ish \ - "${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-symlinks.sh || die - - S="${WORKDIR}"/libpthread-${PPV} run_xcode_ish \ - "${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-manpages.sh || 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,utmpx}.h || die -} 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-r2.ebuild new file mode 100644 index 000000000000..f3b1c4eac4e6 --- /dev/null +++ b/sys-libs/darwin-libc-headers/darwin-libc-headers-1158.50.2-r2.ebuild @@ -0,0 +1,132 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +IPV=503.50.4 +CPV=60092.50.5 +MPV=116.50.8 +PPV=218.60.3 +LPV=126.50.8 +UPV=35.3 +OPV=67 +DPV=433.5 +OSX=10.12 +DESCRIPTION="Darwin system headers from Libc ${PV}, macOS ${OSX}.6" +HOMEPAGE="https://opensource.apple.com/source/Libc" +SRC_URI="https://opensource.apple.com/tarballs/Libc/Libc-${PV}.tar.gz + https://opensource.apple.com/tarballs/Libinfo/Libinfo-${IPV}.tar.gz + https://opensource.apple.com/tarballs/CommonCrypto/CommonCrypto-${CPV}.tar.gz + https://opensource.apple.com/tarballs/libmalloc/libmalloc-${MPV}.tar.gz + https://opensource.apple.com/tarballs/libpthread/libpthread-${PPV}.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/dyld/dyld-${DPV}.tar.gz + https://dev.gentoo.org/~grobian/distfiles/${PN}-${OSX}.tar.gz" + +LICENSE="APSL-2" +SLOT="${OSX}" +KEYWORDS="~x64-macos" +IUSE="+man" + +BDEPEND="sys-apps/darwin-miscutils" + +S=${WORKDIR}/Libc-${PV} + +src_prepare() { + default + + # convert BSD find to GNU find syntax + sed -i \ + -e 's/find -E ${SRCROOT}/find ${SRCROOT} -regextype posix-extended/' \ + xcodescripts/manpages.sh || die + chmod 755 xcodescripts/manpages.sh || die + + # drop ownership stuff and use soft-links + sed -i \ + -e 's/-o "$INSTALL_OWNER" -g "$INSTALL_GROUP"//' \ + -e 's/ln -hf/ln -sf/' \ + "${WORKDIR}"/Libinfo-${IPV}/xcodescripts/install_files.sh + + # add libmalloc manpage stuff to Libc to automate the installation + cp "${WORKDIR}"/libmalloc-${MPV}/man/*.3 man/ || die + cat "${WORKDIR}"/libmalloc-${MPV}/man/manpages.lst \ + >> man/manpages.lst || die + + # produce softlinks when installing libpthread manpages, don't do + # ownership or /usr/local stuff + sed -i \ + -e 's/ln -fh/ln -fs/' \ + -e '/chmod/d' -e '/chown/d' \ + -e '/\/usr\/local\/share/d' \ + "${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-manpages.sh || die +} + +src_compile() { + : ; # nothing to do +} + +src_install() { + run_xcode_ish() { + env ARCHS="x86_64 i386" \ + PLATFORM_NAME=macosx \ + VARIANT_PLATFORM_NAME=macosx \ + DERIVED_FILES_DIR="${T}" \ + SRCROOT="${S}" \ + DSTROOT="${ED}" \ + PUBLIC_HEADERS_FOLDER_PATH="/usr/include" \ + PRIVATE_HEADERS_FOLDER_PATH="remove-me" \ + "${BASH}" "$@" + } + + run_xcode_ish ./xcodescripts/headers.sh || die + if use man ; then + run_xcode_ish ./xcodescripts/manpages.sh || die + fi + + pushd "${WORKDIR}"/Libinfo-${IPV} > /dev/null || die + run_xcode_ish ./xcodescripts/install_files.sh || die + popd > /dev/null || die + + insinto /usr/include + doins -r "${WORKDIR}"/libmalloc-${MPV}/include/malloc + doins -r "${WORKDIR}"/libpthread-${PPV}/pthread + doins -r "${WORKDIR}"/libplatform-${LPV}/include/* + doins -r "${WORKDIR}"/libunwind-${UPV}/include/* + doins -r "${WORKDIR}"/${PN}-${OSX}/include/* + doins "${WORKDIR}"/libclosure-${OPV}/Block.h + doins "${WORKDIR}"/dyld-${DPV}/include/dlfcn.h + + insinto /usr/include/sys + doins "${WORKDIR}"/libpthread-${PPV}/sys/qos.h + doins -r "${WORKDIR}"/libpthread-${PPV}/sys/_pthread + + insinto /usr/include/mach-o + doins "${WORKDIR}"/dyld-${DPV}/include/mach-o/dyld{,_images}.h + + insinto /usr/include/CommonCrypto + doins "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonCrypto.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonCryptoError.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonCryptor.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonDigest.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonHMAC.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonKeyDerivation.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonRandom.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonSymmetricKeywrap.h + + insinto /Frameworks + doins -r "${WORKDIR}"/${PN}-${OSX}/Frameworks/*.framework + + run_xcode_ish \ + "${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-symlinks.sh || die + + S="${WORKDIR}"/libpthread-${PPV} run_xcode_ish \ + "${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-manpages.sh || 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 +} diff --git a/sys-libs/darwin-libc-headers/darwin-libc-headers-1244.50.9-r1.ebuild b/sys-libs/darwin-libc-headers/darwin-libc-headers-1244.50.9-r1.ebuild deleted file mode 100644 index 0d7e34e9b122..000000000000 --- a/sys-libs/darwin-libc-headers/darwin-libc-headers-1244.50.9-r1.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -IPV=517.30.1 -CPV=60118.50.1 -MPV=140.50.6 -PPV=301.50.1 -LPV=161.50.1 -UPV=35.3 -OPV=67 -DPV=551.4 -OSX=10.13 -DESCRIPTION="Darwin system headers from Libc ${PV}, macOS ${OSX}.6" -HOMEPAGE="https://opensource.apple.com/source/Libc" -SRC_URI="https://opensource.apple.com/tarballs/Libc/Libc-${PV}.tar.gz - https://opensource.apple.com/tarballs/Libinfo/Libinfo-${IPV}.tar.gz - https://opensource.apple.com/tarballs/CommonCrypto/CommonCrypto-${CPV}.tar.gz - https://opensource.apple.com/tarballs/libmalloc/libmalloc-${MPV}.tar.gz - https://opensource.apple.com/tarballs/libpthread/libpthread-${PPV}.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/dyld/dyld-${DPV}.tar.gz - https://dev.gentoo.org/~grobian/distfiles/${PN}-${OSX}.tar.gz" - -LICENSE="APSL-2" -SLOT="${OSX}" -KEYWORDS="~x64-macos" -IUSE="+man" - -BDEPEND="sys-apps/darwin-miscutils" - -S=${WORKDIR}/Libc-${PV} - -src_prepare() { - default - - # convert BSD find to GNU find syntax - sed -i \ - -e 's/find -E ${SRCROOT}/find ${SRCROOT} -regextype posix-extended/' \ - xcodescripts/manpages.sh || die - chmod 755 xcodescripts/manpages.sh || die - - # drop ownership stuff and use soft-links - sed -i \ - -e 's/-o "$INSTALL_OWNER" -g "$INSTALL_GROUP"//' \ - -e 's/ln -hf/ln -sf/' \ - "${WORKDIR}"/Libinfo-${IPV}/xcodescripts/install_files.sh - - # add libmalloc manpage stuff to Libc to automate the installation - cp "${WORKDIR}"/libmalloc-${MPV}/man/*.3 man/ || die - cat "${WORKDIR}"/libmalloc-${MPV}/man/manpages.lst \ - >> man/manpages.lst || die - - # produce softlinks when installing libpthread manpages, don't do - # ownership or /usr/local stuff - sed -i \ - -e 's/ln -fh/ln -fs/' \ - -e '/chmod/d' -e '/chown/d' \ - -e '/\/usr\/local\/share/d' \ - "${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-manpages.sh || die -} - -src_compile() { - : ; # nothing to do -} - -src_install() { - run_xcode_ish() { - env ARCHS="x86_64 i386" \ - PLATFORM_NAME=macosx \ - VARIANT_PLATFORM_NAME=macosx \ - DERIVED_FILES_DIR="${T}" \ - SRCROOT="${S}" \ - DSTROOT="${ED}" \ - PUBLIC_HEADERS_FOLDER_PATH="/usr/include" \ - PRIVATE_HEADERS_FOLDER_PATH="remove-me" \ - "${BASH}" "$@" - } - - run_xcode_ish ./xcodescripts/headers.sh || die - if use man ; then - run_xcode_ish ./xcodescripts/manpages.sh || die - fi - - pushd "${WORKDIR}"/Libinfo-${IPV} > /dev/null || die - run_xcode_ish ./xcodescripts/install_files.sh || die - popd > /dev/null || die - - insinto /usr/include - doins -r "${WORKDIR}"/libmalloc-${MPV}/include/malloc - doins -r "${WORKDIR}"/libpthread-${PPV}/pthread - doins -r "${WORKDIR}"/libplatform-${LPV}/include/* - doins -r "${WORKDIR}"/libunwind-${UPV}/include/* - doins -r "${WORKDIR}"/${PN}-${OSX}/include/* - doins "${WORKDIR}"/libclosure-${OPV}/Block.h - doins "${WORKDIR}"/dyld-${DPV}/include/dlfcn.h - - insinto /usr/include/sys - doins "${WORKDIR}"/libpthread-${PPV}/sys/qos.h - doins -r "${WORKDIR}"/libpthread-${PPV}/sys/_pthread - - insinto /usr/include/mach-o - doins "${WORKDIR}"/dyld-${DPV}/include/mach-o/dyld{,_images}.h - - insinto /usr/include/CommonCrypto - doins "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonCrypto.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonCryptoError.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonCryptor.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonDigest.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonHMAC.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonKeyDerivation.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonRandom.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonSymmetricKeywrap.h - - insinto /Frameworks - doins -r "${WORKDIR}"/${PN}-${OSX}/Frameworks/*.framework - - run_xcode_ish \ - "${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-symlinks.sh || die - - S="${WORKDIR}"/libpthread-${PPV} run_xcode_ish \ - "${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-manpages.sh || 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,utmpx}.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-r2.ebuild new file mode 100644 index 000000000000..55949607a21d --- /dev/null +++ b/sys-libs/darwin-libc-headers/darwin-libc-headers-1244.50.9-r2.ebuild @@ -0,0 +1,132 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +IPV=517.30.1 +CPV=60118.50.1 +MPV=140.50.6 +PPV=301.50.1 +LPV=161.50.1 +UPV=35.3 +OPV=67 +DPV=551.4 +OSX=10.13 +DESCRIPTION="Darwin system headers from Libc ${PV}, macOS ${OSX}.6" +HOMEPAGE="https://opensource.apple.com/source/Libc" +SRC_URI="https://opensource.apple.com/tarballs/Libc/Libc-${PV}.tar.gz + https://opensource.apple.com/tarballs/Libinfo/Libinfo-${IPV}.tar.gz + https://opensource.apple.com/tarballs/CommonCrypto/CommonCrypto-${CPV}.tar.gz + https://opensource.apple.com/tarballs/libmalloc/libmalloc-${MPV}.tar.gz + https://opensource.apple.com/tarballs/libpthread/libpthread-${PPV}.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/dyld/dyld-${DPV}.tar.gz + https://dev.gentoo.org/~grobian/distfiles/${PN}-${OSX}.tar.gz" + +LICENSE="APSL-2" +SLOT="${OSX}" +KEYWORDS="~x64-macos" +IUSE="+man" + +BDEPEND="sys-apps/darwin-miscutils" + +S=${WORKDIR}/Libc-${PV} + +src_prepare() { + default + + # convert BSD find to GNU find syntax + sed -i \ + -e 's/find -E ${SRCROOT}/find ${SRCROOT} -regextype posix-extended/' \ + xcodescripts/manpages.sh || die + chmod 755 xcodescripts/manpages.sh || die + + # drop ownership stuff and use soft-links + sed -i \ + -e 's/-o "$INSTALL_OWNER" -g "$INSTALL_GROUP"//' \ + -e 's/ln -hf/ln -sf/' \ + "${WORKDIR}"/Libinfo-${IPV}/xcodescripts/install_files.sh + + # add libmalloc manpage stuff to Libc to automate the installation + cp "${WORKDIR}"/libmalloc-${MPV}/man/*.3 man/ || die + cat "${WORKDIR}"/libmalloc-${MPV}/man/manpages.lst \ + >> man/manpages.lst || die + + # produce softlinks when installing libpthread manpages, don't do + # ownership or /usr/local stuff + sed -i \ + -e 's/ln -fh/ln -fs/' \ + -e '/chmod/d' -e '/chown/d' \ + -e '/\/usr\/local\/share/d' \ + "${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-manpages.sh || die +} + +src_compile() { + : ; # nothing to do +} + +src_install() { + run_xcode_ish() { + env ARCHS="x86_64 i386" \ + PLATFORM_NAME=macosx \ + VARIANT_PLATFORM_NAME=macosx \ + DERIVED_FILES_DIR="${T}" \ + SRCROOT="${S}" \ + DSTROOT="${ED}" \ + PUBLIC_HEADERS_FOLDER_PATH="/usr/include" \ + PRIVATE_HEADERS_FOLDER_PATH="remove-me" \ + "${BASH}" "$@" + } + + run_xcode_ish ./xcodescripts/headers.sh || die + if use man ; then + run_xcode_ish ./xcodescripts/manpages.sh || die + fi + + pushd "${WORKDIR}"/Libinfo-${IPV} > /dev/null || die + run_xcode_ish ./xcodescripts/install_files.sh || die + popd > /dev/null || die + + insinto /usr/include + doins -r "${WORKDIR}"/libmalloc-${MPV}/include/malloc + doins -r "${WORKDIR}"/libpthread-${PPV}/pthread + doins -r "${WORKDIR}"/libplatform-${LPV}/include/* + doins -r "${WORKDIR}"/libunwind-${UPV}/include/* + doins -r "${WORKDIR}"/${PN}-${OSX}/include/* + doins "${WORKDIR}"/libclosure-${OPV}/Block.h + doins "${WORKDIR}"/dyld-${DPV}/include/dlfcn.h + + insinto /usr/include/sys + doins "${WORKDIR}"/libpthread-${PPV}/sys/qos.h + doins -r "${WORKDIR}"/libpthread-${PPV}/sys/_pthread + + insinto /usr/include/mach-o + doins "${WORKDIR}"/dyld-${DPV}/include/mach-o/dyld{,_images}.h + + insinto /usr/include/CommonCrypto + doins "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonCrypto.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonCryptoError.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonCryptor.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonDigest.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonHMAC.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonKeyDerivation.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonRandom.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonSymmetricKeywrap.h + + insinto /Frameworks + doins -r "${WORKDIR}"/${PN}-${OSX}/Frameworks/*.framework + + run_xcode_ish \ + "${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-symlinks.sh || die + + S="${WORKDIR}"/libpthread-${PPV} run_xcode_ish \ + "${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-manpages.sh || 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 +} diff --git a/sys-libs/darwin-libc-headers/darwin-libc-headers-1272.250.1-r1.ebuild b/sys-libs/darwin-libc-headers/darwin-libc-headers-1272.250.1-r1.ebuild deleted file mode 100644 index e6851d945419..000000000000 --- a/sys-libs/darwin-libc-headers/darwin-libc-headers-1272.250.1-r1.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -IPV=517.200.9 -CPV=60118.220.1 -MPV=166.220.1 -PPV=330.230.1 -LPV=177.200.16 -UPV=35.4 -OPV=73 -DPV=655.1 -OSX=10.14 -DESCRIPTION="Darwin system headers from Libc ${PV}, macOS ${OSX}.3" -HOMEPAGE="https://opensource.apple.com/source/Libc" -SRC_URI="https://opensource.apple.com/tarballs/Libc/Libc-${PV}.tar.gz - https://opensource.apple.com/tarballs/Libinfo/Libinfo-${IPV}.tar.gz - https://opensource.apple.com/tarballs/CommonCrypto/CommonCrypto-${CPV}.tar.gz - https://opensource.apple.com/tarballs/libmalloc/libmalloc-${MPV}.tar.gz - https://opensource.apple.com/tarballs/libpthread/libpthread-${PPV}.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/dyld/dyld-${DPV}.tar.gz - https://dev.gentoo.org/~grobian/distfiles/${PN}-${OSX}.tar.gz" - -LICENSE="APSL-2" -SLOT="${OSX}" -KEYWORDS="~x64-macos" -IUSE="+man" - -BDEPEND="sys-apps/darwin-miscutils" - -S=${WORKDIR}/Libc-${PV} - -src_prepare() { - default - - # convert BSD find to GNU find syntax - sed -i \ - -e 's/find -E ${SRCROOT}/find ${SRCROOT} -regextype posix-extended/' \ - xcodescripts/manpages.sh || die - - # drop ownership stuff and use soft-links - sed -i \ - -e 's/-o "$INSTALL_OWNER" -g "$INSTALL_GROUP"//' \ - -e 's/ln -hf/ln -sf/' \ - "${WORKDIR}"/Libinfo-${IPV}/xcodescripts/install_files.sh - - # add libmalloc manpage stuff to Libc to automate the installation - cp "${WORKDIR}"/libmalloc-${MPV}/man/*.3 man/ || die - cat "${WORKDIR}"/libmalloc-${MPV}/man/manpages.lst \ - >> man/manpages.lst || die - - # produce softlinks when installing libpthread manpages, don't do - # ownership or /usr/local stuff - sed -i \ - -e 's/ln -fh/ln -fs/' \ - -e '/chmod/d' -e '/chown/d' \ - -e '/\/usr\/local\/share/d' \ - "${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-manpages.sh || die -} - -src_compile() { - : ; # nothing to do -} - -src_install() { - run_xcode_ish() { - env ARCHS="x86_64 i386" \ - PLATFORM_NAME=macosx \ - VARIANT_PLATFORM_NAME=macosx \ - DERIVED_FILES_DIR="${T}" \ - SRCROOT="${S}" \ - DSTROOT="${ED}" \ - PUBLIC_HEADERS_FOLDER_PATH="/usr/include" \ - PRIVATE_HEADERS_FOLDER_PATH="remove-me" \ - "${BASH}" "$@" - } - - run_xcode_ish ./xcodescripts/headers.sh || die - if use man ; then - run_xcode_ish ./xcodescripts/manpages.sh || die - fi - - pushd "${WORKDIR}"/Libinfo-${IPV} > /dev/null || die - run_xcode_ish ./xcodescripts/install_files.sh || die - popd > /dev/null || die - - insinto /usr/include - doins -r "${WORKDIR}"/libmalloc-${MPV}/include/malloc - doins -r "${WORKDIR}"/libpthread-${PPV}/pthread - doins -r "${WORKDIR}"/libplatform-${LPV}/include/* - doins -r "${WORKDIR}"/libunwind-${UPV}/include/* - doins -r "${WORKDIR}"/${PN}-${OSX}/include/* - doins "${WORKDIR}"/libclosure-${OPV}/Block.h - doins "${WORKDIR}"/dyld-${DPV}/include/dlfcn.h - - insinto /usr/include/sys - doins "${WORKDIR}"/libpthread-${PPV}/sys/qos.h - doins -r "${WORKDIR}"/libpthread-${PPV}/sys/_pthread - - insinto /usr/include/mach-o - doins "${WORKDIR}"/dyld-${DPV}/include/mach-o/dyld{,_images}.h - - insinto /usr/include/CommonCrypto - doins "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonCrypto.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonCryptoError.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonCryptor.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonDigest.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonHMAC.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonKeyDerivation.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonRandom.h \ - "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonSymmetricKeywrap.h - - insinto /Frameworks - doins -r "${WORKDIR}"/${PN}-${OSX}/Frameworks/*.framework - - run_xcode_ish \ - "${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-symlinks.sh || die - - S="${WORKDIR}"/libpthread-${PPV} run_xcode_ish \ - "${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-manpages.sh || 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,utmpx}.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-r2.ebuild new file mode 100644 index 000000000000..0f07e5b38789 --- /dev/null +++ b/sys-libs/darwin-libc-headers/darwin-libc-headers-1272.250.1-r2.ebuild @@ -0,0 +1,131 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +IPV=517.200.9 +CPV=60118.220.1 +MPV=166.220.1 +PPV=330.230.1 +LPV=177.200.16 +UPV=35.4 +OPV=73 +DPV=655.1 +OSX=10.14 +DESCRIPTION="Darwin system headers from Libc ${PV}, macOS ${OSX}.3" +HOMEPAGE="https://opensource.apple.com/source/Libc" +SRC_URI="https://opensource.apple.com/tarballs/Libc/Libc-${PV}.tar.gz + https://opensource.apple.com/tarballs/Libinfo/Libinfo-${IPV}.tar.gz + https://opensource.apple.com/tarballs/CommonCrypto/CommonCrypto-${CPV}.tar.gz + https://opensource.apple.com/tarballs/libmalloc/libmalloc-${MPV}.tar.gz + https://opensource.apple.com/tarballs/libpthread/libpthread-${PPV}.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/dyld/dyld-${DPV}.tar.gz + https://dev.gentoo.org/~grobian/distfiles/${PN}-${OSX}.tar.gz" + +LICENSE="APSL-2" +SLOT="${OSX}" +KEYWORDS="~x64-macos" +IUSE="+man" + +BDEPEND="sys-apps/darwin-miscutils" + +S=${WORKDIR}/Libc-${PV} + +src_prepare() { + default + + # convert BSD find to GNU find syntax + sed -i \ + -e 's/find -E ${SRCROOT}/find ${SRCROOT} -regextype posix-extended/' \ + xcodescripts/manpages.sh || die + + # drop ownership stuff and use soft-links + sed -i \ + -e 's/-o "$INSTALL_OWNER" -g "$INSTALL_GROUP"//' \ + -e 's/ln -hf/ln -sf/' \ + "${WORKDIR}"/Libinfo-${IPV}/xcodescripts/install_files.sh + + # add libmalloc manpage stuff to Libc to automate the installation + cp "${WORKDIR}"/libmalloc-${MPV}/man/*.3 man/ || die + cat "${WORKDIR}"/libmalloc-${MPV}/man/manpages.lst \ + >> man/manpages.lst || die + + # produce softlinks when installing libpthread manpages, don't do + # ownership or /usr/local stuff + sed -i \ + -e 's/ln -fh/ln -fs/' \ + -e '/chmod/d' -e '/chown/d' \ + -e '/\/usr\/local\/share/d' \ + "${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-manpages.sh || die +} + +src_compile() { + : ; # nothing to do +} + +src_install() { + run_xcode_ish() { + env ARCHS="x86_64 i386" \ + PLATFORM_NAME=macosx \ + VARIANT_PLATFORM_NAME=macosx \ + DERIVED_FILES_DIR="${T}" \ + SRCROOT="${S}" \ + DSTROOT="${ED}" \ + PUBLIC_HEADERS_FOLDER_PATH="/usr/include" \ + PRIVATE_HEADERS_FOLDER_PATH="remove-me" \ + "${BASH}" "$@" + } + + run_xcode_ish ./xcodescripts/headers.sh || die + if use man ; then + run_xcode_ish ./xcodescripts/manpages.sh || die + fi + + pushd "${WORKDIR}"/Libinfo-${IPV} > /dev/null || die + run_xcode_ish ./xcodescripts/install_files.sh || die + popd > /dev/null || die + + insinto /usr/include + doins -r "${WORKDIR}"/libmalloc-${MPV}/include/malloc + doins -r "${WORKDIR}"/libpthread-${PPV}/pthread + doins -r "${WORKDIR}"/libplatform-${LPV}/include/* + doins -r "${WORKDIR}"/libunwind-${UPV}/include/* + doins -r "${WORKDIR}"/${PN}-${OSX}/include/* + doins "${WORKDIR}"/libclosure-${OPV}/Block.h + doins "${WORKDIR}"/dyld-${DPV}/include/dlfcn.h + + insinto /usr/include/sys + doins "${WORKDIR}"/libpthread-${PPV}/sys/qos.h + doins -r "${WORKDIR}"/libpthread-${PPV}/sys/_pthread + + insinto /usr/include/mach-o + doins "${WORKDIR}"/dyld-${DPV}/include/mach-o/dyld{,_images}.h + + insinto /usr/include/CommonCrypto + doins "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonCrypto.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonCryptoError.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonCryptor.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonDigest.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonHMAC.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonKeyDerivation.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonRandom.h \ + "${WORKDIR}"/CommonCrypto-${CPV}/include/CommonSymmetricKeywrap.h + + insinto /Frameworks + doins -r "${WORKDIR}"/${PN}-${OSX}/Frameworks/*.framework + + run_xcode_ish \ + "${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-symlinks.sh || die + + S="${WORKDIR}"/libpthread-${PPV} run_xcode_ish \ + "${WORKDIR}"/libpthread-${PPV}/xcodescripts/install-manpages.sh || 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 +} -- cgit v1.2.3-65-gdbad