diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/libbsd | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/libbsd')
-rw-r--r-- | dev-libs/libbsd/Manifest | 8 | ||||
-rw-r--r-- | dev-libs/libbsd/files/libbsd-0.8.6-sparc.patch | 32 | ||||
-rw-r--r-- | dev-libs/libbsd/libbsd-0.8.6.ebuild | 44 | ||||
-rw-r--r-- | dev-libs/libbsd/libbsd-0.8.7.ebuild | 44 | ||||
-rw-r--r-- | dev-libs/libbsd/libbsd-0.9.1.ebuild | 40 | ||||
-rw-r--r-- | dev-libs/libbsd/metadata.xml | 8 |
6 files changed, 176 insertions, 0 deletions
diff --git a/dev-libs/libbsd/Manifest b/dev-libs/libbsd/Manifest new file mode 100644 index 000000000000..338d62c816f2 --- /dev/null +++ b/dev-libs/libbsd/Manifest @@ -0,0 +1,8 @@ +AUX libbsd-0.8.6-sparc.patch 832 BLAKE2B d02e16c7d338239ab56c6a1ce88cbf0e0c6736208ac40bf2272fbae5ddf16f10f89701515c69d81d541286012b3b9ce8fe0322197331f9c9b6293aa8454e53c1 SHA512 5b476340a35a02a15706ab7704f4e78b5f78f87e471a0749624ad4f37f9459e2d90c35fbe7984a226f247f26a4809c6a79d1c792e6c1ed64d2a9b4b984513055 +DIST libbsd-0.8.6.tar.xz 371112 BLAKE2B adab6c17267e0cff128351efccf5c1225b7dd85dc61dd8168bf212ba5aff8d726fa5be687c041821af9a427ddad9dfcd3630cac9134b9e81c86ab2599e43aef9 SHA512 ece01ced324f840c2cee6321c7dcf97ff123d55ea9f203c1ce35e1b46643dc7b34ef6dc6c8d128252b36848624850b40823411cc96b99a66a401eb1e9d8cea6b +DIST libbsd-0.8.7.tar.xz 371772 BLAKE2B aa4aa1c19872edf9e7e6ed270275199366345531a48ee28c25e209f17c5403a22269b91ab1c806cb1b54ba33a8464f4b035fe7ee2bc5dddd0a4fda09c540b058 SHA512 605a14eb5d33c0e45c3bd29e585ebc15832e2ed1efa9356291a0562622168da96db1a20766e9dae8910ea0c1516429f43905edc8d4f2a40a5a341a689d08fcc3 +DIST libbsd-0.9.1.tar.xz 387180 BLAKE2B 40dd82ca1088ee7aae8b3d7685e8514eec702bf7ada7ef98f7177cad92b7e0fccc22a953b35f0f27202eb56833b31a81bef1324d43864d1b80887ba7c58684d5 SHA512 435822b8f2495a5e2705e5ab5c834a4f0f3a177b3e5c46a7c6162924507ca984e957e94a512b5ebd0067ecb413bac458fade357709ef199e9b75edf0315de91c +EBUILD libbsd-0.8.6.ebuild 1227 BLAKE2B 2dcb7ad4b36a7de7c926ba5480814d060c325433ba3013e635c8b13ff940f303566b77f36a6b37920a3055ce3fb3e1c06882ddbbd58c6b9c98d379d78219b1f1 SHA512 a45b2b20b2b4b2a32277bd346f6433e8cef1d42260a6098aeb8c419d45c7a5c5db26e8ede2dbdef8039b03511e7ffb3ef65f450abea77b250e929889cea39939 +EBUILD libbsd-0.8.7.ebuild 1232 BLAKE2B d30cbbad96b19726f36e83d9fb8c69d14f53702c74f0401ce9abee5b7f7cddbd0f90da75d02833535e12fc1d9f4dbf202305466d8ef712fe892c08c707b94fc3 SHA512 1967086f1067249a65c99a6c68fe0e3238b120ad15d6dc5d6a9ebed7105ae3e4cd86b6c51aa4e1bfbd2ce5b3b0597ae20cfd6326c14d6a06f38d6406e1ad30f2 +EBUILD libbsd-0.9.1.ebuild 1186 BLAKE2B bf7d45b855cd6ee6b7602b0406e67a2e883fa5bbfe57c82019516b8a7f6540d2c9134f3606d58e5d1f7c215c69e0db93e9dffe715dd1781ee28058e3c0fab8ea SHA512 ee1bcbdb2755d0a636e3bd8aed43fc65facfe0a2dd0c429cf04a651e1990b52e94be94e37668139dba4bd48bae6f379c43c0fa250645f5b05234d8a3a55e8013 +MISC metadata.xml 276 BLAKE2B 889856a4e8b234e03eb27d32a4bce748a561f98ca0faa36de124e58e3832d804d1492f59db1154c4ec0e2e0e46c7d9cf38d9911ee83dd0863699581000610f31 SHA512 673180ba375ea401c0a8f197d516417b3f9361b11943c71bac88b0d0b1407b0bc657f5763c6fb6e429cc6ee112869a2247083fe56743e9ce918855c0ea929e59 diff --git a/dev-libs/libbsd/files/libbsd-0.8.6-sparc.patch b/dev-libs/libbsd/files/libbsd-0.8.6-sparc.patch new file mode 100644 index 000000000000..d2c35d8dc4ed --- /dev/null +++ b/dev-libs/libbsd/files/libbsd-0.8.6-sparc.patch @@ -0,0 +1,32 @@ +From 0b65d43963fc1bea195e94e3af922a7893bf6fcd Mon Sep 17 00:00:00 2001 +From: James Clarke <jrtc27@jrtc27.com> +Date: Sun, 4 Mar 2018 23:44:52 +0100 +Subject: Add support for ELF machine EM_SPARC32PLUS + +32-bit SPARC on V8+ uses a different ELF machine type. + +Fixes: https://bugs.gentoo.org/634550 +Signed-off-by: Guillem Jover <guillem@hadrons.org> +--- + src/local-elf.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/local-elf.h b/src/local-elf.h +index 1faf182..f7cbd83 100644 +--- a/src/local-elf.h ++++ b/src/local-elf.h +@@ -186,7 +186,11 @@ + #define ELF_TARG_MACH EM_SPARCV9 + #define ELF_TARG_CLASS ELFCLASS64 + #else ++#if defined(__sparc_v9__) ++#define ELF_TARG_MACH EM_SPARC32PLUS ++#else + #define ELF_TARG_MACH EM_SPARC ++#endif + #define ELF_TARG_CLASS ELFCLASS32 + #endif + #define ELF_TARG_DATA ELFDATA2MSB +-- +cgit v1.1 + diff --git a/dev-libs/libbsd/libbsd-0.8.6.ebuild b/dev-libs/libbsd/libbsd-0.8.6.ebuild new file mode 100644 index 000000000000..4e32f0a5ba99 --- /dev/null +++ b/dev-libs/libbsd/libbsd-0.8.6.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit multilib-minimal + +DESCRIPTION="An library to provide useful functions commonly found on BSD systems" +HOMEPAGE="https://libbsd.freedesktop.org/wiki/" +SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz" + +LICENSE="BSD BSD-2 BSD-4 ISC" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" +IUSE="static-libs" + +DEPEND=">=sys-kernel/linux-headers-3.17" +RDEPEND="" + +PATCHES=( + "${FILESDIR}/${PN}-0.8.6-sparc.patch" +) + +pkg_setup() { + local f="${EROOT}/usr/$(get_libdir)/${PN}.a" + local m="You need to remove ${f} by hand or re-emerge sys-libs/glibc first." + if ! has_version ${CATEGORY}/${PN}; then + if [[ -e ${f} ]]; then + eerror "${m}" + die "${m}" + fi + fi +} + +multilib_src_configure() { + # The build system will install libbsd-ctor.a despite of USE="-static-libs" + # which is correct, see: + # https://cgit.freedesktop.org/libbsd/commit/?id=c5b959028734ca2281250c85773d9b5e1d259bc8 + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_install() { + emake DESTDIR="${D}" install + find "${ED}" -name "*.la" -delete || die +} diff --git a/dev-libs/libbsd/libbsd-0.8.7.ebuild b/dev-libs/libbsd/libbsd-0.8.7.ebuild new file mode 100644 index 000000000000..8ce1c8916cbe --- /dev/null +++ b/dev-libs/libbsd/libbsd-0.8.7.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit multilib-minimal + +DESCRIPTION="An library to provide useful functions commonly found on BSD systems" +HOMEPAGE="https://libbsd.freedesktop.org/wiki/" +SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz" + +LICENSE="BSD BSD-2 BSD-4 ISC" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="static-libs" + +DEPEND=">=sys-kernel/linux-headers-3.17" +RDEPEND="" + +PATCHES=( + "${FILESDIR}/${PN}-0.8.6-sparc.patch" +) + +pkg_setup() { + local f="${EROOT}/usr/$(get_libdir)/${PN}.a" + local m="You need to remove ${f} by hand or re-emerge sys-libs/glibc first." + if ! has_version ${CATEGORY}/${PN}; then + if [[ -e ${f} ]]; then + eerror "${m}" + die "${m}" + fi + fi +} + +multilib_src_configure() { + # The build system will install libbsd-ctor.a despite of USE="-static-libs" + # which is correct, see: + # https://cgit.freedesktop.org/libbsd/commit/?id=c5b959028734ca2281250c85773d9b5e1d259bc8 + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_install() { + emake DESTDIR="${D}" install + find "${ED}" -name "*.la" -delete || die +} diff --git a/dev-libs/libbsd/libbsd-0.9.1.ebuild b/dev-libs/libbsd/libbsd-0.9.1.ebuild new file mode 100644 index 000000000000..80512aa7758c --- /dev/null +++ b/dev-libs/libbsd/libbsd-0.9.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit multilib-minimal + +DESCRIPTION="An library to provide useful functions commonly found on BSD systems" +HOMEPAGE="https://libbsd.freedesktop.org/wiki/" +SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz" + +LICENSE="BSD BSD-2 BSD-4 ISC" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="static-libs" + +DEPEND=">=sys-kernel/linux-headers-3.17" +RDEPEND="" + +pkg_setup() { + local f="${EROOT}/usr/$(get_libdir)/${PN}.a" + local m="You need to remove ${f} by hand or re-emerge sys-libs/glibc first." + if ! has_version ${CATEGORY}/${PN}; then + if [[ -e ${f} ]]; then + eerror "${m}" + die "${m}" + fi + fi +} + +multilib_src_configure() { + # The build system will install libbsd-ctor.a despite of USE="-static-libs" + # which is correct, see: + # https://cgit.freedesktop.org/libbsd/commit/?id=c5b959028734ca2281250c85773d9b5e1d259bc8 + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_install() { + emake DESTDIR="${D}" install + find "${ED}" -name "*.la" -delete || die +} diff --git a/dev-libs/libbsd/metadata.xml b/dev-libs/libbsd/metadata.xml new file mode 100644 index 000000000000..0f6db5621bcb --- /dev/null +++ b/dev-libs/libbsd/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>freedesktop-bugs@gentoo.org</email> + <name>Gentoo Freedesktop Project</name> + </maintainer> +</pkgmetadata> |