[arch-commits] Commit in libtirpc/trunk (3 files)

Andreas Radke andyrtr at archlinux.org
Thu May 7 19:27:03 UTC 2015


    Date: Thursday, May 7, 2015 @ 21:27:03
  Author: andyrtr
Revision: 238608

upgpkg: libtirpc 0.3.0-1

upstream update 0.3.0

Modified:
  libtirpc/trunk/PKGBUILD
Deleted:
  libtirpc/trunk/libtirpc-build.patch
  libtirpc/trunk/libtirpc-fix-segfault-0.2.2.patch

-----------------------------------+
 PKGBUILD                          |   10 ++-----
 libtirpc-build.patch              |   51 ------------------------------------
 libtirpc-fix-segfault-0.2.2.patch |   28 -------------------
 3 files changed, 4 insertions(+), 85 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-05-07 19:19:24 UTC (rev 238607)
+++ PKGBUILD	2015-05-07 19:27:03 UTC (rev 238608)
@@ -3,7 +3,7 @@
 # Contributor: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=libtirpc
-pkgver=0.2.5
+pkgver=0.3.0
 pkgrel=1
 pkgdesc="Transport Independent RPC library (SunRPC replacement)"
 arch=('i686' 'x86_64')
@@ -12,18 +12,16 @@
 depends=('krb5')
 backup=('etc/netconfig')
 source=(http://downloads.sourceforge.net/sourceforge/libtirpc/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('fd7b83ed2dd0e322d400cb3173c1ff32ea0482dc')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
+  cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr --sysconf=/etc
-
   make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd ${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
   install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }
-md5sums=('8cd41a5ef5a9b50d0fb6abb98af15368')

Deleted: libtirpc-build.patch
===================================================================
--- libtirpc-build.patch	2015-05-07 19:19:24 UTC (rev 238607)
+++ libtirpc-build.patch	2015-05-07 19:27:03 UTC (rev 238608)
@@ -1,51 +0,0 @@
-From 3fc89804556fe9a97977f28df6e3c1b5aae22f29 Mon Sep 17 00:00:00 2001
-From: Tom Gundersen <teg at jklm.no>
-Date: Sun, 7 Apr 2013 22:58:19 +0200
-Subject: [PATCH] build: build with automake >=1.13
-
-See: <http://www.gnu.org/software/automake/manual/html_node/Public-Macros.html>
-
-Also fix a couple of related deprecation warnings.
-
-Signed-off-by: Tom Gundersen <teg at jklm.no>
----
- configure.ac    | 4 ++--
- src/Makefile.am | 2 +-
- 2 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 4a4adba..3de776a 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1,5 +1,5 @@
- AC_INIT(libtirpc, 0.2.3)
--AM_INIT_AUTOMAKE(libtirpc, 0.2.3)
-+AM_INIT_AUTOMAKE
- AM_MAINTAINER_MODE
- AC_CONFIG_SRCDIR([src/auth_des.c])
- AC_CONFIG_MACRO_DIR([m4])
-@@ -39,7 +39,7 @@ if test "x$enable_ipv6" != xno; then
- 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/src/Makefile.am b/src/Makefile.am
-index 2dd7768..078b0d0 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -6,7 +6,7 @@
- ## anything like that.
- 
- 
--INCLUDES = -I$(top_srcdir)/tirpc -DPORTMAP -DINET6 -DVERSION="\"$(VERSION)\"" \
-+AM_CPPFLAGS = -I$(top_srcdir)/tirpc -DPORTMAP -DINET6 -DVERSION="\"$(VERSION)\"" \
- 		-D_GNU_SOURCE -Wall -pipe  
- 
- lib_LTLIBRARIES = libtirpc.la
--- 
-1.8.2
-

Deleted: libtirpc-fix-segfault-0.2.2.patch
===================================================================
--- libtirpc-fix-segfault-0.2.2.patch	2015-05-07 19:19:24 UTC (rev 238607)
+++ libtirpc-fix-segfault-0.2.2.patch	2015-05-07 19:27:03 UTC (rev 238608)
@@ -1,28 +0,0 @@
-diff -up libtirpc-0.2.2/src/svc_dg.c.orig libtirpc-0.2.2/src/svc_dg.c
---- libtirpc-0.2.2/src/svc_dg.c.orig	2011-07-19 15:02:41.087631000 -0400
-+++ libtirpc-0.2.2/src/svc_dg.c	2011-07-19 15:04:43.154243000 -0400
-@@ -254,8 +254,8 @@ svc_dg_reply(xprt, msg)
- 	XDR_SETPOS(xdrs, 0);
- 	msg->rm_xid = su->su_xid;
- 	if (xdr_replymsg(xdrs, msg) &&
--	    (!has_args ||
--	     (SVCAUTH_WRAP(xprt->xp_auth, xdrs, xdr_results, xdr_location)))) {
-+	    (!has_args || (xprt->xp_auth &&
-+	     SVCAUTH_WRAP(xprt->xp_auth, xdrs, xdr_results, xdr_location)))) {
- 		struct msghdr *msg = &su->su_msghdr;
- 		struct iovec iov;
- 
-diff -up libtirpc-0.2.2/src/svc_vc.c.orig libtirpc-0.2.2/src/svc_vc.c
---- libtirpc-0.2.2/src/svc_vc.c.orig	2011-07-19 15:05:28.577588000 -0400
-+++ libtirpc-0.2.2/src/svc_vc.c	2011-07-19 15:05:40.058928000 -0400
-@@ -698,8 +698,8 @@ svc_vc_reply(xprt, msg)
- 	msg->rm_xid = cd->x_id;
- 	rstat = FALSE;
- 	if (xdr_replymsg(xdrs, msg) &&
--	    (!has_args ||
--	     (SVCAUTH_WRAP(xprt->xp_auth, xdrs, xdr_results, xdr_location)))) {
-+	    (!has_args || (xprt->xp_auth &&
-+	     SVCAUTH_WRAP(xprt->xp_auth, xdrs, xdr_results, xdr_location)))) {
- 		rstat = TRUE;
- 	}
- 	(void)xdrrec_endofrecord(xdrs, TRUE);



More information about the arch-commits mailing list