/[gentoo-x86]/sec-policy/selinux-base-policy/selinux-base-policy-20031010.ebuild
Gentoo

Contents of /sec-policy/selinux-base-policy/selinux-base-policy-20031010.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Nov 27 17:51:43 2003 UTC (10 years, 10 months ago) by pebenito
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
mark stable.  add build USE

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/sec-policy/selinux-base-policy/selinux-base-policy-20031010.ebuild,v 1.4 2003/10/29 03:44:15 pebenito Exp $
4
5 IUSE=""
6
7 DESCRIPTION="Gentoo base policy for SELinux"
8 HOMEPAGE="http://www.gentoo.org/proj/en/hardened/selinux/"
9 SRC_URI="mirror://gentoo/${P}.tar.bz2"
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="x86 ppc"
13 DEPEND=""
14 RDEPEND="sys-devel/m4
15 sys-devel/make"
16
17 S=${WORKDIR}/base-policy
18
19 [ -z ${POLICYDIR} ] && POLICYDIR="/etc/security/selinux/src/policy"
20
21 src_install() {
22 dodir /etc/security/selinux/src
23
24 insinto /etc/security
25 doins ${S}/appconfig/*
26
27 cp -a ${S} ${D}/${POLICYDIR}
28 rm -fR ${D}/${POLICYDIR}/appconfig
29 }
30
31 pkg_postinst() {
32 echo
33 einfo "This is the base policy for SELinux on Gentoo. This policy"
34 einfo "package only covers the applications in the system profile."
35 einfo "More policy may need to be added according to your requirements."
36 echo
37 eerror "It is STRONGLY suggested that you evaluate and merge the"
38 eerror "policy changes. If any of the file contexts (*.fc) have"
39 eerror "changed, you should also relabel."
40 echo
41 ewarn "Please check the Changelog, there may be important information."
42 echo
43 echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
44 echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
45 echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
46 echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
47 echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
48 echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
49 echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
50 echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
51 sleep 8
52 }

  ViewVC Help
Powered by ViewVC 1.1.20