diff options
author | beech <beech@FreeBSD.org> | 2007-12-17 16:35:22 +0800 |
---|---|---|
committer | beech <beech@FreeBSD.org> | 2007-12-17 16:35:22 +0800 |
commit | 513cacf77f75025a3d83930e5948ec8fa495d8ae (patch) | |
tree | d896c641c2d13f0f1364641a9e7dbe5813930c1b /converters/base64 | |
parent | 41dda82161b435d822b6673a3e9c0f795d7e9e2e (diff) | |
download | freebsd-ports-gnome-513cacf77f75025a3d83930e5948ec8fa495d8ae.tar.gz freebsd-ports-gnome-513cacf77f75025a3d83930e5948ec8fa495d8ae.tar.zst freebsd-ports-gnome-513cacf77f75025a3d83930e5948ec8fa495d8ae.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)
Diffstat (limited to 'converters/base64')
-rw-r--r-- | converters/base64/Makefile | 5 | ||||
-rw-r--r-- | converters/base64/files/patch-base64.c | 17 | ||||
-rw-r--r-- | converters/base64/pkg-descr | 8 |
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/ |