Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140047597
D31521.id93827.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D31521.id93827.diff
View Options
diff --git a/sysutils/graylog/Makefile b/sysutils/graylog/Makefile
--- a/sysutils/graylog/Makefile
+++ b/sysutils/graylog/Makefile
@@ -1,7 +1,7 @@
# Created by: Thomas Bartelmess <thomas@bartelmess.io>
PORTNAME= graylog
-DISTVERSION= 4.1.2
+DISTVERSION= 4.1.3
CATEGORIES= sysutils java
MASTER_SITES= https://downloads.graylog.org/releases/
DISTFILES= graylog/${DISTNAME}${EXTRACT_SUFX} \
@@ -48,10 +48,19 @@
GRAYLOGGROUP=${GRAYLOGGROUP} \
PORTNAME=${PORTNAME}
+post-extract:
+ ${REINPLACE_CMD} -E \
+ -e 's,^bin_dir .+,bin_dir = ${LOCALBASE}/share/graylog/bin,' \
+ -e 's,^data_dir .+,data_dir = /var/db/graylog,' \
+ -e 's,^message_journal_dir .+,message_journal_dir = ${GRAYLOG_DATA_DIR}/journal,' \
+ -e 's,^node_id_file .+,node_id_file = ${ETCDIR}/server/node-id,' \
+ -e 's,^plugin_dir .+,plugin_dir = ${LOCALBASE}/share/graylog/plugin,' \
+ ${WRKSRC}/graylog.conf.example
+
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/plugin
- @${MKDIR} ${STAGEDIR}${ETCDIR}
- @${MKDIR} ${STAGEDIR}${GRAYLOG_DATA_DIR}
+ @${MKDIR} ${STAGEDIR}${ETCDIR}/server
+ @${MKDIR} ${STAGEDIR}${GRAYLOG_DATA_DIR}/journal
@${MKDIR} ${STAGEDIR}${GRAYLOG_LOGS_DIR}
${INSTALL_DATA} ${WRKSRC}/graylog.jar ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/graylog.conf.example \
diff --git a/sysutils/graylog/distinfo b/sysutils/graylog/distinfo
--- a/sysutils/graylog/distinfo
+++ b/sysutils/graylog/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1627499684
-SHA256 (graylog/graylog-4.1.2.tgz) = befdebb2c759ab6b1a17f8c918e989dedc174af8c14befd549a6c05d797934dc
-SIZE (graylog/graylog-4.1.2.tgz) = 197078255
-SHA256 (graylog-integrations/graylog-integrations-plugins-4.1.2.tgz) = 8ca7d63743ce4c6aaebb73522376d315556f44c0b05c326c2b5f53ae7a96734f
-SIZE (graylog-integrations/graylog-integrations-plugins-4.1.2.tgz) = 29495666
+TIMESTAMP = 1628761882
+SHA256 (graylog/graylog-4.1.3.tgz) = 516b32cc3f6888bbbdedfa1c3d722a5413da658257de6be7eb9adf2fb404ac83
+SIZE (graylog/graylog-4.1.3.tgz) = 197149916
+SHA256 (graylog-integrations/graylog-integrations-plugins-4.1.3.tgz) = 5e603130abf8a9f8181504035653c98f4297c13041363850c82386b0fe33ee6c
+SIZE (graylog-integrations/graylog-integrations-plugins-4.1.3.tgz) = 29497807
diff --git a/sysutils/graylog/pkg-plist b/sysutils/graylog/pkg-plist
--- a/sysutils/graylog/pkg-plist
+++ b/sysutils/graylog/pkg-plist
@@ -5,8 +5,9 @@
%%DATADIR%%/plugin/%%PORTNAME%%-plugin-threatintel-%%DISTVERSION%%.jar
%%DATADIR%%/plugin/%%PORTNAME%%-storage-elasticsearch6-%%DISTVERSION%%.jar
%%DATADIR%%/plugin/%%PORTNAME%%-storage-elasticsearch7-%%DISTVERSION%%.jar
-@dir %%ETCDIR%%
+@dir(%%GRAYLOGUSER%%,%%GRAYLOGGROUP%%,750) %%ETCDIR%%/server
@dir(%%GRAYLOGUSER%%,%%GRAYLOGGROUP%%,750) %%GRAYLOG_DATA_DIR%%
+@dir(%%GRAYLOGUSER%%,%%GRAYLOGGROUP%%,750) %%GRAYLOG_DATA_DIR%%/journal
@dir(%%GRAYLOGUSER%%,%%GRAYLOGGROUP%%,750) %%GRAYLOG_LOGS_DIR%%
@sample(%%GRAYLOGUSER%%,%%GRAYLOGGROUP%%,440) %%ETCDIR%%/graylog.conf.sample
@sample(%%GRAYLOGUSER%%,%%GRAYLOGGROUP%%,440) %%ETCDIR%%/log4j2.xml.sample
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 20, 12:34 PM (3 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27097078
Default Alt Text
D31521.id93827.diff (2 KB)
Attached To
Mode
D31521: sysutils/graylog: update to 4.1.3 and provide a valid default .conf
Attached
Detach File
Event Timeline
Log In to Comment