Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2014 22:50:26 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343829 - in head/ports-mgmt/pkgs_which: . files
Message-ID:  <201402112250.s1BMoQmH045439@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Tue Feb 11 22:50:26 2014
New Revision: 343829
URL: http://svnweb.freebsd.org/changeset/ports/343829
QAT: https://qat.redports.org/buildarchive/r343829/

Log:
  0.4.1 2014-02-11
    - do not require files given on command line are regular files,
      but accept any non-directory (for instance, symlinks).
  
      Workaround for previous versions: use --no-find if you intend to
      look up non-regular files.

Modified:
  head/ports-mgmt/pkgs_which/Makefile
  head/ports-mgmt/pkgs_which/files/pkgs_which

Modified: head/ports-mgmt/pkgs_which/Makefile
==============================================================================
--- head/ports-mgmt/pkgs_which/Makefile	Tue Feb 11 22:35:45 2014	(r343828)
+++ head/ports-mgmt/pkgs_which/Makefile	Tue Feb 11 22:50:26 2014	(r343829)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pkgs_which
-PORTVERSION=	0.4.0
+PORTVERSION=	0.4.1
 CATEGORIES=	ports-mgmt perl5
 MASTER_SITES=	# none
 DISTFILES=	# none

Modified: head/ports-mgmt/pkgs_which/files/pkgs_which
==============================================================================
--- head/ports-mgmt/pkgs_which/files/pkgs_which	Tue Feb 11 22:35:45 2014	(r343828)
+++ head/ports-mgmt/pkgs_which/files/pkgs_which	Tue Feb 11 22:50:26 2014	(r343829)
@@ -298,7 +298,7 @@ exit $rc;
 sub wanted {
     my ($dev,$ino,$mode,$nlink,$uid,$gid);
 
-    if ((($dev,$ino,$mode,$nlink,$uid,$gid) = lstat($_)) && -f _)
+    if ((($dev,$ino,$mode,$nlink,$uid,$gid) = lstat($_)) && ! -d _)
     {
 	# only record clean names
 	if ($_ =~ $UNTAINT and $1) {
@@ -406,6 +406,13 @@ L<pkg_info>(8), L<portmaster>(8), L<port
 
 =head1 HISTORY
 
+0.4.1 2014-02-11
+  - do not require files given on command line are regular files,
+    but accept any non-directory (for instance, symlinks).
+
+    Workaround for previous versions: use --no-find if you intend to
+    look up non-regular files.
+
 0.4.0 2013-11-28
   - support pkgNG. Known issue is that pkg which returns bogus exit
     codes, spamming your screen.  pkgs_which works nonetheless.



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