Patch with issues for amanda-server/amanda-client
Dylan Leigh
fbsd at dylanleigh.net
Sun Aug 31 09:50:12 UTC 2014
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
More information about the freebsd-ports
mailing list