Gentoo Archives: gentoo-commits

From: "Gunnar Wrobel (wrobel)" <wrobel@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-misc/htdig: ChangeLog htdig-3.2.0_beta6-r3.ebuild
Date: Mon, 03 Dec 2007 08:13:34
Message-Id: E1Iz6Qf-0003ry-Qz@stork.gentoo.org
1 wrobel 07/12/03 08:13:25
2
3 Modified: ChangeLog
4 Added: htdig-3.2.0_beta6-r3.ebuild
5 Log:
6 -m htdig-3.2.0_beta6-r3 fixes sec bug #200285.
7 (Portage version: 2.1.3.14)
8
9 Revision Changes Path
10 1.35 www-misc/htdig/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/htdig/ChangeLog?rev=1.35&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/htdig/ChangeLog?rev=1.35&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/htdig/ChangeLog?r1=1.34&r2=1.35
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-misc/htdig/ChangeLog,v
19 retrieving revision 1.34
20 retrieving revision 1.35
21 diff -u -r1.34 -r1.35
22 --- ChangeLog 25 Jun 2007 14:21:01 -0000 1.34
23 +++ ChangeLog 3 Dec 2007 08:13:25 -0000 1.35
24 @@ -1,6 +1,12 @@
25 # ChangeLog for www-misc/htdig
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-misc/htdig/ChangeLog,v 1.34 2007/06/25 14:21:01 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/www-misc/htdig/ChangeLog,v 1.35 2007/12/03 08:13:25 wrobel Exp $
29 +
30 +*htdig-3.2.0_beta6-r3 (03 Dec 2007)
31 +
32 + 03 Dec 2007; <wrobel@g.o> +files/htdig-3.2.0_beta6-quoting.patch,
33 + +htdig-3.2.0_beta6-r3.ebuild:
34 + -m htdig-3.2.0_beta6-r3 fixes sec bug #200285.
35
36 25 Jun 2007; Raúl Porcel <armin76@g.o>
37 htdig-3.2.0_beta6-r2.ebuild:
38
39
40
41 1.1 www-misc/htdig/htdig-3.2.0_beta6-r3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/htdig/htdig-3.2.0_beta6-r3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/htdig/htdig-3.2.0_beta6-r3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: htdig-3.2.0_beta6-r3.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/www-misc/htdig/htdig-3.2.0_beta6-r3.ebuild,v 1.1 2007/12/03 08:13:25 wrobel Exp $
51
52 inherit eutils autotools
53
54 MY_PV=${PV/_beta/b}
55 S=${WORKDIR}/${PN}-${MY_PV}
56
57 DESCRIPTION="HTTP/HTML indexing and searching system"
58 SRC_URI="http://www.htdig.org/files/${PN}-${MY_PV}.tar.gz"
59 HOMEPAGE="http://www.htdig.org"
60 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
61 LICENSE="GPL-2"
62
63 DEPEND=">=sys-libs/zlib-1.1.3
64 app-arch/unzip
65 ssl? ( dev-libs/openssl )"
66
67 IUSE="ssl"
68 SLOT="0"
69
70 src_unpack() {
71 unpack "${A}"
72
73 cd "${S}"
74 epatch "${FILESDIR}/${P}"-gcc4.patch
75 epatch "${FILESDIR}/${P}"-as-needed.patch
76 epatch "${FILESDIR}/${P}"-quoting.patch
77 eautoreconf
78 }
79
80 src_compile() {
81 local conf="
82 --with-config-dir=/etc/${PN} \
83 --with-default-config-file=/etc/${PN}/${PN}.conf \
84 --with-database-dir=/var/lib/${PN}/db \
85 --with-cgi-bin-dir=/var/www/localhost/cgi-bin \
86 --with-search-dir=/var/www/localhost/htdocs/${PN} \
87 --with-image-dir=/var/www/localhost/htdocs/${PN}
88 "
89 use ssl && conf="${conf} --with-ssl"
90
91 econf ${conf} || die "configure failed"
92
93 # --with-image-url-prefix=file:///var/www/localhost/htdocs/${PN} \
94
95 emake || die "emake failed"
96 }
97
98 src_install () {
99 emake DESTDIR="${D}" install || die "make install failed"
100
101 dodoc ChangeLog COPYING README
102 dohtml -r htdoc
103
104 dosed /etc/${PN}/${PN}.conf
105 dosed /usr/bin/rundig
106
107 # symlink htsearch so it can be easily found. see bug #62087
108 dosym /var/www/localhost/cgi-bin/htsearch /usr/bin/htsearch
109 }
110
111
112
113 --
114 gentoo-commits@g.o mailing list