mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
sys-process/scron: new package, add 0.4
Signed-off-by: Efe İzbudak <efe.izbudak@metu.edu.tr>
This commit is contained in:
1
sys-process/scron/Manifest
Normal file
1
sys-process/scron/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST scron-0.4.tar.gz 10263 BLAKE2B 87bcaa0157afd0fcf2eebfb3e17bad1eba187d503fe57089fe2fa9faa02f286ee5bc13c2ca216df31bdfd2a1700d82bb5ddfa161e451c31101e08be08339e38f SHA512 585c8dd1acab29d37890b62b4c8de2ae6a26bc67c3e95c1c8eaefc6672b6a1b0c3432a93b34d44eb693ba322f4b8f29495e1a825e87b376edb6c5c842da26f1f
|
||||
12
sys-process/scron/files/scron-0.4-initd
Normal file
12
sys-process/scron/files/scron-0.4-initd
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
command="/usr/bin/crond"
|
||||
pidfile="/run/crond.pid"
|
||||
|
||||
depend() {
|
||||
use clock logger
|
||||
need localmount
|
||||
provide cron
|
||||
}
|
||||
34
sys-process/scron/scron-0.4.ebuild
Normal file
34
sys-process/scron/scron-0.4.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Simple cron daemon"
|
||||
HOMEPAGE="https://git.2f30.org/scron/"
|
||||
SRC_URI="https://dl.2f30.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
!sys-process/cronie
|
||||
!sys-process/bcron
|
||||
!sys-process/dcron
|
||||
!sys-process/fcron
|
||||
!sys-process/systemd-cron
|
||||
"
|
||||
BDEPEND=""
|
||||
|
||||
src_install() {
|
||||
emake MANPREFIX="/usr/share/man" PREFIX="/usr" DESTDIR="${D}" install
|
||||
einstalldocs
|
||||
newinitd "${FILESDIR}/${PN}-0.4-initd" ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Start scron as a system service with"
|
||||
elog "'rc-service scron start'. Enable it at startup with"
|
||||
elog "'rc-update add scron default'."
|
||||
}
|
||||
Reference in New Issue
Block a user