Commit graph

10 commits

Author SHA1 Message Date
jlam
71e78c7453 Add libexec/cgi-bin directory to standard /usr/pkg hierarchy. Remove all
the per-package code that attempt to remove this directory if it's empty.
2001-05-02 22:22:42 +00:00
jlam
752f7906eb * Introduce variable ${PHP_CONFDIR} for location of php.ini configuration
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-30 03:25:15 +00:00
wiz
a0745845b3 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:21:28 +00:00
wiz
b979f7222a Add automatic ${VARIABLE} handling for MESSAGE files.
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-29 11:34:21 +00:00
jlam
c3e8df992f libintl.a is now a part of NetBSD, so build the gettext module by default.
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.
2001-01-25 17:18:07 +00:00
jlam
6427f2fb5d Fix problem with installation of libtool-built php CGI binary. 2001-01-22 05:49:14 +00:00
jlam
e7eb28109f Update to version 4.0.4pl1. Changes from version 4.0.4:
* Make NetBSD PHP extensions_dir equal the compiled-in default for PHP4.
* Install the PEAR PHP4 script repository and tools.
* Use the source's install target instead of homegrown one.

- Fixed the various pdf_open_*() functions (Daniel)
- Fixed a bug that could cause invalid INI entries to be used under certain
  circumstances (Zeev)
- Fixed a bug in the Apache module that could cause invalid INI values to
  propogate to different virtual hosts, if one or more of the virtual
  hosts was configured with engine=Off (Zeev)
- Fixed possible crash bugs in the session module (Sascha)
- Fixed the ODBC module to build properly with Solid 3.0 and OpenLink (Dan
  Kalowsky)
- Fixed possible corruption of line number information in PHP scripts (Zeev,
  Zend Engine)
- Fixed a few possible crashes in functions that use user-defined callbacks
  (Zeev, Zend Engine)
2001-01-15 16:32:27 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
jlam
9c8a02f29b Make this package look more like php3 by installing a php binary for use as
a CGI executable for HTTP servers without a SAPI module.
2000-12-17 21:33:55 +00:00
jlam
016127de8f Create a php4 package upon which both HTTP/PHP4 servers and PHP4 extension
modules depend.  Move most of the guts of the ap-php4 package into this
one.
2000-12-17 09:19:32 +00:00