From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Oct 22 03:40:19 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C048716A420 for ; Sat, 22 Oct 2005 03:40:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 639E943D46 for ; Sat, 22 Oct 2005 03:40:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9M3eJUe051516 for ; Sat, 22 Oct 2005 03:40:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9M3eJCB051515; Sat, 22 Oct 2005 03:40:19 GMT (envelope-from gnats) Date: Sat, 22 Oct 2005 03:40:19 GMT Message-Id: <200510220340.j9M3eJCB051515@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Philipp Wuensche Cc: Subject: Re: ports/87581: [NEW PORT] security/jailaudit: Generate portaudit reports for jails from the hostsystem X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Philipp Wuensche List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Oct 2005 03:40:20 -0000 The following reply was made to PR ports/87581; it has been noted by GNATS. From: Philipp Wuensche To: bug-followup@FreeBSD.org, cryx-ports@h3q.com Cc: Subject: Re: ports/87581: [NEW PORT] security/jailaudit: Generate portaudit reports for jails from the hostsystem Date: Sat, 22 Oct 2005 05:38:33 +0200 jailaudit moved to version 1.1, 1.0 its not imported yet so starting with version 1.1 would be good because it includes some important bugfixes # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # Makefile # distinfo # pkg-descr # pkg-plist # echo x - Makefile sed 's/^X//' >Makefile << 'END-of-Makefile' X# New ports collection makefile for: jailaudit X# Date created: 21 October 2005 X# Whom: cryx X# X XPORTNAME= jailaudit XPORTVERSION= 1.1 XCATEGORIES= security XMASTER_SITES= http://outpost.h3q.com/software/jailaudit/ X XMAINTAINER= cryx-ports@h3q.com XCOMMENT= Script to generate portaudit reports for jails. X XUSE_BZIP2= yes X XPERIODICDIR?= ${PREFIX}/etc/periodic XREPORTDIR?= ${PREFIX}/jailaudit/reports XTMPDIR?= ${PREFIX}/jailaudit/tmp X XPLIST_SUB+= PERIODICDIR="${PERIODICDIR:S,^${PREFIX}/,,}" \ X REPORTDIR="${REPOTDIR}" \ X TMPDIR="${TMPDIR}" X X.include X X.if ( ${OSVERSION} < 501000 ) XIGNORE= The jls utility was added in FreeBSD 5.1. X.endif X XRUN_DEPENDS= ${LOCALBASE}/sbin/portaudit:${PORTSDIR}/security/portaudit X X.include X END-of-Makefile echo x - distinfo sed 's/^X//' >distinfo << 'END-of-distinfo' XMD5 (jailaudit-1.1.tar.bz2) = 32f5b1973cc9eaa88b0e05792499a0c7 XSIZE (jailaudit-1.1.tar.bz2) = 2512 END-of-distinfo echo x - pkg-descr sed 's/^X//' >pkg-descr << 'END-of-pkg-descr' XThis port contains a script to generate portaudit reports for jails running on a FreeBSD system. X XNormally portaudit just creates reports for the Host-system or the jail it is installed in. With a large number of jails running on a system, installing and updating portaudit in every jail is time-consuming and error-prone. Jailaudit uses the portaudit installed in the Host-system to create a report for every jail. X XThe reports are appended to the daily security run and can be sent to a specific mail address, which allows the Host-system administrator to dispatch portaudit reports to the owners of jails, keeping them informed about potential security advisories of their installed ports. X XJailaudit can be used on FreeBSD 5.1 or larger. X XWWW: https://anonsvn.h3q.com/projects/jailaudit/ X X- cryx XPhilipp Wuensche END-of-pkg-descr echo x - pkg-plist sed 's/^X//' >pkg-plist << 'END-of-pkg-plist' Xbin/jailaudit Xetc/jailaudit.conf.sample X%%PERIODICDIR%%/security/410.jailaudit X@unexec rmdir %D/%%PERIODICDIR%%/security 2>/dev/null || true X@unexec rmdir %D/%%PERIODICDIR%% 2>/dev/null || true X@exec mkdir -p %%REPORTDIR%% X@unexec rmdir %%REPORTDIR%% 2>/dev/null || true X@exec mkdir -p %%TMPDIR%% X@unexec rmdir %%TMPDIR%% 2>/dev/null || true END-of-pkg-plist exit