View | Details | Raw Unified | Return to bug 48720
Collapse All | Expand All

(-)logtool/Makefile (-4 / +4 lines)
Lines 7-15 Link Here
7
#
6
#
8
7
9
PORTNAME=	logtool
8
PORTNAME=	logtool
10
PORTVERSION=	1.0.6
9
PORTVERSION=	1.0.7
11
CATEGORIES=	sysutils
10
CATEGORIES=	sysutils
12
MASTER_SITES=	http://www.xjack.org/logtool/logtool/
11
MASTER_SITES=	http://xjack.org/logtool/logtool/
13
12
14
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	Parse syslog logfile into a palatable format
14
COMMENT=	Parse syslog logfile into a palatable format
Lines 36-43 Link Here
36
	@${CP} ${WRKSRC}/conf/yellow ${PREFIX}/etc/logtool/yellow.dist
35
	@${CP} ${WRKSRC}/conf/yellow ${PREFIX}/etc/logtool/yellow.dist
37
.if !defined(NOPORTDOCS)
36
.if !defined(NOPORTDOCS)
38
	@${ECHO_MSG} "===>   Installing logtool docs in ${PREFIX}/share/doc/logtool"
37
	@${ECHO_MSG} "===>   Installing logtool docs in ${PREFIX}/share/doc/logtool"
39
	@${MKDIR} ${PREFIX}/share/doc/logtool && ${CHMOD} a+rx ${PREFIX}/share/doc/logtool
38
	@${MKDIR} ${DOCSDIR}
40
	@${CP} -R ${WRKSRC}/doc/examples ${WRKSRC}/doc/logtool.txt ${PREFIX}/share/doc/logtool
39
	@${CP} -Rvf ${WRKSRC}/scripts ${WRKSRC}/doc/logtool.txt ${DOCSDIR}
41
.endif
40
.endif
42
41
43
.include <bsd.port.mk>
42
.include <bsd.port.mk>
(-)logtool/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (logtool-1.0.6.tar.gz) = fc19cba56a9a9a1d7bf3c7210fb5282e
1
MD5 (logtool-1.0.7.tar.gz) = 89257ee8b4f735e72d1d3585b9331b6c
(-)logtool/files/patch-configure (-14 lines)
Lines 1-14 Link Here
1
--- configure.orig	Tue Jun 12 14:46:04 2001
2
+++ configure	Tue Jun 12 14:46:09 2001
3
@@ -744,11 +744,6 @@
4
   fi
5
 fi
6
 
7
-if test -n "$GCC"; then
8
-	CFLAGS="-O3 -Wall"
9
-fi
10
-
11
-
12
 
13
 if test "`echo "$sysconfdir" | grep "prefix"`" ; then
14
 sysconfdir=`echo $sysconfdir/logtool | sed s/'${prefix}'/""/g`
(-)logtool/files/patch-logtool::Makefile.in (-19 lines)
Lines 1-19 Link Here
1
--- logtool/Makefile.in.orig	Sun Feb 11 23:50:38 2001
2
+++ logtool/Makefile.in	Sun Feb 11 23:54:02 2001
3
@@ -16,6 +16,7 @@
4
 CC = @CC@
5
 INSTALL = @installprog@
6
 CFLAGS= @CFLAGS@ @DEFS@ @LIBS@
7
+LIBS=	-L/usr/local/lib -lgnugetopt
8
 
9
 ### The stuff below is (I hope) no longer needed now that we us autoconf/configure and friends
10
 # Solaris users should probably use the following instead (thanks Christoph Krempe <ck@ub.fu-berlin.de>)
11
@@ -30,7 +31,7 @@
12
 
13
 ### The main build stuff
14
 logtool: logtool.o $(OBJS)
15
-	$(CC) $(ADDCFLAGS) -o $(PROG) $(OBJS) 
16
+	$(CC) $(ADDCFLAGS) -o $(PROG) $(OBJS) ${LIBS}
17
 	@echo "strip $(PROG)"	
18
 	@strip $(PROG)
19
 
(-)logtool/pkg-plist (-17 / +13 lines)
Lines 1-25 Link Here
1
bin/logtool
1
bin/logtool
2
bin/logtail
2
bin/logtail
3
@unexec if cmp -s %D/etc/logtool/exclude %D/etc/logtool/exclude.dist; then rm -f %D/etc/logtool/exclude; fi
3
etc/logtool/logtool.conf
4
etc/logtool/green
5
etc/logtool/yellow
6
etc/logtool/include
7
etc/logtool/exclude
8
etc/logtool/logtool.conf.dist
4
etc/logtool/exclude.dist
9
etc/logtool/exclude.dist
5
@exec [ -f %B/exclude ] || cp %B/%f %B/exclude
6
@unexec if cmp -s %D/etc/logtool/green %D/etc/logtool/green.dist; then rm -f %D/etc/logtool/green; fi
7
etc/logtool/green.dist
10
etc/logtool/green.dist
8
@exec [ -f %B/green ] || cp %B/%f %B/green
9
@unexec if cmp -s %D/etc/logtool/include %D/etc/logtool/include.dist; then rm -f %D/etc/logtool/include; fi
10
etc/logtool/include.dist
11
etc/logtool/include.dist
11
@exec [ -f %B/include ] || cp %B/%f %B/include
12
@unexec if cmp -s %D/etc/logtool/logtool.conf %D/etc/logtool/logtool.conf.dist; then rm -f %D/etc/logtool/logtool.conf; fi
13
etc/logtool/logtool.conf.dist
14
@exec [ -f %B/logtool.conf ] || cp %B/%f %B/logtool.conf
15
@unexec if cmp -s %D/etc/logtool/yellow %D/etc/logtool/yellow.dist; then rm -f %D/etc/logtool/yellow; fi
16
etc/logtool/yellow.dist
12
etc/logtool/yellow.dist
17
@exec [ -f %B/yellow ] || cp %B/%f %B/yellow
13
%%PORTDOCS%%share/doc/logtool/scripts/monitor.logs.sh
18
@unexec rmdir %D/etc/logtool 2>/dev/null || true
14
%%PORTDOCS%%share/doc/logtool/scripts/README
19
%%PORTDOCS%%share/doc/logtool/examples/README
15
%%PORTDOCS%%share/doc/logtool/scripts/cronjob.emailreport.sh
20
%%PORTDOCS%%share/doc/logtool/examples/cronjob.genwebpage.sh
16
%%PORTDOCS%%share/doc/logtool/scripts/cronjob.genwebpage.sh
21
%%PORTDOCS%%share/doc/logtool/examples/cronjob.emailreport.sh
17
%%PORTDOCS%%share/doc/logtool/scripts/logtool_logcheck.sh
22
%%PORTDOCS%%share/doc/logtool/examples/monitor.logs.sh
23
%%PORTDOCS%%share/doc/logtool/logtool.txt
18
%%PORTDOCS%%share/doc/logtool/logtool.txt
24
%%PORTDOCS%%@dirrm share/doc/logtool/examples
19
@dirrm etc/logtool
20
%%PORTDOCS%%@dirrm share/doc/logtool/scripts
25
%%PORTDOCS%%@dirrm share/doc/logtool
21
%%PORTDOCS%%@dirrm share/doc/logtool

Return to bug 48720