Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Oct 2005 03:40:19 GMT
From:      Philipp Wuensche <cryx-ports@h3q.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/87581: [NEW PORT] security/jailaudit: Generate portaudit reports for jails from the hostsystem
Message-ID:  <200510220340.j9M3eJCB051515@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/87581; it has been noted by GNATS.

From: Philipp Wuensche <cryx-ports@h3q.com>
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 <bsd.port.pre.mk>
 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 <bsd.port.post.mk>
 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 <cryx-ports@h3q.com>
 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
 



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