From ada40c3d291fcb35c62e58c487981a0eddb0286a Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Mon, 4 Sep 2006 08:23:04 +0000 Subject: [PATCH] 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/ PR: ports/100888 Submitted by: Nikos Ntarmos --- sysutils/Makefile | 1 + sysutils/battmond/Makefile | 22 ++++++++++++++++++++++ sysutils/battmond/distinfo | 3 +++ sysutils/battmond/pkg-descr | 6 ++++++ 4 files changed, 32 insertions(+) create mode 100644 sysutils/battmond/Makefile create mode 100644 sysutils/battmond/distinfo create mode 100644 sysutils/battmond/pkg-descr diff --git a/sysutils/Makefile b/sysutils/Makefile index f0cb2449c435..886e89d84a1a 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -41,6 +41,7 @@ SUBDIR += bacula-server-devel SUBDIR += barry SUBDIR += battfink + SUBDIR += battmond SUBDIR += bbapm SUBDIR += bbsmount SUBDIR += bchunk diff --git a/sysutils/battmond/Makefile b/sysutils/battmond/Makefile new file mode 100644 index 000000000000..e61d583895ff --- /dev/null +++ b/sysutils/battmond/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: battmond +# Date created: 16 June 2006 +# Whom: ntarmos@ceid.upatras.gr +# +# $FreeBSD$ +# + +PORTNAME= battmond +PORTVERSION= 0.2 +CATEGORIES= sysutils +MASTER_SITES= http://ntarmos.dyndns.org/Software/FreeBSD/ + +MAINTAINER= ntarmos@ceid.upatras.gr +COMMENT= A daemon monitoring the battery level of ACPI-enabled laptops + +MAN1= battmond.1 +MANCOMPRESSED= yes + +PLIST_FILES= sbin/battmond \ + etc/rc.d/battmond + +.include diff --git a/sysutils/battmond/distinfo b/sysutils/battmond/distinfo new file mode 100644 index 000000000000..9f21e35f279e --- /dev/null +++ b/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 diff --git a/sysutils/battmond/pkg-descr b/sysutils/battmond/pkg-descr new file mode 100644 index 000000000000..57b72256c535 --- /dev/null +++ b/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/