summaryrefslogtreecommitdiff
path: root/sys-process/at
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /sys-process/at
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'sys-process/at')
-rw-r--r--sys-process/at/Manifest6
-rw-r--r--sys-process/at/at-3.1.23-r1.ebuild2
-rw-r--r--sys-process/at/at-3.2.1-r1.ebuild2
-rw-r--r--sys-process/at/at-3.2.2-r1.ebuild97
4 files changed, 103 insertions, 4 deletions
diff --git a/sys-process/at/Manifest b/sys-process/at/Manifest
index 637904d66142..ae7f02400545 100644
--- a/sys-process/at/Manifest
+++ b/sys-process/at/Manifest
@@ -10,6 +10,8 @@ AUX atd.rc8 289 BLAKE2B f1ef6e087b1eee30b272a88feeb7f45ec1e4bc78f3c016b48c0ff353
AUX atd.service 215 BLAKE2B cf87d9dec0b5a24c5c94b41f2c7aae52c369b9f05ea77a09d2853c87c5746b00f0d980559560441e8a1a0a262734bb534987b73802c5e670ee491e8c03f1b280 SHA512 8795fe73ea9837b98732018d6e154797e1d31e4696416c910e4637ffc2c516626fed836d2a0f571a890b55c513f07d69b3c9c8d73d1070c6df88a8e9e1812902
DIST at_3.1.23.orig.tar.gz 126284 BLAKE2B b2af9dfa4ed87ee93489b98acae6b7eb005d6db7e2401ec7d4d21353af636b232d57e92e4cd6e81f52115aa9d29fadf440809a9d77cb1eb5d40d42ec7fe640b0 SHA512 ee5cf5abf32cf1e89746e427d1cc20005ef49fad47db55512c90042a77e86b2c15f5de029c79573bc86ce4aead6ed2d561b89812510aadbc5763f9288b467cfd
DIST at_3.2.1.orig.tar.gz 127577 BLAKE2B 4e8f4aa889075dcede894062b2926afd7892ef15d4ca5bf855b699d1dab9f49a56fd5bd8da376b178032e70cdef72eba2a7d9d6da577982773351633ce85d003 SHA512 8109b2acf220ffc14ea78e7d5671507e8cad41a163c1d7f96de18aae05c8617071c6306e04446450190f492a65ca31f51ed040fba5719b67625a58f738fc9c9e
-EBUILD at-3.1.23-r1.ebuild 2352 BLAKE2B cffb7e05bd3f8950aebd43202501d9e5d69882739f102ea931c2262b974d4ead4a5ed67ee12162299c2b91fe9b3cc10dec1d2b55e4ea4872407062c898083295 SHA512 e5ab0446ac6027d04ed1a9fea2668fc4556c54f3ef5db3bee2c0ce7557e94147da86f288e925f0dece9beadae68a406df332b2d765f5371b32579665e42b9fc7
-EBUILD at-3.2.1-r1.ebuild 2526 BLAKE2B 71012d21f0c34c4932ee3a0b6a5dcc6afb731c5494b6e4261e2840442876c1d7b81861dabd8ad2da811a948185e32c3446c82f894f52d50db4292d629dde704b SHA512 7eee37cf984baf36a5154e0d66b728300419bd831186e822864d3e74303402edd7d73d7698bb0246a982f5cd214f133c04bdcd6091e28d32ac90fb34193a95cc
+DIST at_3.2.2.orig.tar.gz 127677 BLAKE2B f4b0e1cd09d1e679d0bcc287462300827d12663927dce1534a74bd4ecd670f903a81cd6147c03b0e55192655c2a99250c27ad0e9892342d91b0279210fb79a64 SHA512 e6f5aeddd89438aadff627d654ebc821a0b0e1a600ebaacc8a5fd3ec2c7c716f593757d00501311736d28f6d4276899667d6901d70836af208ff7d181b5b680f
+EBUILD at-3.1.23-r1.ebuild 2345 BLAKE2B ff5875022ee0f9832492cd1a5b3e1c5d31f8cfc0c8a1247c90381ab4271aaefcca310436b0df30b8cb57aa5c1b4937c735c8bd0459d06bf58d4283a97c6d8d34 SHA512 7557c33f4e574451a7933e2d9320d7aedc2ccb21241110d9b67753027c5b3e2b5ac26eae5f52613c68590b7e0dfb0464b5629ba48566eefb0278e6c2c051c884
+EBUILD at-3.2.1-r1.ebuild 2519 BLAKE2B 19e6d644eee4c4d337b5add0774464abcce526741e0e8122e9492ca8a4d023290fa89e32504d7c988767c826fa1d782b26e2dbb1febe7fd094d3acce177bfa87 SHA512 f600308040e4d6fb7b9eebb80eff56846f1215853a7d935926e6375d5e64e48e95d0b728c0c10452d6496c1bd889fdea1d319ed29ec70a3b187d003e852b2201
+EBUILD at-3.2.2-r1.ebuild 2465 BLAKE2B a08054f1424d6438e40f99ba7842555530abd9a6c5b33e5837283dd07d28aee278bfd64fb795c3708903420972167c18942ab32c85436a1e3a99f37ef460fdac SHA512 cc2790f78cad23a64d8a015cc1665dd6ac0aa4f408f2ed33fe9218f8bcae9a4fa27c0312e27d69bf9be344c94b52db23b03e510d876ad22d686a901be1c835b7
MISC metadata.xml 364 BLAKE2B d51cc643a5646e05725088bafb99711097593b9c7e6c78207dd6668c8c4c2830964dcceb5c66cb60b8cde463ad14e968c4d2950326e86c931e84199a3efb909a SHA512 5c5d603a57b16255de5c049c237206242c440c61ee03237b85f7909e434f877fe84082f2989d6b70646c106a4b97ef380f6fbc87ead1fbca0a3886c38d65c57d
diff --git a/sys-process/at/at-3.1.23-r1.ebuild b/sys-process/at/at-3.1.23-r1.ebuild
index c93aefcc3cec..1c90b968d05a 100644
--- a/sys-process/at/at-3.1.23-r1.ebuild
+++ b/sys-process/at/at-3.1.23-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools eutils flag-o-matic pam user systemd
+inherit autotools flag-o-matic pam user systemd
DESCRIPTION="Queues jobs for later execution"
HOMEPAGE="https://packages.qa.debian.org/a/at.html"
diff --git a/sys-process/at/at-3.2.1-r1.ebuild b/sys-process/at/at-3.2.1-r1.ebuild
index 98907c6f7582..ec5f18b84236 100644
--- a/sys-process/at/at-3.2.1-r1.ebuild
+++ b/sys-process/at/at-3.2.1-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools eutils flag-o-matic pam user systemd
+inherit autotools flag-o-matic pam user systemd
MY_P="${PN}_${PV}"
diff --git a/sys-process/at/at-3.2.2-r1.ebuild b/sys-process/at/at-3.2.2-r1.ebuild
new file mode 100644
index 000000000000..5b8dec445ff4
--- /dev/null
+++ b/sys-process/at/at-3.2.2-r1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic pam systemd
+
+MY_P="${PN}_${PV}"
+
+DESCRIPTION="Queues jobs for later execution"
+HOMEPAGE="http://blog.calhariz.com/index.php/tag/at https://packages.qa.debian.org/a/at.html"
+SRC_URI="http://software.calhariz.com/at/${MY_P}.orig.tar.gz
+ mirror://debian/pool/main/a/at/${MY_P}.orig.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="pam selinux"
+
+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
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.1.8-more-deny.patch
+ "${FILESDIR}"/${PN}-3.1.14-Makefile.patch
+ # fix parallel make issues, bug #244884
+ "${FILESDIR}"/${PN}-3.1.10.2-Makefile.in-parallel-make-fix.patch
+ "${FILESDIR}"/${PN}-3.1.13-configure.in-fix-PAM-automagick-dep.patch
+ # Fix parallel make issue (bug #408375)
+ "${FILESDIR}"/${PN}-3.1.13-parallel-make-fix.patch
+ "${FILESDIR}"/${PN}-3.1.13-getloadavg.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --sysconfdir="${EPREFIX}"/etc/at
+ --with-jobdir="${EPREFIX}"/var/spool/at/atjobs
+ --with-atspool="${EPREFIX}"/var/spool/at/atspool
+ --with-etcdir="${EPREFIX}"/etc/at
+ --with-daemon_username=at
+ --with-daemon_groupname=at
+ $(usex pam '' --without-pam)
+ $(use_with selinux)
+ )
+ econf ${myeconfargs[@]}
+}
+
+src_install() {
+ emake install IROOT="${D}"
+
+ newinitd "${FILESDIR}"/atd.rc8 atd
+ newconfd "${FILESDIR}"/atd.confd atd
+
+ if use pam ; then
+ newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd
+ fi
+
+ # Preserve existing .SEQ files (bug #386625)
+ local seq_file="${EROOT}/var/spool/at/atjobs/.SEQ"
+ if [[ -f "${seq_file}" ]] ; then
+ einfo "Preserving existing .SEQ file (bug #386625)."
+ cp -p "${seq_file}" "${ED}"/var/spool/at/atjobs/ || die
+ fi
+
+ systemd_dounit "${FILESDIR}/atd.service"
+ keepdir /var/spool/at/atspool
+}
+
+pkg_postinst() {
+ einfo "Forcing correct permissions on /var/spool/at"
+ local atspooldir="${EROOT}/var/spool/at"
+ chown at:at "${atspooldir}/atjobs"
+ chmod 1770 "${atspooldir}/atjobs"
+ chown at:at "${atspooldir}/atjobs/.SEQ"
+ chmod 0600 "${atspooldir}/atjobs/.SEQ"
+ chown at:at "${atspooldir}/atspool"
+ chmod 1770 "${atspooldir}/atspool"
+}