New package: at-3.1.16

This commit is contained in:
Christian Neukirchen 2015-04-28 20:36:01 +02:00
parent 353083bed4
commit c86e3798fb
3 changed files with 41 additions and 0 deletions

11
srcpkgs/at/INSTALL Normal file
View File

@ -0,0 +1,11 @@
case "${ACTION}" in
post)
touch var/spool/atd/.SEQ
chown at:at var/spool/atd/.SEQ
chmod 600 var/spool/atd/.SEQ
chown at:at bin/at
chmod 6755 bin/at
chown root:at etc/at.deny
chmod 640 etc/at.deny
;;
esac

2
srcpkgs/at/files/at/run Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
exec atd -f

28
srcpkgs/at/template Normal file
View File

@ -0,0 +1,28 @@
# Template file for 'at'
pkgname=at
version=3.1.16
revision=1
build_style=gnu-configure
configure_args="--with-jobdir=/var/spool/atd --with-atspool=/var/spool/atd
--sbindir=/usr/bin --with-daemon_username=at --with-daemon_groupname=at
SENDMAIL=/usr/sbin/sendmail"
conf_files="/etc/at.deny"
system_accounts="at"
at_homedir="/var/spool/atd"
make_dirs="/var/spool/atd 1770 at at"
hostmakedepends="flex"
makedepends="pam-devel libfl-devel"
depends="virtual?smtp-server"
short_desc="Run commands at a specified time"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://packages.qa.debian.org/a/at.html"
distfiles="${DEBIAN_SITE}/main/a/${pkgname}/${pkgname}_${version}.orig.tar.gz"
checksum=cb9af59c6a54edce9536ba629841055409d1f89d8ae26494727a97141fb4d5c1
do_install() {
sed -i '/chown/d' Makefile
make install IROOT="$DESTDIR" docdir=/usr/share/doc
vsv at
rm -f ${DESTDIR}/var/spool/atd/.SEQ
}