aboutsummaryrefslogtreecommitdiff
path: root/sysutils/flasher
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-03-18 23:10:09 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-03-18 23:10:09 +0000
commitc797f1eea203d917452dc2e2d6143fcf2b817984 (patch)
tree2980e8a974ec8e799ca5fed2d60ea2e7676e4faa /sysutils/flasher
parenta50d121378d7657f3b1f31396c29bf2109da6cf3 (diff)
downloadports-c797f1eea203d917452dc2e2d6143fcf2b817984.tar.gz
ports-c797f1eea203d917452dc2e2d6143fcf2b817984.zip
Notes
Diffstat (limited to 'sysutils/flasher')
-rw-r--r--sysutils/flasher/Makefile18
-rw-r--r--sysutils/flasher/distinfo1
-rw-r--r--sysutils/flasher/files/patch-Makefile16
-rw-r--r--sysutils/flasher/pkg-comment1
-rw-r--r--sysutils/flasher/pkg-descr24
-rw-r--r--sysutils/flasher/pkg-plist1
6 files changed, 61 insertions, 0 deletions
diff --git a/sysutils/flasher/Makefile b/sysutils/flasher/Makefile
new file mode 100644
index 000000000000..870304bc5e8b
--- /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 000000000000..ea0d078d4945
--- /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 000000000000..cddbb4eb3f07
--- /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 000000000000..d8d144c7d0de
--- /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 000000000000..6fc78bfcdbab
--- /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 000000000000..4ffdf5232600
--- /dev/null
+++ b/sysutils/flasher/pkg-plist
@@ -0,0 +1 @@
+sbin/flasher