Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Dec 2004 19:58:21 GMT
From:      Andrew Reisse <areisse@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 66204 for review
Message-ID:  <200412011958.iB1JwLvn008792@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

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

Change 66204 by areisse@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
 



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