diff options
author | petef <petef@FreeBSD.org> | 2002-03-19 07:10:09 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2002-03-19 07:10:09 +0800 |
commit | 781a8715d6d61894ef30ac93d180a918b583069d (patch) | |
tree | 172655e2acccc6d1456ff5c421eed4460a976c6a /sysutils | |
parent | 78523cc74d08ad5ab9250e1af0e486ed5cd9659a (diff) | |
download | freebsd-ports-graphics-781a8715d6d61894ef30ac93d180a918b583069d.tar.gz freebsd-ports-graphics-781a8715d6d61894ef30ac93d180a918b583069d.tar.zst freebsd-ports-graphics-781a8715d6d61894ef30ac93d180a918b583069d.zip |
Add flasher 1.2, monitors log or mail files for writes, and flashes
a keyboard LED.
PR: 35768
Submitted by: Murray Nesbitt <murray@unixporting.com>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/flasher/Makefile | 18 | ||||
-rw-r--r-- | sysutils/flasher/distinfo | 1 | ||||
-rw-r--r-- | sysutils/flasher/files/patch-Makefile | 16 | ||||
-rw-r--r-- | sysutils/flasher/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/flasher/pkg-descr | 24 | ||||
-rw-r--r-- | sysutils/flasher/pkg-plist | 1 |
7 files changed, 62 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index d0ada81d077..ca2efa496db 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -54,6 +54,7 @@ SUBDIR += file SUBDIR += filedupe SUBDIR += fileutils + SUBDIR += flasher SUBDIR += flexbackup SUBDIR += flog SUBDIR += fontedit diff --git a/sysutils/flasher/Makefile b/sysutils/flasher/Makefile new file mode 100644 index 00000000000..870304bc5e8 --- /dev/null +++ b/sysutils/flasher/Makefile @@ -0,0 +1,18 @@ +# New ports collection makefile for: flasher +# Date created: 10 March 2002 +# Whom: Murray Nesbitt <murray@unixporting.com> +# +# $FreeBSD$ +# + +PORTNAME= flasher +PORTVERSION= 1.2 +CATEGORIES= sysutils +MASTER_SITES= http://www.unixporting.com/downloads/ + +MAINTAINER= murray@unixporting.com + +MAN1= flasher.1 +MANCOMPRESSED= yes + +.include <bsd.port.mk> diff --git a/sysutils/flasher/distinfo b/sysutils/flasher/distinfo new file mode 100644 index 00000000000..ea0d078d494 --- /dev/null +++ b/sysutils/flasher/distinfo @@ -0,0 +1 @@ +MD5 (flasher-1.2.tar.gz) = 05a79810098e769a7b0c61c0b246959d diff --git a/sysutils/flasher/files/patch-Makefile b/sysutils/flasher/files/patch-Makefile new file mode 100644 index 00000000000..cddbb4eb3f0 --- /dev/null +++ b/sysutils/flasher/files/patch-Makefile @@ -0,0 +1,16 @@ +$FreeBSD$ + +--- Makefile.orig Mon Mar 18 18:03:38 2002 ++++ Makefile Mon Mar 18 18:04:08 2002 +@@ -1,8 +1,8 @@ + +-CFLAGS = -Wall -O ++CFLAGS += -Wall + +-CC = gcc +-DESTDIR=/usr/local ++CC ?= gcc ++DESTDIR= ${PREFIX} + + all: flasher man + diff --git a/sysutils/flasher/pkg-comment b/sysutils/flasher/pkg-comment new file mode 100644 index 00000000000..d8d144c7d0d --- /dev/null +++ b/sysutils/flasher/pkg-comment @@ -0,0 +1 @@ +Monitors log or mail files for writes, and flashes a keyboard LED diff --git a/sysutils/flasher/pkg-descr b/sysutils/flasher/pkg-descr new file mode 100644 index 00000000000..6fc78bfcdba --- /dev/null +++ b/sysutils/flasher/pkg-descr @@ -0,0 +1,24 @@ +Flasher monitors changes to one or more files, and indicates the +number of writes to these files by briefly flashing a console LED +once for each write. The flashing sequence is repeated, after a +brief pause, until the files have been read. As the files are +subsequently read, the number of LED flashes is reduced. When all +monitored files have been read, the console LED will be disabled. +The most obvious use is to monitor specific system log or mail files. + +Multiple LEDs can be used. Each possible LED (-c, -n or -s) takes +a list of colon-separated file arguments. For example, when invoked +as: + # ./flasher -s /var/log/messages:/var/mail/root +the Scroll Lock LED will flash once for each write made to either +of these files, until the files are read. When /var/log/messages +has been read, the Scroll Lock LED will continue to flash once for +each write that has been made to /var/mail/root, until it also has +been read. + +The list of files can include files that don't yet exist. + +WWW: http://www.unixporting.com/downloads/flasher/ + +- Murray Nesbitt +murray@unixporting.com diff --git a/sysutils/flasher/pkg-plist b/sysutils/flasher/pkg-plist new file mode 100644 index 00000000000..4ffdf523260 --- /dev/null +++ b/sysutils/flasher/pkg-plist @@ -0,0 +1 @@ +sbin/flasher |