Bug 100888 - New port: sysutils/battmond A battery level monitoring daemon.
Summary: New port: sysutils/battmond A battery level monitoring daemon.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-26 19:00 UTC by ntarmos
Modified: 2006-09-04 09:26 UTC (History)
0 users

See Also:


Attachments
file.shar (1.74 KB, text/plain)
2006-07-26 19:00 UTC, ntarmos
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description ntarmos 2006-07-26 19:00:28 UTC
A port of a small daemon process monitoring the battery level on
ACPI-enabled (laptop) computers, and optionally warning and/or halting
the system if it drops below some user-defined thresholds.
Comment 1 ntarmos 2006-08-28 22:52:28 UTC
Updated shar with v0.2 of the port, incorporating some style tweaks
and a minor fix for when a user removes and re-plugs her battery.

\n\n

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	battmond
#	battmond/distinfo
#	battmond/Makefile
#	battmond/pkg-descr
#
echo c - battmond
mkdir -p battmond > /dev/null 2>&1
echo x - battmond/distinfo
sed 's/^X//' >battmond/distinfo << 'END-of-battmond/distinfo'
XMD5 (battmond-0.2.tar.gz) = 3b9c216f01b9c1526062ad5399607e53
XSHA256 (battmond-0.2.tar.gz) = a388beb18864468701515e49bd6fbaedb368a338c232f5c3deed18b6419294fa
XSIZE (battmond-0.2.tar.gz) = 3057
END-of-battmond/distinfo
echo x - battmond/Makefile
sed 's/^X//' >battmond/Makefile << 'END-of-battmond/Makefile'
X# New ports collection makefile for:   battmond
X# Date created:        16 June 2006
X# Whom:                ntarmos@ceid.upatras.gr
X#
X# $FreeBSD$
X#
X
XPORTNAME=	battmond
XPORTVERSION=	0.2
XCATEGORIES=	sysutils
XMASTER_SITES=	http://ntarmos.dyndns.org/Software/FreeBSD/
X
XMAINTAINER=	ntarmos@ceid.upatras.gr
XCOMMENT=	A daemon monitoring the battery level of ACPI-enabled laptops
X
XMAN1=		battmond.1
XMANCOMPRESSED=yes
X
XPLIST_FILES=	sbin/battmond \
X		etc/rc.d/battmond
X
X.include <bsd.port.mk>
END-of-battmond/Makefile
echo x - battmond/pkg-descr
sed 's/^X//' >battmond/pkg-descr << 'END-of-battmond/pkg-descr'
XBattmond is a small daemon monitoring the battery level on ACPI-enabled
X(laptop) computers, by probing the ACPI device on regular intervals. It
Xcan warn you (through syslog) when the battery level is running low, and
Xhalt the system when it drops below a critical level threshold.
X
XWWW: http://ntarmos.dyndns.org/
END-of-battmond/pkg-descr
exit
Comment 2 ntarmos 2006-08-28 23:16:13 UTC
... same thing only with a correct distinfo. Sorry for the noise...

\n\n

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	battmond
#	battmond/distinfo
#	battmond/Makefile
#	battmond/pkg-descr
#
echo c - battmond
mkdir -p battmond > /dev/null 2>&1
echo x - battmond/distinfo
sed 's/^X//' >battmond/distinfo << 'END-of-battmond/distinfo'
XMD5 (battmond-0.2.tar.gz) = af8fd90e184fe0580206df35cdd35d43
XSHA256 (battmond-0.2.tar.gz) = c9d05d6db5079e11050ec8e930b361da5db2442e111c473ae8c76b85905df8bb
XSIZE (battmond-0.2.tar.gz) = 3088
END-of-battmond/distinfo
echo x - battmond/Makefile
sed 's/^X//' >battmond/Makefile << 'END-of-battmond/Makefile'
X# New ports collection makefile for:   battmond
X# Date created:        16 June 2006
X# Whom:                ntarmos@ceid.upatras.gr
X#
X# $FreeBSD$
X#
X
XPORTNAME=	battmond
XPORTVERSION=	0.2
XCATEGORIES=	sysutils
XMASTER_SITES=	http://ntarmos.dyndns.org/Software/FreeBSD/
X
XMAINTAINER=	ntarmos@ceid.upatras.gr
XCOMMENT=	A daemon monitoring the battery level of ACPI-enabled laptops
X
XMAN1=		battmond.1
XMANCOMPRESSED=yes
X
XPLIST_FILES=	sbin/battmond \
X		etc/rc.d/battmond
X
X.include <bsd.port.mk>
END-of-battmond/Makefile
echo x - battmond/pkg-descr
sed 's/^X//' >battmond/pkg-descr << 'END-of-battmond/pkg-descr'
XBattmond is a small daemon monitoring the battery level on ACPI-enabled
X(laptop) computers, by probing the ACPI device on regular intervals. It
Xcan warn you (through syslog) when the battery level is running low, and
Xhalt the system when it drops below a critical level threshold.
X
XWWW: http://ntarmos.dyndns.org/
END-of-battmond/pkg-descr
exit
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2006-08-31 21:49:57 UTC
State Changed
From-To: open->feedback

The checksum does not match, the distinfo lists 
af8fd90e184fe0580206df35cdd35d43 but the file on the website have 
c4adcad9d29b68cb6f1557766a8dd4b7. Can you investigate? 


Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2006-08-31 21:49:57 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Track
Comment 5 ntarmos 2006-09-03 17:01:54 UTC
Uhemm... Pointy hat on me... Shar with correct distinfo:


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	battmond
#	battmond/distinfo
#	battmond/Makefile
#	battmond/pkg-descr
#
echo c - battmond
mkdir -p battmond > /dev/null 2>&1
echo x - battmond/distinfo
sed 's/^X//' >battmond/distinfo << 'END-of-battmond/distinfo'
XMD5 (battmond-0.2.tar.gz) = c4adcad9d29b68cb6f1557766a8dd4b7
XSHA256 (battmond-0.2.tar.gz) = 75743628feedb24a604c5462ebd82f75b0f2a2232fb804c852a0bda8aaaa3615
XSIZE (battmond-0.2.tar.gz) = 3088
END-of-battmond/distinfo
echo x - battmond/Makefile
sed 's/^X//' >battmond/Makefile << 'END-of-battmond/Makefile'
X# New ports collection makefile for:   battmond
X# Date created:        16 June 2006
X# Whom:                ntarmos@ceid.upatras.gr
X#
X# $FreeBSD$
X#
X
XPORTNAME=	battmond
XPORTVERSION=	0.2
XCATEGORIES=	sysutils
XMASTER_SITES=	http://ntarmos.dyndns.org/Software/FreeBSD/
X
XMAINTAINER=	ntarmos@ceid.upatras.gr
XCOMMENT=	A daemon monitoring the battery level of ACPI-enabled laptops
X
XMAN1=		battmond.1
XMANCOMPRESSED=yes
X
XPLIST_FILES=	sbin/battmond \
X		etc/rc.d/battmond
X
X.include <bsd.port.mk>
END-of-battmond/Makefile
echo x - battmond/pkg-descr
sed 's/^X//' >battmond/pkg-descr << 'END-of-battmond/pkg-descr'
XBattmond is a small daemon monitoring the battery level on ACPI-enabled
X(laptop) computers, by probing the ACPI device on regular intervals. It
Xcan warn you (through syslog) when the battery level is running low, and
Xhalt the system when it drops below a critical level threshold.
X
XWWW: http://ntarmos.dyndns.org/
END-of-battmond/pkg-descr
exit
Comment 6 Pav Lucistnik freebsd_committer freebsd_triage 2006-09-04 09:26:06 UTC
State Changed
From-To: feedback->closed

New port added, thank you.