Deprecated: Abandoned upstream, does not build with CMake 4
Expires: 2026-11-30
sysutils/frand 0.1_16 FreeBSD
Selects a random file using reservoir sampling algorithm
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
97a84ef467- License
- BSD2CLAUSE
- Categories
- sysutils
- Package size
- 12.3 KiB, 24.8 KiB installed
Description
Selects a random file from given directory using reservoir sampling algorithm. This means directory contents doesn't need to be read in memory and then sorted and so will perform much better than find+sort for big directories.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | sysutils/frand | 0.1_16 |
| DragonFly | sysutils/frand | 0.1_11 |
| HardenedBSD | sysutils/frand | 0.1_16 |
| GhostBSD | sysutils/frand | 0.1_15 |
Install
Binary package:
pkg install frand
From the ports tree:
cd /usr/ports/sysutils/frand/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= frand>0:sysutils/frand
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.1_16 | 0.1_16 | 0.1_4 | 0.1_12 | 0.1_16 |
| FreeBSD:14:quarterly | 0.1_16 | 0.1_16 | n/a | 0.1_12 | 0.1_16 |
| FreeBSD:15:latest | 0.1_16 | 0.1_16 | n/a | 0.1_12 | 0.1_12 |
| FreeBSD:15:quarterly | 0.1_16 | 0.1_16 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.1_16 | 0.1_16 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 1
libboost_filesystem.so: devel/boost-libs
The full lists below include those, and their dependencies in turn.
Build dependencies 19
Run dependencies 4
No port depends on this one.
Configuration
No options to configure.
- USES
- cmake compiler:c++11-lang
- Service scripts
- none
Message after installing
Files
pkg-plist 1
- bin/frand
distinfo 2
| File | Size | SHA256 |
|---|---|---|
| serpent7776-frand-v0.1_GH0.tar.gz | 2225 | 62a114ad80443b8e3fffa56ca3182e4e7294d1a3ba4b92cdb4e1cbe625794389 |
| LiorKogan-StreamSampler-919a0f1ba6bb3ae63b4708722e9a7d49164ca92d_GH0.tar.gz | 36890 | 654ac0c0c0f161ef40c4d3fd4632d71cdf59c9cbe1108b47ba44b7f9f10f1d73 |
Commit history 3
| Date | Commit | Credits | Log message |
|---|---|---|---|
97a84ef467 |
Dima Panov | */*: update boost consumers after boost-1.92 | |
ad901054d9 |
Gleb Popov | sysutils/frand: Mark deprecated PR: 298166
Approved by: [email protected] (maintainer) |
|
213840c151 |
Dima Panov | */*: bump consumers after devel/boost update |