mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
Yubico PAM: new recipe (#1230)
This commit is contained in:
72
sys-auth/pam_yubico/pam_yubico-2.24.recipe
Normal file
72
sys-auth/pam_yubico/pam_yubico-2.24.recipe
Normal file
@@ -0,0 +1,72 @@
|
||||
SUMMARY="Yubico Pluggable Authentication Module (PAM)"
|
||||
DESCRIPTION="The Yubico PAM module provides an easy way to integrate the \
|
||||
Yubikey into your existing user authentication infrastructure."
|
||||
HOMEPAGE="https://developers.yubico.com/yubico-pam/"
|
||||
COPYRIGHT="2008-2016 Yubico AB"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://developers.yubico.com/yubico-pam/Releases/pam_yubico-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="0326ff676e2b32ed1dda7fb5f1358a22d629d71caad8f8db52138bbf3e95e82d"
|
||||
SOURCE_DIR="pam_yubico-$portVersion"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
pam_yubico$secondaryArchSuffix = $portVersion
|
||||
cmd:ykpamcfg$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcurl$secondaryArchSuffix
|
||||
lib:libldap$secondaryArchSuffix
|
||||
lib:libpam$secondaryArchSuffix
|
||||
lib:libykclient$secondaryArchSuffix
|
||||
lib:libykpers_1$secondaryArchSuffix
|
||||
lib:libyubikey$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
devel:libldap$secondaryArchSuffix
|
||||
devel:libpam$secondaryArchSuffix
|
||||
devel:libykclient$secondaryArchSuffix
|
||||
devel:libykpers_1$secondaryArchSuffix
|
||||
devel:libyubikey$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:asciidoc
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:help2man
|
||||
cmd:grep
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:sed
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/security/pam_yubico.la
|
||||
|
||||
if [ -n "$secondaryArchSuffix" ]; then
|
||||
rm -rf $manDir
|
||||
fi
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user