[Bug 192396] ports-mgmt/jailaudit: cannot create /usr/local/jailaudit/tmp/_jailaudit_allports: No such file or directory
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Aug 5 10:03:56 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192396
--- Comment #5 from Philipp Wuensche <cryx-ports at h3q.com> ---
Okay this bug was introduced when I converted the port to StageDir support. If
I understand https://wiki.freebsd.org/ports/StageDir correctly "For pkg_tools
compatibility add: @exec install -d -o user -g group -m mode %D/directory."
then this patch to the port will solve the issue. I've tested this now on a old
pkg host and there it works for me as well as on a pkgng host.
diff -ruN /usr/ports/ports-mgmt/jailaudit/Makefile freebsd-port/Makefile
--- /usr/ports/ports-mgmt/jailaudit/Makefile 2014-08-04 23:47:15.000000000
+0200
+++ freebsd-port/Makefile 2014-08-05 12:02:31.228606222 +0200
@@ -1,8 +1,9 @@
# Created by: Philipp Wuensche <cryx-ports at h3q.com>
-# $FreeBSD: head/ports-mgmt/jailaudit/Makefile 364056 2014-08-04 21:47:15Z wg
$
+# $FreeBSD$
PORTNAME= jailaudit
PORTVERSION= 1.5.1
+PORTREVISION= 1
CATEGORIES= ports-mgmt
MASTER_SITES= http://outpost.h3q.com/software/jailaudit/
diff -ruN /usr/ports/ports-mgmt/jailaudit/pkg-plist freebsd-port/pkg-plist
--- /usr/ports/ports-mgmt/jailaudit/pkg-plist 2014-02-14 11:01:37.000000000
+0100
+++ freebsd-port/pkg-plist 2014-08-05 12:02:31.225608011 +0200
@@ -1,7 +1,9 @@
bin/jailaudit
%%ETCDIR%%.conf.sample
%%PERIODICDIR%%/security/410.jailaudit
+ at exec install -d -o root -g wheel -m 755 %D/jailaudit/tmp
@dirrmtry %%XTMPDIR%%
+ at exec install -d -o root -g wheel -m 755 %D/jailaudit/reports
@dirrmtry %%REPORTDIR%%
@dirrmtry jailaudit
@dirrmtry %%PERIODICDIR%%/security
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list