From: Luca Longinotti Date: Sun, 14 Jan 2007 16:31:52 +0000 (+0000) Subject: Cleanup. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dd7df3eba8f438592b9708bdae0febb6c5569b26;p=gentoo.git Cleanup. Package-Manager: portage-2.1.2_rc4-r8 --- diff --git a/net-www/mod_dav/ChangeLog b/net-www/mod_dav/ChangeLog index dfe927e2c62f..22b03ed10db6 100644 --- a/net-www/mod_dav/ChangeLog +++ b/net-www/mod_dav/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-www/mod_dav -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/mod_dav/ChangeLog,v 1.23 2006/06/04 19:38:37 vericgar Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/mod_dav/ChangeLog,v 1.24 2007/01/14 16:31:52 chtekk Exp $ + + 14 Jan 2007; Luca Longinotti -files/mod_dav.conf, + mod_dav-1.0.3-r3.ebuild: + Cleanup, fix autotools usage. 04 Jun 2006; Michael Stewart -mod_dav-1.0.3-r1.ebuild, -mod_dav-1.0.3-r2.ebuild: diff --git a/net-www/mod_dav/mod_dav-1.0.3-r3.ebuild b/net-www/mod_dav/mod_dav-1.0.3-r3.ebuild index 677970b0b374..bf747cca35d5 100644 --- a/net-www/mod_dav/mod_dav-1.0.3-r3.ebuild +++ b/net-www/mod_dav/mod_dav-1.0.3-r3.ebuild @@ -1,22 +1,24 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/mod_dav/mod_dav-1.0.3-r3.ebuild,v 1.4 2005/10/12 19:30:08 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/mod_dav/mod_dav-1.0.3-r3.ebuild,v 1.5 2007/01/14 16:31:52 chtekk Exp $ -inherit eutils apache-module +inherit eutils autotools apache-module MY_V=${PV}-1.3.6 -DESCRIPTION="Apache module for Distributed Authoring and Versioning" +DESCRIPTION="Apache module for Distributed Authoring and Versioning." HOMEPAGE="http://www.webdav.org/mod_dav/" SRC_URI="http://www.webdav.org/mod_dav/${PN}-${MY_V}.tar.gz" KEYWORDS="~amd64 ppc sparc x86" -DEPEND="" LICENSE="as-is" SLOT="0" IUSE="" -S=${WORKDIR}/${PN}-${MY_V} +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/${PN}-${MY_V}" DOCFILES="LICENSE.html README CHANGES INSTALL" @@ -27,20 +29,19 @@ APACHE1_MOD_DEFINE="DAV" need_apache1 src_unpack() { - unpack ${A} || die - cd ${S} || die - epatch ${FILESDIR}/${PN}-shared-expat.patch || die - epatch ${FILESDIR}/mod_dav_fs_lock.patch || die - autoconf || die + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PN}-shared-expat.patch" + epatch "${FILESDIR}/${PN}_fs_lock.patch" + eautoconf } src_compile() { - ./configure --host=${CHOST} || die - emake || die "compile problem" + econf || die "econf failed" + emake || die "emake failed" } pkg_postinst() { - # empty lock dir - install -m0750 -o apache -g apache -d ${ROOT}/var/lock/mod_dav + install -m0750 -o apache -g apache -d "${ROOT}"/var/lock/mod_dav apache1_pkg_postinst }