Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142728387
D17091.id50258.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D17091.id50258.diff
View Options
Index: head/net-mgmt/icinga2/Makefile
===================================================================
--- head/net-mgmt/icinga2/Makefile
+++ head/net-mgmt/icinga2/Makefile
@@ -68,7 +68,7 @@
ICINGA2GROUP=${ICINGA2GROUP} \
WWWGRP=${WWWGRP}
-SUB_FILES= pkg-message ${PORTNAME}-newsyslog
+SUB_FILES= pkg-message ${PORTNAME}-newsyslog.conf
# Config files with references to "Linux"
LINUX_CONFIG= groups.conf services.conf hosts.conf
@@ -98,7 +98,7 @@
post-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/newsyslog/
- ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-newsyslog ${STAGEDIR}${EXAMPLESDIR}/newsyslog/${PORTNAME}
+ ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-newsyslog.conf ${STAGEDIR}${EXAMPLESDIR}/newsyslog/${PORTNAME}.conf
${MKDIR} ${STAGEDIR}${PREFIX}/share/vim/vimfiles
(cd ${WRKSRC}/tools/syntax/vim && ${COPYTREE_SHARE} . \
${STAGEDIR}${PREFIX}/share/vim/vimfiles)
Index: head/net-mgmt/icinga2/files/icinga2-newsyslog.conf.in
===================================================================
--- head/net-mgmt/icinga2/files/icinga2-newsyslog.conf.in
+++ head/net-mgmt/icinga2/files/icinga2-newsyslog.conf.in
@@ -0,0 +1,3 @@
+%%ICINGA2LOGDIR%%/debug.log %%ICINGA2USER%%:%%ICINGA2GROUP%% 644 7 * @T00 X
+%%ICINGA2LOGDIR%%/error.log %%ICINGA2USER%%:%%ICINGA2GROUP%% 644 90 * @T00 X
+%%ICINGA2LOGDIR%%/icinga2.log %%ICINGA2USER%%:%%ICINGA2GROUP%% 644 7 * @T00 X /var/run/icinga2/icinga2.pid SIGUSR1
Index: head/net-mgmt/icinga2/files/icinga2-newsyslog.in
===================================================================
--- head/net-mgmt/icinga2/files/icinga2-newsyslog.in
+++ head/net-mgmt/icinga2/files/icinga2-newsyslog.in
@@ -1,3 +0,0 @@
-%%ICINGA2LOGDIR%%/debug.log %%ICINGA2USER%%:%%ICINGA2GROUP%% 644 7 * @T00 X
-%%ICINGA2LOGDIR%%/error.log %%ICINGA2USER%%:%%ICINGA2GROUP%% 644 90 * @T00 X
-%%ICINGA2LOGDIR%%/icinga2.log %%ICINGA2USER%%:%%ICINGA2GROUP%% 644 7 * @T00 X /var/run/icinga2/icinga2.pid SIGUSR1
Index: head/net-mgmt/icinga2/files/pkg-message.in
===================================================================
--- head/net-mgmt/icinga2/files/pkg-message.in
+++ head/net-mgmt/icinga2/files/pkg-message.in
@@ -2,5 +2,5 @@
http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/upgrading-icinga-2
how to upgrade the database.
-To rotate Icinga 2's logfiles, you can copy %%EXAMPLESDIR%%/newsyslog/icinga2
+To rotate Icinga 2's logfiles, you can copy %%EXAMPLESDIR%%/newsyslog/icinga2.conf
to %%LOCALBASE%%/etc/newsyslog.conf.d/
Index: head/net-mgmt/icinga2/pkg-plist
===================================================================
--- head/net-mgmt/icinga2/pkg-plist
+++ head/net-mgmt/icinga2/pkg-plist
@@ -119,7 +119,7 @@
%%PORTDOCS%%%%DOCSDIR%%/markdown/images/getting-started/nano-syntax.png
%%PORTDOCS%%%%DOCSDIR%%/markdown/images/getting-started/postgr-import-ido.png
%%PORTDOCS%%%%DOCSDIR%%/markdown/images/getting-started/vim-syntax.png
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsyslog/icinga2
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/newsyslog/icinga2.conf
%%MYSQL%%%%DATADIR%%-ido-mysql/schema/mysql.sql
%%MYSQL%%%%DATADIR%%-ido-mysql/schema/upgrade/2.0.2.sql
%%MYSQL%%%%DATADIR%%-ido-mysql/schema/upgrade/2.1.0.sql
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 23, 6:54 PM (17 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27888570
Default Alt Text
D17091.id50258.diff (3 KB)
Attached To
Mode
D17091: net-mgmt/icinga2: Use .conf suffix for /usr/local/etc/newsyslog.conf.d/
Attached
Detach File
Event Timeline
Log In to Comment