The attached patches update www/habari from 0.6.6 to 0.8.
1) Removal of php(4|5)-iconv dependency. iconv functions are not used by Habari
although libiconv is a user-controlled dependency of php(4|5)-mbstring.
2) Addition of php(4|5)-hash and php(4|5)-json dependencies which are required.
3) Modifications to Makefile to accommodate source tarball layout changes.
4) Regenerated pkg-plist for source tarball changes and added @dirrmtry for user
5) Addition of a patch to silence an array to string conversion warning in php-5.4+.
Fix: A note is needed for /usr/ports/UPDATING -
Please note that the Habari directory layout has changed between 0.6.6 and 0.8.
User provided locales, plugins and themes now go into the 'user' directory and the
3rdparty directory is deprecated. Please relocate anything you may have in 3rdparty
and delete that directory.
New patch -> www/habari/files/patch-system__classes__theme.php
Build file patches ->
tabthorpe@ wants his PRs (via the GNATS Auto Assign Tool)
Maintainer of www/habari,
Please note that PR ports/169195 has just been submitted.
If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.
The full text of the PR can be found at:
Edwin Groothuis via the GNATS Auto Assign Tool
Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
The original build files patch was mangled during submission. New copies are
A dependency was hidden by another port. The php dependency list should also
Final patchset... really!
There is a class which provides support for the Installer (which we don't use,
obviously) that has a dependency on ctype. Probably not an issue but let's not
risk a possible runtime error because it's not listed as a dependency.
The socket handling code can handle gzipped deflate and compress data if zlib
support is present. As enabling it only causes linking of a standard FreeBSD
library (libz.so) then we might as well benefit from the extra functionality.
Stupidly, I added a patch to prevent a PHP-5.4.x warning appearing in the
Habari logs and didn't clean away the .orig file which make-install will copy
(and get left behind during automated build and package removal because it's
not listed in pkg-plist). It's now explicitly cleaned up.
Sorry about all this missed dependency mess. Upstream doesn't document all the
PHP functionality requirements and I literally had to grep the sources for use
of modules installed on my build system. Hence the addition of ctype, filter