pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
suricata: add owndirs in varbase
Module Name: pkgsrc-wip
Committed By: kami <kisskamizeg%gmail.com@localhost>
Pushed By: kami
Date: Thu Oct 9 22:27:06 2025 +0200
Changeset: 8b09cf6ac4effbcd19cd3aad06a1f4be318bbb36
Modified Files:
suricata/Makefile
Log Message:
suricata: add owndirs in varbase
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8b09cf6ac4effbcd19cd3aad06a1f4be318bbb36
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
suricata/Makefile | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
diffs:
diff --git a/suricata/Makefile b/suricata/Makefile
index e3733b2162..5695c0301b 100644
--- a/suricata/Makefile
+++ b/suricata/Makefile
@@ -33,6 +33,11 @@ PKG_SUPPORTED_OPTIONS= enable-unittests enable-debug enable-profiling
RCD_SCRIPTS+= suricata
+PKG_CONFIG= yes
+OWN_DIRS+= ${VARBASE}/log/suricata
+OWN_DIRS+= ${VARBASE}/lib/suricata/cache/sgh
+OWN_DIRS+= ${VARBASE}/lib/suricata/rules
+
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.options.mk"
@@ -50,14 +55,16 @@ CONFIGURE_ARGS+= --enable-profiling
.endif
#
-# Generate and place some initial configuration files into EGDIR!
+# 1. Generate and place some initial configuration files into etc!
+# 2. Create some runtime directories in var
#
post-install:
cd ${WRKSRC} \
- && env ${INSTALL_ENV} ${MAKE_ENV} \
- ${MAKE_PROGRAM} install-conf \
- && find ${DESTDIR}${PREFIX}/etc/suricata -type f -print | sort \
- > ${WRKDIR}/PLIST_DYNAMIC
+ && env ${INSTALL_ENV} ${MAKE_ENV} \
+ ${MAKE_PROGRAM} install-conf \
+ && find ${DESTDIR}${PREFIX}/etc/suricata -type f -print | sort \
+ > ${WRKDIR}/PLIST_DYNAMIC
+
# plist gen helper
PLIST.SRC+= ${WRKDIR}/PLIST_DYNAMIC
Home |
Main Index |
Thread Index |
Old Index