forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sec-keys/openpgp-keys-apache-tomcat: add 9.0.98
Signed-off-by: Volkmar W. Pogatzki <[email protected]> Closes: gentoo@00d9064 Signed-off-by: Miroslav Šulc <[email protected]>
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
sec-keys/openpgp-keys-apache-tomcat/openpgp-keys-apache-tomcat-9.0.98.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Copyright 1999-2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
DESCRIPTION="OpenPGP keys used by tomcat.apache.org" | ||
HOMEPAGE="https://tomcat.apache.org/download-90.cgi" | ||
SRC_URI="https://downloads.apache.org/tomcat/tomcat-$(ver_cut 1)/v${PV}/KEYS -> ${P}-KEYS.asc" | ||
S="${WORKDIR}" | ||
|
||
LICENSE="public-domain" | ||
SLOT="${PV}" | ||
KEYWORDS="amd64 ~arm arm64 ppc64 x86" | ||
|
||
src_install() { | ||
local files=( ${A} ) | ||
insinto /usr/share/openpgp-keys | ||
newins - tomcat-${PV}.apache.org.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die) | ||
} |