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

(-)syslog-ng3/Makefile (-3 / +2 lines)
Lines 64-72 Link Here
64
	${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/share/doc/syslog-ng
64
	${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/share/doc/syslog-ng
65
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/syslog-ng
65
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/syslog-ng
66
.endif
66
.endif
67
	@if [ ! -f ${PREFIX}/etc/syslog-ng/syslog-ng.conf.sample ]; then \
67
	@if [ ! -f ${PREFIX}/etc/syslog-ng.conf.sample ]; then \
68
		${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} ${PREFIX}/etc/syslog-ng; \
68
		${INSTALL_DATA} ${FILESDIR}/syslog-ng.conf.sample ${PREFIX}/etc; \
69
		${INSTALL_DATA} ${FILESDIR}/syslog-ng.conf.sample ${PREFIX}/etc/syslog-ng; \
70
	fi
69
	fi
71
	@${CAT} ${PKGMESSAGE}
70
	@${CAT} ${PKGMESSAGE}
72
71
(-)syslog-ng3/files/pkg-message.in (-1 / +1 lines)
Lines 4-10 Link Here
4
4
5
1. Create a configuration file named %%PREFIX%%/etc/syslog-ng.conf
5
1. Create a configuration file named %%PREFIX%%/etc/syslog-ng.conf
6
   (a sample named syslog-ng.conf.sample has been included in
6
   (a sample named syslog-ng.conf.sample has been included in
7
   %%PREFIX%%/etc/syslog-ng). Note that this is a change in 2.0.2
7
   %%PREFIX%%/etc). Note that this is a change in 2.0.2
8
   version, previous ones put the config file in
8
   version, previous ones put the config file in
9
   %%PREFIX%%/etc/syslog-ng/syslog-ng.conf, so if this is an update
9
   %%PREFIX%%/etc/syslog-ng/syslog-ng.conf, so if this is an update
10
   move that file in the right place
10
   move that file in the right place
(-)syslog-ng3/files/syslog-ng.conf.sample (-2 / +4 lines)
Lines 1-3 Link Here
1
@version:3.0
2
1
#
3
#
2
# This sample configuration file is essentially equilivent to the stock
4
# This sample configuration file is essentially equilivent to the stock
3
# FreeBSD /etc/syslog.conf file.
5
# FreeBSD /etc/syslog.conf file.
Lines 6-12 Link Here
6
#
8
#
7
# options
9
# options
8
#
10
#
9
options { long_hostnames(off); sync(0); };
11
options { long_hostnames(off); flush_lines(0); };
10
12
11
#
13
#
12
# sources
14
# sources
Lines 43-49 Link Here
43
filter f_auth { facility(auth); };
45
filter f_auth { facility(auth); };
44
filter f_authpriv { facility(authpriv); };
46
filter f_authpriv { facility(authpriv); };
45
filter f_not_authpriv { not facility(authpriv); };
47
filter f_not_authpriv { not facility(authpriv); };
46
filter f_console { facility(console); };
48
#filter f_console { facility(console); };
47
filter f_cron { facility(cron); };
49
filter f_cron { facility(cron); };
48
filter f_daemon { facility(daemon); };
50
filter f_daemon { facility(daemon); };
49
filter f_ftp { facility(ftp); };
51
filter f_ftp { facility(ftp); };
(-)syslog-ng3/pkg-plist (-2 / +1 lines)
Lines 1-5 Link Here
1
@unexec %D/etc/rc.d/syslog-ng.sh stop > /dev/null 2>&1 || true
1
@unexec %D/etc/rc.d/syslog-ng.sh stop > /dev/null 2>&1 || true
2
etc/syslog-ng/syslog-ng.conf.sample
2
etc/syslog-ng.conf.sample
3
bin/loggen
3
bin/loggen
4
sbin/syslog-ng
4
sbin/syslog-ng
5
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
5
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
Lines 9-12 Link Here
9
%%PORTDOCS%%%%DOCSDIR%%/README
9
%%PORTDOCS%%%%DOCSDIR%%/README
10
%%PORTDOCS%%@dirrm %%DOCSDIR%%/sgml
10
%%PORTDOCS%%@dirrm %%DOCSDIR%%/sgml
11
%%PORTDOCS%%@dirrm %%DOCSDIR%%
11
%%PORTDOCS%%@dirrm %%DOCSDIR%%
12
@dirrm etc/syslog-ng

Return to bug 141255