# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # frand/Makefile # frand/distinfo # frand/pkg-descr # frand/pkg-plist # echo x - frand/Makefile sed 's/^X//' >frand/Makefile << '6a4a0bf6d155df27a59b305f13d56fcf' X# $FreeBSD$ X XPORTNAME= frand XPORTVERSION= 0.1 XDISTVERSIONPREFIX= v XCATEGORIES= sysutils X XMAINTAINER= serpent7776@gmail.com XCOMMENT= Selects a random file from given directory using reservoir sampling algorithm X XLICENSE= BSD2CLAUSE XLICENSE_FILE= ${WRKSRC}/LICENSE X XLIB_DEPENDS= libboost_filesystem.so:devel/boost-libs X XUSES= cmake X XUSE_GITHUB= yes XGH_ACCOUNT= serpent7776 XGH_PROJECT= frand StreamSampler:StreamSampler XGH_TAGNAME= 919a0f1ba6bb3ae63b4708722e9a7d49164ca92d:StreamSampler XGH_ACCOUNT_StreamSampler= LiorKogan XGH_SUBDIR_StreamSampler= lib/StreamSampler X X.include 6a4a0bf6d155df27a59b305f13d56fcf echo x - frand/distinfo sed 's/^X//' >frand/distinfo << '37c047a9c7c17bb37c9fe1c1bdc829d7' XTIMESTAMP = 1564056505 XSHA256 (serpent7776-frand-v0.1_GH0.tar.gz) = 62a114ad80443b8e3fffa56ca3182e4e7294d1a3ba4b92cdb4e1cbe625794389 XSIZE (serpent7776-frand-v0.1_GH0.tar.gz) = 2225 XSHA256 (LiorKogan-StreamSampler-919a0f1ba6bb3ae63b4708722e9a7d49164ca92d_GH0.tar.gz) = 654ac0c0c0f161ef40c4d3fd4632d71cdf59c9cbe1108b47ba44b7f9f10f1d73 XSIZE (LiorKogan-StreamSampler-919a0f1ba6bb3ae63b4708722e9a7d49164ca92d_GH0.tar.gz) = 36890 37c047a9c7c17bb37c9fe1c1bdc829d7 echo x - frand/pkg-descr sed 's/^X//' >frand/pkg-descr << '271525e75ce8b933d2683d92510092e1' XSelects a random file from given directory using reservoir sampling algorithm. XThis 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. X XWWW: https://github.com/serpent7776/frand 271525e75ce8b933d2683d92510092e1 echo x - frand/pkg-plist sed 's/^X//' >frand/pkg-plist << '6d5dd8b75dc00381a050be1bdaf711a8' X@comment $FreeBSD$ Xbin/frand 6d5dd8b75dc00381a050be1bdaf711a8 exit