summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiaran McCreesh <ciaranm@gentoo.org>2005-03-03 17:40:23 +0000
committerCiaran McCreesh <ciaranm@gentoo.org>2005-03-03 17:40:23 +0000
commit44e716b33219b8c2c02bd00de9ad87b02fe25fe4 (patch)
tree3bb26b281adf7848813579993d8e48442b971317 /sys-process/at
parentMoved sys-apps/anacron to sys-process/anacron (diff)
downloadhistorical-44e716b33219b8c2c02bd00de9ad87b02fe25fe4.tar.gz
historical-44e716b33219b8c2c02bd00de9ad87b02fe25fe4.tar.bz2
historical-44e716b33219b8c2c02bd00de9ad87b02fe25fe4.zip
Moved from sys-apps/at to sys-process/at.
Diffstat (limited to 'sys-process/at')
-rw-r--r--sys-process/at/ChangeLog106
-rw-r--r--sys-process/at/Manifest7
-rw-r--r--sys-process/at/at-3.1.8-r11.ebuild75
-rw-r--r--sys-process/at/files/at-3.1.8-longuser.patch20
-rw-r--r--sys-process/at/files/at.deny21
-rwxr-xr-xsys-process/at/files/atd.rc621
-rw-r--r--sys-process/at/files/digest-at-3.1.8-r111
-rw-r--r--sys-process/at/metadata.xml5
8 files changed, 256 insertions, 0 deletions
diff --git a/sys-process/at/ChangeLog b/sys-process/at/ChangeLog
new file mode 100644
index 000000000000..810cf76f614b
--- /dev/null
+++ b/sys-process/at/ChangeLog
@@ -0,0 +1,106 @@
+# ChangeLog for sys-apps/at
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/at/ChangeLog,v 1.1 2005/03/03 17:40:23 ciaranm Exp $
+
+*at-3.1.8-r11 (03 Mar 2005)
+
+ 03 Mar 2005; Ciaran McCreesh <ciaranm@gentoo.org> +metadata.xml,
+ +files/at-3.1.8-longuser.patch, +files/at.deny, +files/atd.rc6,
+ +at-3.1.8-r11.ebuild:
+ Moved from sys-apps/at to sys-process/at.
+
+*at-3.1.8-r11 (11 Feb 2005)
+
+ 11 Feb 2005; Mike Frysinger <vapier@gentoo.org> +at-3.1.8-r11.ebuild:
+ Fix #31310 again.
+
+ 02 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> :
+ Change encoding to UTF-8 for GLEP 31 compliance
+
+ 16 Dec 2004; Dylan Carlson <absinthe@gentoo.org> at-3.1.8-r10.ebuild:
+ Stable on amd64.
+
+ 13 Nov 2004; Michael Hanselmann <hansmi@gentoo.org> at-3.1.8-r10.ebuild:
+ Stable on sparc.
+
+ 12 Nov 2004; Aaron Walker <ka0ttic@gentoo.org> at-3.1.8-r10.ebuild:
+ Respect LDFLAGS, so we can append -Wl,-z,-now to fix QA security notices.
+ Marking stable on x86.
+
+ 08 Oct 2004; Aaron Walker <ka0ttic@gentoo.org> metadata.xml:
+ Updated metadata to reflect new cron herd.
+
+ 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
+ at-3.1.8-r10.ebuild:
+ Masked at-3.1.8-r10.ebuild stable for ppc
+
+ 24 Aug 2004; Sven Wegener <swegener@gentoo.org> at-3.1.8-r10.ebuild,
+ at-3.1.8-r9.ebuild:
+ Changed SRC_URI to use mirror:// syntax.
+
+ 11 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> at-3.1.8-r10.ebuild:
+ Stable on alpha.
+
+ 06 Apr 2004; Aron Griffis <agriffis@gentoo.org> at-3.1.8-r10.ebuild,
+ files/at-3.1.8-longuser.patch:
+ Fix bug 33696 by allowing long usernames in atd, thanks to Yuval Kogman for
+ the patch
+
+*at-3.1.8-r10 (25 Jan 2004)
+
+ 25 Jan 2004; Mike Frysinger <vapier@gentoo.org> :
+ Move spool dir from /var/cron to /var/spool/at #31310 by Douglas R. Hoffman.
+
+*at-3.1.8-r9 (14 Dec 2003)
+
+ 14 Dec 2003; Rajiv Aaron Manglani <rajiv@gentoo.org> at-3.1.8-r9.ebuild:
+ fperms after fowners. include 'timespec' in the docs since the man page
+ references it. also removed some old diffs and other files from
+ the files dir. cleaned up the ChangeLog.
+
+ 19 Nov 2003; Caleb Tennis <caleb@gentoo.org> at-3.1.8-r3.ebuild,
+ at-3.1.8-r6.ebuild, at-3.1.8-r7.ebuild:
+ Removed old versions. They were masked in package.mask anyway and haven't
+ been updated in a very long time.
+
+ 06 Nov 2003; Mamoru KOMACHI <usata@gentoo.org> at-3.1.8-r3.ebuild,
+ at-3.1.8-r6.ebuild, at-3.1.8-r7.ebuild, at-3.1.8-r8.ebuild:
+ Changed fowners at.at to fowners at:at. See bug #30596.
+
+ 18 Jan 2003; Aron Griffis <agriffis@gentoo.org> at-3.1.8-r8.ebuild :
+ Add alpha to KEYWORDS
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*at-3.1.8-r6.ebuild (14 July 2002)
+
+ 21 Jul 2002; Mark Guertin <gerk@gentoo.org>:
+ updated keywords (ppc)
+
+ 14 Jul 2002; phoen][x <phoenix@gentoo.org> at-3.1.8-r6.ebuild :
+ Added KEYWORDS, SLOT.
+
+*at-3.1.8-r3.ebuild (14 July 2002)
+
+ 14 Jul 2002; phoen][x <phoenix@gentoo.org> at-3.1.8-r3.ebuild :
+ Added KEYWORDS, SLOT.
+
+ 24 Mar 2002; M.Schlemmer <azarah@gentoo.org>:
+
+ Update the rc-script to properly use the pidfile to stop the service,
+ and add "logger" to its need.
+
+*at-3.1.8-r8 (18 Mar 2002)
+
+ 14 Jul 2002; phoen][x <phoenix@gentoo.org> at-3.1.8-r8.ebuild :
+ Added KEYWORDS, SLOT.
+ 18 Mar 2002; Chad Huneycutt <chadh@gentoo.org>:
+ per bug #1199, added virtual/mta as an RDEPEND
+
+*at-3.1.8-r7 (1 Feb 2002)
+
+ 14 Jul 2002; phoen][x <phoenix@gentoo.org> at-3.1.8-r7.ebuild :
+ Added KEYWORDS, SLOT.
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog.
diff --git a/sys-process/at/Manifest b/sys-process/at/Manifest
new file mode 100644
index 000000000000..f25d3959fbe1
--- /dev/null
+++ b/sys-process/at/Manifest
@@ -0,0 +1,7 @@
+MD5 aa1e07d160a9b291de34e79ea12bce54 ChangeLog 3383
+MD5 9c8fdf815ce980c230d763b496d4d088 metadata.xml 158
+MD5 0d34b66babab7c4e10c34af864a325bc at-3.1.8-r11.ebuild 1832
+MD5 b1f01b7f45cd50b24b40694c623ecc53 files/digest-at-3.1.8-r11 63
+MD5 f189f039555f37eb1a0792837d33ea04 files/at-3.1.8-longuser.patch 723
+MD5 342e834e06fdf58c877f1fc237f984de files/at.deny 121
+MD5 1fbee35c5519e1bcedc01e63faa85931 files/atd.rc6 506
diff --git a/sys-process/at/at-3.1.8-r11.ebuild b/sys-process/at/at-3.1.8-r11.ebuild
new file mode 100644
index 000000000000..87c0fa709424
--- /dev/null
+++ b/sys-process/at/at-3.1.8-r11.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/at/at-3.1.8-r11.ebuild,v 1.1 2005/03/03 17:40:23 ciaranm Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="Queues jobs for later execution"
+HOMEPAGE="ftp://jurix.jura.uni-sb.de/pub/jurix/source/chroot/appl/at/"
+SRC_URI="http://ftp.debian.org/debian/pool/main/a/at/at_${PV}-11.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
+IUSE=""
+
+DEPEND="virtual/libc
+ >=sys-devel/flex-2.5.4a
+ >=sys-apps/portage-2.0.51"
+RDEPEND="virtual/libc
+ virtual/mta"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # respect LDFLAGS
+ sed -i \
+ -e "s/\(@LIBS@\)/@LDFLAGS@ \1/" \
+ Makefile.in || die "sed Makefile.in failed"
+
+ # Fix bug 33696 by allowing usernames longer than 8 chars,
+ # thanks to Yuval Kogman for the patch
+ epatch ${FILESDIR}/at-3.1.8-longuser.patch
+}
+
+src_compile() {
+ ./configure \
+ --host=${CHOST/-pc/} \
+ --sysconfdir=/etc/at \
+ --with-jobdir=/var/spool/at/atjobs \
+ --with-atspool=/var/spool/at/atspool \
+ --with-etcdir=/etc/at \
+ --with-daemon_username=at \
+ --with-daemon_groupname=at \
+ ${EXTRA_ECONF} || die "configure failed"
+
+ emake LDFLAGS="${LDFLAGS}" || die "make failed"
+}
+
+src_install() {
+ into /usr
+ chmod 755 batch
+ chmod 755 atrun
+ dobin at batch
+ fperms 4755 /usr/bin/at
+ dosym at /usr/bin/atrm
+ dosym at /usr/bin/atq
+ dosbin atd atrun
+
+ dodir /var/spool/at
+ fowners at:at /var/spool/at
+ for i in atjobs atspool ; do
+ dodir /var/spool/at/${i}
+ fowners at:at /var/spool/at/${i}
+ fperms 700 /var/spool/at/${i}
+ touch ${D}/var/spool/at/${i}/.SEQ
+ done
+
+ newinitd ${FILESDIR}/atd.rc6 atd
+ insinto /etc/at
+ insopts -m 0644
+ doins ${FILESDIR}/at.deny
+ doman at.1 at_allow.5 atd.8 atrun.8
+ dodoc ChangeLog Problems README timespec
+}
diff --git a/sys-process/at/files/at-3.1.8-longuser.patch b/sys-process/at/files/at-3.1.8-longuser.patch
new file mode 100644
index 000000000000..0f2ebb585f7e
--- /dev/null
+++ b/sys-process/at/files/at-3.1.8-longuser.patch
@@ -0,0 +1,20 @@
+--- at-3.1.8/atd.c.old 2002-01-17 23:15:27.000000000 -0500
++++ at-3.1.8/atd.c 2004-04-06 15:27:00.000000000 -0400
+@@ -196,7 +196,7 @@
+ */
+ pid_t pid;
+ int fd_out, fd_in;
+- char mailbuf[9], jobbuf[9];
++ char mailbuf[256], jobbuf[9];
+ char *mailname = NULL;
+ char *newname;
+ FILE *stream;
+@@ -299,7 +299,7 @@
+ * NFS and works with local file systems. It's not clear where
+ * the bug is located. -Joey
+ */
+- if (fscanf(stream, "#!/bin/sh\n# atrun uid=%d gid=%d\n# mail %8s %d",
++ if (fscanf(stream, "#!/bin/sh\n# atrun uid=%d gid=%d\n# mail %255s %d",
+ &nuid, &ngid, mailbuf, &send_mail) != 4)
+ pabort("File %.500s is in wrong format - aborting",
+ filename);
diff --git a/sys-process/at/files/at.deny b/sys-process/at/files/at.deny
new file mode 100644
index 000000000000..02f6e853d303
--- /dev/null
+++ b/sys-process/at/files/at.deny
@@ -0,0 +1,21 @@
+guest
+nobody
+bin
+daemon
+lp
+sync
+mail
+news
+uucp
+games
+man
+ftp
+squid
+mysql
+alias
+qmaild
+qmaill
+qmailp
+qmailq
+qmailr
+qmails
diff --git a/sys-process/at/files/atd.rc6 b/sys-process/at/files/atd.rc6
new file mode 100755
index 000000000000..da022b0b769f
--- /dev/null
+++ b/sys-process/at/files/atd.rc6
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/at/files/atd.rc6,v 1.1 2005/03/03 17:40:23 ciaranm Exp $
+
+depend() {
+ need clock logger
+}
+
+start() {
+ ebegin "Starting atd"
+ start-stop-daemon --start --quiet --pidfile /var/run/atd.pid \
+ --startas /usr/sbin/atd
+ eend $?
+}
+
+stop() {
+ ebegin "Shutting down atd"
+ start-stop-daemon --stop --quiet --pidfile /var/run/atd.pid
+ eend $?
+}
diff --git a/sys-process/at/files/digest-at-3.1.8-r11 b/sys-process/at/files/digest-at-3.1.8-r11
new file mode 100644
index 000000000000..0d6e63d22fd0
--- /dev/null
+++ b/sys-process/at/files/digest-at-3.1.8-r11
@@ -0,0 +1 @@
+MD5 81dbae5162aaa8a398a81424d6631c77 at_3.1.8-11.tar.gz 108827
diff --git a/sys-process/at/metadata.xml b/sys-process/at/metadata.xml
new file mode 100644
index 000000000000..3f399e92bcff
--- /dev/null
+++ b/sys-process/at/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>cron</herd>
+</pkgmetadata>