diff options
author | Nicolas Iooss | 2023-10-24 11:41:29 +0200 |
---|---|---|
committer | Nicolas Iooss | 2023-10-24 11:41:29 +0200 |
commit | 6b9b95dc0afdcbcbb83111637018d05a47bb929a (patch) | |
tree | f97baadd80c4ef97bcf76c265f29423a2e919d96 | |
parent | 802fb405158929ffd5c5076bdaa22d5f5b5e7f88 (diff) | |
download | aur-6b9b95dc0afdcbcbb83111637018d05a47bb929a.tar.gz |
cronie-selinux 1.7.0-4 update
-rw-r--r-- | .SRCINFO | 29 | ||||
-rw-r--r-- | PKGBUILD | 40 | ||||
-rw-r--r-- | cron-deny (renamed from deny) | 0 | ||||
-rw-r--r-- | crontab | 5 | ||||
-rw-r--r-- | default-anacron | 4 | ||||
-rw-r--r-- | pam.d | 10 | ||||
-rw-r--r-- | service | 11 |
7 files changed, 49 insertions, 50 deletions
@@ -1,7 +1,7 @@ pkgbase = cronie-selinux pkgdesc = Daemon that runs specified programs at scheduled times and related tools with SELinux support - pkgver = 1.6.1 - pkgrel = 1 + pkgver = 1.7.0 + pkgrel = 4 url = https://github.com/cronie-crond/cronie/ arch = i686 arch = x86_64 @@ -15,24 +15,27 @@ 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.6.1-1 - provides = selinux-cronie=1.6.1-1 + provides = cronie=1.7.0-4 + provides = selinux-cronie=1.7.0-4 conflicts = cron conflicts = cronie conflicts = selinux-cronie + backup = etc/anacrontab + backup = etc/cron.d/0hourly backup = etc/cron.deny + backup = etc/crontab + backup = etc/default/anacron backup = etc/pam.d/crond - backup = etc/cron.d/0hourly - backup = etc/anacrontab - source = https://github.com/cronie-crond/cronie/releases/download/cronie-1.6.1/cronie-1.6.1.tar.gz + backup = etc/sysconfig/crond + source = https://github.com/cronie-crond/cronie/releases/download/cronie-1.7.0/cronie-1.7.0.tar.gz source = 80-cronie.hook - source = service - source = pam.d - source = deny - sha256sums = 2cd0f0dd1680e6b9c39bf1e3a5e7ad6df76aa940de1ee90a453633aa59984e62 + source = cron-deny + source = crontab + source = default-anacron + sha256sums = 6827f5a47760cc64afeef0a60d3cb5376f52569109fc9a73957dd5e9fdae7619 sha256sums = f85e9a68bf3bf446f8a6167f068371c06afffe11ca71935d8ee5487b38b2c9db - sha256sums = ac3ff3c8a5ce1b6367b06877b4b12ff74e7f18a3c510fb9f80d6ea6b6321e3b1 - sha256sums = 00864268b491bab8c66400a4a4b4bf85f168a6e44e85676105e084940924090c sha256sums = ae6e533ecdfc1bd2dd80a9e25acb0260cbe9f00c4e4abee93d552b3660f263fc + sha256sums = 64d517a8d011b5cfa6b2433d528498e80fa8d0748c91f1b73e6ded70e776dc35 + sha256sums = c5772fd0df22d807ed6b62edf4052db529aafb626b1bfe8961229fb864039a5c pkgname = cronie-selinux @@ -8,8 +8,8 @@ # If you want to help keep it up to date, please open a Pull Request there. pkgname='cronie-selinux' -pkgver=1.6.1 -pkgrel=1 +pkgver=1.7.0 +pkgrel=4 pkgdesc='Daemon that runs specified programs at scheduled times and related tools with SELinux support' url='https://github.com/cronie-crond/cronie/' license=('custom:BSD') @@ -23,18 +23,21 @@ provides=('cron' "${pkgname/-selinux}=${pkgver}-${pkgrel}" groups=('selinux') source=("https://github.com/cronie-crond/cronie/releases/download/${pkgname/-selinux}-${pkgver}/${pkgname/-selinux}-${pkgver}.tar.gz" '80-cronie.hook' - 'service' - 'pam.d' - 'deny') -sha256sums=('2cd0f0dd1680e6b9c39bf1e3a5e7ad6df76aa940de1ee90a453633aa59984e62' + 'cron-deny' + 'crontab' + 'default-anacron') +sha256sums=('6827f5a47760cc64afeef0a60d3cb5376f52569109fc9a73957dd5e9fdae7619' 'f85e9a68bf3bf446f8a6167f068371c06afffe11ca71935d8ee5487b38b2c9db' - 'ac3ff3c8a5ce1b6367b06877b4b12ff74e7f18a3c510fb9f80d6ea6b6321e3b1' - '00864268b491bab8c66400a4a4b4bf85f168a6e44e85676105e084940924090c' - 'ae6e533ecdfc1bd2dd80a9e25acb0260cbe9f00c4e4abee93d552b3660f263fc') -backup=('etc/cron.deny' - 'etc/pam.d/crond' + 'ae6e533ecdfc1bd2dd80a9e25acb0260cbe9f00c4e4abee93d552b3660f263fc' + '64d517a8d011b5cfa6b2433d528498e80fa8d0748c91f1b73e6ded70e776dc35' + 'c5772fd0df22d807ed6b62edf4052db529aafb626b1bfe8961229fb864039a5c') +backup=('etc/anacrontab' 'etc/cron.d/0hourly' - 'etc/anacrontab') + 'etc/cron.deny' + 'etc/crontab' + 'etc/default/anacron' + 'etc/pam.d/crond' + 'etc/sysconfig/crond') build() { cd "${srcdir}/${pkgname/-selinux}-${pkgver}" @@ -61,14 +64,19 @@ package() { install -d "${pkgdir}"/var/spool/{ana,}cron install -d "${pkgdir}"/etc/cron.{d,hourly,daily,weekly,monthly} - install -Dm0644 ../deny "${pkgdir}"/etc/cron.deny - install -Dm0644 ../pam.d "${pkgdir}"/etc/pam.d/crond - install -Dm0644 ../service "${pkgdir}"/usr/lib/systemd/system/cronie.service install -Dm0644 ../80-cronie.hook "${pkgdir}"/usr/share/libalpm/hooks/80-cronie.hook + install -Dm0644 ../cron-deny "${pkgdir}"/etc/cron.deny + install -Dm0644 ../crontab "${pkgdir}"/etc/crontab + install -Dm0644 ../default-anacron "${pkgdir}"/etc/default/anacron install -Dm0644 contrib/anacrontab "${pkgdir}"/etc/anacrontab install -Dm0644 contrib/0hourly "${pkgdir}"/etc/cron.d/0hourly install -Dm0755 contrib/0anacron "${pkgdir}"/etc/cron.hourly/0anacron - install -Dm0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" + install -Dm0644 contrib/cronie.systemd "${pkgdir}"/usr/lib/systemd/system/cronie.service + install -Dm0644 crond.sysconfig "${pkgdir}"/etc/sysconfig/crond + + install -Dm0644 pam/crond "${pkgdir}"/etc/pam.d/crond + + install -Dm0644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING } diff --git a/crontab b/crontab new file mode 100644 index 000000000000..61b453a58fbc --- /dev/null +++ b/crontab @@ -0,0 +1,5 @@ +# /etc/crontab: configuration file for cron + +# See cron(8) and crontab(5) for details. + +# m h dom mon dow user command diff --git a/default-anacron b/default-anacron new file mode 100644 index 000000000000..5b4470ffbf75 --- /dev/null +++ b/default-anacron @@ -0,0 +1,4 @@ +# /etc/default/anacron +# Set this to 'yes' to have anacron run while on battery +# By default it is not run while on battery +#ANACRON_RUN_ON_BATTERY_POWER=no diff --git a/pam.d b/pam.d deleted file mode 100644 index 9a254ebc0d42..000000000000 --- a/pam.d +++ /dev/null @@ -1,10 +0,0 @@ -auth required pam_unix.so -auth required pam_env.so - -account required pam_access.so -account required pam_unix.so -account required pam_time.so - -session required pam_loginuid.so -session required pam_limits.so -session required pam_unix.so diff --git a/service b/service deleted file mode 100644 index 84145251c60a..000000000000 --- a/service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Periodic Command Scheduler - -[Service] -ExecStart=/usr/bin/crond -n -ExecReload=/usr/bin/kill -HUP $MAINPID -KillMode=process -Restart=always - -[Install] -WantedBy=multi-user.target |