Package Details: amanda 3.5.1-2

Git Clone URL: (read-only, click to copy)
Package Base: amanda
Description: Advanced Maryland Automatic Network Disk Archiver network backup for Linux Windows clients, supports SSH, AES, GPG, encryption, tape, RAIT, mirror, changers, Amazon S3, ipv6, DVD, NDMP, VTL, advanced scripting
Upstream URL:
Licenses: GPL, custom
Submitter: fukawi2
Maintainer: severach
Last Packager: severach
Votes: 12
Popularity: 0.073861
First Submitted: 2009-08-26 06:45 (UTC)
Last Updated: 2020-06-08 00:59 (UTC)

Latest Comments

exuvo commented on 2022-02-22 18:05 (UTC)

I made a post at about using LTO tapes and amanda with example configs for using LTO-5 with zstd compression and aes-256-ctr encryption if that is of help to anyone.

I will also soon be submitting a AUR PKGBUILD for maminfo with which you can read LTO cartridges EEPROM memory for load count and read/write statistics.

anne commented on 2020-05-31 20:52 (UTC)

It did not build for me today, until I made this change to PKGBUILD:

<     CFLAGS="${CFLAGS} -g -rdynamic" \
<     CXXFLAGS="${CXXFLAGS} -g -rdynamic" \
>     CFLAGS="${CFLAGS} -g -rdynamic -fcommon" \
>     CXXFLAGS="${CXXFLAGS} -g -rdynamic -fcommon" \

Without -fcommon, I get errors like this one:

/usr/bin/ld: ./.libs/libtestutils.a(testutils.o):/disks/plain/backup/local/data/aur-sw/amanda/src/amanda-3.5.1/common-src/testutils.h:78: multiple definition of `tu_debugging_enabled'; event-test.o:/disks/plain/backup/local/data/aur-sw/amanda/src/amanda-3.5.1/common-src/testutils.h:78: first defined here


balwierz commented on 2018-12-04 12:08 (UTC)

Does not build:

In file included from ndmos.h:108, from ndmlib.h:41, from ndml_config.c:38: ndmos_glib.h:51:2: error: #error rpc/rpc.h is required to compile ndmp-src #error rpc/rpc.h is required to compile ndmp-src

magnade commented on 2017-06-26 21:29 (UTC)

I see now, the group amandabackup has to exist during package creation otherwise amdump and such doesn't get the correct group set

magnade commented on 2017-06-26 21:25 (UTC)

the commands to move existing user over groupmod -n amandabackup amanda usermod -l amandabackup amanda usermod -d /var/lib/amanda amandabackup and I'm seeing -bash: /usr/bin/amdump: Permission denied when trying to run amdump from the new user

magnade commented on 2017-06-26 21:14 (UTC)

should the package deal with renaming existing user?

severach commented on 2017-06-26 18:29 (UTC)

Complete revamp. Some breaking changes. Let me know where I've gone too far.

fukawi2 commented on 2017-04-26 06:48 (UTC)

Disowning this package as I do not use it any more.

fukawi2 commented on 2016-06-15 00:14 (UTC)

Bump to 3.3.9

fukawi2 commented on 2016-01-07 01:56 (UTC)

Thanks for pointing that out. Some binaries got installed to /usr/sbin/ which I've fixed in 3.3.7p1-2

NeoTheFox commented on 2016-01-06 12:02 (UTC)

The package is broken: amanda: /usr/sbin exists in filesystem

fukawi2 commented on 2015-09-16 00:12 (UTC)

Bump to 3.3.7p1-1 and big cleanup of the PKGBUILD to make it simpler. Please report any problems.

fukawi2 commented on 2015-09-15 23:06 (UTC)

Thanks for flagging. It was updated in June due to the AUR4 migration. I will update now; it may take longer than normal due to the --asroot option being removed from makepkg.

cmsigler commented on 2015-09-15 22:40 (UTC)

Hi, I see this AUR package was updated in June. However, the latest stable version is 3.3.7p1, released Feb 15. I'm flagging out-of-date, but please ignore as appropriate. HTH. Clemmitt

magnade commented on 2014-07-11 19:53 (UTC)

adding swig to dependency list for building then you add touch perl/*/*.swg after cd $srcdir/$pkgname-$pkgver in the build section then the patch is not required

magnade commented on 2014-07-10 19:33 (UTC)

fyi for me 3.3.6 still needs the patch i linked eariler

magnade commented on 2014-07-07 16:31 (UTC)

a patch to fix the issue is here:

magnade commented on 2014-07-04 04:02 (UTC)

anyone else seeing compile errors? was on 3.3.4 and its doing seg fault on amreport so figured time to update and now can't make the package there is more just this is first error In file included from Amanda/Application.c:734:0: Amanda/Application.c: In function 'SWIG_AsCharPtrAndSize': /usr/lib/perl5/core_perl/CORE/handy.h:124:34: error: 'bool' undeclared (first use in this function) #define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)

fukawi2 commented on 2014-01-29 00:17 (UTC)

Bump to 3.3.5

fukawi2 commented on 2013-07-16 00:11 (UTC)

Bump to 3.3.4

fukawi2 commented on 2013-03-27 22:30 (UTC)

Thanks for spotting that JoKoT3. Bumping to 3.3.3 as well.

JoKoT3 commented on 2013-03-27 08:43 (UTC)

The link given in post_install is deprecated and recommend reading instead.

fukawi2 commented on 2012-12-20 05:43 (UTC)

$HELPER is unofficial and unsupported as part of the AUR. $HELPER needs to work with PKGBUILD's, not PKGBUILD's made to work with $HELPER. I'm going to post to the AUR ML to get some advice from TU's to see if there's a recommended/suggested way to deal with this scenario.

rod commented on 2012-12-20 05:40 (UTC)

It is fair point fukawi. Nevertheless, given that the aur package will be installed normally with helpers like yaourt run as user, it may be helpful checking weather sudo is configured or run as root; otherwise rise a warning (yaourt will fail otherwise with a PAM authentication failure that could be confusing). What do you think ?

fukawi2 commented on 2012-12-19 22:05 (UTC)

No everyone has sudo installed and configured. If it could be installed without configuration, I'd consider adding it as a makedepends but since it requires configuration too, I think requiring root is easier.

rod commented on 2012-12-19 19:08 (UTC)

fukawi, you may want to add sudo to useradd/userdel/groupadd/groupdel in INSTALL and PKGBUILD

fukawi2 commented on 2012-10-08 02:43 (UTC)

Thx for the patch gour; I've added it in

commented on 2012-10-07 09:40 (UTC)

@juantascon: here is the patch: --- a/gnulib/ +++ b/gnulib/ @@ -140,8 +140,10 @@ /* It is very rare that the developer ever has full control of stdin, so any use of gets warrants an unconditional warning. Assume it is always declared, since it is required by C89. */ -#undef gets +#ifdef gets +# undef gets _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); +#endif #if @GNULIB_FOPEN@ # if @REPLACE_FOPEN@ and you should adjust md5sum for stdio.patch in PKGBUILD: [...] source=("$pkgname/$pkgname-$pkgver.tar.gz" "xinetd.$pkgname" "stdio.patch") md5sums=('1a6cfe47eaee121f22540ac5fa58c366' '910c9823073148c576b14d4a71bc6458' '43e884facdc4fd46b3c808658c0ce872') [...] cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr \ --with-configdir=/etc/amanda \ --with-gnutar-listdir=/var/amanda/gnutar-lists \ --mandir=/usr/share/man \ --with-user=$_amandauser \ --with-group=$_amandagroup \ --with-ipv6 \ --with-ssh-security \ --htmldir=/srv/http/docs/$pkgname # stdio.patch patch -Np1 -i "$srcdir/stdio.patch" make if [ $_cleanup -eq 1 ]; then msg "Removing temporary user/group" userdel -r $_amandauser fi }

commented on 2012-10-07 09:17 (UTC)

@fukawi2: I wonder how do you manage to build amanda on the same platform (x86_64) as both juantascon and myself and/or whether you test your builds before updating it?

commented on 2012-10-07 07:45 (UTC)

I get: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../config -fno-strict-aliasing -D_GNU_SOURCE -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -MT localcharset.lo -MD -MP -MF .deps/localcharset.Tpo -c localcharset.c -fPIC -DPIC -o .libs/localcharset.o In file included from localcharset.c:28:0: ./stdio.h:456:1: error: 'gets' undeclared here (not in a function) make[4]: *** [localcharset.lo] Error 1 Any hint?

fukawi2 commented on 2012-10-06 09:22 (UTC)

Bump to 3.3.2 Cleanup of PKGBUILD and added some clearer configuration options. Note that amanda is not compiled WITH IPv6 in this PKGBUILD now. Adjust the appropriate line in the configure command if you really don't want IPv6 support.

juantascon commented on 2012-10-05 13:35 (UTC)

also v3.3.2 is out please update, thanks :)

juantascon commented on 2012-10-05 13:19 (UTC)

Im getting this error: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../config -fno-strict-aliasing -D_GNU_SOURCE -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -MT localcharset.lo -MD -MP -MF .deps/localcharset.Tpo -c localcharset.c -fPIC -DPIC -o .libs/localcharset.o In file included from localcharset.c:28:0: ./stdio.h:456:1: error: 'gets' undeclared here (not in a function) make[4]: *** [localcharset.lo] Error 1 make[4]: Leaving directory `/home/jdi/x/amanda/src/amanda-3.3.1/gnulib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/jdi/x/amanda/src/amanda-3.3.1/gnulib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/jdi/x/amanda/src/amanda-3.3.1/gnulib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/jdi/x/amanda/src/amanda-3.3.1' make: *** [all] Error 2

fukawi2 commented on 2012-05-10 10:12 (UTC)

Yes, I am on x86_64 also

commented on 2012-05-09 06:07 (UTC)

My problem appears here:

commented on 2012-05-09 05:55 (UTC)

> I am unable to replicate any problems... I just built it on my machine OK: Strange...I'm on x86_64, what about you?

fukawi2 commented on 2012-05-08 23:24 (UTC)

I am unable to replicate any problems... I just built it on my machine OK: ==> Removing user/group amanda userdel: amanda mail spool (/var/spool/mail/amanda) not found ==> Tidying install... -> Purging unwanted files... -> Compressing man and info pages... -> Stripping unneeded symbols from binaries and libraries... ==> WARNING: Package contains reference to $srcdir ==> Creating package... -> Generating .PKGINFO file... -> Adding install file... -> Compressing package... ==> Finished making: amanda 3.3.1-2 (Wed May 9 09:22:07 EST 2012)

commented on 2012-05-08 12:50 (UTC)

Amanda does not work any longer and build fails: In file included from /usr/include/glib-2.0/glib.h:72:0, from amanda.h:39, from amxml.c:33: /usr/include/glib-2.0/glib/gqueue.h:76:10: note: previous declaration of 'g_queue_free_full' was here I saw something in the forums, but no fix. :-(

fukawi2 commented on 2012-04-09 07:37 (UTC)

Whoops... Thanks for picking that up, all fixed.

commented on 2012-04-09 06:14 (UTC)

Hiya, it looks like your vim was striking a bit... ;) --- /var/abs/local/system/amanda/PKGBUILD.orig +++ /var/abs/local/system/amanda/PKGBUILD @@ -47,7 +47,7 @@ --with-ssh-security \ --htmldir=/srv/http/docs/$pkgnameg - makeg + make if [[ $_cleanup -eq 1 ]] ; then msg "Removing user/group amanda" @@ -72,27 +72,27 @@ _cleanup=1 fi - cd $srcdir/$pkgname-$pkgverg + cd $srcdir/$pkgname-$pkgver # Install the compiled output - make DESTDIR=$pkgdir installg + make DESTDIR=$pkgdir install # Install configuration examples install -dm755 $pkgdir/etc/$pkgname/ - cp -r example $pkgdir/etc/$pkgname/g + cp -r example $pkgdir/etc/$pkgname/ # Install xinetd configuration - install -dm755 $pkgdir/etc/xinetd.d/g - cp $srcdir/xinetd.$pkgname $pkgdir/etc/xinetd.d/$pkgnameg + install -dm755 $pkgdir/etc/xinetd.d/ + cp $srcdir/xinetd.$pkgname $pkgdir/etc/xinetd.d/$pkgname # Create some files - install -dm755 $pkgdir/var/$pkgname/g - chmod 700 $pkgdir/var/$pkgname/g - chown -R $_amandauser:$_devgroup $pkgdir/var/$pkgnameg + install -dm755 $pkgdir/var/$pkgname/ + chmod 700 $pkgdir/var/$pkgname/ + chown -R $_amandauser:$_devgroup $pkgdir/var/$pkgname - touch $pkgdir/$_amandahostsg - chown $_amandauser:$_devgroup $pkgdir/$_amandahostsg - chmod 600 $pkgdir/$_amandahostsg + touch $pkgdir/$_amandahosts + chown $_amandauser:$_devgroup $pkgdir/$_amandahosts + chmod 600 $pkgdir/$_amandahosts cat > $pkgdir/var/$pkgname/.amandahosts << EOT # This is where amanda works out what remote connections to allow in the format # of <host> <username> <command> @@ -100,24 +100,24 @@ # amanda amdump EOT - touch $pkgdir/$_amandadatesg - chown $_amandauser:$_devgroup $pkgdir/$_amandadatesg + touch $pkgdir/$_amandadates + chown $_amandauser:$_devgroup $pkgdir/$_amandadates - touch $pkgdir/$_amandadumpdatesg - chown $_amandauser:$_devgroup $pkgdir/$_amandadumpdatesg - chmod 664 $pkgdir/$_amandadumpdatesg + touch $pkgdir/$_amandadumpdates + chown $_amandauser:$_devgroup $pkgdir/$_amandadumpdates + chmod 664 $pkgdir/$_amandadumpdates - install -dm755 $pkgdir/$_amandagnutarlistsg - chown -R $_amandauser:$_devgroup $pkgdir/$_amandagnutarlistsg + install -dm755 $pkgdir/$_amandagnutarlists + chown -R $_amandauser:$_devgroup $pkgdir/$_amandagnutarlists # Fix permissions - chown -R $_amandauser:$_devgroup $pkgdir/etc/$pkgname/g + chown -R $_amandauser:$_devgroup $pkgdir/etc/$pkgname/ # Install the licence - install -Dm444 COPYRIGHT $pkgdir/usr/share/licences/$pkgname/COPYRIGHTg + install -Dm444 COPYRIGHT $pkgdir/usr/share/licences/$pkgname/COPYRIGHT # Cleanup - rm -Rf $pkgdir/usr/share/amanda/example/g + rm -Rf $pkgdir/usr/share/amanda/example/ if [[ $_cleanup -eq 1 ]] ; then msg "Removing user/group amanda" userdel -r amanda

fukawi2 commented on 2012-04-05 22:35 (UTC)

Bump to 3.3.1

commented on 2011-09-05 11:27 (UTC)

I'm back from FreeBSD to Arch and noticed that SWIG is required dep for Amanda. Another notice is that Perl-5.14 causes: "amrecover - can't talk to tape server: service amidxtaped:" which I solved by upgrading to unreleased 3.3.1. Sincerely, Gour

fukawi2 commented on 2011-08-22 11:55 (UTC)

Bump to 3.3.0

fukawi2 commented on 2011-05-27 08:49 (UTC)

Bump to 3.2.3

commented on 2011-03-13 07:28 (UTC)

FYI, tar-1.26 is supposed to fix the below described problem.

fukawi2 commented on 2011-03-10 22:36 (UTC)

Bump to 3.2.2

commented on 2011-03-08 20:50 (UTC)

Well, let them know, at least...I was pulling my hair wondering what's wrong with my config until I learnt about it.

fukawi2 commented on 2011-03-07 22:12 (UTC)

Hmmm, that's a pretty major problem! Not sure we can do anything about it -- if I depends<1.25 then most people won't have < 1.25, and I can't depends>1.25 since those versions don't exist yet...

commented on 2011-03-07 15:57 (UTC)

I don't know about others, but I hit the problem with amanda & tar-1.25 which stores only empty folders. :-( See:

commented on 2011-03-02 05:17 (UTC)

I did that eventually, but thought maybe something else is wrong on my side. Thank you for this build. ;)

fukawi2 commented on 2011-03-01 22:09 (UTC)

You need to run makepkg as root to build this package because the configure script requires the 'smanda' user and group to exist during the build process.

commented on 2011-03-01 14:48 (UTC)

When I attempt to install 3.2.1 I get: groupadd: cannot lock /etc/group; try again later. Any clue?

fukawi2 commented on 2011-02-01 22:28 (UTC)

Bump to 3.2.1

fukawi2 commented on 2010-10-20 22:06 (UTC)

Updated to 3.2.0 Note there are configuration file changes to amanda.conf in this new version.

commented on 2010-10-13 19:46 (UTC)


fukawi2 commented on 2010-10-10 06:58 (UTC)

Bump to 3.1.3 (Security update)

commented on 2010-10-09 20:20 (UTC)

A security flaw has been discovered in version 3.1.2. Version 3.1.3 fixes the issue.

fukawi2 commented on 2010-08-18 02:01 (UTC)

Bump to 3.1.2

fukawi2 commented on 2010-08-18 01:59 (UTC)

New package building now :)

fukawi2 commented on 2010-07-24 07:15 (UTC)

I would love to, except the AUR doesn't support split-packages so I wouldn't be able to upload it :(

commented on 2010-07-23 11:22 (UTC)

What do you think abaut splitting this package ? into eg: 'libamanda' 'amanda-client' 'amanda-server'

fukawi2 commented on 2010-07-12 23:02 (UTC)

Bump to 3.1.1