Install this version:
emerge -a =app-crypt/intel-ipsec-mb-1.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-crypt/intel-ipsec-mb-1.1
Or alternatively:
emerge --autounmask-write -a =app-crypt/intel-ipsec-mb-1.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.1 | 7 | ~amd64 | 0 |
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="Multi-Buffer Crypto for IPSec from Intel"
HOMEPAGE="https://github.com/intel/intel-ipsec-mb"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/intel/intel-ipsec-mb.git"
else
SRC_URI="https://github.com/intel/intel-ipsec-mb/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="BSD"
SLOT="0"
IUSE="+safe-data +safe-lookup +safe-param test"
RESTRICT="!test? ( test )"
BDEPEND="
>=dev-lang/nasm-2.13.03
"
PATCHES=( "${FILESDIR}/intel-ipsec-mb-1.1_remove-werror-and-O3.patch" )
src_configure(){
tc-export CC LD AR
}
src_compile() {
local myconf=(
SAFE_DATA=$(usex safe-data y n)
SAFE_LOOKUP=$(usex safe-lookup y n)
SAFE_PARAM=$(usex safe-param y n)
)
emake "${myconf[@]}" EXTRA_CFLAGS="${CFLAGS}"
}
src_install() {
emake PREFIX="${ED}/usr" \
LIB_INSTALL_DIR="${ED}/usr/$(get_libdir)" \
MAN_DIR="${ED}/usr/share/man/man7" \
install
}
src_test() {
cd "${S}/test"
LD_LIBRARY_PATH=../lib ./ipsec_MB_testapp -v
LD_LIBRARY_PATH=../lib ./ipsec_xvalid_test -v
}
Manage flags for this package:
euse -i <flag> -p app-crypt/intel-ipsec-mb |
euse -E <flag> -p app-crypt/intel-ipsec-mb |
euse -D <flag> -p app-crypt/intel-ipsec-mb
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | intel-ipsec-mb-1.1.tar.gz | 1227915 bytes | https://github.com/intel/intel-ipsec-mb/archive/refs/tags/v1.1.tar.gz |