Skip to content

Commit

Permalink
comms/kermit: the port had been updated and cleaned up (+)
Browse files Browse the repository at this point in the history
- Update C-Kermit to version 9.0.305 Alpha.04 which integrates both
  modern and legacy OpenSSL support (thus drop our local patch)
- Do not install essentially empty dot-files as examples; they also
  contain references to full *.ini files which are no longer shipped
  as part of the C-Kermit distribution
- The only useful documentation now is README.TXT, install it in the
  dedicated option helper target
  • Loading branch information
Alexey Dokuchaev authored and Alexey Dokuchaev committed Oct 16, 2021
1 parent 75e374f commit 994cdbd
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 409 deletions.
18 changes: 7 additions & 11 deletions comms/kermit/Makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# Created by: Paul Traina <pst@FreeBSD.org>

PORTNAME= kermit
PORTVERSION= 9.0.304.24
PORTVERSION= 9.0.305.04
CATEGORIES= comms ftp net
MASTER_SITES= http://www.kermitproject.org/ftp/kermit/test/tar/ \
ftp://ftp.kermitproject.org/kermit/test/tar/
DISTNAME= cku${PORTVERSION:R:E}-dev${PORTVERSION:E}
DISTNAME= cku${PORTVERSION:R:E}-alpha${PORTVERSION:E}

MAINTAINER= danfe@FreeBSD.org
COMMENT= Portable scriptable network and serial communication program

LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING.TXT

USES= ssl
NO_WRKSUBDIR= yes
Expand All @@ -20,9 +21,8 @@ MAKE_ARGS= CC2="${CC}" SSLINC="-I${OPENSSLINC}" SSLLIB="-L${OPENSSLLIB}"

PLIST_FILES= bin/kermit man/man1/kermit.1.gz
PORTDOCS= *
PORTEXAMPLES= *

OPTIONS_DEFINE= DOCS EXAMPLES
OPTIONS_DEFINE= DOCS

post-patch:
@${REINPLACE_CMD} -e 's,-O2 -pipe,${CFLAGS},' ${WRKSRC}/${MAKEFILE}
Expand All @@ -31,13 +31,9 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wermit ${STAGEDIR}${PREFIX}/bin/kermit
${INSTALL_MAN} ${WRKSRC}/ckuker.nr \
${STAGEDIR}${MANPREFIX}/man/man1/kermit.1

do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
${LN} -sf ckaaaa.txt ${STAGEDIR}${DOCSDIR}/READ.ME
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${PATCHDIR}/ckermit.ini \
${STAGEDIR}${EXAMPLESDIR}/dot.kermrc
${INSTALL_DATA} ${PATCHDIR}/ckermod.ini \
${STAGEDIR}${EXAMPLESDIR}/dot.mykermrc
${INSTALL_DATA} ${WRKSRC}/README.TXT ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions comms/kermit/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1588857229
SHA256 (cku304-dev24.tar.gz) = b7abde063e25013cfd85279c78a39270d331fd231d4724c158fe5399ef6c62a5
SIZE (cku304-dev24.tar.gz) = 2480314
TIMESTAMP = 1631718979
SHA256 (cku305-alpha04.tar.gz) = 72a0b55f30dea3dcbca5d486396ec432c57d23fb618f2010fda746b6acb3c35c
SIZE (cku305-alpha04.tar.gz) = 2551405
8 changes: 0 additions & 8 deletions comms/kermit/files/ckermit.ini

This file was deleted.

8 changes: 0 additions & 8 deletions comms/kermit/files/ckermod.ini

This file was deleted.

0 comments on commit 994cdbd

Please sign in to comment.