Commit graph

198 commits

Author SHA1 Message Date
Alex Dupre
2cee0c25ff Update PHP ports to 4.3.11 and 5.0.4 releases:
- fix security issues
- unbreak PEAR packages [1]

PR:		ports/78516 [1]
Submitted by:	Yen-Ming Lee <leeym@utopia.leeym.com> [1]
Tested by:	thierry
2005-04-04 09:20:21 +00:00
Kris Kennaway
f1fe0fdff2 BROKEN on ia64: Does not compile
Approved by:    portmgr (self)
2005-03-26 22:05:57 +00:00
Palle Girgensohn
34fa6c853e Split the postgresql ports into a server and a client part.
All ports depending on postgresql shall use the USE_PGSQL=yes knob
defined in Mk/bsd.ports.mk. Bumping portrevisions where needed.

PR:		75344
Approved by:	portmgr@ (kris), ade & sean (mentors)
2005-01-31 00:35:55 +00:00
Alex Dupre
75de85f159 Don't install useless empty dir (and fix plist).
Reported by:	bento via kris
2005-01-25 07:27:34 +00:00
Alex Dupre
114b2bec5b Speed up unserialize() and fix a serious performance issue.
Obtained from:	PHP CVS
2005-01-19 16:13:55 +00:00
Alex Dupre
aa4d81d3be - Fix overloading objects [1] (bump php4 PORTREVISION)
- Fix crash with threaded apache2 [2]
- Fix build when SSL is in not in base system [3] [4]

PR:		ports/75737 [1], ports/74780 [2],
		ports/73896 [3], ports/74886 [4]
Submitted by:	Toni Viemero <toni.viemero@iki.fi> [1],
		Peter Jeffery <peterj@qubesoft.com> [2],
		oliver [3], William Fletcher <ultraviolet@omina.co.za> [4]
Patch by:	Simon Barner <barner@gmx.de> [4]
2005-01-10 17:00:34 +00:00
Alex Dupre
0a62d1f8eb PHP 5.0.3 uses a different extension dir.
Spotted by:	Joe Zeiler <zeiler07@covad.net>
2004-12-17 06:48:01 +00:00
Alex Dupre
91f2627c5d Update to 5.0.3 release:
- Fix some serious security bugs
- Other minor enhancements (PRs fixes) will come later
2004-12-16 14:23:21 +00:00
Jun Kuriyama
4afdb4807f Bump shlib number of net-snmp and $PORTREVISION.
Forgotten by:	kuriyama
2004-12-06 10:01:57 +00:00
Alex Dupre
a762ff98ae Definitely fix support for crypt-related functionalities on amd64.
PR:		ports/74647
Submitted by:	tobez
2004-12-03 13:19:31 +00:00
Alex Dupre
bcb88d4183 Set correct default PHP version.
PR:		ports/74300
Submitted by:	Ryan <majost@lagparty.org>
2004-12-01 10:36:26 +00:00
Alex Dupre
0a6d8fdafa Update to 5.0.2 release:
- Fix compilation of thread-safe PHP after the PTHREAD_LIBS change
- Include md5 and blowfish support on amd64 (fix headers) [1]
- Add support for dom_import_simplexml function in php5-dom [2]
- Fix vulnerability in RFC 1867 file upload processing [3]
- Fix php_variables memory disclosure [3]

PR:		ports/71752 [1], ports/72003 [2], ports/72420 [3]
Submitted by:	Adam Gregoire <bsdunx@yahoo.com> [1],
		Vaidrius Petrauskas <acrozy@uosis.mif.vu.lt> [2],
		Dmitry A Grigorovich <odip@bionet.nsc.ru> [3]
Approved by:	portmgr (kris)
2004-10-11 19:48:33 +00:00
Thierry Thomas
64e8cb66bb Chase libaspell to aspell.16. 2004-08-28 22:50:44 +00:00
Alex Dupre
def51b4547 Update to 5.0.1 release:
- GD GIF output support is now enabled by default
2004-08-23 13:18:39 +00:00
Alex Dupre
6d0b9e61ce Register extensions in etc/php/extensions.ini instead of etc/php.ini
and add etc/php to the config scan path.

Suggested by:	Kenneth Vestergaard Schmidt <kvs@pil.dk>
2004-07-28 08:59:35 +00:00
Alex Dupre
430459f9cf MFphp4: Fix compilation of wddx extension. 2004-07-27 23:15:02 +00:00
Alex Dupre
24b3b2d538 Remove the old-and-broken sybase (DB-lib) extension and point users to
the new-and-working sybase (CT-lib) extension.
2004-07-20 23:04:13 +00:00
Alex Dupre
ae5859d055 - Document DEFAULT_PHP_VER and BROKEN_WITH_PHP
- Set them acccordingly in PHP extensions ports

(Now I really need some rest, see you tomorrow)
2004-07-19 23:25:22 +00:00
Alex Dupre
ed2da8c884 Comment extension_dir in sample php.ini's, since many copy the sample
configuration file blindly and then complain about wrong directory.
PHP has the correct path compiled in statically.
2004-07-19 22:12:09 +00:00
Alex Dupre
b367facbd9 Set default MySQL version to 4.1 for mysqli extension. 2004-07-19 21:56:01 +00:00
Alex Dupre
066f760e3c Fix oniguruma header path.
Spotted by:	sekrett.ru
2004-07-19 14:56:35 +00:00
Alex Dupre
af7ee2a6ac First step of the PHP mega-commit:
- remove extensions and PEAR from the PHP base ports
- add more OPTIONS to PHP base ports
2004-07-19 07:05:36 +00:00
Alex Dupre
72c8ba5f07 Update to final 5.0.0 release:
- add a post 5.0.0 patch to fix basic authentication with apache 1.x

The major PHP ports overhaul is in its final stage. This commit was
anticipated since it fixes a critical security vulnerability.
2004-07-15 08:43:08 +00:00
Alex Dupre
cd47627027 Install GD and MBSTRINGS header files for pdflib and mailparse extensions. 2004-06-28 09:03:19 +00:00
Alex Dupre
5c6497f10b - Point phpize to use libtoolize13 2004-06-25 11:21:01 +00:00
Alex Dupre
9e3b700c5c - Update to 5.0.0RC3 release
- Remove PDFlib extension
2004-06-08 13:56:25 +00:00
Ade Lovett
1a628ded35 Sync with new bsd.autotools.mk 2004-06-04 17:29:38 +00:00
Peter Pentchev
64b64d5ff7 Update ftp/curl to 7.12.0 and bump the shared library version in all
dependent ports.
2004-06-03 22:41:40 +00:00
Eric Anholt
a93033552b Replace explicit XFree86-4-libraries dependencies with USE_XLIB, USE_XPM, and
USE_GL as appropriate.
2004-05-29 22:42:58 +00:00
Mathieu Arnold
4031a6967c Remove databases/postgresql-client because there can't be a -server, and having
it installed prevents databases/postgresql7 from being installed, leading to
some dependencies problems
2004-05-25 09:19:42 +00:00
Akinori MUSHA
b215e60f8b Introduce MASTER_SITE_PHP and add several more mirror sites worldwide.
Approved by:	ale (MAINTAINER of lang/php[45])
2004-05-24 13:37:35 +00:00
Alex Dupre
ac9bdc26ef - Add sysvmsg extension [1]
- Add XML_RPC to PEAR bootstrap [2]
- Use the official pcre fix [3]
- Bump PORTREVISION

Requested by:	Andy Smith <andy@strugglers.net> [1]
Submitted by:	thierry [2]
Obtained from:	php CVS [3]
2004-05-07 23:30:30 +00:00
Alex Dupre
91496ce07c Update to 5.0.0RC2 release (stop packaging customized snapshots,
since now php5 seems pretty stable):
- Build iconv extension by default
- Remove obsolate MIME and YAZ extensions
2004-04-28 22:23:19 +00:00
Kirill Ponomarev
4efa9ce4ab - Use USE_ICONV knob
Approved by:	portmgr
2004-03-30 19:20:22 +00:00
Alex Dupre
c3335dba03 Forgot a patch in previous commit (support for DB 4.2).
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
2004-03-29 07:58:06 +00:00
Alex Dupre
07ad8d723b Fix db 4.2 dependency.
PR:		ports/64802
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
2004-03-28 22:09:22 +00:00
Alex Dupre
d8311f82ef Fix Xpm path.
Submitted by:	Dominic Marks <dom@helenmarks.co.uk>
2004-03-22 19:55:24 +00:00
Alex Dupre
9440f806f8 Update to 5.0.0a6 snapshot:
- add mysqli extension
- add support for db 4.2
2004-03-19 10:54:10 +00:00
Alex Dupre
6ae200ffc9 Fix build with new freetype2 library.
PR:		ports/64417
Submitted by:	Renato Botelho <renato@galle.com.br>
2004-03-18 16:02:49 +00:00
Jun Kuriyama
4a868f8a2a o Bump $LIB_DEPENDS line to chase expat's shlib version.
o Bump $PORTREVISION.
2004-03-14 07:58:26 +00:00
Alex Dupre
629fc51df0 Fix PHP_PORT when PORTSDIR is a symlink.
Submitted by:	marcus
Reviewed by:	pav
2004-03-13 22:35:17 +00:00
Alex Dupre
16e0b187bd Don't use a fully-qualified path in php.conf.
Submitted by:	marcus
Reviewed by:	pav
2004-03-08 23:12:48 +00:00
Alex Dupre
806e0bac9c Add PostScript Type-1 font support for GD extension.
PR:		ports/63410
Submitted by:	Toni Viemerö <toni.viemero@iki.fi> (PR)
		Lars Balker Rasmussen <lars@balker.org> (email)
2004-02-27 07:45:21 +00:00
Garrett Wollman
60aab66567 Say hello to the new "net-mgmt" category. There are probably more
ports that belong here than the ones I have identified and moved in
this, first, pass.

Approved in principle by: marcus
2004-02-23 04:42:13 +00:00
Alex Dupre
fd8867311f Update to the latest snapshot.
Add new SOAP and SPL extensions.
(The distfile may be unreachable for a few hours)

Approved by:	nork (mentor/implicitly)
2004-02-13 11:46:02 +00:00
Alex Dupre
6a85c75f36 Use PTHREAD_LIBS only if OSVERSION >= 500016.
This fixes compilation of mod_php with apache2-worker on -stable.

PR:		ports/62729
Submitted by:	Maxim Maximov <mcsi@portpc-design.spb.ru>
Approved by:	nork (mentor/implicitly)
2004-02-12 14:24:55 +00:00
Alex Dupre
d32dce0a68 Move to httpd.h for apache2 autodetection (as in bsd.php.mk, forgot in my
previous commit).

Noticed by:	kuriyama
Approved by:	nork (mentor/implicitly)
2004-02-10 11:44:00 +00:00
Alex Dupre
d965a0315f Fix PTHREAD_LIBS and adapt it to apache2 way.
Submitted by:	Xin Li
Approved by:	nork (mentor/implicitly)
2004-02-09 10:02:44 +00:00
Joe Marcus Clarke
186b8ba82f Add USE_GETTEXT and bump PORTREVISION.
Submitted by:	trevor
Tested by:	bento
2004-02-04 04:36:30 +00:00
Alex Dupre
0fbe9133fd - Add support for PTHREAD_{LIBS/CFLAGS} [1]
- Add support for FastCGI [2]
- Fix PEAR installation in a particular scenario [3]

PR:		ports/61790 [2]
Submitted by:	clement [1],
		Xavier Beaudouin <kiwi@oav.net> [2],
		Balazs Nagy <js@iksz.hu> [3]
Approved by:	nork (mentor/implicitly)
2004-01-26 12:58:14 +00:00
Alex Dupre
5d4ee2ae4f - Better handling of snmp dependency [1]
- Add support for BDB 4.1 [2]
- Better handling of postgresql dependency [3]
- Add new direct I/O extension [4]

PR:		58920 [1], 60541 [2], 61409 [3]
Submitted by:	Dirk Meyer <dirk.meyer@dinoex.sub.org> [1] [3],
		Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> [2],
		Izzy Kindred <ikindred@cox.net> [4]
Approved by:	nork (mentor/implicitly)
2004-01-24 13:15:54 +00:00
Trevor Johnson
78da40aa98 Now gettext 0.12.1 is gettext-old. 2004-01-23 18:12:26 +00:00
Alex Dupre
58c5b838c0 Switch to my @FreeBSD.org email address.
Approved by:	nork (mentor)
2004-01-18 10:50:15 +00:00
Alex Dupre
0c575993b8 Add MS-SQL support.
Chase freetds lib. Bump PORTREVISION.

Requested by:	many
Submitted by:	Michael Ranner <mranner@inode.at>
Approved by:	nork (mentor/implicitly)
2004-01-15 23:31:49 +00:00
Alex Dupre
e40c46e6b2 - Fix apache2 dependency (this was broken by the introduction
of the APACHE_PORT variable in bsd.port.mk).
- Fix php5 pkg-list when built without sqlite.

Approved by:	nork (mentor/implicitly)
2004-01-14 15:09:26 +00:00
Norikatsu Shigemura
de6276d033 Adapt php5 Makefile to support apache2-worker.
PR:		ports/56205[1], ports/61171 [2]
Submitted by:	Christian Ullrich <chris+freebsd@chrullrich.de>
		ale (maintainer) [2]
2004-01-10 16:49:00 +00:00
Pav Lucistnik
b19a84baf2 - Make fetchable
PR:		ports/60692
Submitted by:	ale (maintainer)
2003-12-29 14:29:59 +00:00
Norikatsu Shigemura
3b10f9d824 Add patch file which I forgot. 2003-12-22 18:50:58 +00:00
Norikatsu Shigemura
8afc958fbc o Update to 5.0.0a4 snapshot.
o Add TIDY extension.
o Remove MCAL extension.
o Remove patch-ext::standard::datetime.c file.

PR:		ports/60504
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
2003-12-22 18:45:22 +00:00
Dirk Meyer
f3e32fd768 PR: 59958 2003-12-04 20:55:20 +00:00
James E. Housley
8bbc9242c6 Add WITH_DEBUG knob and support for the new bsd.php.mk file.
Forgotten in previous PR: add also BROKEN_WITH_PHP knob.

PR:		59418
Submitted by:	MAINTAINER
2003-11-20 11:10:00 +00:00
Jun Kuriyama
34b7c36291 Chase libnetsnmp shlib major version number and bump ${PORTREVISION}. 2003-11-18 10:02:28 +00:00
Joe Marcus Clarke
f4d7c801f8 Use the new Apache bits from bsd.port.mk.
Submitted by:	dinoex
2003-11-07 09:12:58 +00:00
Joe Marcus Clarke
7524984514 Chase the libxslt shared lib version with a PORTREVISION bump. 2003-11-04 18:30:50 +00:00
Norikatsu Shigemura
846c6229dc o Update to 5.0.0a3 snapshot.
o Un-break port.
o A lot of fixes, taken from recent commits to php4 port.

PR:		ports/58617
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
2003-10-30 01:52:16 +00:00
Kris Kennaway
d2bff1e077 BROKEN: Does not compile 2003-10-28 02:50:35 +00:00
Dirk Meyer
251d7066cc Fix for the OpenSSL extension
PR:		57437
Submitted by:	sysadmin@alexdupre.com
2003-10-01 11:34:23 +00:00
Edwin Groothuis
baa72af69d chase print/pdflib libversion upgrade
PR:		ports/57204
2003-09-26 23:38:34 +00:00
Edwin Groothuis
2d4fcfa223 [Maintainer Update] Port: lang/php5
Update to 5.0.0a2-alexdupre snapshot (and fix 5.0.0a1 memory leak).
	Add DB4 extension.
	Correctly use USE_MYSQL/USE_OPENSSL/USE_OPENLDAP.

PR:		ports/56979
Submitted by:	Alex Dupre <sysadmin@alexdupre.com>
2003-09-24 08:49:20 +00:00
Joe Marcus Clarke
a3108b1e51 Bump the PORTREVISION for the ports directly affected by the gettext upgrade.
Prodded by:	kris
2003-08-26 20:25:58 +00:00
Joe Marcus Clarke
adccc29aad Chase the libintl.so shared lib version. 2003-08-25 05:41:38 +00:00
Jun Kuriyama
b67a28791a Fix non-default dependency on openldap2[012] which is broken by splitting.
# I'm not bumped port revision of them because this should not affect
# packages built on bento...
2003-08-15 00:49:31 +00:00
Norikatsu Shigemura
6d6ab862a8 Fix typo: XML -> XSL.
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
2003-07-17 08:52:24 +00:00
Norikatsu Shigemura
d392ffa79a Correct scripts/configure.php & Bump PORTREVISION.
PR:		ports/54519
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
Pointy hat to:	myself
2003-07-17 02:29:15 +00:00
Norikatsu Shigemura
c8ae6b78fd Add php5 5.0.0.a1, PHP5 Scripting Language.
PR:		ports/54519
Submitted by:	Alex Dupre <sysadmin@alexdupre.com>
Repo copied by:	joe (cvs)
Approved by:	portmgr (no objections)
2003-07-16 10:59:22 +00:00
Norikatsu Shigemura
73441dd7ca o Add default overload extension.
o Add WITH_REGEX_TYPE knob [1].
o Small fixes.

PR:		ports/54061
Requsted by:	Jens Rehsack [1]
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
2003-07-04 02:26:08 +00:00
Norikatsu Shigemura
2efdd507c9 o Switch to libtool 1.4.
o Add WITHOUT_IPV6 knob (Requested by Jens Rehsack <rehsack@liwing.de>
  in ports/53754, implemented in a slightly different way).
o Add GIF and animated GIF write support by default in GD and add
  WITH_LZW knob to enable the LZW compression algorithm (patented
  in some countries).
o Removed gd_gif_out.diff patch and added many new patches.

PR:		ports/53754, ports/53879
Requested by:	Jens Rehsack <rehsack@liwing.de>
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
2003-07-03 06:02:38 +00:00
Norikatsu Shigemura
11024207d2 Add WANT_PHP_WEB knob, for ports that require a web
server to work, but for which is indifferent the PHP
sapi (CGI or Apache Module).

PR:		ports/53800
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
2003-07-03 05:51:18 +00:00
Ade Lovett
b2fd75e438 libtool uber-patch
* kill devel/libtool and move to devel/libtool13, upgrading to 1.3.5
* upgrade repo-copied devel/libtool14 to 1.4.3
* break out libltdl into its own separate port
* move to version-numbered binaries/scripts (ie: there is *no* 'libtool'
  any more -- USE_LIBTOOL and USE_LIBTOOL_VER are your friends)

Approved by:	portmgr (kris) - for the bsd.port.mk hooks
Tested by:	bento 4-exp builds (repeatedly)
2003-06-26 22:58:32 +00:00
Norikatsu Shigemura
e94c7dc53c Improve SNMP support (fix openssl dependency and add net-snmp5 support).
PR:		ports/53687
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
2003-06-25 01:35:17 +00:00
Norikatsu Shigemura
29770573e6 o Add FriBiDi extension [1]
o New patch-main::main.c file [2]:
  - Fixed bug #24253 (missing variables when register_globals is on)
  - Fixed a memory leak when more then 1 E|S flag is passed to gpc_order.
  - Fixed a memory leak when variables_order is not set and gpc_order
    has S|s flag.
  - Optimized out duplicate parsing of the variables order string.

PR:		ports/53609
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
Patched by:	Thierry Thomas [1]
Requested by:	Ian Service [2]
2003-06-24 08:16:25 +00:00
Norikatsu Shigemura
e7a14dfeef Add gif and animated-gif write support to GD extension.
(enable with WITH_GD_GIF_OUT - not default due to LZW
patent in many countries)

PR:		ports/53631
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
2003-06-23 13:06:55 +00:00
Norikatsu Shigemura
9f3dcaa501 scripts/php_options is changed to php4_options. So it should be removed.
PR:		ports/53498
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
Pointy hat to:	myself
2003-06-20 08:45:56 +00:00
Norikatsu Shigemura
4c61dd39cd o Update to 4.3.3RC1.
o Add inifile and cdb extensions.
o Fix imap without ssl(inspired from ports/53141).
o Rename some variable for future compatability (PHP => PHP4)
  (inspired from ports/53113, points 1 and 4 - point 2 is useless).

PR:		ports/53498
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
Inspired by:	ports/53141 (Torsten Schneider <fbsd-bugs@tschneider.org>)
Inspired by:	ports/53113 (Jens Rehsack      <rehsack@liwing.de>)
2003-06-20 05:25:24 +00:00
Norikatsu Shigemura
a3f84a35f0 Add Oracle7 support into PHP4.
PR:		ports/53017
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
Obtained from:	ports/52615
Obtained by:	Joe Kelsey <joek@zircon.staff.flyingcroc.net>
2003-06-07 20:45:11 +00:00
Norikatsu Shigemura
b49074ba97 Add bsd.php.mk, every port depending on PHP should include this file
and set the right knobs, like the bsd.openssl.mk.

PR:		ports/52674
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
2003-06-06 18:12:58 +00:00
Norikatsu Shigemura
02cfc7b89c Update to 4.3.2 release.
PR:		ports/52784
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (maintainer)
2003-06-06 18:07:54 +00:00
Norikatsu Shigemura
aac19ca8e7 Prepare for new slave port: www/php4-cgi.
PR:		ports/52617
Submitted by:	Alex Dupre <sysadmin@alexdupre.com>
2003-06-06 17:58:15 +00:00
Norikatsu Shigemura
18ea1afefe Add completely new port system for PHP4 (4.3.2RC4). Updated mod_php4
to 4.3.2RC4 release and added php4-cli and php4 ports, for apache
module, command line interface, and both, respectively.  Too many
changes (improvements, bug fixes and new features) to be listed here,

PR:		ports/51945
Submitted by:	Alex Dupre <sysadmin@alexdupre.com>
2003-05-22 18:26:28 +00:00
Dirk Froemberg
16015ff0f5 Remove lang/php4 which was integrated into www/mod_php4. 2003-01-29 15:19:15 +00:00
Dirk Froemberg
70e77fff1f Upgrade to 4.2.1. 2002-05-17 06:07:01 +00:00
Dirk Froemberg
abe5274ee7 Fix mkdir() bug.
PR:		ports/37825
Submitted by:	Jason Taylor <jason@jase.org>
2002-05-13 05:58:06 +00:00
Dirk Froemberg
52724e1da9 Set PORTREVISION to 0 after upgrading mod_php4 to 4.1.0. 2001-12-19 19:49:22 +00:00
Dirk Froemberg
b8df995834 Add --enable-discard-path and --with-readline to lang/php4.
Submitted by:	Rafal Michalski <rafal.michalski@altech.com.pl>
2001-12-04 07:27:41 +00:00
Dirk Froemberg
0801433ca0 ming support was included in php-4.0.6. 2001-06-25 21:06:10 +00:00
Dirk Froemberg
8439522453 Make PORTREVISION independent of master port. 2001-06-24 22:37:25 +00:00
Dirk Froemberg
e2e25b004e NOPORTDOCS isn't used in the master ports any longer. 2001-04-22 23:09:14 +00:00
Dirk Froemberg
1e6a30c3e4 Add new standalone php4 port as a slave port of www/mod_php4.
Based upon work by:	Alastair D'Silva <deece@familyhealth.com.au>
2001-02-25 21:25:26 +00:00