Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 May 2020 14:17:28 +0000 (UTC)
From:      Michael Gmelin <grembo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r533926 - in head/ports-mgmt/jailaudit: . files
Message-ID:  <202005041417.044EHSQW019726@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: grembo
Date: Mon May  4 14:17:28 2020
New Revision: 533926
URL: https://svnweb.freebsd.org/changeset/ports/533926

Log:
  Fix VNET jails (and IP-less jails in general)
  
  PR:		245616
  Approved by:	maintainer timeout

Added:
  head/ports-mgmt/jailaudit/files/
  head/ports-mgmt/jailaudit/files/patch-jailaudit   (contents, props changed)
Modified:
  head/ports-mgmt/jailaudit/Makefile

Modified: head/ports-mgmt/jailaudit/Makefile
==============================================================================
--- head/ports-mgmt/jailaudit/Makefile	Mon May  4 13:24:03 2020	(r533925)
+++ head/ports-mgmt/jailaudit/Makefile	Mon May  4 14:17:28 2020	(r533926)
@@ -3,6 +3,7 @@
 
 PORTNAME=	jailaudit
 PORTVERSION=	1.6.0
+PORTREVISION=	1
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	http://outpost.h3q.com/software/jailaudit/
 

Added: head/ports-mgmt/jailaudit/files/patch-jailaudit
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ports-mgmt/jailaudit/files/patch-jailaudit	Mon May  4 14:17:28 2020	(r533926)
@@ -0,0 +1,20 @@
+--- jailaudit.orig	2019-05-15 18:35:20 UTC
++++ jailaudit
+@@ -37,7 +37,7 @@ PRINT_USAGE () {
+ case ${action} in
+  generate)
+     JLS() {
+-        /usr/sbin/jls | grep -v JID | grep -v '/var/empty$'
++        /usr/sbin/jls jid host.hostname path | grep -v '/var/empty$'
+     }
+ 
+     # exit if no jails are running that we can process
+@@ -85,7 +85,7 @@ case ${action} in
+     done
+ 
+     cd $audit_path
+-    JLS | awk '{print $1" "$3"_"$1}' | xargs -n2 mv
++    JLS | awk '{print $1" "$2"_"$1}' | xargs -n2 mv
+     rm -rf ${tmp_path}/*
+     exit
+  ;;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005041417.044EHSQW019726>