diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-07 03:12:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-07 03:12:12 +0000 |
commit | 4e0f61672a4cd8a3d8afc21e9afc2a7acd849976 (patch) | |
tree | 20cba6f816bb34fdd956935e64d4432ed2427c65 /sys-process | |
parent | d479c9c5c724c7b1300a98e44975f31f4f2e51dd (diff) |
gentoo auto-resync : 07:12:2022 - 03:12:11
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/Manifest.gz | bin | 9974 -> 9972 bytes | |||
-rw-r--r-- | sys-process/at/Manifest | 1 | ||||
-rw-r--r-- | sys-process/at/at-3.2.5-r1.ebuild | 98 |
3 files changed, 99 insertions, 0 deletions
diff --git a/sys-process/Manifest.gz b/sys-process/Manifest.gz Binary files differindex 9a83ba3d482f..f3ad88e38ec7 100644 --- a/sys-process/Manifest.gz +++ b/sys-process/Manifest.gz diff --git a/sys-process/at/Manifest b/sys-process/at/Manifest index bfb785a803ec..2d59a5be10d5 100644 --- a/sys-process/at/Manifest +++ b/sys-process/at/Manifest @@ -8,5 +8,6 @@ AUX atd.confd 214 BLAKE2B 73cb9a8efa568f11620029521e93b7a2e424eeb860d462663ea4ea 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.ebuild 2440 BLAKE2B a3f6ad5a5dfd014b1bb343fd00b14bd2f5715764a49d70bd142235318779da6b948c3429fc7484f1794b2ce8a39d11d7aabf4d283a3b54c6d3fc4ecd3f9d1cb1 SHA512 dcb12a2a6c901c067f52e7eeb491fa67ede923a9a63ee8227ee21f5657168350c5c5eded9c880311bbd7ea125f955c819ba7bed4c7c91f816984abc5ca88df34 MISC metadata.xml 253 BLAKE2B abd5250029676d23201d38d764a87f155a72fdb12c27eb98faea12eb441fd986c1cf2f230265e7e7d257e5dcc81b6710ec90ebf8dbc3a6597a04c4fff95eb771 SHA512 96c2922337805fd36723b0f847b2b15365e7207a21d57f6c6ab7e3cf8ca089b781635eaaf3ef01cbe61c34ee8b3f4c1c6234242db390ccc3c3bf0b1ab660b467 diff --git a/sys-process/at/at-3.2.5-r1.ebuild b/sys-process/at/at-3.2.5-r1.ebuild new file mode 100644 index 000000000000..c04c4703b4cf --- /dev/null +++ b/sys-process/at/at-3.2.5-r1.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2022 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 +) + +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 +} + +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 +} + +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" +} |