Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Feb 2000 07:59:58 -0800 (PST)
From:      Cy.Schubert@uumail.gov.bc.ca
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16504: new sftp port
Message-ID:  <200002051559.HAA64406@cwsys.cwsent.com>

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

>Number:         16504
>Category:       ports
>Synopsis:       new sftp port
>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:   Sat Feb  5 08:10:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Cy Schubert
>Release:        FreeBSD 3.4-RELEASE i386
>Organization:
ISTA, Province of BC
>Environment:

FreeBSD cwsys 3.4-RELEASE FreeBSD 3.4-RELEASE #0: Tue Feb  1 10:22:11 PST 2000     root@cwsys:/usr/opt/cvs-340/src/sys/compile/CWSYS  i386

>Description:

Please apply this patch to update the sftp port:

diff -urPN --exclude=CVS --exclude=00_TRANS.TBL sftp.old/Makefile sftp/Makefile
--- sftp.old/Makefile	Wed Jan 26 04:15:48 2000
+++ sftp/Makefile	Sat Feb  5 07:49:44 2000
@@ -1,12 +1,12 @@
 # New ports collection makefile for:	sftp
-# Version required:	0.6
+# Version required:	0.7
 # Date created:		30 December 1999
 # Whom:			Cy Shubert <Cy.Shubert@uumail.gov.bc.ca>
 #
-# $FreeBSD: ports/ftp/sftp/Makefile,v 1.2 2000/01/24 06:21:42 steve Exp $
+# $FreeBSD: ports/ftp/sftp/Makefile,v 1.1 1999/12/31 02:27:03 steve Exp $
 #
 
-DISTNAME=	sftp-0.6
+DISTNAME=	sftp-0.7
 CATEGORIES=	ftp security
 MASTER_SITES=	ftp://ftp.xbill.org/pub/sftp/
 
@@ -23,21 +23,23 @@
 
 MAN1=		secftp.1
 
-PLIST=		${WRKDIR}/PLIST
+PLIST=		${WRKDIR}/.PLIST
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/sftp ${PREFIX}/bin/secftp
 	${LN} -s ${PREFIX}/bin/secftp ${PREFIX}/bin/rsftp
 	${INSTALL_PROGRAM} ${WRKSRC}/sftpserv ${PREFIX}/libexec/sftpserv
 	${INSTALL_MAN} ${WRKSRC}/sftp.1 ${PREFIX}/man/man1/secftp.1
-	@${CP} ${PKGDIR}/PLIST ${PLIST}
+	${CP} ${PKGDIR}/PLIST.in ${PLIST}.unsorted
 	@if [ ! -f ${PREFIX}/bin/sftp ]; then \
 		${ECHO} "No other sftp found, linking sftp to secftp"; \
 		${LN} -s ${PREFIX}/bin/secftp ${PREFIX}/bin/sftp; \
 		${LN} -s ${PREFIX}/man/man1/secftp.1.gz ${PREFIX}/man/man1/sftp.1.gz; \
-		@${ECHO} bin/sftp >> ${PLIST}; \
+		${ECHO} bin/sftp >> ${PLIST}.unsorted; \
+		${ECHO} man/man1/sftp.1.gz >> ${PLIST}.unsorted; \
 	else \
 		${ECHO} "Other sftp found, not linking sftp to secftp"; \
 	fi
+	@sort -u ${PLIST}.unsorted > ${PLIST}
 
 .include <bsd.port.mk>
diff -urPN --exclude=CVS --exclude=00_TRANS.TBL sftp.old/files/md5 sftp/files/md5
--- sftp.old/files/md5	Wed Jan 26 04:15:48 2000
+++ sftp/files/md5	Sat Feb  5 07:43:15 2000
@@ -1 +1 @@
-MD5 (sftp-0.6.tar.gz) = 0412d22e066223890f99e8aeafc8160c
+MD5 (sftp-0.7.tar.gz) = 9f9b5d28ff32b2e8c2d443cf5e6a227a
diff -urPN --exclude=CVS --exclude=00_TRANS.TBL sftp.old/pkg/PLIST sftp/pkg/PLIST
--- sftp.old/pkg/PLIST	Wed Jan 26 04:15:48 2000
+++ sftp/pkg/PLIST	Wed Dec 31 16:00:00 1969
@@ -1,3 +0,0 @@
-bin/secftp
-bin/rsftp
-libexec/sftpserv
diff -urPN --exclude=CVS --exclude=00_TRANS.TBL sftp.old/pkg/PLIST.in sftp/pkg/PLIST.in
--- sftp.old/pkg/PLIST.in	Wed Dec 31 16:00:00 1969
+++ sftp/pkg/PLIST.in	Sun Jan  2 12:17:31 2000
@@ -0,0 +1,3 @@
+bin/secftp
+bin/rsftp
+libexec/sftpserv

>How-To-Repeat:

N/A

>Fix:
	
N/A


>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?200002051559.HAA64406>