wok annotate audit/receipt @ rev 24911

updated mlvpn (2.3.4 -> 2.3.5)
author Hans-G?nter Theisgen
date Sat Apr 09 15:36:09 2022 +0100 (2022-04-09)
parents 8f20ceb4532c
children
rev   line source
pascal@12907 1 # SliTaz package receipt.
pascal@12907 2
pascal@12907 3 PACKAGE="audit"
Hans-G?nter@22520 4 VERSION="2.8.5"
pascal@12907 5 CATEGORY="misc"
pascal@12907 6 SHORT_DESC="System call auditing."
pascal@12907 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
Hans-G?nter@22520 9 WEB_SITE="https://people.redhat.com/sgrubb/audit/"
Hans-G?nter@20727 10
pascal@12907 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@12907 12 WGET_URL="${WEB_SITE}$TARBALL"
pascal@12907 13
pascal@12907 14 DEPENDS=""
pascal@12907 15 BUILD_DEPENDS="openldap-dev"
pascal@12907 16
pascal@24373 17 # What is the latest version available today?
pascal@24373 18 current_version()
pascal@24373 19 {
pascal@24373 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24373 21 sed '/audit-/!d;s|.*audit-||;s|.tar.*||;q'
pascal@24373 22 }
pascal@24373 23
pascal@12907 24 # Rules to configure and make the package.
pascal@12907 25 compile_rules()
pascal@12907 26 {
Hans-G?nter@22520 27 ./configure \
Hans-G?nter@22520 28 --prefix=/usr \
Hans-G?nter@22520 29 --sysconfdir=/etc \
Hans-G?nter@22520 30 --mandir=/usr/share/man \
Hans-G?nter@22520 31 --localstatedir=/var \
Hans-G?nter@22520 32 --sbindir=/sbin \
Hans-G?nter@22520 33 --with-libcap-ng=no \
Hans-G?nter@22520 34 --without-python \
Hans-G?nter@22520 35 $CONFIGURE_ARGS &&
pascal@12907 36 make &&
pascal@12907 37 make DESTDIR=$DESTDIR install
pascal@12907 38 }
pascal@12907 39
al@19269 40 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19269 41 genpkg_rules()
pascal@12907 42 {
pascal@12907 43 mkdir -p $fs/usr/lib
Hans-G?nter@22520 44
Hans-G?nter@22520 45 cp -a $install/sbin $fs/
Hans-G?nter@22520 46 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22520 47 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22520 48 cp -a $install/etc $fs/
Hans-G?nter@22520 49 chown -R root.root $fs/etc
pascal@12907 50 }