Сравнение at-3.2.5-r1 с at-3.2.5-r2
/usr/portage/sys-process/at/at-3.2.5-r2.ebuild 2023-10-09 14:52:35.572368503 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
... | ... | |
12 | 12 |
SRC_URI="http://software.calhariz.com/at/${MY_P}.orig.tar.gz |
13 | 13 |
mirror://debian/pool/main/a/at/${MY_P}.orig.tar.gz" |
14 | 14 | |
15 |
LICENSE="GPL-2" |
|
15 |
LICENSE="GPL-2+ GPL-3+ ISC" |
|
16 | 16 |
SLOT="0" |
17 | 17 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" |
18 | 18 |
IUSE="pam selinux" |
... | ... | |
42 | 42 |
"${FILESDIR}"/${PN}-3.1.13-configure.in-fix-PAM-automagick-dep.patch |
43 | 43 |
# Fix parallel make issue (bug #408375) |
44 | 44 |
"${FILESDIR}"/${PN}-3.1.13-parallel-make-fix.patch |
45 |
# Fix permissions (bug #711598) |
|
46 |
"${FILESDIR}"/${P}-Makefile.binary-permission-fix.patch |
|
45 | 47 |
) |
46 | 48 | |
47 | 49 |
src_prepare() { |
... | ... | |
75 | 77 | |
76 | 78 |
systemd_dounit "${FILESDIR}/atd.service" |
77 | 79 |
keepdir /var/spool/at/atspool |
80 |
# Fix permission since keepdir changes it (bug #658460) |
|
81 |
fperms 1770 /var/spool/at/atspool |
|
78 | 82 |
} |
79 | 83 | |
80 | 84 |
pkg_preinst() { |
... | ... | |
85 | 89 |
cp -p "${seq_file}" "${ED}"/var/spool/at/atjobs/ || die |
86 | 90 |
fi |
87 | 91 |
} |
88 | ||
89 |
pkg_postinst() { |
|
90 |
einfo "Forcing correct permissions on /var/spool/at" |
|
91 |
local atspooldir="${EROOT}/var/spool/at" |
|
92 |
chown at:at "${atspooldir}/atjobs" |
|
93 |
chmod 1770 "${atspooldir}/atjobs" |
|
94 |
chown at:at "${atspooldir}/atjobs/.SEQ" |
|
95 |
chmod 0600 "${atspooldir}/atjobs/.SEQ" |
|
96 |
chown at:at "${atspooldir}/atspool" |
|
97 |
chmod 1770 "${atspooldir}/atspool" |
|
98 |
} |