summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-10-09 00:48:44 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-10-09 00:48:44 +0000
commit97b57d7e688741bee82eb567923774fe85052650 (patch)
tree21f4b174f58197c07cdf0aba512788ed0de5a83c /sys-power/nut/files
parentClean up old ebuilds and fix quoting in present latest version. (diff)
downloadgentoo-2-97b57d7e688741bee82eb567923774fe85052650.tar.gz
gentoo-2-97b57d7e688741bee82eb567923774fe85052650.tar.bz2
gentoo-2-97b57d7e688741bee82eb567923774fe85052650.zip
Bug #184595, version bump to new major version. Read the UPGRADING file provided by upstream, there is a strong chance you need to change your config files. ~ppc64 was dropped due to the hald dependancy.
(Portage version: 2.1.3.12)
Diffstat (limited to 'sys-power/nut/files')
-rw-r--r--sys-power/nut/files/digest-nut-2.2.03
-rw-r--r--sys-power/nut/files/lighttpd_nut.conf-2.2.023
2 files changed, 26 insertions, 0 deletions
diff --git a/sys-power/nut/files/digest-nut-2.2.0 b/sys-power/nut/files/digest-nut-2.2.0
new file mode 100644
index 000000000000..38e4fd8b5e04
--- /dev/null
+++ b/sys-power/nut/files/digest-nut-2.2.0
@@ -0,0 +1,3 @@
+MD5 a3570515d80804051d4e7631e8a3eb12 nut-2.2.0.tar.gz 1173801
+RMD160 d4e0e50239ba2b020060445869b6d364a56092f4 nut-2.2.0.tar.gz 1173801
+SHA256 e670ff7b51a652fd61472aa5fa5a1ed4730b5411671068be456551ea46094120 nut-2.2.0.tar.gz 1173801
diff --git a/sys-power/nut/files/lighttpd_nut.conf-2.2.0 b/sys-power/nut/files/lighttpd_nut.conf-2.2.0
new file mode 100644
index 000000000000..958ac4d42e0f
--- /dev/null
+++ b/sys-power/nut/files/lighttpd_nut.conf-2.2.0
@@ -0,0 +1,23 @@
+###############################################################################
+# Lighttpd configuration for using NUT under Gentoo Linux.
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/nut/files/lighttpd_nut.conf-2.2.0,v 1.1 2007/10/09 00:48:44 robbat2 Exp $
+###############################################################################
+
+# Simple copy this to /etc/lighttpd/ and include it in your lighttpd.conf.
+# It will make NUT available at http://$HOST/nut/
+
+server.modules += ("mod_cgi")
+
+# If you want to limit it to some host, uncomment the host check and modify it to your needs.
+# $HTTP["host"] == "www2.example.org" {
+alias.url += ( "/nut/" => "/usr/share/nut/cgi/" )
+$HTTP["url"] =~ "^/nut/" {
+ dir-listing.activate = "disable"
+ cgi.assign = ( ".cgi" => "" )
+ index-file.names = ( "upsstats.cgi" )
+}
+# }
+
+# vim: set ft=conf foldmethod=marker et :