[arch-commits] Commit in at/repos (4 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:09:41 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:09:41
  Author: felixonmars
Revision: 659586

archrelease: copy trunk to community-staging-x86_64

Added:
  at/repos/community-staging-x86_64/
  at/repos/community-staging-x86_64/80-atd.hook
    (from rev 659584, at/trunk/80-atd.hook)
  at/repos/community-staging-x86_64/PKGBUILD
    (from rev 659584, at/trunk/PKGBUILD)
  at/repos/community-staging-x86_64/pam.conf
    (from rev 659584, at/trunk/pam.conf)

-------------+
 80-atd.hook |    9 +++++++++
 PKGBUILD    |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 pam.conf    |   12 ++++++++++++
 3 files changed, 69 insertions(+)

Copied: at/repos/community-staging-x86_64/80-atd.hook (from rev 659584, at/trunk/80-atd.hook)
===================================================================
--- community-staging-x86_64/80-atd.hook	                        (rev 0)
+++ community-staging-x86_64/80-atd.hook	2020-07-07 17:09:41 UTC (rev 659586)
@@ -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

Copied: at/repos/community-staging-x86_64/PKGBUILD (from rev 659584, at/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:09:41 UTC (rev 659586)
@@ -0,0 +1,48 @@
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Nathan Baum <n at p12a.org.uk>
+# Contributor: Judd Vinet <jvinet at zeroflux.org>
+# Contributor: Todd Musall <tmusall at comcast.net>
+
+pkgname=at
+pkgver=3.2.1
+pkgrel=2
+pkgdesc='AT and batch delayed command scheduling utility and daemon'
+arch=('x86_64')
+url='http://blog.calhariz.com/tag/at'
+license=('GPL')
+depends=('pam' 'flex')
+makedepends=('smtp-forwarder' 'git' 'systemd')
+backup=('etc/at.deny'
+        'etc/pam.d/atd'
+        'var/spool/atd/.SEQ')
+options=('!makeflags')
+validpgpkeys=('464BC7CD439FEE5E8B4098A0348A778D6885EF8F') # Jose M Calhariz (Técnico) <jose.calhariz at tecnico.ulisboa.pt>
+source=("http://software.calhariz.com/$pkgname/${pkgname}_${pkgver}.orig.tar.gz"{,.asc}
+        '80-atd.hook'
+        'pam.conf')
+sha256sums=('aabe6e5cb6dd19fe9fb25c2747492f2db38762b95ea41b86f949609c39fb55c4'
+            'SKIP'
+            'a7048d6dbd8aa4d881979716829d16053b5007c2d83eb2167edd5221f9e48a33'
+            'e51630c26765e88bc9c3046c62bf12c56d9863f22bcf04eb00ccd5eb421c7e18')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --with-jobdir=/var/spool/atd \
+    --with-atspool=/var/spool/atd \
+    --with-systemdsystemunitdir=/usr/lib/systemd/system
+
+  CFLAGS="$CFLAGS -w" make
+}
+
+package() {
+  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:

Copied: at/repos/community-staging-x86_64/pam.conf (from rev 659584, at/trunk/pam.conf)
===================================================================
--- community-staging-x86_64/pam.conf	                        (rev 0)
+++ community-staging-x86_64/pam.conf	2020-07-07 17:09:41 UTC (rev 659586)
@@ -0,0 +1,12 @@
+#%PAM-1.0
+
+auth		required	pam_unix.so
+auth		required	pam_env.so user_readenv=1
+
+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


More information about the arch-commits mailing list