diff options
Diffstat (limited to 'net-misc/obligator')
-rw-r--r-- | net-misc/obligator/Manifest | 2 | ||||
-rw-r--r-- | net-misc/obligator/obligator-0.3.0_p20240910.ebuild | 30 |
2 files changed, 32 insertions, 0 deletions
diff --git a/net-misc/obligator/Manifest b/net-misc/obligator/Manifest new file mode 100644 index 0000000..a8b3ac3 --- /dev/null +++ b/net-misc/obligator/Manifest @@ -0,0 +1,2 @@ +DIST obligator-0.3.0_p20240910-vendor.tar.xz 2638088 BLAKE2B b909e0a0cc642d0a1021889b5ef8d437a7d0820cda42f233bb3905363d0b1c9cdb754df0bdec5bcce0aacdfe2213fcaf72f38ec9540b83abc45475d6069d4dc4 SHA512 0864d0909e82474955bfbd251bdb894c7c718cedfc5f745e0b8ffb62ad7ed8c2d34c37878fa1c98eb0377956b861ec56864d30257264037a92b8af2d0831130b +DIST obligator-0.3.0_p20240910.tar.gz 52468 BLAKE2B 7de240b0893f60e947ced4a1eed528239468cdcc2760e5dfc6447958f631de81cdcdaeb190371a0b5473d4c6031a4a1af84a9ac687977af8042fb815b7433182 SHA512 36ff291db9ec1a242a64a16c804e503959814e788bd78e6290b3d53b9905ce94949e7f7e78c5d83398e2483c5bc29e328edfb6ca72520dc2275fb40ee840f729 diff --git a/net-misc/obligator/obligator-0.3.0_p20240910.ebuild b/net-misc/obligator/obligator-0.3.0_p20240910.ebuild new file mode 100644 index 0000000..d7bf8bc --- /dev/null +++ b/net-misc/obligator/obligator-0.3.0_p20240910.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="Simple and opinionated OpenID Connect server designed for self-hosters" +HOMEPAGE="https://github.com/lastlogin-net/obligator" +BDEPEND=">=dev-lang/go-1.20" +COMMIT="54bc6d226904adbbda6a2666a4b635a65e79c01f" +SRC_URI="https://github.com/lastlogin-net/obligator/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://share.terinstock.com/${P}-vendor.tar.xz" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="MIT" +LICENSE+=" BSD" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + ego build ./cmd/obligator/ +} + +src_test() { + ego test ./... +} + +src_install() { + dobin obligator +} |