- fix: set fcontext from pkg when file_contexts doesn't exist (#114040).

CVS patchset: 7088
CVS date: 2004/02/15 20:54:19
This commit is contained in:
jbj 2004-02-15 20:54:19 +00:00
parent 26f46dd389
commit c37ae1046b
6 changed files with 23 additions and 9 deletions

View File

@ -13,6 +13,8 @@
- use -fPIC -DPIC on all platforms, not just mandatory (#112713).
- python: return None for NEVRAO, [] for everything else.
- python: throw exception on bad arg to labelCompare (#113661).
- re-add --enable-posixmutexes to build.
- fix: set fcontext from pkg when file_contexts doesn't exist (#114040).
4.2.1 -> 4.2.2:
- unify signal handling in librpmio, use condvar to deliver signal.

View File

@ -3,12 +3,12 @@
export CFLAGS
export LDFLAGS
LTV="libtoolize (GNU libtool) 1.5"
LTV="libtoolize (GNU libtool) 1.5.2"
ACV="autoconf (GNU Autoconf) 2.59"
AMV="automake (GNU automake) 1.8.2"
USAGE="
This script documents the versions of the tools I'm using to build rpm:
libtool-1.5
libtool-1.5.2
autoconf-2.59
automake-1.8.2
Simply edit this script to change the libtool/autoconf/automake versions

View File

@ -3,12 +3,12 @@
export CFLAGS
export LDFLAGS
LTV="libtoolize (GNU libtool) 1.5"
LTV="libtoolize (GNU libtool) 1.5.2"
ACV="autoconf (GNU Autoconf) 2.59"
AMV="automake (GNU automake) 1.8.2"
USAGE="
This script documents the versions of the tools I'm using to build rpm:
libtool-1.5
libtool-1.5.2
autoconf-2.59
automake-1.8.2
Simply edit this script to change the libtool/autoconf/automake versions

View File

@ -3,12 +3,12 @@
export CFLAGS
export LDFLAGS
LTV="libtoolize (GNU libtool) 1.5"
LTV="libtoolize (GNU libtool) 1.5.2"
ACV="autoconf (GNU Autoconf) 2.59"
AMV="automake (GNU automake) 1.8.2"
USAGE="
This script documents the versions of the tools I'm using to build rpm:
libtool-1.5
libtool-1.5.2
autoconf-2.59
automake-1.8.2
Simply edit this script to change the libtool/autoconf/automake versions

View File

@ -641,8 +641,11 @@ static int fsmMapFContext(FSM_t fsm)
fsm->fcontext = rpmsxFContext(sx, fsm->path, st->st_mode);
sx = rpmsxFree(sx);
} else {
int i = fsm->ix;
/* Get file security context from package. */
fsm->fcontext = rpmfiFContext(fi);
if (fi && i >= 0 && i < fi->fc)
fsm->fcontext = (fi->fcontexts ? fi->fcontexts[i] : NULL);
}
}
return 0;

View File

@ -134,7 +134,7 @@ CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
./configure --prefix=%{__prefix} --sysconfdir=/etc \
--localstatedir=/var --infodir='${prefix}%{__share}/info' \
--mandir='${prefix}%{__share}/man' \
$WITH_PYTHON --without-javaglue
$WITH_PYTHON --enable-posixmutexes --without-javaglue
%else
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{__prefix} $WITH_PYTHON \
--without-javaglue
@ -482,7 +482,16 @@ exit 0
%{__includedir}/popt.h
%changelog
* Mon Jan 19 2004 Jeff Johnson <jbj@jbj.org> 4.2-0.8
* Sun Feb 15 2004 Jeff Johnson <jbj@jbj.org> 4.3-0.11
- fix: set fcontext from pkg when file_contexts doesn't exist (#114040).
* Wed Feb 11 2004 Jeff Johnson <jbj@redhat.com> 4.3-0.10
- re-add --enable-posixmutexes to build.
* Mon Jan 19 2004 Jeff Johnson <jbj@jbj.org> 4.3-0.9
- python: return None for NEVRAO, [] for everything else.
* Mon Jan 19 2004 Jeff Johnson <jbj@jbj.org> 4.3-0.8
- python: return None for NEVRAO, [] for everything else.
* Mon Jan 12 2004 Jeff Johnson <jbj@redhat.com> 4.3-0.7