From owner-svn-ports-head@freebsd.org Thu Sep 3 10:43:56 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9EE489C89EF; Thu, 3 Sep 2015 10:43:56 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8EE6D1D8F; Thu, 3 Sep 2015 10:43:56 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t83AhuF6089763; Thu, 3 Sep 2015 10:43:56 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t83AhtTe089757; Thu, 3 Sep 2015 10:43:55 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201509031043.t83AhtTe089757@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Thu, 3 Sep 2015 10:43:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395945 - in head/converters/libb64: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2015 10:43:56 -0000 Author: danfe Date: Thu Sep 3 10:43:55 2015 New Revision: 395945 URL: https://svnweb.freebsd.org/changeset/ports/395945 Log: - Improve COMMENT: make it concise and mention that it's about Base64 - Unbreak the build on PowerPC by adding -fsigned-char to CFLAGS (and also respect them by removing hardcoded -O3) - Rename a patch and regenerate it with `make makepatch' command - Clean up do-install target (sanitize symlink, wrap overly long line) - Reformat and kill EOL whitespace in the port description text Added: head/converters/libb64/files/patch-src_Makefile - copied, changed from r395944, head/converters/libb64/files/patch-shared-lib Deleted: head/converters/libb64/files/patch-shared-lib Modified: head/converters/libb64/Makefile head/converters/libb64/pkg-descr Modified: head/converters/libb64/Makefile ============================================================================== --- head/converters/libb64/Makefile Thu Sep 3 10:28:15 2015 (r395944) +++ head/converters/libb64/Makefile Thu Sep 3 10:43:55 2015 (r395945) @@ -7,7 +7,7 @@ CATEGORIES= converters mail MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME} MAINTAINER= ismail.yenigul@surgate.com -COMMENT= Library of ANSI C routines for fast encoding/decoding data +COMMENT= Library for fast Base64 encoding and decoding BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend @@ -15,13 +15,12 @@ USES= gmake zip ALL_TARGET= all_src USE_LDCONFIG= yes -BROKEN_powerpc= Does not compile on powerpc - do-install: ${INSTALL_DATA} ${WRKSRC}/src/libb64.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_LIB} ${WRKSRC}/src/libb64.so.0 ${STAGEDIR}${PREFIX}/lib - (cd ${STAGEDIR}${PREFIX}/lib && ${LN} -fs libb64.so.0 libb64.so) + ${LN} -fs libb64.so.0 ${STAGEDIR}${PREFIX}/lib/libb64.so @${MKDIR} ${STAGEDIR}${PREFIX}/include/b64 - ${INSTALL_DATA} ${WRKSRC}/include/b64/*.h ${STAGEDIR}${PREFIX}/include/b64 + ${INSTALL_DATA} ${WRKSRC}/include/b64/*.h \ + ${STAGEDIR}${PREFIX}/include/b64 .include Copied and modified: head/converters/libb64/files/patch-src_Makefile (from r395944, head/converters/libb64/files/patch-shared-lib) ============================================================================== --- head/converters/libb64/files/patch-shared-lib Thu Sep 3 10:28:15 2015 (r395944, copy source) +++ head/converters/libb64/files/patch-src_Makefile Thu Sep 3 10:43:55 2015 (r395945) @@ -1,12 +1,27 @@ ---- src/Makefile~ +--- src/Makefile.orig 2013-06-18 12:49:36 UTC +++ src/Makefile -@@ -1,4 +1,5 @@ +@@ -1,9 +1,10 @@ -LIBRARIES = libb64.a +LIBRARIES = libb64.a libb64.so +SOVERSION ?= 0 # Build flags (uncomment one) ############################# + # Release build flags +-CFLAGS += -O3 ++#CFLAGS += -O3 + ############################# + # Debug build flags + #CFLAGS += -g +@@ -15,7 +16,7 @@ TARGETS = $(LIBRARIES) + + LINK.o = gcc + +-CFLAGS += -Werror -pedantic ++CFLAGS += -Werror -pedantic -fsigned-char + CFLAGS += -I../include + + vpath %.h ../include/b64 @@ -27,6 +28,15 @@ all: $(TARGETS) #strip libb64.a: cencode.o cdecode.o $(AR) $(ARFLAGS) $@ $^ Modified: head/converters/libb64/pkg-descr ============================================================================== --- head/converters/libb64/pkg-descr Thu Sep 3 10:28:15 2015 (r395944) +++ head/converters/libb64/pkg-descr Thu Sep 3 10:43:55 2015 (r395945) @@ -1,10 +1,9 @@ -libb64 is a library of ANSI C routines for fast encoding/decoding data -into and from a base64-encoded format. -C++ wrappers are included, as well as the source code for -standalone encoding and decoding executables. +libb64 is a library of ANSI C routines for fast encoding/decoding of data +into and from a Base64-encoded format. C++ wrappers are included, as well +as the source code for standalone encoding and decoding executables. -Base64 uses a subset of displayable ASCII characters, and is -therefore a useful encoding for storing binary data in a text file, -such as XML, or sending binary data over text-only email. +Base64 uses a subset of displayable ASCII characters, and is therefore a +useful encoding for storing binary data in a text file, such as XML, or +sending binary data over text-only communication channels. -WWW: http://libb64.sourceforge.net +WWW: http://libb64.sourceforge.net/