Hello community,

here is the log from the commit of package amanda.9261 for 
openSUSE:Leap:15.1:Update checked in at 2020-01-20 12:13:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.1:Update/amanda.9261 (Old)
 and      /work/SRC/openSUSE:Leap:15.1:Update/.amanda.9261.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "amanda.9261"

Mon Jan 20 12:13:01 2020 rev:1 rq:764591 version:3.5.1

Changes:
--------
New Changes file:

--- /dev/null   2019-12-19 10:12:34.003146842 +0100
+++ /work/SRC/openSUSE:Leap:15.1:Update/.amanda.9261.new.26092/amanda.changes   
2020-01-20 12:13:02.078380666 +0100
@@ -0,0 +1,704 @@
+-------------------------------------------------------------------
+Tue Nov 20 15:02:51 UTC 2018 - kstreit...@suse.com
+
+- update the list of suid binaries [bsc#1110797]
+  * added: ambind, ambsdtar, amgtar, amstar
+  * removed: amcheck, planner, dumper
+- update README.SUSE and add a note about setuid binaries and the
+  fact that user amanda and members of the group amanda should be
+  considered privileged users
+
+-------------------------------------------------------------------
+Mon Mar 26 12:21:30 UTC 2018 - dims...@opensuse.org
+
+- Own %{_sysconfdir}/xinetd.d: filesystem won't own this directory
+  much longer (boo#1084457).
+
+-------------------------------------------------------------------
+Wed Mar 21 15:28:16 UTC 2018 - crrodrig...@opensuse.org
+
+- Buildrequire curl and libcrypto (enables amazon s3 module) 
+- amanda-libnsl.patch: libnsl is gone, replaced by tirpc
+  fix configure checks.
+- Buildrequire libtirpc
+
+-------------------------------------------------------------------
+Wed Dec 13 15:23:06 UTC 2017 - kstreit...@suse.com
+
+- update to 3.5.1
+  * do not check all 'r' bit on suid binary
+  * fix parsing of configuration override (-o)
+    * can unset some setting
+  * client code will not fail if shared memory is not available
+  * amreport
+    * lot of improvement
+  * allow '*' for a datestamp wildcard
+  * amgetconf
+    * print an empty string if a parameter is not set instead of 
+     'no such parameter'
+  * amdump
+    * new --no-dump, --no-flush and --no-vault argument
+  * amstatus fix
+  * lock holding disk to protect multiple parallel access
+
+-------------------------------------------------------------------
+Fri Oct 13 14:53:33 UTC 2017 - kstreit...@suse.com
+
+- update to 3.5
+  * see ReleaseNotes for more information
+  * refresh
+    amanda-2.6.1p1-shellbang.patch
+    amanda-2.6.1p1-return_val.patch
+    amanda-timestamp.patch
+  * remove (applied upstream)
+    amanda-automake_add_missing.patch
+    amanda-3.3.3-noundefbool.patch
+    amanda-2.6.1p1-fix-perl-format.patch
+  * remove chg-* scripts from the filelist
+  * pack new files 
+- add amanda-3.5-no_return_in_nonvoid_fnc.patch to fix
+  no-return-in-nonvoid-function rpmlint error
+- add url for source
+- remove SLE11 specific stuff from specfile
+- SuSE -> SUSE
+  * amanda-SuSE.tar.bz2 is now amanda-SUSE.tar.bz2
+  * README.SuSE is now README.SUSE
+- tweak description
+- run make check
+- use %configure macro
+- renumber patches
+- create a symlink for amoldrecover manpage
+
+-------------------------------------------------------------------
+Thu Mar 23 15:14:01 UTC 2017 - kstreit...@suse.com
+
+- cleanup with spec-cleaner
+
+-------------------------------------------------------------------
+Wed Mar  8 21:46:27 UTC 2017 - sfal...@opensuse.org
+
+- Added lines to %files to clear unpackaged files error in
+  openSUSE:Factory
+
+-------------------------------------------------------------------
+Fri Jan 27 16:32:46 UTC 2017 - kstreit...@suse.com
+
+- add openssh to BuildRequires to support ssh [bsc#1022028]
+
+-------------------------------------------------------------------
+Sat Apr 16 02:08:54 UTC 2016 - zai...@opensuse.org
+
+- Replace libsmbclient and libsmbclient-devel for
+  pkgconfig(smbclient) BuildRequires: Following samba changes.
+
+-------------------------------------------------------------------
+Fri Mar  4 18:04:29 UTC 2016 - o...@aepfle.de
+
+- Remove timestamp from binary
+  amanda-timestamp.patch
+
+-------------------------------------------------------------------
+Thu Nov 27 08:20:00 UTC 2014 - mplus...@suse.com
+
+- Fix for boo#907361 -- amanda-2.6.1p1-fix-perl-format.patch
+- Clean spec file with spec-cleaner
+
+-------------------------------------------------------------------
+Tue Sep 16 20:21:58 UTC 2014 - da...@darins.net
+
+- wrap %post permissions routines in conditionals for SLES
+
+-------------------------------------------------------------------
+Mon Sep 15 16:15:42 UTC 2014 - da...@darins.net
+
+- update to 3.3.6 
+    * ambsdtar
+        new application that use BSD tar to do the backup.
+
+  3.3.5 release notes
+    * faster 'verify' command.
+        fix parsing of config override arguments.
+    * amsamba
+        Add REGEX-MATCH property.
+    * amvault
+        Print progress status.
+    * ndmp device
+        INDIRECT property default to yes.
+
+  3.3.4 release notes
+    * amreport
+        new --format argument
+        new 'json' and 'json_raw' format.
+    * amanda.conf
+        new REPORT-FORMAT option.
+    * amtape
+        new 'verify' command.
+    * amadmin
+        new 'force-level-1' command.
+    * ampgsql
+        Add VERBOSE property.
+    * S3 device
+        handle DURABLE_REDUCED_AVAILABILITY for google storage.
+
+  See ChangeLog for a full listing of changes:
+    /usr/share/doc/packages/amanda/ChangeLog    
+
+- removed amanda-gets.patch, applied upstream
+
+-------------------------------------------------------------------
+Mon Jul 21 16:39:22 CEST 2014 - m...@suse.de
+
+- comment out all 'undef bool' lines, as they break the build
+  with modern perl versions
+  added patch: amanda-3.3.3-noundefbool.patch
+
+-------------------------------------------------------------------
+Fri Apr 26 08:36:36 UTC 2013 - mmeis...@suse.com
+
+- Added automake --add-missing option to fix build with new automake
+
+-------------------------------------------------------------------
+Fri Jan 11 14:39:23 UTC 2013 - vdziewie...@suse.com
+
+-Update to 3.3.3
+    * amdump.X log files use timestamp instead of number, amdump and amdump.1
+      are maintained as symlink.
+    * chg-disk
+        o Use the changerfile for the statefile.
+    * s3 device
+        o support CASTOR storage
+    * amanda.conf
+        o New REPORT-USE-MEDIA and REPORT-NEXT-MEDIA.
+    * amfetchdump
+        o new --extract, --directory, --data-path and --application-property
+          arguments. It allow to do the extraction on the server.
+    * --exact-match argument to many command, and '=' prefix to expression.
+        o It diable use of expression for host, disk, level and datestamp on
+          command line argument.
+    * All changer scripts.
+        o Add LOCK-TIMEOUT property.
+    * Many bug fix
+
+-Fixed bnc#784375 - Clarify licensing of amanda. Zmanda changed its
+licensing from GPL-2.0 to GPL-2.0+ and LGPLv2 to LGPLv2+.
+
+-------------------------------------------------------------------
+Fri Oct  5 14:00:29 UTC 2012 - jmate...@suse.com
+
+- fixed some functions without return values
+
+-------------------------------------------------------------------
+Wed Oct  3 15:26:08 UTC 2012 - vdziewie...@suse.com
+
+-Update to 3.3.2 (see NEWS)
+-Remove queue patch (fixed upstream, see ChangeLog)
+-Replaced %run_permissions with %set_permissions (bnc#764124)
+
+-------------------------------------------------------------------
++++ 507 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Leap:15.1:Update/.amanda.9261.new.26092/amanda.changes

New:
----
  amanda-2.6.1p1-avoid-perl-provides.patch
  amanda-2.6.1p1-return_val.patch
  amanda-2.6.1p1-shellbang.patch
  amanda-3.3.2-returnvalues.patch
  amanda-3.5-no_return_in_nonvoid_fnc.patch
  amanda-3.5.1.tar.gz
  amanda-SUSE.tar.bz2
  amanda-howto-collection.pdf.tar.bz2
  amanda-libnsl.patch
  amanda-timestamp.patch
  amanda.changes
  amanda.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ amanda.spec ++++++
#
# spec file for package amanda
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define amanda_group amanda
Name:           amanda
Version:        3.5.1
Release:        0
Summary:        Network Disk Archiver
License:        GPL-3.0-or-later
Group:          Productivity/Archiving/Backup
Url:            http://www.amanda.org/
Source:         http://downloads.sourceforge.net/amanda/amanda-%{version}.tar.gz
#amanda-SUSE.tar.bz2 contains init scripts, config examples
Source1:        amanda-SUSE.tar.bz2
Source2:        amanda-howto-collection.pdf.tar.bz2
Patch1:         amanda-2.6.1p1-shellbang.patch
Patch2:         amanda-2.6.1p1-return_val.patch
Patch3:         amanda-2.6.1p1-avoid-perl-provides.patch
Patch4:         amanda-3.3.2-returnvalues.patch
Patch5:         amanda-timestamp.patch
Patch6:         amanda-3.5-no_return_in_nonvoid_fnc.patch
Patch7:         amanda-libnsl.patch
BuildRequires:  automake
BuildRequires:  cups-client
BuildRequires:  dump
BuildRequires:  gawk
BuildRequires:  glib2-devel
BuildRequires:  gnuplot
BuildRequires:  krb5-devel
BuildRequires:  libtool
BuildRequires:  libxslt
BuildRequires:  mailx
BuildRequires:  mtx
BuildRequires:  openssh
BuildRequires:  perl-base
BuildRequires:  pkgconfig
BuildRequires:  popt-devel
BuildRequires:  procps
BuildRequires:  readline-devel
BuildRequires:  samba-client
BuildRequires:  sendmail
BuildRequires:  pkgconfig(libcrypto)
BuildRequires:  pkgconfig(libcurl)
BuildRequires:  pkgconfig(libtirpc)
BuildRequires:  pkgconfig(smbclient)
Requires:       %{_bindir}/smbclient
Requires:       dump
Requires:       perl = %{perl_version}
Requires(post): permissions
Requires(pre):  pwdutils

%description
AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a backup
solution that allows the IT administrator to set up a single master backup
server to back up multiple hosts over network to tape drives/changers or
disks or optical media. Amanda uses native utilities and formats (e.g. dump
and/or GNU tar) and can back up a large number of servers and workstations
running multiple versions of Linux or Unix.

%prep
%setup -q -a 1 -a 2
rm -r patches
%patch1
%patch2
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%build
./autogen

export CFLAGS="%{optflags} -fno-strict-aliasing -fPIC -fPIE"
export CXXFLAGS="%{optflags} -fno-strict-aliasing -fPIC -fPIE"
export LDFLAGS="-pie"
%configure --mandir=%{_mandir} \
           --with-bsdtcp-security \
           --with-bsdudp-security \
           --with-ssh-security \
           --with-rsh-security \
           --with-krb5-security \
           --prefix=%{_prefix} \
           --infodir=%{_infodir} \
           --sysconfdir=%{_sysconfdir} \
           --libdir=%{_libdir} \
           --libexecdir=%{_libexecdir} \
           --localstatedir=%{_localstatedir}/lib \
           --with-index-server=localhost \
           --with-gnutar-listdir=%{_localstatedir}/lib/amanda/gnutar-lists \
           --with-smbclient=%{_bindir}/smbclient \
           --with-amperldir=%{perl_vendorlib} \
           --with-user=amanda \
           --with-group=%{amanda_group} \
           --with-gnutar=/bin/tar \
           --disable-libtool \
           --with-amandahosts \
           --disable-installperms
make %{?_smp_mflags}

%install
make install DESTDIR=%{buildroot}/
install -d %{buildroot}/%{_sysconfdir}/amanda \
           %{buildroot}%{_localstatedir}/lib/amanda/index \
           %{buildroot}%{_localstatedir}/lib/amanda/gnutar-lists \
           %{buildroot}%{_localstatedir}/lib/amanda/disklist \
           %{buildroot}%{_localstatedir}/lib/amanda/DailySet1 \
           %{buildroot}%{_localstatedir}/lib/amanda/lbl-templ \
           %{buildroot}/%{_docdir}/%{name} \
           %{buildroot}/%{_sysconfdir}/xinetd.d
install NEWS README README.SUSE example/{amanda.conf,chg-multi.conf,disklist} 
%{buildroot}/%{_docdir}/%{name}
install -m 644 %{buildroot}%{_sysconfdir}/amanda/amanda-security.conf 
%{buildroot}%{_sysconfdir}/amanda-security.conf
chmod 644 %{buildroot}/%{_docdir}/%{name}/* %{buildroot}/%{_mandir}/*/*
cp -a SUSE/* %{buildroot}

# pdf doc
cp amanda-howto-collection.pdf %{buildroot}/%{_docdir}/%{name}/

# label templates
cp -a example/*.ps %{buildroot}%{_localstatedir}/lib/amanda/lbl-templ

# contain docs, examples which are already included
rm -rf %{buildroot}%{_datadir}/amanda

# bnc#412636
touch %{buildroot}/%{_libexecdir}/amanda/exclude.gtar

# delete all static linking remnats
find %{buildroot} \( -name "*.a" -o -name "*.la" \) -delete

# create a list of binaries to be checked externally
cat << EOF > %{buildroot}%{_libexecdir}/amanda/suidlist
%{_libexecdir}/amanda/ambind
%{_libexecdir}/amanda/application/ambsdtar
%{_libexecdir}/amanda/application/amgtar
%{_libexecdir}/amanda/application/amstar
%{_libexecdir}/amanda/calcsize
%{_libexecdir}/amanda/killpgrp
%{_libexecdir}/amanda/rundump
%{_libexecdir}/amanda/runtar
EOF

# create a symlink for amoldrecover manpage
ln -s amrecover.8.gz %{buildroot}%{_mandir}/man8/amoldrecover.8

%pre
# since 11.2 we use group "tape" instead of "disk" for tape devices /dev/nst*,
# so we must check group for "amanda" user
# create primary group for amanda user
%{_sbindir}/groupadd -r amanda 2>/dev/null || :
# if user already exists and has effective group "disk", we have to change this 
group
# to "amanda" group and also add supplementary "tape" group see bnc#523006
# else - move amanda to group amanda unconditionally (ignore failures if amanda 
doesn't exist)
%{_bindir}/id -n -g amanda 2>&1 | grep "disk" >/dev/null \
    && %{_sbindir}/usermod -g amanda -G tape amanda \
    || %{_sbindir}/usermod -g amanda amanda 2>&1 \
    || :
# this is ugly but just simple add user with "tape" and "amanda" groups 
regardless of existing user
%{_sbindir}/useradd -r -o -g amanda -G tape -u 37 -s /bin/bash \
    -c "Amanda admin" -d %{_localstatedir}/lib/amanda amanda >/dev/null 2>&1 || 
:

%post
%if 0%{?set_permissions:1}
%set_permissions %{_libexecdir}/amanda/ambind 
%{_libexecdir}/amanda/application/ambsdtar 
%{_libexecdir}/amanda/application/amgtar 
%{_libexecdir}/amanda/application/amstar %{_libexecdir}/amanda/calcsize 
%{_libexecdir}/amanda/killpgrp %{_libexecdir}/amanda/rundump 
%{_libexecdir}/amanda/runtar
%else
%run_permissions
%endif

%verifyscript
%verify_permissions -f %{_libexecdir}/amanda/suidlist

%files
%doc %attr(644,root,root) amanda-howto-collection.pdf ChangeLog NEWS AUTHORS 
COPYRIGHT README ReleaseNotes README.SUSE
%doc %attr(755,root,root) %dir %{_docdir}/%{name}
%{_docdir}/%{name}
%{_mandir}/man*/*
%config %{_libexecdir}/amanda/exclude.gtar
%attr(755,root,root) %dir %{_libexecdir}/amanda
%attr(664,amanda,%{amanda_group}) %config(noreplace) %{_sysconfdir}/dumpdates
%attr(664,amanda,%{amanda_group}) %config(noreplace) %{_sysconfdir}/amandates
%attr(755,amanda,%{amanda_group}) %dir %{_sysconfdir}/amanda
%attr(755,amanda,%{amanda_group}) %dir %{_sysconfdir}/amanda/example
%attr(755,amanda,%{amanda_group}) %dir %{_localstatedir}/lib/amanda/
%attr(755,amanda,%{amanda_group}) %dir %{_localstatedir}/lib/amanda/disklist
%attr(755,amanda,%{amanda_group}) %dir 
%{_localstatedir}/lib/amanda/gnutar-lists/
%attr(755,amanda,%{amanda_group}) %dir %{_localstatedir}/lib/amanda/index/
%attr(755,amanda,%{amanda_group}) %dir %{_localstatedir}/lib/amanda/DailySet1
%attr(755,amanda,%{amanda_group}) %dir %{_localstatedir}/lib/amanda/lbl-templ
%attr(644,amanda,%{amanda_group}) %{_localstatedir}/lib/amanda/lbl-templ/*
%config %attr(644,amanda,%{amanda_group}) %{_localstatedir}/lib/amanda/.bashrc
%config %attr(644,amanda,%{amanda_group}) %{_localstatedir}/lib/amanda/.profile
# bnc#412636 file permissions of .amandahosts should be 600
%config %attr(600,amanda,%{amanda_group}) 
%{_localstatedir}/lib/amanda/.amandahosts
%config %attr(644,amanda,%{amanda_group}) 
%{_sysconfdir}/amanda/example/amanda.conf
# amanda-security.conf must be installed at %{_sysconfdir} and only root must 
be able to write it
# an example file should be installed at %{_sysconfdir}/amanda/ 
%config(noreplace) %attr(644, root, root) %{_sysconfdir}/amanda-security.conf
%{_sysconfdir}/amanda/amanda-security.conf
%config %attr(644,amanda,%{amanda_group}) %{_sysconfdir}/amanda/example/disklist
%dir %{_sysconfdir}/xinetd.d
%config(noreplace) %{_sysconfdir}/xinetd.d/*
# perl scripts
%dir %{perl_vendorlib}/Amanda/
%dir %{perl_vendorlib}/Amanda/Application
%dir %{perl_vendorlib}/Amanda/Changer
%dir %{perl_vendorlib}/Amanda/Config
%dir %{perl_vendorlib}/Amanda/Curinfo
%dir %{perl_vendorlib}/Amanda/DB
%dir %{perl_vendorlib}/Amanda/FetchDump
%dir %{perl_vendorlib}/Amanda/Chunker
%dir %{perl_vendorlib}/Amanda/Interactivity
%dir %{perl_vendorlib}/Amanda/IPC
%dir %{perl_vendorlib}/Amanda/Recovery
%dir %{perl_vendorlib}/Amanda/Report
%dir %{perl_vendorlib}/Amanda/Rest
%dir %{perl_vendorlib}/Amanda/Rest/Storages
%dir %{perl_vendorlib}/Amanda/Service
%dir %{perl_vendorlib}/Amanda/Taper
%dir %{perl_vendorlib}/Amanda/Taper/Scan
%dir %{perl_vendorlib}/auto/Amanda/
%dir %{perl_vendorlib}/auto/Amanda/Application
%dir %{perl_vendorlib}/auto/Amanda/Archive
%dir %{perl_vendorlib}/auto/Amanda/Cmdline
%dir %{perl_vendorlib}/auto/Amanda/Cmdfile
%dir %{perl_vendorlib}/auto/Amanda/Config
%dir %{perl_vendorlib}/auto/Amanda/Debug
%dir %{perl_vendorlib}/auto/Amanda/Device
%dir %{perl_vendorlib}/auto/Amanda/Disklist
%dir %{perl_vendorlib}/auto/Amanda/Feature
%dir %{perl_vendorlib}/auto/Amanda/Header
%dir %{perl_vendorlib}/auto/Amanda/IPC
%dir %{perl_vendorlib}/auto/Amanda/IPC/Binary
%dir %{perl_vendorlib}/auto/Amanda/Logfile
%dir %{perl_vendorlib}/auto/Amanda/MainLoop
%dir %{perl_vendorlib}/auto/Amanda/NDMP
%dir %{perl_vendorlib}/auto/Amanda/Tapelist
%dir %{perl_vendorlib}/auto/Amanda/Tests
%dir %{perl_vendorlib}/auto/Amanda/Util
%dir %{perl_vendorlib}/auto/Amanda/Xfer
%dir %{perl_vendorlib}/auto/Amanda/XferServer
%{perl_vendorlib}/Amanda/*/*/*.pm
%{perl_vendorlib}/Amanda/*/*.pm
%{perl_vendorlib}/Amanda/*.pm
%{perl_vendorlib}/auto/Amanda/*/*.so
%{perl_vendorlib}/auto/Amanda/*/*/*.so
%defattr(755,amanda,%{amanda_group})
%{_sbindir}/amadmin
%{_sbindir}/ambackup
%{_sbindir}/amreindex
%{_sbindir}/amssl
%{_sbindir}/amanda-rest-server
%{_sbindir}/amcheckdb
%{_sbindir}/amcleanup
%{_sbindir}/amdump
%{_sbindir}/amflush
%{_sbindir}/amgetconf
%{_sbindir}/amlabel
%{_sbindir}/amoverview
%{_sbindir}/amplot
%{_sbindir}/amcheck
%attr(0750,amanda,%{amanda_group}) %{_sbindir}/amrecover
%{_sbindir}/amreport
%{_sbindir}/amrestore
%{_sbindir}/amrmtape
%{_sbindir}/amstatus
%{_sbindir}/amtape
%{_sbindir}/amtapetype
%{_sbindir}/amtoc
%{_sbindir}/amcrypt-ossl
%{_sbindir}/amcrypt-ossl-asym
%{_sbindir}/amoldrecover
%{_sbindir}/amgpgcrypt
%{_sbindir}/amaespipe
%{_sbindir}/amcrypt
%{_sbindir}/amfetchdump
%{_sbindir}/amaddclient
%{_sbindir}/amarchiver
%{_sbindir}/amcheckdump
%{_sbindir}/amcryptsimple
%{_sbindir}/amdevcheck
%{_sbindir}/amdump_client
%{_sbindir}/amserverconfig
%{_sbindir}/amservice
%{_sbindir}/amvault
%{_sbindir}/activate-devpay
%defattr(644,amanda,%{amanda_group})
%{_libexecdir}/amanda/suidlist
%{_libexecdir}/amanda/amcat.awk
%{_libexecdir}/amanda/amplot.awk
%{_libexecdir}/amanda/amplot.g
%{_libexecdir}/amanda/amplot.gp
%defattr(755,amanda,%{amanda_group})
%{_libexecdir}/amanda/amandad
%{_libexecdir}/amanda/amdumpd
%{_libexecdir}/amanda/amidxtaped
%{_libexecdir}/amanda/amindexd
%{_libexecdir}/amanda/amtrmidx
%{_libexecdir}/amanda/driver
%{_libexecdir}/amanda/amadmin_perl
%{_libexecdir}/amanda/ambackupd
%{_libexecdir}/amanda/rest-server/
%{_libexecdir}/amanda/amcheck-device
%{_sbindir}/amcleanupdisk
%{_libexecdir}/amanda/amlogroll
%{_libexecdir}/amanda/amndmjob
%{_libexecdir}/amanda/amtrmlog
%{_libexecdir}/amanda/patch-system
%{_libexecdir}/amanda/selfcheck
%{_libexecdir}/amanda/sendbackup
%{_libexecdir}/amanda/sendsize
%{_libexecdir}/amanda/taper
%{_libexecdir}/amanda/chunker
%{_libexecdir}/amanda/noop
%{_libexecdir}/amanda/ndmjob
%{_libexecdir}/amanda/amanda-sh-lib.sh
%{_libexecdir}/amanda/teecount
%{_libexecdir}/amanda/restore
%{_libexecdir}/amanda/senddiscover
%{_libexecdir}/amanda/dumper
%{_libexecdir}/amanda/planner
%attr(0755 root root) %dir %{_libexecdir}/amanda/application/
%{_libexecdir}/amanda/application/amlog-script
%{_libexecdir}/amanda/application/ampgsql
%{_libexecdir}/amanda/application/amrandom
%{_libexecdir}/amanda/application/amraw
%{_libexecdir}/amanda/application/amsamba
%{_libexecdir}/amanda/application/amsuntar
%{_libexecdir}/amanda/application/amzfs-sendrecv
%{_libexecdir}/amanda/application/amzfs-snapshot
%{_libexecdir}/amanda/application/script-email
%{_libexecdir}/amanda/application/script-fail
%verify(not mode) %attr(0750,root,%{amanda_group})%{_libexecdir}/amanda/ambind
%verify(not mode) 
%attr(0750,root,%{amanda_group})%{_libexecdir}/amanda/application/ambsdtar
%verify(not mode) 
%attr(0750,root,%{amanda_group})%{_libexecdir}/amanda/application/amgtar
%verify(not mode) 
%attr(0750,root,%{amanda_group})%{_libexecdir}/amanda/application/amstar
%verify(not mode) %attr(0750,root,%{amanda_group})%{_libexecdir}/amanda/calcsize
%verify(not mode) %attr(0750,root,%{amanda_group})%{_libexecdir}/amanda/killpgrp
%verify(not mode) %attr(0750,root,%{amanda_group})%{_libexecdir}/amanda/rundump
%verify(not mode) %attr(0750,root,%{amanda_group})%{_libexecdir}/amanda/runtar
# include shared libs
%dir %{_libdir}/amanda/
%{_libdir}/amanda/lib*

%changelog
++++++ amanda-2.6.1p1-avoid-perl-provides.patch ++++++
Index: amanda-2.6.1p1/perl/Amanda/BigIntCompat.pm
===================================================================
--- amanda-2.6.1p1.orig/perl/Amanda/BigIntCompat.pm     2008-12-16 
01:03:38.000000000 +0100
+++ amanda-2.6.1p1/perl/Amanda/BigIntCompat.pm  2011-04-30 17:21:41.515787668 
+0200
@@ -60,7 +60,8 @@ our $stringify = overload::Method($test_
 
 if ($test_num =~ /^\+/) {
     eval <<'EVAL';
-        package Math::BigInt;
+        package
+            Math::BigInt;
         use overload 'eq' => sub {
            my ($self, $other) = @_;
            return "$self" eq "$other";
@@ -82,7 +83,8 @@ EVAL
 # by bigint2uint64().
 if (!$test_num->can("sign")) {
     eval <<'EVAL';
-       package Math::BigInt;
+       package 
+           Math::BigInt;
        sub sign { ($_[0] =~ /^-/)? "-" : "+"; }
 EVAL
     die $@ if $@;
@@ -91,7 +93,8 @@ EVAL
 # similarly for bstr
 if (!$test_num->can("bstr")) {
     eval <<'EVAL';
-       package Math::BigInt;
+       package 
+           Math::BigInt;
        sub bstr { "$_[0]"; }
 EVAL
     die $@ if $@;
++++++ amanda-2.6.1p1-return_val.patch ++++++
Index: perl/Amanda/MainLoop.c
===================================================================
--- perl/Amanda/MainLoop.c.orig
+++ perl/Amanda/MainLoop.c
@@ -1581,6 +1581,7 @@ void quit(void) {
  static void amglue_source_remove(amglue_Source *self); 
 SWIGINTERN amglue_Source *new_amglue_Source(void){
            die("Amanda::MainLoop::Source is an abstract base class");
+           return NULL;
        }
 SWIGINTERN void delete_amglue_Source(amglue_Source *self){
            amglue_source_unref(self);
++++++ amanda-2.6.1p1-shellbang.patch ++++++
--- common-src/amanda-sh-lib.sh.in
+++ common-src/amanda-sh-lib.sh.in
@@ -1,3 +1,4 @@
+#!@SHELL@
 # Shell library containing functions and definitions common to amanda's
 # shell scripts and wrappers.
++++++ amanda-3.3.2-returnvalues.patch ++++++
Index: amanda-3.3.2/ndmp-src/ndmp4_translate.c
===================================================================
--- amanda-3.3.2.orig/ndmp-src/ndmp4_translate.c        2012-07-25 
17:47:14.000000000 +0200
+++ amanda-3.3.2/ndmp-src/ndmp4_translate.c     2012-10-05 15:42:55.000000000 
+0200
@@ -214,6 +214,8 @@
        for (i = 0; i < n_pval; i++)
                ndmp_4to9_pval_free(&pval9[i]);
        NDMOS_MACRO_FREE(pval9);
+
+       return 0;
 }
 
 /*
@@ -2609,7 +2611,7 @@
 ndmp_4to9_data_get_env_free_reply (
   ndmp9_data_get_env_reply *reply9)
 {
-       ndmp_4to9_pval_vec_free(reply9->env.env_val, reply9->env.env_len);
+       return ndmp_4to9_pval_vec_free(reply9->env.env_val, 
reply9->env.env_len);
 }
 
 int
@@ -3239,6 +3241,8 @@
        }
 
        NDMOS_MACRO_FREE(request9->files.files_val);
+
+       return 0;
 }
 
 int
++++++ amanda-3.5-no_return_in_nonvoid_fnc.patch ++++++
Index: amanda-3.5/perl/Amanda/Config.c
===================================================================
--- amanda-3.5.orig/perl/Amanda/Config.c
+++ amanda-3.5/perl/Amanda/Config.c
@@ -1845,6 +1845,7 @@ val_t_to_sv(val_t *val, SV **results) {
 
 fail:
     SWIG_croak_null();
+    return 0;
 }
 
 
@@ -2258,6 +2259,7 @@ val_t_to_print(val_t *val, SV **results)
 
 fail:
     SWIG_croak_null();
+    return 0;
 }
 
 
++++++ amanda-libnsl.patch ++++++
Index: amanda-3.5.1/configure.ac
===================================================================
--- amanda-3.5.1.orig/configure.ac
+++ amanda-3.5.1/configure.ac
@@ -25,7 +25,7 @@ dnl These lines *must* be in configure.i
 AM_GNU_GETTEXT_VERSION([0.15])
 AM_GNU_GETTEXT([external])
 AMANDA_PROG_GETTEXT
-
+AC_SEARCH_LIBS([xdr_void], [tirpc nsl])
 
 dnl
 dnl Set up files for autoconf substitution.  All files are listed here, in
++++++ amanda-timestamp.patch ++++++
---
 common-src/Makefile.am |    2 +-
 common-src/Makefile.in |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Index: amanda-3.5/common-src/Makefile.am
===================================================================
--- amanda-3.5.orig/common-src/Makefile.am
+++ amanda-3.5/common-src/Makefile.am
@@ -171,7 +171,7 @@ genversion.$(OBJEXT): $(genversion_SOURC
 genversion.h ../perl/Amanda/Constants.pm.in: $(top_builddir)/config.status
        -rm -f genversion.h genversion.h.new
        echo '#define CC "$(CC)"' > genversion.h.new
-       GENDATE=`date`; \
+       GENDATE="today"; \
        echo '#define BUILT_DATE "'$$GENDATE'"' >> genversion.h.new; \
        echo '#define BUILT_MACH "$(target)"' >> genversion.h.new; \
        mv genversion.h.new genversion.h; \
Index: amanda-3.5/common-src/Makefile.in
===================================================================
--- amanda-3.5.orig/common-src/Makefile.in
+++ amanda-3.5/common-src/Makefile.in
@@ -3204,7 +3204,7 @@ genversion.$(OBJEXT): $(genversion_SOURC
 genversion.h ../perl/Amanda/Constants.pm.in: $(top_builddir)/config.status
        -rm -f genversion.h genversion.h.new
        echo '#define CC "$(CC)"' > genversion.h.new
-       GENDATE=`date`; \
+       GENDATE="today"; \
        echo '#define BUILT_DATE "'$$GENDATE'"' >> genversion.h.new; \
        echo '#define BUILT_MACH "$(target)"' >> genversion.h.new; \
        mv genversion.h.new genversion.h; \

Reply via email to