Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2018 18:21:32 +0000 (UTC)
From:      Max Khon <fjoe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465991 - in head/sysutils/tartarus: . files
Message-ID:  <201803301821.w2UILWQL069196@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803301821.w2UILWQL069196>