summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2015-04-03 17:49:08 +0200
committerAnthony G. Basile <blueness@gentoo.org>2015-04-03 15:46:07 -0400
commit09c1db0d180591fc6b08a0b6d2fa23652814796e (patch)
tree971fa5cc0fa851be4a672379614fd685c2dd341d
parentf136e1ad51364c29ad132e1602786eee12e3687f (diff)
downloadhardened-dev-09c1db0d180591fc6b08a0b6d2fa23652814796e.tar.gz
hardened-dev-09c1db0d180591fc6b08a0b6d2fa23652814796e.tar.bz2
hardened-dev-09c1db0d180591fc6b08a0b6d2fa23652814796e.tar.xz
hardened-dev-09c1db0d180591fc6b08a0b6d2fa23652814796e.zip
app-crypt/mit-krb5: In tree version works fine
-rw-r--r--app-crypt/mit-krb5/Manifest14
-rw-r--r--app-crypt/mit-krb5/files/kpropd.xinetd11
-rw-r--r--app-crypt/mit-krb5/files/mit-krb5-1.11.4-add-netdb_h.patch11
-rw-r--r--app-crypt/mit-krb5/files/mit-krb5-1.11_uninitialized.patch78
-rw-r--r--app-crypt/mit-krb5/files/mit-krb5-1.12_uninitialized.patch55
-rw-r--r--app-crypt/mit-krb5/files/mit-krb5-config_LDFLAGS.patch12
-rw-r--r--app-crypt/mit-krb5/files/mit-krb5_krb5-config_LDFLAGS.patch12
-rw-r--r--app-crypt/mit-krb5/files/mit-krb5kadmind.initd-r125
-rw-r--r--app-crypt/mit-krb5/files/mit-krb5kdc.initd-r124
-rw-r--r--app-crypt/mit-krb5/files/mit-krb5kpropd.initd-r124
-rw-r--r--app-crypt/mit-krb5/metadata.xml16
-rw-r--r--app-crypt/mit-krb5/mit-krb5-1.11.4-r99.ebuild128
-rw-r--r--app-crypt/mit-krb5/mit-krb5-1.12.1-r99.ebuild128
13 files changed, 0 insertions, 538 deletions
diff --git a/app-crypt/mit-krb5/Manifest b/app-crypt/mit-krb5/Manifest
deleted file mode 100644
index da9d39a..0000000
--- a/app-crypt/mit-krb5/Manifest
+++ /dev/null
@@ -1,14 +0,0 @@
-AUX kpropd.xinetd 194 SHA256 eaa3838a6ca8db901db359cac3435d4f703a9a10534f02eeb37f494dd21a1736 SHA512 c9bbd13f2fadfd2a925bfae834ba61f227cd4386b4c4466b5227d93c792f4549778ef4d6e08353372df99804459277c71f61b41ec71f3afcc600d73c5705f72f WHIRLPOOL d77ae7b0094c4f42a7ea9cee5d36d0dba844a9ed5d59c621e47c7fa4b75c84fec3414e079c570513711b378d1b0fef61156f675a0df79ee61540d9492416fe42
-AUX mit-krb5-1.11.4-add-netdb_h.patch 416 SHA256 c927969aab58baefbcf071eb8ff57d3066e66363b5d342cc12f55a291b34c863 SHA512 19cb06f4737926e2614c3b6ae01c32e1a4ff8d94c160b9dcc6f0d346df907588f55a37d94a8fe3f3d2004c82643a99761931ff501a0ebd3e3643def649db802a WHIRLPOOL 5e54ebd65238b9ce4bae7dcb4045c1da5ff618e2cfd101a4abb37aea0b8859da214be9a36b7714ba967159490610c204e4b320c41d262ed107e3729b8b2dc8c5
-AUX mit-krb5-1.11_uninitialized.patch 2337 SHA256 d0319626a6997e0fe34fae831ff376e09f476e043bc18bd25e97e962ad40306d SHA512 c53faf11ec8fee56af6a814740ab29f474bb603977dd0d2f7a893a7437c4d02eb274b1abc4a5db3e1138f261ecf39d9cfe664f12db24748ba6ff09db86fe6774 WHIRLPOOL c33f953bfb05d737117a681ecdd552ba2d2345f0c0f14e1bc7265775223ea5d21ddd68a0cc7c7d6d8947960bc4448889680130bfc7642f4f7526d8b8ae9d5e2a
-AUX mit-krb5-1.12_uninitialized.patch 1400 SHA256 7a2f7a1bf2790114bddcedb968ad170e4d11ef9529543e8aad3020dea06e2cb3 SHA512 f0a083afe5898b13f907683ad1e678b01ffbf319cc12b4e3c6682ec07e8a2967482e12e4dc120a6a1e4f40afe79055320a50a357a3410fd16b455791228df60c WHIRLPOOL d5a7bbd0403190ae6b8c806d934b264f748c8066f202a917e629820fe9e1b382e2daf1be9b2b2cd1bd363c0487cb22f2774cd1a381034b4b3464cf7aeafc1929
-AUX mit-krb5-config_LDFLAGS.patch 466 SHA256 fbb4d9be71ef536a344d415b9c56ea42c5c2a2ef02ec3a866d9da47b3acd93d3 SHA512 9a1ca9b33e7708346eda78d199fdc51f0d7bd08d3d65ea15a19955a6155ab71b8ee0c8989859d6dff293a141f197ea19394a91b3b641181140a289b743e0f0e7 WHIRLPOOL f6c58e652c4c365c4f28894d404413a075cc6c5323f83b18d711dc831bb574623db371ccbc1a5aae0ddf030a1b85e1ad50c06f5904ae5554bb4026e464a2c75f
-AUX mit-krb5_krb5-config_LDFLAGS.patch 458 SHA256 9ebfc38cc167bbf451105807512845cd961f839d64b7e2904a6c4e722e41fe2b SHA512 8118518e359cb5e69e3321b7438b200d5d74ceeac16b4623bf4e4bfb4ead6c656de6fa153f9bcc454097b45a512bc8cd0798b1f062a2c4a09f75253b204a7a17 WHIRLPOOL 61d4a6ba6ef4114c8277330c36e0e6c2c625536c8011d1badd1dd5393c4549f63e5402520a6260bf81c5d9e512a76a9b1b4369eb9e9d13379e5ff887cf67d750
-AUX mit-krb5kadmind.initd-r1 592 SHA256 3e55c79f19aaa6ef6b64a621c03dbb2eac3ad923916dc803f4c1bfe48ce89fbb SHA512 f0595e9bbcd85badb403af7febce1fa28278bd7fc8118498948171ea12a27ce8b3c479a34b36639d7370193bc69a0b093ae7e3b66473078dabc38864fec931e9 WHIRLPOOL 16147fc873ad16c16410e82df817fdb7ff068ef5cc1c50d9bb5558f134db36d516ab80628714e836a20883d0d1dfd17bfca5a41225be4ecca270580f2db28e70
-AUX mit-krb5kdc.initd-r1 556 SHA256 709309dea043aa306c2fcf0960e0993a6db540c220de64cf92d6b85f1cca23c5 SHA512 d6d0076886ce284fc395fafc2dc253b4b3ee97b2986dea51388d96a1e1294680fb171f475efc7844559e2c6aac44b26678a9255921db9a58dcf2e7164f0aeec5 WHIRLPOOL 87e54c3df6b8b45058fe0c90c25946e37228aba32077ebcb595a82a0a6fc7268a516dcb1cfd0ce3fd82afedf19b5df2399ac05931f207d0f3d2e26afd590abef
-AUX mit-krb5kpropd.initd-r1 595 SHA256 c374ea05d7e9f15e10c8f9dbd0cad6548e0f92aef7de33e5dbc27222e9407e7b SHA512 a18c523aebbb6b8512cd261eac2149c7422214ef6a233e1ceb1b4da9187eeca317ddd75a153b13382571778931bbed00b1803ed015ff01875c8d565b3f3a593f WHIRLPOOL 869f8aec4764a12b5b5506a2fab8ea2641b58cb347a1db60110cccbb011dc51ab9115824828184abc55efccf540d6b014a57e0891b1d6d4ce28ff35405197aeb
-DIST krb5-1.11.4-signed.tar 11683840 SHA256 5c294612dcaf830958786056e898384931490eaf7b3290c3af5d2def2312fb97 SHA512 03d4d77681d7ba6f0324dc45f8457f6a5e3be23198c8ffa19fc9542b4455ec0738f78131a054e6d501396d3f66a29677d374726d068a83f6dddf7b7b7db18c6c WHIRLPOOL e710045332d21d5d52d22b746f46e9aa56dc5bf67a1d6e5e0b107f5b4aab6a4aba9ff31a374f865348123d0a61156546214a5929bd1c5a7b0a0e6f8ec599fa74
-DIST krb5-1.12.1-signed.tar 11950080 SHA256 72f1b6c166cb42c0b03814ab7ea10f91926d8a665a5ba1cee430a3f31e62c580 SHA512 bdb1541f6906e86fb00336a8d7c58f32c1203d1b23fe72bf6e943197a0d85a48a0b847cc2cf18388d3eec0b22aecc206ce804fd1009bb73423bac76900052a9e WHIRLPOOL 19021c52df7ceb64703c25e2cb9e643d2c62f180b65bf99aab04caeb2e0014b3c0e486609f4c36e618a00621c57d1291075299ea34b8550b255fe1000484291e
-EBUILD mit-krb5-1.11.4-r99.ebuild 3303 SHA256 bc4cd4691938211ba5b3e06f98828c5c101c37b0ecedf9b9f386143046c85451 SHA512 d362cf217e5f67b1d909391a3767f50abab17358c8a375e91254d751fdeb13be3e50ea9be01f9ce125fcb351e7647f8b00b95f91fda0a8855f62ebcd5b5232b4 WHIRLPOOL 82c675433570089f60a561542684650c8a2363c96d615000d9d2bfc9a6f187d7ed5bf10f4dc159c2fb0131a65e9ebe0e965a7ac3cef89612b3bfbc7a9cddfe50
-EBUILD mit-krb5-1.12.1-r99.ebuild 3291 SHA256 8a32c670ec282f86277bd9793f6d70ea6fcd6d449fa7b51e8cc1c1378a3388e9 SHA512 1a2e9c3f96416c79e142fdf3d085ef0cc47ffec1cd718b886059a1115dbed19de4269938f43755309e3ef52e44f1d2c8750bb03b19cb7b2375e90f609256cc55 WHIRLPOOL 339c5ac8692670c80e45c3279cfb07d97e844011760f0820ac0a98d9aa69408a9bf6f6f80ad5bf9184b221f0a0076c57780f92f081429fb5ed64215782664863
-MISC metadata.xml 668 SHA256 da5862dde92f34b882870961cb9f1e4aa8209fc549e32a43d99770a9de8b232d SHA512 0038aeb7cda74161d2e2fe97c5124ee6cc86a24b9503714c128cd8b9af8b8050a89cf5dd3aadd66b1714c1d1aeb8564d50479547a586200793ea485e9f9c6c8b WHIRLPOOL 52394a4f4d5acb11f3bf2e76e036707c7f7741990d70bafb5c87a6da5d191b6aee3cb8383f6e66694cbda7458eb1a869c7ec8758750741835e2f1af4e028378c
diff --git a/app-crypt/mit-krb5/files/kpropd.xinetd b/app-crypt/mit-krb5/files/kpropd.xinetd
deleted file mode 100644
index af542fc..0000000
--- a/app-crypt/mit-krb5/files/kpropd.xinetd
+++ /dev/null
@@ -1,11 +0,0 @@
-service tell
-{
- disable = yes
- socket_type = stream
- user = root
- wait = no
- server = /usr/sbin/kpropd
- only_from = 0.0.0.0
- log_on_success = PID HOST EXIT DURATION
- log_on_failure = HOST
-}
diff --git a/app-crypt/mit-krb5/files/mit-krb5-1.11.4-add-netdb_h.patch b/app-crypt/mit-krb5/files/mit-krb5-1.11.4-add-netdb_h.patch
deleted file mode 100644
index 150bdc2..0000000
--- a/app-crypt/mit-krb5/files/mit-krb5-1.11.4-add-netdb_h.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur krb5-1.11.4.orig/src/lib/rpc/bindresvport.c krb5-1.11.4/src/lib/rpc/bindresvport.c
---- krb5-1.11.4.orig/src/lib/rpc/bindresvport.c 2013-11-05 00:55:08.000000000 +0000
-+++ krb5-1.11.4/src/lib/rpc/bindresvport.c 2014-02-23 13:02:01.036502508 +0000
-@@ -38,6 +38,7 @@
- #include <sys/errno.h>
- #include <sys/socket.h>
- #include <netinet/in.h>
-+#include <netdb.h>
- #include <gssrpc/rpc.h>
- #include <errno.h>
-
diff --git a/app-crypt/mit-krb5/files/mit-krb5-1.11_uninitialized.patch b/app-crypt/mit-krb5/files/mit-krb5-1.11_uninitialized.patch
deleted file mode 100644
index 16f07d7..0000000
--- a/app-crypt/mit-krb5/files/mit-krb5-1.11_uninitialized.patch
+++ /dev/null
@@ -1,78 +0,0 @@
---- a/src/slave/kprop.c
-+++ b/src/slave/kprop.c
-@@ -91,7 +91,7 @@ main(argc, argv)
- int argc;
- char **argv;
- {
-- int fd, database_fd, database_size;
-+ int fd = -1, database_fd, database_size;
- krb5_error_code retval;
- krb5_context context;
- krb5_creds *my_creds;
---- a/src/kadmin/ktutil/ktutil_funcs.c
-+++ b/src/kadmin/ktutil/ktutil_funcs.c
-@@ -64,7 +64,7 @@
- krb5_kt_list *list;
- int idx;
- {
-- krb5_kt_list lp, prev;
-+ krb5_kt_list lp, prev = NULL;
- int i;
-
- for (lp = *list, i = 1; lp; prev = lp, lp = lp->next, i++) {
---- a/src/lib/kadm5/alt_prof.c
-+++ b/src/lib/kadm5/alt_prof.c
-@@ -164,7 +164,7 @@
- char **values;
- char *valp;
- int idx;
-- krb5_boolean val;
-+ krb5_boolean val = 0;
-
- kret = krb5_aprof_getvals (acontext, hierarchy, &values);
- if (kret)
---- a/src/lib/krb5/unicode/ucstr.c
-+++ b/src/lib/krb5/unicode/ucstr.c
-@@ -109,7 +109,7 @@
- krb5_data ** newdataptr,
- unsigned flags)
- {
-- int i, j, len, clen, outpos, ucsoutlen, outsize;
-+ int i, j, len, clen, outpos = 0, ucsoutlen, outsize;
- char *out = NULL, *outtmp, *s;
- krb5_ucs4 *ucs = NULL, *p, *ucsout = NULL;
- krb5_data *newdata;
-diff --git a/src/util/profile/prof_init.c b/src/util/profile/prof_init.c
-index 7dc5b47..cd90db8 100644
---- a/src/util/profile/prof_init.c
-+++ b/src/util/profile/prof_init.c
-@@ -255,7 +255,7 @@ copy_vtable_profile(profile_t profile, profile_t *ret_new_profile)
- {
- errcode_t err;
- void *cbdata;
-- profile_t new_profile;
-+ profile_t new_profile = NULL;
-
- *ret_new_profile = NULL;
-
---- a/src/lib/krb5/krb/preauth2.c 2012-12-24 12:39:18.432678497 +0100
-+++ b/src/lib/krb5/krb/preauth2.c 2012-12-24 12:50:49.444099126 +0100
-@@ -956,7 +956,7 @@
- size_t i, h;
- int out_pa_list_size = 0;
- krb5_pa_data **out_pa_list = NULL;
-- krb5_error_code ret, module_ret;
-+ krb5_error_code ret, module_ret = 0;
- krb5_responder_fn responder = opte->opt_private->responder;
- static const int paorder[] = { PA_INFO, PA_REAL };
-
---- a/src/tests/asn.1/trval.c 2013-04-12 12:51:36.000000000 -0500
-+++ b/src/tests/asn.1/trval.c 2013-05-24 04:31:14.077036380 -0500
-@@ -404,7 +404,7 @@
- {
- int n;
- int r = 0;
-- int rlen2;
-+ int rlen2 = 0;
- int rlent;
- int save_appl;
diff --git a/app-crypt/mit-krb5/files/mit-krb5-1.12_uninitialized.patch b/app-crypt/mit-krb5/files/mit-krb5-1.12_uninitialized.patch
deleted file mode 100644
index e6d1921..0000000
--- a/app-crypt/mit-krb5/files/mit-krb5-1.12_uninitialized.patch
+++ /dev/null
@@ -1,55 +0,0 @@
---- a/src/slave/kprop.c
-+++ b/src/slave/kprop.c
-@@ -91,7 +91,7 @@ main(argc, argv)
- int argc;
- char **argv;
- {
-- int fd, database_fd, database_size;
-+ int fd = -1, database_fd, database_size;
- krb5_error_code retval;
- krb5_context context;
- krb5_creds *my_creds;
---- a/src/kadmin/ktutil/ktutil_funcs.c
-+++ b/src/kadmin/ktutil/ktutil_funcs.c
-@@ -64,7 +64,7 @@
- krb5_kt_list *list;
- int idx;
- {
-- krb5_kt_list lp, prev;
-+ krb5_kt_list lp, prev = NULL;
- int i;
-
- for (lp = *list, i = 1; lp; prev = lp, lp = lp->next, i++) {
---- a/src/lib/kadm5/alt_prof.c
-+++ b/src/lib/kadm5/alt_prof.c
-@@ -164,7 +164,7 @@
- char **values;
- char *valp;
- int idx;
-- krb5_boolean val;
-+ krb5_boolean val = 0;
-
- kret = krb5_aprof_getvals (acontext, hierarchy, &values);
- if (kret)
-
---- a/src/util/profile/prof_init.c
-+++ b/src/util/profile/prof_init.c
-@@ -255,7 +255,7 @@ copy_vtable_profile(profile_t profile, profile_t *ret_new_profile)
- {
- errcode_t err;
- void *cbdata;
-- profile_t new_profile;
-+ profile_t new_profile = NULL;
-
- *ret_new_profile = NULL;
-
---- a/src/tests/asn.1/trval.c 2013-04-12 12:51:36.000000000 -0500
-+++ b/src/tests/asn.1/trval.c 2013-05-24 04:31:14.077036380 -0500
-@@ -404,7 +404,7 @@
- {
- int n;
- int r = 0;
-- int rlen2;
-+ int rlen2 = 0;
- int rlent;
- int save_appl;
diff --git a/app-crypt/mit-krb5/files/mit-krb5-config_LDFLAGS.patch b/app-crypt/mit-krb5/files/mit-krb5-config_LDFLAGS.patch
deleted file mode 100644
index 8490e62..0000000
--- a/app-crypt/mit-krb5/files/mit-krb5-config_LDFLAGS.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Bug #448778
---- a/src/build-tools/krb5-config.in 2012-12-18 02:47:04.000000000 +0000
-+++ b/src/build-tools/krb5-config.in 2012-12-28 07:13:16.582693363 +0000
-@@ -217,7 +217,7 @@
- -e 's#\$(PROG_RPATH)#'$libdir'#' \
- -e 's#\$(PROG_LIBPATH)#'$libdirarg'#' \
- -e 's#\$(RPATH_FLAG)#'"$RPATH_FLAG"'#' \
-- -e 's#\$(LDFLAGS)#'"$LDFLAGS"'#' \
-+ -e 's#\$(LDFLAGS)##' \
- -e 's#\$(PTHREAD_CFLAGS)#'"$PTHREAD_CFLAGS"'#' \
- -e 's#\$(CFLAGS)##'`
-
diff --git a/app-crypt/mit-krb5/files/mit-krb5_krb5-config_LDFLAGS.patch b/app-crypt/mit-krb5/files/mit-krb5_krb5-config_LDFLAGS.patch
deleted file mode 100644
index 0b300cb..0000000
--- a/app-crypt/mit-krb5/files/mit-krb5_krb5-config_LDFLAGS.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Bug #448778
---- krb5-1.11/src/krb5-config.in 2012-12-18 02:47:04.000000000 +0000
-+++ krb5-1.11/src/krb5-config.in 2012-12-28 07:13:16.582693363 +0000
-@@ -217,7 +217,7 @@
- -e 's#\$(PROG_RPATH)#'$libdir'#' \
- -e 's#\$(PROG_LIBPATH)#'$libdirarg'#' \
- -e 's#\$(RPATH_FLAG)#'"$RPATH_FLAG"'#' \
-- -e 's#\$(LDFLAGS)#'"$LDFLAGS"'#' \
-+ -e 's#\$(LDFLAGS)##' \
- -e 's#\$(PTHREAD_CFLAGS)#'"$PTHREAD_CFLAGS"'#' \
- -e 's#\$(CFLAGS)##'`
-
diff --git a/app-crypt/mit-krb5/files/mit-krb5kadmind.initd-r1 b/app-crypt/mit-krb5/files/mit-krb5kadmind.initd-r1
deleted file mode 100644
index 7b28fb2..0000000
--- a/app-crypt/mit-krb5/files/mit-krb5kadmind.initd-r1
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/sbin/runscript
-
-#---------------------------------------------------------------------------
-# This script starts/stops the MIT Kerberos 5 Admin daemon
-#---------------------------------------------------------------------------
-
-daemon="MIT Kerberos 5 Admin daemon"
-exec="/usr/sbin/kadmind"
-
-depend() {
- need mit-krb5kdc
- use net
-}
-
-start() {
- ebegin "Starting $daemon"
- start-stop-daemon --start --quiet --exec ${exec} 1>&2
- eend $? "Error starting $daemon"
-}
-
-stop() {
- ebegin "Stopping $daemon"
- start-stop-daemon --stop --quiet --exec ${exec} 1>&2
- eend $? "Error stopping $daemon"
-}
diff --git a/app-crypt/mit-krb5/files/mit-krb5kdc.initd-r1 b/app-crypt/mit-krb5/files/mit-krb5kdc.initd-r1
deleted file mode 100644
index 94f1f79..0000000
--- a/app-crypt/mit-krb5/files/mit-krb5kdc.initd-r1
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/sbin/runscript
-
-#---------------------------------------------------------------------------
-# This script starts/stops the MIT Kerberos 5 KDC
-#---------------------------------------------------------------------------
-
-daemon="MIT Kerberos 5 KDC"
-exec="/usr/sbin/krb5kdc"
-
-depend() {
- use net
-}
-
-start() {
- ebegin "Starting $daemon"
- start-stop-daemon --start --quiet --exec ${exec} 1>&2
- eend $? "Error starting $daemon"
-}
-
-stop() {
- ebegin "Stopping $daemon"
- start-stop-daemon --stop --quiet --exec ${exec} 1>&2
- eend $? "Error stopping $daemon"
-}
diff --git a/app-crypt/mit-krb5/files/mit-krb5kpropd.initd-r1 b/app-crypt/mit-krb5/files/mit-krb5kpropd.initd-r1
deleted file mode 100644
index d800d66..0000000
--- a/app-crypt/mit-krb5/files/mit-krb5kpropd.initd-r1
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/sbin/runscript
-
-#---------------------------------------------------------------------------
-# This script starts/stops the MIT Kerberos 5 kpropd
-#---------------------------------------------------------------------------
-
-daemon="MIT Kerberos 5 kpropd"
-exec="/usr/sbin/kpropd"
-
-depend() {
- use net mit-krb5kdc mit-krb5kadmind
-}
-
-start() {
- ebegin "Starting $daemon"
- start-stop-daemon --start --quiet --exec ${exec} -- -S 1>&2
- eend $? "Error starting $daemon"
-}
-
-stop() {
- ebegin "Stopping $daemon"
- start-stop-daemon --stop --quiet --exec ${exec} 1>&2
- eend $? "Error stopping $daemon"
-}
diff --git a/app-crypt/mit-krb5/metadata.xml b/app-crypt/mit-krb5/metadata.xml
deleted file mode 100644
index 2609e96..0000000
--- a/app-crypt/mit-krb5/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>kerberos</herd>
-<longdescription>Kerberos 5 reference implementation from MIT</longdescription>
-<use>
- <flag name="doc">
- Creates and installs the API and implementation
- documentation. This is only useful if you want to develop software
- which depends on kerberos.
- </flag>
- <flag name="keyutils">Enable for the keyring ccache using keyutils.</flag>
- <flag name="pkinit">Enable pkinit support for the initial ticket.</flag>
- <flag name="openldap">Enable support for ldap as a database backend.</flag>
-</use>
-</pkgmetadata>
diff --git a/app-crypt/mit-krb5/mit-krb5-1.11.4-r99.ebuild b/app-crypt/mit-krb5/mit-krb5-1.11.4-r99.ebuild
deleted file mode 100644
index 9f7f0f6..0000000
--- a/app-crypt/mit-krb5/mit-krb5-1.11.4-r99.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.11.4.ebuild,v 1.10 2013/11/16 08:40:46 ago Exp $
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_6,2_7} )
-inherit eutils flag-o-matic python-any-r1 versionator
-
-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}-signed.tar"
-
-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="amd64 arm ~mips ppc x86"
-IUSE="doc +keyutils openldap +pkinit +threads test xinetd"
-
-RDEPEND="!!app-crypt/heimdal
- >=sys-libs/e2fsprogs-libs-1.41.0
- || ( dev-libs/libverto[libev] dev-libs/libverto[libevent] dev-libs/libverto[tevent] )
- keyutils? ( sys-apps/keyutils )
- openldap? ( net-nds/openldap )
- pkinit? ( dev-libs/openssl )
- xinetd? ( sys-apps/xinetd )"
-DEPEND="${RDEPEND}
- ${PYTHON_DEPS}
- virtual/yacc
- doc? ( virtual/latex-base )
- test? ( ${PYTHON_DEPS}
- dev-lang/tcl
- dev-util/dejagnu )"
-
-S=${WORKDIR}/${MY_P}/src
-
-src_unpack() {
- unpack ${A}
- unpack ./"${MY_P}".tar.gz
-}
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-1.11_uninitialized.patch"
- epatch "${FILESDIR}/${PN}_krb5-config_LDFLAGS.patch"
- epatch "${FILESDIR}/${PN}-1.11.4-add-netdb_h.patch"
-
- # tcl-8.6 compatibility
- sed -i -e 's/interp->result/Tcl_GetStringResult(interp)/' \
- kadmin/testing/util/tcl_kadm5.c || die
-}
-
-src_configure() {
- append-cppflags "-I${EPREFIX}/usr/include/et"
- # QA
- append-flags -fno-strict-aliasing
- append-flags -fno-strict-overflow
-
- use keyutils || export ac_cv_header_keyutils_h=no
- econf \
- $(use_with openldap ldap) \
- "$(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
-}
-
-src_compile() {
- emake -j1
-}
-
-src_test() {
- emake -j1 check
-}
-
-src_install() {
- emake \
- DESTDIR="${D}" \
- EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
- install
-
- # 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-r1 mit-krb5kadmind
- newinitd "${FILESDIR}"/mit-krb5kdc.initd-r1 mit-krb5kdc
- newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r1 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
-}
diff --git a/app-crypt/mit-krb5/mit-krb5-1.12.1-r99.ebuild b/app-crypt/mit-krb5/mit-krb5-1.12.1-r99.ebuild
deleted file mode 100644
index 4d46d57..0000000
--- a/app-crypt/mit-krb5/mit-krb5-1.12.1-r99.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.12.1.ebuild,v 1.1 2014/01/18 21:08:09 eras Exp $
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_6,2_7} )
-inherit eutils flag-o-matic python-any-r1 versionator
-
-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}-signed.tar"
-
-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="~amd64 ~arm ~x86"
-IUSE="doc +keyutils openldap +pkinit +threads test xinetd"
-
-RDEPEND="!!app-crypt/heimdal
- >=sys-libs/e2fsprogs-libs-1.41.0
- || ( dev-libs/libverto[libev] dev-libs/libverto[libevent] dev-libs/libverto[tevent] )
- keyutils? ( sys-apps/keyutils )
- openldap? ( net-nds/openldap )
- pkinit? ( dev-libs/openssl )
- xinetd? ( sys-apps/xinetd )"
-DEPEND="${RDEPEND}
- ${PYTHON_DEPS}
- virtual/yacc
- doc? ( virtual/latex-base )
- test? ( ${PYTHON_DEPS}
- dev-lang/tcl
- dev-util/dejagnu )"
-
-S=${WORKDIR}/${MY_P}/src
-
-src_unpack() {
- unpack ${A}
- unpack ./"${MY_P}".tar.gz
-}
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-1.12_uninitialized.patch"
- epatch "${FILESDIR}/${PN}-config_LDFLAGS.patch"
- epatch "${FILESDIR}/${PN}-1.11.4-add-netdb_h.patch"
-
- # tcl-8.6 compatibility
- sed -i -e 's/interp->result/Tcl_GetStringResult(interp)/' \
- kadmin/testing/util/tcl_kadm5.c || die
-}
-
-src_configure() {
- append-cppflags "-I${EPREFIX}/usr/include/et"
- # QA
- append-flags -fno-strict-aliasing
- append-flags -fno-strict-overflow
-
- use keyutils || export ac_cv_header_keyutils_h=no
- econf \
- $(use_with openldap ldap) \
- "$(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
-}
-
-src_compile() {
- emake -j1
-}
-
-src_test() {
- emake -j1 check
-}
-
-src_install() {
- emake \
- DESTDIR="${D}" \
- EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
- install
-
- # 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-r1 mit-krb5kadmind
- newinitd "${FILESDIR}"/mit-krb5kdc.initd-r1 mit-krb5kdc
- newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r1 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
-}