logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://anongit.hacktivis.me/git/overlay.git/
commit: 1de004ecdfeb2f031431cfc00af7310718c5861e
parent 909969b09d3f16c7d345195989f2ef1a50963e57
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 12 Sep 2025 01:04:35 +0200

app-crypt/usign: new package, add 0.2020.05.23, 9999

Diffstat:

Aapp-crypt/usign/Manifest1+
Aapp-crypt/usign/usign-0.2020.05.23.ebuild33+++++++++++++++++++++++++++++++++
Aapp-crypt/usign/usign-9999.ebuild33+++++++++++++++++++++++++++++++++
3 files changed, 67 insertions(+), 0 deletions(-)

diff --git a/app-crypt/usign/Manifest b/app-crypt/usign/Manifest @@ -0,0 +1 @@ +DIST usign-f1f65026a94137c91b5466b149ef3ea3f20091e9.tar.gz 18134 BLAKE2B 2d73570cf440333f487ff2a9e9784984d45e407e4dcbb00722114076408bc5b5c7ea135b469b25e82c2919cd5cd6b9f417f54356a83d44347228ebd6134fa194 SHA512 e24f54749ce81a36fc9fb33bf89a70dd51a54d33eac8723e6fb0dfecf7753cd5df7095527dfcf6b01d18546833d350a5a2179cce1b5c9ee6b39c2b1d63a95113 diff --git a/app-crypt/usign/usign-0.2020.05.23.ebuild b/app-crypt/usign/usign-0.2020.05.23.ebuild @@ -0,0 +1,33 @@ +# Copyright 2025 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Tiny signify replacement" +HOMEPAGE="https://git.openwrt.org/?p=project/usign.git" + +if [[ "${PV}" = *9999* ]] +then + inherit git-r3 + EGIT_REPO_URI="https://git.openwrt.org/?p=project/usign.git" +else + EGIT_COMMIT="f1f65026a94137c91b5466b149ef3ea3f20091e9" + # 403 Forbidden + #SRC_URI="https://git.openwrt.org/?p=project/usign.git;a=snapshot;h=${EGIT_COMMIT};sf=tgz -> ${PN}-${EGIT_COMMIT}.tar.gz" + SRC_URI="https://github.com/openwrt/usign/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${EGIT_COMMIT}.tar.gz" + S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + + KEYWORDS="~amd64 ~arm ~arm64" +fi + +LICENSE="public-domain ISC" +SLOT="0" +IUSE="" + +src_prepare() { + cmake_src_prepare + + sed -i -e '/ADD_DEFINITIONS/s;-O2;;' CMakeLists.txt || die "Failed removing -O2 flag" +} diff --git a/app-crypt/usign/usign-9999.ebuild b/app-crypt/usign/usign-9999.ebuild @@ -0,0 +1,33 @@ +# Copyright 2025 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Tiny signify replacement" +HOMEPAGE="https://git.openwrt.org/?p=project/usign.git" + +if [[ "${PV}" = *9999* ]] +then + inherit git-r3 + EGIT_REPO_URI="https://git.openwrt.org/?p=project/usign.git" +else + EGIT_COMMIT="f1f65026a94137c91b5466b149ef3ea3f20091e9" + # 403 Forbidden + #SRC_URI="https://git.openwrt.org/?p=project/usign.git;a=snapshot;h=${EGIT_COMMIT};sf=tgz -> ${PN}-${EGIT_COMMIT}.tar.gz" + SRC_URI="https://github.com/openwrt/usign/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${EGIT_COMMIT}.tar.gz" + S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + + KEYWORDS="~amd64 ~arm64 ~arm" +fi + +LICENSE="public-domain ISC" +SLOT="0" +IUSE="" + +src_prepare() { + cmake_src_prepare + + sed -i -e '/ADD_DEFINITIONS/s;-O2;;' CMakeLists.txt || die "Failed removing -O2 flag" +}