From 443135b27dd949e89481f8629cf31f245f872b04 Mon Sep 17 00:00:00 2001 From: Michael Imhof Date: Mon, 1 Aug 2005 17:04:16 +0000 Subject: Version bumped. Should close #100614. Package-Manager: portage-2.0.51.22-r2 --- sys-power/apcupsd/files/3.10.18/apache.conf | 8 ++ sys-power/apcupsd/files/3.10.18/apcupsd.in.patch | 15 +++ sys-power/apcupsd/files/3.10.18/smtp.patch | 112 +++++++++++++++++++++++ sys-power/apcupsd/files/digest-apcupsd-3.10.18 | 1 + 4 files changed, 136 insertions(+) create mode 100644 sys-power/apcupsd/files/3.10.18/apache.conf create mode 100644 sys-power/apcupsd/files/3.10.18/apcupsd.in.patch create mode 100644 sys-power/apcupsd/files/3.10.18/smtp.patch create mode 100644 sys-power/apcupsd/files/digest-apcupsd-3.10.18 (limited to 'sys-power/apcupsd/files') diff --git a/sys-power/apcupsd/files/3.10.18/apache.conf b/sys-power/apcupsd/files/3.10.18/apache.conf new file mode 100644 index 000000000000..3156ab7976de --- /dev/null +++ b/sys-power/apcupsd/files/3.10.18/apache.conf @@ -0,0 +1,8 @@ +ScriptAlias /apcupsd/ /var/www/apcupsd/ + + + AllowOverride AuthConfig + Options ExecCGI + Order allow,deny + Allow from all + diff --git a/sys-power/apcupsd/files/3.10.18/apcupsd.in.patch b/sys-power/apcupsd/files/3.10.18/apcupsd.in.patch new file mode 100644 index 000000000000..7bcb0f41c086 --- /dev/null +++ b/sys-power/apcupsd/files/3.10.18/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.10.18/smtp.patch b/sys-power/apcupsd/files/3.10.18/smtp.patch new file mode 100644 index 000000000000..d0c6bbcbdd48 --- /dev/null +++ b/sys-power/apcupsd/files/3.10.18/smtp.patch @@ -0,0 +1,112 @@ +diff -u old/changeme new/changeme +--- old/changeme 2003-11-01 11:31:10.000000000 -0500 ++++ new/changeme 2003-11-01 11:27:09.000000000 -0500 +@@ -13,9 +13,10 @@ + # + ( + echo "Subject: $MSG" +- echo " " ++ echo "To: $SYSADMIN" ++ echo + echo "$MSG" + echo " " + /usr/sbin/apcaccess status +-) | $APCUPSD_MAIL -s "$MSG" $SYSADMIN ++) | $APCUPSD_MAIL $SYSADMIN + exit 0 +diff -u old/commfailure new/commfailure +--- old/commfailure 2003-11-01 11:31:26.000000000 -0500 ++++ new/commfailure 2003-11-01 11:27:13.000000000 -0500 +@@ -13,9 +13,10 @@ + # + ( + echo "Subject: $MSG" +- echo " " ++ echo "To: $SYSADMIN" ++ echo + echo "$MSG" + echo " " + /usr/sbin/apcaccess status +-) | $APCUPSD_MAIL -s "$MSG" $SYSADMIN ++) | $APCUPSD_MAIL $SYSADMIN + exit 0 +diff -u old/commok new/commok +--- old/commok 2003-11-01 11:31:33.000000000 -0500 ++++ new/commok 2003-11-01 11:27:16.000000000 -0500 +@@ -13,9 +13,10 @@ + # + ( + echo "Subject: $MSG" +- echo " " ++ echo "To: $SYSADMIN" ++ echo + echo "$MSG" + echo " " + /usr/sbin/apcaccess status +-) | $APCUPSD_MAIL -s "$MSG" $SYSADMIN ++) | $APCUPSD_MAIL $SYSADMIN + exit 0 +diff -u old/mainsback new/mainsback +--- old/mainsback 2003-11-01 11:30:55.000000000 -0500 ++++ new/mainsback 2003-11-01 11:27:21.000000000 -0500 +@@ -13,9 +13,10 @@ + # + ( + echo "Subject: $MSG" +- echo " " ++ echo "To: $SYSADMIN" ++ echo + echo "$MSG" + echo " " + /usr/sbin/apcaccess status +-) | $APCUPSD_MAIL -s "$MSG" $SYSADMIN ++) | $APCUPSD_MAIL $SYSADMIN + exit 0 +diff -u old/masterconnect new/masterconnect +--- old/masterconnect 2003-11-01 11:31:43.000000000 -0500 ++++ new/masterconnect 2003-11-01 11:27:30.000000000 -0500 +@@ -13,9 +13,10 @@ + # + ( + echo "Subject: $MSG" +- echo " " ++ echo "To: $SYSADMIN" ++ echo + echo "$MSG" + echo " " + /usr/sbin/apcaccess status +-) | $APCUPSD_MAIL -s "$MSG" $SYSADMIN ++) | $APCUPSD_MAIL $SYSADMIN + exit 0 +diff -u old/mastertimeout new/mastertimeout +--- old/mastertimeout 2003-11-01 11:31:52.000000000 -0500 ++++ new/mastertimeout 2003-11-01 11:27:33.000000000 -0500 +@@ -13,9 +13,10 @@ + # + ( + echo "Subject: $MSG" +- echo " " ++ echo "To: $SYSADMIN" ++ echo + echo "$MSG" + echo " " + /usr/sbin/apcaccess status +-) | $APCUPSD_MAIL -s "$MSG" $SYSADMIN ++) | $APCUPSD_MAIL $SYSADMIN + exit 0 +diff -u old/onbattery new/onbattery +--- old/onbattery 2003-11-01 11:32:03.000000000 -0500 ++++ new/onbattery 2003-11-01 11:27:35.000000000 -0500 +@@ -13,9 +13,10 @@ + # + ( + echo "Subject: $MSG" +- echo " " ++ echo "To: $SYSADMIN" ++ echo + echo "$MSG" + echo " " + /usr/sbin/apcaccess status +-) | $APCUPSD_MAIL -s "$MSG" $SYSADMIN ++) | $APCUPSD_MAIL $SYSADMIN + exit 0 diff --git a/sys-power/apcupsd/files/digest-apcupsd-3.10.18 b/sys-power/apcupsd/files/digest-apcupsd-3.10.18 new file mode 100644 index 000000000000..34355c479450 --- /dev/null +++ b/sys-power/apcupsd/files/digest-apcupsd-3.10.18 @@ -0,0 +1 @@ +MD5 64104a1fface0253e77318ca84948bac apcupsd-3.10.18.tar.gz 5698299 -- cgit v1.2.3-65-gdbad