svn commit: r312271 - in head/security: . openbsm-devel openbsm-devel/files

Bryan Drewery bdrewery at FreeBSD.org
Thu Feb 21 12:46:49 UTC 2013


On 2/14/2013 9:05 PM, Ryan Steinmetz wrote:
> Author: zi
> Date: Fri Feb 15 03:05:58 2013
> New Revision: 312271
> URL: http://svnweb.freebsd.org/changeset/ports/312271
> 
> Log:
>   New port: security/openbsm-devel:
>   
>   OpenBSM is an open source implementation of Sun's Basic Security Module (BSM)
>   Audit API and file format. BSM, the de facto industry standard for Audit,
>   describes a set of system call and library interfaces for managing audit
>   records, as well as a token stream file format that permits extensible and
>   generalized audit trail processing. OpenBSM extends the BSM API and file
>   format in a number of ways to support features present in the Mac OS X and
>   FreeBSD operating systems, such as Mach task interfaces, sendfile(), and
>   Linux system calls present in the FreeBSD Linux emulation layer.
> 
> Added:
>   head/security/openbsm-devel/
>      - copied from r312250, head/security/openbsm/
>   head/security/openbsm-devel/files/
>   head/security/openbsm-devel/files/auditdistd.in   (contents, props changed)
>   head/security/openbsm-devel/files/pkg-message.in   (contents, props changed)
> Modified:
>   head/security/Makefile
>   head/security/openbsm-devel/Makefile   (contents, props changed)
>   head/security/openbsm-devel/distinfo   (contents, props changed)
>   head/security/openbsm-devel/pkg-plist   (contents, props changed)
> 
[...]
> Modified: head/security/openbsm-devel/pkg-plist
> ==============================================================================
> --- head/security/openbsm/pkg-plist	Thu Feb 14 23:41:53 2013	(r312250)
> +++ head/security/openbsm-devel/pkg-plist	Fri Feb 15 03:05:58 2013	(r312271)
> @@ -24,7 +24,15 @@ lib/libbsm.so
>  lib/libbsm.so.0
>  sbin/audit
>  sbin/auditd
> +sbin/auditdistd
>  sbin/auditfilterd
>  sbin/auditreduce
>  sbin/praudit
>  @dirrm include/bsm
> + at cwd /
> + at exec mkdir -m 0770 var/audit/dist
> + at exec mkdir -m 0700 var/audit/remote
> + at exec chown %%USERS%%:%%GROUPS var/audit/dist
> + at exec chown %%USERS%%:wheel var/audit/remote
> + at unexec rmdir var/audit/dist 2>/dev/null || true
> + at unexec rmdir var/audit/remote 2>/dev/null || true
> 

Perhaps these last 2 lines could just be @dirrmtry /var/audit/dist and
@dirrmtry
/var/audit/remote ?

For some reason this doesn't work well with poudriere+pkgng. They don't
get deleted. The @dirmrmtry does the right thing.

Index: pkg-plist
===================================================================
--- pkg-plist   (revision 312605)
+++ pkg-plist   (working copy)
@@ -29,10 +29,10 @@
 sbin/auditreduce
 sbin/praudit
 @dirrm include/bsm
+ at dirrmtry /var/audit/remote
+ at dirrmtry /var/audit/dist
 @cwd /
 @exec mkdir -m 0770 var/audit/dist
 @exec mkdir -m 0700 var/audit/remote
 @exec chown %%USERS%%:%%GROUPS var/audit/dist
 @exec chown %%USERS%%:wheel var/audit/remote
- at unexec rmdir var/audit/dist 2>/dev/null || true
- at unexec rmdir var/audit/remote 2>/dev/null || true

-- 
Regards,
Bryan Drewery
bdrewery at freenode/EFNet

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20130221/4568e11b/attachment.sig>


More information about the svn-ports-head mailing list