NetBSD Problem Report #48510

From www@NetBSD.org  Sat Jan 11 03:00:00 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 1336DA61B7
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 11 Jan 2014 03:00:00 +0000 (UTC)
Message-Id: <20140111025958.7A9FDA6475@mollari.NetBSD.org>
Date: Sat, 11 Jan 2014 02:59:58 +0000 (UTC)
From: jun@soum.co.jp
Reply-To: jun@soum.co.jp
To: gnats-bugs@NetBSD.org
Subject: pkgsrc/security/libgcrypt:Add blowfish/serpent ARM assembly files to Makefile.am
X-Send-Pr-Version: www-1.0

>Number:         48510
>Category:       pkg
>Synopsis:       pkgsrc/security/libgcrypt:Add blowfish/serpent ARM assembly files to Makefile.am
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ryoon
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 11 03:00:00 +0000 2014
>Closed-Date:    Sat Jan 18 00:14:57 +0000 2014
>Last-Modified:  Sat Jan 18 00:14:57 +0000 2014
>Originator:     Jun Ebihara
>Release:        NetBSD 6.99.28/pkgsrc-2014-01-11
>Organization:
SOUM Corporation
>Environment:
NetBSD rpi 6.99.28 NetBSD 6.99.28 (RPI) #7: Fri Dec 20 11:53:44 JST 2013  jun@amivb.soum.co.jp:/usr/obj/earmhf.evbarm/sys/arch/evbarm/compile/RPI evbarm

>Description:
pkgsrc/security/libgcrypt failed on arm.

https://bugs.gentoo.org/show_bug.cgi?id=494668

need two patches:
1. cypher/blowfish-arm.S from git
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=blob_plain;f=cipher/bl\
owfish-arm.S;hb=4b7db51ad5d1bf98fd08ca3048f258059eca61a4

2. Add blowfish/serpent ARM assembly files to Makefile.am
http://www.gossamer-threads.com/lists/gnupg/gcrypt/64530


>How-To-Repeat:
1. boot NetBSD RPI image.
ftp://ftp.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2013-11-23-earmhf/2013-11-23-netbsd-raspi.img.gz
2. cd /usr/pkgsrc;cvs update -PAd
3. cd /usr/pkgsrc/security
4. make package-install

>Fix:
I've apply two patches:
1. cypher/blowfish-arm.S from git
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=blob_plain;f=cipher/bl\
owfish-arm.S;hb=4b7db51ad5d1bf98fd08ca3048f258059eca61a4

patch for pkgsrc -> 
https://github.com/ebijun/NetBSD/blob/master/pkgsrc/libgcrypt/patch-blowfish-arm.S

2. Add blowfish/serpent ARM assembly files to Makefile.am
http://www.gossamer-threads.com/lists/gnupg/gcrypt/64530

patch for pkgsrc ->
https://github.com/ebijun/NetBSD/blob/master/pkgsrc/libgcrypt/patch-Makefile.am

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: ryoon@NetBSD.org
Responsible-Changed-When: Sat, 11 Jan 2014 07:26:29 +0000
Responsible-Changed-Why:
I will take this. I have gotten same problem.


From: "Ryo ONODERA" <ryoon@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/48510 CVS commit: pkgsrc/security/libgcrypt
Date: Sat, 11 Jan 2014 10:49:14 +0000

 Module Name:	pkgsrc
 Committed By:	ryoon
 Date:		Sat Jan 11 10:49:14 UTC 2014

 Modified Files:
 	pkgsrc/security/libgcrypt: distinfo
 Added Files:
 	pkgsrc/security/libgcrypt/patches: patch-cipher_Makefile.am
 	    patch-cipher_Makefile.in patch-cipher_blowfish-arm.S
 	    patch-cipher_serpent-armv7-neon.S

 Log Message:
 Fix PR pkg/48510 pkgsrc/security/libgcrypt:
 Add blowfish/serpent ARM assembly files to Makefile.am

 * Add patches from upstream git repository
 * Tested on NetBSD/evbearmv6hf-el 6.99.28


 To generate a diff of this commit:
 cvs rdiff -u -r1.44 -r1.45 pkgsrc/security/libgcrypt/distinfo
 cvs rdiff -u -r0 -r1.1 \
     pkgsrc/security/libgcrypt/patches/patch-cipher_Makefile.am \
     pkgsrc/security/libgcrypt/patches/patch-cipher_Makefile.in \
     pkgsrc/security/libgcrypt/patches/patch-cipher_blowfish-arm.S \
     pkgsrc/security/libgcrypt/patches/patch-cipher_serpent-armv7-neon.S

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: ryoon@NetBSD.org
State-Changed-When: Sat, 11 Jan 2014 10:53:14 +0000
State-Changed-Why:
Please cvs update and try again. Thank you.


From: Jun Ebihara <jun@soum.co.jp>
To: gnats-bugs@NetBSD.org, ryoon@NetBSD.org
Cc: pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org
Subject: Re: pkg/48510 (pkgsrc/security/libgcrypt:Add blowfish/serpent ARM
 assembly files to Makefile.am)
Date: Sat, 18 Jan 2014 07:34:15 +0900 (JST)

 After CVS update,package make fine! thanx.

 From: ryoon@NetBSD.org
 Subject: Re: pkg/48510 (pkgsrc/security/libgcrypt:Add blowfish/serpent ARM assembly files to Makefile.am)
 Date: Sat, 11 Jan 2014 10:53:14 +0000 (UTC)

 > Synopsis: pkgsrc/security/libgcrypt:Add blowfish/serpent ARM assembly files to Makefile.am
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: ryoon@NetBSD.org
 > State-Changed-When: Sat, 11 Jan 2014 10:53:14 +0000
 > State-Changed-Why:
 > Please cvs update and try again. Thank you.
 > 
 > 
 > 

State-Changed-From-To: feedback->closed
State-Changed-By: ryoon@NetBSD.org
State-Changed-When: Sat, 18 Jan 2014 00:14:57 +0000
State-Changed-Why:
confirmed fixed, thank you.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.