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 photosAll times are UTC
Ukraine
Port details
p5-File-Random Perl module for random selecting of a file
0.21 devel on this many watch lists=3 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.21Version of this port present on the latest quarterly branch.
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2005-07-22 11:05:22
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
People watching this port, also watch:: p5-Math-Combinatorics, p5-Array-Iterator, p5-Sort-Naturally, p5-Tree-Simple-VisitorFactory, p5-Tree-Parser
Also Listed In: perl5
License: ART10 GPLv1+
WWW:
https://metacpan.org/release/File-Random
Description:
This module simplifies the routine job of selecting a random file. (As you can find at CGI scripts). It's done, because it's boring (and error prone), always to write something like my @files = (<*.*>); my $randf = $files[rand @files]; or opendir DIR, " ... " or die " ... "; my @files = grep {-f ...} (readdir DIR); closedir DIR; my $randf = $files[rand @files]; It also becomes very boring and very dangerous to write randomly selection for subdirectory searching with special check-routines. The simple standard job of selecting a random line from a file is implemented, too.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (9 items)
Collapse this list.
  1. /usr/local/share/licenses/p5-File-Random-0.21/catalog.mk
  2. /usr/local/share/licenses/p5-File-Random-0.21/LICENSE
  3. /usr/local/share/licenses/p5-File-Random-0.21/ART10
  4. /usr/local/share/licenses/p5-File-Random-0.21/GPLv1+
  5. lib/perl5/site_perl/man/man3/File::Random.3.gz
  6. lib/perl5/site_perl/File/Random.pm
  7. @owner
  8. @group
  9. @mode
Collapse this list.
Dependency lines:
  • p5-File-Random>0:devel/p5-File-Random
To install the port:
cd /usr/ports/devel/p5-File-Random/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/p5-File-Random
  • pkg install p5-File-Random
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: p5-File-Random
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1620417844 SHA256 (File-Random-0.21.tar.gz) = 69ca9391e0a371b470e1728d1a34418ed208da4a17717fc9cbaae0daf4c65424 SIZE (File-Random-0.21.tar.gz) = 13997

Packages (timestamps in pop-ups are UTC):
p5-File-Random
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.210.210.190.210.21-0.19-
FreeBSD:13:quarterly0.210.210.210.210.210.210.210.21
FreeBSD:14:latest0.210.210.210.210.210.21-0.21
FreeBSD:14:quarterly0.210.21-0.210.210.210.210.21
FreeBSD:15:latest0.210.21n/a0.21n/a0.210.210.21
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. p5-Set-Scalar>0 : devel/p5-Set-Scalar
  2. p5-Want>=0 : devel/p5-Want
  3. perl5>=5.32.r0<5.33 : lang/perl5.32
  4. perl5>=5.32.r0<5.33 : lang/perl5.32
Runtime dependencies:
  1. p5-Set-Scalar>0 : devel/p5-Set-Scalar
  2. p5-Want>=0 : devel/p5-Want
  3. perl5>=5.32.r0<5.33 : lang/perl5.32
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_p5-File-Random
USES:
perl5
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (12 items)
Collapse this list.
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/File/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/File/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/File/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/File/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/File/
  7. http://backpan.perl.org/modules/by-module/File/
  8. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/File/
  9. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/File/
  10. https://cpan.metacpan.org/modules/by-module/
  11. https://cpan.metacpan.org/modules/by-module/File/
  12. https://www.cpan.org/modules/by-module/File/
Collapse this list.

Number of commits found: 32

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.21
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.21
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.21
07 May 2021 21:14:22
commit hash: 0456dd37b950ae05ae62ab685fb713bce9e275ddcommit hash: 0456dd37b950ae05ae62ab685fb713bce9e275ddcommit hash: 0456dd37b950ae05ae62ab685fb713bce9e275ddcommit hash: 0456dd37b950ae05ae62ab685fb713bce9e275dd files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/p5-File-Random: Update version 0.19=>0.21

Relnotes:	https://metacpan.org/release/File-Random
0.19
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.19
28 May 2020 09:05:01
Revision:536753Original commit files touched by this commit
bofh search for other commits by this committer
devel/p5-File-Random: Update version 0.18=>0.19

Relnotes:	https://metacpan.org/release/File-Random
0.18
06 Oct 2018 13:06:45
Revision:481365Original commit files touched by this commit
des search for other commits by this committer
Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, except
for where it resulted in a change in output from build-depends-list or
run-depends-list.

Approved by:	portmgr (adamw)
0.18
27 May 2018 20:15:20
Revision:470993Original commit files touched by this commit
sunpoet search for other commits by this committer
Update WWW

search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
0.18
08 Jan 2018 20:15:44
Revision:458474Original commit files touched by this commit
bofh search for other commits by this committer
devel/p5-File-Random: Update version 0.17=>0.18

- mark NO_ARCH

Relnotes:	http://cpansearch.perl.org/src/BIGJ/File-Random-0.18/Changes
0.17_2
15 Sep 2017 08:58:50
Revision:449893Original commit files touched by this commit
mat search for other commits by this committer
Fix license information for portgs that use "the same license as Perl".

Sponsored by:	Absolight
0.17_2
19 May 2016 10:21:25
Revision:415498Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-descrs, categories [a-f]*

Approved by:	portmgr blanket
0.17_2
01 Apr 2016 14:00:57
Revision:412346Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
0.17_2
24 Dec 2014 00:14:13
Revision:375378Original commit files touched by this commit
bofh search for other commits by this committer
Change my non-FreeBSD MAINTAINER mail to bofh@

Approved by:	bapt
0.17_2
26 Nov 2014 13:08:38
Revision:373448Original commit files touched by this commit
mat search for other commits by this committer
Change the way Perl modules are installed, update the default Perl to 5.18.

Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.17_1
27 Oct 2014 10:55:59
Revision:371547Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
0.17_1
25 May 2014 12:40:53
Revision:355217Original commit files touched by this commit
sunpoet search for other commits by this committer
- Add LICENSE
- Pass maintainership to submitter
- While I'm here, sort *_DEPENDS

PR:		ports/189582
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
0.17_1
29 Oct 2013 12:52:07
Revision:331943Original commit files touched by this commit
vanilla search for other commits by this committer
Support STAGEDIR.
0.17_1
20 Sep 2013 17:13:47
Revision:327724Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
0.17_1
02 Aug 2013 18:21:06
Revision:324171Original commit files touched by this commit Sanity Test Failure
az search for other commits by this committer
- Convert to new perl framework
0.17_1
05 Jun 2012 18:15:31
Original commit files touched by this commit
ak search for other commits by this committer
- Remove SITE_PERL from *_DEPENDS

Submitted by:   az
Approved by:    eadler (mentor)
0.17_1
15 Feb 2012 16:01:49
Original commit files touched by this commit
swills search for other commits by this committer
- Add missing DEPENDS
- Add TEST_DEPENDS to enable testing
0.17
21 Jan 2012 17:40:15
Original commit files touched by this commit
eadler search for other commits by this committer
At the moment 1385 ports use BUILD_DEPENDS= ${RUN_DEPENDS} and 450
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are
currently broken. This is a temporary measure until we organically stop using
:= or someone(s) spend a lot of time changing all the ports over.

Explicit duplication > := > = and this just moves ports one step to the left

Approved by:    portmgr
0.17
03 Jul 2011 14:59:23
Original commit files touched by this commit
ohauer search for other commits by this committer
-remove MD5
0.17
21 Dec 2009 02:19:12
Original commit files touched by this commit
dougb search for other commits by this committer
For ports maintained by ports@FreeBSD.org, remove names and/or
e-mail addresses from the pkg-descr file that could reasonably
be mistaken for maintainer contact information in order to avoid
confusion on the part of users looking for support. As a pleasant
side effect this also avoids confusion and/or frustration for people
who are no longer maintaining those ports.
0.17
23 May 2008 21:18:39
Original commit files touched by this commit
olgeni search for other commits by this committer
Hunt for typos in devel/p5-*.
0.17
29 Apr 2008 05:27:10
Original commit files touched by this commit
linimon search for other commits by this committer
Reset aaron's port maintainerships due to many maintainer-timeouts.
0.17
17 Apr 2008 14:30:31
Original commit files touched by this commit
araujo search for other commits by this committer
- Take advantage of CPAN macro from bsd.sites.mk, change
${MASTER_SITE_PERL_CPAN} to CPAN.

PR:             ports/122674
Submitted by:   Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:    araujo (myself)
Approved by:    portmgr (pav)
0.17
08 Sep 2007 00:57:38
Original commit files touched by this commit
linimon search for other commits by this committer
Welcome bsd.perl.mk.  Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:   gabor
Sponsored by:   Google Summer of Code 2007
Hat:            portmgr
0.17
23 May 2006 16:34:19
Original commit files touched by this commit
aaron search for other commits by this committer
- Updated maintainer
- Corrected IGNORE message

Approved by:    tobez (implicit)
0.17
22 Jan 2006 08:30:12
Original commit files touched by this commit
edwin search for other commits by this committer
SHA256ify

Approved by:    krion@
0.17
22 Jan 2006 01:48:34
Original commit files touched by this commit
edwin search for other commits by this committer
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry

Approved by:    krion@
PR:             ports/88711 (related)
0.17
22 Jul 2005 11:04:36
Original commit files touched by this commit
erwin search for other commits by this committer
Add p5-File-Random 0.17, perl module for random selecting of a file.

PR:             ports/82864
Submitted by:   Aaron Dalton <aaron@daltons.ca>

Number of commits found: 32