Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52613 - new ebuild for htdig - includes ssl support
Summary: new ebuild for htdig - includes ssl support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-31 12:14 UTC by Benjamin Smee (strerror) (RETIRED)
Modified: 2006-05-01 06:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild with ssl support (htdig-3.1.6-r5.ebuild,1.82 KB, text/plain)
2004-05-31 12:15 UTC, Benjamin Smee (strerror) (RETIRED)
Details
enables ssl support for htdig (3.1.6-ssl.patch,18.63 KB, patch)
2004-05-31 12:16 UTC, Benjamin Smee (strerror) (RETIRED)
Details | Diff
latest htdig + ssl ebuild (htdig-3.1.6-r7.ebuild,1.73 KB, text/plain)
2004-09-28 12:42 UTC, Benjamin Smee (strerror) (RETIRED)
Details
final version (htdig-3.1.6-r7.ebuild,1.74 KB, text/plain)
2004-09-28 13:28 UTC, Benjamin Smee (strerror) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Smee (strerror) (RETIRED) gentoo-dev 2004-05-31 12:14:56 UTC
new ebuild for htdig so that it includes ssl support
Comment 1 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2004-05-31 12:15:57 UTC
Created attachment 32403 [details]
ebuild with ssl support
Comment 2 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2004-05-31 12:16:31 UTC
Created attachment 32404 [details, diff]
enables ssl support for htdig
Comment 3 Renat Lumpau (RETIRED) gentoo-dev 2004-07-18 02:47:18 UTC
see http://bugs.gentoo.org/show_bug.cgi?id=52592 for an ebuild that uses webapp.eclass instead of webapp-apache
Comment 4 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2004-09-28 12:42:43 UTC
Created attachment 40654 [details]
latest htdig + ssl ebuild

latest version, with ssl support and converted to webapp
Comment 5 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2004-09-28 13:26:48 UTC
Comment on attachment 40654 [details]
latest htdig + ssl ebuild

># Copyright 1999-2004 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: /var/cvsroot/gentoo-x86/www-misc/htdig/htdig-3.1.6-r6.ebuild,v 1.1 2004/08/29 16:46:29 rl03 Exp $
>
>inherit webapp eutils
>
>DESCRIPTION="HTTP/HTML indexing and searching system"
>SRC_URI="http://www.htdig.org/files/${P}.tar.gz"
>HOMEPAGE="http://www.htdig.org"
>KEYWORDS="~x86 ~sparc ~ppc ~mips ~amd64"
>LICENSE="GPL-2"
>IUSE="ssl"
>
>DEPEND=">=sys-libs/zlib-1.1.3
>	app-arch/unzip"
>
>export CPPFLAGS="${CPPFLAGS} -Wno-deprecated"
>
>src_unpack() {
>    unpack ${A}
>    cd ${S}
>
>    use ssl && epatch ${FILESDIR}/${PV}-ssl.patch
>}
>
>src_compile() {
>	cd ${S}
>	./configure \
>		--prefix=/usr \
>		--with-config-dir=/${MY_HOSTROOTDIR}/${PN} \
>		--with-cgi-bin-dir=${MY_CGIBINDIR} \
>		--with-common-dir=/usr/share/${PN} \
>		--with-database-dir=${MY_HOSTROOTDIR}/${PN}/db \
>		--with-image-dir=${MY_HTDOCSDIR} \
>		--with-default-config-file=${MY_HOSTROOTDIR}/${PN}/${PN}.conf \
>		|| die
>
>	emake || die
>}
>
>src_install () {
>	webapp_src_preinst
>	dodir ${MY_HOSTROOTDIR}/${PN}
>
>	make 	\
>		DESTDIR=${D} \
>		CONFIG_DIR=${D}/${MY_HOSTROOTDIR}/${PN} \
>		SEARCH_DIR=${D}/${MY_HOSTROOTDIR} \
>		CGIBIN_DIR=${D}/${MY_CGIBINDIR} \
>		COMMON_DIR=${D}/usr/share/${PN} \
>		DATABASE_DIR=${D}/${MY_HOSTROOTDIR}/${PN}/db \
>		IMAGE_DIR=${D}/${MY_HTDOCSDIR} \
>		DEFAULT_CONFIG_FILE=${D}/${MY_HOSTROOTDIR}/${PN}/${PN}.conf \
>		exec_prefix=${D}/usr \
>		install || die
>
>	dodoc ChangeLog COPYING README
>	dohtml -r htdoc
>
>	sed -e "s/@DATABASE_DIR@/\/var\/${PN}\/db/" -i ${D}/${MY_HOSTROOTDIR}/${PN}/htdig.conf
>
>	dosed ${MY_HOSTROOTDIR}/${PN}/${PN}.conf
>	dosed /usr/bin/rundig
>
>	# symlink htsearch so it can be easily found. see bug #62087.
>	dosym ${MY_CGIBINDIR}/htsearch /usr/bin/htsearch
>
>	webapp_src_install
>}
Comment 6 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2004-09-28 13:27:15 UTC
Comment on attachment 40654 [details]
latest htdig + ssl ebuild

># Copyright 1999-2004 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: /var/cvsroot/gentoo-x86/www-misc/htdig/htdig-3.1.6-r6.ebuild,v 1.1 2004/08/29 16:46:29 rl03 Exp $
>
>inherit webapp eutils
>
>DESCRIPTION="HTTP/HTML indexing and searching system"
>SRC_URI="http://www.htdig.org/files/${P}.tar.gz"
>HOMEPAGE="http://www.htdig.org"
>KEYWORDS="~x86 ~sparc ~ppc ~mips ~amd64"
>LICENSE="GPL-2"
IUSE="ssl"
>
>DEPEND=">=sys-libs/zlib-1.1.3
>	app-arch/unzip"
>
>export CPPFLAGS="${CPPFLAGS} -Wno-deprecated"
>
>src_unpack() {
>    unpack ${A}
>    cd ${S}
>
>    use ssl && epatch ${FILESDIR}/${PV}-ssl.patch
>}
>
>src_compile() {
>	cd ${S}
>	./configure \
>		--prefix=/usr \
>		--with-config-dir=/${MY_HOSTROOTDIR}/${PN} \
>		--with-cgi-bin-dir=${MY_CGIBINDIR} \
>		--with-common-dir=/usr/share/${PN} \
>		--with-database-dir=${MY_HOSTROOTDIR}/${PN}/db \
>		--with-image-dir=${MY_HTDOCSDIR} \
>		--with-default-config-file=${MY_HOSTROOTDIR}/${PN}/${PN}.conf \
>		|| die
>
>	emake || die
>}
>
>src_install () {
>	webapp_src_preinst
>	dodir ${MY_HOSTROOTDIR}/${PN}
>
>	make 	\
>		DESTDIR=${D} \
>		CONFIG_DIR=${D}/${MY_HOSTROOTDIR}/${PN} \
>		SEARCH_DIR=${D}/${MY_HOSTROOTDIR} \
>		CGIBIN_DIR=${D}/${MY_CGIBINDIR} \
>		COMMON_DIR=${D}/usr/share/${PN} \
>		DATABASE_DIR=${D}/${MY_HOSTROOTDIR}/${PN}/db \
>		IMAGE_DIR=${D}/${MY_HTDOCSDIR} \
>		DEFAULT_CONFIG_FILE=${D}/${MY_HOSTROOTDIR}/${PN}/${PN}.conf \
>		exec_prefix=${D}/usr \
>		install || die
>
>	dodoc ChangeLog COPYING README
>	dohtml -r htdoc
>
>	sed -e "s/@DATABASE_DIR@/\/var\/${PN}\/db/" -i ${D}/${MY_HOSTROOTDIR}/${PN}/htdig.conf
>
>	dosed ${MY_HOSTROOTDIR}/${PN}/${PN}.conf
>	dosed /usr/bin/rundig
>
>	# symlink htsearch so it can be easily found. see bug #62087.
>	dosym ${MY_CGIBINDIR}/htsearch /usr/bin/htsearch
>
>	webapp_src_install
>}
Comment 7 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2004-09-28 13:28:00 UTC
Created attachment 40659 [details]
final version

lastest version htdig +ssl with IUSE added
Comment 8 Renat Lumpau (RETIRED) gentoo-dev 2006-05-01 06:42:36 UTC
in CVS.