diff options
author | Henry Gebhardt <hsggebhardt@googlemail.com> | 2011-04-07 23:36:44 +0200 |
---|---|---|
committer | Henry Gebhardt <hsggebhardt@googlemail.com> | 2011-04-07 23:36:44 +0200 |
commit | 2b138ce9e6e1fa017817eb305ee9ff228f1f59d3 (patch) | |
tree | 4381e48f5d255f7cb6550c01f89a16da4778921b /sys-apps | |
parent | sys-apps/systemd-23: version bump (diff) | |
download | systemd-2b138ce9e6e1fa017817eb305ee9ff228f1f59d3.tar.gz systemd-2b138ce9e6e1fa017817eb305ee9ff228f1f59d3.tar.bz2 systemd-2b138ce9e6e1fa017817eb305ee9ff228f1f59d3.zip |
sys-apps/systemd-24: version bump
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/systemd/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/systemd/systemd-24.ebuild | 125 |
2 files changed, 127 insertions, 0 deletions
diff --git a/sys-apps/systemd/Manifest b/sys-apps/systemd/Manifest index cc166de..471dec5 100644 --- a/sys-apps/systemd/Manifest +++ b/sys-apps/systemd/Manifest @@ -8,6 +8,7 @@ DIST systemd-20.tar.bz2 769688 RMD160 a5204fef5ed41f6e61232d023c8c645f5d7db9c3 S DIST systemd-21.tar.bz2 756387 RMD160 fffbd49a958df6ca58031802806883d47b3c3833 SHA1 92182bf9d3e5dfb0ea86a9cdfa9c4f09bdb2c13e SHA256 8e2698c76fa5043317dfe79e493ff2f8bd9ea5c1bc75e47d4e56b13c6efc6628 DIST systemd-22.tar.bz2 759149 RMD160 cfcb0502d9ab1bad8b2258fcb74b54362858925a SHA1 64c5347c79d5a1033b7c8fffd5fec0328a6a15e1 SHA256 b42b46b08e5ac8496e4bdb508a02ce9a8ec4d89532e1b740d40552e7a80ddcae DIST systemd-23.tar.bz2 764977 RMD160 c46394fe79c1d5ea2680e98752e858f39a0c638e SHA1 43942b27c26ae1f4424f6645de9f49d936488438 SHA256 14f842130661f0d086dd80bb3dc6315931de3bdc0eb2d921b5c044f0ae3dc5c7 +DIST systemd-24.tar.bz2 763671 RMD160 170bf702440cd9a3a454d05fd3a85e0eacdac3ad SHA1 6eb502ec8c9573fd769dab3ca8a2fc5ed8ce2680 SHA256 47c309cfe4c67114d98088f3b2210bf22465cdbbc751cb7a9b3d0741b8724651 EBUILD systemd-15.ebuild 2248 RMD160 5013a929d43f0078fdee05fc1cfbd55911223880 SHA1 795250d4ba2003b1cec9f216de8010f8be3049db SHA256 9b19c5fc1c22e908bdf72f147a832d11932c841f8cdc66e00e24a86d1522eed7 EBUILD systemd-17.ebuild 2772 RMD160 dfa19fc199820b8863ea930308450ef615c95368 SHA1 ebf066512f15b013be88990217d8010562e80a13 SHA256 8cb6e55a462f3bafdebe0d43446d49096a2c1d19bdcbc308caef620d7996df53 EBUILD systemd-18.ebuild 2640 RMD160 d09dd110131189e635dee8445ec2002b5f246e81 SHA1 290163a2414f1d712de62f7a792b3b1f2a92be46 SHA256 5c81c0912e77071d0b5e002d530118b94d9fba19f629ab92e7e1477ab4fcd8e6 @@ -16,5 +17,6 @@ EBUILD systemd-20.ebuild 3291 RMD160 b457429d86d532185e37da0b89c81586ba34a11b SH EBUILD systemd-21.ebuild 3205 RMD160 563288125330aff9d1f1d904b47a309de45fb035 SHA1 449af7242d2bca8b766ada58c300cbd8db7e36e2 SHA256 36773b9b94d0bcfc07057c1ee38e29d719ffb4989c52bcba0ce299e81dfb381c EBUILD systemd-22.ebuild 3205 RMD160 563288125330aff9d1f1d904b47a309de45fb035 SHA1 449af7242d2bca8b766ada58c300cbd8db7e36e2 SHA256 36773b9b94d0bcfc07057c1ee38e29d719ffb4989c52bcba0ce299e81dfb381c EBUILD systemd-23.ebuild 3205 RMD160 563288125330aff9d1f1d904b47a309de45fb035 SHA1 449af7242d2bca8b766ada58c300cbd8db7e36e2 SHA256 36773b9b94d0bcfc07057c1ee38e29d719ffb4989c52bcba0ce299e81dfb381c +EBUILD systemd-24.ebuild 3205 RMD160 563288125330aff9d1f1d904b47a309de45fb035 SHA1 449af7242d2bca8b766ada58c300cbd8db7e36e2 SHA256 36773b9b94d0bcfc07057c1ee38e29d719ffb4989c52bcba0ce299e81dfb381c EBUILD systemd-9999.ebuild 3077 RMD160 7d8f07f2aa567f4461c3b61eda0730c80e95e444 SHA1 93b84d98fac70f16b0f5d268426cc99c1705b5e6 SHA256 3841ecaa0200ff83d46a76e2ffb44ec8b2a4ea2e57638ebe53a720fe4d6f5d6c MISC metadata.xml 737 RMD160 cdd440f38c039bfa7967fd713ef238588c2e1fb4 SHA1 1dea5e1d1e388bf43131297667bb4dbba10e65dd SHA256 042b1b68c02c274920954280705e21c2ca2ef5eece3229aab03d8dd43e06422d diff --git a/sys-apps/systemd/systemd-24.ebuild b/sys-apps/systemd/systemd-24.ebuild new file mode 100644 index 0000000..f9b9361 --- /dev/null +++ b/sys-apps/systemd/systemd-24.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +inherit linux-info pam + +DESCRIPTION="systemd is a 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="~amd64 ~x86" +IUSE="audit gtk pam +tcpwrap sysv selinux" + +RDEPEND=" + >=sys-apps/dbus-1.4.0[systemd] + sys-libs/libcap + >=sys-fs/udev-163[systemd] + audit? ( sys-process/audit ) + gtk? ( >=x11-libs/gtk+-2.20 + x11-libs/libnotify + dev-libs/dbus-glib ) + tcpwrap? ( sys-apps/tcp-wrappers ) + pam? ( virtual/pam ) + selinux? ( sys-libs/libselinux ) + >=sys-apps/util-linux-2.19 + sys-apps/systemd-units +" +# Vala-0.10 doesn't work with libnotify 0.7.1 +VALASLOT="0.12" +DEPEND="${RDEPEND} + gtk? ( dev-lang/vala:$VALASLOT ) + >=sys-kernel/linux-headers-2.6.32 +" + +CONFIG_CHECK="AUTOFS4_FS CGROUPS DEVTMPFS ~FANOTIFY ~IPV6" + +pkg_setup() { + linux-info_pkg_setup + enewgroup lock # used by var-lock.mount + enewgroup tty 5 # used by mount-setup for /dev/pts +} + +src_prepare() { + # Force rebuild of .c files, necessary for gnome-ask-password-agent.c + for i in src/*.vala; do + touch "${i}" + done +} + +src_configure() { + local myconf= + + if use sysv; then + myconf="${myconf} --with-sysvinit-path=/etc/init.d --with-sysvrcd-path=/etc" + else + myconf="${myconf} --with-sysvinit-path= --with-sysvrcd-path=" + fi + + if use gtk; then + export VALAC="$(type -p valac-$VALASLOT)" + fi + + econf --with-distro=gentoo \ + --with-rootdir= \ + --localstatedir=/var \ + $(use_enable audit) \ + $(use_enable gtk) \ + $(use_enable pam) \ + $(use_enable tcpwrap) \ + $(use_enable selinux) \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc "${D}/usr/share/doc/systemd"/* && \ + rm -r "${D}/usr/share/doc/systemd/" + + cd "${D}"/usr/share/man/man8/ + for i in halt poweroff reboot runlevel shutdown telinit; do + mv ${i}.8 systemd.${i}.8 + done + + keepdir /run +} + +check_mtab_is_symlink() { + if test ! -L "${ROOT}"etc/mtab; then + ewarn "${ROOT}etc/mtab must be a symlink to ${ROOT}proc/self/mounts!" + ewarn "To correct that, execute" + ewarn " $ ln -sf '${ROOT}proc/self/mounts' '${ROOT}etc/mtab'" + fi +} + +systemd_machine_id_setup() { + einfo "Setting up /etc/machine-id..." + "${ROOT}"bin/systemd-machine-id-setup + if test $? != 0; then + ewarn "Setting up /etc/machine-id failed, to fix it please see" + ewarn " http://lists.freedesktop.org/archives/dbus/2011-March/014187.html" + elif test ! -L "${ROOT}"var/lib/dbus/machine-id; then + # This should be fixed in the dbus ebuild, but we warn about it here. + ewarn "${ROOT}var/lib/dbus/machine-id ideally should be a symlink to" + ewarn "${ROOT}etc/machine-id to make it clear that they have the same" + ewarn "content." + fi +} + +pkg_postinst() { + check_mtab_is_symlink + + systemd_machine_id_setup + + # Inform user about extra configuration + elog "You may need to perform some additional configuration for some" + elog "programs to work, see the systemd manpages for loading modules and" + elog "handling tmpfiles:" + elog " $ man modules-load.d" + elog " $ man tmpfiles.d" +} |