Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Nov 2014 22:53:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 194567] [PATCH] sysutils/bsdadminscripts  -  distviper deletes all distfiles if /usr/ports is a symlink
Message-ID:  <bug-194567-13-nh1ZbQVjVJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194567-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194567-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194567

--- Comment #4 from commit-hook@freebsd.org ---
A commit references this bug:

Author: pi
Date: Fri Nov  7 22:53:15 UTC 2014
New revision: 372302
URL: https://svnweb.freebsd.org/changeset/ports/372302

Log:
  sysutils/bsdadminscripts: fix distviper

  Adds a -H to all uses of find(1) in distviper so symlinks are handled
  correctly

  By default find(1) will not follow symlinks given on the command-line.
  There are several places in distviper where find is used without
  allowing for this.

  In particular in the default mode, if PORTSDIR is a link and DISTDIR
  isn't, then no distinfo files are found and all the distfiles are
  deleted.

  This can be fixed by either making sure that find is given directory
  names that end in a "/" or with the -H option.

  PR:        194567
  Submitted by:    rwmaillists@googlemail.com
  Approved by:    Carlos Jacobo Puga Medina <cpm@fbsd.es> (maintainer)

Changes:
  head/sysutils/bsdadminscripts/Makefile
  head/sysutils/bsdadminscripts/files/distviper.in
  head/sysutils/bsdadminscripts/pkg-plist

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194567-13-nh1ZbQVjVJ>