From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C600A1382C5 for ; Mon, 26 Apr 2021 07:30:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC414E0898; Mon, 26 Apr 2021 07:30:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D461AE0898 for ; Mon, 26 Apr 2021 07:30:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 419573410D0 for ; Mon, 26 Apr 2021 07:30:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BB2DC729 for ; Mon, 26 Apr 2021 07:30:51 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1619422242.3943102656f231e082a38daa2888676fbca43507.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/at/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/at/at-3.2.2-r1.ebuild sys-process/at/at-3.2.2.ebuild X-VCS-Directories: sys-process/at/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 3943102656f231e082a38daa2888676fbca43507 X-VCS-Branch: master Date: Mon, 26 Apr 2021 07:30:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 14503313-6ee0-4731-89b7-d27975741c93 X-Archives-Hash: 22633795941bff05eff443900ccc2d54 commit: 3943102656f231e082a38daa2888676fbca43507 Author: Lars Wendler gentoo org> AuthorDate: Mon Apr 26 07:22:07 2021 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Apr 26 07:30:42 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39431026 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 gentoo.org> .../at/{at-3.2.2.ebuild => at-3.2.2-r1.ebuild} | 32 ++++++++++++---------- 1 file 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 similarity index 87% rename from sys-process/at/at-3.2.2.ebuild rename to sys-process/at/at-3.2.2-r1.ebuild index ec5f18b8423..5b8dec445ff 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