Blame SPECS/amanda.spec

f09cb9
%define _libexecdir %{_libdir}
f09cb9
%define defconfig DailySet1
f09cb9
%define indexserver amandahost
f09cb9
%define tapeserver %{indexserver}
f09cb9
%define amanda_user amandabackup
f09cb9
%define amanda_group disk
f09cb9
f09cb9
%global _hardened_build 1
f09cb9
f09cb9
Summary: A network-capable tape backup solution
f09cb9
Name: amanda
f09cb9
Version: 3.3.3
f09cb9
Release: 21%{?dist}
f09cb9
Source: http://downloads.sourceforge.net/amanda/amanda-%{version}.tar.gz
f09cb9
Source1: amanda.crontab
f09cb9
Source4: disklist
f09cb9
Source8: amandahosts
f09cb9
Source9: amanda.socket
f09cb9
Source10: amanda@.service
f09cb9
Source11: activate-devpay.1.gz
f09cb9
Source12: killpgrp.8
f09cb9
Source13: amanda-udp.socket
f09cb9
Source14: amanda-udp.service
f09cb9
Source15: kamanda.socket
f09cb9
Source16: kamanda@.service
f09cb9
Patch2: amanda-3.1.1-xattrs.patch
f09cb9
Patch3: amanda-3.1.1-tcpport.patch
f09cb9
Patch6: amanda-3.2.0-config-dir.patch
f09cb9
Patch10: amanda-3.3.1-stdio.patch
f09cb9
Patch11: amanda-3.3.2-autogen.patch
f09cb9
Patch12: amanda-common-makefile.patch
f09cb9
Patch13: amanda-error-amrecover.patch
f09cb9
Patch14: amanda-3.3.3-non-blocking-connection.patch
f09cb9
Patch15: amanda-3.3.3-krb5.patch
f09cb9
Patch16: amanda-3.3.3-decompress.patch
f09cb9
Patch17: amanda-3.3.3-non-blocking-connection-2.patch
f09cb9
Patch18: amanda-3.3.3-check-return.patch
f09cb9
Patch19: amanda-3.3.3-local-security-gid.patch
f09cb9
f09cb9
f09cb9
License: BSD and GPLv3+ and GPLv2+ and GPLv2
f09cb9
Group: Applications/System
f09cb9
URL: http://www.amanda.org
f09cb9
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
f09cb9
BuildRequires: automake autoconf libtool
f09cb9
BuildRequires: dump, xfsdump
f09cb9
BuildRequires: gnuplot cups samba-client tar grep fileutils
f09cb9
BuildRequires: gcc-c++ readline-devel
f09cb9
BuildRequires: krb5-devel rsh openssh-clients ncompress mtx mt-st
f09cb9
BuildRequires: perl-devel perl(ExtUtils::Embed) perl(Test::Simple)
f09cb9
BuildRequires: glib2-devel openssl-devel swig bison flex
f09cb9
BuildRequires: libcurl-devel
f09cb9
Requires(pre): shadow-utils
f09cb9
Requires(post): grep sed systemd-units
f09cb9
Requires(preun): systemd-units
f09cb9
Requires(postun): systemd-units
f09cb9
Requires: fileutils grep initscripts tar /bin/mail
f09cb9
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
f09cb9
Requires: amanda-libs%{?_isa} = %{version}-%{release}
f09cb9
Obsoletes: amanda-devel < 2.6.1p2-9
f09cb9
f09cb9
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Math::BigInt\\)
f09cb9
f09cb9
%description 
f09cb9
AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
f09cb9
backup system that allows the administrator of a LAN to set up a
f09cb9
single master backup server to back up multiple hosts to one or more
f09cb9
tape drives or disk files.  AMANDA uses native dump and/or GNU tar
f09cb9
facilities and can back up a large number of workstations running
f09cb9
multiple versions of Unix.  Newer versions of AMANDA (including this
f09cb9
version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts.
f09cb9
The amanda package contains the core AMANDA programs and will need to
f09cb9
be installed on both AMANDA clients and AMANDA servers.  Note that you
f09cb9
will have to install the amanda-client and/or amanda-server packages as
f09cb9
well.
f09cb9
f09cb9
%package libs
f09cb9
Summary:    Amanda libraries
f09cb9
Group:      Applications/System
f09cb9
Requires:   fileutils grep
f09cb9
f09cb9
%description libs
f09cb9
This package contains basic Amanda libraries, which are used by all
f09cb9
Amanda programs.
f09cb9
f09cb9
%package client
f09cb9
Summary: The client component of the AMANDA tape backup system
f09cb9
Group: Applications/System
f09cb9
Requires: fileutils grep
f09cb9
Requires(pre): amanda = %{version}-%{release}
f09cb9
f09cb9
%description client
f09cb9
The Amanda-client package should be installed on any machine that will
f09cb9
be backed up by AMANDA (including the server if it also needs to be
f09cb9
backed up).  You will also need to install the amanda package on each
f09cb9
AMANDA client machine.
f09cb9
f09cb9
%package server
f09cb9
Summary: The server side of the AMANDA tape backup system
f09cb9
Group: Applications/System
f09cb9
Requires: fileutils grep 
f09cb9
Requires(pre): amanda = %{version}-%{release}
f09cb9
f09cb9
%description server
f09cb9
The amanda-server package should be installed on the AMANDA server,
f09cb9
the machine attached to the device(s) (such as a tape drive) where backups
f09cb9
will be written. You will also need to install the amanda package on
f09cb9
the AMANDA server machine.  And, if the server is also to be backed up, the
f09cb9
server also needs to have the amanda-client package installed.
f09cb9
f09cb9
%prep
f09cb9
%setup -q -n %{name}-%{version}
f09cb9
%patch2 -p1 -b .xattrs
f09cb9
%patch3 -p1 -b .tcpport
f09cb9
%patch6 -p1 -b .config
f09cb9
%patch10 -p1 -b .stdio
f09cb9
%patch11 -p1 -b .autogen
f09cb9
%patch12 -p1 -b .common-makefile
f09cb9
%patch13 -p1 -b .error-amrecover
f09cb9
%patch14 -p1 -b .non-blocking-connection
f09cb9
%patch15 -p1 -b .krb5.patch
f09cb9
%patch16 -p1 -b .decompression
f09cb9
%patch17 -p1 -b .non-blocking-connection-2
f09cb9
%patch18 -p1 -b .check-return
f09cb9
%patch19 -p1 -b .local-security-gid
f09cb9
./autogen
f09cb9
f09cb9
%build
f09cb9
export MAILER=/bin/mail CFLAGS="$RPM_OPT_FLAGS -fPIE -fstack-protector-strong -z relro -z now" LDFLAGS=-pie
f09cb9
f09cb9
%configure --enable-shared \
f09cb9
           --disable-rpath \
f09cb9
           --disable-static \
f09cb9
           --disable-dependency-tracking \
f09cb9
           --disable-installperms \
f09cb9
           --with-amdatadir=%{_localstatedir}/lib/amanda \
f09cb9
           --with-amlibdir=%{_libdir} \
f09cb9
           --with-amperldir=%{perl_vendorarch} \
f09cb9
           --with-index-server=%{indexserver} \
f09cb9
           --with-tape-server=%{tapeserver} \
f09cb9
           --with-config=%{defconfig} \
f09cb9
           --with-gnutar-listdir=%{_localstatedir}/lib/amanda/gnutar-lists \
f09cb9
           --with-smbclient=%{_bindir}/smbclient \
f09cb9
           --with-amandates=%{_localstatedir}/lib/amanda/amandates \
f09cb9
           --with-amandahosts \
f09cb9
           --with-user=%amanda_user \
f09cb9
           --with-group=%amanda_group \
f09cb9
           --with-tmpdir=/var/log/amanda \
f09cb9
           --with-gnutar=/bin/tar \
f09cb9
           --with-ssh-security \
f09cb9
           --with-rsh-security \
f09cb9
           --with-bsdtcp-security \
f09cb9
           --with-bsdudp-security \
f09cb9
           --with-krb5-security
f09cb9
        
f09cb9
make %{?_smp_mflags}
f09cb9
f09cb9
f09cb9
%install
f09cb9
rm -rf ${RPM_BUILD_ROOT}
f09cb9
f09cb9
make install BINARY_OWNER=%(id -un) SETUID_GROUP=%(id -gn) DESTDIR=$RPM_BUILD_ROOT
f09cb9
f09cb9
mkdir -p $RPM_BUILD_ROOT/etc/amanda
f09cb9
mkdir -p $RPM_BUILD_ROOT/var/log/amanda
f09cb9
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/amanda
f09cb9
install -m 600 %SOURCE8 $RPM_BUILD_ROOT%{_localstatedir}/lib/amanda/.amandahosts
f09cb9
install -p -m 644 -D %{SOURCE9} %{buildroot}%{_unitdir}/amanda.socket
f09cb9
install -p -m 644 -D %{SOURCE10} %{buildroot}%{_unitdir}/amanda@.service
f09cb9
install -p -m 644 -D %{SOURCE13} %{buildroot}%{_unitdir}/amanda-udp.socket
f09cb9
install -p -m 644 -D %{SOURCE14} %{buildroot}%{_unitdir}/amanda-udp.service
f09cb9
install -p -m 644 -D %{SOURCE15} %{buildroot}%{_unitdir}/kamanda.socket
f09cb9
install -p -m 644 -D %{SOURCE16} %{buildroot}%{_unitdir}/kamanda@.service
f09cb9
install -D %{SOURCE11}  %{buildroot}/%{_mandir}/man1/activate-devpay.1.gz
f09cb9
install -D %{SOURCE12}  %{buildroot}/%{_mandir}/man8/killpgrp.8
f09cb9
f09cb9
ln -s %{_libexecdir}/amanda/amandad $RPM_BUILD_ROOT%{_sbindir}/amandad
f09cb9
ln -s amrecover.8.gz $RPM_BUILD_ROOT%{_mandir}/man8/amoldrecover.8
f09cb9
f09cb9
pushd ${RPM_BUILD_ROOT}
f09cb9
  mv .%{_localstatedir}/lib/amanda/example .%{_sysconfdir}/amanda/%defconfig
f09cb9
  cp ${RPM_SOURCE_DIR}/amanda.crontab .%{_sysconfdir}/amanda/crontab.sample
f09cb9
  cp ${RPM_SOURCE_DIR}/disklist .%{_sysconfdir}/amanda/%defconfig
f09cb9
  cp ${RPM_SOURCE_DIR}/disklist .%{_sysconfdir}/amanda/%defconfig
f09cb9
  rm -f .%{_sysconfdir}/amanda/%defconfig/xinetd*
f09cb9
  rm -f .%{_sysconfdir}/amanda/%defconfig/inetd*
f09cb9
f09cb9
  mkdir -p .%{_localstatedir}/lib/amanda/gnutar-lists
f09cb9
  mkdir -p .%{_localstatedir}/lib/amanda/%defconfig/index
f09cb9
  touch .%{_localstatedir}/lib/amanda/amandates
f09cb9
popd
f09cb9
rm -rf $RPM_BUILD_ROOT/usr/share/amanda
f09cb9
find $RPM_BUILD_ROOT -name \*.la | xargs rm
f09cb9
f09cb9
%check
f09cb9
make check
f09cb9
f09cb9
%clean 
f09cb9
rm -rf ${RPM_BUILD_ROOT}
f09cb9
f09cb9
%pre
f09cb9
/usr/sbin/useradd -M -N -g %amanda_group -o -r -d %{_localstatedir}/lib/amanda -s /bin/bash \
f09cb9
        -c "Amanda user" -u 33 %amanda_user >/dev/null 2>&1 || :
f09cb9
/usr/bin/gpasswd -a %amanda_user tape >/dev/null 2>&1 || :
f09cb9
f09cb9
%post
f09cb9
/sbin/ldconfig
f09cb9
%systemd_post amanda.socket
f09cb9
%systemd_post amanda-udp.socket
f09cb9
%systemd_post kamanda.socket
f09cb9
f09cb9
%preun
f09cb9
%systemd_preun amanda.socket
f09cb9
%systemd_preun amanda-udp.socket
f09cb9
%systemd_preun kamanda.socket
f09cb9
f09cb9
%postun
f09cb9
/sbin/ldconfig
f09cb9
%systemd_postun_with_restart amanda.socket
f09cb9
%systemd_postun_with_restart amanda-udp.socket
f09cb9
%systemd_postun_with_restart kamanda.socket
f09cb9
f09cb9
%post client -p /sbin/ldconfig
f09cb9
f09cb9
%post server -p /sbin/ldconfig
f09cb9
f09cb9
%postun client -p /sbin/ldconfig
f09cb9
f09cb9
%postun server -p /sbin/ldconfig
f09cb9
f09cb9
%files
f09cb9
%defattr(-,root,root)
f09cb9
%doc COPYRIGHT* NEWS README
f09cb9
%{_unitdir}/amanda@.service
f09cb9
%{_unitdir}/amanda.socket
f09cb9
%{_unitdir}/amanda-udp.service
f09cb9
%{_unitdir}/amanda-udp.socket
f09cb9
%{_unitdir}/kamanda@.service
f09cb9
%{_unitdir}/kamanda.socket
f09cb9
f09cb9
f09cb9
%{_sbindir}/amandad
f09cb9
%{_sbindir}/amaespipe
f09cb9
%{_sbindir}/amarchiver
f09cb9
%{_sbindir}/amcrypt
f09cb9
%{_sbindir}/amcrypt-ossl
f09cb9
%{_sbindir}/amcrypt-ossl-asym
f09cb9
%{_sbindir}/amcryptsimple
f09cb9
%{_sbindir}/amgetconf
f09cb9
%{_sbindir}/amgpgcrypt
f09cb9
%{_sbindir}/amplot
f09cb9
f09cb9
%{_mandir}/man5/amanda-archive-format.5*
f09cb9
%{_mandir}/man7/amanda-compatibility.7*
f09cb9
%{_mandir}/man5/amanda.conf*
f09cb9
%{_mandir}/man7/amanda-auth.7*
f09cb9
%{_mandir}/man7/amanda-match.7*
f09cb9
%{_mandir}/man7/amanda-scripts.7*
f09cb9
%{_mandir}/man8/amanda.8*
f09cb9
%{_mandir}/man8/amarchiver.8*
f09cb9
%{_mandir}/man8/amplot.8*
f09cb9
%{_mandir}/man8/script-email.8*
f09cb9
%{_mandir}/man8/amaespipe.8*
f09cb9
%{_mandir}/man8/amcrypt-ossl-asym.8*
f09cb9
%{_mandir}/man8/amcrypt-ossl.8*
f09cb9
%{_mandir}/man8/amcryptsimple.8*
f09cb9
%{_mandir}/man8/amcrypt.8*
f09cb9
%{_mandir}/man8/amgpgcrypt.8*
f09cb9
%{_mandir}/man8/amgetconf.8*
f09cb9
%{_mandir}/man8/amcleanupdisk.8*
f09cb9
f09cb9
%dir %{_sysconfdir}/amanda/
f09cb9
%dir %{_sysconfdir}/amanda/%defconfig
f09cb9
f09cb9
%attr(-,%amanda_user,%amanda_group)     %dir %{_localstatedir}/lib/amanda/
f09cb9
%attr(600,%amanda_user,%amanda_group)   %config(noreplace) %{_localstatedir}/lib/amanda/.amandahosts
f09cb9
%attr(02700,%amanda_user,%amanda_group) %dir /var/log/amanda
f09cb9
f09cb9
%files libs
f09cb9
%dir %{_libexecdir}/amanda
f09cb9
%{_libexecdir}/amanda/amandad
f09cb9
%{_libexecdir}/amanda/amanda-sh-lib.sh
f09cb9
%{_libexecdir}/amanda/amcat.awk
f09cb9
%{_libexecdir}/amanda/amndmjob
f09cb9
%{_libexecdir}/amanda/amplot.awk
f09cb9
%{_libexecdir}/amanda/amplot.g
f09cb9
%{_libexecdir}/amanda/amplot.gp
f09cb9
%{_libexecdir}/amanda/ndmjob
f09cb9
f09cb9
%{_libdir}/libamdevice*.so
f09cb9
%{_libdir}/libamserver*.so
f09cb9
%{_libdir}/libamclient*.so
f09cb9
%{_libdir}/libamanda-*.so
f09cb9
%{_libdir}/libamanda.so
f09cb9
%{_libdir}/libamandad*.so
f09cb9
%{_libdir}/libamar*.so
f09cb9
%{_libdir}/libamglue*.so
f09cb9
%{_libdir}/libamxfer*.so
f09cb9
%{_libdir}/libndmjob*.so
f09cb9
%{_libdir}/libndmlib*.so
f09cb9
%{perl_vendorarch}/Amanda/Archive.pm
f09cb9
%{perl_vendorarch}/Amanda/BigIntCompat.pm
f09cb9
%{perl_vendorarch}/Amanda/ClientService.pm
f09cb9
%{perl_vendorarch}/Amanda/Config.pm
f09cb9
%{perl_vendorarch}/Amanda/Config/
f09cb9
%{perl_vendorarch}/Amanda/Constants.pm
f09cb9
%{perl_vendorarch}/Amanda/Debug.pm
f09cb9
%{perl_vendorarch}/Amanda/Feature.pm
f09cb9
%{perl_vendorarch}/Amanda/Header.pm
f09cb9
%{perl_vendorarch}/Amanda/IPC
f09cb9
%{perl_vendorarch}/Amanda/MainLoop.pm
f09cb9
%{perl_vendorarch}/Amanda/NDMP.pm
f09cb9
%{perl_vendorarch}/Amanda/Paths.pm
f09cb9
%{perl_vendorarch}/Amanda/Process.pm
f09cb9
%{perl_vendorarch}/Amanda/Script_App.pm
f09cb9
%{perl_vendorarch}/Amanda/Script.pm
f09cb9
%{perl_vendorarch}/Amanda/Tests.pm
f09cb9
%{perl_vendorarch}/Amanda/Util.pm
f09cb9
%{perl_vendorarch}/Amanda/Xfer.pm
f09cb9
f09cb9
%{perl_vendorarch}/auto/Amanda/Application/
f09cb9
%{perl_vendorarch}/auto/Amanda/Cmdline/
f09cb9
%{perl_vendorarch}/auto/Amanda/Device/
f09cb9
%{perl_vendorarch}/auto/Amanda/Disklist/
f09cb9
%{perl_vendorarch}/auto/Amanda/Logfile/
f09cb9
%{perl_vendorarch}/auto/Amanda/Tapelist/
f09cb9
%{perl_vendorarch}/auto/Amanda/XferServer/
f09cb9
%{perl_vendorarch}/auto/Amanda/Archive/
f09cb9
%{perl_vendorarch}/auto/Amanda/Config/
f09cb9
%{perl_vendorarch}/auto/Amanda/Debug/
f09cb9
%{perl_vendorarch}/auto/Amanda/Feature/
f09cb9
%{perl_vendorarch}/auto/Amanda/Header/
f09cb9
%{perl_vendorarch}/auto/Amanda/IPC/
f09cb9
%{perl_vendorarch}/auto/Amanda/MainLoop/
f09cb9
%{perl_vendorarch}/auto/Amanda/NDMP/
f09cb9
%{perl_vendorarch}/auto/Amanda/Tests/
f09cb9
%{perl_vendorarch}/auto/Amanda/Util/
f09cb9
%{perl_vendorarch}/auto/Amanda/Xfer/
f09cb9
%{_libexecdir}/amanda/amdumpd
f09cb9
%{_libexecdir}/amanda/amcheck-device
f09cb9
%{_libexecdir}/amanda/amidxtaped
f09cb9
%{_libexecdir}/amanda/amindexd
f09cb9
%{_libexecdir}/amanda/amlogroll
f09cb9
%{_libexecdir}/amanda/amtrmidx
f09cb9
%{_libexecdir}/amanda/amtrmlog
f09cb9
%{_libexecdir}/amanda/driver
f09cb9
%attr(4750,root,%amanda_group) %{_libexecdir}/amanda/dumper
f09cb9
%{_libexecdir}/amanda/chg-disk
f09cb9
%{_libexecdir}/amanda/chg-lib.sh
f09cb9
%{_libexecdir}/amanda/chg-manual
f09cb9
%{_libexecdir}/amanda/chg-multi
f09cb9
%{_libexecdir}/amanda/chg-zd-mtx
f09cb9
%{_libexecdir}/amanda/chunker
f09cb9
%attr(4750,root,%amanda_group) %{_libexecdir}/amanda/planner
f09cb9
%{_libexecdir}/amanda/taper
f09cb9
%{perl_vendorarch}/Amanda/Cmdline.pm
f09cb9
%{perl_vendorarch}/Amanda/Curinfo/
f09cb9
%{perl_vendorarch}/Amanda/Curinfo.pm
f09cb9
%{perl_vendorarch}/Amanda/DB/
f09cb9
%{perl_vendorarch}/Amanda/Device.pm
f09cb9
%{perl_vendorarch}/Amanda/Disklist.pm
f09cb9
%{perl_vendorarch}/Amanda/Extract.pm
f09cb9
%{perl_vendorarch}/Amanda/Holding.pm
f09cb9
%{perl_vendorarch}/Amanda/Changer/
f09cb9
%{perl_vendorarch}/Amanda/Changer.pm
f09cb9
%{perl_vendorarch}/Amanda/Interactivity/
f09cb9
%{perl_vendorarch}/Amanda/Interactivity.pm
f09cb9
%{perl_vendorarch}/Amanda/Logfile.pm
f09cb9
%{perl_vendorarch}/Amanda/Recovery/
f09cb9
%{perl_vendorarch}/Amanda/Report/
f09cb9
%{perl_vendorarch}/Amanda/Report.pm
f09cb9
%{perl_vendorarch}/Amanda/ScanInventory.pm
f09cb9
%{perl_vendorarch}/Amanda/Tapelist.pm
f09cb9
%{perl_vendorarch}/Amanda/Taper/
f09cb9
%{perl_vendorarch}/Amanda/XferServer.pm
f09cb9
%dir %{_libexecdir}/amanda/application/
f09cb9
%attr(4750,root,%amanda_group) %{_libexecdir}/amanda/application/amgtar
f09cb9
%attr(4750,root,%amanda_group) %{_libexecdir}/amanda/application/amstar
f09cb9
%{_libexecdir}/amanda/application/amlog-script
f09cb9
%{_libexecdir}/amanda/application/ampgsql
f09cb9
%{_libexecdir}/amanda/application/amraw
f09cb9
%{_libexecdir}/amanda/application/amsamba
f09cb9
%{_libexecdir}/amanda/application/amsuntar
f09cb9
%{_libexecdir}/amanda/application/amzfs-sendrecv
f09cb9
%{_libexecdir}/amanda/application/amzfs-snapshot
f09cb9
%{_libexecdir}/amanda/application/script-email
f09cb9
f09cb9
%attr(4750,root,%amanda_group) %{_libexecdir}/amanda/calcsize
f09cb9
%attr(4750,root,%amanda_group) %{_libexecdir}/amanda/killpgrp
f09cb9
%{_libexecdir}/amanda/noop
f09cb9
%{_libexecdir}/amanda/patch-system
f09cb9
%attr(4750,root,%amanda_group) %{_libexecdir}/amanda/rundump
f09cb9
%attr(4750,root,%amanda_group) %{_libexecdir}/amanda/runtar
f09cb9
%{_libexecdir}/amanda/selfcheck
f09cb9
%{_libexecdir}/amanda/sendbackup
f09cb9
%{_libexecdir}/amanda/sendsize
f09cb9
%{_libexecdir}/amanda/teecount
f09cb9
%{perl_vendorarch}/Amanda/Application.pm
f09cb9
%{perl_vendorarch}/Amanda/Application/
f09cb9
f09cb9
%files server
f09cb9
%defattr(-,root,root)
f09cb9
%{_sbindir}/activate-devpay
f09cb9
%{_sbindir}/amaddclient
f09cb9
%{_sbindir}/amadmin
f09cb9
%{_sbindir}/amcleanup
f09cb9
%{_sbindir}/amcleanupdisk
f09cb9
%{_sbindir}/amdevcheck
f09cb9
%{_sbindir}/amdump
f09cb9
%{_sbindir}/amfetchdump
f09cb9
%{_sbindir}/amflush
f09cb9
%attr(4750,root,%amanda_group) %{_sbindir}/amcheck
f09cb9
%{_sbindir}/amcheckdb
f09cb9
%{_sbindir}/amcheckdump
f09cb9
%{_sbindir}/amlabel
f09cb9
%{_sbindir}/amoverview
f09cb9
%{_sbindir}/amreport
f09cb9
%{_sbindir}/amrestore
f09cb9
%{_sbindir}/amrmtape
f09cb9
%{_sbindir}/amserverconfig
f09cb9
%attr(4750,root,%amanda_group) %{_sbindir}/amservice
f09cb9
%{_sbindir}/amstatus
f09cb9
%{_sbindir}/amtape
f09cb9
%{_sbindir}/amtapetype
f09cb9
%{_sbindir}/amtoc
f09cb9
%{_sbindir}/amvault
f09cb9
f09cb9
%{_mandir}/man5/disklist.5*
f09cb9
%{_mandir}/man5/tapelist.5*
f09cb9
%{_mandir}/man7/amanda-devices.7*
f09cb9
%{_mandir}/man7/amanda-changers.7*
f09cb9
%{_mandir}/man7/amanda-interactivity.7*
f09cb9
%{_mandir}/man7/amanda-taperscan.7*
f09cb9
%{_mandir}/man8/amaddclient.8*
f09cb9
%{_mandir}/man8/amadmin.8*
f09cb9
%{_mandir}/man8/amcleanup.8*
f09cb9
%{_mandir}/man8/amdevcheck.8*
f09cb9
%{_mandir}/man8/amdump.8*
f09cb9
%{_mandir}/man8/amfetchdump.8*
f09cb9
%{_mandir}/man8/amflush.8*
f09cb9
%{_mandir}/man8/amcheckdb.8*
f09cb9
%{_mandir}/man8/amcheckdump.8*
f09cb9
%{_mandir}/man8/amcheck.8*
f09cb9
%{_mandir}/man8/amlabel.8*
f09cb9
%{_mandir}/man8/amoverview.8*
f09cb9
%{_mandir}/man8/amreport.8*
f09cb9
%{_mandir}/man8/amrestore.8*
f09cb9
%{_mandir}/man8/amrmtape.8*
f09cb9
%{_mandir}/man8/amserverconfig.8*
f09cb9
%{_mandir}/man8/amservice.8*
f09cb9
%{_mandir}/man8/amstatus.8*
f09cb9
%{_mandir}/man8/amtapetype.8*
f09cb9
%{_mandir}/man8/amtape.8*
f09cb9
%{_mandir}/man8/amtoc.8*
f09cb9
%{_mandir}/man8/amvault.8*
f09cb9
%{_mandir}/man1/activate-devpay.1*
f09cb9
f09cb9
%config(noreplace) %{_sysconfdir}/amanda/crontab.sample
f09cb9
%config(noreplace) %{_sysconfdir}/amanda/%defconfig/*
f09cb9
%exclude %{_sysconfdir}/amanda/%defconfig/amanda-client.conf
f09cb9
%exclude %{_sysconfdir}/amanda/%defconfig/amanda-client-postgresql.conf
f09cb9
f09cb9
%attr(-,%amanda_user,%amanda_group) %dir %{_localstatedir}/lib/amanda/%defconfig/
f09cb9
%attr(-,%amanda_user,%amanda_group) %dir %{_localstatedir}/lib/amanda/%defconfig/index
f09cb9
%attr(-,%amanda_user,%amanda_group) %dir %{_localstatedir}/lib/amanda/template.d
f09cb9
%attr(-,%amanda_user,%amanda_group) %config(noreplace) %{_localstatedir}/lib/amanda/template.d/*
f09cb9
f09cb9
%files client
f09cb9
%defattr(-,root,root)
f09cb9
f09cb9
%{_sbindir}/amdump_client
f09cb9
%{_sbindir}/amoldrecover
f09cb9
%{_sbindir}/amrecover
f09cb9
f09cb9
%{_mandir}/man7/amanda-applications.7*
f09cb9
%{_mandir}/man8/amdump_client.8*
f09cb9
%{_mandir}/man5/amanda-client.conf.5*
f09cb9
%{_mandir}/man8/amgtar.8*
f09cb9
%{_mandir}/man8/ampgsql.8*
f09cb9
%{_mandir}/man8/amraw.8*
f09cb9
%{_mandir}/man8/amrecover.8*
f09cb9
%{_mandir}/man8/amoldrecover.8*
f09cb9
%{_mandir}/man8/amsamba.8*
f09cb9
%{_mandir}/man8/amstar.8*
f09cb9
%{_mandir}/man8/amsuntar.8*
f09cb9
%{_mandir}/man8/amzfs-sendrecv.8*
f09cb9
%{_mandir}/man8/amzfs-snapshot.8*
f09cb9
%{_mandir}/man8/killpgrp.8*
f09cb9
f09cb9
%config(noreplace) %{_sysconfdir}/amanda/%defconfig/amanda-client.conf
f09cb9
%config(noreplace) %{_sysconfdir}/amanda/%defconfig/amanda-client-postgresql.conf
f09cb9
f09cb9
%attr(-,%amanda_user,%amanda_group) %config(noreplace) %{_localstatedir}/lib/amanda/amandates
f09cb9
%attr(-,%amanda_user,%amanda_group) %{_localstatedir}/lib/amanda/gnutar-lists/
f09cb9
f09cb9
f09cb9
%changelog
f09cb9
* Tue Jun 19 2018 Josef Ridky <jridky@redhat.com> - 3.3.3-21
f09cb9
- Resolves: #1417830 - check return value from setreuid method
f09cb9
- Resolves: #1423040 - fix local authentication issue
f09cb9
f09cb9
* Mon Jan 15 2018 Josef Ridky <jridky@redhat.com> - 3.3.3-20
f09cb9
- Resolves: #1532425 - fix problem with non-blocking connection
f09cb9
f09cb9
* Wed Aug 23 2017 Josef Ridky <jridky@redhat.com> - 3.3.3-19
f09cb9
- Resolves: #1299761 - fix amindex: invalid service in amanda@.service file
f09cb9
f09cb9
* Tue Jan 24 2017 Josef Ridky <jridky@redhat.com> - 3.3.3-18
f09cb9
- Resolves: #1286330 - set non-blocking connection
f09cb9
- Resolves: #1299761 - fix amindex: invalid service
f09cb9
- Resolves: #1306980 - fix problem with handling compressed files
f09cb9
f09cb9
* Tue Aug 23 2016 Petr Hracek <phracek@redhat.com> - 3.3.3-17
f09cb9
- Related: #1140321 Missing build dep on xfsdump
f09cb9
f09cb9
* Tue Mar 15 2016 Petr Hracek <phracek@redhat.com> - 3.3.3-16
f09cb9
- Fix bug error on amrecover tool for amanda backup server
f09cb9
- Resolves: #1157463
f09cb9
f09cb9
* Tue Mar 15 2016 Petr Hracek <phracek@redhat.com> - 3.3.3-15
f09cb9
- Fixes PIE and RELRO check
f09cb9
- Resolves: #1092359
f09cb9
f09cb9
* Thu Feb 18 2016 Petr Hracek <phracek@redhat.com> - 3.3.3-14
f09cb9
- Resolves: #1140321 Missing build dep on dump
f09cb9
f09cb9
* Tue Mar 18 2014 Petr Hracek <phracek@redhat.com> - 3.3.3-13
f09cb9
- Resolves: #881128 multilib conflicts
f09cb9
f09cb9
* Mon Mar 03 2014 Petr Hracek <phracek@redhat.com> - 3.3.3-12
f09cb9
- Add fstack-protector-strong into CFLAGS
f09cb9
- Resolves: #1070779
f09cb9
f09cb9
* Wed Feb 12 2014 Petr Hracek <phracek@redhat.com> - 3.3.3-11
f09cb9
- Move all libs including perl into amanda-libs package
f09cb9
- Resolves: #881128
f09cb9
f09cb9
* Fri Jan 31 2014 Petr Hracek <phracek@redhat.com> - 3.3.3-10
f09cb9
- systemd file incorrectly named
f09cb9
- Resolves: #1059994
f09cb9
f09cb9
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.3.3-9
f09cb9
- Mass rebuild 2014-01-24
f09cb9
f09cb9
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.3.3-8
f09cb9
- Mass rebuild 2013-12-27
f09cb9
f09cb9
* Fri Oct 25 2013 Petr Hracek <phracek@redhat.com> - 3.3.3-7
f09cb9
- Resolves: #881128 - Move all dynamic libraries into amanda-libs
f09cb9
f09cb9
* Mon Oct 21 2013 Petr Hracek <phracek@redhat.com> - 3.3.3-6
f09cb9
- Resolves: #881128 - Correct Makefile for building under s390x
f09cb9
f09cb9
* Mon Oct 21 2013 Petr Hracek <phracek@redhat.com> - 3.3.3-5
f09cb9
- Resolves: #881128 - package amanda-libs introduced because of multilib issue
f09cb9
f09cb9
* Tue Jul 16 2013 Petr Hracek <phracek@redhat.com> - 3.3.3-4
f09cb9
- Correct problem with man page killpgrp (#881128)
f09cb9
f09cb9
* Tue Jun 25 2013 Petr Hracek <phracek@redhat.com> - 3.3.3-3
f09cb9
- Remove dependency on dump in RHEL-7
f09cb9
f09cb9
* Tue Jun 18 2013 Petr Hracek <phracek@redhat.com> - 3.3.3-2
f09cb9
- Added systemd udp unit files
f09cb9
f09cb9
* Fri Mar 22 2013 Petr Hracek <phracek@redhat.com> - 3.3.3-1
f09cb9
- New upstream version
f09cb9
- Dependecy to /usr/sbin/service was removed.
f09cb9
 Instead of /usr/sbin/service systemd files are used.
f09cb9
f09cb9
* Thu Mar 21 2013 Petr Hracek <phracek@redhat.com> - 3.3.2-5
f09cb9
- Fix (#924326) Requires /sbin/service was changed to /usr/sbin/service
f09cb9
f09cb9
* Thu Jan 31 2013 Petr Hracek <phracek@redhat.com> - 3.3.2-4
f09cb9
- fix (#858703) add killpgrp(8) man page to the amanda-client package
f09cb9
    (killpgrp will be removed from man-pages package)
f09cb9
- Fix autogen for parallel tests. 
f09cb9
f09cb9
* Thu Dec 06 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 3.3.2-3
f09cb9
- Fix group ownership
f09cb9
- Add manpage for activate-devpay
f09cb9
f09cb9
* Tue Sep 18 2012 Petr Pisar <ppisar@redhat.com> - 3.3.2-2
f09cb9
- Do not provide perl(Math::BigInt) (bug #648321)
f09cb9
f09cb9
* Wed Aug 15 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 3.3.2-1
f09cb9
- upgrade to new upstream release
f09cb9
- convert to systemd
f09cb9
f09cb9
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.1-3
f09cb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f09cb9
f09cb9
* Wed Jun 27 2012 Petr Pisar <ppisar@redhat.com> - 3.3.1-2
f09cb9
- Perl 5.16 rebuild
f09cb9
f09cb9
* Wed Jun 20 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 3.3.1-1
f09cb9
- upgrade to new upstream release
f09cb9
f09cb9
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 3.3.0-6
f09cb9
- Perl 5.16 rebuild
f09cb9
f09cb9
* Wed Apr 18 2012 Lukáš Nykrýn <lnykryn@redhat.com>> - 3.3.0-5
f09cb9
- Fix building issues with newer glib
f09cb9
f09cb9
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.0-4
f09cb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f09cb9
f09cb9
* Mon Nov 28 2011 Lukáš Nykrýn <lnykryn@redhat.com> - 3.3.0-3
f09cb9
- fix #757618 - Use of qw(...) as parentheses is deprecated
f09cb9
- fix #752253 - Using functions in amanda-client which are provided by server
f09cb9
f09cb9
* Thu Jun 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.3.0-2
f09cb9
- Perl mass rebuild
f09cb9
f09cb9
* Wed Jun 08 2011 Jan Görig <jgorig@redhat.com> - 3.3.0-1
f09cb9
- upgrade to new upstream release
f09cb9
- uses bsdtcp authentication by default
f09cb9
- dropped amanda-3.1.1-bsd.patch
f09cb9
- modified example directory handling and dropped amanda-3.1.0-example.patch
f09cb9
f09cb9
* Wed May 4 2011 Jan Görig <jgorig@redhat.com> - 3.3.0-0.1.beta1
f09cb9
- update to new upstream beta release
f09cb9
- removed merged patch amanda-3.2.2-krb5-libs.patch
f09cb9
f09cb9
* Wed Apr 27 2011 Jan Görig <jgorig@redhat.com> - 3.2.2-2
f09cb9
- amgtar, amstar and amservice must have setuid flag (#697933)
f09cb9
f09cb9
* Wed Mar 16 2011 Jan Görig <jgorig@redhat.com> - 3.2.2-1
f09cb9
- upgrade to new upstream release
f09cb9
- removed merged patch amanda-3.1-amrestore.patch
f09cb9
- fixed build on system with amanda installed
f09cb9
f09cb9
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-3
f09cb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f09cb9
f09cb9
* Mon Jan 31 2011 Jan Görig <jgorig@redhat.com> - 3.2.1-2
f09cb9
- fix #666968 - amrestore should restore one file when outputting to a pipe
f09cb9
f09cb9
* Wed Dec 15 2010 Jan Görig <jgorig@redhat.com> - 3.2.1-1
f09cb9
- upgrade to new upstream release
f09cb9
- removed unneeded patches
f09cb9
f09cb9
* Thu Nov 4 2010 Jan Görig <jgorig@redhat.com> - 3.2.0-1
f09cb9
- upgrade to new upstream release
f09cb9
- fixed build with new glib
f09cb9
- changed owner of the most files to root
f09cb9
- moved variable files from /etc/amanda to /var/lib/amanda
f09cb9
- spec cleanups
f09cb9
- fix #648321 - amanda rpm should not provide the perl(Math::BigInt)
f09cb9
f09cb9
* Thu Oct 7 2010 Jan Görig <jgorig@redhat.com> - 3.1.3-1
f09cb9
- upstream security update
f09cb9
f09cb9
* Wed Aug 18 2010 Jan Görig <jgorig@redhat.com> - 3.1.2-1
f09cb9
- upgraded to new upstream bugfix version
f09cb9
f09cb9
* Tue Aug 10 2010 Jan Görig <jgorig@redhat.com> - 3.1.1-2
f09cb9
- removed obsolete README-rpm
f09cb9
- modified client configuration to match xinetd one
f09cb9
- modified tcpport patch to include postgresql sample configuration
f09cb9
f09cb9
* Tue Aug 03 2010 Jan Görig <jgorig@redhat.com> - 3.1.1-1
f09cb9
- upgraded to new upstream bugfix version
f09cb9
- dropped old upgrade scriptlets
f09cb9
- spec cleanups
f09cb9
- created symlink to manpage for amoldrecover
f09cb9
- default configuration now backups extended attributes
f09cb9
- fix #610169 - fixed build flags
f09cb9
- fix #600552 - corrected amdatadir path, updated example patch
f09cb9
f09cb9
* Mon Jun 28 2010 Jan Görig <jgorig@redhat.com> - 3.1.0-1
f09cb9
- upgraded to new upstream version
f09cb9
- documentation moved to main package
f09cb9
- fixed license tag
f09cb9
- moved files from libexecdir to libdir to avoid multilib conflict
f09cb9
- moved files between subpackages
f09cb9
- updated path in xinetd config
f09cb9
- added -fPIE to CFLAGS and -pie to LDFLAGS
f09cb9
- removed unused patches
f09cb9
- removed obsolete devel subpackage
f09cb9
f09cb9
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.6.1p2-4
f09cb9
- Mass rebuild with perl-5.12.0
f09cb9
f09cb9
* Thu Apr 22 2010 Daniel Novotny <dnovotny@redhat.com> 2.6.1p2-3
f09cb9
- fix #584774 - PIE patch disabled in amanda 2.6.1p2-2 
f09cb9
f09cb9
* Tue Feb 16 2010 Daniel Novotny <dnovotny@redhat.com> 2.6.1p2-2
f09cb9
- fix #564935 -  FTBFS amanda-2.6.1p2-1.fc13
f09cb9
f09cb9
* Thu Jan 21 2010 Daniel Novotny <dnovotny@redhat.com> 2.6.1p2-1
f09cb9
- upgrade to 2.6.1p2, drop upstreamed patches, rebase remaining patches
f09cb9
f09cb9
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 2.6.0p2-15
f09cb9
- rebuild against perl 5.10.1
f09cb9
f09cb9
* Thu Oct 15 2009 Daniel Novotny <dnovotny@redhat.com> 2.6.0p2-14
f09cb9
- add amanda user to group "tape" (#529159)
f09cb9
f09cb9
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.6.0p2-13
f09cb9
- rebuilt with new openssl
f09cb9
f09cb9
* Tue Aug 04 2009 Daniel Novotny <dnovotny@redhat.com> 2.6.0p2-12
f09cb9
-fix #512534 -  amstatus outputs "Insecure dependency in printf ..." 
f09cb9
f09cb9
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0p2-11
f09cb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f09cb9
f09cb9
* Wed Jul 22 2009 Daniel Novotny <dnovotny@redhat.com> 2.6.0p2-10
f09cb9
- fix #510961 -  FTBFS: amanda-2.6.0p2-9
f09cb9
f09cb9
* Fri Apr 24 2009 Daniel Novotny <dnovotny@redhat.com> 2.6.0p2-9
f09cb9
- fix #497488 -  amanda subpackages require only a specific version of amanda,
f09cb9
      not also release
f09cb9
f09cb9
* Tue Apr 14 2009 Daniel Novotny <dnovotny@redhat.com> 2.6.0p2-8
f09cb9
- fix #495724 (spec file fix, use "useradd -N" instead of "useradd -n") 
f09cb9
f09cb9
* Wed Apr 08 2009 Daniel Novotny <dnovotny@redhat.com> 2.6.0p2-7
f09cb9
- the tcpport patch was lost after rebase, adding again
f09cb9
  (#448071, #462681)
f09cb9
f09cb9
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0p2-6
f09cb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f09cb9
f09cb9
* Thu Jan 15 2009 Tomas Mraz <tmraz@redhat.com> 2.6.0p2-5
f09cb9
- rebuild with new openssl
f09cb9
f09cb9
* Thu Nov 20 2008 Daniel Novotny <dnovotny@redhat.com> 2.6.0p2-4
f09cb9
  .usernameupdate extension changed to .rpmsave (#472349)
f09cb9
f09cb9
* Thu Oct 23 2008 Daniel Novotny <dnovotny@redhat.com> 2.6.0p2-3
f09cb9
- added trailing || : in the %%pre client script
f09cb9
f09cb9
* Fri Oct 10 2008 Orion Poplawski <orion@cora.nwra.com> 2.6.0p2-2
f09cb9
- Drop duplicated libamglue.so from -devel
f09cb9
- Update -pie patch
f09cb9
- Fix Source typo
f09cb9
- Move xinetd to main package - used by both client and server
f09cb9
- Move %%{_libexecdir}/amanda/amanda-sh-lib.sh to main package
f09cb9
- LIBEXECDIR is used in xinetd template
f09cb9
- Make calcsize setuid root
f09cb9
f09cb9
* Wed Oct 01 2008 Daniel Novotny 2.6.0p2-1
f09cb9
- Update to 2.6.0p2
f09cb9
- perl-ExtUtils-Embed added to BuildRequires
f09cb9
- perl patch dropped (upstreamed)
f09cb9
- library name change from libamglue.so.* to libamglue.so
f09cb9
f09cb9
* Thu Mar 27 2008 Orion Poplawski <orion@cora.nwra.com> 2.6.0-0.b3_20080314.1
f09cb9
- Update to 2.6.0b3_20080314
f09cb9
- New -lib patch that patches the autotool source files
f09cb9
f09cb9
* Tue Mar 11 2008 Orion Poplawski <orion@cora.nwra.com> 2.6.0-0.b3_20080310.1
f09cb9
- Update to 2.6.0b3_20080310
f09cb9
- Re-add updated pie patch, re-add autogen
f09cb9
- Update example patch to modify Makefile.am, leave template.d in
f09cb9
 /var/lib/amanda for now
f09cb9
f09cb9
* Wed Feb 20 2008 Orion Poplawski <orion@cora.nwra.com> 2.6.0-0.b2_20080220.1
f09cb9
- Update to 2.6.0b2-20080220
f09cb9
- Drop libdir patch, use --with-libdir instead
f09cb9
- Move perl modules to %%{perl_vendorarch} and add perl Requires
f09cb9
f09cb9
* Wed Feb 20 2008 Orion Poplawski <orion@cora.nwra.com> 2.6.0-0.b2
f09cb9
- Update to 2.6.0b2, drop upstreamed patches
f09cb9
- Update xattrs patch
f09cb9
- Add patches to fix install locations
f09cb9
- Add -fPIE/-pie to CFLAGS/LDFLAGS, drop pie patch
f09cb9
- Drop autotools BR
f09cb9
- Drop /usr/bin/Mail BR and specify mailer as /bin/mail
f09cb9
- Add %%check section
f09cb9
- Move /etc/amanda/amandates to /var/lib/amanda/amandates
f09cb9
- Remove ending . from summaries
f09cb9
f09cb9
* Mon Feb 18 2008 Radek Brich <rbrich@redhat.com> 2.5.2.p1-10
f09cb9
- do not require gnuplot by -server subpackage (bz#433101)
f09cb9
f09cb9
* Thu Nov 22 2007 Radek Brich <rbrich@redhat.com> 2.5.2.p1-9
f09cb9
- Change default amanda user name to 'amandabackup' (#124510).
f09cb9
  This should not break upgrades as config files are checked for
f09cb9
  old user name and updated.
f09cb9
- Add some explaining comments to .amandahosts (#153749)
f09cb9
f09cb9
* Tue Aug 28 2007 Radek Brich <rbrich@redhat.com> 2.5.2.p1-8
f09cb9
- rebuild
f09cb9
f09cb9
* Fri Aug 17 2007 Radek Brich <rbrich@redhat.com> 2.5.2.p1-7
f09cb9
- BuildRequires mtx and mt-st (#251690).
f09cb9
f09cb9
* Fri Aug 10 2007 Radek Brich <rbrich@redhat.com> 2.5.2.p1-6
f09cb9
- Included upstream patch for chg-multi.sh (#251316).
f09cb9
f09cb9
* Wed Aug 08 2007 Radek Brich <rbrich@redhat.com> 2.5.2.p1-5
f09cb9
- Added ssh and ncompress to BuildRequires (#250730).
f09cb9
- Removed some obsolete makes from build section.
f09cb9
f09cb9
* Thu Jul 12 2007 Radek Brich <rbrich@redhat.com> 2.5.2.p1-4
f09cb9
- Enable backing up ACL/SElinux xattrs with tar (#201916).
f09cb9
- Removed obsolete patches and sources.
f09cb9
f09cb9
* Mon Jun 25 2007 Radek Brich <rbrich@redhat.com> 2.5.2.p1-3
f09cb9
- Update -undefSymbols patch. All undefined symbols reported by
f09cb9
  'ldd -r' should now be fixed (#198178).
f09cb9
f09cb9
* Fri Jun 22 2007 Radek Brich <rbrich@redhat.com> 2.5.2.p1-2
f09cb9
- Fix undefined symbols in libamserver.so.
f09cb9
- Fix ./autogen so it automatically installs ylwrap (bug 224143).
f09cb9
- Run ./autogen in prep section (otherwise the -pie patch had no effect).
f09cb9
- Update -pie patch.
f09cb9
f09cb9
* Thu Jun 21 2007 Radek Brich <rbrich@redhat.com> 2.5.2.p1-1
f09cb9
- New upstream version.
f09cb9
- Client rpm now installs amanda-client.conf.
f09cb9
- Removed obsolete patches -bug18322 and -rsh.
f09cb9
- Clean up spec file (non-utf8 error and some warnings from rpmlint).
f09cb9
f09cb9
* Mon Feb 19 2007 Jay Fenlason <fenlason@redhat.com> 2.5.1p3-1%{?dist}
f09cb9
- Upgrade to new upstream release, now that 2.5.1 is somewhat stable.
f09cb9
- Note that this requires changing the xinetd configuration and amanda.conf
f09cb9
  because of the new authentication mechanism.
f09cb9
- -server subpackage does not require xinetd.
f09cb9
- -server scriptlets do not need to reload xinetd.
f09cb9
f09cb9
* Mon Sep 25 2006 Jay Fenlason <fenlason@redhat.com> 2.5.0p2-4
f09cb9
- Include my -dump_size patch to close
f09cb9
  bz#206129: Dump output size determined incorrectly
f09cb9
- Clean up the spec file, following some suggestions in
f09cb9
  bz#185659: amanda 2.5.0
f09cb9
- Use a tarball without the problematic contrib/sst directory.
f09cb9
- Include my new_gnutar (based on a patch by Orion Poplawski
f09cb9
  <orion@cora.nwra.com>) to work around changed incremental file format
f09cb9
  in newer (>1.15.1) versions of gnutar.
f09cb9
- include my -wildcards patch to turn on wildcards with new versions of tar.
f09cb9
f09cb9
* Tue Sep 5 2006 Jay Fenlason <fenlason@redhat.com> 2.5.0p2-3
f09cb9
- move libamclient-*.so to the base rpm, so that multilib support works.
f09cb9
  This fixes
f09cb9
  bz#205202 File conflicts
f09cb9
f09cb9
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.5.0p2-2.1
f09cb9
- rebuild
f09cb9
f09cb9
* Thu Jun 8 2006 Jay Fenlason <fenlason@redhat.com> 2.5.0p2-2
f09cb9
- New upstream version
f09cb9
- Make the BuildRequires on /usr/bin/Mail rather than mailx, because we
f09cb9
  don't really care where the Mail command comes from.
f09cb9
- include the amcheck_badtape patch by Paul Bijnens
f09cb9
  <paul.bijnens@xplanation.com> to fix a problem where amcheck doesn't
f09cb9
  realize the wrong tape is in the drive.
f09cb9
- include the error_msg patch from Jean-Louis Martineau <martineau@zmanda.com>
f09cb9
  to fix a double-free problem
f09cb9
- include the restore patch from Jean-Louis Martineau <martineau@zmanda.com>
f09cb9
  to fix an error in amrestore
f09cb9
- include a slightly modified form of the big_holding_disk patch from
f09cb9
  Andrej Filipcic <andrej.filipcic@ijs.si> to fix a problem with holding
f09cb9
  disks bigger than 4tb
f09cb9
f09cb9
* Mon May 22 2006 Jesse Keating <jkeating@redhat.com> 2.5.0-3
f09cb9
- Fix BuildReqs
f09cb9
f09cb9
* Fri Apr 7 2006 Jay Fenlason <fenlason@redhat.com> 2.5.0-2
f09cb9
- New upstream release: 2.5.0, with new features
f09cb9
- Do not include our own amanda.conf anymore, use the one from the
f09cb9
  tarball.
f09cb9
- Remove the static libraries.
f09cb9
- Update the -pie patch
f09cb9
- Turn on the new -with-ssh-security option.
f09cb9
- Change the mode of ~amanda/.amandahosts to 600, since 2.5.0 requires
f09cb9
  it.
f09cb9
- actually use the defconfig macro it this spec file.
f09cb9
- Change the name of the index server to "amandahost" from localhost.
f09cb9
  Users should ensure that "amandahost.their-domain" points to their
f09cb9
  Amanda server.
f09cb9
- Change amandahosts likewise.
f09cb9
- Add dependency on /usr/bin/Mail
f09cb9
- Ensure unversioned .so files are only in the -devel rpm.
f09cb9
- Remove DUMPER_DIR and the files in it, as nothing seems to actually
f09cb9
  use them.
f09cb9
- Include the -overflow patch from Jean-Louis Martineau
f09cb9
  <martineau@zmanda.com>
f09cb9
f09cb9
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.4.5p1-3.2
f09cb9
- bump again for double-long bug on ppc(64)
f09cb9
f09cb9
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.4.5p1-3.1
f09cb9
- rebuilt for new gcc4.1 snapshot and glibc changes
f09cb9
f09cb9
* Wed Jan 18 2006 Jay Fenlason <fenlason@redhat.com> 2.4.5p1-3
f09cb9
- Fix spec file to use %%{_localstatedir} instead of hardcoding /var/lib
f09cb9
- Add amanda_user and amanda_group defines, to make changing the username
f09cb9
  easier.
f09cb9
- Add a BuildRequires on /usr/bin/Mail
f09cb9
f09cb9
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
f09cb9
- rebuilt
f09cb9
f09cb9
* Fri Nov 4 2005 Jay Fenlason <fenlason@redhat.com>
f09cb9
- New upstream release.
f09cb9
f09cb9
* Sun Jul 31 2005 Florian La Roche <laroche@redhat.com>
f09cb9
- make sure amanda builds with newest rpm
f09cb9
f09cb9
* Wed Apr 20 2005 Jay Fenlason <fenlason@redhat.com> 2.4.5-2
f09cb9
- New upstream release.  This obsoletes the -bug144052 patch.
f09cb9
- Reorg this spec file slightly to allow someone to specify
f09cb9
  index server, tape server and default configuration when
f09cb9
  rebuilding the rpms via something like
f09cb9
  'rpmbuild -ba --define "indexserver foo.fqdn.com" amanda.spec'
f09cb9
  This change suggested by Matt Hyclak <hyclak@math.ohiou.edu>.
f09cb9
  
f09cb9
* Tue Apr 5 2005 Jay Fenlason <fenlason@redhat.com> 2.4.4p4-4
f09cb9
- Add -bug144052 patch to close
f09cb9
  bz#144052 amverifyrun sometimes verifies the wrong tapes
f09cb9
f09cb9
* Tue Mar 8 2005 Jay Fenlason <fenlason@redhat.com> 2.4.4p4-3
f09cb9
- rebuild with gcc4
f09cb9
f09cb9
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 2.4.4p4-2
f09cb9
- Rebuilt for new readline.
f09cb9
f09cb9
* Mon Oct 25 2004 Jay Fenlason <fenlason@redhat.com> 2.4.4p4-1
f09cb9
- New upstream version
f09cb9
- Turn on --disable-dependency-tracking to work around an automake bug.
f09cb9
f09cb9
* Mon Jun 28 2004 Jay Fenlason <fenlason@redhat.com> 2.4.4p3-1
f09cb9
- New upstream version
f09cb9
f09cb9
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
f09cb9
- rebuilt
f09cb9
f09cb9
* Fri Mar 19 2004 Jay Fenlason <fenlason@redhat.com> 2.4.4p2-3
f09cb9
- make a few more programs PIE by updating the amanda-2.4.4p2-pie.path
f09cb9
f09cb9
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
f09cb9
- rebuilt
f09cb9
f09cb9
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
f09cb9
- rebuilt
f09cb9
f09cb9
* Tue Jan 13 2004 Jay Fenlason <fenlason@redhat.com> 2.4.4p2-1
f09cb9
- New upstream version, includes the -sigchld and -client-utils
f09cb9
  patches.  Also includes a new chg-disk changer script and a new
f09cb9
  amqde "quick-and-dirty estimate" program (called from sendsize--not
f09cb9
  a user command.
f09cb9
f09cb9
* Wed Jul 23 2003 Jay Fenlason <fenlason@redhat.com> 2.4.4p1-1
f09cb9
- Merge from 2.4.4p1-0.3E
f09cb9
f09cb9
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
f09cb9
- rebuilt
f09cb9
f09cb9
* Wed Feb 26 2003 Jay Fenlason <fenlason@redhat.com> 2.4.4-0
f09cb9
- New upstream version.
f09cb9
f09cb9
* Thu Feb 13 2003 Jay Fenlason <fenlason@redhat.com> 2.4.3-3
f09cb9
- Removed call to signal(SIGCHLD, SIG_IGN) which prevents wait...()
f09cb9
  from working on newer Red Hat systems.  This fixes bug #84092.
f09cb9
f09cb9
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
f09cb9
- rebuilt
f09cb9
f09cb9
* Wed Dec 11 2002 Jay Fenlason <fenlason@redhat.com> 2.4.3-2
f09cb9
- Add spec file entry for /usr/lib/amanda so owner/group set
f09cb9
  correctly  Fixes bugs 74025 and 73379.
f09cb9
f09cb9
* Wed Nov 20 2002 Elliot Lee <sopwith@redhat.com> 2.4.3-1
f09cb9
- Update to version 2.4.3, rebuild
f09cb9
- Update patch for bug18322 to match
f09cb9
f09cb9
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
f09cb9
- automated rebuild
f09cb9
f09cb9
* Thu May 23 2002 Tim Powers <timp@redhat.com>
f09cb9
- automated rebuild
f09cb9
f09cb9
* Tue Apr  2 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.4.2p2-7
f09cb9
- Don't strip explicitly
f09cb9
- Require samba-client instead of /usr/bin/smbclient
f09cb9
f09cb9
* Thu Feb 21 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.4.2p2-6
f09cb9
- Rebuild
f09cb9
f09cb9
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
f09cb9
- automated rebuild
f09cb9
f09cb9
* Fri Jul 13 2001 Trond Eivind Glomsrød <teg@redhat.com>
f09cb9
- Build and install the "tapetype"  utility program, for
f09cb9
  tape size identification (#48745)  
f09cb9
f09cb9
* Tue Jun 19 2001 Trond Eivind Glomsrød <teg@redhat.com>
f09cb9
- don't use %%configure, to make it build
f09cb9
f09cb9
* Mon Apr  9 2001 Bill Nottingham <notting@redhat.com>
f09cb9
- include ia64 again
f09cb9
f09cb9
* Wed Apr  4 2001 Trond Eivind Glomsrød <teg@redhat.com>
f09cb9
- 2.4.2p2 - fixes problems with amrecover (#26567)
f09cb9
- made config files noreplace
f09cb9
- don't build on IA64 right now, amanda doesn't like
f09cb9
  the dump there: It segfaults.
f09cb9
f09cb9
* Fri Mar 16 2001 Trond Eivind Glomsrød <teg@redhat.com>
f09cb9
- Add /usr/bin/smbclient to buildprereq (#31996), to
f09cb9
  avoid samba being built without such support
f09cb9
f09cb9
* Thu Feb 22 2001 Trond Eivind Glomsrød <teg@redhat.com>
f09cb9
- Use %%{version} in source URL, and thus actually use 
f09cb9
  2.4.2p1 instead of 2.4.2 (doh! # 28759)
f09cb9
- add patch to handle bogus /dev/root entries (#28759)
f09cb9
f09cb9
* Fri Feb 16 2001 Trond Eivind Glomsrød <teg@redhat.com>
f09cb9
- 2.4.2p1 bugfix release
f09cb9
- move amandaixd and amidxtape to the server package (#28037)
f09cb9
f09cb9
* Wed Jan 31 2001 Trond Eivind Glomsrød <teg@redhat.com>
f09cb9
- move /etc/xinetd.d/amanda to the client subpackage (#25430)
f09cb9
f09cb9
* Tue Jan 30 2001 Trond Eivind Glomsrød <teg@redhat.com>
f09cb9
- don't have "chunksize -1" as the default, as it's no longer
f09cb9
  supported
f09cb9
- make it uid amanda, with home /var/lib/amada
f09cb9
  so programs can actually access it (#20510)
f09cb9
- make .amandahosts a config file (#18322)
f09cb9
f09cb9
* Tue Jan 23 2001 Trond Eivind Glomsrød <teg@redhat.com>
f09cb9
- 2.4.2
f09cb9
- make the UDP service "wait" (#23047)
f09cb9
f09cb9
* Tue Oct 10 2000 Jeff Johnson <jbj@redhat.com>
f09cb9
- build with shared libraries.
f09cb9
- add amanda-devel package to contain static libraries.
f09cb9
- update to 2.4.2-19991216-beta1 (#16818).
f09cb9
- sort out client-server file confusions (#17232).
f09cb9
- amandaidx-xinetd should have "wait = no" (#17551).
f09cb9
- /var/lib/amanda needs operator.disk ownership (17913).
f09cb9
- /etc/xinetd.d/amanda added to the amanda-server package (#18112).
f09cb9
- ignore socket error message (#18322).
f09cb9
f09cb9
* Sun Sep  3 2000 Florian La Roche <Florian.LaRoche@redhat.de>
f09cb9
- do not include /etc/xinetd.d/amandaidx in the server rpm
f09cb9
f09cb9
* Mon Aug 21 2000 Trond Eivind Glomsrød <teg@redhat.com>
f09cb9
- only do reload of xinetd if xinetd is running (#16653)
f09cb9
- don't show output of reload command to STDOUT (#16653)
f09cb9
- don't use /usr/sbin/tcpd in amidx, xinetd is linked
f09cb9
  with tcp_wrappers
f09cb9
- prereq initscripts (fixes #14572 and duplicates)
f09cb9
f09cb9
* Tue Aug  1 2000 Bill Nottingham <notting@redhat.com>
f09cb9
- turn off amandaidx by default (#14937)
f09cb9
- fix some binary permissions (#14938)
f09cb9
f09cb9
* Tue Aug  1 2000 Matt Wilson <msw@redhat.com>
f09cb9
- added Prereq: /sbin/service xinetd to client and server subpackages
f09cb9
f09cb9
* Tue Jul 18 2000 Trond Eivind Glomsrød <teg@redhat.com>
f09cb9
- xinetd support
f09cb9
f09cb9
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
f09cb9
- automatic rebuild
f09cb9
f09cb9
* Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com>
f09cb9
- add prereqs for scriptlets, requires for common package.
f09cb9
f09cb9
* Sat Jun 10 2000 Jeff Johnson <jbj@redhat.com>
f09cb9
- FHS packaging.
f09cb9
- move to 7.0 distro.
f09cb9
f09cb9
* Tue May 23 2000 Tim Powers <timp@redhat.com>
f09cb9
- built for 7.0
f09cb9
- man pages in /usr/share/man
f09cb9
f09cb9
* Thu Apr 27 2000 Tim Powers <timp@redhat.com>
f09cb9
- added usr/lib/amanda/chg-zd-mtx to the client RPM to fix bug #8282
f09cb9
f09cb9
* Wed Mar 8 2000 Tim Powers <timp@redhat.com>
f09cb9
- fixed files/dirs ending up in the wrong packages.
f09cb9
- last time it wasn't built with dump (doh!), this time it is. Now has a
f09cb9
  BuildRequires for dump.
f09cb9
f09cb9
* Thu Feb 10 2000 Tim Powers <timp@redhat.com>
f09cb9
- strip binaries
f09cb9
f09cb9
* Fri Jan 21 2000 TIm Powers <timp@redhat.com>
f09cb9
- added chown lines to post section
f09cb9
f09cb9
* Tue Jan 11 2000 Tim Powers <timp@redhat.com>
f09cb9
- make sure the man pages are gzipped in each subpackage, overriding the build
f09cb9
  system spec_install_post macro.
f09cb9
- using mega spec file changes from Marc Merlin <merlin_bts@valinux.com> since
f09cb9
  the package we were shipping in the past had some major issues (not in
f09cb9
  Marc's words ;)
f09cb9
- using Marc's added README and modified config files.
f09cb9
- adapted patches written by Alexandre Oliva <oliva@dcc.unicamp.br> from Marc
f09cb9
  Merlin's package so that the patch matches the source version (the patches
f09cb9
  are the glibc2.1 and glibc2.2 patches)
f09cb9
f09cb9
* Mon Jan 3 2000 Tim Powers <timp@redhat.com>
f09cb9
- fix so configure doesn't crap out (libtoolize --force)
f09cb9
- gzip man pages, strip binaries
f09cb9
- rebuilt for 6.2
f09cb9
f09cb9
* Thu Aug 5 1999 Tim Powers <timp@redhat.com>
f09cb9
- applied patch so that it reports the available holding disk space correctly
f09cb9
f09cb9
* Thu Jul 8 1999 Tim Powers <timp@redhat.com>
f09cb9
- added %%defattr lines
f09cb9
- rebuilt for 6.1
f09cb9
f09cb9
* Wed May 05 1999 Bill Nottingham <notting@redhat.com>
f09cb9
- update to 2.4.1p1
f09cb9
f09cb9
* Tue Oct 27 1998 Cristian Gafton <gafton@redhat.com>
f09cb9
- version 2.4.1
f09cb9
f09cb9
* Tue May 19 1998 Cristian Gafton <gafton@redhat.com>
f09cb9
- upgraded to full 2.4.0 release
f09cb9
f09cb9
* Thu Feb 19 1998 Otto Hammersmith <otto@redhat.com>
f09cb9
- fixed group for -client and -server packages (Network->Networking)
f09cb9
f09cb9
* Wed Feb 11 1998 Otto Hammersmith <otto@redhat.com>
f09cb9
- updated to 2.4.0b6, fixes security hole among other things
f09cb9
  (as well as finally got the glibc patch in the main source.)
f09cb9
 
f09cb9
* Tue Jan 27 1998 Otto Hammersmith <otto@redhat.com>
f09cb9
- moved versionsuffix to client package to remove dependency of amanda on amanda-client
f09cb9
f09cb9
* Mon Jan 26 1998 Otto Hammersmith <otto@redhat.com>
f09cb9
- fixed libexec garbage.
f09cb9
f09cb9
* Wed Jan 21 1998 Otto Hammersmith <otto@redhat.com>
f09cb9
- split into three packages amanda, amanda-client, and amanda-server
f09cb9
f09cb9
* Fri Jan  9 1998 Otto Hammersmith <otto@redhat.com>
f09cb9
- updated to latest beta... builds much cleaner now.
f09cb9
f09cb9
* Thu Jan  8 1998 Otto Hammersmith <otto@redhat.com>
f09cb9
- created the package
f09cb9