From 9e234232bf1ac1d139dde6da7c74f82a8b5b4f41 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 16 Apr 2019 20:12:54 +0200 Subject: Packages: define custom command for vyos-strongswan This is required to get a python3-vici package which is required by vyos-1x --- scripts/build-packages | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'scripts/build-packages') diff --git a/scripts/build-packages b/scripts/build-packages index e800b80a..07baa040 100755 --- a/scripts/build-packages +++ b/scripts/build-packages @@ -174,7 +174,6 @@ vyos_packages = ['vyatta-bash', 'vyos-1x', 'vyatta-iproute', 'vyatta-quagga', - 'vyos-strongswan', 'vyos-vmwaretools-scripts', 'vyos-netplug', 'vyos-xe-guest-utilities', @@ -204,6 +203,14 @@ pkg_special.append( add_package('ipaddrcheck', branch='master')) pkg_special.append( add_package('hvinfo', url='https://github.com/dmbaturin/hvinfo.git', branch='master') ) pkg_special.append( add_package('lldpd', url='https://github.com/vincentbernat/lldpd.git', branch='master', tag='1.0.3') ) +# VyOS strongswan ships additional python3-vici packages required by vyos-1x and this is not build by default +vyos_strongswan_build_cmd = "dpkg-buildpackage -b -us -uc -tc && " \ + "autoreconf -i && ./configure --enable-python-eggs && " \ + "cd src/libcharon/plugins/vici/python && make && " \ + "python3 setup.py --command-packages=stdeb.command bdist_deb && " \ + "mv ./deb_dist/*.deb " + repo_root + "/packages" +pkg_special.append( add_package('vyos-strongswan', custombuild_cmd=vyos_strongswan_build_cmd) ) + # # FreeRangeRouting (FRR) packages # -- cgit v1.2.3