Commit c6f63ebb authored by Fabian's avatar Fabian

krb5 update: updated libtirpc

parent efd9dd2a
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas[at]chakra-project[dot]org>
# maintainer <inkane@chakra-project.org>
# contributor <abveritas[at]chakra-project[dot]org>
pkgname=libtirpc
pkgver=0.2.2
pkgrel=5
pkgver=0.2.3
pkgrel=1
pkgdesc="Transport Independent RPC library (SunRPC replacement)"
arch=('x86_64')
url="http://libtirpc.sourceforge.net/"
......@@ -14,24 +15,15 @@ depends=('libgssglue')
backup=('etc/netconfig')
options=('!libtool')
source=("http://downloads.sourceforge.net/sourceforge/libtirpc/${pkgname}-${pkgver}.tar.bz2"
'libtirpc-0.2.1-fortify.patch'
'libtirpc-0.2.3rc1.patch'
'libtirpc-fix-segfault-0.2.2.patch')
md5sums=('74c41c15c2909f7d11d9c7bfa7db6273'
'2e5c067f1651469dfbbdc91d3c9c60e8'
'ac2a1657b44f4a99c37d8265b05b9133'
'5a3ab55934cad4e8b38fc90c54756472')
"libtirpc-build.patch")
md5sums=('b70e6c12a369a91e69fcc3b9feb23d61'
'd4c0eef2f0891abf06cd4146eb51ed36')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# from http://bugs.gentoo.org/293593
patch -p1 -i ../libtirpc-0.2.1-fortify.patch
# patches from fedora git for nfs-utils
patch -p1 -i ../libtirpc-0.2.3rc1.patch
patch -p1 -i ../libtirpc-fix-segfault-0.2.2.patch
sh autogen.sh
autoreconf -fisv
./configure --prefix=/usr --enable-gss
patch -p1 <"$srcdir/libtirpc-build.patch"
./configure --sysconf=/etc --prefix=/usr --enable-gss
make
}
......
From 3fc89804556fe9a97977f28df6e3c1b5aae22f29 Mon Sep 17 00:00:00 2001
From: Tom Gundersen <teg@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@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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment