summaryrefslogtreecommitdiff
path: root/www/php4
AgeCommit message (Collapse)AuthorFilesLines
2002-04-12Give PHP4 distfile a make variable name.jlam1-1/+4
2002-03-01Replace some = with ?= so that the values may be overridden in PHP4 modulejlam2-10/+10
package Makefiles. This fixes breakage in php4-apc noted by Jon Buller in private e-mail.
2002-02-28Update php4 and ap-php4 to 4.1.2. Changes from version 4.1.1 include:jlam5-24/+24
- Fixed start up failure when mm save handler is used and there is multiple SAPIs are working at the same time. (Yasuo) - Fixed a buffer overflow in the RFC-1867 file upload code (Stefan) <===> SECURITY NOTE <===> Note that the buffer overflow fix is a major security fix. Quoting from the security advisory at: http://security.e-matters.de/advisories/012002.html "PHP supports multipart/form-data POST requests (as described in RFC1867) known as POST fileuploads. Unfourtunately there are several flaws in the php_mime_split function that could be used by an attacker to execute arbitrary code. During our research we found out that not only PHP4 but also older versions from the PHP3 tree are vulnerable. [...] "If you are running PHP 4.0.3 or above one way to workaround these bugs is to disable the fileupload support within your php.ini (file_uploads = Off). If you are running php as module keep in mind to restart the webserver. Anyway you should better install the fixed or a properly patched version to be safe."
2002-02-15mkdir -> ${MKDIR}skrll1-2/+2
rmdir -> ${RMDIR} rm -> ${RM} (${RM} added to PLIST_SUBST) chmod -> ${CHMOD} chown -> ${CHOWN}
2002-01-11Remove references to the example php.ini files. The recommended one isjlam1-7/+1
automatically installed, and the example files are in the obvious place.
2002-01-06Update www/php4 to 4.1.1. Changes from version 4.1.0 include:jlam2-5/+5
- Fixed bug that caused crashes or error notices on shutdown on threaded platforms. (Zeev) - Fixed bug in gmmktime() which was one hour off during standard time - bug #9878. Patch by bfoddy@mediaone.net. (jmoore) - Fixed a bug where the is_file() family of functions would in-correctly give an error when they were given filenames that didn't exist. (Sterling) - Fixed a bug in the strtotime() function where it was incorrectly recognizing GMT +0100 and GMT -0100. (Derick)
2001-12-31Update www/php4 to 4.1.0. Major changes from version 4.0.6 include:jlam11-94/+88
- Introduced a new $_REQUEST array, which includes any GET, POST or COOKIE variables. Like the other new variables, this variable is also available regardless of the context. - Introduced $_GET, $_POST, $_COOKIE, $_SERVER and $_ENV variables, which deprecate the old $HTTP_*_VARS arrays. In addition to be much shorter to type - these variables are also available regardless of the scope, and there's no need to import them using the 'global' statement. Other relevant changes include: - Bug fixes to prevent crashes on unexpected input. - Huge performance improvements, especially in thread-safe code. - Introduced extension version numbers. - Added support for single dimensional SafeArrays and Enumerations. Added an is_enum() function to check if a component implements an enumeration. - Improved speed of the serializer/deserializer. - Floating point numbers are better detected when converting from strings. - Added import_request_variables(), to allow users to safely import form variables to the global scope - Add config option (always_populate_raw_post_data) which when enabled will always populate $HTTP_RAW_POST_DATA regardless of the post mime type - Added getmygid() and safe_mode_gid ini directive to allow safe mode to do a gid check instead of a uid check. - Assigning to a string offset beyond the end of the string now automatically increases the string length by padding it with spaces, and performs the assignment.
2001-12-11Missed a PHP_PKG_VERS -> PKGREVISION conversion.jlam1-2/+2
2001-12-03Use PKGREVISION to manage the package-specific version number when itjlam3-15/+7
differs from the distfile version number. G/C some the unused variables in php4/Makefile.common related to the old way of handling version numbers.
2001-12-02bsd.pkg.install.mk calls the INSTALL script at the right timesjlam1-5/+1
automatically, so no need to do it ourselves.
2001-11-26Forgot a CONFDIR -> PKG_SYSCONFDIR replacement.jlam3-7/+5
2001-11-25PKG_SYSCONFDIR is where the configuration files for a package may be found.jlam1-2/+2
This value may be customized in various ways: PKG_SYSCONFBASE is the main config directory under which all package configuration files are to be found. PKG_SYSCONFSUBDIR is the subdirectory of PKG_SYSCONFBASE under which the configuration files for a particular package may be found. PKG_SYSCONFDIR.${PKGBASE} overrides the value of ${PKG_SYSCONFDIR} for a particular package. Users will typically want to set PKG_SYSCONFBASE to /etc, or accept the default location of ${PREFIX}/etc. This obsoletes the use of CONFDIR, which was active for only 6 days, so no need to have a workaround to still accept old CONFDIR settings.
2001-11-19Adapt to use shared INSTALL/DEINSTALL scripts by using the logic injlam6-143/+10
bsd.pkg.install.mk: * Remove old DEINSTALL/INSTALL scripts. * Move some text printed at POST-INSTALL time into the MESSAGE file. * Adjust rc.d scripts to respect rc.conf settings, so that the script may be directly copied into /etc/rc.d.
2001-11-01Move MESSAGE.module from pkg/ to top-level package directory.jlam1-1/+1
2001-11-01Change reachover references into another package's pkg/ directory intojlam1-3/+3
references to the other package's base directory. This is needed after the files in the pkg/ directory were dispersed into the base directory.
2001-11-01Move pkg/ files into package's toplevel directoryzuntum2-2/+2
2001-11-01Move pkg/ files into package's toplevel directoryzuntum5-4/+4
2001-10-30Correct package names by adding '4' before the '-', and addwiz1-5/+6
php4-posix, which seems to be needed for mail/imp, as noted by Olaf Seibert in private mail.
2001-10-20Only link -lgcc whole-archive on NetBSD ELF platforms, to allow a.outjlam1-7/+8
platforms to correctly links this package.
2001-10-18Support for linking some PHP4 extensions statically into the php CGI andjlam1-1/+16
into the apache mod_php.so DSO. PHP4_CONFIGURE_ARGS should contain GNU configure options, a complete list of which may be found at: http://www.php.net/manual/en/install.configure.php Note that this is generally not needed as many of the extensions (session, mysql, pgsql, pcre) may be dynamically loaded, and are separately packaged in pkgsrc.
2001-10-18Note additional PHP4 packages that the user may want to install.jlam1-1/+8
2001-10-16Replace "../php4" with "../../www/php4" at various locations to fixtron3-10/+10
build problems in PHP module packages outside "pkgsrc/www".
2001-10-16Fix module makefile which didn't work with PHP module packages outside oftron1-3/+3
"pkgsrc/www".
2001-10-16Update ap-php and php to 4.0.6. Changes from version 4.0.5 include:jlam18-248/+360
- Bug fixes (memory leaks and other errors) - Made $HTTP_SESSION_VARS['foo'] and $foo be references to the same value when register_globals is on. (Andrei) - Added is_callable() function that can be used to find out whether its argument is a valid callable construct. (Andrei) - Added pg_last_notice() function. (Rasmus from suggestion by Dirk@rackspace.com) - Added support to getimagesize to return dimensions of BMP and PSD files. (Derick) - Added Japanese multibyte string functions support. (Rui) - Added key_exists() to check if a given key or index exists in an array or object. (David Croft) - Added -C command-line option to avoid chdir to the script's directory. (Stig) - printf argnum (parameter swapping) support. (Morten Poulsen, Rasmus) - Modified get_parent_class() and get_class_methods() to accept a class name as well as a class instance. (Andrei, Zend Engine) - Added array_map() function that applies a callback to the elements of given arrays and returns the result. It can also be used with a null callback to transpose arrays. (Andrei) - Added array_filter(), which allows filtering of array elements via the specified callback. (Andrei)
2001-09-27Mechanical changes to 375 files to change dependency patterns of the formjlam1-2/+2
foo-* to foo-[0-9]*. This is to cause the dependencies to match only the packages whose base package name is "foo", and not those named "foo-bar". A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net. Also change dependency examples in Packages.txt to reflect this.
2001-07-13In package Makefiles, create FILES_SUBST instead of duplicating sedjlam2-13/+14
expression for substituting in DEINSTALL/INSTALL scripts. Use "${CMP} -s" instead of "diff -q" since the former is more portable across OSes.
2001-06-21Hyphens in module names are replaced with underscores in the file system.kim1-5/+5
2001-06-13enable sockets in php4.explorer1-1/+2
2001-06-12LIBS is automatically added to CONFIGURE_ENV by bsd.pkg.mk ifjlam1-2/+1
GNU_CONFIGURE is defined, so simply set LIBS to the appropriate value.
2001-06-11CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, sojlam1-2/+1
adapt by moving CPPFLAGS settings to top-level, and removing explicit inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-05-14Disable the pcre support...it should be a separate loadable module.jlam1-2/+4
2001-05-14Update php4 and modules to 4.0.5. Changes from version 4.0.4.1nb1 includejlam16-183/+275
many general bugfixes, important fixes to the pgsql module to support PostgreSQL transactions correctly, speedups, and a zlib output compressor.
2001-05-03Use --export-dynamic instead of -E as it's recognized by both the oldjlam1-5/+3
and new ld on both a.out and ELF, on advice from skrll.netbsd.org.
2001-05-03Prefer VAR+= lines to backslash line continuations to make this file easierjlam1-3/+3
to grep through.
2001-05-03Only pass -Wl,-E to linker on ELF platforms. This fixes build problemsjlam1-2/+4
on a.out platforms pointed out by rh@netbsd.org.
2001-05-02Add libexec/cgi-bin directory to standard /usr/pkg hierarchy. Remove alljlam1-2/+1
the per-package code that attempt to remove this directory if it's empty.
2001-05-01Add support for building the mcrypt module as a separate package.jlam3-3/+50
2001-05-01Document PHP_PKG_VERS variable.jlam1-1/+5
2001-05-01Use a common distinfo file amongst the various php4 module packages.jlam1-1/+2
2001-04-30* Introduce variable ${PHP_CONFDIR} for location of php.ini configurationjlam5-23/+35
file. It defaults to ${LOCALBASE}/etc. * Move example configuration files to ${PREFIX}/share/examples/php. * Ensure we export symbols when linking loadable shared object files during extension module creation.
2001-04-20Move to sha1 digests, and add distfile sizes.skrll1-2/+3
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc2-4/+2
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-03-14Update php4-imap to 4.0.4.1nb2. The only change from version 4.0.4.1nb1 isjlam2-4/+80
a security fix for a buffer overflow problem. The fix was provided in private email by Anil Madhavapeddy <anil@recoil.org>.
2001-03-13Include <sys/types.h> before including <sys/socket.h> in thest for IPv6jlam3-14/+32
support. Fix suggested in pkg/12199 by Olaf Seibert <rhialto@polderland.nl>.
2001-03-01Disassociate the version number of the php4 package from the version numbers ofjlam3-12/+14
the php4 modules. The rule is that php4 modules depend on php-${PHP_VERS}, but they are allowed to have their own ${PHP_BASE_VERS}nbX package version numbers.
2001-02-17Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.wiz2-2/+2
2001-02-12Link c-client object files directly into PHP4 IMAP shared module. This getsjlam4-26/+16
php4-imap working on my Apache 1.3.17 + mod_ssl 2.8.0 + PHP4 installation.
2001-02-07- Don't use the ".php" script on the master sites for downloading becausetron1-2/+3
it confuses our FTP client. - Add German mirror site.
2001-01-29Add automatic ${VARIABLE} handling for MESSAGE files.wiz4-24/+12
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced, not @VARIABLE@, nor @@VARIABLE@@). By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX, X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST. Clean up some packages while I'm there; add RCS tags to most MESSAGEs. Remove some uninteresting MESSAGEs.
2001-01-25libintl.a is now a part of NetBSD, so build the gettext module by default.jlam5-14/+28
This bumps the version number to 4.0.4.1nb1. Also, build the php CGI binary by statically linking against the helper library libphp4.la so we aren't forced to install a shared library used solely by one program.