Bug 106029

Summary: USE_DOS2UNIX improvement
Product: Ports & Packages Reporter: Pav Lucistnik <pav>
Component: Individual Port(s)Assignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
dos2unix.patch none

Description Pav Lucistnik freebsd_committer freebsd_triage 2006-11-29 20:00:36 UTC
Improvements to current feature USE_DOS2UNIX (replace DOS linefeeds with UNIX
ones):

- allows to specify generic file extensions, which will be then searched and
  patched in the whole directory tree
  USE_DOS2UNIX=	*.cpp *.h
- backwards compatible: retains old behaviour if slash is used in the expression
  USE_DOS2UNIX=	src/config.h
- new variable to specify find(1) iregex argument
  USE_DOS2UNIX=	yes
  DOS2UNIX_REGEX=	.*\.(cpp|h)

Superseeds ports/93007.

Fix: Also available on freefall as ~pav/dos2unix.patch
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2006-11-29 20:03:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

My patch! exprun test please.
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2007-01-23 20:03:16 UTC
State Changed
From-To: open->analyzed

Accepted for a test build on the cluster.
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2007-01-31 16:14:29 UTC
State Changed
From-To: analyzed->closed

Committed