svn commit: r344178 - head/ports-mgmt/jailaudit
Ruslan Makhmatkhanov
rm at FreeBSD.org
Fri Feb 14 10:01:38 UTC 2014
Author: rm
Date: Fri Feb 14 10:01:37 2014
New Revision: 344178
URL: http://svnweb.freebsd.org/changeset/ports/344178
QAT: https://qat.redports.org/buildarchive/r344178/
Log:
- update to 1.5
- add LICENSE (Beerware, maintainer is author of the port)
- support staging
- add dependency on ports-mgmt/portaudit for FreeBSD < 10
PR: 186757
Submitted by: Philipp Wuensche <cryx-freebsd at h3q.com> (maintainer)
Modified:
head/ports-mgmt/jailaudit/Makefile
head/ports-mgmt/jailaudit/distinfo
head/ports-mgmt/jailaudit/pkg-plist
Modified: head/ports-mgmt/jailaudit/Makefile
==============================================================================
--- head/ports-mgmt/jailaudit/Makefile Fri Feb 14 09:59:19 2014 (r344177)
+++ head/ports-mgmt/jailaudit/Makefile Fri Feb 14 10:01:37 2014 (r344178)
@@ -2,14 +2,20 @@
# $FreeBSD$
PORTNAME= jailaudit
-PORTVERSION= 1.4
+PORTVERSION= 1.5
CATEGORIES= ports-mgmt
MASTER_SITES= http://outpost.h3q.com/software/jailaudit/
MAINTAINER= cryx-ports at h3q.com
COMMENT= Script to generate portaudit reports for jails
-RUN_DEPENDS= ${LOCALBASE}/sbin/portaudit:${PORTSDIR}/ports-mgmt/portaudit
+LICENSE= Beerware
+LICENSE_NAME= Beerware
+LICENSE_TEXT= "THE BEER-WARE LICENCE": Philipp Wuensche <cryx-ports at 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.
+LICENSE_PERMS= auto-accept
USE_BZIP2= yes
@@ -21,5 +27,22 @@ PLIST_SUB+= PERIODICDIR="${PERIODICDIR:S
REPORTDIR="${REPORTDIR:S,^${PREFIX}/,,}" \
XTMPDIR="${XTMPDIR:S,^${PREFIX}/,,}"
-NO_STAGE= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1000000
+RUN_DEPENDS= ${LOCALBASE}/sbin/portaudit:${PORTSDIR}/ports-mgmt/portaudit
+.endif
+
+pre-install:
+ ${MKDIR} ${STAGEDIR}${PERIODICDIR}/security
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/jailaudit ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/jailaudit.conf.sample ${STAGEDIR}${PREFIX}/etc
+ ${INSTALL_SCRIPT} ${WRKSRC}/410.jailaudit ${STAGEDIR}${PERIODICDIR}/security
+
+post-install:
+ ${MKDIR} ${STAGEDIR}${REPORTDIR}
+ ${MKDIR} ${STAGEDIR}${XTMPDIR}
+
+.include <bsd.port.post.mk>
Modified: head/ports-mgmt/jailaudit/distinfo
==============================================================================
--- head/ports-mgmt/jailaudit/distinfo Fri Feb 14 09:59:19 2014 (r344177)
+++ head/ports-mgmt/jailaudit/distinfo Fri Feb 14 10:01:37 2014 (r344178)
@@ -1,2 +1,2 @@
-SHA256 (jailaudit-1.4.tar.bz2) = c1b95187bab7212d7b925d6c7e26f4e10dcba53650de5484497c779ba4a8e0c8
-SIZE (jailaudit-1.4.tar.bz2) = 2817
+SHA256 (jailaudit-1.5.tar.bz2) = 972c82d2b9888b6750b55711a432fd44b66cc65fb8618408ba9ec2a3c979ec93
+SIZE (jailaudit-1.5.tar.bz2) = 2818
Modified: head/ports-mgmt/jailaudit/pkg-plist
==============================================================================
--- head/ports-mgmt/jailaudit/pkg-plist Fri Feb 14 09:59:19 2014 (r344177)
+++ head/ports-mgmt/jailaudit/pkg-plist Fri Feb 14 10:01:37 2014 (r344178)
@@ -1,11 +1,8 @@
bin/jailaudit
-etc/jailaudit.conf.sample
+%%ETCDIR%%.conf.sample
%%PERIODICDIR%%/security/410.jailaudit
- at dirrmtry %%PERIODICDIR%%/security
- at dirrmtry %%PERIODICDIR%%
- at exec mkdir -p %D/%%REPORTDIR%%
- at dirrmtry %%REPORTDIR%%
- at exec mkdir -p %D/%%XTMPDIR%%
@dirrmtry %%XTMPDIR%%
- at unexec rmdir %DPDIR%% 2>/dev/null || true
+ at dirrmtry %%REPORTDIR%%
@dirrmtry jailaudit
+ at dirrmtry %%PERIODICDIR%%/security
+ at dirrmtry %%PERIODICDIR%%
More information about the svn-ports-head
mailing list