Skip to content

Commit

Permalink
net-vpn/i2pd: fix dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony G. Basile <[email protected]>
  • Loading branch information
khumarahn authored and blueness committed Oct 10, 2017
1 parent 2e7a33f commit 6713a76
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 11 deletions.
14 changes: 10 additions & 4 deletions net-vpn/i2pd/i2pd-2.13.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,24 @@ SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
IUSE="cpu_flags_x86_aes i2p-hardening libressl static +upnp websocket"

# if using libressl, require >=boost-1.65, see #597798
RDEPEND="!static? ( dev-libs/boost[threads]
!libressl? ( dev-libs/openssl:0[-bindist] )
libressl? ( dev-libs/libressl >=dev-libs/boost-1.65 )
libressl? ( dev-libs/libressl:0
>=dev-libs/boost-1.65 )
sys-libs/zlib
upnp? ( net-libs/miniupnpc )
)"
DEPEND="${RDEPEND}
static? ( dev-libs/boost[static-libs,threads]
!libressl? ( dev-libs/openssl:0[static-libs] )
libressl? ( dev-libs/libressl[static-libs] >=dev-libs/boost-1.65 )
libressl? ( dev-libs/libressl:0[static-libs]
>=dev-libs/boost-1.65 )
sys-libs/zlib[static-libs]
upnp? ( net-libs/miniupnpc[static-libs] ) )
websocket? ( dev-cpp/websocketpp )
i2p-hardening? ( >=sys-devel/gcc-4.7 )
|| ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"

Expand All @@ -39,9 +44,10 @@ src_configure() {
mycmakeargs=(
-DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
-DWITH_HARDENING=$(usex i2p-hardening ON OFF)
-DWITH_PCH=$(usex pch ON OFF)
-DWITH_PCH=OFF
-DWITH_STATIC=$(usex static ON OFF)
-DWITH_UPNP=$(usex upnp ON OFF)
-DWITH_WEBSOCKETS=$(usex websocket ON OFF)
-DWITH_LIBRARY=ON
-DWITH_BINARY=ON
)
Expand Down
14 changes: 10 additions & 4 deletions net-vpn/i2pd/i2pd-2.14.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,24 @@ SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="cpu_flags_x86_aes i2p-hardening libressl pch static +upnp"
IUSE="cpu_flags_x86_aes i2p-hardening libressl static +upnp websocket"

# if using libressl, require >=boost-1.65, see #597798
RDEPEND="!static? ( dev-libs/boost[threads]
!libressl? ( dev-libs/openssl:0[-bindist] )
libressl? ( dev-libs/libressl >=dev-libs/boost-1.65 )
libressl? ( dev-libs/libressl:0
>=dev-libs/boost-1.65 )
sys-libs/zlib
upnp? ( net-libs/miniupnpc )
)"
DEPEND="${RDEPEND}
static? ( dev-libs/boost[static-libs,threads]
!libressl? ( dev-libs/openssl:0[static-libs] )
libressl? ( dev-libs/libressl[static-libs] >=dev-libs/boost-1.65 )
libressl? ( dev-libs/libressl:0[static-libs]
>=dev-libs/boost-1.65 )
sys-libs/zlib[static-libs]
upnp? ( net-libs/miniupnpc[static-libs] ) )
websocket? ( dev-cpp/websocketpp )
i2p-hardening? ( >=sys-devel/gcc-4.7 )
|| ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"

Expand All @@ -39,9 +44,10 @@ src_configure() {
mycmakeargs=(
-DWITH_AESNI=$(usex cpu_flags_x86_aes ON OFF)
-DWITH_HARDENING=$(usex i2p-hardening ON OFF)
-DWITH_PCH=$(usex pch ON OFF)
-DWITH_PCH=OFF
-DWITH_STATIC=$(usex static ON OFF)
-DWITH_UPNP=$(usex upnp ON OFF)
-DWITH_WEBSOCKETS=$(usex websocket ON OFF)
-DWITH_LIBRARY=ON
-DWITH_BINARY=ON
)
Expand Down
10 changes: 7 additions & 3 deletions net-vpn/i2pd/i2pd-2.15.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,19 @@ IUSE="cpu_flags_x86_aes i2p-hardening libressl static +upnp websocket"
# if using libressl, require >=boost-1.65, see #597798
RDEPEND="!static? ( dev-libs/boost[threads]
!libressl? ( dev-libs/openssl:0[-bindist] )
libressl? ( dev-libs/libressl >=dev-libs/boost-1.65 )
libressl? ( dev-libs/libressl:0
>=dev-libs/boost-1.65 )
sys-libs/zlib
upnp? ( net-libs/miniupnpc )
websocket? ( dev-cpp/websocketpp )
)"
DEPEND="${RDEPEND}
static? ( dev-libs/boost[static-libs,threads]
!libressl? ( dev-libs/openssl:0[static-libs] )
libressl? ( dev-libs/libressl[static-libs] >=dev-libs/boost-1.65 )
libressl? ( dev-libs/libressl:0[static-libs]
>=dev-libs/boost-1.65 )
sys-libs/zlib[static-libs]
upnp? ( net-libs/miniupnpc[static-libs] ) )
websocket? ( dev-cpp/websocketpp )
i2p-hardening? ( >=sys-devel/gcc-4.7 )
|| ( >=sys-devel/gcc-4.7 >=sys-devel/clang-3.3 )"

Expand Down

0 comments on commit 6713a76

Please sign in to comment.