Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2000 19:26:33 -0400 (EDT)
From:      Trevor Johnson <trevor@jpj.net>
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/20826: devel/sfio:  remove RESTRICTED
Message-ID:  <Pine.BSI.4.21.0008241914380.14360-100000@blues.jpj.net>

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

>Number:         20826
>Category:       ports
>Synopsis:       devel/sfio:  remove RESTRICTED
>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:   Thu Aug 24 16:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Trevor Johnson
>Release:        4.1-STABLE i386
>Organization:
myself
>Environment:

only tested under
FreeBSD ws99.invalid 4.1-STABLE FreeBSD 4.1-STABLE #0: Sat Jul 29 02:55:41
UTC 2000 root@ws99.invalid:/usr/obj/usr/src/sys/TREVOR41A i386
 
>Description:

The copyright notice accompanying the software grants permission to
redistribute (so long as the notice is kept intact).  The NetBSD folks are
distributing sfio via anonymous FTP.  This patch removes the bogus
"RESTRICTED" and "IS_INTERACTIVE" lines, adds FTP sites, formats pkg/DESCR
through fmt, and adds a WWW line to pkg/DESCR.

files changed:
	Makefile
	pkg/DESCR

Version 2000 of sfio is available.  A poster on tech-pkg@netbsd.org wrote
that sendmail 8.11 needs version 1999.

>How-To-Repeat:

make; cat work/NOTICE/sfio.notice

>Fix:

diff -ruN sfio.orig/Makefile sfio/Makefile
--- sfio.orig/Makefile	Sun May 14 00:24:32 2000
+++ sfio/Makefile	Thu Aug 24 23:13:41 2000
@@ -9,8 +9,39 @@
 PORTNAME=	sfio
 PORTVERSION=	1999
 CATEGORIES=	devel
-#Users must register with AT&T before downloading tarball.
-#MASTER_SITES=	http://www.research.att.com/sw/tools/sfio/
+#real master site is http://www.research.att.com/sw/tools/sfio/
+MASTER_SITES=	\
+	ftp://ftp.netbsd.org/pub${SUB} \
+	ftp://ftp.netbsd.org/pub${SUB2} \
+	ftp://gatekeeper.dec.com/pub/BSD${SUB} \
+	ftp://gatekeeper.dec.com/pub/BSD${SUB2} \
+	ftp://ftp.planix.com/pub${SUB} \
+	ftp://ftp.planix.com/pub${SUB2} \
+	ftp://ftp.plig.net/pub${SUB} \
+	ftp://ftp.plig.net/pub${SUB2} \
+	ftp://ftp.csua.berkeley.edu/pub/.1/ports/distfiles/ \
+	ftp://ftp.iastate.edu/pub/netbsd/packages/distfiles/ \
+	ftp://ftp.iastate.edu/pub/netbsd/packages/distfiles/LOCAL_PORTS/ \
+	ftp://ftp.tuwien.ac.at/zaux024/opsys${SUB} \
+	ftp://ftp.tuwien.ac.at/zaux024/opsys${SUB2} \
+	ftp://sunsite.cnlab-switch.ch/mirror${SUB} \
+	ftp://ftp.unina.it/pub/Unix${SUB} \
+	ftp://ftp.unina.it/pub/Unix${SUB2} \
+	ftp://ftp.sunsite.org.uk/Mirrors/ftp.netbsd.org/pub${SUB} \
+	ftp://ftp.sunsite.org.uk/Mirrors/ftp.netbsd.org/pub${SUB2} \
+	ftp://ftp.dti.ad.jp/pub${SUB} \
+	ftp://ftp.dti.ad.jp/pub${SUB2} \
+	ftp://ftp.jaist.ac.jp/.arc07${SUB} \
+	ftp://ftp.jaist.ac.jp/.arc07${SUB2} \
+	ftp://ftp.tokyonet.ad.jp${SUB} \
+	ftp://ftp.sra.co.jp/pub/os${SUB} \
+	ftp://ftp.sra.co.jp/pub/os${SUB2} \
+	ftp://ftp.u-aizu.ac.jp/pub/os${SUB} \
+	ftp://ftp.u-aizu.ac.jp/pub/os${SUB2} \
+	ftp://ftp.nectec.or.th/pub/bsd-distributions${SUB}
+SUB=	/NetBSD/packages/distfiles/
+SUB2=	${SUB}LOCAL_PORTS/
+
 DISTNAME=	${PORTNAME}_${PORTVERSION}
 EXTRACT_SUFX=	.src.unix.cpio
 
@@ -20,22 +51,8 @@
 EXTRACT_BEFORE_ARGS=	-idF
 EXTRACT_AFTER_ARGS=	# empty
 NO_WRKSUBDIR=	yes
-IS_INTERACTIVE=	yes
 MAN1=		iffe.1
 MAN3=		sfio.3
-
-RESTRICTED=	Requires user to register with AT\&T
-
-do-fetch:
-	@if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
-	  ${ECHO} ""; \
-	  ${ECHO} "Please read http://www.research.att.com/sw/tools/sfio/"; \
-	  ${ECHO} "for details of how to obtain the SFIO source.  Put the"; \
-	  ${ECHO} "file ${DISTNAME}${EXTRACT_SUFX} in the directory"; \
-	  ${ECHO} "${DISTDIR} and run make again."; \
-	  ${ECHO} ""; \
-	  exit 1;\
-	fi
 
 # Remove a test that's too clever for its own good
 post-extract:
diff -ruN sfio.orig/pkg/DESCR sfio/pkg/DESCR
--- sfio.orig/pkg/DESCR	Sun Nov  9 10:32:51 1997
+++ sfio/pkg/DESCR	Thu Aug 24 23:02:32 2000
@@ -1,15 +1,15 @@
-This is a portable library for performing stream I/O.  It provides similar
-functionality to the ANSI C Standard  I/O functions collectively known as
-Stdio.  However, it is generally faster and more robust than most Stdio
-implementations.
+This is a portable library for performing stream I/O.  It provides
+similar functionality to the ANSI C Standard I/O functions collectively
+known as Stdio.  However, it is generally faster and more robust
+than most Stdio implementations.
 
-This version of the
-library has been ported to all known UNIX platforms including various
-flavors of IRIX, SUNOS, Solaris, Ultrix, MVS/OpenEdition, Linux and BSDI.
-The library handles 64-bit streams on platforms that support 64-bit files. 
+This version of the library has been ported to all known UNIX
+platforms including various flavors of IRIX, SUNOS, Solaris, Ultrix,
+MVS/OpenEdition, Linux and BSDI.  The library handles 64-bit streams
+on platforms that support 64-bit files.
 
 A set of regression tests is available in the subdirectory
-$(WRKDIR)/src/lib/sfio/Sfio_t.  These tests can be exercised by running
-the shell script runtest after building the library.
+$(WRKDIR)/src/lib/sfio/Sfio_t.  These tests can be exercised by
+running the shell script runtest after building the library.
 
-See $(WRKDIR)/NOTICE/sfio.notice for copyright.
+WWW:  http://www.research.att.com/sw/tools/sfio/



>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?Pine.BSI.4.21.0008241914380.14360-100000>