1 |
commit: 2225c6d00224e2d31ca710d04900255733cf3d9c |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 9 09:34:45 2018 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 9 09:34:45 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2225c6d0 |
7 |
|
8 |
app-admin/webalizer: Drop old (destabilize hppa) |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
app-admin/webalizer/Manifest | 3 - |
13 |
app-admin/webalizer/webalizer-2.23.05.ebuild | 133 --------------------------- |
14 |
2 files changed, 136 deletions(-) |
15 |
|
16 |
diff --git a/app-admin/webalizer/Manifest b/app-admin/webalizer/Manifest |
17 |
index c0d2e4bd08b..8653efe0ac4 100644 |
18 |
--- a/app-admin/webalizer/Manifest |
19 |
+++ b/app-admin/webalizer/Manifest |
20 |
@@ -1,7 +1,4 @@ |
21 |
-DIST webalizer-2.23-05-RB29-patch.tar.gz 45853 BLAKE2B 0e5bbbb8d93e71d6f8101d3a54d53880a1c0e9f4f8d21333e8e7a45fa4a772800770396db8927265600c0657ef71c4ee11b19652548fc5cb6284b4fecfe1bed3 SHA512 967a5418e858adb5be8b64bac7edb52ac6eca8bce567269866f2ae7ac6e34c09d2d0ab1d7e7cfcbd92972cf5ea05ac2abaea2058e6fa9273e27cf10aacfb4759 |
22 |
-DIST webalizer-2.23-05-src.tar.bz2 308238 BLAKE2B 42aeb3650d912cbe0bfcb3894342e640359e57b094df9528696d4dd765b5d2f0c29450f99e6e9fb9d874438b707e83cc263715adf26faeee9d72403f5f97493f SHA512 4840c2ba25e34d5e276c724c311d2c2d7a0223dcbf6dec567960f56bc4cdfe4f6a1e412e3fcab53395d6357377f4f8d2b3bcc4b23c46a3ec6a895813a681cd4b |
23 |
DIST webalizer-2.23-08-RB30-patch.tar.gz 45723 BLAKE2B 510e984121cc5109e442184010edb0e2fbb7bb9738297c0689acd32e55a1720bdf7bcea3a21cc73aa8ecd0b9d0a8b1a7b336227003dee5abfff9d5288a5250d7 SHA512 142674cb7de6e1833ed9bf7587d5d3b1fce64eb95b7448392d0e8ec6e89dcd69cdb6900b75db9c283b19e5423392f76565b5ad279748da656ed2061fb180c949 |
24 |
DIST webalizer-2.23-08-src.tar.bz2 308090 BLAKE2B 84f56b8b6a7e2b382040649ca8c6b6b7b57de92a09922253473f6cf920a4dd10a2c268b926c0cdd4fcf029dbbe39d629eecbd74cc42f62c018a00c3cc86c4f7d SHA512 23fe6e3ef1c85aa527ffafef16c31c13ad8e1f9feb774557c07a5c8fd6c67986b98180ef16d6cebe62d59c5f7ca214b8292e94ce8f195fa0541de9c5438fb9bd |
25 |
DIST webalizer-geodb-20140201.tgz 733070 BLAKE2B fd97dfd14e2fcbc6c97d6cb423c922d6bf7504f156fb61fb11319094a4d2e25fd8fa2623f419b57d06ef0762a507799cfd750a5e3a86a143aa1afcc790942cae SHA512 c31bbf39ab2a27712f83e7c1cf4297bc26850ed72e68bb4b47233b062055cf26931e859cdbc70dfa7737e17a3c05d4858b4e9c9c3a0492b0b285f92c0f992223 |
26 |
-DIST webalizer-geodb-latest.tgz 639447 BLAKE2B a4a604f8ead42c403ce750c9f373e8ffc4a7510aab6cfd43b88f39b93f5636460860b72fcfcb9468a5a06739b830149878c948e5b3dd0748e14ee9cbfb2be9d4 SHA512 0f32d1249902e17f37cd0e7680004262bbe5b4a34a00d882319258c6aed80503e89ed192d8365731ab507fa54560082ae16c7023d0bc2232350709106be24117 |
27 |
DIST webalizer.conf.gz 8986 BLAKE2B 6cee5f96c31a189bf7ce75ec845081d9a2f0e547362d415c84f78f1ddaa8e3ffd327517968037ac1606a485d9cba740054bb9851065d0ea03739b5558c7ef6f9 SHA512 ec7f815e0215116d72e6d93b471a4b86a1c152a8ebae7c374144cabeeb06750d3a39fde65faf069e9aeb133f27b0b4cdee16bed5442e7fbd4eb4f45a4f3cd84b |
28 |
|
29 |
diff --git a/app-admin/webalizer/webalizer-2.23.05.ebuild b/app-admin/webalizer/webalizer-2.23.05.ebuild |
30 |
deleted file mode 100644 |
31 |
index 5dbba1424e7..00000000000 |
32 |
--- a/app-admin/webalizer/webalizer-2.23.05.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,133 +0,0 @@ |
35 |
-# Copyright 1999-2017 Gentoo Foundation |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-# uses webapp.eclass to create directories with right permissions |
39 |
-# probably slight overkill but works well |
40 |
- |
41 |
-EAPI="2" |
42 |
- |
43 |
-inherit versionator eutils webapp db-use |
44 |
- |
45 |
-WEBAPP_MANUAL_SLOT="yes" |
46 |
-XTENDED_VER="RB29" |
47 |
-XTENDED_URL="rb29" |
48 |
- |
49 |
-MY_PV="$(get_version_component_range 1-2)-$(get_version_component_range 3)" |
50 |
-MY_P="${PN}-${MY_PV}" |
51 |
- |
52 |
-DESCRIPTION="Webserver log file analyzer" |
53 |
-HOMEPAGE="http://www.webalizer.org/" |
54 |
-SRC_URI="ftp://ftp.mrunix.net/pub/webalizer/${MY_P}-src.tar.bz2 |
55 |
- xtended? ( http://patrickfrei.ch/webalizer/${XTENDED_URL}/${PN}-${MY_PV}-${XTENDED_VER}-patch.tar.gz ) |
56 |
- ftp://ftp.mrunix.net/pub/webalizer/webalizer-geodb-latest.tgz |
57 |
- mirror://gentoo/${PN}.conf.gz" |
58 |
- |
59 |
-LICENSE="GPL-2" |
60 |
-KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 ~sparc x86" |
61 |
-IUSE="geoip nls xtended" |
62 |
-SLOT="0" |
63 |
- |
64 |
-DEPEND=">=sys-libs/db-4.2 |
65 |
- >=sys-libs/zlib-1.1.4 |
66 |
- >=media-libs/libpng-1.2 |
67 |
- >=media-libs/gd-1.8.3[png] |
68 |
- dev-libs/geoip" |
69 |
-RDEPEND="${DEPEND}" |
70 |
- |
71 |
-S="${WORKDIR}"/${MY_P} |
72 |
- |
73 |
-pkg_setup() { |
74 |
- webapp_pkg_setup |
75 |
- |
76 |
- # USE=nls has no real meaning if LINGUAS isn't set |
77 |
- if use nls && [[ -z "${LINGUAS}" ]]; then |
78 |
- ewarn "you must set LINGUAS in /etc/portage/make.conf" |
79 |
- ewarn "if you want to USE=nls" |
80 |
- die "please either set LINGUAS or do not use nls" |
81 |
- fi |
82 |
-} |
83 |
- |
84 |
-src_prepare() { |
85 |
- if use xtended; then |
86 |
- epatch "${WORKDIR}"/${PN}-${MY_PV}-${XTENDED_VER}-patch |
87 |
- fi |
88 |
-} |
89 |
- |
90 |
-src_configure() { |
91 |
- # really dirty hack; necessary due to a really gross ./configure |
92 |
- # basically, it just sets the natural language the program uses |
93 |
- # unfortunatly, this program only allows for one lang, so only the first |
94 |
- # entry in LINGUAS is used |
95 |
- if use nls; then |
96 |
- local longlang="$(grep ^${LINGUAS:0:2} "${FILESDIR}"/webalizer-language-list.txt)" |
97 |
- local myconf="${myconf} --with-language=${longlang:3}" |
98 |
- else |
99 |
- local myconf="${myconf} --with-language=english" |
100 |
- fi |
101 |
- |
102 |
- econf --enable-dns \ |
103 |
- --with-db=$(db_includedir) \ |
104 |
- --with-dblib=$(db_libname) \ |
105 |
- ${myconf} \ |
106 |
- $(use_enable geoip) \ |
107 |
- --with-geodb=/usr/share/webalizer/geodb \ |
108 |
- || die "econf failed" |
109 |
-} |
110 |
- |
111 |
-src_install() { |
112 |
- webapp_src_preinst |
113 |
- |
114 |
- dobin webalizer |
115 |
- dosym webalizer /usr/bin/webazolver |
116 |
- doman webalizer.1 |
117 |
- |
118 |
- insinto /etc |
119 |
- doins "${WORKDIR}"/${PN}.conf |
120 |
- dosed "s/apache/apache2/g" /etc/webalizer.conf |
121 |
- |
122 |
- insinto /usr/share/webalizer/geodb |
123 |
- doins "${WORKDIR}"/GeoDB.dat |
124 |
- |
125 |
- dodoc CHANGES *README* INSTALL sample.conf "${FILESDIR}"/apache.webalizer |
126 |
- |
127 |
- webapp_src_install |
128 |
-} |
129 |
- |
130 |
-pkg_postinst() { |
131 |
- elog |
132 |
- elog "It is suggested that you restart apache before using webalizer" |
133 |
- elog "You may want to review /etc/webalizer.conf and ensure that" |
134 |
- elog "OutputDir is set correctly" |
135 |
- elog |
136 |
- elog "Then just type webalizer to generate your stats." |
137 |
- elog "You can also use cron to generate them e.g. every day." |
138 |
- elog "They can be accessed via http://localhost/webalizer" |
139 |
- elog |
140 |
- elog "A sample Apache config file has been installed into" |
141 |
- elog "/usr/share/doc/${PF}/apache.webalizer" |
142 |
- elog "Please edit and install it as necessary" |
143 |
- elog |
144 |
- |
145 |
- if [[ ${#LINGUAS} -gt 2 ]] && use nls; then |
146 |
- ewarn |
147 |
- ewarn "You have more than one language in LINGUAS" |
148 |
- ewarn "Due to the limitations of this package, it was built" |
149 |
- ewarn "only with ${LINGUAS:0:2} support. If this is not what" |
150 |
- ewarn "you intended, please place the language you desire" |
151 |
- ewarn "_first_ in the list of LINGUAS in /etc/portage/make.conf" |
152 |
- ewarn |
153 |
- fi |
154 |
- |
155 |
- if use xtended; then |
156 |
- ewarn |
157 |
- ewarn "If you are upgrading webalizer from USE=-xtended to USE=xtended" |
158 |
- ewarn "you will need to delete webalizer.current and process all previous" |
159 |
- ewarn "days in the same month using 'webalizer /path/to/access_log.1'." |
160 |
- ewarn "For more information about using XTENDED webalizer, see:" |
161 |
- ewarn |
162 |
- ewarn " http://www.patrickfrei.ch/webalizer/rb15/INSTALL" |
163 |
- ewarn |
164 |
- fi |
165 |
- |
166 |
- webapp_pkg_postinst |
167 |
-} |