PEAR is a framework and distribution system for reusable PHP components.
PEAR is short for "PHP Extension and Application Repository" and is
pronounced just like the fruit. The purpose of PEAR is to provide:
- A structured library of open-sourced code for PHP users
- A system for code distribution and package maintenance
- A standard style for code written in PHP
- The PHP Extension Community Library (PECL)
===> The following configuration options are available for php84-pear-1.10.18:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
*/*: Remove merged or non-existent USE_PHP directives
- Remove USE_PHP=hash which is available in default php installation of
all versions of php
* security/pear-Horde_Crypt_Blowfish: Remove OPTION MHASH
- Remove USE_PHP=json which is available in default php installation of
all versions of php
* devel/pear-PHPTAL: Remove OPTION JSON
* www/ilias: Remove OPTION SCORM2004
- Remove USE_PHP=mssql which is no longer available in php from php80
and later and has been replaced with sqlsrv module which is Windows
only
* www/codeigniter: Remove OPTION MSSQL
* www/moodle311: Remove OPTION MSSQL
* www/moodle39: Remove OPTION MSSQL
(Only the first 15 lines of the commit message are shown above )
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)
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 )
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
Update to 1.10.6
Changelog:
Update pear to 1.10.6
* Fix notice undefined variable metadata_dir
* fix Warning: count(): Parameter must be an array or an object
* Remove is_executable check
* The is_executable check in the Which method when run on Windows is
unnecessary
* Migrate old while(list() = each()) constructs to foreach
* Fix PHP Warning: "continue" targeting switch is equivalent to "break"
* proxy server auth
* Correctly authenticate at proxy server
* array or Countable error in 7.2
Update Archive_Tar to 1.4.3
* Cannot use result of built-in function in write context in PHP 7.2.0alpha1
Update XML_Util to 1.4.3
* Decrease minimum PEAR version to 1.9.0 to allow PEAR upgrades
PR: 226216
Sponsored by: Netzkommune GmbH
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
Stage support for devel/pear
Both go-pear and install-pear have been investigated, finally we patch
go-pear in a similar way that pkgsrc does to support stage
Unfortunately with both solutions, pear internals insist on writing
registration information outside of stage if it is writeable (staging as root)
Hide this violation when staging as root on the package builders.
Requested by: miwi (maintainer)
Correctly handle directory names with space in PEAR_AUTOINSTALL
This is needed for pear-Symfony_Component_Finder update
PR: ports/181672
Reported by: Gasol Wu
Preliminary work on devel/pear to allow staging of pear classes:
- create 3 empty directories when pkg_install is used
- regenerate .depdb post package install to prevent fs/stage violations
- add a note about staging this port, install-pear.php seems to be the way
- bump PORTREVISION
Reviewed by: bapt, ports@
- Reroll pear-1.9.4 to update dependencys and fix some bugs and make it
compatible with php5.4/5
- Bump PORTREVISION
Changelog:
Update Archiv_TAR to 1.3.11
* Fix Bug #19746: Broken with PHP 5.5 [mrook]
* Implement Feature #11258: Custom date/time in files added on-the-fly [mrook]
Update Console_Getopt to 1.3.1
* fix Bug #4475: An ambiguous error occurred when specifying similar longoption
name.
* fix Bug #10055: Not failing properly on short options missing required values
* fix Bug #11068: No way to read plain "-" option [cardoe]
* Implement Request #13140: [PATCH] to skip unknown parameters. [patch by
rquadling, improved on by dufuz]
Update Structures_Graph to 1.0.4
* Bug #17108 BasicGraph::test_directed_degree fails on PHP 5 [clockwerx]
Fix installation of ports that rely on cp -n for installing files. r245960
changed cp to exit with a non-zero exit code if the file exists and is not
overwritten thus causing ports to fail installing when e.g. trying to cp
.default -> .conf files that already exist.
We just ignore the error and continue, as we used to.
Reported by: jaset
Approved by: portmgr (bapt)
Do not include pre-existing directories in the dirrmtry list when using
PEAR_AUTOINSTALL. This fixes possible deletion of directories populated with
ports mtree or by other ports.
Discussed with: Martin Wilke <miwi@FreeBSD.org>
Change do-autogenerate-plist:
- get list of files and directories from a temporary installation
- make the target individual (runnable, depends on patch)
- Add a new flag PEAR_CATSRC
- While here remove MD5 support
Since several months ago, I have seen a lot of FreeBSD maintainers
removing the CATEGORY flag from their ports. The problem with that
is the packages won?t be installed at the right location anymore.
This patch resolves that problem.
Thanks to: ale/wen
Tested via: exp-run
- Add support for pear modules to have non .tgz extensions.
- Fix a plist generation bug when no files are installed into a directory.
PR: 152059152055
Submitted by: Tom Judge <tom@tomjudge.com>
Tested via: pointyhat
- Allow support for choosing an alternate download
location instead of pear.php.net, which was
hard-coded in bsd.pear.mk. Custom install/deinstall
scripts are also enabled which allow calling
"pear channel-add/channel-delete" as needed.
- Bump PORTREVISION
PR: 117286
Submitted by: Greg Larkin <glarkin@sourcehosting.net>
Simplify PHP base ports infrastructure:
- remove all slave ports
- add the ability to build all SAPIs concurrently
- update php5 to 5.1.4
*Read* the UPDATING file *before* trying to update PHP
(or at least before mailing me).
- create required empty dirs on installation
- add runtime pear dependency in bsd.pear.mk
This should fix all the issues reported by pointyhat
and probably obsolates many of the BUILD_DEPENDS and
RUN_DEPENDS on PEAR.php in pear ports.