Commit graph

28 commits

Author SHA1 Message Date
Jeremy Chadwick
6a5f4c3f23 Fix for previous commit; user reported privately that Apache would print
"Cannot get media type from 'x-httpd-php'" as a warning in the ErrorLog.  Issue
caused by incorrect AddType syntax.

This commit fixes the pkg-message syntax described, as well as the example
suphp.conf to reflect the proper type (value "application/x-httpd-php", not
"x-httpd-php").

Submitted by:	<dark@aspu.ru>
2007-12-12 17:27:49 +00:00
Jeremy Chadwick
c28f2b3cca Upgrade to suPHP 0.6.2. This upgrade is quite major; it introduces
numerous features necessary for hosting, adds the use of a configuration
file (vs. compile-time settings) for configuration details, and is
presently supported by the software author.

Changes to httpd.conf are required for this to work, otherwise PHP
content is offered for download and not parsed.  pkg-message contains
full migration details, but here's the simple version:

suPHP 0.5.2                            suPHP 0.6.2
===========                            ===========
AddType application/x-httpd-php .php   AddType x-httpd-php .php
AddHandler x-httpd-php .php            suPHP_AddHandler x-httpd-php

Tested on RELENG_6 and RELENG_7, using Apache 2.0 and 2.2, with the
help of the PR submitter.

Testing for Apache 1.3 was not performed, thus the port requires the
use of 2.0 or later.  suPHP 0.6.2 does support Apache 1.3, but I'll
need someone running 1.3 to work with me on fixing the port to support
it, if desired.

PR:		ports/116281
Submitted by:	Vladimir Korkodinov <viper@perm.raid.ru>
2007-12-11 20:38:58 +00:00
Pav Lucistnik
b88236b45e - Fix for recent PHP changes, correct path to php-cgi binary
- Add user-overridable variable SUPHP_PATH
- Cosmetics

PR:		ports/97047
Submitted by:	Jeremy Chadwick <freebsd@jdc.parodius.com> (maintainer)
2006-05-10 22:23:14 +00:00
Alex Dupre
fbc062586d Fix or remove obsolate or broken ways to depend on php. 2006-05-06 14:31:30 +00:00
Pav Lucistnik
f0df633c49 - Add support for Apache 2.2
PR:		ports/94034
Submitted by:	Craig Boston <craig@yekse.gank.org>
Approved by:	Jeremy Chadwick <freebsd@jdc.parodius.com> (maintainer)
2006-04-08 12:56:16 +00:00
Edwin Groothuis
84b1517c16 SHA256ify
Approved by: krion@
2006-01-24 03:16:52 +00:00
Clement Laforet
05684b80dd - prepare removal of www/apache2 in favor of www/apache20 for naming
consistency
- add entries in UPDATING (for apache22 too)

PR:		ports/78119
Repocopied by:	marcus
2005-12-04 00:18:15 +00:00
Pav Lucistnik
a7ffb3b0d0 - Avoid make -C fixing build on FreeBSD 4.8 and older
- Expand CONFLICTS
- Style

PR:		ports/73226
Submitted by:	Jeremy Chadwick <freebsd@jdc.parodius.com> (maintainer)
2004-10-28 18:29:16 +00:00
Volker Stolz
80e1966e4e - Fix "make -C"-issues
- Unregister from Apache through apxs on deinstall
- Cleanup

PR:		ports/70345
Submitted by:	Jeremy Chadwick (maintainer)
2004-08-12 09:31:51 +00:00
Volker Stolz
8420e95755 Needs 'make -C', available since 4.9.
PR:		ports/69624
Submitted by:	Jeremy Chadwick (maintainer)
2004-07-27 07:48:41 +00:00
Tilman Keskinoz
2cfe1f6bbf Change logic of the LOGFILE path:
Assuming the user DOES NOT specify the
        LOG_PATH variable upon build (by default, it's empty).
	The logfile will end up in / (a.k.a. /suphp.log)

PR:		69334
Submitted by:	Jeremy Chadwick <freebsd@jdc.parodius.com>
2004-07-23 07:29:47 +00:00
Pav Lucistnik
64de42939c - Unbreak on 4.x: adapt make(1) syntax
PR:		ports/69139
Submitted by:	Jeremy Chadwick <freebsd@jdc.parodius.com> (maintainer)
2004-07-17 17:34:03 +00:00
Clement Laforet
686ce339ee - Update to 0.5.2
Add a workaroung to make it work with apache 2 (due to an apr bug)
  (so be careful)
- Pass maintainership to submitter

PR:             ports/69048
Submitted by:   Jeremy Chadwick <freebsd@jdc.parodius.com>
2004-07-15 22:13:36 +00:00
Clement Laforet
0eb0ad5f27 - s/--enable-setid-mode/--with-setid-mode/
Reported by:	Andries Filmer <andries@netexpo.nl>
2004-06-29 12:21:20 +00:00
Clement Laforet
82a666fe43 - Add WITH_LOGNAME and WITH_LOGPATH knobs.
I kept LOG_NAME to not break POLA (Will be removed for next release).

Requested by:	Dennis Koster <dennis@phlex.net>
2004-06-29 10:40:08 +00:00
Clement Laforet
5b35dfde8e Fix mispelled CONFIGURE_ARGS option
Spotted by:	Johan Mulder <johan@localhost.nl>
2004-03-20 12:38:50 +00:00
Clement Laforet
15430971a1 - Update to 0.5.1
This version is mainly a bugfix release, fixing a bug causing a
segmentation fault in the Apache 2 module and improving the handling
of environment variables. Instead of setting unneeded / unwanted
environment variables to an empty string, they are now completely
removed from the environment.
2004-02-25 11:47:24 +00:00
Clement Laforet
3b8591d72d - SIZEify distinfo 2004-02-07 17:16:21 +00:00
Joe Marcus Clarke
73f7c91b5d Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.
(Part 1)
2004-02-04 05:10:27 +00:00
Clement Laforet
ab97728208 - Fix suPHP.
- Bump PORTREVISION

Noticed by:         Starhost.nl - N.Elsten <elsten@starhost.nl>
Approved by:        erwin (mentor) (implicitly)
2004-01-14 20:28:58 +00:00
Clement Laforet
3887814e09 - Update my email address
Approved and reviewed by:    erwin (mentor)
2004-01-13 15:04:51 +00:00
Clement Laforet
32db161a56 Update to 0.5
now suPHP supports apache2.

Approved by:    erwin (mentor) (implicitly)
2004-01-11 15:53:56 +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
Yen-Ming Lee
6bd1e92fc3 Update to 0.3.1
PR:		57681
Submitted by:	Clement Laforet <sheepkiller@cultdeadsheep.org>
Release
2003-10-07 00:49:16 +00:00
Edwin Groothuis
ba63502f38 [update] www/suphp: update to 0.3 and fix a security leak introduced with previous patch
- update to 0.3
	- add a workaround to don't use getpwuid to performs check for apache user (since 4.x
	  doesn't support getpwuid_r).
	- use %%DOCSDIR%%

PR:		ports/55952
Submitted by:	Clement Laforet <sheepkiller@cultdeadsheep.org>
2003-08-25 12:13:36 +00:00
Daichi GOTO
b8e000988a fix www/suphp:
- fix critical problem, due to wrong dependency.
    lang/php4-cli -> www/php4-cgi

PR:		54558
Submitted by:	Clement Laforet <sheepkiller@cultdeadsheep.org> (maintainer)
2003-07-17 04:35:53 +00:00
Daichi GOTO
527c7deb74 update www/suphp: 0.2.2 --> 0.2.3
* update suphp to 0.2.3
    * fix bento build (apxs related problem)
    * Separate build/install stages for mod_suphp

PR:		53873
Submitted by:	Clement Laforet <sheepkiller@cultdeadsheep.org>
Pointed out by:	bento via kris
2003-06-30 04:56:55 +00:00
Daichi GOTO
3b92dfd33d Add suphp 0.2.2,
suPHP is a combination which provides a wrapper
for PHP.

PR:		42790
Submitted by:	Clement Laforet <sheepkiller@cultdeadsheep.org>
2003-06-25 06:50:53 +00:00