diff options
Diffstat (limited to 'app-crypt/heimdal')
-rw-r--r-- | app-crypt/heimdal/ChangeLog | 8 | ||||
-rw-r--r-- | app-crypt/heimdal/Manifest | 20 | ||||
-rw-r--r-- | app-crypt/heimdal/files/digest-heimdal-0.7.2-r3 | 6 | ||||
-rw-r--r-- | app-crypt/heimdal/heimdal-0.7.2-r3.ebuild | 137 |
4 files changed, 164 insertions, 7 deletions
diff --git a/app-crypt/heimdal/ChangeLog b/app-crypt/heimdal/ChangeLog index 4068757a8cd7..82756335d4fb 100644 --- a/app-crypt/heimdal/ChangeLog +++ b/app-crypt/heimdal/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-crypt/heimdal # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v 1.104 2006/07/23 08:03:58 exg Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v 1.105 2006/08/11 02:18:56 seemant Exp $ + +*heimdal-0.7.2-r3 (11 Aug 2006) + + 11 Aug 2006; Seemant Kulleen <seemant@gentoo.org> + +heimdal-0.7.2-r3.ebuild: + revision bump for heimdal/mit setuid security advisory. see bug #143371 23 Jul 2006; Emanuele Giaquinta <exg@gentoo.org> heimdal-0.7.2.ebuild, -heimdal-0.7.2-r1.ebuild, heimdal-0.7.2-r2.ebuild: diff --git a/app-crypt/heimdal/Manifest b/app-crypt/heimdal/Manifest index 1a630bee47c0..76cd3cd06b22 100644 --- a/app-crypt/heimdal/Manifest +++ b/app-crypt/heimdal/Manifest @@ -1,18 +1,23 @@ DIST heimdal-0.7.1-gentoo-patches-0.1.tar.bz2 4876 RMD160 428fcb4d6eac56e0a7470f64e5a528a69b545a2c SHA256 4bc4c8b6ef9bd5f51a654000186a8fd2ea1cf16e94fbf41a2045475f84888161 -DIST heimdal-0.7.2-gentoo-patches-0.1.tar.bz2 5347 RMD160 9e2c78b1f6a282a03ee91ecf12a974b825b520d2 SHA256 34be35020924673f2cc252a43fe9a8da07c7a38e625bf1ac98e2a423c20237a3 -DIST heimdal-0.7.2.tar.gz 4525734 RMD160 0f028a9d5a6a66e8efc0397e4d8c8adc2183b409 SHA256 28661862ac8cbbd62ddddbda7db760b622b903c88c06f2fbdbf7b97be47eac60 +DIST heimdal-0.7.2-gentoo-patches-0.1.tar.bz2 5347 RMD160 9e2c78b1f6a282a03ee91ecf12a974b825b520d2 SHA1 3ab750e17ba1c87b1bf7d44c5eecf25fe1b32ae9 SHA256 34be35020924673f2cc252a43fe9a8da07c7a38e625bf1ac98e2a423c20237a3 +DIST heimdal-0.7.2-gentoo-patches-0.2.tar.bz2 7500 RMD160 87240de8914b05c552ceb7d2f92e7de68dad21b7 SHA1 f4b33a9816e973bee0fb99b3791e57e019161111 SHA256 cfbec87dcbab67941de5897370fc9e0b3a085292f53cbeb20b8e9d2667109c05 +DIST heimdal-0.7.2.tar.gz 4525734 RMD160 0f028a9d5a6a66e8efc0397e4d8c8adc2183b409 SHA1 a902e6ad7c31d940b588dc0235b348936f0d719d SHA256 28661862ac8cbbd62ddddbda7db760b622b903c88c06f2fbdbf7b97be47eac60 EBUILD heimdal-0.7.2-r2.ebuild 3390 RMD160 a0b509bab8e054abff25fd37bba3d194a2580a2a SHA1 ed2adbb68fe9e91abcb18137e1ca83a52f318708 SHA256 d1757bd74050008eec550b9411e9a1922b724736074456362b528d84334551d3 MD5 3b2b9e65f6c05812784f721f766cf064 heimdal-0.7.2-r2.ebuild 3390 RMD160 a0b509bab8e054abff25fd37bba3d194a2580a2a heimdal-0.7.2-r2.ebuild 3390 SHA256 d1757bd74050008eec550b9411e9a1922b724736074456362b528d84334551d3 heimdal-0.7.2-r2.ebuild 3390 +EBUILD heimdal-0.7.2-r3.ebuild 3455 RMD160 03304532207bfa7fc3eb07a8f606439dfed88029 SHA1 0519ed50cf4d1dcb32e98893922124a5acad3f84 SHA256 5a1c11d9653a0ddb61b4abc309ab253d1d87a024df82ac20e1a47f491c3e7300 +MD5 cb3187cc0538e1a219e5788451a0d07c heimdal-0.7.2-r3.ebuild 3455 +RMD160 03304532207bfa7fc3eb07a8f606439dfed88029 heimdal-0.7.2-r3.ebuild 3455 +SHA256 5a1c11d9653a0ddb61b4abc309ab253d1d87a024df82ac20e1a47f491c3e7300 heimdal-0.7.2-r3.ebuild 3455 EBUILD heimdal-0.7.2.ebuild 3304 RMD160 ff0d76cf38c2667c2b5b7a57bb1ba8ae838172be SHA1 2f3a5db326d8904b7abca0b5fdc861033feadd4d SHA256 254842cb6bcc89e94dd1395eccc4f9b8d1969a9b0a43402b175c945fb254a754 MD5 4fba7f516618279726db4a6dcca9236a heimdal-0.7.2.ebuild 3304 RMD160 ff0d76cf38c2667c2b5b7a57bb1ba8ae838172be heimdal-0.7.2.ebuild 3304 SHA256 254842cb6bcc89e94dd1395eccc4f9b8d1969a9b0a43402b175c945fb254a754 heimdal-0.7.2.ebuild 3304 -MISC ChangeLog 17270 RMD160 d6eaa30aa0dfdc7f671a089da78c16bbe4846d32 SHA1 e6000fd0166ed15e7c3d18fd2d08dd0e6d72f4d0 SHA256 4870950198007eb782ab493e20289d78c0f411c6286ec18d6cfcb7050f4649a4 -MD5 e82bf51cc6009e14c1a463cdeae50839 ChangeLog 17270 -RMD160 d6eaa30aa0dfdc7f671a089da78c16bbe4846d32 ChangeLog 17270 -SHA256 4870950198007eb782ab493e20289d78c0f411c6286ec18d6cfcb7050f4649a4 ChangeLog 17270 +MISC ChangeLog 17462 RMD160 4a2756c7ff3ee7f38f63d89ad5fb29b2fb948de3 SHA1 9b5888ed61f9be59fe93184e725562a1e855642f SHA256 ae62d2a2878a5f8cb459851c15bbe4d9ef91fb037c6ef3ef0650e41e2b29ee13 +MD5 9f479ee6434d57618e47cf16aa9d2844 ChangeLog 17462 +RMD160 4a2756c7ff3ee7f38f63d89ad5fb29b2fb948de3 ChangeLog 17462 +SHA256 ae62d2a2878a5f8cb459851c15bbe4d9ef91fb037c6ef3ef0650e41e2b29ee13 ChangeLog 17462 MISC metadata.xml 231 RMD160 1be9e973a8223227be2a819d21b20400ec0c2eeb SHA1 9ef61083af843eed7a918f2d91f3aef87b925e50 SHA256 a8adb0e7f6a178f4af8bfabe77a247ef7d6ad2216eb1e15d02e2954143c48d0a MD5 6c9cbfc951ebeca1a88d8722de4dde80 metadata.xml 231 RMD160 1be9e973a8223227be2a819d21b20400ec0c2eeb metadata.xml 231 @@ -23,3 +28,6 @@ SHA256 ca268081e1c12cbaf770fb9d38748a5b721da6f3d54918e9e645e547f7cd6667 files/di MD5 451a1a3600356a766f5f5ddc3337dc67 files/digest-heimdal-0.7.2-r2 539 RMD160 63d72ebea4f2bd35e4b831326d0a9debbb3d89ab files/digest-heimdal-0.7.2-r2 539 SHA256 55ad7b3472d224fafb212a798d2bbf595514896e5c2056c2a3d0c41b18537ec1 files/digest-heimdal-0.7.2-r2 539 +MD5 2f59556d101b5addd709872bb854d910 files/digest-heimdal-0.7.2-r3 539 +RMD160 63b153b9e14463bad507ef267d6fe54ae352c51d files/digest-heimdal-0.7.2-r3 539 +SHA256 df2fbd628311ec94724458d7438cf0525507cdefde3941ad0a8fa2c8f3943ea7 files/digest-heimdal-0.7.2-r3 539 diff --git a/app-crypt/heimdal/files/digest-heimdal-0.7.2-r3 b/app-crypt/heimdal/files/digest-heimdal-0.7.2-r3 new file mode 100644 index 000000000000..3d9c092d49ac --- /dev/null +++ b/app-crypt/heimdal/files/digest-heimdal-0.7.2-r3 @@ -0,0 +1,6 @@ +MD5 67ac9cf2561b0e2375d65c0c53f213dc heimdal-0.7.2-gentoo-patches-0.2.tar.bz2 7500 +RMD160 87240de8914b05c552ceb7d2f92e7de68dad21b7 heimdal-0.7.2-gentoo-patches-0.2.tar.bz2 7500 +SHA256 cfbec87dcbab67941de5897370fc9e0b3a085292f53cbeb20b8e9d2667109c05 heimdal-0.7.2-gentoo-patches-0.2.tar.bz2 7500 +MD5 c937580d6f8b11bf7f0e540530e1dc18 heimdal-0.7.2.tar.gz 4525734 +RMD160 0f028a9d5a6a66e8efc0397e4d8c8adc2183b409 heimdal-0.7.2.tar.gz 4525734 +SHA256 28661862ac8cbbd62ddddbda7db760b622b903c88c06f2fbdbf7b97be47eac60 heimdal-0.7.2.tar.gz 4525734 diff --git a/app-crypt/heimdal/heimdal-0.7.2-r3.ebuild b/app-crypt/heimdal/heimdal-0.7.2-r3.ebuild new file mode 100644 index 000000000000..b1b5a82ce588 --- /dev/null +++ b/app-crypt/heimdal/heimdal-0.7.2-r3.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-0.7.2-r3.ebuild,v 1.1 2006/08/11 02:18:56 seemant Exp $ + +inherit autotools libtool eutils virtualx toolchain-funcs + +PATCHVER=0.2 +PATCH_P=${P}-gentoo-patches-${PATCHVER} + +DESCRIPTION="Kerberos 5 implementation from KTH" +HOMEPAGE="http://www.pdc.kth.se/heimdal/" +SRC_URI="ftp://ftp.pdc.kth.se/pub/heimdal/src/${P}.tar.gz + http://dev.gentoo.org/~seemant/distfiles/${PATCH_P}.tar.bz2 + mirror://gentoo/${PATCH_P}.tar.bz2" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="ssl berkdb ipv6 krb4 ldap X" + +RDEPEND="ssl? ( dev-libs/openssl ) + berkdb? ( sys-libs/db ) + krb4? ( >=app-crypt/kth-krb-1.2.2-r2 ) + ldap? ( net-nds/openldap ) + sys-libs/ss + sys-libs/com_err + sys-libs/cracklib + !virtual/krb5" + +DEPEND="${RDEPEND}" + +PROVIDE="virtual/krb5" + +GENTOODIR=${WORKDIR}/gentoo + +src_unpack() { + unpack ${A} ; cd ${S} + + EPATCH_SUFFIX="patch" epatch ${GENTOODIR}/patches + + AT_M4DIR="cf" eautoreconf +} + +src_compile() { + local myconf="" + + use krb4 \ + && myconf="${myconf} --with-krb4-config=/usr/athena/bin/krb4-config" + + use ldap && myconf="${myconf} --with-openldap=/usr" + + econf \ + $(use_with ipv6) \ + $(use_with berkdb berkeley-db) \ + $(use_with ssl openssl) \ + $(use_with X x) \ + $(use_with krb4) \ + --enable-kcm \ + --enable-shared \ + --includedir=/usr/include/heimdal \ + --libexecdir=/usr/sbin \ + ${myconf} || die "econf failed" + + emake || die + + # Compile the added password checker: + cd ${S}/lib/kadm5 + tc-export CC + ${CC} -shared -fPIC \ + ${CFLAGS} -I${S}/include \ + -DDICTPATH=\"/usr/$(get_libdir)/cracklib_dict\" \ + -o sample_passwd_check.so sample_passwd_check.c -lcrack || \ + die "Failed to compile password checker" +} + +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() { + make DESTDIR=${D} install || die + + dolib ${S}/lib/kadm5/sample_passwd_check.so + + 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} + 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 + + # Create symlinks for the includes + dosym heimdal /usr/include/gssapi + dosym heimdal/krb5-types.h /usr/include/krb5-types.h + dosym heimdal/krb5.h /usr/include/krb5.h + dosym heimdal/asn1_err.h /usr/include/asn1_err.h + dosym heimdal/krb5_asn1.h /usr/include/krb5_asn1.h + dosym heimdal/krb5_err.h /usr/include/krb5_err.h + dosym heimdal/heim_err.h /usr/include/heim_err.h + dosym heimdal/k524_err.h /usr/include/k524_err.h + dosym heimdal/krb5-protos.h /usr/include/krb5-protos.h + + doinitd ${GENTOODIR}/configs/heimdal-kdc + doinitd ${GENTOODIR}/configs/heimdal-kadmind + doinitd ${GENTOODIR}/configs/heimdal-kpasswdd + + insinto /etc + newins ${GENTOODIR}/configs/krb5.conf krb5.conf.example + + sed -i "s:/lib:/$(get_libdir):" ${D}/etc/krb5.conf.example + + if use ldap; then + insinto /etc/openldap/schema + doins ${GENTOODIR}/configs/krb5-kdc.schema + fi + + # default database dir + keepdir /var/heimdal +} |