wok-6.x rev 21877

Add libsodium & python-pynacl
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 28 18:18:15 2019 +0200 (2019-09-28)
parents 4e8082a993f8
children c3a226b49377
files libsodium-dev/receipt libsodium/receipt paramiko/receipt python-bcrypt/receipt python-pynacl/receipt sshproxy/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libsodium-dev/receipt	Sat Sep 28 18:18:15 2019 +0200
     1.3 @@ -0,0 +1,21 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libsodium-dev"
     1.7 +VERSION="1.0.18"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Network communication, cryptography and signaturing library, development file"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="ISC"
    1.12 +WEB_SITE="https://www.libsodium.org/"
    1.13 +WANTED="libsodium"
    1.14 +
    1.15 +DEPENDS="libsodium pkg-config"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p $fs/usr/lib
    1.21 +	cp -a $install/usr/lib/*a $fs/usr/lib
    1.22 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.23 +	cp -a $install/usr/include $fs/usr
    1.24 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libsodium/receipt	Sat Sep 28 18:18:15 2019 +0200
     2.3 @@ -0,0 +1,27 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libsodium"
     2.7 +VERSION="1.0.18"
     2.8 +CATEGORY="security"
     2.9 +SHORT_DESC="Network communication, cryptography and signaturing library"
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="ISC"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WEB_SITE="https://www.libsodium.org/"
    2.14 +WGET_URL="https://download.libsodium.org/libsodium/releases/$TARBALL"
    2.15 +
    2.16 +# Rules to configure and make the package.
    2.17 +compile_rules()
    2.18 +{
    2.19 +	./configure --prefix=/usr \
    2.20 +		$CONFIGURE_ARGS &&
    2.21 +	make &&
    2.22 +	make DESTDIR=$DESTDIR install
    2.23 +}
    2.24 +
    2.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.26 +genpkg_rules()
    2.27 +{
    2.28 +	mkdir -p $fs/usr/lib
    2.29 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.30 +}
     3.1 --- a/paramiko/receipt	Sat Sep 28 16:58:29 2019 +0200
     3.2 +++ b/paramiko/receipt	Sat Sep 28 18:18:15 2019 +0200
     3.3 @@ -12,7 +12,7 @@
     3.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     3.5  WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION.tar.gz"
     3.6  
     3.7 -DEPENDS="python-cryptography python-pyasn1"
     3.8 +DEPENDS="python-cryptography python-pyasn1 python-bcrypt python-pynacl"
     3.9  BUILD_DEPENDS="python python-setuptools"
    3.10  
    3.11  # Rules to configure and make the package.
     4.1 --- a/python-bcrypt/receipt	Sat Sep 28 16:58:29 2019 +0200
     4.2 +++ b/python-bcrypt/receipt	Sat Sep 28 18:18:15 2019 +0200
     4.3 @@ -11,7 +11,7 @@
     4.4  WEB_SITE="https://github.com/pyca/bcrypt/"
     4.5  WGET_URL="https://github.com/pyca/bcrypt/archive/$VERSION.tar.gz"
     4.6  
     4.7 -DEPENDS="python"
     4.8 +DEPENDS="python-cffi"
     4.9  BUILD_DEPENDS="python-setuptools python-dev libffi-dev"
    4.10  
    4.11  # Rules to configure and make the package.
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/python-pynacl/receipt	Sat Sep 28 18:18:15 2019 +0200
     5.3 @@ -0,0 +1,29 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="python-pynacl"
     5.7 +SOURCE="pynacl"
     5.8 +VERSION="1.3.0"
     5.9 +CATEGORY="development"
    5.10 +SHORT_DESC="Python binding to the Networking and Cryptography (NaCl) library"
    5.11 +MAINTAINER="pascal.bellard@slitaz.org"
    5.12 +LICENSE="Apache"
    5.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    5.14 +WEB_SITE="https://github.com/pyca/pynacl/"
    5.15 +WGET_URL="https://github.com/pyca/pynacl/archive/$VERSION.tar.gz"
    5.16 +
    5.17 +DEPENDS="python"
    5.18 +BUILD_DEPENDS="python-setuptools python-dev libmagic libsodium-dev"
    5.19 +
    5.20 +# Rules to configure and make the package.
    5.21 +compile_rules()
    5.22 +{
    5.23 +	python setup.py build &&
    5.24 +	python setup.py install --root=$DESTDIR
    5.25 +}
    5.26 +
    5.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.28 +genpkg_rules()
    5.29 +{
    5.30 +	mkdir -p $fs
    5.31 +	cp -a $install/usr $fs
    5.32 +}
     6.1 --- a/sshproxy/receipt	Sat Sep 28 16:58:29 2019 +0200
     6.2 +++ b/sshproxy/receipt	Sat Sep 28 18:18:15 2019 +0200
     6.3 @@ -12,7 +12,7 @@
     6.4  TAGS="ssh"
     6.5  
     6.6  DEPENDS="python paramiko python-mysql pycrypto"
     6.7 -BUILD_DEPENDS="python-bcrypt paramiko python-mysql pycrypto"
     6.8 +BUILD_DEPENDS="paramiko python-mysql pycrypto"
     6.9  
    6.10  # Rules to configure and make the package.
    6.11  compile_rules()