From: "Austin English" <wizardedit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apache/mod_nss/
Date: Thu, 7 Jul 2016 22:50:57 +0000 (UTC) [thread overview]
Message-ID: <1467931845.b33bf2682b7dbe0f66f26d580c62f9b7d20517b3.wizardedit@gentoo> (raw)
commit: b33bf2682b7dbe0f66f26d580c62f9b7d20517b3
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 7 21:41:05 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Thu Jul 7 22:50:45 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b33bf268
www-apache/mod_nss: bump to EAPI 6, add maintainer-needed
Package-Manager: portage-2.2.28
www-apache/mod_nss/metadata.xml | 1 +
www-apache/mod_nss/mod_nss-1.0.12-r1.ebuild | 63 +++++++++++++++++++++++++++++
2 files changed, 64 insertions(+)
diff --git a/www-apache/mod_nss/metadata.xml b/www-apache/mod_nss/metadata.xml
index 743b5c9..e88185d 100644
--- a/www-apache/mod_nss/metadata.xml
+++ b/www-apache/mod_nss/metadata.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+<!-- maintainer-needed -->
<use>
<flag name="ecc">enable Elliptical Curve Cyptography</flag>
</use>
diff --git a/www-apache/mod_nss/mod_nss-1.0.12-r1.ebuild b/www-apache/mod_nss/mod_nss-1.0.12-r1.ebuild
new file mode 100644
index 0000000..d1c7135
--- /dev/null
+++ b/www-apache/mod_nss/mod_nss-1.0.12-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools apache-module eutils
+
+DESCRIPTION="SSL/TLS module for the Apache HTTP server"
+HOMEPAGE="https://fedorahosted.org/mod_nss/"
+SRC_URI="https://fedorahosted.org/released/mod_nss/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+ecc"
+
+DEPEND="
+ >=dev-libs/nspr-4.6.4
+ >=dev-libs/nss-3.11.4
+ sys-apps/sed
+ virtual/pkgconfig
+"
+RDEPEND="
+ >=dev-libs/nspr-4.6.4
+ >=dev-libs/nss-3.11.4
+ net-dns/bind-tools
+"
+
+APACHE2_MOD_CONF="47_${PN}"
+APACHE2_MOD_DEFINE="NSS"
+
+DOCFILES="NOTICE README"
+
+need_apache2
+
+src_prepare() {
+ default
+
+ # setup proper exec name
+ sed -i -e 's/certutil/nsscertutil/' gencert.in || die "sed failed"
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable ecc) --with-apxs=${APXS}
+}
+
+src_compile() {
+ # default src_compile fails:
+ # In file included from mod_nss.c:16:0:
+ # mod_nss.h:51:18: fatal error: nspr.h: No such file or directory
+ emake
+}
+
+src_install() {
+ # override broken build system
+ mv .libs/libmodnss.so .libs/"${PN}".so || die "cannot move lib"
+ dosbin gencert nss_pcache
+ dodoc docs/mod_nss.html
+ newbin migrate.pl nss_migrate
+ dodir /etc/apache2/nss
+ apache-module_src_install
+}
next reply other threads:[~2016-07-07 22:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-07 22:50 Austin English [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-02-13 10:27 [gentoo-commits] repo/gentoo:master commit in: www-apache/mod_nss/ David Seifert
2017-10-27 23:06 Patrice Clement
2017-03-26 18:07 Michael Orlitzky
2016-05-29 13:25 Pacho Ramos
2016-02-12 6:36 Patrick Lauer
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=1467931845.b33bf2682b7dbe0f66f26d580c62f9b7d20517b3.wizardedit@gentoo \
--to=wizardedit@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