summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-07-01 19:06:56 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-07-01 19:06:56 +0000
commitd473d7f77ce62cdbabe3b429cb920579788aeff1 (patch)
tree8b2440536660c7e718fdd4708b8b84af4cc71792 /sys-power
parentBug # since it got closed FIXED... (diff)
downloadgentoo-2-d473d7f77ce62cdbabe3b429cb920579788aeff1.tar.gz
gentoo-2-d473d7f77ce62cdbabe3b429cb920579788aeff1.tar.bz2
gentoo-2-d473d7f77ce62cdbabe3b429cb920579788aeff1.zip
old
(Portage version: 2.2.0_alpha113/cvs/Linux x86_64)
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/acpid/ChangeLog7
-rw-r--r--sys-power/acpid/acpid-2.0.14.ebuild53
-rw-r--r--sys-power/acpid/files/acpid-1.0.6-conf.d6
-rw-r--r--sys-power/acpid/files/acpid-2.0.11-init.d28
-rw-r--r--sys-power/acpid/files/acpid-2.0.3.patch36
-rw-r--r--sys-power/acpid/files/acpid.service9
6 files changed, 6 insertions, 133 deletions
diff --git a/sys-power/acpid/ChangeLog b/sys-power/acpid/ChangeLog
index 98c0ab591977..cac1e2a02194 100644
--- a/sys-power/acpid/ChangeLog
+++ b/sys-power/acpid/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-power/acpid
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v 1.90 2012/07/01 18:37:28 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v 1.91 2012/07/01 19:06:55 ssuominen Exp $
+
+ 01 Jul 2012; Samuli Suominen <ssuominen@gentoo.org>
+ -files/acpid-1.0.6-conf.d, -files/acpid-2.0.3.patch,
+ -files/acpid-2.0.11-init.d, -acpid-2.0.14.ebuild, -files/acpid.service:
+ old
01 Jul 2012; Raúl Porcel <armin76@gentoo.org> acpid-2.0.16-r1.ebuild:
ia64 stable wrt #419201
diff --git a/sys-power/acpid/acpid-2.0.14.ebuild b/sys-power/acpid/acpid-2.0.14.ebuild
deleted file mode 100644
index 05f046eee3aa..000000000000
--- a/sys-power/acpid/acpid-2.0.14.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/acpid-2.0.14.ebuild,v 1.4 2012/05/06 17:01:01 armin76 Exp $
-
-EAPI=4
-inherit eutils systemd toolchain-funcs
-
-DESCRIPTION="Daemon for Advanced Configuration and Power Interface"
-HOMEPAGE="http://tedfelix.com/linux/acpid-netlink.html"
-SRC_URI="http://tedfelix.com/linux/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ia64 -ppc x86"
-IUSE=""
-
-RDEPEND=""
-DEPEND=""
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-2.0.3.patch
-}
-
-src_compile() {
- tc-export CC CPP
- emake
- emake -C kacpimon
-}
-
-src_install() {
- emake DESTDIR="${D}" DOCDIR=/usr/share/doc/${PF} install
-
- dobin kacpimon/kacpimon
- newdoc kacpimon/README README.kacpimon
-
- exeinto /etc/acpi
- newexe "${FILESDIR}"/${PN}-1.0.6-default.sh default.sh
- insinto /etc/acpi/events
- newins "${FILESDIR}"/${PN}-1.0.4-default default
-
- newinitd "${FILESDIR}"/${PN}-2.0.11-init.d acpid
- newconfd "${FILESDIR}"/${PN}-1.0.6-conf.d acpid
-
- systemd_dounit "${FILESDIR}"/${PN}.service
-}
-
-pkg_postinst() {
- elog
- elog "You may wish to read the Gentoo Linux Power Management Guide,"
- elog "which can be found online at:"
- elog "http://www.gentoo.org/doc/en/power-management-guide.xml"
- elog
-}
diff --git a/sys-power/acpid/files/acpid-1.0.6-conf.d b/sys-power/acpid/files/acpid-1.0.6-conf.d
deleted file mode 100644
index 30329760fc14..000000000000
--- a/sys-power/acpid/files/acpid-1.0.6-conf.d
+++ /dev/null
@@ -1,6 +0,0 @@
-# /etc/conf.d/acpid: config file for /etc/init.d/acpid
-
-# Options to pass to the acpid daemon.
-# See the acpid(8) man page for more info.
-
-ACPID_OPTIONS=""
diff --git a/sys-power/acpid/files/acpid-2.0.11-init.d b/sys-power/acpid/files/acpid-2.0.11-init.d
deleted file mode 100644
index 946e39bf4aa3..000000000000
--- a/sys-power/acpid/files/acpid-2.0.11-init.d
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/files/acpid-2.0.11-init.d,v 1.7 2011/12/04 10:33:21 swegener Exp $
-
-extra_started_commands="reload"
-command="/usr/sbin/acpid"
-command_args="${ACPID_OPTIONS}"
-start_stop_daemon_args="--quiet"
-description="Daemon for Advanced Configuration and Power Interface"
-
-depend() {
- need localmount
- use logger
-}
-
-if [ "${RC_VERSION:-0}" = "0" ]; then
- start() {
- eerror "This script cannot be used for baselayout-1."
- return 1
- }
-fi
-
-reload() {
- ebegin "Reloading acpid configuration"
- start-stop-daemon --exec $command --signal HUP
- eend $?
-}
diff --git a/sys-power/acpid/files/acpid-2.0.3.patch b/sys-power/acpid/files/acpid-2.0.3.patch
deleted file mode 100644
index dc5c239b8a42..000000000000
--- a/sys-power/acpid/files/acpid-2.0.3.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- kacpimon/makefile
-+++ kacpimon/makefile
-@@ -8,7 +8,7 @@
- # release build
- #CFLAGS = -O2 -Wall -Wextra -Wundef -Wshadow -Werror
- # hybrid build, optimized, but with debugging symbols (Debian-style)
--CFLAGS = -g -O2 -Wall -Wextra -Wundef -Wshadow -Werror
-+CFLAGS += -Wall -Wextra -Wundef -Wshadow
-
- objects := $(sources:.c=.o)
-
---- Makefile
-+++ Makefile
-@@ -3,8 +3,6 @@
- # update these numbers for new releases
- VERSION = 2.0.3
-
--OPT = -O2
--
- DESTDIR =
- PREFIX = /usr
-
-@@ -29,10 +27,10 @@
- MAN8 = acpid.8 acpi_listen.8
- MAN8GZ = $(MAN8:.8=.8.gz)
-
--DOCS = COPYING Changelog README TESTPLAN TODO
-+DOCS = Changelog README TESTPLAN TODO
-
--CFLAGS = -W -Wall -Werror -Wundef -Wshadow -D_GNU_SOURCE $(OPT) \
-- -fno-strict-aliasing -g $(DEFS)
-+CFLAGS += -W -Wall -Wundef -Wshadow -D_GNU_SOURCE \
-+ -fno-strict-aliasing $(DEFS)
- DEFS = -DVERSION="\"$(VERSION)\""
-
- all: $(PROGS)
diff --git a/sys-power/acpid/files/acpid.service b/sys-power/acpid/files/acpid.service
deleted file mode 100644
index 4e224ebe62e8..000000000000
--- a/sys-power/acpid/files/acpid.service
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Description=ACPI Event Daemon
-After=syslog.target
-
-[Service]
-ExecStart=/usr/sbin/acpid -f
-
-[Install]
-WantedBy=multi-user.target