Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 9126 Details for
Bug 15752
webalizer-2.01.10-r3.ebuild (update)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
webalizer-2.01.10-r3.ebuild (new)
webalizer-2.01.10-r3.ebuild (text/plain), 2.18 KB, created by
Heinrich Wendel (RETIRED)
on 2003-03-08 08:16:22 UTC
(
hide
)
Description:
webalizer-2.01.10-r3.ebuild (new)
Filename:
MIME Type:
Creator:
Heinrich Wendel (RETIRED)
Created:
2003-03-08 08:16:22 UTC
Size:
2.18 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo-x86/app-admin/webalizer/webalizer-2.01.10-r2.ebuild,v 1.12 2003/02/13 05:32:59 vapier Exp $ > >MY_P=${P/.10/-10} >S=${WORKDIR}/${MY_P} >DESCRIPTION="Webserver log file analyzer" >SRC_URI="ftp://ftp.mrunix.net/pub/webalizer/${MY_P}-src.tar.bz2" >HOMEPAGE="http://www.mrunix.net/webalizer/" > >SLOT="0" >LICENSE="GPL-2" >KEYWORDS="x86 ppc sparc " > >DEPEND="=sys-libs/db-1* > >=sys-libs/zlib-1.1.4 > >=media-libs/libpng-1.2 > >=media-libs/libgd-1.8.3" > >src_unpack() { > unpack ${A} ; cd ${S} > # fix --enable-dns; our db1 headers are in /usr/include/db1 > mv dns_resolv.c dns_resolv.c.orig > sed -e 's%^\(#include \)\(<db.h>\)\(.*\)%\1<db1/db.h>\3%' \ > dns_resolv.c.orig > dns_resolv.c >} > >src_compile() { > has_version =net-www/apache-2* \ > && myconf='--with-etcdir=/etc/apache2/conf' \ > || myconf='--with-etcdir=/etc/apache/conf' > econf \ > --enable-dns \ > ${myconf} || die > make || die >} > >src_install() { > ROOT="/" > into /usr > dobin webalizer > dosym webalizer /usr/bin/webazolver > doman webalizer.1 > has_version =net-www/apache-2* \ > && insinto /etc/apache2/conf \ > || insinto /etc/apache2/conf > newins ${FILESDIR}/webalizer-${PV}.conf webalizer.conf > has_version =net-www/apache-2* \ > && cp ${D}/etc/apache2/conf/webalizer.conf ${D}/etc/apache2/conf/webalizer.conf.1; > sed -e "s/apache/apache2/g" ${D}/etc/apache2/conf/webalizer.conf.1 > ${D}/etc/apache2/conf/webalizer.conf; > rm ${D}/etc/apache2/conf/webalizer.conf.1 > has_version =net-www/apache-2* \ > && insinto /etc/apache2/conf/addon-modules \ > || insinto /etc/apache2/conf/addon-modules > doins ${FILESDIR}/apache.webalizer > dodoc README* CHANGES COPYING Copyright sample.conf > dodir /home/httpd/htdocs/webalizer > local ROOT >} > >pkg_postinst() { > einfo > einfo "Execute: \"ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config\"" > einfo "to have your apache.conf auto-updated for use with webalizer." > einfo >} > >pkg_config() { > has_version =net-www/apache-2* \ > && CONF='/etc/apache2/conf/apache2.conf' \ > || CONF='/etc/apache/conf/apache.conf' > echo "Include conf/addon-modules/apache.webalizer" \ > >> ${ROOT}${CONF} >}
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 15752
:
8310
|
9126
|
10236
|
12938