Opened 21 years ago

Closed 21 years ago

Last modified 9 years ago

#775 closed defect (fixed)

UPDATE : php4 dport

Reported by: bchesneau@… Owned by: fkr@…
Priority: High Milestone:
Component: ports Version: 1.0
Keywords: Cc: fkr@…, mww@…
Port:

Description

This update add following feature :

  • remove apache2 variant. Now only apache variant is here. It autedecte the apache installed. If no

aache instaleld with variant apache, apche1 is installed since apache2 support is still experimental

  • add cli variant : to install/not install php4 + cli
  • add gd varaint
  • add xslt variant
  • add curl variant
  • add crypt variant (libmcrypt and mhash support)
  • add support for update-apachemodules.pl script ( See bug #767)
  • add ssl variant
  • now the dport is completly destrooted. previous wasn't because of module installation in prefix.

Attachments (20)

Portfile-php4-20030813.diff (5.8 KB) - added by bchesneau@… 21 years ago.
Patch Portfile in cvs
mod_php (50 bytes) - added by bchesneau@… 21 years ago.
files/mod_php
mod_php.conf (148 bytes) - added by bchesneau@… 21 years ago.
files/mod_php.conf
portfile-php4-20030817.diff (5.9 KB) - added by bchesneau@… 21 years ago.
Patch portfile in cvs
php-portfile-20030818 (5.2 KB) - added by bchesneau@… 21 years ago.
Portfile
php-portfile-20030818-2 (5.2 KB) - added by bchesneau@… 21 years ago.
Portfile
portfile-php4-20030829.diff (6.6 KB) - added by bchesneau@… 21 years ago.
patch portfile in cvs - bump to 4.3.3 and improvments
php4-portfile-20031001.diff (6.5 KB) - added by bchesneau@… 21 years ago.
Patch portfile in cvs
patch-configure (1.2 KB) - added by bchesneau@… 21 years ago.
patch configure file
php4-portfile-20031001-2.diff (6.5 KB) - added by bchesneau@… 21 years ago.
Patch portfile in cvs
php4-portfile-20031001-2.2.diff (6.5 KB) - added by bchesneau@… 21 years ago.
replace portfile in cvs
php4-portfile-20031001-2.3.diff (6.5 KB) - added by bchesneau@… 21 years ago.
replace portfile in cvs
portfile.diff (7.1 KB) - added by bchesneau@… 21 years ago.
Update php4 from 4.3.2 to 4.3.3 version
portfile.2.diff (7.3 KB) - added by bchesneau@… 21 years ago.
patch to update from 4.3.2 version to 4.3.3
portfile_php-4.3.4.diff (7.5 KB) - added by bchesneau@… 21 years ago.
patch portfile to bump to 4.3.4 (last stable version)
portfile.3.diff (7.6 KB) - added by bchesneau@… 21 years ago.
bump to 4.3.4
portfile.4.diff (7.6 KB) - added by bchesneau@… 21 years ago.
bump to 4.3.4, portfile diff
portfile.5.diff (7.6 KB) - added by bchesneau@… 21 years ago.
bump to 4.3.4, portfile diff
portfile.6.diff (8.3 KB) - added by bchesneau@… 21 years ago.
little update to ad ui msg to explain how to install php in apache
portfile.7.diff (8.4 KB) - added by bchesneau@… 21 years ago.
new portfile diff

Download all attachments as: .zip

Change History (52)

Changed 21 years ago by bchesneau@…

Attachment: Portfile-php4-20030813.diff added

Patch Portfile in cvs

Changed 21 years ago by bchesneau@…

Attachment: mod_php added

files/mod_php

Changed 21 years ago by bchesneau@…

Attachment: mod_php.conf added

files/mod_php.conf

comment:1 Changed 21 years ago by bchesneau@…

dependson: 767

comment:2 Changed 21 years ago by bchesneau@…

dependson: 770

comment:3 Changed 21 years ago by bchesneau@…

* Bug 736 has been marked as a duplicate of this bug. *

comment:4 Changed 21 years ago by bchesneau@…

dependson: 734

depends on sablotron dport to add xsl support

Changed 21 years ago by bchesneau@…

Attachment: portfile-php4-20030817.diff added

Patch portfile in cvs

comment:5 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

Changed 21 years ago by bchesneau@…

Attachment: php-portfile-20030818 added

Portfile

comment:6 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

comment:7 Changed 21 years ago by bchesneau@…

dependson: 734, 770768
  • depends on new apache 1 dport at bug #767 to use a clean layout (${prefix}/apache or ${prefix})
  • if no mysql is installed mysql4 is used and so depends on bug #768

Changed 21 years ago by bchesneau@…

Attachment: php-portfile-20030818-2 added

Portfile

comment:8 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

comment:9 Changed 21 years ago by fkr@…

Cc: fkr@… added

is it possible to change the portfile, so it won't depend on mysql4? that way, we could process this, since mysql4 has issues. see mysql4. -fkr

comment:10 Changed 21 years ago by bchesneau@…

yes will update tonight and bump to 4.3.3 version

Changed 21 years ago by bchesneau@…

Attachment: portfile-php4-20030829.diff added

patch portfile in cvs - bump to 4.3.3 and improvments

comment:11 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

Changed 21 years ago by bchesneau@…

Attachment: php4-portfile-20031001.diff added

Patch portfile in cvs

comment:12 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

comment:13 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

Changed 21 years ago by bchesneau@…

Attachment: patch-configure added

patch configure file

comment:14 Changed 21 years ago by bchesneau@…

dependson: 767, 768

now php compiled well with current apache/apache2 in darwinports. If anyone whant to see the phpinfo :

http://www.metavers.net/phpinfo.php

Changed 21 years ago by bchesneau@…

Patch portfile in cvs

comment:15 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

Changed 21 years ago by bchesneau@…

replace portfile in cvs

comment:16 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

Changed 21 years ago by bchesneau@…

replace portfile in cvs

comment:17 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

Changed 21 years ago by bchesneau@…

Attachment: portfile.diff added

Update php4 from 4.3.2 to 4.3.3 version

comment:18 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

comment:19 Changed 21 years ago by fkr@…

Owner: changed from darwinports-bugs@… to fkr@…

comment:20 Changed 21 years ago by fkr@…

errors out during destroot stage:

DEBUG: Executing com.apple.destroot (php4)
DEBUG: Assembled command: 'cd "/Volumes/data/develope/opendarwin/opendarwin-cvs-co/darwinports/dports/www/php4/work/php-4.3.3" && make install-cli install-modules install-pear install-build install-headers install-programs INSTALL_ROOT=/Volumes/data/develope/opendarwin/opendarwin-cvs-co/darwinports/dports/www/php4/work/destroot PHP_PEAR_INSTALL_DIR=/opt/local/lib/php DESTDIR=/Volumes/data/develope/opendarwin/opendarwin-cvs-co/darwinports/dports/www/php4/work/destroot'
make: *** No rule to make target `install-cli'.  Stop.
Error: Target com.apple.destroot returned: shell command "cd "/Volumes/data/develope/opendarwin/opendarwin-cvs-co/darwinports/dports/www/php4/work/php-4.3.3" && make install-cli install-modules install-pear install-build install-headers install-programs INSTALL_ROOT=/Volumes/data/develope/opendarwin/opendarwin-cvs-co/darwinports/dports/www/php4/work/destroot PHP_PEAR_INSTALL_DIR=/opt/local/lib/php DESTDIR=/Volumes/data/develope/opendarwin/opendarwin-cvs-co/darwinports/dports/www/php4/work/destroot" returned error 2
Command output: make: *** No rule to make target `install-cli'.  Stop.
Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:21 Changed 21 years ago by bchesneau@…

mmm, did you use cli variant ? If not, I think to know where is the problem.

Changed 21 years ago by bchesneau@…

Attachment: portfile.2.diff added

patch to update from 4.3.2 version to 4.3.3

comment:22 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

Changed 21 years ago by bchesneau@…

Attachment: portfile_php-4.3.4.diff added

patch portfile to bump to 4.3.4 (last stable version)

comment:23 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

Changed 21 years ago by bchesneau@…

Attachment: portfile.3.diff added

bump to 4.3.4

comment:24 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

Changed 21 years ago by bchesneau@…

Attachment: portfile.4.diff added

bump to 4.3.4, portfile diff

comment:25 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

Changed 21 years ago by bchesneau@…

Attachment: portfile.5.diff added

bump to 4.3.4, portfile diff

comment:26 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

comment:27 Changed 21 years ago by bchesneau@…

Cc: mww@… added

comment:28 Changed 21 years ago by bchesneau@…

* Bug 1134 has been marked as a duplicate of this bug. *

Changed 21 years ago by bchesneau@…

Attachment: portfile.6.diff added

little update to ad ui msg to explain how to install php in apache

comment:29 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

comment:30 Changed 21 years ago by fkr@…

during configure-stage:

checking for ZIP support... no

Configuring PEAR checking whether to install PEAR... yes configure: error:

PEAR requires CLI to be enabled. Add --enable-cli to the configure line.

Warning: the following items did not execute (for php4): com.apple.install com.apple.configure com.apple.build com.apple.destroot

Version 0, edited 21 years ago by fkr@… (next)

Changed 21 years ago by bchesneau@…

Attachment: portfile.7.diff added

new portfile diff

comment:31 Changed 21 years ago by bchesneau@…

attachments.isobsolete: 01

comment:32 Changed 21 years ago by fkr@…

Resolution: fixed
Status: newclosed

finally committed. -fkr

Note: See TracTickets for help on using tickets.