summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2003-05-09 17:32:40 +0000
committerChris PeBenito <pebenito@gentoo.org>2003-05-09 17:32:40 +0000
commita6e238c17fa3d654548bee441ba58fe06246a1a2 (patch)
tree5a70be258a2f35176de9f4b41c7b8074e0d1e6ec /sys-apps/selinux-small
parentFix lib installation. bug #20714 (diff)
downloadgentoo-2-a6e238c17fa3d654548bee441ba58fe06246a1a2.tar.gz
gentoo-2-a6e238c17fa3d654548bee441ba58fe06246a1a2.tar.bz2
gentoo-2-a6e238c17fa3d654548bee441ba58fe06246a1a2.zip
Added /usr/src/linux symlink check for bug #20703.
Diffstat (limited to 'sys-apps/selinux-small')
-rw-r--r--sys-apps/selinux-small/ChangeLog7
-rw-r--r--sys-apps/selinux-small/Manifest6
-rw-r--r--sys-apps/selinux-small/selinux-small-2003011510-r4.ebuild11
3 files changed, 18 insertions, 6 deletions
diff --git a/sys-apps/selinux-small/ChangeLog b/sys-apps/selinux-small/ChangeLog
index 9cb4f069b83a..dd1bdab7ef19 100644
--- a/sys-apps/selinux-small/ChangeLog
+++ b/sys-apps/selinux-small/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/selinux-small
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/selinux-small/ChangeLog,v 1.11 2003/05/06 14:25:22 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/selinux-small/ChangeLog,v 1.12 2003/05/09 17:32:36 pebenito Exp $
+
+ 09 May 2003; Chris PeBenito <pebenito@gentoo.org>
+ selinux-small-2003011510-r4.ebuild:
+ Added check for /usr/src/linux. It must point to selinux-sources or
+ hardened-sources, as seen in bug #20703.
06 May 2003; Chris PeBenito <pebenito@gentoo.org>
selinux-small-2003011510-r4.ebuild:
diff --git a/sys-apps/selinux-small/Manifest b/sys-apps/selinux-small/Manifest
index c67ca95ec2fa..335a4e7f77c8 100644
--- a/sys-apps/selinux-small/Manifest
+++ b/sys-apps/selinux-small/Manifest
@@ -1,6 +1,6 @@
-MD5 5ffd72bd7ea53d80ac64e56e2cf19385 ChangeLog 2397
-MD5 f99ddeaae8149c0a99fbcd8ebd3286ff selinux-small-2003011510-r4.ebuild 3820
MD5 a72c63e1fb9dfae6192d836123273767 selinux-small-2003011510-r3.ebuild 3993
-MD5 e5ffaa323b22754b51eaa94f04bcf5dd files/digest-selinux-small-2003011510-r4 151
+MD5 aa57f920a7cd9cac80179c6119924b12 selinux-small-2003011510-r4.ebuild 4223
+MD5 b1af306275803116f710db385d9641f6 ChangeLog 2601
MD5 e5ffaa323b22754b51eaa94f04bcf5dd files/digest-selinux-small-2003011510-r3 151
+MD5 e5ffaa323b22754b51eaa94f04bcf5dd files/digest-selinux-small-2003011510-r4 151
MD5 5b8ae6c77d50a559c31fb144faf6843e files/selinux-small-2003011510-bison.diff 553
diff --git a/sys-apps/selinux-small/selinux-small-2003011510-r4.ebuild b/sys-apps/selinux-small/selinux-small-2003011510-r4.ebuild
index 05309b00f4ac..f869981ddfef 100644
--- a/sys-apps/selinux-small/selinux-small-2003011510-r4.ebuild
+++ b/sys-apps/selinux-small/selinux-small-2003011510-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/selinux-small/selinux-small-2003011510-r4.ebuild,v 1.2 2003/05/06 14:25:22 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/selinux-small/selinux-small-2003011510-r4.ebuild,v 1.3 2003/05/09 17:32:36 pebenito Exp $
DESCRIPTION="SELinux policy compiler and example policies"
HOMEPAGE="http://www.nsa.gov/selinux"
@@ -33,7 +33,14 @@ RDEPEND="<sys-libs/glibc-2.3.2
sys-apps/selinux-base-policy"
pkg_setup() {
- use selinux || eend 1 "You must have selinux USE var"
+ use selinux || eend 1 "You must have selinux in USE"
+ if [ ! -f /usr/src/linux/security/selinux/ss/ebitmap.c ]; then
+ eerror "The /usr/src/linux symlink appears to be incorrect. It must"
+ eerror "be pointing to a selinux-sources or hardened-sources kernel"
+ eerror "for selinux-small to compile. If the symlink is correct, the"
+ eerror "kernel sources may be damaged or incomplete, and will need to"
+ eend 1 "be remerged. Please fix and retry."
+ fi
}
src_compile() {