Port details |
- dos2unix DOS/Mac to Unix and vice versa text file format converter
- 7.5.2 converters =4 7.5.2Version of this port present on the latest quarterly branch.
- Maintainer: dim@FreeBSD.org
- Port Added: 2023-06-28 17:45:07
- Last Update: 2024-02-05 16:50:27
- Commit Hash: 4ae1c81
- People watching this port, also watch:: pkg_tree, yt-dlp, zbar, libinotify, coreutils
- License: BSD2CLAUSE
- WWW:
- https://waterlan.home.xs4all.nl/dos2unix.html
- Description:
- This is an update of Benjamin Lin's implementations of dos2unix and
unix2dos. Benjamin Lin's implementations of dos2unix and unix2dos were
distributed via SunSITE.unc.edu (later MetaLab.unc.edu, now ibiblio)
and became part of several Linux distributions such as RedHat, Suse,
Gentoo, and others. This update includes all RedHat patches and fixes
several other problems. Internationalization has been added and ports
to DOS, Windows, Cygwin and OS/2 Warp have been made.
Features
* Native language support.
* Automatically skips binary and non-regular files.
* In-place, paired, or stdio mode conversion.
* Keep original file dates option.
* 7-bit and iso conversion modes like SunOS dos2unix.
* Conversion of Unicode UTF-16 files.
* Handles Unicode Byte Order Mark (BOM).
* Display file information.
* Secure.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- dos2unix>0:converters/dos2unix
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/converters/dos2unix/ && make install clean
- To add the package, run one of these commands:
- pkg install converters/dos2unix
- pkg install dos2unix
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: dos2unix
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1707150448
SHA256 (dos2unix-7.5.2.tar.gz) = 264742446608442eb48f96c20af6da303cb3a92b364e72cb7e24f88239c4bf3a
SIZE (dos2unix-7.5.2.tar.gz) = 991485
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.3 : devel/gmake
- gettext-runtime>=0.22_1 : devel/gettext-runtime
- msgfmt : devel/gettext-tools
- Library dependencies:
-
- libintl.so : devel/gettext-runtime
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for dos2unix-7.5.2:
DOCS=on: Build and/or install documentation
NLS=on: Native Language Support
===> Use 'make config' to modify these settings
- Options name:
- converters_dos2unix
- USES:
- gmake gettext
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
7.5.2 05 Feb 2024 16:50:27 |
Dimitry Andric (dim) |
converters/dos2unix: update to 7.5.1
Changes: https://waterlan.home.xs4all.nl/dos2unix/NEWS.txt
MFH: 2024Q1 |
7.5.1 01 Sep 2023 08:48:20 |
Dimitry Andric (dim) |
converters/dos2unix: update to 7.5.1
Changes: https://waterlan.home.xs4all.nl/dos2unix/NEWS.txt |
7.5.0 28 Jun 2023 17:39:39 |
Dimitry Andric (dim) |
converters/dos2unix: Add new port
This is a port for Erwin Waterlander's dos2unix, which is shipped in
most Linux distributions, and has many more features than the similar
converters/dosunix and converters/unix2dos ports. It is also much more
maintained, as those other ports have not had significant updates in
years.
The port has DOCS and NLS options, to toggle the building and/or
installing of documentation, multi-lingual messages and man pages.
Note that this port's "dos2unix" and "unix2dos" binaries conflict with
those of the converters/unix2dos port, but I see no good reason to have
both installed at the same time.
PR: 271998
Reviewed by: eduardo
MFH: 2023Q2 |