1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Update to jailaudit 1.6.1

PR:		246934
Submitted by:	cryx-freebsd@h3q.com (maintainer)
This commit is contained in:
Michael Gmelin 2020-06-02 11:09:45 +00:00
parent b0f403a21c
commit f5e855a788
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=537535
3 changed files with 4 additions and 25 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= jailaudit
PORTVERSION= 1.6.0
PORTREVISION= 1
PORTVERSION= 1.6.1
CATEGORIES= ports-mgmt
MASTER_SITES= http://outpost.h3q.com/software/jailaudit/

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1557948517
SHA256 (jailaudit-1.6.0.tar.bz2) = 8c1c7fa8b7b45d088da5a8a18df300772b1a2133dc24950e40ab379a9d9fdba5
SIZE (jailaudit-1.6.0.tar.bz2) = 2882
TIMESTAMP = 1591094088
SHA256 (jailaudit-1.6.1.tar.bz2) = 414e38ce9f8db7b5fc87f5e6c8d9011a95619248d863328d9f6663cc2b9ada4d
SIZE (jailaudit-1.6.1.tar.bz2) = 3439

View File

@ -1,20 +0,0 @@
--- 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
;;