commit:     a70f59729b078fa208aee0e7f12923e39b343e25
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 25 06:18:16 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 25 06:18:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a70f5972

app-misc/ckermit: drop 8.0.211-r4 (EAPI 5)

Closes: https://bugs.gentoo.org/783642
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/ckermit/Manifest                          |  1 -
 app-misc/ckermit/ckermit-8.0.211-r4.ebuild         | 78 ----------------------
 .../ckermit/files/ckermit-8.0.211-cleanup.patch    | 78 ----------------------
 3 files changed, 157 deletions(-)

diff --git a/app-misc/ckermit/Manifest b/app-misc/ckermit/Manifest
index af4966e9a0c..06e5efc2a1f 100644
--- a/app-misc/ckermit/Manifest
+++ b/app-misc/ckermit/Manifest
@@ -1,2 +1 @@
-DIST cku211.tar.gz 2878523 BLAKE2B 
d87164bcd2e11c1146729ff423d8e631599da81bb4544dee3890d6f28d341412c93d228d954935c6321c0a32d67b73c5895d311f761919d5f95ff9114578d137
 SHA512 
470bf56d5b5f30721d0030ff89a5cd845f365dba81d097942524cc04dd620070678d278d1009fb67bae3cb875715808cbbfc7c0358b9671f30c65ce1d9bd35ad
 DIST cku302.tar.gz 3122219 BLAKE2B 
9f63261da2dc2b0fceb0af0fa81da63c87e68b7bf713037cf8675abeb81716fd0dd4cd1f84324562698d9b9126f26b8a651dc79deec37a056fa1047af2d9966e
 SHA512 
2cfc264e5262d29618fdf218fd3407fd9049b16110972cdddb03d114703b7a0ea13c4b0a354f50c2a9f70d4727732fe4d1920b5c656f969bc56c1eb9dc3c43fa

diff --git a/app-misc/ckermit/ckermit-8.0.211-r4.ebuild 
b/app-misc/ckermit/ckermit-8.0.211-r4.ebuild
deleted file mode 100644
index 666d31687f2..00000000000
--- a/app-misc/ckermit/ckermit-8.0.211-r4.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit versionator epatch flag-o-matic toolchain-funcs
-
-# Columbia University only uses the third component, e.g. cku211.tar.gz for
-# what we would call 8.0.211.
-MY_P="cku$( get_version_component_range 3 ${PV} )"
-
-DESCRIPTION="combined serial and network communication software package"
-SRC_URI="ftp://kermit.columbia.edu/kermit/archives/${MY_P}.tar.gz";
-HOMEPAGE="http://www.kermitproject.org/";
-
-LICENSE="Kermit"
-SLOT="0"
-KEYWORDS="amd64 arm ~hppa ppc ppc64 x86"
-IUSE="ncurses"
-
-DEPEND="ncurses? ( >=sys-libs/ncurses-5.2:= )"
-RDEPEND="${DEPEND}
-       net-dialup/lrzsz"
-
-DEPEND+=" ncurses? ( virtual/pkgconfig )"
-
-S=${WORKDIR}
-
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-cleanup.patch
-       epatch "${FILESDIR}"/${P}-build-wart.patch
-       tc-export_build_env BUILD_CC
-       sed -i -r \
-               -e 's:"(CC2?) = gcc":"\1=$(CC)":g' \
-               -e 's:"CFLAGS = -O:"CFLAGS = $(CFLAGS):' \
-               makefile || die
-}
-
-src_compile() {
-       # we don't enable any of the telnet/ftp authentication stuff
-       # since there are other packages which do these things better
-       # USE="kerberos pam shadow ssl zlib"
-       append-cppflags -DNO_AUTHENTICATION -DNOLOGIN -DNOFTP
-
-       if use ncurses; then
-               append-cppflags "-DCK_NCURSES"
-               append-cppflags "$($(tc-getPKG_CONFIG) --cflags ncurses)"
-               append-libs "$($(tc-getPKG_CONFIG) --libs ncurses)"
-       fi
-
-       append-cppflags -DHAVE_PTMX -D_XOPEN_SOURCE -D_BSD_SOURCE 
-D_DEFAULT_SOURCE #202840
-       append-cppflags -DHAVE_CRYPT_H
-       emake \
-               CC="$(tc-getCC)" \
-               KFLAGS="${CPPFLAGS}" \
-               LIBS="-lcrypt -lresolv ${LIBS}" \
-               LNKFLAGS="${LDFLAGS}" \
-               linuxa
-}
-
-src_install() {
-       dodir /usr/bin /usr/share/man/man1
-       emake \
-               DESTDIR="${ED}" \
-               BINDIR=/usr/bin \
-               MANDIR="${ED}"/usr/share/man/man1 \
-               MANEXT=1 \
-               install
-       dodoc *.txt
-
-       # make the correct symlink
-       rm "${ED}"/usr/bin/kermit-sshsub || die
-       dosym kermit /usr/bin/kermit-sshsub
-
-       # the ckermit.ini script is calling the wrong kermit binary --
-       # the one from ${D}
-       sed -i "s:${D}::g" "${ED}"/usr/bin/ckermit.ini
-}

diff --git a/app-misc/ckermit/files/ckermit-8.0.211-cleanup.patch 
b/app-misc/ckermit/files/ckermit-8.0.211-cleanup.patch
deleted file mode 100644
index 5b7c1ed6b95..00000000000
--- a/app-misc/ckermit/files/ckermit-8.0.211-cleanup.patch
+++ /dev/null
@@ -1,78 +0,0 @@
-clean up missing prototypes and broken printfs
-
---- a/ckcmai.c
-+++ b/ckcmai.c
-@@ -623,6 +623,8 @@ ACKNOWLEDGMENTS:
- #include "ckntap.h"
- #endif /* NT */
- 
-+#include <time.h>
-+
- #ifndef NOSERVER
- /* Text message definitions.. each should be 256 chars long, or less. */
- #ifdef MINIX
---- a/ckufio.c
-+++ b/ckufio.c
-@@ -40,6 +40,7 @@ char *ckzv = "UNIX File support, 8.0.200, 4 Mar 2004";
- #include "ckcsym.h"
- #include "ckcdeb.h"
- #include "ckcasc.h"
-+#include "ckuusr.h"
- 
- #ifndef NOCSETS
- #include "ckcxla.h"
-@@ -1803,6 +1804,8 @@ zxin(n,s,x) int n, x; char *s; {
-     return(fread(s, sizeof (char), x, fp[n]));
- }
- 
-+extern int ttwait(int fd, int secs);
-+
- /*
-   Z I N F I L L  --  Buffered file input.
- 
---- a/ckutio.c
-+++ b/ckutio.c
-@@ -1808,6 +1808,11 @@ ttgwsiz() {
- #endif /* NONAWS */
- }
- 
-+#ifdef CK_NAWS                          /* Negotiate About Window Size */
-+#ifdef RLOGCODE
-+_PROTOTYP( int rlog_naws, (void) );
-+#endif /* RLOGCODE */
-+#endif /* CK_NAWS */
- 
- #ifndef NOSIGWINCH
- #ifdef SIGWINCH
---- a/ckuus5.c
-+++ b/ckuus5.c
-@@ -7747,7 +7747,7 @@ doshow(x) int x; {
-           printf(" --bannerfile=%s\n",bannerfile ? bannerfile : "(null)");
-           printf(" --cdfile:%s\n",cdmsgstr ? cdmsgstr : "(null)");
-           printf(" --cdmessage:%d\n",srvcdmsg);
--          printf(" --helpfile:%d\n",helpfile);
-+          printf(" --helpfile:%s\n",helpfile ? helpfile : "(null)");
-           if (inserver) {
-               printf("\n");
-               break;
---- a/ckuus7.c
-+++ b/ckuus7.c
-@@ -2981,7 +2981,7 @@ dopurge() {                             /* Do the PURGE 
command */
-     if (n < tokeep) {                   /* Not deleting any */
-         count = 0;
-         if (listing)
--          printf(" Matches = %d: Not enough to purge.\n");
-+          printf(" Matches = %d: Not enough to purge.\n", n);
-         goto xpurge;
-     }
- 
---- a/ckuusx.c
-+++ b/ckuusx.c
-@@ -56,7 +56,6 @@
- #include <termcap.h>
- #endif /* NOHTERMCAP */
- #endif /* BSD44 */
--#else  /* !BSD44 */
- #ifdef linux
- #include <term.h>
- #endif /* linux */

Reply via email to