* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/xnu-headers/
@ 2019-11-11 14:14 Fabian Groffen
0 siblings, 0 replies; 7+ messages in thread
From: Fabian Groffen @ 2019-11-11 14:14 UTC (permalink / raw
To: gentoo-commits
commit: 9f52b09f58d782f9c852fb1b10e977e181863524
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 11 14:08:35 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Nov 11 14:14:16 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f52b09f
sys-kernel/xnu-headers: initial version, ebuild by me
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
| 3 ++
| 18 +++++++++
| 45 ++++++++++++++++++++++
| 45 ++++++++++++++++++++++
| 45 ++++++++++++++++++++++
5 files changed, 156 insertions(+)
--git a/sys-kernel/xnu-headers/Manifest b/sys-kernel/xnu-headers/Manifest
new file mode 100644
index 00000000000..85c5e747399
--- /dev/null
+++ b/sys-kernel/xnu-headers/Manifest
@@ -0,0 +1,3 @@
+DIST xnu-3789.70.16.tar.gz 10381005 BLAKE2B 16355a687f634820d0c639261254dec05ae7485e3b5fb6e264d2fbc848765cd3730f1cd8294808f44dff1117039d8b2eddfa5ebac35cf0c9752ea6f0655ec64b SHA512 d0b34305f5ca62cc66647366371fe7e99b18ab2f5d7c9f45d46be601d7a6e63b5f1c4e26cb5333ff829553e2332a3f5f9b1da35223fadfa95024587352e93dca
+DIST xnu-4570.71.2.tar.gz 11596858 BLAKE2B 0ccc47911e31e73472fa15263177ef72601d256917ce94000c06b916d34f2e0238f8dec6bd064247fbaf7c6a55e9b5a31a91ecb311a3b00d401448ed4dba1e14 SHA512 b4e76d10ae1fba17ab0deff523938e825e53eda922b6518805059442d248447f928bca4a2237851dd18c31e4bfb5ae1b4889b3c2a6eea186ccb5a0552204548e
+DIST xnu-4903.241.1.tar.gz 11985285 BLAKE2B fbc95bc398618a012f3b0f11bfef039f2bb3b7c17f123ab08e7943e9ab4f79f219227d44d72551b915577398b32b3338ac9938b37377037f2b00037b5fc7c854 SHA512 1878c44bcfd4eea65c8f98ae95dda1febe1bd9d3aa4d71eca62a3c320d604957e69b4b46338dabd4000781cedd515ea463c86f6311a84654b0ef7a6498ecfe29
--git a/sys-kernel/xnu-headers/metadata.xml b/sys-kernel/xnu-headers/metadata.xml
new file mode 100644
index 00000000000..5af4fc21eaa
--- /dev/null
+++ b/sys-kernel/xnu-headers/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>grobian@gentoo.org</email>
+ <name>Fabian Groffen</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>prefix@gentoo.org</email>
+ <name>Gentoo Prefix</name>
+ </maintainer>
+ <use>
+ <flag name="man">Install the manpages</flag>
+ </use>
+ <longdescription lang="en">
+ /usr/include headers provided by XNU on macOS (Darwin) systems
+ </longdescription>
+</pkgmetadata>
--git a/sys-kernel/xnu-headers/xnu-headers-3789.70.16.ebuild b/sys-kernel/xnu-headers/xnu-headers-3789.70.16.ebuild
new file mode 100644
index 00000000000..f9ba384a3ea
--- /dev/null
+++ b/sys-kernel/xnu-headers/xnu-headers-3789.70.16.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="System headers provided by XNU-${PV}, macOS 10.12.6"
+HOMEPAGE="https://opensource.apple.com/source/xnu"
+SRC_URI="https://opensource.apple.com/tarballs/xnu/xnu-${PV}.tar.gz"
+
+LICENSE="APSL-2"
+SLOT="10.12"
+KEYWORDS="~x64-macos"
+IUSE="+man"
+
+S=${WORKDIR}/xnu-${PV}
+
+src_compile() {
+ : ; # nothing to compile
+}
+
+src_install() {
+ insinto /usr/include
+ doins EXTERNAL_HEADERS/AssertMacros.h EXTERNAL_HEADERS/Availability*.h
+
+ cd bsd || die
+
+ get_datafiles() {
+ local f="$1"/Makefile
+ sed -n -e '/^DATAFILES \?=/,/^$/p' "${f}" \
+ | sed -e '1s/^DATAFILES \?=//' -e '/\s*#/d' \
+ | sed -e 's/\\$//'
+ }
+
+ local d
+ local files
+ for d in i386 machine miscfs/{devfs,specfs,union} net \
+ netinet{,6} netkey nfs sys{,/_types} uuid vfs ; do
+ insinto /usr/include/${d}
+ files=( $(get_datafiles ${d}) )
+ einfo "${d}:" ${files[*]}
+ doins ${files[@]/#/$d/}
+ done
+
+ use man && doman man/man*/*.[234579]
+}
--git a/sys-kernel/xnu-headers/xnu-headers-4570.71.2.ebuild b/sys-kernel/xnu-headers/xnu-headers-4570.71.2.ebuild
new file mode 100644
index 00000000000..580717e9b33
--- /dev/null
+++ b/sys-kernel/xnu-headers/xnu-headers-4570.71.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="System headers provided by XNU-${PV}, macOS 10.13.6"
+HOMEPAGE="https://opensource.apple.com/source/xnu"
+SRC_URI="https://opensource.apple.com/tarballs/xnu/xnu-${PV}.tar.gz"
+
+LICENSE="APSL-2"
+SLOT="10.13"
+KEYWORDS="~x64-macos"
+IUSE="+man"
+
+S=${WORKDIR}/xnu-${PV}
+
+src_compile() {
+ : ; # nothing to compile
+}
+
+src_install() {
+ insinto /usr/include
+ doins EXTERNAL_HEADERS/AssertMacros.h EXTERNAL_HEADERS/Availability*.h
+
+ cd bsd || die
+
+ get_datafiles() {
+ local f="$1"/Makefile
+ sed -n -e '/^DATAFILES \?=/,/^$/p' "${f}" \
+ | sed -e '1s/^DATAFILES \?=//' -e '/\s*#/d' \
+ | sed -e 's/\\$//'
+ }
+
+ local d
+ local files
+ for d in arm i386 machine miscfs/{devfs,specfs,union} net \
+ netinet{,6} netkey nfs sys{,/_types} uuid vfs ; do
+ insinto /usr/include/${d}
+ files=( $(get_datafiles ${d}) )
+ einfo "${d}:" ${files[*]}
+ doins ${files[@]/#/$d/}
+ done
+
+ use man && doman man/man*/*.[234579]
+}
--git a/sys-kernel/xnu-headers/xnu-headers-4903.241.1.ebuild b/sys-kernel/xnu-headers/xnu-headers-4903.241.1.ebuild
new file mode 100644
index 00000000000..12902e0c255
--- /dev/null
+++ b/sys-kernel/xnu-headers/xnu-headers-4903.241.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="System headers provided by XNU-${PV}, macOS 10.14.3"
+HOMEPAGE="https://opensource.apple.com/source/xnu"
+SRC_URI="https://opensource.apple.com/tarballs/xnu/xnu-${PV}.tar.gz"
+
+LICENSE="APSL-2"
+SLOT="10.14"
+KEYWORDS="~x64-macos"
+IUSE="+man"
+
+S=${WORKDIR}/xnu-${PV}
+
+src_compile() {
+ : ; # nothing to compile
+}
+
+src_install() {
+ insinto /usr/include
+ doins EXTERNAL_HEADERS/AssertMacros.h EXTERNAL_HEADERS/Availability*.h
+
+ cd bsd || die
+
+ get_datafiles() {
+ local f="$1"/Makefile
+ sed -n -e '/^DATAFILES \?=/,/^$/p' "${f}" \
+ | sed -e '1s/^DATAFILES \?=//' -e '/\s*#/d' \
+ | sed -e 's/\\$//'
+ }
+
+ local d
+ local files
+ for d in arm i386 machine miscfs/{devfs,specfs,union} net \
+ netinet{,6} netkey nfs sys{,/_types} uuid vfs ; do
+ insinto /usr/include/${d}
+ files=( $(get_datafiles ${d}) )
+ einfo "${d}:" ${files[*]}
+ doins ${files[@]/#/$d/}
+ done
+
+ use man && doman man/man*/*.[234579]
+}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/xnu-headers/
@ 2019-11-12 9:58 Fabian Groffen
0 siblings, 0 replies; 7+ messages in thread
From: Fabian Groffen @ 2019-11-12 9:58 UTC (permalink / raw
To: gentoo-commits
commit: 19132f1a17acdaea6f5d17a626ee8b038229a6d2
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 12 09:58:37 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Nov 12 09:58:50 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19132f1a
sys-kernel/xnu-headers: generate and install missing sys/ headers
generate and install
- sys/syscall.h
- sys/_posix_availability.h
- sys/_symbol_aliasing.h
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
| 3 +++
| 25 ++++++++++++++++++++--
| 25 ++++++++++++++++++++--
| 25 ++++++++++++++++++++--
4 files changed, 72 insertions(+), 6 deletions(-)
--git a/sys-kernel/xnu-headers/Manifest b/sys-kernel/xnu-headers/Manifest
index 85c5e747399..3c4c8674a56 100644
--- a/sys-kernel/xnu-headers/Manifest
+++ b/sys-kernel/xnu-headers/Manifest
@@ -1,3 +1,6 @@
+DIST AvailabilityVersions-26.50.4.tar.gz 888 BLAKE2B da3b41975c0259e23276bc8b3782fd8a97560d99d7c8c4e70bf31e619519ca2f684818f998449cef481f01966292bb9656e3899786645cbb506de96552b231bb SHA512 6b617b83108f03c1b7e571d4ed0b28151d6534e522fd412924a17d5273602334b9a720c126e03468bb23a052d6701e5158d462fc0de249c1615c76ff67f5b21f
+DIST AvailabilityVersions-32.60.1.tar.gz 947 BLAKE2B 5a0dd8947f5a20f4f3634535221f73eeed868d2a438530358d7da4618e48b24eaad6a75e87600af7a05bcf41e33cf18c36994af8cdf0e7d1412629affad15788 SHA512 6ba592b1621ef3766f8a230da944ad78775003d1ae64ffe0123862f22055eaa7a34ccc70945fe221170b2e9ab3147ddf968b45c063da01a1e34bbc539fcc4a3c
+DIST AvailabilityVersions-33.200.4.tar.gz 1321 BLAKE2B 3999fc45187e8ad98ee51ed0bfab4534d97d3f980bf0271e6f4185286eb6689ad237fbb589dca57cd37f5f6e5aeab4313f28065586aae12a22c6500e69e8e869 SHA512 7d2f94e676c6f05d5ddbcfcf52829387a453e99408ffaaae5b2eb001f23e53fc5ca3bb313e3ff011b08f40f990d606fcfcc94a4801fd862895def2889b0b7817
DIST xnu-3789.70.16.tar.gz 10381005 BLAKE2B 16355a687f634820d0c639261254dec05ae7485e3b5fb6e264d2fbc848765cd3730f1cd8294808f44dff1117039d8b2eddfa5ebac35cf0c9752ea6f0655ec64b SHA512 d0b34305f5ca62cc66647366371fe7e99b18ab2f5d7c9f45d46be601d7a6e63b5f1c4e26cb5333ff829553e2332a3f5f9b1da35223fadfa95024587352e93dca
DIST xnu-4570.71.2.tar.gz 11596858 BLAKE2B 0ccc47911e31e73472fa15263177ef72601d256917ce94000c06b916d34f2e0238f8dec6bd064247fbaf7c6a55e9b5a31a91ecb311a3b00d401448ed4dba1e14 SHA512 b4e76d10ae1fba17ab0deff523938e825e53eda922b6518805059442d248447f928bca4a2237851dd18c31e4bfb5ae1b4889b3c2a6eea186ccb5a0552204548e
DIST xnu-4903.241.1.tar.gz 11985285 BLAKE2B fbc95bc398618a012f3b0f11bfef039f2bb3b7c17f123ab08e7943e9ab4f79f219227d44d72551b915577398b32b3338ac9938b37377037f2b00037b5fc7c854 SHA512 1878c44bcfd4eea65c8f98ae95dda1febe1bd9d3aa4d71eca62a3c320d604957e69b4b46338dabd4000781cedd515ea463c86f6311a84654b0ef7a6498ecfe29
diff --git a/sys-kernel/xnu-headers/xnu-headers-3789.70.16.ebuild b/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r1.ebuild
similarity index 56%
rename from sys-kernel/xnu-headers/xnu-headers-3789.70.16.ebuild
rename to sys-kernel/xnu-headers/xnu-headers-3789.70.16-r1.ebuild
index f9ba384a3ea..6368a081634 100644
--- a/sys-kernel/xnu-headers/xnu-headers-3789.70.16.ebuild
+++ b/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r1.ebuild
@@ -3,9 +3,11 @@
EAPI=7
+AVM="AvailabilityVersions-26.50.4"
DESCRIPTION="System headers provided by XNU-${PV}, macOS 10.12.6"
HOMEPAGE="https://opensource.apple.com/source/xnu"
-SRC_URI="https://opensource.apple.com/tarballs/xnu/xnu-${PV}.tar.gz"
+SRC_URI="https://opensource.apple.com/tarballs/xnu/xnu-${PV}.tar.gz
+ https://opensource.apple.com/tarballs/${AVM%-*}/${AVM}.tar.gz"
LICENSE="APSL-2"
SLOT="10.12"
@@ -14,14 +16,33 @@ IUSE="+man"
S=${WORKDIR}/xnu-${PV}
+src_prepare() {
+ default
+
+ # we don't install availability.pl, but generation needs it
+ local avpl="${WORKDIR}/${AVM}/availability.pl"
+ sed -i -e 's:${SDKROOT}/usr/local/libexec/availability.pl:'"${avpl}"':' \
+ bsd/sys/make_symbol_aliasing.sh || die
+}
+
src_compile() {
- : ; # nothing to compile
+ # crappy scripts that just about do the job
+ ./bsd/kern/makesyscalls.sh \
+ bsd/kern/syscalls.master header >& /dev/null || die
+ ./bsd/sys/make_posix_availability.sh \
+ _posix_availability.h >& /dev/null || die
+ ./bsd/sys/make_symbol_aliasing.sh \
+ dummy _symbol_aliasing.h >& /dev/null || die
}
src_install() {
insinto /usr/include
doins EXTERNAL_HEADERS/AssertMacros.h EXTERNAL_HEADERS/Availability*.h
+ # generated during src_compile
+ insinto /usr/include/sys
+ doins syscall.h _posix_availability.h _symbol_aliasing.h
+
cd bsd || die
get_datafiles() {
diff --git a/sys-kernel/xnu-headers/xnu-headers-4570.71.2.ebuild b/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r1.ebuild
similarity index 56%
rename from sys-kernel/xnu-headers/xnu-headers-4570.71.2.ebuild
rename to sys-kernel/xnu-headers/xnu-headers-4570.71.2-r1.ebuild
index 580717e9b33..406e29dca62 100644
--- a/sys-kernel/xnu-headers/xnu-headers-4570.71.2.ebuild
+++ b/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r1.ebuild
@@ -3,9 +3,11 @@
EAPI=7
+AVM="AvailabilityVersions-32.60.1"
DESCRIPTION="System headers provided by XNU-${PV}, macOS 10.13.6"
HOMEPAGE="https://opensource.apple.com/source/xnu"
-SRC_URI="https://opensource.apple.com/tarballs/xnu/xnu-${PV}.tar.gz"
+SRC_URI="https://opensource.apple.com/tarballs/xnu/xnu-${PV}.tar.gz
+ https://opensource.apple.com/tarballs/${AVM%-*}/${AVM}.tar.gz"
LICENSE="APSL-2"
SLOT="10.13"
@@ -14,14 +16,33 @@ IUSE="+man"
S=${WORKDIR}/xnu-${PV}
+src_prepare() {
+ default
+
+ # we don't install availability.pl, but generation needs it
+ local avpl="${WORKDIR}/${AVM}/availability.pl"
+ sed -i -e 's:${SDKROOT}/usr/local/libexec/availability.pl:'"${avpl}"':' \
+ bsd/sys/make_symbol_aliasing.sh || die
+}
+
src_compile() {
- : ; # nothing to compile
+ # crappy scripts that just about do the job
+ ./bsd/kern/makesyscalls.sh \
+ bsd/kern/syscalls.master header >& /dev/null || die
+ ./bsd/sys/make_posix_availability.sh \
+ _posix_availability.h >& /dev/null || die
+ ./bsd/sys/make_symbol_aliasing.sh \
+ dummy _symbol_aliasing.h >& /dev/null || die
}
src_install() {
insinto /usr/include
doins EXTERNAL_HEADERS/AssertMacros.h EXTERNAL_HEADERS/Availability*.h
+ # generated during src_compile
+ insinto /usr/include/sys
+ doins syscall.h _posix_availability.h _symbol_aliasing.h
+
cd bsd || die
get_datafiles() {
diff --git a/sys-kernel/xnu-headers/xnu-headers-4903.241.1.ebuild b/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r1.ebuild
similarity index 56%
rename from sys-kernel/xnu-headers/xnu-headers-4903.241.1.ebuild
rename to sys-kernel/xnu-headers/xnu-headers-4903.241.1-r1.ebuild
index 12902e0c255..cfe5c3e1d6c 100644
--- a/sys-kernel/xnu-headers/xnu-headers-4903.241.1.ebuild
+++ b/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r1.ebuild
@@ -3,9 +3,11 @@
EAPI=7
+AVM="AvailabilityVersions-33.200.4"
DESCRIPTION="System headers provided by XNU-${PV}, macOS 10.14.3"
HOMEPAGE="https://opensource.apple.com/source/xnu"
-SRC_URI="https://opensource.apple.com/tarballs/xnu/xnu-${PV}.tar.gz"
+SRC_URI="https://opensource.apple.com/tarballs/xnu/xnu-${PV}.tar.gz
+ https://opensource.apple.com/tarballs/${AVM%-*}/${AVM}.tar.gz"
LICENSE="APSL-2"
SLOT="10.14"
@@ -14,14 +16,33 @@ IUSE="+man"
S=${WORKDIR}/xnu-${PV}
+src_prepare() {
+ default
+
+ # we don't install availability.pl, but generation needs it
+ local avpl="${WORKDIR}/${AVM}/availability.pl"
+ sed -i -e 's:${SDKROOT}/usr/local/libexec/availability.pl:'"${avpl}"':' \
+ bsd/sys/make_symbol_aliasing.sh || die
+}
+
src_compile() {
- : ; # nothing to compile
+ # crappy scripts that just about do the job
+ ./bsd/kern/makesyscalls.sh \
+ bsd/kern/syscalls.master header >& /dev/null || die
+ ./bsd/sys/make_posix_availability.sh \
+ _posix_availability.h >& /dev/null || die
+ ./bsd/sys/make_symbol_aliasing.sh \
+ dummy _symbol_aliasing.h >& /dev/null || die
}
src_install() {
insinto /usr/include
doins EXTERNAL_HEADERS/AssertMacros.h EXTERNAL_HEADERS/Availability*.h
+ # generated during src_compile
+ insinto /usr/include/sys
+ doins syscall.h _posix_availability.h _symbol_aliasing.h
+
cd bsd || die
get_datafiles() {
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/xnu-headers/
@ 2019-11-14 8:53 Fabian Groffen
0 siblings, 0 replies; 7+ messages in thread
From: Fabian Groffen @ 2019-11-14 8:53 UTC (permalink / raw
To: gentoo-commits
commit: 76d6a39a737b18a6664a5f83898de0414de892d4
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 13 10:26:13 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Nov 14 08:52:56 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76d6a39a
sys-kernel/xnu-headers: include some more system headers
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
| 58 +++++++++++++++++++---
| 58 +++++++++++++++++++---
| 58 +++++++++++++++++++---
3 files changed, 153 insertions(+), 21 deletions(-)
diff --git a/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r1.ebuild b/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r2.ebuild
similarity index 54%
rename from sys-kernel/xnu-headers/xnu-headers-3789.70.16-r1.ebuild
rename to sys-kernel/xnu-headers/xnu-headers-3789.70.16-r2.ebuild
index 6368a081634..64fd0c53ce0 100644
--- a/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r1.ebuild
+++ b/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r2.ebuild
@@ -38,24 +38,37 @@ src_compile() {
src_install() {
insinto /usr/include
doins EXTERNAL_HEADERS/AssertMacros.h EXTERNAL_HEADERS/Availability*.h
+ doins libsyscall/wrappers/gethostuuid.h
+ doins -r libsyscall/mach/mach
# generated during src_compile
insinto /usr/include/sys
doins syscall.h _posix_availability.h _symbol_aliasing.h
- cd bsd || die
+ pushd bsd > /dev/null || die
+
+ get_files_list() {
+ local s="$1"
+ local f="$2"/Makefile
+ sed -n -e '/^'"${s}"' \?=/,/^$/p' "${f}" \
+ | sed -e '1s/^'"${s}"' \?=//' -e '/\s*#/d' \
+ | sed -e 's/\\$//' -e '/^[A-Z]\+ \?=/,/^$/d'
+ }
get_datafiles() {
- local f="$1"/Makefile
- sed -n -e '/^DATAFILES \?=/,/^$/p' "${f}" \
- | sed -e '1s/^DATAFILES \?=//' -e '/\s*#/d' \
- | sed -e 's/\\$//'
+ local entry
+ get_files_list DATAFILES "$@" | while read entry ; do
+ [[ ${entry} == '${'?*'}' ]] \
+ && get_files_list ${entry:2:-1} "$@" \
+ || echo "${entry}"
+ done
}
local d
local files
- for d in i386 machine miscfs/{devfs,specfs,union} net \
- netinet{,6} netkey nfs sys{,/_types} uuid vfs ; do
+ for d in bsm i386 machine miscfs/{devfs,specfs,union} net \
+ netinet{,6} netkey nfs sys{,/_types} uuid vfs ;
+ do
insinto /usr/include/${d}
files=( $(get_datafiles ${d}) )
einfo "${d}:" ${files[*]}
@@ -63,4 +76,35 @@ src_install() {
done
use man && doman man/man*/*.[234579]
+
+ popd > /dev/null || die
+
+ pushd osfmk > /dev/null || die
+
+ for d in mach{,/i386,/machine} ; do
+ insinto /usr/include/${d}
+ files=( $(get_datafiles ${d}) )
+ einfo "${d}:" ${files[*]}
+ doins ${files[@]/#/$d/}
+ done
+
+ for d in i386 ; do
+ insinto /usr/include/${d}
+ files=( $(get_files_list INSTALL_MD_LIST ${d}) )
+ einfo "${d}:" ${files[*]}
+ doins ${files[@]/#/$d/}
+ done
+
+ popd > /dev/null || die
+
+ pushd libkern > /dev/null || die
+
+ for d in libkern{,/i386,/machine,/c++,/crypto} ; do
+ insinto /usr/include/${d}
+ files=( $(get_datafiles ${d}) )
+ einfo "${d}:" ${files[*]}
+ doins ${files[@]/#/$d/}
+ done
+
+ popd > /dev/null || die
}
diff --git a/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r1.ebuild b/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r2.ebuild
similarity index 54%
rename from sys-kernel/xnu-headers/xnu-headers-4570.71.2-r1.ebuild
rename to sys-kernel/xnu-headers/xnu-headers-4570.71.2-r2.ebuild
index 406e29dca62..706a54fbe08 100644
--- a/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r1.ebuild
+++ b/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r2.ebuild
@@ -38,24 +38,37 @@ src_compile() {
src_install() {
insinto /usr/include
doins EXTERNAL_HEADERS/AssertMacros.h EXTERNAL_HEADERS/Availability*.h
+ doins libsyscall/wrappers/gethostuuid.h
+ doins -r libsyscall/mach/mach
# generated during src_compile
insinto /usr/include/sys
doins syscall.h _posix_availability.h _symbol_aliasing.h
- cd bsd || die
+ pushd bsd > /dev/null || die
+
+ get_files_list() {
+ local s="$1"
+ local f="$2"/Makefile
+ sed -n -e '/^'"${s}"' \?=/,/^$/p' "${f}" \
+ | sed -e '1s/^'"${s}"' \?=//' -e '/\s*#/d' \
+ | sed -e 's/\\$//' -e '/^[A-Z]\+ \?=/,/^$/d'
+ }
get_datafiles() {
- local f="$1"/Makefile
- sed -n -e '/^DATAFILES \?=/,/^$/p' "${f}" \
- | sed -e '1s/^DATAFILES \?=//' -e '/\s*#/d' \
- | sed -e 's/\\$//'
+ local entry
+ get_files_list DATAFILES "$@" | while read entry ; do
+ [[ ${entry} == '${'?*'}' ]] \
+ && get_files_list ${entry:2:-1} "$@" \
+ || echo "${entry}"
+ done
}
local d
local files
- for d in arm i386 machine miscfs/{devfs,specfs,union} net \
- netinet{,6} netkey nfs sys{,/_types} uuid vfs ; do
+ for d in arm bsm i386 machine miscfs/{devfs,specfs,union} net \
+ netinet{,6} netkey nfs sys{,/_types} uuid vfs ;
+ do
insinto /usr/include/${d}
files=( $(get_datafiles ${d}) )
einfo "${d}:" ${files[*]}
@@ -63,4 +76,35 @@ src_install() {
done
use man && doman man/man*/*.[234579]
+
+ popd > /dev/null || die
+
+ pushd osfmk > /dev/null || die
+
+ for d in mach{,/arm,/i386,/machine} ; do
+ insinto /usr/include/${d}
+ files=( $(get_datafiles ${d}) )
+ einfo "${d}:" ${files[*]}
+ doins ${files[@]/#/$d/}
+ done
+
+ for d in i386 ; do
+ insinto /usr/include/${d}
+ files=( $(get_files_list INSTALL_MD_LIST ${d}) )
+ einfo "${d}:" ${files[*]}
+ doins ${files[@]/#/$d/}
+ done
+
+ popd > /dev/null || die
+
+ pushd libkern > /dev/null || die
+
+ for d in libkern{,/arm,/i386,/machine,/c++,/crypto} ; do
+ insinto /usr/include/${d}
+ files=( $(get_datafiles ${d}) )
+ einfo "${d}:" ${files[*]}
+ doins ${files[@]/#/$d/}
+ done
+
+ popd > /dev/null || die
}
diff --git a/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r1.ebuild b/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r2.ebuild
similarity index 54%
rename from sys-kernel/xnu-headers/xnu-headers-4903.241.1-r1.ebuild
rename to sys-kernel/xnu-headers/xnu-headers-4903.241.1-r2.ebuild
index cfe5c3e1d6c..208bdea9b24 100644
--- a/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r1.ebuild
+++ b/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r2.ebuild
@@ -38,24 +38,37 @@ src_compile() {
src_install() {
insinto /usr/include
doins EXTERNAL_HEADERS/AssertMacros.h EXTERNAL_HEADERS/Availability*.h
+ doins libsyscall/wrappers/gethostuuid.h
+ doins -r libsyscall/mach/mach
# generated during src_compile
insinto /usr/include/sys
doins syscall.h _posix_availability.h _symbol_aliasing.h
- cd bsd || die
+ pushd bsd > /dev/null || die
+
+ get_files_list() {
+ local s="$1"
+ local f="$2"/Makefile
+ sed -n -e '/^'"${s}"' \?=/,/^$/p' "${f}" \
+ | sed -e '1s/^'"${s}"' \?=//' -e '/\s*#/d' \
+ | sed -e 's/\\$//' -e '/^[A-Z]\+ \?=/,/^$/d'
+ }
get_datafiles() {
- local f="$1"/Makefile
- sed -n -e '/^DATAFILES \?=/,/^$/p' "${f}" \
- | sed -e '1s/^DATAFILES \?=//' -e '/\s*#/d' \
- | sed -e 's/\\$//'
+ local entry
+ get_files_list DATAFILES "$@" | while read entry ; do
+ [[ ${entry} == '${'?*'}' ]] \
+ && get_files_list ${entry:2:-1} "$@" \
+ || echo "${entry}"
+ done
}
local d
local files
- for d in arm i386 machine miscfs/{devfs,specfs,union} net \
- netinet{,6} netkey nfs sys{,/_types} uuid vfs ; do
+ for d in arm bsm i386 machine miscfs/{devfs,specfs,union} net \
+ netinet{,6} netkey nfs sys{,/_types} uuid vfs ;
+ do
insinto /usr/include/${d}
files=( $(get_datafiles ${d}) )
einfo "${d}:" ${files[*]}
@@ -63,4 +76,35 @@ src_install() {
done
use man && doman man/man*/*.[234579]
+
+ popd > /dev/null || die
+
+ pushd osfmk > /dev/null || die
+
+ for d in mach{,/arm,/i386,/machine} ; do
+ insinto /usr/include/${d}
+ files=( $(get_datafiles ${d}) )
+ einfo "${d}:" ${files[*]}
+ doins ${files[@]/#/$d/}
+ done
+
+ for d in i386 ; do
+ insinto /usr/include/${d}
+ files=( $(get_files_list INSTALL_MD_LIST ${d}) )
+ einfo "${d}:" ${files[*]}
+ doins ${files[@]/#/$d/}
+ done
+
+ popd > /dev/null || die
+
+ pushd libkern > /dev/null || die
+
+ for d in libkern{,/arm,/i386,/machine,/c++,/crypto} ; do
+ insinto /usr/include/${d}
+ files=( $(get_datafiles ${d}) )
+ einfo "${d}:" ${files[*]}
+ doins ${files[@]/#/$d/}
+ done
+
+ popd > /dev/null || die
}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/xnu-headers/
@ 2019-12-01 11:11 Fabian Groffen
0 siblings, 0 replies; 7+ messages in thread
From: Fabian Groffen @ 2019-12-01 11:11 UTC (permalink / raw
To: gentoo-commits
commit: 35d1a7a95fff7af3f043818def3bd5438b7418fd
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 1 11:10:59 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Dec 1 11:10:59 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35d1a7a9
sys-kernel/xnu-headers: install libproc.h
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
| 1 +
| 1 +
| 1 +
3 files changed, 3 insertions(+)
diff --git a/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r2.ebuild b/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r3.ebuild
similarity index 98%
rename from sys-kernel/xnu-headers/xnu-headers-3789.70.16-r2.ebuild
rename to sys-kernel/xnu-headers/xnu-headers-3789.70.16-r3.ebuild
index 64fd0c53ce0..d56bcebc2c7 100644
--- a/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r2.ebuild
+++ b/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r3.ebuild
@@ -39,6 +39,7 @@ src_install() {
insinto /usr/include
doins EXTERNAL_HEADERS/AssertMacros.h EXTERNAL_HEADERS/Availability*.h
doins libsyscall/wrappers/gethostuuid.h
+ doins libsyscall/wrappers/libproc/libproc.h
doins -r libsyscall/mach/mach
# generated during src_compile
diff --git a/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r2.ebuild b/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r3.ebuild
similarity index 98%
rename from sys-kernel/xnu-headers/xnu-headers-4570.71.2-r2.ebuild
rename to sys-kernel/xnu-headers/xnu-headers-4570.71.2-r3.ebuild
index 706a54fbe08..e608b812e1d 100644
--- a/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r2.ebuild
+++ b/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r3.ebuild
@@ -39,6 +39,7 @@ src_install() {
insinto /usr/include
doins EXTERNAL_HEADERS/AssertMacros.h EXTERNAL_HEADERS/Availability*.h
doins libsyscall/wrappers/gethostuuid.h
+ doins libsyscall/wrappers/libproc/libproc.h
doins -r libsyscall/mach/mach
# generated during src_compile
diff --git a/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r2.ebuild b/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r3.ebuild
similarity index 98%
rename from sys-kernel/xnu-headers/xnu-headers-4903.241.1-r2.ebuild
rename to sys-kernel/xnu-headers/xnu-headers-4903.241.1-r3.ebuild
index 208bdea9b24..3db3124be62 100644
--- a/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r2.ebuild
+++ b/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r3.ebuild
@@ -39,6 +39,7 @@ src_install() {
insinto /usr/include
doins EXTERNAL_HEADERS/AssertMacros.h EXTERNAL_HEADERS/Availability*.h
doins libsyscall/wrappers/gethostuuid.h
+ doins libsyscall/wrappers/libproc/libproc.h
doins -r libsyscall/mach/mach
# generated during src_compile
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/xnu-headers/
@ 2019-12-22 14:50 Fabian Groffen
0 siblings, 0 replies; 7+ messages in thread
From: Fabian Groffen @ 2019-12-22 14:50 UTC (permalink / raw
To: gentoo-commits
commit: a782e435c3f74b8e7062d45837e29f59005a9fb2
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 22 14:46:56 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 14:50:41 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a782e435
sys-kernel/xnu-headers: install mach_debug, get Avaiability* from Libc
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
| 3 +--
| 3 +--
| 3 +--
3 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r3.ebuild b/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r4.ebuild
similarity index 96%
rename from sys-kernel/xnu-headers/xnu-headers-3789.70.16-r3.ebuild
rename to sys-kernel/xnu-headers/xnu-headers-3789.70.16-r4.ebuild
index d56bcebc2c7..89a1fbbe37c 100644
--- a/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r3.ebuild
+++ b/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r4.ebuild
@@ -37,7 +37,6 @@ src_compile() {
src_install() {
insinto /usr/include
- doins EXTERNAL_HEADERS/AssertMacros.h EXTERNAL_HEADERS/Availability*.h
doins libsyscall/wrappers/gethostuuid.h
doins libsyscall/wrappers/libproc/libproc.h
doins -r libsyscall/mach/mach
@@ -82,7 +81,7 @@ src_install() {
pushd osfmk > /dev/null || die
- for d in mach{,/i386,/machine} ; do
+ for d in mach{,/i386,/machine} mach_debug ; do
insinto /usr/include/${d}
files=( $(get_datafiles ${d}) )
einfo "${d}:" ${files[*]}
diff --git a/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r3.ebuild b/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r4.ebuild
similarity index 95%
rename from sys-kernel/xnu-headers/xnu-headers-4570.71.2-r3.ebuild
rename to sys-kernel/xnu-headers/xnu-headers-4570.71.2-r4.ebuild
index e608b812e1d..92ff463dd33 100644
--- a/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r3.ebuild
+++ b/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r4.ebuild
@@ -37,7 +37,6 @@ src_compile() {
src_install() {
insinto /usr/include
- doins EXTERNAL_HEADERS/AssertMacros.h EXTERNAL_HEADERS/Availability*.h
doins libsyscall/wrappers/gethostuuid.h
doins libsyscall/wrappers/libproc/libproc.h
doins -r libsyscall/mach/mach
@@ -82,7 +81,7 @@ src_install() {
pushd osfmk > /dev/null || die
- for d in mach{,/arm,/i386,/machine} ; do
+ for d in mach{,/arm,/i386,/machine} mach_debug ; do
insinto /usr/include/${d}
files=( $(get_datafiles ${d}) )
einfo "${d}:" ${files[*]}
diff --git a/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r3.ebuild b/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r4.ebuild
similarity index 95%
rename from sys-kernel/xnu-headers/xnu-headers-4903.241.1-r3.ebuild
rename to sys-kernel/xnu-headers/xnu-headers-4903.241.1-r4.ebuild
index 3db3124be62..036db4cec44 100644
--- a/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r3.ebuild
+++ b/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r4.ebuild
@@ -37,7 +37,6 @@ src_compile() {
src_install() {
insinto /usr/include
- doins EXTERNAL_HEADERS/AssertMacros.h EXTERNAL_HEADERS/Availability*.h
doins libsyscall/wrappers/gethostuuid.h
doins libsyscall/wrappers/libproc/libproc.h
doins -r libsyscall/mach/mach
@@ -82,7 +81,7 @@ src_install() {
pushd osfmk > /dev/null || die
- for d in mach{,/arm,/i386,/machine} ; do
+ for d in mach{,/arm,/i386,/machine} mach_debug ; do
insinto /usr/include/${d}
files=( $(get_datafiles ${d}) )
einfo "${d}:" ${files[*]}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/xnu-headers/
@ 2019-12-25 14:33 Fabian Groffen
0 siblings, 0 replies; 7+ messages in thread
From: Fabian Groffen @ 2019-12-25 14:33 UTC (permalink / raw
To: gentoo-commits
commit: 0c5e69c7e4fb0bc83fdd64dd3b783f48606ee85e
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 25 11:01:33 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Dec 25 14:32:17 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c5e69c7
sys-kernel/xnu-headers: install device headers
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
| 11 ++++++-----
| 11 ++++++-----
| 11 ++++++-----
3 files changed, 18 insertions(+), 15 deletions(-)
diff --git a/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r4.ebuild b/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r5.ebuild
similarity index 93%
rename from sys-kernel/xnu-headers/xnu-headers-3789.70.16-r4.ebuild
rename to sys-kernel/xnu-headers/xnu-headers-3789.70.16-r5.ebuild
index 89a1fbbe37c..39dfc055c35 100644
--- a/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r4.ebuild
+++ b/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r5.ebuild
@@ -45,8 +45,6 @@ src_install() {
insinto /usr/include/sys
doins syscall.h _posix_availability.h _symbol_aliasing.h
- pushd bsd > /dev/null || die
-
get_files_list() {
local s="$1"
local f="$2"/Makefile
@@ -66,8 +64,11 @@ src_install() {
local d
local files
- for d in bsm i386 machine miscfs/{devfs,specfs,union} net \
- netinet{,6} netkey nfs sys{,/_types} uuid vfs ;
+
+ pushd bsd > /dev/null || die
+
+ for d in bsm i386 machine miscfs/{devfs,specfs,union} \
+ net netinet{,6} netkey nfs sys{,/_types} uuid vfs ;
do
insinto /usr/include/${d}
files=( $(get_datafiles ${d}) )
@@ -81,7 +82,7 @@ src_install() {
pushd osfmk > /dev/null || die
- for d in mach{,/i386,/machine} mach_debug ; do
+ for d in device mach{,/i386,/machine} mach_debug ; do
insinto /usr/include/${d}
files=( $(get_datafiles ${d}) )
einfo "${d}:" ${files[*]}
diff --git a/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r4.ebuild b/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r5.ebuild
similarity index 93%
rename from sys-kernel/xnu-headers/xnu-headers-4570.71.2-r4.ebuild
rename to sys-kernel/xnu-headers/xnu-headers-4570.71.2-r5.ebuild
index 92ff463dd33..e81f8ade9c2 100644
--- a/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r4.ebuild
+++ b/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r5.ebuild
@@ -45,8 +45,6 @@ src_install() {
insinto /usr/include/sys
doins syscall.h _posix_availability.h _symbol_aliasing.h
- pushd bsd > /dev/null || die
-
get_files_list() {
local s="$1"
local f="$2"/Makefile
@@ -66,8 +64,11 @@ src_install() {
local d
local files
- for d in arm bsm i386 machine miscfs/{devfs,specfs,union} net \
- netinet{,6} netkey nfs sys{,/_types} uuid vfs ;
+
+ pushd bsd > /dev/null || die
+
+ for d in arm bsm i386 machine miscfs/{devfs,specfs,union} \
+ net netinet{,6} netkey nfs sys{,/_types} uuid vfs ;
do
insinto /usr/include/${d}
files=( $(get_datafiles ${d}) )
@@ -81,7 +82,7 @@ src_install() {
pushd osfmk > /dev/null || die
- for d in mach{,/arm,/i386,/machine} mach_debug ; do
+ for d in device mach{,/arm,/i386,/machine} mach_debug ; do
insinto /usr/include/${d}
files=( $(get_datafiles ${d}) )
einfo "${d}:" ${files[*]}
diff --git a/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r4.ebuild b/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r5.ebuild
similarity index 93%
rename from sys-kernel/xnu-headers/xnu-headers-4903.241.1-r4.ebuild
rename to sys-kernel/xnu-headers/xnu-headers-4903.241.1-r5.ebuild
index 036db4cec44..d6cb4db0860 100644
--- a/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r4.ebuild
+++ b/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r5.ebuild
@@ -45,8 +45,6 @@ src_install() {
insinto /usr/include/sys
doins syscall.h _posix_availability.h _symbol_aliasing.h
- pushd bsd > /dev/null || die
-
get_files_list() {
local s="$1"
local f="$2"/Makefile
@@ -66,8 +64,11 @@ src_install() {
local d
local files
- for d in arm bsm i386 machine miscfs/{devfs,specfs,union} net \
- netinet{,6} netkey nfs sys{,/_types} uuid vfs ;
+
+ pushd bsd > /dev/null || die
+
+ for d in arm bsm i386 machine miscfs/{devfs,specfs,union} \
+ net netinet{,6} netkey nfs sys{,/_types} uuid vfs ;
do
insinto /usr/include/${d}
files=( $(get_datafiles ${d}) )
@@ -81,7 +82,7 @@ src_install() {
pushd osfmk > /dev/null || die
- for d in mach{,/arm,/i386,/machine} mach_debug ; do
+ for d in device mach{,/arm,/i386,/machine} mach_debug ; do
insinto /usr/include/${d}
files=( $(get_datafiles ${d}) )
einfo "${d}:" ${files[*]}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-kernel/xnu-headers/
@ 2020-12-23 8:35 Fabian Groffen
0 siblings, 0 replies; 7+ messages in thread
From: Fabian Groffen @ 2020-12-23 8:35 UTC (permalink / raw
To: gentoo-commits
commit: 0330a42df1b111829494bac3ce47693dd9310d92
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 23 08:33:39 2020 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Dec 23 08:35:03 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0330a42d
sys-kernel/xnu-headers: remove last-rited package
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
| 6 --
| 15 ---
| 111 ---------------------
| 111 ---------------------
| 111 ---------------------
5 files changed, 354 deletions(-)
diff --git a/sys-kernel/xnu-headers/Manifest b/sys-kernel/xnu-headers/Manifest
deleted file mode 100644
index 3c4c8674a56..00000000000
--- a/sys-kernel/xnu-headers/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-DIST AvailabilityVersions-26.50.4.tar.gz 888 BLAKE2B da3b41975c0259e23276bc8b3782fd8a97560d99d7c8c4e70bf31e619519ca2f684818f998449cef481f01966292bb9656e3899786645cbb506de96552b231bb SHA512 6b617b83108f03c1b7e571d4ed0b28151d6534e522fd412924a17d5273602334b9a720c126e03468bb23a052d6701e5158d462fc0de249c1615c76ff67f5b21f
-DIST AvailabilityVersions-32.60.1.tar.gz 947 BLAKE2B 5a0dd8947f5a20f4f3634535221f73eeed868d2a438530358d7da4618e48b24eaad6a75e87600af7a05bcf41e33cf18c36994af8cdf0e7d1412629affad15788 SHA512 6ba592b1621ef3766f8a230da944ad78775003d1ae64ffe0123862f22055eaa7a34ccc70945fe221170b2e9ab3147ddf968b45c063da01a1e34bbc539fcc4a3c
-DIST AvailabilityVersions-33.200.4.tar.gz 1321 BLAKE2B 3999fc45187e8ad98ee51ed0bfab4534d97d3f980bf0271e6f4185286eb6689ad237fbb589dca57cd37f5f6e5aeab4313f28065586aae12a22c6500e69e8e869 SHA512 7d2f94e676c6f05d5ddbcfcf52829387a453e99408ffaaae5b2eb001f23e53fc5ca3bb313e3ff011b08f40f990d606fcfcc94a4801fd862895def2889b0b7817
-DIST xnu-3789.70.16.tar.gz 10381005 BLAKE2B 16355a687f634820d0c639261254dec05ae7485e3b5fb6e264d2fbc848765cd3730f1cd8294808f44dff1117039d8b2eddfa5ebac35cf0c9752ea6f0655ec64b SHA512 d0b34305f5ca62cc66647366371fe7e99b18ab2f5d7c9f45d46be601d7a6e63b5f1c4e26cb5333ff829553e2332a3f5f9b1da35223fadfa95024587352e93dca
-DIST xnu-4570.71.2.tar.gz 11596858 BLAKE2B 0ccc47911e31e73472fa15263177ef72601d256917ce94000c06b916d34f2e0238f8dec6bd064247fbaf7c6a55e9b5a31a91ecb311a3b00d401448ed4dba1e14 SHA512 b4e76d10ae1fba17ab0deff523938e825e53eda922b6518805059442d248447f928bca4a2237851dd18c31e4bfb5ae1b4889b3c2a6eea186ccb5a0552204548e
-DIST xnu-4903.241.1.tar.gz 11985285 BLAKE2B fbc95bc398618a012f3b0f11bfef039f2bb3b7c17f123ab08e7943e9ab4f79f219227d44d72551b915577398b32b3338ac9938b37377037f2b00037b5fc7c854 SHA512 1878c44bcfd4eea65c8f98ae95dda1febe1bd9d3aa4d71eca62a3c320d604957e69b4b46338dabd4000781cedd515ea463c86f6311a84654b0ef7a6498ecfe29
diff --git a/sys-kernel/xnu-headers/metadata.xml b/sys-kernel/xnu-headers/metadata.xml
deleted file mode 100644
index ec8d2a6ebeb..00000000000
--- a/sys-kernel/xnu-headers/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>grobian@gentoo.org</email>
- <name>Fabian Groffen</name>
- </maintainer>
- <maintainer type="project">
- <email>prefix@gentoo.org</email>
- <name>Gentoo Prefix</name>
- </maintainer>
- <use>
- <flag name="man">Install the manpages</flag>
- </use>
-</pkgmetadata>
diff --git a/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r5.ebuild b/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r5.ebuild
deleted file mode 100644
index 39dfc055c35..00000000000
--- a/sys-kernel/xnu-headers/xnu-headers-3789.70.16-r5.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-AVM="AvailabilityVersions-26.50.4"
-DESCRIPTION="System headers provided by XNU-${PV}, macOS 10.12.6"
-HOMEPAGE="https://opensource.apple.com/source/xnu"
-SRC_URI="https://opensource.apple.com/tarballs/xnu/xnu-${PV}.tar.gz
- https://opensource.apple.com/tarballs/${AVM%-*}/${AVM}.tar.gz"
-
-LICENSE="APSL-2"
-SLOT="10.12"
-KEYWORDS="~x64-macos"
-IUSE="+man"
-
-S=${WORKDIR}/xnu-${PV}
-
-src_prepare() {
- default
-
- # we don't install availability.pl, but generation needs it
- local avpl="${WORKDIR}/${AVM}/availability.pl"
- sed -i -e 's:${SDKROOT}/usr/local/libexec/availability.pl:'"${avpl}"':' \
- bsd/sys/make_symbol_aliasing.sh || die
-}
-
-src_compile() {
- # crappy scripts that just about do the job
- ./bsd/kern/makesyscalls.sh \
- bsd/kern/syscalls.master header >& /dev/null || die
- ./bsd/sys/make_posix_availability.sh \
- _posix_availability.h >& /dev/null || die
- ./bsd/sys/make_symbol_aliasing.sh \
- dummy _symbol_aliasing.h >& /dev/null || die
-}
-
-src_install() {
- insinto /usr/include
- doins libsyscall/wrappers/gethostuuid.h
- doins libsyscall/wrappers/libproc/libproc.h
- doins -r libsyscall/mach/mach
-
- # generated during src_compile
- insinto /usr/include/sys
- doins syscall.h _posix_availability.h _symbol_aliasing.h
-
- get_files_list() {
- local s="$1"
- local f="$2"/Makefile
- sed -n -e '/^'"${s}"' \?=/,/^$/p' "${f}" \
- | sed -e '1s/^'"${s}"' \?=//' -e '/\s*#/d' \
- | sed -e 's/\\$//' -e '/^[A-Z]\+ \?=/,/^$/d'
- }
-
- get_datafiles() {
- local entry
- get_files_list DATAFILES "$@" | while read entry ; do
- [[ ${entry} == '${'?*'}' ]] \
- && get_files_list ${entry:2:-1} "$@" \
- || echo "${entry}"
- done
- }
-
- local d
- local files
-
- pushd bsd > /dev/null || die
-
- for d in bsm i386 machine miscfs/{devfs,specfs,union} \
- net netinet{,6} netkey nfs sys{,/_types} uuid vfs ;
- do
- insinto /usr/include/${d}
- files=( $(get_datafiles ${d}) )
- einfo "${d}:" ${files[*]}
- doins ${files[@]/#/$d/}
- done
-
- use man && doman man/man*/*.[234579]
-
- popd > /dev/null || die
-
- pushd osfmk > /dev/null || die
-
- for d in device mach{,/i386,/machine} mach_debug ; do
- insinto /usr/include/${d}
- files=( $(get_datafiles ${d}) )
- einfo "${d}:" ${files[*]}
- doins ${files[@]/#/$d/}
- done
-
- for d in i386 ; do
- insinto /usr/include/${d}
- files=( $(get_files_list INSTALL_MD_LIST ${d}) )
- einfo "${d}:" ${files[*]}
- doins ${files[@]/#/$d/}
- done
-
- popd > /dev/null || die
-
- pushd libkern > /dev/null || die
-
- for d in libkern{,/i386,/machine,/c++,/crypto} ; do
- insinto /usr/include/${d}
- files=( $(get_datafiles ${d}) )
- einfo "${d}:" ${files[*]}
- doins ${files[@]/#/$d/}
- done
-
- popd > /dev/null || die
-}
diff --git a/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r5.ebuild b/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r5.ebuild
deleted file mode 100644
index e81f8ade9c2..00000000000
--- a/sys-kernel/xnu-headers/xnu-headers-4570.71.2-r5.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-AVM="AvailabilityVersions-32.60.1"
-DESCRIPTION="System headers provided by XNU-${PV}, macOS 10.13.6"
-HOMEPAGE="https://opensource.apple.com/source/xnu"
-SRC_URI="https://opensource.apple.com/tarballs/xnu/xnu-${PV}.tar.gz
- https://opensource.apple.com/tarballs/${AVM%-*}/${AVM}.tar.gz"
-
-LICENSE="APSL-2"
-SLOT="10.13"
-KEYWORDS="~x64-macos"
-IUSE="+man"
-
-S=${WORKDIR}/xnu-${PV}
-
-src_prepare() {
- default
-
- # we don't install availability.pl, but generation needs it
- local avpl="${WORKDIR}/${AVM}/availability.pl"
- sed -i -e 's:${SDKROOT}/usr/local/libexec/availability.pl:'"${avpl}"':' \
- bsd/sys/make_symbol_aliasing.sh || die
-}
-
-src_compile() {
- # crappy scripts that just about do the job
- ./bsd/kern/makesyscalls.sh \
- bsd/kern/syscalls.master header >& /dev/null || die
- ./bsd/sys/make_posix_availability.sh \
- _posix_availability.h >& /dev/null || die
- ./bsd/sys/make_symbol_aliasing.sh \
- dummy _symbol_aliasing.h >& /dev/null || die
-}
-
-src_install() {
- insinto /usr/include
- doins libsyscall/wrappers/gethostuuid.h
- doins libsyscall/wrappers/libproc/libproc.h
- doins -r libsyscall/mach/mach
-
- # generated during src_compile
- insinto /usr/include/sys
- doins syscall.h _posix_availability.h _symbol_aliasing.h
-
- get_files_list() {
- local s="$1"
- local f="$2"/Makefile
- sed -n -e '/^'"${s}"' \?=/,/^$/p' "${f}" \
- | sed -e '1s/^'"${s}"' \?=//' -e '/\s*#/d' \
- | sed -e 's/\\$//' -e '/^[A-Z]\+ \?=/,/^$/d'
- }
-
- get_datafiles() {
- local entry
- get_files_list DATAFILES "$@" | while read entry ; do
- [[ ${entry} == '${'?*'}' ]] \
- && get_files_list ${entry:2:-1} "$@" \
- || echo "${entry}"
- done
- }
-
- local d
- local files
-
- pushd bsd > /dev/null || die
-
- for d in arm bsm i386 machine miscfs/{devfs,specfs,union} \
- net netinet{,6} netkey nfs sys{,/_types} uuid vfs ;
- do
- insinto /usr/include/${d}
- files=( $(get_datafiles ${d}) )
- einfo "${d}:" ${files[*]}
- doins ${files[@]/#/$d/}
- done
-
- use man && doman man/man*/*.[234579]
-
- popd > /dev/null || die
-
- pushd osfmk > /dev/null || die
-
- for d in device mach{,/arm,/i386,/machine} mach_debug ; do
- insinto /usr/include/${d}
- files=( $(get_datafiles ${d}) )
- einfo "${d}:" ${files[*]}
- doins ${files[@]/#/$d/}
- done
-
- for d in i386 ; do
- insinto /usr/include/${d}
- files=( $(get_files_list INSTALL_MD_LIST ${d}) )
- einfo "${d}:" ${files[*]}
- doins ${files[@]/#/$d/}
- done
-
- popd > /dev/null || die
-
- pushd libkern > /dev/null || die
-
- for d in libkern{,/arm,/i386,/machine,/c++,/crypto} ; do
- insinto /usr/include/${d}
- files=( $(get_datafiles ${d}) )
- einfo "${d}:" ${files[*]}
- doins ${files[@]/#/$d/}
- done
-
- popd > /dev/null || die
-}
diff --git a/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r5.ebuild b/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r5.ebuild
deleted file mode 100644
index d6cb4db0860..00000000000
--- a/sys-kernel/xnu-headers/xnu-headers-4903.241.1-r5.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-AVM="AvailabilityVersions-33.200.4"
-DESCRIPTION="System headers provided by XNU-${PV}, macOS 10.14.3"
-HOMEPAGE="https://opensource.apple.com/source/xnu"
-SRC_URI="https://opensource.apple.com/tarballs/xnu/xnu-${PV}.tar.gz
- https://opensource.apple.com/tarballs/${AVM%-*}/${AVM}.tar.gz"
-
-LICENSE="APSL-2"
-SLOT="10.14"
-KEYWORDS="~x64-macos"
-IUSE="+man"
-
-S=${WORKDIR}/xnu-${PV}
-
-src_prepare() {
- default
-
- # we don't install availability.pl, but generation needs it
- local avpl="${WORKDIR}/${AVM}/availability.pl"
- sed -i -e 's:${SDKROOT}/usr/local/libexec/availability.pl:'"${avpl}"':' \
- bsd/sys/make_symbol_aliasing.sh || die
-}
-
-src_compile() {
- # crappy scripts that just about do the job
- ./bsd/kern/makesyscalls.sh \
- bsd/kern/syscalls.master header >& /dev/null || die
- ./bsd/sys/make_posix_availability.sh \
- _posix_availability.h >& /dev/null || die
- ./bsd/sys/make_symbol_aliasing.sh \
- dummy _symbol_aliasing.h >& /dev/null || die
-}
-
-src_install() {
- insinto /usr/include
- doins libsyscall/wrappers/gethostuuid.h
- doins libsyscall/wrappers/libproc/libproc.h
- doins -r libsyscall/mach/mach
-
- # generated during src_compile
- insinto /usr/include/sys
- doins syscall.h _posix_availability.h _symbol_aliasing.h
-
- get_files_list() {
- local s="$1"
- local f="$2"/Makefile
- sed -n -e '/^'"${s}"' \?=/,/^$/p' "${f}" \
- | sed -e '1s/^'"${s}"' \?=//' -e '/\s*#/d' \
- | sed -e 's/\\$//' -e '/^[A-Z]\+ \?=/,/^$/d'
- }
-
- get_datafiles() {
- local entry
- get_files_list DATAFILES "$@" | while read entry ; do
- [[ ${entry} == '${'?*'}' ]] \
- && get_files_list ${entry:2:-1} "$@" \
- || echo "${entry}"
- done
- }
-
- local d
- local files
-
- pushd bsd > /dev/null || die
-
- for d in arm bsm i386 machine miscfs/{devfs,specfs,union} \
- net netinet{,6} netkey nfs sys{,/_types} uuid vfs ;
- do
- insinto /usr/include/${d}
- files=( $(get_datafiles ${d}) )
- einfo "${d}:" ${files[*]}
- doins ${files[@]/#/$d/}
- done
-
- use man && doman man/man*/*.[234579]
-
- popd > /dev/null || die
-
- pushd osfmk > /dev/null || die
-
- for d in device mach{,/arm,/i386,/machine} mach_debug ; do
- insinto /usr/include/${d}
- files=( $(get_datafiles ${d}) )
- einfo "${d}:" ${files[*]}
- doins ${files[@]/#/$d/}
- done
-
- for d in i386 ; do
- insinto /usr/include/${d}
- files=( $(get_files_list INSTALL_MD_LIST ${d}) )
- einfo "${d}:" ${files[*]}
- doins ${files[@]/#/$d/}
- done
-
- popd > /dev/null || die
-
- pushd libkern > /dev/null || die
-
- for d in libkern{,/arm,/i386,/machine,/c++,/crypto} ; do
- insinto /usr/include/${d}
- files=( $(get_datafiles ${d}) )
- einfo "${d}:" ${files[*]}
- doins ${files[@]/#/$d/}
- done
-
- popd > /dev/null || die
-}
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-12-23 8:35 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-11 14:14 [gentoo-commits] repo/gentoo:master commit in: sys-kernel/xnu-headers/ Fabian Groffen
-- strict thread matches above, loose matches on Subject: below --
2019-11-12 9:58 Fabian Groffen
2019-11-14 8:53 Fabian Groffen
2019-12-01 11:11 Fabian Groffen
2019-12-22 14:50 Fabian Groffen
2019-12-25 14:33 Fabian Groffen
2020-12-23 8:35 Fabian Groffen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox