summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Gebhardt <hsggebhardt@googlemail.com>2011-06-25 12:23:13 +0200
committerHenry Gebhardt <hsggebhardt@googlemail.com>2011-06-25 12:23:13 +0200
commitc8e56144471b2e4b0f0d0d4df4e759513cbadab4 (patch)
tree6f9f9b9655737e30fa59d7cbec4bc32aad6458da
parentsys-apps/systemd: remove, use -9999 from mgorny overlay if needed (diff)
downloadsystemd-c8e56144471b2e4b0f0d0d4df4e759513cbadab4.tar.gz
systemd-c8e56144471b2e4b0f0d0d4df4e759513cbadab4.tar.bz2
systemd-c8e56144471b2e4b0f0d0d4df4e759513cbadab4.zip
eclass/systemd-local.eclass: remove, nothing should need it anymore
-rw-r--r--eclass/systemd-local.eclass43
1 files changed, 0 insertions, 43 deletions
diff --git a/eclass/systemd-local.eclass b/eclass/systemd-local.eclass
deleted file mode 100644
index 68de2fa..0000000
--- a/eclass/systemd-local.eclass
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-#
-# Original Author: Henry Gebhardt <hsggebhardt@googlemail.com>
-# Purpose: Provide common functions for systemd integration.
-#
-# Bugs to http://bugs.gentoo.org/show_bug.cgi?id=318365, or
-# hsggebhardt@googlemail.com.
-#
-
-inherit systemd
-
-IUSE="systemd"
-
-# doservices: install systemd .service files. Usage is 'doservices files....'.
-doservices() {
- [[ -z "${1}" ]] && die "usage: doservices <files...>"
- insinto "$(systemd_get_unitdir)"
- for i in "$@" ; do
- doins "$i" || die "doservices failed to install '$i'"
- done
-}
-
-# dotmpfiles: install systemd tmpfile files. Usage is 'dotmpfiles files....'.
-dotmpfiles() {
- [[ -z "${1}" ]] && die "usage: dotmpfiles <files...>"
- insinto "/etc/tmpfiles.d"
- for i in "$@" ; do
- doins "$i" || die "dotmpfiles failed to install '$i'"
- done
-}
-
-# use_with_systemdsystemunitdir: Echo configure option depending on systemd
-# USE flag.
-use_with_systemdsystemunitdir() {
- if use systemd; then
- echo -n "--with-systemdsystemunitdir=$(systemd_get_unitdir)"
- else
- echo -n "--without-systemdsystemunitdir"
- fi
-}