notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2016Q4
php-pHash PHP extension for the pHash perceptual hash library
0.9.6_1 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_1Version of this port present on the latest quarterly branch.
Maintainer: cyberbotx@cyberbotx.com search for ports maintained by this maintainer
Port Added: 2016-11-05 19:28:42
Last Update: 2016-11-05 19:28:33
Commit Hash: 56bf51f
Also Listed In: devel
License: PHP30
WWW:
http://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++. WWW: http://phash.org/
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/php-pHash-0.9.6_1/catalog.mk
  2. /usr/local/share/licenses/php-pHash-0.9.6_1/LICENSE
  3. /usr/local/share/licenses/php-pHash-0.9.6_1/PHP30
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • php-pHash>0:multimedia/php-pHash
To install the port:
cd /usr/ports/multimedia/php-pHash/ && make install clean
To add the package, run one of these commands:
  • pkg install multimedia/php-pHash
  • pkg install php-pHash
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: php-pHash
Flavors: there is no flavor information for this port.
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: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. phpize : lang/php56
  2. autoconf-2.69 : devel/autoconf
Runtime dependencies:
  1. php.h : lang/php56
Library dependencies:
  1. libpHash.so : multimedia/pHash
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
multimedia_php-pHash
USES:
php:ext
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. http://phash.org/releases/
  2. http://www.cyberbotx.com/pHash/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.9.6_1
05 Nov 2016 19:28:33
commit hash: 56bf51fa67b2be159c2a3829119a9bff1600644dcommit hash: 56bf51fa67b2be159c2a3829119a9bff1600644dcommit hash: 56bf51fa67b2be159c2a3829119a9bff1600644dcommit hash: 56bf51fa67b2be159c2a3829119a9bff1600644d files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
MFH: r425436

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)
Approved by:	ports-secteam blanket
0.9.6_1
05 Nov 2016 19:28:33
Revision:425439Original commit files touched by this commit
jbeich search for other commits by this committer
MFH: r425436

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)
Approved by:	ports-secteam blanket

Number of commits found: 2