Initial import of since version 1.1 in the NetBSD Packages Collection.
Since is a tail(1) with state - it allows the user to view only the lines appended to a file since the last time since was used.
This commit is contained in:
parent
79c8d73fff
commit
4c96d23a89
5 changed files with 50 additions and 0 deletions
2
misc/since/DESCR
Normal file
2
misc/since/DESCR
Normal file
|
@ -0,0 +1,2 @@
|
|||
Since is a tail(1) with state - it allows the user to view only
|
||||
the lines appended to a file since the last time since was used.
|
16
misc/since/Makefile
Normal file
16
misc/since/Makefile
Normal file
|
@ -0,0 +1,16 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2012/08/17 23:38:11 seb Exp $
|
||||
|
||||
DISTNAME= since-1.1
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://welz.org.za/projects/since/
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://welz.org.za/projects/since
|
||||
COMMENT= Utility to monitor log files
|
||||
LICENSE= gnu-gpl-v3
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
BUILD_TARGET= since
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
3
misc/since/PLIST
Normal file
3
misc/since/PLIST
Normal file
|
@ -0,0 +1,3 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2012/08/17 23:38:11 seb Exp $
|
||||
bin/since
|
||||
man/man1/since.1
|
6
misc/since/distinfo
Normal file
6
misc/since/distinfo
Normal file
|
@ -0,0 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2012/08/17 23:38:11 seb Exp $
|
||||
|
||||
SHA1 (since-1.1.tar.gz) = 67f07e8237d63f846cd8ca60b5a16fc32d4f81a5
|
||||
RMD160 (since-1.1.tar.gz) = 18231d3b3c286422eb972a434f0d3cbfb92ae392
|
||||
Size (since-1.1.tar.gz) = 24822 bytes
|
||||
SHA1 (patch-Makefile) = 833358bb72083758c98e1fc99b0365caf9a421fb
|
23
misc/since/patches/patch-Makefile
Normal file
23
misc/since/patches/patch-Makefile
Normal file
|
@ -0,0 +1,23 @@
|
|||
$NetBSD: patch-Makefile,v 1.1.1.1 2012/08/17 23:38:11 seb Exp $
|
||||
|
||||
pkgsrc friendly Makefile
|
||||
|
||||
--- Makefile.orig 2010-07-10 12:57:32.000000000 +0000
|
||||
+++ Makefile
|
||||
@@ -15,11 +15,13 @@ RM = rm -f
|
||||
INSTALL = install -D
|
||||
|
||||
$(NAME): $(NAME).c
|
||||
- $(CC) $(CFLAGS) -o $@ $^
|
||||
+ $(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
install: $(NAME)
|
||||
- $(INSTALL) $(NAME) $(prefix)/bin/$(NAME)
|
||||
- $(INSTALL) $(NAME).1 $(prefix)/share/man/man1/$(NAME).1
|
||||
+ $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(PREFIX)/bin
|
||||
+ $(BSD_INSTALL_PROGRAM) $(NAME) $(DESTDIR)$(PREFIX)/bin/$(NAME)
|
||||
+ $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1
|
||||
+ $(BSD_INSTALL_MAN) $(NAME).1 $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1/$(NAME).1
|
||||
|
||||
clean:
|
||||
$(RM) $(NAME) core *.o
|
Loading…
Reference in a new issue