* [gentoo-commits] gentoo-x86 commit in www-apache/mod_suphp: ChangeLog mod_suphp-0.6.3.ebuild
@ 2008-04-19 9:18 Benedikt Boehm (hollow)
0 siblings, 0 replies; 2+ messages in thread
From: Benedikt Boehm (hollow) @ 2008-04-19 9:18 UTC (permalink / raw
To: gentoo-commits
hollow 08/04/19 09:18:50
Modified: ChangeLog
Added: mod_suphp-0.6.3.ebuild
Log:
version bump wrt security #215568
(Portage version: 2.1.5_rc3)
Revision Changes Path
1.20 www-apache/mod_suphp/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_suphp/ChangeLog?rev=1.20&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_suphp/ChangeLog?rev=1.20&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_suphp/ChangeLog?r1=1.19&r2=1.20
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_suphp/ChangeLog,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- ChangeLog 23 Mar 2008 12:02:17 -0000 1.19
+++ ChangeLog 19 Apr 2008 09:18:50 -0000 1.20
@@ -1,6 +1,11 @@
# ChangeLog for www-apache/mod_suphp
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_suphp/ChangeLog,v 1.19 2008/03/23 12:02:17 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_suphp/ChangeLog,v 1.20 2008/04/19 09:18:50 hollow Exp $
+
+*mod_suphp-0.6.3 (19 Apr 2008)
+
+ 19 Apr 2008; Benedikt Böhm <hollow@gentoo.org> +mod_suphp-0.6.3.ebuild:
+ version bump wrt security #215568
23 Mar 2008; Benedikt Böhm <hollow@gentoo.org> mod_suphp-0.6.2-r3.ebuild:
fix depend.apache usage wrt #208033
1.1 www-apache/mod_suphp/mod_suphp-0.6.3.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_suphp/mod_suphp-0.6.3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_suphp/mod_suphp-0.6.3.ebuild?rev=1.1&content-type=text/plain
Index: mod_suphp-0.6.3.ebuild
===================================================================
# Copyright 1999-2008 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.6.3.ebuild,v 1.1 2008/04/19 09:18:50 hollow Exp $
inherit apache-module autotools eutils
MY_P="${P/mod_/}"
SETIDMODES="mode-force mode-owner mode-paranoid"
DESCRIPTION="A PHP wrapper for Apache2"
HOMEPAGE="http://www.suphp.org/"
SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="checkpath ${SETIDMODES}"
S="${WORKDIR}/${MY_P}"
APXS2_S="${S}/src/apache2"
APACHE2_MOD_CONF="70_${PN}"
APACHE2_MOD_DEFINE="SUPHP"
need_apache2_2
pkg_setup() {
modecnt=0
for mode in ${SETIDMODES} ; do
if use ${mode} ; then
if [[ ${modecnt} -eq 0 ]] ; then
SUPHP_SETIDMODE=${mode/mode-}
let modecnt++
elif [[ ${modecnt} -ge 1 ]] ; then
die "You can only select ONE mode in your USE flags!"
fi
fi
done
if [[ ${modecnt} -eq 0 ]] ; then
ewarn
ewarn "No mode selected, defaulting to paranoid!"
ewarn
ewarn "If you want to choose another mode, put mode-force OR mode-owner"
ewarn "into your USE flags and run emerge again."
ewarn
SUPHP_SETIDMODE=paranoid
fi
elog
elog "Using ${SUPHP_SETIDMODE/mode-} 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_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-0.6.2-handler.patch
eautoreconf
}
src_compile() {
local myargs=""
use checkpath || myargs="${myargs} --disable-checkpath"
: ${SUPHP_MINUID:=1000}
: ${SUPHP_MINGID:=100}
: ${SUPHP_APACHEUSER:="apache"}
: ${SUPHP_LOGFILE:="/var/log/apache2/suphp_log"}
myargs="${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"
econf ${myargs} || die "econf failed"
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
}
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in www-apache/mod_suphp: ChangeLog mod_suphp-0.6.3.ebuild
@ 2010-01-11 8:01 Benedikt Boehm (hollow)
0 siblings, 0 replies; 2+ messages in thread
From: Benedikt Boehm (hollow) @ 2010-01-11 8:01 UTC (permalink / raw
To: gentoo-commits
hollow 10/01/11 08:01:47
Modified: ChangeLog
Removed: mod_suphp-0.6.3.ebuild
Log:
fix suphp.conf wrt #289694
(Portage version: 2.2_rc61/cvs/Linux i686)
Revision Changes Path
1.23 www-apache/mod_suphp/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_suphp/ChangeLog?rev=1.23&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_suphp/ChangeLog?rev=1.23&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_suphp/ChangeLog?r1=1.22&r2=1.23
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_suphp/ChangeLog,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- ChangeLog 17 Sep 2009 10:16:44 -0000 1.22
+++ ChangeLog 11 Jan 2010 08:01:46 -0000 1.23
@@ -1,6 +1,10 @@
# ChangeLog for www-apache/mod_suphp
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_suphp/ChangeLog,v 1.22 2009/09/17 10:16:44 hollow Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_suphp/ChangeLog,v 1.23 2010/01/11 08:01:46 hollow Exp $
+
+ 11 Jan 2010; Benedikt Böhm <hollow@gentoo.org> -mod_suphp-0.6.3.ebuild,
+ files/suphp.conf:
+ fix suphp.conf wrt #289694
*mod_suphp-0.7.1 (17 Sep 2009)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-11 8:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-11 8:01 [gentoo-commits] gentoo-x86 commit in www-apache/mod_suphp: ChangeLog mod_suphp-0.6.3.ebuild Benedikt Boehm (hollow)
-- strict thread matches above, loose matches on Subject: below --
2008-04-19 9:18 Benedikt Boehm (hollow)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox