| 1 | # Copyright 1999-2011 Gentoo Foundation |
1 | # Copyright 1999-2011 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/selinux-policy-2.eclass,v 1.7 2011/08/07 10:47:00 blueness Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/selinux-policy-2.eclass,v 1.8 2011/08/12 20:01:29 swift Exp $ |
| 4 | |
4 | |
| 5 | # Eclass for installing SELinux policy, and optionally |
5 | # Eclass for installing SELinux policy, and optionally |
| 6 | # reloading the reference-policy based modules. |
6 | # reloading the reference-policy based modules. |
| 7 | |
7 | |
| 8 | # @ECLASS: selinux-policy-2.eclass |
8 | # @ECLASS: selinux-policy-2.eclass |
| … | |
… | |
| 53 | |
53 | |
| 54 | HOMEPAGE="http://www.gentoo.org/proj/en/hardened/selinux/" |
54 | HOMEPAGE="http://www.gentoo.org/proj/en/hardened/selinux/" |
| 55 | if [[ -n ${BASEPOL} ]]; |
55 | if [[ -n ${BASEPOL} ]]; |
| 56 | then |
56 | then |
| 57 | SRC_URI="http://oss.tresys.com/files/refpolicy/refpolicy-${PV}.tar.bz2 |
57 | SRC_URI="http://oss.tresys.com/files/refpolicy/refpolicy-${PV}.tar.bz2 |
| 58 | http://dev.gentoo.org/~blueness/patchbundle-selinux-base-policy/patchbundle-selinux-base-policy-${BASEPOL}.tar.bz2" |
58 | http://dev.gentoo.org/~swift/patches/selinux-base-policy/patchbundle-selinux-base-policy-${BASEPOL}.tar.bz2" |
| 59 | else |
59 | else |
| 60 | SRC_URI="http://oss.tresys.com/files/refpolicy/refpolicy-${PV}.tar.bz2" |
60 | SRC_URI="http://oss.tresys.com/files/refpolicy/refpolicy-${PV}.tar.bz2" |
| 61 | fi |
61 | fi |
| 62 | |
62 | |
| 63 | LICENSE="GPL-2" |
63 | LICENSE="GPL-2" |