mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
app-crypt/intel-ipsec-mb: version bump to 1.2
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST intel-ipsec-mb-1.1.tar.gz 1227915 BLAKE2B 56d104c2bcebd4a8125d64362c14603b7005c8ef0978d4039da3128f06fbba7f469ac8df23e3315b9f3fe33c392804fd718a533edd34e4a545f767a1c2e2fd60 SHA512 aca5863d36b333c4c896549074242fb4c2c0a4d6598b27baa794944436527bdd6e1a5dbca9d39e0c3a89e61d7d175adcf5bf6c6cbdffd0a43bca1fea0be42ebe
|
||||
DIST intel-ipsec-mb-1.2.tar.gz 1251965 BLAKE2B f92172ea727f8c0a5beff6e8fe6bb1630b5e83ddffa7384b998ebb6dfe09fd2657203ab53358296ade0106240278f659c297c0897e2de364b434032a58f417b3 SHA512 dc566ea433f7c85109e833d1debb3c8dc3686b4c0562a00872dd9801ba3530bf87b7b382e167e7d5cec17c3b3535834cc5bdc78f349f501bdfe8920ee51532ac
|
||||
|
||||
54
app-crypt/intel-ipsec-mb/intel-ipsec-mb-1.2.ebuild
Normal file
54
app-crypt/intel-ipsec-mb/intel-ipsec-mb-1.2.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
# Copyright 2021-2022 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
|
||||
}
|
||||
Reference in New Issue
Block a user