View | Details | Raw Unified | Return to bug 186266 | Differences between
and this patch

Collapse All | Expand All

(-)misc/logsurfer/pkg-plist (-6 / +2 lines)
Lines 1-10 Link Here
1
bin/logsurfer
1
bin/logsurfer
2
man/man1/logsurfer.1.gz
3
man/man4/logsurfer.conf.4.gz
2
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
4
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
3
%%PORTDOCS%%%%DOCSDIR%%/README
5
%%PORTDOCS%%%%DOCSDIR%%/README
4
%%PORTDOCS%%@dirrm %%DOCSDIR%%
6
%%PORTDOCS%%@dirrm %%DOCSDIR%%
5
%%ETCDIR%%/context_arg_test.conf.sample
6
%%ETCDIR%%/echo_test.conf.sample
7
%%ETCDIR%%/lines_test.conf.sample
8
%%ETCDIR%%/syslog_test.conf.sample
9
@dirrmtry %%ETCDIR%%
10
@unexec if [ -d %D/%%ETCDIR%% ]; then echo "==> If you are permanently removing this port, you should do a ``rm -rf ${PKG_PREFIX}/etc/logsurfer+`` to remove any configuration files left."; fi
(-)misc/logsurfer+/Makefile (-40 lines)
Lines 1-40 Link Here
1
# Created by: shanee@augusta.de
2
# $FreeBSD$
3
4
PORTNAME=	logsurfer+
5
PORTVERSION=	1.7
6
CATEGORIES=	misc
7
MASTER_SITES=	http://kerryt.orconhosting.net.nz/ \
8
		http://www.crypt.gen.nz/logsurfer/ \
9
		http://mirrors.rit.edu/zi/
10
11
MAINTAINER=	zi@FreeBSD.org
12
COMMENT=	Process logfiles and conditionally perform certain actions
13
14
LICENSE=	BSD
15
16
SUB_FILES=	pkg-message
17
EXAMPLE_FILES=	context_arg_test.conf echo_test.conf \
18
		lines_test.conf syslog_test.conf
19
20
GNU_CONFIGURE=	YES
21
CONFIGURE_ARGS+=--with-etcdir=${ETCDIR}
22
23
MAN1=		logsurfer.1
24
MAN4=		logsurfer.conf.4
25
26
NO_STAGE=	yes
27
post-install:
28
	@${MKDIR} ${ETCDIR}
29
.for conf in ${EXAMPLE_FILES}
30
	${INSTALL_DATA} ${WRKSRC}/config-examples/${conf} ${ETCDIR}/${conf}.sample
31
.endfor
32
.if !defined(NOPORTDOCS)
33
	@${MKDIR} ${DOCSDIR}
34
.for doc in ChangeLog README
35
	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
36
.endfor
37
.endif
38
	@${CAT} ${PKGMESSAGE}
39
40
.include <bsd.port.mk>
(-)misc/logsurfer+/distinfo (-2 lines)
Lines 1-2 Link Here
1
SHA256 (logsurfer+-1.7.tar.gz) = b0cce7311f6413a1a903a2d4925051ee68a882a7eb093f41f1b7d7bd7bd442a0
2
SIZE (logsurfer+-1.7.tar.gz) = 198289
(-)misc/logsurfer+/files/pkg-message.in (-5 lines)
Lines 1-5 Link Here
1
*******************************************************************
2
Sample configurations are located in %%ETCDIR%%/
3
4
Select an appropriate file and copy it to %%ETCDIR%%/logsurfer.conf
5
*******************************************************************
(-)misc/logsurfer+/pkg-descr (-14 lines)
Lines 1-14 Link Here
1
Logsurfer is a program for monitoring system logs in real-time, 
2
and reporting on the occurrence of events. It is similar to the 
3
well-known swatch program on which it is based, but offers a 
4
number of advanced features which swatch does not support.
5
6
Logsurfer is capable of grouping related log entries 
7
together - for instance, when a system boots it usually creates 
8
a high number of log messages. In this case, logsurfer can be 
9
setup to group boot-time messages together and forward them in 
10
a single Email message to the system administrator under the 
11
subject line "Host xxx has just booted".
12
Swatch just couldn't do this properly.
13
14
WWW: http://www.crypt.gen.nz/logsurfer/
(-)misc/logsurfer+/pkg-plist (-10 lines)
Lines 1-10 Link Here
1
bin/logsurfer
2
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
3
%%PORTDOCS%%%%DOCSDIR%%/README
4
%%PORTDOCS%%@dirrm %%DOCSDIR%%
5
%%ETCDIR%%/context_arg_test.conf.sample
6
%%ETCDIR%%/echo_test.conf.sample
7
%%ETCDIR%%/lines_test.conf.sample
8
%%ETCDIR%%/syslog_test.conf.sample
9
@dirrmtry %%ETCDIR%%
10
@unexec if [ -d %D/%%ETCDIR%% ]; then echo "==> If you are permanently removing this port, you should do a ``rm -rf ${PKG_PREFIX}/etc/logsurfer+`` to remove any configuration files left."; fi

Return to bug 186266