Browse Source

[testing] -> [core] 'cronie-1.5.4-2' move

master
artoo 1 month ago
parent
commit
91cef623c5
Signed by: artoo <artoo@artixlinux.org> GPG Key ID: 3292CD0BB0DB310B

cronie/repos/testing-x86_64/0001-do-not-log-carriage-return.patch → cronie/repos/core-x86_64/0001-do-not-log-carriage-return.patch View File


+ 8
- 1
cronie/repos/core-x86_64/PKGBUILD View File

@@ -3,7 +3,7 @@

pkgname='cronie'
pkgver=1.5.4
pkgrel=1
pkgrel=2
pkgdesc='Daemon that runs specified programs at scheduled times and related tools'
url='https://github.com/cronie-crond/cronie/'
license=('custom:BSD')
@@ -12,9 +12,11 @@ depends=('pam' 'bash' 'run-parts')
optdepends=('smtp-server: send job output via email'
'smtp-forwarder: forward job output to email server')
source=("https://github.com/cronie-crond/cronie/releases/download/${pkgname}-${pkgver}-final/${pkgname}-${pkgver}.tar.gz"
'0001-do-not-log-carriage-return.patch'
'pam.d'
'deny')
sha256sums=('af8970559cad4262f8ffd7ec72abf682d2dcce04fdfb8f206a71d96566aba882'
'595e96997afe506ad93a98896830f3651667f56406a5ae67f4bcf513cfcb45ad'
'00864268b491bab8c66400a4a4b4bf85f168a6e44e85676105e084940924090c'
'ae6e533ecdfc1bd2dd80a9e25acb0260cbe9f00c4e4abee93d552b3660f263fc')

@@ -26,6 +28,11 @@ backup=('etc/cron.deny'
conflicts=('cron')
provides=('cron')

prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 < ../0001-do-not-log-carriage-return.patch
}

build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \

+ 0
- 67
cronie/repos/testing-x86_64/PKGBUILD View File

@@ -1,67 +0,0 @@
# Contributor: Kaiting Chen <kaiting.chen@kiwilight.com>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname='cronie'
pkgver=1.5.4
pkgrel=2
pkgdesc='Daemon that runs specified programs at scheduled times and related tools'
url='https://github.com/cronie-crond/cronie/'
license=('custom:BSD')
arch=('x86_64')
depends=('pam' 'bash' 'run-parts')
optdepends=('smtp-server: send job output via email'
'smtp-forwarder: forward job output to email server')
source=("https://github.com/cronie-crond/cronie/releases/download/${pkgname}-${pkgver}-final/${pkgname}-${pkgver}.tar.gz"
'0001-do-not-log-carriage-return.patch'
'pam.d'
'deny')
sha256sums=('af8970559cad4262f8ffd7ec72abf682d2dcce04fdfb8f206a71d96566aba882'
'595e96997afe506ad93a98896830f3651667f56406a5ae67f4bcf513cfcb45ad'
'00864268b491bab8c66400a4a4b4bf85f168a6e44e85676105e084940924090c'
'ae6e533ecdfc1bd2dd80a9e25acb0260cbe9f00c4e4abee93d552b3660f263fc')

backup=('etc/cron.deny'
'etc/pam.d/crond'
'etc/cron.d/0hourly'
'etc/anacrontab')

conflicts=('cron')
provides=('cron')

prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 < ../0001-do-not-log-carriage-return.patch
}

build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--sbindir=/usr/bin \
--enable-anacron \
--with-inotify \
--with-pam \

make
}

package() {
cd "${srcdir}/${pkgname}-${pkgver}"

make DESTDIR="${pkgdir}" install

chmod u+s "${pkgdir}"/usr/bin/crontab
install -d "${pkgdir}"/var/spool/{ana,}cron
install -d "${pkgdir}"/etc/cron.{d,hourly,daily,weekly,monthly}

install -Dm644 ../deny "${pkgdir}"/etc/cron.deny
install -Dm644 ../pam.d "${pkgdir}"/etc/pam.d/crond

install -Dm644 contrib/anacrontab "${pkgdir}"/etc/anacrontab
install -Dm644 contrib/0hourly "${pkgdir}"/etc/cron.d/0hourly
install -Dm755 contrib/0anacron "${pkgdir}"/etc/cron.hourly/0anacron

install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/cronie/COPYING
}

+ 0
- 1
cronie/repos/testing-x86_64/deny View File

@@ -1 +0,0 @@
# without this file, only users listed in /etc/cron.allow can use crontab

+ 0
- 10
cronie/repos/testing-x86_64/pam.d View File

@@ -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

Loading…
Cancel
Save