aboutsummaryrefslogtreecommitdiff
path: root/converters/base64
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2007-12-17 08:35:22 +0000
committerBeech Rintoul <beech@FreeBSD.org>2007-12-17 08:35:22 +0000
commit03578a43f30180c6862445b31f43c468a2009ef1 (patch)
treeeae4aec10946dbee42d7e7ad08051188200638f6 /converters/base64
parentcf1e96563ac9d596bdd288d12e04ca6db2cc43e5 (diff)
downloadports-03578a43f30180c6862445b31f43c468a2009ef1.tar.gz
ports-03578a43f30180c6862445b31f43c468a2009ef1.zip
- Fix creation of dos files
- Pass maintainership to submitter PR: ports/118568 Submitted by: Nikola Lecic <nikola.lecic@anthesphoria.net> Approved by: linimon (mentor)
Notes
Notes: svn path=/head/; revision=203916
Diffstat (limited to 'converters/base64')
-rw-r--r--converters/base64/Makefile5
-rw-r--r--converters/base64/files/patch-base64.c17
-rw-r--r--converters/base64/pkg-descr8
3 files changed, 24 insertions, 6 deletions
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/