Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2016 18:37:34 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421517 - head/security/rubygem-bcrypt/files
Message-ID:  <201609071837.u87IbYl7017773@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Wed Sep  7 18:37:34 2016
New Revision: 421517
URL: https://svnweb.freebsd.org/changeset/ports/421517

Log:
  security/rubygem-bcrypt: rip out unused crypt_r implementation
  
  PR:		212304
  Submitted by:	xmj

Added:
  head/security/rubygem-bcrypt/files/
  head/security/rubygem-bcrypt/files/patch-ext_mri_ow-crypt.h   (contents, props changed)
  head/security/rubygem-bcrypt/files/patch-ext_mri_wrapper.c   (contents, props changed)

Added: head/security/rubygem-bcrypt/files/patch-ext_mri_ow-crypt.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/rubygem-bcrypt/files/patch-ext_mri_ow-crypt.h	Wed Sep  7 18:37:34 2016	(r421517)
@@ -0,0 +1,10 @@
+--- ext/mri/ow-crypt.h.orig	2016-09-01 08:48:28 UTC
++++ ext/mri/ow-crypt.h
+@@ -16,7 +16,6 @@
+ 
+ #ifndef __SKIP_GNU
+ extern char *crypt(__CONST char *key, __CONST char *setting);
+-extern char *crypt_r(__CONST char *key, __CONST char *setting, void *data);
+ #endif
+ 
+ #ifndef __SKIP_OW

Added: head/security/rubygem-bcrypt/files/patch-ext_mri_wrapper.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/rubygem-bcrypt/files/patch-ext_mri_wrapper.c	Wed Sep  7 18:37:34 2016	(r421517)
@@ -0,0 +1,16 @@
+--- ext/mri/wrapper.c.orig	2016-09-01 08:48:10 UTC
++++ ext/mri/wrapper.c
+@@ -185,13 +185,6 @@ char *crypt_ra(__CONST char *key, __CONS
+ 	return _crypt_blowfish_rn(key, setting, (char *)*data, *size);
+ }
+ 
+-char *crypt_r(__CONST char *key, __CONST char *setting, void *data)
+-{
+-	return _crypt_retval_magic(
+-		crypt_rn(key, setting, data, CRYPT_OUTPUT_SIZE),
+-		setting, (char *)data);
+-}
+-
+ #define __crypt_gensalt_rn crypt_gensalt_rn
+ #define __crypt_gensalt_ra crypt_gensalt_ra
+ #define __crypt_gensalt crypt_gensalt



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