summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-01-06 23:04:31 +0000
committerMike Frysinger <vapier@gentoo.org>2013-01-06 23:04:31 +0000
commitdf73a5f3e06b0431e01a50038c5f5333687d3e58 (patch)
tree01762f400e0ce2e4cb2b2a2254c3a4d813e0296a /sys-process
parentVersion bump #450618 by Agostino Sarubbo. (diff)
downloadhistorical-df73a5f3e06b0431e01a50038c5f5333687d3e58.tar.gz
historical-df73a5f3e06b0431e01a50038c5f5333687d3e58.tar.bz2
historical-df73a5f3e06b0431e01a50038c5f5333687d3e58.zip
Version bump #450626 by Agostino Sarubbo.
Package-Manager: portage-2.2.0_alpha144/cvs/Linux x86_64 Manifest-Sign-Key: 0xFB7C4156
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/numactl/ChangeLog11
-rw-r--r--sys-process/numactl/Manifest47
-rw-r--r--sys-process/numactl/files/numactl-2.0.8-static_libs.patch86
-rw-r--r--sys-process/numactl/numactl-2.0.8.ebuild55
4 files changed, 184 insertions, 15 deletions
diff --git a/sys-process/numactl/ChangeLog b/sys-process/numactl/ChangeLog
index 8e8374150b73..a77c91572bac 100644
--- a/sys-process/numactl/ChangeLog
+++ b/sys-process/numactl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-process/numactl
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/numactl/ChangeLog,v 1.25 2012/06/29 07:15:55 jdhore Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/numactl/ChangeLog,v 1.26 2013/01/06 23:04:26 vapier Exp $
+
+*numactl-2.0.8 (06 Jan 2013)
+
+ 06 Jan 2013; Mike Frysinger <vapier@gentoo.org>
+ +files/numactl-2.0.8-static_libs.patch, +numactl-2.0.8.ebuild:
+ Version bump #450626 by Agostino Sarubbo.
29 Jun 2012; Jeff Horelick <jdhore@gentoo.org> numactl-2.0.7-r2.ebuild:
marked x86 per bug 422237
@@ -106,4 +112,3 @@
+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
index 013a621b7708..f3580d423688 100644
--- a/sys-process/numactl/Manifest
+++ b/sys-process/numactl/Manifest
@@ -1,12 +1,35 @@
-AUX numactl-2.0.2-build.patch 429 RMD160 3149ef4e8d1ea6ced276274c6e2a50bfd3605b52 SHA1 eb84cc657294cbc5a6109595cb44a5581d0acf52 SHA256 fb5f82ff6e967e76ca10af59faada34518881273167df1cb7937940a6a50d390
-AUX numactl-2.0.5-protos.patch 228 RMD160 68bc731c6b65ac84394ba702010bdfcb16824f4a SHA1 039a52207372bb3ca8f857636fbb126eec8d6f18 SHA256 9508f0836d113ec1c6f3d89732861f6e1f7f920a34ad1230fe2d0488435d4b27
-AUX numactl-2.0.7-static_libs.patch 2609 RMD160 36da12b1c8c22d43f9c172523aad08019dead7d4 SHA1 630c6cf63168383492a37d4f62c60e5205c3cb67 SHA256 fd44628c1ac77266d3ad1107fd80bd85f44da91c7f77a1a299d5947e1fa9cb7a
-DIST numactl-2.0.2.tar.gz 70187 RMD160 72ef94e604a1162117d70df60cab5e38f2235961 SHA1 3f70f6ef037584dcd5f5d26e7407d5465a866b81 SHA256 9a675ac94267c5370b6016e57cd437211a6f5f456a6decb1f7973f602e1b44f1
-DIST numactl-2.0.5.tar.gz 78975 RMD160 19ae3ab2a5b69fb2ed3d7f61b4030c67b12fcb13 SHA1 608d19ee802ae1b54a751567d7d6d9cbb4311b8a SHA256 afffcc0a237ec71737a3f3ecda5e0b4e0ede5c3a894af7d85f5416fa35f7b44c
-DIST numactl-2.0.7.tar.gz 275686 RMD160 9f1eca64522ae4a5640f44ee306c780607dd3ee6 SHA1 dfdf539da65d1e880f04202071c139c4d2ba2da9 SHA256 0a1e237a98649c5cd2db7c684afe33bb81d290b406cf00d0469bdba9a11b39ef
-EBUILD numactl-2.0.2.ebuild 1337 RMD160 705d9f600b8d94b7b979f6f57404d3ccf4f96e6f SHA1 64dba443cd299049da10a82cb099448320e651e9 SHA256 79e55f8e717949b8510dca9c900a2d359477021e1b0f47f8faf3942a6ba8136e
-EBUILD numactl-2.0.5.ebuild 1340 RMD160 9b65b047c1b4d2b1d8cd8337db046be087675297 SHA1 5e57f7d2468e90ad153224afd46eeebdf3e2c57b SHA256 47bc06ec50a7eb689a3820e4aca0fe5efad7090e5ac46f52631164d9266dbb8f
-EBUILD numactl-2.0.7-r2.ebuild 1467 RMD160 ccd761391b3a5f55df76bbf5eb1d20e4046c4983 SHA1 509a3691b8cfd42b4f5e5ed396d8da7bc64de0e0 SHA256 d834fb577c0fee14310dc00f8455f6d653c6d060bcdbab6b04bd4ef7534768db
-EBUILD numactl-2.0.7.ebuild 1255 RMD160 95687a4368cf9332e973e36632f8ef00dc1c11ce SHA1 52dde6747b288865a32eb14368025a46d4221728 SHA256 ab4288f89adc7e2abef9fb23ff7d3cbe28fb89860c5e906fbe9c7eaf8de336a6
-MISC ChangeLog 3811 RMD160 9a71d5ab649977f4cf8c3ad9d35318e536755059 SHA1 6db135daa0bdf2e34e2dad3cd74db8fe3bc76b47 SHA256 5b38dfe100e1ea3d30cb7ae24c9e552a2b71ff8d640a4e01851214f129593c50
-MISC metadata.xml 168 RMD160 b985d73a0da9e38afe23c1061e6113fc28971119 SHA1 48145e0b5071fdd7ff3cf1f699253c04106b246a SHA256 436175a0fd4552a218e3474f07665550f601d21c541e64cc2564581021325a26
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX numactl-2.0.2-build.patch 429 SHA256 fb5f82ff6e967e76ca10af59faada34518881273167df1cb7937940a6a50d390 SHA512 2c8ba0a34702cdb76eda7dfbd0123f11015db41e3904044103b9dce569dc472d43161ca250f28f5d230a5bee97f367a8cab89d3a53ec88d58c3e170d21f1630f WHIRLPOOL c8a62d5b13173c12fe9b695cbd6a9f8219107dea8523730e450f1e54b89a3a304a5caf8c8d9c0a9b33a479e4cef1990455327bdfdaff5121170fcf8bc7f2e2ed
+AUX numactl-2.0.5-protos.patch 228 SHA256 9508f0836d113ec1c6f3d89732861f6e1f7f920a34ad1230fe2d0488435d4b27 SHA512 964cfaf3d11413e26d901a515449c677c5d8109fa097c13ec2e9fa99c494b00894793bc086ac912aa068ed4460daeae44100bfd92f39a02aa1b9a5c5506431b1 WHIRLPOOL 05931803df6f842d2c1f82e782f0bfafce8e77f38f3bfeee7b9bf1b21733709ca55aefd232a0c41f4f7a975d77563d575b3c48f72421acc22f63d5f306f031dd
+AUX numactl-2.0.7-static_libs.patch 2609 SHA256 fd44628c1ac77266d3ad1107fd80bd85f44da91c7f77a1a299d5947e1fa9cb7a SHA512 b890b6684e116a233df51c74d7cdfa310e65e8af8cf7ffb60acb0bc48e912734cedc06fc841ef9d23f62dca030becee62488d06d3b7a301e059fc131278d45e5 WHIRLPOOL 193997f6dd832375946baef8536f598722b6d06513946ab5005a577e07546f8cad77580636b09d95f5d036ca7996d77b47775ce8214b657f14535cec949ff9c5
+AUX numactl-2.0.8-static_libs.patch 2761 SHA256 ff8abe7defc4fde1f2bd380ccb0df3990ea57ddfcafd07cde6327820c667be16 SHA512 828dbcd719671c8ca81745d5670d48c071a8b353b9e42bbbaf9eeffd41b607a53ae24ddd6f0be422a2e6f61899635228da0926d7d8dedd143f52fde5bc5dbe05 WHIRLPOOL fd8f1dcc105b6cec190cd767a0c9bf2b3f556b541637e88c8ec718973732108bac3eec8cc1bcb5394c2f882b972b37d6234b016b2bbc3d8e1faa1372eb13e60c
+DIST numactl-2.0.2.tar.gz 70187 SHA256 9a675ac94267c5370b6016e57cd437211a6f5f456a6decb1f7973f602e1b44f1
+DIST numactl-2.0.5.tar.gz 78975 SHA256 afffcc0a237ec71737a3f3ecda5e0b4e0ede5c3a894af7d85f5416fa35f7b44c SHA512 baf57364979d208e9041856ac4ad8e2868a78d29ee46ba8b4a58074c260a1c7fec8e65e6a8e60d9f4c48994301e0b9a5d953b4bbb1632977424b58f63d5a95d0 WHIRLPOOL 8d4f244d3e535746b666fc9116c6660e0f41ab6713bf935e3a1b80078a3cd373bc09fc4e17d70f8a7ea295e8d5c06f51a61ab73a2ce568cd9cae14ee1d8bf395
+DIST numactl-2.0.7.tar.gz 275686 SHA256 0a1e237a98649c5cd2db7c684afe33bb81d290b406cf00d0469bdba9a11b39ef SHA512 79b0df0c56f7670ef0c6e531ec7a664508c5c63b65fe2e4b88d73fe2c6985dcfca6ebd977aaeab8401641e8e62b6692cea3d41f176c9ef22183465b4a8d79a30 WHIRLPOOL 405585e1b08cee09a3be74b4a05e4a45ee3f0ac222e41ba966169486c99e18cd6eb36b37ad345deb1d466ef7511deffe5769a8a76cba2fa3787a350b71a2966a
+DIST numactl-2.0.8.tar.gz 339373 SHA256 2f5bb6d1d5556235ec3b1ed40094d5bc2502e5bacc213d324088d63fa531c9ea SHA512 c67d84c155b663a13798036b246d62795baacc17f84b441679f9c9dcc61ead90e6c31e21b8383a4724e0b2aecf93397e9535ce87e432b60db44180b4c711ae85 WHIRLPOOL b957a290da2b23926bf15e53321c371ad7b5499a9cb34a2421c847de8e39059b540244e3427c6d98bb4c8b2cccd8b84dda4f378496ddb961420c6a2e14e9ffe5
+EBUILD numactl-2.0.2.ebuild 1337 SHA256 79e55f8e717949b8510dca9c900a2d359477021e1b0f47f8faf3942a6ba8136e SHA512 299d9c95d4865d79f207f10e9c9a1826783ff2ebbddcc5791814350f90dc6002bf66bd9ecf6c333f60e792a47e4ccde468aabf1657de34f34eac99fd671ac7f5 WHIRLPOOL f91577e061d0c4a1be5fa263a0e43c59ef7bf1adbabc54e927856503685c5119d7b442393efa26f66c7a93a8589658e37adb9865fd06c383c8cab7bba8902b0d
+EBUILD numactl-2.0.5.ebuild 1340 SHA256 47bc06ec50a7eb689a3820e4aca0fe5efad7090e5ac46f52631164d9266dbb8f SHA512 f6e1ea5c3133dbd824b4a0ef25077faba559ba4739ddd4cbc692f65fcf4fcef47bf072a9e0a271464623efb9f6301ecf07665e7c914937f488c8597d97873197 WHIRLPOOL 48d5e6a4c5b70189766c123c7c485a01481902fdc9d8047273f8ec436bbf95c01b79c62bbe5272bcab3de104af48cd2891f3a62ce0326d5934a322870ad037a7
+EBUILD numactl-2.0.7-r2.ebuild 1467 SHA256 d834fb577c0fee14310dc00f8455f6d653c6d060bcdbab6b04bd4ef7534768db SHA512 748aff5d8f62d6cd4c42bc61bdacc683dbc577e46405acf50eaa938fc4889695459b611859a811285b3c0b12b64c3e76e649771c1f6a1c79b122fcb33a4f7193 WHIRLPOOL b28f1b4a589473396054ea95fb7a9ba42e244cc4da8621a4e0e9ed9ad7e20e33bb14559685eb6bc2af71a407c7d2b82e28af95526d2b51c6fe550f53a5cfcc91
+EBUILD numactl-2.0.7.ebuild 1255 SHA256 ab4288f89adc7e2abef9fb23ff7d3cbe28fb89860c5e906fbe9c7eaf8de336a6 SHA512 6643f2a9e59d4837c6aa7a6d3c41e90904a3ed2527560ee8a8fc4cac334a037ee58c3cde59c3f84e7336096a9cc5477a223c785decf35d8cf77e92eea6762999 WHIRLPOOL 5db29ad1db13eb71b4d7f05b8ef2f65637a792f001bf12ce1cebfd8ad55e1817f61a2ce5a47e8ac2534d2bb548dae7b0de4e277e911f7accf32f41062ebe213d
+EBUILD numactl-2.0.8.ebuild 1536 SHA256 95dba6592aef403bdbe3f92efbd81c44aaa43b8d69014e1633867fb1ce513d0c SHA512 cc89e496edd45111577cb1125bb9e5ee901283987d8f1751dbcfb937bfb885b84754ef0c0ba4e39c4c26fbf7f80219ff36affa508ade1599c532a6dad688aa93 WHIRLPOOL aba96100360cef727996f73ff100e03ef1a969d098488618d167ffb18cfb05d62592b873e09f4699f5ac082da9b3a5575e0d6d26917baf0eabfa561adab6e476
+MISC ChangeLog 4000 SHA256 009184410b0520b19a6e7a63038cb84b6d4820c85ddf45aff0cf91d24a1c1960 SHA512 b89c1df7c085eb9e7fd5c0778ca8113b2388047489c913a833bc244a3efd15e8797befe69f73d929214514e78693727b29a6d680a13baedbd9141cd6ffb61dd1 WHIRLPOOL cdf9a957c74d42164121380f31f7f24b3d1b77bc5449fa20950d6952e18fe8ea6c795ac42282c5c8081540939954b9d35302750cc96f3e373c456661e588c14e
+MISC metadata.xml 168 SHA256 436175a0fd4552a218e3474f07665550f601d21c541e64cc2564581021325a26 SHA512 0dc3684f07f73fe7e943a97f9f0e67f854751f58edc9fb3afd16851a672a7e5d44afe262ad9f4edcd4cb4f5755004b2b35fa468da4442edec5a91cb85f582d57 WHIRLPOOL 9d978491c3dbeed03838cbe8ba659c7a88395dd03a9f200178670a09b5d790f692bbdd1bc53e3a6ee9261d97920ec86e3525548b018a3e941fdf8a1c6e6ff1de
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQIcBAEBCAAGBQJQ6gN/AAoJELEHsLL7fEFWUzQQAIh6LVjDNhRSY/pLx3HPwPXC
+cQxqd3L3C4OtCU2DfxsERTNnFBz1TZ9k397iXhdp6j45oKhmorHGzCxj6T+yBzIh
+rjqbrj4FQnBakK3GCo4WL5CZPCQXFZ+f+qywD1wXtzfOB1yvhROToIK3S+vPM6jh
+kLBiNddgC/Kq9UjHbavd9gBJKtbWBWA+R4RLlr1fyFILseFEVCi4gsbC0skls3Zf
+nX8HKInm4BGZC1ok+5oRpQJhXlLwLgjoEVilf71xyPIL4NxIsiA5A9s0/ppyELyq
+CJWW1ovpUa3GgYXUSbz3TcxI2fHpfPXwMQ6lt8u28GMHTwGljw7Dtl+MK5R8u6HD
+pXB4L7/kOryfK/J1nBDUR3sWVOST0HpfT4RCwVgEqcg2NKQkdyRsAm/RcRZTNG5p
++J+a4utp1Fvc6DMWZ1gnowIVXtac/WtaVEeBVnu+xQca1yJhLihLS3lD74Z/omV6
+kP/qv/RIBmpL1gqm0AtIpbaUsjrv25KNjpuZ1aGLwmj1pjxQ7jRnKmI4Rh2vQwIs
+gtMnVO1b3DvsLphW+gdG4T0WFXfI67rnHYbEPXpJGVRdC3iLlGhAhGwa7jPTHuxu
+GOagM7cPpzUyWeDgnXR+BG26cxT/U+sNUD94FUHkyEHfWoPtNhrT2Y42J9BzyN5L
+0tlPqhcT/0aT4tFU0T0+
+=Msxz
+-----END PGP SIGNATURE-----
diff --git a/sys-process/numactl/files/numactl-2.0.8-static_libs.patch b/sys-process/numactl/files/numactl-2.0.8-static_libs.patch
new file mode 100644
index 000000000000..efb84ff6240a
--- /dev/null
+++ b/sys-process/numactl/files/numactl-2.0.8-static_libs.patch
@@ -0,0 +1,86 @@
+Build static libs without -fPIC and only if BUILD_STATIC=yes
+
+https://bugs.gentoo.org/379849
+
+Patch written by Kacper Kowalik <xarthisius@gentoo.org>
+--- a/Makefile
++++ b/Makefile
+@@ -7,6 +7,8 @@
+ # for compatibility with old releases
+ CFLAGS += ${OPT_CFLAGS}
+ override CFLAGS += -I.
++# build static libraries by default
++BUILD_STATIC ?= yes
+
+ # find out if compiler supports __thread
+ THREAD_SUPPORT := $(shell if $(CC) $(CFLAGS) threadtest.c -o threadtest \
+@@ -24,6 +26,7 @@
+
+ CLEANFILES := numactl.o libnuma.o numactl numademo numademo.o distance.o \
+ memhog libnuma.so libnuma.so.1 numamon numamon.o syscall.o bitops.o \
++ distance.pic.o libnuma.pic.o syscall.pic.o \
+ memhog.o util.o stream_main.o stream_lib.o shm.o stream clearcache.o \
+ test/pagesize test/tshared test/mynode.o test/tshared.o mt.o empty.o empty.c \
+ test/mynode test/ftok test/prefered test/randmap \
+@@ -40,11 +43,16 @@
+ libdir := ${prefix}/$(shell ./getlibdir)
+ docdir := ${prefix}/share/doc
+
++NUMA_LIBS = libnuma.so
++ifeq ($(BUILD_STATIC),yes)
++NUMA_LIBS+= libnuma.a
++endif
++
+ all: numactl migratepages migspeed libnuma.so numademo numamon memhog \
+ test/tshared stream test/mynode test/pagesize test/ftok test/prefered \
+ test/randmap test/nodemap test/distance test/tbitmap test/move_pages \
+ test/mbind_mig_pages test/migrate_pages test/realloc_test libnuma.a \
+- test/node-parse numastat
++ test/node-parse numastat ${NUMA_LIBS}
+
+ numactl: numactl.o util.o shm.o bitops.o libnuma.so
+
+@@ -81,13 +89,14 @@
+
+ libnuma.so.1: versions.ldscript
+
+-libnuma.so.1: libnuma.o syscall.o distance.o affinity.o sysfs.o rtnetlink.o
++libnuma.so.1: libnuma.pic.o syscall.pic.o distance.pic.o affinity.pic.o sysfs.pic.o rtnetlink.pic.o
+ ${CC} ${LDFLAGS} -shared -Wl,-soname=libnuma.so.1 -Wl,--version-script,versions.ldscript -Wl,-init,numa_init -Wl,-fini,numa_fini -o libnuma.so.1 $(filter-out versions.ldscript,$^)
+
+ libnuma.so: libnuma.so.1
+ ln -sf libnuma.so.1 libnuma.so
+
+-libnuma.o : CFLAGS += -fPIC
++%.pic.o: %.c
++ ${CC} -fPIC ${CPPFLAGS} ${CFLAGS} -c $< -o $@
+
+ AR ?= ar
+ RANLIB ?= ranlib
+@@ -95,16 +104,6 @@
+ $(AR) rc $@ $^
+ $(RANLIB) $@
+
+-distance.o : CFLAGS += -fPIC
+-
+-syscall.o : CFLAGS += -fPIC
+-
+-affinity.o : CFLAGS += -fPIC
+-
+-sysfs.o : CFLAGS += -fPIC
+-
+-rtnetlink.o : CFLAGS += -fPIC
+-
+ test/tshared: test/tshared.o libnuma.so
+
+ test/mynode: test/mynode.o libnuma.so
+@@ -143,7 +148,9 @@
+ mkdir -p ${libdir}
+ install -m 0755 libnuma.so.1 ${libdir}
+ cd ${libdir} ; ln -sf libnuma.so.1 libnuma.so
++ifeq ($(BUILD_STATIC),yes)
+ install -m 0644 libnuma.a ${libdir}
++endif
+ mkdir -p ${prefix}/include
+ install -m 0644 numa.h numaif.h numacompat1.h ${prefix}/include
+ install -m 0755 numastat ${prefix}/bin
diff --git a/sys-process/numactl/numactl-2.0.8.ebuild b/sys-process/numactl/numactl-2.0.8.ebuild
new file mode 100644
index 000000000000..e471d21731f0
--- /dev/null
+++ b/sys-process/numactl/numactl-2.0.8.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/numactl/numactl-2.0.8.ebuild,v 1.1 2013/01/06 23:04:26 vapier Exp $
+
+EAPI="4"
+
+inherit eutils toolchain-funcs multilib
+
+DESCRIPTION="Utilities and libraries for NUMA systems"
+HOMEPAGE="http://oss.sgi.com/projects/libnuma/"
+SRC_URI="ftp://oss.sgi.com/www/projects/libnuma/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
+IUSE="perl static-libs"
+
+RDEPEND="perl? ( dev-lang/perl )"
+
+src_prepare() {
+ echo "printf $(get_libdir)" > getlibdir
+ epatch "${FILESDIR}"/${PN}-2.0.8-static_libs.patch
+}
+
+src_compile() {
+ emake \
+ AR="$(tc-getAR)" \
+ CC="$(tc-getCC)" \
+ RANLIB="$(tc-getRANLIB)" \
+ CFLAGS="${CFLAGS}" \
+ BENCH_CFLAGS="" \
+ BUILD_STATIC=$(usex static-libs)
+}
+
+src_test() {
+ if [ -d /sys/devices/system/node ]; then
+ einfo "The only generically safe test is regress2."
+ einfo "The other test cases require 2 NUMA nodes."
+ cd test
+ ./regress2 || die "regress2 failed!"
+ else
+ ewarn "You do not have baseline NUMA support in your kernel, skipping tests."
+ fi
+}
+
+src_install() {
+ emake install prefix="${ED}/usr" BUILD_STATIC=$(usex static-libs)
+ # delete man pages provided by the man-pages package #238805
+ rm -rf "${ED}"/usr/share/man/man[25]
+ doman *.8 # makefile doesnt get them all
+ dodoc README TODO CHANGES DESIGN
+ if ! use perl ; then
+ rm "${ED}"/usr/bin/numastat "${ED}"/usr/share/man/man8/numastat.8 || die
+ fi
+}