summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2013-02-27 13:06:29 +0000
committerLars Wendler <polynomial-c@gentoo.org>2013-02-27 13:06:29 +0000
commitfc1bb3aa10a68d640de9f1bc36b03f0e1936c7a9 (patch)
tree6cbee3851101a678953b59ed60dc032efb340ea1 /sys-process
parentremove old ebuilds and unused files wrt bug #342541 (diff)
downloadgentoo-2-fc1bb3aa10a68d640de9f1bc36b03f0e1936c7a9.tar.gz
gentoo-2-fc1bb3aa10a68d640de9f1bc36b03f0e1936c7a9.tar.bz2
gentoo-2-fc1bb3aa10a68d640de9f1bc36b03f0e1936c7a9.zip
Added rewritten init script. Removed old versions. Fixed a repoman warning
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/at/ChangeLog11
-rw-r--r--sys-process/at/at-3.1.10.2-r1.ebuild84
-rw-r--r--sys-process/at/at-3.1.10.2-r2.ebuild85
-rw-r--r--sys-process/at/at-3.1.13-r1.ebuild4
-rw-r--r--sys-process/at/at-3.1.13-r2.ebuild6
-rw-r--r--sys-process/at/at-3.1.13.ebuild78
-rw-r--r--sys-process/at/files/at-3.1.10.1-Makefile.patch46
-rw-r--r--sys-process/at/files/at-3.1.10.2-configure.in-fix-PAM-automagick-dep.patch18
-rw-r--r--sys-process/at/files/at.pamd10
-rwxr-xr-xsys-process/at/files/atd.rc713
10 files changed, 28 insertions, 327 deletions
diff --git a/sys-process/at/ChangeLog b/sys-process/at/ChangeLog
index 869384db41ca..c3d868210159 100644
--- a/sys-process/at/ChangeLog
+++ b/sys-process/at/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for sys-process/at
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/at/ChangeLog,v 1.44 2013/02/26 20:31:49 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/at/ChangeLog,v 1.45 2013/02/27 13:06:29 polynomial-c Exp $
+
+ 27 Feb 2013; Lars Wendler <polynomial-c@gentoo.org>
+ -files/at-3.1.10.1-Makefile.patch, -at-3.1.10.2-r1.ebuild,
+ -at-3.1.10.2-r2.ebuild,
+ -files/at-3.1.10.2-configure.in-fix-PAM-automagick-dep.patch,
+ -at-3.1.13.ebuild, at-3.1.13-r1.ebuild, at-3.1.13-r2.ebuild, +files/atd.rc7,
+ -files/at.pamd:
+ Non-maintaner commit: Added rewritten init script. Removed old versions.
+ Fixed a repoman warning.
*at-3.1.13-r2 (26 Feb 2013)
diff --git a/sys-process/at/at-3.1.10.2-r1.ebuild b/sys-process/at/at-3.1.10.2-r1.ebuild
deleted file mode 100644
index 95095bf82164..000000000000
--- a/sys-process/at/at-3.1.10.2-r1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/at/at-3.1.10.2-r1.ebuild,v 1.12 2013/02/18 17:57:48 swift Exp $
-
-inherit eutils flag-o-matic autotools pam
-
-DESCRIPTION="Queues jobs for later execution"
-HOMEPAGE="http://packages.qa.debian.org/a/at.html"
-SRC_URI="mirror://debian/pool/main/a/at/at_${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86"
-IUSE="pam selinux"
-
-DEPEND="virtual/mta
- sys-devel/bison
- >=sys-devel/flex-2.5.4a
- pam? ( virtual/pam )
- selinux? ( sec-policy/selinux-at )"
-RDEPEND="virtual/mta
- virtual/logger
- selinux? ( sec-policy/selinux-at )"
-
-pkg_setup() {
- enewgroup at 25
- enewuser at 25 -1 /var/spool/at/atjobs at
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${PN}-3.1.8-more-deny.patch
- epatch "${FILESDIR}"/${PN}-3.1.10.1-Makefile.patch
- # fix parallel make issues, bug #244884
- epatch "${FILESDIR}"/${P}-Makefile.in-parallel-make-fix.patch
- epatch "${FILESDIR}"/${P}-configure.in-fix-PAM-automagick-dep.patch
-
- # fixing version string shown on "at -V" - bug #252970
- sed -e "/^VERSION=/s:3\.1\.9:${PV}:" -i "${S}"/configure.in \
- || die "sed configure.in failed"
- eautoconf
-}
-
-src_compile() {
- use pam || my_conf="--without-pam"
- 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} \
- || die "configure failed"
-
- emake || die "make failed"
-}
-
-src_install() {
- make install IROOT="${D}" || die
-
- newinitd "${FILESDIR}"/atd.rc6 atd
- newpamd "${FILESDIR}"/at.pamd atd
- prepalldocs
-
- # 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
-}
-
-pkg_postinst() {
- einfo "Forcing correct permissions on /var/spool/at"
- chown at:at "${ROOT}/var/spool/at/atjobs"
- chmod 1770 "${ROOT}/var/spool/at/atjobs"
- chown at:at "${ROOT}/var/spool/at/atjobs/.SEQ"
- chmod 0600 "${ROOT}/var/spool/at/atjobs/.SEQ"
- chown at:at "${ROOT}/var/spool/at/atspool"
- chmod 1770 "${ROOT}/var/spool/at/atspool"
-}
diff --git a/sys-process/at/at-3.1.10.2-r2.ebuild b/sys-process/at/at-3.1.10.2-r2.ebuild
deleted file mode 100644
index 83f09e090c40..000000000000
--- a/sys-process/at/at-3.1.10.2-r2.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/at/at-3.1.10.2-r2.ebuild,v 1.5 2013/02/18 17:57:48 swift Exp $
-
-inherit eutils flag-o-matic autotools pam
-
-DESCRIPTION="Queues jobs for later execution"
-HOMEPAGE="http://packages.qa.debian.org/a/at.html"
-SRC_URI="mirror://debian/pool/main/a/at/at_${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="pam selinux"
-
-DEPEND="virtual/mta
- sys-devel/bison
- >=sys-devel/flex-2.5.4a
- pam? ( virtual/pam )
- selinux? ( sec-policy/selinux-at )"
-RDEPEND="virtual/mta
- virtual/logger
- selinux? ( sec-policy/selinux-at )"
-
-pkg_setup() {
- enewgroup at 25
- enewuser at 25 -1 /var/spool/at/atjobs at
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${PN}-3.1.8-more-deny.patch
- epatch "${FILESDIR}"/${PN}-3.1.10.1-Makefile.patch
- # fix parallel make issues, bug #244884
- epatch "${FILESDIR}"/${P}-Makefile.in-parallel-make-fix.patch
- epatch "${FILESDIR}"/${P}-configure.in-fix-PAM-automagick-dep.patch
-
- # fixing version string shown on "at -V" - bug #252970
- sed -e "/^VERSION=/s:3\.1\.9:${PV}:" -i "${S}"/configure.in \
- || die "sed configure.in failed"
- eautoconf
-}
-
-src_compile() {
- use pam || my_conf="--without-pam"
- 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} \
- || die "configure failed"
-
- emake || die "make failed"
-}
-
-src_install() {
- make install IROOT="${D}" || die
-
- newinitd "${FILESDIR}"/atd.rc6 atd
- newconfd "${FILESDIR}"/atd.confd atd
- newpamd "${FILESDIR}"/at.pamd atd
- prepalldocs
-
- # 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
-}
-
-pkg_postinst() {
- einfo "Forcing correct permissions on /var/spool/at"
- chown at:at "${ROOT}/var/spool/at/atjobs"
- chmod 1770 "${ROOT}/var/spool/at/atjobs"
- chown at:at "${ROOT}/var/spool/at/atjobs/.SEQ"
- chmod 0600 "${ROOT}/var/spool/at/atjobs/.SEQ"
- chown at:at "${ROOT}/var/spool/at/atspool"
- chmod 1770 "${ROOT}/var/spool/at/atspool"
-}
diff --git a/sys-process/at/at-3.1.13-r1.ebuild b/sys-process/at/at-3.1.13-r1.ebuild
index 10960ee0e256..8b228199eb76 100644
--- a/sys-process/at/at-3.1.13-r1.ebuild
+++ b/sys-process/at/at-3.1.13-r1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/at/at-3.1.13-r1.ebuild,v 1.12 2013/02/18 17:57:48 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/at/at-3.1.13-r1.ebuild,v 1.13 2013/02/27 13:06:29 polynomial-c Exp $
EAPI=4
-inherit autotools eutils flag-o-matic pam
+inherit autotools eutils flag-o-matic pam user
DESCRIPTION="Queues jobs for later execution"
HOMEPAGE="http://packages.qa.debian.org/a/at.html"
diff --git a/sys-process/at/at-3.1.13-r2.ebuild b/sys-process/at/at-3.1.13-r2.ebuild
index 0b801b6bdc65..b8481f30c4c9 100644
--- a/sys-process/at/at-3.1.13-r2.ebuild
+++ b/sys-process/at/at-3.1.13-r2.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/at/at-3.1.13-r2.ebuild,v 1.1 2013/02/26 20:31:49 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/at/at-3.1.13-r2.ebuild,v 1.2 2013/02/27 13:06:29 polynomial-c Exp $
EAPI=4
-inherit autotools eutils flag-o-matic pam
+inherit autotools eutils flag-o-matic pam user
DESCRIPTION="Queues jobs for later execution"
HOMEPAGE="http://packages.qa.debian.org/a/at.html"
@@ -58,7 +58,7 @@ src_configure() {
src_install() {
emake install IROOT="${D}" || die
- newinitd "${FILESDIR}"/atd.rc6 atd
+ newinitd "${FILESDIR}"/atd.rc7 atd
newconfd "${FILESDIR}"/atd.confd atd
newpamd "${FILESDIR}"/at.pamd-3.1.13-r1 atd
diff --git a/sys-process/at/at-3.1.13.ebuild b/sys-process/at/at-3.1.13.ebuild
deleted file mode 100644
index 5d613cbc6ccc..000000000000
--- a/sys-process/at/at-3.1.13.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/at/at-3.1.13.ebuild,v 1.7 2013/02/18 17:57:48 swift Exp $
-
-EAPI=4
-
-inherit autotools eutils flag-o-matic pam
-
-DESCRIPTION="Queues jobs for later execution"
-HOMEPAGE="http://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 ~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 )
- selinux? ( sec-policy/selinux-at )"
-RDEPEND="virtual/mta
- virtual/logger
- selinux? ( sec-policy/selinux-at )"
-
-pkg_setup() {
- enewgroup at 25
- enewuser at 25 -1 /var/spool/at/atjobs at
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-3.1.8-more-deny.patch
- epatch "${FILESDIR}"/${PN}-3.1.13-Makefile.patch
- # fix parallel make issues, bug #244884
- epatch "${FILESDIR}"/${PN}-3.1.10.2-Makefile.in-parallel-make-fix.patch
- epatch "${FILESDIR}"/${P}-configure.in-fix-PAM-automagick-dep.patch
-
- eautoconf
-}
-
-src_configure() {
- use pam || my_conf="--without-pam"
- 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() {
- make install IROOT="${D}" || die
-
- newinitd "${FILESDIR}"/atd.rc6 atd
- newconfd "${FILESDIR}"/atd.confd atd
- newpamd "${FILESDIR}"/at.pamd 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
-}
-
-pkg_postinst() {
- einfo "Forcing correct permissions on /var/spool/at"
- chown at:at "${ROOT}/var/spool/at/atjobs"
- chmod 1770 "${ROOT}/var/spool/at/atjobs"
- chown at:at "${ROOT}/var/spool/at/atjobs/.SEQ"
- chmod 0600 "${ROOT}/var/spool/at/atjobs/.SEQ"
- chown at:at "${ROOT}/var/spool/at/atspool"
- chmod 1770 "${ROOT}/var/spool/at/atspool"
-}
diff --git a/sys-process/at/files/at-3.1.10.1-Makefile.patch b/sys-process/at/files/at-3.1.10.1-Makefile.patch
deleted file mode 100644
index 3d3d29055141..000000000000
--- a/sys-process/at/files/at-3.1.10.1-Makefile.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-- install into Gentoo/FHS doc dir
-- respect Gentoo LDFLAGS
-- dont allow install to strip binaries
-
---- Makefile.in. 2005-08-29 10:08:28.000000000 +0200
-+++ Makefile.in 2008-06-17 05:18:36.000000000 +0200
-@@ -14,8 +14,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@
-
- DAEMON_USERNAME = @DAEMON_USERNAME@
-@@ -37,7 +40,7 @@
- -DDAEMON_USERNAME=\"$(DAEMON_USERNAME)\" \
- -DDAEMON_GROUPNAME=\"$(DAEMON_GROUPNAME)\" \
- -DLFILE=\"$(LFILE)\" -Wall
--LIBS = @LIBS@
-+LIBS = @LIBS@ @LDFLAGS@
- LIBOBJS = @LIBOBJS@
- INSTALL = @INSTALL@
- PAMLIB = @PAMLIB@
-@@ -99,14 +102,14 @@
- chmod 600 $(IROOT)$(LFILE)
- chown $(DAEMON_USERNAME):$(DAEMON_GROUPNAME) $(IROOT)$(LFILE)
- test -f $(IROOT)$(etcdir)/at.allow || test -f $(IROOT)$(etcdir)/at.deny || $(INSTALL) -o root -g $(DAEMON_GROUPNAME) -m 640 at.deny $(IROOT)$(etcdir)/
-- $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 -s at $(IROOT)$(bindir)
-+ $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 at $(IROOT)$(bindir)
- $(LN_S) -f at $(IROOT)$(bindir)/atq
- $(LN_S) -f at $(IROOT)$(bindir)/atrm
- $(INSTALL) -g root -o root -m 755 batch $(IROOT)$(bindir)
- $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man1dir)
- $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man5dir)
- $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man8dir)
-- $(INSTALL) -g root -o root -m 755 -s atd $(IROOT)$(sbindir)
-+ $(INSTALL) -g root -o root -m 755 atd $(IROOT)$(sbindir)
- $(INSTALL) -g root -o root -m 755 atrun $(IROOT)$(sbindir)
- $(INSTALL) -g root -o root -m 644 at.1 $(IROOT)$(man1dir)/
- cd $(IROOT)$(man1dir) && $(LN_S) -f at.1 atq.1 && $(LN_S) -f at.1 batch.1 && $(LN_S) -f at.1 atrm.1
diff --git a/sys-process/at/files/at-3.1.10.2-configure.in-fix-PAM-automagick-dep.patch b/sys-process/at/files/at-3.1.10.2-configure.in-fix-PAM-automagick-dep.patch
deleted file mode 100644
index 108fc930e025..000000000000
--- a/sys-process/at/files/at-3.1.10.2-configure.in-fix-PAM-automagick-dep.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -Naur at-3.1.10.2.orig/configure.in at-3.1.10.2/configure.in
---- at-3.1.10.2.orig/configure.in 2009-01-31 15:38:54.000000000 +0100
-+++ at-3.1.10.2/configure.in 2009-01-31 17:01:00.000000000 +0100
-@@ -79,8 +79,13 @@
- 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_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)])
-+fi
-
- dnl Checking for programs
-
diff --git a/sys-process/at/files/at.pamd b/sys-process/at/files/at.pamd
deleted file mode 100644
index e3b4b72db042..000000000000
--- a/sys-process/at/files/at.pamd
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# The PAM configuration file for the at daemon
-#
-
-auth required pam_env.so
-auth include system-auth
-account include system-auth
-session required pam_limits.so
-session include system-auth
-
diff --git a/sys-process/at/files/atd.rc7 b/sys-process/at/files/atd.rc7
new file mode 100755
index 000000000000..4d70ae50fed9
--- /dev/null
+++ b/sys-process/at/files/atd.rc7
@@ -0,0 +1,13 @@
+#!/sbin/runscript
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/at/files/atd.rc7,v 1.1 2013/02/27 13:06:29 polynomial-c Exp $
+
+pidfile="/var/run/atd.pid"
+command="/usr/sbin/atd"
+command_args="${ATD_OPTS}"
+start_stop_daemon_args="--pidfile ${pidfile}"
+
+depend() {
+ need clock logger
+}