summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-02-26 20:32:04 +0000
committerAnthony G. Basile <blueness@gentoo.org>2013-02-26 20:32:04 +0000
commitfd27dff41515501df037c7b4ebe35fb9cac707fe (patch)
treedcc80598adf8f6e2bebb05bbc8709fe1ac0b45e3 /sys-process
parentAdd kernel-3.8 compatibity patch from upstream (#458508 by Philipp Leonhardt)... (diff)
downloadhistorical-fd27dff41515501df037c7b4ebe35fb9cac707fe.tar.gz
historical-fd27dff41515501df037c7b4ebe35fb9cac707fe.tar.bz2
historical-fd27dff41515501df037c7b4ebe35fb9cac707fe.zip
non-maintainer commit: fix getloadavg for uclibc
Package-Manager: portage-2.1.11.50/cvs/Linux x86_64 Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/at/ChangeLog8
-rw-r--r--sys-process/at/Manifest20
-rw-r--r--sys-process/at/at-3.1.13-r2.ebuild81
-rw-r--r--sys-process/at/files/at-3.1.13-getloadavg.patch19
4 files changed, 123 insertions, 5 deletions
diff --git a/sys-process/at/ChangeLog b/sys-process/at/ChangeLog
index ddb5c7d9b167..869384db41ca 100644
--- a/sys-process/at/ChangeLog
+++ b/sys-process/at/ChangeLog
@@ -1,6 +1,12 @@
# 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.43 2013/02/18 17:57:48 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/at/ChangeLog,v 1.44 2013/02/26 20:31:49 blueness Exp $
+
+*at-3.1.13-r2 (26 Feb 2013)
+
+ 26 Feb 2013; Anthony G. Basile <blueness@gentoo.org> +at-3.1.13-r2.ebuild,
+ +files/at-3.1.13-getloadavg.patch:
+ non-maintainer commit: fix getloadavg for uclibc
18 Feb 2013; Sven Vermeulen <swift@gentoo.org> at-3.1.10.2-r1.ebuild,
at-3.1.10.2-r2.ebuild, at-3.1.13.ebuild, at-3.1.13-r1.ebuild:
diff --git a/sys-process/at/Manifest b/sys-process/at/Manifest
index 289f728e7ba6..a1845de98ccd 100644
--- a/sys-process/at/Manifest
+++ b/sys-process/at/Manifest
@@ -6,6 +6,7 @@ AUX at-3.1.10.2-Makefile.in-parallel-make-fix.patch 369 SHA256 6c0c26e27ed65f834
AUX at-3.1.10.2-configure.in-fix-PAM-automagick-dep.patch 655 SHA256 4dd613213711f0e35dd946ec0a5c8431e5c3c59c5875bf752c6971539e2a012c SHA512 919f88b43f2482b021d200e4ab47c878c8f8fedafec72590fec81524aa57294e137b3ce384823cb956790af87b0c19a6583ec557540990f110c7eb444e71c961 WHIRLPOOL 7b584d0ec57cee8f54bce20ba253e9a37a4af2c90532f8a85ff96126773e3afa7fcebd3f5d5380dbdc8e906be4428a6fdcc2d5d92976ac31b7a34d93fc811150
AUX at-3.1.13-Makefile.patch 719 SHA256 3d8b815e033354f361f18e562f1ff455256303dc9e178a8027f52fb72ed28651 SHA512 9f0203b125760d1e7a5a58c7f1129169de4ababcfa70bccba10a3b3b829dc6f16bd7a61a350049fb9866d9033a83b726199a7c60736d54b2460cbc49f7e16dba WHIRLPOOL 6ef723b7fa12bdafd6ddf610c8556415c935bb7682b4d1ec104fb139bc2e670cd905511dc3ee35d1f1e869b0c18029f0961cfdf61bf8e69e204ba171700afa46
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.8-more-deny.patch 171 SHA256 53c4f9a4976480369039072f92a8760abd663a0b4f74e95b011c9c9134704866 SHA512 c0929ee4309de51af9b4a6705c6f60ce70eef682a37ceb6e8c202e2c9609bc9b1ed3373d7f1d54325ade03ca5c7209f6dbf485159956610ea6d26f6627f294d0 WHIRLPOOL e64db8d247d36958b3796b3c34772c06362c16301e732c44d3ae5899eb6e16a2fe35c079d4d6e3ef5a4b69fa0c64e4db44c892b3962de053bad21c2c15045539
AUX at.pamd 234 SHA256 1ec02d1a39dc2d2d3ea35ade82c883304a24d6027a36d4397b2d008b0252ed44 SHA512 ff20a2f6db6901341160c9c249ee91082d90be98ef0c6c7756865c6a5ed465898bab3aa566bcf0e9585b4479cdcd55d7e12f84f297f1c2e04d2461772a57c0ef WHIRLPOOL 8a9884e048aa44481f8d849048ff96d5c5fcdfc7c8c86bf80fd6be410ba19e4649a43cdc96f411ef56779a1159bbcfb0f3c10920b77602052a9b53cd69c157ce
@@ -17,13 +18,24 @@ DIST at_3.1.13.orig.tar.gz 122544 SHA256 3a8b90868d615d21a92f4986ea9a823886329af
EBUILD at-3.1.10.2-r1.ebuild 2331 SHA256 c66e7f07c98644f852a19190bdd6e52ae3d8d96e7be958d7edfcb4413807d38f SHA512 538f9b4ef558898eca072783df2ec13a977fddd6f17e908d09470fdef6079ac7bc082e6d38d850889a631844b1248404944347f4873a3994bdd2802ba4d882cf WHIRLPOOL 9ad84c2ca88317abb6834b7935b86c6a165cf6ab32aa2edd38fd05c7a422b13228dd1670a5b4756058b4d41860e8c23c9f7d93a3155057130e7ab36f107499db
EBUILD at-3.1.10.2-r2.ebuild 2376 SHA256 0459e181555be234cc7b34ec0682d5c26eee785b385fca4f26de6a2afe64395d SHA512 fa3d49a02630efc9ab30b89d19e829c9d69038df496f51cb16428af63402432a494b3cf45d2c9723d92a6cec24fb6564a6910b86e87f6575b9a463a95274edd4 WHIRLPOOL e6f1ecdd6ddc99577121c52a990acd56b4aad63f519c6f341a6fef29086c9d34e705106d92076c96666b5c3bb5a532b15c3434344ff623a4f5afbe2d8fddb690
EBUILD at-3.1.13-r1.ebuild 2288 SHA256 e7b4e05bb3f93cc8285c72220ddf445450acb880b3a362ec8ec6a8ebe408471f SHA512 94a52bf9646e27b66945dcb61c21264d438ccf35ee45c6fc710a2583aa60b6484434a3fde0b2153e1b0f87d3378568ba0f8073acc9c710e0a40df42fd8735b8d WHIRLPOOL e4728360e43441be1b2dc4ee5de7d24e686d539a61ff62fdb02776e0d0d3997f56799628f20af335be76fd52b6edee524000ea264813fe661402ee80db28750b
+EBUILD at-3.1.13-r2.ebuild 2350 SHA256 90c10131e81fd304b2c186100f04ed2e8d517ebbed5ad9367dc2e74cda7e176e SHA512 4f57dd09eec8c35781773dc31764dd14729a7ab30da0de26422bc6ff877e1fb18d006c8dc2ed95d926805a45846218e8420ac9ffdf9c87de9438bc69a9e5da02 WHIRLPOOL 763f9faca5d335ad61958d30bcca6d442a12b6650b8cf56f8ad825bdc6075d0ff99e24eb46473a82393ebbbc5d0878222753aea77e735cf4a03eb571a9fa1a41
EBUILD at-3.1.13.ebuild 2175 SHA256 bd6700f7c9925d20077d229aeb15b2ebd8c528a3c9d84d35473db1a301258209 SHA512 ef1972a13124baf45330b4433f3f853ef5795714a3bc4c8455d71dc740e3299081c70007a2fa1291b42240f830e6498c6e12f20337d872b80d1359e6963c1b24 WHIRLPOOL ee60519283f6d68c41285179fd167105b7deef205142104046e97722d408adc42a969b6f0f837c00910d27242d4b8c3b35a4fb3ff4e70fcee05deaf2d6ed99df
-MISC ChangeLog 9909 SHA256 0f9849d8d775777b2e3f1b27c59dccb75e172c6fd16254af31bbf22bb3afab0e SHA512 a617ba9109ee953a53047122f146d09452dd677fefb91e7cc6274abb27f8f6965394c3678026eb25d9e55430da3f3e3d79409eb64ae1d1770b8a5a2425612d9c WHIRLPOOL fb403c32fd42ecb811f9dbd8a4941670d0a1769af638e66738b8cd6972038e9e509dab646406e77a44661d63403bf0a6372db436adcd903059fa3bc824e862c3
+MISC ChangeLog 10107 SHA256 94451afb781e5870294fdb2a56f1415d16ce06ffd4ca44e61d9ef39f7ec854c1 SHA512 a72b6e61671aa8435cfebbd05591172961fcc99533110f3e65050ba1ede146b9d6d8ef80b5936726f78bfeac4e486f07551883af6b678e42c1acff8224fed02d WHIRLPOOL 45bd621d677cb4b0b3ec7b26ced3f8fce0e7b968da9b8e5970375023dd4b2f99e3d983d588011bc52f2f270531a69d72cf05076ac488d29dba44ddfca93558a8
MISC metadata.xml 158 SHA256 a262a73b2049a89ab6a4bdf51df27bea44c7f0aa0ee33176c59a9c63eb45e764 SHA512 0848ecc6b5e718ad001952843f69815fd8c3f50d126d3a2bbc48b86a9bfa21eab50fdb2eb11188362b8ead9db4cefb3719b53e0b76e4412a7a9a377a091e60bc WHIRLPOOL 3034b4ecfc87a8678ffab15dfc07af401c1b53660f7369b80a63b5c20300a3701068e87d7f6ff28ac1fd1c373051ce895e0316ecf7d9e91ad4eb627702b1ba02
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlEia3wACgkQXfqz7M26L9vuWwCfZWm6ufrpmnCxv9veorol5+IA
-ZuwAoIcbOHrL5S2GUhp5tSo6vn1LTwhC
-=V4jY
+iQIcBAEBCAAGBQJRLRutAAoJEJOE+m71LUu6b6MP/3Lm326ydHhbyRA7tV9ICDFV
+lbMr8BI0iIOGH6OzyTQ/n/AJDaLUBqEzgT6cEN5x9SwIw7XTGpH9YBI80Hikwfbs
+AM6eFnMTCS6g1F9q4Z2zqze7+8GkvMGWd9GlK705Gp5IMQtSw07Tx8e9i+MIXey9
+3Z1B7M2m545GMc45opsH4mcvrzG+lpk9Q1RIuKLLhAT0Uvw4ng+YmCMtkF26kQD9
+FZdZZLZILQ1Rem5Bmk9dzSrz5hdmnvgaStw8zA3zfmHo0anRDEUHXr0UrxnYpRvQ
+22oP/wW5o6nkBJwtoEnGRAl1ekb4pObmql4phtcBAvL7aIZiO7sc5zduGCg5hDk5
+Kqr+sqVVLbNG+hjaRyWpJos34WksBLVLLEVxx2xUqefd/Szd8D7ZoyW/+rYkLSIU
+fQgNwc0ktltOD1LMRW7UaQkG0yx/ttd66BvbPAxfVWOcQUxrF+pBl9WJF0GowWIZ
+B5/jFKLrXbJRcDXdfaHXCmO9rK8nXeob/7p/ApgYsPjUrMp5bF1hQuyLLJIwy1T+
+gjxnqBJ4DG3PD4tauQP4672W0RbVSbwTEvNKrQCAD26OCoGl/DSJuqJg+1IN2JBZ
+YjTkPg43QIphONe8uDOA9zHcboJBM6g6bQXBwGNrBryxXlj1BLBQ7EVJP6iq1s0g
+sG7BBm7ZZwO0Rjz39Af6
+=E1mI
-----END PGP SIGNATURE-----
diff --git a/sys-process/at/at-3.1.13-r2.ebuild b/sys-process/at/at-3.1.13-r2.ebuild
new file mode 100644
index 000000000000..0b801b6bdc65
--- /dev/null
+++ b/sys-process/at/at-3.1.13-r2.ebuild
@@ -0,0 +1,81 @@
+# 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 $
+
+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 ~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 )
+ 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
+ # Fix parallel make issue (bug #408375)
+ epatch "${FILESDIR}"/${PN}-3.1.13-parallel-make-fix.patch
+ epatch "${FILESDIR}"/${PN}-3.1.13-getloadavg.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() {
+ emake install IROOT="${D}" || die
+
+ newinitd "${FILESDIR}"/atd.rc6 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
+}
+
+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.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
+