[arch-commits] Commit in libtirpc/repos (8 files)
Tom Gundersen
tomegun at nymeria.archlinux.org
Sun May 5 00:17:54 UTC 2013
Date: Sunday, May 5, 2013 @ 02:17:53
Author: tomegun
Revision: 184251
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
libtirpc/repos/testing-i686/
libtirpc/repos/testing-i686/PKGBUILD
(from rev 184250, libtirpc/trunk/PKGBUILD)
libtirpc/repos/testing-i686/libtirpc-build.patch
(from rev 184250, libtirpc/trunk/libtirpc-build.patch)
libtirpc/repos/testing-i686/libtirpc-fix-segfault-0.2.2.patch
(from rev 184250, libtirpc/trunk/libtirpc-fix-segfault-0.2.2.patch)
libtirpc/repos/testing-x86_64/
libtirpc/repos/testing-x86_64/PKGBUILD
(from rev 184250, libtirpc/trunk/PKGBUILD)
libtirpc/repos/testing-x86_64/libtirpc-build.patch
(from rev 184250, libtirpc/trunk/libtirpc-build.patch)
libtirpc/repos/testing-x86_64/libtirpc-fix-segfault-0.2.2.patch
(from rev 184250, libtirpc/trunk/libtirpc-fix-segfault-0.2.2.patch)
--------------------------------------------------+
testing-i686/PKGBUILD | 34 ++++++++++++++
testing-i686/libtirpc-build.patch | 51 +++++++++++++++++++++
testing-i686/libtirpc-fix-segfault-0.2.2.patch | 28 +++++++++++
testing-x86_64/PKGBUILD | 34 ++++++++++++++
testing-x86_64/libtirpc-build.patch | 51 +++++++++++++++++++++
testing-x86_64/libtirpc-fix-segfault-0.2.2.patch | 28 +++++++++++
6 files changed, 226 insertions(+)
Copied: libtirpc/repos/testing-i686/PKGBUILD (from rev 184250, libtirpc/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-05-05 00:17:53 UTC (rev 184251)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=libtirpc
+pkgver=0.2.3
+pkgrel=1
+pkgdesc="Transport Independent RPC library (SunRPC replacement)"
+arch=('i686' 'x86_64')
+url="http://libtirpc.sourceforge.net/"
+license=('BSD')
+depends=('libgssglue')
+backup=('etc/netconfig')
+options=('!libtool')
+source=(http://downloads.sourceforge.net/sourceforge/libtirpc/${pkgname}-${pkgver}.tar.bz2
+ libtirpc-build.patch)
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -p1 <"$srcdir/libtirpc-build.patch"
+
+ ./configure --prefix=/usr --sysconf=/etc --enable-gss
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+md5sums=('b70e6c12a369a91e69fcc3b9feb23d61'
+ 'd4c0eef2f0891abf06cd4146eb51ed36')
Copied: libtirpc/repos/testing-i686/libtirpc-build.patch (from rev 184250, libtirpc/trunk/libtirpc-build.patch)
===================================================================
--- testing-i686/libtirpc-build.patch (rev 0)
+++ testing-i686/libtirpc-build.patch 2013-05-05 00:17:53 UTC (rev 184251)
@@ -0,0 +1,51 @@
+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
+
Copied: libtirpc/repos/testing-i686/libtirpc-fix-segfault-0.2.2.patch (from rev 184250, libtirpc/trunk/libtirpc-fix-segfault-0.2.2.patch)
===================================================================
--- testing-i686/libtirpc-fix-segfault-0.2.2.patch (rev 0)
+++ testing-i686/libtirpc-fix-segfault-0.2.2.patch 2013-05-05 00:17:53 UTC (rev 184251)
@@ -0,0 +1,28 @@
+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);
Copied: libtirpc/repos/testing-x86_64/PKGBUILD (from rev 184250, libtirpc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-05-05 00:17:53 UTC (rev 184251)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=libtirpc
+pkgver=0.2.3
+pkgrel=1
+pkgdesc="Transport Independent RPC library (SunRPC replacement)"
+arch=('i686' 'x86_64')
+url="http://libtirpc.sourceforge.net/"
+license=('BSD')
+depends=('libgssglue')
+backup=('etc/netconfig')
+options=('!libtool')
+source=(http://downloads.sourceforge.net/sourceforge/libtirpc/${pkgname}-${pkgver}.tar.bz2
+ libtirpc-build.patch)
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -p1 <"$srcdir/libtirpc-build.patch"
+
+ ./configure --prefix=/usr --sysconf=/etc --enable-gss
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+md5sums=('b70e6c12a369a91e69fcc3b9feb23d61'
+ 'd4c0eef2f0891abf06cd4146eb51ed36')
Copied: libtirpc/repos/testing-x86_64/libtirpc-build.patch (from rev 184250, libtirpc/trunk/libtirpc-build.patch)
===================================================================
--- testing-x86_64/libtirpc-build.patch (rev 0)
+++ testing-x86_64/libtirpc-build.patch 2013-05-05 00:17:53 UTC (rev 184251)
@@ -0,0 +1,51 @@
+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
+
Copied: libtirpc/repos/testing-x86_64/libtirpc-fix-segfault-0.2.2.patch (from rev 184250, libtirpc/trunk/libtirpc-fix-segfault-0.2.2.patch)
===================================================================
--- testing-x86_64/libtirpc-fix-segfault-0.2.2.patch (rev 0)
+++ testing-x86_64/libtirpc-fix-segfault-0.2.2.patch 2013-05-05 00:17:53 UTC (rev 184251)
@@ -0,0 +1,28 @@
+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