aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2013-06-30 05:35:45 +0800
committerantoine <antoine@FreeBSD.org>2013-06-30 05:35:45 +0800
commitebd209ec3448b13f55b56062ed906245572e8bde (patch)
tree9732dd54fe9e6c8c41e0069028a956e12317ac31
parent592dbb46bb4b29aba119f02d011f691bfec01e3d (diff)
downloadfreebsd-ports-gnome-ebd209ec3448b13f55b56062ed906245572e8bde.tar.gz
freebsd-ports-gnome-ebd209ec3448b13f55b56062ed906245572e8bde.tar.zst
freebsd-ports-gnome-ebd209ec3448b13f55b56062ed906245572e8bde.zip
- Do not modify charset.alias
- Add a directory created by the port to pkg-plist
-rw-r--r--security/prelude-lml/Makefile4
-rw-r--r--security/prelude-lml/pkg-plist2
2 files changed, 4 insertions, 2 deletions
diff --git a/security/prelude-lml/Makefile b/security/prelude-lml/Makefile
index e0b9108f6e27..dcca3900b6f5 100644
--- a/security/prelude-lml/Makefile
+++ b/security/prelude-lml/Makefile
@@ -3,7 +3,7 @@
PORTNAME= prelude-lml
PORTVERSION= 1.0.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= https://www.prelude-ids.org/attachments/download/242/
@@ -25,7 +25,7 @@ USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
USE_RC_SUBR= prelude-lml
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
-USES= pkgconfig gettext iconv
+USES= charsetfix gettext iconv pkgconfig
OPTIONS_DEFINE= FAM
diff --git a/security/prelude-lml/pkg-plist b/security/prelude-lml/pkg-plist
index 468b48485105..a12e93735af1 100644
--- a/security/prelude-lml/pkg-plist
+++ b/security/prelude-lml/pkg-plist
@@ -79,4 +79,6 @@ lib/prelude-lml/pcre.so
@dirrm include/prelude-lml
@dirrm etc/prelude-lml/ruleset
@dirrmtry etc/prelude-lml
+@exec install -d -o root -g wheel -m 700 /var/spool/prelude-lml
+@unexec rmdir /var/spool/prelude-lml 2>/dev/null || true
@unexec echo "If you are permanently removing this port, you should remove ${PKG_PREFIX}/etc/prelude-lml and /var/spool/prelude-lml directories to clean up any configuration and logfile metadata files left." | fmt