wok-current rev 17068
Add tcpcrypt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 22 16:10:45 2014 +0200 (2014-08-22) |
parents | 6ac830804b1f |
children | d6187dea9deb |
files | libnetfilter_queue-dev/receipt tcpcrypt-dev/receipt tcpcrypt/receipt |
line diff
1.1 --- a/libnetfilter_queue-dev/receipt Fri Aug 22 14:44:50 2014 +0200 1.2 +++ b/libnetfilter_queue-dev/receipt Fri Aug 22 16:10:45 2014 +0200 1.3 @@ -9,7 +9,7 @@ 1.4 WEB_SITE="http://www.netfilter.org/projects/libnetfilter_queue/" 1.5 WANTED="libnetfilter_queue" 1.6 1.7 -DEPENDS="pkg-config" 1.8 +DEPENDS="pkg-config libnfnetlink-dev" 1.9 1.10 # Rules to gen a SliTaz package suitable for Tazpkg. 1.11 genpkg_rules()
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/tcpcrypt-dev/receipt Fri Aug 22 16:10:45 2014 +0200 2.3 @@ -0,0 +1,20 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="tcpcrypt-dev" 2.7 +VERSION="20140821" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="Attempts to encrypt (almost) all of your network traffic." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +LICENSE="BSD" 2.12 +WEB_SITE="http://tcpcrypt.org/" 2.13 +WANTED="tcpcrypt" 2.14 + 2.15 +DEPENDS="tcpcrypt" 2.16 + 2.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.18 +genpkg_rules() 2.19 +{ 2.20 + mkdir -p $fs/usr/lib 2.21 + cp -a $install/usr/include $fs/usr 2.22 + cp -a $install/usr/lib/*a $fs/usr/lib 2.23 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/tcpcrypt/receipt Fri Aug 22 16:10:45 2014 +0200 3.3 @@ -0,0 +1,33 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="tcpcrypt" 3.7 +VERSION="20140821" 3.8 +CATEGORY="network" 3.9 +SHORT_DESC="Attempts to encrypt (almost) all of your network traffic." 3.10 +MAINTAINER="pascal.bellard@slitaz.org" 3.11 +LICENSE="BSD" 3.12 +WEB_SITE="http://tcpcrypt.org/" 3.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.14 +WGET_URL="git|git://github.com/scslab/tcpcrypt.git" 3.15 + 3.16 +DEPENDS="libcrypto libnetfilter_queue libnfnetlink libcap libmnl" 3.17 +BUILD_DEPENDS="git autoconf automake libtool openssl-dev \ 3.18 +libnetfilter_queue-dev libnfnetlink-dev libcap-dev libmnl" 3.19 + 3.20 +# Rules to configure and make the package. 3.21 +compile_rules() 3.22 +{ 3.23 + cd $src/user 3.24 + ./bootstrap.sh 3.25 + ./configure --prefix=/usr $CONFIGURE_ARGS && 3.26 + make && 3.27 + make DESTDIR=$DESTDIR install 3.28 +} 3.29 + 3.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.31 +genpkg_rules() 3.32 +{ 3.33 + mkdir -p $fs/usr/lib 3.34 + cp -a $install/usr/bin $fs/usr 3.35 + cp -a $install/usr/lib/*.so* $fs/usr/lib 3.36 +}