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 | 00a8ed256df1ac641f3fa93e3bdd76ea0022fe7d (patch) | |
tree | 2f5b36219da0015982993ccc308dadb38377abf8 /app-crypt | |
parent | Version bump by Eray Aslan, security bug 312481 (diff) | |
download | historical-00a8ed256df1ac641f3fa93e3bdd76ea0022fe7d.tar.gz historical-00a8ed256df1ac641f3fa93e3bdd76ea0022fe7d.tar.bz2 historical-00a8ed256df1ac641f3fa93e3bdd76ea0022fe7d.zip |
New ebuild by Eray Aslan, bug 312481, comment 5
Package-Manager: portage-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 + +} |