- name: package installs
run: |
sudo apt-get update
- sudo apt-get -yq install bison gettext keyutils ldap-utils libldap2-dev libkeyutils-dev python3 python3-paste python3-pyrad slapd tcsh python3-virtualenv virtualenv python3-kdcproxy gdb libtls-dev
+ sudo apt-get -yq install bison gettext keyutils ldap-utils libldap2-dev libkeyutils-dev python3 python3-paste python3-pyrad slapd tcsh python3-virtualenv virtualenv python3-kdcproxy gdb libtls-dev wget
- name: install cpanm and Test2::V0 for gost_engine testing
uses: perl-actions/install-with-cpanm@10d60f00b4073f484fc29d45bfbe2f776397ab3d # v1.7
with:
[submodule "pkcs11-provider"]
path = pkcs11-provider
url = https://github.com/latchset/pkcs11-provider.git
-[submodule "rpki-client-portable"]
- path = rpki-client-portable
- url = https://github.com/rpki-client/rpki-client-portable
plan skip_all => "No external tests in this configuration"
if disabled("external-tests");
-plan skip_all => "rpki-client-portable not available"
- if ! -f srctop_file("rpki-client-portable", "configure.ac");
plan tests => 1;
+$RPKI_VERSION = "9.5";
+$RPKI_SRC = "rpki-client-".$RPKI_VERSION;
+$RPKI_SUFFIX = ".tar.gz";
+$RPKI_TARBALL = $RPKI_SRC.$RPKI_SUFFIX;
+$RPKI_BASE_URL = "https://cdn.openbsd.org/pub/OpenBSD/rpki-client/";
+
$ENV{OPENSSL_MODULES} = abs_path(bldtop_dir("providers"));
$ENV{OPENSSL_CONF} = abs_path(srctop_file("test", "default-and-legacy.cnf"));
-$ENV{ AUTOCONF_VERSION} = 2.72;
-$ENV{ AUTOMAKE_VERSION} = 1.16;
+$ENV{RPKI_DOWNLOAD_URL} = $RPKI_BASE_URL.$RPKI_TARBALL;
+$ENV{RPKI_TARBALL} = $RPKI_TARBALL;
+$ENV{RPKI_SRC} = $RPKI_SRC;
ok(run(cmd([data_file("rpki-client-portable.sh")])), "running rpki-client tests");
LDFLAGS="-L`pwd`/$BLDTOP -Wl,-rpath,`pwd`/$BLDTOP"
CFLAGS="-I`pwd`/$BLDTOP/include -I`pwd`/$SRCTOP/include"
-cd $SRCTOP/rpki-client-portable
-
-./autogen.sh
+wget -O $RPKI_TARBALL $RPKI_DOWNLOAD_URL && tar xzf $RPKI_TARBALL
+cd $RPKI_SRC
./configure --with-openssl-cflags="$CFLAGS" --with-openssl-ldflags="$LDFLAGS" \
CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"