Commit 2a1f35ad authored by Luk Claes's avatar Luk Claes Committed by Axel Beckert

Imported Debian patch 0.5-1

parents 0e3dc39a 4d7c374a
Installation Instructions
-------------------------
To build the executable type:
make
To copy the executable and manual page, become root and type:
make install
The default locations are:
/usr/local/bin/since
/usr/local/man/man1/since.1
README
\ No newline at end of file
###########################################################################
# Files ###################################################################
NAME = since
VERSION = 0.3
SRC = $(NAME).c
OBJ = $(NAME).o
TARGET = $(NAME)
MAN = $(NAME).1
ARCHIVE = $(NAME)-$(VERSION).tar.gz
LSM = $(NAME)-$(VERSION).lsm
INTARGET = /usr/local/bin/$(TARGET)
INMAN = /usr/local/man/man1/$(MAN)
###########################################################################
# Compiler and Flags ######################################################
# Files
SRC = since.c
OBJ = since.o
TARGET = since
MAN = since.1
BINDIR = /usr/local/bin
MANDIR = /usr/local/man/man1
# Compiler and Flags
CC = gcc
CFLAGS = -Wall -O2 -fomit-frame-pointer -DVERSION=\"$(VERSION)\"
STRIP = strip
#CFLAGS += -DTRACE
#CFLAGS += -g
#CFLAGS += -pg
###########################################################################
# Auxillary Programs ######################################################
CFLAGS = -Wall -O2
RM = rm -f
INSTALL = install -c
LINK = ln -s
TOUCH = touch
TAR = tar
MKLSM = ./mklsm
###########################################################################
# Generic build all #######################################################
# Generic build all
all : $(TARGET)
###########################################################################
# Install #################################################################
# Install
install : $(TARGET)
$(INSTALL) -m 0755 $(TARGET) $(INTARGET)
$(INSTALL) -m 0644 $(MAN) $(INMAN)
###########################################################################
# Build since executable ##################################################
$(INSTALL) -m 0755 $(TARGET) $(BINDIR)
$(INSTALL) -m 0644 $(MAN) $(MANDIR)
# Build since executable
$(TARGET) : $(OBJ)
$(CC) $(CFLAGS) $(OBJ) -o $(TARGET)
$(STRIP) $(TARGET)
###########################################################################
# Build object files from source ##########################################
# Build object files from source
.c.o :
$(CC) $(CFLAGS) -c $*.c
###########################################################################
# Generate a package ready for distribution ###############################
package :
$(TOUCH) $(SRC)
$(RM) $(NAME)-$(VERSION)
$(LINK) . $(NAME)-$(VERSION)
$(TAR) czvf $(ARCHIVE) $(NAME)-$(VERSION)/{$(SRC),$(MAN),$(TARGET),Makefile,README,INSTALL,COPYING}
$(MKLSM) $(NAME) $(VERSION)
###########################################################################
# Remove intermediate files ###############################################
# Remove junk
clean :
$(RM) *.o core $(NAME)
$(RM) *.o core *~
reallyclean : clean
$(RM) $(TARGET) $(ARCHIVE)
$(RM) $(TARGET)
since
Since
-----
Read INSTALL for installation instructions.
since is a tail(1) with state - it allows the user to
view only the lines appended to a log file since the last
since is a tail(1) with state - it allows the user to
view only the lines appended to a log file since the last
time since was used.
Installation Instructions
-------------------------
To build the executable type:
make
To copy the executable and manual page, become root and type:
make install
The default locations are:
/usr/local/bin/since
/usr/local/man/man1/since.1
Use
---
To understand how it works run the commands:
make
echo "First line" >> testlogfile
./since testlogfile
echo "Second line" >> testlogfile
./since testlogfile
rm testlogfile
make
echo "First line" >> testlogfile
./since testlogfile
echo "Second line" >> testlogfile
./since testlogfile
rm testlogfile
You might want to set up the following alias:
alias dosince='since /var/log/messages /var/log/xferlog'
alias dosince='since /var/log/messages /var/log/xferlog'
since is released under the terms of the GNU public
Since is released under the terms of the GNU public
license. Click accept now... errr... sorry... just
look at COPYING.
since (0.5-1) unstable; urgency=low
* New upstream version.
* New maintainer (closes: #201365).
* debhelper in Build-Depends (closes: #190527).
* Updated to standards version 3.6.0.
-- Luk Claes <luk.claes@ugent.be> Fri, 18 Jul 2003 15:47:38 +0200
since (0.3-1) unstable; urgency=low
* New upstream.
......@@ -25,5 +34,4 @@ since (0.1-1) unstable; urgency=low
Local variables:
mode: debian-changelog
add-log-mailing-address: "mj@debian.org"
End:
Source: since
Section: text
Priority: optional
Maintainer: Michael-John Turner <mj@debian.org>
Standards-Version: 3.2.0
Maintainer: Luk Claes <luk.claes@ugent.be>
Build-Depends: debhelper (>> 3.0)
Standards-Version: 3.6.0
Package: since
Architecture: any
Depends: ${shlibs:Depends}
Description: A tail(1) work-alike that saves and uses state information.
Description: tail(1) work-alike that saves and uses state information
since is a tail(1) work-alike that remembers how much of a file
you have viewed and displays only what's new when you next view
that file. Ideal for viewing log files (it'll only show what's
......
......@@ -46,7 +46,7 @@ binary-arch: build install
# dh_testversion
dh_testdir
dh_testroot
dh_installdocs README
dh_installdocs
# dh_installexamples
# dh_installmenu
# dh_installemacsen
......
File deleted
.\" Process this file with
.\" groff -man -Tascii since.1
.\"
.TH SINCE 1 "JULY 1998" Linux "User Manuals"
.SH NAME
since \- display content of a file since the last time
.SH SYNOPSIS
.B since [-hnv]
.B since [-hnqvx]
.I files
.SH DESCRIPTION
.B since
......@@ -21,10 +18,12 @@ has not been run before the entire
file is displayed.
.B since
is useful for watching over log files.
.SH EXAMPLE USAGE
.B since -v /var/log/xferlog | less
(type the command, then ftp something from localhost,
then type the command again).
.SH EXAMPLE
.B since /var/log/apache/{access,error}_log > /dev/null
.br
.B lynx --dump http://localhost/ > /dev/null
.br
.B since /var/log/apache/{access,error}_log
.SH OPTIONS
.IP -h
Print a terse help message.
......@@ -32,8 +31,12 @@ Print a terse help message.
Do not update the
.I .since
file which keeps track of file growth.
.IP -q
Decrease the verbosity of the output.
.IP -v
Increase the verbosity of the output.
.IP -x
Exclude files with compressed extensions.
.SH FILES
.I .since
.RS
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment