From owner-svn-ports-all@freebsd.org Fri Mar 30 18:21:33 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1CDB5F53E58; Fri, 30 Mar 2018 18:21:33 +0000 (UTC) (envelope-from fjoe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C0C42746EB; Fri, 30 Mar 2018 18:21:32 +0000 (UTC) (envelope-from fjoe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BBD274918; Fri, 30 Mar 2018 18:21:32 +0000 (UTC) (envelope-from fjoe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2UILWrb069198; Fri, 30 Mar 2018 18:21:32 GMT (envelope-from fjoe@FreeBSD.org) Received: (from fjoe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2UILWQL069196; Fri, 30 Mar 2018 18:21:32 GMT (envelope-from fjoe@FreeBSD.org) Message-Id: <201803301821.w2UILWQL069196@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fjoe set sender to fjoe@FreeBSD.org using -f From: Max Khon Date: Fri, 30 Mar 2018 18:21:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465991 - in head/sysutils/tartarus: . files X-SVN-Group: ports-head X-SVN-Commit-Author: fjoe X-SVN-Commit-Paths: in head/sysutils/tartarus: . files X-SVN-Commit-Revision: 465991 X-SVN-Commit-Repository: ports 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.25 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: Fri, 30 Mar 2018 18:21:33 -0000 Author: fjoe Date: Fri Mar 30 18:21:32 2018 New Revision: 465991 URL: https://svnweb.freebsd.org/changeset/ports/465991 Log: - Use "--ftp-create-dirs" for [S]FTP storage - Bump PORTREVISION Modified: head/sysutils/tartarus/Makefile head/sysutils/tartarus/files/patch-bin__tartarus Modified: head/sysutils/tartarus/Makefile ============================================================================== --- head/sysutils/tartarus/Makefile Fri Mar 30 18:21:01 2018 (r465990) +++ head/sysutils/tartarus/Makefile Fri Mar 30 18:21:32 2018 (r465991) @@ -3,7 +3,7 @@ PORTNAME= tartarus PORTVERSION= 0.9.8 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= sysutils MASTER_SITES= http://wertarbyte.de/tartarus/ \ http://ftp.wilbury.sk/pub/FreeBSD/local/distfiles/ Modified: head/sysutils/tartarus/files/patch-bin__tartarus ============================================================================== --- head/sysutils/tartarus/files/patch-bin__tartarus Fri Mar 30 18:21:01 2018 (r465990) +++ head/sysutils/tartarus/files/patch-bin__tartarus Fri Mar 30 18:21:32 2018 (r465991) @@ -1,5 +1,5 @@ ---- bin/tartarus.orig 2016-08-08 16:38:21.322171000 +0000 -+++ bin/tartarus 2016-08-08 16:39:07.701706000 +0000 +--- bin/tartarus.orig 2018-03-30 17:57:10.233266000 +0100 ++++ bin/tartarus 2018-03-30 17:57:45.818667000 +0100 @@ -41,6 +41,8 @@ set -f shopt -s nocasematch @@ -78,7 +78,7 @@ local EXITCODE=$? # exit code 1 means that some files have changed while backing them # up, we think that is OK for now -@@ -678,17 +711,24 @@ +@@ -678,21 +711,28 @@ # define storage procedure storage() { # stay silent, but print error messages if aborting @@ -113,3 +113,8 @@ local FILE=$(constructFilename) local URL="$PROTO://$STORAGE_FTP_SERVER/$STORAGE_FTP_DIR/$FILE" debug "Uploading backup to $URL..." +- curl $OPTS --upload-file - "$URL" ++ curl $OPTS --ftp-create-dirs --upload-file - "$URL" + } + ;; + FILE)