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

Eric Bélanger eric at nymeria.archlinux.org
Wed Apr 17 18:45:36 UTC 2013


    Date: Wednesday, April 17, 2013 @ 20:45:36
  Author: eric
Revision: 88443

archrelease: copy trunk to community-i686, community-x86_64

Added:
  at/repos/community-i686/
  at/repos/community-i686/PKGBUILD
    (from rev 88442, at/trunk/PKGBUILD)
  at/repos/community-i686/atd
    (from rev 88442, at/trunk/atd)
  at/repos/community-i686/atd.service
    (from rev 88442, at/trunk/atd.service)
  at/repos/community-x86_64/
  at/repos/community-x86_64/PKGBUILD
    (from rev 88442, at/trunk/PKGBUILD)
  at/repos/community-x86_64/atd
    (from rev 88442, at/trunk/atd)
  at/repos/community-x86_64/atd.service
    (from rev 88442, at/trunk/atd.service)

------------------------------+
 community-i686/PKGBUILD      |   36 ++++++++++++++++++++++++++++++++++++
 community-i686/atd           |   35 +++++++++++++++++++++++++++++++++++
 community-i686/atd.service   |    9 +++++++++
 community-x86_64/PKGBUILD    |   36 ++++++++++++++++++++++++++++++++++++
 community-x86_64/atd         |   35 +++++++++++++++++++++++++++++++++++
 community-x86_64/atd.service |    9 +++++++++
 6 files changed, 160 insertions(+)

Copied: at/repos/community-i686/PKGBUILD (from rev 88442, at/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-04-17 18:45:36 UTC (rev 88443)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Judd Vinet <jvinet at zeroflux.org>
+# Contributor: Todd Musall <tmusall at comcast.net>
+
+pkgname=at
+pkgver=3.1.13
+pkgrel=2
+pkgdesc="AT and batch delayed command scheduling utility and daemon"
+arch=('i686' 'x86_64')
+url="http://packages.qa.debian.org/a/at.html"
+license=('GPL')
+depends=('pam')
+makedepends=('ssmtp')
+backup=('etc/at.deny')
+options=('!makeflags')
+source=(http://ftp.debian.org/debian/pool/main/a/at/at_${pkgver}.orig.tar.gz
+        atd atd.service)
+md5sums=('1da61af6c29e323abaaf13ee1a8dad79'
+         '35574e34829e7df07a3269d4ab646a29'
+         '33976a813f4fe7f5659354601044c6f8')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr \
+              --mandir=/usr/share/man  \
+              --with-jobdir=/var/spool/atd \
+              --with-atspool=/var/spool/atd
+  make
+}
+
+package() {
+  cd "${srcdir}/${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"
+}

Copied: at/repos/community-i686/atd (from rev 88442, at/trunk/atd)
===================================================================
--- community-i686/atd	                        (rev 0)
+++ community-i686/atd	2013-04-17 18:45:36 UTC (rev 88443)
@@ -0,0 +1,35 @@
+#!/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

Copied: at/repos/community-i686/atd.service (from rev 88442, at/trunk/atd.service)
===================================================================
--- community-i686/atd.service	                        (rev 0)
+++ community-i686/atd.service	2013-04-17 18:45:36 UTC (rev 88443)
@@ -0,0 +1,9 @@
+[Unit]
+Description=ATD daemon
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/atd
+
+[Install]
+WantedBy=multi-user.target

Copied: at/repos/community-x86_64/PKGBUILD (from rev 88442, at/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-04-17 18:45:36 UTC (rev 88443)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Judd Vinet <jvinet at zeroflux.org>
+# Contributor: Todd Musall <tmusall at comcast.net>
+
+pkgname=at
+pkgver=3.1.13
+pkgrel=2
+pkgdesc="AT and batch delayed command scheduling utility and daemon"
+arch=('i686' 'x86_64')
+url="http://packages.qa.debian.org/a/at.html"
+license=('GPL')
+depends=('pam')
+makedepends=('ssmtp')
+backup=('etc/at.deny')
+options=('!makeflags')
+source=(http://ftp.debian.org/debian/pool/main/a/at/at_${pkgver}.orig.tar.gz
+        atd atd.service)
+md5sums=('1da61af6c29e323abaaf13ee1a8dad79'
+         '35574e34829e7df07a3269d4ab646a29'
+         '33976a813f4fe7f5659354601044c6f8')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr \
+              --mandir=/usr/share/man  \
+              --with-jobdir=/var/spool/atd \
+              --with-atspool=/var/spool/atd
+  make
+}
+
+package() {
+  cd "${srcdir}/${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"
+}

Copied: at/repos/community-x86_64/atd (from rev 88442, at/trunk/atd)
===================================================================
--- community-x86_64/atd	                        (rev 0)
+++ community-x86_64/atd	2013-04-17 18:45:36 UTC (rev 88443)
@@ -0,0 +1,35 @@
+#!/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

Copied: at/repos/community-x86_64/atd.service (from rev 88442, at/trunk/atd.service)
===================================================================
--- community-x86_64/atd.service	                        (rev 0)
+++ community-x86_64/atd.service	2013-04-17 18:45:36 UTC (rev 88443)
@@ -0,0 +1,9 @@
+[Unit]
+Description=ATD daemon
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/atd
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list