diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-04-17 22:46:41 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-04-17 22:46:41 +0000 |
commit | 11d0c1170e32423dd67cca8ffc1998c78dfddfb8 (patch) | |
tree | 3858b0909eec237d99de221810c666c9928e91b5 /sys-process | |
parent | Warn about crashing bugs, upstream #26900, #35391. (diff) | |
download | historical-11d0c1170e32423dd67cca8ffc1998c78dfddfb8.tar.gz historical-11d0c1170e32423dd67cca8ffc1998c78dfddfb8.tar.bz2 historical-11d0c1170e32423dd67cca8ffc1998c78dfddfb8.zip |
Add conf.d script for the few but potentially useful (batch related) options atd provides.
Package-Manager: portage-2.2.0_alpha30/cvs/Linux i686
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/at/ChangeLog | 11 | ||||
-rw-r--r-- | sys-process/at/Manifest | 14 | ||||
-rw-r--r-- | sys-process/at/at-3.1.10.2-r2.ebuild | 75 | ||||
-rw-r--r-- | sys-process/at/files/atd.confd | 8 | ||||
-rwxr-xr-x | sys-process/at/files/atd.rc6 | 6 |
5 files changed, 103 insertions, 11 deletions
diff --git a/sys-process/at/ChangeLog b/sys-process/at/ChangeLog index b2f1fc9d7ffd..5ddfa8962cfb 100644 --- a/sys-process/at/ChangeLog +++ b/sys-process/at/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-process/at -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/at/ChangeLog,v 1.25 2010/10/31 16:04:05 flameeyes Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/at/ChangeLog,v 1.26 2011/04/17 22:46:41 jer Exp $ + +*at-3.1.10.2-r2 (17 Apr 2011) + + 17 Apr 2011; Jeroen Roovers <jer@gentoo.org> +at-3.1.10.2-r2.ebuild, + +files/atd.confd, files/atd.rc6: + Add conf.d script for the few but potentially useful (batch related) options + atd provides. 31 Oct 2010; Diego E. Pettenò <flameeyes@gentoo.org> -at-3.1.8-r11.ebuild, -at-3.1.8-r12.ebuild, diff --git a/sys-process/at/Manifest b/sys-process/at/Manifest index 032455678e3f..eed5504919a8 100644 --- a/sys-process/at/Manifest +++ b/sys-process/at/Manifest @@ -6,15 +6,17 @@ AUX at-3.1.10.2-Makefile.in-parallel-make-fix.patch 369 RMD160 022d330668b939b12 AUX at-3.1.10.2-configure.in-fix-PAM-automagick-dep.patch 655 RMD160 8984239d265481cda3994897b37b9ffb618068f5 SHA1 1bb86ee28e14148cd0e12ec71d2fedfc270119fe SHA256 4dd613213711f0e35dd946ec0a5c8431e5c3c59c5875bf752c6971539e2a012c AUX at-3.1.8-more-deny.patch 171 RMD160 406ca3530c5faa72d7d390d80df7f6fc80779c2e SHA1 cfbdef586a9b479e8a724a0847247b7e000fab32 SHA256 53c4f9a4976480369039072f92a8760abd663a0b4f74e95b011c9c9134704866 AUX at.pamd 234 RMD160 8dcf99d6cedd4bc9a75e129a6f22ea55d04f3d62 SHA1 412dfda6e7268da26f835b574f917407c294fe21 SHA256 1ec02d1a39dc2d2d3ea35ade82c883304a24d6027a36d4397b2d008b0252ed44 -AUX atd.rc6 507 RMD160 03842f52fd3c15eb56cff1383aa62f06c30379ab SHA1 9678609cf8ae275f2642775da6235f85bcf8c62c SHA256 a826f2b747ced768edf8dfc64843b799ea887f4d6354111c3ee816a118c8ac80 +AUX atd.confd 315 RMD160 55c9e4b07c9b58c130bfc7f9bd6078293f6ac837 SHA1 edb6f7b65f62d2c8229e4606640cabffed5f449f SHA256 92350108a385cc66dffab8c9fc9cc1c85ca1abf36d0ffb007a4e1e55291e0179 +AUX atd.rc6 518 RMD160 92880fa66f2b22ea29d226db530560cf2f59f5d8 SHA1 201ace95b5c0327debc71b12ed1487c0562d1aae SHA256 c2953e2e488bbdaa47063347b47cc212988ff70cb0bedbb1a41a5b595fbfe61a DIST at_3.1.10.2.tar.gz 100137 RMD160 4d06f91a0e0d1284ec1a9b5a32fa9e7fab257cd3 SHA1 7834e319b8307983981f192aa221520b95624f67 SHA256 35c4ab4248ba5898ccaddc5efe8722a8f3639deeb07623fa2d41f740e337690f EBUILD at-3.1.10.2-r1.ebuild 1986 RMD160 136c8273d32067124acad9d858d067ab9f9f8258 SHA1 2370b4161163eaeafbe54ded0f3a87ae658cb4ea SHA256 14c1429bacfb0b480a0b85e98828c25d313db7c9143a799d8757b174fc718ea0 -MISC ChangeLog 7003 RMD160 400a5ffb84f361a02627d5be3fe3dda7a0dc2026 SHA1 69e49ec4c1d8b4694fdd657646090bd2e6dc4e44 SHA256 defb76947b7e218e6e0d34b494490d9022c78cf984c19528147d2e6ba4bfabc5 +EBUILD at-3.1.10.2-r2.ebuild 2032 RMD160 b9e9c5878d70a1ee60453e8583c7d20ba17f71b5 SHA1 4cdb4b99ce073c787a856ebb9c5ddea7ae254cfb SHA256 7ea4e5ab53b7b90fdbd7a0ad7fd8975a877ac8cdb3bfe166917250194da54d98 +MISC ChangeLog 7230 RMD160 bde44e93c9fc9ee3ef98aa698668eb40f95581bd SHA1 b9a20222638076f7b41ad996f2d76e4a6587e913 SHA256 a5f8a513372da5eae80213618d4af32df2d69ad15fd70c06320daa0c30d85302 MISC metadata.xml 158 RMD160 298878d8b5da225547b337739a1a48192546d7b8 SHA1 5a9f7a1c9f0f56d1b0e72ee9b67b5cc5771f6d7d SHA256 a262a73b2049a89ab6a4bdf51df27bea44c7f0aa0ee33176c59a9c63eb45e764 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.16 (GNU/Linux) +Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAkzNk3UACgkQAiZjviIA2XjVbQCggLTLJMPf9t8P37knotbv403K -ZbYAn1h2bnlAf7rNki/I65kPFwVm7tbX -=hO+a +iEYEARECAAYFAk2rbdYACgkQVWmRsqeSphO0RgCfZ/BfBHiLTymVXr0FO7D/NiBN +9LEAn14l5qHOxEa/xfu+4QInwd+ao5aA +=a1cY -----END PGP SIGNATURE----- diff --git a/sys-process/at/at-3.1.10.2-r2.ebuild b/sys-process/at/at-3.1.10.2-r2.ebuild new file mode 100644 index 000000000000..11c634b7f7d1 --- /dev/null +++ b/sys-process/at/at-3.1.10.2-r2.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/at/at-3.1.10.2-r2.ebuild,v 1.1 2011/04/17 22:46:41 jer Exp $ + +inherit eutils flag-o-matic autotools pam + +DESCRIPTION="Queues jobs for later execution" +HOMEPAGE="http://packages.qa.debian.org/a/at.html" +SRC_URI="mirror://debian/pool/main/a/at/at_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="pam" + +DEPEND="virtual/mta + >=sys-devel/flex-2.5.4a + pam? ( virtual/pam )" +RDEPEND="virtual/mta + virtual/logger" + +pkg_setup() { + enewgroup at 25 + enewuser at 25 -1 /var/spool/at/atjobs at +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${PN}-3.1.8-more-deny.patch + epatch "${FILESDIR}"/${PN}-3.1.10.1-Makefile.patch + # fix parallel make issues, bug #244884 + epatch "${FILESDIR}"/${P}-Makefile.in-parallel-make-fix.patch + epatch "${FILESDIR}"/${P}-configure.in-fix-PAM-automagick-dep.patch + + # fixing version string shown on "at -V" - bug #252970 + sed -e "/^VERSION=/s:3\.1\.9:${PV}:" -i "${S}"/configure.in \ + || die "sed configure.in failed" + eautoconf +} + +src_compile() { + use pam || my_conf="--without-pam" + econf \ + --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 \ + ${my_conf} \ + || die "configure failed" + + emake || die "make failed" +} + +src_install() { + make install IROOT="${D}" || die + + newinitd "${FILESDIR}"/atd.rc6 atd + newconfd "${FILESDIR}"/atd.confd atd + newpamd "${FILESDIR}"/at.pamd atd + prepalldocs +} + +pkg_postinst() { + einfo "Forcing correct permissions on /var/spool/at" + chown at:at "${ROOT}/var/spool/at/atjobs" + chmod 1770 "${ROOT}/var/spool/at/atjobs" + chown at:at "${ROOT}/var/spool/at/atjobs/.SEQ" + chmod 0600 "${ROOT}/var/spool/at/atjobs/.SEQ" + chown at:at "${ROOT}/var/spool/at/atspool" + chmod 1770 "${ROOT}/var/spool/at/atspool" +} diff --git a/sys-process/at/files/atd.confd b/sys-process/at/files/atd.confd new file mode 100644 index 000000000000..db42ea557ec7 --- /dev/null +++ b/sys-process/at/files/atd.confd @@ -0,0 +1,8 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/at/files/atd.confd,v 1.1 2011/04/17 22:46:40 jer Exp $ + +# Define startup options for atd(8). +# For example: ATD_OPTS="-l 3.0 -b 5" +ATD_OPTS="" diff --git a/sys-process/at/files/atd.rc6 b/sys-process/at/files/atd.rc6 index da022b0b769f..d0dc71045556 100755 --- a/sys-process/at/files/atd.rc6 +++ b/sys-process/at/files/atd.rc6 @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2011 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 $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/at/files/atd.rc6,v 1.2 2011/04/17 22:46:40 jer Exp $ depend() { need clock logger @@ -10,7 +10,7 @@ depend() { start() { ebegin "Starting atd" start-stop-daemon --start --quiet --pidfile /var/run/atd.pid \ - --startas /usr/sbin/atd + --startas /usr/sbin/atd -- ${ATD_OPTS} eend $? } |