diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-09 21:30:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-09 21:30:54 +0100 |
commit | 8e5dcbcd9c97dcecc17992eff0e8d01e5c83ade2 (patch) | |
tree | 72b9af89b84e219b09772e3bf824abbc801ad0e0 /sys-process/at | |
parent | a2740fd9a512436fd84baef922a0a24c4b7417d9 (diff) |
gentoo auto-resync : 09:08:2023 - 21:30:54
Diffstat (limited to 'sys-process/at')
-rw-r--r-- | sys-process/at/Manifest | 2 | ||||
-rw-r--r-- | sys-process/at/at-3.2.5-r2.ebuild | 91 | ||||
-rw-r--r-- | sys-process/at/files/at-3.2.5-Makefile.binary-permission-fix.patch | 12 |
3 files changed, 105 insertions, 0 deletions
diff --git a/sys-process/at/Manifest b/sys-process/at/Manifest index da6b40fa21b0..dd5b6cd690b7 100644 --- a/sys-process/at/Manifest +++ b/sys-process/at/Manifest @@ -3,11 +3,13 @@ AUX at-3.1.13-configure.in-fix-PAM-automagick-dep.patch 614 BLAKE2B 3f69746438fa AUX at-3.1.13-parallel-make-fix.patch 336 BLAKE2B 82a7e0788bfdf1b0fd07135401a585b5a1a03be2217c3e03203a4c7f665447d56b4e7ed1d85f4cbfc80d055408872180e599b21ad40dff0c61d6466181f33706 SHA512 262a330b6886fb93b00bf301d11e72aeb924171db891bcb5041383f7192c48a74d85da51d6be41ea71e84802fda08ce24120eae4fdea32b168801de0ea11bd85 AUX at-3.1.14-Makefile.patch 405 BLAKE2B e48e3dbc13d63ae4b0a08f97af82238e2430671e66e94d3fcb74d49796c63896df3e3d0a71c0d4a245331abec4ae6a5bf9b063deaedaecd9ee4b281cc788de4e SHA512 4002cae6b86e6fd6011acf985b72a7c5f141eaa81d3f56250621a4f9c1d406d30669b5fab1df2921cc74ada823bd8d6f477c622550d1b7b6f8b026a82816c319 AUX at-3.1.8-more-deny.patch 175 BLAKE2B 622b50e7c03d738602a95e0465bd3dd4c1152e0f540535a655ad76c671e00902b13c88e147580dbb0b51e8e2f1f4cf7b974cf3789cbf6ce4b01e89006a374495 SHA512 0013006b8079ab86edd8100fee99ba5f099628be41c84ef099edba11d8b976836f7023658bb61d6425e70531fd4dd1958bb776078510fa84c3473e0b60260dee +AUX at-3.2.5-Makefile.binary-permission-fix.patch 768 BLAKE2B 2820cfd83d9fe8a9de07c367424fe2f330fd33bf47dacf87e543c7af69f83c9095a6e919e446a40e40b923e361067b01bb0c764459cd53f7ef5649334da9f5a9 SHA512 7a1a025402968f50d643f29f777ac2eaf8ed1846ed81126ae0643957595cebeb966c6211b262b52649c9033362aec5dc20b90abe37d504bdeb147f3f7cbe7214 AUX at.pamd-3.1.13-r1 208 BLAKE2B 725552bae7c0a3d5d10b5bf66ee5460a33b415f8316b798c650297ade2bd98a14fdf9533c0129dbfcabc76d35652d9b5ef5789fd7fd7ac42d43f8e480569c176 SHA512 7ebbeed1fb9c9d8c26f677956ae3fb5d947aa8e1f1dbc2c576b1ee4b2d8c92d206ad361d61772e6a28b40e747ad009d16ed1d3516fa2549b1f01f6f0886612b8 AUX atd.confd 214 BLAKE2B 73cb9a8efa568f11620029521e93b7a2e424eeb860d462663ea4eabbe236b386c54392824b224e3de1d245ef40fef503477502531b1d95c40def08710f788772 SHA512 12f1423e2d0841a98ce506ebbf24280bc634b76a2b15cb1c6e12285fc7fd859428380841754ab2e3a0b7c3d7cc9957b53d4e018651ef097ca1af83f92cfa130a AUX atd.rc9 265 BLAKE2B 0f1f1e75fbcedb2fb5baf2ee6dbd8b9d519cdee203bb91119f78678dea2f6af569197c920ec0a39548cbff546abb89c46de5127a0cbc55b6072028cb25ea9a24 SHA512 de3525120a16884f72cedacf8873e82e2a4010e8bf9fe3dca3611d9a5fb081232f0e75f91886a2f31c89645b7f97fd419b60295f00b16f561325c0645b5ff57f AUX atd.service 172 BLAKE2B 84ff9c4a55ba895e87303f31f124562fa22eff29059c07d2ab3cc81ecdfd742776c389baa80f8ddc25c01220801465218e62f4dd73e77435eb05023c4cc5aa87 SHA512 6ac20de3e0d03f3fd99b302b8de6f8dc5228d0cca3b383d9f6b1f1abe82d8d5f4d7a23a4cae6d710eabd21fc28c568a63c0c802eb6237ca91fa48318b99a6f39 DIST at_3.2.5.orig.tar.gz 132660 BLAKE2B 30cd8e53aff8176ceea62f2a34c0cc0706b35fc187c2da58f86ec6ca4cec4701bfab9d932949d57b9750a18841d315d7c9a4289691f209c899598991f6541a32 SHA512 542e8948bbdc1d06934070cbfe242688b541ef6342c6b0351255f8b9d7a3ed915a9304b5cf5442dfc15845b3d2b926ebecbfc5bccd204519d0a2775b27f8139c EBUILD at-3.2.5-r1.ebuild 2423 BLAKE2B d9e1bca2d0aa8e5c4791b341983e05cae7d4ccbda9f68b2b9760a01baecd8892d262bab7109a3da97e9c7f4596b28d50d69aa77a20cfd914821cc75b3e86a6f6 SHA512 20407932c81ce44c65a5b10a90018c66cb1e4e1745a6d4ae14b5e1cc118a41bded0dcf3fd7f3f074bfe78529cba08ec1e122467ff1e03a7f23ee3d00ef39d1fd +EBUILD at-3.2.5-r2.ebuild 2261 BLAKE2B 2f14059c63f87e5aa577aaf0c799fa570891d01122caba28d0e474ce9a580e3b7f2b2aefbe9f981cdf361be69fdb2043ba0fe20ea38c6d7d5f11b4bef4f865d3 SHA512 286cb965cdab2f310c01b509d1464db5383b842fd788a50cf9f2d6f0d3db0fe01213d24e9286a074b6245620981216f4be91214f0e8417673bac85d9cd2cf7c3 EBUILD at-3.2.5.ebuild 2440 BLAKE2B a3f6ad5a5dfd014b1bb343fd00b14bd2f5715764a49d70bd142235318779da6b948c3429fc7484f1794b2ce8a39d11d7aabf4d283a3b54c6d3fc4ecd3f9d1cb1 SHA512 dcb12a2a6c901c067f52e7eeb491fa67ede923a9a63ee8227ee21f5657168350c5c5eded9c880311bbd7ea125f955c819ba7bed4c7c91f816984abc5ca88df34 MISC metadata.xml 398 BLAKE2B 037f58ef9b9d372a1137066db288badda6f884013296b4ea879816f539a91b5f484148ecd3c874561d24a9a3b4e336f6a73b332b30fc666f19f213b6bb37245d SHA512 c4d6086c77a47321b33e8ecfc827b51dad5f79558f1cb8845d495326d1f002e7fc5289165735fb26d1a1020e55d85f22358d313be11f5ddfb05b6580db027833 diff --git a/sys-process/at/at-3.2.5-r2.ebuild b/sys-process/at/at-3.2.5-r2.ebuild new file mode 100644 index 000000000000..b101917d2536 --- /dev/null +++ b/sys-process/at/at-3.2.5-r2.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools 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 ~riscv ~sparc ~x86" +IUSE="pam selinux" + +DEPEND=" + acct-group/at + acct-user/at + virtual/mta + pam? ( sys-libs/pam ) + selinux? ( sys-libs/libselinux ) +" +RDEPEND="${DEPEND} + virtual/mta + virtual/logger + selinux? ( sec-policy/selinux-at ) +" +BDEPEND=" + app-alternatives/lex + app-alternatives/yacc +" + +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 + # Fix permissions (bug #711598) + "${FILESDIR}"/${P}-Makefile.binary-permission-fix.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() { + default + + newinitd "${FILESDIR}"/atd.rc9 atd + newconfd "${FILESDIR}"/atd.confd atd + + if use pam ; then + newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd + fi + + systemd_dounit "${FILESDIR}/atd.service" + keepdir /var/spool/at/atspool + # Fix permission since keepdir changes it (bug #658460) + fperms 1770 /var/spool/at/atspool +} + +pkg_preinst() { + # 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 +} diff --git a/sys-process/at/files/at-3.2.5-Makefile.binary-permission-fix.patch b/sys-process/at/files/at-3.2.5-Makefile.binary-permission-fix.patch new file mode 100644 index 000000000000..af83b6e25b37 --- /dev/null +++ b/sys-process/at/files/at-3.2.5-Makefile.binary-permission-fix.patch @@ -0,0 +1,12 @@ +diff -Naur at-3.2.5-orig/Makefile.in at-3.2.5/Makefile.in +--- at-3.2.5-orig/Makefile.in 2022-02-05 02:00:57.000000000 -0800 ++++ at-3.2.5/Makefile.in 2023-07-27 20:49:58.505824137 -0700 +@@ -114,7 +114,7 @@ + chmod 600 $(DESTDIR)$(LFILE) + chown $(DAEMON_USERNAME):$(DAEMON_GROUPNAME) $(DESTDIR)$(LFILE) + test -f $(DESTDIR)$(etcdir)/at.allow || test -f $(DESTDIR)$(etcdir)/at.deny || $(INSTALL) -o root -g $(DAEMON_GROUPNAME) -m 640 at.deny $(DESTDIR)$(etcdir)/ +- $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 at $(DESTDIR)$(bindir) ++ $(INSTALL) -g $(DAEMON_GROUPNAME) -o root -m 6755 at $(DESTDIR)$(bindir) + $(LN_S) -f at $(DESTDIR)$(bindir)/atq + $(LN_S) -f at $(DESTDIR)$(bindir)/atrm + $(INSTALL) -g root -o root -m 755 batch $(DESTDIR)$(bindir) |