svn commit: r533926 - in head/ports-mgmt/jailaudit: . files

Michael Gmelin grembo at FreeBSD.org
Mon May 4 14:17:29 UTC 2020


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
+  ;;


More information about the svn-ports-head mailing list