summaryrefslogtreecommitdiff
path: root/sys-process/numad
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-process/numad
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-process/numad')
-rw-r--r--sys-process/numad/Manifest10
-rw-r--r--sys-process/numad/files/0001-Fix-man-page-directory-creation.patch26
-rw-r--r--sys-process/numad/files/numad-0.5-ldlibs.patch34
-rw-r--r--sys-process/numad/metadata.xml11
-rw-r--r--sys-process/numad/numad-0.5-r1.ebuild44
-rw-r--r--sys-process/numad/numad-0.5-r2.ebuild43
-rw-r--r--sys-process/numad/numad-0.5.ebuild41
-rw-r--r--sys-process/numad/numad-9999.ebuild40
8 files changed, 249 insertions, 0 deletions
diff --git a/sys-process/numad/Manifest b/sys-process/numad/Manifest
new file mode 100644
index 000000000000..6ca1016a720c
--- /dev/null
+++ b/sys-process/numad/Manifest
@@ -0,0 +1,10 @@
+AUX 0001-Fix-man-page-directory-creation.patch 722 SHA256 615a03c589a521a6e3ef812466504a3ada154b550acfd10238024dd9ecd63856 SHA512 e43609c3e6af1f01c886e707cd126126b9bbc8da98b8313e67d98909889f2c81d640db9bc999ca056611dc7792c8a0d3e9ecf9949b4c0a58d33e9bbe74b127ae WHIRLPOOL 9970336f2ce6bd10992ca999d25e425788f808ef1f1afe7f5a28bfa758887ad8e2964c847bb1f5b7939a9008ec70134c9eaec60ea9ddc228a6606e39212a33f9
+AUX numad-0.5-ldlibs.patch 912 SHA256 1f44a6d95a6abfa282ebf68d243e5139a72327ea03daa41218f34e9f3e308fda SHA512 7bd6e90617382080aaa217fa82c1b792d4b33b2dfc51ec43f3539e2b98eec1aa7fa8312e11fef97974d3ecd3f888a997a3c2b21ee980fc8ec4e74dd4bcdb6cbc WHIRLPOOL b3f0d3edad53b12e771a1b72d537ea17f1f1b8a60f13494416bffb52024884afabc7e813ba776d9bcfb6f88b21e53f72eccfc208b493fa1c89015922d94cd1c8
+DIST numad-0.5-334278f.tar.bz2 21007 SHA256 5a288f3597d616211f7ce7cc9e7e9e65c72f2360754ac02f9e0e17f86118ea9b SHA512 1b4a577f0713bae1386f2064fcb2dcbfb9453e23e7617f40cfff4e56d02a8c26a48c8d03f1ac7aa36e4ba168824572377f84bc669d1dabdc1820c2cdc4c57911 WHIRLPOOL e4ca9eeaccab3544d39e0a7ef812f1d2eca4269f5ee8466ee043dbdabc9e987b9393b4f3f3d5f6e1d898256179515ca52985e2e38c4afa27b84c4514e2e9259d
+EBUILD numad-0.5-r1.ebuild 938 SHA256 1ff3ad09ccce61aa3f36b4e51c227cefe01e832f591c5892ea32b57eeade5364 SHA512 5a80a278bd87cab8820a2d2e4da91e7f0439d2a958492ec3a5d96cce00f7c758abc3e58370368d81aada273f0a5b07ed2d0bd7b8c4b5f06ba0801aabcff30cca WHIRLPOOL 01b1a3433acaeab5e1b24cb40688dc5d43d83325993b9093c70e08bca61b40f19128f3af91f0007e2dfde35ad3fb67edd1aef7cb83976d4839957c875fe295e4
+EBUILD numad-0.5-r2.ebuild 983 SHA256 53d57c4cfca8cf14c33b4ae59bb48643461aad423efd11dc324eb7f8dcd9614c SHA512 72d2e4c8a3fea86cd0e915712061dffdd914dca9238af1e849d910d0976b3807066b353f868f2e6e50f422baf6b904a7ce80be1bbb0dfafa465933b3363990c6 WHIRLPOOL 0c36d8f78c832188b9cca34bd7889fb5984b5fd8840edfba0879cf4317211d8343b39bf32337c4a54da05c99739f2ecd5fe6ba05c5eb4cd125453826af441642
+EBUILD numad-0.5.ebuild 871 SHA256 0c6016e2bab80f852aa7c244c556c44a47f1bfbf5a3fbecd75039c40207d2196 SHA512 b6c9a498588e9e9a0bfd433dd96b394213f0f81e9697cf2afc46ae2b8b05440d59bd644973bbc51616a495f94fc959a004ed314d57253dd934771dc677ab9d02 WHIRLPOOL 30335226bb6bc1715f38e7c2e5660f42f992d4d1a2be730ae33f6d1bfc375c979319a10786006537de236501ecb251af459c58de069da54865318fcd24bff33a
+EBUILD numad-9999.ebuild 734 SHA256 4e5f78db2fece70276d18ff9c6d0f43d46521311d765ed13167df749cc7caf2d SHA512 14503d684e1b9f7546a0b31748ff11d1f0f48f5ed7519497f9c3f7af19a308708b44e513bf32805d1349323608b7d7a1efc6338ab661825cce27081444dcd130 WHIRLPOOL 2f8c8f018764852af3704a84f24e48a545339fef3cf46fa8037fcbb11be99fe0f966b77c1eb46dbf7b0a26872526de7725361dafa6d28a25802d22935aa94b1a
+MISC ChangeLog 3151 SHA256 fa4525c8c4482dafe23e1691bf10377b0c78f7c1d3e148db1cf32c6facb5da46 SHA512 7415703bc1980c74b10a6f5671b921b96e232eebe266045e7c00a61b91b416e16064d97fd6f43c3c650c03b6bc4b7faa8a775ff59576d826b480d8ffb8f3e8e4 WHIRLPOOL 84e354d0c3a946bfa68ac7ef1c25bf416a97f2608d15fe9847fc932236c3b8cac1d0d47fec27c849e015923fca2b4c8af539b13b3be0e763f3f5fb097ba4ab89
+MISC ChangeLog-2015 1584 SHA256 730d5de74358ebd1208ad1b8d73fd985d0a029e0b5fda79e6cc5122188ad36b9 SHA512 ff7f6c81f27730b8fafef12f02483604890e75eba1bd88ff48b470a08a4038195d95a5658d5d6dd570b9bc1b295e34a94cff0e415a71109fb09ecc5f993fc672 WHIRLPOOL 54c7589ea07169d4f1276334081690bcd2c4587d354ca7949490c4b187354f3c6da7d08d419098fc1c99d10a7a1097e1e44821eaf1ec70b351393a8e0e24dbce
+MISC metadata.xml 328 SHA256 b7ddc15c0a2f8d4470c027ec078587c2a08a6899c1f0ed19a4ef29e1ac716e51 SHA512 1512c4008e723063cd4fbf1b82319fa2d55aad398017c17f6908bf9c6079087487490b68c5f5f63908dac835be5ef1ae299eb46168151a105ee1e093352bdb36 WHIRLPOOL 3e1f4a0121c363d2bff721e674efefe191b0522765a1e7d867dfe4644d27ba8965e4beb392c44eacbbee92f0b1b78e24718436c4068047207d29b2db4f010b35
diff --git a/sys-process/numad/files/0001-Fix-man-page-directory-creation.patch b/sys-process/numad/files/0001-Fix-man-page-directory-creation.patch
new file mode 100644
index 000000000000..0b8a1d7c27ff
--- /dev/null
+++ b/sys-process/numad/files/0001-Fix-man-page-directory-creation.patch
@@ -0,0 +1,26 @@
+From 276611ad637334a6e3ea464540b204318f832ba8 Mon Sep 17 00:00:00 2001
+From: Doug Goldstein <cardoe@cardoe.com>
+Date: Wed, 13 Jun 2012 17:49:52 -0500
+Subject: [PATCH] Fix man page directory creation
+
+When building inside of a buildroot, the path for the man page might not
+exist so create it before we attempt to install a file into it.
+---
+ Makefile | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index d9adca9..32ad480 100755
+--- a/Makefile
++++ b/Makefile
+@@ -42,6 +42,7 @@ RANLIB ?= ranlib
+
+ install: numad
+ mkdir -p ${prefix}/bin
++ mkdir -p ${prefix}/share/man/man8
+ install -m 0755 numad ${prefix}/bin
+ install -m 0644 numad.8 ${prefix}/share/man/man8
+
+--
+1.7.3.4
+
diff --git a/sys-process/numad/files/numad-0.5-ldlibs.patch b/sys-process/numad/files/numad-0.5-ldlibs.patch
new file mode 100644
index 000000000000..d124e32e9ee4
--- /dev/null
+++ b/sys-process/numad/files/numad-0.5-ldlibs.patch
@@ -0,0 +1,34 @@
+From 9eb3cc5c51d846c8c8b750a4eb55545d7b5fea6c Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Wed, 23 Apr 2014 15:41:26 -0400
+Subject: [PATCH] use LDLIBS for linker flags
+
+When you put -lfoo into the dependency line of make, it forces it to
+search /lib and /usr/lib for files to link against. This can cause
+problems when trying to cross-compile or build for different ABIs.
+Use the standard LDLIBS variable instead.
+
+URL: https://bugs.gentoo.org/505760
+Reported-by: Georgi Georgiev <chutzimir@gmail.com>
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ Makefile | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index f3838b4..f2e9a6e 100644
+--- a/Makefile
++++ b/Makefile
+@@ -31,7 +31,8 @@ docdir := ${prefix}/share/doc
+
+ all: numad
+
+-numad: numad.o -lpthread
++LDLIBS := -lpthread
++numad: numad.o
+
+ AR ?= ar
+ RANLIB ?= ranlib
+--
+1.9.2
+
diff --git a/sys-process/numad/metadata.xml b/sys-process/numad/metadata.xml
new file mode 100644
index 000000000000..f5e477fa1c04
--- /dev/null
+++ b/sys-process/numad/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>cardoe@gentoo.org</email>
+</maintainer>
+<maintainer type="project">
+ <email>base-system@gentoo.org</email>
+ <name>Gentoo Base System</name>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-process/numad/numad-0.5-r1.ebuild b/sys-process/numad/numad-0.5-r1.ebuild
new file mode 100644
index 000000000000..32ad4fbefe36
--- /dev/null
+++ b/sys-process/numad/numad-0.5-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit linux-info toolchain-funcs
+
+if [[ ${PV} = *9999* ]]; then
+ inherit git-2
+ EGIT_REPO_URI="git://git.fedorahosted.org/numad.git"
+ KEYWORDS="~amd64 -arm -s390 x86"
+else
+ SRC_URI="http://git.fedorahosted.org/git/?p=numad.git;a=snapshot;h=334278ff3d774d105939743436d7378a189e8693;sf=tbz2 -> numad-0.5-334278f.tar.bz2"
+ KEYWORDS="amd64 -arm -s390 x86"
+ S="${WORKDIR}/${PN}-334278f"
+fi
+
+DESCRIPTION="The NUMA daemon that manages application locality"
+HOMEPAGE="http://fedoraproject.org/wiki/Features/numad"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE=""
+
+CONFIG_CHECK="~NUMA ~CPUSETS"
+
+src_prepare() {
+ EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${FILESDIR}" \
+ epatch
+
+ tc-export CC
+}
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS} -std=gnu99"
+}
+
+src_install() {
+ emake prefix="${ED}/usr" install
+}
diff --git a/sys-process/numad/numad-0.5-r2.ebuild b/sys-process/numad/numad-0.5-r2.ebuild
new file mode 100644
index 000000000000..c3cec523349a
--- /dev/null
+++ b/sys-process/numad/numad-0.5-r2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit linux-info toolchain-funcs eutils
+
+if [[ ${PV} == "9999" ]]; then
+ EGIT_REPO_URI="git://git.fedorahosted.org/numad.git"
+ inherit git-2
+else
+ HASH="334278ff3d774d105939743436d7378a189e8693"
+ SRC_URI="http://git.fedorahosted.org/git/?p=numad.git;a=snapshot;h=${HASH};sf=tbz2 -> numad-0.5-${HASH:0:7}.tar.bz2"
+ KEYWORDS="~amd64 -arm ~arm64 -s390 ~x86"
+ S="${WORKDIR}/${PN}-${HASH:0:7}"
+fi
+
+DESCRIPTION="The NUMA daemon that manages application locality"
+HOMEPAGE="http://fedoraproject.org/wiki/Features/numad"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE=""
+
+CONFIG_CHECK="~NUMA ~CPUSETS"
+
+src_prepare() {
+ epatch "${FILESDIR}"/0001-Fix-man-page-directory-creation.patch
+ epatch "${FILESDIR}"/${PN}-0.5-ldlibs.patch #505760
+ tc-export CC
+}
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS} -std=gnu99"
+}
+
+src_install() {
+ emake prefix="${ED}/usr" install
+}
diff --git a/sys-process/numad/numad-0.5.ebuild b/sys-process/numad/numad-0.5.ebuild
new file mode 100644
index 000000000000..e243f289db5f
--- /dev/null
+++ b/sys-process/numad/numad-0.5.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit linux-info
+
+if [[ ${PV} = *9999* ]]; then
+ inherit git-2
+ EGIT_REPO_URI="git://git.fedorahosted.org/numad.git"
+ KEYWORDS="-arm -s390"
+else
+ SRC_URI="http://git.fedorahosted.org/git/?p=numad.git;a=snapshot;h=334278ff3d774d105939743436d7378a189e8693;sf=tbz2 -> numad-0.5-334278f.tar.bz2"
+ KEYWORDS="amd64 -arm -s390 x86"
+ S="${WORKDIR}/${PN}-334278f"
+fi
+
+DESCRIPTION="The NUMA daemon that manages application locality"
+HOMEPAGE="http://fedoraproject.org/wiki/Features/numad"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+CONFIG_CHECK="~NUMA ~CPUSETS"
+
+src_prepare() {
+ EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${FILESDIR}" \
+ epatch
+}
+
+src_configure() {
+ :
+}
+
+src_install() {
+ emake prefix="${ED}/usr" install
+}
diff --git a/sys-process/numad/numad-9999.ebuild b/sys-process/numad/numad-9999.ebuild
new file mode 100644
index 000000000000..c44a0fea5cb3
--- /dev/null
+++ b/sys-process/numad/numad-9999.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit linux-info toolchain-funcs eutils
+
+if [[ ${PV} == "9999" ]]; then
+ EGIT_REPO_URI="git://git.fedorahosted.org/numad.git"
+ inherit git-2
+else
+ SRC_URI=""
+ KEYWORDS="~amd64 ~x86 -arm -s390"
+fi
+
+DESCRIPTION="The NUMA daemon that manages application locality"
+HOMEPAGE="http://fedoraproject.org/wiki/Features/numad"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE=""
+
+CONFIG_CHECK="~NUMA ~CPUSETS"
+
+src_prepare() {
+ epatch "${FILESDIR}"/0001-Fix-man-page-directory-creation.patch
+ tc-export CC
+}
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS} -std=gnu99"
+}
+
+src_install() {
+ emake prefix="${ED}/usr" install
+}