From owner-svn-ports-all@FreeBSD.ORG Tue Nov 5 21:57:18 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org 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 ESMTP id 00F25C3F; Tue, 5 Nov 2013 21:57:17 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (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 D2A072A31; Tue, 5 Nov 2013 21:57:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA5LvHcX057087; Tue, 5 Nov 2013 21:57:17 GMT (envelope-from ohauer@svn.freebsd.org) Received: (from ohauer@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA5LvHsj057083; Tue, 5 Nov 2013 21:57:17 GMT (envelope-from ohauer@svn.freebsd.org) Message-Id: <201311052157.rA5LvHsj057083@svn.freebsd.org> From: Olli Hauer Date: Tue, 5 Nov 2013 21:57:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332913 - in head/www/serf: . 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-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Nov 2013 21:57:18 -0000 Author: ohauer Date: Tue Nov 5 21:57:16 2013 New Revision: 332913 URL: http://svnweb.freebsd.org/changeset/ports/332913 Log: - update to version 1.3.2 Added: head/www/serf/files/ head/www/serf/files/patch-SConstruct (contents, props changed) Modified: head/www/serf/Makefile head/www/serf/distinfo head/www/serf/pkg-plist Modified: head/www/serf/Makefile ============================================================================== --- head/www/serf/Makefile Tue Nov 5 21:49:08 2013 (r332912) +++ head/www/serf/Makefile Tue Nov 5 21:57:16 2013 (r332913) @@ -2,39 +2,40 @@ # $FreeBSD$ PORTNAME= serf -PORTVERSION= 1.2.1 -PORTREVISION= 1 +PORTVERSION= 1.3.2 CATEGORIES= www MASTER_SITES= GOOGLE_CODE -MASTER_SITE_SUBDIR= db MAINTAINER= apache@FreeBSD.org COMMENT= Serf HTTP client library LIB_DEPENDS+= apr-1:${PORTSDIR}/devel/apr1 +USE_SCONS= yes USE_BZIP2= yes -USES= pathfix -GNU_CONFIGURE= yes +USE_OPENSSL= yes USE_LDCONFIG= yes -CONFIGURE_ARGS+= --with-apr=${LOCALBASE}/bin/apr-1-config \ - --with-apr-util=${LOCALBASE}/bin/apu-1-config OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include +SCONS_ENV= # empty +SCONS_BUILDENV= # empty +SCONS_ARGS= APR=${LOCALBASE}/bin/apr-1-config +SCONS_ARGS+= APU=${LOCALBASE}/bin/apu-1-config +SCONS_ARGS+= OPENSSL=${OPENSSLBASE} +SCONS_ARGS+= PREFIX=${PREFIX} +SCONS_ARGS+= CC=${CC} +SCONS_ARGS+= CFLAGS="${CFLAGS}" +SCONS_INSTALL_TARGET= install --install-sandbox=${STAGEDIR} post-patch: - @${REINPLACE_CMD} -e '/^Requires.private/d' ${WRKSRC}/serf.pc.in + @${REINPLACE_CMD} -e '/^Requires.private/d' ${WRKSRC}/build/serf.pc.in post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/design-guide.txt ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/design-guide.txt ${STAGEDIR}${DOCSDIR} -regression-test: - @(cd ${WRKSRC} && ${MAKE} check) +regression-test check: build + @(cd ${WRKSRC} && ${SCONS_BIN} check) .include Modified: head/www/serf/distinfo ============================================================================== --- head/www/serf/distinfo Tue Nov 5 21:49:08 2013 (r332912) +++ head/www/serf/distinfo Tue Nov 5 21:57:16 2013 (r332913) @@ -1,2 +1,2 @@ -SHA256 (serf-1.2.1.tar.bz2) = 6988d394b62c3494635b6f0760bc3079f9a0cd380baf0f6b075af1eb9fa5e700 -SIZE (serf-1.2.1.tar.bz2) = 190464 +SHA256 (serf-1.3.2.tar.bz2) = e4e7da37d99f4fdf14a4c13a256330037536d4328a0e1ae3deb6f8531ed8200f +SIZE (serf-1.3.2.tar.bz2) = 139861 Added: head/www/serf/files/patch-SConstruct ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/serf/files/patch-SConstruct Tue Nov 5 21:57:16 2013 (r332913) @@ -0,0 +1,40 @@ +--- ./SConstruct.orig 2013-10-04 17:11:04.000000000 +0200 ++++ ./SConstruct 2013-10-05 16:16:20.000000000 +0200 +@@ -69,6 +69,9 @@ + + opts = Variables(files=[SAVED_CONFIG]) + opts.AddVariables( ++ RawListVariable('DESTDIR', ++ 'Required *dummy*, without scons will stop with "Unknown variables: DESTDIR"', ++ None), + PathVariable('PREFIX', + 'Directory to install under', + default_prefix, +@@ -203,6 +206,7 @@ + thisdir = os.getcwd() + libdir = '$LIBDIR' + incdir = '$PREFIX/include/serf-$MAJOR' ++pkgconfdir = '$PREFIX/libdata' + + # This version string is used in the dynamic library name, and for Mac OS X also + # for the current_version and compatibility_version options in the .dylib +@@ -385,7 +389,9 @@ + env.get('GSSAPI_LIBS')), + }) + +-env.Default(lib_static, lib_shared, pkgconfig) ++env.Default(lib_static, lib_shared, pkgconfig ) ++ ++#print env.Dump() + + if CALLOUT_OKAY: + conf = Configure(env) +@@ -418,7 +424,7 @@ + env.Alias('install-lib', [install_static, install_shared, + ]) + env.Alias('install-inc', env.Install(incdir, HEADER_FILES)) +-env.Alias('install-pc', env.Install(os.path.join(libdir, 'pkgconfig'), ++env.Alias('install-pc', env.Install(os.path.join(pkgconfdir, 'pkgconfig'), + pkgconfig)) + env.Alias('install', ['install-lib', 'install-inc', 'install-pc', ]) + Modified: head/www/serf/pkg-plist ============================================================================== --- head/www/serf/pkg-plist Tue Nov 5 21:49:08 2013 (r332912) +++ head/www/serf/pkg-plist Tue Nov 5 21:57:16 2013 (r332913) @@ -2,9 +2,9 @@ include/serf-1/serf.h include/serf-1/serf_bucket_types.h include/serf-1/serf_bucket_util.h lib/libserf-1.a -lib/libserf-1.la lib/libserf-1.so -lib/libserf-1.so.0 +lib/libserf-1.so.1 +lib/libserf-1.so.1.3.0 libdata/pkgconfig/serf-1.pc %%PORTDOCS%%%%DOCSDIR%%/design-guide.txt %%PORTDOCS%%@dirrm %%DOCSDIR%%