summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2006-06-02 10:02:59 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2006-06-02 10:02:59 +0000
commitb79549c831656b406e3bc6d7971ba7e059146d67 (patch)
treee84d3f2fb7ae576ec699d805a4019d86276898fa /sys-process
parentStable on amd64, prune old version from the tree. (diff)
downloadgentoo-2-b79549c831656b406e3bc6d7971ba7e059146d67.tar.gz
gentoo-2-b79549c831656b406e3bc6d7971ba7e059146d67.tar.bz2
gentoo-2-b79549c831656b406e3bc6d7971ba7e059146d67.zip
Initial commit, based on ebuild submitted in bug #114686, thanks to Philippe Troin <phil@fif.org>.
(Portage version: 2.1_rc3-r3)
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/numactl/ChangeLog11
-rw-r--r--sys-process/numactl/Manifest16
-rw-r--r--sys-process/numactl/files/digest-numactl-0.9.83
-rw-r--r--sys-process/numactl/metadata.xml9
-rw-r--r--sys-process/numactl/numactl-0.9.8.ebuild55
5 files changed, 94 insertions, 0 deletions
diff --git a/sys-process/numactl/ChangeLog b/sys-process/numactl/ChangeLog
new file mode 100644
index 000000000000..aed741d155a2
--- /dev/null
+++ b/sys-process/numactl/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sys-process/numactl
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/numactl/ChangeLog,v 1.1 2006/06/02 10:02:59 robbat2 Exp $
+
+*numactl-0.9.8 (02 Jun 2006)
+
+ 02 Jun 2006; Robin H. Johnson <robbat2@gentoo.org> +metadata.xml,
+ +numactl-0.9.8.ebuild:
+ Initial commit, based on ebuild submitted in bug #114686, thanks to Philippe
+ Troin <phil@fifi.org>.
+
diff --git a/sys-process/numactl/Manifest b/sys-process/numactl/Manifest
new file mode 100644
index 000000000000..4465c8780854
--- /dev/null
+++ b/sys-process/numactl/Manifest
@@ -0,0 +1,16 @@
+DIST numactl-0.9.8.tar.gz 45101 RMD160 ada64b5b0d795d009afacaeaf8388359d72a737f SHA1 eb56149b7fa093fb57bb74e8620b2cf4e9953006 SHA256 707b6a18f03eb0fbb1c4f5ce1eb3daad5e6b15db972c0fc7ae8e880349a2b8ca
+EBUILD numactl-0.9.8.ebuild 1651 RMD160 ed2bc847ab1b0119858f4f51a52ceed81b502e22 SHA1 e32d9eec5ebe088e5f5c09ce80ce88ce454ded4a SHA256 9b860f1855c49b1e118b85ad32f47fec5110ce9ab89c8cb69b05fb6a8a410763
+MD5 a5bf01aa563b64e5f02a341ec83d849a numactl-0.9.8.ebuild 1651
+RMD160 ed2bc847ab1b0119858f4f51a52ceed81b502e22 numactl-0.9.8.ebuild 1651
+SHA256 9b860f1855c49b1e118b85ad32f47fec5110ce9ab89c8cb69b05fb6a8a410763 numactl-0.9.8.ebuild 1651
+MISC ChangeLog 348 RMD160 a167eb31f9358d3943edf69d3c0831b71e96d853 SHA1 d21aa7748db6c1beb854b470c2df144893c9e358 SHA256 0c53f85d6eab2b9e6f49ecb9bee80ee8504a03ea3620f3493afa4087ee2faedb
+MD5 195deff1bebb30a47de35cccbd3ec217 ChangeLog 348
+RMD160 a167eb31f9358d3943edf69d3c0831b71e96d853 ChangeLog 348
+SHA256 0c53f85d6eab2b9e6f49ecb9bee80ee8504a03ea3620f3493afa4087ee2faedb ChangeLog 348
+MISC metadata.xml 283 RMD160 39091a46e703055ed5d051c52b341834185332de SHA1 c5a3c481871f57127b8c78688c7421d52a56972f SHA256 517669caab4d2ec0e43e5afb9c532f42973408422a02a556d85583b0a906a2dd
+MD5 0fbf345f38916109fb486821d08934ec metadata.xml 283
+RMD160 39091a46e703055ed5d051c52b341834185332de metadata.xml 283
+SHA256 517669caab4d2ec0e43e5afb9c532f42973408422a02a556d85583b0a906a2dd metadata.xml 283
+MD5 4b60ae7fe7d39b3fd3448ced34dfbce3 files/digest-numactl-0.9.8 238
+RMD160 4130e50947b10533025ca774eefc297f4d4dd22b files/digest-numactl-0.9.8 238
+SHA256 1a15551d7999f141f151197bc09c3033bd7004a24dffd4d3ed69c3677462b718 files/digest-numactl-0.9.8 238
diff --git a/sys-process/numactl/files/digest-numactl-0.9.8 b/sys-process/numactl/files/digest-numactl-0.9.8
new file mode 100644
index 000000000000..5da27cf34220
--- /dev/null
+++ b/sys-process/numactl/files/digest-numactl-0.9.8
@@ -0,0 +1,3 @@
+MD5 ebc1ed785733f5af9d4139cef32e1192 numactl-0.9.8.tar.gz 45101
+RMD160 ada64b5b0d795d009afacaeaf8388359d72a737f numactl-0.9.8.tar.gz 45101
+SHA256 707b6a18f03eb0fbb1c4f5ce1eb3daad5e6b15db972c0fc7ae8e880349a2b8ca numactl-0.9.8.tar.gz 45101
diff --git a/sys-process/numactl/metadata.xml b/sys-process/numactl/metadata.xml
new file mode 100644
index 000000000000..b19c21ec4c55
--- /dev/null
+++ b/sys-process/numactl/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>base-system</herd>
+ <maintainer>
+ <email>robbat2@gentoo.org</email>
+ <name>Robin H. Johnson</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sys-process/numactl/numactl-0.9.8.ebuild b/sys-process/numactl/numactl-0.9.8.ebuild
new file mode 100644
index 000000000000..39a040aeffa9
--- /dev/null
+++ b/sys-process/numactl/numactl-0.9.8.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/numactl/numactl-0.9.8.ebuild,v 1.1 2006/06/02 10:02:59 robbat2 Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Utilities and libraries for NUMA systems."
+HOMEPAGE="ftp://ftp.suse.com/pub/people/ak/numa/"
+SRC_URI="ftp://ftp.suse.com/pub/people/ak/numa/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~ppc"
+IUSE=""
+RDEPEND="virtual/libc
+ dev-lang/perl"
+DEPEND="${RDEPEND}
+ sys-apps/groff"
+
+src_compile() {
+ emake all html \
+ CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
+ || die "emake failed"
+}
+
+src_install() {
+ # do this manually, as the Makefile doesn't do a good job
+ dobin numactl migratepages numastat
+ dolib.so libnuma.so.1
+ insinto /usr/include
+ doins numa.h numaif.h
+ doman migratepages.8 numa.3 numa_maps.5 numactl.8 numastat.8
+ dodoc README TODO CHANGES DESIGN
+ dodoc numademo.c memhog.c
+ dohtml html/*html
+ cd ${D}/usr/share/man/man3
+ # this list stolen from the Makefile
+ local MANLINKS="all_nodes alloc alloc_interleaved alloc_interleaved_subset
+ alloc_local alloc_onnode available bind error exit_on_error free
+ get_interleave_mask get_interleave_node get_membind get_run_node_mask
+ interleave_memory max_node no_nodes node_size node_to_cpus police_memory
+ preferred run_on_node run_on_node_mask set_bind_policy set_interleave_mask
+ set_localalloc set_membind set_preferred set_strict setlocal_memory
+ tonode_memory tonodemask_memory distance"
+ for i in ${MANLINKS}; do
+ ln -sf numa.3 numa_${i}.3
+ done
+}
+
+src_test() {
+ cd ${S}/test
+ ./regress2
+ einfo "The only generically safe test is regress2."
+ einfo "The other test cases require 2 NUMA nodes."
+}