public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-misc/htdig/
Date: Sat, 21 Nov 2015 07:22:37 +0000 (UTC)	[thread overview]
Message-ID: <1448090948.2275d15bc2b99d7c6ebef2f5b32b482ced16283d.blueness@gentoo> (raw)

commit:     2275d15bc2b99d7c6ebef2f5b32b482ced16283d
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 21 07:29:08 2015 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Nov 21 07:29:08 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2275d15b

www-misc/htdig: bump to EAPI=5, add libressl support

Package-Manager: portage-2.2.20.1

 www-misc/htdig/htdig-3.2.0_beta6-r4.ebuild | 62 ++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git a/www-misc/htdig/htdig-3.2.0_beta6-r4.ebuild b/www-misc/htdig/htdig-3.2.0_beta6-r4.ebuild
new file mode 100644
index 0000000..2b481fb
--- /dev/null
+++ b/www-misc/htdig/htdig-3.2.0_beta6-r4.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils autotools
+
+MY_PV=${PV/_beta/b}
+S=${WORKDIR}/${PN}-${MY_PV}
+
+DESCRIPTION="HTTP/HTML indexing and searching system"
+HOMEPAGE="http://www.htdig.org"
+SRC_URI="http://www.htdig.org/files/${PN}-${MY_PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
+IUSE="libressl ssl"
+
+DEPEND=">=sys-libs/zlib-1.1.3
+	app-arch/unzip
+	ssl? (
+		!libressl? ( dev-libs/openssl:0 )
+		libressl? ( dev-libs/libressl )
+	)"
+
+src_prepare() {
+	epatch "${FILESDIR}"/${P}-gcc4.patch
+	epatch "${FILESDIR}"/${P}-as-needed.patch
+	epatch "${FILESDIR}"/${P}-quoting.patch
+	sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.in db/configure.in || die
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+		--with-config-dir="${EPREFIX}"/etc/${PN} \
+		--with-default-config-file="${EPREFIX}"/etc/${PN}/${PN}.conf \
+		--with-database-dir="${EPREFIX}"/var/lib/${PN}/db \
+		--with-cgi-bin-dir="${EPREFIX}"/var/www/localhost/cgi-bin \
+		--with-search-dir="${EPREFIX}"/var/www/localhost/htdocs/${PN} \
+		--with-image-dir="${EPREFIX}"/var/www/localhost/htdocs/${PN} \
+		$(use_with ssl)
+
+#		--with-image-url-prefix="file://${EPREFIX}/var/www/localhost/htdocs/${PN}" \
+}
+
+src_install () {
+	emake DESTDIR="${D}" install || die "make install failed"
+
+	dodoc ChangeLog README
+	dohtml -r htdoc
+
+	sed -i "s:${D}::g" \
+		"${ED}"/etc/${PN}/${PN}.conf \
+		"${ED}"/usr/bin/rundig \
+		|| die "sed failed (removing \${D} from installed files)"
+
+	# symlink htsearch so it can be easily found. see bug #62087
+	dosym ../../var/www/localhost/cgi-bin/htsearch /usr/bin/htsearch
+}


             reply	other threads:[~2015-11-21  7:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-21  7:22 Anthony G. Basile [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-10-24  8:02 [gentoo-commits] repo/gentoo:master commit in: www-misc/htdig/ Sergei Trofimovich
2017-10-24 19:23 Sergei Trofimovich
2017-10-24 21:54 Sergei Trofimovich
2017-10-25 23:49 Manuel Rüger
2017-10-26 20:44 Thomas Deutschmann
2017-11-02 14:33 Tobias Klausmann
2018-01-02 19:54 Sergei Trofimovich
2018-04-18 19:07 Sergei Trofimovich
2019-10-20 12:21 David Seifert
2019-10-20 12:21 David Seifert
2021-05-02 12:37 Mikle Kolyada
2021-06-16 14:02 Sam James
2024-04-01 15:18 Viorel Munteanu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1448090948.2275d15bc2b99d7c6ebef2f5b32b482ced16283d.blueness@gentoo \
    --to=blueness@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox