From owner-svn-ports-all@freebsd.org Wed Sep 7 18:37:36 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 133AABD0E79; Wed, 7 Sep 2016 18:37:36 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BEF701392; Wed, 7 Sep 2016 18:37:35 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u87IbYhC017775; Wed, 7 Sep 2016 18:37:34 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u87IbYl7017773; Wed, 7 Sep 2016 18:37:34 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201609071837.u87IbYl7017773@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Wed, 7 Sep 2016 18:37:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421517 - head/security/rubygem-bcrypt/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2016 18:37:36 -0000 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