notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2026Q3
frand Selects a random file using reservoir sampling algorithm
0.1_15 sysutils on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.1_15Version of this port present on the latest quarterly branch.
Deprecated DEPRECATED: Abandoned upstream, does not build with CMake 4
Expiration Date EXPIRATION DATE: 2026-11-30
Maintainer: serpent7776@gmail.com search for ports maintained by this maintainer
Port Added: 2026-09-07 13:54:22
Last Update: 2026-09-07 13:52:50
Commit Hash: 16b5f991
License: BSD2CLAUSE
WWW:
https://github.com/serpent7776/frand
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (7 items)
Collapse this list.
  1. /usr/local/share/licenses/frand-0.1_15/catalog.mk
  2. /usr/local/share/licenses/frand-0.1_15/LICENSE
  3. /usr/local/share/licenses/frand-0.1_15/BSD2CLAUSE
  4. bin/frand
  5. @owner
  6. @group
  7. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • frand>0:sysutils/frand
To install the port:
cd /usr/ports/sysutils/frand/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/frand
  • pkg install frand
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: frand
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1564056505 SHA256 (serpent7776-frand-v0.1_GH0.tar.gz) = 62a114ad80443b8e3fffa56ca3182e4e7294d1a3ba4b92cdb4e1cbe625794389 SIZE (serpent7776-frand-v0.1_GH0.tar.gz) = 2225

Expand this list (2 items)

Collapse this list.

SHA256 (LiorKogan-StreamSampler-919a0f1ba6bb3ae63b4708722e9a7d49164ca92d_GH0.tar.gz) = 654ac0c0c0f161ef40c4d3fd4632d71cdf59c9cbe1108b47ba44b7f9f10f1d73 SIZE (LiorKogan-StreamSampler-919a0f1ba6bb3ae63b4708722e9a7d49164ca92d_GH0.tar.gz) = 36890

Collapse this list.


Packages (timestamps in pop-ups are UTC):
frand
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.1_130.1_13n/an/an/an/an/an/a
FreeBSD:13:quarterly0.1_130.1_13n/an/an/an/an/an/a
FreeBSD:14:latest0.1_140.1_140.1_40.1_120.1_140.1_6-0.1_6
FreeBSD:14:quarterly0.1_130.1_13-0.1_120.1_130.1_70.1_70.1_7
FreeBSD:15:latest0.1_140.1_14n/a0.1_12n/an/a0.1_70.1_8
FreeBSD:15:quarterly0.1_130.1_13n/a-n/an/a--
FreeBSD:16:latest0.1_140.1_14n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
Library dependencies:
  1. libboost_filesystem.so : devel/boost-libs
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
sysutils_frand
USES:
cmake compiler:c++11-lang
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/serpent7776/frand/tar.gz/v0.1?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.1_15
07 Sep 2026 13:52:50
commit hash: 16b5f9917bdb75897efd985a4e5c166914d0a658commit hash: 16b5f9917bdb75897efd985a4e5c166914d0a658commit hash: 16b5f9917bdb75897efd985a4e5c166914d0a658commit hash: 16b5f9917bdb75897efd985a4e5c166914d0a658 files touched by this commit
Gleb Popov (arrowd) search for other commits by this committer
sysutils/frand: Mark deprecated

PR:		298166
Approved by:	serpent7776@gmail.com (maintainer)

(cherry picked from commit ad901054d90a494ec168816e2676c56cd51af3c0)

Number of commits found: 1