summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-07-30 11:32:08 +0000
committerAnthony G. Basile <blueness@gentoo.org>2013-07-30 11:32:08 +0000
commit80752b1d5db62010f42c5034c2007b1a27f0f67a (patch)
treef2f5f39d674dc1c754914bb93d0024fa728e3ea6 /sys-libs
parentStable for ppc, wrt bug #477634 (diff)
downloadhistorical-80752b1d5db62010f42c5034c2007b1a27f0f67a.tar.gz
historical-80752b1d5db62010f42c5034c2007b1a27f0f67a.tar.bz2
historical-80752b1d5db62010f42c5034c2007b1a27f0f67a.zip
Version bump
Package-Manager: portage-2.1.12.2/cvs/Linux x86_64 Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/musl/ChangeLog7
-rw-r--r--sys-libs/musl/Manifest30
-rw-r--r--sys-libs/musl/musl-0.9.12.ebuild92
3 files changed, 114 insertions, 15 deletions
diff --git a/sys-libs/musl/ChangeLog b/sys-libs/musl/ChangeLog
index 1d2f1890f286..9e5cdcbe2d6d 100644
--- a/sys-libs/musl/ChangeLog
+++ b/sys-libs/musl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/musl
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/musl/ChangeLog,v 1.8 2013/06/30 09:05:36 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/musl/ChangeLog,v 1.9 2013/07/30 11:31:50 blueness Exp $
+
+*musl-0.9.12 (30 Jul 2013)
+
+ 30 Jul 2013; Anthony G. Basile <blueness@gentoo.org> +musl-0.9.12.ebuild:
+ Version bump
*musl-0.9.11 (30 Jun 2013)
diff --git a/sys-libs/musl/Manifest b/sys-libs/musl/Manifest
index 954404ea1a23..b9ea7ec90b31 100644
--- a/sys-libs/musl/Manifest
+++ b/sys-libs/musl/Manifest
@@ -3,25 +3,27 @@ Hash: SHA256
DIST musl-0.9.10.tar.gz 743749 SHA256 71fc00733a3ee45fab342870ccd84d33d079e64f2d6fdcfb8b463a769c3ff391 SHA512 a31b4dc367672dd3056476b4e7a5c7affd81d33ead2427e043b94da8251167d93178af5ef43ad962354d18eb260435bb3968a3a8f2f684c89d0bc74a32304936 WHIRLPOOL 84fb677008e74dd97720ef4e5fde506a2fb3a2a468516589a78850ca2dc446c943e05b2d99e8e501ac5d0324f349b9b2e1352aee14824ca42037c0ec2fde0c20
DIST musl-0.9.11.tar.gz 747520 SHA256 8b81fd9b71becb7b674ea93fd65d82a039fab79ab738957a5e9ee47ba08a13fd SHA512 7ca852eda3be7b34bfdaf1eb9e7d435987d5177f865737b211e62f4037825cc322436e1ff49c3f875b3a20679f6f21ba5ffff271d03d3d03c7a97854f4f51832 WHIRLPOOL 5d33964eb51e59a9f1409b4587268f5031c1276d97c274a240b4d7006e3777a3ba2e74f20a18c46ba6e897d0ea6d536aef0e38e0773747042f312f443fccd80d
+DIST musl-0.9.12.tar.gz 752351 SHA256 72353f9e1f2fdaf5e88223dcd1cfa5555f5a364eb5e4a9967de1fd44cc4c6d3e SHA512 6f27b523a241e3a066c5b5f7309226fa97ce32354c149a189f299b3593ead3e7552c03520478f16dcbb27a52c5fe3320a7e5672b88612d7e4594b0514399eb71 WHIRLPOOL 9228d4b63732f858eda933b15e36e2c2de0749c40b67e79e6ae8fb2d32c3d3b419b1002d01ec3e4ace81a95eaceae4b4b2656608354f94aaa11b6b76010f259d
EBUILD musl-0.9.10.ebuild 2061 SHA256 180eb7e1c9c95665bd3496506bd8baf76b1c7c2c270146a92b0ffd89dd0ed98a SHA512 c4d11c235853dc9cea2a200677a6db178d9a443caf0e7ee8f55166485e830bb867a2ee379a34476199ad11e8fae4be93f7ba2362c38fe04925a4e377ad7fa2ad WHIRLPOOL 9e5afa3b4e2aecd74ac7ecc60b5408f95c3fd1a5d46d45295060198e1403927537aa9e683ce4957dcfe2226accaeeebb26ad9e818a3e1421889ec533403584f2
EBUILD musl-0.9.11.ebuild 2061 SHA256 0ee573e675f81e4bfc4cfef1aa64ca9445cb5c4ed63f34edf2d18003446babba SHA512 8c41e8147a58cd9b0130043ff663c9a09edb4744598c063c27db53c7e654ebb916139c5c13142f9e0341e92180f2d0ee16283ad196f783c0f99efa62a78e9e58 WHIRLPOOL 11c18712dbe4f1d4b11df60c7befd6b1f649861108bec204151ea7cd24bbe2fc374272f45c0dc46429dd3b4bb6963b32d3d409d0e8ab21efba0954cbc33fde8d
+EBUILD musl-0.9.12.ebuild 2142 SHA256 92653b4a4cf9d1e93ea47f4768775b9f9669f5aee78bed2bc6c3b21078d8dc37 SHA512 ec6dfa104bbf471a7e68b03fdbf9df35f16841127b9caf8b678ce6337c300c668610ce3b7888422faa4b469c31228ed699d4a72771d6c28c732c2b4e4c70a306 WHIRLPOOL d23dce9641a0425307d8966e820a7658a2e2b5f644e820533e5dcc449589885954239c2fcdfb7596a68485edbca20c70f4b7dd63c5f1edf8119673254a3b067b
EBUILD musl-9999.ebuild 2059 SHA256 f58bc114165ed727861737c632bf43a05260db3dbc099130974275ae4ebf9f27 SHA512 af04412e9fb01cc40982fe7cfeddd64b182331b87f460b16f24c4b2bca0b5b8205676511a044ce1c30c64b1f651c0155ce9a04796ea3070bc71cf215ac162330 WHIRLPOOL e0660fa60afae873f2d37ea5df95b886e1e6e1508ce6416e8dc5dfc4857fca7b7b0048c050d576fe9ab02c6bd97181fe067e8cc327985d6e50ea4cdcb36a19c1
-MISC ChangeLog 1246 SHA256 8225428ff1a3784ae450d3d8dae9bcfc8c78e56e9bb17b058206558896371e87 SHA512 7a1e73131470b65082079144261448033e027a11aba7bfc5b019b7f790532f6be0cf459a4a9ca3ea2074b88af81627e2485adb980f67241c8f9c9ab49a6822cd WHIRLPOOL 3a2053f0b3f04cbe3795b9b39a5d92f0c584cee597ed74b02972892bd9e353aa0d5be131612c99c86e5597b3f5eaf70615fcf42a64ed117d4a7622b7578719c0
+MISC ChangeLog 1366 SHA256 260e0cb45652ab249282f5c7e1d27a71a26e5fb03b9629217b3a46e0fb6bd9fd SHA512 e4856d08b800c75b0db79e3383fb84c94509fb898398f8ee35b3fb37d65ad4811aa4c56af35357eb41aa684379cdb16e2525bfd2cb5aa977a046a7ba4427c24d WHIRLPOOL abeabae3157ed230054ef2eedbab96f28e821318b9c965535518793b7d3dcba227ad732171bf20d3516f15cfc33b1a9b5d7758369572bf0c634cbd31fd4305be
MISC metadata.xml 327 SHA256 fd917b3ad115fac11699c82ff087e97c323fe2327f77813c9a2b9cfc27e45042 SHA512 b58ed48ee5332d6e91dfb58faad0a0fecd4b8da27b0edf6c1809a7338764e629eb5c12feb09fae80443b486af27af0d0f2e6ceeb4fc605e6d04b31c1041b3127 WHIRLPOOL 4941c5da58f683ff0a83fdc83017a8fd9a1bbb02fa1b5ea47302ebe7f7d324c0820088acb1eb32263fdb9b4120bc93f24997515bc30515b90055b48d167fd56a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
-iQIcBAEBCAAGBQJRz/VEAAoJEJOE+m71LUu6inYQAKtsJEo1JQh6A+HP/cu3nUwS
-NXvie49Deye0bRoTmkpUIQ49z3wcEAQPPflZ4xzAtrGI6F2kEnNI43aeJ4gycGJj
-XEcQZfnJhHCdxur5kwMaljaPoIuqqjoFqGqQ2mTm0in0LuTvBFrrUzB+zKqLw9M4
-72vfE1zOafb8vYTp2qfairDo31OubvvmD8JCdV61lwao1D4JcDUbRsMXc/A7kXCJ
-nLeah0fFLO1EnaGUq4fkjC4R35o6AdWojwDzkL9nGhCyca9IIDlS/UqZG6jNsKbh
-mnkU+BqlpyMPUMqUgaNRZRipRxupUpfkWSvzjS4CnaYN5Lj0rp15V/N0gQFNkHs7
-eY0Mf2jgtfEFkpnJVmqixX9ZBqDpfo5JpdLyPFtGeXApqp51Z868sZJDXXtmPOyG
-ylRXYWxqWMXiogLwtqzswJr6mekZQ9gWAuJZCuWU8saZuMX0DZzEkR9ShO3Wlt1K
-2adbY0ICrZaleHv4sKTqveFc53flDzf1NRAAeyLSM/Rxf1fYqYbqzRo71I4WPrjK
-7vRgcmoRMVHJHydDiZadEj3V7PCeuscBv8uLSZYmjWNEEZ35jWxI94WPkZe+5J3k
-YkPHeB58G/hJ3KgaGvenpudOWzjVdIJ1TNU2gSnzuZFACa12mWyUJs8uAis318E0
-aPi+XaF6BNDhp76PZQ3Z
-=PQOn
+iQIcBAEBCAAGBQJR96TdAAoJEJOE+m71LUu6Ik0QAJUfA4HXDciw1j+MTAvRFVLd
+P0pG0NhputSLQ3eRSZHJDmUMCQllVi93gsYuEFEPeu4eisuiIkpLyOlBnnelBCpN
+O/ECa68X6Pa+9tcjLsNWWo52eshzD0s6HRRU3y66Hzmy3tXC3xt8pB0zMNN+C+kI
+DrgQDacNWd6Qm6Y7kZrEv6g8k2wxl0lSEM5EIBvCLy9hKHexYLVoj1Q3avSYeQVE
+yGA2zenrMZlTKKgsef06E4WLXOBzZx887CyEOTtjs+4wOKj095dA3UMJ5A3CWMZ+
+sAQb8Lah7iXuFrq2+dqj7MgLLKT54N9AHHbtN9y7Lfuy1+wfb5rRl6u76m1Qml+2
+RKU198UMddK8Jw41X1Z6olu6LdGn740E5uy3CGpXiNWUqyJ8WBvhUcQ3xQ4vSdgn
+esfAmoqx317gBWJMmyg4T3WUidq+0GBWfWZeVWs5ZFTDE3Mc5C2TJ+xfYH9n/2bx
+bxskNr5c9MxM7nrZBArMZyhSYoFGqmQhR26j21x0FrapoM1sefPXEEV0edNipV6u
+cuWztxoJ4NxgZbdG5vXT0XOxVIL6cSzZ7YGU9U6V7+celemMef2JNL7xHIeCJMDO
+Mro0o+ed2v/oLKeK11CtT8SzWkFZxAilL/42eA1G93Bvjy6yW2nYvfEl+zbbaQKA
+MxRTkjFJfRHJhrU0hPu9
+=NwdZ
-----END PGP SIGNATURE-----
diff --git a/sys-libs/musl/musl-0.9.12.ebuild b/sys-libs/musl/musl-0.9.12.ebuild
new file mode 100644
index 000000000000..3fa7e697833a
--- /dev/null
+++ b/sys-libs/musl/musl-0.9.12.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/musl/musl-0.9.12.ebuild,v 1.1 2013/07/30 11:31:50 blueness Exp $
+
+EAPI=4
+
+inherit eutils flag-o-matic multilib toolchain-funcs
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="git://git.musl-libc.org/musl"
+ inherit git-2
+fi
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+ if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
+ export CTARGET=${CATEGORY/cross-}
+ fi
+fi
+
+DESCRIPTION="Lightweight, fast and simple C library focused on standards-conformance and safety"
+HOMEPAGE="http://www.musl-libc.org/"
+if [[ ${PV} != "9999" ]] ; then
+ PATCH_VER=""
+ SRC_URI="http://www.musl-libc.org/releases/${P}.tar.gz"
+ KEYWORDS="-* ~amd64 ~arm ~mips"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="crosscompile_opts_headers-only"
+
+is_crosscompile() {
+ [[ ${CHOST} != ${CTARGET} ]]
+}
+
+just_headers() {
+ use crosscompile_opts_headers-only && is_crosscompile
+}
+
+pkg_setup() {
+ if [ ${CTARGET} == ${CHOST} ] ; then
+ case ${CHOST} in
+ *-musl*) ;;
+ *) die "Use sys-devel/crossdev to build a musl toolchain" ;;
+ esac
+ fi
+}
+
+src_configure() {
+ tc-export CC
+
+ ./configure \
+ --target="${CTARGET}" \
+ --prefix="/usr" \
+ --disable-gcc-wrapper
+}
+
+src_compile() {
+ emake include/bits/alltypes.h || die
+ just_headers && return 0
+
+ emake || die
+}
+
+src_install() {
+ local sysroot=${D}
+ is_crosscompile && sysroot+="/usr/${CTARGET}"
+
+ local target="install"
+ just_headers && target="install-headers"
+ emake DESTDIR="${sysroot}" ${target} || die
+
+ # Make sure we install the sys-include symlink so that when
+ # we build a 2nd stage cross-compiler, gcc finds the target
+ # system headers correctly. See gcc/doc/gccinstall.info
+ if is_crosscompile ; then
+ dosym usr/include /usr/${CTARGET}/sys-include
+ fi
+}
+
+pkg_postinst() {
+ is_crosscompile && return 0
+
+ [ "${ROOT}" != "/" ] && return 0
+
+ # TODO: musl doesn't use ldconfig, instead here we can
+ # create sym links to libraries outside of /lib and /usr/lib
+ ldconfig
+ # reload init ...
+ /sbin/telinit U 2>/dev/null
+}