diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-09-07 12:54:03 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-09-07 12:54:03 +0000 |
commit | 1383af85774f0f3fff7ee9a27440ff2f72467a6e (patch) | |
tree | 0aefccd8b691a8ca93ef45b8634f120caa5b2050 /app-crypt | |
parent | Revision bump to fix race condition (bug #299140 by Ambroz Bizjak) and make i... (diff) | |
download | gentoo-2-1383af85774f0f3fff7ee9a27440ff2f72467a6e.tar.gz gentoo-2-1383af85774f0f3fff7ee9a27440ff2f72467a6e.tar.bz2 gentoo-2-1383af85774f0f3fff7ee9a27440ff2f72467a6e.zip |
old, vulnerable, uncompatible with openssl 1.x, therefore not useful for us anymore as discussed with Eray by mail
(Portage version: 2.2_rc75/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/heimdal/Manifest | 16 | ||||
-rw-r--r-- | app-crypt/heimdal/files/heimdal-0.7.2-as_needed.patch | 24 | ||||
-rw-r--r-- | app-crypt/heimdal/files/heimdal-autoconf-2.64.patch | 11 | ||||
-rw-r--r-- | app-crypt/heimdal/files/heimdal-autoconf-ipv6-backport.patch | 199 | ||||
-rw-r--r-- | app-crypt/heimdal/files/heimdal-kdc-sans_pkinit.patch | 18 | ||||
-rw-r--r-- | app-crypt/heimdal/files/heimdal-mit-krb5-free.patch | 25 | ||||
-rw-r--r-- | app-crypt/heimdal/files/heimdal-r23235-kb5-libwind_la.patch | 11 | ||||
-rw-r--r-- | app-crypt/heimdal/files/heimdal-r23238-kb5_locl_h-wind_h.patch | 10 | ||||
-rw-r--r-- | app-crypt/heimdal/files/heimdal-symlinked-manpages.patch | 32 | ||||
-rw-r--r-- | app-crypt/heimdal/files/heimdal-system_sqlite.patch | 56 | ||||
-rw-r--r-- | app-crypt/heimdal/heimdal-1.2.1-r1.ebuild | 149 | ||||
-rw-r--r-- | app-crypt/heimdal/heimdal-1.2.1-r4.ebuild | 144 | ||||
-rw-r--r-- | app-crypt/heimdal/heimdal-1.3.2-r1.ebuild | 107 | ||||
-rw-r--r-- | app-crypt/heimdal/heimdal-1.3.3.ebuild | 121 |
14 files changed, 0 insertions, 923 deletions
diff --git a/app-crypt/heimdal/Manifest b/app-crypt/heimdal/Manifest index 065f1fca5cfe..c518ccae7186 100644 --- a/app-crypt/heimdal/Manifest +++ b/app-crypt/heimdal/Manifest @@ -1,30 +1,14 @@ -AUX heimdal-0.7.2-as_needed.patch 853 RMD160 5c03f5008e395e87c48f89fe91828e0d034de7db SHA1 0b4dda9830d36185055b66976436545e3daa926b SHA256 640969f1ebe65bae204d45b076dbd488f62a4fd5cf6d96bdc5373423e71f39e3 -AUX heimdal-autoconf-2.64.patch 364 RMD160 1b362be75f32eaf79502aa406db7ded25a2878d7 SHA1 1727677c8e5de5c12469a44a28c61f04b15d6a37 SHA256 2dc9dfb773b58b54d1aef76362db734066828893dd1e2ffcee9e20b3484abbf3 -AUX heimdal-autoconf-ipv6-backport.patch 4521 RMD160 0ee4317834939d23bd34cce02034bd3de7eb1022 SHA1 768461c3a40d55ecae3872c8957249fef0e71201 SHA256 6a1f8d23072e5b5a2253e3eb0fc931a4dc7f0be8076466b0f8993e644de5248f AUX heimdal-kadmind.initd 579 RMD160 d6cae14cfabe5b0170664b882fd8691870181f61 SHA1 b2c58d80917ae63eeb8eb120be076db0b673f6c5 SHA256 1f1e6a086d3f07620f0656bac67d1b3bbe0d8c9cca66dc3c5a01afd7fdbc0549 AUX heimdal-kcm.initd 563 RMD160 6aac9c3ffe9717e48838a1f977b02928d3ab0741 SHA1 22411837ca5931887911df44ee043e4752b26bb7 SHA256 a904c990b3560a4caca3de1ef9a306095f1347be7b404092343ddc059f7852aa -AUX heimdal-kdc-sans_pkinit.patch 500 RMD160 7ed56129127af088d4c10533abf178aa72bf3c8f SHA1 eda1939bf276bfc260981eb7ee770b4adde6070c SHA256 8d7f04189c897706ed8adae6cd81bab9bf5f2eb593d5e630c33eccd017bb8e4c AUX heimdal-kdc.initd 554 RMD160 52fb746a619222cf2d965754098fcbe7bc8e8b62 SHA1 af71df7d5a63937b306136e9adfcc5394d7230d0 SHA256 17744329217d998a380f2be47e6f4c10b39c2437db678c49704636fd4ad507f1 AUX heimdal-kpasswdd.initd 596 RMD160 ec7ad3d3171f2b29047b1b780237bc379e66eb1a SHA1 46462b4f4ac4156e87de0111ef7cce7d233a3673 SHA256 88cbff8de40337d12acec1d8dc04ee8d219647ec4072a9c9e95f1e56925c8861 -AUX heimdal-mit-krb5-free.patch 779 RMD160 77be91acd791ee7e6467e7995f96ee744f228fa1 SHA1 b28cb6bd186acb89d738be70285b5ceff3c55949 SHA256 1d62caed12e50eb7a7a5f2a070d0d48462c91a2a2fdf830fc933316425aef816 -AUX heimdal-r23235-kb5-libwind_la.patch 270 RMD160 17784aca21208c3ae29b1e26a45e6394af8d55b5 SHA1 72466a7a8623d759121dbb765cd660b8582ad73c SHA256 0df907bf80298845480a415368bd492eb177fe4e8a11e83d2f1d124e9d889f5b -AUX heimdal-r23238-kb5_locl_h-wind_h.patch 328 RMD160 0cab54e8605b56ed0168e2f680bee2c1386ec035 SHA1 6058f52df83ce0f04ac9d70e8c465ea88d1dca62 SHA256 abb7522a6675cc362fdb9b95096a69423b5742ea311bca4c7100cf0f5a71c1ec -AUX heimdal-symlinked-manpages.patch 1104 RMD160 e76c9089229a1a5a87807c306a73d5bb5be7936e SHA1 f256e1f9193d9dfb061086a221ce3567b6626cda SHA256 f8c45e49c0d4366e133d01172c92a01050b48fea21160da439563ca927598956 -AUX heimdal-system_sqlite.patch 1861 RMD160 fa9cf71fef33b3e434f8d3a5bce5c51f0d3c97e5 SHA1 9255730737444febe78ebc47f246893e3887e880 SHA256 79abe4fae56218066b6827989d22d1e0ea1060c027f3698370d1cf7988b487de AUX heimdal_db5.patch 923 RMD160 e7e74d67b2b8789b006ea0dae5695a49386f86f3 SHA1 66106a8c39db0c61a90f0e847417a107cd91931e SHA256 5dac2109683705b2ade8962abfd88f1d989a371b811bc17176c5b360a67bcbe3 AUX heimdal_disable-check-iprop.patch 577 RMD160 ce3733c555c5c13f320bb9a11b5911ab43f7da85 SHA1 a5ab37be218e03e57cf637a5f45ba630bcb45bcf SHA256 b2ab6f335b5a756856a5df635df82488f9dcdb3ed02a7114f90b4a34911f9721 AUX heimdal_openssl-1.patch 4623 RMD160 1450ee6db0dc8f4603ad3db7f093f4e9021f34f7 SHA1 f0c03e0afe2daff84eec888c2025568628210358 SHA256 359c6201937e91ad9f78cbac07a7e74e467582400de16049eba0fbb30aad1a86 AUX heimdal_testsuite.patch 11928 RMD160 4e5f3277b07b8c0dd08d8518e381d9d21c296332 SHA1 e9e35a7306f4c59d05a0934b41a192faaa638a6b SHA256 0edb8be49749b27c37d8a19d7129f52dde26a17cc029d541042e568b39fe1db3 AUX heimdal_testsuite_extra.patch 2352 RMD160 1f2dd032c995d672d376821060ea10684720c5ad SHA1 5537e1d96bc5509c987a2ea75df8dc3d3a5a1cb8 SHA256 301a27f3b36e00ca289d35c3554c4f03f1688e5e16a883b15a3d75180f9c8052 AUX krb5.conf 424 RMD160 80a0159824b8a44698d97d911c701bb05f2f0688 SHA1 7602cc72576d144429cae5cf568feb25a5906ab7 SHA256 3acbae7a561b0a76c90ab53f41d5ffb5b811a39049c5ed15b1e7a34e8c889c6e -DIST heimdal-1.2.1.tar.gz 5234882 RMD160 055e858200e53108ac24760516ff9d58e4fee0d2 SHA1 68b013a68bca7d544d29af0f890b9c668ec16936 SHA256 4e32be8d42824f2c58dffa435300e2dd0f0c3bbc6931afcbd450122067f76493 -DIST heimdal-1.3.2.tar.gz 5743151 RMD160 57c2706a5893afc41e604f7821c10571cc8999dd SHA1 b31adedca3cec50469889ca9528be25db24b50f7 SHA256 965b3ff4764bd69b2f19abe774300b7dc4822829c831f27d4c5b3b67d3c18c63 DIST heimdal-1.3.3.tar.gz 5744155 RMD160 ce97ac415e7c27912ba148b81c46e756dc54ba3e SHA1 a385d959e3edd144aee79e9df585e44347342049 SHA256 8c8d2b272529c87ae9800825e2f266821b696ae6b56837edf0d19e17fc2a8630 -DIST heimdal-gentoo-patches-0.2.tar.bz2 5215 RMD160 f6b87d3caf8f156fdcf7c61542ea612cdcd42d9a SHA1 2282ea687e2cc215bf77a61b9badfb4a347b2792 SHA256 c4074b06760e28ac9a9bd5f1bc54dd86f1c104463384ca2f79918029995bb45a -EBUILD heimdal-1.2.1-r1.ebuild 4237 RMD160 4b3f562242cf2eabcaaeab583223b90cd38cb23d SHA1 db55235d6a779c80cff7ef11f09f6e033d397043 SHA256 e14cc0cacb4edc26c3df8366a40fbabd8ab444c1e2b4d6d37fdec9f0ed8d5cbf -EBUILD heimdal-1.2.1-r4.ebuild 4064 RMD160 931764a654b3a4fe4aedb6d9163fe6125c959d51 SHA1 b1c3ba453075d6f4d398ce13b2516246a1315f4f SHA256 92eb7771c35730ca33e296a4d9cec6fa867e5df24040a263294d864b84833018 -EBUILD heimdal-1.3.2-r1.ebuild 2637 RMD160 b65f56b535b931375948fe47a16fc2ed4ae70e28 SHA1 2c94e7eab79c53d2bf7bcf094491e6361c764070 SHA256 c9639dc0714cc0d78ecacf5777c4d7ab1295b63fc3e7590cb99ad9253fde6581 EBUILD heimdal-1.3.3-r1.ebuild 3136 RMD160 a77f4854f9cd988bad15a587af8fae3fc6e8de6a SHA1 7c5afecbdfcd43c8691fc4af0c7e33e0b5239ac5 SHA256 6984607ec24083cef23e8af14922516997d214885abccc32b42b0c9a2044b989 -EBUILD heimdal-1.3.3.ebuild 3089 RMD160 56acbd81af39636fcb2c22483d14b170939fad8d SHA1 67a5099c316c8b670affdb84bb74c9c7cb344460 SHA256 80356928837ace7fe94e7878af27b407b241f22e822084fdf9d3338ced7cdd25 MISC ChangeLog 27014 RMD160 e07d43bb54655c340b774481b7942d8075d61c10 SHA1 963d6df84dcf8a25533771605b3afa1744712c75 SHA256 0cb76d53221268b548be6ab8ac842cd99fa553ad9ec4d3164f11133f819468ce MISC metadata.xml 923 RMD160 47b35a8f1efeaa17ac7104932a7ac75fa58b2f48 SHA1 82f3c37e41de86ca104a021461613a23680b86cb SHA256 f3eb7cc9ed2e70bdf91b8b1817f352a9eb0ce22e8a026510250b064040e18a3b diff --git a/app-crypt/heimdal/files/heimdal-0.7.2-as_needed.patch b/app-crypt/heimdal/files/heimdal-0.7.2-as_needed.patch deleted file mode 100644 index 607544008250..000000000000 --- a/app-crypt/heimdal/files/heimdal-0.7.2-as_needed.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Naur heimdal-0.7.2.orig/lib/editline/Makefile.am heimdal-0.7.2/lib/editline/Makefile.am ---- heimdal-0.7.2.orig/lib/editline/Makefile.am 2007-09-07 07:59:26.000000000 +0200 -+++ heimdal-0.7.2/lib/editline/Makefile.am 2007-09-07 07:59:48.000000000 +0200 -@@ -35,6 +35,8 @@ - unix.h \ - $(EXTRA_SOURCE) - -+libeditline_la_LIBADD = @LIB_tgetent@ -+ - EXTRA_SOURCE = $(ES) - - libel_compat_la_SOURCES = edit_compat.c -diff -Naur heimdal-0.7.2.orig/lib/roken/Makefile.am heimdal-0.7.2/lib/roken/Makefile.am ---- heimdal-0.7.2.orig/lib/roken/Makefile.am 2007-09-07 07:59:26.000000000 +0200 -+++ heimdal-0.7.2/lib/roken/Makefile.am 2007-09-07 08:00:17.000000000 +0200 -@@ -104,7 +104,7 @@ - - EXTRA_DIST = roken.awk roken.h.in - --libroken_la_LIBADD = @LTLIBOBJS@ -+libroken_la_LIBADD = @LTLIBOBJS@ $(LIB_crypt) - if have_cgetent - else - libroken_la_LIBADD += $(DBLIB) diff --git a/app-crypt/heimdal/files/heimdal-autoconf-2.64.patch b/app-crypt/heimdal/files/heimdal-autoconf-2.64.patch deleted file mode 100644 index f4b33e0dc74c..000000000000 --- a/app-crypt/heimdal/files/heimdal-autoconf-2.64.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- cf/roken-frag.m4.orig 2009-08-03 10:40:57.000000000 +0200 -+++ cf/roken-frag.m4 2009-08-03 10:41:09.000000000 +0200 -@@ -586,7 +586,7 @@ - #include <err.h> - #endif]) - --AC_CHECK_DECLS([optarg, optind, opterr, optopt, environ],[],[][ -+AC_CHECK_DECLS([optarg, optind, opterr, optopt, environ],[],[],[ - #include <stdlib.h> - #ifdef HAVE_UNISTD_H - #include <unistd.h> diff --git a/app-crypt/heimdal/files/heimdal-autoconf-ipv6-backport.patch b/app-crypt/heimdal/files/heimdal-autoconf-ipv6-backport.patch deleted file mode 100644 index 82bb36cf22c9..000000000000 --- a/app-crypt/heimdal/files/heimdal-autoconf-ipv6-backport.patch +++ /dev/null @@ -1,199 +0,0 @@ -Index: cf/krb-ipv6.m4 -=================================================================== ---- cf/krb-ipv6.m4 (revision 23011) -+++ cf/krb-ipv6.m4 (working copy) -@@ -2,94 +2,97 @@ - dnl - dnl test for IPv6 - dnl -+ac_cv_lib_ipv6=check -+ - AC_DEFUN([AC_KRB_IPV6], [ - AC_ARG_WITH(ipv6, - AS_HELP_STRING([--without-ipv6],[do not enable IPv6 support]),[ --if test "$withval" = "no"; then -- ac_cv_lib_ipv6=no --fi]) -+ ac_cv_lib_ipv6="$withval" -+]) - save_CFLAGS="${CFLAGS}" --AC_CACHE_CHECK([for IPv6 stack type], rk_cv_v6type, --[dnl check for different v6 implementations (by itojun) --v6type=unknown --v6lib=none - --for i in v6d toshiba kame inria zeta linux; do -- case $i in -- v6d) -- AC_EGREP_CPP(yes, [ -+if test "X$ac_cv_lib_ipv6" != "Xno"; then -+ -+ AC_CACHE_CHECK([for IPv6 stack type], rk_cv_v6type, -+ [dnl check for different v6 implementations (by itojun) -+ v6type=unknown -+ v6lib=none -+ -+ for i in v6d toshiba kame inria zeta linux; do -+ case $i in -+ v6d) -+ AC_EGREP_CPP(yes, [ - #include </usr/local/v6/include/sys/types.h> - #ifdef __V6D__ - yes - #endif], -- [v6type=$i; v6lib=v6; -- v6libdir=/usr/local/v6/lib; -- CFLAGS="-I/usr/local/v6/include $CFLAGS"]) -- ;; -- toshiba) -- AC_EGREP_CPP(yes, [ -+ [v6type=$i; v6lib=v6; -+ v6libdir=/usr/local/v6/lib; -+ CFLAGS="-I/usr/local/v6/include $CFLAGS"]) -+ ;; -+ toshiba) -+ AC_EGREP_CPP(yes, [ - #include <sys/param.h> - #ifdef _TOSHIBA_INET6 - yes - #endif], -- [v6type=$i; v6lib=inet6; -- v6libdir=/usr/local/v6/lib; -- CFLAGS="-DINET6 $CFLAGS"]) -- ;; -- kame) -- AC_EGREP_CPP(yes, [ -+ [v6type=$i; v6lib=inet6; -+ v6libdir=/usr/local/v6/lib; -+ CFLAGS="-DINET6 $CFLAGS"]) -+ ;; -+ kame) -+ AC_EGREP_CPP(yes, [ - #include <netinet/in.h> - #ifdef __KAME__ - yes - #endif], -- [v6type=$i; v6lib=inet6; -- v6libdir=/usr/local/v6/lib; -- CFLAGS="-DINET6 $CFLAGS"]) -- ;; -- inria) -- AC_EGREP_CPP(yes, [ -+ [v6type=$i; v6lib=inet6; -+ v6libdir=/usr/local/v6/lib; -+ CFLAGS="-DINET6 $CFLAGS"]) -+ ;; -+ inria) -+ AC_EGREP_CPP(yes, [ - #include <netinet/in.h> - #ifdef IPV6_INRIA_VERSION - yes - #endif], -- [v6type=$i; CFLAGS="-DINET6 $CFLAGS"]) -- ;; -- zeta) -- AC_EGREP_CPP(yes, [ -+ [v6type=$i; CFLAGS="-DINET6 $CFLAGS"]) -+ ;; -+ zeta) -+ AC_EGREP_CPP(yes, [ - #include <sys/param.h> - #ifdef _ZETA_MINAMI_INET6 - yes - #endif], -- [v6type=$i; v6lib=inet6; -- v6libdir=/usr/local/v6/lib; -- CFLAGS="-DINET6 $CFLAGS"]) -- ;; -- linux) -- if test -d /usr/inet6; then -- v6type=$i -- v6lib=inet6 -- v6libdir=/usr/inet6 -- CFLAGS="-DINET6 $CFLAGS" -- fi -- ;; -- esac -- if test "$v6type" != "unknown"; then -- break -- fi --done -- --if test "$v6lib" != "none"; then -- for dir in $v6libdir /usr/local/v6/lib /usr/local/lib; do -- if test -d $dir -a -f $dir/lib$v6lib.a; then -- LIBS="-L$dir -l$v6lib $LIBS" -+ [v6type=$i; v6lib=inet6; -+ v6libdir=/usr/local/v6/lib; -+ CFLAGS="-DINET6 $CFLAGS"]) -+ ;; -+ linux) -+ if test -d /usr/inet6; then -+ v6type=$i -+ v6lib=inet6 -+ v6libdir=/usr/inet6 -+ CFLAGS="-DINET6 $CFLAGS" -+ fi -+ ;; -+ esac -+ if test "$v6type" != "unknown"; then - break - fi - done --fi --]) - --AC_CACHE_CHECK([for IPv6], rk_cv_lib_ipv6, [ --AC_LINK_IFELSE([AC_LANG_PROGRAM([[ -+ if test "$v6lib" != "none"; then -+ for dir in $v6libdir /usr/local/v6/lib /usr/local/lib; do -+ if test -d $dir -a -f $dir/lib$v6lib.a; then -+ LIBS="-L$dir -l$v6lib $LIBS" -+ break -+ fi -+ done -+ fi]) -+ -+ AC_CACHE_CHECK([for IPv6], rk_cv_lib_ipv6, [ -+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[ - #ifdef HAVE_SYS_TYPES_H - #include <sys/types.h> - #endif -@@ -103,7 +106,7 @@ - #include <netinet/in6.h> - #endif - ]], --[[ -+ [[ - struct sockaddr_in6 sin6; - int s; - -@@ -114,8 +117,10 @@ - sin6.sin6_addr = in6addr_any; - bind(s, (struct sockaddr *)&sin6, sizeof(sin6)); - ]])], --[ac_cv_lib_ipv6=yes], --[ac_cv_lib_ipv6=no])]) -+ [ac_cv_lib_ipv6=yes], -+ [ac_cv_lib_ipv6=no])]) -+fi -+ - if test "$ac_cv_lib_ipv6" = yes; then - AC_DEFINE(HAVE_IPV6, 1, [Define if you have IPv6.]) - else -Index: lib/roken/mini_inetd.c -=================================================================== ---- lib/roken/mini_inetd.c (revision 14773) -+++ lib/roken/mini_inetd.c (working copy) -@@ -83,10 +83,8 @@ - - for (i = 0, a = ai; a != NULL; a = a->ai_next) { - fds[i] = socket (a->ai_family, a->ai_socktype, a->ai_protocol); -- if (fds[i] < 0) { -- warn ("socket af = %d", a->ai_family); -+ if (fds[i] < 0) - continue; -- } - socket_set_reuseaddr (fds[i], 1); - if (bind (fds[i], a->ai_addr, a->ai_addrlen) < 0) { - warn ("bind af = %d", a->ai_family); diff --git a/app-crypt/heimdal/files/heimdal-kdc-sans_pkinit.patch b/app-crypt/heimdal/files/heimdal-kdc-sans_pkinit.patch deleted file mode 100644 index a6548ce22d33..000000000000 --- a/app-crypt/heimdal/files/heimdal-kdc-sans_pkinit.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -Naur tmp-old/kdc/Makefile.am tmp-new/kdc/Makefile.am ---- kdc/Makefile.am 2008-06-02 14:38:03.000000000 +0000 -+++ kdc/Makefile.am 2008-06-03 04:06:19.000000000 +0000 -@@ -84,12 +84,10 @@ - $(LIB_roken) \ - $(DBLIB) - --if PKINIT --LIB_pkinit = $(top_builddir)/lib/hx509/libhx509.la --endif -+LIB_hx509 = $(top_builddir)/lib/hx509/libhx509.la - - libkdc_la_LIBADD = \ -- $(LIB_pkinit) \ -+ $(LIB_hx509) \ - $(top_builddir)/lib/hdb/libhdb.la \ - $(LIB_openldap) \ - $(top_builddir)/lib/krb5/libkrb5.la \ diff --git a/app-crypt/heimdal/files/heimdal-mit-krb5-free.patch b/app-crypt/heimdal/files/heimdal-mit-krb5-free.patch deleted file mode 100644 index ae6f37bcc045..000000000000 --- a/app-crypt/heimdal/files/heimdal-mit-krb5-free.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- lib/krb5/principal.c.orig 2009-08-27 09:34:57.000000000 +0200 -+++ lib/krb5/principal.c 2009-08-27 09:36:02.000000000 +0200 -@@ -465,6 +465,12 @@ - return unparse_name(context, principal, name, 0); - } - -+void KRB5_LIB_FUNCTION -+krb5_free_unparsed_name(krb5_context context, char *str) -+{ -+ krb5_xfree(str); -+} -+ - krb5_error_code KRB5_LIB_FUNCTION - krb5_unparse_name_flags(krb5_context context, - krb5_const_principal principal, ---- lib/krb5/version-script.map.orig 2009-08-27 09:38:48.000000000 +0200 -+++ lib/krb5/version-script.map 2009-08-27 09:39:22.000000000 +0200 -@@ -280,6 +280,7 @@ - krb5_free_principal; - krb5_free_salt; - krb5_free_ticket; -+ krb5_free_unparsed_name; - krb5_fwd_tgt_creds; - krb5_generate_random_block; - krb5_generate_random_keyblock; diff --git a/app-crypt/heimdal/files/heimdal-r23235-kb5-libwind_la.patch b/app-crypt/heimdal/files/heimdal-r23235-kb5-libwind_la.patch deleted file mode 100644 index 5390b2cf69a7..000000000000 --- a/app-crypt/heimdal/files/heimdal-r23235-kb5-libwind_la.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- trunk/heimdal/lib/krb5/krb5_locl.h 2008-06-01 22:26:24 UTC (rev 23237) -+++ trunk/heimdal/lib/krb5/krb5_locl.h 2008-06-01 22:26:43 UTC (rev 23238) -@@ -131,6 +131,8 @@ - #include <parse_time.h> - #include <base64.h> - -+#include <wind.h> -+ - #include "crypto-headers.h" - - diff --git a/app-crypt/heimdal/files/heimdal-r23238-kb5_locl_h-wind_h.patch b/app-crypt/heimdal/files/heimdal-r23238-kb5_locl_h-wind_h.patch deleted file mode 100644 index 88c02e598c66..000000000000 --- a/app-crypt/heimdal/files/heimdal-r23238-kb5_locl_h-wind_h.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- trunk/heimdal/lib/krb5/Makefile.am 2008-06-01 22:25:41 UTC (rev 23234) -+++ trunk/heimdal/lib/krb5/Makefile.am 2008-06-01 22:25:53 UTC (rev 23235) -@@ -57,6 +57,7 @@ - $(LIB_com_err) \ - $(LIB_hcrypto) \ - $(top_builddir)/lib/asn1/libasn1.la \ -+ ../wind/libwind.la \ - $(LIBADD_roken) \ - $(LIB_door_create) \ - $(LIB_dlopen) diff --git a/app-crypt/heimdal/files/heimdal-symlinked-manpages.patch b/app-crypt/heimdal/files/heimdal-symlinked-manpages.patch deleted file mode 100644 index 3ccc9a22951c..000000000000 --- a/app-crypt/heimdal/files/heimdal-symlinked-manpages.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff -NaurwB heimdal-1.2.1rc1.orig/cf/install-catman.sh heimdal-1.2.1rc1/cf/install-catman.sh ---- heimdal-1.2.1rc1.orig/cf/install-catman.sh 2008-05-31 16:38:43.000000000 +0200 -+++ heimdal-1.2.1rc1/cf/install-catman.sh 2008-07-11 01:17:51.000000000 +0200 -@@ -38,26 +38,18 @@ - fi - if test "$cmd" = install ; then - target="$mandir/$link.$section" -- for lncmd in "ln -f $mandir/$base.$section $target" \ -- "ln -s $base.$section $target" \ -- "cp -f $mandir/$base.$section $target" -- do -+ lncmd="ln -sf $mandir/$base.$section $target" - if eval "$lncmd"; then - eval echo "$lncmd" - break - fi -- done - if test "$catinstall" = yes -a -f "$srcdir/$c"; then - target="$catdir/$link.$suffix" -- for lncmd in "ln -f $catdir/$base.$suffix $target" \ -- "ln -fs $base.$suffix $target" \ -- "cp -f $catdir/$base.$suffix $target" -- do -+ lncmd="ln -sf $catdir/$base.$suffix $target" - if eval "$lncmd"; then - eval echo "$lncmd" - break - fi -- done - fi - elif test "$cmd" = uninstall ; then - target="$mandir/$link.$section" diff --git a/app-crypt/heimdal/files/heimdal-system_sqlite.patch b/app-crypt/heimdal/files/heimdal-system_sqlite.patch deleted file mode 100644 index 2f8254e4d6b0..000000000000 --- a/app-crypt/heimdal/files/heimdal-system_sqlite.patch +++ /dev/null @@ -1,56 +0,0 @@ -diff -Naur tmp-old/configure.in tmp-new/configure.in ---- configure.in 2008-06-08 08:06:38.000000000 +0000 -+++ configure.in 2008-06-08 08:15:29.000000000 +0000 -@@ -104,6 +104,8 @@ - - KRB_PTHREADS - -+PKG_CHECK_MODULES([sqlite], [sqlite3]) -+ - AC_ARG_ENABLE(dce, - AS_HELP_STRING([--enable-dce],[if you want support for DCE/DFS PAG's])) - if test "$enable_dce" = yes; then -diff -Naur tmp-old/lib/Makefile.am tmp-new/lib/Makefile.am ---- lib/Makefile.am 2008-06-07 16:53:11.000000000 +0000 -+++ lib/Makefile.am 2008-06-07 16:55:58.000000000 +0000 -@@ -18,6 +18,6 @@ - dir_hcrypto = hcrypto - endif - --SUBDIRS = roken vers editline $(dir_com_err) sl wind asn1 sqlite \ -+SUBDIRS = roken vers editline $(dir_com_err) sl wind asn1 \ - $(dir_hcrypto) hx509 krb5 ntlm kafs gssapi hdb kadm5 \ - auth $(dir_45) $(dir_otp) $(dir_dce) -diff -Naur tmp-old/lib/krb5/Makefile.am tmp-new/lib/krb5/Makefile.am ---- lib/krb5/Makefile.am 2008-06-07 16:54:02.000000000 +0000 -+++ lib/krb5/Makefile.am 2008-06-08 08:17:00.000000000 +0000 -@@ -2,7 +2,7 @@ - - include $(top_srcdir)/Makefile.am.common - --AM_CPPFLAGS += $(INCLUDE_krb4) $(INCLUDE_hcrypto) -I../com_err -I$(srcdir)/../com_err -I$(srcdir)/../sqlite -+AM_CPPFLAGS += $(INCLUDE_krb4) $(INCLUDE_hcrypto) -I../com_err -I$(srcdir)/../com_err $(sqlite_CFLAGS) - - bin_PROGRAMS = verify_krb5_conf - -@@ -53,7 +53,7 @@ - - libkrb5_la_LIBADD = \ - $(LIB_pkinit) \ -- ../sqlite/libsqlite.la \ -+ $(sqlite_LIBS) \ - $(LIB_com_err) \ - $(LIB_hcrypto) \ - $(top_builddir)/lib/asn1/libasn1.la \ -diff -Naur tmp-old/lib/krb5/scache.c tmp-new/lib/krb5/scache.c ---- lib/krb5/scache.c 2008-06-07 16:54:30.000000000 +0000 -+++ lib/krb5/scache.c 2008-06-07 17:01:43.000000000 +0000 -@@ -32,7 +32,7 @@ - */ - - #include "krb5_locl.h" --#include "sqlite3.h" -+#include <sqlite3.h> - - RCSID("$Id: heimdal-system_sqlite.patch,v 1.1 2008/06/11 07:27:47 mueli Exp $"); - diff --git a/app-crypt/heimdal/heimdal-1.2.1-r1.ebuild b/app-crypt/heimdal/heimdal-1.2.1-r1.ebuild deleted file mode 100644 index e2238ace06bd..000000000000 --- a/app-crypt/heimdal/heimdal-1.2.1-r1.ebuild +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.2.1-r1.ebuild,v 1.14 2010/01/12 09:59:19 mueli Exp $ - -EAPI=1 -VIRTUALX_REQUIRED="manual" - -inherit autotools libtool eutils virtualx toolchain-funcs flag-o-matic - -PATCHVER=0.2 -PATCH_P=${PN}-gentoo-patches-${PATCHVER} -RESTRICT="test" - -DESCRIPTION="Kerberos 5 implementation from KTH" -HOMEPAGE="http://www.h5l.org/" -SRC_URI="http://www.h5l.org/dist/src/${P}.tar.gz - mirror://gentoo/${PATCH_P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" -IUSE="afs +berkdb hdb-ldap ipv6 otp pkinit ssl test threads X" - -RDEPEND="ssl? ( dev-libs/openssl ) - berkdb? ( sys-libs/db ) - !berkdb? ( sys-libs/gdbm ) - >=dev-db/sqlite-3.5.7 - || ( ( >sys-libs/e2fsprogs-libs-1.40.11 ) ( sys-libs/com_err sys-libs/ss ) ) - afs? ( net-fs/openafs ) - hdb-ldap? ( >=net-nds/openldap-2.3.0 ) - !virtual/krb5" - -DEPEND="${RDEPEND} - dev-util/pkgconfig - >=sys-devel/autoconf-2.62 - test? ( X? ( ${VIRTUALX_DEPEND} ) )" -# >=sys-devel/libtool-2.2" - -PROVIDE="virtual/krb5" - -GENTOODIR=${WORKDIR}/gentoo -S=${WORKDIR}/${P} - -src_unpack() { - unpack ${A} - cd "${S}" - - EPATCH_SUFFIX="patch" epatch "${GENTOODIR}"/patches - - epatch "${FILESDIR}"/${PN}-r23238-kb5_locl_h-wind_h.patch - epatch "${FILESDIR}"/${PN}-r23235-kb5-libwind_la.patch - epatch "${FILESDIR}"/${PN}-kdc-sans_pkinit.patch - epatch "${FILESDIR}"/${PN}-system_sqlite.patch - epatch "${FILESDIR}"/${PN}-symlinked-manpages.patch - epatch "${FILESDIR}"/${PN}-autoconf-ipv6-backport.patch - - AT_M4DIR="cf" eautoreconf - - elog "" - elog "Heimdal is still under development in gentoo and you might" - elog "find problems with dependencies to virtual/krb5. Nevertheless" - elog "it's still usable. Please report bugs!" - elog "" - elog "There is also a development overlay at: (not for productive use)" - elog " git://git.overlays.gentoo.org/proj/kerberos.git" - elog "" -} - -src_compile() { - # needed to work with sys-libs/e2fsprogs-libs <- should be removed!! - append-flags "-I/usr/include/et" - econf \ - $(use_with ipv6) \ - $(use_enable berkdb berkeley-db) \ - $(use_enable pkinit pk-init) \ - $(use_with ssl openssl /usr) \ - $(use_with X x) \ - $(use_enable threads pthread-support) \ - $(use_enable otp) \ - $(use_enable afs afs-support) \ - $(use_with hdb-ldap openldap /usr) \ - --disable-osfc2 \ - --enable-kcm \ - --enable-shared \ - --disable-netinfo \ - --prefix=/usr \ - --libexecdir=/usr/sbin || die "econf failed" - - local ltversion=`libtool --version |grep 'GNU libtool' |sed -e's/^.*(GNU libtool) \([0-9]\+\.[0-9]\+\(\.[0-9]\+\)\+\) .*$/\1/'` - local ltmajor=`echo $ltversion |sed -e's/^\([0-9]\+\)\..*$/\1/'` - local ltminor=`echo $ltversion |sed -e's/^[0-9]\+\.\([0-9]\+\)\..*$/\1/'` - if [ $ltmajor -lt 2 ] || ( [ $ltmajor -eq 2 ] && [ $ltminor -lt 2 ] ); then - ewarn "Using old libtool with a quick hack." - sed -i -e's/ECHO=/echo=/' libtool - fi - - emake || die "emake failed" -} - -src_test() { - addpredict /proc/fs/openafs/afs_ioctl - addpredict /proc/fs/nnpfs/afs_ioctl - - if use X ; then - KRB5_CONFIG="${S}"/krb5.conf Xmake check || die - else - KRB5_CONFIG="${S}"/krb5.conf make check || die - fi -} - -src_install() { - INSTALL_CATPAGES="no" emake DESTDIR="${D}" install || die "emake install failed" - - dodoc ChangeLog README NEWS TODO - - # Begin client rename and install - for i in {telnetd,ftpd,rshd} - do - mv "${D}"/usr/share/man/man8/{,k}${i}.8 - mv "${D}"/usr/sbin/{,k}${i} - done - - for i in {rcp,rsh,telnet,ftp,su,login,pagsh} - do - mv "${D}"/usr/share/man/man1/{,k}${i}.1 - mv "${D}"/usr/bin/{,k}${i} - done - - mv "${D}"/usr/share/man/man5/{,k}ftpusers.5 - mv "${D}"/usr/share/man/man5/{,k}login.access.5 - - doinitd "${GENTOODIR}"/configs/heimdal-kdc - doinitd "${GENTOODIR}"/configs/heimdal-kadmind - doinitd "${GENTOODIR}"/configs/heimdal-kpasswdd - doinitd "${GENTOODIR}"/configs/heimdal-kcm - - insinto /etc - newins "${GENTOODIR}"/configs/krb5.conf krb5.conf.example - - sed -i "s:/lib:/$(get_libdir):" "${D}"/etc/krb5.conf.example || die "sed failed" - - if use hdb-ldap; then - insinto /etc/openldap/schema - doins "${GENTOODIR}"/configs/krb5-kdc.schema - fi - - # default database dir - keepdir /var/heimdal -} diff --git a/app-crypt/heimdal/heimdal-1.2.1-r4.ebuild b/app-crypt/heimdal/heimdal-1.2.1-r4.ebuild deleted file mode 100644 index f486a13ff222..000000000000 --- a/app-crypt/heimdal/heimdal-1.2.1-r4.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.2.1-r4.ebuild,v 1.10 2010/02/13 16:32:35 armin76 Exp $ - -EAPI=1 -VIRTUALX_REQUIRED="manual" - -inherit autotools libtool eutils virtualx toolchain-funcs flag-o-matic - -PATCHVER=0.2 -PATCH_P=${PN}-gentoo-patches-${PATCHVER} -RESTRICT="test" - -DESCRIPTION="Kerberos 5 implementation from KTH" -HOMEPAGE="http://www.h5l.org/" -SRC_URI="http://www.h5l.org/dist/src/${P}.tar.gz - mirror://gentoo/${PATCH_P}.tar.bz2" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" -IUSE="afs +berkdb hdb-ldap ipv6 otp pkinit ssl test threads X" - -RDEPEND="ssl? ( dev-libs/openssl ) - berkdb? ( sys-libs/db ) - !berkdb? ( sys-libs/gdbm ) - >=dev-db/sqlite-3.5.7 - sys-libs/e2fsprogs-libs - || ( >=sys-apps/util-linux-2.16 <sys-libs/e2fsprogs-libs-1.41.8 ) - afs? ( net-fs/openafs ) - hdb-ldap? ( >=net-nds/openldap-2.3.0 ) - !virtual/krb5" - -DEPEND="${RDEPEND} - dev-util/pkgconfig - >=sys-devel/autoconf-2.62 - test? ( X? ( ${VIRTUALX_DEPEND} ) )" -# >=sys-devel/libtool-2.2" - -PROVIDE="virtual/krb5" - -GENTOODIR=${WORKDIR}/gentoo -S=${WORKDIR}/${P} - -src_unpack() { - unpack ${A} - cd "${S}" - - EPATCH_SUFFIX="patch" epatch "${GENTOODIR}"/patches - - epatch "${FILESDIR}"/${PN}-r23238-kb5_locl_h-wind_h.patch - epatch "${FILESDIR}"/${PN}-r23235-kb5-libwind_la.patch - epatch "${FILESDIR}"/${PN}-kdc-sans_pkinit.patch - epatch "${FILESDIR}"/${PN}-system_sqlite.patch - epatch "${FILESDIR}"/${PN}-symlinked-manpages.patch - epatch "${FILESDIR}"/${PN}-autoconf-ipv6-backport.patch - epatch "${FILESDIR}"/${PN}-autoconf-2.64.patch - epatch "${FILESDIR}"/${PN}-mit-krb5-free.patch - - AT_M4DIR="cf" eautoreconf -} - -src_compile() { - # needed to work with sys-libs/e2fsprogs-libs <- should be removed!! - append-flags "-I/usr/include/et" - econf \ - $(use_with ipv6) \ - $(use_enable berkdb berkeley-db) \ - $(use_enable pkinit pk-init) \ - $(use_with ssl openssl /usr) \ - $(use_with X x) \ - $(use_enable threads pthread-support) \ - $(use_enable otp) \ - $(use_enable afs afs-support) \ - $(use_with hdb-ldap openldap /usr) \ - --disable-osfc2 \ - --enable-kcm \ - --enable-shared \ - --disable-netinfo \ - --prefix=/usr \ - --libexecdir=/usr/sbin || die "econf failed" - - local ltversion=`libtool --version |grep 'GNU libtool' |sed -e's/^.*(GNU libtool) \([0-9]\+\.[0-9]\+\(\.[0-9]\+\)\+\) .*$/\1/'` - local ltmajor=`echo $ltversion |sed -e's/^\([0-9]\+\)\..*$/\1/'` - local ltminor=`echo $ltversion |sed -e's/^[0-9]\+\.\([0-9]\+\)\..*$/\1/'` - if [ $ltmajor -lt 2 ] || ( [ $ltmajor -eq 2 ] && [ $ltminor -lt 2 ] ); then - ewarn "Using old libtool with a quick hack." - sed -i -e's/ECHO=/echo=/' libtool - fi - - emake || die "emake failed" -} - -src_test() { - addpredict /proc/fs/openafs/afs_ioctl - addpredict /proc/fs/nnpfs/afs_ioctl - - if use X ; then - KRB5_CONFIG="${S}"/krb5.conf Xmake check || die - else - KRB5_CONFIG="${S}"/krb5.conf make check || die - fi -} - -src_install() { - INSTALL_CATPAGES="no" emake DESTDIR="${D}" install || die "emake install failed" - - dodoc ChangeLog README NEWS TODO - - # Begin client rename and install - for i in {telnetd,ftpd,rshd,popper} - do - mv "${D}"/usr/share/man/man8/{,k}${i}.8 - mv "${D}"/usr/sbin/{,k}${i} - done - - for i in {rcp,rsh,telnet,ftp,su,login,pagsh,kf} - do - mv "${D}"/usr/share/man/man1/{,k}${i}.1 - mv "${D}"/usr/bin/{,k}${i} - done - - mv "${D}"/usr/share/man/man5/{,k}ftpusers.5 - mv "${D}"/usr/share/man/man5/{,k}login.access.5 - mv "${D}"/usr/share/man/man3/{,k}editline.3 - - doinitd "${GENTOODIR}"/configs/heimdal-kdc - doinitd "${GENTOODIR}"/configs/heimdal-kadmind - doinitd "${GENTOODIR}"/configs/heimdal-kpasswdd - doinitd "${GENTOODIR}"/configs/heimdal-kcm - - insinto /etc - newins "${GENTOODIR}"/configs/krb5.conf krb5.conf.example - - sed -i "s:/lib:/$(get_libdir):" "${D}"/etc/krb5.conf.example || die "sed failed" - - if use hdb-ldap; then - insinto /etc/openldap/schema - doins "${GENTOODIR}"/configs/krb5-kdc.schema - fi - - # default database dir - keepdir /var/heimdal -} diff --git a/app-crypt/heimdal/heimdal-1.3.2-r1.ebuild b/app-crypt/heimdal/heimdal-1.3.2-r1.ebuild deleted file mode 100644 index 48e494c4b603..000000000000 --- a/app-crypt/heimdal/heimdal-1.3.2-r1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.3.2-r1.ebuild,v 1.1 2010/05/09 16:32:44 darkside Exp $ - -EAPI=2 -VIRTUALX_REQUIRED="manual" - -inherit autotools libtool eutils virtualx toolchain-funcs - -PATCHVER=0.2 -PATCH_P=${PN}-gentoo-patches-${PATCHVER} -RESTRICT="test" - -DESCRIPTION="Kerberos 5 implementation from KTH" -HOMEPAGE="http://www.h5l.org/" -SRC_URI="http://www.h5l.org/dist/src/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh -~sparc ~x86" -IUSE="afs +berkdb hdb-ldap ipv6 otp pkinit ssl test threads X" - -RDEPEND="ssl? ( dev-libs/openssl ) - berkdb? ( sys-libs/db ) - !berkdb? ( sys-libs/gdbm ) - >=dev-db/sqlite-3.5.7 - >=sys-libs/e2fsprogs-libs-1.41.11 - afs? ( net-fs/openafs ) - hdb-ldap? ( >=net-nds/openldap-2.3.0 ) - !virtual/krb5" - -DEPEND="${RDEPEND} - dev-util/pkgconfig - >=sys-devel/autoconf-2.62 - test? ( X? ( ${VIRTUALX_DEPEND} ) )" - -PROVIDE="virtual/krb5" - -GENTOODIR=${WORKDIR}/gentoo - -src_prepare() { - eautoreconf -} - -src_configure() { - econf \ - --enable-kcm \ - --disable-osfc2 \ - --enable-shared \ - --with-libintl=/usr \ - --with-readline=/usr \ - --with-sqlite3=/usr \ - --libexecdir=/usr/sbin \ - $(use_enable afs afs-support) \ - $(use_enable berkdb berkeley-db) \ - $(use_enable otp) \ - $(use_enable pkinit kx509) \ - $(use_enable pkinit pk-init) \ - $(use_enable threads pthread-support) \ - $(use_with hdb-ldap openldap /usr) \ - $(use_with ipv6) \ - $(use_with ssl openssl /usr) \ - $(use_with X x) -} - -src_compile() { - emake -j1 || die "emake failed" -} - -src_install() { - INSTALL_CATPAGES="no" emake DESTDIR="${D}" install || die "emake install failed" - - dodoc ChangeLog README NEWS TODO - - # Begin client rename and install - for i in {telnetd,ftpd,rshd,popper} - do - mv "${D}"/usr/share/man/man8/{,k}${i}.8 - mv "${D}"/usr/sbin/{,k}${i} - done - - for i in {rcp,rsh,telnet,ftp,su,login,pagsh,kf} - do - mv "${D}"/usr/share/man/man1/{,k}${i}.1 - mv "${D}"/usr/bin/{,k}${i} - done - - mv "${D}"/usr/share/man/man5/{,k}ftpusers.5 - mv "${D}"/usr/share/man/man5/{,k}login.access.5 - - newinitd "${FILESDIR}"/heimdal-kdc.initd heimdal-kdc - newinitd "${FILESDIR}"/heimdal-kadmind.initd heimdal-kadmind - newinitd "${FILESDIR}"/heimdal-kpasswdd.initd heimdal-kpasswdd - newinitd "${FILESDIR}"/heimdal-kcm.initd heimdal-kcm - - insinto /etc - newins "${FILESDIR}"/krb5.conf krb5.conf.example - - if use hdb-ldap; then - insinto /etc/openldap/schema - newins "${S}/lib/hdb/hdb.schema" krb5-kdc.schema - fi - - # default database dir - keepdir /var/heimdal -} diff --git a/app-crypt/heimdal/heimdal-1.3.3.ebuild b/app-crypt/heimdal/heimdal-1.3.3.ebuild deleted file mode 100644 index d4d25eb44335..000000000000 --- a/app-crypt/heimdal/heimdal-1.3.3.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.3.3.ebuild,v 1.6 2010/07/22 19:20:33 armin76 Exp $ - -EAPI=2 -VIRTUALX_REQUIRED="manual" - -inherit libtool virtualx eutils toolchain-funcs - -#RESTRICT="test" - -DESCRIPTION="Kerberos 5 implementation from KTH" -HOMEPAGE="http://www.h5l.org/" -SRC_URI="http://www.h5l.org/dist/src/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ~ppc ~ppc64 s390 sh sparc x86" -IUSE="afs +berkdb hdb-ldap ipv6 otp pkinit ssl threads test X" - -RDEPEND="ssl? ( dev-libs/openssl ) - berkdb? ( sys-libs/db ) - !berkdb? ( sys-libs/gdbm ) - >=dev-db/sqlite-3.5.7 - >=sys-libs/e2fsprogs-libs-1.41.11 - afs? ( net-fs/openafs ) - hdb-ldap? ( >=net-nds/openldap-2.3.0 ) - !virtual/krb5" - -DEPEND="${RDEPEND} - dev-util/pkgconfig - >=sys-devel/autoconf-2.62 - test? ( X? ( ${VIRTUALX_DEPEND} ) )" - -PROVIDE="virtual/krb5" - -src_prepare() { - epatch "${FILESDIR}/heimdal_db5.patch" - epatch "${FILESDIR}/heimdal_testsuite.patch" - epatch "${FILESDIR}/heimdal_testsuite_extra.patch" - epatch "${FILESDIR}/heimdal_disable-check-iprop.patch" -} - -src_configure() { - econf \ - --enable-kcm \ - --disable-osfc2 \ - --enable-shared \ - --with-libintl=/usr \ - --with-readline=/usr \ - --with-sqlite3=/usr \ - --libexecdir=/usr/sbin \ - $(use_enable afs afs-support) \ - $(use_enable berkdb berkeley-db) \ - $(use_enable otp) \ - $(use_enable pkinit kx509) \ - $(use_enable pkinit pk-init) \ - $(use_enable threads pthread-support) \ - $(use_with hdb-ldap openldap /usr) \ - $(use_with ipv6) \ - $(use_with ssl openssl /usr) \ - $(use_with X x) -} - -src_compile() { - emake -j1 || die "emake failed" -} - -src_test() { - einfo "Disabled check-iprop which is known to fail. Other tests should work." - default_src_test -} - -src_install() { - INSTALL_CATPAGES="no" emake DESTDIR="${D}" install || die "emake install failed" - - dodoc ChangeLog README NEWS TODO - - # Begin client rename and install - for i in {telnetd,ftpd,rshd,popper} - do - mv "${D}"/usr/share/man/man8/{,k}${i}.8 - mv "${D}"/usr/sbin/{,k}${i} - done - - for i in {rcp,rsh,telnet,ftp,su,login,pagsh,kf} - do - mv "${D}"/usr/share/man/man1/{,k}${i}.1 - mv "${D}"/usr/bin/{,k}${i} - done - - mv "${D}"/usr/share/man/man5/{,k}ftpusers.5 - mv "${D}"/usr/share/man/man5/{,k}login.access.5 - - newinitd "${FILESDIR}"/heimdal-kdc.initd heimdal-kdc - newinitd "${FILESDIR}"/heimdal-kadmind.initd heimdal-kadmind - newinitd "${FILESDIR}"/heimdal-kpasswdd.initd heimdal-kpasswdd - newinitd "${FILESDIR}"/heimdal-kcm.initd heimdal-kcm - - insinto /etc - newins "${FILESDIR}"/krb5.conf krb5.conf.example - - if use hdb-ldap; then - insinto /etc/openldap/schema - doins "${S}/lib/hdb/hdb.schema" - fi - - # default database dir - keepdir /var/heimdal -} - -pkg_preinst() { - - if has_version "=${CATEGORY}/${PN}-1.3.2*" ; then - if use hdb-ldap ; then - ewarn "Schema name changed to hdb.schema to follow upstream." - ewarn "Please check you slapd conf file to make sure" - ewarn "that the correct schema file is included." - fi - fi -} |