clean out old broken stuff
authorDonny Davies <woodchip@gentoo.org>
Sat, 12 Oct 2002 21:42:39 +0000 (21:42 +0000)
committerDonny Davies <woodchip@gentoo.org>
Sat, 12 Oct 2002 21:42:39 +0000 (21:42 +0000)
net-misc/nut/ChangeLog
net-misc/nut/files/digest-nut-0.44.1-r1 [deleted file]
net-misc/nut/files/digest-nut-0.50.1 [deleted file]
net-misc/nut/files/upsd [deleted file]
net-misc/nut/nut-0.44.1-r1.ebuild [deleted file]
net-misc/nut/nut-0.50.1.ebuild [deleted file]
net-misc/nut/nut-1.0.0.ebuild

index 96775eedd0bba4ff24c8c4178a68bbec0f1738fb..5b60d5a9d480eae63e82a62d11b7e85490a074f2 100644 (file)
@@ -1,19 +1,18 @@
 # ChangeLog for net-misc/nut
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nut/ChangeLog,v 1.6 2002/08/27 02:54:09 woodchip Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nut/ChangeLog,v 1.7 2002/10/12 21:42:39 woodchip Exp $
 
 *nut-1.0.0 (26 Aug 2002)
 
-  26 Aug 2002; Donny Davies <woodchip@gentoo.org> nut-1.0.0.ebuild :
+  12 Oct 2002; Donny Davies <woodchip@gentoo.org> nut-1.0.0.ebuild :
+  Added sparc sparc64 KEYWORDS.  Old ebuilds have busted SRC_URI's.
 
-  Glorious timing; nut went 1.0 and as of baselayout-1.8.2, halt.sh
-  support is merged.
+  26 Aug 2002; Donny Davies <woodchip@gentoo.org> nut-1.0.0.ebuild :
+  Glorious timing; nut went 1.0 and as of baselayout-1.8.2, halt.sh support is merged.
 
 *nut-0.50.1 (3 Aug 2002)
 
-  3 Aug 2002; Donny Davies <woodchip@gentoo.org> nut-0.50.1.ebuild,
-  upsd-init, upsmon-init :
-
+  3 Aug 2002; Donny Davies <woodchip@gentoo.org> nut-0.50.1.ebuild, upsd-init, upsmon-init :
   This release adds proper initscripts, the USE cgi-bin option
   for building the web monitoring programs, and proper shutdown
   sequence merged into the baselayout halt.sh shutdown script.
 *nut-0.44.1-r1 (12 Apr 2002)
 
   11 Aug 2002; phoen][x <phoenix@gentoo.org> nut-0.44.1-r1.ebuild :
-
   Fixed src_install() (This closes bug 5827)
 
   09 Jul 2002; phoen][x <phoenix@gentoo.org> nut-0.44.1-r1.ebuild :
-
   Added KEYWORDS, LICENSE, SLOT.
 
   12 Apr 2002; Spider <spider@gentoo.org> 
-
-  libpng update
-  remove RPEND tag, unnecessary. (or typo;)
+  libpng update, remove RPEND tag, unnecessary. (or typo;)
 
 *nut-0.44.1 (1 Feb 2002)
 
   1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
-  
   Added initial ChangeLog which should be updated whenever the package is
   updated in any way. This changelog is targetted to users. This means that the
   comments should well explained and written in clean English. The details about
diff --git a/net-misc/nut/files/digest-nut-0.44.1-r1 b/net-misc/nut/files/digest-nut-0.44.1-r1
deleted file mode 100644 (file)
index 63c27be..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 f34b5c9c4fd55b9763bd801bf88f4ed5 nut-0.44.1.tar.gz 182139
diff --git a/net-misc/nut/files/digest-nut-0.50.1 b/net-misc/nut/files/digest-nut-0.50.1
deleted file mode 100644 (file)
index 5ee333a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 55b59910622daf8569198c1454adae10 nut-0.50.1.tar.gz 404271
diff --git a/net-misc/nut/files/upsd b/net-misc/nut/files/upsd
deleted file mode 100755 (executable)
index 9226b7d..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-#RCUPDATE:2 3 4:75:This line is required for script management
-
-. /etc/rc.d/config/functions
-
-SERVICE=upsd
-opts="start stop restart"
-
-PIDFILE=/var/run/upsd.pid
-EXE=/usr/bin/upsd
-
-start() {
-               ebegin "Starting $SERVICE..."
-               start-stop-daemon --start --quiet --exec $EXE 
-               eend $? "Started $SERVICE." "Error Starting $SERVICE."
-}
-
-stop() {
-               ebegin "Stopping $SERVICE..."
-               start-stop-daemon --stop --quiet --exec $EXE
-               eend $? "Stopped $SERVICE." "Error Stopping $SERVICE."
-}
-
-restart() {
-
-               stop
-               start
-
-}
-
-doservice ${@}
-
-
diff --git a/net-misc/nut/nut-0.44.1-r1.ebuild b/net-misc/nut/nut-0.44.1-r1.ebuild
deleted file mode 100644 (file)
index c033d61..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nut/nut-0.44.1-r1.ebuild,v 1.7 2002/10/04 06:14:07 vapier Exp $
-
-S=${WORKDIR}/${P}
-DESCRIPTION="Network-UPS Tools"
-SRC_URI="http://www.exploits.org/nut/release/${P}.tar.gz"
-HOMEPAGE="http://www.exploits.org/nut/"
-KEYWORDS="x86 sparc sparc64"
-LICENSE="GPL-2"
-SLOT="0"
-
-DEPEND=">=media-libs/libgd-1.8.3
-       >=media-libs/libpng-1.2.1"
-
-
-src_compile() {
-       ./configure     \
-               --host=${CHOST} \
-               --prefix=/usr   \
-               --sysconfdir=/etc/nut \
-               --with-user=daemon      \
-               --with-group=daemon || die
-
-       make || die
-
-       make cgi || die
-}
-
-src_install() {
-       dodir /usr/bin
-       make    \
-               INSTALLROOT=${D}        \
-               STATEPATH=${D}/var/state/ups \
-               install || die
-
-       cd clients
-       exeinto /home/httpd/cgi-bin/nut
-       doexe *.cgi
-       into /usr
-       dolib upsfetch.o
-       insinto /usr/include
-       doins upsfetch.h
-       cd ..
-       rmdir ${D}/usr/misc
-       insinto /etc/init.d
-       doins ${O}/files/upsd
-       dodoc COPYING CREDITS Changes QUICKSTART README
-       docinto docs
-       dodoc docs/*.txt docs/FAQ docs/Changes.trust
-       docinto cables
-       dodoc docs/cables/*.txt
-}
-
-
-pkg_config() {
-
-       . ${ROOT}/etc/rc.d/config/functions
-
-       einfo "Generating symlinks..."
-       ${ROOT}/usr/sbin/rc-update add upsd
-
-}
diff --git a/net-misc/nut/nut-0.50.1.ebuild b/net-misc/nut/nut-0.50.1.ebuild
deleted file mode 100644 (file)
index 16fd8c4..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nut/nut-0.50.1.ebuild,v 1.4 2002/10/05 05:39:23 drobbins Exp $
-
-IUSE="png"
-
-S=${WORKDIR}/${P}
-DESCRIPTION="Network-UPS Tools"
-SRC_URI="http://www.exploits.org/nut/release/${P}.tar.gz"
-HOMEPAGE="http://www.exploits.org/nut/"
-KEYWORDS="x86 sparc sparc64"
-LICENSE="GPL-2"
-SLOT="0"
-
-# -- [ FIXME ] --
-# a better idea would be to have virtual/httpd dependencies and
-# USE cgi-bin support.  USE png is used for now :/
-
-DEPEND="virtual/glibc
-       png? ( =sys-libs/zlib-1* =media-libs/libgd-1* =media-libs/libpng-1.2* )"
-RDEPEND="${DEPEND} png? ( =net-www/apache-1* )"
-
-src_compile() {
-       local myconf
-       use png && myconf="--with-cgi --with-cgipath=/home/httpd/cgi-bin"
-       use png || myconf="--without-cgi"
-
-       #default is to build all drivers; but the following is common:
-       #--with-drivers=apcsmart,hidups
-       ./configure \
-               --prefix=/usr \
-               --with-user=nut \
-               --with-group=nut \
-               --with-port=3493 \
-               --with-drvpath=/sbin \
-               --sysconfdir=/etc/nut \
-               --mandir=/usr/share/man \
-               --with-pidpath=/var/run \
-               --with-logfacility=LOG_DAEMON \
-               --with-statepath=/var/state/nut \
-               --with-altpidpath=/var/state/nut \
-               --host=${CHOST} ${myconf} || die
-
-       emake || die
-
-       if [ -n "`use png`" ]
-       then
-               emake cgi || die
-       fi
-}
-
-src_install() {
-       # Makefile: user/group nut might not exist until after
-       # pkg_preinst() runs; so use root for now, and fix it
-       # up in pkg_postinst().
-       make DESTDIR=${D} RUNUID=root RUNGID=root install || die
-
-       if [ -n "`use png`" ]
-       then
-               make DESTDIR=${D} install-cgi || die
-       fi
-       # see above note...
-       rm -rf ${D}/var/state/nut
-
-       dodoc CHANGES COPYING CREDITS INSTALL NEWS \
-               README docs/{FAQ,*.txt}
-       docinto cables ; dodoc docs/cables/*.txt
-       docinto drivers ; dodoc docs/drivers/*.txt
-
-       # clean up /etc/nut/*.sample files
-       cd ${D}/etc/nut
-       for i in *.sample
-       do
-               mv $i ${i/.sample/}
-       done
-
-       exeinto /etc/init.d
-       newexe ${FILESDIR}/upsd-init upsd
-       newexe ${FILESDIR}/upsmon-init upsmon
-}
-
-pkg_preinst() {
-       if ! groupmod nut ; then
-               groupadd -g 84 nut || die "problem adding group nut"
-       fi
-
-       # usermod returns 2 on user-exists-but-no-flags-given
-       usermod nut &>/dev/null
-       if [ $? != 2 ] ; then
-               useradd -u 84 -g nut -s /bin/false -c "nut" \
-                       -d /var/state/nut nut || die "problem adding user nut"
-       fi
-}
-
-pkg_postinst() {
-       install -m0700 -o nut -g nut -d ${ROOT}/var/state/nut
-}
index b505c0b72219a0e3e6d2814fd0603f971957e71e..aac0dffd91377ee736e5c17a19f2893c2649ce9e 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nut/nut-1.0.0.ebuild,v 1.3 2002/10/05 05:39:23 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nut/nut-1.0.0.ebuild,v 1.4 2002/10/12 21:42:39 woodchip Exp $
 
 IUSE="png"
 
@@ -8,7 +8,7 @@ S=${WORKDIR}/${P}
 DESCRIPTION="Network-UPS Tools"
 SRC_URI="http://www.exploits.org/nut/release/${P}.tar.gz"
 HOMEPAGE="http://www.exploits.org/nut/"
-KEYWORDS="x86"
+KEYWORDS="x86 sparc sparc64"
 LICENSE="GPL-2"
 SLOT="0"