diff options
author | Nicolas Iooss | 2021-04-19 21:03:44 +0200 |
---|---|---|
committer | Nicolas Iooss | 2021-04-19 21:03:44 +0200 |
commit | f0bca9b5045425c29aafd12b6069d76e0946cfa0 (patch) | |
tree | 074386a8043f65950a92842cadebf43d9be19354 | |
parent | 6bfc12eb3cfe997834dfd6dbcda89ba39d247789 (diff) | |
download | aur-f0bca9b5045425c29aafd12b6069d76e0946cfa0.tar.gz |
cronie-selinux 1.5.7-2 update
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | 0001-crontab-use-bold-colors.patch | 26 | ||||
-rw-r--r-- | PKGBUILD | 9 |
3 files changed, 40 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = cronie-selinux pkgdesc = Daemon that runs specified programs at scheduled times and related tools with SELinux support - pkgver = 1.5.5 + pkgver = 1.5.7 pkgrel = 2 url = https://github.com/cronie-crond/cronie/ arch = i686 @@ -14,8 +14,8 @@ pkgbase = cronie-selinux optdepends = smtp-server: send job output via email optdepends = smtp-forwarder: forward job output to email server provides = cron - provides = cronie=1.5.5-2 - provides = selinux-cronie=1.5.5-2 + provides = cronie=1.5.7-2 + provides = selinux-cronie=1.5.7-2 conflicts = cron conflicts = cronie conflicts = selinux-cronie @@ -23,12 +23,14 @@ pkgbase = cronie-selinux backup = etc/pam.d/crond backup = etc/cron.d/0hourly backup = etc/anacrontab - source = https://github.com/cronie-crond/cronie/releases/download/cronie-1.5.5/cronie-1.5.5.tar.gz + source = https://github.com/cronie-crond/cronie/releases/download/cronie-1.5.7/cronie-1.5.7.tar.gz + source = 0001-crontab-use-bold-colors.patch source = 80-cronie.hook source = service source = pam.d source = deny - sha256sums = be34c79505e5544323281854744b9955ff16b160ee569f9df7c0dddae5720eac + sha256sums = 538bcfaf2e986e5ae1edf6d1472a77ea8271d6a9005aee2497a9ed6e13320eb3 + sha256sums = 2c9a2f386f23779907c468023538b195cd3e3c61fa16e19f036ee13a031f1c3a sha256sums = f85e9a68bf3bf446f8a6167f068371c06afffe11ca71935d8ee5487b38b2c9db sha256sums = ac3ff3c8a5ce1b6367b06877b4b12ff74e7f18a3c510fb9f80d6ea6b6321e3b1 sha256sums = 00864268b491bab8c66400a4a4b4bf85f168a6e44e85676105e084940924090c diff --git a/0001-crontab-use-bold-colors.patch b/0001-crontab-use-bold-colors.patch new file mode 100644 index 000000000000..5afb46c0558e --- /dev/null +++ b/0001-crontab-use-bold-colors.patch @@ -0,0 +1,26 @@ +From 116ab7eeb7dff736c83389746f22700d9f6a7dd8 Mon Sep 17 00:00:00 2001 +From: Christian Hesse <mail@eworm.de> +Date: Mon, 29 Mar 2021 15:34:46 +0200 +Subject: [PATCH 1/1] crontab: use bold colors + +Dark colors (especially blue) on dark background are hard to read. +Let's make these bold. +--- + src/crontab.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/crontab.c b/src/crontab.c +index af3db23..240c112 100644 +--- a/src/crontab.c ++++ b/src/crontab.c +@@ -66,8 +66,8 @@ + + #define NHEADER_LINES 0 + +-#define COMMENT_COLOR "\x1B[34m" +-#define ERROR_COLOR "\x1B[31m" ++#define COMMENT_COLOR "\x1B[34;1m" ++#define ERROR_COLOR "\x1B[31;1m" + #define RESET_COLOR "\x1B[0m" + + enum opt_t { @@ -8,7 +8,7 @@ # If you want to help keep it up to date, please open a Pull Request there. pkgname='cronie-selinux' -pkgver=1.5.5 +pkgver=1.5.7 pkgrel=2 pkgdesc='Daemon that runs specified programs at scheduled times and related tools with SELinux support' url='https://github.com/cronie-crond/cronie/' @@ -22,11 +22,13 @@ provides=('cron' "${pkgname/-selinux}=${pkgver}-${pkgrel}" "selinux-${pkgname/-selinux}=${pkgver}-${pkgrel}") groups=('selinux') source=("https://github.com/cronie-crond/cronie/releases/download/${pkgname/-selinux}-${pkgver}/${pkgname/-selinux}-${pkgver}.tar.gz" + '0001-crontab-use-bold-colors.patch' '80-cronie.hook' 'service' 'pam.d' 'deny') -sha256sums=('be34c79505e5544323281854744b9955ff16b160ee569f9df7c0dddae5720eac' +sha256sums=('538bcfaf2e986e5ae1edf6d1472a77ea8271d6a9005aee2497a9ed6e13320eb3' + '2c9a2f386f23779907c468023538b195cd3e3c61fa16e19f036ee13a031f1c3a' 'f85e9a68bf3bf446f8a6167f068371c06afffe11ca71935d8ee5487b38b2c9db' 'ac3ff3c8a5ce1b6367b06877b4b12ff74e7f18a3c510fb9f80d6ea6b6321e3b1' '00864268b491bab8c66400a4a4b4bf85f168a6e44e85676105e084940924090c' @@ -38,6 +40,9 @@ backup=('etc/cron.deny' build() { cd "${srcdir}/${pkgname/-selinux}-${pkgver}" + + patch -Np1 < ../0001-crontab-use-bold-colors.patch + ./configure \ --prefix=/usr \ --sysconfdir=/etc \ |