summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-04-26 09:22:07 +0200
committerLars Wendler <polynomial-c@gentoo.org>2021-04-26 09:30:42 +0200
commit3943102656f231e082a38daa2888676fbca43507 (patch)
treef9aade2b9b590f6817e9858cfb490f8f2bf87a96 /sys-process/at
parentacct-user/at: Initial commit (diff)
downloadgentoo-3943102656f231e082a38daa2888676fbca43507.tar.gz
gentoo-3943102656f231e082a38daa2888676fbca43507.tar.bz2
gentoo-3943102656f231e082a38daa2888676fbca43507.zip
sys-process/at: Revbump for GLEP 81 migration
Package now is using uid/gid 246 Closes: https://bugs.gentoo.org/537474 Closes: https://bugs.gentoo.org/781512 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-process/at')
-rw-r--r--sys-process/at/at-3.2.2-r1.ebuild (renamed from sys-process/at/at-3.2.2.ebuild)32
1 files changed, 17 insertions, 15 deletions
diff --git a/sys-process/at/at-3.2.2.ebuild b/sys-process/at/at-3.2.2-r1.ebuild
index ec5f18b84236..5b8dec445ff4 100644
--- a/sys-process/at/at-3.2.2.ebuild
+++ b/sys-process/at/at-3.2.2-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools flag-o-matic pam user systemd
+inherit autotools flag-o-matic pam systemd
MY_P="${PN}_${PV}"
@@ -17,14 +17,22 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="pam selinux"
-DEPEND="virtual/mta
+DEPEND="
+ acct-group/at
+ acct-user/at
+ virtual/mta
+ pam? ( sys-libs/pam )
+"
+RDEPEND="${DEPEND}
+ virtual/mta
+ virtual/logger
+ selinux? ( sec-policy/selinux-at )
+"
+BDEPEND="
>=sys-devel/autoconf-2.64
sys-devel/bison
>=sys-devel/flex-2.5.4a
- pam? ( sys-libs/pam )"
-RDEPEND="virtual/mta
- virtual/logger
- selinux? ( sec-policy/selinux-at )"
+"
PATCHES=(
"${FILESDIR}"/${PN}-3.1.8-more-deny.patch
@@ -37,19 +45,13 @@ PATCHES=(
"${FILESDIR}"/${PN}-3.1.13-getloadavg.patch
)
-pkg_setup() {
- # Cannot be moved into pkg_preinst!
- enewgroup at 25
- enewuser at 25 -1 /var/spool/at/atjobs at
-}
-
src_prepare() {
default
eautoreconf
}
src_configure() {
- local my_conf=(
+ local myeconfargs=(
--sysconfdir="${EPREFIX}"/etc/at
--with-jobdir="${EPREFIX}"/var/spool/at/atjobs
--with-atspool="${EPREFIX}"/var/spool/at/atspool
@@ -59,7 +61,7 @@ src_configure() {
$(usex pam '' --without-pam)
$(use_with selinux)
)
- econf ${my_conf[@]}
+ econf ${myeconfargs[@]}
}
src_install() {
@@ -68,7 +70,7 @@ src_install() {
newinitd "${FILESDIR}"/atd.rc8 atd
newconfd "${FILESDIR}"/atd.confd atd
- if use pam; then
+ if use pam ; then
newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd
fi