Commit Graph

128 Commits

Author SHA1 Message Date
brad
1e3e008f8e Fix a buffer overflow in PHP's built-in wordwrap() function.
If you use the wordwrap() function on user-supplied input, a
specially-crafted input can overflow the allocated buffer and
overwrite the heap.  Exploit looks very difficult, but still
theoretically possible.

http://marc.theaimsgroup.com/?l=bugtraq&m=104102689503192
http://bugs.php.net/bug.php?id=20927
2003-02-06 05:28:49 +00:00
naddy
139703d153 There is a regression test suite, but I don't know how to best run
them within the framework of this port, so temporarily disable the
tests.
2002-10-29 01:42:41 +00:00
avsm
f679c8d60e make it compile using any LOCALBASE 2002-09-14 15:22:06 +00:00
avsm
26642d5df9 LIB_DEPENDS -> SNMP_DEPENDS in the snmp section 2002-09-14 00:46:02 +00:00
avsm
3be5f28cc0 set fullpkgname not pkgname so that we dont build two php4-extensions
packages
2002-09-12 14:39:28 +00:00
avsm
f3da1d65db - update to php4-4.2.3
- include the domxml extension as a subpackage
- include some extra modules with PEAR which also disappeared
- only link against freetype1, not freetype2
2002-09-11 23:16:48 +00:00
avsm
39bc121dac cvs missed out this file in my last commit.
spotted by jcs@
2002-08-20 02:56:48 +00:00
avsm
2e6d62c809 mention phpxs 2002-08-18 00:39:14 +00:00
avsm
c9e720f715 - turn off transsid by default
- add license to phpxs
2002-08-17 01:39:25 +00:00
avsm
c80fb0bbc8 update sablotron lib_depends 2002-08-17 01:33:57 +00:00
avsm
052e9f68f2 patch for sablotron-0.95 2002-08-17 01:33:33 +00:00
avsm
951df1b6a2 - mcrypt now lib_depends on libtool since it uses libltdl
- patch for snmp to link with libdes
- stop libtool from helpfully mangling the ld.so hints file with
  crap from the ports build directory by removing the finish_command
- MESSAGE file reflects phpxs command
2002-08-12 04:30:21 +00:00
avsm
72c41ca52b - remove dependency on external libtool
- ltmain patch no longer needed
- move the php.ini extension lines to the end of the file
- introduce a new 'phpxs' command which enables/disables
  modules from a shell without needing to manually edit php.ini
- libphp4.so now installs into the same module dir as the extensions
- php4-enable is now done by 'phpxs -s' so remove it

tested by wilfried@, feedback from naddy@
2002-08-12 04:27:41 +00:00
avsm
fd184dc795 add a bunch of no_* pseudo_flavors to enable building a subset of extension
packages

eg: env FLAVOR="no_gd no_pdflib no_shmop" make package
2002-08-07 15:52:05 +00:00
avsm
2c34081771 oops, too early 2002-07-24 16:14:56 +00:00
avsm
7cea50bc22 move the jpeg/tiff/png dependencies into the right subpackage
sections, so that they aren't introduced across the board
2002-07-24 16:14:27 +00:00
avsm
bf801d999b Restore the gd extension as a subpackage. Now the main package
is just a placeholder which informs the user to use the various
module sub-packages.
2002-07-24 15:41:42 +00:00
avsm
f994413c90 warn upgraders to read both php and zend licenses before upgrading
the port
2002-07-24 14:49:03 +00:00
avsm
2740f2774d upgrade to php-4.2.2, from brad@
closes a security hole: http://www.php.net/release_4_2_2.php
2002-07-22 16:47:33 +00:00
naddy
767d29bc54 sync function prototype with definition
(size_t is not the same as unsigned int on 64-bit archs)
2002-07-17 22:41:44 +00:00
avsm
35a165e306 - move bundled extensions to core/ to save build time
- MACHINE_ARCH is predefined; jcs@
2002-07-12 10:13:56 +00:00
avsm
85c77ff8e5 fix pkgnames, thanks wilfried@ 2002-07-10 09:00:49 +00:00
jakob
b95b220f13 define MULTI_PACKAGES separately for each extension. ok avsm@ 2002-07-10 08:13:27 +00:00
avsm
c4f1233c9f force pear's path to be included in the include_path for php so it
doesn't have to be configured explicitly.
2002-07-09 20:40:51 +00:00
avsm
6dff052ddf activate direct i/o functions by default 2002-07-09 19:47:43 +00:00
avsm
a732bb96f2 add snmp entry 2002-07-09 19:38:06 +00:00
avsm
d77bc5784a add in snmp module 2002-07-09 19:35:10 +00:00
avsm
2ab23a776b now all the subpackages load successfully into macppc as well without
any library errors
2002-07-09 18:14:16 +00:00
wilfried
d67739b639 makes the bz2.so module actually loadable - it helps if the
define and ifdef are spelled the same ...
2002-07-09 15:06:30 +00:00
avsm
7c34a14d96 restrict building recode to i386 until someone figures out what
the problem is on other arches
2002-07-08 21:33:33 +00:00
kevlo
61739b300b add gd library dependency; ok avsm@ 2002-07-02 01:09:50 +00:00
avsm
3282b3bc61 add ncurses module entry 2002-06-26 22:17:09 +00:00
avsm
86d07a84e3 add ncurses extension 2002-06-26 22:16:40 +00:00
avsm
263237df18 fix tpyo, from <aleksander.piotrowski@piestrak.waw.pl> 2002-06-26 21:32:56 +00:00
avsm
d11c9bd355 add --with-pear and remove duplicated CONFIGURE_STYLE 2002-06-24 19:40:55 +00:00
avsm
171caa9beb remove the --with-pear here - not needed 2002-06-24 19:36:07 +00:00
avsm
1f01dcd9a3 add no_x11 flavor to the list 2002-06-24 19:33:05 +00:00
avsm
270cd759c1 Import php4-pear-4.2.1
PEAR is a set of class libraries for PHP4 - similar to CPAN.
This module installs the default 4.2.1 modules, and some extra ones
which mysteriously disappeared from the 4.1.2 -> 4.2.1 transition.

Also included are some command-line utilities to add more modules from
the PEAR web site.

espie@ ok
2002-06-24 19:30:30 +00:00
avsm
a5c226010f Import php4-4.2.1 extensions
This module generates a bunch of php4 extensions as shared modules,
and seperates them out into multiple packages.

End result is that you can pkg_add individual modules now without
getting into the mess of flavors that we've had in the past. 

Work by wilfried@ and me,  espie@ ok
2002-06-24 19:27:46 +00:00
avsm
15dc0f67ef Import php4-core-4.2.1
Installs the barebones php4 with only the gettext, iconv and recode
modules compiled in.

All of the other modules have to be installed as shared modules on
top of this.

In addition to the Apache module, this package also includes a php
command-line binary which can be used in shell scripts.  The binary
uses the same /var/www/conf/php.ini file as the Apache module.

There is some non-i386 breakage at the moment (notably macppc).

Work by wilfried@ and me.  espie@ ok
2002-06-24 19:23:41 +00:00
avsm
f359776efd delete the existing php4 port in preparation for the new, hopefully
improved one.
2002-06-24 19:17:49 +00:00
avsm
76f3c41cae Add 'xslt' flavour using the sablotron backend after numerous requests.
Don't worry, this explosion of flavours will end very soon
2002-06-17 07:55:29 +00:00
jcs
81e3860c26 re-enable freetds flavor
ok avsm@
2002-06-16 23:26:20 +00:00
avsm
e798a7f99f Upgrade to php-4.2.1
A few PEAR modules have disappeared completely during the PECL transition
so they are temporarily included here to avoid breaking dependencies
within the ports tree.
2002-06-16 15:47:29 +00:00
brad
a43a4f3586 some more Kerberos libs to fix the imap FLAVOR on ELF systems. 2002-04-06 23:12:17 +00:00
brad
ffb48943d1 Enable these modules on alpha, powerpc and sparc64. 2002-03-17 04:55:03 +00:00
avsm
13141e0740 upgrade to php-4.1.2
closes a security issue in multipart form handling (buffer overflow)

temporarily disable the freetds flavour, since the m4 patch cannot
seem to be regenerated
2002-03-03 12:13:29 +00:00
jcs
53416b27c5 Add "freetds" flavor
ok avsm@
2002-01-09 16:00:51 +00:00
avsm
8970d7b66c Update to php4-4.1.1
Just a bugfix release on the 4.1 branch, no new features
2001-12-27 22:09:32 +00:00
avsm
b4850547e3 enable sockets support; prodded by jcs@ 2001-12-18 12:48:32 +00:00