notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
php-pHash PHP extension for the pHash perceptual hash library
0.9.6_5 multimedia on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port 0.9.6Version of this port present on the latest quarterly branch.
Maintainer: cyberbotx@cyberbotx.com search for ports maintained by this maintainer
Port Added: 2015-09-11 23:28:25
Last Update: 2019-07-26 21:46:57
SVN Revision: 507372
Also Listed In: devel
License: PHP30
Description:
SVNWeb : Homepage

There is no configure plist information for this port.

Dependency lines:
  • php72-pHash>0:multimedia/php-pHash
To install the port: cd /usr/ports/multimedia/php-pHash/ && make install clean
To add the package: pkg install php72-pHash
PKGNAME: php72-pHash
Package flavors (<flavor>: <package>)
  • php72: php72-pHash
  • php71: php71-pHash
  • php73: php73-pHash
distinfo:

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. phpize : lang/php72
  2. autoconf>0 : devel/autoconf
Runtime dependencies:
  1. php.h : lang/php72
Library dependencies:
  1. libpHash.so : multimedia/pHash
There are no ports dependent upon this port

Configuration Options

USES:

Master Sites:
  1. http://phash.org/releases/
  2. http://www.cyberbotx.com/pHash/
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2018-03-08
    Affects: */php* */pecl* */pear*
    Author: mat@FreeBSD.org
    Reason: 
      PHP extensions and modules have been flavored.
    
      People using Poudriere 3.2+ and binary packages do not have to do anything if
      they are using PHP applications.
    
      PHP modules and extensions may have change their names from php5- or php7- to
      fully versionned phpXY-.
      PECL extensions and PEAR modules package names have changed from pecl- and
      pear- to phpXX-pecl and phpXX-pear-.
    
      To rename an installed package to match the new naming scheme, for example,
      for the imagick pecl extension, run:
    
        # pkg set -n pecl-imagick:php56-pecl-imagick
    
      For other people, to build the PHP 7.2 version of, for example,
      databases/php-memcached, you need to run:
    
        # make FLAVOR=php72 install
    
    

Number of commits found: 10

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
26 Jul 2019 20:46:57
Original commit files touched by this commit  0.9.6_5
Revision:507372
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
12 Dec 2018 01:35:36
Original commit files touched by this commit  0.9.6_4
Revision:487272
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
10 Mar 2018 17:46:06
Original commit files touched by this commit  0.9.6_3
Revision:464084
gerald search for other commits by this committer
Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
08 Mar 2018 19:48:41
Original commit files touched by this commit  0.9.6_2
Revision:463917
mat search for other commits by this committer
Introduce PHP flavors.

  Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
  flavored.  They will automatically get flavors (php56, php70, php71, php72)
  depending of the versions they support (set with IGNORE_WITH_PHP).  As a
  consequence, ports using USES=pear and USES=horde are also flavored.

PR:		226242
Submitted by:	mat
Exp-run by:	antoine
Approved by:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D14208
25 Apr 2017 08:20:31
Original commit files touched by this commit  0.9.6_2
Revision:439367
riggs search for other commits by this committer
Chase ffmpeg 3.3 update (ABI changes)

PR:		218658
Submitted by:	riggs
05 Nov 2016 19:25:47
Original commit files touched by this commit  0.9.6_1
Revision:425436
jbeich search for other commits by this committer
multimedia/php-pHash: unbreak build with lang/php70

In file included from bindings/php/pHash.cpp:17:
In file included from ./php_pHash.h:28:
In file included from /usr/local/include/php/main/php.h:35:
In file included from /usr/local/include/php/Zend/zend.h:36:
bindings/php/pHash.cpp:51:36: error:
      unknown type name 'zend_rsrc_list_entry'
extern "C" void ph_video_hash_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
                                   ^
bindings/php/pHash.cpp:260:18: error: use of
      undeclared identifier 'ZEND_REGISTER_RESOURCE'
        return_res_id = ZEND_REGISTER_RESOURCE(return_value, return_res,
le_ph_video_hash);
                        ^
bindings/php/pHash.cpp:397:26: error:
      unexpected type name 'ulong64': expected expression
        ZEND_FETCH_RESOURCE(h1, ulong64 *, &h1_res, h1_resid, "ph_image_hash",
le_ph_image_hash);
                                ^
[...]

PR:		213213
Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
03 Aug 2016 12:47:05
Original commit files touched by this commit  0.9.6_1
Revision:419514
mat search for other commits by this committer
Don't use extension.ini any more, and have each extension install in its
file, so the order remains the same.

Every PHP (or Zend) extension now installs its own .ini file in
/usr/local/etc/php.  A PHP extension will be automatically activated
when installed.  The order into which extensions are loaded is
automatically guessed.  In some very rare cases, the guess will be
wrong, and PHP_MOD_PRIO will need to be set.  Refer to the USES=php
section of the Porter's Handbook for more information.

Convert ports touching etc/php/extensions.ini manually, or telling the
OP to do it.

And finally, bump PORTREVISION for all php extensions.

PR:		210697
Submitted by:	mat
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7022
28 Jun 2016 14:00:45
Original commit files touched by this commit  0.9.6
Revision:417719
mat search for other commits by this committer
Convert USE_PHP*=yes into USES=php*

PR:		210529
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6936
01 Apr 2016 14:16:20
Original commit files touched by this commit  0.9.6
Revision:412348
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
11 Sep 2015 23:28:03
Original commit files touched by this commit  0.9.6
Revision:396724
jbeich search for other commits by this committer
multimedia/php-pHash: add new port

PR:		202635
Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com>

This is the PHP extension of the pHash library, which is an open source software
library released under the GPLv3 license that implements several perceptual
hashing algorithms, and provides a C-like API to use those functions in your own
programs. pHash itself is written in C++.

http://phash.org/

Number of commits found: 10

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
py-pillowOct 15
mod_perl2Oct 09
xpdfOct 06
xpdf3Oct 06
xpdf4Oct 06
unboundOct 03
cactiOct 02
gitlab-ceOct 02
gitlab-ceOct 02
ruby24Oct 02
ruby25Oct 02
mongodb34Sep 30
mongodb34Sep 30
mongodb36Sep 30
mongodb36Sep 30

8 vulnerabilities affecting 24 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-10-15 15:43:31


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 37997
Broken 396
Deprecated 425
Ignore 662
Forbidden 3
Restricted 160
No CDROM 74
Vulnerable 30
Expired 8
Set to expire 396
Interactive 0
new 24 hours 1
new 48 hours8
new 7 days27
new fortnight61
new month229

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.