From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jan 29 13:10:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E31B2D4F for ; Wed, 29 Jan 2014 13:10:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BEF68166F for ; Wed, 29 Jan 2014 13:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0TDA0pG051265 for ; Wed, 29 Jan 2014 13:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0TDA0h9051250; Wed, 29 Jan 2014 13:10:00 GMT (envelope-from gnats) Resent-Date: Wed, 29 Jan 2014 13:10:00 GMT Resent-Message-Id: <201401291310.s0TDA0h9051250@freefall.freebsd.org> Message-Id: <201401291310.s0TDA0h9051250@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lapo Luchini Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D6F7ACFB for ; Wed, 29 Jan 2014 13:06:51 +0000 (UTC) Received: from relay.andxor.it (firewall.andxor.it [78.134.40.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F423F164C for ; Wed, 29 Jan 2014 13:06:50 +0000 (UTC) Received: (qmail 37802 invoked from network); 29 Jan 2014 13:06:47 -0000 Received: from lapo.andxor.it (192.168.2.22) by relay.andxor.it with SMTP; 29 Jan 2014 13:06:47 -0000 Received: by lapo.andxor.it (sSMTP sendmail emulation); Wed, 29 Jan 2014 14:06:47 +0100 Date: Wed, 29 Jan 2014 14:06:47 +0100 From: Lapo Luchini To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/186233: [MAINTAINER] security/botan110: update to 1.10.7 Cc: madpilot@freebsd.org, Lapo Luchini X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jan 2014 13:10:01 -0000 >Number: 186233 >Category: ports >Synopsis: [MAINTAINER] security/botan110: update to 1.10.7 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Jan 29 13:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Lapo Luchini >Release: FreeBSD 10.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD lapo.andxor.it 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC >Description: - Update to 1.10.7 - Allow staging - Have configure detect the correct compiler (it was using clang thinking it was gcc) Generated with FreeBSD Port Tools 0.99_11 (mode: update, diff: ports) >How-To-Repeat: >Fix: --- botan110-1.10.7.patch begins here --- diff -ruN /usr/ports/security/botan110/Makefile ./Makefile --- /usr/ports/security/botan110/Makefile 2013-09-21 00:55:24.000000000 +0200 +++ ./Makefile 2014-01-29 12:56:16.619411622 +0100 @@ -2,7 +2,7 @@ # $FreeBSD: security/botan110/Makefile 327769 2013-09-20 22:55:24Z bapt $ PORTNAME= botan -PORTVERSION= 1.10.5 +PORTVERSION= 1.10.7 CATEGORIES= security MASTER_SITES= http://files.randombit.net/botan/v1.10/ PKGNAMESUFFIX= 110 @@ -21,22 +21,20 @@ OPTIONS_DEFAULT= SSL GMP ECC ECC_DESC= ECC support +USES= compiler gmake USE_BZIP2= yes USE_PYTHON_BUILD= yes HAS_CONFIGURE= yes CONFIGURE_SCRIPT= configure.py -CONFIGURE_ARGS= --prefix=${PREFIX} --with-tr1-implementation=boost \ - --with-bzip2 --with-zlib -USE_GMAKE= yes +CONFIGURE_ARGS= --prefix=${PREFIX} --with-bzip2 --with-zlib MAKE_ARGS= CXX="${CXX}" LIB_OPT="${CXXFLAGS}" USE_LDCONFIG= yes PLIST_FILES= bin/botan-config-1.10 lib/libbotan-1.10.a lib/libbotan-1.10.so lib/libbotan-1.10.so.0 \ - lib/libbotan-1.10.so.0.5 libdata/pkgconfig/botan-1.10.pc + lib/libbotan-1.10.so.0.7 libdata/pkgconfig/botan-1.10.pc DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} PORTDOCS= * -NO_STAGE= yes .include .if ${PORT_OPTIONS:MSSL} @@ -58,6 +56,10 @@ CONFIGURE_ARGS+=--with-tr1-implementation=none .endif +.include + +CONFIGURE_ARGS+=--cc ${COMPILER_TYPE} + post-patch: ${REINPLACE_CMD} -e "s|#!/usr/bin/env python|#!${PYTHON_CMD}|" \ ${WRKSRC}/configure.py @@ -67,8 +69,8 @@ .endif post-install: - @(cd ${PREFIX}; ${FIND} -s include/botan-1.10 -not -type d) >> ${TMPPLIST} + @(cd "${STAGEDIR}${PREFIX}"; ${FIND} -s include/botan-1.10 -not -type d) >> ${TMPPLIST} @${ECHO_CMD} @dirrm include/botan-1.10/botan >> ${TMPPLIST} @${ECHO_CMD} @dirrm include/botan-1.10 >> ${TMPPLIST} -.include +.include diff -ruN /usr/ports/security/botan110/distinfo ./distinfo --- /usr/ports/security/botan110/distinfo 2013-05-22 20:07:53.000000000 +0200 +++ ./distinfo 2014-01-20 17:50:16.127896043 +0100 @@ -1,2 +1,2 @@ -SHA256 (Botan-1.10.5.tbz) = 2934c00533847dc93c485081d3ce6aae4a110151a69b587b895241159da77cf3 -SIZE (Botan-1.10.5.tbz) = 2214817 +SHA256 (Botan-1.10.7.tbz) = 19f79ae670cb2ea7c290244ff6ff564ce74b45d8845af52787a30c646e16324d +SIZE (Botan-1.10.7.tbz) = 2240316 diff -ruN /usr/ports/security/botan110/files/patch-src_build_data_makefile_unix_shr.in ./files/patch-src_build_data_makefile_unix_shr.in --- /usr/ports/security/botan110/files/patch-src_build_data_makefile_unix_shr.in 2013-05-22 20:07:53.000000000 +0200 +++ ./files/patch-src_build_data_makefile_unix_shr.in 2014-01-29 12:56:54.833409121 +0100 @@ -1,11 +1,22 @@ ---- src/build-data/makefile/unix_shr.in.orig 2011-09-02 19:36:47.671575619 +0000 -+++ src/build-data/makefile/unix_shr.in 2011-09-02 19:37:32.341486166 +0000 -@@ -20,7 +20,7 @@ - LIBDIR = $(DESTDIR)/%{libdir} - HEADERDIR = $(DESTDIR)/%{includedir}/botan-$(SERIES)/botan - DOCDIR = $(DESTDIR)/%{docdir}/botan-$(VERSION) +--- src/build-data/makefile/unix_shr.in.orig 2013-12-29 19:30:46.000000000 +0100 ++++ src/build-data/makefile/unix_shr.in 2014-01-29 12:56:53.163471296 +0100 +@@ -14,13 +14,13 @@ VERSION = %{version} + SERIES = %{version_major}.%{version_minor} + + # Installation Settings +-DESTDIR = %{prefix} ++PREFIX = %{prefix} + +-BINDIR = $(DESTDIR)/bin +-LIBDIR = $(DESTDIR)/%{libdir} +-HEADERDIR = $(DESTDIR)/%{includedir}/botan-$(SERIES)/botan +-DOCDIR = $(DESTDIR)/%{docdir}/botan-$(VERSION) -PKGCONF_DIR = $(LIBDIR)/pkgconfig -+PKGCONF_DIR = $(DESTDIR)/libdata/pkgconfig ++BINDIR = $(DESTDIR)$(PREFIX)/bin ++LIBDIR = $(DESTDIR)$(PREFIX)/%{libdir} ++HEADERDIR = $(DESTDIR)$(PREFIX)/%{includedir}/botan-$(SERIES)/botan ++DOCDIR = $(DESTDIR)$(PREFIX)/%{docdir}/botan-$(VERSION) ++PKGCONF_DIR = $(DESTDIR)$(PREFIX)/libdata/pkgconfig CONFIG_SCRIPT = %{botan_config} PKGCONFIG = %{botan_pkgconfig} --- botan110-1.10.7.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: