wok-current view keyutils/receipt @ rev 24701

updated keyutils and keyutils-dev (1.6.1 -> 1.6.3)
author Hans-G?nter Theisgen
date Mon Mar 14 07:58:24 2022 +0100 (2022-03-14)
parents 3e9a9990c985
children a4f828dcc860
line source
1 # SliTaz package receipt.
3 PACKAGE="keyutils"
4 VERSION="1.6.3"
5 CATEGORY="security"
6 TAGS="cryptography"
7 SHORT_DESC="Control the key management system built into the Linux kernel."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2 LGPL2.1"
10 WEB_SITE="https://people.redhat.com/~dhowells/keyutils/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/$PACKAGE.git/snapshot/$TARBALL"
15 BUILD_DEPENDS="file"
17 CONFIG_FILES="/etc/request-key.conf /etc/request-key.d"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's|/etc/rpm /usr/lib/rpm|/dev/null|' \
29 Makefile
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
39 mkdir -p $fs/lib
41 cp -a $install/usr/share/keyutils $fs/usr/share
42 cp -a $install/etc $fs
43 cp -a $install/bin $fs
44 cp -a $install/sbin $fs
45 cp -a $install/lib/*.so* $fs/lib
46 }