From 14aa8989b2b1ba0affd08466195f413a558006a9 Mon Sep 17 00:00:00 2001 From: Johann Visagie Date: Mon, 11 Feb 2002 10:49:40 +0000 Subject: Add since 0.3, a tool to view the end of a file like tail(1), but save state between sessions. --- misc/Makefile | 1 + misc/since/Makefile | 17 +++++++++++++++++ misc/since/distinfo | 1 + misc/since/files/patch-Makefile | 31 +++++++++++++++++++++++++++++++ misc/since/pkg-comment | 1 + misc/since/pkg-descr | 10 ++++++++++ misc/since/pkg-plist | 1 + 7 files changed, 62 insertions(+) create mode 100644 misc/since/Makefile create mode 100644 misc/since/distinfo create mode 100644 misc/since/files/patch-Makefile create mode 100644 misc/since/pkg-comment create mode 100644 misc/since/pkg-descr create mode 100644 misc/since/pkg-plist diff --git a/misc/Makefile b/misc/Makefile index ddc50049e368..19ae0758f33e 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -196,6 +196,7 @@ SUBDIR += sh-utils SUBDIR += shc SUBDIR += shuffle + SUBDIR += since SUBDIR += sloccount SUBDIR += sls SUBDIR += smssend diff --git a/misc/since/Makefile b/misc/since/Makefile new file mode 100644 index 000000000000..6a66be6634c8 --- /dev/null +++ b/misc/since/Makefile @@ -0,0 +1,17 @@ +# New ports collection makefile for: py-martel +# Date created: 11 February 2002 +# Whom: Johann Visagie +# +# $FreeBSD$ +# + +PORTNAME= since +PORTVERSION= 0.3 +CATEGORIES= misc +MASTER_SITES= ftp://jade.cs.uct.ac.za/pub/ + +MAINTAINER= wjv@FreeBSD.org + +MAN1= since.1 + +.include diff --git a/misc/since/distinfo b/misc/since/distinfo new file mode 100644 index 000000000000..cc6ddad0c128 --- /dev/null +++ b/misc/since/distinfo @@ -0,0 +1 @@ +MD5 (since-0.3.tar.gz) = 0575abb4f0b824ec04a0bce425e61df3 diff --git a/misc/since/files/patch-Makefile b/misc/since/files/patch-Makefile new file mode 100644 index 000000000000..90a5d57f1be2 --- /dev/null +++ b/misc/since/files/patch-Makefile @@ -0,0 +1,31 @@ +--- Makefile.orig Mon May 7 13:05:30 2001 ++++ Makefile Mon Feb 11 12:37:38 2002 +@@ -16,8 +16,8 @@ + ########################################################################### + # Compiler and Flags ###################################################### + +-CC = gcc +-CFLAGS = -Wall -O2 -fomit-frame-pointer -DVERSION=\"$(VERSION)\" ++#CC = gcc ++CFLAGS += -Wall -fomit-frame-pointer -DVERSION=\"$(VERSION)\" + STRIP = strip + + #CFLAGS += -DTRACE +@@ -43,15 +43,14 @@ + # Install ################################################################# + + install : $(TARGET) +- $(INSTALL) -m 0755 $(TARGET) $(INTARGET) +- $(INSTALL) -m 0644 $(MAN) $(INMAN) ++ $(BSD_INSTALL_PROGRAM) $(TARGET) $(PREFIX)/bin/$(TARGET) ++ $(BSD_INSTALL_MAN) $(MAN) $(PREFIX)/man/man1/$(MAN) + + ########################################################################### + # Build since executable ################################################## + + $(TARGET) : $(OBJ) + $(CC) $(CFLAGS) $(OBJ) -o $(TARGET) +- $(STRIP) $(TARGET) + + ########################################################################### + # Build object files from source ########################################## diff --git a/misc/since/pkg-comment b/misc/since/pkg-comment new file mode 100644 index 000000000000..195cdb34ed99 --- /dev/null +++ b/misc/since/pkg-comment @@ -0,0 +1 @@ +View the end of a file like tail(1), but save state between sessions diff --git a/misc/since/pkg-descr b/misc/since/pkg-descr new file mode 100644 index 000000000000..f75d266e7306 --- /dev/null +++ b/misc/since/pkg-descr @@ -0,0 +1,10 @@ +Paraphrasing since(1): + + since is similar to tail(1) since it also displays the tail of a file. + However, since displays only the data which has been added since the last + time since was run. If since has not been run before, the entire file is + displayed. since is useful for watching over log files. + +Author: Marc Welz + +-- Johann Visagie diff --git a/misc/since/pkg-plist b/misc/since/pkg-plist new file mode 100644 index 000000000000..e33763b68bdc --- /dev/null +++ b/misc/since/pkg-plist @@ -0,0 +1 @@ +bin/since -- cgit