Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2000 13:39:29 -0400 (EDT)
From:      bugg@bugg.strangled.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19416: Update to misc/colortail and assume maintainership
Message-ID:  <200006211739.NAA42522@bugg.strangled.net>

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

>Number:         19416
>Category:       ports
>Synopsis:       Update to misc/colortail and assume maintainership
>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:   Wed Jun 21 10:40:02 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Dan Papasian
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
none
>Environment:

N/A

>Description:

Update misc/colortail to 0.3.0 and take over role
as maintainer.

>How-To-Repeat:

N/A
>Fix:

Apply this patch:


diff -ruN colortail-old/Makefile colortail/Makefile
--- colortail-old/Makefile	Wed Jun 21 12:54:02 2000
+++ colortail/Makefile	Wed Jun 21 13:26:27 2000
@@ -6,24 +6,20 @@
 #
 
 PORTNAME=	colortail
-PORTVERSION=	0.2.0
+PORTVERSION=	0.3.0
 CATEGORIES=	misc
-MASTER_SITES=	ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/cpiazza/
-# commented out until I upgrade to 0.3.0
-# MASTER_SITES=	http://www.student.hk-r.se/~pt98jan/
+MASTER_SITES=	http://www.student.hk-r.se/~pt98jan/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bugg@bugg.strangled.net
 
 GNU_CONFIGURE= yes
 
-MAN1=		colortail.1
-
 post-install:
 	@ ${MKDIR} ${PREFIX}/share/colortail
-	@ ${INSTALL_DATA} ${WRKSRC}/CONFIG ${PREFIX}/share/colortail/CONFIG.example
+	@ ${INSTALL_DATA} ${WRKSRC}/example-conf/conf.* ${PREFIX}/share/colortail/
 	@ ${ECHO} "*********************************************"
-	@ ${ECHO} "An example of the colour configuration is in"
-	@ ${ECHO} "${PREFIX}/share/colortail/CONFIG.example"
+	@ ${ECHO} "Examples of the color configuration files are"
+	@ ${ECHO} "in ${PREFIX}/share/colortail/"
 	@ ${ECHO} "*********************************************"
 
 .include <bsd.port.mk>
diff -ruN colortail-old/files/md5 colortail/files/md5
--- colortail-old/files/md5	Wed Jun 21 12:54:02 2000
+++ colortail/files/md5	Wed Jun 21 12:54:38 2000
@@ -1 +1 @@
-MD5 (colortail-0.2.0.tar.gz) = 98a7096394f31627882dcc0e2d4c06d8
+MD5 (colortail-0.3.0.tar.gz) = 2589d3e372080f4052d1cc0d6550508f
diff -ruN colortail-old/patches/patch-aa colortail/patches/patch-aa
--- colortail-old/patches/patch-aa	Wed Jun 21 12:54:02 2000
+++ colortail/patches/patch-aa	Wed Jun 21 13:16:04 2000
@@ -1,10 +1,18 @@
---- cfg.h.~1~	Wed Mar  3 04:35:14 1999
-+++ cfg.h	Tue Apr 27 14:00:26 1999
-@@ -19,6 +19,7 @@
- #define _cfg_
+--- Makefile.in.old	Wed Jun 21 13:11:39 2000
++++ Makefile.in	Wed Jun 21 13:12:43 2000
+@@ -79,13 +79,13 @@
+ PROGRAMS =  $(bin_PROGRAMS)
  
- #include <stdio.h>
-+#include <sys/types.h>
- #include <regex.h>
  
- #define MAX_LINE_LENGTH 200
+-DEFS = @DEFS@ -I. -I$(srcdir) -I.
++DEFS = @DEFS@ -I. -I$(srcdir) -I. -I/usr/local/include
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+ colortail_OBJECTS =  CfgFileParser.o ColorTail.o Colorizer.o Info.o \
+ OptionsParser.o TailFile.o Usage.o main.o
+-colortail_LDADD = $(LDADD)
++colortail_LDADD = -L/usr/local/lib -lgnugetopt $(LDADD)
+ colortail_DEPENDENCIES = 
+ colortail_LDFLAGS = 
+ CXXFLAGS = @CXXFLAGS@
diff -ruN colortail-old/patches/patch-ab colortail/patches/patch-ab
--- colortail-old/patches/patch-ab	Wed Dec 31 19:00:00 1969
+++ colortail/patches/patch-ab	Wed Jun 21 13:09:35 2000
@@ -0,0 +1,12 @@
+--- CfgFileParser.h.old	Wed Jun 21 12:55:57 2000
++++ CfgFileParser.h	Wed Jun 21 12:56:09 2000
+@@ -24,7 +24,9 @@
+ #include "config.h"
+ 
+ #include <sys/types.h>
++#if 0
+ #include <regex.h>
++#endif
+ #include <fstream.h>
+ 
+ #ifdef HAVE_GNUREGEX_H
diff -ruN colortail-old/pkg/PLIST colortail/pkg/PLIST
--- colortail-old/pkg/PLIST	Wed Jun 21 12:54:02 2000
+++ colortail/pkg/PLIST	Wed Jun 21 13:25:11 2000
@@ -1,3 +1,7 @@
 bin/colortail
-share/colortail/CONFIG.example
+share/colortail/conf.daemon
+share/colortail/conf.kernel
+share/colortail/conf.messages
+share/colortail/conf.secure
+share/colortail/conf.xferlog
 @dirrm share/colortail


>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?200006211739.NAA42522>