summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libnih/ChangeLog10
-rw-r--r--sys-libs/libnih/Manifest43
-rw-r--r--sys-libs/libnih/libnih-1.0.3-r1.ebuild45
3 files changed, 74 insertions, 24 deletions
diff --git a/sys-libs/libnih/ChangeLog b/sys-libs/libnih/ChangeLog
index 15b1001f8136..45632a0570e5 100644
--- a/sys-libs/libnih/ChangeLog
+++ b/sys-libs/libnih/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/libnih
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libnih/ChangeLog,v 1.4 2012/05/24 05:13:29 vapier Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libnih/ChangeLog,v 1.5 2014/10/30 18:45:56 vapier Exp $
+
+*libnih-1.0.3-r1 (30 Oct 2014)
+
+ 30 Oct 2014; Mike Frysinger <vapier@gentoo.org> +libnih-1.0.3-r1.ebuild:
+ Migrate to EAPI=4.
24 May 2012; Mike Frysinger <vapier@gentoo.org> libnih-1.0.3.ebuild:
Inherit toolchain-funcs for gen_usr_ldscript.
@@ -18,4 +23,3 @@
+files/libnih-1.0.3-pkg-config.patch, +metadata.xml:
Initial ebuild merging the ChromeOS version, dev-zero, Bruno Tarquini, and my
work #310093.
-
diff --git a/sys-libs/libnih/Manifest b/sys-libs/libnih/Manifest
index b29d1b95112f..3f3cd1fb31c4 100644
--- a/sys-libs/libnih/Manifest
+++ b/sys-libs/libnih/Manifest
@@ -1,26 +1,27 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
-AUX libnih-1.0.3-optional-dbus.patch 1162 RMD160 471beafeaeeb7fdd7289065ff4d90f6b5920b54a SHA1 9b4746fd48df7cccb4d815bf3270d5b95412fd84 SHA256 93e81914a402ebc512c7df46e00f85b54ed073a66fcf9fe465cb58d757546abf
-AUX libnih-1.0.3-pkg-config.patch 2491 RMD160 c9d91e0ee30aa424c3a4e606a4f578e1e820efc8 SHA1 97546652dcda14ee8f251ec9fa7f98a2f319af40 SHA256 cefe32c74c2c23f991e78bb8eaf97da8bcd1b4f252c1aed334e75027568f24d7
-DIST libnih-1.0.3.tar.gz 1187624 RMD160 954df698ae272b5f9a30e191bf3deb382bd92d51 SHA1 db1f3e46a47f8a58f8179ca56f304d1550f41eb0 SHA256 897572df7565c0a90a81532671e23c63f99b4efde2eecbbf11e7857fbc61f405
-EBUILD libnih-1.0.3.ebuild 1290 RMD160 14539d7e756cac874d721545e5e8db849ac3724b SHA1 844d77e2ee7c7ad8e8ec7849f4babed8d3a971ba SHA256 7b8e02ef039d4590c4aa8e1164470c8adcf1724212cd96afc154876c5ddd0fe7
-MISC ChangeLog 832 RMD160 f15d9a45fec2e718cfbde991f14244824acb6d25 SHA1 43510194929e24a062b308c17b78edd536ac28f2 SHA256 d6f6806c20630f1a94bd571ac1c18bfab93285ba56a3c21114ab52d375b79174
-MISC metadata.xml 265 RMD160 d04c394332d55908cd27a1be72252bbc428fa014 SHA1 afbd8e2ed78b9b047b5964c3ab8fc9325a9c4a90 SHA256 392f5b2c28e89d50960bbd5320bae373a5a33f162ed4ecec8088696aad5d61f2
+AUX libnih-1.0.3-optional-dbus.patch 1162 SHA256 93e81914a402ebc512c7df46e00f85b54ed073a66fcf9fe465cb58d757546abf SHA512 bd979f8e9d27d775e12b3a93082084b8837bc9eb4f48476c3356aa4b4f865eda517e6fcf90f5575686dbcdc0fef4a21c640e413d9d3611bb1f1077bfa9fd8c86 WHIRLPOOL 2eb2421f74c9ced344791ab3477035b5e71516962ebfc886f4a21837977854092aec28e68ba81345305f06ee00cf8e466bb5d3863c75d0291c0a9992aba17a6a
+AUX libnih-1.0.3-pkg-config.patch 2491 SHA256 cefe32c74c2c23f991e78bb8eaf97da8bcd1b4f252c1aed334e75027568f24d7 SHA512 b99d580f4487cf3d25fa37f3f7b62ce32d9df80c6c0b01ad04b6850215ec0cc24cfea48aaf8ff89afe28db239b5ed212f139e86353d9991152d488c6edce5017 WHIRLPOOL e6a6f4c2d88e4e2da3cbdba8f4b2a43f608ba7e0042f63c6b881653d23a51527d2061bea56924bb624bee5751bea69f4bdc4a206aa32ad62abcf29ea3c6999bc
+DIST libnih-1.0.3.tar.gz 1187624 SHA256 897572df7565c0a90a81532671e23c63f99b4efde2eecbbf11e7857fbc61f405 SHA512 fce40d2445b28c27b8838631681ca3206a4f053b2dd4fc488fc9ef98bbd3d933e3d62b82cf346be2ef1677f6457f692cf5544cd915a6bb1e5c618f98ffa101b4 WHIRLPOOL da001ba05111d3a654e6800cf283e11b5508e53d6d91b37ed277df5a889a1138e90ae13161e0af81bdcac929b105bf889e4dcdc443789f28417c6e3f61530d8c
+EBUILD libnih-1.0.3-r1.ebuild 1233 SHA256 3552558603c54a90fd9315dd413021c5c403de754e17a01e9f5a5acab06d7d3f SHA512 2dc0271f4459e93d06d551e57341004fd2c6f286a94015496bbf0885bdfa3b7adf070aaa12e769ff8f2520f2d356bc86032b9ad8b0d7ed10363d4be81681bbc3 WHIRLPOOL 3da3047cf066fbd2e817a8af6a5b070cfab4ef084336f8a6625bb411137400eb6d857473b90553a97f87c8a1d3ed81eaf787d88f54b6aba31af2f0bf43a67af4
+EBUILD libnih-1.0.3.ebuild 1290 SHA256 7b8e02ef039d4590c4aa8e1164470c8adcf1724212cd96afc154876c5ddd0fe7 SHA512 4d00ac0a17a4cfeb667fc2b5994f17f0f486b8a071ead0db34060b5c48ad8a373da9d9abcdb9d5b5e8ab1f07945b842c76fe77bcb0423108ad9fdb11d8f63a26 WHIRLPOOL 2d51170ce1009e5e940edcb631f90d3e4f666fe97d7a96d3ccbaa6daead2191f74175e69dfe2ba46c1ef50c36e2a01103c544542136779f6946a1a74dd079657
+MISC ChangeLog 960 SHA256 165d4bfa16c01fe5f0dff7c6b8e58eebad659013d42ccae54c217f416c26516d SHA512 bc86a756eb89b6a6e0b3a0b05e29754f06f537acb6cabef409eb5810285b240d800e35fd9830ec6bfdadcc8c4e830f88b8a4204c1ffc8e0e0d6bec97ca481da7 WHIRLPOOL 5f9c25b1f14c9c09a616e91515b689301eed34683395dab5dbee019b876a534a7b554b9b5275142047567fb568e31b2703937e077ce335915b5e3f834fdeb658
+MISC metadata.xml 265 SHA256 392f5b2c28e89d50960bbd5320bae373a5a33f162ed4ecec8088696aad5d61f2 SHA512 4094e54b19b379b803b6637d2c28188c55c954b7d301e758d7ab1b767f40eadba0e9ea42917a29ddb091dfc45bf31985953553b98f0b379a48a7d240d201fde9 WHIRLPOOL 8416721e7d44aa1fc2434b31fbf4d77024b08544b7e6fd19b74723c357e70c9e1905b083fee97307b331f7016578045ec9467e930980adfc5fdc07d5421465e0
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2
-iQIcBAEBAgAGBQJPvcPMAAoJELEHsLL7fEFWeCUP/25rEm7u9nGwlz3Ri0tlEx50
-hYRkf5UowQCa3XrfMNKbj1r5BQAX7vqwzR6/37eARICDaKBmpxpdQBIyHzmeoDeM
-lqPeQ403wHzUYocgGoFbmy5inAXO5ODXJ7DbKoMJIZAWuZuN7PKs53h8EitPWBe7
-xC7esb5Jttvf3vinkb74kZ3JG/MOfG4LZJ178M/0DQwJ6FRXxXC5dC554de7Cm8P
-F2xWiisXtQEwu0ximdnhdSf4SjRK8sDLZYbdEPYEVUQV3p3SIfo87O4VJSS7n9Tb
-+2X8HEBrqEDfI3wDWvdM8O9pYD6+fqww3FoIGtH0ILo4Jb0gVbJiQ8RWRp1pQ3Og
-lsD6bHp6kREOgE+wNnxOvsX4VvXPyMQLLOtlhrFiL0+khehSEWJ6unEDHRmmyXBV
-zuFx4QsCcX52To4gvPEEwXM7bQcZkK7GI5f7P3CzTe8OjYDdigv76XZoC36F2vOl
-/voO/B6w6DB5g0Pq8dXtCnp1lTzKDKaCAjT9FDeNongOUzpjic8mU9olDb5gOQKV
-ozknp2DBW3PXWf2BSEA1E+R0iDiKFVsV3pU/2b6tGdf9HNcXoEZMgbtE6UgAbSIG
-mbBbGlSZGyWjxN7kSSs6BJytjuXWqos/BQjlzCUtNmhpQkyl0O+cBQvwpCzBWFdz
-cc7idKV0aTOvhwpVxpVo
-=54cG
+iQIcBAEBCAAGBQJUUodmAAoJEPGu1DbS6WIAFi4P/jNyiwO04mpB5o0yYp0JfB4A
+8S4wC0Qy9GnGDN99wHdl6YUKvxMaN6T6iJBihfFEOFPU6HlgwNofDssdFnICVPLP
+l0M/QD0WIPYhzIPJOuM4hiDYiS1ZqCocs+AuAoXAZw8UT+8eWnxS2h/ItkFL9eas
+XE4Ku5vJdlc63nmMhwhD6oumyHmbYhkWqLEaVvP50YQg3tjOZG90kDrgCuLGdwp5
+wXh5XRj0D6RGDVwIzs/VwC3BnxTNtaglvw7CVq0eUSPdlmEJItkYxyjdhB12PgxJ
+NJLawjZNWA08MQ98uZ14uEUbld0ezusYrmh+zzdUHpSdUqQp7by+gJ/nBFr0SNzy
+32Lukkrgv1JBm420TJjZtRMs//4zE5oVHPZVVy8IYTxffAPMrqIRUTNl5Pq0QRPe
+ujvFO9zB8I8W1LOAja/SydIIDAR/MfWpDrjdGVER4eUzcsWPRcAC02AT/DM6KXN+
+lAOeRN8D1DMELP+1/H79noTp7FIlcUenh5FesCCzaL3LYfBCtO7hl633R4W5AuWY
+LuThZvGPRCy52o7UmpNe5dj+Svia6jRPZTDmNJuQeyjklTAwvPuu3byrBYla+EWA
+x6OyK2SDQZXu1h3l9++jF9RQDxbvuNS5CUXveNrN/8aAD1QSigYSQHOz09iZ+EXh
+EpRDRzbTmkf0HZNO05gb
+=RrAH
-----END PGP SIGNATURE-----
diff --git a/sys-libs/libnih/libnih-1.0.3-r1.ebuild b/sys-libs/libnih/libnih-1.0.3-r1.ebuild
new file mode 100644
index 000000000000..82c6975e6010
--- /dev/null
+++ b/sys-libs/libnih/libnih-1.0.3-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libnih/libnih-1.0.3-r1.ebuild,v 1.1 2014/10/30 18:45:56 vapier Exp $
+
+EAPI="4"
+
+inherit versionator eutils autotools toolchain-funcs multilib
+
+DESCRIPTION="Light-weight 'standard library' of C functions"
+HOMEPAGE="https://launchpad.net/libnih"
+SRC_URI="http://launchpad.net/${PN}/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+dbus nls static-libs test +threads"
+
+RDEPEND="dbus? ( dev-libs/expat >=sys-apps/dbus-1.2.16 )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig
+ test? ( dev-util/valgrind )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.0.3-optional-dbus.patch
+ epatch "${FILESDIR}"/${PN}-1.0.3-pkg-config.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_with dbus) \
+ $(use_enable nls) \
+ $(use_enable static-libs static) \
+ $(use_enable threads) \
+ $(use_enable threads threading)
+}
+
+src_install() {
+ default
+
+ # we need to be in / because upstart needs libnih
+ gen_usr_ldscript -a nih $(use dbus && echo nih-dbus)
+ use static-libs || rm "${ED}"/usr/$(get_libdir)/*.la
+}