From owner-svn-ports-head@FreeBSD.ORG Thu Apr 30 08:58:58 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3582D695; Thu, 30 Apr 2015 08:58:58 +0000 (UTC) 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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 168F315FD; Thu, 30 Apr 2015 08:58:58 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3U8wvJG090173; Thu, 30 Apr 2015 08:58:57 GMT (envelope-from wen@FreeBSD.org) Received: (from wen@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3U8wveW090166; Thu, 30 Apr 2015 08:58:57 GMT (envelope-from wen@FreeBSD.org) Message-Id: <201504300858.t3U8wveW090166@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: wen set sender to wen@FreeBSD.org using -f From: Wen Heping Date: Thu, 30 Apr 2015 08:58:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r385027 - in head/sysutils/duply: . 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, 30 Apr 2015 08:58:58 -0000 Author: wen Date: Thu Apr 30 08:58:56 2015 New Revision: 385027 URL: https://svnweb.freebsd.org/changeset/ports/385027 Log: - Update to 1.9.1 PR: 196723 Submitted by: sascha@root-login.org Approved by: michael@ranner.eu(maintainer) Modified: head/sysutils/duply/Makefile head/sysutils/duply/distinfo head/sysutils/duply/files/periodic_duply.in Modified: head/sysutils/duply/Makefile ============================================================================== --- head/sysutils/duply/Makefile Thu Apr 30 06:45:26 2015 (r385026) +++ head/sysutils/duply/Makefile Thu Apr 30 08:58:56 2015 (r385027) @@ -2,9 +2,9 @@ # $FreeBSD$ PORTNAME= duply -PORTVERSION= 1.7.4 +PORTVERSION= 1.9.1 CATEGORIES= sysutils -MASTER_SITES= SF/ftplicity/${PORTNAME}%20%28simple%20duplicity%29/1.7.x/ +MASTER_SITES= SF/ftplicity/${PORTNAME}%20%28simple%20duplicity%29/1.9.x/ DISTNAME= ${PORTNAME}_${PORTVERSION} EXTRACT_SUFX= .tgz @@ -17,6 +17,8 @@ LICENSE_FILE= ${WRKSRC}/gpl-2.0.txt RUN_DEPENDS= duplicity:${PORTSDIR}/sysutils/duplicity \ bash:${PORTSDIR}/shells/bash +USES= python + NO_BUILD= yes PORTDOCS= INSTALL.txt gpl-2.0.txt @@ -27,6 +29,7 @@ SUB_FILES= pkg-message periodic_duply post-patch: ${REINPLACE_CMD} -e "s,/etc/duply,${ETCDIR},g" ${WRKSRC}/duply + ${REINPLACE_CMD} -e "s,(python,(${PYTHON_CMD},g" ${WRKSRC}/duply do-install: ${INSTALL_SCRIPT} ${WRKSRC}/duply ${STAGEDIR}${PREFIX}/bin/duply Modified: head/sysutils/duply/distinfo ============================================================================== --- head/sysutils/duply/distinfo Thu Apr 30 06:45:26 2015 (r385026) +++ head/sysutils/duply/distinfo Thu Apr 30 08:58:56 2015 (r385027) @@ -1,2 +1,2 @@ -SHA256 (duply_1.7.4.tgz) = 2bbcd6e55fcaa7ae2c416a6ce2d3ae0bc219dd05049d8708ff0e79a3349599e7 -SIZE (duply_1.7.4.tgz) = 34887 +SHA256 (duply_1.9.1.tgz) = e5f11c5a31a55de24cc5101a6429ea3eac14c0d3f0d6dec344b687089845efc5 +SIZE (duply_1.9.1.tgz) = 35883 Modified: head/sysutils/duply/files/periodic_duply.in ============================================================================== --- head/sysutils/duply/files/periodic_duply.in Thu Apr 30 06:45:26 2015 (r385026) +++ head/sysutils/duply/files/periodic_duply.in Thu Apr 30 08:58:56 2015 (r385027) @@ -44,13 +44,17 @@ case "$backup_duply_enable" in eval sleep $(jot -r 1 0 ${backup_duply_random}) echo echo "Duply Backup:" - eval duply ${backup_duply_profile} ${backup_duply_command} ${backup_duply_opt} - if [ $? -gt 0 ] - then - echo "Errors were reported during backup." - rc=3 - fi - ;; + for duply_profile in ${backup_duply_profile} + do + eval duply ${duply_profile} ${backup_duply_command} ${backup_duply_opt} + if [ $? -gt 0 ] + then + echo "Errors were reported during backup." + rc=3 + break + fi + done + ;; esac exit $rc