From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sys-process/at/Manifest | 17 +++++ sys-process/at/at-3.1.18-r1.ebuild | 89 ++++++++++++++++++++++ sys-process/at/at-3.1.20.ebuild | 87 +++++++++++++++++++++ ...at-3.1.10.2-Makefile.in-parallel-make-fix.patch | 12 +++ ....1.13-configure.in-fix-PAM-automagick-dep.patch | 22 ++++++ sys-process/at/files/at-3.1.13-getloadavg.patch | 19 +++++ .../at/files/at-3.1.13-parallel-make-fix.patch | 11 +++ sys-process/at/files/at-3.1.14-Makefile.patch | 18 +++++ sys-process/at/files/at-3.1.8-more-deny.patch | 20 +++++ sys-process/at/files/at.pamd-3.1.13-r1 | 9 +++ sys-process/at/files/atd.confd | 7 ++ sys-process/at/files/atd.rc8 | 13 ++++ sys-process/at/files/atd.service | 13 ++++ sys-process/at/metadata.xml | 12 +++ 14 files changed, 349 insertions(+) create mode 100644 sys-process/at/Manifest create mode 100644 sys-process/at/at-3.1.18-r1.ebuild create mode 100644 sys-process/at/at-3.1.20.ebuild create mode 100644 sys-process/at/files/at-3.1.10.2-Makefile.in-parallel-make-fix.patch create mode 100644 sys-process/at/files/at-3.1.13-configure.in-fix-PAM-automagick-dep.patch create mode 100644 sys-process/at/files/at-3.1.13-getloadavg.patch create mode 100644 sys-process/at/files/at-3.1.13-parallel-make-fix.patch create mode 100644 sys-process/at/files/at-3.1.14-Makefile.patch create mode 100644 sys-process/at/files/at-3.1.8-more-deny.patch create mode 100644 sys-process/at/files/at.pamd-3.1.13-r1 create mode 100644 sys-process/at/files/atd.confd create mode 100644 sys-process/at/files/atd.rc8 create mode 100644 sys-process/at/files/atd.service create mode 100644 sys-process/at/metadata.xml (limited to 'sys-process/at') diff --git a/sys-process/at/Manifest b/sys-process/at/Manifest new file mode 100644 index 000000000000..03d23c9df12b --- /dev/null +++ b/sys-process/at/Manifest @@ -0,0 +1,17 @@ +AUX at-3.1.10.2-Makefile.in-parallel-make-fix.patch 369 SHA256 6c0c26e27ed65f8342f113ec4edb00da7ec20f9c471f6c03c59a3545d8e839e0 SHA512 1890bb448991d5bb07f318f8e406f8cdcd28a720c3c8356b0e7dc34c2d61fc37d2fba0f8700ebed83ea528c46b31c4c2a41e6b021ab945c67b5c9e64a3703c9a WHIRLPOOL 9d859dd7b5e092988b681c15860db9cb47c972f37d70e31700c1d5cb60cb1b0426282c7cefd504100782e9dedfe4e1b5f80f2ed2efb81a3829693b779d95a4e6 +AUX at-3.1.13-configure.in-fix-PAM-automagick-dep.patch 614 SHA256 97e0e5874a0e8830c610715149d35406cfed8060cdfbc6b3365a813e9a30b42f SHA512 c8a9bef7c4419bf0601de72b30ee1d04606bf4180d0b8b4e74729471742a646fee616f2fb02f819854a7e42be26c2bda2a384d26b5da5d41e54661ac5b44e303 WHIRLPOOL 84d0fa5256de1a6f455be9d9b21396cdae3d95f84a4eddc587f0090acd3f2ea20de5b6678a646a6d9b5861b94410cc66d40d56a550b85c00b9f41dfcb7bc9f98 +AUX at-3.1.13-getloadavg.patch 469 SHA256 07d7aad55b2f68351045f4fdb033d472f41923c7f5ba9888bf179ab0665ea178 SHA512 3880adc05b94c85d54820c0f8a05359fe6837f6c8086207f660a137a204d92b79f71e8bacd0abe7532666568da0339e5ce12c07c5f78b55c673b33aa276358df WHIRLPOOL 04aef35b4ffda4f0dfe98c58865419eeadb6f2ae77f5db055612d99d5780e12a961a99b2f3afd0a1bb8e42a033eec29c0c210ad1f025c73ac982cedb9c8347d8 +AUX at-3.1.13-parallel-make-fix.patch 336 SHA256 bb3bae6edddc67823246e08e2dedba69a2d03a95b2ec03298c9a38021c580f09 SHA512 262a330b6886fb93b00bf301d11e72aeb924171db891bcb5041383f7192c48a74d85da51d6be41ea71e84802fda08ce24120eae4fdea32b168801de0ea11bd85 WHIRLPOOL 373323221a462462ede947dee138eb306a441e6827b575a21624fc0799864e1e60ca2e3b957516ed16c6262f79d08c60ee60fae88984590acb043baf95373c35 +AUX at-3.1.14-Makefile.patch 405 SHA256 a35aa1e1505fe88fcf75669dbf8e632996417f0db36f472361cf7957c01353ee SHA512 4002cae6b86e6fd6011acf985b72a7c5f141eaa81d3f56250621a4f9c1d406d30669b5fab1df2921cc74ada823bd8d6f477c622550d1b7b6f8b026a82816c319 WHIRLPOOL 38c97aeff97512a688c57149b958e34a339ebc11d470621426085636c422e7ff05120f275492d3e9e7770884859fc6212cac6d06c137442e50d64bfb27e21f16 +AUX at-3.1.8-more-deny.patch 175 SHA256 b435bc5b0f383317a67fcb113b914e082b0777bc8c3a1902e39a1c75bc614e5a SHA512 0013006b8079ab86edd8100fee99ba5f099628be41c84ef099edba11d8b976836f7023658bb61d6425e70531fd4dd1958bb776078510fa84c3473e0b60260dee WHIRLPOOL d0ca88d9c2464df3ea9429a87e77352f98ac87548cf9583f5631edff7456ce68270564d6df25cf878ca9b6c1a6ce4accdca02355ef4c7068af19c28a3af7e573 +AUX at.pamd-3.1.13-r1 208 SHA256 f2ceb0c0c47b26679b406bd0aa855208bb9e8661ce252087dd0558f443076dbe SHA512 7ebbeed1fb9c9d8c26f677956ae3fb5d947aa8e1f1dbc2c576b1ee4b2d8c92d206ad361d61772e6a28b40e747ad009d16ed1d3516fa2549b1f01f6f0886612b8 WHIRLPOOL 70bd8650211228ca8cd81ab8be4460fbd8699ebdba48173e2a67fadc81449df0f8d2a7a1a1d48f02ee0b95ee504f5cc1ae5323a306604f2ad1127e8f5d21727e +AUX atd.confd 214 SHA256 ece01506efa6d73d7cbe9bc1da6eb1afc4d63451ab1fccf5051178b6e937d68e SHA512 12f1423e2d0841a98ce506ebbf24280bc634b76a2b15cb1c6e12285fc7fd859428380841754ab2e3a0b7c3d7cc9957b53d4e018651ef097ca1af83f92cfa130a WHIRLPOOL 788ccc2f263ee87c5f52d6ca8c892c10085cb06bc7a3b5adfbb9ee8b35de18c94587757d2be8ce4de4d4f391e550254d12e8b8f4336d3a8b9be23a31c22a16a2 +AUX atd.rc8 289 SHA256 115f3be9cfd306251909ca7fc2dbc55ca71f6f38a3ebb62d9a428a9eddcd8ffb SHA512 a8517b4a754ad096aa72d975b556925c566963657402ffe0c00ed3fbc22a84f6c32917c8d2021e6244339d171352e429d1c360ad6c500de6c60a444e07d006f3 WHIRLPOOL fa6eabb657479ef59a3b4520deb3e5ba19ef07f06e3d6de83ec1a2989b41e6b33bd8d3a2ebaa58d7799dcf585a0ccfe893fd13b46eb7fac95abcc91d84ba1e79 +AUX atd.service 215 SHA256 71c4328fd71bcc3f0d02490e69ae7b67bb027fdf176329e0778d273c1c515b1c SHA512 8795fe73ea9837b98732018d6e154797e1d31e4696416c910e4637ffc2c516626fed836d2a0f571a890b55c513f07d69b3c9c8d73d1070c6df88a8e9e1812902 WHIRLPOOL 27d1af9e3536d2c42c29e2b12d98e07008cdca67fb7c5606c70134e084f8f64cc7a46907c11ef08ed32175eba98443f818444e5298755455944654515d8d534b +DIST at_3.1.18.orig.tar.gz 124499 SHA256 dbd5c8cb8edd53ef467363c3af0391c08769f1dbbd4d5002c59a4cd4cac11d52 SHA512 5ec7512663461ffa1922cef0d99c3cc4882defbea7b1ab855b05bb83e9d3817535db73db74413bcc8af005c956032ec3dc7c83ac16fde96bb315094dae654042 WHIRLPOOL ba2c9d09605cc66ce2a01113700d45c3ce37dddbd244928dca836c570450aaf6aceba15c834dca4e844bb27c9a74cc33eac38a1cbe0a1f5bb7c55ee42bd38424 +DIST at_3.1.20.orig.tar.gz 127666 SHA256 0871923cab73050b98ace020664eb2ddc1e669e4166b5abb64d864d02fcefab9 SHA512 20a13512a86f988728f590712f5bf8a23f4dc44f4b42521a4dd4783dc1ba7ac2016ee87b4c2c14f2346a5839168a983d99c3195e947014aea3096a3db16d176f WHIRLPOOL 7eb6ce93735005caddb2c4855de4fa746beb25ca75f1c0f6a48fc59bf3a3ae706ccb6290c52dd37a63b44fc3c748877f2e5e760083376f93e19574dd760b0ec2 +EBUILD at-3.1.18-r1.ebuild 2313 SHA256 dcb05214960a18477855e400ae680d32f4f3d741021e68df63827974b341ff7c SHA512 4127f0102b93a8d8599b381e1ea310fe84c3e1a2dea4dce46f2b34aeaa7db18f7deb6dec114f8e5a5f35e605641189edea8fb8d19cfe3ce4993ab91e09ae37f1 WHIRLPOOL fd6ce6bee6c230bc483615c65fe66bb19dc703a552fa4bf8ca70e57a7769a2858beefe056910d37e47dda90a2ebca52c1e63b7f6291eccb5f047022b2557ad9a +EBUILD at-3.1.20.ebuild 2308 SHA256 1acbc72d7edfcccfe45c2148d1d18f41ce61feae7cb925e464a81a6886edd5f8 SHA512 8f32d87080e8bc268435563fe267f23969475447ae63b83342b6cc5aa5d20d251679ae29a40c4c47fb29b05f792657d54939728c7fc46a2d2177ebca604d4236 WHIRLPOOL 260937c84b0e5c923926302b0299164b743ab50afbc095e4e1a3a1355acda4784c862442c2c2905e60f41c6427dfed58608eb344029c280cf844b291181f437a +MISC ChangeLog 5037 SHA256 280058694a8f5c785ff1c71aa3e07510015e4cf7227469cfecf2e8c0a8b99ecf SHA512 3f3b9696f3208557b6033315d6ecd79272a017207a6ded3d77636cc27f16186703e26eaecc975bc8cb9fb5a020881ba2d849224af8d942f3b1c82437c8b12d10 WHIRLPOOL f5ee92de9c6cf06dacc1b0bcf12742ef23799c9c66a183a4db7338b59fdf31354ae3e3057116a1c0d39816ff7621807204d603cb169f52861bcb7970ab28eb36 +MISC ChangeLog-2015 14347 SHA256 ea1aafecd1b752fa932ac0b9c2594f8257d2cfa2b5cf9c4c00498146a73cf398 SHA512 f23400aa297536056e57435223e6ce6275e653c35f53e09cff9cba9030238ef63a4ac6dc9d3a7bbc0125fa512736e0cbbbefd046a2e04ec67ac750b832c4883e WHIRLPOOL a3307d537a40b5d161ec46aacf7f2e215c068b922c0914317aba8223ceae6da9725840b9e3ed247c62dee4fb36a39a51f5c93ac0c69fe35567dfbd8acce10eec +MISC metadata.xml 367 SHA256 4218e71a3f5a5f6ad1a4be5854cf802601bb5deb1523813d957004da59fd35fa SHA512 05b8cb8bdc707c7786c42a5d2ecf44063d9f636a14d65b3c1ce4e649ca3e9041108d6b3413a25110db4342d79b12a2d3bf05aeccba7e524b1ea491539ea24e27 WHIRLPOOL abb19bc18bb18755b517253e266286fa9b25e140599b3e47cb61bbd332c0b164ff5e4405861840cdfd3a3ec63c73671038d0e7007b18b8984902060c068efab6 diff --git a/sys-process/at/at-3.1.18-r1.ebuild b/sys-process/at/at-3.1.18-r1.ebuild new file mode 100644 index 000000000000..01c39c214d22 --- /dev/null +++ b/sys-process/at/at-3.1.18-r1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils flag-o-matic pam user systemd + +DESCRIPTION="Queues jobs for later execution" +HOMEPAGE="https://packages.qa.debian.org/a/at.html" +SRC_URI="mirror://debian/pool/main/a/at/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86" +IUSE="pam selinux" + +DEPEND="virtual/mta + >=sys-devel/autoconf-2.64 + sys-devel/bison + >=sys-devel/flex-2.5.4a + pam? ( virtual/pam )" +RDEPEND="virtual/mta + virtual/logger + selinux? ( sec-policy/selinux-at )" + +S="${WORKDIR}" + +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 +) + +pkg_setup() { + enewgroup at 25 + enewuser at 25 -1 /var/spool/at/atjobs at +} + +src_prepare() { + default + eautoconf +} + +src_configure() { + local myconf=() + use pam || my_conf+=( --without-pam ) + use selinux && my_conf+=( --with-selinux ) + econf \ + --sysconfdir=/etc/at \ + --with-jobdir=/var/spool/at/atjobs \ + --with-atspool=/var/spool/at/atspool \ + --with-etcdir=/etc/at \ + --with-daemon_username=at \ + --with-daemon_groupname=at \ + ${my_conf[@]} +} + +src_install() { + emake install IROOT="${D}" + + newinitd "${FILESDIR}"/atd.rc8 atd + newconfd "${FILESDIR}"/atd.confd atd + newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd + + # Preserve existing .SEQ files (bug #386625) + local seq_file="${ROOT}/var/spool/at/atjobs/.SEQ" + if [ -f "${seq_file}" ] ; then + einfo "Preserving existing .SEQ file (bug #386625)." + cp -p "${seq_file}" "${D}"/var/spool/at/atjobs/ || die + fi + + systemd_dounit "${FILESDIR}/atd.service" +} + +pkg_postinst() { + einfo "Forcing correct permissions on /var/spool/at" + local atspooldir="${ROOT}/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" +} diff --git a/sys-process/at/at-3.1.20.ebuild b/sys-process/at/at-3.1.20.ebuild new file mode 100644 index 000000000000..137c5efac4cd --- /dev/null +++ b/sys-process/at/at-3.1.20.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils flag-o-matic pam user systemd + +DESCRIPTION="Queues jobs for later execution" +HOMEPAGE="https://packages.qa.debian.org/a/at.html" +SRC_URI="mirror://debian/pool/main/a/at/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="pam selinux" + +DEPEND="virtual/mta + >=sys-devel/autoconf-2.64 + sys-devel/bison + >=sys-devel/flex-2.5.4a + pam? ( virtual/pam )" +RDEPEND="virtual/mta + virtual/logger + selinux? ( sec-policy/selinux-at )" + +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 +) + +pkg_setup() { + enewgroup at 25 + enewuser at 25 -1 /var/spool/at/atjobs at +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myconf=() + use pam || my_conf+=( --without-pam ) + use selinux && my_conf+=( --with-selinux ) + econf \ + --sysconfdir=/etc/at \ + --with-jobdir=/var/spool/at/atjobs \ + --with-atspool=/var/spool/at/atspool \ + --with-etcdir=/etc/at \ + --with-daemon_username=at \ + --with-daemon_groupname=at \ + ${my_conf[@]} +} + +src_install() { + emake install IROOT="${D}" + + newinitd "${FILESDIR}"/atd.rc8 atd + newconfd "${FILESDIR}"/atd.confd atd + newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd + + # Preserve existing .SEQ files (bug #386625) + local seq_file="${ROOT}/var/spool/at/atjobs/.SEQ" + if [ -f "${seq_file}" ] ; then + einfo "Preserving existing .SEQ file (bug #386625)." + cp -p "${seq_file}" "${D}"/var/spool/at/atjobs/ || die + fi + + systemd_dounit "${FILESDIR}/atd.service" +} + +pkg_postinst() { + einfo "Forcing correct permissions on /var/spool/at" + local atspooldir="${ROOT}/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" +} diff --git a/sys-process/at/files/at-3.1.10.2-Makefile.in-parallel-make-fix.patch b/sys-process/at/files/at-3.1.10.2-Makefile.in-parallel-make-fix.patch new file mode 100644 index 000000000000..8fd82e639b05 --- /dev/null +++ b/sys-process/at/files/at-3.1.10.2-Makefile.in-parallel-make-fix.patch @@ -0,0 +1,12 @@ +diff -Naur at-3.1.10.2.orig/Makefile.in at-3.1.10.2/Makefile.in +--- at-3.1.10.2.orig/Makefile.in 2009-01-31 15:38:54.000000000 +0100 ++++ at-3.1.10.2/Makefile.in 2009-01-31 15:39:22.000000000 +0100 +@@ -78,7 +78,7 @@ + y.tab.c y.tab.h: parsetime.y + $(YACC) -d parsetime.y + +-lex.yy.c: parsetime.l ++lex.yy.c: parsetime.l y.tab.h + $(LEX) -i parsetime.l + + atrun: atrun.in diff --git a/sys-process/at/files/at-3.1.13-configure.in-fix-PAM-automagick-dep.patch b/sys-process/at/files/at-3.1.13-configure.in-fix-PAM-automagick-dep.patch new file mode 100644 index 000000000000..ee24b7f13147 --- /dev/null +++ b/sys-process/at/files/at-3.1.13-configure.in-fix-PAM-automagick-dep.patch @@ -0,0 +1,22 @@ +--- at-3.1.13/configure.ac ++++ at-3.1.13/configure.ac +@@ -82,10 +82,15 @@ + AC_FUNC_VPRINTF + AC_FUNC_GETLOADAVG + AC_CHECK_FUNCS(getcwd mktime strftime setreuid setresuid sigaction waitpid) +-AC_CHECK_HEADERS(security/pam_appl.h, [ +- PAMLIB="-lpam" +- AC_DEFINE(HAVE_PAM, 1, [Define to 1 for PAM support]) +-]) ++AC_ARG_WITH([pam], AS_HELP_STRING([--without-pam], ++ [Build without PAM support(default: enabled)])) ++ ++if test "x$with_pam" != "xno"; then ++ AC_CHECK_HEADERS(security/pam_appl.h, [ ++ PAMLIB="-lpam" ++ AC_DEFINE(HAVE_PAM, 1, [Define to 1 for PAM support]) ++ ]) ++fi + + dnl Checking for programs + diff --git a/sys-process/at/files/at-3.1.13-getloadavg.patch b/sys-process/at/files/at-3.1.13-getloadavg.patch new file mode 100644 index 000000000000..7de085dcd84b --- /dev/null +++ b/sys-process/at/files/at-3.1.13-getloadavg.patch @@ -0,0 +1,19 @@ +diff --git a/getloadavg.c b/getloadavg.c +index cf5869f..c7e2b27 100644 +--- a/getloadavg.c ++++ b/getloadavg.c +@@ -69,8 +69,12 @@ Boston, MA 02110-1301 USA */ + #include + #endif + +-#include "lisp.h" +-#include "sysfile.h" /* for encapsulated open, close, read, write */ ++#include ++#include ++#include ++ ++//#include "lisp.h" ++//#include "sysfile.h" /* for encapsulated open, close, read, write */ + + #ifndef HAVE_GETLOADAVG + diff --git a/sys-process/at/files/at-3.1.13-parallel-make-fix.patch b/sys-process/at/files/at-3.1.13-parallel-make-fix.patch new file mode 100644 index 000000000000..dec02e42310c --- /dev/null +++ b/sys-process/at/files/at-3.1.13-parallel-make-fix.patch @@ -0,0 +1,11 @@ +--- at-3.1.13_orig/Makefile.in 2011-06-25 14:43:14.000000000 +0200 ++++ at-3.1.13/Makefile.in 2012-03-16 17:23:26.210267660 +0100 +@@ -73,7 +73,7 @@ + atd: $(RUNOBJECTS) + $(CC) $(CFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(PAMLIB) + +-y.tab.c y.tab.h: parsetime.y ++%.tab.c %.tab.h: parsetime.y + $(YACC) -d parsetime.y + + lex.yy.c: parsetime.l diff --git a/sys-process/at/files/at-3.1.14-Makefile.patch b/sys-process/at/files/at-3.1.14-Makefile.patch new file mode 100644 index 000000000000..1e28619d9a82 --- /dev/null +++ b/sys-process/at/files/at-3.1.14-Makefile.patch @@ -0,0 +1,18 @@ +# - install into Gentoo/FHS doc dir + +--- at-3.1.14/Makefile.in ++++ at-3.1.14/Makefile.in +@@ -12,8 +12,11 @@ + man1dir = $(mandir)/man1 + man5dir = $(mandir)/man5 + man8dir = $(mandir)/man8 +-docdir = $(prefix)/doc +-atdocdir = $(docdir)/at ++ifndef PF ++PF = at-$(VERSION) ++endif ++docdir = $(prefix)/share/doc ++atdocdir = $(docdir)/$(PF) + etcdir = @ETCDIR@ + systemdsystemunitdir = @systemdsystemunitdir@ + diff --git a/sys-process/at/files/at-3.1.8-more-deny.patch b/sys-process/at/files/at-3.1.8-more-deny.patch new file mode 100644 index 000000000000..0a9a7eb2393c --- /dev/null +++ b/sys-process/at/files/at-3.1.8-more-deny.patch @@ -0,0 +1,20 @@ +--- a/at.deny ++++ b/at.deny +@@ -10,6 +10,8 @@ + lp + mail + man ++mysql ++news + nobody + operator + proxy +@@ -19,6 +21,8 @@ + qmailq + qmailr + qmails ++squid + sync + sys ++uucp + www-data diff --git a/sys-process/at/files/at.pamd-3.1.13-r1 b/sys-process/at/files/at.pamd-3.1.13-r1 new file mode 100644 index 000000000000..5c529c16180e --- /dev/null +++ b/sys-process/at/files/at.pamd-3.1.13-r1 @@ -0,0 +1,9 @@ +# +# The PAM configuration file for the at daemon +# + +auth required pam_env.so +auth include system-services +account include system-services +session include system-services + diff --git a/sys-process/at/files/atd.confd b/sys-process/at/files/atd.confd new file mode 100644 index 000000000000..bd6e4f1d0b88 --- /dev/null +++ b/sys-process/at/files/atd.confd @@ -0,0 +1,7 @@ +#!/sbin/openrc-run +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# Define startup options for atd(8). +# For example: ATD_OPTS="-l 3.0 -b 5" +ATD_OPTS="" diff --git a/sys-process/at/files/atd.rc8 b/sys-process/at/files/atd.rc8 new file mode 100644 index 000000000000..3cc437eaa16e --- /dev/null +++ b/sys-process/at/files/atd.rc8 @@ -0,0 +1,13 @@ +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +pidfile="/var/run/atd.pid" +command="/usr/sbin/atd" +command_args="${ATD_OPTS}" +start_stop_daemon_args="--pidfile ${pidfile}" + +depend() { + need clock + use logger +} diff --git a/sys-process/at/files/atd.service b/sys-process/at/files/atd.service new file mode 100644 index 000000000000..164fc2c0cb74 --- /dev/null +++ b/sys-process/at/files/atd.service @@ -0,0 +1,13 @@ +[Unit] +Description=at (job queue) daemon +After=networking.target + +[Service] +Type=forking +ExecStart=/usr/sbin/atd +PIDFile=/run/atd.pid +StandardOutput=syslog +StandardError=syslog + +[Install] +WantedBy=multi-user.target diff --git a/sys-process/at/metadata.xml b/sys-process/at/metadata.xml new file mode 100644 index 000000000000..9734cae3df3e --- /dev/null +++ b/sys-process/at/metadata.xml @@ -0,0 +1,12 @@ + + + + + polynomial-c@gentoo.org + Lars Wendler + + + cron-bugs@gentoo.org + Gentoo Cron Project + + -- cgit v1.2.3