From 7a90bc7fc7c274805121dc7fb7566156a4d63ccd55509dffffed0ee9fd80ebbf Mon Sep 17 00:00:00 2001 From: Antonio Teixeira Date: Thu, 25 Jul 2024 18:58:33 +0000 Subject: [PATCH] - amanda-fix-proto.patch: fix build with gcc14 OBS-URL: https://build.opensuse.org/package/show/Archiving/amanda?expand=0&rev=98 --- .gitattributes | 23 + .gitignore | 1 + amanda-2.6.1p1-avoid-perl-provides.patch | 34 + amanda-2.6.1p1-return_val.patch | 12 + amanda-2.6.1p1-shellbang.patch | 6 + amanda-3.3.2-returnvalues.patch | 31 + amanda-3.5-no_return_in_nonvoid_fnc.patch | 20 + amanda-3.5.4.tar.gz | 3 + amanda-SUSE.tar.bz2 | 3 + amanda-fix-proto.patch | 22 + amanda-howto-collection.pdf.tar.bz2 | 3 + amanda-libnsl.patch | 13 + amanda.changes | 809 ++++++++++++++++++++++ amanda.spec | 367 ++++++++++ 14 files changed, 1347 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 amanda-2.6.1p1-avoid-perl-provides.patch create mode 100644 amanda-2.6.1p1-return_val.patch create mode 100644 amanda-2.6.1p1-shellbang.patch create mode 100644 amanda-3.3.2-returnvalues.patch create mode 100644 amanda-3.5-no_return_in_nonvoid_fnc.patch create mode 100644 amanda-3.5.4.tar.gz create mode 100644 amanda-SUSE.tar.bz2 create mode 100644 amanda-fix-proto.patch create mode 100644 amanda-howto-collection.pdf.tar.bz2 create mode 100644 amanda-libnsl.patch create mode 100644 amanda.changes create mode 100644 amanda.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/amanda-2.6.1p1-avoid-perl-provides.patch b/amanda-2.6.1p1-avoid-perl-provides.patch new file mode 100644 index 0000000..742cac1 --- /dev/null +++ b/amanda-2.6.1p1-avoid-perl-provides.patch @@ -0,0 +1,34 @@ +Index: amanda-tag-community-3.5.4/perl/Amanda/BigIntCompat.pm +=================================================================== +--- amanda-tag-community-3.5.4.orig/perl/Amanda/BigIntCompat.pm ++++ amanda-tag-community-3.5.4/perl/Amanda/BigIntCompat.pm +@@ -61,7 +61,8 @@ $stringify = $stringify; + + if ($test_num =~ /^\+/) { + eval <<'EVAL'; +- package Math::BigInt; ++ package ++ Math::BigInt; + use overload 'eq' => sub { + my ($self, $other) = @_; + return "$self" eq "$other"; +@@ -83,7 +84,8 @@ EVAL + # by bigint2uint64(). + if (!$test_num->can("sign")) { + eval <<'EVAL'; +- package Math::BigInt; ++ package ++ Math::BigInt; + sub sign { ($_[0] =~ /^-/)? "-" : "+"; } + EVAL + die $@ if $@; +@@ -92,7 +94,8 @@ EVAL + # similarly for bstr + if (!$test_num->can("bstr")) { + eval <<'EVAL'; +- package Math::BigInt; ++ package ++ Math::BigInt; + sub bstr { "$_[0]"; } + EVAL + die $@ if $@; diff --git a/amanda-2.6.1p1-return_val.patch b/amanda-2.6.1p1-return_val.patch new file mode 100644 index 0000000..642c8fc --- /dev/null +++ b/amanda-2.6.1p1-return_val.patch @@ -0,0 +1,12 @@ +Index: perl/Amanda/MainLoop.swg +=================================================================== +--- perl/Amanda/MainLoop.swg.orig ++++ perl/Amanda/MainLoop.swg +@@ -362,6 +362,7 @@ typedef struct { + /* Constructor: use one of the package-level functions, below */ + amglue_Source() { + die("Amanda::MainLoop::Source is an abstract base class"); ++ return NULL; + } + + /* Destructor: just unref the object */ diff --git a/amanda-2.6.1p1-shellbang.patch b/amanda-2.6.1p1-shellbang.patch new file mode 100644 index 0000000..0e00d6c --- /dev/null +++ b/amanda-2.6.1p1-shellbang.patch @@ -0,0 +1,6 @@ +--- 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. diff --git a/amanda-3.3.2-returnvalues.patch b/amanda-3.3.2-returnvalues.patch new file mode 100644 index 0000000..d15b1af --- /dev/null +++ b/amanda-3.3.2-returnvalues.patch @@ -0,0 +1,31 @@ +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 diff --git a/amanda-3.5-no_return_in_nonvoid_fnc.patch b/amanda-3.5-no_return_in_nonvoid_fnc.patch new file mode 100644 index 0000000..efe0ac4 --- /dev/null +++ b/amanda-3.5-no_return_in_nonvoid_fnc.patch @@ -0,0 +1,20 @@ +Index: amanda-3.5/perl/Amanda/Config.swg +=================================================================== +--- amanda-3.5.orig/perl/Amanda/Config.swg ++++ amanda-3.5/perl/Amanda/Config.swg +@@ -922,6 +922,7 @@ val_t_to_sv(val_t *val, SV **results) { + + fail: + SWIG_croak_null(); ++ return 0; + } + %} + +@@ -1362,6 +1363,7 @@ val_t_to_print(val_t *val, SV **results) + + fail: + SWIG_croak_null(); ++ return 0; + } + %} + diff --git a/amanda-3.5.4.tar.gz b/amanda-3.5.4.tar.gz new file mode 100644 index 0000000..a7227e6 --- /dev/null +++ b/amanda-3.5.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f4693394d7c19f979343367215a9a9b84261ff6152429d2d7b28a883f524e73 +size 3926529 diff --git a/amanda-SUSE.tar.bz2 b/amanda-SUSE.tar.bz2 new file mode 100644 index 0000000..5d44cf6 --- /dev/null +++ b/amanda-SUSE.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ecbf3e5d8a6d697c76c8716e559f8219276a5ad313747a144948bb5f66efcde9 +size 9050 diff --git a/amanda-fix-proto.patch b/amanda-fix-proto.patch new file mode 100644 index 0000000..7dff50a --- /dev/null +++ b/amanda-fix-proto.patch @@ -0,0 +1,22 @@ +Index: amanda-tag-community-3.5.4/client-src/runtar.c +=================================================================== +--- amanda-tag-community-3.5.4.orig/client-src/runtar.c ++++ amanda-tag-community-3.5.4/client-src/runtar.c +@@ -54,7 +54,7 @@ main( + { + #ifdef GNUTAR + int i; +- char **j; ++ const char **j; + char *e; + char *dbf; + char *cmdline; +@@ -255,7 +255,7 @@ check_whitelist( + gchar* option) + { + bool result = TRUE; +- char** i; ++ const char** i; + + for(i=whitelisted_args; *i; i++) { + if (g_str_has_prefix(option, *i)) { diff --git a/amanda-howto-collection.pdf.tar.bz2 b/amanda-howto-collection.pdf.tar.bz2 new file mode 100644 index 0000000..d028331 --- /dev/null +++ b/amanda-howto-collection.pdf.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d1bfc275533e06f2d3f6ca00e99aa166f8988ee9168f82ecf393d7c2bdfb5258 +size 1033685 diff --git a/amanda-libnsl.patch b/amanda-libnsl.patch new file mode 100644 index 0000000..eaaaaed --- /dev/null +++ b/amanda-libnsl.patch @@ -0,0 +1,13 @@ +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 diff --git a/amanda.changes b/amanda.changes new file mode 100644 index 0000000..8ade4f7 --- /dev/null +++ b/amanda.changes @@ -0,0 +1,809 @@ +------------------------------------------------------------------- +Thu Jul 25 08:37:48 UTC 2024 - Marcus Meissner + +- amanda-fix-proto.patch: fix build with gcc14 + +------------------------------------------------------------------- +Tue Feb 20 10:57:51 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + +------------------------------------------------------------------- +Wed Feb 7 12:01:43 UTC 2024 - Dominique Leuenberger + +- Provide user/group symbol for user created during pre. + +------------------------------------------------------------------- +Fri Jul 28 08:53:07 UTC 2023 - pgajdos@suse.com + +- version update to 3.5.4 + * Fixed: arg checking for runtar.c (CVE-2023-30577) [bsc#1213701] +- modified patches + % amanda-2.6.1p1-avoid-perl-provides.patch (refreshed) + +------------------------------------------------------------------- +Mon Jul 3 11:16:07 UTC 2023 - Danilo Spinella + +- Fix the user owner of the files in /usr from amanda to root, bsc#1172572 + +------------------------------------------------------------------- +Tue Mar 21 16:16:06 UTC 2023 - Danilo Spinella + +- Update to version 3.5.3: + * Fixed: removed vulnerable jQuery dependency + * Fixed: fix suppressed 1st char of error message in + common-src/bsdtcp-security.c + * docs: improved README with Markdown + * docs: updated README file name for docs in Debian builds + * Fixed: post_inst_functions.sh to create amkey + * Fixed: added extern keyword for tu_debugging_enabled declaration in + testutils.h + * Fixed: https://sogis.eu complaint symmetric encryption key derivation algorithm + * Fixed: removed perror to fix information leak vulnerability found in the + calcsize SUID binary. (CVE-2022-37703, bsc#1203390) + * Fixed: added filter for RSH environment settings in rundump to fix + privilege escalation vulnerability (CVE-2022-37704, bsc#1208033) + * Fixed: arg checking for runtar.c (CVE-2022-37705, bsc#1208032) +- Remove upstreamed patches: + * CVE-2022-37705.patch + * amanda-3.5.1-GCC10_extern.patch + * amanda-3.5.2-fix-tests.patch + +------------------------------------------------------------------- +Thu Feb 16 11:03:29 UTC 2023 - Daniel Garcia + +- Add CVE-2022-37705.patch to fix privilege scalation + (boo#1208032, gh#zmanda/amanda#194) + +------------------------------------------------------------------- +Fri Oct 7 12:43:58 UTC 2022 - Thorsten Kukuk + +- %_docdir/amanda should be mode 755 and not 644 + +------------------------------------------------------------------- +Thu Aug 25 20:17:24 UTC 2022 - Antoine Belvire + +- Update to version 3.5.2: + * amstatus + + new --[no]taped argument, useful when running + 'watch amstatus CONF --summary --notaped' if the run have + many tapes + * amvault + + new --uniq, --no-uniq argument + + Behavior change: The default is --uniq + + new --delayed argument + + new --run-delayed argument +- Switch sources from Sourceforge to Github. +- Drop amanda-timestamp.patch: Makefile now handles + SOURCE_DATE_EPOCH. +- Refresh patches on Perl bindings so that they apply on swig files + since generated C files are not included in sources anymore: + * amanda-2.6.1p1-return_val.patch + * amanda-3.5-no_return_in_nonvoid_fnc.patch +- Add amanda-3.5.2-fix-tests.patch: Fix tests on Tumbleweed + (gh#zmanda/amanda#167). +- Add build dependencies on swig and rpcgen: Generated files are + not included in sources anymore. +- Remove redundant %configure options. + +------------------------------------------------------------------- +Mon Jun 8 13:04:22 UTC 2020 - Kristyna Streitova + +- add amanda-3.5.1-GCC10_extern.patch to fix build with GCC10 + +------------------------------------------------------------------- +Thu Nov 28 15:25:56 UTC 2019 - Kristyna Streitova + +- change %{_libexecdir}/amanda/application/ owner to root otherwise + chkstat refuses to set correct permissions there +- add missing BuildRequires + +------------------------------------------------------------------- +Thu Oct 17 13:05:45 UTC 2019 - Richard Brown + +- Remove obsolete Groups tag (fate#326485) + +------------------------------------------------------------------- +Fri May 17 14:48:10 UTC 2019 - Kristýna Streitová + +- 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 - dimstar@opensuse.org + +- Own %{_sysconfdir}/xinetd.d: filesystem won't own this directory + much longer (boo#1084457). + +------------------------------------------------------------------- +Wed Mar 21 15:28:16 UTC 2018 - crrodriguez@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 - kstreitova@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 - kstreitova@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 - kstreitova@suse.com + +- cleanup with spec-cleaner + +------------------------------------------------------------------- +Wed Mar 8 21:46:27 UTC 2017 - sfalken@opensuse.org + +- Added lines to %files to clear unpackaged files error in + openSUSE:Factory + +------------------------------------------------------------------- +Fri Jan 27 16:32:46 UTC 2017 - kstreitova@suse.com + +- add openssh to BuildRequires to support ssh [bsc#1022028] + +------------------------------------------------------------------- +Sat Apr 16 02:08:54 UTC 2016 - zaitor@opensuse.org + +- Replace libsmbclient and libsmbclient-devel for + pkgconfig(smbclient) BuildRequires: Following samba changes. + +------------------------------------------------------------------- +Fri Mar 4 18:04:29 UTC 2016 - olaf@aepfle.de + +- Remove timestamp from binary + amanda-timestamp.patch + +------------------------------------------------------------------- +Thu Nov 27 08:20:00 UTC 2014 - mpluskal@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 - darin@darins.net + +- wrap %post permissions routines in conditionals for SLES + +------------------------------------------------------------------- +Mon Sep 15 16:15:42 UTC 2014 - darin@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 - mls@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 - mmeister@suse.com + +- Added automake --add-missing option to fix build with new automake + +------------------------------------------------------------------- +Fri Jan 11 14:39:23 UTC 2013 - vdziewiecki@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 - jmatejek@suse.com + +- fixed some functions without return values + +------------------------------------------------------------------- +Wed Oct 3 15:26:08 UTC 2012 - vdziewiecki@suse.com + +-Update to 3.3.2 (see NEWS) +-Remove queue patch (fixed upstream, see ChangeLog) +-Replaced %run_permissions with %set_permissions (bnc#764124) + +------------------------------------------------------------------- +Mon Jul 30 07:51:49 UTC 2012 - aj@suse.de + +- Fix build with missing gets declaration (glibc 2.16) + +------------------------------------------------------------------- +Tue Feb 7 17:41:09 UTC 2012 - jmatejek@suse.com + +- removed custom definition of g_queue_free_full which was + conflicting with a function newly added to glib2 + +------------------------------------------------------------------- +Fri Dec 2 06:23:18 UTC 2011 - coolo@suse.com + +- add automake as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Sat Sep 17 11:00:42 UTC 2011 - jengelh@medozas.de + +- Remove redundant tags/sections from specfile +- Use %_smp_mflags for parallel build + +------------------------------------------------------------------- +Wed Aug 10 15:45:35 UTC 2011 - jmatejek@novell.com + +- explicit permissions for docdir (fixes failure on SLE11) +- %pre script can now handle a situation where user doesn't exist + +------------------------------------------------------------------- +Thu Jun 23 16:56:05 UTC 2011 - jmatejek@novell.com + +- update to version 3.3.0 + * the following changers were dropped: + chg-chio, chg-chs, chg-iomega, chg-juke, chg-mcutil, chg-mtx, + chg-null, chg-rait, chg-rth, chg-scsi-chio, chg-scsi + - see amanda-changers(7) for replacements + * deprecated configuration keywords: + label_new_tapes, tapebufs, file-pad, amrecover_do_fsf, + amrecover_check_label + * amidxtaped now requires CONFIG parameter, meaning that + amrecover < 2.4.3 will be unable to recover from new servers + * need to specify a changer device explicitly + * default auth is now "bsdtcp" + * amtape behavior was changed, see amtape manpage for details + * better cmdline interface for amreport (just "amreport $config") + * multiple simultaneous writes - can write to all drives in parallel + * many new features and bugfixes, see NEWS file for details + +- -pie and -fPIE are now part of global CFLAGS/LDFLAGS + +------------------------------------------------------------------- +Sat Apr 30 15:22:11 UTC 2011 - coolo@opensuse.org + +- amanda-2.6.1p1-avoid-perl-provides.patch: + patch perl code not to trigger bogus perl provides + +------------------------------------------------------------------- +Thu Feb 10 00:39:46 CET 2011 - ro@suse.de + +- amanda-2.6.1p1-newer_glib.patch: + at least glib-2.27 brings g_list_free_full and g_slist_free_full + with own definitions, prefix local variant with my_ + +------------------------------------------------------------------- +Mon Aug 30 16:56:56 UTC 2010 - cristian.rodriguez@opensuse.org + +- Do not hardcode build date in binaries + +------------------------------------------------------------------- +Wed Nov 25 21:56:44 CET 2009 - meissner@suse.de + +- rediffed patches + +------------------------------------------------------------------- +Mon Aug 31 15:05:32 CEST 2009 - ro@suse.de + +- fix archive compression + +------------------------------------------------------------------- +Wed Jul 29 09:58:42 CEST 2009 - mseben@suse.cz + +- updated to version 2.6.1p1 + - amplot: better output + - don't include genversion.h in distribution tarballs. + - many bugs fixed :S3 device driver,rait device driver + amstatus, configure, application-api, others small bug + +------------------------------------------------------------------- +Fri Jun 12 15:39:45 CET 2009 - mseben@suse.cz + +- update to version 2.6.1 + - four new programs implementing application-api: + amgtar, amstar, amsamba, amzfs-sendrecv + - swithching from the program "GNUTAR" to the application "amgtar" + - two new scripts implementing script-api : amzfs-snapshot, script-email + - added new program amarchiver to manipulate file in amanda archive format + - added new perl modules: + * Application (perl utility functions for Applications) + * Archive (Perl access to the amanda archive library) + * Constants (perl access to build-time configuration values) + * MainLoop (Perl interface to the Glib MainLoop) + * Process (interface to process), used by amcleanup. + * Script (perl utility functions for Scripts) + * Tapelist (Manipulate the Amanda tapelist) + * Xfer (Xfer-api) +- obsolete *-no_chown.patch,*-chg-multi.patch,*-gnulib.patch +- added *-return_val.patch to fix NULL return value +- added *-amxfer_version.patch to fix libamxfer version name +- updated amanda-how-to-collection.pdf +- amanda user has now primary group amanda (created in %pre phase) + and supplementary group tape (see also bnc#523006) + +------------------------------------------------------------------- +Mon Feb 16 01:12:23 CET 2009 - ro@suse.de + +- drop lprng in buildreq + +------------------------------------------------------------------- +Mon Aug 18 17:30:11 CEST 2008 - lmichnovic@suse.cz + +- fixed missing exclude.gtar file [bnc#412636] +- fixed .amandahosts permission [bnc#412636] + +------------------------------------------------------------------- +Wed Jul 16 14:59:14 CEST 2008 - lmichnovic@suse.cz + +- removed unnecessary Requires on glibc-devel ncurses-devel + +------------------------------------------------------------------- +Fri Jun 27 11:46:56 CEST 2008 - schwab@suse.de + +- Fix gnulib macros. + +------------------------------------------------------------------- +Fri Apr 11 16:31:44 CEST 2008 - schwab@suse.de + +- Remove broken libtool macros. + +------------------------------------------------------------------- +Fri Feb 1 15:08:13 CET 2008 - lmichnovic@suse.cz + +- compiling with option --with-maxtapeblocksize=256 [bnc#353239] + +------------------------------------------------------------------- +Fri Nov 9 17:06:04 CET 2007 - lmichnovic@suse.cz + +- installing only *.txt documentation files +- no need for executable perms for file /usr/lib/amanda/suidlist + +------------------------------------------------------------------- +Thu Jul 12 18:23:38 CEST 2007 - lmichnovic@suse.cz + +- added upstream chg-multi.patch +- fixed missing shellbang (shellbang.patch) + +------------------------------------------------------------------- +Fri Jun 8 16:40:28 CEST 2007 - lmichnovic@suse.cz + +- update 2.5.2p1 + * Many IPv6 bugs fixed: + + missing sockaddr_storage + + missing AI_V4MAPPED and AI_ALL + + compare of IPv4 and IPv6 v4mapped address. + + (bsd/bsdudp): server use two sockets, + one for IPv4 and one for IPv6 + * amflush/autoflush + * chown/chmod + * amstatus + * compilation on some platform + + +------------------------------------------------------------------- +Thu May 17 12:09:02 CEST 2007 - lmichnovic@suse.cz + +- adjusted *no_chown.patch + +------------------------------------------------------------------- +Thu May 17 11:47:55 CEST 2007 - lmichnovic@suse.cz + +- update to version 2.5.2 final + * some more bug fixes against beta + +------------------------------------------------------------------- +Tue Apr 24 14:17:07 CEST 2007 - lmichnovic@suse.cz + +- update to version 2.5.2 beta 1 + * Many bugs fixed and code cleanup + * krb5 auth is working + * Works with IPv6 address + * Amanda configuration file changes + o amanda.conf changes + + debugging is enabled in the config file + see all debug_* config option + + tapetype 'readblocksize', if maxtapeblocksize is set too + larger for your hardware +- installing HOWTO-collection.pdf as doc +- excluding static libs + +------------------------------------------------------------------- +Tue Feb 13 17:47:28 CET 2007 - lmichnovic@suse.cz + +- update to version 2.5.1p3 + * Many bugs fixed + * amrecover improve handling of not ascii filename in index. + * Works with tar-1.16 and exit status of 1. + * Can define a LASTSLOT in a chg-disk config file. + - obsoletes *overflow.patch + +------------------------------------------------------------------- +Fri Feb 9 01:35:12 CET 2007 - ro@suse.de + +- allow build as non-root + +------------------------------------------------------------------- +Mon Jan 22 14:49:56 CET 2007 - lmichnovic@suse.cz + +- added libxslt into BuildRequires +- fixed possible overflow (overflow.patch) + +------------------------------------------------------------------- +Mon Jan 22 13:29:43 CET 2007 - lmichnovic@suse.cz + +- updated to 2.5.1p2 + * Many bugs fixed + * amoverview is working + * dumptype starttime is working + Amanda command changes + - amtape accept the -o arguments + - amgetconf --list to list all tapetype, dumptype, holdingdisk + or interface + - amgetconf can return a value of a specific tapetype, dumptype, + holdingdisk or interface + +------------------------------------------------------------------- +Thu Oct 19 16:54:42 CEST 2006 - lmichnovic@suse.cz + +- changed version to 2.5.1.1 +- compiling with fPIC - fixes failing build on some archs + +------------------------------------------------------------------- +Tue Oct 3 15:08:32 CEST 2006 - pnemec@suse.cz + +- updated to 2.5.1p1 which not contain license problem + affected files #196765 + - many bugfixes see NEWS +- minor cleaning in specfile + +------------------------------------------------------------------- +Mon Aug 28 10:35:00 CEST 2006 - pnemec@suse.cz + +- removed examples with license problems + from source tarball #196765 + +------------------------------------------------------------------- +Fri Jul 7 16:27:13 CEST 2006 - pnemec@suse.cz + +- updated to 2.5.0p2 + added many new features in 2.5.0 (Auto tape labelling, + security comunication ...) + fixed many minors bug (in p1) and major bug (in p2) +- added pdf document with actualized howtos + +------------------------------------------------------------------- +Thu Apr 6 16:11:56 CEST 2006 - pnemec@suse.cz + +- some other fix for bug #137128 SIGSEGV in amadmin + +------------------------------------------------------------------- +Fri Feb 10 15:34:53 CET 2006 - pnemec@suse.cz + +- aded *-srv.patch to fix bug #137128 + +------------------------------------------------------------------- +Wed Jan 25 21:34:13 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Mon Aug 1 21:11:14 CEST 2005 - mjancar@suse.cz + +- update to 2.4.5 +- add glibc-devel and ncurses-devel to Requires + +------------------------------------------------------------------- +Mon Jun 20 17:12:53 CEST 2005 - ro@suse.de + +- added pie patch from FC +- use fPIC for libs needed when building binaries with fpie + +------------------------------------------------------------------- +Thu Nov 18 15:48:57 CET 2004 - ro@suse.de + +- use kerberos-devel-packages + +------------------------------------------------------------------- +Tue Aug 10 19:55:10 CEST 2004 - tcrhak@suse.cz + +- update to 2.4.4p3 + +------------------------------------------------------------------- +Fri Feb 20 11:44:50 CET 2004 - tcrhak@suse.cz + +- update to version 2.4.4p2 + +------------------------------------------------------------------- +Wed Oct 29 01:31:27 CET 2003 - ro@suse.de + +- package according to permissions.secure and add run_permissions + +------------------------------------------------------------------- +Thu Sep 18 18:33:38 CEST 2003 - tcrhak@suse.cz + +- added quotes around "grep -E" in an assignment in + chg-manual; patch manual +- fixed script chg-zd-mtx: parse vars from config correctly, + fixed output when mtx is not found + +------------------------------------------------------------------- +Wed Jul 30 17:28:41 CEST 2003 - stepan@suse.de + +- change samba-client dependency to /usr/bin/smbclient + to make it operable with samba tng + +------------------------------------------------------------------- +Wed Jul 30 11:24:53 CEST 2003 - aj@suse.de + +- Fix chown arguments. + +------------------------------------------------------------------- +Mon Jul 28 14:40:01 CEST 2003 - tcrhak@suse.cz + +- fixed script chg-zd-mtx + +------------------------------------------------------------------- +Fri Jul 25 15:13:21 CEST 2003 - tcrhak@suse.cz + +- update to version 2.4.4p1 + +------------------------------------------------------------------- +Thu Jun 12 09:49:08 CEST 2003 - kukuk@suse.de + +- added directory to filelist + +------------------------------------------------------------------- +Fri Jun 6 12:18:16 CEST 2003 - mmj@suse.de + +- Package forgotten files +- Remove files from buildroot installed elsewhere + +------------------------------------------------------------------- +Mon Mar 03 15:21:20 CET 2003 - tcrhak@suse.cz + +- added amanda libraries to filelist + +------------------------------------------------------------------- +Fri Feb 28 18:00:58 CET 2003 - tcrhak@suse.cz + +- update to version 2.4.4, that fixes many memory leaks +- added xinetd config files + +------------------------------------------------------------------- +Fri Feb 14 11:43:07 CET 2003 - tcrhak@suse.cz + +- update to version 2.4.3 +- applied changes proposed for the tape changer script + [bug #20086] - patch mtx + +------------------------------------------------------------------- +Tue Oct 29 12:37:33 CET 2002 - ro@suse.de + +- remove (old) libtool macros from acinclude.m4 + +------------------------------------------------------------------- +Fri Aug 30 17:15:32 CEST 2002 - tcrhak@suse.cz + +- fixed neededforbuild so that smbclient is identified by configure, + added samba-client to Requires (bug #15818) + +------------------------------------------------------------------- +Mon Jul 8 14:42:23 CEST 2002 - mmj@suse.de + +- Using useradd in the package itself. + +------------------------------------------------------------------- +Wed Apr 3 12:53:55 CEST 2002 - tcrhak@suse.cz + +- build with new automake/autoconf + +------------------------------------------------------------------- +Sat Mar 9 14:17:16 CET 2002 - ro@suse.de + +- replaced lprold by lprng in neededforbuild + +------------------------------------------------------------------- +Thu Nov 22 17:30:43 CEST 2001 - tcrhak@suse.cz + +- Added ps label templates (bugzilla #12270) +- Added README.SuSE + +------------------------------------------------------------------- +Mon Nov 12 11:37:35 CET 2001 - schwab@suse.de + +- Fix for automake 1.5 and autoconf 2.52. + +------------------------------------------------------------------- +Mon Aug 20 14:45:29 CEST 2001 - dan@suse.cz + +- update to 2.4.2p2 + +------------------------------------------------------------------- +Fri May 4 14:10:25 CEST 2001 - pblaha@suse.cz + +- fix permisions 644 for .bashrc .amandahosts and .profile +- in amanda home /var/lib/amanda/ + +------------------------------------------------------------------- +Fri Feb 23 00:10:25 CET 2001 - ro@suse.de + +- added readline/readline-devel to neededforbuild (split from bash) + +------------------------------------------------------------------- +Thu Jan 11 11:54:16 CET 2001 - sf@suse.de + +- added './' and 'config' to %{suse_update_config} to make + it build on IA64 + +------------------------------------------------------------------- +Fri Jan 5 14:21:56 CET 2001 - smid@suse.cz + +- file permission changes +- default configuration changes + +------------------------------------------------------------------- +Sun Dec 3 16:24:46 CET 2000 - smid@suse.cz + +- new version 2.4.2 + +------------------------------------------------------------------- +Tue Nov 21 18:28:57 CET 2000 - uli@suse.de + +- fixed to build on PPC + +------------------------------------------------------------------- +Mon Sep 25 14:03:05 CEST 2000 - smid@suse.cz + +- binaries moved to /usr/sbin + +------------------------------------------------------------------- +Mon Sep 18 10:51:20 CEST 2000 - smid@suse.cz + +- Y2K bugfix + +------------------------------------------------------------------- +Tue Jun 20 15:39:09 CEST 2000 - schwab@suse.de + +- Add %suse_update_config. + +------------------------------------------------------------------- +Thu May 25 11:50:20 CEST 2000 - smid@suse.cz + +- /usr/doc/packages => %{_defaultdocdir} + +------------------------------------------------------------------- +Fri Apr 7 13:54:59 CEST 2000 - smid@suse.cz + +- url added + +------------------------------------------------------------------- +Thu Jan 20 15:00:52 CET 2000 - kukuk@suse.de + +- /usr/man -> /usr/share/man +- clean up configuration and spec file + +------------------------------------------------------------------- +Thu Oct 7 17:19:29 MEST 1999 - kukuk@suse.de + +- Add needed tools to needforbuild + +------------------------------------------------------------------- +Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de + +- ran old prepare_spec on spec file to switch to new prepare_spec. + +------------------------------------------------------------------- +Fri Jun 25 10:46:53 MEST 1999 - kukuk@suse.de + +- Update to 2.4.1p1 from jurix +- add glibc 2.1 patch + +------------------------------------------------------------------- +Sat Dec 5 01:42:08 MET 1998 - ro@suse.de + +- disabled setresuid/setresgid (while some are still using 2.0) + +---------------------------------------------------------------------------- +Thu Feb 5 13:11:20 MET 1998 - florian@suse.de + +- first rpm-package of amanda for SuSE + + +---------------------------------------------------------------------------- +Sat Nov 2 17:35:11 CET 1996 - florian@suse.de + + +- first S.u.S.E.-version of amanda 2.3.0 + +- not really supported yet... :-) + diff --git a/amanda.spec b/amanda.spec new file mode 100644 index 0000000..5d18a71 --- /dev/null +++ b/amanda.spec @@ -0,0 +1,367 @@ +# +# spec file for package amanda +# +# Copyright (c) 2024 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +%define amanda_group amanda +%define upstreamver tag-community-%{version} +Name: amanda +Version: 3.5.4 +Release: 0 +Summary: Network Disk Archiver +License: GPL-3.0-or-later +URL: http://www.amanda.org/ +Source: https://github.com/zmanda/amanda/archive/%{upstreamver}/%{name}-%{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 +Patch6: amanda-3.5-no_return_in_nonvoid_fnc.patch +Patch7: amanda-libnsl.patch +Patch8: amanda-fix-proto.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: bison +BuildRequires: cups-client +BuildRequires: dump +BuildRequires: flex +BuildRequires: gawk +BuildRequires: gcc +BuildRequires: glib2-devel +BuildRequires: gnuplot +BuildRequires: krb5-devel +BuildRequires: libtool +BuildRequires: libxslt +BuildRequires: mailx +BuildRequires: mtx +BuildRequires: openssh +BuildRequires: openssl-devel +BuildRequires: perl-base +BuildRequires: pkgconfig +BuildRequires: popt-devel +BuildRequires: procps +BuildRequires: readline-devel +BuildRequires: rpcgen +BuildRequires: samba-client +BuildRequires: sendmail +BuildRequires: swig +BuildRequires: perl(ExtUtils::Embed) +BuildRequires: perl(Test::Simple) +BuildRequires: pkgconfig(libcrypto) +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(libtirpc) +BuildRequires: pkgconfig(smbclient) +Requires: %{_bindir}/smbclient +Requires: dump +Requires: grep +Requires: perl = %{perl_version} +Requires: tar +Requires(post): permissions +Requires(pre): shadow +Provides: group(amanda) +Provides: user(amanda) + +%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 -n %{name}-%{upstreamver} -a 1 -a 2 +%patch -P 1 +%patch -P 2 +%patch -P 3 -p1 +%patch -P 4 -p1 +%patch -P 6 -p1 +%patch -P 7 -p1 +%patch -P 8 -p1 + +%build +./autogen + +export CFLAGS="%{optflags} -fno-strict-aliasing -fPIC -fPIE" +export CXXFLAGS="%{optflags} -fno-strict-aliasing -fPIC -fPIE" +export LDFLAGS="-pie" +%configure --with-bsdtcp-security \ + --with-bsdudp-security \ + --with-ssh-security \ + --with-rsh-security \ + --with-krb5-security \ + --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.md 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 amanda-howto-collection.pdf ChangeLog NEWS AUTHORS COPYRIGHT README.md 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,root,%{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,root,%{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,root,%{amanda_group}) +%{_libexecdir}/amanda/suidlist +%{_libexecdir}/amanda/amcat.awk +%{_libexecdir}/amanda/amplot.awk +%{_libexecdir}/amanda/amplot.g +%{_libexecdir}/amanda/amplot.gp +%defattr(755,root,%{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* + +%check +make %{?_smp_mflags} check + +%changelog