wok rev 20636

Add ecryptfs-simple
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 09 13:01:27 2019 +0100 (2019-01-09)
parents 2c334466695f
children 5200337ae84e
files ecryptfs-simple/receipt ecryptfs-utils-dev/receipt ecryptfs-utils/receipt keyutils-dev/receipt keyutils/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ecryptfs-simple/receipt	Wed Jan 09 13:01:27 2019 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ecryptfs-simple"
     1.7 +VERSION="2017"
     1.8 +CATEGORY="security"
     1.9 +SHORT_DESC="A very simple utility for working with eCryptfs"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.13 +WEB_SITE="https://xyne.archlinux.ca/projects/ecryptfs-simple/"
    1.14 +WGET_URL="${WEB_SITE}src/$TARBALL"
    1.15 +TAGS="cryptography"
    1.16 +
    1.17 +DEPENDS="libgcrypt ecryptfs-utils util-linux-mount libgpg-error \
    1.18 +util-linux-blkid util-linux-uuid"
    1.19 +BUILD_DEPENDS="cmake libgcrypt-dev pkg-config \
    1.20 +ecryptfs-utils-dev util-linux-mount-dev keyutils-dev"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
    1.26 +	make &&
    1.27 +	make DESTDIR=$DESTDIR install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	cp -a $install/usr $fs
    1.34 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/ecryptfs-utils-dev/receipt	Wed Jan 09 13:01:27 2019 +0100
     2.3 @@ -0,0 +1,22 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="ecryptfs-utils-dev"
     2.7 +VERSION="111"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="POSIX-compliant enterprise cryptographic filesystem tools, development files"
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="https://launchpad.net/ecryptfs"
    2.13 +WANTED="ecryptfs-utils"
    2.14 +TAGS="cryptography"
    2.15 +
    2.16 +DEPENDS="ecryptfs-utils pkg-config"
    2.17 +
    2.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.19 +genpkg_rules()
    2.20 +{
    2.21 +	mkdir -p $fs/usr/lib
    2.22 +	cp -a $install/usr/lib/*a $fs/usr/lib
    2.23 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    2.24 +	cp -a $install/usr/include $fs/usr
    2.25 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/ecryptfs-utils/receipt	Wed Jan 09 13:01:27 2019 +0100
     3.3 @@ -0,0 +1,39 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="ecryptfs-utils"
     3.7 +VERSION="111"
     3.8 +CATEGORY="security"
     3.9 +SHORT_DESC="POSIX-compliant enterprise cryptographic filesystem tools"
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +LICENSE="GPL2"
    3.12 +TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
    3.13 +WEB_SITE="https://launchpad.net/ecryptfs"
    3.14 +WGET_URL="$WEB_SITE/trunk/$VERSION/+download/$TARBALL"
    3.15 +TAGS="cryptography"
    3.16 +
    3.17 +DEPENDS="keyutils nss python"
    3.18 +BUILD_DEPENDS="keyutils-dev nss-dev python-dev"
    3.19 +
    3.20 +# Rules to configure and make the package.
    3.21 +compile_rules()
    3.22 +{
    3.23 +	./configure --prefix=/usr \
    3.24 +		--mandir=/usr/share/man \
    3.25 +		--disable-pam \
    3.26 +		$CONFIGURE_ARGS &&
    3.27 +	make &&
    3.28 +	make DESTDIR=$DESTDIR install
    3.29 +}
    3.30 +
    3.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.32 +genpkg_rules()
    3.33 +{
    3.34 +	mkdir -p $fs/usr/share $fs/usr/lib
    3.35 +	cp -a $install/sbin $fs
    3.36 +	cp -a $install/usr/bin $fs/usr
    3.37 +	cp -a $install/usr/share/locale $fs/usr/share
    3.38 +	cp -a $install/usr/share/ecryptfs-utils $fs/usr/share
    3.39 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.40 +	cp -a $install/usr/lib/ecryptfs $fs/usr/lib
    3.41 +	cp -a $install/usr/lib/python2.7 $fs/usr/lib
    3.42 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/keyutils-dev/receipt	Wed Jan 09 13:01:27 2019 +0100
     4.3 @@ -0,0 +1,21 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="keyutils-dev"
     4.7 +VERSION="1.6"
     4.8 +CATEGORY="development"
     4.9 +SHORT_DESC="Control the key management system built into the Linux kernel, development files"
    4.10 +MAINTAINER="pascal.bellard@slitaz.org"
    4.11 +LICENSE="GPL2 LGPL2.1"
    4.12 +WEB_SITE="http://people.redhat.com/~dhowells/keyutils/"
    4.13 +WANTED="keyutils"
    4.14 +
    4.15 +BUILD_DEPENDS="keyutils pkg-config"
    4.16 +
    4.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.18 +genpkg_rules()
    4.19 +{
    4.20 +	mkdir -p $fs/usr $fs/lib
    4.21 +	cp -a $install/usr/include $fs/usr
    4.22 +	cp -a $install/lib/*.a $fs/lib
    4.23 +	cp -a $install/lib/pkgconfig $fs/lib
    4.24 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/keyutils/receipt	Wed Jan 09 13:01:27 2019 +0100
     5.3 @@ -0,0 +1,32 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="keyutils"
     5.7 +VERSION="1.6"
     5.8 +CATEGORY="security"
     5.9 +SHORT_DESC="Control the key management system built into the Linux kernel"
    5.10 +MAINTAINER="pascal.bellard@slitaz.org"
    5.11 +LICENSE="GPL2 LGPL2.1"
    5.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    5.13 +WEB_SITE="http://people.redhat.com/~dhowells/keyutils/"
    5.14 +WGET_URL="${WEB_SITE}$TARBALL"
    5.15 +CONFIG_FILES="/etc/request-key.conf /etc/request-key.d"
    5.16 +TAGS="cryptography"
    5.17 +
    5.18 +# Rules to configure and make the package.
    5.19 +compile_rules()
    5.20 +{
    5.21 +	sed -i 's|/etc/rpm /usr/lib/rpm|/dev/null|' Makefile
    5.22 +	make &&
    5.23 +	make DESTDIR=$DESTDIR install
    5.24 +}
    5.25 +
    5.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.27 +genpkg_rules()
    5.28 +{
    5.29 +	mkdir -p $fs/usr/share $fs/lib
    5.30 +	cp -a $install/usr/share/keyutils $fs/usr/share
    5.31 +	cp -a $install/etc $fs
    5.32 +	cp -a $install/bin $fs
    5.33 +	cp -a $install/sbin $fs
    5.34 +	cp -a $install/lib/*.so* $fs/lib
    5.35 +}