- label all files at creation-time according to the SELinux policy

(#228157)
This commit is contained in:
Nalin Dahyabhai 2007-06-25 00:55:25 +00:00
parent 29d9e8c00d
commit d360ed53e4
2 changed files with 10 additions and 3 deletions

View File

@ -8,7 +8,7 @@ way or another by the --deps flag in future upstream releases.
fi fi
if test $library = 'krb5'; then if test $library = 'krb5'; then
- lib_flags="$lib_flags -lkrb5 -lk5crypto -lcom_err $GEN_LIB $LIBS $DL_LIB" - lib_flags="$lib_flags -lkrb5 -lk5crypto -lcom_err $GEN_LIB $LIBS $SELINUX_LIBS $DL_LIB"
+ lib_flags="$lib_flags -lkrb5 -lk5crypto -lcom_err" + lib_flags="$lib_flags -lkrb5 -lk5crypto -lcom_err"
fi fi

View File

@ -14,7 +14,7 @@
Summary: The Kerberos network authentication system. Summary: The Kerberos network authentication system.
Name: krb5 Name: krb5
Version: 1.6.1 Version: 1.6.1
Release: 2 Release: 3
# Maybe we should explode from the now-available-to-everybody tarball instead? # Maybe we should explode from the now-available-to-everybody tarball instead?
# http://web.mit.edu/kerberos/dist/krb5/1.5/krb5-1.5-signed.tar # http://web.mit.edu/kerberos/dist/krb5/1.5/krb5-1.5-signed.tar
Source0: krb5-%{version}.tar.gz Source0: krb5-%{version}.tar.gz
@ -86,6 +86,7 @@ Patch57: krb5-1.6.1-ftp-nospew.patch
Patch60: krb5-1.6.1-pam.patch Patch60: krb5-1.6.1-pam.patch
Patch61: krb5-trunk-manpaths.patch Patch61: krb5-trunk-manpaths.patch
Patch62: krb5-any-fixup-patch.txt Patch62: krb5-any-fixup-patch.txt
Patch63: krb5-1.6.1-selinux-label.patch
License: MIT, freely distributable. License: MIT, freely distributable.
URL: http://web.mit.edu/kerberos/www/ URL: http://web.mit.edu/kerberos/www/
@ -96,6 +97,7 @@ BuildPrereq: autoconf, bison, e2fsprogs-devel >= 1.35, flex
BuildPrereq: gzip, ncurses-devel, rsh, texinfo, tar BuildPrereq: gzip, ncurses-devel, rsh, texinfo, tar
BuildRequires: tetex-latex BuildRequires: tetex-latex
BuildRequires: keyutils-libs-devel BuildRequires: keyutils-libs-devel
BuildRequires: libselinux-devel
%if %{WITH_LDAP} %if %{WITH_LDAP}
BuildRequires: openldap-devel BuildRequires: openldap-devel
@ -110,6 +112,7 @@ practice of cleartext passwords.
Summary: Development files needed to compile Kerberos 5 programs. Summary: Development files needed to compile Kerberos 5 programs.
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}, e2fsprogs-devel Requires: %{name}-libs = %{version}-%{release}, e2fsprogs-devel
Requires: keyutils-libs-devel, libselinux-devel
%description devel %description devel
Kerberos is a network authentication system. The krb5-devel package Kerberos is a network authentication system. The krb5-devel package
@ -199,6 +202,9 @@ installed on systems which are meant provide these services.
%endif %endif
%changelog %changelog
* Sun Jun 24 2007 Nalin Dahyabhai <nalin@redhat.com> 1.6.1-3
- label all files at creation-time according to the SELinux policy (#228157)
* Fri Jun 22 2007 Nalin Dahyabhai <nalin@redhat.com> * Fri Jun 22 2007 Nalin Dahyabhai <nalin@redhat.com>
- perform PAM account / session management in krshd (#182195,#195922) - perform PAM account / session management in krshd (#182195,#195922)
- perform PAM authentication and account / session management in ftpd - perform PAM authentication and account / session management in ftpd
@ -1108,12 +1114,13 @@ installed on systems which are meant provide these services.
%prep %prep
%setup -q -a 23 %setup -q -a 23
pushd src pushd src
# %patch60 -p2 -b .pam %patch60 -p2 -b .pam
%patch61 -p0 -b .manpaths %patch61 -p0 -b .manpaths
popd popd
pushd src/lib/krb5/keytab pushd src/lib/krb5/keytab
%patch62 -p0 -b .any-fixup %patch62 -p0 -b .any-fixup
popd popd
%patch63 -p1 -b .selinux-label
%patch3 -p1 -b .netkit-rsh %patch3 -p1 -b .netkit-rsh
%patch4 -p1 -b .rlogind-environ %patch4 -p1 -b .rlogind-environ
%patch5 -p1 -b .ksu-access %patch5 -p1 -b .ksu-access