Were can I find scap-workbench package for Ubuntu 20.04.1 LTS? It seems available for 18.04 but I can't find it for 20.04.
Asked
Active
Viewed 6,595 times
2 Answers
4
This worked for me on 20.04.1
Note: markh, the user that asked this question, had already solved this as shown in the comments. I've just formalised it into an answer for future visitors.
I downloaded a tarball from releases on the Github page: https://github.com/OpenSCAP/scap-workbench/releases but you could also choose to clone the Git repo.
I installed these packages, some were already present on my system but that's fine.
apt install build-essential cmake libopenscap-dev lxqt-openssh-askpass qtdeclarative5-dev libqt5xmlpatterns5 libqt5xmlpatterns5-dev
asciidoc is not required if you download the tarball but you should install it if you used the Git repo so that you have documentation generated
apt install asciidoc
Then follow the readme:
mkdir build ; cd build
cmake ../
make
For me, make finished with
[100%] Linking CXX executable scap-workbench
[100%] Built target scap-workbench
I can now run the workbench from the build directory with
./scap-workbench
NeverCast
- 41
- 3
2
You can build the Debian scap-workbench 1.2.1 package on Ubuntu 20.04.
apt install build-essential cmake libopenscap-dev qtdeclarative5-dev libqt5xmlpatterns5 libqt5xmlpatterns5-dev asciidoc debhelper devscripts quilt
mkdir build-scap-workbench
cd build-scap-workbench
wget http://ftp.debian.org/debian/pool/main/s/scap-workbench/scap-workbench_1.2.1-1.dsc
wget http://ftp.debian.org/debian/pool/main/s/scap-workbench/scap-workbench_1.2.1-1.debian.tar.xz
wget http://ftp.debian.org/debian/pool/main/s/scap-workbench/scap-workbench_1.2.1.orig.tar.bz2
dpkg-source -x scap-workbench_1.2.1-1.dsc
cd scap-workbench-1.2.1/
sensible-editor debian/control
At line 16 change this:
Build-Depends: debhelper-compat (= 13),
into this:
Build-Depends: debhelper-compat (= 12),
quilt pop debian/patches/0002-Fix-build-warning.patch
sensible-editor src/TailoringWindow.cpp
At line 648 change this:
mCollapsedItemIds = QSet<QString>(list.begin(), list.end());
into this:
mCollapsedItemIds = QSet<QString>::fromList(list);
quilt refresh
dch -i
Add a description and change UNRELEASED to focal
debuild -uc -us -I -i
cd ..
dpkg -i scap-workbench_1.2.1-1_amd64.deb
Knickers Brown
- 273