Shared libraries used by perl packages and referenced as a submodule in many git repos
Switch branches/tags
libperfsonar-sls-perl-3.5 libperfsonar-sls-perl-3.5-2.rc2 libperfsonar-sls-perl-3.5-1.rc1 libperfsonar-sls-perl-3.4.2 libperfsonar-perl-3.5.0.1 libperfsonar-perl-3.5 libperfsonar-perl-3.5-4.rc2 libperfsonar-perl-3.5-3.rc2 libperfsonar-perl-3.5-2.rc1 libperfsonar-perl-3.5-1.rc1 libperfsonar-perl-3.4.2 debian/wheezy/4.0.2.2-1_bpo70+1 debian/wheezy/4.0.2.1-1_bpo70+1 debian/wheezy/4.0.2-2.b1-1_bpo70+1 debian/wheezy/4.0.2-1_bpo70+1 debian/wheezy/4.0.1-1.rc1-1_bpo70+1 debian/wheezy/4.0.1-1_bpo70+1 debian/wheezy/4.0.0.1-1_bpo70+1 debian/wheezy/4.0-14.rc3-1_bpo70+1 debian/wheezy/4.0-13.rc3-1_bpo70+1 debian/wheezy/4.0-12.rc3-1_bpo70+1 debian/wheezy/4.0-10.rc2-1_bpo70+1 debian/wheezy/4.0-9.rc2-1_bpo70+1 debian/wheezy/4.0-8.rc2-1_bpo70+1 debian/wheezy/4.0-6.rc2-1_bpo70+1 debian/wheezy/4.0-5.rc1-1_bpo70+1 debian/wheezy/4.0-4.rc1-1_bpo70+1 debian/wheezy/4.0-3.rc1-2_bpo70+1 debian/wheezy/4.0-3.rc1-1_bpo70+1 debian/wheezy/4.0-2.rc1-1_bpo70+1 debian/wheezy/4.0-1_bpo70+1 debian/wheezy/3.5.1.9-1_bpo70+1 debian/wheezy/3.5.1.8-1_bpo70+1 debian/wheezy/3.5.1.6-1_bpo70+1 debian/wheezy/3.5.1.5-1_bpo70+1 debian/wheezy/3.5.1.3-1_bpo70+1 debian/wheezy/3.5.1.2-1_bpo70+1 debian/wheezy/3.5.1.1-2_bpo70+1 debian/wheezy/3.5.1.1-1_bpo70+1 debian/wheezy/3.5.1-2.rc1-2_bpo70+1 debian/wheezy/3.5.1-2.rc1-1_bpo70+1 debian/wheezy/3.5.1-1.rc1-2_bpo70+1 debian/wheezy/3.5.1-1.rc1-1_bpo70+1 debian/wheezy/3.5.1-1_bpo70+1 debian/wheezy/libperfsonar-sls-perl-3.5-2.rc2-1 debian/wheezy/libperfsonar-sls-perl-3.5-1 debian/wheezy/libperfsonar-sls-perl-3.5-1.rc1-1 debian/wheezy/libperfsonar-sls-perl-3.4.2-1 debian/wheezy/libperfsonar-perl-3.5.0.1-1 debian/wheezy/libperfsonar-perl-3.5-4.rc2-1 debian/wheezy/libperfsonar-perl-3.5-3.rc2-3 debian/wheezy/libperfsonar-perl-3.5-3.rc2-2 debian/wheezy/libperfsonar-perl-3.5-2.rc1-1 debian/wheezy/libperfsonar-perl-3.5-1 debian/wheezy/libperfsonar-perl-3.5-1.rc1-1 debian/wheezy/libperfsonar-perl-3.4.2-1 debian/jessie/4.1.2-1 debian/jessie/4.1.1-1 debian/jessie/4.1-4.b1-1 debian/jessie/4.1-3.b1-1 debian/jessie/4.1-2.b1-1 debian/jessie/4.1-1 debian/jessie/4.0.2.2-1 debian/jessie/4.0.2.1-1 debian/jessie/4.0.2-2.b1-1 debian/jessie/4.0.2-1 debian/jessie/4.0.1-1 debian/jessie/4.0.1-1.rc1-1 debian/jessie/4.0.0.1-1 debian/jessie/4.0-14.rc3-1 debian/jessie/4.0-13.rc3-1 debian/jessie/4.0-12.rc3-1 debian/jessie/4.0-10.rc2-1 debian/jessie/4.0-9.rc2-1 debian/jessie/4.0-8.rc2-1 debian/jessie/4.0-6.rc2-1 debian/jessie/4.0-5.rc1-1 debian/jessie/4.0-4.rc1-1 debian/jessie/4.0-3.rc1-2 debian/jessie/4.0-3.rc1-1 debian/jessie/4.0-2.rc1-1 debian/jessie/4.0-1 debian/jessie/3.5.1.9-1 debian/jessie/3.5.1.8-1 debian/jessie/3.5.1.6-1 debian/jessie/3.5.1.5-1 debian/jessie/3.5.1.3-1 debian/jessie/3.5.1.2-1 debian/jessie/3.5.1.1-2 debian/jessie/3.5.1.1-1 debian/jessie/3.5.1-2.rc1-2 debian/jessie/3.5.1-2.rc1-1 debian/jessie/3.5.1-1 debian/jessie/3.5.1-1.rc1-2 debian/jessie/3.5.1-1.rc1-1 4.1.2 4.1.1 4.1 4.1-4.b1 4.1-3.b1
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
SimpleLookupServiceTests
doc
lib
rpms
t
utils
.gitignore
LICENSE
MANIFEST
Makefile
README.md
libperfsonar.spec

README.md

perfSONAR Shared PERL Libraries and Tools

This repository contains libraries and tools shared amongst perfSONAR components written in PERL. It is most often included as a git submodule in those repositories.

What's in this repository?

This repository contains the following PERL libraries:

  • Client libraries to the lookup service and measurement archive
  • Configuration file utilities
  • Regular testing tool parsers and registration modules
  • Logging utilities
  • Utilities for handling DNS, IP addresses, NTP, GeoLookups, HTTP and other common protocols
  • Utilties for configuring, starting and stopping operating system services

It also contains the following command-line tools:

  • Tools for finding missing dependencies and unpackaged files (see the utils directory)
  • Tools for critiquing PERL code (see the docs directory)

Using this repository as a git submodule

You may use this repository as a git submodule in another project. You may then do things like symbolic link to the PERL libraries or have easy access to the packaging tools. Run the following to create the submodule in a directory called shared in your repository :

git submodule add https://github.com/perfsonar/perl-shared shared

If you want to use the PERL libraries from this submodule in your project, you may create symbolic links in the directory where you keep your own PERL modules. For example, if the PERL modules in my repository generally live under the lib directory, then I can run the following commands to link to the perfSONAR_PS::Utils::DNS module:

mkdir -p lib/perfSONAR_PS/Utils/
cd lib/perfSONAR_PS/Utils/
ln -s ../../../shared/lib/perfSONAR_PS/Utils/DNS.pm DNS.pm

If a change is made to this repository that you would like to pull into a repository referencing it as a submodule, you will need to run a few extra commands in that repository. Remember that by default a submodule points at a specific commit. To update which commit it points to run the following in the repository with the submodude reference:

git submodule foreach git pull origin master
git commit -a -m "Updating to latest shared"
git push

It's also worth noting that any clones of your repository will not download the submodule unless you include the --recursive option. Example:

git clone --recursive https://github.com/perfsonar/myproject.git

If you forget the --recursive option you can fetch the submodule contents as follows:

git submodule init
git submodule update

For more on submodules see the GitHub submodule documentation.

Building RPMs

You can build the RPMs with the following commands:

cd rpms
vagrant up
vagrant ssh
build

For more information on building and testing RPMs see rpms/RPM_README.md.