public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Thode" <prometheanfire@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/openldap/
Date: Fri, 23 Jun 2017 16:34:43 +0000 (UTC)	[thread overview]
Message-ID: <1498235667.eaa4df2ad0d1a6328b82fd01eee327061a7115b2.prometheanfire@gentoo> (raw)

commit:     eaa4df2ad0d1a6328b82fd01eee327061a7115b2
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 23 16:33:38 2017 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Fri Jun 23 16:34:27 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaa4df2a

net-nds/openldap: added sha2 contrib support pre bug 621670 and pr \#4973

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-nds/openldap/metadata.xml           |  3 ++-
 net-nds/openldap/openldap-2.4.45.ebuild | 29 ++++++++++++++++++++++++++++-
 2 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/net-nds/openldap/metadata.xml b/net-nds/openldap/metadata.xml
index cda62a66159..4e5e2c49039 100644
--- a/net-nds/openldap/metadata.xml
+++ b/net-nds/openldap/metadata.xml
@@ -4,7 +4,7 @@
     <maintainer type="project">
         <email>ldap-bugs@gentoo.org</email>
     </maintainer>
-	<use> 
+	<use>
 		<flag name="experimental">Enable experimental backend options</flag>
 		<flag name="kinit">Enable support for kerberos init</flag>
 		<flag name="odbc">Enable ODBC and SQL backend options</flag>
@@ -13,6 +13,7 @@
 			lanman passwords</flag>
 		<flag name="minimal">Build libraries &amp; userspace tools only. Does not install any server code.</flag>
 		<flag name="pbkdf2">Enable support for pbkdf2 passwords</flag>
+		<flag name="sha2">Enable support for pw-sha2 password hashes.</flag>
 	</use>
 	<upstream>
 		<remote-id type="cpe">cpe:/a:openldap:openldap</remote-id>

diff --git a/net-nds/openldap/openldap-2.4.45.ebuild b/net-nds/openldap/openldap-2.4.45.ebuild
index b2493271ba4..e81d3543054 100644
--- a/net-nds/openldap/openldap-2.4.45.ebuild
+++ b/net-nds/openldap/openldap-2.4.45.ebuild
@@ -24,7 +24,7 @@ IUSE_DAEMON="crypt samba slp tcpd experimental minimal"
 IUSE_BACKEND="+berkdb"
 IUSE_OVERLAY="overlays perl"
 IUSE_OPTIONAL="gnutls iodbc sasl ssl odbc debug ipv6 libressl +syslog selinux static-libs"
-IUSE_CONTRIB="smbkrb5passwd kerberos kinit pbkdf2"
+IUSE_CONTRIB="smbkrb5passwd kerberos kinit pbkdf2 sha2"
 IUSE_CONTRIB="${IUSE_CONTRIB} -cxx"
 IUSE="${IUSE_DAEMON} ${IUSE_BACKEND} ${IUSE_OVERLAY} ${IUSE_OPTIONAL} ${IUSE_CONTRIB}"
 
@@ -618,6 +618,33 @@ multilib_src_compile() {
 				pbkdf2.lo || die "linking pw-pbkdf2 failed"
 		fi
 
+		if use sha2 ; then
+			cd "${S}/contrib/slapd-modules/passwd/sha2" || die
+			einfo "Compiling contrib-module: pw-sha2"
+			"${lt}" --mode=compile --tag=CC \
+				"${CC}" \
+				-I"${BUILD_DIR}"/include \
+				-I../../../../include \
+				${CFLAGS} \
+				-o sha2.lo \
+				-c sha2.c || die "compiling pw-sha2 failed"
+			"${lt}" --mode=compile --tag=CC \
+				"${CC}" \
+				-I"${BUILD_DIR}"/include \
+				-I../../../../include \
+				${CFLAGS} \
+				-o slapd-sha2.lo \
+				-c slapd-sha2.c || die "compiling pw-sha2 failed"
+			einfo "Linking contrib-module: pw-sha2"
+			"${lt}" --mode=link --tag=CC \
+				"${CC}" -module \
+				${CFLAGS} \
+				${LDFLAGS} \
+				-rpath "${EPREFIX}"/usr/$(get_libdir)/openldap/openldap \
+				-o pw-sha2.la \
+				sha2.lo slapd-sha2.lo || die "linking pw-sha2 failed"
+		fi
+
 		# We could build pw-radius if GNURadius would install radlib.h
 		cd "${S}/contrib/slapd-modules/passwd" || die
 		einfo "Compiling contrib-module: pw-netscape"


             reply	other threads:[~2017-06-23 16:34 UTC|newest]

Thread overview: 239+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-23 16:34 Matt Thode [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-11  0:51 [gentoo-commits] repo/gentoo:master commit in: net-nds/openldap/ Sam James
2025-02-18  3:39 Sam James
2025-02-18  3:39 Sam James
2025-02-18  3:39 Sam James
2025-02-18  3:39 Sam James
2025-02-18  3:29 Sam James
2025-02-18  3:29 Sam James
2025-02-18  3:29 Sam James
2025-02-18  3:29 Sam James
2025-02-18  3:29 Sam James
2025-02-18  3:29 Sam James
2025-02-18  3:29 Sam James
2025-02-18  3:29 Sam James
2025-02-18  3:29 Sam James
2025-02-18  3:29 Sam James
2025-02-18  3:29 Sam James
2025-02-18  3:29 Sam James
2025-02-18  3:29 Sam James
2025-02-18  3:29 Sam James
2025-02-18  3:29 Sam James
2025-02-18  3:24 Sam James
2025-02-18  3:24 Sam James
2025-02-18  3:24 Sam James
2025-02-18  3:21 Sam James
2025-02-18  3:21 Sam James
2025-02-18  3:21 Sam James
2025-02-18  3:21 Sam James
2025-02-18  3:21 Sam James
2025-02-18  3:21 Sam James
2025-02-18  3:21 Sam James
2025-02-18  2:53 Sam James
2025-02-18  2:53 Sam James
2025-02-18  2:53 Sam James
2025-02-18  2:53 Sam James
2025-02-18  2:53 Sam James
2025-02-18  2:53 Sam James
2025-02-18  2:53 Sam James
2025-02-18  2:53 Sam James
2025-02-18  2:53 Sam James
2025-02-18  2:53 Sam James
2025-02-18  2:48 Sam James
2025-02-18  2:48 Sam James
2024-12-12 12:44 Arthur Zamarin
2024-12-12 12:44 Arthur Zamarin
2024-12-12 12:44 Arthur Zamarin
2024-11-28  6:21 Sam James
2024-11-28  1:41 Sam James
2024-11-28  1:41 Sam James
2024-11-28  1:41 Sam James
2024-11-25 22:38 Sam James
2024-11-23 16:27 Sam James
2024-11-23 16:20 Michał Górny
2024-09-12  6:13 Arthur Zamarin
2024-08-25 20:34 Robin H. Johnson
2024-08-25 20:12 Robin H. Johnson
2024-08-25 20:00 Robin H. Johnson
2024-08-25  0:57 Robin H. Johnson
2024-06-05  7:16 Sam James
2024-06-04 18:23 Arthur Zamarin
2024-06-04 18:23 Arthur Zamarin
2024-03-29 18:47 Sam James
2024-01-05 14:04 Sam James
2023-12-11  4:33 Arthur Zamarin
2023-12-07 16:25 Arthur Zamarin
2023-09-19 17:48 Arthur Zamarin
2023-08-01  5:47 Sam James
2023-08-01  5:47 Sam James
2023-07-17 21:47 Sam James
2023-07-15  8:49 Arthur Zamarin
2023-07-06  6:15 Sam James
2023-07-04  5:07 Robin H. Johnson
2023-07-02 16:31 Sam James
2023-06-12 19:12 Sam James
2023-05-06 16:08 Arthur Zamarin
2023-05-05 15:45 Arthur Zamarin
2023-05-05 15:45 Arthur Zamarin
2023-05-05 15:45 Arthur Zamarin
2023-05-05 15:45 Arthur Zamarin
2023-05-05 15:45 Arthur Zamarin
2023-05-01  1:53 Sam James
2023-03-19  3:22 Sam James
2023-03-19  3:22 Sam James
2023-02-12 23:39 Robin H. Johnson
2023-02-12  6:52 Sam James
2023-02-12  6:52 Sam James
2023-02-12  6:49 Sam James
2023-02-12  6:49 Sam James
2023-02-12  6:22 Sam James
2023-02-10  1:05 Sam James
2023-02-08  1:55 Sam James
2023-01-30 16:46 Mike Gilbert
2023-01-30 15:26 Sam James
2023-01-30 15:26 Sam James
2023-01-30 15:26 Sam James
2023-01-28 21:49 Jakov Smolić
2023-01-28 19:33 Arthur Zamarin
2023-01-28 19:33 Arthur Zamarin
2023-01-19 18:02 Sam James
2023-01-13 16:39 Arthur Zamarin
2023-01-13 16:39 Arthur Zamarin
2023-01-13 16:39 Arthur Zamarin
2023-01-13 16:39 Arthur Zamarin
2023-01-13 16:38 Arthur Zamarin
2022-12-23 21:05 Mike Gilbert
2022-12-16  6:26 Sam James
2022-12-14  5:19 Sam James
2022-12-14  1:53 Sam James
2022-11-20  4:25 Sam James
2022-07-29  3:12 Sam James
2022-07-15  3:31 Sam James
2022-07-15  3:31 Sam James
2022-06-01  5:20 Sam James
2022-05-15  1:00 Sam James
2022-05-13 20:04 Sam James
2022-05-13 12:19 WANG Xuerui
2022-04-15 19:35 Robin H. Johnson
2022-04-15 19:35 Robin H. Johnson
2022-03-22 23:32 Sam James
2022-03-22 23:32 Sam James
2022-03-20 23:08 Robin H. Johnson
2022-03-20 23:08 Robin H. Johnson
2022-03-20  0:53 Sam James
2022-03-19 22:39 Sam James
2022-03-19 22:39 Sam James
2022-01-02 17:49 David Seifert
2021-11-17  7:49 Sam James
2021-10-29  5:55 Agostino Sarubbo
2021-10-29  5:54 Agostino Sarubbo
2021-10-21 23:26 Sam James
2021-10-18 23:49 Sam James
2021-10-18 15:22 Agostino Sarubbo
2021-10-18 15:18 Agostino Sarubbo
2021-09-13 20:30 David Seifert
2021-07-30 23:31 Sam James
2021-06-22 19:59 Sam James
2021-06-22  6:26 Mikle Kolyada
2021-06-03 19:15 Sam James
2021-05-07  7:47 Mikle Kolyada
2021-03-19  9:56 Mikle Kolyada
2021-03-07 11:58 David Seifert
2021-01-26  9:53 Mikle Kolyada
2021-01-26  9:53 Mikle Kolyada
2021-01-24 14:17 Mikle Kolyada
2021-01-12 10:01 Lars Wendler
2020-12-27 17:57 Fabian Groffen
2020-12-18 14:13 Mikle Kolyada
2020-12-18 14:13 Mikle Kolyada
2020-11-21 14:12 Mikle Kolyada
2020-10-28 10:05 Mikle Kolyada
2020-10-28 10:05 Mikle Kolyada
2020-10-18 15:12 Mikle Kolyada
2020-10-18 15:12 Mikle Kolyada
2020-10-09 15:57 Mikle Kolyada
2020-09-25 19:22 Mikle Kolyada
2020-09-11  8:52 Mikle Kolyada
2020-09-11  8:52 Mikle Kolyada
2020-08-26 18:42 Mikle Kolyada
2020-08-26  7:38 Mikle Kolyada
2020-05-17 16:55 Aaron Bauman
2020-05-08 10:21 Mikle Kolyada
2020-05-08 10:21 Mikle Kolyada
2020-05-08 10:21 Mikle Kolyada
2020-05-08 10:21 Mikle Kolyada
2020-05-08 10:21 Mikle Kolyada
2020-05-07 17:11 Sergei Trofimovich
2020-05-04  6:16 Mart Raudsepp
2020-05-03 19:12 Agostino Sarubbo
2020-05-03 19:10 Agostino Sarubbo
2020-05-03 15:05 Agostino Sarubbo
2020-05-02 23:15 Robin H. Johnson
2020-03-18  1:34 Patrick McLean
2020-02-13  1:43 Thomas Deutschmann
2020-02-12 19:10 Mikle Kolyada
2020-02-12 19:07 Mikle Kolyada
2020-02-12 16:46 Mikle Kolyada
2020-02-12 16:38 Mikle Kolyada
2020-02-12 15:22 David Seifert
2019-12-11 14:18 Michał Górny
2019-11-09 22:55 Matt Turner
2019-11-08 15:08 Aaron Bauman
2019-11-01 11:09 Mikle Kolyada
2019-11-01  8:44 Mikle Kolyada
2019-10-11 15:37 Michał Górny
2019-10-03  8:16 Agostino Sarubbo
2019-10-03  8:14 Agostino Sarubbo
2019-10-03  8:12 Agostino Sarubbo
2019-10-03  8:09 Agostino Sarubbo
2019-09-29 19:26 Sergei Trofimovich
2019-07-25  6:46 Lars Wendler
2019-05-05 18:41 Mikle Kolyada
2019-04-28 10:48 Lars Wendler
2019-04-27 20:28 David Seifert
2019-02-22  1:42 Patrick McLean
2019-02-20 15:06 Lars Wendler
2019-02-16 18:58 Aaron Bauman
2018-11-30 20:18 Mikle Kolyada
2018-11-30 20:18 Mikle Kolyada
2018-11-30 20:18 Mikle Kolyada
2018-11-29 20:06 Sergei Trofimovich
2018-11-28 22:35 Sergei Trofimovich
2018-11-28 22:33 Sergei Trofimovich
2018-11-28 22:28 Sergei Trofimovich
2018-11-28 12:35 Mart Raudsepp
2018-11-27 21:55 Thomas Deutschmann
2018-11-27 16:01 Tobias Klausmann
2018-11-27 15:11 Mikle Kolyada
2018-07-15 11:45 Mart Raudsepp
2018-06-03 10:01 Mikle Kolyada
2018-03-16 22:50 Lars Wendler
2017-12-14 22:08 Robin H. Johnson
2017-11-26 23:23 David Seifert
2017-11-05 20:46 Robin H. Johnson
2017-09-02 14:15 Michael Palimaka
2017-07-22 19:37 Mike Gilbert
2017-07-17  0:02 Aaron Bauman
2017-06-21 19:23 Matt Thode
2017-05-26 10:27 David Seifert
2017-02-23 19:09 Robin H. Johnson
2017-02-20  0:36 Robin H. Johnson
2017-02-08 23:38 Robin H. Johnson
2017-02-07 20:07 Patrick McLean
2017-01-24  8:24 Agostino Sarubbo
2017-01-24  8:23 Agostino Sarubbo
2017-01-18 10:02 Agostino Sarubbo
2017-01-15 19:27 Jeroen Roovers
2017-01-13 16:51 Markus Meier
2016-11-28  5:15 Robin H. Johnson
2016-11-23  9:20 Tobias Klausmann
2016-11-19 13:55 Agostino Sarubbo
2016-11-19 13:53 Agostino Sarubbo
2016-11-10  5:00 Mike Frysinger
2016-11-10  5:00 Mike Frysinger
2016-09-29 21:36 Andreas Hüttel
2016-03-03 21:08 Zac Medico
2016-01-22  6:28 Matt Thode
2015-12-03 18:08 Tony Vroon
2015-12-03 18:08 Tony Vroon
2015-09-20 16:39 Julian Ospald

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=1498235667.eaa4df2ad0d1a6328b82fd01eee327061a7115b2.prometheanfire@gentoo \
    --to=prometheanfire@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