summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2014-04-26 20:24:36 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2014-04-26 20:24:36 +0000
commit24aaa8e1c14edd95b88c92ae7ce1e277e4adc2a0 (patch)
treeb8b56116fe2c315466bc2af8d8c85c2f0bb1dc8b /www-misc
parentinitial import (diff)
downloadhistorical-24aaa8e1c14edd95b88c92ae7ce1e277e4adc2a0.tar.gz
historical-24aaa8e1c14edd95b88c92ae7ce1e277e4adc2a0.tar.bz2
historical-24aaa8e1c14edd95b88c92ae7ce1e277e4adc2a0.zip
Version bump.
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0x1CD13C8AD4301342
Diffstat (limited to 'www-misc')
-rw-r--r--www-misc/awstats/ChangeLog9
-rw-r--r--www-misc/awstats/Manifest18
-rw-r--r--www-misc/awstats/awstats-7.3.ebuild111
3 files changed, 121 insertions, 17 deletions
diff --git a/www-misc/awstats/ChangeLog b/www-misc/awstats/ChangeLog
index 737fb24eda3a..d6908cebe1d3 100644
--- a/www-misc/awstats/ChangeLog
+++ b/www-misc/awstats/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-misc/awstats
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-misc/awstats/ChangeLog,v 1.34 2013/04/03 10:09:04 flameeyes Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-misc/awstats/ChangeLog,v 1.35 2014/04/26 20:23:34 flameeyes Exp $
+
+*awstats-7.3 (26 Apr 2014)
+
+ 26 Apr 2014; Diego E. Pettenò <flameeyes@gentoo.org> +awstats-7.3.ebuild:
+ Version bump.
*awstats-7.1.1 (03 Apr 2013)
diff --git a/www-misc/awstats/Manifest b/www-misc/awstats/Manifest
index 3480c4465354..3c9ee1a0478c 100644
--- a/www-misc/awstats/Manifest
+++ b/www-misc/awstats/Manifest
@@ -1,21 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX awstats-7.1-gentoo.diff 795 SHA256 528b9c8608824dcadbd5e1f76f6a4e4931186c4dfb87b33820c27d9ca20f6bca SHA512 09e46f32b31389cd1d98465c8b2578c37d5d4d601baf58eb8ed6811875743c3b19819d6820977a9aaace8d8f8c97be8f798fcbaa10f7ed0cb950a2f7f843754c WHIRLPOOL 953e133ff9110cd051728544033bab4eb631a7ad800a2626531d21513c0e9c6c0cd6a2cadd4f38e604fc91ee0ff147045343e8c355155f4d5f062295cb99e901
DIST awstats-7.1.1.tar.gz 1261038 SHA256 b0051595a38b8b7776f553f20e431760d306bbad1a9e83cf2aca52ef0205f2c0 SHA512 c2bc1604bd15629a057ee7fbbbe4bb0e54992cbd0ed4cd38e4cb9fcbadaa28cd5defd6691352ee8a3f84e98f17b19f9ad953705de4ab36fe4ece95b99b9b685d WHIRLPOOL 37e81b0eb991115b6438f1bf91561c545ae729571de31fd3b46386006027038f2cbed3564f3e9c0dfae6b8fb38f29f05adefe38019ef7deab831c019502da4ca
DIST awstats-7.1_p20121017.tar.gz 1258135 SHA256 262364b77d825096fee088b207f9f6c3d986dddd89645fca53fe09aa8c1fd850 SHA512 171ff3118955c8b73c968a23983885d967632d2c6e95a45f71e5f6fea74afe34d869c9cc901e2e739419068babc96385d7d7df1e8ca10074be7388fbe5c51f53 WHIRLPOOL 678bd6e36634ae2bdee46f42df6d2239a260a188fb1ae07199ef9043a0ad3b54baca7152032873848fabd42f94ef6a92da623e1eb9439d2dbcff15411679f207
+DIST awstats-7.3.tar.gz 2921079 SHA256 39b5b1a4406c30874f020b9635b5d6439ac3acbd7612be1abdcfec65e011c100 SHA512 9dfbab607cef02d8e31fd1738a27effb38ad04b22f2f876674879cc95d8fc56d4b0cd280b4e659ac6c20e65393b9365447fe0b851d00e91601d9e4f618530fbd WHIRLPOOL 193759d0e684099a51af65dcff8e056f52951dcec31361e67acc454bf7cd3227e3f64bfaef59a55d7bae81df73ef4c87c3ce203c18d3709e630bd7bbc2d38daa
EBUILD awstats-7.1.1.ebuild 3464 SHA256 43cf45ddced5b54fed2f4cc3ea591aaecd64de00f8034f7dc98ef0750641aa55 SHA512 f88507de135d5c807abaa380d508b8999aeac35527227a4f188d35fae70058b01b58ddfdd2bd291b2774c677c271f61ccec29a89f4fb74f23800fd7d036a2823 WHIRLPOOL 3931bc78cfeaffdeb590cc4fd670c45bd76029c1ccb28b21918ba880b67b492713e2063fa9988ff846f006f9e3e9f6d8aa747613cceb2054a341a5738a5e041a
EBUILD awstats-7.1_p20121017.ebuild 3467 SHA256 7950a8cc04597cf83fa51660339388d52eb2df9168daceb955eb4b1c57b7d661 SHA512 926f9a22fbc6dbb0a4e7b41b618359690b9b59ebcddc47d140c1d03b1dcedeaeaaa68bfeb3a2c9fd40062de6dfa036fe4c805ff10ea3439e09ef6230bbb78fbb WHIRLPOOL 6bc853d7d25c8f65e33108eabffb53deb1433c913d8046b97b761181cd213b125d007ba47463a0a0ef2669780a9df23065ed961e11b7c963c52328f9d42dfd61
-MISC ChangeLog 16071 SHA256 e2eee0f70e64ef3606da8595e0ab273ee42405d39dbf40aa15d77104f3bd2662 SHA512 bdb79bab84be10ea361be99eb9e6a2f304f7c60d21bc2e3a35491dbf83dbf84b204821e475f2b1d5d6b48ad99fc19f89189519ff19e69cbdf1b8a6b3b3bed1ae WHIRLPOOL 93b14a9e2c9855939b850dd5dc08c58ff544e76ef1f63458e5c36a93f1b5ecf6c6871aa67ea1cc3e7b5fa1212ef4074e4755d8c7184c7bba8359000cec75f494
+EBUILD awstats-7.3.ebuild 3462 SHA256 4d70dc371446974e8ee757347276e2df171f84e294265319a9480bdc922a5b68 SHA512 b14b32bbdb59a6c3a049e379278bd2874cc86187812ca554e2f1272a7d68c236c57e894b99ab573b29959295c8799f37e5384eb085d8fa98ba606af7b4b7a343 WHIRLPOOL 1ba5bf8e5f9ee0910fd2fc3c53132c0b81c4e3dd921fe06c86b189f014abda1e32046e6c6b2accbf17c27fda05c2d2d545251161016cc67cf35c9fc8cebd5aae
+MISC ChangeLog 16193 SHA256 c1b5f09dbb740cc68b0ee37575c378b4871913d3235dad1aa1982cc4c52e6bd9 SHA512 45f6b9552bf2224792432a3836564aadc98b2d22d5e62da60b6cd011383b9c532ca4f5947a54f08f08a2899e3119fb089bafa0fa135bd43770245194c94a2cb6 WHIRLPOOL ed7ca06535eb29ad78aa0f08351e9b0adfadb6a361c1e23fe1ae89ab141ba4cae71b9f57b01aee3142a7ffcb6c8e47e3739504e60c36029cbb974edb4746a90c
MISC metadata.xml 234 SHA256 546f04e42ad54ad26e9b3514961516a0286b2d14bdbbd83166d9dd480698945b SHA512 708fd2ff0a1f9daeaf66105ea02d1b2e15b63318ccfacaa7807f9dbf442ac574f6811dead155766a6fb808792fde9ff5a0137950910e12193d5619d46afc1ae9 WHIRLPOOL a5467333e49957feb563a15d55126779444e201c1dd8083edfb915bd2935bb92d8fe7b9611fdfca0b70b812899e87b3f7e16584d260580e8044e973e1cb97881
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iQEcBAEBCAAGBQJRW//MAAoJEBzRPIrUMBNCcU0IAIzzMiMoSchNf4fNbZaH6a2U
-y86hnWy45pcCiP9NPXj0ek/WLYgiD/k/4A3NyTwtCeZC2l99rYe2O52RpaKXY0bA
-h3NVNhjp7gaQf95wb8Ipdh78k/NikUzh6vvH87Rt7LfGwR9l8mEuiE7wAFB87PnL
-4roKzAiNR9FQnOvCgCUdjaAQ59SEHaqoX6gg9VkE9VJMAOzWtyz52BjVb+DX73RF
-HWHe3rLAPGfBp9HIV+Ns8NZ0WPrsyZxM/2eOZxW/zrtWRiD2jMS0FKBgKl/SeSyu
-p0pgjhEB3Qsfny0z+v//wuYyDOXpEgZsbzRvFFMDmiu8nnUaEOPVoFE1EGXxAbs=
-=aok7
------END PGP SIGNATURE-----
diff --git a/www-misc/awstats/awstats-7.3.ebuild b/www-misc/awstats/awstats-7.3.ebuild
new file mode 100644
index 000000000000..36db86e11020
--- /dev/null
+++ b/www-misc/awstats/awstats-7.3.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-misc/awstats/awstats-7.3.ebuild,v 1.1 2014/04/26 20:23:34 flameeyes Exp $
+
+EAPI=4
+
+inherit eutils
+
+MY_P=${PN}-${PV%_p*}
+
+DESCRIPTION="AWStats is short for Advanced Web Statistics."
+HOMEPAGE="http://www.awstats.org/"
+
+if [ ${MY_P} != ${P} ]; then
+ SRC_URI="http://dev.gentoo.org/~flameeyes/awstats/${P}.tar.gz"
+ # The following SRC_URI is useful only when fetching for the first time
+ # after bump; upstream does not bump the version when they change it, so
+ # we rename it to include the date and upload to our mirrors instead.
+ #SRC_URI="http://www.awstats.org/files/${MY_P}.tar.gz -> ${P}.tar.gz"
+else
+ SRC_URI="http://www.awstats.org/files/${P}.tar.gz"
+fi
+
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-3"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE="geoip ipv6"
+
+SLOT="0"
+
+RDEPEND=">=dev-lang/perl-5.6.1
+ virtual/perl-Time-Local
+ dev-perl/URI
+ geoip? ( dev-perl/Geo-IP )
+ ipv6? ( dev-perl/Net-IP dev-perl/Net-DNS )"
+DEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-7.1-gentoo.diff
+
+ # change default installation directory
+ find . -type f -exec sed \
+ -e "s#/usr/local/awstats/wwwroot#/usr/share/awstats/wwwroot#g" \
+ -e '/PossibleLibDir/s:(.*):("/usr/share/awstats/wwwroot/cgi-bin/lib"):' \
+ -i {} + || die "find/sed failed"
+
+ # set default values for directories; use apache log as an example
+ sed \
+ -e "s|^\(LogFile=\).*$|\1\"/var/log/apache2/access_log\"|" \
+ -e "s|^\(SiteDomain=\).*$|\1\"localhost\"|" \
+ -e "s|^\(DirIcons=\).*$|\1\"/awstats/icon\"|" \
+ -i "${S}"/wwwroot/cgi-bin/awstats.model.conf || die "sed failed"
+
+ # enable plugins
+
+ if use ipv6; then
+ sed -e "s|^#\(LoadPlugin=\"ipv6\"\)$|\1|" \
+ -i "${S}"/wwwroot/cgi-bin/awstats.model.conf || die "sed failed"
+ fi
+
+ if use geoip; then
+ sed -e '/LoadPlugin="geoip /aLoadPlugin="geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat"' \
+ -i "${S}"/wwwroot/cgi-bin/awstats.model.conf || die "sed failed"
+ fi
+
+ find "${S}" '(' -type f -not -name '*.pl' ')' -exec chmod -x {} + || die
+}
+
+src_install() {
+ dohtml -r docs/*
+ dodoc README.TXT
+ newdoc wwwroot/cgi-bin/plugins/example/example.pm example_plugin.pm
+ dodoc -r tools/xslt
+
+ keepdir /var/lib/awstats
+
+ insinto /etc/awstats
+ doins "${S}"/wwwroot/cgi-bin/awstats.model.conf
+
+ # remove extra content that we don't want to install
+ rm -r "${S}"/wwwroot/cgi-bin/awstats.model.conf \
+ "${S}"/wwwroot/classes/src || die
+
+ insinto /usr/share/awstats
+ doins -r wwwroot
+ chmod +x "${D}"/usr/share/awstats/wwwroot/cgi-bin/*.pl
+
+ cd "${S}"/tools
+ dobin awstats_buildstaticpages.pl awstats_exportlib.pl \
+ awstats_updateall.pl
+ newbin logresolvemerge.pl awstats_logresolvemerge.pl
+ newbin maillogconvert.pl awstats_maillogconvert.pl
+ newbin urlaliasbuilder.pl awstats_urlaliasbuilder.pl
+
+ dosym ../share/awstats/wwwroot/cgi-bin/awstats.pl /usr/bin/awstats.pl || die
+}
+
+pkg_postinst() {
+ 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
+ elog "Copy the /etc/awstats/awstats.model.conf to"
+ elog "/etc/awstats/awstats.<yourdomain>.conf and edit it."
+ elog ""
+ ewarn "This ebuild does no longer use webapp-config to install"
+ ewarn "instead you should point your configuration to the stable"
+ ewarn "directory tree in the following path:"
+ ewarn " /usr/share/awstats"
+}