Bug 1047601 - Review Request: php-phpseclib-crypt-blowfish - Pure-PHP implementation of Blowfish
Summary: Review Request: php-phpseclib-crypt-blowfish - Pure-PHP implementation of Blo...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Remi Collet
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1047596
Blocks: 1047611
TreeView+ depends on / blocked
 
Reported: 2014-01-01 03:13 UTC by Adam Williamson
Modified: 2014-02-25 18:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-14 21:47:46 UTC
Type: ---
Embargoed:
fedora: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)
phpci.log (8.54 KB, application/mbox)
2014-01-10 06:34 UTC, Remi Collet
no flags Details
review.txt (7.72 KB, text/plain)
2014-01-10 06:35 UTC, Remi Collet
no flags Details

Description Adam Williamson 2014-01-01 03:13:01 UTC
Spec URL: https://www.happyassassin.net/reviews/php-phpseclib-Crypt-Blowfish/php-phpseclib-Crypt-Blowfish.spec
SRPM URL: https://www.happyassassin.net/reviews/php-phpseclib-Crypt-Blowfish/php-phpseclib-Crypt-Blowfish-0.3.5-1.fc21.src.rpm
Description: Uses mcrypt, if available, and an internal implementation, otherwise. Incompatible with php-pear-Crypt-Blowfish.
Fedora Account System Username: adamwill

Followed Debian approach of renaming this library since it conflicts with php-pear-Crypt-Blowfish, Debian maintainer appears to have concluded it's not a drop-in replacement already (he tried replacing php-pear-Crypt-Blowfish with this in their 0.3.5-1 build, and reverted it in 0.3.5-2).

Comment 1 Remi Collet 2014-01-01 06:16:07 UTC
Quick note about the renaming: the prefered way to alter pear installation is to change do this in %prep and fixing the package.xml, so the file will be installed as wanted.

Any change after "pear install" breaks the pear metadata : "pear list-files" will be inconsistent with "rpm -ql".

Comment 3 Remi Collet 2014-01-05 08:08:18 UTC
For now build fails.

ERROR: bad md5sum for file /dev/shm/extras/BUILDROOT/php-phpseclib-crypt-blowfish-0.3.5-2.fc19.remi.x86_64/usr/share/pear/Crypt/Blowfish-phpseclib.php


sed -i -e 's,Blowfish.php,Blowfish-phpseclib.php,g' package.xml => OK.
sed -i -e 's,Blowfish.php,Blowfish-phpseclib.php,g' ...Blowfish.php => KO

If you change the content of a file, you need to clear the md5sum in the package.xml else the pear install fails.

Comment 4 Remi Collet 2014-01-05 08:23:08 UTC
Also need to be fixed:
php-phpseclib-crypt-blowfish.src: W: invalid-url URL: http://phpseclib.sourceforge.net/package/Crypt_Blowfish HTTP Error 404: Not Found

Comment 7 Remi Collet 2014-01-10 06:34:24 UTC
Created attachment 848052 [details]
phpci.log

Comment 8 Remi Collet 2014-01-10 06:35:07 UTC
Created attachment 848054 [details]
review.txt

Generated by fedora-review 0.5.0 (920221d) last change: 2013-08-30
Command line :/usr/bin/fedora-review -b 1047610

Comment 9 Remi Collet 2014-01-10 06:35:30 UTC
[!]: Requires correct, justified where necessary.
  From package.xml, option so package choice
    php-mcrypt
  From code, used in Crypt_Blowfish::setPawword()
    php-pear(phpseclib.sourceforge.net/Crypt_Hash)

[-]: If the source package does not include license text(s) as a separate file
     from upstream, the packager SHOULD query upstream to include it.
  => License text is included in the single source header

[x]: Package does not own files or directories owned by other packages.
  Ok, but if you add require on Crypt_Hash, you have to drop the ownership of
  /usr/share/pear/Crypt

Comment 11 Remi Collet 2014-01-11 07:29:38 UTC
[x]: Requires correct, justified where necessary.
[x]: Package does not own files or directories owned by other packages.

== APPROVED ==

Comment 12 Adam Williamson 2014-01-14 19:36:57 UTC
New Package SCM Request
=======================
Package Name: php-phpseclib-crypt-blowfish
Short Description: Pure-PHP implementation of Blowfish
Owners: adamwill
Branches: f20 el6
InitialCC:

Comment 13 Jason Tibbitts 2014-01-14 21:03:07 UTC
Git done (by process-git-requests).

Comment 14 Adam Williamson 2014-01-14 21:47:46 UTC
Building for Rawhide: http://koji.fedoraproject.org/koji/taskinfo?taskID=6405986

Comment 15 Adam Williamson 2014-02-24 03:24:19 UTC
Package Change Request
======================
Package Name: php-phpseclib-net-ssh2
New Branches: f19 epel7

Comment 16 Adam Williamson 2014-02-24 03:25:03 UTC
correction:

Package Change Request
======================
Package Name: php-phpseclib-crypt-blowfish
New Branches: f19 epel7

Comment 17 Gwyn Ciesla 2014-02-24 13:21:08 UTC
No owners specified.

Comment 18 Adam Williamson 2014-02-25 18:24:43 UTC
Package Change Request
======================
Package Name: php-phpseclib-crypt-blowfish
New Branches: f19 epel7
Owners: adamwill

Comment 19 Gwyn Ciesla 2014-02-25 18:48:00 UTC
Git done (by process-git-requests).


Note You need to log in before you can comment on or make changes to this bug.