FS#25793 - [abs] Add parsing of rsync args from the config file
Attached to Project:
Arch Linux
Opened by Leonid Isaev (lisaev) - Saturday, 27 August 2011, 18:45 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 15 May 2017, 17:17 GMT
Opened by Leonid Isaev (lisaev) - Saturday, 27 August 2011, 18:45 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 15 May 2017, 17:17 GMT
|
Details
Currently /usr/bin/abs calls rsync(1) with a fixed set of
arguments. This represents a problem if port 873 is blocked
by the firewall and one uses e.g. ssh port forwarding and
needs to point rsync (via --port=xxx) to the correct local
port. In abs.conf the only variable suitable to do so is
SYNCSERVER.
Please consider a small patch which introduces a SYNCARGS variable to abs.conf: SYNCSERVER="localhost" SYNCARGS="--port=13001" and enables abs to pick it up. On a side note, if the config file is local ($HOME/.abs.conf) then the output of abs --help is inconsistent as it still mentions /etc/abs.conf. This is also fixed... Thanks. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Monday, 15 May 2017, 17:17 GMT
Reason for closing: None
Additional comments about closing: Removed from repos
Monday, 15 May 2017, 17:17 GMT
Reason for closing: None
Additional comments about closing: Removed from repos
Comment by matt mooney (mfm) -
Monday, 07 November 2011, 18:54 GMT
Thanks for identifying this as a potential problem! Currently, I
am working on a new `abs' utility and will incorporate your
suggestions.