mirror of
https://github.com/Yubico/yubico-pam.git
synced 2024-11-29 09:24:22 +01:00
b708e6dcf1
Add support of Mysql/Mariadb for the yubikey_mapping Mise à jour sql complete, manque la documentation Final clean Add packages dependency actions: apt update Fix bool variable cause error build travis Fix job #2 Fix job #3 Fix #4 fix &null fix &null fix &null Fix line 257 %s test Apple integration test Apple integration Timeout Travis extend Timeout travis extend Fix klali comment Fix warning fix configure.ac fix configure.ac Update configure.ac Update util.c Update util.h Update util.c Update util.c Update util.c Update util.c Fix white space fix left column
35 lines
914 B
Bash
Executable File
35 lines
914 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -x
|
|
|
|
autoreconf -i
|
|
|
|
if [ "x$TRAVIS_OS_NAME" != "xosx" ]; then
|
|
sudo add-apt-repository -y ppa:yubico/stable
|
|
sudo apt-get update -qq || true
|
|
sudo apt-get install -qq -y --no-install-recommends libykclient-dev libpam0g-dev libyubikey-dev asciidoc docbook-xsl xsltproc libxml2-utils libmysqlclient-dev $EXTRA
|
|
else
|
|
brew update
|
|
brew install pkg-config
|
|
brew install libtool
|
|
brew install asciidoc
|
|
brew install docbook-xsl
|
|
brew install libyubikey
|
|
brew install ykclient
|
|
brew install ykpers
|
|
brew install mysql-connector-c #Mysql
|
|
cpanp install Net::LDAP::Server
|
|
|
|
# this is required so asciidoc can find the xml catalog
|
|
export XML_CATALOG_FILES=/usr/local/etc/xml/catalog
|
|
fi
|
|
|
|
set -e
|
|
|
|
./configure $CONFIGURE_ARGS $COVERAGE
|
|
make check check-doc-dist
|
|
if [ "x$COVERAGE" != "x" ]; then
|
|
gem install coveralls-lcov
|
|
coveralls-lcov coverage/app2.info
|
|
fi
|