From ce7abfc2ff3974449e6183f51357a80fe68a96d1 Mon Sep 17 00:00:00 2001 From: Henry Gebhardt Date: Sun, 1 Sep 2013 10:49:27 -0400 Subject: sys-apps/systemd-units-20: serivces-basic no longer exists --- sys-apps/systemd-units/systemd-units-19.ebuild | 49 -------------------------- sys-apps/systemd-units/systemd-units-20.ebuild | 45 +++++++++++++++++++++++ 2 files changed, 45 insertions(+), 49 deletions(-) delete mode 100644 sys-apps/systemd-units/systemd-units-19.ebuild create mode 100644 sys-apps/systemd-units/systemd-units-20.ebuild diff --git a/sys-apps/systemd-units/systemd-units-19.ebuild b/sys-apps/systemd-units/systemd-units-19.ebuild deleted file mode 100644 index bbb1a75..0000000 --- a/sys-apps/systemd-units/systemd-units-19.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=3 -inherit eutils systemd - -DESCRIPTION="Service files for sys-apps/systemd" -HOMEPAGE="http://www.freedesktop.org/wiki/Software/systemd http://en.gentoo-wiki.com/wiki/Systemd" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+basic +desktop server" - -RDEPEND="" -DEPEND="" - -src_install() { - if use basic; then - systemd_dounit "${FILESDIR}"/services-basic/* - fi - - if use server; then - systemd_dounit "${FILESDIR}"/services-server/* - systemd_dotmpfilesd "${FILESDIR}"/tmpfiles-server/* - ( - insinto /etc/kernel/postinst.d/ - doins "${FILESDIR}"/90_kexec - ) - fi - - if use desktop; then - systemd_dounit "${FILESDIR}"/services-desktop/* - fi - - # Files in portage cannot contain a literal '@' character. Therfore, - # convert the code string "_at" into an '@' before installing. - rename '_at' '@' "${D}/$(systemd_get_unitdir)"/* -} - -pkg_postinst() { - if use server; then - elog "The file '${ROOT}etc/kernel/postinst.d/90_kexec' has been" - elog "installed for you. If you use kexec, you may want to enable it by" - elog "making it exectuable." - fi -} diff --git a/sys-apps/systemd-units/systemd-units-20.ebuild b/sys-apps/systemd-units/systemd-units-20.ebuild new file mode 100644 index 0000000..9487fe6 --- /dev/null +++ b/sys-apps/systemd-units/systemd-units-20.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 +inherit eutils systemd + +DESCRIPTION="Service files for sys-apps/systemd" +HOMEPAGE="http://www.freedesktop.org/wiki/Software/systemd http://en.gentoo-wiki.com/wiki/Systemd" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+desktop server" + +RDEPEND="" +DEPEND="" + +src_install() { + if use server; then + systemd_dounit "${FILESDIR}"/services-server/* + systemd_dotmpfilesd "${FILESDIR}"/tmpfiles-server/* + ( + insinto /etc/kernel/postinst.d/ + doins "${FILESDIR}"/90_kexec + ) + fi + + if use desktop; then + systemd_dounit "${FILESDIR}"/services-desktop/* + fi + + # Files in portage cannot contain a literal '@' character. Therfore, + # convert the code string "_at" into an '@' before installing. + rename '_at' '@' "${D}/$(systemd_get_unitdir)"/* +} + +pkg_postinst() { + if use server; then + elog "The file '${ROOT}etc/kernel/postinst.d/90_kexec' has been" + elog "installed for you. If you use kexec, you may want to enable it by" + elog "making it exectuable." + fi +} -- cgit v1.2.3-65-gdbad