# HG changeset patch # User Pascal Bellard # Date 1569687495 -7200 # Node ID a9ec8a908c33443fb751946ba7949117961614db # Parent 4e8082a993f8a0f0b5dd477d26d06c4feeaa6b7c Add libsodium & python-pynacl diff -r 4e8082a993f8 -r a9ec8a908c33 libsodium-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libsodium-dev/receipt Sat Sep 28 18:18:15 2019 +0200 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="libsodium-dev" +VERSION="1.0.18" +CATEGORY="development" +SHORT_DESC="Network communication, cryptography and signaturing library, development file" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="ISC" +WEB_SITE="https://www.libsodium.org/" +WANTED="libsodium" + +DEPENDS="libsodium pkg-config" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include $fs/usr +} diff -r 4e8082a993f8 -r a9ec8a908c33 libsodium/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libsodium/receipt Sat Sep 28 18:18:15 2019 +0200 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="libsodium" +VERSION="1.0.18" +CATEGORY="security" +SHORT_DESC="Network communication, cryptography and signaturing library" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="ISC" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://www.libsodium.org/" +WGET_URL="https://download.libsodium.org/libsodium/releases/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure --prefix=/usr \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib +} diff -r 4e8082a993f8 -r a9ec8a908c33 paramiko/receipt --- a/paramiko/receipt Sat Sep 28 16:58:29 2019 +0200 +++ b/paramiko/receipt Sat Sep 28 18:18:15 2019 +0200 @@ -12,7 +12,7 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$VERSION.tar.gz" -DEPENDS="python-cryptography python-pyasn1" +DEPENDS="python-cryptography python-pyasn1 python-bcrypt python-pynacl" BUILD_DEPENDS="python python-setuptools" # Rules to configure and make the package. diff -r 4e8082a993f8 -r a9ec8a908c33 python-bcrypt/receipt --- a/python-bcrypt/receipt Sat Sep 28 16:58:29 2019 +0200 +++ b/python-bcrypt/receipt Sat Sep 28 18:18:15 2019 +0200 @@ -11,7 +11,7 @@ WEB_SITE="https://github.com/pyca/bcrypt/" WGET_URL="https://github.com/pyca/bcrypt/archive/$VERSION.tar.gz" -DEPENDS="python" +DEPENDS="python-cffi" BUILD_DEPENDS="python-setuptools python-dev libffi-dev" # Rules to configure and make the package. diff -r 4e8082a993f8 -r a9ec8a908c33 python-pynacl/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pynacl/receipt Sat Sep 28 18:18:15 2019 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="python-pynacl" +SOURCE="pynacl" +VERSION="1.3.0" +CATEGORY="development" +SHORT_DESC="Python binding to the Networking and Cryptography (NaCl) library" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="Apache" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="https://github.com/pyca/pynacl/" +WGET_URL="https://github.com/pyca/pynacl/archive/$VERSION.tar.gz" + +DEPENDS="python" +BUILD_DEPENDS="python-setuptools python-dev libmagic libsodium-dev" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py build && + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs + cp -a $install/usr $fs +} diff -r 4e8082a993f8 -r a9ec8a908c33 sshproxy/receipt --- a/sshproxy/receipt Sat Sep 28 16:58:29 2019 +0200 +++ b/sshproxy/receipt Sat Sep 28 18:18:15 2019 +0200 @@ -12,7 +12,7 @@ TAGS="ssh" DEPENDS="python paramiko python-mysql pycrypto" -BUILD_DEPENDS="python-bcrypt paramiko python-mysql pycrypto" +BUILD_DEPENDS="paramiko python-mysql pycrypto" # Rules to configure and make the package. compile_rules()