1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Upgrade sysutils/battmond to v0.4

Add license BSD2CLAUSE
Change the distfile location to GITHUB
Update maintainer email to <ntarmos@gmail.com>

Major changes:
  - Add support for suspend instead of halt (-z)

PR:		238336
Submitted by:	ntarmos <ntarmos@cs.uoi.gr> (maintainer)
This commit is contained in:
Rodrigo Osorio 2019-09-22 08:08:14 +00:00
parent 5e1538560f
commit 4b16ad1661
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512560
4 changed files with 15 additions and 9 deletions

View File

@ -2,13 +2,18 @@
# $FreeBSD$
PORTNAME= battmond
PORTVERSION= 0.3
DISTVERSION= 0.4
CATEGORIES= sysutils
MASTER_SITES= http://ntarmos.dyndns.org/Software/FreeBSD/
MAINTAINER= ntarmos@cs.uoi.gr
MAINTAINER= ntarmos@gmail.com
COMMENT= Daemon monitoring the battery level of ACPI-enabled laptops
LICENSE= BSD2CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= ntarmos
GH_TAGNAME= 0.4
PLIST_FILES= sbin/battmond \
etc/rc.d/battmond \
man/man1/battmond.1.gz

View File

@ -1,2 +1,3 @@
SHA256 (battmond-0.3.tar.gz) = 2a97fcd0fe665f7e47fcea551f4e3d42faae450b0301ec17f796b06e1d2de65f
SIZE (battmond-0.3.tar.gz) = 3231
TIMESTAMP = 1568982487
SHA256 (ntarmos-battmond-0.4_GH0.tar.gz) = f21d10cf940f0cbce305c53077d32fce037df5241292b607c9a9cf313b5294c4
SIZE (ntarmos-battmond-0.4_GH0.tar.gz) = 4121

View File

@ -1,5 +1,5 @@
--- Makefile.orig 2014-06-26 23:11:34.738471328 +0800
+++ Makefile 2014-06-26 23:11:57.588499251 +0800
--- Makefile.orig 2019-09-19 13:32:10 UTC
+++ Makefile
@@ -14,10 +14,10 @@ battmond: battmond.c
${CC} ${CFLAGS} battmond.c -o battmond -lutil

View File

@ -1,6 +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.
halt or suspend the system when it drops below a critical level threshold.
WWW: http://ntarmos.dyndns.org/
WWW: https://github.com/ntarmos/battmond/