[Midnightbsd-cvs] mports: mports/sysutils: Add battmond, a battery level monitor for ACPI

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Jan 21 11:23:39 EST 2008


Log Message:
-----------
Add battmond, a battery level monitor for ACPI enabled laptops.  It can log to syslog and shutdown the system when the level is critical.

Modified Files:
--------------
    mports/sysutils:
        Makefile (r1.58 -> r1.59)

Added Files:
-----------
    mports/sysutils/battmond:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/sysutils/Makefile,v
retrieving revision 1.58
retrieving revision 1.59
diff -L sysutils/Makefile -L sysutils/Makefile -u -r1.58 -r1.59
--- sysutils/Makefile
+++ sysutils/Makefile
@@ -4,6 +4,7 @@
     COMMENT = System utilities
 
     SUBDIR += 915resolution
+    SUBDIR += battmond
     SUBDIR += bsd-splash-changer
     SUBDIR += bsdstats
     SUBDIR += cdrdao
--- /dev/null
+++ sysutils/battmond/pkg-descr
@@ -0,0 +1,6 @@
+Battmond is a small daemon monitoring the battery level on ACPI-enabled
+(laptop) computers, by probing the ACPI device on regular intervals. It
+can warn you (through syslog) when the battery level is running low, and
+halt the system when it drops below a critical level threshold.
+
+WWW: http://ntarmos.dyndns.org/
--- /dev/null
+++ sysutils/battmond/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for:	battmond
+# Date created:				16 June 2006
+# Whom:					ntarmos at ceid.upatras.gr
+#
+# $MidnightBSD: mports/sysutils/battmond/Makefile,v 1.1 2008/01/21 16:23:37 laffer1 Exp $
+# $FreeBSD: ports/sysutils/battmond/Makefile,v 1.2 2006/09/07 08:16:21 pav Exp $
+#
+
+PORTNAME=	battmond
+PORTVERSION=	0.2
+CATEGORIES=	sysutils
+MASTER_SITES=	http://ntarmos.dyndns.org/Software/FreeBSD/
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	A daemon monitoring the battery level of ACPI-enabled laptops
+LICENSE=	unknown
+
+MAN1=		battmond.1
+MANCOMPRESSED=	yes
+
+PLIST_FILES=	sbin/battmond \
+		etc/rc.d/battmond
+
+.include <bsd.port.mk>
--- /dev/null
+++ sysutils/battmond/distinfo
@@ -0,0 +1,3 @@
+MD5 (battmond-0.2.tar.gz) = c4adcad9d29b68cb6f1557766a8dd4b7
+SHA256 (battmond-0.2.tar.gz) = 75743628feedb24a604c5462ebd82f75b0f2a2232fb804c852a0bda8aaaa3615
+SIZE (battmond-0.2.tar.gz) = 3088


More information about the Midnightbsd-cvs mailing list