Version bump. Committing unkeyworded as udev is delaying bump, bug #375263.
authorMichał Górny <mgorny@gentoo.org>
Tue, 9 Aug 2011 11:36:42 +0000 (11:36 +0000)
committerMichał Górny <mgorny@gentoo.org>
Tue, 9 Aug 2011 11:36:42 +0000 (11:36 +0000)
Package-Manager: portage-2.2.0_alpha50_p1/cvs/Linux x86_64

sys-apps/systemd/ChangeLog
sys-apps/systemd/Manifest
sys-apps/systemd/systemd-32.ebuild [new file with mode: 0644]

index a9f777be12c14215249f33993c45f661806e3408..55e8c501bf83c2a2e6b1b524b823bd711a3cb9a3 100644 (file)
@@ -1,6 +1,11 @@
 # 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.9 2011/06/24 20:56:01 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.10 2011/08/09 11:36:42 mgorny Exp $
+
+*systemd-32 (09 Aug 2011)
+
+  09 Aug 2011; Michał Górny <mgorny@gentoo.org> +systemd-32.ebuild:
+  Version bump. Committing unkeyworded as udev is delaying bump, bug #375263.
 
   24 Jun 2011; Michał Górny <mgorny@gentoo.org> systemd-29-r1.ebuild:
   Add systemd inherit to silence the new portage QA warning.
index 3cd6d000e8134d4a8c9821cef37322cdda29e6d8..16c5dbd24ef1c0a6f35b9ac2b5d6c17f398e4de0 100644 (file)
@@ -2,15 +2,17 @@
 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
-MISC ChangeLog 1624 RMD160 94503486a7be92493a8afa8fc72337b19dd3cfa9 SHA1 2adf0d3ef152ceaf342d598c138fd86a20f6e0f5 SHA256 aebdc6e74d77a5f172ed5ea77fde1dbfa2a48f0da04a8654bc7b862b44bfd9c7
+EBUILD systemd-32.ebuild 3959 RMD160 5abf4decd308168ea9817752be50a66bc8a67dd0 SHA1 e9be97c8f1eb69902668bb3f13b4bbba3525b514 SHA256 f03de84a31a7c09637f3982349bb6cc34dce7ec1b6ee1750a53cf044442ab3f5
+MISC ChangeLog 1801 RMD160 7452c2dbf5657e40ba8e34f7c52c41ea048451e8 SHA1 893b2ab682452c34effe22bb038b12e565d812ff SHA256 d984a6dc2fc63323813655c885d59e6906ed02158b1a4fc9ddaa400f971ac366
 MISC metadata.xml 524 RMD160 d51fb3f45aefd84a637f2f67cead553e12d389ab SHA1 4f86cab283737af9e58633d466e2588d80bec18c SHA256 0ee1c96fc4604189104897c95e2ded166e55be2e04af40523b2afb5564dbbe33
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
 
-iJwEAQEIAAYFAk4E+iUACgkQfXuS5UK5QB0nxwP/biD8ypNu5iw688Q7IMDjOTCg
-uQsXQkiiYTI+uaYhRL0M8gDvWJkRQpWPQ/OYYv33NzSvEkQcEm8FjlqmK0tG+yaH
-cOGD2Hedwv9FYUS/5EKtMjeT1AKJ7IGIQFtNq6pkqKlZ10zuarCf9bv+hnhwqrJr
-ewqN4rIaAwJp4Dk0BrE=
-=1ujg
+iJwEAQEIAAYFAk5BHC4ACgkQfXuS5UK5QB2LfAP+MuFcKTcpQs/RGH0kMwRFyKoO
+YL9ZjeRfnFR5vW81rZlUhQ+ADzo7yOnEp3h/rg9mrje/3G/ZydPKhcSHrlxVYVUy
+2TFVbZ++Yaa4b7LPvIOFGoqVXm2ohgDX8E/Ew+06Ok73zV10KQm1i9Edl3mcfBzF
+Tu1NLMxK7AMC1RPORiQ=
+=Dprp
 -----END PGP SIGNATURE-----
diff --git a/sys-apps/systemd/systemd-32.ebuild b/sys-apps/systemd/systemd-32.ebuild
new file mode 100644 (file)
index 0000000..1cf05d7
--- /dev/null
@@ -0,0 +1,140 @@
+# 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-32.ebuild,v 1.1 2011/08/09 11:36:42 mgorny Exp $
+
+EAPI=4
+
+inherit autotools-utils bash-completion linux-info pam systemd
+
+DESCRIPTION="System and service manager for Linux"
+HOMEPAGE="http://www.freedesktop.org/wiki/Software/systemd"
+SRC_URI="http://www.freedesktop.org/software/systemd/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="acl audit cryptsetup gtk pam plymouth selinux tcpd"
+
+COMMON_DEPEND=">=sys-apps/dbus-1.4.10
+       >=sys-apps/util-linux-2.19
+       >=sys-fs/udev-172
+       sys-libs/libcap
+       acl? ( sys-apps/acl )
+       audit? ( >=sys-process/audit-2 )
+       cryptsetup? ( sys-fs/cryptsetup )
+       gtk? (
+               dev-libs/dbus-glib
+               >=dev-libs/glib-2.26
+               x11-libs/gtk+:2
+               >=x11-libs/libnotify-0.7 )
+       pam? ( virtual/pam )
+       plymouth? ( sys-boot/plymouth )
+       selinux? ( sys-libs/libselinux )
+       tcpd? ( sys-apps/tcp-wrappers )"
+
+# Vala-0.10 doesn't work with libnotify 0.7.1
+VALASLOT="0.14"
+# A little higher than upstream requires
+# but I had real trouble with 2.6.37 and systemd.
+MINKV="2.6.38"
+
+# dbus, udev versions because of systemd units
+# blocker on old packages to avoid collisions with above
+# openrc blocker to avoid udev rules starting openrc scripts
+RDEPEND="${COMMON_DEPEND}
+       !<sys-apps/openrc-0.8.3"
+DEPEND="${COMMON_DEPEND}
+       dev-util/gperf
+       dev-util/intltool
+       gtk? ( dev-lang/vala:${VALASLOT} )
+       >=sys-kernel/linux-headers-${MINKV}"
+
+pkg_setup() {
+       enewgroup lock # used by var-lock.mount
+       enewgroup tty 5 # used by mount-setup for /dev/pts
+}
+
+src_prepare() {
+       # Force the rebuild of .vala sources
+       touch src/*.vala || die
+       autotools-utils_src_prepare
+}
+
+src_configure() {
+       local myeconfargs=(
+               --with-distro=gentoo
+               --with-rootdir=
+               --with-rootlibdir=$(get_libdir)
+               --localstatedir=/var
+               --docdir=/tmp/docs
+               $(use_enable acl)
+               $(use_enable audit)
+               $(use_enable cryptsetup libcryptsetup)
+               $(use_enable gtk)
+               $(use_enable pam)
+               $(use_enable plymouth)
+               $(use_enable selinux)
+               $(use_enable tcpd tcpwrap)
+       )
+
+       if use gtk; then
+               export VALAC="$(type -p valac-${VALASLOT})"
+       fi
+
+       autotools-utils_src_configure
+}
+
+src_install() {
+       autotools-utils_src_install \
+               bashcompletiondir=/tmp
+
+       # move files as necessary
+       dobashcompletion "${D}"/tmp/systemctl-bash-completion.sh
+       dodoc "${D}"/tmp/docs/*
+       rm -rf "${D}"/tmp || die
+
+       cd "${D}"/usr/share/man/man8/
+       for i in halt poweroff reboot runlevel shutdown telinit; do
+               mv ${i}.8 systemd.${i}.8 || die
+       done
+
+       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."
+               ewarn "It is known to cause users being unable to unmount user mounts. If you don't"
+               ewarn "require that specific feature, please call:"
+               ewarn " $ ln -sf '${ROOT}proc/self/mounts' '${ROOT}etc/mtab'"
+               ewarn
+       fi
+
+       elog "You may need to perform some additional configuration for some programs"
+       elog "to work, see the systemd manpages for loading modules and handling tmpfiles:"
+       elog "  $ man modules-load.d"
+       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:"
+       ewarn " init=/sbin/init"
+       ewarn "to your kernel to boot using sysvinit / OpenRC."
+}