From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/mit-krb5/
Date: Fri, 5 Jun 2020 07:12:31 +0000 (UTC) [thread overview]
Message-ID: <1591341145.8aa950ce929fb1c134b96ac0dbc0f63547038334.slyfox@gentoo> (raw)
commit: 8aa950ce929fb1c134b96ac0dbc0f63547038334
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 5 07:05:19 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Jun 5 07:12:25 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aa950ce
app-crypt/mit-krb5: respect user's AR
Reported-by: Agostino Sarubbo
Closes: https://bugs.gentoo.org/475612
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
app-crypt/mit-krb5/mit-krb5-1.18.2-r1.ebuild | 167 +++++++++++++++++++++++++++
1 file changed, 167 insertions(+)
diff --git a/app-crypt/mit-krb5/mit-krb5-1.18.2-r1.ebuild b/app-crypt/mit-krb5/mit-krb5-1.18.2-r1.ebuild
new file mode 100644
index 00000000000..354afa7b16e
--- /dev/null
+++ b/app-crypt/mit-krb5/mit-krb5-1.18.2-r1.ebuild
@@ -0,0 +1,167 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+inherit autotools flag-o-matic multilib-minimal python-any-r1 systemd toolchain-funcs
+
+MY_P="${P/mit-}"
+P_DIR=$(ver_cut 1-2)
+DESCRIPTION="MIT Kerberos V"
+HOMEPAGE="https://web.mit.edu/kerberos/www/"
+SRC_URI="https://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz"
+
+LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="cpu_flags_x86_aes doc +keyutils libressl lmdb nls openldap +pkinit selinux +threads test xinetd"
+
+# Test suite requires network access
+RESTRICT="test"
+
+DEPEND="
+ !!app-crypt/heimdal
+ >=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}]
+ || (
+ >=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}]
+ >=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}]
+ >=dev-libs/libverto-0.2.5[tevent,${MULTILIB_USEDEP}]
+ )
+ keyutils? ( >=sys-apps/keyutils-1.5.8:=[${MULTILIB_USEDEP}] )
+ lmdb? ( dev-db/lmdb )
+ nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
+ openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] )
+ pkinit? (
+ !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] )
+ libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
+ )
+ xinetd? ( sys-apps/xinetd )
+ "
+BDEPEND="
+ ${PYTHON_DEPS}
+ virtual/yacc
+ cpu_flags_x86_aes? (
+ amd64? ( dev-lang/yasm )
+ x86? ( dev-lang/yasm )
+ )
+ doc? ( virtual/latex-base )
+ test? (
+ ${PYTHON_DEPS}
+ dev-lang/tcl:0
+ dev-util/dejagnu
+ dev-util/cmocka
+ )"
+RDEPEND="${DEPEND}
+ selinux? ( sec-policy/selinux-kerberos )"
+
+S=${WORKDIR}/${MY_P}/src
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.12_warn_cflags.patch"
+ "${FILESDIR}/${PN}-config_LDFLAGS-r1.patch"
+ "${FILESDIR}/${PN}-1.16.3-libressl-r1.patch"
+ "${FILESDIR}/${PN}_dont_create_run.patch"
+ "${FILESDIR}/${PN}-1.18-libressl.patch"
+)
+
+MULTILIB_CHOST_TOOLS=(
+ /usr/bin/krb5-config
+)
+
+src_prepare() {
+ default
+ # Make sure we always use the system copies.
+ rm -rf util/{et,ss,verto}
+ sed -i 's:^[[:space:]]*util/verto$::' configure.ac || die
+
+ eautoreconf
+}
+
+src_configure() {
+ # QA
+ append-flags -fno-strict-aliasing
+ append-flags -fno-strict-overflow
+
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ WARN_CFLAGS="set" \
+ econf \
+ $(use_with openldap ldap) \
+ "$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \
+ $(use_enable nls) \
+ $(use_enable pkinit) \
+ $(use_enable threads thread-support) \
+ $(use_with lmdb) \
+ $(use_with keyutils) \
+ --without-hesiod \
+ --enable-shared \
+ --with-system-et \
+ --with-system-ss \
+ --enable-dns-for-realm \
+ --enable-kdc-lookaside-cache \
+ --with-system-verto \
+ --disable-rpath \
+ \
+ AR="$(tc-getAR)"
+}
+
+multilib_src_compile() {
+ emake -j1
+}
+
+multilib_src_test() {
+ multilib_is_native_abi && emake -j1 check
+}
+
+multilib_src_install() {
+ emake \
+ DESTDIR="${D}" \
+ EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
+ install
+}
+
+multilib_src_install_all() {
+ # default database dir
+ keepdir /var/lib/krb5kdc
+
+ cd ..
+ dodoc README
+
+ if use doc; then
+ dodoc -r doc/html
+ docinto pdf
+ dodoc doc/pdf/*.pdf
+ fi
+
+ newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind
+ newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc
+ newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd
+ newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind
+ newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc
+ newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd
+
+ systemd_newunit "${FILESDIR}"/mit-krb5kadmind.service mit-krb5kadmind.service
+ systemd_newunit "${FILESDIR}"/mit-krb5kdc.service mit-krb5kdc.service
+ systemd_newunit "${FILESDIR}"/mit-krb5kpropd.service mit-krb5kpropd.service
+ systemd_newunit "${FILESDIR}"/mit-krb5kpropd_at.service "mit-krb5kpropd@.service"
+ systemd_newunit "${FILESDIR}"/mit-krb5kpropd.socket mit-krb5kpropd.socket
+
+ insinto /etc
+ newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
+ insinto /var/lib/krb5kdc
+ newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
+
+ if use openldap ; then
+ insinto /etc/openldap/schema
+ doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
+ fi
+
+ if use xinetd ; then
+ insinto /etc/xinetd.d
+ newins "${FILESDIR}/kpropd.xinetd" kpropd
+ fi
+}
next reply other threads:[~2020-06-05 7:12 UTC|newest]
Thread overview: 195+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-05 7:12 Sergei Trofimovich [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-22 16:42 [gentoo-commits] repo/gentoo:master commit in: app-crypt/mit-krb5/ Sam James
2024-11-20 16:35 Mike Gilbert
2024-11-20 15:59 Mike Gilbert
2024-10-12 8:31 Eray Aslan
2024-10-12 8:10 Eray Aslan
2024-10-12 7:59 Eray Aslan
2024-09-12 6:13 Arthur Zamarin
2024-09-01 12:37 Eray Aslan
2024-08-31 2:42 Ionen Wolkens
2024-08-31 2:42 Ionen Wolkens
2024-08-31 2:42 Ionen Wolkens
2024-08-31 2:42 Ionen Wolkens
2024-06-30 18:56 Jakov Smolić
2024-06-30 18:38 Arthur Zamarin
2024-06-27 9:48 Sam James
2024-06-27 7:29 Eray Aslan
2024-04-05 7:15 Eray Aslan
2024-04-04 16:23 Arthur Zamarin
2024-04-04 16:23 Arthur Zamarin
2024-04-04 16:23 Arthur Zamarin
2024-03-14 2:25 Sam James
2024-03-03 19:03 Michał Górny
2024-03-01 3:42 Sam James
2024-02-24 21:19 Jakov Smolić
2024-02-24 15:26 Arthur Zamarin
2023-08-17 6:22 Sam James
2023-08-16 6:04 Eray Aslan
2023-07-20 18:33 Eray Aslan
2023-07-20 18:33 Eray Aslan
2023-06-06 10:30 Eray Aslan
2022-11-28 11:39 Eray Aslan
2022-11-28 11:35 Eray Aslan
2022-11-22 4:44 Sam James
2022-11-18 7:42 Jakov Smolić
2022-11-16 5:32 Arthur Zamarin
2022-11-16 5:32 Arthur Zamarin
2022-11-16 5:32 Arthur Zamarin
2022-11-16 5:32 Arthur Zamarin
2022-11-16 5:27 Arthur Zamarin
2022-11-15 21:28 Eray Aslan
2022-11-05 17:11 Agostino Sarubbo
2022-11-04 9:02 Agostino Sarubbo
2022-11-04 8:55 Agostino Sarubbo
2022-11-03 19:44 Arthur Zamarin
2022-09-02 5:52 Sam James
2022-05-28 9:39 Eray Aslan
2022-05-10 1:35 WANG Xuerui
2022-04-17 15:09 David Seifert
2022-03-23 0:14 Sam James
2022-03-15 11:43 Eray Aslan
2022-01-11 13:24 Eray Aslan
2022-01-10 23:01 Sam James
2022-01-08 13:39 Arthur Zamarin
2022-01-07 20:18 Arthur Zamarin
2022-01-07 15:29 Sam James
2022-01-06 19:08 Sam James
2022-01-05 16:09 Arthur Zamarin
2022-01-05 16:04 Arthur Zamarin
2022-01-05 16:04 Arthur Zamarin
2021-12-31 17:50 David Seifert
2021-12-27 7:46 Eray Aslan
2021-08-01 17:44 Sam James
2021-07-31 11:44 Sergei Trofimovich
2021-07-30 22:36 Sam James
2021-07-30 22:36 Sam James
2021-07-30 15:17 Agostino Sarubbo
2021-07-30 15:14 Agostino Sarubbo
2021-07-30 15:10 Agostino Sarubbo
2021-07-29 6:40 Agostino Sarubbo
2021-07-28 15:48 Eray Aslan
2021-07-01 15:53 Marek Szuba
2021-06-23 4:43 Sam James
2021-04-30 21:49 Mikle Kolyada
2021-02-20 7:40 Eray Aslan
2021-02-20 5:55 Eray Aslan
2021-02-20 5:55 Eray Aslan
2021-02-11 15:13 Eray Aslan
2021-01-31 22:03 Conrad Kostecki
2021-01-31 22:03 Conrad Kostecki
2020-11-19 9:02 Eray Aslan
2020-11-19 9:02 Eray Aslan
2020-11-17 19:10 Agostino Sarubbo
2020-11-17 9:21 Joonas Niilola
2020-11-17 8:18 Eray Aslan
2020-11-12 7:41 Sergei Trofimovich
2020-11-12 7:34 Sergei Trofimovich
2020-11-11 4:57 Sam James
2020-11-10 23:49 Sam James
2020-11-10 23:49 Sam James
2020-11-10 21:03 Sam James
2020-11-10 21:03 Sam James
2020-11-10 7:35 Eray Aslan
2020-08-05 5:29 Eray Aslan
2020-07-19 12:47 Agostino Sarubbo
2020-07-18 16:42 Sam James
2020-07-17 15:12 Agostino Sarubbo
2020-07-17 15:09 Agostino Sarubbo
2020-07-17 14:58 Sam James
2020-07-17 7:02 Agostino Sarubbo
2020-05-27 12:56 Mikle Kolyada
2020-04-22 11:11 Eray Aslan
2020-02-14 9:23 Eray Aslan
2019-12-13 6:32 Eray Aslan
2019-09-21 5:20 Matt Turner
2019-09-20 6:39 Sergei Trofimovich
2019-09-16 6:08 Sergei Trofimovich
2019-09-13 18:01 Mikle Kolyada
2019-09-13 17:27 Agostino Sarubbo
2019-09-10 7:10 Agostino Sarubbo
2019-09-10 7:00 Sergei Trofimovich
2019-09-10 6:56 Sergei Trofimovich
2019-09-09 17:23 Agostino Sarubbo
2019-09-09 16:46 Aaron Bauman
2019-09-07 17:50 Matt Turner
2019-06-28 6:23 Michael Haubenwallner
2019-05-05 20:58 Mikle Kolyada
2019-05-05 11:55 Mikle Kolyada
2019-05-04 19:19 Mikle Kolyada
2019-05-04 19:16 Mikle Kolyada
2019-02-16 18:58 Aaron Bauman
2019-01-19 6:03 Eray Aslan
2018-12-15 14:53 Eray Aslan
2018-07-15 11:45 Mart Raudsepp
2018-06-18 18:31 Sergei Trofimovich
2018-06-03 17:16 Mikle Kolyada
2018-05-29 5:35 Eray Aslan
2018-05-27 20:43 Mikle Kolyada
2018-05-10 6:30 Eray Aslan
2018-04-22 20:28 Matt Turner
2018-04-22 20:19 Matt Turner
2018-04-21 9:17 Mikle Kolyada
2018-04-15 19:13 Sergei Trofimovich
2018-04-15 18:58 Thomas Deutschmann
2018-04-15 18:29 Sergei Trofimovich
2018-04-14 16:28 Aaron Bauman
2018-04-08 10:55 Markus Meier
2018-03-31 14:17 Tobias Klausmann
2018-03-29 15:19 Thomas Deutschmann
2018-03-29 2:01 Aaron Bauman
2018-03-25 21:57 Sergei Trofimovich
2018-03-25 21:00 Sergei Trofimovich
2018-03-25 20:32 Sergei Trofimovich
2018-03-16 21:52 Lars Wendler
2018-01-20 16:49 Tobias Klausmann
2017-12-28 21:55 Sergei Trofimovich
2017-12-13 21:12 Markus Meier
2017-12-10 22:59 Sergei Trofimovich
2017-12-09 14:54 Sergei Trofimovich
2017-12-06 20:57 Agostino Sarubbo
2017-11-23 23:20 Sergei Trofimovich
2017-11-20 8:08 Eray Aslan
2017-11-19 15:14 Markus Meier
2017-11-14 21:44 Thomas Deutschmann
2017-11-11 22:28 Sergei Trofimovich
2017-11-11 12:00 Sergei Trofimovich
2017-11-08 13:38 Agostino Sarubbo
2017-11-06 14:18 Tobias Klausmann
2017-11-06 10:02 Sergei Trofimovich
2017-09-28 6:11 Eray Aslan
2017-03-08 7:35 Eray Aslan
2017-03-08 7:35 Eray Aslan
2016-12-13 9:13 Eray Aslan
2016-11-10 22:36 Mike Frysinger
2016-11-10 22:36 Mike Frysinger
2016-09-19 7:30 Eray Aslan
2016-07-25 10:06 Eray Aslan
2016-07-12 12:53 Eray Aslan
2016-07-08 12:02 Agostino Sarubbo
2016-07-08 10:02 Agostino Sarubbo
2016-05-20 13:52 Tobias Klausmann
2016-04-26 17:29 Markus Meier
2016-04-26 11:19 Agostino Sarubbo
2016-04-23 10:31 Jeroen Roovers
2016-04-21 16:01 Eray Aslan
2016-03-15 20:50 Tobias Klausmann
2016-03-15 16:39 Agostino Sarubbo
2016-03-12 11:21 Markus Meier
2016-03-06 15:00 Jeroen Roovers
2016-03-06 8:29 Jeroen Roovers
2016-03-02 14:22 Agostino Sarubbo
2016-03-02 9:47 Eray Aslan
2015-11-23 11:43 Eray Aslan
2015-11-23 11:43 Eray Aslan
2015-11-07 23:23 Mikle Kolyada
2015-11-05 10:58 Agostino Sarubbo
2015-11-04 14:26 Agostino Sarubbo
2015-11-04 5:04 Eray Aslan
2015-11-03 19:20 Markus Meier
2015-11-01 14:43 Tobias Klausmann
2015-10-29 11:43 Agostino Sarubbo
2015-10-29 11:43 Agostino Sarubbo
2015-10-29 7:05 Jeroen Roovers
2015-10-29 6:50 Jeroen Roovers
2015-10-04 19:36 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=1591341145.8aa950ce929fb1c134b96ac0dbc0f63547038334.slyfox@gentoo \
--to=slyfox@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