diff options
author | 2012-12-01 15:26:39 +0000 | |
---|---|---|
committer | 2012-12-01 15:26:39 +0000 | |
commit | bcf8bed380d4c1bfcd717497811769f3ff2a6a8a (patch) | |
tree | 434bb55424c59f672bda203e1557c188b8e916c2 /sys-apps | |
parent | Add lirc USE flag making kremotecontrol optional, wrt bug #445150. (diff) | |
download | historical-bcf8bed380d4c1bfcd717497811769f3ff2a6a8a.tar.gz historical-bcf8bed380d4c1bfcd717497811769f3ff2a6a8a.tar.bz2 historical-bcf8bed380d4c1bfcd717497811769f3ff2a6a8a.zip |
Drop old.
Package-Manager: portage-2.2.0_alpha143/cvs/Linux x86_64
Manifest-Sign-Key: 0x42B9401D
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/systemd/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/systemd/Manifest | 22 | ||||
-rw-r--r-- | sys-apps/systemd/systemd-189-r3.ebuild | 189 | ||||
-rw-r--r-- | sys-apps/systemd/systemd-191-r1.ebuild | 194 | ||||
-rw-r--r-- | sys-apps/systemd/systemd-192.ebuild | 191 | ||||
-rw-r--r-- | sys-apps/systemd/systemd-193.ebuild | 194 | ||||
-rw-r--r-- | sys-apps/systemd/systemd-194.ebuild | 202 |
7 files changed, 12 insertions, 987 deletions
diff --git a/sys-apps/systemd/ChangeLog b/sys-apps/systemd/ChangeLog index 2acde8433842..c2a5984b80eb 100644 --- a/sys-apps/systemd/ChangeLog +++ b/sys-apps/systemd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/systemd # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.59 2012/10/27 21:52:57 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.60 2012/12/01 15:26:35 mgorny Exp $ + + 01 Dec 2012; Michał Górny <mgorny@gentoo.org> -systemd-189-r3.ebuild, + -systemd-191-r1.ebuild, -systemd-192.ebuild, -systemd-193.ebuild, + -systemd-194.ebuild: + Drop old. 27 Oct 2012; Michał Górny <mgorny@gentoo.org> systemd-195.ebuild: Disable storing coredumps again, since it is insecure (bug #433457, c9). diff --git a/sys-apps/systemd/Manifest b/sys-apps/systemd/Manifest index 1a82f3954ba9..bde5ec1ad7ea 100644 --- a/sys-apps/systemd/Manifest +++ b/sys-apps/systemd/Manifest @@ -14,26 +14,16 @@ AUX update-etc-systemd-symlinks.service 165 SHA256 77f199392367cefc6d70110b955fb AUX update-etc-systemd-symlinks.sh 451 SHA256 1ed27cf8c2ca5ab862b9d935eec613d1a21ceb4cc363a4bfdac6430387e350df SHA512 e672ed60bc1e8ad614f7c7b0284284b61c9bbdf38370119ef47acdbbfe283eebe5e3760211c43fcc982f5d26b965542cfa0df3c3b58ac82a322452b1fed496dd WHIRLPOOL 3100dad0a68f0758f80e2eab8a65d6c69d5c04e64f295d37b752645cfa556dca776b34ec760089a61e236b448b5e08c1d7d27d02e519cb94db96cc66a71043d9 AUX var-lock.mount 541 SHA256 2929247db87c75b82d651ae902183b2a9fab48052b422008fa8ec2aafc22868a SHA512 8a4d72c63794676a01db2792b44fa39ec4ea80db97f2b54904f5b118a776c08721d360f8bb2ed15da12e922dbac3f2a431d6a6f98831bef3520d781d97d665db WHIRLPOOL e83955a1d86400ee16d35d61eaa35fb3050af2b2805a2049c37a602be1bd60233caaa1cadbbd4a3b3e425a44629c9cac921a5c4b2fca9003a45e49b89298ca50 AUX var-run.mount 536 SHA256 55b9e277560b875475535f8121ad45e7fcee836bb48efe2c4f361ff89d450888 SHA512 173097fc2318be854b09ee5244d1dd6291cf6c6ad0c18f1bbbb12b186d309a4299d3866e52659f91a37ff2541583d85754841e55c35ea93dd1916dce0bebb1f6 WHIRLPOOL 47cfff43bdadd7ea59d920dee102283d5eeae6ecfb64aeaf7ee23890f3483cb3f3fdb43ad014bb074122b34d86bf6a6a707a42819b6ee7fd66506808a0557a01 -DIST systemd-189.tar.xz 1371872 SHA256 fec0efd82c9f1bdff6cb9d9811c00830ed890dbe915e79c90ae306cdbd8c4529 SHA512 a275dc93ad68a95f6695cd4d5472d15c3a3a0439944ce54b5dc6bd14500755d769e708510877e5681b4906ef2b8eb0d67c3d77a161db717e6e9a43888c3b50af WHIRLPOOL cd3377da687f12e0a07cbf6fe74b362bbd4118905a7b2e3488170b9b0ca88238a0379df9b18e9cd506e6544311ae83cd26f493568d85b457a1a2469e06083713 -DIST systemd-191.tar.xz 1401640 SHA256 2fa0a2b4a1eb855f4e1d7f4f1a1883cd43d68dc3534d130a1095293d1bfa1d64 SHA512 9d0636df307d37f95a77368a7392d40e15a16354c838c9415af700fbd86f0da6474f5750fe2d93018984169107943be2cb87bff4b5f432afba6956ee1bd4a2bd WHIRLPOOL eea13b258cb8762a7c650333974011c6319cf3c1664363fc027c64d67199f83f597729b22a130b0c0058a6b31eafcb363baa2c66f864b3a8dc3a0175de043c26 -DIST systemd-192.tar.xz 1405792 SHA256 55c449554ab68c7b237e86584a69b6e60538b4853ef7b6e5317d9d3e78f0c30f SHA512 d2c6179b250b4e1a3c019199fb46a4115f850cfb6d39c8b2232bc3ff0f87b1eb662d0aa4c13a5a554fd0103a8fe52c6e538150df4abac5815516f65ade130828 WHIRLPOOL db15a1458a2d02a548a5f1b5a0e10dab2913a807396e0b734f8e4834103f77c6d6e45379d4d10263cdf3154b0c3fe4562a7fe79236f8eff120198947bddeed42 -DIST systemd-193.tar.xz 1413652 SHA256 b9db6be1fa4a9c89c088ceec39f0d24de63ab76831b12916f147841262ac0ecd SHA512 6eefb9adb62b0190298b1f3de0c6e4e91e5d58780cc563924a5445b6482ed2cf53213167e01b28695c84f385bead571c50eb5e3097c901278520de4c37fd7f0a WHIRLPOOL 3376e7a94dd75cd59c02ee8a30a7ae61367948560289c4c3f4ece384f234fab0db814802db3c330f96066a0197671c5f23b6bb1988f7235316d8cdbdc283a2e6 -DIST systemd-194.tar.xz 1409672 SHA256 a275ce044f66f28c5ed0846e7019438ce8b5f596e8255f3455e32b3c0db5f631 SHA512 af42e1a6fb10d278aa9e0b429ee7ad31587e7e55b0b261ed164b191b882317ec54274d54ec1fa70b466a69f10388db4d6ad5e21568c9cbc1112e8f39312edc5f WHIRLPOOL 99971f466fbd58de6ee17412cdd017c24a4af69a0841ea67e9ef39a6f8c3cb1c92543e99a3d67be710645f4e3bc327d5ea47e3050093557c043ac755cac15b05 DIST systemd-195.tar.xz 1441308 SHA256 e9041a8b84ed971d08df2b96f1b7dbb1d49b788e275c7cc39912f656bd826303 SHA512 2ccd6ad065cd70aad7e666c1beba9fb31bff4dca7d54d00bfa54976e91795c1e19d5f595e88660ea3797699001613ae9204cf538fe8b0c321ba42bd7a4c402f5 WHIRLPOOL 24bd54fe3b0ddf523b9d1d30e64052ec96ac56644efce272f87d5d2cf65ec5660da404dc6c61b7ee8d66a97660fd11ce71abad0a4e7b61c6d991a07c7bfcd592 -EBUILD systemd-189-r3.ebuild 5672 SHA256 31312135e9fc3e13995250e87a2e22aeaf50f06b3fd5d95fac6d50c75cafab11 SHA512 4fca2fe58799c867b441fcd333a302873966ef3f40fc5114b54eab6aa0541038e88327da48f4174a0706a0a94dca341e3d26c2dbb4af09c38d24186dec02f9f7 WHIRLPOOL 1dcfb21fd29b2e0571c077933c036600416fb29ae1e1a833874408335be67173d27f6c9c0e70b7e2d21d44e6911a93b5a5535cee1b0d62ba8716fdf485648a19 -EBUILD systemd-191-r1.ebuild 5759 SHA256 e23491c6aae73b55cc9a9ac6dd0b876dea73f1432cfa34d19f51f6ea7a869b88 SHA512 5dfea751826e13c25796ee6de051c8ffc7b0554fc219f9c0a6d808583b87e075a87386d2d926b6ccbbaa22ac0b2b7c4aeb6eb3701dac1a112db2eda17676b5f3 WHIRLPOOL 112ef96a5c15af318adbcdf7c5dfc6888809e6cafc156f6b5ce64a7d48c54873325f41c4c3c643ed0f10252ebb37584fcae04a17889d95524281057725317c6d -EBUILD systemd-192.ebuild 5573 SHA256 705c7cdd3f3230db8b098733e5134a9c88174264950c3b9b5029375fce10785e SHA512 73f65d6f5db3a8298f24f73960755016ba87f458f4524cbf12ee5812e9bdfdcd7b98ff36bbd319e915c689399aa7787c328b2f0a6531cae193d6a6f5d120f44e WHIRLPOOL 31c0d61b88b64d5919f6d252aa79ec6fd7528e54fa210f5620216400efc997e644cc8cfa62c2b0eafa405582c1b37c48d49764c19f417f8b13ad1a347b0781fa -EBUILD systemd-193.ebuild 5663 SHA256 e1a8810969bd63d6de0b312fe568a1ab2ec07b74db18950c837b655207edb379 SHA512 e6744052b73426f1ac656a6e3840a92a3e3b3cdf61b539e2ed4f8a8ec37ce0cb69289fcdcaf6b09f619f1b94d8a995d5797e1d35f8bfc58d52a59b5fe97abcbc WHIRLPOOL 1a581ee2057ba3be0f0089ef9a9a07cbaa0112b0ffcedf58a03b2ab06f99686931214bcaeb119fb6542281bb3871a9ac003997a2fd4c77ee0b3137809a851be1 -EBUILD systemd-194.ebuild 5989 SHA256 888f67c18afbeaebdbebb6662ef3d43fa6da746acdf8351c9f96f964a8bcb648 SHA512 d99775ad37286724b22e592d13bb5c7a761849179385948998f4707800e0cb2b19af97f08966d15820a816bdcc9322db81cb362da8fc20ada031272b99763ac3 WHIRLPOOL 5997688801935fa86f6f9b4df4f72216984ddb14aa917c200cf5e31f26ee648acc008976f4654fe5f192b5b539adf6a3ccae46e9b86e2931a973b281f5ed15c7 EBUILD systemd-195.ebuild 6195 SHA256 c2f7e248249ed97952e2448ac316e52430825c67b437e6d79442437da6fd2a10 SHA512 0c980d8274647973f4ab3024d73d409805d8eb66f31125a94c82c24adc4fa7468d1a6dc975980dde1db319781b77fd5f43c8a9bd38db53e63f63154ead1b3eb9 WHIRLPOOL 01f2e3d8bcf195cf097574c9b5b0ee636d17255f7e71ca2dc572e3ea7950ba059f90e5061103b828797a56ca44baafefc6bb305b8a3e99619322410c85a9a216 -MISC ChangeLog 11674 SHA256 8c27a47241ce44c90225e4b025049ba3342077264b2f437728fb7ea7693190ab SHA512 d08f02c1fa1a7a6483892abffb409c61494679eaccbbecddfd8a5cc6a7aac8550278c7adba5bda81e16ff3f8f3f7689c7f013e0eaf0a568e5de236568e8f4d88 WHIRLPOOL cefec81179d28f6aaf2e6ba1194535fc1d7e05e8bc55f2c5032758c6e4f867a139a35c7358e7caca484bdd34202b4ed69637a81d20dbc82ee0eee5d8680713e6 +MISC ChangeLog 11852 SHA256 dca9265dc981e0e8ce38f113b3cac8fc28f6549bc0d51f0acddba1f5a786d477 SHA512 fb42fd933a5b5155efa0e13e580a5dc226089e4c0a41acfe1dc6ec3dae2737a7551ebbeb37ac79968c3fa3d157c4f47f04de1914cc47c1b2ddd0248cc8053678 WHIRLPOOL 103984ee2a0097148c4e5d9b3db3704dddef0a264db3708b6a154da3dd71cdf00fb2ea50f97d48cbeaec5a79050b9e110f665af0dcd3f995d3356041b594c0a4 MISC metadata.xml 721 SHA256 ac3cd3bc95546a82eabab664a3bc962f616b0185a4a368d2481a9bfc768be767 SHA512 9f75d64c7647c8be41bc1f8cfc8b7fbb025f337929d72fa295e274ca2f1ca98edc5b6f4373e81b585a56b12c2f9fdd14966a5d0c4982c6eeb908a6240348eaf4 WHIRLPOOL 5651a5ebba32164a7122cf3e5203da178e2965464c6b052c62020d41597f8bd03b3622fac761b458e7418642f83753ea3b0cc0426742a21917902b48439da4db -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iJwEAQEIAAYFAlCMV/UACgkQfXuS5UK5QB1YVwP/QfojGrh445xydwLU6iMaBt60 -bojTqpBbn4g2lymgX0vUHwukoSSHtMBFVupo9dQQB9i4M9qdQRUtBvhNOwVp4Inc -eE5/znKpfhWBEnicZiNwO6jjwLBY2zezLdNG23IMDbY9mKKbgMG+FlT5e873LLp4 -KhidzzdUbsUnhtv2rug= -=o4aF +iJwEAQEIAAYFAlC6Ia8ACgkQfXuS5UK5QB0UpQQAlZAuB1JEDbSfLAzU2zeq4hkf +oyMkDr4+T6BZyQ0FMzPHLbTr7ixigQgFQHWYA/Ylj2P0PWdnsZkSJHEKzZG3swrZ +tFRcryQ5cdu6kC4o5DPaz/uf7Tj6Dq57jRWU+VMQ3icTHV8dcf/tAhpFuw90OhHu +eY8Fh4tYDl+GL5A8Qbo= +=B7Mb -----END PGP SIGNATURE----- diff --git a/sys-apps/systemd/systemd-189-r3.ebuild b/sys-apps/systemd/systemd-189-r3.ebuild deleted file mode 100644 index 177828604942..000000000000 --- a/sys-apps/systemd/systemd-189-r3.ebuild +++ /dev/null @@ -1,189 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-189-r3.ebuild,v 1.1 2012/09/17 09:56:27 mgorny Exp $ - -EAPI=4 - -inherit autotools-utils bash-completion-r1 linux-info pam systemd user - -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.xz" - -LICENSE="GPL-2 LGPL-2.1 MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="acl audit cryptsetup gcrypt lzma pam qrcode selinux tcpd" - -MINKV="2.6.39" - -COMMON_DEPEND=">=sys-apps/dbus-1.4.10 - >=sys-apps/kmod-5 - >=sys-apps/util-linux-2.20 - ~sys-fs/udev-189 - sys-libs/libcap - acl? ( sys-apps/acl ) - audit? ( >=sys-process/audit-2 ) - cryptsetup? ( >=sys-fs/cryptsetup-1.4.2 ) - gcrypt? ( >=dev-libs/libgcrypt-1.4.5 ) - lzma? ( app-arch/xz-utils ) - pam? ( virtual/pam ) - qrcode? ( media-gfx/qrencode ) - selinux? ( sys-libs/libselinux ) - tcpd? ( sys-apps/tcp-wrappers )" - -RDEPEND="${COMMON_DEPEND} - sys-apps/hwids - || ( - >=sys-apps/util-linux-2.22 - <sys-apps/sysvinit-2.88-r4 - ) - !<sys-libs/glibc-2.10 - !~sys-fs/udev-187" -DEPEND="${COMMON_DEPEND} - app-arch/xz-utils - app-text/docbook-xsl-stylesheets - dev-libs/libxslt - dev-util/gperf - dev-util/intltool - >=sys-kernel/linux-headers-${MINKV}" - -AUTOTOOLS_IN_SOURCE_BUILD=1 - -pkg_setup() { - enewgroup lock # used by var-lock.mount - enewgroup tty 5 # used by mount-setup for /dev/pts -} - -src_prepare() { - # systemd-analyze is for python2.7 only nowadays. - sed -i -e '1s/python/&2.7/' src/analyze/systemd-analyze - - # link against external udev. - sed -i -e 's:libudev\.la:-ludev:' Makefile.am - - local PATCHES=( - "${FILESDIR}"/0001-Disable-udev-targets-for-udev-189.patch - "${FILESDIR}"/0002-journald-add-missing-includes.patch - "${FILESDIR}"/0003-journal-add-HAVE_XZ-check-to-avoid-build-failure.patch - "${FILESDIR}"/0004-journal-don-t-try-to-compress-without-XZ.patch - ) - - autotools-utils_src_prepare - - # XXX: support it within eclass - eautomake -} - -src_configure() { - local myeconfargs=( - --localstatedir=/var - --with-distro=gentoo - # install everything to /usr - --with-rootprefix=/usr - --with-rootlibdir=/usr/$(get_libdir) - # but pam modules have to lie in /lib* - --with-pamlibdir=/$(get_libdir)/security - # this avoids dep on pciutils & usbutils - --with-pci-ids-path=/usr/share/misc/pci.ids - --with-usb-ids-path=/usr/share/misc/usb.ids - # make sure we get /bin:/sbin in $PATH - --enable-split-usr - # udev parts - --disable-introspection - --disable-gtk-doc - --disable-gudev - $(use_enable acl) - $(use_enable audit) - $(use_enable cryptsetup libcryptsetup) - $(use_enable gcrypt) - $(use_enable lzma xz) - $(use_enable pam) - $(use_enable qrcode qrencode) - $(use_enable selinux) - $(use_enable tcpd tcpwrap) - ) - - autotools-utils_src_configure -} - -src_install() { - autotools-utils_src_install \ - bashcompletiondir=/tmp - - # compat for init= use - dosym ../usr/lib/systemd/systemd /bin/systemd - dosym ../lib/systemd/systemd /usr/bin/systemd - # rsyslog.service depends on it... - dosym ../usr/bin/systemctl /bin/systemctl - - # move files as necessary - newbashcomp "${D}"/tmp/systemd-bash-completion.sh ${PN} - rm -r "${D}"/tmp || die - - # we just keep sysvinit tools, so no need for the mans - rm "${D}"/usr/share/man/man8/{halt,poweroff,reboot,runlevel,shutdown,telinit}.8 \ - || die - rm "${D}"/usr/share/man/man1/init.1 || die - - # Create /run/lock as required by new baselay/OpenRC compat. - systemd_dotmpfilesd "${FILESDIR}"/gentoo-run.conf - - # Add mount-rules for /var/lock and /var/run, bug #433607 - systemd_dounit "${FILESDIR}"/var-{lock,run}.mount - systemd_enable_service sysinit.target var-lock.mount - systemd_enable_service sysinit.target var-run.mount - - # Check whether we won't break user's system. - [[ -x "${D}"/bin/systemd ]] || die '/bin/systemd symlink broken, aborting.' - [[ -x "${D}"/usr/bin/systemd ]] || die '/usr/bin/systemd symlink broken, aborting.' -} - -pkg_preinst() { - local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS ~DEVTMPFS - ~FANOTIFY ~HOTPLUG ~INOTIFY_USER ~IPV6 ~NET ~PROC_FS ~SIGNALFD - ~SYSFS ~!IDE ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2" - kernel_is -ge ${MINKV//./ } || ewarn "Kernel version at least ${MINKV} required" - check_extra_config -} - -optfeature() { - local i desc=${1} text - shift - - text=" [\e[1m$(has_version ${1} && echo I || echo ' ')\e[0m] ${1}" - shift - - for i; do - elog "${text}" - text="& [\e[1m$(has_version ${1} && echo I || echo ' ')\e[0m] ${1}" - done - elog "${text} (${desc})" -} - -pkg_postinst() { - mkdir -p "${ROOT}"/run || ewarn "Unable to mkdir /run, this could mean trouble." - 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 "To get additional features, a number of optional runtime dependencies may" - elog "be installed:" - optfeature 'for systemd-analyze' \ - 'dev-lang/python:2.7' 'dev-python/dbus-python' - optfeature 'for systemd-analyze plotting ability' \ - 'dev-python/pycairo[svg]' - optfeature 'for GTK+ systemadm UI and gnome-ask-password-agent' \ - 'sys-apps/systemd-ui' - 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." -} diff --git a/sys-apps/systemd/systemd-191-r1.ebuild b/sys-apps/systemd/systemd-191-r1.ebuild deleted file mode 100644 index e4c11214ee74..000000000000 --- a/sys-apps/systemd/systemd-191-r1.ebuild +++ /dev/null @@ -1,194 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-191-r1.ebuild,v 1.1 2012/09/26 05:22:05 mgorny Exp $ - -EAPI=4 - -inherit autotools-utils bash-completion-r1 linux-info pam systemd user - -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.xz" - -LICENSE="GPL-2 LGPL-2.1 MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="acl audit cryptsetup gcrypt lzma pam qrcode selinux tcpd" - -MINKV="2.6.39" - -COMMON_DEPEND=">=sys-apps/dbus-1.4.10 - >=sys-apps/kmod-5 - >=sys-apps/util-linux-2.20 - ~sys-fs/udev-191 - sys-libs/libcap - acl? ( sys-apps/acl ) - audit? ( >=sys-process/audit-2 ) - cryptsetup? ( >=sys-fs/cryptsetup-1.4.2 ) - gcrypt? ( >=dev-libs/libgcrypt-1.4.5 ) - lzma? ( app-arch/xz-utils ) - pam? ( virtual/pam ) - qrcode? ( media-gfx/qrencode ) - selinux? ( sys-libs/libselinux ) - tcpd? ( sys-apps/tcp-wrappers )" - -RDEPEND="${COMMON_DEPEND} - sys-apps/hwids - || ( - >=sys-apps/util-linux-2.22 - <sys-apps/sysvinit-2.88-r4 - ) - !<sys-libs/glibc-2.10 - !~sys-fs/udev-187" - -# sys-fs/quota is necessary to store correct paths in unit files -DEPEND="${COMMON_DEPEND} - app-arch/xz-utils - app-text/docbook-xsl-stylesheets - dev-libs/libxslt - dev-util/gperf - dev-util/intltool - sys-fs/quota - >=sys-kernel/linux-headers-${MINKV}" - -AUTOTOOLS_IN_SOURCE_BUILD=1 - -pkg_setup() { - enewgroup lock # used by var-lock.mount - enewgroup tty 5 # used by mount-setup for /dev/pts -} - -src_prepare() { - # systemd-analyze is for python2.7 only nowadays. - sed -i -e '1s/python/&2.7/' src/analyze/systemd-analyze - - # link against external udev. - sed -i -e 's:libudev\.la:-ludev:' Makefile.am - - local PATCHES=( - "${FILESDIR}"/${PV}-0001-Disable-udev-targets-for-udev-190.patch - "${FILESDIR}"/${PV}-0002-journal-bring-mmap-cache-prototype-in-sync.patch - "${FILESDIR}"/${PV}-0003-log-fix-repeated-invocation-of-vsnprintf-vaprintf-in.patch - ) - - autotools-utils_src_prepare - - # XXX: support it within eclass - eautomake -} - -src_configure() { - local myeconfargs=( - --localstatedir=/var - --with-distro=gentoo - # install everything to /usr - --with-rootprefix=/usr - --with-rootlibdir=/usr/$(get_libdir) - # but pam modules have to lie in /lib* - --with-pamlibdir=/$(get_libdir)/security - # this avoids dep on pciutils & usbutils - --with-pci-ids-path=/usr/share/misc/pci.ids - --with-usb-ids-path=/usr/share/misc/usb.ids - # make sure we get /bin:/sbin in $PATH - --enable-split-usr - # udev parts - --disable-introspection - --disable-gtk-doc - --disable-gudev - $(use_enable acl) - $(use_enable audit) - $(use_enable cryptsetup libcryptsetup) - $(use_enable gcrypt) - $(use_enable lzma xz) - $(use_enable pam) - $(use_enable qrcode qrencode) - $(use_enable selinux) - $(use_enable tcpd tcpwrap) - - # Disable Python for now. - PYTHON=: - ) - - autotools-utils_src_configure -} - -src_install() { - autotools-utils_src_install \ - bashcompletiondir=/tmp - - # compat for init= use - dosym ../usr/lib/systemd/systemd /bin/systemd - dosym ../lib/systemd/systemd /usr/bin/systemd - # rsyslog.service depends on it... - dosym ../usr/bin/systemctl /bin/systemctl - - # move files as necessary - newbashcomp "${D}"/tmp/systemd-bash-completion.sh ${PN} - rm -r "${D}"/tmp || die - - # we just keep sysvinit tools, so no need for the mans - rm "${D}"/usr/share/man/man8/{halt,poweroff,reboot,runlevel,shutdown,telinit}.8 \ - || die - rm "${D}"/usr/share/man/man1/init.1 || die - - # Create /run/lock as required by new baselay/OpenRC compat. - systemd_dotmpfilesd "${FILESDIR}"/gentoo-run.conf - - # Add mount-rules for /var/lock and /var/run, bug #433607 - systemd_dounit "${FILESDIR}"/var-{lock,run}.mount - systemd_enable_service sysinit.target var-lock.mount - systemd_enable_service sysinit.target var-run.mount - - # Check whether we won't break user's system. - [[ -x "${D}"/bin/systemd ]] || die '/bin/systemd symlink broken, aborting.' - [[ -x "${D}"/usr/bin/systemd ]] || die '/usr/bin/systemd symlink broken, aborting.' -} - -pkg_preinst() { - local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS ~DEVTMPFS - ~FANOTIFY ~HOTPLUG ~INOTIFY_USER ~IPV6 ~NET ~PROC_FS ~SIGNALFD - ~SYSFS ~!IDE ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2" - kernel_is -ge ${MINKV//./ } || ewarn "Kernel version at least ${MINKV} required" - check_extra_config -} - -optfeature() { - local i desc=${1} text - shift - - text=" [\e[1m$(has_version ${1} && echo I || echo ' ')\e[0m] ${1}" - shift - - for i; do - elog "${text}" - text="& [\e[1m$(has_version ${1} && echo I || echo ' ')\e[0m] ${1}" - done - elog "${text} (${desc})" -} - -pkg_postinst() { - mkdir -p "${ROOT}"/run || ewarn "Unable to mkdir /run, this could mean trouble." - 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 "To get additional features, a number of optional runtime dependencies may" - elog "be installed:" - optfeature 'for systemd-analyze' \ - 'dev-lang/python:2.7' 'dev-python/dbus-python' - optfeature 'for systemd-analyze plotting ability' \ - 'dev-python/pycairo[svg]' - optfeature 'for GTK+ systemadm UI and gnome-ask-password-agent' \ - 'sys-apps/systemd-ui' - 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." -} diff --git a/sys-apps/systemd/systemd-192.ebuild b/sys-apps/systemd/systemd-192.ebuild deleted file mode 100644 index 8e394a687257..000000000000 --- a/sys-apps/systemd/systemd-192.ebuild +++ /dev/null @@ -1,191 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-192.ebuild,v 1.1 2012/09/26 06:07:06 mgorny Exp $ - -EAPI=4 - -inherit autotools-utils bash-completion-r1 linux-info pam systemd user - -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.xz" - -LICENSE="GPL-2 LGPL-2.1 MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="acl audit cryptsetup gcrypt lzma pam qrcode selinux tcpd" - -MINKV="2.6.39" - -COMMON_DEPEND=">=sys-apps/dbus-1.4.10 - >=sys-apps/kmod-5 - >=sys-apps/util-linux-2.20 - ~sys-fs/udev-192 - sys-libs/libcap - acl? ( sys-apps/acl ) - audit? ( >=sys-process/audit-2 ) - cryptsetup? ( >=sys-fs/cryptsetup-1.4.2 ) - gcrypt? ( >=dev-libs/libgcrypt-1.4.5 ) - lzma? ( app-arch/xz-utils ) - pam? ( virtual/pam ) - qrcode? ( media-gfx/qrencode ) - selinux? ( sys-libs/libselinux ) - tcpd? ( sys-apps/tcp-wrappers )" - -RDEPEND="${COMMON_DEPEND} - sys-apps/hwids - || ( - >=sys-apps/util-linux-2.22 - <sys-apps/sysvinit-2.88-r4 - ) - !<sys-libs/glibc-2.10" - -# sys-fs/quota is necessary to store correct paths in unit files -DEPEND="${COMMON_DEPEND} - app-arch/xz-utils - app-text/docbook-xsl-stylesheets - dev-libs/libxslt - dev-util/gperf - dev-util/intltool - sys-fs/quota - >=sys-kernel/linux-headers-${MINKV}" - -AUTOTOOLS_IN_SOURCE_BUILD=1 - -pkg_setup() { - enewgroup lock # used by var-lock.mount - enewgroup tty 5 # used by mount-setup for /dev/pts -} - -src_prepare() { - # systemd-analyze is for python2.7 only nowadays. - sed -i -e '1s/python/&2.7/' src/analyze/systemd-analyze - - # link against external udev. - sed -i -e 's:libudev\.la:-ludev:' Makefile.am - - local PATCHES=( - "${FILESDIR}"/191-0001-Disable-udev-targets-for-udev-190.patch - ) - - autotools-utils_src_prepare - - # XXX: support it within eclass - eautomake -} - -src_configure() { - local myeconfargs=( - --localstatedir=/var - --with-distro=gentoo - # install everything to /usr - --with-rootprefix=/usr - --with-rootlibdir=/usr/$(get_libdir) - # but pam modules have to lie in /lib* - --with-pamlibdir=/$(get_libdir)/security - # this avoids dep on pciutils & usbutils - --with-pci-ids-path=/usr/share/misc/pci.ids - --with-usb-ids-path=/usr/share/misc/usb.ids - # make sure we get /bin:/sbin in $PATH - --enable-split-usr - # udev parts - --disable-introspection - --disable-gtk-doc - --disable-gudev - $(use_enable acl) - $(use_enable audit) - $(use_enable cryptsetup libcryptsetup) - $(use_enable gcrypt) - $(use_enable lzma xz) - $(use_enable pam) - $(use_enable qrcode qrencode) - $(use_enable selinux) - $(use_enable tcpd tcpwrap) - - # Disable Python for now. - PYTHON=: - ) - - autotools-utils_src_configure -} - -src_install() { - autotools-utils_src_install \ - bashcompletiondir=/tmp - - # compat for init= use - dosym ../usr/lib/systemd/systemd /bin/systemd - dosym ../lib/systemd/systemd /usr/bin/systemd - # rsyslog.service depends on it... - dosym ../usr/bin/systemctl /bin/systemctl - - # move files as necessary - newbashcomp "${D}"/tmp/systemd-bash-completion.sh ${PN} - rm -r "${D}"/tmp || die - - # we just keep sysvinit tools, so no need for the mans - rm "${D}"/usr/share/man/man8/{halt,poweroff,reboot,runlevel,shutdown,telinit}.8 \ - || die - rm "${D}"/usr/share/man/man1/init.1 || die - - # Create /run/lock as required by new baselay/OpenRC compat. - systemd_dotmpfilesd "${FILESDIR}"/gentoo-run.conf - - # Add mount-rules for /var/lock and /var/run, bug #433607 - systemd_dounit "${FILESDIR}"/var-{lock,run}.mount - systemd_enable_service sysinit.target var-lock.mount - systemd_enable_service sysinit.target var-run.mount - - # Check whether we won't break user's system. - [[ -x "${D}"/bin/systemd ]] || die '/bin/systemd symlink broken, aborting.' - [[ -x "${D}"/usr/bin/systemd ]] || die '/usr/bin/systemd symlink broken, aborting.' -} - -pkg_preinst() { - local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS ~DEVTMPFS - ~FANOTIFY ~HOTPLUG ~INOTIFY_USER ~IPV6 ~NET ~PROC_FS ~SIGNALFD - ~SYSFS ~!IDE ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2" - kernel_is -ge ${MINKV//./ } || ewarn "Kernel version at least ${MINKV} required" - check_extra_config -} - -optfeature() { - local i desc=${1} text - shift - - text=" [\e[1m$(has_version ${1} && echo I || echo ' ')\e[0m] ${1}" - shift - - for i; do - elog "${text}" - text="& [\e[1m$(has_version ${1} && echo I || echo ' ')\e[0m] ${1}" - done - elog "${text} (${desc})" -} - -pkg_postinst() { - mkdir -p "${ROOT}"/run || ewarn "Unable to mkdir /run, this could mean trouble." - 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 "To get additional features, a number of optional runtime dependencies may" - elog "be installed:" - optfeature 'for systemd-analyze' \ - 'dev-lang/python:2.7' 'dev-python/dbus-python' - optfeature 'for systemd-analyze plotting ability' \ - 'dev-python/pycairo[svg]' - optfeature 'for GTK+ systemadm UI and gnome-ask-password-agent' \ - 'sys-apps/systemd-ui' - 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." -} diff --git a/sys-apps/systemd/systemd-193.ebuild b/sys-apps/systemd/systemd-193.ebuild deleted file mode 100644 index a413c0f3bde6..000000000000 --- a/sys-apps/systemd/systemd-193.ebuild +++ /dev/null @@ -1,194 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-193.ebuild,v 1.1 2012/09/30 22:20:03 mgorny Exp $ - -EAPI=4 - -inherit autotools-utils bash-completion-r1 linux-info pam systemd user - -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.xz" - -LICENSE="GPL-2 LGPL-2.1 MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="acl audit cryptsetup gcrypt http lzma pam qrcode selinux tcpd" - -MINKV="2.6.39" - -COMMON_DEPEND=">=sys-apps/dbus-1.4.10 - >=sys-apps/kmod-5 - >=sys-apps/util-linux-2.20 - ~sys-fs/udev-193 - sys-libs/libcap - acl? ( sys-apps/acl ) - audit? ( >=sys-process/audit-2 ) - cryptsetup? ( >=sys-fs/cryptsetup-1.4.2 ) - gcrypt? ( >=dev-libs/libgcrypt-1.4.5 ) - http? ( net-libs/libmicrohttpd ) - lzma? ( app-arch/xz-utils ) - pam? ( virtual/pam ) - qrcode? ( media-gfx/qrencode ) - selinux? ( sys-libs/libselinux ) - tcpd? ( sys-apps/tcp-wrappers )" - -RDEPEND="${COMMON_DEPEND} - sys-apps/hwids - || ( - >=sys-apps/util-linux-2.22 - <sys-apps/sysvinit-2.88-r4 - ) - !<sys-libs/glibc-2.10 - !~sys-fs/udev-187" - -# sys-fs/quota is necessary to store correct paths in unit files -DEPEND="${COMMON_DEPEND} - app-arch/xz-utils - app-text/docbook-xsl-stylesheets - dev-libs/libxslt - dev-util/gperf - dev-util/intltool - sys-fs/quota - >=sys-kernel/linux-headers-${MINKV}" - -AUTOTOOLS_IN_SOURCE_BUILD=1 - -pkg_setup() { - enewgroup lock # used by var-lock.mount - enewgroup tty 5 # used by mount-setup for /dev/pts -} - -src_prepare() { - # systemd-analyze is for python2.7 only nowadays. - sed -i -e '1s/python/&2.7/' src/analyze/systemd-analyze - - # link against external udev. - sed -i -e 's:libudev\.la:-ludev:' Makefile.am - - local PATCHES=( - "${FILESDIR}"/191-0001-Disable-udev-targets-for-udev-190.patch - ) - - autotools-utils_src_prepare - - # XXX: support it within eclass - eautomake -} - -src_configure() { - local myeconfargs=( - --localstatedir=/var - --with-distro=gentoo - # install everything to /usr - --with-rootprefix=/usr - --with-rootlibdir=/usr/$(get_libdir) - # but pam modules have to lie in /lib* - --with-pamlibdir=/$(get_libdir)/security - # this avoids dep on pciutils & usbutils - --with-pci-ids-path=/usr/share/misc/pci.ids - --with-usb-ids-path=/usr/share/misc/usb.ids - # make sure we get /bin:/sbin in $PATH - --enable-split-usr - # udev parts - --disable-introspection - --disable-gtk-doc - --disable-gudev - $(use_enable acl) - $(use_enable audit) - $(use_enable cryptsetup libcryptsetup) - $(use_enable gcrypt) - $(use_enable http microhttpd) - $(use_enable lzma xz) - $(use_enable pam) - $(use_enable qrcode qrencode) - $(use_enable selinux) - $(use_enable tcpd tcpwrap) - - # Disable Python for now. - PYTHON=: - ) - - autotools-utils_src_configure -} - -src_install() { - autotools-utils_src_install \ - bashcompletiondir=/tmp - - # compat for init= use - dosym ../usr/lib/systemd/systemd /bin/systemd - dosym ../lib/systemd/systemd /usr/bin/systemd - # rsyslog.service depends on it... - dosym ../usr/bin/systemctl /bin/systemctl - - # move files as necessary - newbashcomp "${D}"/tmp/systemd-bash-completion.sh ${PN} - rm -r "${D}"/tmp || die - - # we just keep sysvinit tools, so no need for the mans - rm "${D}"/usr/share/man/man8/{halt,poweroff,reboot,runlevel,shutdown,telinit}.8 \ - || die - rm "${D}"/usr/share/man/man1/init.1 || die - - # Create /run/lock as required by new baselay/OpenRC compat. - systemd_dotmpfilesd "${FILESDIR}"/gentoo-run.conf - - # Add mount-rules for /var/lock and /var/run, bug #433607 - systemd_dounit "${FILESDIR}"/var-{lock,run}.mount - systemd_enable_service sysinit.target var-lock.mount - systemd_enable_service sysinit.target var-run.mount - - # Check whether we won't break user's system. - [[ -x "${D}"/bin/systemd ]] || die '/bin/systemd symlink broken, aborting.' - [[ -x "${D}"/usr/bin/systemd ]] || die '/usr/bin/systemd symlink broken, aborting.' -} - -pkg_preinst() { - local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS ~DEVTMPFS - ~FANOTIFY ~HOTPLUG ~INOTIFY_USER ~IPV6 ~NET ~PROC_FS ~SIGNALFD - ~SYSFS ~!IDE ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2" - kernel_is -ge ${MINKV//./ } || ewarn "Kernel version at least ${MINKV} required" - check_extra_config -} - -optfeature() { - local i desc=${1} text - shift - - text=" [\e[1m$(has_version ${1} && echo I || echo ' ')\e[0m] ${1}" - shift - - for i; do - elog "${text}" - text="& [\e[1m$(has_version ${1} && echo I || echo ' ')\e[0m] ${1}" - done - elog "${text} (${desc})" -} - -pkg_postinst() { - mkdir -p "${ROOT}"/run || ewarn "Unable to mkdir /run, this could mean trouble." - 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 "To get additional features, a number of optional runtime dependencies may" - elog "be installed:" - optfeature 'for systemd-analyze' \ - 'dev-lang/python:2.7' 'dev-python/dbus-python' - optfeature 'for systemd-analyze plotting ability' \ - 'dev-python/pycairo[svg]' - optfeature 'for GTK+ systemadm UI and gnome-ask-password-agent' \ - 'sys-apps/systemd-ui' - 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." -} diff --git a/sys-apps/systemd/systemd-194.ebuild b/sys-apps/systemd/systemd-194.ebuild deleted file mode 100644 index d96c622eea2c..000000000000 --- a/sys-apps/systemd/systemd-194.ebuild +++ /dev/null @@ -1,202 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-194.ebuild,v 1.2 2012/10/04 20:16:11 mgorny Exp $ - -EAPI=4 - -inherit autotools-utils bash-completion-r1 linux-info pam systemd user - -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.xz" - -LICENSE="GPL-2 LGPL-2.1 MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="acl audit cryptsetup gcrypt http lzma pam qrcode selinux tcpd" - -MINKV="2.6.39" - -COMMON_DEPEND=">=sys-apps/dbus-1.4.10 - >=sys-apps/kmod-5 - >=sys-apps/util-linux-2.20 - ~sys-fs/udev-194 - sys-libs/libcap - acl? ( sys-apps/acl ) - audit? ( >=sys-process/audit-2 ) - cryptsetup? ( >=sys-fs/cryptsetup-1.4.2 ) - gcrypt? ( >=dev-libs/libgcrypt-1.4.5 ) - http? ( net-libs/libmicrohttpd ) - lzma? ( app-arch/xz-utils ) - pam? ( virtual/pam ) - qrcode? ( media-gfx/qrencode ) - selinux? ( sys-libs/libselinux ) - tcpd? ( sys-apps/tcp-wrappers )" - -RDEPEND="${COMMON_DEPEND} - sys-apps/hwids - || ( - >=sys-apps/util-linux-2.22 - <sys-apps/sysvinit-2.88-r4 - ) - !<sys-libs/glibc-2.10 - !~sys-fs/udev-187" - -# sys-fs/quota is necessary to store correct paths in unit files -DEPEND="${COMMON_DEPEND} - app-arch/xz-utils - app-text/docbook-xsl-stylesheets - dev-libs/libxslt - dev-util/gperf - dev-util/intltool - sys-fs/quota - >=sys-kernel/linux-headers-${MINKV}" - -AUTOTOOLS_IN_SOURCE_BUILD=1 - -pkg_setup() { - enewgroup lock # used by var-lock.mount - enewgroup tty 5 # used by mount-setup for /dev/pts -} - -src_prepare() { - # systemd-analyze is for python2.7 only nowadays. - sed -i -e '1s/python/&2.7/' src/analyze/systemd-analyze - - # link against external udev. - sed -i -e 's:libudev\.la:-ludev:' Makefile.am - - local PATCHES=( - "${FILESDIR}"/191-0001-Disable-udev-targets-for-udev-190.patch - ) - - autotools-utils_src_prepare - - # XXX: support it within eclass - eautomake -} - -src_configure() { - local myeconfargs=( - --localstatedir=/var - --with-distro=gentoo - # install everything to /usr - --with-rootprefix=/usr - --with-rootlibdir=/usr/$(get_libdir) - # but pam modules have to lie in /lib* - --with-pamlibdir=/$(get_libdir)/security - # this avoids dep on pciutils & usbutils - --with-pci-ids-path=/usr/share/misc/pci.ids - --with-usb-ids-path=/usr/share/misc/usb.ids - # make sure we get /bin:/sbin in $PATH - --enable-split-usr - # udev parts - --disable-introspection - --disable-gtk-doc - --disable-gudev - $(use_enable acl) - $(use_enable audit) - $(use_enable cryptsetup libcryptsetup) - $(use_enable gcrypt) - $(use_enable http microhttpd) - $(use_enable lzma xz) - $(use_enable pam) - $(use_enable qrcode qrencode) - $(use_enable selinux) - $(use_enable tcpd tcpwrap) - - # Disable Python for now. - PYTHON=: - ) - - autotools-utils_src_configure -} - -src_install() { - autotools-utils_src_install \ - bashcompletiondir=/tmp - - # compat for init= use - dosym ../usr/lib/systemd/systemd /bin/systemd - dosym ../lib/systemd/systemd /usr/bin/systemd - # rsyslog.service depends on it... - dosym ../usr/bin/systemctl /bin/systemctl - - # move files as necessary - newbashcomp "${D}"/tmp/systemd-bash-completion.sh ${PN} - rm -r "${D}"/tmp || die - - # we just keep sysvinit tools, so no need for the mans - rm "${D}"/usr/share/man/man8/{halt,poweroff,reboot,runlevel,shutdown,telinit}.8 \ - || die - rm "${D}"/usr/share/man/man1/init.1 || die - - # Create /run/lock as required by new baselay/OpenRC compat. - systemd_dotmpfilesd "${FILESDIR}"/gentoo-run.conf - - # Add mount-rules for /var/lock and /var/run, bug #433607 - systemd_dounit "${FILESDIR}"/var-{lock,run}.mount - systemd_enable_service sysinit.target var-lock.mount - systemd_enable_service sysinit.target var-run.mount - - # Disable storing coredumps in journald, bug #433457 - mv "${D}"/usr/lib/sysctl.d/coredump.conf \ - "${D}"/etc/sysctl.d/coredump.conf.disabled || die - - # Preserve empty dirs in /etc & /var, bug #437008 - keepdir /etc/binfmt.d /etc/modules-load.d /etc/tmpfiles.d \ - /etc/systemd/ntp-units.d /etc/systemd/user /var/lib/systemd - - # Check whether we won't break user's system. - [[ -x "${D}"/bin/systemd ]] || die '/bin/systemd symlink broken, aborting.' - [[ -x "${D}"/usr/bin/systemd ]] || die '/usr/bin/systemd symlink broken, aborting.' -} - -pkg_preinst() { - local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS ~DEVTMPFS - ~FANOTIFY ~HOTPLUG ~INOTIFY_USER ~IPV6 ~NET ~PROC_FS ~SIGNALFD - ~SYSFS ~!IDE ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2" - kernel_is -ge ${MINKV//./ } || ewarn "Kernel version at least ${MINKV} required" - check_extra_config -} - -optfeature() { - local i desc=${1} text - shift - - text=" [\e[1m$(has_version ${1} && echo I || echo ' ')\e[0m] ${1}" - shift - - for i; do - elog "${text}" - text="& [\e[1m$(has_version ${1} && echo I || echo ' ')\e[0m] ${1}" - done - elog "${text} (${desc})" -} - -pkg_postinst() { - mkdir -p "${ROOT}"/run || ewarn "Unable to mkdir /run, this could mean trouble." - 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 "To get additional features, a number of optional runtime dependencies may" - elog "be installed:" - optfeature 'for systemd-analyze' \ - 'dev-lang/python:2.7' 'dev-python/dbus-python' - optfeature 'for systemd-analyze plotting ability' \ - 'dev-python/pycairo[svg]' - optfeature 'for GTK+ systemadm UI and gnome-ask-password-agent' \ - 'sys-apps/systemd-ui' - 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." -} |