2007-08-09 00:02:04 +02:00
|
|
|
# Copyright 1999-2007 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
2008-01-19 20:06:10 +01:00
|
|
|
inherit apache-module eutils
|
2007-08-09 00:02:04 +02:00
|
|
|
|
|
|
|
KEYWORDS="amd64 ~sparc ~x86"
|
|
|
|
|
|
|
|
DESCRIPTION="An Apache 2.0 module for doing suid CGIs."
|
|
|
|
HOMEPAGE="http://directory.fedora.redhat.com/"
|
2008-01-19 20:06:10 +01:00
|
|
|
SRC_URI="http://directory.fedoraproject.org/sources/fedora-ds-admin-${PV}.tar.bz2"
|
2007-08-09 00:02:04 +02:00
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
2008-01-19 20:06:10 +01:00
|
|
|
S="${WORKDIR}/fedora-ds-admin-${PV}/${PN}"
|
2007-08-09 00:02:04 +02:00
|
|
|
|
2007-10-06 18:57:53 +02:00
|
|
|
APACHE2_MOD_CONF="48_${PN}"
|
2007-08-09 00:02:04 +02:00
|
|
|
APACHE2_MOD_DEFINE="RESTARTD"
|
|
|
|
|
|
|
|
DOCFILES="COPYING README"
|
|
|
|
|
|
|
|
need_apache2
|
|
|
|
|
2007-10-09 22:39:31 +02:00
|
|
|
src_unpack() {
|
|
|
|
unpack ${A}
|
|
|
|
cd ${S}
|
|
|
|
epatch ${FILESDIR}/${PN}-1.0-prefix-config-1.patch
|
|
|
|
}
|
|
|
|
|
2007-08-09 00:02:04 +02:00
|
|
|
src_compile() {
|
|
|
|
econf --with-apxs=${APXS2} \
|
|
|
|
|| die "econf failed"
|
|
|
|
|
|
|
|
emake || die "emake failed"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
apache-module_src_install
|
|
|
|
}
|