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@gmail.com
This commit is contained in:
zi
2014-08-22 12:50:05 +00:00
parent 9d14af5eef
commit ffe760267e
6 changed files with 50 additions and 0 deletions
+1
View File
@@ -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
+21
View File
@@ -0,0 +1,21 @@
# Created by: perl@FreeBSD.org
# $FreeBSD$
PORTNAME= Crypt-RHash
PORTVERSION= 0.91
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@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>
+2
View File
@@ -0,0 +1,2 @@
SHA256 (Crypt-RHash-0.91.tar.gz) = ce615fb0214c83c3ee7484937c7c64410d33882f0c9287baafee43b8755e55bc
SIZE (Crypt-RHash-0.91.tar.gz) = 153862
@@ -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
{
+8
View File
@@ -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/
+7
View File
@@ -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
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Rhash
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Crypt