BSD Ports

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

SystemPortVersion
FreeBSDsysutils/frand0.1_16
DragonFlysysutils/frand0.1_11

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.1_160.1_160.1_40.1_120.1_16
FreeBSD:14:quarterly0.1_160.1_16n/a0.1_120.1_16
FreeBSD:15:latest0.1_160.1_16n/a0.1_120.1_12
FreeBSD:15:quarterly0.1_160.1_16n/an/an/a
FreeBSD:16:latest0.1_160.1_16n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

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

===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Abandoned upstream, does not build with CMake 4.

It is scheduled to be removed on or after 2026-11-30.

Files

pkg-plist 1
  • bin/frand
distinfo 2
FileSizeSHA256
serpent7776-frand-v0.1_GH0.tar.gz222562a114ad80443b8e3fffa56ca3182e4e7294d1a3ba4b92cdb4e1cbe625794389
LiorKogan-StreamSampler-919a0f1ba6bb3ae63b4708722e9a7d49164ca92d_GH0.tar.gz36890654ac0c0c0f161ef40c4d3fd4632d71cdf59c9cbe1108b47ba44b7f9f10f1d73

Commit history 3

DateCommitCreditsLog 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