Port details |
- uni-algo Unicode Algorithms Implementation for C/C++
- 1.2.0 textproc
=0 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one. - Maintainer: sunpoet@FreeBSD.org
![search for ports maintained by this maintainer search for ports maintained by this maintainer](/images/search.jpg) - Port Added: 2025-02-03 15:57:20
- Last Update: 2025-02-03 15:50:43
- Commit Hash: 22fcd91
- License: MIT PD
- WWW:
- https://github.com/uni-algo/uni-algo
- Description:
- There are plenty of Unicode libraries for C/C++ out there that implement random
Unicode algorithms, but many of them don't handle ill-formed UTF sequences at
all. In the best-case scenario, you'll get an exception/error; in the
worst-case, undefined behavior. The biggest problem is that in 99% cases
everything will be fine. This is inappropriate for security reasons. This
library handles such problems (there are not only ill-formed sequences actually)
properly and always according to The Unicode Standard.
In C/C++, unlike some other programming languages, there is no safe type for
UTF-8/UTF-16 that guarantees that the data will be well-formed; this makes the
problem even worse. The library doesn't introduce such a type either because the
library doesn't work with types/strings/files/streams, it works with the data
inside them and makes it safe when it's needed.
Check this article if you want more information about ill-formed sequences:
https://hsivonen.fi/broken-utf-8
It is a bit outdated because ICU (International Components for Unicode) now uses
W3C conformant implementation too, but the information in the article is very
useful.
This library does use W3C conformant implementation too.
¦ ¦ ¦ ¦ ![SVNWeb - no subversion history for this port SVNWeb - no subversion history for this port](/images/subversion-greyed.png)
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- uni-algo>0:textproc/uni-algo
- To install the port:
- cd /usr/ports/textproc/uni-algo/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/uni-algo
- pkg install uni-algo
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: uni-algo
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1738088814
SHA256 (uni-algo-uni-algo-v1.2.0_GH0.tar.gz) = f2a1539cd8635bc6088d05144a73ecfe7b4d74ee0361fabed6f87f9f19e74ca9
SIZE (uni-algo-uni-algo-v1.2.0_GH0.tar.gz) = 437340
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:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- This port is required by:
- for Libraries
-
- filesystems/securefs
Configuration Options:
- No options to configure
- Options name:
- textproc_uni-algo
- USES:
- cmake compiler:c++17-lang
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 1
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.2.0 03 Feb 2025 15:50:43
![commit hash: 22fcd914debb594d1daa5f79355ed5f5d8c0be45 commit hash: 22fcd914debb594d1daa5f79355ed5f5d8c0be45](/images/git.png) ![commit hash: 22fcd914debb594d1daa5f79355ed5f5d8c0be45 commit hash: 22fcd914debb594d1daa5f79355ed5f5d8c0be45](/images/codeberg.svg) ![commit hash: 22fcd914debb594d1daa5f79355ed5f5d8c0be45 commit hash: 22fcd914debb594d1daa5f79355ed5f5d8c0be45](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Po-Chuan Hsieh (sunpoet) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
textproc/uni-algo: Add uni-algo 1.2.0
There are plenty of Unicode libraries for C/C++ out there that implement random
Unicode algorithms, but many of them don't handle ill-formed UTF sequences at
all. In the best-case scenario, you'll get an exception/error; in the
worst-case, undefined behavior. The biggest problem is that in 99% cases
everything will be fine. This is inappropriate for security reasons. This
library handles such problems (there are not only ill-formed sequences actually)
properly and always according to The Unicode Standard.
In C/C++, unlike some other programming languages, there is no safe type for
UTF-8/UTF-16 that guarantees that the data will be well-formed; this makes the
problem even worse. The library doesn't introduce such a type either because the
library doesn't work with types/strings/files/streams, it works with the data
inside them and makes it safe when it's needed.
Check this article if you want more information about ill-formed sequences:
https://hsivonen.fi/broken-utf-8
It is a bit outdated because ICU (International Components for Unicode) now uses
W3C conformant implementation too, but the information in the article is very
useful.
This library does use W3C conformant implementation too. |
Number of commits found: 1
|