Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 450728
Collapse All | Expand All

(-)cronie-1.4.9.ebuild (-2 / +16 lines)
Lines 4-10 Link Here
4
4
5
EAPI="5"
5
EAPI="5"
6
6
7
inherit cron eutils pam user
7
inherit cron eutils pam systemd user
8
8
9
DESCRIPTION="Cronie is a standard UNIX daemon cron based on the original vixie-cron."
9
DESCRIPTION="Cronie is a standard UNIX daemon cron based on the original vixie-cron."
10
SRC_URI="https://fedorahosted.org/releases/c/r/cronie/${P}.tar.gz"
10
SRC_URI="https://fedorahosted.org/releases/c/r/cronie/${P}.tar.gz"
Lines 12-18 Link Here
12
12
13
LICENSE="ISC BSD BSD-2"
13
LICENSE="ISC BSD BSD-2"
14
KEYWORDS="~amd64 ~arm ~sparc ~x86"
14
KEYWORDS="~amd64 ~arm ~sparc ~x86"
15
IUSE="anacron inotify pam selinux"
15
IUSE="anacron inotify pam selinux systemd"
16
16
17
DEPEND="pam? ( virtual/pam )
17
DEPEND="pam? ( virtual/pam )
18
	anacron? ( !sys-process/anacron )"
18
	anacron? ( !sys-process/anacron )"
Lines 63-68 Link Here
63
		newinitd "${FILESDIR}"/anacron-1.0-initd anacron
63
		newinitd "${FILESDIR}"/anacron-1.0-initd anacron
64
	fi
64
	fi
65
65
66
	# systemd stuff
67
	if use systemd ; then
68
		sed 's:sysconfig/crond:conf.d/cronie:' contrib/cronie.systemd > \
69
		"${T}"/cronie.service
70
		systemd_dounit "${T}"/cronie.service
71
		# the openrc init script will not work on systemd
72
		# install this file, to have it working. Same is done
73
		# in fedora. There is no service file for anacron daemon
74
		if use anacron ; then
75
			insinto /etc/cron.hourly
76
			doins contrib/0anacron
77
		fi
78
	fi
79
66
	dodoc AUTHORS README contrib/*
80
	dodoc AUTHORS README contrib/*
67
}
81
}
68
82

Return to bug 450728