Skip to content

Instantly share code, notes, and snippets.

@captn3m0
Created May 7, 2023 10:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save captn3m0/947ae1de15bed90050b86dddc86d505b to your computer and use it in GitHub Desktop.
Save captn3m0/947ae1de15bed90050b86dddc86d505b to your computer and use it in GitHub Desktop.
openscap-1.3.7 clean install
diff --git a/PKGBUILD b/PKGBUILD
index 2786452..150320b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
# Maintainer: Quey-Liang Kao <s101062801@m101.nthu.edu.tw>
pkgname=openscap
-pkgver=1.3.6
+pkgver=1.3.7
pkgrel=1
pkgdesc="Open Source Security Compliance Solution"
@@ -13,24 +13,20 @@ arch=('x86_64')
url="https://www.open-scap.org/"
license=('GPL')
-# The official site suggested the dependencies in terms of Fedora's rpm.
-# Some of the corresponding packages in Arch remain unclear, which are listed
-# here for now.
-# packege missing: libselinux-devel
depends=('swig' 'python' 'acl' 'libcap' 'curl' 'libgcrypt' 'libxml2' 'libxslt'
- 'libldap' 'pcre' 'bzip2' 'procps-ng' 'gconf' 'perl' 'perl-xml-parser'
+ 'libldap' 'pcre' 'bzip2' 'procps-ng' 'perl' 'perl-xml-parser'
'perl-xml-xpath' 'xmlsec')
-optdepends=()
+optdepends=('libselinux')
makedepends=('doxygen' 'cmake')
source=("https://github.com/OpenSCAP/openscap/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('5e4d6c4addc15b2a0245b5caef80fda3020f1cac83ed4aa436ef3f1703d1d761060c931c2536fa68de7ad5bab002b79c8b2d1e5f7695d46249f4562f5a1569a0')
+sha512sums=('64dcceadbbb5b6045d2ebaca89287c80c26e05d7247fc0dd31cd9bff98398c7a26d6ed0e9191dcd2fd01f0711181f15d34fe9784bd043ccd0854baa17397cd88')
build() {
cd "$pkgname-$pkgver"
mkdir -p build
cd build
- cmake ../
+ cmake --install-prefix=/usr ../
make
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment