Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 352998 Details for
Bug 476358
=www-apache/mod_suphp-0.7.2 - Version bump.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
mod_suphp-0.7.2.ebuild
file_476358.txt (text/plain), 2.42 KB, created by
devnull
on 2013-07-10 12:43:58 UTC
(
hide
)
Description:
mod_suphp-0.7.2.ebuild
Filename:
MIME Type:
Creator:
devnull
Created:
2013-07-10 12:43:58 UTC
Size:
2.42 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/www-apache/mod_suphp/mod_suphp-0.7.1.ebuild,v 1.1 2009/09/17 10:16:44 hollow Exp $ > >EAPI="2" > >inherit eutils autotools apache-module libtool > >DESCRIPTION="suPHP is a tool for executing PHP scripts with the permissions of their owners." >HOMEPAGE="http://www.suphp.org/" >SRC_URI="http://www.suphp.org/download/suphp-${PV}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~ppc ~x86" >IUSE="checkpath mode-force mode-owner +mode-paranoid" > >S="${WORKDIR}/suphp-${PV}" > >APXS2_S="${S}/src/apache2" >APACHE2_MOD_CONF="70_${PN}" >APACHE2_MOD_DEFINE="SUPHP" > >need_apache2_2 > >src_prepare() { > eautoreconf >} > >pkg_setup() { > confutils_require_one mode-force mode-owner mode-paranoid > > if use mode-force; then > SUPHP_SETIDMODE="force" > elif use mode-owner; then > SUPHP_SETIDMODE="owner" > else > SUPHP_SETIDMODE="paranoid" > fi > > elog > elog "Using ${SUPHP_SETIDMODE} mode" > elog > elog "You can manipulate several configure options of this" > elog "ebuild through environment variables:" > elog > elog "SUPHP_MINUID: Minimum UID, which is allowed to run scripts (default: 1000)" > elog "SUPHP_MINGID: Minimum GID, which is allowed to run scripts (default: 100)" > elog "SUPHP_APACHEUSER: Name of the user Apache is running as (default: apache)" > elog "SUPHP_LOGFILE: Path to suPHP logfile (default: /var/log/apache2/suphp_log)" > elog >} > >src_configure() { > local myargs="" > > use checkpath || myargs="--disable-checkpath" > > : ${SUPHP_MINUID:=1000} > : ${SUPHP_MINGID:=100} > : ${SUPHP_APACHEUSER:="apache"} > : ${SUPHP_LOGFILE:="/var/log/apache2/suphp_log"} > > econf ${myargs} \ > --with-setid-mode=${SUPHP_SETIDMODE} \ > --with-min-uid=${SUPHP_MINUID} \ > --with-min-gid=${SUPHP_MINGID} \ > --with-apache-user=${SUPHP_APACHEUSER} \ > --with-logfile=${SUPHP_LOGFILE} \ > --with-apxs=${APXS} \ > --with-apr=/usr/bin/apr-1-config \ > || die "econf failed" >} > >src_compile() { > emake || die "make failed" >} > >src_install() { > apache-module_src_install > dosbin src/suphp > fperms 4755 /usr/sbin/suphp > > dodoc ChangeLog doc/CONFIG > > docinto apache > dodoc doc/apache/CONFIG doc/apache/INSTALL > > insinto /etc > doins "${FILESDIR}/suphp.conf" >} > >pkg_postinst() { > # Make sure the suphp binary is set setuid > chmod 4755 "${ROOT}"/usr/sbin/suphp > > apache-module_pkg_postinst >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 476358
:
352998
|
353000
|
353002
|
353004
|
353060