commit:     1381fb7fefff16fa03142b345b956144523ba8f2
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  9 18:05:35 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Dec  9 18:11:08 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1381fb7f

app-forensics/radamsa: bump up to 0.6, new home

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 app-forensics/radamsa/Manifest           |  2 ++
 app-forensics/radamsa/radamsa-0.6.ebuild | 40 ++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/app-forensics/radamsa/Manifest b/app-forensics/radamsa/Manifest
index f224c42093d..ee2e66db74d 100644
--- a/app-forensics/radamsa/Manifest
+++ b/app-forensics/radamsa/Manifest
@@ -1 +1,3 @@
 DIST radamsa-0.5.tar.gz 168177 BLAKE2B 
4d7d9fc54dd171d8af589ec51be00ed65dec3f33a7437f385910f3e1d9455dc9b3f618755a9809f230a6d66410da6a656586118af2e83271eacc7c035773c0be
 SHA512 
d48f61ea7c0703d7fdf68ab32894e93d774e8f2893642a81046b8210d7d433f4be8930d7d79317ddb0882cf54b06505c541827b925f30b861ae8205e300fed80
+DIST radamsa-0.6.c.gz 142359 BLAKE2B 
e9cfda273ca78e97d7e8a94f0399c2c8d7b543c578a7b6745a03c9a2a18aa965a13ead55e15aab27c5386bb4d4ab961cedfbdca72c72013dc1ace0931c237199
 SHA512 
b9f0b8801063821ebd435464057aa119c5eae2dec8c39b5ec295854832e25dd8b102d6beec2084a71c380dd0e1419fbce6ee2acc1064c8a4491ad32ff94673f9
+DIST radamsa-0.6.tar.gz 51962 BLAKE2B 
c909b917e55ea2d69f4bec22981afb73dabc0d380d6942167f805ecfd96c3f3d724a5e6d80acf4b2abe2ddf9141dd596a9c0b2e22db98e6c441236c49a06502d
 SHA512 
6808a7f9a42c1a38bfa18ca8613067f4550a5960500e7438011ff26a37a663707a92597f869678600a7bd20df9d2bda19d3c80b07cd12fc49bad3b123739bae7

diff --git a/app-forensics/radamsa/radamsa-0.6.ebuild 
b/app-forensics/radamsa/radamsa-0.6.ebuild
new file mode 100644
index 00000000000..8ba7a7775a3
--- /dev/null
+++ b/app-forensics/radamsa/radamsa-0.6.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs vcs-snapshot
+
+DESCRIPTION="A general purpose fuzzer"
+HOMEPAGE="https://gitlab.com/akihe/radamsa";
+SRC_URI="
+       https://gitlab.com/akihe/radamsa/-/archive/v${PV}/${P}.tar.gz
+       
https://gitlab.com/akihe/radamsa/uploads/a2228910d0d3c68d19c09cee3943d7e5/${P}.c.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RESTRICT=test # needs an owl-lisp
+
+DOCS=( LICENCE NEWS README.md )
+
+src_prepare() {
+       default
+
+       cp ../${P}.c ./radamsa.c || die
+}
+
+src_compile() {
+       emake bin/radamsa CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+       dobin bin/radamsa
+       # avoid man compression by build system
+       doman doc/radamsa.1
+
+       einstalldocs
+}

Reply via email to