From d62730de90faf8520e32e9bcb17cc21a7996eaf4 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Jan 05 2018 13:07:05 +0000 Subject: Disable Sun RPC interfaces (#1531540) --- diff --git a/glibc.spec b/glibc.spec index 80844ed..d648aac 100644 --- a/glibc.spec +++ b/glibc.spec @@ -908,7 +908,6 @@ build() --build=%{target} \ --enable-stack-protector=strong \ --enable-tunables \ - --enable-obsolete-rpc \ --enable-obsolete-nsl \ --enable-systemtap \ ${core_with_options} \ @@ -1120,12 +1119,6 @@ popd rm -f $RPM_BUILD_ROOT%{_libdir}/libNoVersion* rm -f $RPM_BUILD_ROOT/%{_lib}/libNoVersion* -# rquota.x and rquota.h are now provided by quota -rm -f $RPM_BUILD_ROOT%{_prefix}/include/rpcsvc/rquota.[hx] - -# In F7+ this is provided by rpcbind rpm -rm -f $RPM_BUILD_ROOT%{_sbindir}/rpcinfo - # Remove the old nss modules. rm -f ${RPM_BUILD_ROOT}/%{_lib}/libnss1-* rm -f ${RPM_BUILD_ROOT}/%{_lib}/libnss-*.so.1 @@ -1372,12 +1365,12 @@ sed -i -e '\|%{_libdir}/lib.*_p.a|d' \ # Put some static files into the devel package. grep '%{_libdir}/lib.*\.a' < rpm.filelist \ - | grep '/lib\(\(c\|pthread\|nldbl\|mvec\)_nonshared\|g\|ieee\|mcheck\|rpcsvc\)\.a$' \ + | grep '/lib\(\(c\|pthread\|nldbl\|mvec\)_nonshared\|g\|ieee\|mcheck\)\.a$' \ >> devel.filelist # Put the rest of the static files into the static package. grep '%{_libdir}/lib.*\.a' < rpm.filelist \ - | grep -v '/lib\(\(c\|pthread\|nldbl\|mvec\)_nonshared\|g\|ieee\|mcheck\|rpcsvc\)\.a$' \ + | grep -v '/lib\(\(c\|pthread\|nldbl\|mvec\)_nonshared\|g\|ieee\|mcheck\)\.a$' \ > static.filelist # Put all of the object files and *.so (not the versioned ones) into the