summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2006-08-27 09:19:49 +0000
committerMichael Imhof <tantive@gentoo.org>2006-08-27 09:19:49 +0000
commit48b52d9685126e9df0046113fd176e9660d2ac34 (patch)
treebb95e6730e02810abd530bec05d1f0197f4e3a6a /sys-power/apcupsd/files/3.12.4
parentxhost needs to be run outside the chroot (diff)
downloadgentoo-2-48b52d9685126e9df0046113fd176e9660d2ac34.tar.gz
gentoo-2-48b52d9685126e9df0046113fd176e9660d2ac34.tar.bz2
gentoo-2-48b52d9685126e9df0046113fd176e9660d2ac34.zip
Version bumped.
(Portage version: 2.1.1_rc1)
Diffstat (limited to 'sys-power/apcupsd/files/3.12.4')
-rw-r--r--sys-power/apcupsd/files/3.12.4/apcupsd.in.patch15
-rw-r--r--sys-power/apcupsd/files/3.12.4/etc.patch175
2 files changed, 190 insertions, 0 deletions
diff --git a/sys-power/apcupsd/files/3.12.4/apcupsd.in.patch b/sys-power/apcupsd/files/3.12.4/apcupsd.in.patch
new file mode 100644
index 000000000000..7bcb0f41c086
--- /dev/null
+++ b/sys-power/apcupsd/files/3.12.4/apcupsd.in.patch
@@ -0,0 +1,15 @@
+--- apcupsd.in 2002-09-14 14:03:18.000000000 +0200
++++ apcupsd.in.new 2003-11-06 16:34:28.000000000 +0100
+@@ -6,6 +6,12 @@
+ APCPID=@PIDDIR@/apcupsd.pid
+ APCUPSD=@sbindir@/apcupsd
+
++depend() {
++ after hotplug
++ after usb
++ after net
++}
++
+ start() {
+ rm -f /etc/apcupsd/powerfail
+ ebegin "Starting APC UPS daemon"
diff --git a/sys-power/apcupsd/files/3.12.4/etc.patch b/sys-power/apcupsd/files/3.12.4/etc.patch
new file mode 100644
index 000000000000..a3acfdbd6fe4
--- /dev/null
+++ b/sys-power/apcupsd/files/3.12.4/etc.patch
@@ -0,0 +1,175 @@
+diff -cwb etc.bak/changeme.in etc/changeme.in
+*** etc.bak/changeme.in Sun Mar 19 01:39:52 2006
+--- etc/changeme.in Sun Mar 19 01:41:31 2006
+***************
+*** 13,21 ****
+ #
+ (
+ echo "Subject: $MSG"
+ echo " "
+ echo "$MSG"
+ echo " "
+ @sbindir@/apcaccess status
+! ) | $APCUPSD_MAIL -s "$MSG" $SYSADMIN
+ exit 0
+--- 13,22 ----
+ #
+ (
+ echo "Subject: $MSG"
++ echo "To: $SYSADMIN"
+ echo " "
+ echo "$MSG"
+ echo " "
+ @sbindir@/apcaccess status
+! ) | $APCUPSD_MAIL $SYSADMIN
+ exit 0
+diff -cwb etc.bak/commfailure.in etc/commfailure.in
+*** etc.bak/commfailure.in Sun Mar 19 01:39:52 2006
+--- etc/commfailure.in Sun Mar 19 01:41:51 2006
+***************
+*** 13,21 ****
+ #
+ (
+ echo "Subject: $MSG"
+ echo " "
+ echo "$MSG"
+ echo " "
+ @sbindir@/apcaccess status
+! ) | $APCUPSD_MAIL -s "$MSG" $SYSADMIN
+ exit 0
+--- 13,22 ----
+ #
+ (
+ echo "Subject: $MSG"
++ echo "To: $SYSADMIN"
+ echo " "
+ echo "$MSG"
+ echo " "
+ @sbindir@/apcaccess status
+! ) | $APCUPSD_MAIL $SYSADMIN
+ exit 0
+diff -cwb etc.bak/commok.in etc/commok.in
+*** etc.bak/commok.in Sun Mar 19 01:39:52 2006
+--- etc/commok.in Sun Mar 19 01:42:05 2006
+***************
+*** 13,21 ****
+ #
+ (
+ echo "Subject: $MSG"
+ echo " "
+ echo "$MSG"
+ echo " "
+ @sbindir@/apcaccess status
+! ) | $APCUPSD_MAIL -s "$MSG" $SYSADMIN
+ exit 0
+--- 13,22 ----
+ #
+ (
+ echo "Subject: $MSG"
++ echo "To: $SYSADMIN"
+ echo " "
+ echo "$MSG"
+ echo " "
+ @sbindir@/apcaccess status
+! ) | $APCUPSD_MAIL $SYSADMIN
+ exit 0
+diff -cwb etc.bak/masterconnect.in etc/masterconnect.in
+*** etc.bak/masterconnect.in Sun Mar 19 01:39:52 2006
+--- etc/masterconnect.in Sun Mar 19 01:42:22 2006
+***************
+*** 13,21 ****
+ #
+ (
+ echo "Subject: $MSG"
+ echo " "
+ echo "$MSG"
+ echo " "
+ @sbindir@/apcaccess status
+! ) | $APCUPSD_MAIL -s "$MSG" $SYSADMIN
+ exit 0
+--- 13,22 ----
+ #
+ (
+ echo "Subject: $MSG"
++ echo "To: $SYSADMIN"
+ echo " "
+ echo "$MSG"
+ echo " "
+ @sbindir@/apcaccess status
+! ) | $APCUPSD_MAIL $SYSADMIN
+ exit 0
+diff -cwb etc.bak/mastertimeout.in etc/mastertimeout.in
+*** etc.bak/mastertimeout.in Sun Mar 19 01:39:52 2006
+--- etc/mastertimeout.in Sun Mar 19 01:42:35 2006
+***************
+*** 13,21 ****
+ #
+ (
+ echo "Subject: $MSG"
+ echo " "
+ echo "$MSG"
+ echo " "
+ @sbindir@/apcaccess status
+! ) | $APCUPSD_MAIL -s "$MSG" $SYSADMIN
+ exit 0
+--- 13,22 ----
+ #
+ (
+ echo "Subject: $MSG"
++ echo "To: $SYSADMIN"
+ echo " "
+ echo "$MSG"
+ echo " "
+ @sbindir@/apcaccess status
+! ) | $APCUPSD_MAIL $SYSADMIN
+ exit 0
+diff -cwb etc.bak/offbattery.in etc/offbattery.in
+*** etc.bak/offbattery.in Sun Mar 19 01:39:52 2006
+--- etc/offbattery.in Sun Mar 19 01:42:53 2006
+***************
+*** 13,21 ****
+ #
+ (
+ echo "Subject: $MSG"
+ echo " "
+ echo "$MSG"
+ echo " "
+ @sbindir@/apcaccess status
+! ) | $APCUPSD_MAIL -s "$MSG" $SYSADMIN
+ exit 0
+--- 13,22 ----
+ #
+ (
+ echo "Subject: $MSG"
++ echo "To: $SYSADMIN"
+ echo " "
+ echo "$MSG"
+ echo " "
+ @sbindir@/apcaccess status
+! ) | $APCUPSD_MAIL $SYSADMIN
+ exit 0
+diff -cwb etc.bak/onbattery.in etc/onbattery.in
+*** etc.bak/onbattery.in Sun Mar 19 01:39:52 2006
+--- etc/onbattery.in Sun Mar 19 01:43:10 2006
+***************
+*** 13,21 ****
+ #
+ (
+ echo "Subject: $MSG"
+ echo " "
+ echo "$MSG"
+ echo " "
+ @sbindir@/apcaccess status
+! ) | $APCUPSD_MAIL -s "$MSG" $SYSADMIN
+ exit 0
+--- 13,22 ----
+ #
+ (
+ echo "Subject: $MSG"
++ echo "To: $SYSADMIN"
+ echo " "
+ echo "$MSG"
+ echo " "
+ @sbindir@/apcaccess status
+! ) | $APCUPSD_MAIL $SYSADMIN
+ exit 0