From 2179b0bd278f30b2e99890d8e491b12d4479e86c Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Sun, 30 Jun 2024 07:37:24 +0500 Subject: app-admin/i2pd-tools: add 2024.05.08, drop 0.2023.05.26 Signed-off-by: Anna (cybertailor) Vyalkova --- app-admin/i2pd-tools/Manifest | 3 +- .../i2pd-tools/i2pd-tools-0.2023.05.26.ebuild | 56 ------------------ app-admin/i2pd-tools/i2pd-tools-2024.05.08.ebuild | 66 ++++++++++++++++++++++ 3 files changed, 68 insertions(+), 57 deletions(-) delete mode 100644 app-admin/i2pd-tools/i2pd-tools-0.2023.05.26.ebuild create mode 100644 app-admin/i2pd-tools/i2pd-tools-2024.05.08.ebuild (limited to 'app-admin/i2pd-tools') diff --git a/app-admin/i2pd-tools/Manifest b/app-admin/i2pd-tools/Manifest index 8e3d4e6d8..170b9c09e 100644 --- a/app-admin/i2pd-tools/Manifest +++ b/app-admin/i2pd-tools/Manifest @@ -1,3 +1,4 @@ DIST i2pd-a6bd827.tar.gz 650322 BLAKE2B 74a9c686f0468c10b09d54d02445ced9df79bf152b7953cf999b2914fcf61ea38b189524692af7318a1c064a31ab3a888d4cf8a0c01734f6225c4705717cd280 SHA512 008d59c5b7edae2664dcd0bef712572f51f7520de5f5f25da69cba2b81278d3b9ee8a323cabd1c96bc73d28234085e12247f5d2e796e00bb7a4a322b42278367 -DIST i2pd-tools-0.2023.05.26.tar.gz 19457 BLAKE2B a1c9f4edd812affafd16cc9dda70b6165d095207c00c3dc19d692cbea38d64795be5f8d6ebaba89360788ce931860a56f250e03edbe3df6fb0f0e5b83c86db89 SHA512 491e704936e67c7baa1395c77fbc0b5746855ba99ed3fa16731ea8f6a570157c5a7b53eb7bb46efec691d0583dafca75bd42903495c2c0776625a7dbd6f38651 +DIST i2pd-c98926a.tar.gz 673645 BLAKE2B 3197b78573e2b1f8b6592e804f6342ffc84c625fa3f9aafbe610e81c13a5e8c84c33f225c45ecb653be45c3c727057ce2fccad1c04347b41de36717fb67de934 SHA512 ba12fda3124bcf1e1bdc3e1594c065241b80cb61a532352c2f9632cc3f309e3d957013adf4fc0a16f97624503a7a02b958d128833747b083777629fdc89cb5f4 DIST i2pd-tools-2023.09.06.tar.gz 22556 BLAKE2B a3c93c8f7e7f359099c3f730587d38870e44bf4dd0314df7be146e2423cf099691871702064c7b77d8f0e8d588ac991390cdad03be6ee72afb2304639e53cee4 SHA512 366ad92232889550ef3a4463b967d2959823cd8b423185b38b294b3d8d1790adcb821c609dde86bc0cda4b6ec86c20340a1496c57577599e699621545d247427 +DIST i2pd-tools-2024.05.08.tar.gz 22594 BLAKE2B af3abcb44e437c8a84da3be3cfbc830e12b3f141fea34b4fa644bf01c9a0cc6dda9ac4049a6d68ec26e63e611871ca070310e70a8732fdab00aada9b9e604cb1 SHA512 a5073c9dac1addc0e91d6fa7601b7f140c9ff084bdad2e5bf29448afc918a50441c5326bd5e616e8cf0323251a3bb7ba1ffd13e4fbdac2ecb3a02b021359cb07 diff --git a/app-admin/i2pd-tools/i2pd-tools-0.2023.05.26.ebuild b/app-admin/i2pd-tools/i2pd-tools-0.2023.05.26.ebuild deleted file mode 100644 index 21523c026..000000000 --- a/app-admin/i2pd-tools/i2pd-tools-0.2023.05.26.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -COMMIT="40d335a4279aec7f227209831d79a4d8304111a2" -I2PD_COMMIT="a6bd8275ca496c75c84d7eb890c0071569d28f55" # keep in sync with bundled version -DESCRIPTION="Some useful tools for I2P" -HOMEPAGE="https://github.com/PurpleI2P/i2pd-tools" -SRC_URI=" - https://github.com/PurpleI2P/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz - https://github.com/PurpleI2P/i2pd/archive/${I2PD_COMMIT}.tar.gz -> i2pd-${I2PD_COMMIT:0:7}.tar.gz -" -S="${WORKDIR}/${PN}-${COMMIT}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - dev-libs/boost:= - dev-libs/openssl:= - sys-libs/zlib:= -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-0.2023.03.12-nodebug.patch - "${FILESDIR}"/${PN}-0.2023.03.12-flags.patch -) - -src_unpack() { - default - - rmdir "${S}/i2pd" || die - mv "${WORKDIR}"/i2pd-${I2PD_COMMIT} "${S}"/i2pd || die -} - -src_configure() { - tc-export CXX -} - -src_install() { - local -a binaries - - # extracted from Makefile - binaries=( - keygen keyinfo famtool routerinfo regaddr regaddr_3ld vain - i2pbase64 offlinekeys b33address regaddralias x25519 verifyhost - ) - dobin "${binaries[@]}" - - einstalldocs -} diff --git a/app-admin/i2pd-tools/i2pd-tools-2024.05.08.ebuild b/app-admin/i2pd-tools/i2pd-tools-2024.05.08.ebuild new file mode 100644 index 000000000..68d443701 --- /dev/null +++ b/app-admin/i2pd-tools/i2pd-tools-2024.05.08.ebuild @@ -0,0 +1,66 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +COMMIT="d7a079ad644be3e55d2f7c5074a732166ffec19f" +I2PD_COMMIT="c98926abf2dcd3cbe2cbbfc00a9e9159240c3df9" # keep in sync with bundled version +DESCRIPTION="Some useful tools for I2P" +HOMEPAGE="https://github.com/PurpleI2P/i2pd-tools" +SRC_URI=" + https://github.com/PurpleI2P/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz + https://github.com/PurpleI2P/i2pd/archive/${I2PD_COMMIT}.tar.gz -> i2pd-${I2PD_COMMIT:0:7}.tar.gz +" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="cpu_flags_x86_aes" + +DEPEND=" + dev-libs/boost:= + dev-libs/openssl:= + sys-libs/zlib:= +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-0.2023.03.12-nodebug.patch +) + +src_unpack() { + default + + rmdir "${S}/i2pd" || die + mv "${WORKDIR}"/i2pd-${I2PD_COMMIT} "${S}"/i2pd || die +} + +src_configure() { + tc-export AR CXX +} + +src_compile() { + mymakeflags=( + CXXFLAGS="${CXXFLAGS}" + LDFLAGS="${LDFLAGS}" + USE_AESNI="$(usex cpu_flags_x86_aes)" + ) + + emake "${mymakeflags[@]}" +} + +src_install() { + local -a binaries + + # extracted from Makefile + binaries=( + vain keygen keyinfo famtool routerinfo regaddr regaddr_3ld + i2pbase64 offlinekeys b33address regaddralias x25519 verifyhost + ) + dobin "${binaries[@]}" + + einstalldocs +} -- cgit v1.2.3-65-gdbad