[packages/libtirpc] - up to 0.2.4 - removed obsolete patches
baggins
baggins at pld-linux.org
Tue Dec 10 08:33:08 CET 2013
commit 1b1661c21cced5cc97a5264751278e25d3e05337
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Dec 10 08:30:39 2013 +0100
- up to 0.2.4
- removed obsolete patches
libtirpc-am.patch | 11 -----------
libtirpc-heimdal.patch | 43 -------------------------------------------
libtirpc-link.patch | 9 ---------
libtirpc.spec | 9 ++-------
4 files changed, 2 insertions(+), 70 deletions(-)
---
diff --git a/libtirpc.spec b/libtirpc.spec
index 2cf58da..4137b8e 100644
--- a/libtirpc.spec
+++ b/libtirpc.spec
@@ -5,16 +5,14 @@
Summary: Transport Independent RPC Library
Summary(pl.UTF-8): Biblioteka RPC niezależnego od transportu
Name: libtirpc
-Version: 0.2.3
+Version: 0.2.4
Release: 1
Epoch: 1
License: BSD-like
Group: Libraries
Source0: http://downloads.sourceforge.net/libtirpc/%{name}-%{version}.tar.bz2
-# Source0-md5: b70e6c12a369a91e69fcc3b9feb23d61
+# Source0-md5: 847995e8d002cbf1387bda05947be086
Patch0: %{name}-link.patch
-Patch1: %{name}-heimdal.patch
-Patch2: %{name}-am.patch
URL: http://sourceforge.net/projects/libtirpc/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
@@ -93,14 +91,11 @@ Ten pakiet zawiera statyczną bibliotekę TI-RPC.
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
-%patch2 -p1
%build
%{__libtoolize}
%{__aclocal}
%{__autoconf}
-%{__autoheader}
%{__automake}
%configure \
--enable-gss=%{?with_gssglue:libgssglue}%{!?with_gssglue:heimdal-gssapi}
diff --git a/libtirpc-am.patch b/libtirpc-am.patch
deleted file mode 100644
index f519f5a..0000000
--- a/libtirpc-am.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- libtirpc-0.2.3/configure.ac~ 2013-03-18 14:12:13.373978520 +0100
-+++ libtirpc-0.2.3/configure.ac 2013-03-18 14:12:41.397587159 +0100
-@@ -31,7 +31,7 @@
- fi
-
- AC_PROG_CC
--AM_CONFIG_HEADER(config.h)
-+AC_CONFIG_HEADERS(config.h)
- AC_PROG_LIBTOOL
- AC_HEADER_DIRENT
- AC_PREFIX_DEFAULT(/usr)
diff --git a/libtirpc-heimdal.patch b/libtirpc-heimdal.patch
deleted file mode 100644
index 2b55046..0000000
--- a/libtirpc-heimdal.patch
+++ /dev/null
@@ -1,43 +0,0 @@
---- libtirpc-0.2.1/configure.ac.orig 2009-11-30 15:04:55.000000000 +0100
-+++ libtirpc-0.2.1/configure.ac 2010-08-14 08:49:50.618819943 +0200
-@@ -3,16 +3,23 @@
- AM_MAINTAINER_MODE
- AC_CONFIG_SRCDIR([src/auth_des.c])
-
-+GSSAPI_IMPLEMENTATION=libgssglue
- AC_ARG_ENABLE(gss,[ --enable-gss Turn on gss api], [case "${enableval}" in
-- yes) gss=true ; AC_CHECK_LIB([gssapi],[gss_init_sec_context]) ;;
-+ yes) gss=true ;;
- no) gss=false ;;
-- *) AC_MSG_ERROR(bad value ${enableval} for --enable-gss) ;;
-+ *) gss=true; GSSAPI_IMPLEMENTATION="$enableval" ;;
- esac],[gss=false])
- AM_CONDITIONAL(GSS, test x$gss = xtrue)
- if test x$gss = xtrue; then
-- AC_DEFINE(HAVE_LIBGSSAPI, 1, [])
-- PKG_CHECK_MODULES(GSSGLUE, libgssglue, [],
-- AC_MSG_ERROR([Unable to locate information required to use libgssglue.]))
-+ AC_DEFINE(HAVE_LIBGSSAPI, 1, [Have GSSAPI])
-+ PKG_CHECK_MODULES([GSSGLUE], [$GSSAPI_IMPLEMENTATION],
-+ [echo GSSAPI in $GSSAPI_IMPLEMENTATION],
-+ [PKG_CHECK_MODULES([GSSGLUE], [libgssglue],
-+ [echo GSSGLUE found; GSSAPI_IMPLEMENTATION=libgssglue],
-+ [PKG_CHECK_MODULES([GSSGLUE], [heimdal-gssapi],
-+ [echo HEIMDAL found; GSSAPI_IMPLEMENTATION=heimdal-gssapi],
-+ [AC_MSG_ERROR([Unable to locate information required to use libgssglue.])])])])
-+AC_SUBST([GSSAPI_IMPLEMENTATION])
- fi
-
- AC_PROG_CC
-diff -ur libtirpc-0.1.10/libtirpc.pc.in libtirpc-0.1.10-heimdal/libtirpc.pc.in
---- libtirpc-0.1.10/libtirpc.pc.in 2008-11-19 14:01:43.000000000 +0100
-+++ libtirpc-0.1.10-heimdal/libtirpc.pc.in 2009-06-30 14:55:59.811577076 +0200
-@@ -5,7 +5,7 @@
-
- Name: libtirpc
- Description: Transport Independent RPC Library
--Requires:
-+Requires: @GSSAPI_IMPLEMENTATION@
- Version: @PACKAGE_VERSION@
- Libs: -L at libdir@ -ltirpc
- Cflags: -I at includedir@/tirpc
diff --git a/libtirpc-link.patch b/libtirpc-link.patch
index 924b392..f5642f1 100644
--- a/libtirpc-link.patch
+++ b/libtirpc-link.patch
@@ -10,12 +10,3 @@
libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c bindresvport.c clnt_bcast.c \
clnt_dg.c clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c \
-@@ -30,7 +30,7 @@
- ## Secure-RPC
- if GSS
- libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c
-- libtirpc_la_LDFLAGS += $(GSSGLUE_LIBS)
-+ libtirpc_la_LIBADD += $(GSSGLUE_LIBS)
- libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSGLUE_CFLAGS)
- endif
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libtirpc.git/commitdiff/b4245f791ea8e1484963fad75fef00643b2d9ff6
More information about the pld-cvs-commit
mailing list