Bug 96776 - [maintainer update] security/jailaudit to version 1.2
Summary: [maintainer update] security/jailaudit to version 1.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Cheng-Lung Sung
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-04 15:40 UTC by Philipp Wuensche
Modified: 2006-06-02 09:07 UTC (History)
0 users

See Also:


Attachments
file.diff (4.22 KB, patch)
2006-05-04 15:40 UTC, Philipp Wuensche
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Wuensche 2006-05-04 15:40:15 UTC
Update to version 1.2 of jailaudit.
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2006-05-07 13:44:56 UTC
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.
Comment 2 Philipp Wuensche 2006-05-07 14:19:52 UTC
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.
Comment 3 Philipp Wuensche 2006-05-11 16:40:30 UTC
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.
Comment 4 Philipp Wuensche 2006-05-25 15:48:09 UTC
Any chances of getting this commited?!

greetings,
philipp
Comment 5 Cheng-Lung Sung freebsd_committer freebsd_triage 2006-05-25 16:24:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->clsung

I'll take it.
Comment 6 Cheng-Lung Sung freebsd_committer freebsd_triage 2006-05-30 08:12:13 UTC
Hi,
    Can you try this patch?
    http://people.freebsd.org/~clsung/patch.jailaudit

Thanks,
-- 
Cheng-Lung Sung - clsung@
Comment 7 Philipp Wuensche 2006-05-30 18:41:00 UTC
Cheng-Lung Sung wrote:
> Hi,
>     Can you try this patch?
>     http://people.freebsd.org/~clsung/patch.jailaudit

It does of course work.

greetings,
philipp
Comment 8 Cheng-Lung Sung freebsd_committer freebsd_triage 2006-06-02 09:07:27 UTC
State Changed
From-To: feedback->closed

Committed. Thank You.