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