diff options
author | Michael Imhof <tantive@gentoo.org> | 2006-06-21 18:28:36 +0000 |
---|---|---|
committer | Michael Imhof <tantive@gentoo.org> | 2006-06-21 18:28:36 +0000 |
commit | 13b3cf605a508fb11fda85a9690625e3e0ae9488 (patch) | |
tree | 3fc88cae727b415ff523e8ce7243c0b035914a82 /sys-power/apcupsd/files | |
parent | Add ~amd64 per bug #128448 (diff) | |
download | gentoo-2-13b3cf605a508fb11fda85a9690625e3e0ae9488.tar.gz gentoo-2-13b3cf605a508fb11fda85a9690625e3e0ae9488.tar.bz2 gentoo-2-13b3cf605a508fb11fda85a9690625e3e0ae9488.zip |
Version bumped. Closes #130714, #132157.
(Portage version: 2.1.1_pre1-r1)
Diffstat (limited to 'sys-power/apcupsd/files')
-rw-r--r-- | sys-power/apcupsd/files/3.12.3/apcupsd.in.patch | 15 | ||||
-rw-r--r-- | sys-power/apcupsd/files/3.12.3/etc.patch | 175 | ||||
-rw-r--r-- | sys-power/apcupsd/files/digest-apcupsd-3.12.3 | 3 |
3 files changed, 193 insertions, 0 deletions
diff --git a/sys-power/apcupsd/files/3.12.3/apcupsd.in.patch b/sys-power/apcupsd/files/3.12.3/apcupsd.in.patch new file mode 100644 index 000000000000..7bcb0f41c086 --- /dev/null +++ b/sys-power/apcupsd/files/3.12.3/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.3/etc.patch b/sys-power/apcupsd/files/3.12.3/etc.patch new file mode 100644 index 000000000000..a3acfdbd6fe4 --- /dev/null +++ b/sys-power/apcupsd/files/3.12.3/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 diff --git a/sys-power/apcupsd/files/digest-apcupsd-3.12.3 b/sys-power/apcupsd/files/digest-apcupsd-3.12.3 new file mode 100644 index 000000000000..755e3076c489 --- /dev/null +++ b/sys-power/apcupsd/files/digest-apcupsd-3.12.3 @@ -0,0 +1,3 @@ +MD5 e329c5b71cd4d6b179750a7c9b6f0c30 apcupsd-3.12.3.tar.gz 4222539 +RMD160 0f801e9405f79af6d70e56868d222f80f8bb1583 apcupsd-3.12.3.tar.gz 4222539 +SHA256 871dc9957998f9f23a92d3e2bfd38a28aad0a7972a9bd6652c1d045f3db45132 apcupsd-3.12.3.tar.gz 4222539 |