From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 5 10:03:56 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 49D729C1 for ; Tue, 5 Aug 2014 10:03:56 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 171902001 for ; Tue, 5 Aug 2014 10:03:56 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s75A3tMW000451 for ; Tue, 5 Aug 2014 10:03:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 192396] ports-mgmt/jailaudit: cannot create /usr/local/jailaudit/tmp/_jailaudit_allports: No such file or directory Date: Tue, 05 Aug 2014 10:03:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cryx-ports@h3q.com X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2014 10:03:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192396 --- Comment #5 from Philipp Wuensche --- 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 -# $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 +@exec install -d -o root -g wheel -m 755 %D/jailaudit/tmp @dirrmtry %%XTMPDIR%% +@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.