Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2002 11:37:55 -0700 (PDT)
From:      Chris Vance <cvance@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 13423 for review
Message-ID:  <200206251837.g5PIbtl70845@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=13423

Change 13423 by cvance@cvance_korben on 2002/06/25 11:37:01

	Update makefiles (remove duplicate) to install SEBSD default 
	policy into /usr/share/security/sebsd

Affected files ...

... //depot/projects/trustedbsd/mac/etc/Makefile#14 edit
... //depot/projects/trustedbsd/mac/share/sebsd/Makefile#2 delete
... //depot/projects/trustedbsd/mac/share/security/sebsd/Makefile#3 edit

Differences ...

==== //depot/projects/trustedbsd/mac/etc/Makefile#14 (text+ko) ====

@@ -100,8 +100,8 @@
 	    ${DESTDIR}/etc/ssl )
 .endif
 .if exists(${.CURDIR}/../contrib/sebsd)
-	(cd ${.CURDIR}/../contrib/sebsd/policy; \
-	    /sbin/sebsd_checkpolicy -o ${DESTDIR}/etc/security/sebsd/ss_policy)
+	(cd ${.CURDIR}/../contrib/sebsd/policy; cpio -p -R${BINOWN}:${BINGRP} ${DESTDIR}/etc/security/sebsd/policy < files.lst)
+	(cd ${DESTDIR}/etc/security/sebsd/policy; ${MAKE} install)
 .endif
 .if !defined(NO_MAKEDEV_INSTALL)
 	( cd ${.CURDIR}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \

==== //depot/projects/trustedbsd/mac/share/security/sebsd/Makefile#3 (text+ko) ====

@@ -1,10 +1,17 @@
 # $FreeBSD$
 # Install SEBSD example policy files.
 
-FILES=	policy/policy.conf policy/README
-NOOBJ=	noobj
-FILESDIR=	/usr/share/security/sebsd
+NOMAN = noman
+NOOBJ = noobj
+
+SRCDIR = ${.CURDIR}/../../../contrib/sebsd/policy
+DSTDIR = ${DESTDIR}/usr/share/security/sebsd/policy
+
+all:
+	echo ${DSTDIR}
+
+install:
+	cd ${SRCDIR}; cpio -p -R${BINOWN}:${BINGRP} ${DSTDIR} < files.lst
 
-.PATH: ${.CURDIR}/../../../contrib/sebsd
 
 .include <bsd.prog.mk>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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