Port details |
- php-pHash PHP extension for the pHash perceptual hash library
- 0.9.6_6 multimedia
=0 0.9.6_6Version of this port present on the latest quarterly branch. DEPRECATED: Requires php 7.4 which is set to expire on 2022-11-29
This port expired on: 2022-11-28
- Maintainer: cyberbotx@cyberbotx.com
 - Port Added: 2015-09-11 23:28:25
- Last Update: 2022-12-08 17:59:39
- Commit Hash: 0768be4
- Also Listed In: devel
- License: PHP30
- WWW:
- https://phash.org/
- Description:
- 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++.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PHP_PKGNAMEPREFIX}pHash>0:multimedia/php-pHash
- No installation instructions:
- This port has been deleted.
- PKGNAME: php74-pHash
- Package flavors (<flavor>: <package>)
- distinfo:
- SHA256 (pHash-0.9.6.tar.gz) = 3c8258a014f9c2491fb1153010984606805638a45d00498864968a9a30102935
SIZE (pHash-0.9.6.tar.gz) = 1315965
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:

- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- phpize : lang/php74
- autoconf>0 : devel/autoconf
- Runtime dependencies:
-
- php.h : lang/php74
- Library dependencies:
-
- libpHash.so : multimedia/pHash
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- multimedia_php-pHash
- USES:
- compiler:c++11-lang php:ext
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.9.6_6 08 Dec 2022 17:59:39
    |
Muhammad Moinur Rahman (bofh)  |
multimedia/php-pHash: Cleanup
- Requires php74 which was EOL on 2022-11-28
Sponsored by: Bounce Experts |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.9.6_6 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.9.6_6 12 Aug 2022 14:46:53
    |
Dima Panov (fluffy)  |
*/*: bump all consumers after recent boost upgrade |
0.9.6_5 20 Jul 2022 14:22:30
    |
Tobias C. Berner (tcberner)  |
multimedia: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron LI <aly@aaronly.me>
* Alexander Botero-Lowry <alexbl@FreeBSD.org>
* Alexander Logvinov <ports@logvinov.com>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Anders Nordby <anders@FreeBSD.org>
* Andrew Pantyukhin <infofarmer@FreeBSD.org>
* Andrew Thompson <andy@fud.org.nz>
* Andrew Thompson <thompsa@FreeBSD.org>
* Angel Carpintero <ack@telefonica.net>
* Anish Mistry (with help from mean)
* Anonymous <swell.k@gmail.com> (Only the first 15 lines of the commit message are shown above ) |
0.9.6_5 13 Jun 2022 00:08:05
    |
Muhammad Moinur Rahman (bofh)  |
*/*: Ignore with php82 |
0.9.6_5 01 Feb 2022 08:59:53
    |
Muhammad Moinur Rahman (bofh)  Author: Naram Qashat |
multimedia/php-pHash: Mark DEPRECATED
- Set EXPIRATION_DATE on 2022-11-28
pHash itself hasn't been updated since 2013
PR: 261606
Approved by: cyberbotx@cyberbotx.com (maintainer) |
0.9.6_5 10 Jan 2022 18:23:24
    |
Muhammad Moinur Rahman (bofh)  |
Mark ports to IGNORE with new php81
- Mark some additional ports to IGNORE with the upcoming php DEFAULT
php80 [1]
PR: 260595 [1]
Reported by: portmgr (exp-run) [1]
Approved by: portmgr (infrastructure blanket)
Sponsored by: Bounce Experts |
0.9.6_5 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.9.6_5 29 Oct 2020 20:00:26
  |
lwhsu  |
multimedia/php-pHash: Ignore with PHP 8
PR: 250674
Submitted by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer) |
0.9.6_5 16 Aug 2020 13:07:43
  |
pkubaj  |
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) |
0.9.6_5 26 Jul 2019 20:46:57
  |
gerald  |
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 |
0.9.6_4 12 Dec 2018 01:35:36
  |
gerald  |
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 |
0.9.6_3 10 Mar 2018 17:46:06
  |
gerald  |
Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079). |
0.9.6_2 08 Mar 2018 19:48:41
  |
mat  |
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 |
0.9.6_2 25 Apr 2017 08:20:31
  |
riggs  |
Chase ffmpeg 3.3 update (ABI changes)
PR: 218658
Submitted by: riggs |
0.9.6_1 05 Nov 2016 19:25:47
  |
jbeich  |
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) |
0.9.6_1 03 Aug 2016 12:47:05
  |
mat  |
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 |
0.9.6 28 Jun 2016 14:00:45
  |
mat  |
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 |
0.9.6 01 Apr 2016 14:16:20
  |
mat  |
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat: portmgr
Sponsored by: Absolight |
0.9.6 11 Sep 2015 23:28:03
  |
jbeich  |
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/ |