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.
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
... 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
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?
Responsible Changed From-To: freebsd-ports-bugs->pav Track
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
State Changed From-To: feedback->closed New port added, thank you.