AFS::PAG

Warning

This package is orphaned. Although I believe it is still useful, I no longer use AFS and am no longer maintaining this Perl module. If you would like to pick up maintenance of this package, please feel free. Contact me if you need CPAN access to the namespace or would like this page to redirect to its new home.

Description

AFS is a distributed file system allowing cross-platform sharing of files among multiple computers. It associates client credentials (called AFS tokens) with a Process Authentication Group, or PAG. AFS::PAG makes available in Perl the PAG manipulation functions provided by the libkafs or libkopenafs libraries.

With the functions provided by this module, a Perl program can detect whether AFS is available on the local system and whether it is currently running inside a PAG. It can also create a new PAG and put the current process in it, and remove any AFS tokens in the current PAG.

This module doesn't provide a direct way to obtain new AFS tokens, only to create a new PAG so that any obtained tokens are isolated from other processes on the system and can be inherited by child processes.

Requirements

Perl 5.010 or later, the Config::AutoConf module, and a C compiler are required to build this module. On any platform other than Linux, either the kafs library (from Heimdal) or the kopenafs library (from recent versions of OpenAFS) are also required.

The following additional Perl modules will be used by the test suite if present:

All are available on CPAN. Those tests will be skipped if the modules are not available.

To enable tests that may be sensitive to the local environment or that produce a lot of false positives without uncovering many problems, set RRA_MAINTAINER_TESTS to a true value.

Download

The distribution:

AFS::PAG 1.02 2014-07-28 tar.gz (PGP signature) tar.xz (PGP signature)

An archive of older releases is also available.

A Debian package (as libafs-pag-perl) will be included in Debian 8.0 (jessie).

AFS::PAG is maintained using the Git version control system. To check out the current development tree, clone:

    git://git.eyrie.org/afs/afs-pag.git

You can also browse the current development source.

Documentation

User documentation:

Developer documentation:

License

The AFS::PAG package as a whole is covered by the following license:

Copyright 2013, 2014 The Board of Trustees of the Leland Stanford Junior University

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Some individual source files are covered by other, compatible licenses. For complete copyright and license information, see the file LICENSE in the AFS::PAG source distribution.

Last modified and spun 2014-09-14