Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jan 2001 15:15:40 +0800 (CST)
From:      Ying-Chieh Liao <ijliao@terry.dragon2.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/24302: update port : sysutil/logtool
Message-ID:  <200101130715.f0D7FeS81619@Terry.Dorm8.NCTU.edu.tw>

next in thread | raw e-mail | index | archive | help

>Number:         24302
>Category:       ports
>Synopsis:       update port : sysutil/logtool
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 12 23:20:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Liao
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
NCTU CSIE
>Environment:
System: FreeBSD Terry.Dorm8.NCTU.edu.tw 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Jan 11 07:55:18 CST 2001 root@Terry.Dorm8.NCTU.edu.tw:/usr/obj/usr/src/sys/TERRY i386


	
>Description:

update logtool to 1.0.3

>How-To-Repeat:
	
>Fix:

diff -ruN /usr/ports/sysutils/logtool/Makefile logtool/Makefile
--- /usr/ports/sysutils/logtool/Makefile	Sat Jan 13 13:48:39 2001
+++ logtool/Makefile	Sat Jan 13 15:07:20 2001
@@ -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: ports/sysutils/logtool/Makefile,v 1.2 2001/01/12 18:47:03 keith Exp $
 #
 
 PORTNAME=	logtool
-PORTVERSION=	1.0.2
+PORTVERSION=	1.0.3
 CATEGORIES=	sysutils
 MASTER_SITES=	http://users.digitex.net/~max/
 
@@ -14,7 +15,9 @@
 
 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 @@
 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 @@
 .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>
diff -ruN /usr/ports/sysutils/logtool/distinfo logtool/distinfo
--- /usr/ports/sysutils/logtool/distinfo	Sat Jan 13 13:48:49 2001
+++ logtool/distinfo	Sat Jan 13 14:50:25 2001
@@ -1 +1 @@
-MD5 (logtool-1.0.2.tar.gz) = 40b78cfc003c7122712792da72135aef
+MD5 (logtool-1.0.3.tar.gz) = 88fb933946f00b8315e6e3967660eee0
diff -ruN /usr/ports/sysutils/logtool/files/patch-aa logtool/files/patch-aa
--- /usr/ports/sysutils/logtool/files/patch-aa	Sat Jan 13 13:48:49 2001
+++ logtool/files/patch-aa	Sat Jan 13 14:59:24 2001
@@ -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
diff -ruN /usr/ports/sysutils/logtool/pkg-plist logtool/pkg-plist
--- /usr/ports/sysutils/logtool/pkg-plist	Sat Jan 13 13:48:49 2001
+++ logtool/pkg-plist	Sat Jan 13 15:05:27 2001
@@ -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

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101130715.f0D7FeS81619>