diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2010-04-30 22:20:32 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2010-04-30 22:20:32 +0000 |
commit | 1ef80c98aee91872fe8744e20d1f8524c1bf8c94 (patch) | |
tree | 316fc173a9894bea8a60601c17b48b9b1a5e9f61 /app-crypt | |
parent | Version bump by Eray Aslan, security bug 312481 (diff) | |
download | gentoo-2-1ef80c98aee91872fe8744e20d1f8524c1bf8c94.tar.gz gentoo-2-1ef80c98aee91872fe8744e20d1f8524c1bf8c94.tar.bz2 gentoo-2-1ef80c98aee91872fe8744e20d1f8524c1bf8c94.zip |
New ebuild by Eray Aslan, bug 312481, comment 5
(Portage version: 2.1.8.3/cvs/Linux armv7l)
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/mit-krb5-appl/ChangeLog | 10 | ||||
-rw-r--r-- | app-crypt/mit-krb5-appl/metadata.xml | 5 | ||||
-rw-r--r-- | app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.ebuild | 65 |
3 files changed, 80 insertions, 0 deletions
diff --git a/app-crypt/mit-krb5-appl/ChangeLog b/app-crypt/mit-krb5-appl/ChangeLog new file mode 100644 index 000000000000..1a0e1c596806 --- /dev/null +++ b/app-crypt/mit-krb5-appl/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-crypt/mit-krb5-appl +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5-appl/ChangeLog,v 1.1 2010/04/30 22:20:32 darkside Exp $ + +*mit-krb5-appl-1.0 (30 Apr 2010) + + 30 Apr 2010; Jeremy Olexa <darkside@gentoo.org> +mit-krb5-appl-1.0.ebuild, + +metadata.xml: + New ebuild by Eray Aslan, bug 312481 + diff --git a/app-crypt/mit-krb5-appl/metadata.xml b/app-crypt/mit-krb5-appl/metadata.xml new file mode 100644 index 000000000000..5ae9375e9391 --- /dev/null +++ b/app-crypt/mit-krb5-appl/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>kerberos</herd> +</pkgmetadata> diff --git a/app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.ebuild b/app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.ebuild new file mode 100644 index 000000000000..45d4d141079d --- /dev/null +++ b/app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.ebuild,v 1.1 2010/04/30 22:20:32 darkside Exp $ + +EAPI="2" + +inherit eutils flag-o-matic autotools + +MY_P=${P/mit-} +DESCRIPTION="MIT Kerberos V" +HOMEPAGE="http://web.mit.edu/kerberos/www/" +SRC_URI="http://web.mit.edu/kerberos/dist/krb5-appl/${PV}/${MY_P}-signed.tar" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +RDEPEND=">=app-crypt/mit-krb5-1.8.0" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + unpack ./"${MY_P}".tar.gz + local subdir + for subdir in $(find . -name configure.in \ + | xargs grep -l 'AC_CONFIG_SUBDIRS' \ + | sed 's@/configure\.in$@@'); do + ebegin "Regenerating configure script in ${subdir}" + cd "${S}"/${subdir} + eautoconf --force -I "${S}" + eend $? + done +} + +src_configure() { + append-flags "-I/usr/include/et" + econf +} + +src_compile() { + emake || die "appl emake failed" +} + +src_install() { + + emake DESTDIR="${D}" install || die "appl install failed" + for i in {telnetd,ftpd} ; do + mv "${D}"/usr/share/man/man8/${i}.8 "${D}"/usr/share/man/man8/k${i}.8 \ + || die "mv failed (man)" + mv "${D}"/usr/sbin/${i} "${D}"/usr/sbin/k${i} || die "mv failed" + done + + for i in {rcp,rlogin,rsh,telnet,ftp} ; do + mv "${D}"/usr/share/man/man1/${i}.1 "${D}"/usr/share/man/man1/k${i}.1 \ + || die "mv failed (man)" + mv "${D}"/usr/bin/${i} "${D}"/usr/bin/k${i} || die "mv failed" + done + + rm "${D}"/usr/share/man/man1/tmac.doc + dodoc README + +} |