afl++, fio: remove, moved to pkgsrc

This commit is contained in:
Thomas Klausner 2020-04-17 19:55:01 +02:00
parent 89005f0da2
commit 21e9ebeba8
11 changed files with 4 additions and 317 deletions

View File

@ -91,7 +91,6 @@ SUBDIR+= aegis-devel
SUBDIR+= aegisub
SUBDIR+= aespipe
SUBDIR+= afflib
SUBDIR+= afl++
SUBDIR+= afl-cov
SUBDIR+= agfl
SUBDIR+= agile
@ -497,7 +496,7 @@ SUBDIR+= coxeter
SUBDIR+= cpdup
SUBDIR+= cpluff
SUBDIR+= cpm
SUBDIR+= cppcheck
SUBDIR+= cppzmq
SUBDIR+= cpqarrayd
SUBDIR+= cpuminer-multi
SUBDIR+= crabemu
@ -814,7 +813,6 @@ SUBDIR+= filepp
SUBDIR+= filerunner
SUBDIR+= filevercmp
SUBDIR+= findcrcs
SUBDIR+= fio
SUBDIR+= firebird
SUBDIR+= fireflysung-ttf
SUBDIR+= firefox-hg
@ -1915,6 +1913,7 @@ SUBDIR+= libode
SUBDIR+= liboglappth
SUBDIR+= liboobs
SUBDIR+= libopenmodeller
SUBDIR+= libopenshot
SUBDIR+= libopenshot-audio
SUBDIR+= libopensync-dev
SUBDIR+= libopensync-plugin-moto
@ -2503,6 +2502,7 @@ SUBDIR+= opennurbs
SUBDIR+= openra
SUBDIR+= openrw-git
SUBDIR+= openscep
SUBDIR+= openshot-qt
SUBDIR+= opensips
SUBDIR+= openssl110
SUBDIR+= opensubdiv
@ -4649,6 +4649,7 @@ SUBDIR+= swfmill
SUBDIR+= swftools
SUBDIR+= swift
SUBDIR+= swift-git
SUBDIR+= swig4
SUBDIR+= swisseph
SUBDIR+= sxemacs
SUBDIR+= sxid

View File

@ -1,4 +0,0 @@
afl++ is an upgrade to the American Fuzzy Lop (afl) fuzzer, created initially
to incorporate all the best features developed in the years for the fuzzers in
the AFL family but was not merged in AFL as it is not updated since November
2017.

View File

@ -1,34 +0,0 @@
# $NetBSD$
DISTNAME= AFLplusplus-2.62c
PKGNAME= ${DISTNAME:C/AFLplusplus/afl++/}
GITHUB_PROJECT= AFLplusplus
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=AFLplusplus/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/AFLplusplus/AFLplusplus/
COMMENT= American Fuzzy Lop ++, a fuzzing tool for finding bugs by random input
LICENSE= apache-2.0
.include "../../lang/python/pyversion.mk"
PYTHON_INCLUDE_CMD= python${PYVERSSUFFIX}-config --includes
PYTHON_VERSION_CMD= python${PYVERSSUFFIX} --version
.if ${PYVERSSUFFIX} < 38
PYTHON_LIB_CMD= python${PYVERSSUFFIX}-config --ldflags
.else
PYTHON_LIB_CMD= python${PYVERSSUFFIX}-config --libs --embed --ldflags
.endif
MAKE_FLAGS+= PYTHON_INCLUDE=${PYTHON_INCLUDE_CMD:sh:Q}
MAKE_FLAGS+= PYTHON_VERSION=${PYTHON_VERSION_CMD:sh:Q}
MAKE_FLAGS+= PYTHON_LIB=${PYTHON_LIB_CMD:sh:Q}
USE_LANGUAGES= c c++
USE_TOOLS+= bash:run gmake
REPLACE_SH+= afl-plot
REPLACE_BASH+= afl-cmin
REPLACE_BASH+= afl-cmin.bash
.include "../../mk/bsd.pkg.mk"

View File

@ -1,107 +0,0 @@
@comment $NetBSD$
bin/afl-analyze
bin/afl-clang
bin/afl-clang++
bin/afl-cmin
bin/afl-cmin.bash
bin/afl-fuzz
bin/afl-g++
bin/afl-gcc
bin/afl-gotcpu
bin/afl-plot
bin/afl-showmap
bin/afl-system-config
bin/afl-tmin
bin/afl-whatsup
lib/afl/afl-as
lib/afl/argvfuzz32.so
lib/afl/argvfuzz64.so
lib/afl/as
lib/afl/socketfuzz32.so
lib/afl/socketfuzz64.so
man/man8/afl-analyze.8
man/man8/afl-as.8
man/man8/afl-cmin.8
man/man8/afl-cmin.bash.8
man/man8/afl-fuzz.8
man/man8/afl-gcc.8
man/man8/afl-gotcpu.8
man/man8/afl-plot.8
man/man8/afl-showmap.8
man/man8/afl-system-config.8
man/man8/afl-tmin.8
man/man8/afl-whatsup.8
share/afl/dictionaries/README.md
share/afl/dictionaries/gif.dict
share/afl/dictionaries/html_tags.dict
share/afl/dictionaries/jpeg.dict
share/afl/dictionaries/js.dict
share/afl/dictionaries/json.dict
share/afl/dictionaries/pdf.dict
share/afl/dictionaries/png.dict
share/afl/dictionaries/regexp.dict
share/afl/dictionaries/sql.dict
share/afl/dictionaries/tiff.dict
share/afl/dictionaries/webp.dict
share/afl/dictionaries/xml.dict
share/afl/testcases/README.md
share/afl/testcases/archives/common/ar/small_archive.a
share/afl/testcases/archives/common/bzip2/small_archive.bz2
share/afl/testcases/archives/common/cab/small_archive.cab
share/afl/testcases/archives/common/compress/small_archive.Z
share/afl/testcases/archives/common/cpio/small_archive.cpio
share/afl/testcases/archives/common/gzip/small_archive.gz
share/afl/testcases/archives/common/lzo/small_archive.lzo
share/afl/testcases/archives/common/rar/small_archive.rar
share/afl/testcases/archives/common/tar/small_archive.tar
share/afl/testcases/archives/common/xz/small_archive.xz
share/afl/testcases/archives/common/zip/small_archive.zip
share/afl/testcases/archives/exotic/arj/small_archive.arj
share/afl/testcases/archives/exotic/lha/small_archive.lha
share/afl/testcases/archives/exotic/lrzip/small_archive.lrz
share/afl/testcases/archives/exotic/lzip/small_archive.lz
share/afl/testcases/archives/exotic/lzma/small_archive.lzma
share/afl/testcases/archives/exotic/rzip/small_archive.rz
share/afl/testcases/archives/exotic/zoo/small_archive.zoo
share/afl/testcases/images/bmp/not_kitty.bmp
share/afl/testcases/images/gif/not_kitty.gif
share/afl/testcases/images/ico/not_kitty.ico
share/afl/testcases/images/jp2/not_kitty.jp2
share/afl/testcases/images/jpeg/not_kitty.jpg
share/afl/testcases/images/jxr/not_kitty.jxr
share/afl/testcases/images/png/not_kitty.png
share/afl/testcases/images/png/not_kitty_alpha.png
share/afl/testcases/images/png/not_kitty_gamma.png
share/afl/testcases/images/png/not_kitty_icc.png
share/afl/testcases/images/tiff/not_kitty.tiff
share/afl/testcases/images/webp/not_kitty.webp
share/afl/testcases/multimedia/h264/small_movie.mp4
share/afl/testcases/others/elf/small_exec.elf
share/afl/testcases/others/js/small_script.js
share/afl/testcases/others/pcap/small_capture.pcap
share/afl/testcases/others/pdf/small.pdf
share/afl/testcases/others/rtf/small_document.rtf
share/afl/testcases/others/sql/simple_queries.sql
share/afl/testcases/others/text/hello_world.txt
share/afl/testcases/others/xml/small_document.xml
share/doc/afl/Changelog.md
share/doc/afl/INSTALL.md
share/doc/afl/PATCHES.md
share/doc/afl/QuickStartGuide.md
share/doc/afl/README.MOpt.md
share/doc/afl/README.md
share/doc/afl/README.radamsa.md
share/doc/afl/binaryonly_fuzzing.md
share/doc/afl/custom_mutator.md
share/doc/afl/env_variables.md
share/doc/afl/historical_notes.md
share/doc/afl/ideas.md
share/doc/afl/life_pro_tips.md
share/doc/afl/notes_for_asan.md
share/doc/afl/parallel_fuzzing.md
share/doc/afl/perf_tips.md
share/doc/afl/power_schedules.md
share/doc/afl/python_mutators.md
share/doc/afl/sister_projects.md
share/doc/afl/status_screen.md
share/doc/afl/technical_details.md

View File

@ -1,8 +0,0 @@
$NetBSD$
SHA1 (AFLplusplus-2.62c.tar.gz) = 4442de6667fe780867a7bd0ddbbc0eaa897f95e5
RMD160 (AFLplusplus-2.62c.tar.gz) = 0840d48520ee90d9263cdf040b6253efac3d7ea2
SHA512 (AFLplusplus-2.62c.tar.gz) = 0214845af0acc889c5f80bbfc6f50b662cb608c4c0959061075db29ee60bdaca7b11499368b44597674e1a11c49e60725abe2f919a7ddf7850c410019902eb40
Size (AFLplusplus-2.62c.tar.gz) = 1272000 bytes
SHA1 (patch-examples_argv__fuzzing_Makefile) = 04032386558713ca4d142964f63cc6820ae010c8
SHA1 (patch-examples_socket__fuzzing_Makefile) = 46b5474f61029d5ea4a4449cfad6de0d6f5c8d66

View File

@ -1,17 +0,0 @@
$NetBSD$
Honor CFLAGS and LDFLAGS.
--- examples/argv_fuzzing/Makefile.orig 2020-02-28 00:13:28.000000000 +0000
+++ examples/argv_fuzzing/Makefile
@@ -17,8 +17,8 @@ PREFIX ?= /usr/local
BIN_PATH = $(PREFIX)/bin
HELPER_PATH = $(PREFIX)/lib/afl
-CFLAGS = -fPIC -Wall -Wextra
-LDFLAGS = -shared
+CFLAGS += -fPIC -Wall -Wextra
+LDFLAGS += -shared
ifneq "$(filter Linux GNU%,$(shell uname))" ""
LDFLAGS += -ldl

View File

@ -1,17 +0,0 @@
$NetBSD$
Honor CFLAGS and LDFLAGS.
--- examples/socket_fuzzing/Makefile.orig 2020-02-28 00:13:28.000000000 +0000
+++ examples/socket_fuzzing/Makefile
@@ -15,8 +15,8 @@ PREFIX ?= /usr/local
BIN_PATH = $(PREFIX)/bin
HELPER_PATH = $(PREFIX)/lib/afl
-CFLAGS = -fPIC -Wall -Wextra
-LDFLAGS = -shared
+CFLAGS += -fPIC -Wall -Wextra
+LDFLAGS += -shared
ifneq "$(filter Linux GNU%,$(shell uname))" ""
LDFLAGS += -ldl

View File

@ -1,6 +0,0 @@
fio is a tool that will spawn a number of threads or processes doing a
particular type of io action as specified by the user. fio takes a
number of global parameters, each inherited by the thread unless
otherwise parameters given to them overriding that setting is given.
The typical use of fio is to write a job file matching the io load
one wants to simulate.

View File

@ -1,36 +0,0 @@
# $NetBSD: Makefile,v 1.6 2020/01/26 17:30:46 rillig Exp $
DISTNAME= fio-3.19
CATEGORIES= benchmarks
MASTER_SITES= http://brick.kernel.dk/snaps/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://git.kernel.dk/?p=fio.git;a=summary
COMMENT= Flexible IO Tester
LICENSE= gnu-gpl-v2
HAS_CONFIGURE= yes
USE_TOOLS+= bash gmake lex yacc
DOCDIR= ${PREFIX}/share/doc/fio
EGDIR= ${PREFIX}/share/examples/fio
CONFIGURE_ARGS+= --prefix=${PREFIX}
REPLACE_BASH+= tools/genfio
REPLACE_PYTHON+= tools/fio_jsonplus_clat2csv
REPLACE_PYTHON+= tools/fio_latency2csv.py
REPLACE_PYTHON+= tools/fiologparser.py
REPLACE_PYTHON+= tools/hist/fiologparser_hist.py
REPLACE_PYTHON+= tools/plot/fio2gnuplot
INSTALLATION_DIRS= ${DOCDIR} ${EGDIR}
TEST_TARGET= test
post-install:
${INSTALL_DATA} ${WRKSRC}/HOWTO ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.fio ${DESTDIR}${EGDIR}
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,79 +0,0 @@
@comment $NetBSD: PLIST,v 1.2 2019/10/08 18:13:32 maya Exp $
bin/fio
bin/fio-dedupe
bin/fio-genzipf
bin/fio-verify-state
bin/fio2gnuplot
bin/fio_generate_plots
bin/fio_jsonplus_clat2csv
bin/fiologparser.py
bin/fiologparser_hist.py
bin/genfio
man/man1/fio.1
man/man1/fio2gnuplot.1
man/man1/fio_generate_plots.1
man/man1/fiologparser_hist.py.1
share/doc/fio/HOWTO
share/examples/fio/1mbs_clients.fio
share/examples/fio/aio-read.fio
share/examples/fio/backwards-read.fio
share/examples/fio/basic-verify.fio
share/examples/fio/butterfly.fio
share/examples/fio/cpp_null.fio
share/examples/fio/cpuio.fio
share/examples/fio/cross-stripe-verify.fio
share/examples/fio/dev-dax.fio
share/examples/fio/disk-zone-profile.fio
share/examples/fio/e4defrag.fio
share/examples/fio/e4defrag2.fio
share/examples/fio/enospc-pressure.fio
share/examples/fio/exitwhat.fio
share/examples/fio/falloc.fio
share/examples/fio/filecreate-ioengine.fio
share/examples/fio/filestat-ioengine.fio
share/examples/fio/fio-rand-RW.fio
share/examples/fio/fio-rand-read.fio
share/examples/fio/fio-rand-write.fio
share/examples/fio/fio-seq-RW.fio
share/examples/fio/fio-seq-read.fio
share/examples/fio/fio-seq-write.fio
share/examples/fio/fixed-rate-submission.fio
share/examples/fio/flow.fio
share/examples/fio/fsx.fio
share/examples/fio/ftruncate.fio
share/examples/fio/gfapi.fio
share/examples/fio/gpudirect-rdmaio-client.fio
share/examples/fio/gpudirect-rdmaio-server.fio
share/examples/fio/http-s3.fio
share/examples/fio/http-swift.fio
share/examples/fio/http-webdav.fio
share/examples/fio/ime.fio
share/examples/fio/iometer-file-access-server.fio
share/examples/fio/jesd219.fio
share/examples/fio/latency-profile.fio
share/examples/fio/libhdfs.fio
share/examples/fio/libiscsi.fio
share/examples/fio/libpmem.fio
share/examples/fio/mtd.fio
share/examples/fio/nbd.fio
share/examples/fio/netio.fio
share/examples/fio/netio_multicast.fio
share/examples/fio/null.fio
share/examples/fio/numa.fio
share/examples/fio/pmemblk.fio
share/examples/fio/poisson-rate-submission.fio
share/examples/fio/rados.fio
share/examples/fio/rand-zones.fio
share/examples/fio/rbd.fio
share/examples/fio/rdmaio-client.fio
share/examples/fio/rdmaio-server.fio
share/examples/fio/ssd-steadystate.fio
share/examples/fio/ssd-test.fio
share/examples/fio/steadystate.fio
share/examples/fio/surface-scan.fio
share/examples/fio/tiobench-example.fio
share/examples/fio/waitfor.fio
share/examples/fio/zipf.fio
share/fio/graph2D.gpm
share/fio/graph3D.gpm
share/fio/math.gpm

View File

@ -1,6 +0,0 @@
$NetBSD: distinfo,v 1.5 2019/10/08 18:13:32 maya Exp $
SHA1 (fio-3.19.tar.gz) = 02503623deb40fae2b12c09cdf5f4b9339902f7b
RMD160 (fio-3.19.tar.gz) = 1bfeee6af3fd5b94d134df9ca3c308dd84e7e24d
SHA512 (fio-3.19.tar.gz) = 2154fb1c91f30c56182a85f0011ad5d1d25f3857a33165ea46f15a413bc8e47d0150026a7f87e901bcb5d587bc96bf22e62bc689bcfdc99976d82808f58a99fe
Size (fio-3.19.tar.gz) = 1006012 bytes