pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel devel: Remove sfio. Now unused in pkgsrc and fai...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e168c9eb147b
branches:  trunk
changeset: 424169:e168c9eb147b
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Mar 06 12:04:01 2020 +0000

description:
devel: Remove sfio. Now unused in pkgsrc and fails due to K&Risms.

diffstat:

 devel/Makefile                                                 |   3 +-
 devel/sfio/DESCR                                               |  22 ----
 devel/sfio/Makefile                                            |  38 -------
 devel/sfio/PLIST                                               |  18 ---
 devel/sfio/distinfo                                            |  26 -----
 devel/sfio/patches/patch-aa                                    |  27 -----
 devel/sfio/patches/patch-ab                                    |  44 --------
 devel/sfio/patches/patch-ac                                    |  25 -----
 devel/sfio/patches/patch-ad                                    |  19 ---
 devel/sfio/patches/patch-ae                                    |  33 ------
 devel/sfio/patches/patch-af                                    |  50 ----------
 devel/sfio/patches/patch-ag                                    |  11 --
 devel/sfio/patches/patch-ah                                    |  12 --
 devel/sfio/patches/patch-ai                                    |  11 --
 devel/sfio/patches/patch-aj                                    |  41 --------
 devel/sfio/patches/patch-ak                                    |  13 --
 devel/sfio/patches/patch-al                                    |  13 --
 devel/sfio/patches/patch-src_lib_sfio_Sfio__dc_sfcdio_c        |  18 ---
 devel/sfio/patches/patch-src_lib_sfio_Sfio__dc_sfdcfilter.c    |  18 ---
 devel/sfio/patches/patch-src_lib_sfio_Sfio__dc_sfdcseekable.c  |  18 ---
 devel/sfio/patches/patch-src_lib_sfio_Sfio__dc_sfdcsubstream.c |  18 ---
 devel/sfio/patches/patch-src_lib_sfio_Sfio__dc_sfdctee.c       |  18 ---
 devel/sfio/patches/patch-src_lib_sfio_Sfio__dc_sfdcunion.c     |  18 ---
 devel/sfio/patches/patch-src_lib_sfio_Stdio__b_sfstdio.c       |  13 --
 devel/sfio/patches/patch-src_lib_sfio_Stdio__b_vsscanf.c       |  13 --
 25 files changed, 1 insertions(+), 539 deletions(-)

diffs (truncated from 650 to 300 lines):

diff -r a31e0865ff9c -r e168c9eb147b devel/Makefile
--- a/devel/Makefile    Fri Mar 06 11:48:57 2020 +0000
+++ b/devel/Makefile    Fri Mar 06 12:04:01 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3052 2020/03/06 11:45:46 nia Exp $
+# $NetBSD: Makefile,v 1.3053 2020/03/06 12:04:01 nia Exp $
 #
 
 COMMENT=       Development utilities
@@ -2823,7 +2823,6 @@
 SUBDIR+=       sdcc3
 SUBDIR+=       semantic
 SUBDIR+=       semi
-SUBDIR+=       sfio
 SUBDIR+=       sfslite
 SUBDIR+=       sgb
 SUBDIR+=       shtk
diff -r a31e0865ff9c -r e168c9eb147b devel/sfio/DESCR
--- a/devel/sfio/DESCR  Fri Mar 06 11:48:57 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-Sfio is a portable library for managing I/O streams. It provides
-similar functionality to the ANSI C Standard I/O functions known
-collectively as Stdio. However, it has a distinct interface and is
-generally faster and more robust than most Stdio implementations.
-(For backward compatibility, Sfio provides two Stdio emulation packages.)
-Sfio also introduces a number of new features and concepts beyond
-Stdio stream I/O processing:
-
-+ Automatic locking to avoid concurrent stream accesses,
-+ I/O disciplines to pre/post-process read/write data from/to streams,
-+ Stream stacking for recursive processing of nested streams,
-+ Stream pooling for automatic stream synchronization when I/O
-       operations are performed on different streams,
-+ Buffer reservation for safe access to the internal buffers of streams,
-+ Robust handling of variable-sized records, and
-+ Extensible printf/scanf-like formatting I/O operations.
-
-The current distribution of Sfio is Sfio1998. The library handles 64-bit
-streams on platforms that support 64-bit files. The formatting family of
-functions (e.g., sfprintf() and sfscanf()) have been extended so that
-applications can redefine the meanings of predefined patterns as well as
-define new patterns.
diff -r a31e0865ff9c -r e168c9eb147b devel/sfio/Makefile
--- a/devel/sfio/Makefile       Fri Mar 06 11:48:57 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-# $NetBSD: Makefile,v 1.26 2017/09/04 18:00:54 wiz Exp $
-#
-
-# pkgsrc/mail/sendmail (as of 8.11.0) specifically wants 1999, not 2000.
-# if you upgrade it, please check if sendmail works right.
-#
-# the original distribution requires us to put name onto web form, however,
-# the license term permits redistribution.  a copy of the distribution kit
-# is put into ${MASTER_SITE_LOCAL}.
-#
-DISTNAME=      sfio_1999.src.unix
-PKGNAME=       sfio-1999
-CATEGORIES=    devel
-MASTER_SITES=  ${MASTER_SITE_LOCAL}
-EXTRACT_SUFX=  .cpio
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-#HOMEPAGE=     http://akpublic.research.att.com/sw/tools/sfio/
-COMMENT=       Safe and Fast IO library
-
-MAKE_JOBS_SAFE=        no
-MAKE_FLAGS+=   MKPROFILE=yes
-
-WRKSRC=                ${WRKDIR}
-
-AUTO_MKDIRS=                   yes
-
-.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mclang)
-CFLAGS+=       -Wno-error=parentheses
-.endif
-
-post-patch:
-       ${MV} ${WRKSRC}/man/man3/sfio.3 ${WRKSRC}/man/man3/sfio.3.in
-       ${SED} -e 's|@prefix@|${PREFIX}|g' ${WRKSRC}/man/man3/sfio.3.in \
-                       > ${WRKSRC}/man/man3/sfio.3
-
-.include "../../mk/bsd.pkg.mk"
diff -r a31e0865ff9c -r e168c9eb147b devel/sfio/PLIST
--- a/devel/sfio/PLIST  Fri Mar 06 11:48:57 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2018/01/01 22:29:25 rillig Exp $
-include/sfio/ast_common.h
-include/sfio/sfio.h
-include/sfio/sfio_t.h
-include/sfio/stdio.h
-lib/libsfio.a
-lib/libsfio.so
-lib/libsfio.so.1
-lib/libsfio.so.1.0
-lib/libsfio_p.a
-lib/libsfio_pic.a
-lib/libstdio.a
-lib/libstdio.so
-lib/libstdio.so.1
-lib/libstdio.so.1.0
-lib/libstdio_p.a
-lib/libstdio_pic.a
-man/man3/sfio.3
diff -r a31e0865ff9c -r e168c9eb147b devel/sfio/distinfo
--- a/devel/sfio/distinfo       Fri Mar 06 11:48:57 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-$NetBSD: distinfo,v 1.11 2017/09/09 20:12:49 dholland Exp $
-
-SHA1 (sfio_1999.src.unix.cpio) = 6fd3a711ca8f95190c0859934f57a66d02c842a4
-RMD160 (sfio_1999.src.unix.cpio) = 379148273c9979f7a5a921a338465b7579a6ac5e
-SHA512 (sfio_1999.src.unix.cpio) = 1983c7bd9c321080199a4d2828ee4c0e0d1cc0be1f840c244bfe8b1534b615d896e5bf9748781c209f1462da640a9017c63b3190ebbf1df62086c92c1b64f1ec
-Size (sfio_1999.src.unix.cpio) = 647168 bytes
-SHA1 (patch-aa) = 6d4421b66b8534ba8f107d27d831b54d51ed7dfc
-SHA1 (patch-ab) = 184497c28da9db978c2b384d3be526d28e3ebae0
-SHA1 (patch-ac) = 0e3b0aae65393ce98fd086ec593dd73e2b41c283
-SHA1 (patch-ad) = 2e144ceabe9652e9acac8d08f6cf6ce8433425e6
-SHA1 (patch-ae) = 545addaf670f917f71fe71337b0d267be4debc70
-SHA1 (patch-af) = 4cdd35605fd7412fc3281577227d3e0da7dddfb9
-SHA1 (patch-ag) = ffa7233bcb32efd393a449bfcfb6e2696e76f9d6
-SHA1 (patch-ah) = 02d80635de65a6513a222be69643e9925a170d17
-SHA1 (patch-ai) = 6ede082aaf65b323fa6cbc51a84fd09d6d1ab7ec
-SHA1 (patch-aj) = 8e6c2c21fc4ed576679554c2e97d9eefa0f1e72a
-SHA1 (patch-ak) = 42d8dd1a5518b558f8875f9fb60f7e80b9c0fd4b
-SHA1 (patch-al) = d11738f33e3382664e8dc57501a062a0df948083
-SHA1 (patch-src_lib_sfio_Sfio__dc_sfcdio_c) = 9085c7e69de27a2ae72200015afc578d13237221
-SHA1 (patch-src_lib_sfio_Sfio__dc_sfdcfilter.c) = e547e614dd91876a6e09c12852c4c7700871afd1
-SHA1 (patch-src_lib_sfio_Sfio__dc_sfdcseekable.c) = daa5b79246462fe474dc72b4dba323d4af2f648d
-SHA1 (patch-src_lib_sfio_Sfio__dc_sfdcsubstream.c) = 57acce973b885a97ef783cab5ffafd07666fca61
-SHA1 (patch-src_lib_sfio_Sfio__dc_sfdctee.c) = a21856a2c6db519e5dda508c7dd3358aef5ffe13
-SHA1 (patch-src_lib_sfio_Sfio__dc_sfdcunion.c) = 95c2113db9c1ff1c9ee7c9388a1324033a7fe697
-SHA1 (patch-src_lib_sfio_Stdio__b_sfstdio.c) = 027041928450e67fdfce77928b52a5889a287f15
-SHA1 (patch-src_lib_sfio_Stdio__b_vsscanf.c) = 39408d8de53c168b4602506bb0be466e481a0769
diff -r a31e0865ff9c -r e168c9eb147b devel/sfio/patches/patch-aa
--- a/devel/sfio/patches/patch-aa       Fri Mar 06 11:48:57 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2017/09/09 20:12:49 dholland Exp $
-
-Make sure we get iffe from its correct location.
-Build for C89, not K&R C.
-
---- src/lib/sfio/Makefile.orig 1998-03-19 16:17:33.000000000 +0000
-+++ src/lib/sfio/Makefile
-@@ -7,7 +7,9 @@ VERSION = 1.0
- .INCLUDE : Stdio_b
- ancestor = 2
- 
--CCFLAGS = -O
-+CCFLAGS = -O -D__STD_C
-+
-+BINDIR=       ../../../bin
- 
- SFIO= sfexit.c sfclose.c sfclrlock.c sfcvt.c sfdlen.c sfexcept.c sfextern.c \
-       sffilbuf.c sfflsbuf.c sfprints.c sfgetd.c sfgetl.c sfgetr.c sfgetu.c \
-@@ -41,7 +43,7 @@ sfio  $(VERSION) :LIBRARY:   $(SFIO) $(SFI
- stdio $(VERSION) :LIBRARY:    $(STDIO_B)
- 
- ast_common.h : features/common
--      iffe - run features/common > ast_common.h
-+      ${BINDIR}/iffe - run features/common > ast_common.h
- sfstdgen : sfstdio.c
-       $(CC) -I. $(*) -o sfstdgen
- sfstdhdr.h :
diff -r a31e0865ff9c -r e168c9eb147b devel/sfio/patches/patch-ab
--- a/devel/sfio/patches/patch-ab       Fri Mar 06 11:48:57 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,44 +0,0 @@
-$NetBSD: patch-ab,v 1.6 2011/03/21 08:47:12 obache Exp $
-
-Build and installation commands
-
---- /dev/null  Mon Feb  5 13:45:25 2001
-+++ Makefile   Mon Feb  5 13:44:36 2001
-@@ -0,0 +1,37 @@
-+all:
-+      cd src/lib/sfio; ${MAKE} -f sfio.mk
-+      cd src/lib/sfio/Stdio_b; ${MAKE} -f stdio.mk FEATURE/stdio must; ${MAKE} -f stdio.mk
-+
-+install:
-+      ${INSTALL} -c -m 0644 src/lib/sfio/libsfio.a ${DESTDIR}${PREFIX}/lib
-+      ${INSTALL} -c -m 0644 src/lib/sfio/libsfio_p.a ${DESTDIR}${PREFIX}/lib
-+      ${INSTALL} -c -m 0644 src/lib/sfio/libsfio_pic.a ${DESTDIR}${PREFIX}/lib
-+      ${INSTALL} -c -m 0644 src/lib/sfio/libsfio.so.1.0 ${DESTDIR}${PREFIX}/lib
-+      if [ "${OBJECT_FMT}" = "ELF" ]; then                            \
-+              (cd ${DESTDIR}${PREFIX}/lib; rm -f libsfio.so libsfio.so.1;     \
-+               ln -s libsfio.so.1.0 libsfio.so;                       \
-+               ln -s libsfio.so.1.0 libsfio.so.1)                     \
-+      fi
-+      ${RANLIB} ${DESTDIR}${PREFIX}/lib/libsfio.a
-+      ${RANLIB} ${DESTDIR}${PREFIX}/lib/libsfio_p.a
-+      ${RANLIB} ${DESTDIR}${PREFIX}/lib/libsfio_pic.a
-+      ${INSTALL} -c -m 0644 src/lib/sfio/Stdio_b/libstdio.a ${DESTDIR}${PREFIX}/lib
-+      ${INSTALL} -c -m 0644 src/lib/sfio/Stdio_b/libstdio_p.a ${DESTDIR}${PREFIX}/lib
-+      ${INSTALL} -c -m 0644 src/lib/sfio/Stdio_b/libstdio_pic.a ${DESTDIR}${PREFIX}/lib
-+      ${INSTALL} -c -m 0644 src/lib/sfio/Stdio_b/libstdio.so.1.0 ${DESTDIR}${PREFIX}/lib
-+      if [ "${OBJECT_FMT}" = "ELF" ]; then                            \
-+              (cd ${DESTDIR}${PREFIX}/lib; rm -f libstdio.so libstdio.so.1;   \
-+               ln -s libstdio.so.1.0 libstdio.so;                     \
-+               ln -s libstdio.so.1.0 libstdio.so.1)                   \
-+      fi
-+      ${RANLIB} ${DESTDIR}${PREFIX}/lib/libstdio.a
-+      ${RANLIB} ${DESTDIR}${PREFIX}/lib/libstdio_p.a
-+      ${RANLIB} ${DESTDIR}${PREFIX}/lib/libstdio_pic.a
-+      ${INSTALL} -c -m 0644 man/man3/sfio.3 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3
-+      -mkdir ${DESTDIR}${PREFIX}/include/sfio
-+      for f in ast_common.h sfio.h sfio_t.h; do \
-+              ${INSTALL} -c -m 0644 src/lib/sfio/$$f ${DESTDIR}${PREFIX}/include/sfio/$$f; \
-+      done
-+      ${INSTALL} -c -m 0644 src/lib/sfio/Stdio_s/stdio.h ${DESTDIR}${PREFIX}/include/sfio/stdio.h
-+
-+.include <bsd.own.mk>
diff -r a31e0865ff9c -r e168c9eb147b devel/sfio/patches/patch-ac
--- a/devel/sfio/patches/patch-ac       Fri Mar 06 11:48:57 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-$NetBSD: patch-ac,v 1.2 1998/11/02 21:18:14 agc Exp $
-
-We install the sfio header files into their own directory, to protect
-any casual compilation which includes the standard include/ directory,
-and so update the documentation to reflect this.
-
---- man/man3/sfio.3    1998/11/02 14:29:31     1.1
-+++ man/man3/sfio.3    1998/11/02 14:29:57
-@@ -16,6 +16,7 @@
- .nf
- .ft 5
- #include   <sfio.h>
-+cc -I@prefix@/include/sfio ... -L@prefix@/lib -lsfio
- .ft 1
- .fi
- .Ss "DATA TYPES"
-@@ -198,7 +199,7 @@
- .nf
- .ft 5
- #include   <stdio.h>
--cc ... -lstdio -lsfio
-+cc -I@prefix@/include/sfio ... -L@prefix@/lib -lstdio -lsfio
- .ft 1
- .fi
- .SH DESCRIPTION
diff -r a31e0865ff9c -r e168c9eb147b devel/sfio/patches/patch-ad
--- a/devel/sfio/patches/patch-ad       Fri Mar 06 11:48:57 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-ad,v 1.3 2011/12/19 14:19:43 wiz Exp $
-
-Avoid a compiler warning.
-
---- src/lib/sfio/sfvscanf.c.orig       1999-05-28 19:19:30.000000000 +0000
-+++ src/lib/sfio/sfvscanf.c
-@@ -640,11 +640,7 @@ loop_fmt :
-                       {       n_assign += 1;
- 
-                               if(fmt == 'p')
--#if _more_void_int
--                                      *((Void_t**)value) = (Void_t*)((ulong)argv.lu);
--#else
--                                      *((Void_t**)value) = (Void_t*)((uint)argv.lu);
--#endif
-+                                      (void) memcpy(value, &argv.lu, sizeof(value));
- #if !_ast_intmax_long
-                               else if(FMTCMP(size,Sflong_t,Sflong_t))
-                                       *((Sflong_t*)value) = argv.ll;
diff -r a31e0865ff9c -r e168c9eb147b devel/sfio/patches/patch-ae
--- a/devel/sfio/patches/patch-ae       Fri Mar 06 11:48:57 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-$NetBSD: patch-ae,v 1.4 2011/12/19 14:19:43 wiz Exp $
-
-Avoid compiler warning.
-
---- src/lib/sfio/sfwr.c.orig   1999-07-30 14:58:33.000000000 +0000
-+++ src/lib/sfio/sfwr.c
-@@ -14,8 +14,9 @@ Sfio_t*              f;
- reg char*     buf;
- reg size_t    n;
- #endif
--{     reg char        *sp, *wbuf, *endbuf;
-+{     reg char        *wbuf, *endbuf;
-       reg ssize_t     s, w, wr;
-+      char            *sp;
- 
-       s = w = 0;
-       wbuf = buf;
-@@ -30,10 +31,14 @@ reg size_t n;
-                       sp = buf+1;
-                       if(buf[0] == 0 && buf[_Sfpage-1] == 0)
-                       {       /* check byte at a time until int-aligned */
--                              while(((ulong)sp)%sizeof(int))
-+                              Sfulong_t       dumbo;
-+
-+                              (void) memcpy(&dumbo, &sp, sizeof(dumbo));
-+                              while(dumbo % sizeof(int) != 0)
-                               {       if(*sp != 0)
-                                               goto chk_hole;



Home | Main Index | Thread Index | Old Index