summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2008-11-17 13:18:53 +0000
committerBenedikt Boehm <hollow@gentoo.org>2008-11-17 13:18:53 +0000
commit082d5e625afbed17195687bf8c6ebd5a343e01cd (patch)
tree2f1c7a1375a2d2160c01eea5d208cb0f2f9ca844 /net-www
parentFixed build issue with libpcap-1.0.0, bug #247128, thank Matthias Liebig for ... (diff)
downloadgentoo-2-082d5e625afbed17195687bf8c6ebd5a343e01cd.tar.gz
gentoo-2-082d5e625afbed17195687bf8c6ebd5a343e01cd.tar.bz2
gentoo-2-082d5e625afbed17195687bf8c6ebd5a343e01cd.zip
add symlinks to awstats.pl and htdocs (bug #220407); fix manifest (bug #246977)
(Portage version: 2.1.4.5)
Diffstat (limited to 'net-www')
-rw-r--r--net-www/awstats/ChangeLog5
-rw-r--r--net-www/awstats/awstats-6.9.ebuild22
2 files changed, 18 insertions, 9 deletions
diff --git a/net-www/awstats/ChangeLog b/net-www/awstats/ChangeLog
index 1aaef6964634..bf3569a95f7d 100644
--- a/net-www/awstats/ChangeLog
+++ b/net-www/awstats/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-www/awstats
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/awstats/ChangeLog,v 1.67 2008/11/08 20:19:10 wrobel Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/awstats/ChangeLog,v 1.68 2008/11/17 13:18:53 hollow Exp $
+
+ 17 Nov 2008; Benedikt Böhm <hollow@gentoo.org> awstats-6.9.ebuild:
+ add symlinks to awstats.pl and htdocs (bug #220407); fix manifest (bug #246977)
08 Nov 2008; Gunnar Wrobel <wrobel@gentoo.org> -awstats-6.7-r2.ebuild:
Removed vulnerable awstats-6.7-r2.ebuild (#235225).
diff --git a/net-www/awstats/awstats-6.9.ebuild b/net-www/awstats/awstats-6.9.ebuild
index fb5be5a94ea3..fc67797ba590 100644
--- a/net-www/awstats/awstats-6.9.ebuild
+++ b/net-www/awstats/awstats-6.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/awstats/awstats-6.9.ebuild,v 1.5 2008/10/16 18:14:47 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/awstats/awstats-6.9.ebuild,v 1.6 2008/11/17 13:18:53 hollow Exp $
inherit eutils webapp versionator depend.apache
@@ -81,23 +81,28 @@ src_install() {
doexe "${S}"/wwwroot/classes/*.jar
# install language files, libraries and plugins
- mkdir -p "${D}${MY_CGIBINDIR}"
+ dodir "${MY_CGIBINDIR}"
for dir in lang lib plugins; do
- cp -R "${S}/wwwroot/cgi-bin/${dir}" "${D}${MY_CGIBINDIR}"
+ insinto "${MY_CGIBINDIR}"
+ doins -r "${S}"/wwwroot/cgi-bin/${dir}
done
# install the app's www files
- mkdir -p "${D}${MY_HTDOCSDIR}"
+ dodir "${MY_HTDOCSDIR}"
for dir in icon css js; do
- cp -R "${S}/wwwroot/${dir}" "${D}${MY_HTDOCSDIR}"
+ insinto "${MY_HTDOCSDIR}"
+ doins -r "${S}"/wwwroot/${dir}
done
+ dodir /usr/share/awstats
+ dosym "${MY_HTDOCSDIR}" /usr/share/awstats/htdocs
+
# copy configuration file
insinto /etc/awstats
doins "${S}"/wwwroot/cgi-bin/awstats.model.conf
# create the data directory for awstats
- mkdir -p "${D}/${MY_HOSTROOTDIR}/datadir"
+ dodir "${MY_HOSTROOTDIR}"/datadir
# install command line tools
cd "${S}"/tools
@@ -105,15 +110,16 @@ src_install() {
awstats_updateall.pl logresolvemerge.pl \
maillogconvert.pl awstats_configure.pl
newbin urlaliasbuilder.pl awstats_urlaliasbuilder.pl
+ dosym "${MY_CGIBINDIR}"/awstats.pl /usr/bin/awstats.pl
webapp_src_install
# fix perms
for dir in lang lib plugins; do
- chmod 0755 "${D}${MY_CGIBINDIR}/${dir}"
+ fperms 0755 "${MY_CGIBINDIR}"/${dir}
done
for dir in icon css js; do
- chmod 0755 "${D}${MY_HTDOCSDIR}/${dir}"
+ fperms 0755 "${MY_HTDOCSDIR}"/${dir}
done
}