From 7bf6048381fbdd8980977d32981ddfcb5d0cb0ba Mon Sep 17 00:00:00 2001 From: nanardon Date: Sun, 9 Jul 2006 10:49:27 +0000 Subject: - document RPM4::Sign git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@116 971eb68f-4bfb-0310-8326-d2484c010a4c --- RPM4/lib/RPM4/Sign.pm | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/RPM4/lib/RPM4/Sign.pm b/RPM4/lib/RPM4/Sign.pm index 9ed3a24..13ab14c 100644 --- a/RPM4/lib/RPM4/Sign.pm +++ b/RPM4/lib/RPM4/Sign.pm @@ -149,3 +149,62 @@ sub rpmssign { } 1; + +__END__ + +=head1 NAME + +RPM4::Sign + +=head1 SYNOPSIS + +A container to massively resign packages + +=head1 DESCRIPTION + +This object retains gpg options and provides functions to easilly sign or +resign packages. It does not resign packages having already the proper +signature. + +=head1 METHODS + +=head2 new(%options) + +Create a new RPM4::Sign object. + +Options are: + +=over 4 + +=item name + +The gpg key identity to use + +=item path + +the gpg homedir where keys are located + +=item password_file + +Use passphrase contains in this files + +=item passphrase + +Use this passphrase to unlock the key + +=item checkrpms + +Set to 0 remove the signature checking on packages + +=back + +=head2 rpmssign(@filelist) + +Sign or resign the packages passed are arguments + +=head1 SEE ALSO + +L +L + +=cut -- cgit v1.2.1