Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 2014 19:49:30 +1000
From:      Dylan Leigh <fbsd@dylanleigh.net>
To:        freebsd-ports@freebsd.org
Subject:   Patch with issues for amanda-server/amanda-client
Message-ID:  <20140831094930.GA31615@exhan.dylanleigh.net>
In-Reply-To: <20140831091814.A861C704071@homiemail-a5.g.dreamhost.com>
References:  <20140831091814.A861C704071@homiemail-a5.g.dreamhost.com>

next in thread | previous in thread | raw e-mail | index | archive | help

I've filed a patch to amanda-server (and slave port amanda-client) to
add staging support and set me as maintainer:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193196

This is my first staging patch; I followed all the steps in the
wiki guide at https://wiki.freebsd.org/ports/StageDir but have a few
unresolved issues because the way the port is built:

1) Amanda (upstream code) builds its own install-hook target which it
   uses to set setuid bits amongst other things, This isn't ideal and
   prevents packages being built as non-root. I have tried to fix this
   but haven't had the time yet to figure it out so I have set
   NEEDS_ROOT in the Makefile for now.

2) Many reported orphans were added to the plist after several
   iterations of the patch, and I am not sure if I have set everything
   correctly so that files which will only be present given certain
   OPTIONS are set correctly in the plist and vice versa. Some of the
   reported orphans seem to be false positives (see (3))

3) The way the whole Amanda port is split into a master -server and a
   slave -client seems to be causing a lot of the complications 
   In particular, the master -server port actually depends on the
   slave -client port being built. The -server port contains all the
   code for building the client including a seperate plist and a big
   chunk of the Makefile.
   It might solve some of the complication if the seperation between the
   two was ripped out with one port for both with a CLIENT_ONLY option
   (as the server requires the client files installed anyway).

Please let me know if you have any advice/criticism/suggestions/hints/
opinions/there is anything missing.

Thanks,
Dylan

-- 
Dylan Leigh // VU# s4081906 // www.dylanleigh.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140831094930.GA31615>