From 03578a43f30180c6862445b31f43c468a2009ef1 Mon Sep 17 00:00:00 2001 From: Beech Rintoul Date: Mon, 17 Dec 2007 08:35:22 +0000 Subject: - Fix creation of dos files - Pass maintainership to submitter PR: ports/118568 Submitted by: Nikola Lecic Approved by: linimon (mentor) --- converters/base64/Makefile | 5 +++-- converters/base64/files/patch-base64.c | 17 +++++++++++++++++ converters/base64/pkg-descr | 8 ++++---- 3 files changed, 24 insertions(+), 6 deletions(-) create mode 100644 converters/base64/files/patch-base64.c (limited to 'converters') diff --git a/converters/base64/Makefile b/converters/base64/Makefile index 366b54539158..c6a854e2a130 100644 --- a/converters/base64/Makefile +++ b/converters/base64/Makefile @@ -7,12 +7,13 @@ PORTNAME= base64 PORTVERSION= 1.5 +PORTREVISION= 1 CATEGORIES= converters MASTER_SITES= http://www.fourmilab.ch/webtools/base64/ \ http://dl.droso.net/FreeBSD/distfiles/ -MAINTAINER= ports@FreeBSD.org -COMMENT= Simple program to convert binary files to base64 +MAINTAINER= nikola.lecic@anthesphoria.net +COMMENT= Utility to encode and decode base64 files GNU_CONFIGURE= yes ALL_TARGET= prog diff --git a/converters/base64/files/patch-base64.c b/converters/base64/files/patch-base64.c new file mode 100644 index 000000000000..bf9df06e5311 --- /dev/null +++ b/converters/base64/files/patch-base64.c @@ -0,0 +1,17 @@ +--- base64.c.orig Sun Nov 11 21:52:10 2007 ++++ base64.c Sun Nov 11 21:52:19 2007 +@@ -63,13 +63,7 @@ + static int ateof= FALSE; + static byte dtable[256]; + static int linelength= 0; +-static char eol[]= +-#ifdef FORCE_BINARY_IO +-"\n" +-#else +-"\r\n" +-#endif +-; ++static char eol[]="\n"; + static int errcheck= TRUE; + + /*:5*/ diff --git a/converters/base64/pkg-descr b/converters/base64/pkg-descr index cc6168b83b0f..d90157631e89 100644 --- a/converters/base64/pkg-descr +++ b/converters/base64/pkg-descr @@ -1,6 +1,6 @@ -Base64 is a simple program to convert binary files to base64 for use -with MIME attachments and such. - ---will +Base64 is a command line utility which encodes/decodes arbitrary +binary information in the base64 format used by MIME-encoded +documents, such as electronic mail messages with embedded files +(RFC 1341 and successors). WWW: http://www.fourmilab.ch/webtools/base64/ -- cgit v1.2.3