aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Shelton <stuart@shelton.me>2016-04-28 09:32:46 +0100
committerStuart Shelton <stuart@shelton.me>2016-04-28 09:32:46 +0100
commitf21a3ccaf0794ae3bcf4cfbd56a1907d7a11af16 (patch)
treeb20f5ac119a2e6a24b4920aa193c9e1efbc1e8d4 /app-crypt
parentAdd www-apps/wordpress-4.5.1 (diff)
downloadsrcshelton-f21a3ccaf0794ae3bcf4cfbd56a1907d7a11af16.tar.gz
srcshelton-f21a3ccaf0794ae3bcf4cfbd56a1907d7a11af16.tar.bz2
srcshelton-f21a3ccaf0794ae3bcf4cfbd56a1907d7a11af16.zip
Add app-crypt/mit-krb5-1.14.2
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/mit-krb5/Manifest2
-rw-r--r--app-crypt/mit-krb5/mit-krb5-1.14.2.ebuild152
2 files changed, 154 insertions, 0 deletions
diff --git a/app-crypt/mit-krb5/Manifest b/app-crypt/mit-krb5/Manifest
index 3c852827..7c78e8e8 100644
--- a/app-crypt/mit-krb5/Manifest
+++ b/app-crypt/mit-krb5/Manifest
@@ -25,6 +25,7 @@ DIST krb5-1.12.2-signed.tar 11991040 SHA256 09bd180107b5c2b3b7378c57c023fb02a103
DIST krb5-1.13-signed.tar 12083200 SHA256 dc8f79ae9ab777d0f815e84ed02ac4ccfe3d5826eb4947a195dfce9fd95a9582 SHA512 99cf647ab39f5a34acaf2049908f91d3f3822f4afd3b9dad1630b31c72518398069f4f3d3840168122cb12aa5e5540466729bc714fbda96eb9403e635f88d244 WHIRLPOOL 4cb9bff7c9bf97cbe2a41eaa0f253a8c891b9beff9a2e65f1652eae235c90b811efeae1ee7b608e90ad993a3959a787a06a34f62cec1a709b2fe6ec59f91e3d1
DIST krb5-1.13.2-signed.tar 12113920 SHA256 e528c30b0209c741f6f320cb83122ded92f291802b6a1a1dc1a01dcdb3ff6de1 SHA512 d3f8dde220876bd24703c488122ba8e54ffaa7f8f2c7d325e5d198a4e171248673fc1d5d3c997c6d2e66c314e2b7f4609eb980a789c3556a79458ab4411e61b5 WHIRLPOOL 9f29f4d76b7b2225f18707a95b217ce0eab7ae963ba547460fa6e7ffdc43e3c350ae070265c52b9751a70f80a95086e39c29dc2c44e0a22d17f9b48f7bf838f7
DIST krb5-1.14.1.tar.gz 12259025 SHA256 c8faa44574246f5bd0ce5a3dedc48c32db48a74cc4323949bf70f0ac2d6f1a99 SHA512 5d64bb30ecb9e267e2494cea4995d8cc314916d8f6a9318fb80067ae6389ad7468656400d996698b6dc0bdb4c1355c13701b570521a7c40008cf1f83df24847d WHIRLPOOL 2d4ab7e8e65d27ce207bd1d254586f95c8b219c01d2deb2fe60f8d5f84e13cd52881bbc2b51c1ee2d40a81570afa15d46c8446e5c6ec052e7621b76d34b72a7d
+DIST krb5-1.14.2.tar.gz 12264762 SHA256 6bcad7e6778d1965e4ce4af21d2efdc15b274c5ce5c69031c58e4c954cda8b27 SHA512 8e0d8203740aac78b65a62c0f79998b56dae23725763f645ae13a92dc4263d193e7334f84e278ca873d2b72d425f47cd4b68b58690d029dccce41e8a157b16f0 WHIRLPOOL 18a3729f5bfb928318f5cc28c919cbc49ee9179199ee82445922a5f2e8afbf4ed5a31f7e710877f8c12ef75f326723e7410608ce538983ce1b811e16091d72a1
EBUILD mit-krb5-1.12.1-r1.ebuild 4009 SHA256 754f635b805cdefd932ecf09f8bb9e1a40b1f6032cd30de8170be0acf8c60ac8 SHA512 d444b3d4fcca3872f774f5acc703d61ee37957cf1fd9257bbe0de5712b841faa366eff80bc5cb3ba40665a423cbc8e48466980f8cf7b0ecfe6d55a55bcb1045f WHIRLPOOL ba34915302c5f75c2cc7024db4d24ba9389e3e1367436137a787e1864f491dc4b976624dbc48cdce2dc6ae72e192625f4877d0224fcda82c8df2d30cf4b5f1d7
EBUILD mit-krb5-1.12.1-r2.ebuild 4088 SHA256 2e3cb5b6977c1baa4b346fb232ec3d91cc59de593d5d10971f083317301e3a3c SHA512 2faf94a3e4a83c916398dece2c3ed9ed9c075507f263307a31fa533e135afabc87aaafd06d4b2271851147013097f18459a162b1cc766e1c633669958928ef26 WHIRLPOOL 851f437eca9f9412d4711ea27aeecbb4b1e2ae8f2b8400f1bad0388585390228cf331d74c90e470bd14bc6096443f17f365f929167ed9d05576b64228e76a4ef
EBUILD mit-krb5-1.12.2.ebuild 3896 SHA256 55106a2d0ca87f9553eac7c12d9cf6d83f9bd0548f5787aec9f60873f6631791 SHA512 71daf1c8dec8cf73e5c128fed661fcc80b89b708f7f1b789066e4d35478af6cab1c51af8c7a2c6b4d26a8a4fa7a0a38efaf4307c8db24d917bc776c73213403c WHIRLPOOL 6d20a1c42a4991516cd1664e568bc2f23fbff33ee40507e28cb742d445f28a21471d9d40c2fe85944970eb420386a62758659c60dd08fe5e176a9a4e20c8b012
@@ -33,3 +34,4 @@ EBUILD mit-krb5-1.13.2-r2.ebuild 4210 SHA256 9d7d32d93fb8d5b88b1d30bec6fd37aa163
EBUILD mit-krb5-1.13.2.ebuild 3833 SHA256 b82c44999dbad0d6e797713c769bae89b0798d9f0e7d5e6d0bf1bf9c8beaaa04 SHA512 f5ae8ec76e4f1cff1efa1c69dd05921c48bd9201cb64021769b90c6d23fe1a66536a33e12023b09b3913ebfe5da309bd68c244f1244248353cf1ab9317abb8c2 WHIRLPOOL 63a99593fc6cfb3044d8e044931a6d44fceff2b9cffb32b3dc6fd4437e918aa5517837132ed6ebd066328ee2e3136eda5a42fbc849d97df0bb783dfcd0077aa6
EBUILD mit-krb5-1.13.ebuild 3895 SHA256 c15017751d09ff6095b5e6cce2415c13a74d2281f3da39fc9f14694eed512149 SHA512 d265c55c77d82eca123d5bf0a50e6a545b690d8021b3c088d8ddc4f43ca9685104d9fc30dc685cfe9504000c09df8abe431bb96729dea6a743e2af74e15d8424 WHIRLPOOL affba0ab24ac20733bcb7098b0b6b71ab2d9331bfa5ad930bc9bd8e46cf9b152158a546a5282ed9cd8abff40779e59f1936fab9f1872a0eed1053be1ca3bbb70
EBUILD mit-krb5-1.14.1.ebuild 4029 SHA256 7306ef12e4a90b89f701868d3502b787acf5a2f86c431e381e7040a5bfb47fa2 SHA512 809155514b7dd3df5c7e1f41b63365bbf574d50c0b331f3ea6220fae65b5ad8d5eff8566bc049ba1058714a850741e2b89f2f499efeb008d5fb89b0bfa3af0a1 WHIRLPOOL ca567968ebd3ed546dbd40fb7ea4c4803e8c4f11abad811e2533b69c11ac2f6739d086e751966486a303d6cb12b02c9990208ff220b452a8daa54010063ec2c5
+EBUILD mit-krb5-1.14.2.ebuild 4034 SHA256 990b156f1ea6b758fd324ddd994739746c184a5947fbb1db3449f4c838664329 SHA512 e49520058b0ef9ad21d8ad7ba786c551de1ee9e8e8c046ea70b90ac5bacc5a280477f32219589fe9b15dc7015a512bad57bbea2c7c6460a14eb852abe9dbc5e0 WHIRLPOOL 14d918501c0f1bec841d65a58902f8df6fbe749963bdcdcf481e8e6832e66a7a32e1714fe1d5e22b4cc61de16df9c57a2f40dea195d2d5fe5ff2b0f881b991b8
diff --git a/app-crypt/mit-krb5/mit-krb5-1.14.2.ebuild b/app-crypt/mit-krb5/mit-krb5-1.14.2.ebuild
new file mode 100644
index 00000000..5eed86f5
--- /dev/null
+++ b/app-crypt/mit-krb5/mit-krb5-1.14.2.ebuild
@@ -0,0 +1,152 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id: f38ceeba69c234650c472890385e6cdb95d03634 $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+inherit autotools eutils flag-o-matic python-any-r1 versionator multilib-minimal
+
+MY_P="${P/mit-}"
+P_DIR=$(get_version_component_range 1-2)
+DESCRIPTION="MIT Kerberos V"
+HOMEPAGE="http://web.mit.edu/kerberos/www/"
+SRC_URI="http://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 ~sh ~sparc ~x86"
+IUSE="doc +keyutils libressl openldap +pkinit selinux +threads test xinetd"
+
+CDEPEND="
+ !!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}] )
+ 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[${MULTILIB_USEDEP}] )
+ )
+ xinetd? ( sys-apps/xinetd )
+ abi_x86_32? (
+ !<=app-emulation/emul-linux-x86-baselibs-20140508-r1
+ !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
+ )"
+DEPEND="${CDEPEND}
+ ${PYTHON_DEPS}
+ virtual/yacc
+ doc? ( virtual/latex-base )
+ test? (
+ ${PYTHON_DEPS}
+ dev-lang/tcl:0
+ dev-util/dejagnu
+ )"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-kerberos )"
+
+S=${WORKDIR}/${MY_P}/src
+
+MULTILIB_CHOST_TOOLS=(
+ /usr/bin/krb5-config
+)
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-1.12_warn_cflags.patch"
+ epatch "${FILESDIR}/${PN}-config_LDFLAGS.patch"
+ epatch "${FILESDIR}/${PN}-1.12_x32.patch"
+
+ eautoreconf
+}
+
+src_configure() {
+ append-cppflags "-I${EPREFIX}/usr/include/et"
+ # QA
+ append-flags -fno-strict-aliasing
+ append-flags -fno-strict-overflow
+
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ use keyutils || export ac_cv_header_keyutils_h=no
+ ECONF_SOURCE=${S} \
+ WARN_CFLAGS="set" \
+ econf \
+ $(use_with openldap ldap) \
+ "$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \
+ $(use_enable pkinit) \
+ $(use_enable threads thread-support) \
+ --without-hesiod \
+ --enable-shared \
+ --with-system-et \
+ --with-system-ss \
+ --enable-dns-for-realm \
+ --enable-kdc-lookaside-cache \
+ --with-system-verto \
+ --disable-rpath
+}
+
+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
+ dohtml -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
+
+ 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
+}
+
+pkg_preinst() {
+ if has_version "<${CATEGORY}/${PN}-1.8.0" ; then
+ elog "MIT split the Kerberos applications from the base Kerberos"
+ elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp,"
+ elog "ftp clients and telnet, ftp deamons now live in"
+ elog "\"app-crypt/mit-krb5-appl\" package."
+ fi
+}