summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-04-09 19:00:55 +0000
committerUlrich Müller <ulm@gentoo.org>2009-04-09 19:00:55 +0000
commitaab2fd521313ad9a23228dbb49f5b3f0b19798c0 (patch)
tree66ad92a4a7f29a20291da715b9512bd4ed21b00a /www-misc
parentkeepdir - fix init script for old baselayout (bug #265454)- some minor cleanups (diff)
downloadhistorical-aab2fd521313ad9a23228dbb49f5b3f0b19798c0.tar.gz
historical-aab2fd521313ad9a23228dbb49f5b3f0b19798c0.tar.bz2
historical-aab2fd521313ad9a23228dbb49f5b3f0b19798c0.zip
Package moved from net-www to www-misc, bug 265569.
Package-Manager: portage-2.2_rc28/cvs/Linux i686 RepoMan-Options: --force
Diffstat (limited to 'www-misc')
-rw-r--r--www-misc/awstats/ChangeLog291
-rw-r--r--www-misc/awstats/Manifest16
-rw-r--r--www-misc/awstats/awstats-6.9-r1.ebuild148
-rw-r--r--www-misc/awstats/metadata.xml5
4 files changed, 460 insertions, 0 deletions
diff --git a/www-misc/awstats/ChangeLog b/www-misc/awstats/ChangeLog
new file mode 100644
index 000000000000..31faedc4170b
--- /dev/null
+++ b/www-misc/awstats/ChangeLog
@@ -0,0 +1,291 @@
+# ChangeLog for www-misc/awstats
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-misc/awstats/ChangeLog,v 1.1 2009/04/09 19:00:55 ulm Exp $
+
+ 09 Apr 2009; Ulrich Mueller <ulm@gentoo.org> +metadata.xml,
+ +awstats-6.9-r1.ebuild:
+ Package moved from net-www to www-misc, bug 265569.
+
+*awstats-6.9-r1 (24 Jan 2009)
+
+ 24 Jan 2009; Benedikt Böhm <hollow@gentoo.org> -awstats-6.9.ebuild,
+ +awstats-6.9-r1.ebuild:
+ fix manifest wrt #252964, fix library search path wrt #250215
+
+ 04 Dec 2008; Gunnar Wrobel <wrobel@gentoo.org> Manifest:
+ Bug #246977 again.
+
+ 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).
+
+ 16 Oct 2008; Tobias Scherbaum <dertobi123@gentoo.org> awstats-6.9.ebuild:
+ ppc stable, bug #235225
+
+ 13 Oct 2008; Jeroen Roovers <jer@gentoo.org> awstats-6.9.ebuild:
+ Stable for HPPA (bug #235225).
+
+ 12 Oct 2008; Raúl Porcel <armin76@gentoo.org> awstats-6.9.ebuild:
+ alpha stable wrt #235225
+
+ 12 Oct 2008; Markus Meier <maekke@gentoo.org> awstats-6.9.ebuild:
+ amd64/x86 stable, bug #235225
+
+*awstats-6.9 (11 Oct 2008)
+
+ 11 Oct 2008; Gunnar Wrobel <wrobel@gentoo.org> +awstats-6.9.ebuild:
+ Added awstats-6.9 in response to sec issue #235225.
+
+ 19 Feb 2008; Benedikt Böhm <hollow@gentoo.org>
+ -files/awstats-6.5-CVE-2006-2237-CVE-2006-1945.diff,
+ -files/postinst-en.txt, -awstats-6.5-r1.ebuild:
+ remove broken ebuild
+
+ 19 Feb 2008; Richard Freeman <rich0@gentoo.org> awstats-6.7-r2.ebuild:
+ amd64 stable - #208615
+
+ 08 Feb 2008; Tobias Scherbaum <dertobi123@gentoo.org>
+ awstats-6.7-r2.ebuild:
+ ppc stable, bug #208615
+
+ 06 Feb 2008; Raúl Porcel <armin76@gentoo.org> awstats-6.7-r2.ebuild:
+ alpha stable wrt #208615
+
+ 05 Feb 2008; Benedikt Böhm <hollow@gentoo.org> -awstats-6.7.ebuild,
+ -awstats-6.7-r1.ebuild:
+ remove old versions
+
+ 04 Feb 2008; Jeroen Roovers <jer@gentoo.org> awstats-6.7-r2.ebuild:
+ Stable for HPPA (bug #208615).
+
+ 02 Feb 2008; Christian Faulhammer <opfer@gentoo.org>
+ awstats-6.7-r2.ebuild:
+ stable x86, bug #208615
+
+ 19 Jan 2008; Benedikt Böhm <hollow@gentoo.org> awstats-6.7-r2.ebuild:
+ remove bogus USE=-cgi
+
+*awstats-6.7-r2 (23 Dec 2007)
+
+ 23 Dec 2007; Dawid Węgliński <cla@gentoo.org> +awstats-6.7-r2.ebuild:
+ Fix bug #203187
+
+ 20 Dec 2007; Benedikt Böhm <hollow@gentoo.org> awstats-6.7-r1.ebuild:
+ fix #202676
+
+*awstats-6.7-r1 (15 Dec 2007)
+
+ 15 Dec 2007; Benedikt Böhm <hollow@gentoo.org> +files/postinst-en-r1.txt,
+ +awstats-6.7-r1.ebuild:
+ fix #125779, #195098
+
+ 08 Sep 2007; Benedikt Böhm <hollow@gentoo.org> -awstats-6.5-r2.ebuild,
+ awstats-6.7.ebuild:
+ do not use USE_APACHE2; whitespace cleanup
+
+ 07 Sep 2007; Jeroen Roovers <jer@gentoo.org> awstats-6.7.ebuild:
+ Marked ~hppa (bug #191525).
+
+*awstats-6.7 (06 Sep 2007)
+
+ 06 Sep 2007; Benedikt Böhm <hollow@gentoo.org>
+ files/awstats-6.5-CVE-2006-2237-CVE-2006-1945.diff, -awstats-6.6.ebuild,
+ +awstats-6.7.ebuild:
+ fix bug #187994, #187811
+
+ 05 Aug 2007; Renat Lumpau <rl03@gentoo.org> files/digest-awstats-6.5-r1,
+ files/digest-awstats-6.5-r2, Manifest:
+ Fix digests, bug #185151
+
+ 29 Jul 2007; Christian Heim <phreak@gentoo.org> awstats-6.5-r1.ebuild:
+ Fixing the DEPEND/RDEPEND for the move of net-www/apache to
+ www-servers/apache (#78622).
+
+ 29 May 2007; Renat Lumpau <rl03@gentoo.org> awstats-6.6.ebuild:
+ Add geoip support per bug #103663.
+
+ 19 Mar 2007; Bryan Østergaard <kloeri@gentoo.org> metadata.xml:
+ Remove ka0ttic from metadata.xml due to retirement.
+
+ 12 Mar 2007; Renat Lumpau <rl03@gentoo.org> files/digest-awstats-6.6,
+ Manifest:
+ Regen digest, bug 170513
+
+ 03 Jan 2007; Renat Lumpau <rl03@gentoo.org> awstats-6.6.ebuild:
+ Minor cleanups to 6.6
+
+ 27 Oct 2006; Renat Lumpau <rl03@gentoo.org> awstats-6.5-r2.ebuild,
+ awstats-6.6.ebuild:
+ Fix postinstall instructions, bug #135233.
+
+ 09 Jul 2006; Renat Lumpau <rl03@gentoo.org> awstats-6.5-r1.ebuild,
+ awstats-6.5-r2.ebuild, awstats-6.6.ebuild:
+ einfo -> elog
+
+*awstats-6.5-r2 (15 Jun 2006)
+
+ 15 Jun 2006; Luca Longinotti <chtekk@gentoo.org> -awstats-6.4.ebuild,
+ -awstats-6.5.ebuild, +awstats-6.5-r2.ebuild, awstats-6.6.ebuild:
+ Remove old vunlnerable versions 6.4 and 6.5. Add 6.5-r2 which fixes bug
+ #131027, it now uses apache/apache2 USE flags to determine if you want
+ Apache support directly (it anyway only influences the DEPENDs and the
+ default logpath). It also fixes var quotation in the ebuild. The same
+ changes were ported to 6.6 too.
+
+ 01 Jun 2006; Thomas Cort <tcort@gentoo.org> awstats-6.5-r1.ebuild:
+ Stable on alpha and amd64 wrt security Bug #130487.
+
+ 01 Jun 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+ awstats-6.5-r1.ebuild:
+ ppc stable, bug #130487
+
+ 31 May 2006; Joshua Jackson <tsunam@gentoo.org> awstats-6.5-r1.ebuild:
+ stable on x86; security bug #130487
+
+*awstats-6.5-r1 (30 May 2006)
+
+ 30 May 2006; Luca Longinotti <chtekk@gentoo.org>
+ -files/awstats-6.3-CAN-2005-0363.diff,
+ +files/awstats-6.5-CVE-2006-2237-CVE-2006-1945.diff,
+ -awstats-6.3-r2.ebuild, +awstats-6.5-r1.ebuild, awstats-6.6.ebuild:
+ Fixed security bug #130487 and bug #122913. Drop awstats 6.3 release
+ (mirrors seem to not have the patchset needed for it anymore, and it's old).
+ Dropped keywords for awstats 6.6 back to testing, as it should not be stable
+ and will remain p.masked anyway for now.
+
+ 21 May 2006; Mark Loeser <halcy0n@gentoo.org> awstats-6.6.ebuild:
+ Stable on x86; bug #130487
+
+ 19 May 2006; Tobias Scherbaum <dertobi123@gentoo.org> awstats-6.6.ebuild:
+ ppc stable, bug #130487
+
+ 19 May 2006; Thomas Cort <tcort@gentoo.org> awstats-6.6.ebuild:
+ Stable on alpha wrt security Bug #130487.
+
+ 19 May 2006; Daniel Gryniewicz <dang@gentoo.org> awstats-6.6.ebuild:
+ Marked stable on amd64 Per bug #130487
+
+ 19 May 2006; Renat Lumpau <rl03@gentoo.org> awstats-6.6.ebuild:
+ Set SLOT explicitly, thanks to jakub
+
+*awstats-6.6 (19 May 2006)
+
+ 19 May 2006; Renat Lumpau <rl03@gentoo.org> +awstats-6.6.ebuild:
+ Version bump wrt security bug #130487 ; primary maintainer unavailable.
+
+ 23 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> awstats-6.5.ebuild:
+ Add ~x86-fbsd keyword.
+
+ 13 Feb 2006; Michael Cummings <mcummings@gentoo.org>
+ awstats-6.3-r2.ebuild, awstats-6.4.ebuild, awstats-6.5.ebuild:
+ Virtuals for perl-core
+
+ 15 Sep 2005; Aron Griffis <agriffis@gentoo.org> awstats-6.5.ebuild:
+ Mark 6.5 stable on alpha
+
+ 14 Sep 2005; <dang@gentoo.org> awstats-6.5.ebuild:
+ Marked stable on amd64
+
+ 13 Aug 2005; Michael Hanselmann <hansmi@gentoo.org> awstats-6.5.ebuild:
+ Stable on ppc and added to ~hppa.
+
+*awstats-6.5 (12 Aug 2005)
+
+ 12 Aug 2005; Aaron Walker <ka0ttic@gentoo.org> +awstats-6.5.ebuild:
+ Version bump for security bug #102145.
+
+ 17 Jun 2005; Michael Hanselmann <hansmi@gentoo.org> awstats-6.4.ebuild:
+ Stable on ppc.
+
+ 25 May 2005; Michael Cummings <mcummings@gentoo.org> awstats-6.4.ebuild:
+ dev-perl/Time-Local => perl-core/Time-Local migration
+
+ 25 May 2005; Michael Cummings <mcummings@gentoo.org> awstats-6.3-r2.ebuild:
+ dev-perl/Time-Local => perl-core/Time-Local migration
+
+ 11 May 2005; Aaron Walker <ka0ttic@gentoo.org> awstats-6.3-r2.ebuild,
+ awstats-6.4.ebuild:
+ Fix bash param expansion that broke on versions with a revision; bug 91529
+
+ 23 Apr 2005; Aaron Walker <ka0ttic@gentoo.org> awstats-6.4.ebuild:
+ Marked stable on x86.
+
+*awstats-6.4 (21 Mar 2005)
+
+ 21 Mar 2005; Aaron Walker <ka0ttic@gentoo.org> files/postinst-en.txt,
+ awstats-6.3-r2.ebuild, +awstats-6.4.ebuild:
+ Version bump; cleaned up sed and apachever stuff for bug 83978. Added
+ enhanced postinst-en.txt written by Jakub Moc in bug 81978.
+
+ 23 Feb 2005; Aaron Walker <ka0ttic@gentoo.org> awstats-6.3-r2.ebuild:
+ Upstream strikes again. Fix digest for bug 83085.
+
+*awstats-6.3-r2 (13 Feb 2005)
+
+ 13 Feb 2005; Aaron Walker <ka0ttic@gentoo.org>
+ -files/awstats-6.3-CAN-2005-0016.diff,
+ +files/awstats-6.3-CAN-2005-0363.diff, -awstats-6.3-r1.ebuild,
+ +awstats-6.3-r2.ebuild:
+ Revision bump (again). More security fixes.
+
+ 12 Feb 2005; Aaron Walker <ka0ttic@gentoo.org> files/postinst-en.txt,
+ awstats-6.3-r1.ebuild:
+ Fix postinst-en.txt for bug 81802.
+
+*awstats-6.3-r1 (12 Feb 2005)
+
+ 12 Feb 2005; Aaron Walker <ka0ttic@gentoo.org>
+ +files/awstats-6.3-CAN-2005-0016.diff, +awstats-6.3-r1.ebuild,
+ -awstats-6.3.ebuild:
+ Revision bump for sec bug 81775.
+
+ 05 Feb 2005; Aaron Walker <ka0ttic@gentoo.org> -files/awstats-6.1-r1.diff,
+ -awstats-6.1.ebuild, awstats-6.3.ebuild:
+ Tidy old vulnerable version.
+
+ 25 Jan 2005; Michael Hanselmann <hansmi@gentoo.org> awstats-6.3.ebuild:
+ Stable on ppc.
+
+ 24 Jan 2005; Aaron Walker <ka0ttic@gentoo.org> awstats-6.3.ebuild:
+ Fix SRC_URI for bug 79400.
+
+*awstats-6.3 (24 Jan 2005)
+
+ 24 Jan 2005; Aaron Walker <ka0ttic@gentoo.org> metadata.xml,
+ +files/awstats-6.3-gentoo.diff, +files/postinst-en.txt,
+ +awstats-6.3.ebuild:
+ Version bump for sec bug 77963. Also fixes bugs 63200, 63198, 63197, and 70996.
+
+ 04 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> awstats-6.1.ebuild:
+ Masked awstats-6.1.ebuild stable for ppc
+
+ 27 Aug 2004; Seemant Kulleen <seemant@gentoo.org> awstats-6.1.ebuild:
+ Typo in pkg_postinst. propert->proper. Thanks to: Kurt McKee
+ <kurtmckee@northwestern.edu> in bug #61993
+
+ 27 Jul 2004; Chuck Short <zul@gentoo.org> awstats-6.1.ebuild:
+ Marked stable for x86.
+
+ 27 May 2004; Stuart Herbert <stuart@gentoo.org> awstats-6.1.ebuild:
+ Fix for bug #51850
+
+ 27 May 2004; <zul@gentoo.org> awstats-6.1.ebuild:
+ Removed arm keyword.
+
+*awstats-6.1 (22 May 2004)
+
+ 22 May 2004; Chuck Short <zul@gentoo.org> awstats-6.1.ebuild, metadata.xml,
+ files/awstats-6.1-r1.diff:
+ Initial version, ebuild written/modified by the following:
+ Brian Arledge < trogdor45 @ go.com >
+ Daniel Seyffer < gentoo-bugs @ seyffer.com >
+ Federico Moro < zayer @ frikis.org >
+ Markus Luisser < mluisser @ mail.zserv.tuwien.ac.at >
+ Richard Freeman < freemanrich @ yahoo.com >
+ Michael Schmid < meschmid @ gmx.net >
+ Perolo Silantico < per.sil @ gmx.it >
+ and me < zul @ gentoo.org >
+ Finally closes # 19382.
+
diff --git a/www-misc/awstats/Manifest b/www-misc/awstats/Manifest
new file mode 100644
index 000000000000..8c8caccbcdd5
--- /dev/null
+++ b/www-misc/awstats/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX awstats-6.3-gentoo.diff 1219 RMD160 8c6ea2a093c231043674f8f14bc4332cfeeee930 SHA1 8a1971c0e710cec05004a7e94461f83f77b2fd1a SHA256 0de073550f021a93d883c307f999b4b6ead1abf3a587118e2e01578907d15814
+AUX postinst-en-r1.txt 2412 RMD160 6f4b9705b36ab0968d82f94915d8d6526f52fbe8 SHA1 953ec2765fd8322035c4b5dbc92741343814ffee SHA256 ae1c4d318867c444583af0b34b057955cc10f45fc6fa5457f06261d8ba5b3884
+DIST awstats-6.9.tar.gz 1125906 RMD160 339af2df9c44713d632b4d1ae3d733132f7b0bab SHA1 5ad8485eab04147b20adf5e8a7bdd5b6d3e2468b SHA256 c5e288d05c71c5692c59625aa4bcf4c9b41ee0c46cb9b83e7dcac6510bb8b04f
+EBUILD awstats-6.9-r1.ebuild 3976 RMD160 4bdeab7768da19d9a0b09285217601a9feccd03f SHA1 017f3152a7cf3e6b6327000b6563a2bd5e5c5fa9 SHA256 1e319cdcbbafe1e293711e21abd269894a25c0cfff6aca45417f5a7d1767df5b
+MISC ChangeLog 10279 RMD160 e452c4d3533c205a53a72bb65f83bbc5fe487427 SHA1 a01abecbdf1a47f4cfe557f2758d83e6dc523fea SHA256 aea6c2d27197479a72e0b377e0b8955eee3c699a375bc6c936599d3cb45b5b26
+MISC metadata.xml 162 RMD160 0b015f5ff17c4d8e7aee826d48b326cc19b1fed4 SHA1 671b30dafbea01228c8bb606af451a0795922840 SHA256 84ff2fc6c9a4af1b9dbe32aa81ab84c2958bc1bd65a9977686df2dcab6e420d0
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.9 (GNU/Linux)
+
+iEYEARECAAYFAkneRj8ACgkQOeoy/oIi7uy7iQCg7CJg7Wglf5Aiql41+zjqRj98
+5dMAoNo/CI8cpqU8tpWvX/iJ+qnF2G1W
+=gify
+-----END PGP SIGNATURE-----
diff --git a/www-misc/awstats/awstats-6.9-r1.ebuild b/www-misc/awstats/awstats-6.9-r1.ebuild
new file mode 100644
index 000000000000..aa815b29ca08
--- /dev/null
+++ b/www-misc/awstats/awstats-6.9-r1.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-misc/awstats/awstats-6.9-r1.ebuild,v 1.1 2009/04/09 19:00:55 ulm Exp $
+
+inherit eutils webapp versionator depend.apache
+
+DESCRIPTION="AWStats is short for Advanced Web Statistics."
+HOMEPAGE="http://awstats.sourceforge.net/"
+SRC_URI="http://awstats.sourceforge.net/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="alpha amd64 hppa ppc ~sparc x86 ~x86-fbsd"
+IUSE="geoip"
+
+RESTRICT="mirror"
+
+SLOT="0"
+WEBAPP_MANUAL_SLOT="yes"
+
+RDEPEND=">=dev-lang/perl-5.6.1
+ >=media-libs/libpng-1.2
+ virtual/perl-Time-Local
+ dev-perl/URI
+ geoip? ( dev-perl/Geo-IP )"
+
+want_apache
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PN}-6.3-gentoo.diff
+
+ # change default installation directory
+ for file in tools/* wwwroot/cgi-bin/*; do
+ if [[ -f "${file}" ]]; then
+ sed \
+ -e "s#/usr/local/awstats/wwwroot/cgi-bin#${MY_CGIBINDIR}#g" \
+ -e "s#/usr/local/awstats/wwwroot/icon#${MY_HTDOCSDIR}/icon#g" \
+ -e "s#/usr/local/awstats/wwwroot/plugins#${MY_HOSTROOTDIR}/plugins#g" \
+ -e "s#/usr/local/awstats/wwwroot/classes#${MY_HTDOCSDIR}/classes#g" \
+ -e "s#/usr/local/awstats/wwwroot#${MY_HTDOCSDIR}#g" \
+ -i "${file}" || die "sed ${file} failed"
+ fi
+ done
+
+ # set the logpath
+ if use apache2; then
+ logpath="apache2/access_log"
+ else
+ logpath="awstats_log"
+ fi
+
+ # set default values for directories
+ sed \
+ -e "s|^\(LogFile=\).*$|\1\"/var/log/${logpath}\"|" \
+ -e "s|^\(SiteDomain=\).*$|\1\"localhost\"|" \
+ -e "s|^\(DirIcons=\).*$|\1\"/awstats/icon\"|" \
+ -e "s|^\(DirCgi=\).*$|\1\"/cgi-bin\"|" \
+ -i "${S}"/wwwroot/cgi-bin/awstats.model.conf || die "sed failed"
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dohtml -r docs/*.html docs/*.xml docs/*.css docs/*.js docs/images
+ dodoc README.TXT docs/COPYING.TXT docs/LICENSE.TXT
+ newdoc wwwroot/cgi-bin/plugins/example/example.pm example_plugin.pm
+ docinto xslt
+ dodoc tools/xslt/*
+
+ webapp_postinst_txt en "${FILESDIR}"/postinst-en-r1.txt
+
+ keepdir /var/lib/awstats
+
+ # Copy the app's main files
+ exeinto "${MY_CGIBINDIR}"
+ doexe "${S}"/wwwroot/cgi-bin/*.pl
+
+ exeinto "${MY_HTDOCSDIR}"/classes
+ doexe "${S}"/wwwroot/classes/*.jar
+
+ # install language files, libraries and plugins
+ dodir "${MY_CGIBINDIR}"
+ for dir in lang lib plugins; do
+ insinto "${MY_CGIBINDIR}"
+ doins -r "${S}"/wwwroot/cgi-bin/${dir}
+ done
+
+ # install the app's www files
+ dodir "${MY_HTDOCSDIR}"
+ for dir in icon css js; do
+ insinto "${MY_HTDOCSDIR}"
+ doins -r "${S}"/wwwroot/${dir}
+ done
+
+ dodir /usr/share/awstats
+ dosym "${MY_HTDOCSDIR}" /usr/share/awstats/htdocs
+
+ for dir in lang lib plugins; do
+ dosym "${MY_CGIBINDIR}"/"${dir}" /usr/share/awstats/"${dir}"
+ done
+
+ # copy configuration file
+ insinto /etc/awstats
+ doins "${S}"/wwwroot/cgi-bin/awstats.model.conf
+
+ # create the data directory for awstats
+ dodir "${MY_HOSTROOTDIR}"/datadir
+
+ # install command line tools
+ cd "${S}"/tools
+ dobin awstats_buildstaticpages.pl awstats_exportlib.pl \
+ 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
+ fperms 0755 "${MY_CGIBINDIR}"/"${dir}"
+ done
+ for dir in icon css js; do
+ fperms 0755 "${MY_HTDOCSDIR}"/"${dir}"
+ done
+}
+
+pkg_postinst() {
+ elog
+ elog "The AWStats-Manual is available either inside"
+ elog "the /usr/share/doc/${PF} - folder, or at"
+ elog "http://awstats.sourceforge.net/docs/index.html ."
+ elog
+ ewarn "Copy the /etc/awstats/awstats.model.conf to"
+ ewarn "/etc/awstats/awstats.<yourdomain>.conf and edit it."
+
+ if use geoip ; then
+ einfo
+ einfo "Add the following line to /etc/awstats/awstats.<yourdomain>.conf"
+ einfo "to enable GeoIP plugin:"
+ einfo "LoadPlugin=\"geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat\" "
+ einfo
+ fi
+
+ webapp_pkg_postinst
+}
diff --git a/www-misc/awstats/metadata.xml b/www-misc/awstats/metadata.xml
new file mode 100644
index 000000000000..6632069b5aff
--- /dev/null
+++ b/www-misc/awstats/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+</pkgmetadata>