* [gentoo-commits] repo/gentoo:master commit in: www-misc/awstats/
@ 2016-08-07 9:30 Pacho Ramos
0 siblings, 0 replies; 13+ messages in thread
From: Pacho Ramos @ 2016-08-07 9:30 UTC (permalink / raw
To: gentoo-commits
commit: 9c0e1d4671ed034ffe99f42d4930976111e8ea2f
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 7 09:20:39 2016 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Aug 7 09:29:51 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c0e1d46
www-misc/awstats: Cleanup per bug #85210
Package-Manager: portage-2.3.0
www-misc/awstats/metadata.xml | 3 ---
1 file changed, 3 deletions(-)
diff --git a/www-misc/awstats/metadata.xml b/www-misc/awstats/metadata.xml
index 40b4d6a..3adf7af 100644
--- a/www-misc/awstats/metadata.xml
+++ b/www-misc/awstats/metadata.xml
@@ -1,9 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>flameeyes@gentoo.org</email>
- </maintainer>
<maintainer type="project">
<email>web-apps@gentoo.org</email>
<name>Gentoo Webapps</name>
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/awstats/
@ 2016-10-22 10:13 Diego Elio Pettenò
0 siblings, 0 replies; 13+ messages in thread
From: Diego Elio Pettenò @ 2016-10-22 10:13 UTC (permalink / raw
To: gentoo-commits
commit: bf14d5a7310a18b49d1a4e769e06589224acd64e
Author: Diego Elio Pettenò <flameeyes <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 22 10:13:20 2016 +0000
Commit: Diego Elio Pettenò <flameeyes <AT> gentoo <DOT> org>
CommitDate: Sat Oct 22 10:13:20 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf14d5a7
www-misc/awstats: version bump with default support for Perl 5.22, fixes bug #593298. Remove old versions that are not stable candidate.
Package-Manager: portage-2.3.0
www-misc/awstats/Manifest | 3 +-
www-misc/awstats/awstats-7.1.1.ebuild | 111 ---------------------
.../{awstats-7.3.ebuild => awstats-7.5.ebuild} | 15 ++-
3 files changed, 11 insertions(+), 118 deletions(-)
diff --git a/www-misc/awstats/Manifest b/www-misc/awstats/Manifest
index e8640be..d2abb06 100644
--- a/www-misc/awstats/Manifest
+++ b/www-misc/awstats/Manifest
@@ -1,4 +1,3 @@
-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
DIST awstats-7.4.tar.gz 2936102 SHA256 43abfe7341c2be64f55bb89557347475640ca7ba4473ff30412a3d44358dab55 SHA512 5bce97c71aabeab35e4ff5e5168531e4955d7c1474322c7b4a47d1d06e06ebd0e74d1def73826498e6253f24aeca99309777617b7a914685c927bb6e1c020e1a WHIRLPOOL 8e6872672ec31c73492764414bfbc17ad4b3e295753f301d199d72ccac6df93fcf8969aa792a2de188f20d89a9e4e368f429aa6c9ed38f31ca3415c8fe7899a9
+DIST awstats-7.5.tar.gz 2936644 SHA256 83c34bdeab9c277c14bea348c2d320f4a1e808388264139821c6bd6dfd1394f8 SHA512 d69a66b5ef94d8a7378ece0453a3617f71ad030d81c45cff926fae1319eacdcdcbe2e68513153cd7444d77cbb950827964b0157ce74c04be76781c071f016a35 WHIRLPOOL 07ed909caecc1fb5c313e0edc1f3f8b9b9ec582131532aff941327966beae1b2948fc83c32865df9712a31b824cb76301153436dcaaa21cf324ed473a72ab0fc
diff --git a/www-misc/awstats/awstats-7.1.1.ebuild b/www-misc/awstats/awstats-7.1.1.ebuild
deleted file mode 100644
index ecdcc6e..00000000
--- a/www-misc/awstats/awstats-7.1.1.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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="https://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-2"
-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"
-}
diff --git a/www-misc/awstats/awstats-7.3.ebuild b/www-misc/awstats/awstats-7.5.ebuild
similarity index 95%
rename from www-misc/awstats/awstats-7.3.ebuild
rename to www-misc/awstats/awstats-7.5.ebuild
index 873236b..9f4c5cc 100644
--- a/www-misc/awstats/awstats-7.3.ebuild
+++ b/www-misc/awstats/awstats-7.5.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=4
+EAPI=6
inherit eutils
@@ -37,7 +37,7 @@ RDEPEND=">=dev-lang/perl-5.6.1
DEPEND=""
src_prepare() {
- epatch "${FILESDIR}"/${PN}-7.1-gentoo.diff
+ eapply "${FILESDIR}"/${PN}-7.1-gentoo.diff
# change default installation directory
find . -type f -exec sed \
@@ -65,11 +65,16 @@ src_prepare() {
fi
find "${S}" '(' -type f -not -name '*.pl' ')' -exec chmod -x {} + || die
+
+ eapply_user
}
+HTML_DOCS="docs/"
+DOCS="README.md"
+
src_install() {
- dohtml -r docs/*
- dodoc README.TXT
+ einstalldocs
+
newdoc wwwroot/cgi-bin/plugins/example/example.pm example_plugin.pm
dodoc -r tools/xslt
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/awstats/
@ 2016-12-21 9:57 Tobias Klausmann
0 siblings, 0 replies; 13+ messages in thread
From: Tobias Klausmann @ 2016-12-21 9:57 UTC (permalink / raw
To: gentoo-commits
commit: 490c09a2c3a07c9eb420f595ec24ba6cbb085b36
Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 21 09:56:09 2016 +0000
Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
CommitDate: Wed Dec 21 09:56:09 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=490c09a2
www-misc/awstats-7.4-r0: stable on amd64
Gentoo-Bug: 597762
www-misc/awstats/awstats-7.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-misc/awstats/awstats-7.4.ebuild b/www-misc/awstats/awstats-7.4.ebuild
index 6ea9bca..2f302bd 100644
--- a/www-misc/awstats/awstats-7.4.ebuild
+++ b/www-misc/awstats/awstats-7.4.ebuild
@@ -24,7 +24,7 @@ fi
S=${WORKDIR}/${MY_P}
LICENSE="GPL-3"
-KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd"
IUSE="geoip ipv6"
SLOT="0"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/awstats/
@ 2017-02-08 23:09 Jeroen Roovers
0 siblings, 0 replies; 13+ messages in thread
From: Jeroen Roovers @ 2017-02-08 23:09 UTC (permalink / raw
To: gentoo-commits
commit: 3d6202571d03932736f5734969c1523fae4628e3
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 8 23:08:59 2017 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Feb 8 23:09:23 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d620257
www-misc/awstats: Stable for HPPA (bug #597762).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches
www-misc/awstats/awstats-7.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-misc/awstats/awstats-7.4.ebuild b/www-misc/awstats/awstats-7.4.ebuild
index 8ea3f54dbc..e2a1866153 100644
--- a/www-misc/awstats/awstats-7.4.ebuild
+++ b/www-misc/awstats/awstats-7.4.ebuild
@@ -24,7 +24,7 @@ fi
S=${WORKDIR}/${MY_P}
LICENSE="GPL-3"
-KEYWORDS="~alpha amd64 ~hppa ppc ~sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 hppa ppc ~sparc x86 ~x86-fbsd"
IUSE="geoip ipv6"
SLOT="0"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/awstats/
@ 2020-05-12 11:06 Jorge Manuel B. S. Vicetto
0 siblings, 0 replies; 13+ messages in thread
From: Jorge Manuel B. S. Vicetto @ 2020-05-12 11:06 UTC (permalink / raw
To: gentoo-commits
commit: 22812026e7262e3f7fc4cd5243df30c023b97133
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
AuthorDate: Tue May 12 11:06:09 2020 +0000
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
CommitDate: Tue May 12 11:06:09 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22812026
www-misc/awstats: Security bump to 7.8 release (CVE-2017-1000501).
Bug: https://bugs.gentoo.org/646786
Fixes: https://bugs.gentoo.org/604548
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org>
www-misc/awstats/Manifest | 1 +
www-misc/awstats/awstats-7.8.ebuild | 111 ++++++++++++++++++++++++++++++++++++
2 files changed, 112 insertions(+)
diff --git a/www-misc/awstats/Manifest b/www-misc/awstats/Manifest
index 07a74607428..9cf3401d745 100644
--- a/www-misc/awstats/Manifest
+++ b/www-misc/awstats/Manifest
@@ -1,3 +1,4 @@
DIST awstats-7.1_p20121017.tar.gz 1258135 BLAKE2B 0a43154d044346acdf4e71e96b05f9b8914d0df8a3812c6a20edb33a0b9d8b6f0aadc065466f1ee23c0469e41eda9622c380bd35c579b887a6547fd6749e9bd4 SHA512 171ff3118955c8b73c968a23983885d967632d2c6e95a45f71e5f6fea74afe34d869c9cc901e2e739419068babc96385d7d7df1e8ca10074be7388fbe5c51f53
DIST awstats-7.4.tar.gz 2936102 BLAKE2B 2bc7f9619e4d6b13d3909869d642c347d6b9cddbbb3b49d58494ce108c8fe25d59b27198d5a42f8b81c06fdaf1a2e135c82883ec8604e53c6c5adbac07223b66 SHA512 5bce97c71aabeab35e4ff5e5168531e4955d7c1474322c7b4a47d1d06e06ebd0e74d1def73826498e6253f24aeca99309777617b7a914685c927bb6e1c020e1a
DIST awstats-7.5.tar.gz 2936644 BLAKE2B 666e4d50e8011315351e1aff538ec56507c5bc8e4fb4890c29aee1f73985b8466f346982a6022ae1689e30d587b21ee0f2038f46783e4f25454dfa6e5fe39771 SHA512 d69a66b5ef94d8a7378ece0453a3617f71ad030d81c45cff926fae1319eacdcdcbe2e68513153cd7444d77cbb950827964b0157ce74c04be76781c071f016a35
+DIST awstats-7.8.tar.gz 2938739 BLAKE2B 57c692aa935a4191d1cc1f3b34dd1a70a40eef880a3672dcd17472fe6bf447dd7b85a7752d94666d6f1a8dbdcc2eac4959a7f6a83a8bd538d0909ffcaedfd385 SHA512 2fd78e8c7eefb5c9ed39d8ee830ee8ad00b622b812ae40a84cb01c4fa653b9ab7822d1592313d7a8c4b8503d04dcba48b1775d33a629f1ac1278d2300eef931d
diff --git a/www-misc/awstats/awstats-7.8.ebuild b/www-misc/awstats/awstats-7.8.ebuild
new file mode 100644
index 00000000000..e3d410313be
--- /dev/null
+++ b/www-misc/awstats/awstats-7.8.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils
+
+MY_P=${PN}-${PV%_p*}
+
+DESCRIPTION="AWStats is short for Advanced Web Statistics"
+HOMEPAGE="https://www.awstats.org/"
+SRC_URI="https://www.awstats.org/files/${P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+LICENSE="GPL-3"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE="geoip ipv6"
+
+SLOT="0"
+
+RDEPEND="
+ >=dev-lang/perl-5.6.1
+ dev-perl/URI
+ virtual/perl-Time-Local
+ geoip? (
+ dev-perl/Geo-IP
+ )
+ ipv6? (
+ dev-perl/Net-DNS
+ dev-perl/Net-IP
+ )
+"
+DEPEND=""
+
+src_prepare() {
+ eapply "${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
+
+ eapply_user
+}
+
+HTML_DOCS="docs/"
+DOCS="README.md"
+
+src_install() {
+ einstalldocs
+
+ 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
+}
+
+pkg_postinst() {
+ elog "The AWStats-Manual is available either inside"
+ elog "the /usr/share/doc/${PF} - folder, or at"
+ elog "https://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"
+}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/awstats/
@ 2020-05-12 11:12 Jorge Manuel B. S. Vicetto
0 siblings, 0 replies; 13+ messages in thread
From: Jorge Manuel B. S. Vicetto @ 2020-05-12 11:12 UTC (permalink / raw
To: gentoo-commits
commit: 03088da8cd72c72fb977622fb3a28028a2e7887c
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
AuthorDate: Tue May 12 11:12:23 2020 +0000
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
CommitDate: Tue May 12 11:12:23 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03088da8
www-misc/awstats: Drop old and vulnerable releases.
Leave last stable release pending stabilization of the 7.8 release.
Bug: https://bugs.gentoo.org/646786
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org>
www-misc/awstats/Manifest | 2 -
www-misc/awstats/awstats-7.1_p20121017.ebuild | 110 ------------------------
www-misc/awstats/awstats-7.5.ebuild | 115 --------------------------
3 files changed, 227 deletions(-)
diff --git a/www-misc/awstats/Manifest b/www-misc/awstats/Manifest
index 9cf3401d745..51ca4d9053b 100644
--- a/www-misc/awstats/Manifest
+++ b/www-misc/awstats/Manifest
@@ -1,4 +1,2 @@
-DIST awstats-7.1_p20121017.tar.gz 1258135 BLAKE2B 0a43154d044346acdf4e71e96b05f9b8914d0df8a3812c6a20edb33a0b9d8b6f0aadc065466f1ee23c0469e41eda9622c380bd35c579b887a6547fd6749e9bd4 SHA512 171ff3118955c8b73c968a23983885d967632d2c6e95a45f71e5f6fea74afe34d869c9cc901e2e739419068babc96385d7d7df1e8ca10074be7388fbe5c51f53
DIST awstats-7.4.tar.gz 2936102 BLAKE2B 2bc7f9619e4d6b13d3909869d642c347d6b9cddbbb3b49d58494ce108c8fe25d59b27198d5a42f8b81c06fdaf1a2e135c82883ec8604e53c6c5adbac07223b66 SHA512 5bce97c71aabeab35e4ff5e5168531e4955d7c1474322c7b4a47d1d06e06ebd0e74d1def73826498e6253f24aeca99309777617b7a914685c927bb6e1c020e1a
-DIST awstats-7.5.tar.gz 2936644 BLAKE2B 666e4d50e8011315351e1aff538ec56507c5bc8e4fb4890c29aee1f73985b8466f346982a6022ae1689e30d587b21ee0f2038f46783e4f25454dfa6e5fe39771 SHA512 d69a66b5ef94d8a7378ece0453a3617f71ad030d81c45cff926fae1319eacdcdcbe2e68513153cd7444d77cbb950827964b0157ce74c04be76781c071f016a35
DIST awstats-7.8.tar.gz 2938739 BLAKE2B 57c692aa935a4191d1cc1f3b34dd1a70a40eef880a3672dcd17472fe6bf447dd7b85a7752d94666d6f1a8dbdcc2eac4959a7f6a83a8bd538d0909ffcaedfd385 SHA512 2fd78e8c7eefb5c9ed39d8ee830ee8ad00b622b812ae40a84cb01c4fa653b9ab7822d1592313d7a8c4b8503d04dcba48b1775d33a629f1ac1278d2300eef931d
diff --git a/www-misc/awstats/awstats-7.1_p20121017.ebuild b/www-misc/awstats/awstats-7.1_p20121017.ebuild
deleted file mode 100644
index 2257b4cdf06..00000000000
--- a/www-misc/awstats/awstats-7.1_p20121017.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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="https://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-2"
-KEYWORDS="~alpha amd64 hppa ppc ~sparc x86"
-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
-}
-
-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"
-}
diff --git a/www-misc/awstats/awstats-7.5.ebuild b/www-misc/awstats/awstats-7.5.ebuild
deleted file mode 100644
index b53c2ad5ba1..00000000000
--- a/www-misc/awstats/awstats-7.5.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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="https://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"
-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() {
- eapply "${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
-
- eapply_user
-}
-
-HTML_DOCS="docs/"
-DOCS="README.md"
-
-src_install() {
- einstalldocs
-
- 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
-}
-
-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"
-}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/awstats/
@ 2020-05-12 20:17 Sergei Trofimovich
0 siblings, 0 replies; 13+ messages in thread
From: Sergei Trofimovich @ 2020-05-12 20:17 UTC (permalink / raw
To: gentoo-commits
commit: caddde40c6ad0a17ca7bf3178d61e5ec62aa24a1
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Tue May 12 19:57:50 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue May 12 20:17:49 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caddde40
www-misc/awstats: drop to ~hppa
Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
www-misc/awstats/awstats-7.4.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www-misc/awstats/awstats-7.4.ebuild b/www-misc/awstats/awstats-7.4.ebuild
index bac4b390c7b..30a6da43390 100644
--- a/www-misc/awstats/awstats-7.4.ebuild
+++ b/www-misc/awstats/awstats-7.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=4
@@ -23,7 +23,7 @@ fi
S=${WORKDIR}/${MY_P}
LICENSE="GPL-3"
-KEYWORDS="~alpha amd64 hppa ppc ~sparc x86"
+KEYWORDS="~alpha amd64 ~hppa ppc ~sparc x86"
IUSE="geoip ipv6"
SLOT="0"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/awstats/
@ 2020-05-13 17:12 Agostino Sarubbo
0 siblings, 0 replies; 13+ messages in thread
From: Agostino Sarubbo @ 2020-05-13 17:12 UTC (permalink / raw
To: gentoo-commits
commit: 9514e6dbc410ed4e304853cfcd27697503d6cbaa
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed May 13 17:11:50 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed May 13 17:12:33 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9514e6db
www-misc/awstats: ppc stable wrt bug #646786
Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
www-misc/awstats/awstats-7.8.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-misc/awstats/awstats-7.8.ebuild b/www-misc/awstats/awstats-7.8.ebuild
index e3d410313be..4946a4565b3 100644
--- a/www-misc/awstats/awstats-7.8.ebuild
+++ b/www-misc/awstats/awstats-7.8.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://www.awstats.org/"
SRC_URI="https://www.awstats.org/files/${P}.tar.gz"
S=${WORKDIR}/${MY_P}
LICENSE="GPL-3"
-KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ppc ~sparc ~x86"
IUSE="geoip ipv6"
SLOT="0"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/awstats/
@ 2020-05-14 21:29 Thomas Deutschmann
0 siblings, 0 replies; 13+ messages in thread
From: Thomas Deutschmann @ 2020-05-14 21:29 UTC (permalink / raw
To: gentoo-commits
commit: d71d7a9bf47d1bcdbf6fb4a9c176276e8ef9c565
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu May 14 21:18:09 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu May 14 21:29:24 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d71d7a9b
www-misc/awstats: x86 stable (bug #646786)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
www-misc/awstats/awstats-7.8.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-misc/awstats/awstats-7.8.ebuild b/www-misc/awstats/awstats-7.8.ebuild
index 4946a4565b3..c73348d6087 100644
--- a/www-misc/awstats/awstats-7.8.ebuild
+++ b/www-misc/awstats/awstats-7.8.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://www.awstats.org/"
SRC_URI="https://www.awstats.org/files/${P}.tar.gz"
S=${WORKDIR}/${MY_P}
LICENSE="GPL-3"
-KEYWORDS="~alpha ~amd64 ~hppa ppc ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ppc ~sparc x86"
IUSE="geoip ipv6"
SLOT="0"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/awstats/
@ 2020-07-17 19:38 Sam James
0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2020-07-17 19:38 UTC (permalink / raw
To: gentoo-commits
commit: c8994a5408f2991bd5c37ad589e8599f43f58624
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 17 19:38:50 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 17 19:38:50 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8994a54
www-misc/awstats: amd64 stable (bug #646786)
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sam James <sam <AT> gentoo.org>
www-misc/awstats/awstats-7.8.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www-misc/awstats/awstats-7.8.ebuild b/www-misc/awstats/awstats-7.8.ebuild
index c73348d6087..919fb8c65e9 100644
--- a/www-misc/awstats/awstats-7.8.ebuild
+++ b/www-misc/awstats/awstats-7.8.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://www.awstats.org/"
SRC_URI="https://www.awstats.org/files/${P}.tar.gz"
S=${WORKDIR}/${MY_P}
LICENSE="GPL-3"
-KEYWORDS="~alpha ~amd64 ~hppa ppc ~sparc x86"
+KEYWORDS="~alpha amd64 ~hppa ppc ~sparc x86"
IUSE="geoip ipv6"
SLOT="0"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/awstats/
@ 2020-07-18 0:01 Sam James
0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2020-07-18 0:01 UTC (permalink / raw
To: gentoo-commits
commit: f127f5c766759209adde243ec01d4d4d4d1cab16
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 17 20:58:12 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 17 23:59:47 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f127f5c7
www-misc/awstats: security cleanup
Bug: https://bugs.gentoo.org/646786
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sam James <sam <AT> gentoo.org>
www-misc/awstats/Manifest | 1 -
www-misc/awstats/awstats-7.4.ebuild | 111 ------------------------------------
www-misc/awstats/awstats-7.8.ebuild | 111 ------------------------------------
3 files changed, 223 deletions(-)
diff --git a/www-misc/awstats/Manifest b/www-misc/awstats/Manifest
index 51ca4d9053b..5c76406655e 100644
--- a/www-misc/awstats/Manifest
+++ b/www-misc/awstats/Manifest
@@ -1,2 +1 @@
-DIST awstats-7.4.tar.gz 2936102 BLAKE2B 2bc7f9619e4d6b13d3909869d642c347d6b9cddbbb3b49d58494ce108c8fe25d59b27198d5a42f8b81c06fdaf1a2e135c82883ec8604e53c6c5adbac07223b66 SHA512 5bce97c71aabeab35e4ff5e5168531e4955d7c1474322c7b4a47d1d06e06ebd0e74d1def73826498e6253f24aeca99309777617b7a914685c927bb6e1c020e1a
DIST awstats-7.8.tar.gz 2938739 BLAKE2B 57c692aa935a4191d1cc1f3b34dd1a70a40eef880a3672dcd17472fe6bf447dd7b85a7752d94666d6f1a8dbdcc2eac4959a7f6a83a8bd538d0909ffcaedfd385 SHA512 2fd78e8c7eefb5c9ed39d8ee830ee8ad00b622b812ae40a84cb01c4fa653b9ab7822d1592313d7a8c4b8503d04dcba48b1775d33a629f1ac1278d2300eef931d
diff --git a/www-misc/awstats/awstats-7.4.ebuild b/www-misc/awstats/awstats-7.4.ebuild
deleted file mode 100644
index 30a6da43390..00000000000
--- a/www-misc/awstats/awstats-7.4.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-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="https://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"
-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
- epatch "${FILESDIR}"/${PN}-perl-5.22.patch
-
- # 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.md
- 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
-}
-
-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"
-}
diff --git a/www-misc/awstats/awstats-7.8.ebuild b/www-misc/awstats/awstats-7.8.ebuild
deleted file mode 100644
index 919fb8c65e9..00000000000
--- a/www-misc/awstats/awstats-7.8.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit eutils
-
-MY_P=${PN}-${PV%_p*}
-
-DESCRIPTION="AWStats is short for Advanced Web Statistics"
-HOMEPAGE="https://www.awstats.org/"
-SRC_URI="https://www.awstats.org/files/${P}.tar.gz"
-S=${WORKDIR}/${MY_P}
-LICENSE="GPL-3"
-KEYWORDS="~alpha amd64 ~hppa ppc ~sparc x86"
-IUSE="geoip ipv6"
-
-SLOT="0"
-
-RDEPEND="
- >=dev-lang/perl-5.6.1
- dev-perl/URI
- virtual/perl-Time-Local
- geoip? (
- dev-perl/Geo-IP
- )
- ipv6? (
- dev-perl/Net-DNS
- dev-perl/Net-IP
- )
-"
-DEPEND=""
-
-src_prepare() {
- eapply "${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
-
- eapply_user
-}
-
-HTML_DOCS="docs/"
-DOCS="README.md"
-
-src_install() {
- einstalldocs
-
- 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
-}
-
-pkg_postinst() {
- elog "The AWStats-Manual is available either inside"
- elog "the /usr/share/doc/${PF} - folder, or at"
- elog "https://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"
-}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/awstats/
@ 2021-04-16 11:23 Sam James
0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2021-04-16 11:23 UTC (permalink / raw
To: gentoo-commits
commit: 59c4c53369c6e2b930c5aeb5b8adb34b867467cc
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 16 07:54:33 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 16 11:22:51 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59c4c533
www-misc/awstats: eutils--
Signed-off-by: Sam James <sam <AT> gentoo.org>
www-misc/awstats/awstats-7.8-r1.ebuild | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/www-misc/awstats/awstats-7.8-r1.ebuild b/www-misc/awstats/awstats-7.8-r1.ebuild
index 66748aa8bf7..eb1b99ea5e9 100644
--- a/www-misc/awstats/awstats-7.8-r1.ebuild
+++ b/www-misc/awstats/awstats-7.8-r1.ebuild
@@ -1,10 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit eutils
-
MY_P=${PN}-${PV%_p*}
DESCRIPTION="AWStats is short for Advanced Web Statistics"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: www-misc/awstats/
@ 2023-06-28 7:37 Sam James
0 siblings, 0 replies; 13+ messages in thread
From: Sam James @ 2023-06-28 7:37 UTC (permalink / raw
To: gentoo-commits
commit: 7aba89d3f2d8d6c83abfb463921d1331ad70cf9f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 28 07:33:05 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 28 07:37:02 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aba89d3
www-misc/awstats: add missing selinux policy dep
Signed-off-by: Sam James <sam <AT> gentoo.org>
www-misc/awstats/awstats-7.8-r1.ebuild | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/www-misc/awstats/awstats-7.8-r1.ebuild b/www-misc/awstats/awstats-7.8-r1.ebuild
index eb1b99ea5e90..f99c49572678 100644
--- a/www-misc/awstats/awstats-7.8-r1.ebuild
+++ b/www-misc/awstats/awstats-7.8-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -9,11 +9,11 @@ DESCRIPTION="AWStats is short for Advanced Web Statistics"
HOMEPAGE="https://www.awstats.org/"
SRC_URI="https://www.awstats.org/files/${P}.tar.gz"
S=${WORKDIR}/${MY_P}
-LICENSE="GPL-3"
-KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
-IUSE="geoip ipv6"
+LICENSE="GPL-3"
SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE="geoip ipv6 selinux"
RDEPEND="
>=dev-lang/perl-5.6.1
@@ -26,8 +26,8 @@ RDEPEND="
dev-perl/Net-DNS
dev-perl/Net-IP
)
+ selinux? ( sec-policy/selinux-awstats )
"
-DEPEND=""
src_prepare() {
eapply "${FILESDIR}"/${PN}-7.1-gentoo.diff
^ permalink raw reply related [flat|nested] 13+ messages in thread
end of thread, other threads:[~2023-06-28 7:37 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-16 11:23 [gentoo-commits] repo/gentoo:master commit in: www-misc/awstats/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2023-06-28 7:37 Sam James
2020-07-18 0:01 Sam James
2020-07-17 19:38 Sam James
2020-05-14 21:29 Thomas Deutschmann
2020-05-13 17:12 Agostino Sarubbo
2020-05-12 20:17 Sergei Trofimovich
2020-05-12 11:12 Jorge Manuel B. S. Vicetto
2020-05-12 11:06 Jorge Manuel B. S. Vicetto
2017-02-08 23:09 Jeroen Roovers
2016-12-21 9:57 Tobias Klausmann
2016-10-22 10:13 Diego Elio Pettenò
2016-08-07 9:30 Pacho Ramos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox