Bug 199641
Summary: | will not recompile from src.rpm on EL4 or EL4 U3 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Bryce <root> |
Component: | cryptsetup | Assignee: | Milan Broz <mbroz> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | CC: | agk, dwysocha, mbroz, pjones, pvrabec |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 0.1-6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-06-19 13:41:00 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Bryce
2006-07-20 22:51:37 UTC
I hav a theory about the build system there and why this might be. However I think you'd rather have a patch. This is a patch to add --enable-seliunx to the configure script. Just add it to the %configure line in the spec file (and obviously the Patch1: / %patch1 -p1 stuff) --- cryptsetup-0.1.orig/configure.in 2004-03-05 07:05:28.000000000 -0500 +++ cryptsetup-0.1/configure.in 2006-07-20 19:12:53.000000000 -0400 @@ -60,6 +60,31 @@ dnl ========================================================================== + +dnl ========================================================================== +dnl -- Disable selinux + +AC_MSG_CHECKING(whether to enable selinux support) +AC_ARG_ENABLE(selinux, [ --disable-selinux Disable selinux support], +SELINUX=$enableval) +AC_MSG_RESULT($SELINUX) + +dnl ========================================================================== +dnl -- Check for is_selinux_enabled + +if test x$SELINUX = xyes; then + AC_CHECK_LIB(selinux, is_selinux_enabled, HAVE_SELINUX=yes, HAVE_SELINUX=no) + + if test x$HAVE_SELINUX = xyes; then + CFLAGS="$CFLAGS -DHAVE_SELINUX" + LIBS="$LIBS -lselinux" + else + AC_MSG_WARN(Disabling selinux) + fi +fi + +dnl ========================================================================== + AC_OUTPUT([ Makefile src/Makefile Adios Phil =--= Build works with latest cryptsetup build (cryptsetup-0.1-6.src.rpm) in updated RHEL4.6. |