Update to version 1.2 of jailaudit.
State Changed From-To: open->feedback Please check your patch and submit a followup: you seem to have picked up whitespace-changes, most probably tabs-to-spaces.
diff -ruN /usr/ports/security/jailaudit/Makefile jailaudit/Makefile --- /usr/ports/security/jailaudit/Makefile Fri Nov 25 03:31:06 2005 +++ jailaudit/Makefile Sun May 7 15:16:48 2006 @@ -1,19 +1,15 @@ # New ports collection makefile for: jailaudit -# Date created: 21 October 2005 -# Whom: cryx -# -# $FreeBSD: ports/security/jailaudit/Makefile,v 1.1 2005/11/25 02:31:06 edwin Exp $ +# Date created: 21 October 2005 +# Whom: cryx # PORTNAME= jailaudit -PORTVERSION= 1.1 +PORTVERSION= 1.2 CATEGORIES= security MASTER_SITES= http://outpost.h3q.com/software/jailaudit/ MAINTAINER= cryx-ports@h3q.com -COMMENT= Script to generate portaudit reports for jails - -RUN_DEPENDS= ${LOCALBASE}/sbin/portaudit:${PORTSDIR}/security/portaudit +COMMENT= Script to generate portaudit reports for jails. USE_BZIP2= yes @@ -22,13 +18,16 @@ TMPDIR?= ${PREFIX}/jailaudit/tmp PLIST_SUB+= PERIODICDIR="${PERIODICDIR:S,^${PREFIX}/,,}" \ - REPORTDIR="${REPORTDIR:S,^${PREFIX}/,,}" \ - TMPDIR="${TMPDIR:S,^${PREFIX}/,,}" + REPORTDIR="${REPOTDIR}" \ + TMPDIR="${TMPDIR}" .include <bsd.port.pre.mk> .if ( ${OSVERSION} < 501000 ) -IGNORE= needs the jls utility which was added in FreeBSD 5.1 +IGNORE= The jls utility was added in FreeBSD 5.1. .endif +RUN_DEPENDS= ${LOCALBASE}/sbin/portaudit:${PORTSDIR}/security/portaudit + .include <bsd.port.post.mk> + diff -ruN /usr/ports/security/jailaudit/distinfo jailaudit/distinfo --- /usr/ports/security/jailaudit/distinfo Tue Jan 24 02:03:05 2006 +++ jailaudit/distinfo Sun May 7 15:16:48 2006 @@ -1,3 +1,3 @@ -MD5 (jailaudit-1.1.tar.bz2) = 32f5b1973cc9eaa88b0e05792499a0c7 -SHA256 (jailaudit-1.1.tar.bz2) = 7e8b855c71700cda28829eecf1a5baf20e7e16459adc5e4397fc24203a437bcc -SIZE (jailaudit-1.1.tar.bz2) = 2512 +MD5 (jailaudit-1.2.tar.bz2) = 42ba69b07906ebfc29bf3d31c07e88bf +SHA256 (jailaudit-1.2.tar.bz2) = 5cf7f3a75f5b13cf617ed432eb90453cc2bc152685a0146329e828bea8840689 +SIZE (jailaudit-1.2.tar.bz2) = 2599 diff -ruN /usr/ports/security/jailaudit/pkg-descr jailaudit/pkg-descr --- /usr/ports/security/jailaudit/pkg-descr Fri Nov 25 03:31:06 2005 +++ jailaudit/pkg-descr Sun May 7 15:16:48 2006 @@ -1,16 +1,8 @@ -This port contains a script to generate portaudit reports for jails -running on a FreeBSD system. +This port contains a script to generate portaudit reports for jails running on a FreeBSD system. -Normally 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. +Normally 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. -The 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. +The 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. Jailaudit can be used on FreeBSD 5.1 or larger.
Typo in PLIST_SUB diff -ruN /usr/ports/security/jailaudit/Makefile jailaudit/Makefile --- /usr/ports/security/jailaudit/Makefile Fri Nov 25 03:31:06 2005 +++ jailaudit/Makefile Thu May 11 17:36:59 2006 @@ -1,19 +1,15 @@ # New ports collection makefile for: jailaudit -# Date created: 21 October 2005 -# Whom: cryx -# -# $FreeBSD: ports/security/jailaudit/Makefile,v 1.1 2005/11/25 02:31:06 edwin Exp $ +# Date created: 21 October 2005 +# Whom: cryx # PORTNAME= jailaudit -PORTVERSION= 1.1 +PORTVERSION= 1.2 CATEGORIES= security MASTER_SITES= http://outpost.h3q.com/software/jailaudit/ MAINTAINER= cryx-ports@h3q.com -COMMENT= Script to generate portaudit reports for jails - -RUN_DEPENDS= ${LOCALBASE}/sbin/portaudit:${PORTSDIR}/security/portaudit +COMMENT= Script to generate portaudit reports for jails. USE_BZIP2= yes @@ -22,13 +18,16 @@ TMPDIR?= ${PREFIX}/jailaudit/tmp PLIST_SUB+= PERIODICDIR="${PERIODICDIR:S,^${PREFIX}/,,}" \ - REPORTDIR="${REPORTDIR:S,^${PREFIX}/,,}" \ - TMPDIR="${TMPDIR:S,^${PREFIX}/,,}" + REPORTDIR="${REPORTDIR}" \ + TMPDIR="${TMPDIR}" .include <bsd.port.pre.mk> .if ( ${OSVERSION} < 501000 ) -IGNORE= needs the jls utility which was added in FreeBSD 5.1 +IGNORE= The jls utility was added in FreeBSD 5.1. .endif +RUN_DEPENDS= ${LOCALBASE}/sbin/portaudit:${PORTSDIR}/security/portaudit + .include <bsd.port.post.mk> + diff -ruN /usr/ports/security/jailaudit/distinfo jailaudit/distinfo --- /usr/ports/security/jailaudit/distinfo Tue Jan 24 02:03:05 2006 +++ jailaudit/distinfo Sun May 7 15:16:48 2006 @@ -1,3 +1,3 @@ -MD5 (jailaudit-1.1.tar.bz2) = 32f5b1973cc9eaa88b0e05792499a0c7 -SHA256 (jailaudit-1.1.tar.bz2) = 7e8b855c71700cda28829eecf1a5baf20e7e16459adc5e4397fc24203a437bcc -SIZE (jailaudit-1.1.tar.bz2) = 2512 +MD5 (jailaudit-1.2.tar.bz2) = 42ba69b07906ebfc29bf3d31c07e88bf +SHA256 (jailaudit-1.2.tar.bz2) = 5cf7f3a75f5b13cf617ed432eb90453cc2bc152685a0146329e828bea8840689 +SIZE (jailaudit-1.2.tar.bz2) = 2599 diff -ruN /usr/ports/security/jailaudit/pkg-descr jailaudit/pkg-descr --- /usr/ports/security/jailaudit/pkg-descr Fri Nov 25 03:31:06 2005 +++ jailaudit/pkg-descr Sun May 7 15:16:48 2006 @@ -1,16 +1,8 @@ -This port contains a script to generate portaudit reports for jails -running on a FreeBSD system. +This port contains a script to generate portaudit reports for jails running on a FreeBSD system. -Normally 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. +Normally 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. -The 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. +The 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. Jailaudit can be used on FreeBSD 5.1 or larger.
Any chances of getting this commited?! greetings, philipp
Responsible Changed From-To: freebsd-ports-bugs->clsung I'll take it.
Hi, Can you try this patch? http://people.freebsd.org/~clsung/patch.jailaudit Thanks, -- Cheng-Lung Sung - clsung@
Cheng-Lung Sung wrote: > Hi, > Can you try this patch? > http://people.freebsd.org/~clsung/patch.jailaudit It does of course work. greetings, philipp
State Changed From-To: feedback->closed Committed. Thank You.