View | Details | Raw Unified | Return to bug 186757
Collapse All | Expand All

(-)Makefile (-25 / +5 lines)
Lines 1-18 Link Here
1
# Created by: Philipp Wuensche <cryx-ports@h3q.com>
1
# Created by: Philipp Wuensche <cryx-ports@h3q.com>
2
# $FreeBSD$
2
# $FreeBSD: head/ports-mgmt/jailaudit/Makefile 340722 2014-01-22 17:00:46Z mat $
3
3
4
PORTNAME=	jailaudit
4
PORTNAME=	jailaudit
5
PORTVERSION=	1.5
5
PORTVERSION=	1.4
6
CATEGORIES=	ports-mgmt
6
CATEGORIES=	ports-mgmt
7
MASTER_SITES=	http://outpost.h3q.com/software/jailaudit/
7
MASTER_SITES=	http://outpost.h3q.com/software/jailaudit/
8
8
9
MAINTAINER=	cryx-ports@h3q.com
9
MAINTAINER=	cryx-ports@h3q.com
10
COMMENT=	Script to generate portaudit reports for jails
10
COMMENT=	Script to generate portaudit reports for jails
11
11
12
LICENSE=        Beerware
12
RUN_DEPENDS=	${LOCALBASE}/sbin/portaudit:${PORTSDIR}/ports-mgmt/portaudit
13
LICENSE_NAME=   Beerware
14
LICENSE_TEXT=	"THE BEER-WARE LICENCE": Philipp Wuensche <cryx-ports@h3q.com> wrote this software. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.
15
LICENSE_PERMS=  auto-accept
16
13
17
USE_BZIP2=	yes
14
USE_BZIP2=	yes
18
15
Lines 24-45 Link Here
24
		REPORTDIR="${REPORTDIR:S,^${PREFIX}/,,}" \
21
		REPORTDIR="${REPORTDIR:S,^${PREFIX}/,,}" \
25
		XTMPDIR="${XTMPDIR:S,^${PREFIX}/,,}"
22
		XTMPDIR="${XTMPDIR:S,^${PREFIX}/,,}"
26
23
27
.include <bsd.port.pre.mk>
24
NO_STAGE=	yes
28
25
.include <bsd.port.mk>
29
.if ${OSVERSION} < 1000000
30
RUN_DEPENDS=    ${LOCALBASE}/sbin/portaudit:${PORTSDIR}/ports-mgmt/portaudit
31
.endif
32
33
pre-install:
34
	${MKDIR} ${STAGEDIR}${PERIODICDIR}/security
35
36
do-install:
37
	${INSTALL_SCRIPT} ${WRKSRC}/jailaudit ${STAGEDIR}${PREFIX}/bin
38
	${INSTALL_SCRIPT} ${WRKSRC}/jailaudit.conf.sample ${STAGEDIR}${PREFIX}/etc
39
	${INSTALL_SCRIPT} ${WRKSRC}/410.jailaudit ${STAGEDIR}${PERIODICDIR}/security
40
41
post-install:
42
	${MKDIR} ${STAGEDIR}${REPORTDIR}
43
	${MKDIR} ${STAGEDIR}${XTMPDIR}
44
45
.include <bsd.port.post.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (jailaudit-1.5.tar.bz2) = 972c82d2b9888b6750b55711a432fd44b66cc65fb8618408ba9ec2a3c979ec93
1
SHA256 (jailaudit-1.4.tar.bz2) = c1b95187bab7212d7b925d6c7e26f4e10dcba53650de5484497c779ba4a8e0c8
2
SIZE (jailaudit-1.5.tar.bz2) = 2818
2
SIZE (jailaudit-1.4.tar.bz2) = 2817
(-)pkg-plist (-4 / +7 lines)
Lines 1-8 Link Here
1
bin/jailaudit
1
bin/jailaudit
2
%%ETCDIR%%.conf.sample
2
etc/jailaudit.conf.sample
3
%%PERIODICDIR%%/security/410.jailaudit
3
%%PERIODICDIR%%/security/410.jailaudit
4
@dirrmtry %%XTMPDIR%%
5
@dirrmtry %%REPORTDIR%%
6
@dirrmtry jailaudit
7
@dirrmtry %%PERIODICDIR%%/security
4
@dirrmtry %%PERIODICDIR%%/security
8
@dirrmtry %%PERIODICDIR%%
5
@dirrmtry %%PERIODICDIR%%
6
@exec mkdir -p %D/%%REPORTDIR%%
7
@dirrmtry %%REPORTDIR%%
8
@exec mkdir -p %D/%%XTMPDIR%%
9
@dirrmtry %%XTMPDIR%%
10
@unexec rmdir %DPDIR%% 2>/dev/null || true
11
@dirrmtry jailaudit

Return to bug 186757