From patchwork Wed Jul 8 18:27:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever X-Patchwork-Id: 493085 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id E37591402B7 for ; Thu, 9 Jul 2015 04:27:22 +1000 (AEST) Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t68IRJkY005911 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 8 Jul 2015 18:27:19 GMT Received: from oss.oracle.com (oss-old-reserved.oracle.com [137.254.22.2]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t68IRIOo001019 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Jul 2015 18:27:18 GMT Received: from localhost ([127.0.0.1] helo=lb-oss.oracle.com) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1ZCu3y-00068B-Sy; Wed, 08 Jul 2015 11:27:18 -0700 Received: from userv0021.oracle.com ([156.151.31.71]) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1ZCu3x-000682-HO for fedfs-utils-devel@oss.oracle.com; Wed, 08 Jul 2015 11:27:17 -0700 Received: from aserp1020.oracle.com (aserp1020.oracle.com [141.146.126.67]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t68IRHtS007773 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 8 Jul 2015 18:27:17 GMT Received: from userp2040.oracle.com (userp2040.oracle.com [156.151.31.90]) by aserp1020.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t68IRGCf014996 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 8 Jul 2015 18:27:16 GMT Authentication-Results: aserp1020.oracle.com; dkim=pass reason="2048-bit key" header.d=gmail.com header.i=@gmail.com header.b=RfUOOWIF Received: from pps.filterd (userp2040.oracle.com [127.0.0.1]) by userp2040.oracle.com (8.14.7/8.14.7) with SMTP id t68IQRMM036767 for ; Wed, 8 Jul 2015 18:27:16 GMT Received: from mail-qg0-f53.google.com (mail-qg0-f53.google.com [209.85.192.53]) by userp2040.oracle.com with ESMTP id 1vh3ufk5b8-1 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 08 Jul 2015 18:27:16 +0000 Received: by qgeg89 with SMTP id g89so104164492qge.3 for ; Wed, 08 Jul 2015 11:27:15 -0700 (PDT) X-Received: by 10.140.44.73 with SMTP id f67mr17778458qga.88.1436380034989; Wed, 08 Jul 2015 11:27:14 -0700 (PDT) Received: from seurat.1015granger.net ([2604:8800:100:81fc:20c:29ff:fe44:ec31]) by smtp.gmail.com with ESMTPSA id 128sm1790213qhg.45.2015.07.08.11.27.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jul 2015 11:27:14 -0700 (PDT) From: Chuck Lever To: fedfs-utils-devel@oss.oracle.com Date: Wed, 08 Jul 2015 11:27:12 -0700 Message-ID: <20150708182712.24274.99598.stgit@seurat.1015granger.net> In-Reply-To: <20150708182053.24274.13851.stgit@seurat.1015granger.net> References: <20150708182053.24274.13851.stgit@seurat.1015granger.net> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-ServerName: mail-qg0-f53.google.com X-Proofpoint-Virus-Version: vendor=nai engine=5700 definitions=7856 signatures=670602 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 kscore.is_bulkscore=0 kscore.compositescore=1 compositescore=0.9 suspectscore=1 phishscore=0 bulkscore=0 kscore.is_spamscore=0 rbsscore=0.9 spamscore=0 urlsuspectscore=0.9 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1506180000 definitions=main-1507080276 Subject: [fedfs-utils] [PATCH 08/11] configure.ac: Require rpcsec_gss.h X-BeenThere: fedfs-utils-devel@oss.oracle.com X-Mailman-Version: 2.1.9 Precedence: list Reply-To: fedfs-utils Developers List-Id: fedfs-utils Developers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: fedfs-utils-devel-bounces@oss.oracle.com Errors-To: fedfs-utils-devel-bounces@oss.oracle.com X-Source-IP: aserv0022.oracle.com [141.146.126.234] Instead of filling the fedfs-utils source tree with conditional compilation, I'm going to replace the old GSS calls outright. 0.11 will no longer be compatible with libtirpc versions previous to 0.3. fedfs-utils 0.10 is still supported and will work with older libtirpc versions. 0.11 will not have many other new features. The first step is to add a requirement for the new rpc_gss API to configure.ac. Signed-off-by: Chuck Lever --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index da63cf8..1ae5468 100644 --- a/configure.ac +++ b/configure.ac @@ -111,6 +111,8 @@ AC_CHECK_LIB([tirpc], [svc_tli_create], AC_DEFINE([HAVE_LIBTIRPC], [1], [Define if you have libtirpc])], [AC_MSG_ERROR([libtirpc not found.])]) +AC_CHECK_LIB([tirpc], [rpc_gss_seccreate], [], + [AC_MSG_ERROR([libtirpc too old.])]) AC_CHECK_LIB([uuid], [uuid_parse], [AC_SUBST([LIBUUID], ["-luuid"]) AC_DEFINE([HAVE_LIBUUID], [1],