Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/at/
Date: Wed, 27 Nov 2019 13:45:33
Message-Id: 1574862326.c51057293adbae49612d877a3ee481ff19023cc5.polynomial-c@gentoo
1 commit: c51057293adbae49612d877a3ee481ff19023cc5
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 27 13:45:16 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 27 13:45:26 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5105729
7
8 sys-process/at: Removed old
9
10 Package-Manager: Portage-2.3.80, Repoman-2.3.19
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-process/at/Manifest | 1 -
14 sys-process/at/at-3.1.18-r1.ebuild | 89 --------------------------------------
15 2 files changed, 90 deletions(-)
16
17 diff --git a/sys-process/at/Manifest b/sys-process/at/Manifest
18 index 8395c7f3866..c7b41635cae 100644
19 --- a/sys-process/at/Manifest
20 +++ b/sys-process/at/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST at_3.1.18.orig.tar.gz 124499 BLAKE2B b7c65d33fea3d3345ec7d1eb82652c787cfa86520bdd8ac0329baad5cd19cf85ffefe695e86480d38833abe131da8e9c2ea8685699bcfe8baafb3e2cfa57502e SHA512 5ec7512663461ffa1922cef0d99c3cc4882defbea7b1ab855b05bb83e9d3817535db73db74413bcc8af005c956032ec3dc7c83ac16fde96bb315094dae654042
23 DIST at_3.1.23.orig.tar.gz 126284 BLAKE2B b2af9dfa4ed87ee93489b98acae6b7eb005d6db7e2401ec7d4d21353af636b232d57e92e4cd6e81f52115aa9d29fadf440809a9d77cb1eb5d40d42ec7fe640b0 SHA512 ee5cf5abf32cf1e89746e427d1cc20005ef49fad47db55512c90042a77e86b2c15f5de029c79573bc86ce4aead6ed2d561b89812510aadbc5763f9288b467cfd
24 DIST at_3.2.1.orig.tar.gz 127577 BLAKE2B 4e8f4aa889075dcede894062b2926afd7892ef15d4ca5bf855b699d1dab9f49a56fd5bd8da376b178032e70cdef72eba2a7d9d6da577982773351633ce85d003 SHA512 8109b2acf220ffc14ea78e7d5671507e8cad41a163c1d7f96de18aae05c8617071c6306e04446450190f492a65ca31f51ed040fba5719b67625a58f738fc9c9e
25
26 diff --git a/sys-process/at/at-3.1.18-r1.ebuild b/sys-process/at/at-3.1.18-r1.ebuild
27 deleted file mode 100644
28 index abcb0735499..00000000000
29 --- a/sys-process/at/at-3.1.18-r1.ebuild
30 +++ /dev/null
31 @@ -1,89 +0,0 @@
32 -# Copyright 1999-2019 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -inherit autotools eutils flag-o-matic pam user systemd
38 -
39 -DESCRIPTION="Queues jobs for later execution"
40 -HOMEPAGE="https://packages.qa.debian.org/a/at.html"
41 -SRC_URI="mirror://debian/pool/main/a/at/${PN}_${PV}.orig.tar.gz"
42 -
43 -LICENSE="GPL-2"
44 -SLOT="0"
45 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86"
46 -IUSE="pam selinux"
47 -
48 -DEPEND="virtual/mta
49 - >=sys-devel/autoconf-2.64
50 - sys-devel/bison
51 - >=sys-devel/flex-2.5.4a
52 - pam? ( sys-libs/pam )"
53 -RDEPEND="virtual/mta
54 - virtual/logger
55 - selinux? ( sec-policy/selinux-at )"
56 -
57 -S="${WORKDIR}"
58 -
59 -PATCHES=(
60 - "${FILESDIR}"/${PN}-3.1.8-more-deny.patch
61 - "${FILESDIR}"/${PN}-3.1.14-Makefile.patch
62 - # fix parallel make issues, bug #244884
63 - "${FILESDIR}"/${PN}-3.1.10.2-Makefile.in-parallel-make-fix.patch
64 - "${FILESDIR}"/${PN}-3.1.13-configure.in-fix-PAM-automagick-dep.patch
65 - # Fix parallel make issue (bug #408375)
66 - "${FILESDIR}"/${PN}-3.1.13-parallel-make-fix.patch
67 - "${FILESDIR}"/${PN}-3.1.13-getloadavg.patch
68 -)
69 -
70 -pkg_setup() {
71 - enewgroup at 25
72 - enewuser at 25 -1 /var/spool/at/atjobs at
73 -}
74 -
75 -src_prepare() {
76 - default
77 - eautoconf
78 -}
79 -
80 -src_configure() {
81 - local myconf=()
82 - use pam || my_conf+=( --without-pam )
83 - use selinux && my_conf+=( --with-selinux )
84 - econf \
85 - --sysconfdir=/etc/at \
86 - --with-jobdir=/var/spool/at/atjobs \
87 - --with-atspool=/var/spool/at/atspool \
88 - --with-etcdir=/etc/at \
89 - --with-daemon_username=at \
90 - --with-daemon_groupname=at \
91 - ${my_conf[@]}
92 -}
93 -
94 -src_install() {
95 - emake install IROOT="${D}"
96 -
97 - newinitd "${FILESDIR}"/atd.rc8 atd
98 - newconfd "${FILESDIR}"/atd.confd atd
99 - newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd
100 -
101 - # Preserve existing .SEQ files (bug #386625)
102 - local seq_file="${ROOT}/var/spool/at/atjobs/.SEQ"
103 - if [ -f "${seq_file}" ] ; then
104 - einfo "Preserving existing .SEQ file (bug #386625)."
105 - cp -p "${seq_file}" "${D}"/var/spool/at/atjobs/ || die
106 - fi
107 -
108 - systemd_dounit "${FILESDIR}/atd.service"
109 -}
110 -
111 -pkg_postinst() {
112 - einfo "Forcing correct permissions on /var/spool/at"
113 - local atspooldir="${ROOT}/var/spool/at"
114 - chown at:at "${atspooldir}/atjobs"
115 - chmod 1770 "${atspooldir}/atjobs"
116 - chown at:at "${atspooldir}/atjobs/.SEQ"
117 - chmod 0600 "${atspooldir}/atjobs/.SEQ"
118 - chown at:at "${atspooldir}/atspool"
119 - chmod 1770 "${atspooldir}/atspool"
120 -}