summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornanardon <nanardon@971eb68f-4bfb-0310-8326-d2484c010a4c>2006-07-09 10:49:27 +0000
committernanardon <nanardon@971eb68f-4bfb-0310-8326-d2484c010a4c>2006-07-09 10:49:27 +0000
commit7bf6048381fbdd8980977d32981ddfcb5d0cb0ba (patch)
treec1325885c0fdb467f8b8f461fe2a63db11221eaf
parente346d804d3b5e42ef082fbebbc47a6f31e5ca648 (diff)
downloadperl-RPM4-7bf6048381fbdd8980977d32981ddfcb5d0cb0ba.tar
perl-RPM4-7bf6048381fbdd8980977d32981ddfcb5d0cb0ba.tar.gz
perl-RPM4-7bf6048381fbdd8980977d32981ddfcb5d0cb0ba.tar.bz2
perl-RPM4-7bf6048381fbdd8980977d32981ddfcb5d0cb0ba.tar.xz
perl-RPM4-7bf6048381fbdd8980977d32981ddfcb5d0cb0ba.zip
- document RPM4::Sign
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@116 971eb68f-4bfb-0310-8326-d2484c010a4c
-rw-r--r--RPM4/lib/RPM4/Sign.pm59
1 files changed, 59 insertions, 0 deletions
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<RPM4>
+L<RPM4::Header>
+
+=cut