1 |
blueness 13/02/26 20:31:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: at-3.1.13-r2.ebuild |
5 |
Log: |
6 |
non-maintainer commit: fix getloadavg for uclibc |
7 |
|
8 |
(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
9 |
|
10 |
Revision Changes Path |
11 |
1.44 sys-process/at/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/at/ChangeLog?rev=1.44&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/at/ChangeLog?rev=1.44&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/at/ChangeLog?r1=1.43&r2=1.44 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-process/at/ChangeLog,v |
20 |
retrieving revision 1.43 |
21 |
retrieving revision 1.44 |
22 |
diff -u -r1.43 -r1.44 |
23 |
--- ChangeLog 18 Feb 2013 17:57:48 -0000 1.43 |
24 |
+++ ChangeLog 26 Feb 2013 20:31:49 -0000 1.44 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sys-process/at |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-process/at/ChangeLog,v 1.43 2013/02/18 17:57:48 swift Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-process/at/ChangeLog,v 1.44 2013/02/26 20:31:49 blueness Exp $ |
30 |
+ |
31 |
+*at-3.1.13-r2 (26 Feb 2013) |
32 |
+ |
33 |
+ 26 Feb 2013; Anthony G. Basile <blueness@g.o> +at-3.1.13-r2.ebuild, |
34 |
+ +files/at-3.1.13-getloadavg.patch: |
35 |
+ non-maintainer commit: fix getloadavg for uclibc |
36 |
|
37 |
18 Feb 2013; Sven Vermeulen <swift@g.o> at-3.1.10.2-r1.ebuild, |
38 |
at-3.1.10.2-r2.ebuild, at-3.1.13.ebuild, at-3.1.13-r1.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-process/at/at-3.1.13-r2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/at/at-3.1.13-r2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/at/at-3.1.13-r2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: at-3.1.13-r2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-process/at/at-3.1.13-r2.ebuild,v 1.1 2013/02/26 20:31:49 blueness Exp $ |
52 |
|
53 |
EAPI=4 |
54 |
|
55 |
inherit autotools eutils flag-o-matic pam |
56 |
|
57 |
DESCRIPTION="Queues jobs for later execution" |
58 |
HOMEPAGE="http://packages.qa.debian.org/a/at.html" |
59 |
SRC_URI="mirror://debian/pool/main/a/at/${PN}_${PV}.orig.tar.gz" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
64 |
IUSE="pam selinux" |
65 |
|
66 |
DEPEND="virtual/mta |
67 |
>=sys-devel/autoconf-2.64 |
68 |
sys-devel/bison |
69 |
>=sys-devel/flex-2.5.4a |
70 |
pam? ( virtual/pam ) |
71 |
selinux? ( sec-policy/selinux-at )" |
72 |
RDEPEND="virtual/mta |
73 |
virtual/logger |
74 |
selinux? ( sec-policy/selinux-at )" |
75 |
|
76 |
pkg_setup() { |
77 |
enewgroup at 25 |
78 |
enewuser at 25 -1 /var/spool/at/atjobs at |
79 |
} |
80 |
|
81 |
src_prepare() { |
82 |
epatch "${FILESDIR}"/${PN}-3.1.8-more-deny.patch |
83 |
epatch "${FILESDIR}"/${PN}-3.1.13-Makefile.patch |
84 |
# fix parallel make issues, bug #244884 |
85 |
epatch "${FILESDIR}"/${PN}-3.1.10.2-Makefile.in-parallel-make-fix.patch |
86 |
epatch "${FILESDIR}"/${P}-configure.in-fix-PAM-automagick-dep.patch |
87 |
# Fix parallel make issue (bug #408375) |
88 |
epatch "${FILESDIR}"/${PN}-3.1.13-parallel-make-fix.patch |
89 |
epatch "${FILESDIR}"/${PN}-3.1.13-getloadavg.patch |
90 |
|
91 |
eautoconf |
92 |
} |
93 |
|
94 |
src_configure() { |
95 |
use pam || my_conf="--without-pam" |
96 |
econf \ |
97 |
--sysconfdir=/etc/at \ |
98 |
--with-jobdir=/var/spool/at/atjobs \ |
99 |
--with-atspool=/var/spool/at/atspool \ |
100 |
--with-etcdir=/etc/at \ |
101 |
--with-daemon_username=at \ |
102 |
--with-daemon_groupname=at \ |
103 |
${my_conf} |
104 |
} |
105 |
|
106 |
src_install() { |
107 |
emake install IROOT="${D}" || die |
108 |
|
109 |
newinitd "${FILESDIR}"/atd.rc6 atd |
110 |
newconfd "${FILESDIR}"/atd.confd atd |
111 |
newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd |
112 |
|
113 |
# Preserve existing .SEQ files (bug #386625) |
114 |
local seq_file="${ROOT}/var/spool/at/atjobs/.SEQ" |
115 |
if [ -f "${seq_file}" ] ; then |
116 |
einfo "Preserving existing .SEQ file (bug #386625)." |
117 |
cp -p "${seq_file}" "${D}"/var/spool/at/atjobs/ || die |
118 |
fi |
119 |
} |
120 |
|
121 |
pkg_postinst() { |
122 |
einfo "Forcing correct permissions on /var/spool/at" |
123 |
chown at:at "${ROOT}/var/spool/at/atjobs" |
124 |
chmod 1770 "${ROOT}/var/spool/at/atjobs" |
125 |
chown at:at "${ROOT}/var/spool/at/atjobs/.SEQ" |
126 |
chmod 0600 "${ROOT}/var/spool/at/atjobs/.SEQ" |
127 |
chown at:at "${ROOT}/var/spool/at/atspool" |
128 |
chmod 1770 "${ROOT}/var/spool/at/atspool" |
129 |
} |