srm-client: fix adler32

The adler32 script invokes the Adler32 class to calculate the ADLER32 digest of a file.

Subsequent to the 2.6.0 release, this class was mistakenly moved to srm-server, so isn't
part of the srm-client packages, which means that this command fails if srm-client is
built from branches newer than 2.6.

This patch moves the Adler32 class to the srm-client package.  It also moves the GridftpList
class that is also used by a script (which we currently don't distribute).  The two scripts
command-line-clietn and srm_v1 (both of which we don't distribute) are deleted as they
refer to classes that do not exist.  The unused Makefile is also deleted.

Target: master
Request: 2.8
Request: 2.7
Acked-by: Gerd Behrmann
Patch: http://rb.dcache.org/r/6643/
use ISO 8601 time format in sweeper ls -l output

"sweeper ls -l" output did not contain year in the format
of creation and last access timestamps. This patchs modifies
ouptut to show time in ISO 8601 time format :

admin > sweeper ls -l
  0 000029A61FE585D94C74955AE61BF3AB396F  CACHED          993 2014-02-21T17:47:37 2014-02-21T17:47:37
  1 00009C6579BE112B40848D2F1221CB5D03FC  CACHED          993 2014-02-21T21:36:57 2014-02-21T21:36:57

RELEASE NOTES:

"sweeper ls -l" output did not contain year in the format
of creation and last access timestamps. This patchs modifies
ouptut to show time in ISO 8601 time format :

admin > sweeper ls -l
  0 000029A61FE585D94C74955AE61BF3AB396F  CACHED          993 2014-02-21T17:47:37 2014-02-21T17:47:37
  1 00009C6579BE112B40848D2F1221CB5D03FC  CACHED          993 2014-02-21T21:36:57 2014-02-21T21:36:57

Patch: http://rb.dcache.org/r/6634/
Require-notes: yes
Require-book: no
Acked-by: Tigran Mkrtchyan
Target: trunk
poolmanager: Add partition for transfer buffers

Adds the 'buffer' partition type. This partition type is for pools that are
used as temporary transfer buffers rather than long term storage.

Pool selection does not take free space into account (with the exception of not
selecting full pools for writes). Pools are selected by load only, using a
randomized weighted selection with 1/2^(cc * mc * n) as the weigth, where n is
the number of movers on the pool, mc is the mover cost factor of the pool and
cc is the cpucostfactor as configured in the partition. Mover queue limits do
not influence pool selection.

Buffer pools do not support hot spot replication, cost based link fallbacks,
replication limits, same host replication protection, nor idle cost cuts.
Buffer pools do support pool to pool transfers as well as stage from tape,
although the current implementation may not be well suited for tape pools.

Target: trunk
Require-notes: yes
Require-book: yes
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Acked-by: Paul Millar <paul.millar@desy.de>
Acked-by: Dmitry Litvintsev <litvinse@fnal.gov>
srm,srm-client: Report failure for failed SRM v1 transfers

Fixes the following bugs:

- The srm client ignored failures to set the file status to 'Done'.

- The srm client changed the file status to 'Done' even when the
  transfer failed.

- The srm server did not accept 'Failed' as a file status even
  though the spec lists it as a valid status for setFileStatus.

I am requesting a merge to stable branches as this bug may report
failed uploads as having been successful.

Target: master
Request: 2.8
Request: 2.7
Request: 2.6
Require-notes: yes
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/6629/
chimera: Add mv to chimera shell

Target: trunk
Require-notes: yes
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/6632/
Update to liquibase 3.1.1

I need the new beforeColumn attribute in subsequent space manager patches.

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/6635/
loginbroker: Register root path of doors

The patch adds the root path of each door to the information registered in
loginbroker.

The following properties are obsolete:

srm.service.webdav.root
srm.service.xrootd.root

Target: trunk
Require-notes: yes
Require-book: yes
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6641/
chimera: Minor refactoring of tag reading code

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6642/
Convert tabs to space
nfs: remove unused exception declaration

Acked-by: Paul Millar
Target: master
Require-book: no
Require-notes: no
nfs: fix NPE on door reboot

handle PoolPassiveIoFileMessage message comming from a pool
even if door did not initialize it. Happend on door restarts
during heavy IO load.

Acked-by: Paul Millar
Target: master
Require-book: no
Require-notes: no
gss: tidy up FQAN-extraction

The SRM interface and the dcap door extract a list of FQANs from a
certificate chain.  In the past, the caller was responsible for
supplying the objects used to achieve this; but, some time ago, this
changed and these objects are created within GSSUtils, independent of
the caller.

The interface was not updated to reflect this, so callers were forced
to create objects that were then not used.  Also, methods marked
themselves as throwing an Exception that they never do.

These wrinkles are fixed with this patch.

Target: master
Patch: http://rb.dcache.org/r/6656/
Acked-by: Gerd Behrmann
srm: simply job.setState

There are currently two setState methods in Job.  The two-arg version calls the 3-arg
version will the 'save' argument hard-coded to true.  The 'save' argument provides
some control over whether the updated job is saved to some JobStorage.

Currently, all calls to setState use the 2-arg version (with 'save' as true),
except for Scheduler, which explicitly calls job.saveJob, so has the same
effect as calling the 2-arg version.

This patch simplifies the process by removing the 3-arg signature method
and always calling the zero-arg saveJob method.

Target: master
Patch: http://rb.dcache.org/r/6651/
Acked-by: Gerd Behrmann
Acked-by: Dmitry Litvintsev
packaging: remove '-1' from tarball

Currently, tarballs are built with a '-1' in the filename and their
corresponding initial (containing) directory.  This is both unusual
and disconcerting.  This patch removes the '-1' from both the package
name and the initial directory.

Target: master
Request: 2.8
Request: 2.7
Request: 2.6
Request: 2.2
Patch: http://rb.dcache.org/r/6580/
Acked-by: Tigran Mkrtchyan
chimera: fix create link on existing object

throw FileExistsChimeraFsException is object with the same name already exists

Acked-by: Albert Rossi
Target: master
Require-book: no
Require-notes: no
srm: Take root path into account when selecting protocol

Changes the door selection logic such that the root path of a door is taken
into account when selecting a transfer protocol.

Also refactors the Storage interface such that the decision to reuse a door is
done in the Storage implementation rather than in the generic SRM code (which
shouldn't know about dcap).

Target: trunk
Require-notes: yes
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6645/
srm: Various minor refactorings

These things were originally part of the unique TURL patch, but are
not directly a consequence of using unique TURLs.

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6646/
srm: Add SRM status code to SRMException

Makes it easier to translate exceptions to an SRM reply. Unused
in this patch, but is used in subsequent patches.

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/6659/
xrootd: Upgrade to xrootd4j 1.3.1

Fixes problems with null-termination of string in xrootd messages.

Target: trunk
Require-notes: yes
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/6669/
Upgrade to HikariCP 1.3.2

Solves a problem with JMX releated warning messages being logged.

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/6670/