packages: libtirpc/libtirpc.spec, libtirpc/libtirpc-glibc-2.14.patch (NEW) ...

qboosh qboosh at pld-linux.org
Sun Jun 12 20:05:22 CEST 2011


Author: qboosh                       Date: Sun Jun 12 18:05:22 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added glibc-2.14 patch which adds some symbols no longer available from glibc (but still broken: this code relies on more symbols hidden in glibc 2.14)
- BR+R glibc >= 2.14

---- Files affected:
packages/libtirpc:
   libtirpc.spec (1.29 -> 1.30) , libtirpc-glibc-2.14.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libtirpc/libtirpc.spec
diff -u packages/libtirpc/libtirpc.spec:1.29 packages/libtirpc/libtirpc.spec:1.30
--- packages/libtirpc/libtirpc.spec:1.29	Sun Jun 12 15:55:26 2011
+++ packages/libtirpc/libtirpc.spec	Sun Jun 12 20:05:13 2011
@@ -18,9 +18,11 @@
 Patch2:		%{name}-XDR_GETPOS.patch
 Patch3:		%{name}-rpc-des-prot.patch
 Patch4:		%{name}-nis.patch
+Patch5:		%{name}-glibc-2.14.patch
 URL:		http://sourceforge.net/projects/libtirpc/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
+BuildRequires:	glibc >= 6:2.14
 %if %{with gssglue}
 BuildRequires:	libgssglue-devel >= 0.1
 %else
@@ -33,6 +35,7 @@
 %else
 Requires:	heimdal-libs
 %endif
+Requires:	glibc >= 6:2.14
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # FIXME: this allows invalid (unresolved symbols) library to be installed.
@@ -68,6 +71,7 @@
 Summary(pl.UTF-8):	Pliki programistyczne biblioteki TI-RPC
 Group:		Development/Libraries
 Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	glibc-devel >= 6:2.14
 %if %{with gssglue}
 Requires:	libgssglue-devel >= 0.1
 %else
@@ -101,6 +105,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 %{__libtoolize}
@@ -136,6 +141,9 @@
 	ln -s ../tirpc/rpc/$i $RPM_BUILD_ROOT%{_includedir}/rpc/$i
 done
 
+# obsoleted by pkgconfig
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libtirpc.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -174,6 +182,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2011/06/12 18:05:13  qboosh
+- added glibc-2.14 patch which adds some symbols no longer available from glibc (but still broken: this code relies on more symbols hidden in glibc 2.14)
+- BR+R glibc >= 2.14
+
 Revision 1.29  2011/06/12 13:55:26  arekm
 - headers in place where it was in glibc
 

================================================================
Index: packages/libtirpc/libtirpc-glibc-2.14.patch
diff -u /dev/null packages/libtirpc/libtirpc-glibc-2.14.patch:1.1
--- /dev/null	Sun Jun 12 20:05:22 2011
+++ packages/libtirpc/libtirpc-glibc-2.14.patch	Sun Jun 12 20:05:13 2011
@@ -0,0 +1,14 @@
+--- libtirpc-0.2.2/src/Makefile.am.orig	2011-06-12 17:44:39.795059643 +0200
++++ libtirpc-0.2.2/src/Makefile.am	2011-06-12 19:50:08.598645068 +0200
+@@ -51,7 +51,10 @@
+         rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \
+         rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_generic.c \
+         svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c \
+-        auth_time.c auth_des.c authdes_prot.c des_crypt.c
++        auth_time.c auth_des.c authdes_prot.c
++
++## formerly in glibc
++libtirpc_la_SOURCES += des_crypt.c crypt_client.c key_call.c netname.c rpcdname.c
+ 
+ ## XDR
+ libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c xdr_stdio.c
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libtirpc/libtirpc.spec?r1=1.29&r2=1.30&f=u



More information about the pld-cvs-commit mailing list