summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreston A. Elder <prez@gentoo.org>2003-10-17 16:00:53 +0000
committerPreston A. Elder <prez@gentoo.org>2003-10-17 16:00:53 +0000
commit06574798dd22242c7365e787cd534b85212e20fb (patch)
tree7bc307ff9e19ed0f219d9f51c29bb27bdcc95005 /net-misc
parent*** empty log message *** (diff)
downloadhistorical-06574798dd22242c7365e787cd534b85212e20fb.tar.gz
historical-06574798dd22242c7365e787cd534b85212e20fb.tar.bz2
historical-06574798dd22242c7365e787cd534b85212e20fb.zip
Added newest development version.
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/nut/ChangeLog7
-rw-r--r--net-misc/nut/Manifest28
-rw-r--r--net-misc/nut/files/digest-nut-1.5.61
-rw-r--r--net-misc/nut/nut-1.5.6.ebuild81
4 files changed, 103 insertions, 14 deletions
diff --git a/net-misc/nut/ChangeLog b/net-misc/nut/ChangeLog
index 4d260d5e71a8..5032857875b4 100644
--- a/net-misc/nut/ChangeLog
+++ b/net-misc/nut/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/nut
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nut/ChangeLog,v 1.18 2003/10/16 23:26:27 max Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nut/ChangeLog,v 1.19 2003/10/17 16:00:53 prez Exp $
+
+*nut-1.5.6 (17 Oct 2003)
+
+ 17 Oct 2003; Preston A. Elder <prez@gentoo.org> nut-1.5.6.ebuild :
+ New development tree version.
*nut-1.4.0-r1 (16 Oct 2003)
diff --git a/net-misc/nut/Manifest b/net-misc/nut/Manifest
index 1bb11a4b22bb..a5c998841740 100644
--- a/net-misc/nut/Manifest
+++ b/net-misc/nut/Manifest
@@ -1,22 +1,24 @@
-MD5 96547e9537bb024f208d43371aa5f2b2 nut-1.4.0.ebuild 3362
+MD5 7c161a59353c2a38465ae7b9c49d90aa ChangeLog 2785
+MD5 9f1719e548b416ed9d719b908e1fa520 nut-1.2.2.ebuild 3283
+MD5 7eb4b01b750fa4ca836f8d76e17b217d nut-1.3.6.ebuild 3362
+MD5 91a159b983332d5ed0fb985cc1fe1b80 metadata.xml 330
+MD5 cf7701e7f443498501140c4a537410bf nut-1.5.1.ebuild 3366
MD5 6aab9abab0b73d9a5a7a78e644433734 nut-1.0.0.ebuild 2527
+MD5 bb9618c8b03a1237cd7ab2ac7c060cae nut-1.2.1-r1.ebuild 3237
MD5 e7b0cec5163957ce8fbd4f6911a35e3e nut-1.2.1.ebuild 2921
-MD5 7eb4b01b750fa4ca836f8d76e17b217d nut-1.3.6.ebuild 3362
+MD5 96547e9537bb024f208d43371aa5f2b2 nut-1.4.0.ebuild 3362
MD5 72ac604c561eeb8394cfb20f0877cad7 nut-1.4.0-r1.ebuild 2125
-MD5 9f1719e548b416ed9d719b908e1fa520 nut-1.2.2.ebuild 3283
-MD5 bb9618c8b03a1237cd7ab2ac7c060cae nut-1.2.1-r1.ebuild 3237
-MD5 bf52d4219d300ca5f3966015591a7b53 ChangeLog 2656
-MD5 cf7701e7f443498501140c4a537410bf nut-1.5.1.ebuild 3366
-MD5 91a159b983332d5ed0fb985cc1fe1b80 metadata.xml 330
-MD5 53b3c22e90b76d9ed4ac9cbbef393c31 files/digest-nut-1.0.0 61
-MD5 4f6c951306e95660e88086bc591f03d0 files/digest-nut-1.2.1 61
-MD5 ab96c8181bf3780dae5e3377987b05c2 files/digest-nut-1.2.2 61
-MD5 391798e93c10d171a3a7f9941527e293 files/digest-nut-1.3.6 61
-MD5 de17bbc812bdd76ec7b807a0deb5e636 files/digest-nut-1.4.0 61
+MD5 e71dbe610372a56f1560103e7ca5b487 nut-1.5.6.ebuild 2129
MD5 884831c15f0700dbc89db196a32a2695 files/digest-nut-1.5.1 61
+MD5 de17bbc812bdd76ec7b807a0deb5e636 files/digest-nut-1.4.0 61
MD5 2bbffa4aad5969fa3d0d74a6039d6070 files/upsmon-init 491
+MD5 7ae6f61ceeee54557c5ad414688b82d0 files/digest-nut-1.5.6 61
MD5 4f6c951306e95660e88086bc591f03d0 files/digest-nut-1.2.1-r1 61
MD5 de17bbc812bdd76ec7b807a0deb5e636 files/digest-nut-1.4.0-r1 61
MD5 f8462813ecdb575332f5fd9b8afe8291 files/upsd.rc6 592
-MD5 d7a81750b9c1eafd1a1c94dd492ce5bb files/upsmon.rc6 594
MD5 c5fa9d5b07e3724f41bb5fd83bbcc4c7 files/upsd-init 596
+MD5 d7a81750b9c1eafd1a1c94dd492ce5bb files/upsmon.rc6 594
+MD5 ab96c8181bf3780dae5e3377987b05c2 files/digest-nut-1.2.2 61
+MD5 391798e93c10d171a3a7f9941527e293 files/digest-nut-1.3.6 61
+MD5 4f6c951306e95660e88086bc591f03d0 files/digest-nut-1.2.1 61
+MD5 53b3c22e90b76d9ed4ac9cbbef393c31 files/digest-nut-1.0.0 61
diff --git a/net-misc/nut/files/digest-nut-1.5.6 b/net-misc/nut/files/digest-nut-1.5.6
new file mode 100644
index 000000000000..5edaab2f6e61
--- /dev/null
+++ b/net-misc/nut/files/digest-nut-1.5.6
@@ -0,0 +1 @@
+MD5 59d0e0952a68fa04a63a25bc181a68c0 nut-1.5.6.tar.gz 479689
diff --git a/net-misc/nut/nut-1.5.6.ebuild b/net-misc/nut/nut-1.5.6.ebuild
new file mode 100644
index 000000000000..fa09726388eb
--- /dev/null
+++ b/net-misc/nut/nut-1.5.6.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nut/nut-1.5.6.ebuild,v 1.1 2003/10/17 16:00:53 prez Exp $
+
+DESCRIPTION="Network-UPS Tools."
+SRC_URI="http://www.exploits.org/nut/development/${PV%.*}/${P}.tar.gz"
+HOMEPAGE="http://www.exploits.org/nut/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~sparc"
+IUSE="cgi"
+
+DEPEND=">=sys-apps/sed-4
+ cgi? ( =media-libs/libgd-1* )"
+
+src_unpack() {
+ unpack ${A} && cd "${S}"
+
+ sed -e "s:GD_LIBS.*=.*-L/usr/X11R6/lib \(.*\) -lXpm -lX11:GD_LIBS=\"\1:" \
+ -i configure.in || die "sed failed"
+}
+
+src_compile() {
+ local myconf
+ myconf="${myconf} `use_with cgi` `use_with cgi cgipath /usr/share/nut`"
+
+ WANT_AUTOCONF_2_5=1 autoconf
+ econf \
+ --with-user=nut \
+ --with-group=nut \
+ --with-drvpath=/usr/lib/nut \
+ --sysconfdir=/etc/nut \
+ --with-logfacility=LOG_DAEMON \
+ --with-statepath=/var/lib/nut \
+ --with-linux-hiddev \
+ ${myconf}
+
+ sed -e "s:= bestups:= hidups bestups:" \
+ -i drivers/Makefile || die "sed failed"
+ sed -e "s:= powercom.8:= hidups.8 powercom.8:" \
+ -i man/Makefile || "sed failed"
+
+ emake || die "compile problem"
+
+ if [ "`use cgi`" ] ; then
+ emake cgi || die "compile cgi problem"
+ fi
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ keepdir /var/lib/nut
+
+ for i in "${D}"/etc/nut/*.sample ; do
+ mv "${i}" "${i/.sample/}"
+ done
+
+ if [ "`use cgi`" ] ; then
+ make DESTDIR="${D}" install-cgi || die "make install-cgi failed"
+ einfo "CGI monitoring scripts are installed in /usr/share/nut,"
+ einfo "copy them to your web server's ScriptPath to activate."
+ fi
+
+ dodoc CHANGES COPYING CREDITS INSTALL MAINTAINERS NEWS README UPGRADING \
+ docs/{FAQ,*.txt,driver.list}
+
+ docinto cables
+ dodoc docs/cables/*
+
+ exeinto /etc/init.d
+ newexe "${FILESDIR}/upsd.rc6" upsd
+ newexe "${FILESDIR}/upsmon.rc6" upsmon
+}
+
+pkg_postinst() {
+ chown nut:nut ${ROOT}/var/lib/nut
+ chmod 0700 ${ROOT}/var/lib/nut
+ chown root:nut ${ROOT}/etc/nut/{upsd.conf,upsd.users,upsmon.conf}
+ chmod 0640 ${ROOT}/etc/nut/{upsd.conf,upsd.users,upsmon.conf}
+}