Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 2014 12:50:05 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365640 - in head/security: . p5-Crypt-RHash p5-Crypt-RHash/files
Message-ID:  <201408221250.s7MCo5he023988@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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>

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
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Rhash
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Crypt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408221250.s7MCo5he023988>