Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 1999 07:49:40 GMT
From:      Oh Junseon <hollywar@holywar.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14894: comm/kermit some fixed patch
Message-ID:  <199911150749.HAA83366@holywar.net>

next in thread | raw e-mail | index | archive | help

>Number:         14894
>Category:       ports
>Synopsis:       comm/kermit some fixed patch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 14 23:50:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Oh Junseon
>Release:        FreeBSD 3.3-STABLE i386
>Organization:
holynet
>Environment:

	

>Description:

	

Old kermit ports installed only program files.
This ports also installed documentation files and initialization file in newest version of kermit archive.

( I'm send-pr twice , first pr missing patch file. Sorry --; )

>How-To-Repeat:

Fixed : Makefile , Makefile.sed , distfiles
Removred : dot.kermrc (used in archive)

check it and commit it please.

	

>Fix:
	
	


diff -ruN kermit/Makefile kermit.new/Makefile
--- kermit/Makefile	Mon Nov 15 07:30:22 1999
+++ kermit.new/Makefile	Fri Oct 22 18:21:01 1999
@@ -6,7 +6,7 @@
 # $FreeBSD: ports/comms/kermit/Makefile,v 1.18 1999/08/25 05:12:36 obrien Exp $
 #
 
-DISTNAME=	cku192src
+DISTNAME=	cku192
 PKGNAME=        kermit-6.0.192
 CATEGORIES=	comms
 MASTER_SITES=	ftp://kermit.columbia.edu/kermit/archives/ \
@@ -21,7 +21,18 @@
 
 post-install:
 	@${MKDIR} ${PREFIX}/share/examples/kermit
-	${INSTALL_DATA} ${FILESDIR}/dot.kermrc ${PREFIX}/share/examples/kermit
+	${INSTALL_DATA} ${WRKSRC}/ckermit.ini ${PREFIX}/etc
+	${INSTALL_DATA} ${WRKSRC}/ckermod.ini ${PREFIX}/share/examples/kermit/dot.mykermrc
+	${INSTALL_DATA} ${WRKSRC}/ckermit.kdd ${PREFIX}/share/examples/kermit/dot.kdd
+	${INSTALL_DATA} ${WRKSRC}/ckermit.knd ${PREFIX}/share/examples/kermit/dot.knd
+	${INSTALL_DATA} ${WRKSRC}/ckermit.ksd ${PREFIX}/share/examples/kermit/dot.ksd
+.ifndef NOPORTDOCS
+	@${MKDIR} ${PREFIX}/share/doc/kermit
+	(cd ${WRKSRC} && ${INSTALL_DATA} READ.ME ckermit.ini ckermod.ini \
+		ckermit.kdd ckermit.knd ckermit.ksd ckedemo.ksc ckevt.ksc \
+		ckepage.ksc ckurzsz.ini ckermit.upd ckermit.bwr ckuker.bwr \
+		${PREFIX}/share/doc/kermit)
+.endif
 	@${CAT} ${PKGDIR}/DESCR
 
 .include <bsd.port.mk>
diff -ruN kermit/files/Makefile.sed kermit.new/files/Makefile.sed
--- kermit/files/Makefile.sed	Mon Nov 15 07:30:22 1999
+++ kermit.new/files/Makefile.sed	Fri Oct 22 18:23:35 1999
@@ -1,6 +1,7 @@
 PROG=	kermit
 CFLAGS+= -I${.CURDIR} -DBSD44 -DCK_CURSES -DDYNAMIC -DTCPSOCKET \
-	 -DNOCOTFMC -DSETREUID -DSAVEDUID -DNDSYSERRLIST
+	 -DNOCOTFMC -DSETREUID -DSAVEDUID -DNDSYSERRLIST \
+	 -DCK_SYSINI=\"${PREFIX}/etc/ckermit.ini\"
 SRCS=   ckcmai.c ckucmd.c ckuusr.c ckuus2.c ckuus3.c ckuus4.c ckuus5.c \
         ckuus6.c ckuus7.c ckuusx.c ckuusy.c ckcpro.c ckcfns.c ckcfn2.c \
         ckcfn3.c ckuxla.c ckucon.c ckutio.c ckufio.c ckudia.c ckuscr.c \
diff -ruN kermit/files/dot.kermrc kermit.new/files/dot.kermrc
--- kermit/files/dot.kermrc	Mon Nov 15 07:30:22 1999
+++ kermit.new/files/dot.kermrc	Thu Jan  1 00:00:00 1970
@@ -1,14 +0,0 @@
-# .kermit -- typical ckermit init file
-
-set send packet 9024		# packet size send 
-set receive packet 9024		# packet size receive
-set file type binary		# file type
-set block 3			# use 16bit CCITT crc's
-set window 15 			# use 15 sliding window slots
-set file name literal		# do not translate file names
-set file coll overwrite		# overwrite if file allready exists
-set file dis crt		# display in terms of cps and percentage
-set flow rts			# hardware flow control
-set con unprefix all		# unpre all control characters
-set con prefix 0 3 131		# prefix necessary control characters
-set speed 57600			# use 57600bps DTE
diff -ruN kermit/files/md5 kermit.new/files/md5
--- kermit/files/md5	Mon Nov 15 07:30:22 1999
+++ kermit.new/files/md5	Fri Oct 22 17:56:53 1999
@@ -1 +1 @@
-MD5 (cku192src.tar.gz) = c54feaa3389a6464003dafa16a6945d2
+MD5 (cku192.tar.gz) = ee5e39d44415e346724a30024deb916a
diff -ruN kermit/pkg/PLIST kermit.new/pkg/PLIST
--- kermit/pkg/PLIST	Mon Nov 15 07:30:22 1999
+++ kermit.new/pkg/PLIST	Fri Oct 22 18:26:20 1999
@@ -1,2 +1,20 @@
 bin/kermit
-share/examples/kermit/dot.kermrc
+share/examples/kermit/dot.mykermrc
+share/examples/kermit/dot.kdd
+share/examples/kermit/dot.knd
+share/examples/kermit/dot.ksd
+share/doc/kermit/READ.ME
+share/doc/kermit/ckermit.ini
+share/doc/kermit/ckermod.ini
+share/doc/kermit/ckermit.kdd
+share/doc/kermit/ckermit.knd
+share/doc/kermit/ckermit.ksd
+share/doc/kermit/ckedemo.ksc
+share/doc/kermit/ckevt.ksc
+share/doc/kermit/ckepage.ksc
+share/doc/kermit/ckurzsz.ini
+share/doc/kermit/ckermit.upd
+share/doc/kermit/ckermit.bwr
+share/doc/kermit/ckuker.bwr
+@dirrm share/examples/kermit
+@dirrm share/doc/kermit
diff -ruN kermit/scripts/configure kermit.new/scripts/configure
--- kermit/scripts/configure	Mon Nov 15 07:30:22 1999
+++ kermit.new/scripts/configure	Fri Oct 22 18:18:36 1999
@@ -4,4 +4,3 @@
 #
 mv ${WRKDIR}/makefile  ${WRKDIR}/makefile.dist
 sed -e "s@%%PREFIX%%@${PREFIX}@" < ${FILESDIR}/Makefile.sed > ${WRKDIR}/Makefile
-cp ${FILESDIR}/dot.kermrc ${WRKDIR}

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911150749.HAA83366>