aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorMichael Gmelin <grembo@FreeBSD.org>2020-05-04 14:17:28 +0000
committerMichael Gmelin <grembo@FreeBSD.org>2020-05-04 14:17:28 +0000
commitdb30b1e3a3857a144c206109c0674d7de5ebe066 (patch)
tree87a0db502e3291750542996f6e610dd33100275e /ports-mgmt
parent96926e3e1ff3e4706452d5287335588db3d5717a (diff)
downloadports-db30b1e3a3857a144c206109c0674d7de5ebe066.tar.gz
ports-db30b1e3a3857a144c206109c0674d7de5ebe066.zip
Fix VNET jails (and IP-less jails in general)
PR: 245616 Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=533926
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/jailaudit/Makefile1
-rw-r--r--ports-mgmt/jailaudit/files/patch-jailaudit20
2 files changed, 21 insertions, 0 deletions
diff --git a/ports-mgmt/jailaudit/Makefile b/ports-mgmt/jailaudit/Makefile
index f2d380624c74..8908b33099d5 100644
--- a/ports-mgmt/jailaudit/Makefile
+++ b/ports-mgmt/jailaudit/Makefile
@@ -3,6 +3,7 @@
PORTNAME= jailaudit
PORTVERSION= 1.6.0
+PORTREVISION= 1
CATEGORIES= ports-mgmt
MASTER_SITES= http://outpost.h3q.com/software/jailaudit/
diff --git a/ports-mgmt/jailaudit/files/patch-jailaudit b/ports-mgmt/jailaudit/files/patch-jailaudit
new file mode 100644
index 000000000000..94113e5cf835
--- /dev/null
+++ b/ports-mgmt/jailaudit/files/patch-jailaudit
@@ -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
+ ;;