summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2004-05-26 20:05:17 +0000
committerMichael Imhof <tantive@gentoo.org>2004-05-26 20:05:17 +0000
commitb96e1e5c8aa657b9b48e7bd63587cf33751bbbce (patch)
tree339920a4ba255c4d646c1b88d01cefd654aaee5e /sys-apps
parentfinal tweak, remove old ebuild. (Manifest recommit) (diff)
downloadgentoo-2-b96e1e5c8aa657b9b48e7bd63587cf33751bbbce.tar.gz
gentoo-2-b96e1e5c8aa657b9b48e7bd63587cf33751bbbce.tar.bz2
gentoo-2-b96e1e5c8aa657b9b48e7bd63587cf33751bbbce.zip
Version bumped. Cleaned out old files.
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/apcupsd/ChangeLog12
-rw-r--r--sys-apps/apcupsd/Manifest12
-rw-r--r--sys-apps/apcupsd/apcupsd-3.10.13.ebuild104
-rw-r--r--sys-apps/apcupsd/files/3.10.13/apache.conf (renamed from sys-apps/apcupsd/files/3.10.6/apache.conf)0
-rw-r--r--sys-apps/apcupsd/files/3.10.13/apcupsd.in.patch (renamed from sys-apps/apcupsd/files/3.10.6/apcupsd.in.patch)0
-rw-r--r--sys-apps/apcupsd/files/3.10.13/smtp.patch (renamed from sys-apps/apcupsd/files/3.10.6/smtp.patch)0
-rw-r--r--sys-apps/apcupsd/files/3.10.13/ucd-snmp.patch (renamed from sys-apps/apcupsd/files/3.10.6/ucd-snmp.patch)0
-rw-r--r--sys-apps/apcupsd/files/3.10.5/apache.conf8
-rw-r--r--sys-apps/apcupsd/files/digest-apcupsd-3.10.132
9 files changed, 124 insertions, 14 deletions
diff --git a/sys-apps/apcupsd/ChangeLog b/sys-apps/apcupsd/ChangeLog
index 828a27395437..5227a00c410c 100644
--- a/sys-apps/apcupsd/ChangeLog
+++ b/sys-apps/apcupsd/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for sys-apps/apcupsd
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/apcupsd/ChangeLog,v 1.32 2004/05/24 22:32:27 tantive Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/apcupsd/ChangeLog,v 1.33 2004/05/26 20:05:16 tantive Exp $
+
+*apcupsd-3.10.13 (26 May 2004)
+
+ 26 May 2004; Michael Imhof <tantive@gentoo.org> apcupsd-3.10.13.ebuild,
+ files/3.10.13/apache.conf, files/3.10.13/apcupsd.in.patch,
+ files/3.10.13/smtp.patch, files/3.10.13/ucd-snmp.patch,
+ files/3.10.5/apache.conf, files/3.10.6/apache.conf,
+ files/3.10.6/apcupsd.in.patch, files/3.10.6/smtp.patch,
+ files/3.10.6/ucd-snmp.patch:
+ Version bumped. Cleaned out old files.
*apcupsd-3.10.10-r2 (25 May 2004)
diff --git a/sys-apps/apcupsd/Manifest b/sys-apps/apcupsd/Manifest
index e4b625725f86..08ecb8f2d77d 100644
--- a/sys-apps/apcupsd/Manifest
+++ b/sys-apps/apcupsd/Manifest
@@ -1,3 +1,4 @@
+MD5 d62a110be579b980f46dd41576e13456 apcupsd-3.10.13.ebuild 2728
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
MD5 9067349ccaef2914863749b2d0f5900f apcupsd-3.10.10.ebuild 2552
MD5 caf87beed0c7dec56bc4f54f8a6a3136 apcupsd-3.10.10-r1.ebuild 2597
@@ -10,15 +11,16 @@ MD5 c5a0f1d4de26b7e7e76641d5c722cd9f files/digest-apcupsd-3.10.8 123
MD5 41859fb08df1a1b50385b2e4a187a5cc files/digest-apcupsd-3.10.10-r1 124
MD5 41859fb08df1a1b50385b2e4a187a5cc files/digest-apcupsd-3.10.10 124
MD5 ab17d3fa671f63d263570aebe6f611b1 files/digest-apcupsd-3.10.9 123
-MD5 0a6d9da1e13f3a3a37fc77104eb8e2f2 files/3.10.5/apache.conf 163
+MD5 706952fc576fc75365b88542aada9702 files/digest-apcupsd-3.10.13 124
+MD5 8f1a2aa4fd0307c2cfe3733e8454d3c2 files/3.10.13/smtp.patch 2663
+MD5 ac24c9a1e199dfd66650ca55ce1e33f4 files/3.10.13/ucd-snmp.patch 425
+MD5 a587dd06ee42560a7ece7a73ed769f04 files/3.10.13/apccontrol.diff 340
+MD5 69cfaea0e3937c778c710b8120cbd379 files/3.10.13/apache.conf 157
+MD5 2a93b5c4f2574caa199b3d93cf838e8c files/3.10.13/apcupsd.in.patch 315
MD5 8f1a2aa4fd0307c2cfe3733e8454d3c2 files/3.10.9/smtp.patch 2663
MD5 ac24c9a1e199dfd66650ca55ce1e33f4 files/3.10.9/ucd-snmp.patch 425
MD5 69cfaea0e3937c778c710b8120cbd379 files/3.10.9/apache.conf 157
MD5 2a93b5c4f2574caa199b3d93cf838e8c files/3.10.9/apcupsd.in.patch 315
-MD5 8f1a2aa4fd0307c2cfe3733e8454d3c2 files/3.10.6/smtp.patch 2663
-MD5 ac24c9a1e199dfd66650ca55ce1e33f4 files/3.10.6/ucd-snmp.patch 425
-MD5 69cfaea0e3937c778c710b8120cbd379 files/3.10.6/apache.conf 157
-MD5 2a93b5c4f2574caa199b3d93cf838e8c files/3.10.6/apcupsd.in.patch 315
MD5 8f1a2aa4fd0307c2cfe3733e8454d3c2 files/3.10.8/smtp.patch 2663
MD5 ac24c9a1e199dfd66650ca55ce1e33f4 files/3.10.8/ucd-snmp.patch 425
MD5 69cfaea0e3937c778c710b8120cbd379 files/3.10.8/apache.conf 157
diff --git a/sys-apps/apcupsd/apcupsd-3.10.13.ebuild b/sys-apps/apcupsd/apcupsd-3.10.13.ebuild
new file mode 100644
index 000000000000..d7d27149e2af
--- /dev/null
+++ b/sys-apps/apcupsd/apcupsd-3.10.13.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/apcupsd/apcupsd-3.10.13.ebuild,v 1.1 2004/05/26 20:05:16 tantive Exp $
+
+inherit eutils
+
+IUSE="doc snmp usb apache2"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="APC UPS daemon with integrated tcp/ip remote shutdown"
+SRC_URI="mirror://sourceforge/apcupsd/${P}.tar.gz
+ ftp://ftp.apcupsd.com/pub/apcupsd/contrib/gd1.2.tar.gz"
+HOMEPAGE="http://www.sibbald.com/apcupsd/"
+KEYWORDS="~x86 ~amd64 ~ppc ~sparc"
+SLOT="0"
+LICENSE="GPL-2"
+
+DEPEND=">=sys-apps/baselayout-1.8.4
+ virtual/glibc
+ virtual/mta
+ snmp? ( net-analyzer/ucd-snmp )
+ sys-libs/ncurses"
+RDEPEND="${DEPEND}
+ usb? ( sys-apps/hotplug )"
+
+XPIDDIR=/var/run
+XLOGDIR=/var/log
+XLOCKDIR=/var/lock
+XSYSCONFDIR=/etc/apcupsd
+XPWRFAILDIR=${XSYSCONFDIR}
+
+src_unpack() {
+ unpack ${A}
+ cp -a ${WORKDIR}/gd1.2 ${S}/src/
+ cd ${S}/platforms/gentoo
+ epatch ${FILESDIR}/${PV}/apcupsd.in.patch
+ cd ${S}
+ epatch ${FILESDIR}/${PV}/ucd-snmp.patch
+}
+
+src_compile() {
+ local myconf
+ use snmp && myconf="--enable-snmp"
+ APCUPSD_MAIL=/usr/sbin/sendmail ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/sbin \
+ --sysconfdir=${XSYSCONFDIR} \
+ --with-pwrfail-dir=${XPWRFAILDIR} \
+ --with-lock-dir=${XLOCKDIR} \
+ --with-pid-dir=${XPIDDIR} \
+ --with-log-dir=${XLOGDIR} \
+ --with-upstype=usb \
+ --with-upscable=usb \
+ --with-serial-dev=/dev/usb/hid/hiddev[0-9] \
+ --with-net-port=6666 \
+ --with-nis-port=3551 \
+ --enable-usb \
+ --enable-net \
+ --enable-oldnet \
+ --enable-master-slave \
+ --enable-powerflute \
+ --enable-pthreads \
+ --with-css-dir=/var/www/apcupsd \
+ --with-cgi-bin=/var/www/apcupsd \
+ --enable-cgi \
+ ${myconf} \
+ || die
+ make || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die "installed failed"
+
+ use apache2 || insinto /etc/apache/conf/addon-modules
+ use apache2 || newins ${FILESDIR}/${PV}/apache.conf apcupsd.conf
+
+ use apache2 && insinto /etc/apache2/conf/modules.d
+ use apache2 && newins ${FILESDIR}/${PV}/apache.conf 60_apcupsd.conf
+
+ insinto /etc/apcupsd
+ newins examples/safe.apccontrol safe.apccontrol
+
+ cd ${D}/etc/apcupsd
+ epatch ${FILESDIR}/${PV}/smtp.patch
+
+ ln -s onbattery powerout
+
+ if [ "`use doc`x" != "x" ]
+ then
+ einfo "Installing full documentation into /usr/share/doc/${P}..."
+ cd ${S}/doc
+ dodoc README.*
+ docinto developers_manual
+ dodoc developers_manual/*
+ docinto logo
+ dodoc logo/*
+ docinto manual
+ dodoc manual/*
+ docinto old_documents
+ dodoc old_documents/*
+ docinto vim
+ dodoc vim/*
+ fi
+}
diff --git a/sys-apps/apcupsd/files/3.10.6/apache.conf b/sys-apps/apcupsd/files/3.10.13/apache.conf
index 21305d257846..21305d257846 100644
--- a/sys-apps/apcupsd/files/3.10.6/apache.conf
+++ b/sys-apps/apcupsd/files/3.10.13/apache.conf
diff --git a/sys-apps/apcupsd/files/3.10.6/apcupsd.in.patch b/sys-apps/apcupsd/files/3.10.13/apcupsd.in.patch
index 7bcb0f41c086..7bcb0f41c086 100644
--- a/sys-apps/apcupsd/files/3.10.6/apcupsd.in.patch
+++ b/sys-apps/apcupsd/files/3.10.13/apcupsd.in.patch
diff --git a/sys-apps/apcupsd/files/3.10.6/smtp.patch b/sys-apps/apcupsd/files/3.10.13/smtp.patch
index d0c6bbcbdd48..d0c6bbcbdd48 100644
--- a/sys-apps/apcupsd/files/3.10.6/smtp.patch
+++ b/sys-apps/apcupsd/files/3.10.13/smtp.patch
diff --git a/sys-apps/apcupsd/files/3.10.6/ucd-snmp.patch b/sys-apps/apcupsd/files/3.10.13/ucd-snmp.patch
index af9c363b2328..af9c363b2328 100644
--- a/sys-apps/apcupsd/files/3.10.6/ucd-snmp.patch
+++ b/sys-apps/apcupsd/files/3.10.13/ucd-snmp.patch
diff --git a/sys-apps/apcupsd/files/3.10.5/apache.conf b/sys-apps/apcupsd/files/3.10.5/apache.conf
deleted file mode 100644
index e99d79350d97..000000000000
--- a/sys-apps/apcupsd/files/3.10.5/apache.conf
+++ /dev/null
@@ -1,8 +0,0 @@
-Alias /apcupsd/ /home/httpd/apcupsd/
-
-<Directory "/home/httpd/apcupsd/">
- AllowOverride AuthConfig
- Options ExecCGI
- Order allow,deny
- Allow from all
-</Directory>
diff --git a/sys-apps/apcupsd/files/digest-apcupsd-3.10.13 b/sys-apps/apcupsd/files/digest-apcupsd-3.10.13
new file mode 100644
index 000000000000..17de2a28acac
--- /dev/null
+++ b/sys-apps/apcupsd/files/digest-apcupsd-3.10.13
@@ -0,0 +1,2 @@
+MD5 b201f70b0c066ff1bee86106e9ee5b6a apcupsd-3.10.13.tar.gz 3809317
+MD5 d9a0ddf7918c93ca28fa5832a4af54d8 gd1.2.tar.gz 64595