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