From 13aeffe266249c9345faf57bea8942a542b3e6da Mon Sep 17 00:00:00 2001 From: sturm Date: Tue, 6 Jan 2004 21:35:42 +0000 Subject: [PATCH] no MASTER_SITES, no license, no port --- comms/Makefile | 3 +- comms/bpl+/Makefile | 20 ------------ comms/bpl+/distinfo | 3 -- comms/bpl+/patches/patch-bplexec.c | 50 ------------------------------ comms/bpl+/pkg/DESCR | 8 ----- comms/bpl+/pkg/PLIST | 3 -- 6 files changed, 1 insertion(+), 86 deletions(-) delete mode 100644 comms/bpl+/Makefile delete mode 100644 comms/bpl+/distinfo delete mode 100644 comms/bpl+/patches/patch-bplexec.c delete mode 100644 comms/bpl+/pkg/DESCR delete mode 100644 comms/bpl+/pkg/PLIST diff --git a/comms/Makefile b/comms/Makefile index b64aeaea446..a2e96a110c3 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -1,9 +1,8 @@ -# $OpenBSD: Makefile,v 1.22 2003/08/21 19:13:04 grange Exp $ +# $OpenBSD: Makefile,v 1.23 2004/01/06 21:35:42 sturm Exp $ # $FreeBSD: Makefile,v 1.27 1997/11/22 14:56:56 peter Exp $ SUBDIR += birda SUBDIR += bottlerocket - SUBDIR += bpl+ SUBDIR += conserver # SUBDIR += ecu SUBDIR += efax diff --git a/comms/bpl+/Makefile b/comms/bpl+/Makefile deleted file mode 100644 index a86c04930cc..00000000000 --- a/comms/bpl+/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# $OpenBSD: Makefile,v 1.14 2002/10/25 11:34:24 naddy Exp $ - -COMMENT= "B Plus file transfer protocol" - -DISTNAME= bpl+ -PKGNAME= bpl+-1.0 -CATEGORIES= comms - -PERMIT_PACKAGE_CDROM= "no license" -PERMIT_PACKAGE_FTP= "no license" -PERMIT_DISTFILES_CDROM= "no license" -PERMIT_DISTFILES_FTP= "no license" - -NO_REGRESS= Yes - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bpl ${PREFIX}/bin - @ln -fs bpl ${PREFIX}/bin/bp - -.include diff --git a/comms/bpl+/distinfo b/comms/bpl+/distinfo deleted file mode 100644 index fde501d6e0c..00000000000 --- a/comms/bpl+/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (bpl+.tar.gz) = 2b18db85caa8ae28477219b0a9c2c099 -RMD160 (bpl+.tar.gz) = f9d03daba698104e4d99f0c9a1f1d7407c7982d7 -SHA1 (bpl+.tar.gz) = 1f7737142333b7ddfb40fa176508e2ded7fa9839 diff --git a/comms/bpl+/patches/patch-bplexec.c b/comms/bpl+/patches/patch-bplexec.c deleted file mode 100644 index 9830a08aa22..00000000000 --- a/comms/bpl+/patches/patch-bplexec.c +++ /dev/null @@ -1,50 +0,0 @@ ---- bplexec.c.orig Thu Feb 9 17:25:34 1995 -+++ bplexec.c Wed Nov 15 20:45:53 2000 -@@ -17,6 +17,7 @@ - #include - #include - #include -+#include - - #include "bpl.h" - #include "machine.h" -@@ -1096,7 +1097,7 @@ - - fname_w_index = strlen(fname_work); - if (copy_body(s)) { /* ファイル名異常 */ -- strcpy(fname_work, tmpnam(NULL)); -+ strcpy(fname_work, "/tmp/bpl.XXXXXXXXXX"); - } - - my_free(real_filename); -@@ -1118,16 +1119,19 @@ - FILE *fp; - UCHAR *my_tmp; - char *tmp; -+ int fd; - -- tmp = tmpnam(NULL); -+ tmp = "/tmp/bpl.XXXXXXXXXX"; - my_tmp = (UCHAR *) malloc(strlen(tmp) + 1); - if (my_tmp == NULL) - return NULL; - strcpy(my_tmp, tmp); - -- fp = fopen(tmp, "wb"); -- if (fp == NULL) { -+ if ((fd = mkstemp(my_tmp)) == -1 || -+ (fp = fdopen(fd, "wb")) == NULL ) { -+ fprintf(stderr, "%s: %s\n", my_tmp, strerror(errno)); - free(my_tmp); -+ return NULL; - } else { - /* ディレクトリは current を使う */ - strwarn(STR_CANT_CREATE_L); /* 「ファイルが作成できないので」 */ -@@ -1136,6 +1140,7 @@ - strwarn(STR_CANT_CREATE_R); - my_free(real_filename); - real_filename = my_tmp; -+ close(fd); - } - return fp; - } diff --git a/comms/bpl+/pkg/DESCR b/comms/bpl+/pkg/DESCR deleted file mode 100644 index d388636e06b..00000000000 --- a/comms/bpl+/pkg/DESCR +++ /dev/null @@ -1,8 +0,0 @@ -This is an implementation of B Plus binary file transfer protocol. B -Plus is used on several online services to let their users download -files from the system. - -In conjunction with telnetx package, you can use this program to -download files from those systems connected to the Internet. - -- Masafumi diff --git a/comms/bpl+/pkg/PLIST b/comms/bpl+/pkg/PLIST deleted file mode 100644 index e2138919fb3..00000000000 --- a/comms/bpl+/pkg/PLIST +++ /dev/null @@ -1,3 +0,0 @@ -@comment $OpenBSD: PLIST,v 1.2 2002/04/07 01:54:48 naddy Exp $ -bin/bpl -bin/bp