Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/i2pd/
Date: Fri, 30 Apr 2021 07:19:29
Message-Id: 1619767158.6979c5cf4ae346658471e80af4b4a379748887ba.juippis@gentoo
1 commit: 6979c5cf4ae346658471e80af4b4a379748887ba
2 Author: Alexey Korepanov <kaikaikai <AT> yandex <DOT> ru>
3 AuthorDate: Thu Apr 29 18:19:12 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 30 07:19:18 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6979c5cf
7
8 net-vpn/i2pd: remove old
9
10 Signed-off-by: Alexey Korepanov <kaikaikai <AT> yandex.ru>
11 Closes: https://github.com/gentoo/gentoo/pull/20450
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 net-vpn/i2pd/Manifest | 1 -
15 net-vpn/i2pd/i2pd-2.36.0.ebuild | 94 -----------------------------------------
16 2 files changed, 95 deletions(-)
17
18 diff --git a/net-vpn/i2pd/Manifest b/net-vpn/i2pd/Manifest
19 index 88e41383f75..4e4f997cbd0 100644
20 --- a/net-vpn/i2pd/Manifest
21 +++ b/net-vpn/i2pd/Manifest
22 @@ -1,2 +1 @@
23 -DIST i2pd-2.36.0.tar.gz 550451 BLAKE2B 28ed24121a241b63d929c225223ebfea994ce993d715393db89199da123050f51a7b056205ed5ef6dd570c3ea51e0c56aead156ec5ebaeea8aef6a23daca9937 SHA512 7a1dc13ea4adddc5777532d5d50a4e7d1a8f8466983d4fc8874a38779723e213da0e09c831998688227317602c7e23b4fee0035367150c5fe3f338c595e872ad
24 DIST i2pd-2.37.0.tar.gz 551885 BLAKE2B 478c4b3088760643a79b12fe963d8edb3f0f98b9f3422195ce493477b338e875fd5e28f45cd9d29c7f1e536732c22ed6cb4144f1400c8c3c3ec9db5697d558e1 SHA512 2cf785941b58563a575511ad2ef8b94ec20bfed10f1a4a06e82603f85c9b9586cf10740fcee0d962cd94bf6059c3950f68f2a0b96b55f1c6de23a7d49014d3e6
25
26 diff --git a/net-vpn/i2pd/i2pd-2.36.0.ebuild b/net-vpn/i2pd/i2pd-2.36.0.ebuild
27 deleted file mode 100644
28 index 0afeb4fffed..00000000000
29 --- a/net-vpn/i2pd/i2pd-2.36.0.ebuild
30 +++ /dev/null
31 @@ -1,94 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -inherit cmake toolchain-funcs systemd
38 -
39 -DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
40 -HOMEPAGE="https://github.com/PurpleI2P/i2pd"
41 -SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 -
43 -LICENSE="BSD"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
46 -IUSE="cpu_flags_x86_aes cpu_flags_x86_avx i2p-hardening libressl static +upnp"
47 -
48 -RDEPEND="
49 - acct-user/i2pd
50 - acct-group/i2pd
51 - !static? (
52 - dev-libs/boost:=[threads]
53 - !libressl? ( dev-libs/openssl:0=[-bindist] )
54 - libressl? ( dev-libs/libressl:0= )
55 - upnp? ( net-libs/miniupnpc:= )
56 - )"
57 -DEPEND="${RDEPEND}
58 - static? (
59 - dev-libs/boost:=[static-libs,threads]
60 - sys-libs/zlib[static-libs]
61 - !libressl? ( dev-libs/openssl:0=[static-libs] )
62 - libressl? ( dev-libs/libressl:0=[static-libs] )
63 - upnp? ( net-libs/miniupnpc:=[static-libs] )
64 - )"
65 -
66 -CMAKE_USE_DIR="${S}/build"
67 -
68 -DOCS=( README.md contrib/i2pd.conf contrib/tunnels.conf )
69 -
70 -PATCHES=(
71 - "${FILESDIR}/i2pd-2.25.0-lib-path.patch"
72 -)
73 -
74 -pkg_pretend() {
75 - if use i2p-hardening && ! tc-is-gcc; then
76 - die "i2p-hardening requires gcc"
77 - fi
78 -}
79 -
80 -src_configure() {
81 - mycmakeargs=(
82 - -DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
83 - -DWITH_HARDENING=$(usex i2p-hardening ON OFF)
84 - -DWITH_PCH=OFF
85 - -DWITH_STATIC=$(usex static ON OFF)
86 - -DWITH_UPNP=$(usex upnp ON OFF)
87 - -DWITH_LIBRARY=ON
88 - -DWITH_BINARY=ON
89 - )
90 - cmake_src_configure
91 -}
92 -
93 -src_install() {
94 - cmake_src_install
95 -
96 - # config
97 - insinto /etc/i2pd
98 - doins contrib/i2pd.conf
99 - doins contrib/tunnels.conf
100 -
101 - # working directory
102 - insinto /var/lib/i2pd
103 - doins -r contrib/certificates
104 -
105 - # add /var/lib/i2pd/certificates to CONFIG_PROTECT
106 - doenvd "${FILESDIR}/99i2pd"
107 -
108 - # openrc and systemd daemon routines
109 - newconfd "${FILESDIR}/i2pd-2.6.0-r3.confd" i2pd
110 - newinitd "${FILESDIR}/i2pd-2.6.0-r3.initd" i2pd
111 - systemd_newunit "${FILESDIR}/i2pd-2.6.0-r3.service" i2pd.service
112 -
113 - # logrotate
114 - insinto /etc/logrotate.d
115 - newins "${FILESDIR}/i2pd-2.6.0-r3.logrotate" i2pd
116 -}
117 -
118 -pkg_postinst() {
119 - if [[ -f ${EROOT}/etc/i2pd/subscriptions.txt ]]; then
120 - ewarn
121 - ewarn "Configuration of the subscriptions has been moved from"
122 - ewarn "subscriptions.txt to i2pd.conf. We recommend updating"
123 - ewarn "i2pd.conf accordingly and deleting subscriptions.txt."
124 - fi
125 -}