rpms/krb5/devel krb5-1.6-nodeplibs.patch, NONE, 1.1 krb5.spec, 1.107, 1.108
Nalin Somabhai Dahyabhai (nalin)
fedora-extras-commits at redhat.com
Wed May 16 19:48:53 UTC 2007
Author: nalin
Update of /cvs/pkgs/rpms/krb5/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29589
Modified Files:
krb5.spec
Added Files:
krb5-1.6-nodeplibs.patch
Log Message:
- omit dependent libraries from the krb5-config --libs output, as using
shared libraries (no more static libraries) makes them unnecessary and
they're not part of the libkrb5 interface (patch by Rex Dieter, #240220)
(strips out libkeyutils, libresolv, libdl)
krb5-1.6-nodeplibs.patch:
--- NEW FILE krb5-1.6-nodeplibs.patch ---
Omit extra libraries because their interfaces aren't exposed to applications
by libkrb5. Discussion on krbdev suggests that this will be controlled one
way or another by the --deps flag in future upstream releases.
--- krb5-1.6/src/krb5-config.in.extralibs 2007-05-15 15:00:15.000000000 -0500
+++ krb5-1.6/src/krb5-config.in 2007-05-15 15:07:04.000000000 -0500
@@ -222,7 +222,7 @@
fi
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"
fi
echo $lib_flags
Index: krb5.spec
===================================================================
RCS file: /cvs/pkgs/rpms/krb5/devel/krb5.spec,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -r1.107 -r1.108
--- krb5.spec 4 May 2007 19:03:00 -0000 1.107
+++ krb5.spec 16 May 2007 19:48:19 -0000 1.108
@@ -15,7 +15,7 @@
Summary: The Kerberos network authentication system.
Name: krb5
Version: 1.6
-Release: 5
+Release: 6
# 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
Source0: krb5-%{version}.tar.gz
@@ -81,6 +81,7 @@
Patch50: krb5-1.6-CVE-2007-1216-prelim.patch
Patch51: krb5-1.6-ldap-init.patch
Patch52: krb5-1.6-ldap-man.patch
+Patch53: krb5-1.6-nodeplibs.patch
License: MIT, freely distributable.
URL: http://web.mit.edu/kerberos/www/
@@ -195,6 +196,12 @@
%endif
%changelog
+* Wed May 16 2007 Nalin Dahyabhai <nalin at redhat.com> 1.6-6
+- omit dependent libraries from the krb5-config --libs output, as using
+ shared libraries (no more static libraries) makes them unnecessary and
+ they're not part of the libkrb5 interface (patch by Rex Dieter, #240220)
+ (strips out libkeyutils, libresolv, libdl)
+
* Fri May 4 2007 Nalin Dahyabhai <nalin at redhat.com> 1.6-5
- pull in keyutils as a build requirement to get the "KEYRING:" ccache type,
because we've merged
@@ -1105,6 +1112,7 @@
%patch50 -p0 -b .CVE-2007-1216
%patch51 -p0 -b .ldap_init
%patch52 -p0 -b .ldap_man
+%patch53 -p1 -b .nodeplibs
cp src/krb524/README README.krb524
gzip doc/*.ps
More information about the fedora-extras-commits
mailing list