* [gentoo-commits] repo/gentoo:master commit in: profiles/, sys-process/bcron/
@ 2019-05-06 11:29 Stefan Strogin
0 siblings, 0 replies; only message in thread
From: Stefan Strogin @ 2019-05-06 11:29 UTC (permalink / raw
To: gentoo-commits
commit: de55e57bfe35efd3fc4c83b0d21c73bbb47e30ee
Author: Stefan Strogin <steils <AT> gentoo <DOT> org>
AuthorDate: Mon May 6 10:36:45 2019 +0000
Commit: Stefan Strogin <steils <AT> gentoo <DOT> org>
CommitDate: Mon May 6 11:12:32 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de55e57b
sys-process/bcron: bump version to 0.11
Mask it temporarily since it depends on masked >=dev-libs/bglibs-2.04.
Closes: https://bugs.gentoo.org/670694
Closes: https://github.com/gentoo/gentoo/pull/11903
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org>
profiles/package.mask | 4 ++
sys-process/bcron/Manifest | 1 +
sys-process/bcron/bcron-0.11.ebuild | 101 ++++++++++++++++++++++++++++++++++++
3 files changed, 106 insertions(+)
diff --git a/profiles/package.mask b/profiles/package.mask
index 8c1c1f9fc0f..7bc2fc653ef 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -29,6 +29,10 @@
#--- END OF EXAMPLES ---
+# Stefan Strogin <stefan.strogin@gmail.com> (05 May 2019)
+# Depends on >=dev-libs/bglibs-2.04. Bug #670694.
+>=sys-process/bcron-0.11
+
# Stefan Strogin <stefan.strogin@gmail.com> (04 May 2019)
# Masked for testing reverse dependencies. Bug #591300.
>=dev-libs/bglibs-2.04
diff --git a/sys-process/bcron/Manifest b/sys-process/bcron/Manifest
index 2879932b638..8d7c3fd040c 100644
--- a/sys-process/bcron/Manifest
+++ b/sys-process/bcron/Manifest
@@ -1 +1,2 @@
DIST bcron-0.10.tar.gz 68314 BLAKE2B faa7204703af18108675ddb2f2e835cdfcc230f03d80a27b66734110c6354c120f1a2e6357c476b27d72e95935c9bfd805f901521087632cb7e1c26d3b59ba98 SHA512 cfc61651a77bedbaa3e6d9b5e5e8fa070883dfaf1cf314fc47b6114575ad4818f22fb5dd52959a0af077c3f30e2e902fed79feb51dc83adc3b36d20cc587f4a1
+DIST bcron-0.11.tar.gz 69950 BLAKE2B 9aaf9e7d8e468a184da97324ccaa6ea557c2d8c3c3557bb90ba9b43b98ac1ddf9bc7d879300394b73c3e5921f9fd7ad8859393076a77a99b9ec3a909e6493a17 SHA512 730e0f4d6fe717ddf89e787d570449f1f7b4b5c44beb2e11b6c88a92177ea02480063f16992f32a13877327b895ca085617dda65de90effd8fb465e578444f05
diff --git a/sys-process/bcron/bcron-0.11.ebuild b/sys-process/bcron/bcron-0.11.ebuild
new file mode 100644
index 00000000000..329c71869b3
--- /dev/null
+++ b/sys-process/bcron/bcron-0.11.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
+
+inherit cron python-any-r1 toolchain-funcs
+
+DESCRIPTION="A new cron system designed with secure operations in mind by Bruce Guenter"
+HOMEPAGE="https://untroubled.org/bcron/"
+SRC_URI="https://untroubled.org/bcron/archive/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="sys-apps/ucspi-unix
+ sys-process/cronbase
+ virtual/daemontools
+ virtual/mta"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ >=dev-libs/bglibs-2.04"
+
+CRON_SYSTEM_CRONTAB="yes"
+
+PATCHES=( "${FILESDIR}/${PN}-0.09-fix-socket-permissions.patch" )
+
+src_configure() {
+ echo "${ED}/usr/bin" > conf-bin || die
+ echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die
+ echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS} -L${EPREFIX}/usr/$(get_libdir)/bglibs" > conf-ld || die
+ echo "${ED}/usr/share/man" > conf-man || die
+}
+
+src_install() {
+ default
+
+ docrontab bcrontab
+ docrondir -o cron -g cron
+ docrondir /var/spool/cron/tmp -o cron -g cron
+
+ keepdir /etc/cron.d
+ dodir /etc/bcron
+ insinto /etc
+ doins "${FILESDIR}"/crontab
+
+ insinto /var/lib/supervise/bcron
+ doins bcron-sched.run
+
+ insinto /var/lib/supervise/bcron/log
+ doins bcron-sched-log.run
+
+ insinto /var/lib/supervise/bcron-spool
+ doins bcron-spool.run
+
+ insinto /var/lib/supervise/bcron-update
+ doins bcron-update.run
+
+ doman bcrontab.1 crontab.5 bcron-update.8 bcron-start.8
+ doman bcron-spool.8 bcron-sched.8 bcron-exec.8
+ dodoc ANNOUNCEMENT NEWS README TODO
+}
+
+pkg_config() {
+ cd "${EROOT}"/var/lib/supervise/bcron || die
+ [[ -e run ]] && ( cp run bcron-sched.run.`date +%Y%m%d%H%M%S` || die )
+ cp bcron-sched.run run || die
+ chmod u+x run || die
+
+ cd "${EROOT}"/var/lib/supervise/bcron/log || die
+ [[ -e run ]] && ( cp run bcron-sched-log.run.`date +%Y%m%d%H%M%S` || die )
+ cp bcron-sched-log.run run || die
+ chmod u+x run || die
+
+ cd "${EROOT}"/var/lib/supervise/bcron-spool || die
+ [[ -e run ]] && ( cp run bcron-spool.run.`date +%Y%m%d%H%M%S` || die )
+ cp bcron-spool.run run || die
+ chmod u+x run || die
+
+ cd "${EROOT}"/var/lib/supervise/bcron-update || die
+ [[ -e run ]] && ( cp run bcron-update.run.`date +%Y%m%d%H%M%S` || die )
+ cp bcron-update.run run || die
+ chmod u+x run || die
+
+ [[ ! -e "${EROOT}"/var/spool/cron/trigger ]] && ( mkfifo "${EROOT}"/var/spool/cron/trigger || die )
+ chown cron:cron "${EROOT}"/var/spool/cron/trigger || die
+ chmod go-rwx "${EROOT}"/var/spool/cron/trigger || die
+}
+
+pkg_postinst() {
+ elog "Run "
+ elog "emerge --config '=${CATEGORY}/${PF}'"
+ elog "to create or update your run files (backups are created) in"
+ elog " /var/lib/supervise/bcron (bcron daemon) and"
+ elog " /var/lib/supervise/bcron-spool (crontab receiver) and"
+ elog " /var/lib/supervise/bcron-update (system crontab updater)"
+
+ cron_pkg_postinst
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-05-06 11:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-06 11:29 [gentoo-commits] repo/gentoo:master commit in: profiles/, sys-process/bcron/ Stefan Strogin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox