summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2005-03-28 18:31:43 +0000
committerMichael Imhof <tantive@gentoo.org>2005-03-28 18:31:43 +0000
commit37ebf3bd8981b65e558368b2ea7f500c14e9d320 (patch)
tree2ef47b8d121614f766e353a6bda9de6e394a9e84 /sys-power/apcupsd/files
parentAdded local use flag for apcupsd: cgi (diff)
downloadgentoo-2-37ebf3bd8981b65e558368b2ea7f500c14e9d320.tar.gz
gentoo-2-37ebf3bd8981b65e558368b2ea7f500c14e9d320.tar.bz2
gentoo-2-37ebf3bd8981b65e558368b2ea7f500c14e9d320.zip
Version bumped. Ebuild based on #86143. Closes #86143 and #83649.
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-power/apcupsd/files')
-rw-r--r--sys-power/apcupsd/files/3.10.17/apache.conf8
-rw-r--r--sys-power/apcupsd/files/3.10.17/apcupsd.in.patch15
-rw-r--r--sys-power/apcupsd/files/3.10.17/smtp.patch112
-rw-r--r--sys-power/apcupsd/files/digest-apcupsd-3.10.171
4 files changed, 136 insertions, 0 deletions
diff --git a/sys-power/apcupsd/files/3.10.17/apache.conf b/sys-power/apcupsd/files/3.10.17/apache.conf
new file mode 100644
index 000000000000..3156ab7976de
--- /dev/null
+++ b/sys-power/apcupsd/files/3.10.17/apache.conf
@@ -0,0 +1,8 @@
+ScriptAlias /apcupsd/ /var/www/apcupsd/
+
+<Directory "/var/www/apcupsd/">
+ AllowOverride AuthConfig
+ Options ExecCGI
+ Order allow,deny
+ Allow from all
+</Directory>
diff --git a/sys-power/apcupsd/files/3.10.17/apcupsd.in.patch b/sys-power/apcupsd/files/3.10.17/apcupsd.in.patch
new file mode 100644
index 000000000000..7bcb0f41c086
--- /dev/null
+++ b/sys-power/apcupsd/files/3.10.17/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.17/smtp.patch b/sys-power/apcupsd/files/3.10.17/smtp.patch
new file mode 100644
index 000000000000..d0c6bbcbdd48
--- /dev/null
+++ b/sys-power/apcupsd/files/3.10.17/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.17 b/sys-power/apcupsd/files/digest-apcupsd-3.10.17
new file mode 100644
index 000000000000..8b197365bdc5
--- /dev/null
+++ b/sys-power/apcupsd/files/digest-apcupsd-3.10.17
@@ -0,0 +1 @@
+MD5 2a7dab7bebac0912d683f5a14fb4e291 apcupsd-3.10.17.tar.gz 5662277