Bug 143955 - 'make search' doesn't skip comments in /usr/ports/MOVED
Summary: 'make search' doesn't skip comments in /usr/ports/MOVED
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-15 15:50 UTC by pluknet
Modified: 2010-05-25 16:20 UTC (History)
0 users

See Also:


Attachments
file.diff (642 bytes, patch)
2010-02-15 15:50 UTC, pluknet
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description pluknet 2010-02-15 15:50:02 UTC
Abstract:
When ports are moved, renamed or deleted, they're added to /usr/ports/MOVED.
ports/104161 let 'make search' also search in /usr/ports/MOVED

Problem:
'make search' also searches in /usr/ports/MOVED's comments.

While here, there's an unwrapped line around my generated diff (see attached patch), which would be nice to fix as well.

Fix: Apply the patch.

Patch attached with submission follows:
How-To-Repeat: Specify name's argument in 'make search' to match something that's in MOVED's comments.

# make search name=MOVED
Port:   # MOVED - a list of (recently) moved or removed ports
Moved:
Date:
Reason:

Port:   #     Moved to: Where the port was moved to, or which port users
Moved:
Date:
Reason:

Port:   #     Why:      The reason why the port was moved or removed.
Moved:
Date:
Reason:

Port:   # If previously removed port gets restored, make sure to delete the relevant
Moved:
Date:
Reason:
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2010-02-19 08:34:24 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

Over to maintainer.
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2010-05-25 16:08:47 UTC
State Changed
From-To: open->closed

Committed, thanks
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-05-25 16:18:22 UTC
pav         2010-05-25 15:18:14 UTC

  FreeBSD ports repository

  Modified files:
    Mk                   bsd.port.subdir.mk 
  Log:
  - Skip comments blocks when 'make search'ing in MOVED file
  - Also rewrap a long line
  
  PR:             ports/143955
  Submitted by:   pluknet <pluknet@gmail.com>
  
  Revision  Changes    Path
  1.76      +4 -2      ports/Mk/bsd.port.subdir.mk
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"