diff options
author | Sam James <sam@gentoo.org> | 2020-09-19 19:10:29 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-09-19 19:10:29 +0000 |
commit | 0b286443e106cf3f1853fddc9ec12844f084c7af (patch) | |
tree | 36dc251716a9a628b47dc02e5a25d307b23e1afb /app-crypt | |
parent | sci-mathematics/octave-epstk: port to EAPI 7 (diff) | |
download | gentoo-0b286443e106cf3f1853fddc9ec12844f084c7af.tar.gz gentoo-0b286443e106cf3f1853fddc9ec12844f084c7af.tar.bz2 gentoo-0b286443e106cf3f1853fddc9ec12844f084c7af.zip |
app-crypt/mit-krb5-appl: bump to EAPI 7
Closes: https://bugs.gentoo.org/724202
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/mit-krb5-appl/files/mit-krb5-appl-tinfo.patch | 4 | ||||
-rw-r--r-- | app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.3.ebuild | 39 |
2 files changed, 23 insertions, 20 deletions
diff --git a/app-crypt/mit-krb5-appl/files/mit-krb5-appl-tinfo.patch b/app-crypt/mit-krb5-appl/files/mit-krb5-appl-tinfo.patch index 54c18665d336..7a81f244cfb0 100644 --- a/app-crypt/mit-krb5-appl/files/mit-krb5-appl-tinfo.patch +++ b/app-crypt/mit-krb5-appl/files/mit-krb5-appl-tinfo.patch @@ -1,5 +1,5 @@ ---- configure.ac 2011-07-11 22:34:17.000000000 +0300 -+++ configure.ac 2013-02-28 15:12:24.693841664 +0200 +--- a/configure.ac 2011-07-11 22:34:17.000000000 +0300 ++++ b/configure.ac 2013-02-28 15:12:24.693841664 +0200 @@ -152,7 +152,8 @@ [AC_DEFINE(TERMCAP,1,[Define if termcap library is available]) LIBS="$LIBS -ltermcap"]) diff --git a/app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.3.ebuild b/app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.3.ebuild index 73a6522b4699..6493b2d6f54e 100644 --- a/app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.3.ebuild +++ b/app-crypt/mit-krb5-appl/mit-krb5-appl-1.0.3.ebuild @@ -1,28 +1,31 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 -inherit autotools eutils flag-o-matic toolchain-funcs versionator +inherit autotools flag-o-matic toolchain-funcs MY_P=${P/mit-} -MAJOR_MINOR="$( get_version_component_range 1-2 )" +MAJOR_MINOR="$(ver_cut 1-2)" DESCRIPTION="Kerberized applications split from the main MIT Kerberos V distribution" HOMEPAGE="http://web.mit.edu/kerberos/www/" SRC_URI="http://web.mit.edu/kerberos/dist/krb5-appl/${MAJOR_MINOR}/${MY_P}-signed.tar" +S="${WORKDIR}/${MY_P}" LICENSE="openafs-krb5-a BSD" SLOT="0" KEYWORDS="~alpha amd64 arm hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86" -IUSE="" +BDEPEND="virtual/pkgconfig" RDEPEND=">=app-crypt/mit-krb5-1.8.0 sys-libs/e2fsprogs-libs sys-libs/ncurses" -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" -S=${WORKDIR}/${MY_P} +PATCHES=( + "${FILESDIR}/${PN}-tinfo.patch" + "${FILESDIR}/${PN}-sig_t.patch" +) src_unpack() { unpack ${A} @@ -30,9 +33,9 @@ src_unpack() { } src_prepare() { - epatch "${FILESDIR}/${PN}-tinfo.patch" - epatch "${FILESDIR}/${PN}-sig_t.patch" - sed -i -e "s/-lncurses/$($(tc-getPKG_CONFIG) --libs ncurses)/" configure.ac + default + + sed -i -e "s/-lncurses/$($(tc-getPKG_CONFIG) --libs ncurses)/" configure.ac || die eautoreconf } @@ -44,19 +47,19 @@ src_configure() { } src_install() { - emake DESTDIR="${D}" install + emake DESTDIR="${ED}" install 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" + mv "${ED}"/usr/share/man/man8/${i}.8 "${ED}"/usr/share/man/man8/k${i}.8 \ + || die "mv failed (man)" + mv "${ED}"/usr/sbin/${i} "${ED}"/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" + mv "${ED}"/usr/share/man/man1/${i}.1 "${ED}"/usr/share/man/man1/k${i}.1 \ + || die "mv failed (man)" + mv "${ED}"/usr/bin/${i} "${ED}"/usr/bin/k${i} || die "mv failed" done - rm "${D}"/usr/share/man/man1/tmac.doc + rm "${ED}"/usr/share/man/man1/tmac.doc || die dodoc README } |