Attached is an ebuild and requisite files for amanda-2.4.3. AMANDA is a backup client/server system for *nix. http://www.amanda.org/ Should belong in app-admin. Feedback is appreciated. Demo
Created attachment 10719 [details] Amanda ebuild
*** This bug has been marked as a duplicate of 13948 ***
Ive tested this and it works for me. There was a small problem with /var/amanda/gnutar-lists/* not being created, but this could have been my fault. This is a much better script than mine in Bug #13948
Commited to CVS.
Russell: thanks for this. It's in CVS now. app-admin/amanda. Your ebuild was the best of the many available.
Rock on! I'm looking at updating it to AMANDA 2.4.4 shortly. Demo
Actually I beat you to that. amanda-2.4.4 is what's in the tree.
Regarding the modified ebuild, very cool. However, I must raise a point regarding inetd vs xinetd. Due to remote exploits of amanda daemons in the past, I feel that the host based access control xinetd provides is essential. Thats why I included the AMANDA_SERVER and appropriate ACL's in .amandahosts and the xinetd amanda profile in my original ebuild. I'd make amanda depend on xinetd and remove support for inetd. Unlike other systems, inetd is not installed by default in gentoo, so you have to merge a package either way. Xinetd is now standard in many other distros as well. Comments? Demo
Most people use xinetd as their virtual/inetd, but we should _not_ stop them from using whatever inetd they want to.
I agree. =] If they want to use one or the other, what do I care? However, I just installed the ebuild today on a new server and inetd was installed because neither xinetd or inetd were present. I was suggesting that the default if there isn't one already installed should be xinetd for security reasons. Inetd should not be used by default in my opinion. Demo
Open a new bug saying the virtual/inetd should be changed to xinetd, and announce it on the -dev mailing list.
Installation error, sample cron job ends up in /. See patch below. Demo --- amanda-2.4.4.ebuild~ 2003-06-26 17:04:32.000000000 -0500 +++ amanda-2.4.4.ebuild 2003-07-07 09:59:53.000000000 -0500 @@ -149,7 +149,7 @@ # einfo "Installing Sample Daily Cron Job for Amanda" CRONDIR=/etc/cron.daily/ - exeinto ${CDRONDIR} + exeinto ${CRONDIR} newexe ${FILESDIR}/amanda-cron amanda dosed "s,__AMANDA_CONFIG_NAME__,${AMANDA_CONFIG_NAME},g" ${CRONDIR}/amanda fperms 644 ${CRONDIR}/amanda