FreeBSD Bugzilla – Attachment 21649 Details for
Bug 37861
Update port: converters/btoa: Invalid distfiles & others
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 3.98 KB, created by
Martin Perry
on 2002-05-08 17:30:14 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Martin Perry
Created:
2002-05-08 17:30:14 UTC
Size:
3.98 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># btoa ># btoa/pkg-plist ># btoa/pkg-descr ># btoa/pkg-comment ># btoa/distinfo ># btoa/Makefile ># btoa/files ># btoa/files/patch-aa ># btoa/files/patch-ab ># >echo c - btoa >mkdir -p btoa > /dev/null 2>&1 >echo x - btoa/pkg-plist >sed 's/^X//' >btoa/pkg-plist << 'END-of-btoa/pkg-plist' >Xbin/btoa >Xbin/atob >END-of-btoa/pkg-plist >echo x - btoa/pkg-descr >sed 's/^X//' >btoa/pkg-descr << 'END-of-btoa/pkg-descr' >XThis is a port of btoa version 5.2, written by Paul Rutter, Joe >XOrost & Stefan Parmark. btoa converts 4 binary characters to 5 >Xascii ones, causing a 25% expansion. (btoa is thus more efficient >Xthan uuencode, which causes a 33% expansion.) Spaces will not be >Xused, which should make it safe to send files over e-mail or Usenet >Xwithout risking that blanks become tabs. Each resulting row of >Xtext has a single-byte checksum for error detection. A diagnosis >Xfile provides a list of errors found this way, which could then be >Xused to retransmit only the failing lines. >X >XPatch 1 is an unofficial, non-platform-specific patch to version >X5.2 of btoa. It allows for automatic decoding of btoa files if >Xthe program is invoked as "atob" (no -a argument necessary). It >Xalso outfits the Makefile to do clean and install. >X >XBrent J. Nordquist (nordquist@platinum.com) >XFri Apr 5 23:50:09 1996 >X >END-of-btoa/pkg-descr >echo x - btoa/pkg-comment >sed 's/^X//' >btoa/pkg-comment << 'END-of-btoa/pkg-comment' >XEncode/decode binary to printable ASCII >END-of-btoa/pkg-comment >echo x - btoa/distinfo >sed 's/^X//' >btoa/distinfo << 'END-of-btoa/distinfo' >XMD5 (btoa-5.2.tar.gz) = c8fe1ee1e0f7ea0da0c49f44c5fe8f64 >END-of-btoa/distinfo >echo x - btoa/Makefile >sed 's/^X//' >btoa/Makefile << 'END-of-btoa/Makefile' >X# New ports collection makefile for: btoa >X# Date created: 4 Apr 1996 >X# Whom: Brent J. Nordquist <bjn@visi.com> >X# >X# $FreeBSD: ports/converters/btoa/Makefile,v 1.11 2001/04/21 16:14:37 fenner Exp $ >X# >X >XPORTNAME= btoa >XPORTVERSION= 5.2 >XPORTREVISION= 1 >XCATEGORIES= converters >XMASTER_SITES= ${MASTER_SITE_LOCAL} >XMASTER_SITE_SUBDIR= asami/LOCAL_PORTS >X >XMAINTAINER= martin@raq.cx >X >XMAKE_FLAGS= DESTDIR=${PREFIX} -f >XMAKEFILE= Makefile.sun >XMAN1= btoa.1 >X >X.include <bsd.port.mk> >END-of-btoa/Makefile >echo c - btoa/files >mkdir -p btoa/files > /dev/null 2>&1 >echo x - btoa/files/patch-aa >sed 's/^X//' >btoa/files/patch-aa << 'END-of-btoa/files/patch-aa' >X--- Makefile.sun.orig Fri Oct 8 13:00:00 1993 >X+++ Makefile.sun Wed May 8 17:05:41 2002 >X@@ -1,5 +1,9 @@ >X OBJS = btoa.o atob.o repair.o >X >X+DESTDIR ?= /usr/local >X+ >X+all: btoa >X+ >X btoa: $(OBJS) >X cc -O $(OBJS) -o btoa >X >X@@ -11,3 +15,15 @@ >X >X repair.o: repair.c btoa.h >X cc -c -O repair.c >X+ >X+install: btoa btoa.1 >X+ -@mkdir -p $(DESTDIR)/bin >X+ install -c -s -m 755 btoa $(DESTDIR)/bin/btoa >X+ rm -f $(DESTDIR)/bin/atob >X+ ln $(DESTDIR)/bin/btoa $(DESTDIR)/bin/atob >X+ -@mkdir -p $(DESTDIR)/man/man1 >X+ install -c -m 644 btoa.1 $(DESTDIR)/man/man1/btoa.1 >X+ strip $(DESTDIR)/bin/btoa >X+ >X+clean: >X+ rm -f btoa $(OBJS) >END-of-btoa/files/patch-aa >echo x - btoa/files/patch-ab >sed 's/^X//' >btoa/files/patch-ab << 'END-of-btoa/files/patch-ab' >X--- btoa.c.orig Fri Oct 8 13:00:00 1993 >X+++ btoa.c Wed May 8 14:54:17 2002 >X@@ -20,7 +20,7 @@ >X FILE *outfile; >X >X >X-void main(argc, argv) >X+int main(argc, argv) >X int argc; >X BYTE **argv; >X { >X@@ -39,6 +39,11 @@ >X error = openinput = openoutput = a_to_b = diagnosis = repair = FALSE; >X new_version = TRUE; >X infilename = NULL; >X+ >X+ /* Assume a_to_b = TRUE if we're called 'atob' */ >X+ if (!strncmp(argv[0] + strlen(argv[0]) - 4, "atob", 4)) { >X+ a_to_b = TRUE; >X+ } >X >X /* Scan for '-' options. The rest must be file names. */ >X while (!error && argc > 1 && *argv[1] == '-') >END-of-btoa/files/patch-ab >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 37861
: 21649