1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Update logtool to 1.0.3

PR: 24302
Submitted by: Ying-Chieh Liao <ijliao@terry.dragon2.net> (MAINTAINER)
This commit is contained in:
Clive Lin 2001-01-14 19:24:21 +00:00
parent 6624653687
commit 6bb3292235
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37193
8 changed files with 30 additions and 42 deletions

View File

@ -1,12 +1,13 @@
# ex:ts=8
# New ports collection makefile for: logtool
# Date created: Dec 30, 2000
# Date created: Dec 30, 2000
# Whom: Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= logtool
PORTVERSION= 1.0.2
PORTVERSION= 1.0.3
CATEGORIES= sysutils
MASTER_SITES= http://users.digitex.net/~max/
@ -14,7 +15,9 @@ MAINTAINER= ijliao@csie.nctu.edu.tw
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
USE_GMAKE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= default
ALL_TARGET= build
.if defined(NOPORTDOCS)
@ -24,7 +27,6 @@ NODOCS= "@comment "
PLIST_SUB= NOPORTDOCS=${NODOCS}
post-patch:
@${PERL} -pi -e "s|make|${GMAKE}|g" ${WRKSRC}/Makefile
.for file in logtool/Makefile logtail/Makefile
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
.endfor
@ -34,7 +36,7 @@ post-install:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Installing logtool docs in ${PREFIX}/share/doc/logtool"
@${MKDIR} ${PREFIX}/share/doc/logtool && ${CHMOD} a+rx ${PREFIX}/share/doc/logtool
@${CP} -r ${WRKSRC}/doc/* ${PREFIX}/share/doc/logtool
@${CP} -R ${WRKSRC}/doc/* ${PREFIX}/share/doc/logtool
.endif
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (logtool-1.0.2.tar.gz) = 40b78cfc003c7122712792da72135aef
MD5 (logtool-1.0.3.tar.gz) = 88fb933946f00b8315e6e3967660eee0

View File

@ -1,5 +1,5 @@
--- logtool/Makefile.orig Wed Jan 10 04:13:50 2001
+++ logtool/Makefile Wed Jan 10 04:16:20 2001
--- logtool/Makefile.orig Sat Jan 13 14:56:21 2001
+++ logtool/Makefile Sat Jan 13 14:58:01 2001
@@ -9,8 +9,8 @@
csv.o html.o raw.o logtool.o main.o
SRC = logtool.c
@ -24,18 +24,9 @@
@@ -28,7 +29,7 @@
### The main build stuff
logtool: logtool.o $(LIB)
- $(CC) -o $(PROG) logtool.o $(LIB) $(ADDCFLAGS)
+ $(CC) -o $(PROG) logtool.o $(LIB) $(ADDCFLAGS) ${LIBS}
logtool: logtool.o $(OBJS)
- $(CC) $(ADDCFLAGS) -o $(PROG) $(OBJS)
+ $(CC) $(ADDCFLAGS) -o $(PROG) $(OBJS) ${LIBS}
@echo "strip $(PROG)"
@strip $(PROG)
@@ -62,7 +63,7 @@
### How to install this puppy
install: logtool
- mkdir -p /etc/logtool
+ mkdir -p ${ETCDIR}
$(INSTALL) -c -m 0644 -o root ../conf/logtool.conf $(ETCDIR)/logtool.conf
$(INSTALL) -c -m 0644 -o root ../conf/green $(ETCDIR)/green
$(INSTALL) -c -m 0644 -o root ../conf/yellow $(ETCDIR)/yellow

View File

@ -1,15 +1,16 @@
bin/logtool
bin/lt
bin/logtail
etc/logtool/exclude
etc/logtool/green
etc/logtool/include
etc/logtool/logtool.conf
etc/logtool/yellow
@dirrm etc/logtool
%%NOPORTDOCS%%share/doc/logtool/examples/README
%%NOPORTDOCS%%share/doc/logtool/examples/cronjob.genwebpage.sh
%%NOPORTDOCS%%share/doc/logtool/examples/cronjob.emailreport.sh
%%NOPORTDOCS%%share/doc/logtool/examples/monitor.logs.sh
%%NOPORTDOCS%%share/doc/logtool/logtool.txt
@dirrm etc/logtool
%%NOPORTDOCS%%@dirrm share/doc/logtool/examples
%%NOPORTDOCS%%@dirrm share/doc/logtool

View File

@ -1,12 +1,13 @@
# ex:ts=8
# New ports collection makefile for: logtool
# Date created: Dec 30, 2000
# Date created: Dec 30, 2000
# Whom: Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= logtool
PORTVERSION= 1.0.2
PORTVERSION= 1.0.3
CATEGORIES= sysutils
MASTER_SITES= http://users.digitex.net/~max/
@ -14,7 +15,9 @@ MAINTAINER= ijliao@csie.nctu.edu.tw
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
USE_GMAKE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= default
ALL_TARGET= build
.if defined(NOPORTDOCS)
@ -24,7 +27,6 @@ NODOCS= "@comment "
PLIST_SUB= NOPORTDOCS=${NODOCS}
post-patch:
@${PERL} -pi -e "s|make|${GMAKE}|g" ${WRKSRC}/Makefile
.for file in logtool/Makefile logtail/Makefile
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
.endfor
@ -34,7 +36,7 @@ post-install:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Installing logtool docs in ${PREFIX}/share/doc/logtool"
@${MKDIR} ${PREFIX}/share/doc/logtool && ${CHMOD} a+rx ${PREFIX}/share/doc/logtool
@${CP} -r ${WRKSRC}/doc/* ${PREFIX}/share/doc/logtool
@${CP} -R ${WRKSRC}/doc/* ${PREFIX}/share/doc/logtool
.endif
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (logtool-1.0.2.tar.gz) = 40b78cfc003c7122712792da72135aef
MD5 (logtool-1.0.3.tar.gz) = 88fb933946f00b8315e6e3967660eee0

View File

@ -1,5 +1,5 @@
--- logtool/Makefile.orig Wed Jan 10 04:13:50 2001
+++ logtool/Makefile Wed Jan 10 04:16:20 2001
--- logtool/Makefile.orig Sat Jan 13 14:56:21 2001
+++ logtool/Makefile Sat Jan 13 14:58:01 2001
@@ -9,8 +9,8 @@
csv.o html.o raw.o logtool.o main.o
SRC = logtool.c
@ -24,18 +24,9 @@
@@ -28,7 +29,7 @@
### The main build stuff
logtool: logtool.o $(LIB)
- $(CC) -o $(PROG) logtool.o $(LIB) $(ADDCFLAGS)
+ $(CC) -o $(PROG) logtool.o $(LIB) $(ADDCFLAGS) ${LIBS}
logtool: logtool.o $(OBJS)
- $(CC) $(ADDCFLAGS) -o $(PROG) $(OBJS)
+ $(CC) $(ADDCFLAGS) -o $(PROG) $(OBJS) ${LIBS}
@echo "strip $(PROG)"
@strip $(PROG)
@@ -62,7 +63,7 @@
### How to install this puppy
install: logtool
- mkdir -p /etc/logtool
+ mkdir -p ${ETCDIR}
$(INSTALL) -c -m 0644 -o root ../conf/logtool.conf $(ETCDIR)/logtool.conf
$(INSTALL) -c -m 0644 -o root ../conf/green $(ETCDIR)/green
$(INSTALL) -c -m 0644 -o root ../conf/yellow $(ETCDIR)/yellow

View File

@ -1,15 +1,16 @@
bin/logtool
bin/lt
bin/logtail
etc/logtool/exclude
etc/logtool/green
etc/logtool/include
etc/logtool/logtool.conf
etc/logtool/yellow
@dirrm etc/logtool
%%NOPORTDOCS%%share/doc/logtool/examples/README
%%NOPORTDOCS%%share/doc/logtool/examples/cronjob.genwebpage.sh
%%NOPORTDOCS%%share/doc/logtool/examples/cronjob.emailreport.sh
%%NOPORTDOCS%%share/doc/logtool/examples/monitor.logs.sh
%%NOPORTDOCS%%share/doc/logtool/logtool.txt
@dirrm etc/logtool
%%NOPORTDOCS%%@dirrm share/doc/logtool/examples
%%NOPORTDOCS%%@dirrm share/doc/logtool