svn commit: r365640 - in head/security: . p5-Crypt-RHash p5-Crypt-RHash/files
Ryan Steinmetz
zi at FreeBSD.org
Fri Aug 22 12:50:07 UTC 2014
Author: zi
Date: Fri Aug 22 12:50:05 2014
New Revision: 365640
URL: http://svnweb.freebsd.org/changeset/ports/365640
QAT: https://qat.redports.org/buildarchive/r365640/
Log:
New port: security/p5-Crypt-RHash:
Crypt::Rhash module is an object-oriented interface to the LibRHash library,
allowing simultaneous calculation of several hash functions for a file or a
text message.
Resulting hash digest can be obtained in hexadecimal, BASE32, BASE64, raw
binary format or as a magnet link.
WWW: http://search.cpan.org/dist/Crypt-RHash/
PR: 192899
Submitted by: proler at gmail.com
Added:
head/security/p5-Crypt-RHash/
head/security/p5-Crypt-RHash/Makefile (contents, props changed)
head/security/p5-Crypt-RHash/distinfo (contents, props changed)
head/security/p5-Crypt-RHash/files/
head/security/p5-Crypt-RHash/files/patch-librhash__rhash_torrent.h (contents, props changed)
head/security/p5-Crypt-RHash/pkg-descr (contents, props changed)
head/security/p5-Crypt-RHash/pkg-plist (contents, props changed)
Modified:
head/security/Makefile
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Fri Aug 22 11:31:34 2014 (r365639)
+++ head/security/Makefile Fri Aug 22 12:50:05 2014 (r365640)
@@ -494,6 +494,7 @@
SUBDIR += p5-Crypt-RandPasswd
SUBDIR += p5-Crypt-Random
SUBDIR += p5-Crypt-Random-Source
+ SUBDIR += p5-Crypt-RHash
SUBDIR += p5-Crypt-Rijndael
SUBDIR += p5-Crypt-Rijndael_PP
SUBDIR += p5-Crypt-SKey
Added: head/security/p5-Crypt-RHash/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/p5-Crypt-RHash/Makefile Fri Aug 22 12:50:05 2014 (r365640)
@@ -0,0 +1,21 @@
+# Created by: perl at FreeBSD.org
+# $FreeBSD$
+
+PORTNAME= Crypt-RHash
+PORTVERSION= 0.91
+CATEGORIES= security perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl at FreeBSD.org
+COMMENT= Compute hash sums and magnet links
+
+LICENSE= MIT
+
+USES= perl5
+USE_PERL5= configure fixpacklist
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${SITE_PERL}/mach/auto/Crypt/Rhash/Rhash.so
+
+.include <bsd.port.mk>
Added: head/security/p5-Crypt-RHash/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/p5-Crypt-RHash/distinfo Fri Aug 22 12:50:05 2014 (r365640)
@@ -0,0 +1,2 @@
+SHA256 (Crypt-RHash-0.91.tar.gz) = ce615fb0214c83c3ee7484937c7c64410d33882f0c9287baafee43b8755e55bc
+SIZE (Crypt-RHash-0.91.tar.gz) = 153862
Added: head/security/p5-Crypt-RHash/files/patch-librhash__rhash_torrent.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/p5-Crypt-RHash/files/patch-librhash__rhash_torrent.h Fri Aug 22 12:50:05 2014 (r365640)
@@ -0,0 +1,11 @@
+--- ./librhash/rhash_torrent.h.orig 2014-08-22 08:37:39.000000000 -0400
++++ ./librhash/rhash_torrent.h 2014-08-22 08:37:46.000000000 -0400
+@@ -11,8 +11,6 @@
+ # define RHASH_API
+ #endif
+
+-typedef struct rhash_context* rhash;
+-
+ /* a binary string with length */
+ typedef struct rhash_str
+ {
Added: head/security/p5-Crypt-RHash/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/p5-Crypt-RHash/pkg-descr Fri Aug 22 12:50:05 2014 (r365640)
@@ -0,0 +1,8 @@
+Crypt::Rhash module is an object-oriented interface to the LibRHash library,
+allowing simultaneous calculation of several hash functions for a file or a
+text message.
+
+Resulting hash digest can be obtained in hexadecimal, BASE32, BASE64, raw
+binary format or as a magnet link.
+
+WWW: http://search.cpan.org/dist/Crypt-RHash/
Added: head/security/p5-Crypt-RHash/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/p5-Crypt-RHash/pkg-plist Fri Aug 22 12:50:05 2014 (r365640)
@@ -0,0 +1,7 @@
+%%PERL5_MAN3%%/Crypt::Rhash.3.gz
+%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/Rhash.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Rhash/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Rhash/Rhash.so
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Rhash
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Crypt
More information about the svn-ports-head
mailing list