Your message dated Sun, 22 Aug 2021 16:18:30 +0000
with message-id <e1mhqb4-000bh3...@fasolo.debian.org>
and subject line Bug#972435: fixed in amanda 1:3.5.1-8
has caused the Debian Bug report #972435,
regarding amanda: Please add support for TI RPC implementation
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
972435: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972435
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: amanda
Version: 1:3.5.1-5
Severity: normal
Tags: patch upstream

Dear maintainer,

The glibc SunRPC implementation has been marked obsolete for some time.
It will get removed from glibc in version 2.32 that has been released a
few weeks ago.  The TI RPC implementation should be used instead, which
also brings new features (IPv6, Kerberos support, ...).

You will find attached a patch taken from Fedora to add support for the
TI RPC implementation in case the SunRPC implementation is not
available. Would it be possible to apply it to the Debian package so
that amanda continues to build when the glibc SunRPC gets removed.

Thanks,
Aurelien
diff -Nru amanda-3.5.1/debian/control amanda-3.5.1/debian/control
--- amanda-3.5.1/debian/control
+++ amanda-3.5.1/debian/control
@@ -25,6 +25,8 @@
                smbclient,
                swig,
                xfsdump [linux-any],
+               pkg-config,
+               libtirpc-dev
 Standards-Version: 4.0.1
 Homepage: http://www.amanda.org/
 Vcs-Git: https://salsa.debian.org/debian/amanda.git
diff -Nru amanda-3.5.1/debian/patches/39-tirpc 
amanda-3.5.1/debian/patches/39-tirpc
--- amanda-3.5.1/debian/patches/39-tirpc
+++ amanda-3.5.1/debian/patches/39-tirpc
@@ -0,0 +1,102 @@
+Patch taken from 
https://src.fedoraproject.org/rpms/amanda/raw/master/f/patch-tirpc
+
+diff --git a/config/amanda/amanda_configure.m4 
b/config/amanda/amanda_configure.m4
+index 5b427ae..f90810f 100644
+--- a/config/amanda/amanda_configure.m4
++++ b/config/amanda/amanda_configure.m4
+@@ -18,7 +18,6 @@ AC_PREREQ(2.64)
+ # Take care of some early Amanda-specific setup
+ #
+ AMANDA_CONFIGURE_ARGS
+-AMANDA_INIT_SUMMARY
+ AMANDA_SNAPSHOT_STAMP
+ AMANDA_SPLIT_VERSION
+ AMANDA_CONFIG_LOCAL
+diff --git a/config/amanda/components.m4 b/config/amanda/components.m4
+index f2a07db..7628453 100644
+--- a/config/amanda/components.m4
++++ b/config/amanda/components.m4
+@@ -186,7 +186,21 @@ AC_DEFUN([AMANDA_WITHOUT_NDMP], [
+           n | no) WANT_NDMP=false;;
+           *) AC_MSG_ERROR([You must not supply an argument to --with-ndmp 
option.]) ;;
+           esac
+-      ])
++    ])
++    AC_CHECK_HEADERS(rpc/rpc.h, HAVE_RPC_RPC_H=1)
++    if test x"$WANT_NDMP" = x"true"; then
++      if test x"$HAVE_RPC_RPC_H" = x"1"; then
++          WANT_NDMP=true
++      else
++          AMANDA_CHECK_TIRPC
++          if test x"$HAVE_RPC_RPC_H" = x"1"; then
++              WANT_NDMP=true
++          else
++              WANT_NDMP=false
++              AMANDA_MSG_WARN([Disabling NDMP because rpc/rpc.h is not found])
++          fi
++      fi
++   fi
+ ])
+ 
+ # SYNOPSIS
+diff --git a/config/amanda/libs.m4 b/config/amanda/libs.m4
+index 0388c9b..a640557 100644
+--- a/config/amanda/libs.m4
++++ b/config/amanda/libs.m4
+@@ -183,6 +183,44 @@ AC_DEFUN([AMANDA_CHECK_GLIB], [
+     AMANDA_ADD_LIBS($GLIB_LIBS)
+ ])
+ 
++# SYNOPSIS
++#
++#   AMANDA_CHECK_TIRPC
++#
++# OVERVIEW
++#
++#   Search for tirpc.
++#
++AC_DEFUN([AMANDA_CHECK_TIRPC],
++[
++    AC_PATH_PROG(PKG_CONFIG, pkg-config, [], 
$LOCSYSPATH:/opt/csw/bin:/usr/local/bin:/opt/local/bin)
++
++    tirpc_ld_flags=`$PKG_CONFIG libtirpc --libs-only-L 2>/dev/null`
++    tirpc_lib_flags=`$PKG_CONFIG libtirpc --libs-only-l --libs-only-other 
2>/dev/null`
++    tirpc_cppflags=`$PKG_CONFIG libtirpc --cflags-only-I 2>/dev/null`
++    tirpc_cflags=`$PKG_CONFIG libtirpc --cflags-only-other 2>/dev/null`
++
++    _libtirpc_save_cppflags=$CPPFLAGS
++    CPPFLAGS="$CPPFLAGS $tirpc_cppflags"
++    _libtirpc_save_libs=$LIBS
++    LIBS="$LIBS $tirpc_lib_flags"
++
++    unset HAVE_RPC_RPC_H
++    unset ac_cv_header_rpc_rpc_h
++    AC_CHECK_HEADERS(rpc/rpc.h, HAVE_RPC_RPC_H=1)
++
++    CPPFLAGS=$_libtirpc_save_cppflags
++    LIBS=$_libtirpc_save_libs
++
++    if test x"$HAVE_RPC_RPC_H" = x"1"; then
++      AMANDA_ADD_LDFLAGS($tirpc_ld_flags)
++      AMANDA_ADD_LIBS($tirpc_lib_flags)
++
++      AMANDA_ADD_CPPFLAGS($tirpc_cppflags)
++      AMANDA_ADD_CFLAGS($tirpc_cflags)
++    fi
++])
++
+ # LIBCURL_CHECK_CONFIG is from the libcurl
+ # distribution and licensed under the BSD license:
+ # Copyright (c) 1996 - 2007, Daniel Stenberg, <dan...@haxx.se>.
+diff --git a/configure.ac b/configure.ac
+index 89c4890..8d325b7 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -13,6 +13,7 @@ AMANDA_VERSION
+ gl_EARLY
+ gl_INIT
+ 
++AMANDA_INIT_SUMMARY
+ AMANDA_CONFIGURE
+ 
+ AC_DEFINE([USE_GETTEXT], 1, [Define to 1 if files will be processed with 
gettextize])
diff -Nru amanda-3.5.1/debian/patches/series amanda-3.5.1/debian/patches/series
--- amanda-3.5.1/debian/patches/series
+++ amanda-3.5.1/debian/patches/series
@@ -33,3 +33,4 @@
 34-fix-for-samba-on-deb10
 36-fix-for-samba-on-deb10-part-2
 38-ftbfs-with-gcc-10
+39-tirpc

--- End Message ---
--- Begin Message ---
Source: amanda
Source-Version: 1:3.5.1-8
Done: Jose M Calhariz <calha...@debian.org>

We believe that the bug you reported is fixed in the latest version of
amanda, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 972...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jose M Calhariz <calha...@debian.org> (supplier of updated amanda package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 22 Aug 2021 16:34:26 +0100
Source: amanda
Architecture: source
Version: 1:3.5.1-8
Distribution: unstable
Urgency: medium
Maintainer: Jose M Calhariz <calha...@debian.org>
Changed-By: Jose M Calhariz <calha...@debian.org>
Closes: 972435 974204
Changes:
 amanda (1:3.5.1-8) unstable; urgency=medium
 .
   * Create a new set of config files for quick deploys and update
     README.Debian accordingly and specially for auth=ssh.
   * Started to debug the behaviour of taperflush and friends.  Patch
     disabled for now: 42-experimental.
   * Bug fix: "Please add support for TI RPC implementation", thanks to
     Aurelien Jarno for the patch (Closes: #972435).
   * Bug fix: "amanda ftbfs with glibc-2.32", thanks to Matthias Klose
     (Closes: #974204).
Checksums-Sha1:
 f048509ec64ae2d3c665a72d8ec63645e90d9d40 2212 amanda_3.5.1-8.dsc
 d4898b44d2b58e6528fb858196962a6183499fd1 56804 amanda_3.5.1-8.debian.tar.xz
 c03e8ebc414a15ee224c2cfe19ec91ff5c190cab 14633 amanda_3.5.1-8_amd64.buildinfo
Checksums-Sha256:
 c32481dfbb594b9275f72b1e9bda5b0b0d8c57e09bfea17e2d6575b6c012448c 2212 
amanda_3.5.1-8.dsc
 428afc53b465ad9d981dcfa96fa53bd451af5c6ea269f8b5ee63ebf3106a1788 56804 
amanda_3.5.1-8.debian.tar.xz
 486b960b5b64385101411da4adcfc365bc8dbef8cb74b0e9d06c3b4e246d2a56 14633 
amanda_3.5.1-8_amd64.buildinfo
Files:
 77036a030296f35aef2e4466ad59b38f 2212 utils optional amanda_3.5.1-8.dsc
 2460a74820a808796cba3262dfa1eb6d 56804 utils optional 
amanda_3.5.1-8.debian.tar.xz
 d1ead29a17e376f3250a617df12b6181 14633 utils optional 
amanda_3.5.1-8_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEERkvHzUOf7l6LQJigNIp3jWiF748FAmEidK4ACgkQNIp3jWiF
749ecxAAituG0usdQBgS+hOi5Y6/3rFwtUM4GT31jy7NCTW8QAqhnCLC0kC9XPbH
enzS9G2YWJmk37xLJ4ibqSrIUHZbA7VGSezwEgYu/eRT/ACk5TiiRYnP/c6f11wW
n/15YaeOBKaQ3lfz1WslGYVnrrSvG9t6c4wwxmMqF/d3HZ4Tvb2XbQHl0aE+tHU/
T/ykIQNakCl4n99QUFs+e2jt9jXJP4Y4bdD0xEE0TKvBwfRfyn8gT0Ud8/7enxBo
U+5qKKpRcQLn85EHV/brxRIyl5Ak27mx7cqnoE6lnHonH+Qk/cnOng9P77x7dUyf
FR+6mQ5WsyG5RWMpN0yndJ6O721xPtsbpkn8Y6k1mDZWjqaH7Ve1A2pVKmDBTkhM
qO+bi2PqNdejaXgGMV06e+gOhk8Th524kdK8P1eYXajBz6EdP3pBsfsNtdmqP25k
Y2AEjWM121QU+wZNOBlzj29yWUJoWdBFqK7p6WMgtvnZMvmHADmhA0jBh95/cIu0
ZlJjRMJmPT3jT9gZRrAd7KwEeRIyaIa+cw6DdFb8oLbFqhXKcLftNqr1Val/QqR5
acMtJ/S0kE+rOzXFCb++vhdV/ZY3XHXtDppqFixTxKY4Z/VENi8CGOKj2BTN6wzD
HnrL2xti9rOD7XvTo2Zc/nB5ycI+5Vcm7CJgrgGJeeRMfGYmu1M=
=wONR
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to