[arch-commits] Commit in at/trunk (80-atd.hook PKGBUILD)
Christian Hesse
eworm at archlinux.org
Mon Oct 14 12:25:32 UTC 2019
Date: Monday, October 14, 2019 @ 12:25:31
Author: eworm
Revision: 515584
upgpkg: at 3.2.1-1
* new upstream release
* add hook to restart after glibc update
Added:
at/trunk/80-atd.hook
Modified:
at/trunk/PKGBUILD
-------------+
80-atd.hook | 9 +++++++++
PKGBUILD | 11 +++++++----
2 files changed, 16 insertions(+), 4 deletions(-)
Added: 80-atd.hook
===================================================================
--- 80-atd.hook (rev 0)
+++ 80-atd.hook 2019-10-14 12:25:31 UTC (rev 515584)
@@ -0,0 +1,9 @@
+[Trigger]
+Operation = Upgrade
+Type = Package
+Target = glibc
+
+[Action]
+Description = Restarting atd for libc upgrade...
+When = PostTransaction
+Exec = /usr/bin/systemctl try-restart atd.service
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-14 12:21:43 UTC (rev 515583)
+++ PKGBUILD 2019-10-14 12:25:31 UTC (rev 515584)
@@ -4,8 +4,8 @@
# Contributor: Todd Musall <tmusall at comcast.net>
pkgname=at
-pkgver=3.1.23
-pkgrel=3
+pkgver=3.2.1
+pkgrel=1
pkgdesc='AT and batch delayed command scheduling utility and daemon'
arch=('x86_64')
url='http://blog.calhariz.com/tag/at'
@@ -17,10 +17,12 @@
'var/spool/atd/.SEQ')
options=('!makeflags')
validpgpkeys=('464BC7CD439FEE5E8B4098A0348A778D6885EF8F') # Jose M Calhariz (Técnico) <jose.calhariz at tecnico.ulisboa.pt>
-source=("http://blog.calhariz.com/public/sft/$pkgname/${pkgname}_${pkgver}.orig.tar.gz"{,.asc}
+source=("http://software.calhariz.com/$pkgname/${pkgname}_${pkgver}.orig.tar.gz"{,.asc}
+ '80-atd.hook'
'pam.conf')
-sha256sums=('97450aa954aaa8a70218cc8e61a33df9fee9f86527e9f861de302fb7a3c81710'
+sha256sums=('aabe6e5cb6dd19fe9fb25c2747492f2db38762b95ea41b86f949609c39fb55c4'
'SKIP'
+ 'a7048d6dbd8aa4d881979716829d16053b5007c2d83eb2167edd5221f9e48a33'
'e51630c26765e88bc9c3046c62bf12c56d9863f22bcf04eb00ccd5eb421c7e18')
build() {
@@ -40,6 +42,7 @@
make -C "$pkgname-$pkgver" IROOT="$pkgdir" docdir=/usr/share/doc install
install -D -m0644 pam.conf "$pkgdir"/etc/pam.d/atd
+ install -D -m0644 80-atd.hook "$pkgdir"/usr/share/libalpm/hooks/80-atd.hook
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list