PERFORCE change 66204 for review

Andrew Reisse areisse at FreeBSD.org
Wed Dec 1 19:58:21 GMT 2004


http://perforce.freebsd.org/chv.cgi?CH=66204

Change 66204 by areisse at areisse_tislabs on 2004/12/01 19:57:49

	Change checkpolicy to use libsepol instead of linking in sebsd/ss
	from the kernel source tree.

Affected files ...

.. //depot/projects/trustedbsd/sebsd/sbin/sebsd_checkpolicy/Makefile#3 edit

Differences ...

==== //depot/projects/trustedbsd/sebsd/sbin/sebsd_checkpolicy/Makefile#3 (text+ko) ====

@@ -1,20 +1,17 @@
 # $FreeBSD: $
 
-.PATH:	${.CURDIR}/../../contrib/sebsd/checkpolicy ${.CURDIR}/../../sys/security/sebsd/ss 
+.PATH:	${.CURDIR}/../../contrib/sebsd/checkpolicy
 
 PROG=	sebsd_checkpolicy
 MAN=	
-SRCS= policy_scan.l policy_parse.y checkpolicy.c avtab.c ebitmap.c \
-	hashtab.c queue.c policydb.c services.c sidtab.c symtab.c write.c
+SRCS= policy_scan.l policy_parse.y checkpolicy.c  queue.c
 CFLAGS+=-I${.CURDIR}/../../contrib/sebsd/checkpolicy
-CFLAGS+=-I${.CURDIR}/../../sys/security/sebsd/avc
-CFLAGS+=-I${.CURDIR}/../../sys/security/sebsd/ss
-CFLAGS+=-I${.CURDIR}/../../sys/security/sebsd
+CFLAGS+=-I${.CURDIR}/../../contrib/sebsd/libsepol/include
 CFLAGS+=-I${.CURDIR}/../../sys
 CFLAGS+=-I${.OBJDIR}
 CFLAGS+=-g
 
-LDADD+= -g -lfl
+LDADD+= -g -lfl -lsepol
 
 WARNS=	0
 
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list