Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2013 06:46:28 -0600
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Ryan Steinmetz <zi@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r312271 - in head/security: . openbsm-devel openbsm-devel/files
Message-ID:  <51261724.5000504@FreeBSD.org>
In-Reply-To: <201302150305.r1F35xlT072925@svn.freebsd.org>
References:  <201302150305.r1F35xlT072925@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2LVRRPUCNWJGOBJNLIECH
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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
>=20
> Log:
>   New port: security/openbsm-devel:
>  =20
>   OpenBSM is an open source implementation of Sun's Basic Security Modu=
le (BSM)
>   Audit API and file format. BSM, the de facto industry standard for Au=
dit,
>   describes a set of system call and library interfaces for managing au=
dit
>   records, as well as a token stream file format that permits extensibl=
e and
>   generalized audit trail processing. OpenBSM extends the BSM API and f=
ile
>   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.
>=20
> 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 ch=
anged)
>   head/security/openbsm-devel/files/pkg-message.in   (contents, props c=
hanged)
> 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)
>=20
[...]
> Modified: head/security/openbsm-devel/pkg-plist
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- 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	(r31=
2271)
> @@ -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
> +@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
> +@unexec rmdir var/audit/dist 2>/dev/null || true
> +@unexec rmdir var/audit/remote 2>/dev/null || true
>=20

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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- pkg-plist   (revision 312605)
+++ pkg-plist   (working copy)
@@ -29,10 +29,10 @@
 sbin/auditreduce
 sbin/praudit
 @dirrm include/bsm
+@dirrmtry /var/audit/remote
+@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
-@unexec rmdir var/audit/dist 2>/dev/null || true
-@unexec rmdir var/audit/remote 2>/dev/null || true

--=20
Regards,
Bryan Drewery
bdrewery@freenode/EFNet


------enig2LVRRPUCNWJGOBJNLIECH
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJRJhckAAoJEG54KsA8mwz5EMwP/0Au/BL3EYQ9V47/6PSkzCPB
PTYRfskxpfAdyvNFkpYDwDJeFR0dba25F1tTNuhlctblEhdGuon5WbcxdUJui7Sq
ePX8y8InhVwoq3fA/5WahI1pg0OlI28NoYue4ZPWZRaG2paBCny9nYPUPudahnt7
v8NMDQfQpQjekX3qCNDcCpVjXREcJE2QaoltXLNGyktejh78klC9YFcR/cjHp3oi
d8K5sHygv9p1ZOaETaX10dny0vHSJngtcFz+MyIpZB9Vjy4qWvFIGxQ31vGlVwjZ
KnMRaQleuk5ugXfaG7KCJtCFCkicZu7t0TCiAQCku9WljyYxFRqRATtx6YB8Rtyx
mtZVLkFdWPf/BIyksteUhpGYr+LYwBr19JiLOdZzShwiCftoPG19vvlg16LOlbkg
WEK8jVrGJ9LGURRUyYSsbHnVt16I3upn19s7YRG9XTKvdpdDNvvAkdUhxOHcFTiF
ceF8hxeGzIGpqvBRLVh3Q2mlYzRmm9/Ev+ADQSGlFUniI3AWtk8D/67WSfhO24Qy
iohK0/x4X475CY/8KHBn90BJZMeJVEjA0iOR1GaUAl+ELGisKaGV31K3RODVyw5d
x2ky6Wr+17+jb2DffwALZ+n5K35GAQZq584Pf0OAm13VvRX2dQ5A3qoj6BbpGrGG
OBIEgiMb99+n1MmVpmpB
=n1vD
-----END PGP SIGNATURE-----

------enig2LVRRPUCNWJGOBJNLIECH--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51261724.5000504>