Date: Sunday, May 12, 2013 @ 16:37:50 Author: eric Revision: 90447 upgpkg: at 3.1.13-3
Remove initscripts support, Move binaries in /usr/sbin to /usr/bin Modified: at/trunk/PKGBUILD at/trunk/atd.service Deleted: at/trunk/atd -------------+ PKGBUILD | 15 ++++++--------- atd | 35 ----------------------------------- atd.service | 2 +- 3 files changed, 7 insertions(+), 45 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-05-12 13:12:12 UTC (rev 90446) +++ PKGBUILD 2013-05-12 14:37:50 UTC (rev 90447) @@ -4,7 +4,7 @@ pkgname=at pkgver=3.1.13 -pkgrel=2 +pkgrel=3 pkgdesc="AT and batch delayed command scheduling utility and daemon" arch=('i686' 'x86_64') url="http://packages.qa.debian.org/a/at.html" @@ -14,23 +14,20 @@ backup=('etc/at.deny') options=('!makeflags') source=(http://ftp.debian.org/debian/pool/main/a/at/at_${pkgver}.orig.tar.gz - atd atd.service) + atd.service) md5sums=('1da61af6c29e323abaaf13ee1a8dad79' - '35574e34829e7df07a3269d4ab646a29' - '33976a813f4fe7f5659354601044c6f8') + '58856a1081e101ed6f0f02f9a20ada4e') build() { - cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr \ - --mandir=/usr/share/man \ + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr --sbindir=/usr/bin \ --with-jobdir=/var/spool/atd \ --with-atspool=/var/spool/atd make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make IROOT="${pkgdir}" docdir=/usr/share/doc install - install -D -m755 "${srcdir}/atd" "${pkgdir}/etc/rc.d/atd" install -D -m644 "${srcdir}/atd.service" "${pkgdir}/usr/lib/systemd/system/atd.service" } Deleted: atd =================================================================== --- atd 2013-05-12 13:12:12 UTC (rev 90446) +++ atd 2013-05-12 14:37:50 UTC (rev 90447) @@ -1,35 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/sbin/atd` -case "$1" in - start) - stat_busy "Starting ATD Daemon" - [ -z "$PID" ] && /usr/sbin/atd - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon atd - stat_done - fi - ;; - stop) - stat_busy "Stopping ATD Daemon" - [ ! -z "$PID" ] && kill $PID &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon atd - stat_done - fi - ;; - restart) - $0 stop - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 Modified: atd.service =================================================================== --- atd.service 2013-05-12 13:12:12 UTC (rev 90446) +++ atd.service 2013-05-12 14:37:50 UTC (rev 90447) @@ -3,7 +3,7 @@ [Service] Type=forking -ExecStart=/usr/sbin/atd +ExecStart=/usr/bin/atd [Install] WantedBy=multi-user.target