summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2011-08-15 07:48:11 +0000
committerMichał Górny <mgorny@gentoo.org>2011-08-15 07:48:11 +0000
commiteda9503a1b98fe2903d8b6abee9fc566e7beb0cd (patch)
tree09832106775e9c196081150c329005a03e7c96a1 /sys-apps
parentFix segfault in reformime on some arches - bug #379101 (diff)
downloadhistorical-eda9503a1b98fe2903d8b6abee9fc566e7beb0cd.tar.gz
historical-eda9503a1b98fe2903d8b6abee9fc566e7beb0cd.tar.bz2
historical-eda9503a1b98fe2903d8b6abee9fc566e7beb0cd.zip
Backport a few ebuild changes to -29: delay kernel checks and make them non-obligatory, report optional deps, bump vala slot.
Package-Manager: portage-2.2.0_alpha51_p3/cvs/Linux x86_64
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/systemd/ChangeLog9
-rw-r--r--sys-apps/systemd/Manifest14
-rw-r--r--sys-apps/systemd/systemd-29-r2.ebuild (renamed from sys-apps/systemd/systemd-29-r1.ebuild)32
3 files changed, 33 insertions, 22 deletions
diff --git a/sys-apps/systemd/ChangeLog b/sys-apps/systemd/ChangeLog
index 55e8c501bf83..64bf2cb06b5c 100644
--- a/sys-apps/systemd/ChangeLog
+++ b/sys-apps/systemd/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/systemd
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.10 2011/08/09 11:36:42 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.11 2011/08/15 07:48:11 mgorny Exp $
+
+*systemd-29-r2 (15 Aug 2011)
+
+ 15 Aug 2011; Michał Górny <mgorny@gentoo.org> -systemd-29-r1.ebuild,
+ +systemd-29-r2.ebuild:
+ Backport a few ebuild changes to -29: delay kernel checks and make them
+ non-obligatory, report optional deps, bump vala slot.
*systemd-32 (09 Aug 2011)
diff --git a/sys-apps/systemd/Manifest b/sys-apps/systemd/Manifest
index 16c5dbd24ef1..cbfc5b6df39a 100644
--- a/sys-apps/systemd/Manifest
+++ b/sys-apps/systemd/Manifest
@@ -3,16 +3,16 @@ Hash: SHA256
DIST systemd-29.tar.bz2 810407 RMD160 49cf7906a768217190cdf61d102058b9c8762d40 SHA1 5dc36e8d900085af31a96a6bafaba228bc8225c7 SHA256 c41153c3ebab9e25b16fa1670946ce6dfdd1515608a37eedd80d2bbe46629971
DIST systemd-32.tar.bz2 877943 RMD160 361681c014ba89b7f2e388f463ea60ac00cb8eed SHA1 062725079ad189ffedab831e6fa4f6e8aa48f307 SHA256 714bd00ceb44639a675e8a7b7ee4f6bff42b70a442110c70e64ff41056828dae
-EBUILD systemd-29-r1.ebuild 3830 RMD160 e9f505f3011dd68986072790373b00e8cd777754 SHA1 6c2cdf9097adeb3179490c674663bf819472961c SHA256 541cfbc0f8b28077c99d6ff1393c341a857952e12cb02e46ca2e7b6cc5e49a53
+EBUILD systemd-29-r2.ebuild 3961 RMD160 0ba293786fb5f858a7a71b659e3578096e2eb0d0 SHA1 252470adb7969a30775f9d7668c661dab2acd28c SHA256 9f8a9288729135dd2def93aebd2ae096cd183b64f4ccc27f363be6fd254f302b
EBUILD systemd-32.ebuild 3959 RMD160 5abf4decd308168ea9817752be50a66bc8a67dd0 SHA1 e9be97c8f1eb69902668bb3f13b4bbba3525b514 SHA256 f03de84a31a7c09637f3982349bb6cc34dce7ec1b6ee1750a53cf044442ab3f5
-MISC ChangeLog 1801 RMD160 7452c2dbf5657e40ba8e34f7c52c41ea048451e8 SHA1 893b2ab682452c34effe22bb038b12e565d812ff SHA256 d984a6dc2fc63323813655c885d59e6906ed02158b1a4fc9ddaa400f971ac366
+MISC ChangeLog 2060 RMD160 496f4b5a63a87dc43fc359b582f18d319891c2de SHA1 62acaec44ba1de2ab058d0d2e949b770407ce530 SHA256 9a1f8467c0b4b9bb85f14729ace5eebdcc271af005594faba7886c0e9c4fc47f
MISC metadata.xml 524 RMD160 d51fb3f45aefd84a637f2f67cead553e12d389ab SHA1 4f86cab283737af9e58633d466e2588d80bec18c SHA256 0ee1c96fc4604189104897c95e2ded166e55be2e04af40523b2afb5564dbbe33
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iJwEAQEIAAYFAk5BHC4ACgkQfXuS5UK5QB2LfAP+MuFcKTcpQs/RGH0kMwRFyKoO
-YL9ZjeRfnFR5vW81rZlUhQ+ADzo7yOnEp3h/rg9mrje/3G/ZydPKhcSHrlxVYVUy
-2TFVbZ++Yaa4b7LPvIOFGoqVXm2ohgDX8E/Ew+06Ok73zV10KQm1i9Edl3mcfBzF
-Tu1NLMxK7AMC1RPORiQ=
-=Dprp
+iJwEAQEIAAYFAk5Iz7AACgkQfXuS5UK5QB3Y9QP7BQSd7ipxsD7/WF0Ubzo8QBJa
+J0FRsFUkvGe8OjvIZYTUJQc7XXRrePp5tSU5HOUIGfs/MHMumv+bZ+WqmD2UitwD
+5/Ix7TgzOhu088mmDZph6UGeSCt9SVhverYSICyjf4Xl0wbgaEh3AE3P+S6UzLIK
+kujlo+D/dJbneEsLquI=
+=mXNZ
-----END PGP SIGNATURE-----
diff --git a/sys-apps/systemd/systemd-29-r1.ebuild b/sys-apps/systemd/systemd-29-r2.ebuild
index 1e3ea1e6a969..c797c3cac5db 100644
--- a/sys-apps/systemd/systemd-29-r1.ebuild
+++ b/sys-apps/systemd/systemd-29-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-29-r1.ebuild,v 1.2 2011/06/24 20:56:01 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-29-r2.ebuild,v 1.1 2011/08/15 07:48:11 mgorny Exp $
EAPI=4
@@ -32,7 +32,7 @@ COMMON_DEPEND=">=sys-apps/dbus-1.4.10
tcpd? ( sys-apps/tcp-wrappers )"
# Vala-0.10 doesn't work with libnotify 0.7.1
-VALASLOT="0.12"
+VALASLOT="0.14"
# A little higher than upstream requires
# but I had real trouble with 2.6.37 and systemd.
MINKV="2.6.38"
@@ -41,19 +41,11 @@ MINKV="2.6.38"
# blocker on old packages to avoid collisions with above
# openrc blocker to avoid udev rules starting openrc scripts
RDEPEND="${COMMON_DEPEND}
- !!sys-apps/systemd-dbus
- !!sys-apps/systemd-udev
!<sys-apps/openrc-0.8.3"
DEPEND="${COMMON_DEPEND}
gtk? ( dev-lang/vala:${VALASLOT} )
>=sys-kernel/linux-headers-${MINKV}"
-pkg_pretend() {
- local CONFIG_CHECK="AUTOFS4_FS CGROUPS DEVTMPFS ~FANOTIFY ~IPV6"
- linux-info_pkg_setup
- kernel_is -ge ${MINKV//./ } || die "Kernel version at least ${MINKV} required"
-}
-
pkg_setup() {
enewgroup lock # used by var-lock.mount
enewgroup tty 5 # used by mount-setup for /dev/pts
@@ -104,13 +96,19 @@ src_install() {
mv ${i}.8 systemd.${i}.8 || die
done
- # Drop the .pc file to avoid automagic depends.
- # This a temporary workaround for gx86 packages.
- rm -f "${D}"/usr/share/pkgconfig/systemd.pc || die
-
keepdir /run
}
+pkg_preinst() {
+ local CONFIG_CHECK="~AUTOFS4_FS ~CGROUPS ~DEVTMPFS ~FANOTIFY ~IPV6"
+ kernel_is -ge ${MINKV//./ } || ewarn "Kernel version at least ${MINKV} required"
+ check_extra_config
+}
+
+optfeature() {
+ elog " [$(has_version ${1} && echo I || echo ' ')] ${1} (${2})"
+}
+
pkg_postinst() {
if [[ ! -L "${ROOT}"etc/mtab ]]; then
ewarn "Upstream suggests that the /etc/mtab file should be a symlink to /proc/mounts."
@@ -126,6 +124,12 @@ pkg_postinst() {
elog " $ man tmpfiles.d"
elog
+ elog "To get additional features, a number of optional runtime dependencies may"
+ elog "be installed:"
+ optfeature 'dev-python/dbus-python' 'for systemd-analyze'
+ optfeature 'dev-python/pycairo[svg]' 'for systemd-analyze plotting ability'
+ elog
+
ewarn "Please note this is a work-in-progress and many packages in Gentoo"
ewarn "do not supply systemd unit files yet. You are testing it on your own"
ewarn "responsibility. Please remember than you can pass:"