Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
backup
>
amanda
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 30
[-]
[+]
Changed
amanda.spec
@@ -1,6 +1,6 @@ %define _libexecdir %{_libdir} -%{!?defconfig:%define defconfig DailySet1} -%{!?indexserver:%define indexserver amandahost} +%{!?defconfig:%define defconfig ixmuc} +%{!?indexserver:%define indexserver backup1-muc.internetx.de} %{!?tapeserver:%define tapeserver %{indexserver}} %{!?amanda_user:%define amanda_user amandabackup} %{!?amanda_group:%define amanda_group disk} @@ -73,19 +73,6 @@ backed up). You will also need to install the amanda package on each AMANDA client machine. -%package server -Summary: The server side of the AMANDA tape backup system -Group: Applications/System -Requires: fileutils grep /sbin/service -Requires(pre): amanda = %{version}-%{release} - -%description server -The amanda-server package should be installed on the AMANDA server, -the machine attached to the device(s) (such as a tape drive) where backups -will be written. You will also need to install the amanda package on -the AMANDA server machine. And, if the server is also to be backed up, the -server also needs to have the amanda-client package installed. - %prep %setup -q -n %{name}-%{version} %patch2 -p1 -b .xattrs @@ -104,6 +91,7 @@ --disable-static \ --disable-dependency-tracking \ --disable-installperms \ + --without-server \ --with-amdatadir=%{_localstatedir}/lib/amanda \ --with-amlibdir=%{_libdir} \ --with-amperldir=%{perl_vendorarch} \ @@ -119,10 +107,11 @@ --with-tmpdir=/var/log/amanda \ --with-gnutar=/bin/tar \ --with-ssh-security \ - --with-rsh-security \ --with-bsdtcp-security \ - --with-bsdudp-security \ - --with-krb5-security +%if 0%{?rhel_version} == 505 || 0%{?centos_version} == 505 + --as-needed \ +%endif + --with-krb5-security make %{?_smp_mflags} @@ -277,116 +266,6 @@ %attr(600,%amanda_user,%amanda_group) %config(noreplace) %{_localstatedir}/lib/amanda/.amandahosts %attr(02700,%amanda_user,%amanda_group) %dir /var/log/amanda -%files server -%defattr(-,root,root) -%{_libdir}/libamdevice*.so -%{_libdir}/libamserver*.so -%{_libexecdir}/amanda/amcleanupdisk -%{_libexecdir}/amanda/amdumpd -%{_libexecdir}/amanda/amcheck-device -%{_libexecdir}/amanda/amidxtaped -%{_libexecdir}/amanda/amindexd -%{_libexecdir}/amanda/amlogroll -%{_libexecdir}/amanda/amtrmidx -%{_libexecdir}/amanda/amtrmlog -%{_libexecdir}/amanda/driver -%attr(4750,root,%amanda_group) %{_libexecdir}/amanda/dumper -%{_libexecdir}/amanda/chg-disk -%{_libexecdir}/amanda/chg-lib.sh -%{_libexecdir}/amanda/chg-manual -%{_libexecdir}/amanda/chg-multi -%{_libexecdir}/amanda/chg-zd-mtx -%{_libexecdir}/amanda/chunker -%attr(4750,root,%amanda_group) %{_libexecdir}/amanda/planner -%{_libexecdir}/amanda/taper -%{_sbindir}/activate-devpay -%{_sbindir}/amaddclient -%{_sbindir}/amadmin -%{_sbindir}/amcleanup -%{_sbindir}/amdevcheck -%{_sbindir}/amdump -%{_sbindir}/amfetchdump -%{_sbindir}/amflush -%attr(4750,root,%amanda_group) %{_sbindir}/amcheck -%{_sbindir}/amcheckdb -%{_sbindir}/amcheckdump -%{_sbindir}/amlabel -%{_sbindir}/amoverview -%{_sbindir}/amreport -%{_sbindir}/amrestore -%{_sbindir}/amrmtape -%{_sbindir}/amserverconfig -%attr(4750,root,%amanda_group) %{_sbindir}/amservice -%{_sbindir}/amstatus -%{_sbindir}/amtape -%{_sbindir}/amtapetype -%{_sbindir}/amtoc -%{_sbindir}/amvault - -%{_mandir}/man5/disklist.5* -%{_mandir}/man5/tapelist.5* -%{_mandir}/man7/amanda-devices.7* -%{_mandir}/man7/amanda-changers.7* -%{_mandir}/man7/amanda-interactivity.7* -%{_mandir}/man7/amanda-taperscan.7* -%{_mandir}/man8/amaddclient.8* -%{_mandir}/man8/amadmin.8* -%{_mandir}/man8/amcleanup.8* -%{_mandir}/man8/amdevcheck.8* -%{_mandir}/man8/amdump.8* -%{_mandir}/man8/amfetchdump.8* -%{_mandir}/man8/amflush.8* -%{_mandir}/man8/amcheckdb.8* -%{_mandir}/man8/amcheckdump.8* -%{_mandir}/man8/amcheck.8* -%{_mandir}/man8/amlabel.8* -%{_mandir}/man8/amoverview.8* -%{_mandir}/man8/amreport.8* -%{_mandir}/man8/amrestore.8* -%{_mandir}/man8/amrmtape.8* -%{_mandir}/man8/amserverconfig.8* -%{_mandir}/man8/amservice.8* -%{_mandir}/man8/amstatus.8* -%{_mandir}/man8/amtapetype.8* -%{_mandir}/man8/amtape.8* -%{_mandir}/man8/amtoc.8* -%{_mandir}/man8/amvault.8* - -%{perl_vendorarch}/Amanda/Cmdline.pm -%{perl_vendorarch}/Amanda/Curinfo/ -%{perl_vendorarch}/Amanda/Curinfo.pm -%{perl_vendorarch}/Amanda/DB/ -%{perl_vendorarch}/Amanda/Device.pm -%{perl_vendorarch}/Amanda/Disklist.pm -%{perl_vendorarch}/Amanda/Holding.pm -%{perl_vendorarch}/Amanda/Changer/ -%{perl_vendorarch}/Amanda/Changer.pm -%{perl_vendorarch}/Amanda/Interactivity/ -%{perl_vendorarch}/Amanda/Interactivity.pm -%{perl_vendorarch}/Amanda/Logfile.pm -%{perl_vendorarch}/Amanda/Recovery/ -%{perl_vendorarch}/Amanda/Report/ -%{perl_vendorarch}/Amanda/Report.pm -%{perl_vendorarch}/Amanda/ScanInventory.pm -%{perl_vendorarch}/Amanda/Tapelist.pm -%{perl_vendorarch}/Amanda/Taper/ -%{perl_vendorarch}/Amanda/XferServer.pm -%{perl_vendorarch}/auto/Amanda/Cmdline/ -%{perl_vendorarch}/auto/Amanda/Device/ -%{perl_vendorarch}/auto/Amanda/Disklist/ -%{perl_vendorarch}/auto/Amanda/Logfile/ -%{perl_vendorarch}/auto/Amanda/Tapelist/ -%{perl_vendorarch}/auto/Amanda/XferServer/ - -%config(noreplace) %{_sysconfdir}/amanda/crontab.sample -%config(noreplace) %{_sysconfdir}/amanda/%defconfig/* -%exclude %{_sysconfdir}/amanda/%defconfig/amanda-client.conf -%exclude %{_sysconfdir}/amanda/%defconfig/amanda-client-postgresql.conf - -%attr(-,%amanda_user,%amanda_group) %dir %{_localstatedir}/lib/amanda/%defconfig/ -%attr(-,%amanda_user,%amanda_group) %dir %{_localstatedir}/lib/amanda/%defconfig/index -%attr(-,%amanda_user,%amanda_group) %dir %{_localstatedir}/lib/amanda/template.d -%attr(-,%amanda_user,%amanda_group) %config(noreplace) %{_localstatedir}/lib/amanda/template.d/* %files client %defattr(-,root,root)