Up to [cvs.NetBSD.org] / pkgsrc / sysutils / detox
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
detox: update to 3.0.1.
Provided by Bartosz Kuzma in PR 60006.
3.0.1 - 2025-08-10
Fixed
Increased timeout on unit tests. #129
3.0.0 - 2025-08-03
Misc
Merged changes from v2.0.1 and v2.0.2.
3.0.0-beta2 - 2024-04-05
Added
Re-added fraction slash (0x2044) to the unicode translation table. #106
Fixed
Fixed an install error due to name collisions on the primary and legacy translation tables.
3.0.0-beta1 - 2024-03-31
Changed
Moved legacy translation tables to tables/legacy/. #112
Removed the transliteration attempts in unicode.tbl, as well as the default value, so most Unicode will just pass through unchanged. #112
The translation tables for CP-1252 and ISO-8859-1 now transcode characters to UTF-8. #112
Removed
Removed utf_8-legacy sequence (use iso8859_1-legacy instead). #112
2.0.3 - 2025-08-10
Fixed
Increased timeout on unit tests. #129
2.0.2 - 2025-08-03
Fixed
Fix make distcheck. #128
2.0.1 - 2025-08-03
Fixed
Updated manifest for distribution tarballs to include files needed to run unit tests. #126
2.0.0 - 2024-03-30
Added
Look for detoxrc in $XDG_CONFIG_HOME. #101
Changed
Enabling verbose mode is now done with either -v or --verbose.
Renamed .ts files to .template so they don't appear as TypeScript files.
Merged
detox v1.4.5
2.0.0-beta2 - 2021-08-14
Fixed
inline-detox no longer chokes when a stream doesn't end in a newline. #74
Compilation works under msys2. #80
Merged
detox v1.4.4
detox v1.4.3
detox v1.4.2
2.0.0-beta1 - 2021-03-05
Added
Added a new transliteration table, unidecode.tbl, based on [Text:Unidecode]. #47 #53
A new config file statement telling detox to use a builtin table. #28 #50
Changed
BREAKING CHANGE: Transliteration no longer happens by default. To emulate the old behavior, use detox -s utf_8. #21
PACKAGE MAINTAINERS: The default config file and translation tables no longer end with .sample. #59
Builtin config file now matches the default supplied one. #42
Builtin translation tables are generated from table/*.tbl. #21 #29
Cleaned up man pages. PDF versions are automatically generated. #22
Code uses spaces instead of tabs. #44
CP-1252 transliteration is now done via a separate table. #48
Files and directories starting with a period are ignored during recursion. #64
The default config file enables remove_trailing in the wipeup filter. #43
The default config file now explicitly uses the builtin statement. #28 #50
The max_length filter no longer acts like the wipeup filter. Excess periods are not reduced within this filter. #46
The UTF-8 filter no longer behaves like the safe filter. All characters between 0x20 and 0x7E are preserved. #40
Removed
Removed obsolete BUGS from man pages. One caveat has been moved to CAVEATS. #37
The deprecated command line option --remove-trailing is now removed. Use the sequence wipeup { remove_trailing; }; instead. #24
Fixed
Numerous internal bugs and inconsistencies. #21 #31 #41
The max_length filter recognizes files with two extensions. #46
The safe filter converts all ASCII control characters to _. #21 #29
The safe filter ignores characters between 0x80 and 0xFF. #21 #29
The uncgi filter converts + to a space as expected. #72
The utf_8 filter no longer eats a byte if an invalid Unicode sequence is encountered. #72
Security
Added additional compiler protection flags. #31
Symlinks that point at directories are no longer followed when --special and -r are specified together. #23
UTF-8 encoded NULL (0x0000) values are converted to _hidden_null_ to make them obvious. #40
1.4.5 - 2021-08-15
Fixed
Autoconf macros have been updated to support 2.70 changes. #82
1.4.4 - 2021-08-14
Fixed
Add explicit large file support via autoconf. #81
1.4.3 - 2021-07-24
Fixed
Fixed build when the stat struct is missing st_blocks. #77
detox: update to 1.4.2.
Replaced instances of cp -an with test and install in the Makefile rule
that copies yyz.sample to yyz. [#73]
Fixed make distcheck. [#73]
detox: update to 1.4.1.
Update HOMEPAGE, from author in PR 56041.
1.4.1
Fixed a memory overflow bug while reading files from the command line, using
a patch from David Tardon, which was passed on by UsernameRandomlyGenerated.
[#56] #sf-patch-3
1.4.0
Added
Regression tests for basic functionality, based on old custom scripts.
Regression tests confirming fixes for previously fixed issues: #14, #19.
Changed
Removed one check for . and .. when traversing a directory tree. #12
Regenerated config file parser.
Updated the safe filter to translate new lines, carriage returns, and tabs
into underscores. #9 #11 #17
Fixed
The examples in detox.1 no longer say -c when they mean -f. #30
The command synopsis in detox.1 and inline-detox.1 no longer adds a dash
before the sequence and configfile. #30
1.3.3
Fix version identifier in detox binary.
1.3.2
Fixed
Table based UTF-8 translation no longer mangles characters. [#14]
1.3.1
Fixed
Merged fix for Debian #861537, written by Vasily Kolobkov, passed on by
Zenaan Harkness, Quentin Guittard, and Joao Eriberto Mota Filho. This
addresses an issue with detox generating malformed characters during
translation. #14
1.3.0
Migrated from configure.in and Makefile.in to the full autoconf suite. [#1]
Remove detox_path.h, in favor of command line defines. [#1]
Removed libpopt support. [#2]
Fixed the way inline-detox is generated. [#6]
Merged parse_option_*.[ch] and file*.[ch]. [#1, #2, #6]
Added --inline as an option to detox, to enable inline mode on the main
binary. [#6]
*: Convert broken sourceforge HOMEPAGEs back to http
all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU.
detox: remove unintended diff. this first attempt failed
detox: fix build when using flex from pkgsrc (i.e. linux) Look for -lfl in LDFLAGS as well, not just the default paths.
Make lex/flex a runtime dependency for packages which link against -lfl.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Update detox to 1.2.0. Based on MAINTAINER update request in PR 38940. While here, add DESTDIR support. Changes since detox-1.2.0-rc1 - Added the ability to ignore specific files. [sourceforge.net tracker #1253826] - Fixed a bug where directories specified on the command line wouldn't get translated. [sourceforge.net tracker #1213623] - Added support for translating large files. [sourceforge.net tracker #1509493] - Added inline-detox for stream based detoxification.
USE_TOOLS+=lex
Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
Fix a typo.
Import detox from pkgsrc-wip. Packaged by Bartosz Kuzma. Detox is a utility designed to clean up filenames. It replaces difficult to work with characters, such as spaces, with standard equivalents. It will also clean up filenames with UTF-8 or Latin-1 (or CP-1252) characters in them.
Initial revision