summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-process/at/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-process/at/files')
-rw-r--r--sys-process/at/files/at-3.1.10.2-Makefile.in-parallel-make-fix.patch12
-rw-r--r--sys-process/at/files/at-3.1.13-configure.in-fix-PAM-automagick-dep.patch22
-rw-r--r--sys-process/at/files/at-3.1.13-getloadavg.patch19
-rw-r--r--sys-process/at/files/at-3.1.13-parallel-make-fix.patch11
-rw-r--r--sys-process/at/files/at-3.1.14-Makefile.patch18
-rw-r--r--sys-process/at/files/at-3.1.8-more-deny.patch20
-rw-r--r--sys-process/at/files/at.pamd-3.1.13-r19
-rw-r--r--sys-process/at/files/atd.confd8
-rwxr-xr-xsys-process/at/files/atd.rc713
-rwxr-xr-xsys-process/at/files/atd.rc814
-rw-r--r--sys-process/at/files/atd.service13
11 files changed, 159 insertions, 0 deletions
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 <config.h>
+ #endif
+
+-#include "lisp.h"
+-#include "sysfile.h" /* for encapsulated open, close, read, write */
++#include <sys/types.h>
++#include <sys/stat.h>
++#include <fcntl.h>
++
++//#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..006713b97269
--- /dev/null
+++ b/sys-process/at/files/at-3.1.8-more-deny.patch
@@ -0,0 +1,20 @@
+--- at.deny
++++ 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..c2bd584dc62e
--- /dev/null
+++ b/sys-process/at/files/atd.confd
@@ -0,0 +1,8 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# 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.rc7 b/sys-process/at/files/atd.rc7
new file mode 100755
index 000000000000..0080df718859
--- /dev/null
+++ b/sys-process/at/files/atd.rc7
@@ -0,0 +1,13 @@
+#!/sbin/runscript
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+pidfile="/var/run/atd.pid"
+command="/usr/sbin/atd"
+command_args="${ATD_OPTS}"
+start_stop_daemon_args="--pidfile ${pidfile}"
+
+depend() {
+ need clock logger
+}
diff --git a/sys-process/at/files/atd.rc8 b/sys-process/at/files/atd.rc8
new file mode 100755
index 000000000000..1b01d9321488
--- /dev/null
+++ b/sys-process/at/files/atd.rc8
@@ -0,0 +1,14 @@
+#!/sbin/runscript
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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