Skip to content

Commit

Permalink
Fix tools
Browse files Browse the repository at this point in the history
  • Loading branch information
D3vil0p3r committed Jan 18, 2025
1 parent 58eb35c commit 5fbbe25
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions packages/pentesting/openscap/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,31 @@
# See COPYING for license details.

pkgname=openscap
pkgver=1.3.9.r137.g80daf96f4
pkgver=1.3.10.r41.geb6a13ac8
pkgrel=1
pkgdesc='Open Source Security Compliance Solution.'
arch=('x86_64')
groups=('athena' 'athena-automation' 'athena-defensive'
'athena-scanner')
url='https://www.open-scap.org/'
license=('GPL-2.0-or-later')
license=('LGPL-2.1-or-later')
depends=('acl' 'attr' 'bzip2' 'curl' 'dbus-glib' 'dbus' 'gconf' 'libcap-ng'
'libcap' 'libgcrypt' 'libldap' 'libutil-linux' 'libxml2' 'libxslt'
'openldap' 'pcre' 'pcre2' 'perl-xml-parser' 'perl-xml-xpath' 'perl'
'procps-ng' 'python' 'swig' 'xmlsec')
makedepends=('cmake' 'git')
makedepends=('doxygen' 'cmake' 'git')
source=("git+https://github.com/OpenSCAP/openscap/#branch=maint-${pkgver%.[0-9].r*}")
sha512sums=('SKIP')

pkgver() {
cd $pkgname

git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
( set -o pipefail
git describe --long --tags --abbrev=7 2>/dev/null |
sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "%s.%s" "$(git rev-list --count HEAD)" \
"$(git rev-parse --short=7 HEAD)"
)
}

build() {
Expand Down

0 comments on commit 5fbbe25

Please sign in to comment.