Bug 106029 - USE_DOS2UNIX improvement
Summary: USE_DOS2UNIX improvement
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: 2006-11-29 20:00 UTC by Pav Lucistnik
Modified: 2007-01-31 16:14 UTC (History)
0 users

See Also:


Attachments
dos2unix.patch (1.59 KB, patch)
2006-11-29 20:00 UTC, Pav Lucistnik
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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