Package Details: amanda 3.3.7p1-2

Git Clone URL: https://aur.archlinux.org/amanda.git (read-only)
Package Base: amanda
Description: Advanced Maryland Automatic Network Disk Archiver
Upstream URL: http://www.amanda.org
Licenses: custom
Submitter: fukawi2
Maintainer: fukawi2
Last Packager: fukawi2
Votes: 6
Popularity: 0.000000
First Submitted: 2009-08-26 06:45
Last Updated: 2016-01-07 01:54

Dependencies (8)

Required by (0)

Sources (2)

Latest Comments

fukawi2 commented on 2016-01-07 01:56

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

The package is broken:

amanda: /usr/sbin exists in filesystem

fukawi2 commented on 2015-09-16 00:12

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

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

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

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

fyi for me 3.3.6 still needs the patch i linked eariler

magnade commented on 2014-07-07 16:31

a patch to fix the issue is here:
https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1230089.html

magnade commented on 2014-07-04 04:02

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

Bump to 3.3.5

fukawi2 commented on 2013-07-16 00:11

Bump to 3.3.4

fukawi2 commented on 2013-03-27 22:30

Thanks for spotting that JoKoT3.

Bumping to 3.3.3 as well.

JoKoT3 commented on 2013-03-27 08:43

The link given in post_install is deprecated and recommend reading http://wiki.zmanda.com/index.php/Getting_Started_With_Amanda instead.

fukawi2 commented on 2012-12-20 05:43

$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

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 ?

rod commented on 2012-12-20 05:33

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

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

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

fukawi2 commented on 2012-10-08 02:43

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

Anonymous comment on 2012-10-07 09:40

@juantascon: here is the patch:

--- a/gnulib/stdio.in.h
+++ b/gnulib/stdio.in.h
@@ -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=("http://downloads.sourceforge.net/$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
}

Anonymous comment on 2012-10-07 09:17

@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?

Anonymous comment on 2012-10-07 07:45

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

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

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

juantascon commented on 2012-10-05 13:19

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

Yes, I am on x86_64 also

Anonymous comment on 2012-05-09 06:07

My problem appears here: http://archives.zmanda.com/amanda-archives/viewtopic.php?t=6905&sid=8f4ed0e9def29e0950558abbb48b59a5

Anonymous comment on 2012-05-09 05:55

> 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

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)

Anonymous comment on 2012-05-08 12:50

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

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

Anonymous comment on 2012-04-09 06:14

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 @@
# server1.example.com 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

Bump to 3.3.1

Anonymous comment on 2011-09-05 11:27

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

Bump to 3.3.0

fukawi2 commented on 2011-05-27 08:49

Bump to 3.2.3

Anonymous comment on 2011-03-13 07:28

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

fukawi2 commented on 2011-03-10 22:36

Bump to 3.2.2

Anonymous comment on 2011-03-08 20:50

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

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...

Anonymous comment on 2011-03-07 15:57

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


See: http://wiki.zmanda.com/index.php/FAQ:What_versions_of_GNU_Tar_are_Amanda-compatible%3F

Anonymous comment on 2011-03-02 05:17

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

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.

Anonymous comment on 2011-03-01 14:48

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

Bump to 3.2.1

fukawi2 commented on 2010-10-20 22:06

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

Anonymous comment on 2010-10-13 19:46

Thanks!

fukawi2 commented on 2010-10-10 06:58

Bump to 3.1.3 (Security update)

Anonymous comment on 2010-10-09 20:20

A security flaw has been discovered in version 3.1.2.
http://www.amanda.org/secalert-3-1-2.php

Version 3.1.3 fixes the issue.

fukawi2 commented on 2010-08-18 02:01

Bump to 3.1.2

fukawi2 commented on 2010-08-18 01:59

New package building now :)

fukawi2 commented on 2010-07-24 07:15

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

Anonymous comment on 2010-07-23 11:22

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

fukawi2 commented on 2010-07-12 23:02

Bump to 3.1.1