Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37850044
en ru br
ALT Linux repos
S:2.1.0-alt1

Group :: Networking/Other
RPM: ffuf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

%global import_path github.com/ffuf/ffuf/v2

Name: ffuf
Version: 2.0.0
Release: alt1

Summary: Fast web fuzzer written in Go
License: MIT
Group: Networking/Other
Url: https://github.com/ffuf/ffuf
Vcs: https://github.com/ffuf/ffuf

Source: %name-%version.tar

ExclusiveArch: %go_arches
BuildRequires(pre): rpm-build-golang

%description
%summary.

%prep
%setup

%build
export GO111MODULE=off
export BUILDDIR="$PWD/.build"
export IMPORT_PATH="%import_path"
export GOPATH="$BUILDDIR:%go_path"

%golang_prepare

cd .build/src/%import_path
%golang_build .

%install
export BUILDDIR="$PWD/.build"
export IGNORE_SOURCES=1

%golang_install

# fix installation name

mv %buildroot%_bindir/{v2,%name}

%files
%doc LICENSE README.md CHANGELOG.md ffufrc.example
%_bindir/%name

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin