notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)

Current status

The server has been repaired, with a new power supply, for $23. I am waiting for lower COVID rates before visiting the datacenter to return it.
User login/updates are disabled as part of transition to git. Read details in our recent bog post - this is the old server.
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 View this port on Repology. pkg-fallout 0.9.6_5Version 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: 2020-10-29 20:00:26
SVN Revision: 553636
Also Listed In: devel
License: PHP30
Description:
SVNWeb : Homepage

There is no configure plist information for this port.

Dependency lines:
  • php74-pHash>0:multimedia/php-pHash
To install the port: cd /usr/ports/multimedia/php-pHash/ && make install clean
To add the package: pkg install php74-pHash
PKGNAME: php74-pHash
Package flavors (<flavor>: <package>)
  • php74: php74-pHash
  • php72: php72-pHash
  • php73: php73-pHash
distinfo:
Packages: (move your mouse over the cells for more information)
php72-pHash
ABIlatestquarterly
FreeBSD:11:aarch64-0.9.6_5
FreeBSD:11:amd64--
FreeBSD:11:armv6--
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64--
FreeBSD:12:amd64--
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 
php73-pHash
ABIlatestquarterly
FreeBSD:11:aarch64-0.9.6_5
FreeBSD:11:amd640.9.6_50.9.6_5
FreeBSD:11:armv6--
FreeBSD:11:i3860.9.6_50.9.6_5
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64-0.9.6_5
FreeBSD:12:amd640.9.6_50.9.6_5
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i3860.9.6_50.9.6_5
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-0.9.6_5
FreeBSD:13:aarch64-0.9.6_5
FreeBSD:13:amd640.9.6_50.9.6_5
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i3860.9.6_50.9.6_5
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64-0.9.6_5
FreeBSD:14:aarch64--
FreeBSD:14:amd640.9.6_5-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i3860.9.6_5-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc640.9.6_5-
 
php74-pHash
ABIlatestquarterly
FreeBSD:11:aarch64-0.9.6_5
FreeBSD:11:amd640.9.6_50.9.6_5
FreeBSD:11:armv6--
FreeBSD:11:i3860.9.6_50.9.6_5
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64-0.9.6_5
FreeBSD:12:amd640.9.6_50.9.6_5
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i3860.9.6_50.9.6_5
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-0.9.6_5
FreeBSD:13:aarch64-0.9.6_5
FreeBSD:13:amd640.9.6_50.9.6_5
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i3860.9.6_50.9.6_5
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64-0.9.6_5
FreeBSD:14:aarch64--
FreeBSD:14:amd640.9.6_5-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i3860.9.6_5-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc640.9.6_5-
 

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

Configuration Options

USES:

Master Sites:
Expand this list (2 items)
Collapse this list.
  1. http://phash.org/releases/
  2. http://www.cyberbotx.com/pHash/
Collapse this list.
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: 12

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
29 Oct 2020 20:00:26
Original commit files touched by this commit  0.9.6_5
Revision:553636
lwhsu search for other commits by this committer
multimedia/php-pHash: Ignore with PHP 8

PR:		250674
Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
16 Aug 2020 13:07:43
Original commit files touched by this commit  0.9.6_5
Revision:545108
pkubaj search for other commits by this committer
multimedia/php-pHash: fix build on GCC architectures

x265 requires C++11 compiler:
/usr/local/lib/libx265.so.179: undefined reference to
`std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>
>::reserve(unsigned long)@GLIBCXX_3.4.21'

MFH:		2020Q3 (fix build blanket)
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: 12

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?
Security Policy
Privacy
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
samba411Mar 28
samba412Mar 28
samba413Mar 28
linux-c7-nettleMar 27
nettleMar 27
opensslMar 26
spamassassinMar 24
giteaMar 23
giteaMar 21
dnsmasqMar 18
dnsmasq-develMar 18
gitlab-ceMar 18
minioMar 17
chromiumMar 16
libresslMar 16

12 vulnerabilities affecting 72 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2021-03-28 22:40:29


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 42809
Broken 73
Deprecated 286
Ignore 313
Forbidden 4
Restricted 137
No CDROM 71
Vulnerable 22
Expired 119
Set to expire 262
Interactive 0
new 24 hours 0
new 48 hours0
new 7 days0
new fortnight0
new month36

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