1 |
commit: c6596c4cf6481f0565ea9e6327526f9f6aa1968c |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 28 11:40:07 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 28 11:40:23 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6596c4c |
7 |
|
8 |
sys-process/at: Removed old. |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-process/at/at-3.1.16-r1.ebuild | 82 ------------------------------------ |
14 |
sys-process/at/at-3.1.18.ebuild | 86 -------------------------------------- |
15 |
2 files changed, 168 deletions(-) |
16 |
|
17 |
diff --git a/sys-process/at/at-3.1.16-r1.ebuild b/sys-process/at/at-3.1.16-r1.ebuild |
18 |
deleted file mode 100644 |
19 |
index 0f7bed4..0000000 |
20 |
--- a/sys-process/at/at-3.1.16-r1.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,82 +0,0 @@ |
23 |
-# Copyright 1999-2014 Gentoo Foundation |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Id$ |
26 |
- |
27 |
-EAPI=5 |
28 |
- |
29 |
-inherit autotools eutils flag-o-matic pam user systemd |
30 |
- |
31 |
-DESCRIPTION="Queues jobs for later execution" |
32 |
-HOMEPAGE="http://packages.qa.debian.org/a/at.html" |
33 |
-SRC_URI="mirror://debian/pool/main/a/at/${PN}_${PV}.orig.tar.gz" |
34 |
- |
35 |
-LICENSE="GPL-2" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
38 |
-IUSE="pam selinux" |
39 |
- |
40 |
-DEPEND="virtual/mta |
41 |
- >=sys-devel/autoconf-2.64 |
42 |
- sys-devel/bison |
43 |
- >=sys-devel/flex-2.5.4a |
44 |
- pam? ( virtual/pam )" |
45 |
-RDEPEND="virtual/mta |
46 |
- virtual/logger |
47 |
- selinux? ( sec-policy/selinux-at )" |
48 |
- |
49 |
-pkg_setup() { |
50 |
- enewgroup at 25 |
51 |
- enewuser at 25 -1 /var/spool/at/atjobs at |
52 |
-} |
53 |
- |
54 |
-src_prepare() { |
55 |
- epatch "${FILESDIR}"/${PN}-3.1.8-more-deny.patch |
56 |
- epatch "${FILESDIR}"/${PN}-3.1.14-Makefile.patch |
57 |
- # fix parallel make issues, bug #244884 |
58 |
- epatch "${FILESDIR}"/${PN}-3.1.10.2-Makefile.in-parallel-make-fix.patch |
59 |
- epatch "${FILESDIR}"/${PN}-3.1.13-configure.in-fix-PAM-automagick-dep.patch |
60 |
- # Fix parallel make issue (bug #408375) |
61 |
- epatch "${FILESDIR}"/${PN}-3.1.13-parallel-make-fix.patch |
62 |
- epatch "${FILESDIR}"/${PN}-3.1.13-getloadavg.patch |
63 |
- |
64 |
- eautoconf |
65 |
-} |
66 |
- |
67 |
-src_configure() { |
68 |
- use pam || my_conf="--without-pam" |
69 |
- econf \ |
70 |
- --sysconfdir=/etc/at \ |
71 |
- --with-jobdir=/var/spool/at/atjobs \ |
72 |
- --with-atspool=/var/spool/at/atspool \ |
73 |
- --with-etcdir=/etc/at \ |
74 |
- --with-daemon_username=at \ |
75 |
- --with-daemon_groupname=at \ |
76 |
- ${my_conf} |
77 |
-} |
78 |
- |
79 |
-src_install() { |
80 |
- emake install IROOT="${D}" |
81 |
- |
82 |
- newinitd "${FILESDIR}"/atd.rc8 atd |
83 |
- newconfd "${FILESDIR}"/atd.confd atd |
84 |
- newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd |
85 |
- |
86 |
- # Preserve existing .SEQ files (bug #386625) |
87 |
- local seq_file="${ROOT}/var/spool/at/atjobs/.SEQ" |
88 |
- if [ -f "${seq_file}" ] ; then |
89 |
- einfo "Preserving existing .SEQ file (bug #386625)." |
90 |
- cp -p "${seq_file}" "${D}"/var/spool/at/atjobs/ || die |
91 |
- fi |
92 |
- |
93 |
- systemd_dounit "${FILESDIR}/atd.service" |
94 |
-} |
95 |
- |
96 |
-pkg_postinst() { |
97 |
- einfo "Forcing correct permissions on /var/spool/at" |
98 |
- chown at:at "${ROOT}/var/spool/at/atjobs" |
99 |
- chmod 1770 "${ROOT}/var/spool/at/atjobs" |
100 |
- chown at:at "${ROOT}/var/spool/at/atjobs/.SEQ" |
101 |
- chmod 0600 "${ROOT}/var/spool/at/atjobs/.SEQ" |
102 |
- chown at:at "${ROOT}/var/spool/at/atspool" |
103 |
- chmod 1770 "${ROOT}/var/spool/at/atspool" |
104 |
-} |
105 |
|
106 |
diff --git a/sys-process/at/at-3.1.18.ebuild b/sys-process/at/at-3.1.18.ebuild |
107 |
deleted file mode 100644 |
108 |
index 3052626..0000000 |
109 |
--- a/sys-process/at/at-3.1.18.ebuild |
110 |
+++ /dev/null |
111 |
@@ -1,86 +0,0 @@ |
112 |
-# Copyright 1999-2016 Gentoo Foundation |
113 |
-# Distributed under the terms of the GNU General Public License v2 |
114 |
-# $Id$ |
115 |
- |
116 |
-EAPI=5 |
117 |
- |
118 |
-inherit autotools eutils flag-o-matic pam user systemd |
119 |
- |
120 |
-DESCRIPTION="Queues jobs for later execution" |
121 |
-HOMEPAGE="http://packages.qa.debian.org/a/at.html" |
122 |
-SRC_URI="mirror://debian/pool/main/a/at/${PN}_${PV}.orig.tar.gz" |
123 |
- |
124 |
-LICENSE="GPL-2" |
125 |
-SLOT="0" |
126 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
127 |
-IUSE="pam selinux" |
128 |
- |
129 |
-DEPEND="virtual/mta |
130 |
- >=sys-devel/autoconf-2.64 |
131 |
- sys-devel/bison |
132 |
- >=sys-devel/flex-2.5.4a |
133 |
- pam? ( virtual/pam )" |
134 |
-RDEPEND="virtual/mta |
135 |
- virtual/logger |
136 |
- selinux? ( sec-policy/selinux-at )" |
137 |
- |
138 |
-S="${WORKDIR}" |
139 |
- |
140 |
-pkg_setup() { |
141 |
- enewgroup at 25 |
142 |
- enewuser at 25 -1 /var/spool/at/atjobs at |
143 |
-} |
144 |
- |
145 |
-src_prepare() { |
146 |
- epatch "${FILESDIR}"/${PN}-3.1.8-more-deny.patch |
147 |
- epatch "${FILESDIR}"/${PN}-3.1.14-Makefile.patch |
148 |
- # fix parallel make issues, bug #244884 |
149 |
- epatch "${FILESDIR}"/${PN}-3.1.10.2-Makefile.in-parallel-make-fix.patch |
150 |
- epatch "${FILESDIR}"/${PN}-3.1.13-configure.in-fix-PAM-automagick-dep.patch |
151 |
- # Fix parallel make issue (bug #408375) |
152 |
- epatch "${FILESDIR}"/${PN}-3.1.13-parallel-make-fix.patch |
153 |
- epatch "${FILESDIR}"/${PN}-3.1.13-getloadavg.patch |
154 |
- |
155 |
- eautoconf |
156 |
-} |
157 |
- |
158 |
-src_configure() { |
159 |
- use pam || my_conf="--without-pam" |
160 |
- use selinux && my_conf+= "--with-selinux" |
161 |
- econf \ |
162 |
- --sysconfdir=/etc/at \ |
163 |
- --with-jobdir=/var/spool/at/atjobs \ |
164 |
- --with-atspool=/var/spool/at/atspool \ |
165 |
- --with-etcdir=/etc/at \ |
166 |
- --with-daemon_username=at \ |
167 |
- --with-daemon_groupname=at \ |
168 |
- ${my_conf} |
169 |
-} |
170 |
- |
171 |
-src_install() { |
172 |
- emake install IROOT="${D}" |
173 |
- |
174 |
- newinitd "${FILESDIR}"/atd.rc8 atd |
175 |
- newconfd "${FILESDIR}"/atd.confd atd |
176 |
- newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd |
177 |
- |
178 |
- # Preserve existing .SEQ files (bug #386625) |
179 |
- local seq_file="${ROOT}/var/spool/at/atjobs/.SEQ" |
180 |
- if [ -f "${seq_file}" ] ; then |
181 |
- einfo "Preserving existing .SEQ file (bug #386625)." |
182 |
- cp -p "${seq_file}" "${D}"/var/spool/at/atjobs/ || die |
183 |
- fi |
184 |
- |
185 |
- systemd_dounit "${FILESDIR}/atd.service" |
186 |
-} |
187 |
- |
188 |
-pkg_postinst() { |
189 |
- einfo "Forcing correct permissions on /var/spool/at" |
190 |
- local atspooldir="${ROOT}/var/spool/at" |
191 |
- chown at:at "${atspooldir}/atjobs" |
192 |
- chmod 1770 "${atspooldir}/atjobs" |
193 |
- chown at:at "${atspooldir}/atjobs/.SEQ" |
194 |
- chmod 0600 "${atspooldir}/atjobs/.SEQ" |
195 |
- chown at:at "${atspooldir}/atspool" |
196 |
- chmod 1770 "${atspooldir}/atspool" |
197 |
-} |