mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 20:22:38 +01:00
41 lines
1.2 KiB
Bash
41 lines
1.2 KiB
Bash
# Copyright 2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
EGO_PN="github.com/sourcekris/goRsaTool"
|
|
|
|
EGO_VENDOR=(
|
|
"github.com/sourcekris/goflint f9662cf830a9a609de85397ca58995bc9c43b24a"
|
|
"github.com/sourcekris/gogmpecm c6536ae30853abdc238aed082ffd5b723cb66b84"
|
|
"github.com/sourcekris/mathparse dc40b3863ac840b889536fda2eac0244d7794a24"
|
|
"github.com/sourcekris/x509big 321a26314a1d6bc4edf904a477d39293795fb72a"
|
|
"github.com/jbarham/primegen 8ce4838491a027d937a87fd521b3b11aabaeb568"
|
|
"github.com/kavehmz/prime a94ad56341db886ae3346de1e6b341387c3c01d3"
|
|
)
|
|
|
|
EGIT_COMMIT="f8844041768feecb9d54cfad86cda1f72ae9f2e0"
|
|
|
|
inherit golang-build golang-vcs-snapshot
|
|
|
|
DESCRIPTION="goRsaTool is an RSA tool for CTF challenges"
|
|
HOMEPAGE="https://github.com/sourcekris/goRsaTool"
|
|
|
|
SRC_URI="https://github.com/sourcekris/goRsaTool/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
|
|
${EGO_VENDOR_URI}"
|
|
|
|
KEYWORDS="amd64 x86"
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
|
|
DEPEND=""
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND="sci-mathematics/gmp-ecm
|
|
sci-mathematics/flint:0/14"
|
|
|
|
src_install() {
|
|
newbin goRsaTool gorsatool
|
|
dodoc src/github.com/sourcekris/goRsaTool/pastctfprimes.txt
|
|
}
|