13725 FreshPorts -- www/suphp
FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
suphp 0.7.1_5 www on this many watch lists=16 search for ports that depend on this port An older version of this port was marked as vulnerable.
Securely execute PHP scripts under Apache
Maintained by: yzlin@FreeBSD.org search for ports maintained by this maintainer
Port Added: 25 Jun 2003 06:51:25
License: not specified in port


suPHP is a combination of an Apache module (mod_suphp) and an
executable which provides a wrapper for PHP. With both
together, it is possible to execute PHP scripts with the
permissions of their owner without having to place a PHP
binary in each user's cgi-bin directory. suPHP doesn't need
Apache's suExec, provides a logging function and support for
different php.ini's. 

WWW: http://www.suphp.org/
SVNWeb : Main Web Site : Distfiles Availability : PortsMon

NOTE: FreshPorts displays only required dependencies information. Optional dependencies are not covered.

Required To Build:
  1. www/apache22
  2. devel/automake
  3. devel/autoconf
  4. devel/libtool
Required To Run:
  1. lang/php5
  2. www/apache22
There are no ports dependent upon this port

To install the port: cd /usr/ports/www/suphp/ && make install clean
To add the package: pkg_add -r suphp


Configuration Options
     No options to configure

Master Sites:
  1. ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/
  2. ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/koitsu/
  3. ftp://ftp.cn.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/koitsu/
  4. ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/koitsu/
  5. ftp://ftp.ru.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/koitsu/
  6. ftp://ftp.se.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/koitsu/
  7. ftp://ftp.tw.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/koitsu/
  8. ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/koitsu/
  9. http://www.suphp.org/download/
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2009-03-18
    Affects: users of www/suphp
    Author: yzlin@cs.nctu.edu.tw
    Reason: 
      The suPHP port has been upgraded to 0.7.x. This new version of suPHP has
      some new features and changes for the configuration file:
    
        - Multiple path (with patterns) & variable substitution support for
          docroots
        - Double-quoted strings at section '[handlers]'
          ex. application/x-httpd-php="php:/usr/local/bin/php-cgi"
    
      These changes may lead to internal server error if without modifications
      of the configuration file from previous version.
    
    

Number of commits found: 50

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
22 Sep 2012 21:15:51
Original commit files touched by this commit  0.7.1_5
ohauer search for other commits by this committer
- USE_APACHE= s/22+/22/
- adopt new Makefile header

Port build fails on local exp-run with apache24 with
 error: 'conn_rec' has no member named 'remote_ip'

or various other apache22 specific functions/parameters

with hat apache@
18 Aug 2012 14:29:11
Original commit files touched by this commit  0.7.1_5
ohauer search for other commits by this committer
- remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@
20 Jun 2012 01:30:36
Original commit files touched by this commit  0.7.1_5
fluffy search for other commits by this committer
- Unbroke with clang/gcc47+ by use restrictive C++ construction
- Declare that code use gnu89 style
- No PORTREVISION bump, users with base gcc not affected

PR:             168579
Submitted by:   myself
Approved by:    maintainer timeout (> 2 weeks)
Obtained from:  PkgSrc repo
20 Aug 2011 17:27:52
Original commit files touched by this commit  0.7.1_5
ohauer search for other commits by this committer
 - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined
22 Feb 2011 00:05:41
Original commit files touched by this commit  0.7.1_4
ohauer search for other commits by this committer
  - fix pkg-plist if installed from port (leftover in httpd.conf)
  - remove MD5 from distfile

PR:             ports/154754
Submitted by:   myself
Approved by:    maintainer timeout
22 Dec 2010 20:05:49
Original commit files touched by this commit  0.7.1_3
ade search for other commits by this committer
Sync to final (for now) bsd.autotools.mk
04 Dec 2010 07:34:27
Original commit files touched by this commit  0.7.1_3
ade search for other commits by this committer
Sync to new bsd.autotools.mk
16 Oct 2010 11:52:47
Original commit files touched by this commit  0.7.1_3
ade search for other commits by this committer
Punt autoconf267->autoconf268
05 Oct 2010 19:57:56
Original commit files touched by this commit  0.7.1_3
ade search for other commits by this committer
Round one migration of ports from automake{19,110} to automake111
15 Sep 2010 18:35:24
Original commit files touched by this commit  0.7.1_3
ade search for other commits by this committer
Autotools update.   Read ports/UPDATING 20100915 for details.

Approved by:    portmgr (for Mk/bsd.port.mk part)
Tested by:      Multiple -exp runs
06 Jun 2010 03:37:03
Original commit files touched by this commit  0.7.1_2
yzlin search for other commits by this committer
- Work with apache2/apr changes

PR:             ports/146914
Submitted by:   Anish Mistry <amistry AT am-productions.biz>
13 May 2010 00:54:57
Original commit files touched by this commit  0.7.1_1
pgollucci search for other commits by this committer
- Chase the www/apache20 conversion to devel/pcre only.

Reported by:    pointyhat via pav, erwin
With Hat:       apache@
12 May 2010 13:21:12
Original commit files touched by this commit  0.7.1_1
yzlin search for other commits by this committer
- Fix build error

Approved by:    lwhsu/rafan (mentors, implicit)
Reported by:    pointyhat
02 Aug 2009 19:36:34
Original commit files touched by this commit  0.7.1
mezz search for other commits by this committer
-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:      marcus and kwm
Pointyhat-exp:  a few times by pav
Tested by:      pgollucci, "Romain Tartière" <romain@blogreen.org>, and
                a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:    marcus
Approved by:    portmgr
29 Jul 2009 12:59:14
Original commit files touched by this commit  0.7.1
yzlin search for other commits by this committer
- Change to my mail address at FreeBSD.org

Approved by:    lwhsu (mentor)
20 Mar 2009 07:33:13
Original commit files touched by this commit  0.7.1
lwhsu search for other commits by this committer
- Update to 0.7.1

PR:             ports/132768
Submitted by:   Yi-Jheng Lin <yzlin AT cs.nctu.edu.tw> (maintainer)
09 Feb 2009 21:04:06
Original commit files touched by this commit  0.7.0
miwi search for other commits by this committer
- Update to 0.7.0
- Pass maintainership to submitter

PR:             131451
Submitted by:   Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
20 Nov 2008 11:06:24
Original commit files touched by this commit  0.6.3
koitsu search for other commits by this committer
Maintainer moved to ports@FreeBSD.org.
20 Aug 2008 00:57:32
Original commit files touched by this commit  0.6.3
ade search for other commits by this committer
Conversion from (now defunct) autoconf-2.61 to autoconf-2.62

Tested by:      exp build run (erwin)
30 Mar 2008 22:49:07
Original commit files touched by this commit  0.6.3
koitsu search for other commits by this committer
- Update to 0.6.3, to address security holes pertaining to symlinks
  when running in "owner" mode (the default).
  http://lists.marsching.biz/pipermail/suphp/2008-March/001750.html

Security:      
http://lists.marsching.biz/pipermail/suphp/2008-March/001750.html
26 Mar 2008 16:41:30
Original commit files touched by this commit  0.6.2
 This port version is marked as vulnerable.
koitsu search for other commits by this committer
* Pipe is not slash.  *sigh*
26 Mar 2008 16:25:20
Original commit files touched by this commit  0.6.2
  Sanity Test Failure This port version is marked as vulnerable.
koitsu search for other commits by this committer
* Maintainer freebsd@jdc.parodius.com --> koitsu@FreeBSD.org (I'm both)
* Add some redundancy fetch locations to MASTER_SITE_LOCAL.
12 Dec 2007 17:27:49
Original commit files touched by this commit  0.6.2
 This port version is marked as vulnerable.
koitsu search for other commits by this committer
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>
11 Dec 2007 20:38:59
Original commit files touched by this commit  0.6.2
 This port version is marked as vulnerable.
koitsu search for other commits by this committer
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>
10 May 2006 22:23:14
Original commit files touched by this commit  0.5.2_2
 This port version is marked as vulnerable.
pav search for other commits by this committer
- 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)
06 May 2006 14:31:30
Original commit files touched by this commit  0.5.2_1
 This port version is marked as vulnerable.
ale search for other commits by this committer
Fix or remove obsolate or broken ways to depend on php.
08 Apr 2006 12:56:16
Original commit files touched by this commit  0.5.2_1
 This port version is marked as vulnerable.
pav search for other commits by this committer
- 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)
24 Jan 2006 03:14:23
Original commit files touched by this commit  0.5.2_1
 This port version is marked as vulnerable.
edwin search for other commits by this committer
SHA256ify

Approved by: krion@
04 Dec 2005 00:18:15
Original commit files touched by this commit  0.5.2_1
 This port version is marked as vulnerable.
clement search for other commits by this committer
- 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
28 Oct 2004 18:29:16
Original commit files touched by this commit  0.5.2_1
 This port version is marked as vulnerable.
pav search for other commits by this committer
- 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)
12 Aug 2004 09:31:51
Original commit files touched by this commit  0.5.2_1
 This port version is marked as vulnerable.
vs search for other commits by this committer
- Fix "make -C"-issues
- Unregister from Apache through apxs on deinstall
- Cleanup

PR:             ports/70345
Submitted by:   Jeremy Chadwick (maintainer)
27 Jul 2004 07:48:41
Original commit files touched by this commit  0.5.2
 This port version is marked as vulnerable.
vs search for other commits by this committer
Needs 'make -C', available since 4.9.

PR:             ports/69624
Submitted by:   Jeremy Chadwick (maintainer)
23 Jul 2004 07:29:47
Original commit files touched by this commit  0.5.2
 This port version is marked as vulnerable.
arved search for other commits by this committer
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>
17 Jul 2004 17:34:03
Original commit files touched by this commit  0.5.2
 This port version is marked as vulnerable.
pav search for other commits by this committer
- Unbreak on 4.x: adapt make(1) syntax

PR:             ports/69139
Submitted by:   Jeremy Chadwick <freebsd@jdc.parodius.com> (maintainer)
15 Jul 2004 22:13:36
Original commit files touched by this commit  0.5.2
 This port version is marked as vulnerable.
clement search for other commits by this committer
- 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>
29 Jun 2004 12:21:20
Original commit files touched by this commit  0.5.1
 This port version is marked as vulnerable.
clement search for other commits by this committer
- s/--enable-setid-mode/--with-setid-mode/

Reported by:    Andries Filmer <andries@netexpo.nl>
29 Jun 2004 10:40:08
Original commit files touched by this commit  0.5.1
 This port version is marked as vulnerable.
clement search for other commits by this committer
- 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>
20 Mar 2004 12:38:50
Original commit files touched by this commit  0.5.1
 This port version is marked as vulnerable.
clement search for other commits by this committer
Fix mispelled CONFIGURE_ARGS option

Spotted by:     Johan Mulder <johan@localhost.nl>
25 Feb 2004 11:47:24
Original commit files touched by this commit  0.5.1
 This port version is marked as vulnerable.
clement search for other commits by this committer
- 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.
07 Feb 2004 17:16:21
Original commit files touched by this commit  0.5_2
 This port version is marked as vulnerable.
clement search for other commits by this committer
- SIZEify distinfo
04 Feb 2004 05:10:27
Original commit files touched by this commit  0.5_2
 This port version is marked as vulnerable.
marcus search for other commits by this committer
Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
14 Jan 2004 20:28:58
Original commit files touched by this commit  0.5_1
 This port version is marked as vulnerable.
clement search for other commits by this committer
- Fix suPHP.
- Bump PORTREVISION

Noticed by:         Starhost.nl - N.Elsten <elsten@starhost.nl>
Approved by:        erwin (mentor) (implicitly)
13 Jan 2004 15:04:51
Original commit files touched by this commit  0.5
 This port version is marked as vulnerable.
clement search for other commits by this committer
- Update my email address

Approved and reviewed by:    erwin (mentor)
11 Jan 2004 15:53:56
Original commit files touched by this commit  0.5
 This port version is marked as vulnerable.
clement search for other commits by this committer
Update to 0.5
now suPHP supports apache2.

Approved by:    erwin (mentor) (implicitly)
07 Nov 2003 09:12:58
Original commit files touched by this commit  0.3.1
 This port version is marked as vulnerable.
marcus search for other commits by this committer
Use the new Apache bits from bsd.port.mk.

Submitted by:   dinoex
07 Oct 2003 00:49:16
Original commit files touched by this commit  0.3.1
 This port version is marked as vulnerable.
leeym search for other commits by this committer
Update to 0.3.1

PR:             57681
Submitted by:   Clement Laforet <sheepkiller@cultdeadsheep.org>
Release
25 Aug 2003 12:13:36
Original commit files touched by this commit  0.3
 This port version is marked as vulnerable.
edwin search for other commits by this committer
[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>
17 Jul 2003 04:35:53
Original commit files touched by this commit  0.2.3_1
 This port version is marked as vulnerable.
daichi search for other commits by this committer
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)
30 Jun 2003 04:56:55
Original commit files touched by this commit  0.2.3
 This port version is marked as vulnerable.
daichi search for other commits by this committer
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
25 Jun 2003 06:50:53
Original commit files touched by this commit  0.2.2_1
 This port version is marked as vulnerable.
daichi search for other commits by this committer
Add suphp 0.2.2,
suPHP is a combination which provides a wrapper
for PHP.

PR:             42790
Submitted by:   Clement Laforet <sheepkiller@cultdeadsheep.org>

Number of commits found: 50

2828
Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
plibMay 19
plibMay 19
linux-f10-flashplugin10May 16
linux-f10-flashplugin11May 16
nginx*May 16
nginx-devel*May 16
firefoxMay 15
firefox-develMay 15
firefox-esrMay 15
firefox10May 15
firefox15May 15
firefox3May 15
firefox3-develMay 15
firefox35May 15
firefox36May 15

5 vulnerabilities affecting 20 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds


Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24526
Broken 216
Deprecated 473
Ignore 635
Forbidden 3
Restricted 292
No CDROM 109
Vulnerable 27
Expired 132
Set to expire 511
Interactive 33
new 24 hours 4
new 48 hours10
new 7 days27
new fortnight57
new month213

This site
What is FreshPorts?
About the Authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact
8e7

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2013 DVL Software Limited. All rights reserved.
0