Bug 227803 - databases/phpmyadmin missing hash extension
Summary: databases/phpmyadmin missing hash extension
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Matthew Seaman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-27 08:31 UTC by Marko Cupać
Modified: 2018-06-23 09:19 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (matthew)


Attachments
add required hash extension (631 bytes, text/plain)
2018-04-27 08:31 UTC, Marko Cupać
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Cupać 2018-04-27 08:31:24 UTC
Created attachment 192838 [details]
add required hash extension

Hi,

I have just noticed that building current databases/phpmyadmin in poudriere, and installing resulting phpMyAdmin-php56-4.8.0.1 package on freshly installed system gives warning about missing hash extension.

Attached patch adds hash extension, after rebuilding and reinstalling it works for me.
Comment 1 Marko Cupać 2018-04-27 09:26:50 UTC
Also, phpmyadmin complains about missing tmp dir.

Creating it manually removes the warning:

mkdir /usr/local/www/phpMyAdmin/tmp
chown root:www /usr/local/www/phpMyAdmin/tmp
chmod 775 /usr/local/www/phpMyAdmin/tmp

I could probably create Makefile patch if needed.
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-04-28 11:24:45 UTC
A commit references this bug:

Author: matthew
Date: Sat Apr 28 11:24:17 UTC 2018
New revision: 468537
URL: https://svnweb.freebsd.org/changeset/ports/468537

Log:
  * Review port dependencies based on composer.json files included in
    the source

    - Add hash as a required dependency [1]

    - Move xml from optional to required

    - Add curl, gmp, opcache and sodium as optional dependencies: all of
      these default to off.  sodium only works with php >= 7.2, but
      there is no mechanism for modifying options dependent on flavour
      settings at the moment.

    - Move mbstring from required to optional dependency: defaults to on

  * Sort lists of options

  * Remove references to the redundant 'OPTIONS_MULTI_DB_connect': this
    was a remnant from an earlier version of the port which allowed
    switching between the old 'mysql' and the current 'mysqli' modules.

  * Add an empty %%WWWDIR%%/tmp directory to the plist: this is
    referenced in the configuration defaults [2].  Make this writable by
    the www group.

  PR:		227803
  Submitted by:	marko.cupac@mimar.rs [1]
  Reported by:	marko.cupac@mimar.rs [2]

Changes:
  head/databases/phpmyadmin/Makefile
  head/databases/phpmyadmin/pkg-plist-chunk
Comment 3 Matthew Seaman freebsd_committer freebsd_triage 2018-04-28 11:27:29 UTC
Committed, thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-06-23 09:19:49 UTC
A commit references this bug:

Author: matthew
Date: Sat Jun 23 09:19:21 UTC 2018
New revision: 473119
URL: https://svnweb.freebsd.org/changeset/ports/473119

Log:
  MFH: r468537 r470823 r473096

  * Review port dependencies based on composer.json files included in
    the source

    - Add hash as a required dependency [1]

    - Move xml from optional to required

    - Add curl, gmp, opcache and sodium as optional dependencies: all of
      these default to off.  sodium only works with php >= 7.2, but
      there is no mechanism for modifying options dependent on flavour
      settings at the moment.

    - Move mbstring from required to optional dependency: defaults to on

  * Sort lists of options

  * Remove references to the redundant 'OPTIONS_MULTI_DB_connect': this
    was a remnant from an earlier version of the port which allowed
    switching between the old 'mysql' and the current 'mysqli' modules.

  * Add an empty %%WWWDIR%%/tmp directory to the plist: this is
    referenced in the configuration defaults [2].  Make this writable by
    the www group.

  PR:		227803
  Submitted by:	marko.cupac@mimar.rs [1]
  Reported by:	marko.cupac@mimar.rs [2]

  Update to 4.8.1

  ChangeLog:	https://www.phpmyadmin.net/files/4.8.1/

  Security update to 4.8.2

  ChangeLog:	https://www.phpmyadmin.net/files/4.8.2/

  Security:	17cb6ff3-7670-11e8-8854-6805ca0b3d42

  Approved by:	ports-secteam (miwi)

Changes:
_U  branches/2018Q2/
  branches/2018Q2/databases/phpmyadmin/Makefile
  branches/2018Q2/databases/phpmyadmin/distinfo
  branches/2018Q2/databases/phpmyadmin/pkg-plist-chunk