Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 529384 | Differences between
and this patch

Collapse All | Expand All

(-)a/www-misc/htdig/ChangeLog (+299 lines)
Line 0 Link Here
1
# ChangeLog for www-misc/htdig
2
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
3
# $Header: /var/cvsroot/gentoo-x86/www-misc/htdig/ChangeLog,v 1.47 2013/05/02 04:13:35 patrick Exp $
4
5
  02 May 2013; Patrick Lauer <patrick@gentoo.org> htdig-3.2.0_beta6-r3.ebuild:
6
  Automake 1.13 fix
7
8
  17 May 2012; Alexis Ballier <aballier@gentoo.org>
9
  htdig-3.2.0_beta6-r3.ebuild:
10
  keyword ~amd64-fbsd
11
12
  20 Jan 2010; Raúl Porcel <armin76@gentoo.org>
13
  htdig-3.2.0_beta6-r3.ebuild:
14
  Add ~arm
15
16
  01 Jan 2010; Jonathan Callen <abcd@gentoo.org>
17
  htdig-3.2.0_beta6-r3.ebuild:
18
  Add prefix keywords
19
20
  13 Dec 2009; Jonathan Callen <abcd@gentoo.org> -files/3.1.6-ssl.patch,
21
  -htdig-3.1.6-r7.ebuild, -htdig-3.1.6-r8.ebuild,
22
  -files/htdig-3.1.6-unescaped-output.diff, htdig-3.2.0_beta6-r3.ebuild:
23
  Drop some old versions; fix QA warnings; general cleanups
24
25
  05 Dec 2007; <wrobel@gentoo.org> -htdig-3.2.0_beta6-r2.ebuild:
26
  Removed insecure htdig-3.2.0_beta6-r2 (sec bug #200285).
27
28
  04 Dec 2007; Tobias Scherbaum <dertobi123@gentoo.org>
29
  htdig-3.2.0_beta6-r3.ebuild:
30
  ppc stable, bug #200285
31
32
  04 Dec 2007; Markus Rothe <corsair@gentoo.org>
33
  htdig-3.2.0_beta6-r3.ebuild:
34
  Stable on ppc64; bug #200285
35
36
  04 Dec 2007; Jeroen Roovers <jer@gentoo.org> htdig-3.2.0_beta6-r3.ebuild:
37
  Stable for HPPA (bug #200285).
38
39
  04 Dec 2007; Raúl Porcel <armin76@gentoo.org>
40
  htdig-3.2.0_beta6-r3.ebuild:
41
  alpha/ia64/sparc stable wrt security #200285
42
43
  04 Dec 2007; Steve Dibb <beandog@gentoo.org> htdig-3.2.0_beta6-r3.ebuild:
44
  amd64 stable, bug 200285
45
46
  03 Dec 2007; Markus Meier <maekke@gentoo.org> htdig-3.2.0_beta6-r3.ebuild:
47
  x86 stable, security bug #200285
48
49
*htdig-3.2.0_beta6-r3 (03 Dec 2007)
50
51
  03 Dec 2007; <wrobel@gentoo.org> +files/htdig-3.2.0_beta6-quoting.patch,
52
  +htdig-3.2.0_beta6-r3.ebuild:
53
  -m htdig-3.2.0_beta6-r3 fixes sec bug #200285.
54
55
  25 Jun 2007; Raúl Porcel <armin76@gentoo.org>
56
  htdig-3.2.0_beta6-r2.ebuild:
57
  alpha stable wrt #178693
58
59
  01 Jun 2007; Raúl Porcel <armin76@gentoo.org>
60
  htdig-3.2.0_beta6-r2.ebuild:
61
  ia64 stable wrt #178693
62
63
  01 Jun 2007; nixnut <nixnut@gentoo.org> htdig-3.2.0_beta6-r2.ebuild:
64
  Stable on ppc wrt bug 178693
65
66
  28 May 2007; Gustavo Zacarias <gustavoz@gentoo.org>
67
  htdig-3.2.0_beta6-r2.ebuild:
68
  Stable on sparc wrt #178693
69
70
  28 May 2007; Brent Baude <ranger@gentoo.org> htdig-3.2.0_beta6-r2.ebuild:
71
  Marking htdig-3.2.0_beta6-r2 ppc64 stable for bug 178693.
72
73
  28 May 2007; Jeroen Roovers <jer@gentoo.org> htdig-3.2.0_beta6-r2.ebuild:
74
  Stable for HPPA (bug #178693).
75
76
  27 May 2007; Markus Ullmann <jokey@gentoo.org>
77
  htdig-3.2.0_beta6-r2.ebuild:
78
  Stable on x86 wrt bug #178693
79
80
  26 May 2007; Renat Lumpau <rl03@gentoo.org> htdig-3.2.0_beta6-r2.ebuild:
81
  Fix bug 177278
82
83
  25 May 2007; Jose Luis Rivero <yoswink@gentoo.org>
84
  htdig-3.2.0_beta6-r2.ebuild:
85
  Add ~alpha wrt bug 176620
86
87
  24 May 2007; Diego Pettenò <flameeyes@gentoo.org>
88
  htdig-3.2.0_beta6-r2.ebuild:
89
  Add ~x86-fbsd keyword, as per bug #176620.
90
91
  02 May 2007; Jeroen Roovers <jer@gentoo.org> htdig-3.2.0_beta6-r2.ebuild:
92
  Marked ~hppa (bug #176620).
93
94
  01 May 2007; Raúl Porcel <armin76@gentoo.org>
95
  htdig-3.2.0_beta6-r2.ebuild:
96
  Add ~ia64 wrt bug 176620
97
98
  01 May 2007; Markus Rothe <corsair@gentoo.org>
99
  htdig-3.2.0_beta6-r2.ebuild:
100
  Added ~ppc64; bug #176620
101
102
  22 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
103
  Redigest for Manifest2
104
105
*htdig-3.2.0_beta6-r2 (03 Jan 2007)
106
107
  03 Jan 2007; Renat Lumpau <rl03@gentoo.org> -htdig-3.2.0_beta6-r1.ebuild,
108
  +htdig-3.2.0_beta6-r2.ebuild:
109
  Add ssl support, bug #156003.
110
111
  03 Jan 2007; Renat Lumpau <rl03@gentoo.org> -htdig-3.2.0_beta6.ebuild:
112
  Housekeeping
113
114
  03 Jan 2007; Renat Lumpau <rl03@gentoo.org>
115
  +files/htdig-3.2.0_beta6-as-needed.patch, htdig-3.2.0_beta6-r1.ebuild:
116
  fix for --as-needed, bug #155727.
117
118
  05 May 2006; Jon Hood <squinky86@gentoo.org> htdig-3.2.0_beta6-r1.ebuild:
119
  Stable on amd64, bug #107062.
120
121
*htdig-3.2.0_beta6-r1 (01 May 2006)
122
*htdig-3.1.6-r8 (01 May 2006)
123
124
  01 May 2006; Renat Lumpau <rl03@gentoo.org> -files/htdig-3.2.0-fpic.patch,
125
  +files/3.1.6-ssl.patch, -files/CONFIG.in, +htdig-3.1.6-r8.ebuild,
126
  +htdig-3.2.0_beta6-r1.ebuild:
127
  Bye bye webapp.eclass: should fix #28049 , #107062 , #110528 , #125136 ; also
128
  see #120830. Added https patch ( bug #52613 ). Misc housekeeping.
129
130
  22 Mar 2006; Jeremy Huddleston <eradicator@gentoo.org>
131
  +files/htdig-3.2.0_beta6-gcc4.patch, htdig-3.2.0_beta6.ebuild:
132
  Fixed compilation with gcc4.  Closes bug #126509.
133
134
  06 Dec 2005; Renat Lumpau <rl03@gentoo.org> -files/reconfig,
135
  htdig-3.2.0_beta6.ebuild:
136
  Fixes for webapp-config-1.50
137
138
  08 Sep 2005; Renat Lumpau <rl03@gentoo.org> htdig-3.1.6-r7.ebuild,
139
  htdig-3.2.0_beta6.ebuild:
140
  Added manual slotting wrt bug #104855
141
142
  08 Sep 2005; Renat Lumpau <rl03@gentoo.org> -htdig-3.1.6-r4.ebuild:
143
  Removing old obsolete version
144
145
  01 Aug 2005; Danny van Dyk <kugelfang@gentoo.org>
146
  htdig-3.2.0_beta6.ebuild:
147
  Removed -fPIC patch and the real cause for BUG #98357. -Wno-deprecated made
148
  configure misbehave.
149
150
  10 Jul 2005; Danny van Dyk <kugelfang@gentoo.org>
151
  +files/htdig-3.2.0-fpic.patch, htdig-3.2.0_beta6.ebuild:
152
  Fixed BUG #98357 (-fPIC).
153
154
*htdig-3.2.0_beta6 (06 Jul 2005)
155
156
  06 Jul 2005; Renat Lumpau <rl03@gentoo.org> +files/reconfig,
157
  +htdig-3.2.0_beta6.ebuild:
158
  Added version.
159
160
  12 Feb 2005; Jason Wever <weeve@gentoo.org> htdig-3.1.6-r7.ebuild:
161
  Stable on sparc wrt security bug #80602.
162
163
  10 Feb 2005; Michael Hanselmann <hansmi@gentoo.org> htdig-3.1.6-r7.ebuild:
164
  Stable on ppc.
165
166
  10 Feb 2005; Jan Brinkmann <luckyduck@gentoo.org> htdig-3.1.6-r7.ebuild:
167
  stable on amd64. see #80602
168
169
*htdig-3.1.6-r7 (10 Feb 2005)
170
171
  10 Feb 2005; Aaron Walker <ka0ttic@gentoo.org>
172
  +files/htdig-3.1.6-unescaped-output.diff, -htdig-3.1.6-r5.ebuild,
173
  -htdig-3.1.6-r6.ebuild, +htdig-3.1.6-r7.ebuild:
174
  Revision bump for sec bug 80602; stable on x86.
175
176
  05 Sep 2004; Sven Wegener <swegener@gentoo.org> :
177
  Fixed ChangeLog header.
178
179
  29 Aug 2004; Renat Lumpau <rl03@gentoo.org> :
180
  Symlink htsearch to /usr/bin, see bug #62087. Fix a typo in a dirname.
181
182
*htdig-3.1.6-r5 (26 Aug 2004)
183
184
  26 Aug 2004; Renat Lumpau <rl03@gentoo.org> +metadata.xml,
185
  +htdig-3.1.6-r5.ebuild:
186
  Added metadata.xml
187
188
*htdig-3.1.6-r5 (26 Aug 2004)
189
190
  26 Aug 2004; Renat Lumpau <rl03@gentoo.org> +htdig-3.1.6-r5.ebuild:
191
  Convert to webapp.eclass. Closes #34594, 52592, and helps with #7728, 35275.
192
193
*htdig-3.1.6-r4 (15 Aug 2004)
194
195
  15 Aug 2004; Stuart Herbert <stuart@gentoo.org> +files/CONFIG.in,
196
  +htdig-3.1.6-r4.ebuild:
197
  Moved from net-www/htdig to www-misc/htdig.
198
199
  23 Feb 2004; Michael Sterrett <mr_bones_@gentoo.org> htdig-3.1.6-r4.ebuild:
200
  header fix; mips needs deps before stable; move webapp-detect into unpack
201
202
  15 Dec 2003; Stuart Herbert <stuart@gentoo.org> htdig-3.1.6-r4.ebuild:
203
  Fix for bug #32636
204
205
  16 Nov 2003; Martin Holzer <mholzer@gentoo.org> htdig-3.1.6-r4.ebuild:
206
  added webapps-apache.eclass. Closes #33622
207
208
  16 Nov 2003; Brad House <brad_mssw@gentoo.org> htdig-3.1.6-r4.ebuild:
209
  mark stable on amd64
210
211
  06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
212
 
213
  30 Jul 2002; Dan Armak <danarmak@gentoo.org> ChangeLog  :
214
215
  Don't run rundig from pkg_postinst(). What this did was index the whole
216
  www.htdig.org site! We certainly don't want that. Closes bug #5293.
217
218
*htdig-3.1.6-r4 (27 May 2002)
219
220
  29 Mar 2003; Jan Seidel <tuxus@gentoo.org>
221
  htdig-3.1.6-r4.ebuild :
222
  Added mips to keywords
223
224
  15 Feb 2003; Mark Guertin <gerk@gentoo.org> htdig-3.1.6-r4.ebuild :
225
  set ppc in keywords
226
227
  14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> htdig-3.1.6-r4.ebuild :
228
  Added LICENSE, KEYWORDS, SLOT.
229
230
  27 May 2002; Matthew Kennedy <mkennedy@gentoo.org>
231
  htdig-3.1.6-r4.ebuild, files/digest-htdig-3.1.6-r4, ChangeLog :
232
233
  Adds -Wno-deprecated to CPPFLAGS to allow compilation under
234
  gcc3.1. Resolves bug #3091, thanks to lars.pechan@paradise.net.nz
235
  (Lars Pechan).
236
237
*htdig-3.1.6-r3 (22 May 2002)
238
239
  14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> htdig-3.1.6-r3.ebuild :
240
  Added LICENSE, KEYWORDS, SLOT.
241
242
  22 May 2002; Seemant Kulleen <seemant@gentoo.org> htdig-3.1.6-r3.ebuild
243
  files/digest-htdig-3.1.6-r3 :
244
245
  Fixes the /var/htdig/db directory, and pkg_postinst() now runs the first
246
  run of rundig.  Thanks to steve_flack@ntlworld.com (Steve Flack) in bug
247
  #986.
248
249
*htdig-3.1.6-r2 (25 Apr 2002)
250
251
  14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> htdig-3.1.6-r2.ebuild :
252
  Added LICENSE, KEYWORDS, SLOT.
253
254
  25 Apr 2002; Seemant Kulleen <seemant@gentoo.org> htdig-3.1.6-r2.ebuild
255
  files/digest-htdig-3.1.6-r2 :
256
257
  More fixes from StuBear to place things in correct locations.
258
259
*htdig-3.1.6-r1 (22 Apr 2002)
260
261
  14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> htdig-3.1.6-r1.ebuild :
262
  Added LICENSE, KEYWORDS, SLOT.
263
264
  22 Apr 2002; Seemant Kulleen <seemant@gentoo.org> htdig-3.1.6-r1.ebuild
265
  files/digest-htdig-3.1.6-r1:
266
267
  stuart@palette.plala.or.jp (Stuart Bouyer) in bug report #1970 pointed
268
  out that things were being installed into /usr/bin/bin instead of /usr/bin.
269
270
*htdig-3.1.6 (15 Apr 2002)
271
272
  15 Apr 2002; Seemant Kulleen <seemant@gentoo.org> htdig-3.1.6.ebuild
273
  files/digest-htdig-3.1.6
274
275
  Version bump. This puts the config files properly, etc etc. Needs heavy 
276
  testing, though.
277
278
  9 Mar 2002; Dan Armak <danarmak@gentoo.org> changelog:
279
  
280
  It seems the patchfiles downloaded from the geocities site don't have a constant MD5.
281
  I've put a copy on ibiblio/gentoo and the ebuild now fetches from there.
282
283
*htdig-3.1.5-r2 (7 Mar 2002)
284
285
  7 Mar 2002; Dan Armak <danarmak@gentoo.org> Changelog:
286
  
287
  Added patches to make htdig work with kdevelop. This si only a temporary remedy and 
288
  a big overhaul of the ebuild will come as soon as there's a new maintainer (not me!).
289
  This closes bug #946.
290
291
*htdig-3.1.5-r1 (1 Feb 2002)
292
293
  1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
294
  
295
  Added initial ChangeLog which should be updated whenever the package is
296
  updated in any way. This changelog is targetted to users. This means that the
297
  comments should well explained and written in clean English. The details about
298
  writing correct changelogs are explained in the skel.ChangeLog file which you
299
  can find in the root directory of the portage repository.
(-)a/www-misc/htdig/Manifest (+8 lines)
Line 0 Link Here
1
AUX 0001-remove_rresvport_usage_on_musl.patch 619 SHA256 6286ee4e20df336d4512216ecdef0a4bbe98d1b506490a06802b53d53d32ee09 SHA512 c50a4bab008ae713796324e5b6ab8b4013ea62168c3a0540662f5f5880033e40042fff943a177626226f7dc509ba4fc25184c94555c5d3d46d9c6510feb49bf7 WHIRLPOOL f8ed21100ae837aff91a7ba602d9a9e10c821b3fe05b8def313fab3c211149e3c2fe83ffe5004db2aff97b168f4af6b106c7de6c5f575d83c1a8d02f296581e0
2
AUX htdig-3.2.0_beta6-as-needed.patch 2244 SHA256 3d0e74896a15f698532d4305f0a2257302ee0d275639b5f1d761cba51a6885fa SHA512 8b52aeb60be2cad7a5aadf02ed90044a67cba15d8fe3e3c3a715d99f2b6078d9f8c4dae145975ed0da8f4a973e46f91b5374422c1252cda4e84c6755e41015c4 WHIRLPOOL 81edca6c1d6bf415031fafde6b2cf9309f32eafdcb9c4c427e47e8b6f418e3147ab7ae9d24bd61f292a788d94c5200fa9f9492fc7123afe381f7d78630dc5e75
3
AUX htdig-3.2.0_beta6-gcc4.patch 541 SHA256 729ea1d0fd415b5b144b2b95bba0575c4eef942f77adfbf54bb69e7da7dd58c3 SHA512 9acb44d1cbdbacbb0cb37d9c358e602cf5151bf06f3151da589c3697ddc2d13f576ca8fa7576b967369e8dbe7e41507f973aea60c4e7b99c447370fc0dcf7f5b WHIRLPOOL c01390007f0902619fbc1fbbbbb752ba77d20700ac75359a2cfb63dd18ddd004ffe85e2ef8c4c27f4007dd586cb23c2ceee503cb36a393573c7292a817ff881b
4
AUX htdig-3.2.0_beta6-quoting.patch 1130 SHA256 d84222aa6895305c2ee87f9975bfc348a7872f63ee02a33e862b325f125b8109 SHA512 7edadb8cecb378eac8352e43ce12d5fa6af711f847f1e1ca0a49303daedffb1cef9795b74eb8cd64120e981c57c947f082f60d857985ee5ac0d54537fd6b4181 WHIRLPOOL f2be945441f52c0eba84153d5da1d403272f80dbdcc58fd8b3e300948a258839982bb08c51944251c4fe30926fc8de7f0ecc975f91f98d832687549739ab7b7e
5
DIST htdig-3.2.0b6.tar.gz 3104936 SHA256 6da9e0ee8627d5302f5685a1b3e5de5f1e6e8df4c0a92c0ca00796bca9e546c8 SHA512 29832f4aebd2b1f944cc4d800a5202342c8ce66936980476d49f679ec169c0268a902e85cd7440a3b6bea9db0a3b640bb1a9719c680d857ff00d34590af63064 WHIRLPOOL 63b0635873a24ad84c62fb85b6f9e645b3166630a4db52948604e6179f5f41978ef3c1b663122e8e5b74173c2e1cad269d4d92c5e678dcaf4dbac06d6b930cf3
6
EBUILD htdig-3.2.0_beta6-r99.ebuild 1982 SHA256 541664804773436af98775d6fb34f06d75cb378e42ce9ebd23250a93890e15af SHA512 62bb8f3b99af233a66e341da98d99679dda0b1891dd3bee7208034ca51d4200debafe03c5b7d2043c3429e44b7b76b849600279503dfaf06ed903a5deb283ecd WHIRLPOOL a954b1c4c5197a343b269ca3348ec419f3feb6e1a82bc9498d284363966e71bdbf42e89bd2db2f574b150d59a5530b15cacbbde6928f4bb86937df8b0f839a89
7
MISC ChangeLog 10239 SHA256 f9da00c5454e9aad45076e2acee71f57f68f0349308e11dd15b2e88f3dda7bdc SHA512 3ef21155530f5a94904225a8db0cc27df4e56d4fbeeec375608f9d1edee35c377abab903b115b06d00858628bb27cee960c97966c45cce145e0be1bdd70f514b WHIRLPOOL 783d617df3182ad08c1fc59243e3326c9ad9fa69f4abebeed7bb3b0a5d0034364e8b492615eb4f993f21060d3b807d5b17c52cbdb83a0c5957eedc2a16b3db8a
8
MISC metadata.xml 161 SHA256 9cd891fcf0af580e98b62d2f4ded9e53671599f5a7aafd5dce692b996d2a83f4 SHA512 da8733f12ac4bebcfa485138fd9880683c1196efc0312a588ffce412ed14c1dd831e005129b6598d027af44d381fceb844453a433d0c982348e21f2d9c49f52e WHIRLPOOL 2b56ebef4f0870596c32c35c96e6dfbc911f6a3d8fe0e8c463df76dfa73dde112948c814b9a9ee996b7d71a85e4a723033ee3b92f4cde0f31d0770404d7dba61
(-)a/www-misc/htdig/files/htdig-3.2.0_beta6-quoting.patch (+30 lines)
Line 0 Link Here
1
--- htnet/Connection.cc.orig	2014-12-27 13:40:45.961149583 +0000
Line 0 Link Here
1
--- htdig-3.2.0b6/Makefile.config.orig	2006-11-19 08:49:57.000000000 -0800
Line 0 Link Here
1
diff -Naurp htdig-3.2.0b6.orig/htsearch/Collection.h htdig-3.2.0b6/htsearch/Collection.h
2
--- htdig-3.2.0b6.orig/htsearch/Collection.h	2004-05-28 06:15:24.000000000 -0700
Line 0 Link Here
1
Index: htdig-3.2.0b6/htsearch/Display.cc
2
===================================================================
3
--- htdig-3.2.0b6.orig/htsearch/Display.cc
4
+++ htdig-3.2.0b6/htsearch/Display.cc
5
@@ -137,7 +137,7 @@ Display::display(int pageNumber)
6
       // Must temporarily stash the message in a String, since
7
       // displaySyntaxError will overwrite the static temp used in form.
8
 
9
-      String s(form("No such sort method: `%s'", (const char*)config->Find("sort")));
10
+      String s("invalid sort method");
11
 
12
       displaySyntaxError(s);
13
       return;
14
Index: htdig-3.2.0b6/libhtdig/ResultFetch.cc
15
===================================================================
16
--- htdig-3.2.0b6.orig/libhtdig/ResultFetch.cc
17
+++ htdig-3.2.0b6/libhtdig/ResultFetch.cc
18
@@ -142,7 +142,7 @@ ResultFetch::fetch()
19
         // Must temporarily stash the message in a String, since
20
         // displaySyntaxError will overwrite the static temp used in form.
21
 
22
-        String s(form("No such sort method: `%s'", (const char *) config->Find("sort")));
23
+        String s("invalid sort method");
24
 
25
         displaySyntaxError(s);
26
         //return;
(-)a/www-misc/htdig/htdig-3.2.0_beta6-r99.ebuild (+68 lines)
Line 0 Link Here
1
# Copyright 1999-2013 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/www-misc/htdig/htdig-3.2.0_beta6-r3.ebuild,v 1.12 2013/05/02 04:13:35 patrick Exp $
4
5
inherit eutils autotools
6
7
MY_PV=${PV/_beta/b}
8
S=${WORKDIR}/${PN}-${MY_PV}
9
10
DESCRIPTION="HTTP/HTML indexing and searching system"
11
HOMEPAGE="http://www.htdig.org"
12
SRC_URI="http://www.htdig.org/files/${PN}-${MY_PV}.tar.gz"
13
14
LICENSE="GPL-2"
15
SLOT="0"
16
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
17
IUSE="ssl"
18
19
DEPEND=">=sys-libs/zlib-1.1.3
20
	app-arch/unzip
21
	ssl? ( dev-libs/openssl )"
22
23
src_unpack() {
24
	unpack ${A}
25
26
	cd "${S}"
27
	epatch "${FILESDIR}"/${P}-gcc4.patch
28
	epatch "${FILESDIR}"/${P}-as-needed.patch
29
	epatch "${FILESDIR}"/${P}-quoting.patch
30
	epatch "${FILESDIR}"/0001-remove_rresvport_usage_on_musl.patch
31
	epatch_user
32
	sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.in db/configure.in || die
33
	eautoreconf
34
}
35
36
src_compile() {
37
	use prefix || EPREFIX=
38
39
	econf \
40
		--with-config-dir="${EPREFIX}"/etc/${PN} \
41
		--with-default-config-file="${EPREFIX}"/etc/${PN}/${PN}.conf \
42
		--with-database-dir="${EPREFIX}"/var/lib/${PN}/db \
43
		--with-cgi-bin-dir="${EPREFIX}"/var/www/localhost/cgi-bin \
44
		--with-search-dir="${EPREFIX}"/var/www/localhost/htdocs/${PN} \
45
		--with-image-dir="${EPREFIX}"/var/www/localhost/htdocs/${PN} \
46
		$(use_with ssl)
47
48
#		--with-image-url-prefix="file://${EPREFIX}/var/www/localhost/htdocs/${PN}" \
49
50
	emake || die "emake failed"
51
}
52
53
src_install () {
54
	use prefix || ED="${D}"
55
56
	emake DESTDIR="${D}" install || die "make install failed"
57
58
	dodoc ChangeLog README
59
	dohtml -r htdoc
60
61
	sed -i "s:${D}::g" \
62
		"${ED}"/etc/${PN}/${PN}.conf \
63
		"${ED}"/usr/bin/rundig \
64
		|| die "sed failed (removing \${D} from installed files)"
65
66
	# symlink htsearch so it can be easily found. see bug #62087
67
	dosym ../../var/www/localhost/cgi-bin/htsearch /usr/bin/htsearch
68
}
(-)a/www-misc/htdig/metadata.xml (-1 / +5 lines)
Line 0 Link Here
0
- 
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3
<pkgmetadata>
4
<herd>web-apps</herd>
5
</pkgmetadata>

Return to bug 529384