diff -Nur duply.orig/Makefile duply/Makefile --- duply.orig/Makefile 2014-12-20 20:42:45.000000000 +0100 +++ duply/Makefile 2015-01-14 14:25:35.952976408 +0100 @@ -2,9 +2,9 @@ # $FreeBSD: head/sysutils/duply/Makefile 375112 2014-12-20 19:42:45Z bapt $ 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 @@ 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 @@ 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 diff -Nur duply.orig/distinfo duply/distinfo --- duply.orig/distinfo 2014-07-08 20:50:21.000000000 +0200 +++ duply/distinfo 2015-01-14 14:12:20.865579986 +0100 @@ -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 diff -Nur duply.orig/files/periodic_duply.in duply/files/periodic_duply.in --- duply.orig/files/periodic_duply.in 2014-03-24 21:30:21.000000000 +0100 +++ duply/files/periodic_duply.in 2015-01-14 15:01:13.882779523 +0100 @@ -44,12 +44,16 @@ 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