diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:52:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:52:04 +0100 |
commit | 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /sys-process/numactl | |
parent | 6612a728ea11526a849618ec515ad57131d64416 (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'sys-process/numactl')
-rw-r--r-- | sys-process/numactl/Manifest | 4 | ||||
-rw-r--r-- | sys-process/numactl/numactl-2.0.12.ebuild | 65 | ||||
-rw-r--r-- | sys-process/numactl/numactl-9999.ebuild | 6 |
3 files changed, 71 insertions, 4 deletions
diff --git a/sys-process/numactl/Manifest b/sys-process/numactl/Manifest index 1f861760cf9d..94b7f1be07b8 100644 --- a/sys-process/numactl/Manifest +++ b/sys-process/numactl/Manifest @@ -2,7 +2,9 @@ AUX numactl-2.0.10-numademo-cflags.patch 504 BLAKE2B f2346a298b86b9c667d0d9550af AUX numactl-2.0.11-sysmacros.patch 1391 BLAKE2B f761353e82bbb79a70839c34f4ad0759c24b3671bfa8c8ba2869beff4528e9b0241d4b208097c5b6c381dbd4ee532fc6d3b8934f6cac70290ddd48217d0b9185 SHA512 39c5841000650af58ae4f6b15a2e2af7b4fb45e7514537f1d081cc0be74bf13aaa3d336a31ef15386b897cc3478ec58b8c194850e99ca2605f5f25be1650a63f AUX numactl-2.0.8-cpuid-pic.patch 697 BLAKE2B 0446f983eab3eefa553027c70e373d6693cb7325979d5ca3cb9aaa2f9f00f5c6545fb2d949e0fb068a857b9cb41e2dbda176ba27e12eeeb664841b3fbaaec9ae SHA512 d9624110a7f8459c13b67eb990f05bc54ffe55818d586691b307dcc4ca5861f064a7269f1038cba5f8abf0f2b6d359d30e4f8d6e904a7e5c0da3404ef1bd4d51 DIST numactl-2.0.11.tar.gz 408175 BLAKE2B 0767d555d5254e780ef50bd66215e84208e88fb37422fd86443e53ee52faef4242ff21e6028bdb92c4e1fa7815cdb23e87cd084763539dc1d560097f43bd563f SHA512 1969d7ee0ff3de0d6f1fa42ec089a17cdb3f92cb35d453b8f8b2eec49724c43787ecbd213357013a8f2500a260b0df9844d515815ca3a0376314a0eed050a0d4 +DIST numactl-2.0.12.tar.gz 423020 BLAKE2B 39d33612591df805715c51280bf34b8328ba6fc49bdaf9dd3bd67e076f9d319c9622ef72766c12e319f4be27ee9ec7f5ecb054a6e8c7c3cf568a69aea624d511 SHA512 316b10f50e6eee4cee9cf191f19381ec4a61980354eec3f9fe43fef21465bee28a82adeb9c235d4877e82950ccd14c9473b79fd1e2f5a7f598ec2fac230780ff EBUILD numactl-2.0.11-r1.ebuild 1668 BLAKE2B 14394a9c9620741f45c43b11d8272253f3fb643626aa654edc5fbde9bbe1796e4fa48fc2d4248ff7fc2e6469f04658c0aeb2119de101d30208dd1f3e61c79fec SHA512 f7a4265e81b14d1d5b6814ecddc5640f30fb1ca9c7cf7e8750a754bd397e7327d9af00598a7c19b8906f405487205cbee62f1937faee83fb56a5d1adbe48d740 EBUILD numactl-2.0.11.ebuild 1527 BLAKE2B 64b4e024b16d1ba057f3bc61613229ff5659613149567ee52440205baac3a793a390724104883da1241daafaf11fccffd764ec68efef41c138b904be800f6c1f SHA512 0a0a6eff479e075be84a48dbe2994c1ce884ad3dee6da4d2d83c770ec7db42cdde077bcd3e17c23166bf19eb83eeecbeb86d1b7c48df34c3146bfece8db481dd -EBUILD numactl-9999.ebuild 1690 BLAKE2B cf85c89004e9fe9a623cafba56475984e24a309ba67a9531c1f38c3cdf9fc9fff622e68d12eacbedb1d0f2fae530269449f8062e879d01b46c4af4ef3579bb3f SHA512 3df636c1a1a8f4a70d6f1b6abcd83e9d7102e8a66e28fcb07f8dcc779a72be23e7d29e9ffa2e3569d316c5b322f3578ff4e6af1ce44f44a530457b183ee7aa39 +EBUILD numactl-2.0.12.ebuild 1685 BLAKE2B 7cc6cb2a721489583a179a97b244a48c45f0767e44ed1d9f2fa9740e2eeb7eedd82031a86b60a1a0a9c2636228ef288c2d6bbb213f1972449a7db03ff57a201d SHA512 1e9d8b3863c12794f2fbd917d06e99e448a66e80de3a01f08dce3a6c290a806b2e24537876cd6792c278bbc35a2cd901b78ae5e972b02b14ae94dcc3d265b0ae +EBUILD numactl-9999.ebuild 1685 BLAKE2B 7cc6cb2a721489583a179a97b244a48c45f0767e44ed1d9f2fa9740e2eeb7eedd82031a86b60a1a0a9c2636228ef288c2d6bbb213f1972449a7db03ff57a201d SHA512 1e9d8b3863c12794f2fbd917d06e99e448a66e80de3a01f08dce3a6c290a806b2e24537876cd6792c278bbc35a2cd901b78ae5e972b02b14ae94dcc3d265b0ae MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555 diff --git a/sys-process/numactl/numactl-2.0.12.ebuild b/sys-process/numactl/numactl-2.0.12.ebuild new file mode 100644 index 000000000000..312ab570210b --- /dev/null +++ b/sys-process/numactl/numactl-2.0.12.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools toolchain-funcs multilib-minimal + +DESCRIPTION="Utilities and libraries for NUMA systems" +HOMEPAGE="https://github.com/numactl/numactl" +if [[ "${PV}" == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/numactl/numactl.git" +else + SRC_URI="https://github.com/numactl/numactl/releases/download/v${PV}/${P}.tar.gz" + # ARM lacks the __NR_migrate_pages syscall. + KEYWORDS="~amd64 -arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="static-libs" + +PATCHES=( + "${FILESDIR}"/${PN}-2.0.10-numademo-cflags.patch #540856 +) + +src_prepare() { + default + eautoreconf + # We need to copy the sources or else tests will fail + multilib_copy_sources +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_compile() { + multilib_is_native_abi && default || emake libnuma.la +} + +multilib_src_test() { + if multilib_is_native_abi ; then + if [ -d /sys/devices/system/node ]; then + einfo "The only generically safe test is regress2." + einfo "The other test cases require 2 NUMA nodes." + emake regress2 + else + ewarn "You do not have baseline NUMA support in your kernel, skipping tests." + fi + fi +} + +multilib_src_install() { + emake DESTDIR="${D}" \ + install$(multilib_is_native_abi || echo "-libLTLIBRARIES install-includeHEADERS") + find "${ED%/}"/usr/ -name libnuma.la -delete || die +} + +multilib_src_install_all() { + local DOCS=( README.md ) + einstalldocs + # delete man pages provided by the man-pages package #238805 + rm -r "${ED%/}"/usr/share/man/man[25] || die +} diff --git a/sys-process/numactl/numactl-9999.ebuild b/sys-process/numactl/numactl-9999.ebuild index 3dad0c6eacec..312ab570210b 100644 --- a/sys-process/numactl/numactl-9999.ebuild +++ b/sys-process/numactl/numactl-9999.ebuild @@ -7,11 +7,11 @@ inherit autotools toolchain-funcs multilib-minimal DESCRIPTION="Utilities and libraries for NUMA systems" HOMEPAGE="https://github.com/numactl/numactl" -if [[ "${PV}" = 9999* ]] ; then +if [[ "${PV}" == 9999 ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/numactl/numactl.git" else - SRC_URI="ftp://oss.sgi.com/www/projects/libnuma/download/${P}.tar.gz" + SRC_URI="https://github.com/numactl/numactl/releases/download/v${PV}/${P}.tar.gz" # ARM lacks the __NR_migrate_pages syscall. KEYWORDS="~amd64 -arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux" fi @@ -58,7 +58,7 @@ multilib_src_install() { } multilib_src_install_all() { - local DOCS=( README TODO CHANGES DESIGN ) + local DOCS=( README.md ) einstalldocs # delete man pages provided by the man-pages package #238805 rm -r "${ED%/}"/usr/share/man/man[25] || die |