mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-07 00:42:37 +01:00
41 lines
992 B
Bash
41 lines
992 B
Bash
# Copyright 2024 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/jbarham/primegen 8ce4838491a0"
|
|
"github.com/kavehmz/prime v1.0.0"
|
|
"github.com/sourcekris/goflint v1.0.0"
|
|
"github.com/sourcekris/gogmpecm 8a5f196d84bc"
|
|
"github.com/sourcekris/mathparse 232758c46ee7"
|
|
"github.com/sourcekris/x509big e8ea46e23d32"
|
|
)
|
|
|
|
EGIT_COMMIT="eb50c9aa5b68419b0cb2f319dfe321ce6a0963cb"
|
|
|
|
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}"
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
BDEPEND="
|
|
sci-mathematics/flint
|
|
sci-mathematics/gmp-ecm
|
|
"
|
|
RDEPEND="${BDEPEND}"
|
|
|
|
src_install() {
|
|
newbin goRsaTool gorsatool
|
|
dodoc src/github.com/sourcekris/goRsaTool/pastctfprimes.txt
|
|
}
|