diff options
author | Emanuele Giaquinta <exg@gentoo.org> | 2006-03-14 00:23:02 +0000 |
---|---|---|
committer | Emanuele Giaquinta <exg@gentoo.org> | 2006-03-14 00:23:02 +0000 |
commit | 27be949b56e48816182410812a49d05247ae458e (patch) | |
tree | 08274320d8c2ec0b7d1f3c35bd584e1c22632526 /app-crypt | |
parent | ~amd64 added. (diff) | |
download | gentoo-2-27be949b56e48816182410812a49d05247ae458e.tar.gz gentoo-2-27be949b56e48816182410812a49d05247ae458e.tar.bz2 gentoo-2-27be949b56e48816182410812a49d05247ae458e.zip |
Version bump for bug 121839.
(Portage version: 2.1_pre6-r2)
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/heimdal/ChangeLog | 9 | ||||
-rw-r--r-- | app-crypt/heimdal/Manifest | 30 | ||||
-rw-r--r-- | app-crypt/heimdal/files/digest-heimdal-0.7.2 | 6 | ||||
-rw-r--r-- | app-crypt/heimdal/heimdal-0.7.2.ebuild | 153 |
4 files changed, 195 insertions, 3 deletions
diff --git a/app-crypt/heimdal/ChangeLog b/app-crypt/heimdal/ChangeLog index 622762ddbe97..ad9c13640f45 100644 --- a/app-crypt/heimdal/ChangeLog +++ b/app-crypt/heimdal/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-crypt/heimdal -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v 1.90 2005/11/14 18:24:57 seemant Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/ChangeLog,v 1.91 2006/03/14 00:23:02 exg Exp $ + +*heimdal-0.7.2 (14 Mar 2006) + + 14 Mar 2006; Emanuele Giaquinta <exg@gentoo.org> +heimdal-0.7.2.ebuild: + Version bump for bug 121839. 14 Nov 2005; Seemant Kulleen <seemant@gentoo.org> heimdal-0.7.1-r1.ebuild: move the autoreconf/elibtoolize business into src_unpack diff --git a/app-crypt/heimdal/Manifest b/app-crypt/heimdal/Manifest index 9cd9fbce467c..c849ae4b3ba5 100644 --- a/app-crypt/heimdal/Manifest +++ b/app-crypt/heimdal/Manifest @@ -1,6 +1,34 @@ -MD5 65ff54e87543c70b52cc90a05851f83a ChangeLog 15195 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 c076095fb82bbe675732bebd787b7522 ChangeLog 15331 +RMD160 43494c1a7055081b8ff9014ee266902b4986c898 ChangeLog 15331 +SHA256 8ede479510db6c42ffc40ed25b3ef7e7bf2164fe2cdcbb29bcb98c8991235503 ChangeLog 15331 MD5 48691f4945f1b98de5fe5d5e4f48ef8b files/digest-heimdal-0.6.5 147 +RMD160 ca9d71e635fd3bd82484a50113131fde4aaa723e files/digest-heimdal-0.6.5 147 +SHA256 181689aaa2413348dbea1b37094442b8d0e714ade7d10f8225ebde45a0d50168 files/digest-heimdal-0.6.5 147 MD5 7e46678d57392f8cfcf60114e30768e4 files/digest-heimdal-0.7.1-r1 149 +RMD160 ee63c896712b2c93d03b64bc35a564dc519f9c71 files/digest-heimdal-0.7.1-r1 149 +SHA256 1ae7222731f01b2893d3633807354584ac2e06c3355017c76b5b4c9b178970ca files/digest-heimdal-0.7.1-r1 149 +MD5 02ba5c70160d087453fdf9c85f748897 files/digest-heimdal-0.7.2 539 +RMD160 07b7de3ac89e0581ac848dee962f9c32b07d16b7 files/digest-heimdal-0.7.2 539 +SHA256 e8d708fab5ddfd761d49afc892580bec20ae35459cb4920c7c48048aa88f2cba files/digest-heimdal-0.7.2 539 MD5 1abe6db9c36ed47686737e246ff7774f heimdal-0.6.5.ebuild 3671 +RMD160 2e392740eb0291851b35a45b66f2767231ac3631 heimdal-0.6.5.ebuild 3671 +SHA256 ea0e27dd9600ac3959fbd13855abe5eb4bb9ca9957c36287ea6f0f39bf28c7da heimdal-0.6.5.ebuild 3671 MD5 310ccb6b530f2793e79c7066536233b5 heimdal-0.7.1-r1.ebuild 3826 +RMD160 1b458cba2389d394bd93c8ec897f8336f19e3dd3 heimdal-0.7.1-r1.ebuild 3826 +SHA256 3374de485a72f4d9800639066c1d6003120e609753dbb7c57020ac29f62d6527 heimdal-0.7.1-r1.ebuild 3826 +MD5 f906bae778ec216a0bcfd507c23bf0da heimdal-0.7.2.ebuild 3866 +RMD160 0bbf584fc085a619a231e6be42c09686f4c2e544 heimdal-0.7.2.ebuild 3866 +SHA256 a15d3144da71d622b67e7cac9d0bc9eae601adaec06d9f1fe15f17f68c2338b0 heimdal-0.7.2.ebuild 3866 MD5 6c9cbfc951ebeca1a88d8722de4dde80 metadata.xml 231 +RMD160 1be9e973a8223227be2a819d21b20400ec0c2eeb metadata.xml 231 +SHA256 a8adb0e7f6a178f4af8bfabe77a247ef7d6ad2216eb1e15d02e2954143c48d0a metadata.xml 231 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2.2 (GNU/Linux) + +iD8DBQFEFgui2iXjgNjfe5sRAupjAKCYiy2MmIYPVpfllmB5UNXGyR16EgCfdjBa +/EvzHq+RWa+JHms/HfrfroA= +=2jJv +-----END PGP SIGNATURE----- diff --git a/app-crypt/heimdal/files/digest-heimdal-0.7.2 b/app-crypt/heimdal/files/digest-heimdal-0.7.2 new file mode 100644 index 000000000000..6cedea312323 --- /dev/null +++ b/app-crypt/heimdal/files/digest-heimdal-0.7.2 @@ -0,0 +1,6 @@ +MD5 384f7c0b5e2a86b74d8c5d0eddb4e9b2 heimdal-0.7.1-gentoo-patches-0.1.tar.bz2 4876 +RMD160 428fcb4d6eac56e0a7470f64e5a528a69b545a2c heimdal-0.7.1-gentoo-patches-0.1.tar.bz2 4876 +SHA256 4bc4c8b6ef9bd5f51a654000186a8fd2ea1cf16e94fbf41a2045475f84888161 heimdal-0.7.1-gentoo-patches-0.1.tar.bz2 4876 +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.ebuild b/app-crypt/heimdal/heimdal-0.7.2.ebuild new file mode 100644 index 000000000000..5f37f0d76f5d --- /dev/null +++ b/app-crypt/heimdal/heimdal-0.7.2.ebuild @@ -0,0 +1,153 @@ +# 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.ebuild,v 1.1 2006/03/14 00:23:02 exg Exp $ + +inherit autotools libtool eutils virtualx toolchain-funcs + +PATCHVER=0.1 +PATCH_P=${PN}-0.7.1-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 + mirror://gentoo/${PATCH_P}.tar.bz2" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~s390 ~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} + sys-devel/autoconf + sys-devel/automake + sys-devel/gcc + >=sys-apps/sed-4" + +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-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 \ + -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} + 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 + doins ${GENTOODIR}/configs/krb5.conf + + sed -i "s:lib:$(get_libdir):" ${D}/etc/krb5.conf + + if use ldap; then + insinto /etc/openldap/schema + doins ${GENTOODIR}/configs/krb5-kdc.schema + fi + + # default database dir + keepdir /var/heimdal +} + +pkg_postinst() { + echo + ewarn "DANGER WILL ROBINSON!" + einfo "There has been a change in the libgssapi shared library version" + einfo "This means that _EVERYTHING_ that linked against libgssapi.so.1" + einfo "will now be broken. Examples include, but may not be limited to:" + einfo "samba, mozilla, mozilla-firefox, subversion and neon, cvs, " + einfo "evolution-data-server, and gnome-vfs. As a consequence:" + ewarn "PLEASE PLEASE PLEASE PLEASE PLEASE run revdep-rebuild right now" + epause + ebeep 10 + echo +} + |