diff options
author | Donny Davies <woodchip@gentoo.org> | 2001-09-02 03:39:24 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2001-09-02 03:39:24 +0000 |
commit | f4607c0c626cad032e84d32cfaa63b7f71afdfa7 (patch) | |
tree | f458c627e3c67eccbc6c0219fddc6c57353d85be /sys-apps/at | |
parent | removed ppp for now (diff) | |
download | gentoo-2-f4607c0c626cad032e84d32cfaa63b7f71afdfa7.tar.gz gentoo-2-f4607c0c626cad032e84d32cfaa63b7f71afdfa7.tar.bz2 gentoo-2-f4607c0c626cad032e84d32cfaa63b7f71afdfa7.zip |
*** empty log message ***
Diffstat (limited to 'sys-apps/at')
-rw-r--r-- | sys-apps/at/at-3.1.8-r3.ebuild | 42 | ||||
-rw-r--r-- | sys-apps/at/at-3.1.8-r6.ebuild | 66 | ||||
-rw-r--r--[-rwxr-xr-x] | sys-apps/at/files/atd.rc5 (renamed from sys-apps/at/files/atd) | 2 | ||||
-rw-r--r-- | sys-apps/at/files/atd.rc6 | 19 | ||||
-rw-r--r-- | sys-apps/at/files/digest-at-3.1.8-r6 (renamed from sys-apps/at/files/digest-at-3.1.8-r2) | 0 |
5 files changed, 103 insertions, 26 deletions
diff --git a/sys-apps/at/at-3.1.8-r3.ebuild b/sys-apps/at/at-3.1.8-r3.ebuild index 0c584cae4dc9..6d7f933818e9 100644 --- a/sys-apps/at/at-3.1.8-r3.ebuild +++ b/sys-apps/at/at-3.1.8-r3.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-apps/at/at-3.1.8-r3.ebuild,v 1.2 2001/07/21 18:59:53 tadpol Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/at/at-3.1.8-r3.ebuild,v 1.3 2001/09/02 03:39:24 woodchip Exp $ A="${P}.tar.bz2 ${P}.dif" S=${WORKDIR}/${P} @@ -18,26 +18,25 @@ src_unpack() { unpack ${P}.tar.bz2 cd ${S} - patch -p0 < ${DISTDIR}/${P}.dif + patch -p0 < ${DISTDIR}/${P}.dif || die cp configure.in configure.orig - patch -p0 < ${FILESDIR}/${P}-configure.in-sendmail-gentoo.diff - patch -p0 < ${FILESDIR}/${P}-configure-sendmail-gentoo.diff + patch -p0 < ${FILESDIR}/${P}-configure.in-sendmail-gentoo.diff || die + patch -p0 < ${FILESDIR}/${P}-configure-sendmail-gentoo.diff || die } src_compile() { - try ./configure --host=${CHOST/-pc/} --sysconfdir=/etc/at \ + ./configure --host=${CHOST/-pc/} --sysconfdir=/etc/at \ --with-jobdir=/var/cron/atjobs \ --with-atspool=/var/cron/atspool \ --with-etcdir=/etc/at \ - --with-daemon_username=at \ - --with-daemon_groupname=at - - try pmake + --with-daemon_username=at \ + --with-daemon_groupname=at + assert + emake || die } - src_install() { into /usr @@ -52,23 +51,16 @@ src_install() { for i in atjobs atspool do dodir /var/cron/${i} - fperms 700 /var/cron/${i} + fperms 700 /var/cron/${i} fowners at.at /var/cron/${i} touch ${D}/var/cron/${i}/.SEQ done - dodir /etc/rc.d/init.d - cp ${FILESDIR}/atd ${D}/etc/rc.d/init.d/ - dodir /etc/at - cp ${FILESDIR}/at.deny ${D}/etc/at/ - - doman at.1 at_allow.5 atd.8 atrun.8 - - dodoc COPYING ChangeLog Copyright - docinto txt - dodoc Problems README - + exeinto /etc/rc.d/init.d + newexe ${FILESDIR}/atd.rc5 atd + insinto /etc/at + insopts -m 0644 + doins ${FILESDIR}/at.deny + doman at.1 at_allow.5 atd.8 atrun.8 + dodoc COPYING ChangeLog Copyright Problems README } - - - diff --git a/sys-apps/at/at-3.1.8-r6.ebuild b/sys-apps/at/at-3.1.8-r6.ebuild new file mode 100644 index 000000000000..462f9b234277 --- /dev/null +++ b/sys-apps/at/at-3.1.8-r6.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-apps/at/at-3.1.8-r6.ebuild,v 1.1 2001/09/02 03:39:24 woodchip Exp $ + +A="${P}.tar.bz2 ${P}.dif" +S=${WORKDIR}/${P} +DESCRIPTION="queues jobs for later execution" +SRC_URI="ftp://jurix.jura.uni-sb.de/pub/jurix/source/chroot/appl/at/${P}.tar.bz2 + ftp://jurix.jura.uni-sb.de/pub/jurix/source/chroot/appl/at/${P}.dif" +HOMEPAGE="" + +DEPEND="virtual/glibc >=sys-devel/flex-2.5.4a" + +RDEPEND="virtual/glibc" + +src_unpack() { + + unpack ${P}.tar.bz2 + cd ${S} + patch -p0 < ${DISTDIR}/${P}.dif || die + cp configure.in configure.orig + patch -p0 < ${FILESDIR}/${P}-configure.in-sendmail-gentoo.diff || die + patch -p0 < ${FILESDIR}/${P}-configure-sendmail-gentoo.diff || die +} + +src_compile() { + + ./configure --host=${CHOST/-pc/} --sysconfdir=/etc/at \ + --with-jobdir=/var/cron/atjobs \ + --with-atspool=/var/cron/atspool \ + --with-etcdir=/etc/at \ + --with-daemon_username=at \ + --with-daemon_groupname=at + assert + + emake || die +} + +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 + + for i in atjobs atspool + do + dodir /var/cron/${i} + fperms 700 /var/cron/${i} + fowners at.at /var/cron/${i} + touch ${D}/var/cron/${i}/.SEQ + done + + exeinto /etc/init.d + newexe ${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 COPYING ChangeLog Copyright Problems README +} diff --git a/sys-apps/at/files/atd b/sys-apps/at/files/atd.rc5 index 5af8590e0d5a..fa86b47cb10d 100755..100644 --- a/sys-apps/at/files/atd +++ b/sys-apps/at/files/atd.rc5 @@ -2,7 +2,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-apps/at/files/atd,v 1.1 2000/08/02 17:10:25 achim Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/at/files/atd.rc5,v 1.1 2001/09/02 03:39:24 woodchip Exp $ #RCUPDATE:2 3 4:75: diff --git a/sys-apps/at/files/atd.rc6 b/sys-apps/at/files/atd.rc6 new file mode 100644 index 000000000000..13ac7c1ed6f4 --- /dev/null +++ b/sys-apps/at/files/atd.rc6 @@ -0,0 +1,19 @@ +#!/sbin/runscript + +depend() { + need clock +} + +function start() { + # Start daemons. + ebegin "Starting atd..." + start-stop-daemon --start --quiet --exec /usr/sbin/atd + eend $? "Started atd." "Error Starting atd" +} + +function stop() { + # Stop daemons. + ebegin "Shutting down atd..." + start-stop-daemon --stop --quiet --pidfile /var/run/atd.pid + eend $? "Stopped atd." "Error Stopping atd." +} diff --git a/sys-apps/at/files/digest-at-3.1.8-r2 b/sys-apps/at/files/digest-at-3.1.8-r6 index 7ec2fb52f97d..7ec2fb52f97d 100644 --- a/sys-apps/at/files/digest-at-3.1.8-r2 +++ b/sys-apps/at/files/digest-at-3.1.8-r6 |