]> git.pld-linux.org Git - packages/amanda.git/blob - amanda.spec
- sort patches
[packages/amanda.git] / amanda.spec
1 # TODO:
2 #  - init/service for client 'restore' service
3 #  - untangle client/server perl deps for 'restore' service
4 #
5 # Conditional build:
6 %bcond_without  xfs     # without (possible) support for xfsdump
7 %bcond_without  samba   # without smbclient support
8 %bcond_without  client  # without client package
9 %bcond_without  server  # without server package
10
11 Summary:        A network-capable tape backup solution
12 Summary(pl.UTF-8):      Sieciowo zorientowany system tworzenia kopii zapasowych
13 Name:           amanda
14 Version:        3.5.1
15 Release:        3
16 License:        BSD
17 Group:          Networking/Utilities
18 Source0:        http://downloads.sourceforge.net/amanda/%{name}-%{version}.tar.gz
19 # Source0-md5:  f57307959f79e722b1dcb3f985ebb0d0
20 Source1:        %{name}-srv.crontab
21 Source2:        %{name}.inetd
22 Source3:        %{name}idx.inetd
23 Source4:        amidxtape.inetd
24 Source5:        k5%{name}.inet
25 # http://amanda.svn.sourceforge.net/viewvc/amanda/amanda/branches/3_2/contrib/convert-zd-mtx-to-robot.sh
26 Source6:        convert-zd-mtx-to-robot.sh
27 Source7:        %{name}-ssh_config
28 # https://github.com/janekr/amlvm-snapshot
29 Source8:        amlvm-snapshot.conf
30 Source9:        amlvm-snapshot.pl
31 Source10:       amlvm-snapshot.README
32 Patch0:         %{name}-no_libnsl.patch
33 Patch1:         %{name}-tar.patch
34 Patch2:         %{name}-common.patch
35 Patch3:         %{name}-as_needed.patch
36 Patch4:         %{name}-tapetypes.patch
37 Patch5:         %{name}-FHS.patch
38 Patch6:         %{name}-no-buildtime-ipv6.patch
39 Patch7:         %{name}-heimdal.patch
40 Patch8:         %{name}-ac.patch
41 Patch9:         %{name}-krb5-auth.patch
42 Patch10:        swig.patch
43 Patch11:        krb5-ac.patch
44 URL:            http://www.amanda.org/
45 %{?with_samba:BuildRequires:    /usr/bin/smbclient}
46 BuildRequires:  autoconf >= 2.64
47 BuildRequires:  automake
48 BuildRequires:  curl-devel >= 7.10.0
49 BuildRequires:  dump
50 BuildRequires:  flex
51 BuildRequires:  glib2-devel
52 BuildRequires:  gnuplot
53 BuildRequires:  heimdal-devel
54 BuildRequires:  rpmbuild(macros) >= 1.654
55 # curl is broken, see curl-config --libs (c8cba693)
56 BuildRequires:  keyutils-devel
57 BuildRequires:  libtool
58 BuildRequires:  libxslt-progs
59 BuildRequires:  ncurses-devel
60 BuildRequires:  openssh-clients
61 BuildRequires:  openssl-devel
62 BuildRequires:  perl-devel >= 5.6.0
63 BuildRequires:  pkgconfig
64 BuildRequires:  readline-devel >= 4.2
65 BuildRequires:  rpm-perlprov
66 BuildRequires:  rpmbuild(macros) >= 1.654
67 BuildRequires:  swig
68 %{?with_xfs:BuildRequires:      xfsdump}
69 Conflicts:      pwdutils < 3.1.2-2
70 Conflicts:      shadow < 1:4.0.4.1-4
71 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
72
73 # for some unknown reason those get detected in R but not in P (Tie::StdHash comes from perl)
74 %define         _noautoreq_perl Tie::StdHash Amanda::Recovery::Clerk::Feedback Amanda::Taper::Scribe::Feedback
75
76 %define         _ulibdir        %{_prefix}/lib
77
78 %description
79 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
80 backup system that allows the administrator of a LAN to set up a
81 single master backup server to back up multiple hosts to a single
82 large capacity tape drive. AMANDA uses native dump and/or GNU tar
83 facilities and can back up a large number of workstations running
84 multiple versions of Unix. Newer versions of AMANDA (including this
85 version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts.
86 The amanda package contains the core AMANDA programs and will need to
87 be installed on both AMANDA clients and AMANDA servers. Note that you
88 will have to install the amanda-client and amanda-server packages as
89 well.
90
91 %description -l pl.UTF-8
92 AMANDA jest sieciowo zorientowanym systemem tworzenia kopii
93 zapasowych. Umożliwia administratorowi sieci tworzenie kopii z kilku
94 hostów na jednej maszynie wyposażonej w pojemny dysk lub streamer.
95 Nowsze wersje programu umożliwiają zabezpieczanie zasobów Microsoft
96 Windows 95/98/NT/2000 przy użyciu protokołu Samba. Ten pakiet zawiera
97 podstawowe pliki programu i powinien być zainstalowany zarówno na
98 serwerze jak i na kliencie. Pamiętaj także o instalacji pakietów
99 amanda-client i amanda-server!
100
101 %package common
102 Summary:        Amanda common files
103 Summary(pl.UTF-8):      Wspólne pliki pakietu amanda
104 Group:          Networking/Utilities
105 Requires(postun):       /usr/sbin/groupdel
106 Requires(postun):       /usr/sbin/userdel
107 Requires(pre):  /bin/id
108 Requires(pre):  /usr/bin/chsh
109 Requires(pre):  /usr/bin/getgid
110 Requires(pre):  /usr/sbin/groupadd
111 Requires(pre):  /usr/sbin/useradd
112 %requires_ge glib2
113 Requires:       setup >= 2.6.1-1
114 Provides:       group(amanda)
115 Provides:       user(amanda)
116 Obsoletes:      amanda-libs
117 Obsoletes:      amanda-perl
118
119 %description common
120 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a
121 backup system that allows the administrator of a LAN to set up a
122 single master backup server to back up multiple hosts to a single
123 large capacity tape drive. AMANDA uses native dump and/or GNU tar
124 facilities and can back up a large number of workstations running
125 multiple versions of Unix. Newer versions of AMANDA (including this
126 version) can use SAMBA to back up Microsoft(TM) Windows95/NT hosts.
127 The amanda package contains the core AMANDA programs and will need to
128 be installed on both AMANDA clients and AMANDA servers. Note that you
129 will have to install the amanda-client and amanda-server packages as
130 well.
131
132 Amanda common files.
133
134 %description common -l pl.UTF-8
135 AMANDA jest sieciowo zorientowanym systemem tworzenia kopii
136 zapasowych. Umożliwia administratorowi sieci tworzenie kopii z kilku
137 hostów na jednej maszynie wyposażonej w pojemny dysk lub streamer.
138 Nowsze wersje programu umożliwiają zabezpieczanie zasobów Microsoft
139 Windows 95/98/NT/2000 przy użyciu protokołu Samba. Ten pakiet zawiera
140 podstawowe pliki programu i powinien być zainstalowany zarówno na
141 serwerze jak i na kliencie. Pamiętaj także o instalacji pakietów
142 amanda-client i amanda-server!
143
144 Wspólne pliki pakietu amanda.
145
146 %package client
147 Summary:        The client side of Amanda
148 Summary(pl.UTF-8):      Klient Amandy
149 Group:          Networking/Utilities
150 Requires(post): /bin/hostname
151 Requires(post): /usr/bin/ssh-keygen
152 Requires:       %{name}-common = %{version}-%{release}
153 Requires:       rc-inetd
154 Suggests:       gzip
155 Suggests:       openssh-clients
156 Suggests:       openssh-server
157 Suggests:       star
158 Suggests:       tar
159 Conflicts:      tar < 1.15
160
161 %description client
162 The Amanda-client package should be installed on any machine that will
163 be backed up by AMANDA (including the server if it also needs to be
164 backed up). You will also need to install the amanda package to each
165 AMANDA client. It requires at least one of dump and GNU tar installed.
166
167 %description client -l pl.UTF-8
168 Ten pakiet powinien być zainstalowany ma maszynach, z których
169 zawartości będą tworzone kopie zapasowe. Wymaga zainstalowanego co
170 najmniej jednego z pakietów dump i GNU tar.
171
172 %package server
173 Summary:        The server side of Amanda
174 Summary(pl.UTF-8):      Serwer Amandy
175 Group:          Networking/Utilities
176 Requires(post): /bin/hostname
177 Requires(post): /usr/bin/ssh-keygen
178 Requires:       %{name}-common = %{version}-%{release}
179 Requires:       /etc/cron.d
180 Requires:       crondaemon
181 Requires:       gnuplot
182 Requires:       mt-st
183 Requires:       mtx
184 Requires:       rc-inetd
185 Suggests:       openssh-clients
186 Suggests:       openssh-server
187 Obsoletes:      amanda
188 Obsoletes:      amanda-perl-server
189
190 %description server
191 The amanda-server package should be installed on the AMANDA server,
192 the machine attached to the device (such as a tape drive) where
193 backups will be written. You will also need to install the amanda
194 package to the AMANDA server. And, if the server is also to be backed
195 up, the server also needs to have the amanda-client package installed.
196
197 %description server -l pl.UTF-8
198 Ten pakiet powinien być zainstalowany na maszynach, na których będą
199 magazynowane kopie zapasowe (lub do których podpięte są urządzenia
200 typu streamer).
201
202 %prep
203 %setup -q
204 %patch0 -p1
205 %patch1 -p1
206 %patch2 -p1
207 %patch3 -p1
208 %patch4 -p1
209 %patch5 -p1
210 %patch6 -p1
211 %patch7 -p1
212 %patch8 -p1
213 %patch9 -p1
214 %patch10 -p1
215 %patch11 -p1
216 cp -a %{SOURCE10} .
217
218 find perl/ -name '*.swg' -print0 | xargs -0 touch
219
220 %build
221 %{__libtoolize}
222 %{__aclocal} -I config -I config/gettext-macros -I config/gnulib -I config/amanda -I config/macro-archive
223 %{__autoconf}
224 %{__automake}
225 %configure \
226         DUMP=/sbin/dump \
227         GZIP=/bin/gzip \
228         MAILER=/bin/mail \
229         MT=/bin/mt \
230         MTX=/usr/sbin/mtx \
231         PRINT=/usr/bin/lpr \
232         RESTORE=/sbin/restore \
233         %{?with_xfs:XFSDUMP=/sbin/xfsdump} \
234         %{?with_xfs:XFSRESTORE=/sbin/xfsrestore} \
235         --disable-static \
236         --enable-shared \
237         %{!?with_server:--without-server} \
238         %{!?with_client:--without-client} \
239         --with-index-server=localhost \
240         --with-user=amanda \
241         --with-group=amanda \
242         --with-tape-device=/dev/null \
243         --with-fqdn \
244         %{?with_samba:--with-smbclient=%{_bindir}/smbclient} \
245         --with-star=%{_bindir}/star \
246         --with-gnuplot=%{_bindir}/gnuplot \
247         --with-bsd-security \
248         --with-bsdtcp-security \
249         --with-ssh-security \
250         --with-krb5-security \
251         --with-buffered-dump \
252         --with-amandahosts \
253         --with-configdir=%{_sysconfdir}/amanda \
254         --with-gnutar-listdir=%{_sharedstatedir}/amanda/gnutar-lists \
255         --with-amandates=%{_sharedstatedir}/amanda/amandates \
256         --with-debugging=%{_sharedstatedir}/amanda/debug \
257         --with-tmpdir=/var/tmp/amanda \
258         --with-amperldir=%{perl_vendorarch} \
259         --with-ipv6 \
260         --with-readline \
261         --disable-installperms
262
263 %{__make}
264
265 %install
266 rm -rf $RPM_BUILD_ROOT
267 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{amanda,cron.d,sysconfig/rc-inetd} \
268         $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/{.gnupg,.ssh,gnutar-lists} \
269         $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/debug/{amandad,client,server}
270
271 %{__make} install \
272         DESTDIR=$RPM_BUILD_ROOT
273
274 cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/amanda-srv
275 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE2} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amanda
276 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE3} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amandaidx
277 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE4} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/amidxtape
278 sed -e 's|/usr/lib|%{_libdir}|' %{SOURCE5} >$RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/k5amanda
279
280 cp -p example/amanda.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda
281 cp -p example/amanda-client.conf $RPM_BUILD_ROOT%{_sysconfdir}/amanda
282 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.amandahosts
283
284 install -p %{SOURCE6} $RPM_BUILD_ROOT%{_sbindir}/amconvert-zd-mtx-to-robot.sh
285
286 cp -p %{SOURCE7} $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/config
287 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/{,client_}authorized_keys
288 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amdump{,.pub}
289 touch $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover{,.pub}
290
291 %if %{with server}
292 cp -p %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/amanda/lvm-snapshot.conf
293 %endif
294
295 %if %{with client}
296 sed -e 's|@@PERL_VENDORARCH@@|%{perl_vendorarch}|' %{SOURCE9} >$RPM_BUILD_ROOT%{_libexecdir}/amanda/application/amlvm-snapshot
297 %endif
298
299 > $RPM_BUILD_ROOT%{_sharedstatedir}/amanda/amandates
300
301 # Amanda tools generate ssh keys with embeded commands pointing to /usr/lib
302 # Tools can't be "fixed" because keys generated on server are to be used on client
303 if [ "%{_lib}" != "lib" ] ; then
304         install -d $RPM_BUILD_ROOT%{_ulibdir}
305         ln -s %{_libdir}/amanda $RPM_BUILD_ROOT%{_ulibdir}/amanda
306 fi
307
308 find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
309
310 %{__rm} $RPM_BUILD_ROOT%{_datadir}/amanda/{COPYRIGHT,ChangeLog,NEWS,ReleaseNotes}
311 %{__rm} $RPM_BUILD_ROOT%{_datadir}/amanda/example/{chg-multi,chg-scsi}.conf
312
313 %clean
314 rm -rf $RPM_BUILD_ROOT
315
316 %triggerpostun common -- amanda-libs < 2.6.0p2-3
317 echo "Adding amanda to disk and tape groups"
318 /usr/sbin/usermod -G disk,tape amanda
319 echo "Setting amanda shell to /bin/sh"
320 /usr/bin/chsh -s /bin/sh amanda
321 if [ -f %{_sharedstatedir}/amanda/.amandahosts ]; then
322         echo "Fixing permissions of %{_sharedstatedir}/amanda/.amandahosts file"
323         chown amanda:amanda %{_sharedstatedir}/amanda/.amandahosts
324         chmod 600 %{_sharedstatedir}/amanda/.amandahosts
325 fi
326
327 %triggerpostun common -- amanda-common < 3.3
328 %banner %{name}-common -e << EOF
329 In amanda 3.3 the default auth has changed to "bsdtcp",
330 if you are using the default "bsd" then you must add it
331 to your configuration:
332
333  *   in amanda.conf
334  *   in amanda-client.conf
335  *   in dumptype/disklist
336  *   in inetd (if no '-auth' argument to amandad)
337 EOF
338
339 %pre common
340 %groupadd -P %{name}-common -g 80 amanda
341 %useradd -P %{name}-common -u 80 -G disk,tape -d /var/lib/amanda -s /bin/sh -c "Amanda Backup user" -g amanda amanda
342
343 %postun common
344 if [ "$1" = "0" ]; then
345         %userremove amanda
346         %groupremove amanda
347 fi
348
349 %post client
350 %service -q rc-inetd reload
351 if [ ! -e /var/lib/amanda/.ssh/id_rsa_amrecover ] ; then
352         HOST="`/bin/hostname`"
353         FQDNHOST="`/bin/hostname -f`"
354         if [ -z "$HOST" ] ; then
355                 COMMENT="root@client"
356         else
357                 COMMENT="root@$HOST"
358         fi
359         /usr/bin/ssh-keygen -t rsa -C $COMMENT -f /var/lib/amanda/.ssh/id_rsa_amrecover -N "" || :
360         chown amanda:amanda /var/lib/amanda/.ssh/id_rsa_amrecover{,.pub} || :
361         chmod 600 /var/lib/amanda/.ssh/id_rsa_amrecover{,.pub} || :
362         if [ -n "$FQDNHOST" ]; then
363                 echo -n "from=\"$FQDNHOST\",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,command=\"%{_ulibdir}/amanda/amandad -auth=ssh amindexd amidxtaped\" " >/var/lib/amanda/.ssh/server_authorized_keys
364                 cat /var/lib/amanda/.ssh/id_rsa_amrecover.pub >>/var/lib/amanda/.ssh/server_authorized_keys
365
366                 echo "Remember to copy the contents of /var/lib/amanda/.ssh/server_authorized_keys to"
367                 echo "/var/lib/amanda/.ssh/authorized_keys on amanda server"
368         fi
369 fi
370
371 %postun client
372 if [ "$1" = 0 ]; then
373         %service -q rc-inetd reload
374 fi
375
376 %post server
377 %service -q rc-inetd reload
378 if [ ! -e /var/lib/amanda/.ssh/id_rsa_amdump ] ; then
379         HOST="`/bin/hostname`"
380         if [ -z "$HOST" ] ; then
381                 COMMENT="amanda@server"
382         else
383                 COMMENT="amanda@$HOST"
384         fi
385         /usr/bin/ssh-keygen -t rsa -C $COMMENT -f /var/lib/amanda/.ssh/id_rsa_amdump -N "" || :
386         chown amanda:amanda /var/lib/amanda/.ssh/id_rsa_amdump{,.pub} || :
387         chmod 600 /var/lib/amanda/.ssh/id_rsa_amdump{,.pub} || :
388 fi
389 if [ "$1" = "1" ]; then
390         echo "Don't forget to edit /etc/cron.d/amanda-srv." 1>&2
391 fi
392
393 %postun server
394 if [ "$1" = 0 ]; then
395         %service -q rc-inetd reload
396 fi
397
398 %triggerpostun server -- amanda-server < 3.2.0
399 %banner %{name} -e << EOF
400 Warning: Tape changer configuration has chaged, please read
401 %{_docdir}/%{name}-server-%{version}/ReleaseNotes.gz
402 and %{_docdir}/%{name}-server-%{version}/NEWS.gz for details.
403 You can use %{_sbindir}/amconvert-zd-mtx-to-robot.sh script
404 to upgrade to chg-robot.
405 EOF
406
407 %files common
408 %defattr(644,root,root,755)
409 %doc AUTHORS COPYRIGHT ChangeLog NEWS README ReleaseNotes UPGRADING amlvm-snapshot.README
410 %attr(755,root,root) %{_libdir}/amanda/libamanda*.so
411 %attr(755,root,root) %{_libdir}/amanda/libamar*.so
412 %attr(755,root,root) %{_libdir}/amanda/libamdevice*.so
413 %attr(755,root,root) %{_libdir}/amanda/libamglue*.so
414 %attr(755,root,root) %{_libdir}/amanda/libamserver*.so
415 %attr(755,root,root) %{_libdir}/amanda/libamxfer*.so
416 %attr(755,root,root) %{_libdir}/amanda/libndmjob*.so
417 %attr(755,root,root) %{_libdir}/amanda/libndmlib*.so
418 %attr(750,amanda,amanda) %dir %{_sysconfdir}/amanda
419 %config(noreplace) %verify(not md5 mtime size) %attr(640,amanda,amanda) %{_sysconfdir}/amanda/amanda-security.conf
420 %dir %{_libdir}/amanda
421 %if "%{_lib}" != "lib"
422 %{_ulibdir}/amanda
423 %endif
424 %dir %{_libexecdir}/amanda
425 %{_libexecdir}/amanda/amanda-sh-lib.sh
426 %attr(4750,root,amanda) %{_libexecdir}/amanda/ambind
427 %attr(755,root,root) %{_libexecdir}/amanda/amcat.awk
428 %attr(755,root,root) %{_libexecdir}/amanda/amndmjob
429 %attr(755,root,root) %{_libexecdir}/amanda/amplot.awk
430 %attr(755,root,root) %{_libexecdir}/amanda/amplot.g
431 %attr(755,root,root) %{_libexecdir}/amanda/amplot.gp
432 %attr(755,root,root) %{_libexecdir}/amanda/ndmjob
433 %attr(755,root,root) %{_sbindir}/amaespipe
434 %attr(755,root,root) %{_sbindir}/amarchiver
435 %attr(755,root,root) %{_sbindir}/amcrypt*
436 %attr(755,root,root) %{_sbindir}/amgetconf
437 %attr(755,root,root) %{_sbindir}/amgpgcrypt
438 %attr(755,root,root) %{_sbindir}/amplot
439 %attr(755,root,root) %{_sbindir}/amservice
440 %attr(755,root,root) %{_sbindir}/amssl
441 %attr(750,amanda,amanda) %dir %{_datadir}/amanda
442 %attr(750,amanda,amanda) %dir %{_datadir}/amanda/example
443 %attr(750,amanda,amanda) %dir %{_datadir}/amanda/example/label-templates
444 %attr(640,amanda,amanda) %{_datadir}/amanda/example/*amanda*
445 %attr(640,amanda,amanda) %{_datadir}/amanda/example/disklist
446 %attr(640,amanda,amanda) %{_datadir}/amanda/example/label-templates/*.ps
447 %attr(750,amanda,amanda) %dir %{_datadir}/amanda/template.d
448 %attr(640,amanda,amanda) %{_datadir}/amanda/template.d/*
449 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda
450 %attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.ssh
451 %attr(700,amanda,amanda) %dir %{_sharedstatedir}/amanda/.gnupg
452 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug
453 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/amandad
454 %attr(600,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/.amandahosts
455 %attr(600,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/.ssh/config
456 # Commented out so it won't get removed on uninstall
457 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/authorized_keys
458 %{_mandir}/man5/amanda-archive-format.5*
459 %{_mandir}/man5/amanda-security.conf.5*
460 %{_mandir}/man7/amanda-auth.7*
461 %{_mandir}/man7/amanda-auth-ssl.7*
462 %{_mandir}/man7/amanda-match.7*
463 %{_mandir}/man7/amanda-scripts.7*
464 %{_mandir}/man8/amanda.8*
465 %{_mandir}/man8/amaespipe.8*
466 %{_mandir}/man8/amarchiver.8*
467 %{_mandir}/man8/amcrypt*.8*
468 %{_mandir}/man8/amgetconf.8*
469 %{_mandir}/man8/amgpgcrypt.8*
470 %{_mandir}/man8/amplot.8*
471 %{_mandir}/man8/amservice.8*
472 %{_mandir}/man8/amssl.8*
473 %{_mandir}/man8/script-email.8*
474
475 %dir %{perl_vendorarch}/Amanda
476 %dir %{perl_vendorarch}/Amanda/Config
477 %dir %{perl_vendorarch}/Amanda/IPC
478 %{perl_vendorarch}/Amanda/Amservice.pm
479 %{perl_vendorarch}/Amanda/Archive.pm
480 %{perl_vendorarch}/Amanda/BigIntCompat.pm
481 %{perl_vendorarch}/Amanda/Changer.pm
482 %dir %{perl_vendorarch}/Amanda/Changer
483 %{perl_vendorarch}/Amanda/Changer/*.pm
484 %{perl_vendorarch}/Amanda/ClientService.pm
485 %{perl_vendorarch}/Amanda/Cmdline.pm
486 %{perl_vendorarch}/Amanda/Cmdfile.pm
487 %{perl_vendorarch}/Amanda/Config.pm
488 %{perl_vendorarch}/Amanda/Config/FoldingHash.pm
489 %{perl_vendorarch}/Amanda/Constants.pm
490 %{perl_vendorarch}/Amanda/DB.pm
491 %dir %{perl_vendorarch}/Amanda/DB
492 %{perl_vendorarch}/Amanda/DB/*.pm
493 %{perl_vendorarch}/Amanda/Debug.pm
494 %{perl_vendorarch}/Amanda/Device.pm
495 %{perl_vendorarch}/Amanda/Disklist.pm
496 %{perl_vendorarch}/Amanda/Extract.pm
497 %{perl_vendorarch}/Amanda/Feature.pm
498 %{perl_vendorarch}/Amanda/FetchDump.pm
499 %dir %{perl_vendorarch}/Amanda/FetchDump
500 %{perl_vendorarch}/Amanda/FetchDump/*.pm
501 %{perl_vendorarch}/Amanda/Header.pm
502 %{perl_vendorarch}/Amanda/Holding.pm
503 %{perl_vendorarch}/Amanda/IPC/Binary.pm
504 %{perl_vendorarch}/Amanda/IPC/LineProtocol.pm
505 %{perl_vendorarch}/Amanda/Interactivity.pm
506 %dir %{perl_vendorarch}/Amanda/Interactivity
507 %{perl_vendorarch}/Amanda/Interactivity/*.pm
508 %{perl_vendorarch}/Amanda/Logfile.pm
509 %{perl_vendorarch}/Amanda/MainLoop.pm
510 %{perl_vendorarch}/Amanda/Message.pm
511 %{perl_vendorarch}/Amanda/NDMP.pm
512 %{perl_vendorarch}/Amanda/Paths.pm
513 %{perl_vendorarch}/Amanda/Policy.pm
514 %{perl_vendorarch}/Amanda/Process.pm
515 %{perl_vendorarch}/Amanda/Recovery.pm
516 %dir %{perl_vendorarch}/Amanda/Recovery
517 %{perl_vendorarch}/Amanda/Recovery/*.pm
518 %{perl_vendorarch}/Amanda/Restore.pm
519 %{perl_vendorarch}/Amanda/Script.pm
520 %{perl_vendorarch}/Amanda/Script_App.pm
521 %{perl_vendorarch}/Amanda/Service.pm
522 %dir %{perl_vendorarch}/Amanda/Service
523 %{perl_vendorarch}/Amanda/Storage.pm
524 %{perl_vendorarch}/Amanda/Tapelist.pm
525 %{perl_vendorarch}/Amanda/Tests.pm
526 %{perl_vendorarch}/Amanda/Util.pm
527 %{perl_vendorarch}/Amanda/Xfer.pm
528 %dir %{perl_vendorarch}/auto/Amanda
529 %dir %{perl_vendorarch}/auto/Amanda/Archive
530 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Archive/*.so
531 %dir %{perl_vendorarch}/auto/Amanda/Cmdfile
532 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Cmdfile/*.so
533 %dir %{perl_vendorarch}/auto/Amanda/Cmdline
534 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Cmdline/*.so
535 %dir %{perl_vendorarch}/auto/Amanda/Config
536 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Config/*.so
537 %dir %{perl_vendorarch}/auto/Amanda/Debug
538 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Debug/*.so
539 %dir %{perl_vendorarch}/auto/Amanda/Device
540 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Device/*.so
541 %dir %{perl_vendorarch}/auto/Amanda/Disklist
542 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Disklist/*.so
543 %dir %{perl_vendorarch}/auto/Amanda/Feature
544 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Feature/*.so
545 %dir %{perl_vendorarch}/auto/Amanda/Header
546 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Header/*.so
547 %dir %{perl_vendorarch}/auto/Amanda/IPC
548 %dir %{perl_vendorarch}/auto/Amanda/IPC/Binary
549 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/IPC/Binary/*.so
550 %dir %{perl_vendorarch}/auto/Amanda/Logfile
551 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Logfile/*.so
552 %dir %{perl_vendorarch}/auto/Amanda/MainLoop
553 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/MainLoop/*.so
554 %dir %{perl_vendorarch}/auto/Amanda/NDMP
555 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/NDMP/*.so
556 %dir %{perl_vendorarch}/auto/Amanda/Tapelist
557 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Tapelist/*.so
558 %dir %{perl_vendorarch}/auto/Amanda/Tests
559 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Tests/*.so
560 %dir %{perl_vendorarch}/auto/Amanda/Util
561 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Util/*.so
562 %dir %{perl_vendorarch}/auto/Amanda/Xfer
563 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Xfer/*.so
564
565 %if %{with server}
566 %files server
567 %defattr(644,root,root,755)
568 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amidxtape
569 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amandaidx
570
571 %config(noreplace) %verify(not md5 mtime size) %attr(640,amanda,amanda) %{_sysconfdir}/amanda/amanda.conf
572 %config(noreplace) %verify(not md5 mtime size) %attr(640,amanda,amanda) %{_sysconfdir}/amanda/lvm-snapshot.conf
573
574 # Commented out so it won't get removed on uninstall
575 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/client_authorized_keys
576 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amdump*
577
578 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/server
579
580 %config(noreplace) %attr(640,root,root) /etc/cron.d/amanda-srv
581
582 %attr(755,root,root) %{_libexecdir}/amanda/amadmin_perl
583 %attr(755,root,root) %{_libexecdir}/amanda/ambackupd
584 %attr(755,root,root) %{_libexecdir}/amanda/amcheck-device
585 %attr(755,root,root) %{_libexecdir}/amanda/amdumpd
586 %attr(755,root,root) %{_libexecdir}/amanda/amidxtaped
587 %attr(755,root,root) %{_libexecdir}/amanda/amindexd
588 %attr(755,root,root) %{_libexecdir}/amanda/amlogroll
589 %attr(755,root,root) %{_libexecdir}/amanda/amtrmidx
590 %attr(755,root,root) %{_libexecdir}/amanda/amtrmlog
591 %attr(755,root,root) %{_libexecdir}/amanda/chunker
592 %attr(755,root,root) %{_libexecdir}/amanda/driver
593 %attr(755,root,root) %{_libexecdir}/amanda/dumper
594 %attr(755,root,root) %{_libexecdir}/amanda/planner
595 %attr(755,root,root) %{_libexecdir}/amanda/taper
596
597 %dir %{_libexecdir}/amanda/rest-server
598 %dir %{_libexecdir}/amanda/rest-server/bin
599 %attr(755,root,root) %{_libexecdir}/amanda/rest-server/bin/app-dancer2.pl
600 %attr(755,root,root) %{_libexecdir}/amanda/rest-server/bin/app.pl
601 %{_libexecdir}/amanda/rest-server/config-dancer
602 %{_libexecdir}/amanda/rest-server/config.yml
603 %{_libexecdir}/amanda/rest-server/environments
604 %dir %{_libexecdir}/amanda/rest-server/lib
605 %dir %{_libexecdir}/amanda/rest-server/lib/Amanda
606 %{_libexecdir}/amanda/rest-server/lib/Amanda/Rest.pm
607 %dir %{_libexecdir}/amanda/rest-server/public
608 %{_libexecdir}/amanda/rest-server/public/*.html
609 %{_libexecdir}/amanda/rest-server/public/css
610 %{_libexecdir}/amanda/rest-server/public/dispatch.cgi
611 %{_libexecdir}/amanda/rest-server/public/dispatch.fcgi
612 %{_libexecdir}/amanda/rest-server/public/favicon.ico
613 %{_libexecdir}/amanda/rest-server/public/images
614 %{_libexecdir}/amanda/rest-server/public/javascripts
615 %{_libexecdir}/amanda/rest-server/views
616
617 %attr(755,root,root) %{_sbindir}/activate-devpay
618 %attr(755,root,root) %{_sbindir}/amaddclient
619 %attr(755,root,root) %{_sbindir}/amadmin
620 %attr(755,root,root) %{_sbindir}/amanda-rest-server
621 %attr(755,root,root) %{_sbindir}/amcheck
622 %attr(755,root,root) %{_sbindir}/amcheckdb
623 %attr(755,root,root) %{_sbindir}/amcheckdump
624 %attr(755,root,root) %{_sbindir}/amcleanup
625 %attr(755,root,root) %{_sbindir}/amcleanupdisk
626 %attr(755,root,root) %{_sbindir}/amconvert-zd-mtx-to-robot.sh
627 %attr(755,root,root) %{_sbindir}/amdevcheck
628 %attr(755,root,root) %{_sbindir}/amdump
629 %attr(755,root,root) %{_sbindir}/amfetchdump
630 %attr(755,root,root) %{_sbindir}/amflush
631 %attr(755,root,root) %{_sbindir}/amlabel
632 %attr(755,root,root) %{_sbindir}/amoverview
633 %attr(755,root,root) %{_sbindir}/amreindex
634 %attr(755,root,root) %{_sbindir}/amreport
635 %attr(755,root,root) %{_sbindir}/amrestore
636 %attr(755,root,root) %{_sbindir}/amrmtape
637 %attr(755,root,root) %{_sbindir}/amserverconfig
638 %attr(755,root,root) %{_sbindir}/amstatus
639 %attr(755,root,root) %{_sbindir}/amtape
640 %attr(755,root,root) %{_sbindir}/amtapetype
641 %attr(755,root,root) %{_sbindir}/amtoc
642 %attr(755,root,root) %{_sbindir}/amvault
643 %{_mandir}/man5/amanda.conf.5*
644 %{_mandir}/man5/amanda-command-file.5*
645 %{_mandir}/man5/disklist.5*
646 %{_mandir}/man5/tapelist.5*
647 %{_mandir}/man7/amanda-changers.7*
648 %{_mandir}/man7/amanda-compatibility.7*
649 %{_mandir}/man7/amanda-devices.7*
650 %{_mandir}/man7/amanda-interactivity.7*
651 %{_mandir}/man7/amanda-taperscan.7*
652 %{_mandir}/man8/amaddclient.8*
653 %{_mandir}/man8/amadmin.8*
654 %{_mandir}/man8/amanda-rest-server.8*
655 %{_mandir}/man8/amcheck.8*
656 %{_mandir}/man8/amcheckdb.8*
657 %{_mandir}/man8/amcheckdump.8*
658 %{_mandir}/man8/amcleanup.8*
659 %{_mandir}/man8/amcleanupdisk.8*
660 %{_mandir}/man8/amdevcheck.8*
661 %{_mandir}/man8/amdump.8*
662 %{_mandir}/man8/amfetchdump.8*
663 %{_mandir}/man8/amflush.8*
664 %{_mandir}/man8/amlabel.8*
665 %{_mandir}/man8/amoverview.8*
666 %{_mandir}/man8/amreindex.8*
667 %{_mandir}/man8/amreport.8*
668 %{_mandir}/man8/amrestore.8*
669 %{_mandir}/man8/amrmtape.8*
670 %{_mandir}/man8/amserverconfig.8*
671 %{_mandir}/man8/amstatus.8*
672 %{_mandir}/man8/amtape.8*
673 %{_mandir}/man8/amtapetype.8*
674 %{_mandir}/man8/amtoc.8*
675 %{_mandir}/man8/amvault.8*
676
677 %{perl_vendorarch}/Amanda/Amdump.pm
678 %{perl_vendorarch}/Amanda/Amflush.pm
679 %{perl_vendorarch}/Amanda/CheckDump.pm
680 %dir %{perl_vendorarch}/Amanda/Chunker
681 %{perl_vendorarch}/Amanda/Chunker/*.pm
682 %{perl_vendorarch}/Amanda/Cleanup.pm
683 %{perl_vendorarch}/Amanda/Curinfo.pm
684 %dir %{perl_vendorarch}/Amanda/Curinfo
685 %{perl_vendorarch}/Amanda/Curinfo/*.pm
686 %{perl_vendorarch}/Amanda/Index.pm
687 %{perl_vendorarch}/Amanda/Label.pm
688 %{perl_vendorarch}/Amanda/Report.pm
689 %dir %{perl_vendorarch}/Amanda/Report
690 %{perl_vendorarch}/Amanda/Report/*.pm
691 %dir %{perl_vendorarch}/Amanda/Rest
692 %{perl_vendorarch}/Amanda/Rest/*.pm
693 %dir %{perl_vendorarch}/Amanda/Rest/Storages
694 %{perl_vendorarch}/Amanda/Rest/Storages/*.pm
695 %{perl_vendorarch}/Amanda/ScanInventory.pm
696 %{perl_vendorarch}/Amanda/Service/Amidxtaped.pm
697 %{perl_vendorarch}/Amanda/Status.pm
698 %dir %{perl_vendorarch}/Amanda/Taper
699 %{perl_vendorarch}/Amanda/Taper/*.pm
700 %dir %{perl_vendorarch}/Amanda/Taper/Scan
701 %{perl_vendorarch}/Amanda/Taper/Scan/*.pm
702 %{perl_vendorarch}/Amanda/Vault.pm
703 %{perl_vendorarch}/Amanda/XferServer.pm
704 %dir %{perl_vendorarch}/auto/Amanda/XferServer
705 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/XferServer/*.so
706 %endif
707
708 %if %{with client}
709 %files client
710 %defattr(644,root,root,755)
711 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/amanda
712 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/k5amanda
713 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,amanda) %{_sysconfdir}/amanda/amanda-client.conf
714 # Commented out so it won't get removed on uninstall
715 #%attr(600,amanda,amanda) %ghost %{_sharedstatedir}/amanda/.ssh/id_rsa_amrecover*
716 %attr(640,amanda,amanda) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/amanda/amandates
717
718 %dir %{_libexecdir}/amanda/application
719 %attr(4750,root,amanda) %{_libexecdir}/amanda/application/ambsdtar
720 %attr(4750,root,amanda) %{_libexecdir}/amanda/application/amgtar
721 %attr(755,root,root) %{_libexecdir}/amanda/application/amlog-script
722 %attr(755,root,root) %{_libexecdir}/amanda/application/amlvm-snapshot
723 %attr(755,root,root) %{_libexecdir}/amanda/application/ampgsql
724 %attr(755,root,root) %{_libexecdir}/amanda/application/amrandom
725 %attr(755,root,root) %{_libexecdir}/amanda/application/amraw
726 %attr(755,root,root) %{_libexecdir}/amanda/application/amsamba
727 %attr(4750,root,amanda) %{_libexecdir}/amanda/application/amstar
728 %attr(755,root,root) %{_libexecdir}/amanda/application/amsuntar
729 %attr(755,root,root) %{_libexecdir}/amanda/application/amzfs*
730 %attr(755,root,root) %{_libexecdir}/amanda/application/script-email
731 %attr(755,root,root) %{_libexecdir}/amanda/application/script-fail
732
733 %attr(755,root,root) %{_libdir}/amanda/libamclient*.so
734 %attr(755,root,root) %{_libexecdir}/amanda/amandad
735 %attr(755,root,root) %{_libexecdir}/amanda/noop
736 %attr(755,root,root) %{_libexecdir}/amanda/patch-system
737 %attr(755,root,root) %{_libexecdir}/amanda/restore
738 %attr(755,root,root) %{_libexecdir}/amanda/sendbackup
739 %attr(755,root,root) %{_libexecdir}/amanda/senddiscover
740 %attr(755,root,root) %{_libexecdir}/amanda/sendsize
741 %attr(755,root,root) %{_libexecdir}/amanda/teecount
742 %attr(4750,root,amanda) %{_libexecdir}/amanda/calcsize
743 %attr(4750,root,amanda) %{_libexecdir}/amanda/killpgrp
744 %attr(4750,root,amanda) %{_libexecdir}/amanda/rundump
745 %attr(4750,root,amanda) %{_libexecdir}/amanda/runtar
746 %attr(755,root,root) %{_libexecdir}/amanda/selfcheck
747 %attr(755,root,root) %{_sbindir}/ambackup
748 %attr(755,root,root) %{_sbindir}/amdump_client
749 %attr(755,root,root) %{_sbindir}/amoldrecover
750 %attr(755,root,root) %{_sbindir}/amrecover
751 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/gnutar-lists
752 %attr(750,amanda,amanda) %dir %{_sharedstatedir}/amanda/debug/client
753 %{_mandir}/man7/amanda-applications.7*
754 %{_mandir}/man5/amanda-client.conf.5*
755 %{_mandir}/man8/amdump_client.8*
756 %{_mandir}/man8/ambackup.8*
757 %{_mandir}/man8/ambsdtar.8*
758 %{_mandir}/man8/amgtar.8*
759 %{_mandir}/man8/ampgsql.8*
760 %{_mandir}/man8/amrecover.8*
761 %{_mandir}/man8/amraw.8*
762 %{_mandir}/man8/amsamba.8*
763 %{_mandir}/man8/amstar.8*
764 %{_mandir}/man8/amsuntar.8*
765 %{_mandir}/man8/amzfs*.8*
766
767 %{perl_vendorarch}/Amanda/Application.pm
768 %dir %{perl_vendorarch}/Amanda/Application
769 %{perl_vendorarch}/Amanda/Application/Zfs.pm
770 %{perl_vendorarch}/Amanda/Service/Restore.pm
771 %dir %{perl_vendorarch}/auto/Amanda/Application
772 %attr(755,root,root) %{perl_vendorarch}/auto/Amanda/Application/*.so
773 %endif
This page took 0.11478 seconds and 4 git commands to generate.