diff options
author | Thilo Bangert <bangert@gentoo.org> | 2009-02-04 20:16:32 +0000 |
---|---|---|
committer | Thilo Bangert <bangert@gentoo.org> | 2009-02-04 20:16:32 +0000 |
commit | a3bd90b14a38d14bdf1cfe459625403b9906f0a3 (patch) | |
tree | fbb41ae1e59f018ad767fbcd9501e3d21dffabfc /sys-process/at | |
parent | Version bump, patches are upstream (bug #257443). (diff) | |
download | historical-a3bd90b14a38d14bdf1cfe459625403b9906f0a3.tar.gz historical-a3bd90b14a38d14bdf1cfe459625403b9906f0a3.tar.bz2 historical-a3bd90b14a38d14bdf1cfe459625403b9906f0a3.zip |
use a working pamd file - force directory permission on spool directory
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.28-gentoo i686
Diffstat (limited to 'sys-process/at')
-rw-r--r-- | sys-process/at/ChangeLog | 8 | ||||
-rw-r--r-- | sys-process/at/Manifest | 5 | ||||
-rw-r--r-- | sys-process/at/at-3.1.10.2-r1.ebuild | 74 | ||||
-rw-r--r-- | sys-process/at/files/at.pamd | 8 |
4 files changed, 88 insertions, 7 deletions
diff --git a/sys-process/at/ChangeLog b/sys-process/at/ChangeLog index d7b9c3004df3..046bacbafbbb 100644 --- a/sys-process/at/ChangeLog +++ b/sys-process/at/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-process/at # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/at/ChangeLog,v 1.14 2009/01/31 19:13:33 bangert Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/at/ChangeLog,v 1.15 2009/02/04 20:16:32 bangert Exp $ + +*at-3.1.10.2-r1 (04 Feb 2009) + + 04 Feb 2009; Thilo Bangert <bangert@gentoo.org> files/at.pamd, + +at-3.1.10.2-r1.ebuild: + use a working pamd file - force directory permission on spool directory *at-3.1.10.2 (31 Jan 2009) diff --git a/sys-process/at/Manifest b/sys-process/at/Manifest index 38613ad9406b..72f51ca026fd 100644 --- a/sys-process/at/Manifest +++ b/sys-process/at/Manifest @@ -5,14 +5,15 @@ AUX at-3.1.8-longuser.patch 747 RMD160 75b20b48c98658faf65874dd0aae646a4544383e AUX at-3.1.8-makefile.patch 1575 RMD160 b8d651e4bbd030f0b1617b36e58b0394211ecdac SHA1 00edf3581c68b30bb60d98ea5d9e5fdfe5cc66d6 SHA256 12509c6f7dd0f1ee4661bc1fd105963c4e7d5409875371a01e4d7890a1dca3f1 AUX at-3.1.8-more-deny.patch 171 RMD160 406ca3530c5faa72d7d390d80df7f6fc80779c2e SHA1 cfbdef586a9b479e8a724a0847247b7e000fab32 SHA256 53c4f9a4976480369039072f92a8760abd663a0b4f74e95b011c9c9134704866 AUX at.deny 121 RMD160 4e11fcb45d28af1383b00d90ab408041c05e8236 SHA1 24e2f75697d09eca35639208a8ea52ff920de65d SHA256 0f99acc529d3dc0313e405abb3dc587407d778727f8912e9c6c18da585edadd5 -AUX at.pamd 193 RMD160 3e08337a43aaa976fba3f91b789e1ae694eddf76 SHA1 94bacf7ab3f1e1f81955f957b7d2c7444be6061b SHA256 a380fa28383c45c43680a845c0e1a438f2d946af40e67abcae2085b64b929643 +AUX at.pamd 234 RMD160 8dcf99d6cedd4bc9a75e129a6f22ea55d04f3d62 SHA1 412dfda6e7268da26f835b574f917407c294fe21 SHA256 1ec02d1a39dc2d2d3ea35ade82c883304a24d6027a36d4397b2d008b0252ed44 AUX atd.rc6 507 RMD160 03842f52fd3c15eb56cff1383aa62f06c30379ab SHA1 9678609cf8ae275f2642775da6235f85bcf8c62c SHA256 a826f2b747ced768edf8dfc64843b799ea887f4d6354111c3ee816a118c8ac80 DIST at_3.1.10.1.tar.gz 100167 RMD160 3733356d62f3f1a4c0938d9e52ca69eb7f328f4a SHA1 09bac255666f1aff7a403b8b92fcc7cdcb0ad20f SHA256 4890e2e7e45b4a60798b84c78de961cc73f27c7b88c17a766a5b250cc13612a1 DIST at_3.1.10.2.tar.gz 100137 RMD160 4d06f91a0e0d1284ec1a9b5a32fa9e7fab257cd3 SHA1 7834e319b8307983981f192aa221520b95624f67 SHA256 35c4ab4248ba5898ccaddc5efe8722a8f3639deeb07623fa2d41f740e337690f DIST at_3.1.8-11.tar.gz 108827 RMD160 8ec55b96afbe2130f7608e3f3504b013a0dcc6a2 SHA1 fc2d82c5614517cd1944353d0ad4c366acd5e5df SHA256 0d77c73a3c151a7da647dd924f32151e5ee4574530568fd65067882f79cd5a44 EBUILD at-3.1.10.1.ebuild 1262 RMD160 b6117b0d3ae215dd78fe9e2d63379c2a3bb6ccc1 SHA1 b60995b32291fb1f8ccb809e3770e98c7b631c88 SHA256 4c2cf8704f6e8e7b38ae4b27c4408a136f7c91118c3d3aec796d0f07d49179fb +EBUILD at-3.1.10.2-r1.ebuild 1993 RMD160 32ae33d372d80a1ffea676d327d3170b9a8a708f SHA1 261a77a06aa0f518c4c45f656a64d8c4cae139c8 SHA256 f5f66dda2fa54c20c945dfc025b5e04425052514773dc091ca8a2da1206eb66d EBUILD at-3.1.10.2.ebuild 1645 RMD160 909b7e9102826e0ac7ea52aa98e8f6b83f028491 SHA1 69e65126716630220ea2c7d4db703557efebed25 SHA256 a3c289b270b7f06abba60846872e8633a354b7a101b29c7f2acab4b9198a2d55 EBUILD at-3.1.8-r11.ebuild 1916 RMD160 1396ce6bf589e11075b1b7a0e110ab68af98e4d4 SHA1 a701996a63f0ac81f5c2464e5c70593abda2227b SHA256 35b87c0719e6047424c1195aeca5ba239645818c738e1b6bb302aee0ab5a70ce EBUILD at-3.1.8-r12.ebuild 1277 RMD160 423621a3c937fe2a9be5f6f0e36d8f12e0d42edd SHA1 07db312631999ea4aa198deb4bddc9905bd4cec2 SHA256 4b9f45fb9a985f1e232e5cf83874cc631502d4c43f51b2d6ecfa5e1e4fbdc186 -MISC ChangeLog 5553 RMD160 2bb6ad7109a4612554799e0a6d809aa1229b9003 SHA1 8b80e5ab3587706c53e19766eb50734499c0dde1 SHA256 35a79900f6358328316340e22018f66b72ce80c6e950be92b7df5fcf2ea2ecad +MISC ChangeLog 5750 RMD160 fb115b124740d213cad380def9185b09ed5c508d SHA1 3627723e797de8b57d21c3b7478f521f3648ca51 SHA256 000b6638da22cc74c2bb28df7a13685b8aaffafd807a2fc7e4a8f3fe0f59fa44 MISC metadata.xml 158 RMD160 298878d8b5da225547b337739a1a48192546d7b8 SHA1 5a9f7a1c9f0f56d1b0e72ee9b67b5cc5771f6d7d SHA256 a262a73b2049a89ab6a4bdf51df27bea44c7f0aa0ee33176c59a9c63eb45e764 diff --git a/sys-process/at/at-3.1.10.2-r1.ebuild b/sys-process/at/at-3.1.10.2-r1.ebuild new file mode 100644 index 000000000000..84cc8d9718f0 --- /dev/null +++ b/sys-process/at/at-3.1.10.2-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2009 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-r1.ebuild,v 1.1 2009/02/04 20:16:32 bangert 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 ~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 + 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/at.pamd b/sys-process/at/files/at.pamd index 2d5d00e74540..e3b4b72db042 100644 --- a/sys-process/at/files/at.pamd +++ b/sys-process/at/files/at.pamd @@ -3,8 +3,8 @@ # auth required pam_env.so -@include common-auth -@include common-account -@include common-session -session required pam_limits.so +auth include system-auth +account include system-auth +session required pam_limits.so +session include system-auth |