diff options
Diffstat (limited to 'app-crypt/mit-krb5')
-rw-r--r-- | app-crypt/mit-krb5/Manifest | 7 | ||||
-rw-r--r-- | app-crypt/mit-krb5/files/mit-krb5kadmind.service | 8 | ||||
-rw-r--r-- | app-crypt/mit-krb5/files/mit-krb5kdc.service | 9 | ||||
-rw-r--r-- | app-crypt/mit-krb5/files/mit-krb5kpropd.service | 8 | ||||
-rw-r--r-- | app-crypt/mit-krb5/files/mit-krb5kpropd.socket | 9 | ||||
-rw-r--r-- | app-crypt/mit-krb5/files/mit-krb5kpropd_at.service | 8 | ||||
-rw-r--r-- | app-crypt/mit-krb5/mit-krb5-1.16.ebuild | 163 |
7 files changed, 212 insertions, 0 deletions
diff --git a/app-crypt/mit-krb5/Manifest b/app-crypt/mit-krb5/Manifest index af23bb4c..5a83fee2 100644 --- a/app-crypt/mit-krb5/Manifest +++ b/app-crypt/mit-krb5/Manifest @@ -17,12 +17,17 @@ AUX mit-krb5_krb5-config_LDFLAGS.patch 458 BLAKE2B 969b6ae5de8b280a32e55374c9981 AUX mit-krb5kadmind.confd 76 BLAKE2B ca69357a77ddaf67e2f9c104b17d49af5da9891b13bd855f8b04d54bfb6ccf07ae8c5cb694f65a47646675c844c8f8c7224e8487081df678c73c554498259516 SHA512 dbf968800959f0463899031e823f003e9ece90132f452ebf03df08caf0e6a6e6ca2cfdee91491d269cfa24bef19e72dd33c7d818a4bb13ef85edfb6f0e8299f3 AUX mit-krb5kadmind.initd-r1 592 BLAKE2B 1a40d819ad6d04fa9b5f2f3105d3faf94ad44716df312b194d16cd53c50afbeee9ad66561b7ca7b8e13389060f5f618fd0bdfea1fae82f82ef2510af7b9377a5 SHA512 f0595e9bbcd85badb403af7febce1fa28278bd7fc8118498948171ea12a27ce8b3c479a34b36639d7370193bc69a0b093ae7e3b66473078dabc38864fec931e9 AUX mit-krb5kadmind.initd-r2 612 BLAKE2B ba2a70a7c123d63b9c58f4ec31c3c2366949e6971ff4f203cb38e1efb5a69991533291e118066e680d880c5221168c8eb5b047ec70dac857888330978d1e5a9b SHA512 3791af603380277a9d2632a01a86f96f68c9eb38a2c9574cca462fe9a01bef60f24785051d0215a8d71dd5022f1404e281929278e2bfd31603a0415dd9df6a98 +AUX mit-krb5kadmind.service 137 BLAKE2B fcbb450a9bd39407801c93d7ffe050eadb27adbfe3165f27fe9a6ad1b18464153109bdab61a85a6a908dbb8e57b14d577165d9144a6f311d90167d01a92de748 SHA512 65a507b84e8280a9e417e32f8667941f52802f1afe9de513718db5a414ba84569b95a5c4d84eb9d39c232901c4ae1f674e6c95ea2c6895dc0c495b78ec04a026 AUX mit-krb5kdc.confd 54 BLAKE2B d8cbcf8dfb6e9d249b1990587f7e5880f32f3e69df2b44d7e973adcf3809185de76f0c2a12d3c4c4ff590c26b2e3fcd69aedd3881ef23b0216e5bff57993c62b SHA512 bd51139b644350f464fe4d254cc5036e96a7f5b0156033e1fdeed1acee6867052bddfe3495893295e83f56dfdff1c30a606bd64faeba58cc9a5bcd6cde5c6b9c AUX mit-krb5kdc.initd-r1 556 BLAKE2B 456f1e7b795f1c6e2b551df2473dceb40ef237f2bdf57bbc0c89e7bbd79309cee43ae8ccb0d2628c47270b069e657636e68d0add5c0b6215c9aae5d826b31143 SHA512 d6d0076886ce284fc395fafc2dc253b4b3ee97b2986dea51388d96a1e1294680fb171f475efc7844559e2c6aac44b26678a9255921db9a58dcf2e7164f0aeec5 AUX mit-krb5kdc.initd-r2 572 BLAKE2B f9115cc452891e1267268df6d4beb7eeb69ec27edc924744a6cee957ec8e3d9e1b062fc6a86f83692d95163419f80e1a7c781afd373cd3c135227ede2ebf7f1a SHA512 42cbc315a4e28a78cd29ee6f9aa9401ac6185cc78d39528f0c498d6b04a8edba7b7efadaaeae52ac2c4f89faa846787da9aee645f9ef0bdb79cd6289454586a3 +AUX mit-krb5kdc.service 129 BLAKE2B f1cfb303cfef67c138e04bb2a7e2b61755370819a5dd4cb921ac7590df9c6c9934d49ac719784743c691c93f78b96d8b63609e3dc4c9eb3142451ee6f30f7c87 SHA512 0b4d41f658769b0134764dafeab9008fa0a5916adc9bd9362dfda6f92681d8a8cc4c6b78058b2c2ec6e6e3d991e2de3d883dac1813530ce791cd8df2b73c9658 AUX mit-krb5kpropd.confd 84 BLAKE2B e3f47a3c520af14794c2fe11368651ba56e8aa059babb91b3112af9682403a6409b3fb39ed6313f9cd87169c3754e4c4fc17bc24b0b773cfdf01e7df3eb03490 SHA512 afd1cf21a6afd3bc73b1ef3cb0a26ec3420b26ed31196f8c092ae880b235043273c95e2ecb3b88e65ea008cd8ea6a10553d1966f45646cf5993d5752dfc945ac AUX mit-krb5kpropd.initd-r1 595 BLAKE2B d88e85220ae10a404e0797485a08b0f6f3e9499e4b88fc2b3ca6f71525b2b6c7423a99c9b96eb6dadebc3720c174c4a4376d93986f801ba6b7106825dab54bad SHA512 a18c523aebbb6b8512cd261eac2149c7422214ef6a233e1ceb1b4da9187eeca317ddd75a153b13382571778931bbed00b1803ed015ff01875c8d565b3f3a593f AUX mit-krb5kpropd.initd-r2 608 BLAKE2B 9737f5ff711b8e30444c14ca871e01f2c45e9aecdab99d3dcfd8c16bae65ed05fc732f2007c65f0abfab10cf766035c03c557d217f750ab06f804b639722b27e SHA512 28b9d9bc9d132d8bd87d5fd9e74103d4772f26cba48d28ad53f40ade037a5ac91e07c01aa3180d50c3624673bf4e534f76689b03feb4888cdd9198755576b6a7 +AUX mit-krb5kpropd.service 128 BLAKE2B 31d002c16987bd6fc42e22e64dd9bd1f9db36655dd5170a4f9f16c6a889a4303a4dc276aca09b3a213a1de3e6ab759c66790141708ec95c4393bbbe79e8fb16f SHA512 b7419d1c728eda86fbab2fbf83794ae754e3cdaec7dcdc12c2105e3a75f9903c25fe8fee48f57acf6f0a8c62d27f7934fae81c0cbd67b997541aef7060a4de46 +AUX mit-krb5kpropd.socket 122 BLAKE2B 2ce51e67b909c6955d9796f80f7985c9209af398ad2a60beebe83bd766d42261bd44c712df14608a1e5e922715780a6c4aa8ad294c34ba4e8fc336a24d038fd3 SHA512 4e7ae175425e0787a1d5ff959471a88bf5af4cd6e213dc6d4048902fab7547c1186a082370b523f9549f5096acfab1fb03b4839e42bd80dc539130ae4bb3ea55 +AUX mit-krb5kpropd_at.service 162 BLAKE2B ccd1dea2419656a95ea1e5068457ea45a765a831f36e7abe3e27cdd9b42f2b703cd6ddad1ac60d75feff4d74bf31dbf146ee2cbfdd34ac38c11908d44162e77a SHA512 4b7121da07b11fa65db4edc185c57197ebb25ed5c49797e36bc31b8b7bbb22a6f512f4a986c8430dfc31b1b8fcfba66dcfe154cd6eeb8b4bb445d5006fff3802 DIST krb5-1.12.1-signed.tar 11950080 BLAKE2B 2df810ad7c15b6147f0db083a9dda0ea7dca711e06939bbb1d1e95ddec973a17940b025a5d2d5f88ce194d9bdb54d3ac55c4db45e5f3587241e990ddde4769b8 SHA512 bdb1541f6906e86fb00336a8d7c58f32c1203d1b23fe72bf6e943197a0d85a48a0b847cc2cf18388d3eec0b22aecc206ce804fd1009bb73423bac76900052a9e DIST krb5-1.12.2-signed.tar 11991040 BLAKE2B 53b4d7a94226fa0d99030539df625950c5fde3588fd5299a51aa4349c0a31abac7ed1c12929b385185c3d84325bf27d92d4f4b9dbf344e9116251ebec9532bfe SHA512 27ea2e4810e3770695865aa2bbc9d39793fe3eba82ff1ca85ccbcfa0272a3fe13de21bfff15dc5eef6b7c9d91f7f8d1c42fa4b85fa71958d2b38f867d55c5dff DIST krb5-1.13-signed.tar 12083200 BLAKE2B 6a1217390c1bb9596b197460977323afa15ef8794f8cddfcc1e7448cc1e052c05d0439351d7c10e735339d1672534777b8c71201eb01d3edeaf73b9fa9e571be SHA512 99cf647ab39f5a34acaf2049908f91d3f3822f4afd3b9dad1630b31c72518398069f4f3d3840168122cb12aa5e5540466729bc714fbda96eb9403e635f88d244 @@ -30,6 +35,7 @@ DIST krb5-1.13.2-signed.tar 12113920 BLAKE2B e22f0f5c2f52f8190b8cd4863250fa63ae0 DIST krb5-1.14.1.tar.gz 12259025 BLAKE2B c3ab5c63334bd77b4f0d4ba8d2871e617f956aa71d3f6dc73285407cec240013fc90ebe16de37e2ccf34488bc9b53a5532c0cde6aeac9ff53dc5f3c40e4bae2b SHA512 5d64bb30ecb9e267e2494cea4995d8cc314916d8f6a9318fb80067ae6389ad7468656400d996698b6dc0bdb4c1355c13701b570521a7c40008cf1f83df24847d DIST krb5-1.14.2.tar.gz 12264762 BLAKE2B 6a1e1c5898838924fa38dc46427db865d39dbc893ffa22d6697790cd941165fe766b5e901018743f5033a4e3d153d7566a0e1a5b129b6987ec96708577349ab7 SHA512 8e0d8203740aac78b65a62c0f79998b56dae23725763f645ae13a92dc4263d193e7334f84e278ca873d2b72d425f47cd4b68b58690d029dccce41e8a157b16f0 DIST krb5-1.15.2.tar.gz 9380755 BLAKE2B 3f5d00a70bf44ef077872bde282e4753e82acb70632e136b8f9f8d3a192e3e7b692840803e5a3f67ddb202d53631767ea9eb8b7615d45a3479389a01a6390ac4 SHA512 e5814bb66384b13637c37918df694c6b9933c29c2d952da0ed0dcd2e623b269060b4c16b6c02162039dadebdab99ff1085e37e7621ae4748dafb036424e612c2 +DIST krb5-1.16.tar.gz 9474479 BLAKE2B 0c5caa0a0d2308a447d47ab94d7b8dc92a67ad78b3bac1678c3f3ece3905f27feda5a23d28b3c13ebd64d1760726888c759fb19da82ad960c6f84a433b753873 SHA512 7e162467b95dad2b6aaa11686d08a00f1cc4eb08247fca8f0e5a8bcaa5f9f7b42cdf00db69c5c6111bdf9eb8063d53cef3bb207ce5d6a287615ca10b710153f9 EBUILD mit-krb5-1.12.1-r1.ebuild 4009 BLAKE2B 881e2de7f815b5bf20be8647d13139deb377f7dc015c15b507214388b387fc76373037b992f24ddf06efc8ec08fbc7f14e3801bc284ddcd8bbf740826681e0ef SHA512 d444b3d4fcca3872f774f5acc703d61ee37957cf1fd9257bbe0de5712b841faa366eff80bc5cb3ba40665a423cbc8e48466980f8cf7b0ecfe6d55a55bcb1045f EBUILD mit-krb5-1.12.1-r2.ebuild 4088 BLAKE2B 45876e9d9616b92af9badec088bfe2276ceffd118e2aae993c20b60ec8a897684ee9a6f963353686667e6ae23d1eab6266b4f636e3cfa626e84a105f8a4535f3 SHA512 2faf94a3e4a83c916398dece2c3ed9ed9c075507f263307a31fa533e135afabc87aaafd06d4b2271851147013097f18459a162b1cc766e1c633669958928ef26 EBUILD mit-krb5-1.12.2.ebuild 3896 BLAKE2B 647ebf428d56331dd14d8511921619d442c5e426831fc1c10a93ac202c42468e0af86aa0df28a3805a551c6f3130e9dc67a54d38056f461272202012056e1b8c SHA512 71daf1c8dec8cf73e5c128fed661fcc80b89b708f7f1b789066e4d35478af6cab1c51af8c7a2c6b4d26a8a4fa7a0a38efaf4307c8db24d917bc776c73213403c @@ -41,3 +47,4 @@ EBUILD mit-krb5-1.14.1.ebuild 4029 BLAKE2B d510cc01e3c14c9147fa598255f69e31d90a5 EBUILD mit-krb5-1.14.2.ebuild 4186 BLAKE2B e998158b30327e75d4ade00dcb0ad02a2b3bab70c192af2ce520026fd3015bcac29eb4041c3d7c8a97df4b4c76517f3ae54ffe8a0965f7ea46426725287d8f2a SHA512 d9c65a953e7bc4bf44b6caadd38a975f97bc20888d70cf01081ae310a348371f6f28fb9316ba11bb847e32c5e3791bff3e1c3b39beb471623151cba1b2ab24d7 EBUILD mit-krb5-1.15.2-r1.ebuild 4108 BLAKE2B 9e938431d8172c4ccfa095612a7070805c99ba526252a6ea5ccaf2064cf9328fb78fc2f2dc8350045acb09221d5078fc801411a9d3f842455eb460216c313a31 SHA512 35b4d25e745eb744c5f3d2fe875ef29352874162c370b27f544f2b7833e5beb83b1c2f63abbe58634221f8bc2598e485d42adc5b322adbc46326af01296a7726 EBUILD mit-krb5-1.15.2.ebuild 4050 BLAKE2B bf3cb938c521397dc339c165a15ca79eab6cb88a425ba3bca2d17d0c6f0068f10040bc93db1ef05b6a0b3b88c50f7a26f08fd1750fd19cfa5c6ac611838cf0ef SHA512 c4f8621964980b1c954399cbdefc10699736eaf457d5ddbe0af8b62e513a81ae610b66658f6f12416f9adead9310773db19d5441b88fe948077cf287346b99bc +EBUILD mit-krb5-1.16.ebuild 4425 BLAKE2B d4d900c1b92bd485ee3faa7064daab27e9f63ac1ab33395b2170ca17223bb370cee7b8f8a1934323ce359cbe573d21a47f1b7afceba75f475c5fc42cd8e9846b SHA512 2e16c159ddc4a7556d2336ab37cdc6f02efd684ef3d1a0609042ccaf61df62b8a00a9f879ce982701d56c2ab4bcc62cb4a5ebffd2ac52241984e530a75124193 diff --git a/app-crypt/mit-krb5/files/mit-krb5kadmind.service b/app-crypt/mit-krb5/files/mit-krb5kadmind.service new file mode 100644 index 00000000..f3836c89 --- /dev/null +++ b/app-crypt/mit-krb5/files/mit-krb5kadmind.service @@ -0,0 +1,8 @@ +[Unit] +Description=Kerberos 5 administration server + +[Service] +ExecStart=/usr/sbin/kadmind -nofork + +[Install] +WantedBy=multi-user.target diff --git a/app-crypt/mit-krb5/files/mit-krb5kdc.service b/app-crypt/mit-krb5/files/mit-krb5kdc.service new file mode 100644 index 00000000..6ec93bb7 --- /dev/null +++ b/app-crypt/mit-krb5/files/mit-krb5kdc.service @@ -0,0 +1,9 @@ +[Unit] +Description=Kerberos 5 KDC + +[Service] +ExecStart=/usr/sbin/krb5kdc -n +Restart=always + +[Install] +WantedBy=multi-user.target diff --git a/app-crypt/mit-krb5/files/mit-krb5kpropd.service b/app-crypt/mit-krb5/files/mit-krb5kpropd.service new file mode 100644 index 00000000..a7c5b579 --- /dev/null +++ b/app-crypt/mit-krb5/files/mit-krb5kpropd.service @@ -0,0 +1,8 @@ +[Unit] +Description=Kerberos 5 propagation server + +[Service] +ExecStart=/usr/sbin/kpropd -S + +[Install] +WantedBy=multi-user.target diff --git a/app-crypt/mit-krb5/files/mit-krb5kpropd.socket b/app-crypt/mit-krb5/files/mit-krb5kpropd.socket new file mode 100644 index 00000000..4389290c --- /dev/null +++ b/app-crypt/mit-krb5/files/mit-krb5kpropd.socket @@ -0,0 +1,9 @@ +[Unit] +Description=Kerberos 5 propagation server + +[Socket] +ListenStream=754 +Accept=yes + +[Install] +WantedBy=sockets.target diff --git a/app-crypt/mit-krb5/files/mit-krb5kpropd_at.service b/app-crypt/mit-krb5/files/mit-krb5kpropd_at.service new file mode 100644 index 00000000..f826eb33 --- /dev/null +++ b/app-crypt/mit-krb5/files/mit-krb5kpropd_at.service @@ -0,0 +1,8 @@ +[Unit] +Description=Kerberos 5 propagation server +Conflicts=mit-krb5kpropd.service + +[Service] +ExecStart=/usr/sbin/kpropd +StandardInput=socket +StandardError=syslog diff --git a/app-crypt/mit-krb5/mit-krb5-1.16.ebuild b/app-crypt/mit-krb5/mit-krb5-1.16.ebuild new file mode 100644 index 00000000..27e29741 --- /dev/null +++ b/app-crypt/mit-krb5/mit-krb5-1.16.ebuild @@ -0,0 +1,163 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +inherit autotools eutils flag-o-matic python-any-r1 versionator systemd multilib-minimal + +MY_P="${P/mit-}" +P_DIR=$(get_version_component_range 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 ~sh ~sparc x86" +IUSE="doc +keyutils libressl nls openldap +pkinit selinux sep-usr systemd +threads test xinetd" + +# Test suite require network access +RESTRICT="test" + +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() { + eapply "${FILESDIR}/${PN}-1.12_warn_cflags.patch" + eapply -p2 "${FILESDIR}/${PN}-config_LDFLAGS.patch" + eapply "${FILESDIR}/${PN}-1.12_x32.patch" + + # Make sure we always use the system copies. + rm -rf util/{et,ss,verto} + sed -i 's:^[[:space:]]*util/verto$::' configure.in || die + + eapply_user + eautoreconf +} + +src_configure() { + # 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 nls) \ + $(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 + + if use sep-usr && multilib_is_native_abi; then + # need the libs in / + gen_usr_ldscript -a gssapi_krb5 k5crypto krb5 krb5support + fi +} + +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 + + if use systemd; then + 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 + fi + + 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 +} |