wok-stable rev 6
Add : iptables, libcap, pcre, ppp, sqlite
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Dec 13 15:13:49 2007 +0100 (2007-12-13) |
parents | 23d38a7a06cc |
children | 2074fdf6033a |
files | iptables/receipt libcap/receipt pcre/receipt ppp/receipt ppp/stuff/README.scripts sqlite/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/iptables/receipt Thu Dec 13 15:13:49 2007 +0100 1.3 @@ -0,0 +1,42 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="iptables" 1.7 +VERSION="1.3.7" 1.8 +CATEGORY="base-apps" 1.9 +SHORT_DESC="Packet filtering framework (Firewall)." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="linux" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WEB_SITE="http://www.netfilter.org/" 1.14 +WGET_URL="http://www.netfilter.org/projects/iptables/files/$TARBALL" 1.15 + 1.16 +# Set the right Kernel path to compile. 1.17 +KERNEL_PATH="$WOK/linux/linux-2.6.22.9" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + make KERNEL_DIR=$KERNEL_PATH BINDIR=/sbin \ 1.24 + LIBDIR=/lib MANDIR=/usr/share/man 1.25 + # Install in $PWD_pkg dir. 1.26 + make KERNEL_DIR=$KERNEL_PATH BINDIR=/sbin \ 1.27 + LIBDIR=/lib MANDIR=/usr/share/man \ 1.28 + DESTDIR=$PWD/_pkg install 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + mkdir -p $fs/sbin $fs/lib/iptables 1.35 + # Sbin. 1.36 + cp -a $_pkg/sbin/iptables* $fs/sbin 1.37 + # Libs. 1.38 + cp -a $_pkg/lib/iptables/libipt_standard.so $fs/lib/iptables 1.39 + cp -a $_pkg/lib/iptables/libipt_conntrack.so $fs/lib/iptables 1.40 + cp -a $_pkg/lib/iptables/libipt_tcp.so $fs/lib/iptables 1.41 + cp -a $_pkg/lib/iptables/libipt_udp.so $fs/lib/iptables 1.42 + # Strip. 1.43 + strip -s $_fs/sbin/* 1.44 + strip -s $_fs/lib/iptables/* 1.45 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libcap/receipt Thu Dec 13 15:13:49 2007 +0100 2.3 @@ -0,0 +1,28 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libcap" 2.7 +VERSION="1.97" 2.8 +CATEGORY="base-apps" 2.9 +SHORT_DESC="Support for getting/setting POSIX.1e capabilities." 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +DEPENDS="linux" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WEB_SITE="http://www.kernel.org/pub/linux/libs/security/linux-privs/" 2.14 +WGET_URL="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap1/$TARBALL" 2.15 + 2.16 +# Rules to configure and make the package. 2.17 +compile_rules() 2.18 +{ 2.19 + cd $src 2.20 + make 2.21 + make FAKEROOT=$PWD/_pkg install 2.22 +} 2.23 + 2.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.25 +genpkg_rules() 2.26 +{ 2.27 + cp -a $_pkg/lib $fs 2.28 + cp -a $_pkg/sbin $fs 2.29 + strip -s $fs/lib/* 2.30 + strip -s $fs/sbin/* 2.31 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/pcre/receipt Thu Dec 13 15:13:49 2007 +0100 3.3 @@ -0,0 +1,27 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="pcre" 3.7 +VERSION="7.4" 3.8 +CATEGORY="base-apps" 3.9 +SHORT_DESC="Perl Compatible Regular Expressions." 3.10 +MAINTAINER="pankso@slitaz.org" 3.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.12 +WEB_SITE="http://www.pcre.org/" 3.13 +WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL" 3.14 + 3.15 +# Rules to configure and make the package. 3.16 +compile_rules() 3.17 +{ 3.18 + cd $src 3.19 + ./configure --prefix=/usr $CONFIGURE_ARGS 3.20 + make 3.21 + make DESTDIR=$PWD/_pkg install 3.22 +} 3.23 + 3.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.25 +genpkg_rules() 3.26 +{ 3.27 + mkdir -p $fs/usr/lib 3.28 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 3.29 + strip -s $fs/usr/lib/* 3.30 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/ppp/receipt Thu Dec 13 15:13:49 2007 +0100 4.3 @@ -0,0 +1,40 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="ppp" 4.7 +VERSION="2.4.4" 4.8 +CATEGORY="base-apps" 4.9 +SHORT_DESC="Implements the Point-to-Point Protocol (PPP)." 4.10 +MAINTAINER="pankso@slitaz.org" 4.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 4.12 +WEB_SITE="http://ppp.samba.org/" 4.13 +WGET_URL="ftp://ftp.samba.org/pub/ppp/$TARBALL" 4.14 + 4.15 +# Rules to configure and make the package. 4.16 +compile_rules() 4.17 +{ 4.18 + cd $src 4.19 + ./configure --prefix=/usr --mandir=/usr/share/man \ 4.20 + $CONFIGURE_ARGS 4.21 + make 4.22 + make DESTDIR=$PWD/_pkg/usr install 4.23 +} 4.24 + 4.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.26 +genpkg_rules() 4.27 +{ 4.28 + mkdir -p $fs/usr 4.29 + cp -a $_pkg/usr/sbin $fs/usr 4.30 + cp -a $_pkg/usr/lib $fs/usr 4.31 + strip -s $fs/usr/sbin/* 4.32 + strip -s $fs/usr/lib/pppd/$VERSION/* 4.33 + # Config files. 4.34 + mkdir -p $fs/etc/ppp/scripts 4.35 + cp stuff/README.scripts $fs/etc/ppp 4.36 + cp -a $src/etc.ppp/* $fs/etc/ppp 4.37 + # PPP scripts. 4.38 + cp -a $src/scripts/ppp-on $fs/etc/ppp/scripts 4.39 + cp -a $src/scripts/ppp-on-dialer $fs/etc/ppp/scripts 4.40 + cp -a $src/scripts/ppp-off $fs/etc/ppp/scripts 4.41 + cp -a $src/scripts/callback $fs/etc/ppp/scripts 4.42 + cp -a $src/scripts/redialer $fs/etc/ppp/scripts 4.43 +}
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/ppp/stuff/README.scripts Thu Dec 13 15:13:49 2007 +0100 5.3 @@ -0,0 +1,67 @@ 5.4 +README.scripts - PPP scripts documentation for SliTaz GNU/Linux 2007 5.5 +=============================================================================== 5.6 + 5.7 + 5.8 +This README.scripts file is based on the documentation found in the ppp source 5.9 +package (version 2.4.4). The files in the scripts/ directory were contributed 5.10 +by Al Longyear (longyear@netcom.com) and Adi Masputra (adi.masputra@sun.com). 5.11 +This file was modified for SliTaz by Christophe Lincoln (pankso@slitaz.org). 5.12 + 5.13 + 5.14 +ppp-on 5.15 +------ 5.16 +This script will initiate a connection to the PPP system. It will run 5.17 +the chat program with the connection script as a parameter. This is a 5.18 +possible security hole. However, it is simple. It is meant to replace 5.19 +the previous version of ppp-on which was not very functional. 5.20 + 5.21 +The ppp-on script has entries for the account name, password, IP 5.22 +addresses, and telephone numbers. The parameters are passed to the 5.23 +pppd process and, then in turn, to the second part of the connect 5.24 +script, as a set of environment variables. 5.25 + 5.26 +Please make sure that you put the full path name to the ppp-on-dialer 5.27 +script in the reference to it in ppp-on. 5.28 + 5.29 + 5.30 +ppp-on-dialer 5.31 +------------- 5.32 +This is the second part to the simple calling script, ppp-on. It 5.33 +executes the chat program to connect the user with a standard UNIX 5.34 +style getty/login connection sequence. 5.35 + 5.36 + 5.37 +callback 5.38 +-------- 5.39 +This script may be used in lieu of the ppp-on-dialer to permit the 5.40 +common modem callback sequence. You may need to make changes to the 5.41 +expected prompt string for the modem. 5.42 + 5.43 +The script works by disabling the system's detection of the DCD 5.44 +condition and working on the modem status message "NO CARRIER" which 5.45 +is generated when the modem disconnects. 5.46 + 5.47 +It is crude. It does work for my modem connection. Use as you see fit. 5.48 + 5.49 + 5.50 +redialer 5.51 +-------- 5.52 +The redialer script is a replacement for the ppp-on-dialer script. It 5.53 +will do 'attack dialing' or 'demon dialing' of one or more telephone 5.54 +numbers. The first number which responds will be used for a 5.55 +connection. 5.56 + 5.57 +There is a limit of ten attempts and a 15 second delay between dialing 5.58 +attempts. Both values are set in the script. 5.59 + 5.60 + 5.61 +ppp-off 5.62 +------- 5.63 +This is a script which will terminate the active ppp connection. Use 5.64 +as either "ppp-off" to terminate ppp0, or "ppp-off <device>" to 5.65 +terminate the connection on <device>. For example, "ppp-off ppp2" will 5.66 +terminate the ppp2 connection. 5.67 + 5.68 + 5.69 +=============================================================================== 5.70 +http://ppp.samba.org/ http://www.slitaz.org/
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/sqlite/receipt Thu Dec 13 15:13:49 2007 +0100 6.3 @@ -0,0 +1,30 @@ 6.4 +# SliTaz package receipt. 6.5 + 6.6 +PACKAGE="sqlite" 6.7 +VERSION="3.5.3" 6.8 +CATEGORY="base-apps" 6.9 +SHORT_DESC="Small SQL database engine." 6.10 +MAINTAINER="pankso@slitaz.org" 6.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 6.12 +WEB_SITE="http://www.sqlite.org/" 6.13 +WGET_URL="http://www.sqlite.org/$TARBALL" 6.14 + 6.15 +# Rules to configure and make the package. 6.16 +compile_rules() 6.17 +{ 6.18 + cd $src 6.19 + ./configure --prefix=/usr --disable-tcl \ 6.20 + $CONFIGURE_ARGS 6.21 + make 6.22 + make DESTDIR=$PWD/_pkg install 6.23 +} 6.24 + 6.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 6.26 +genpkg_rules() 6.27 +{ 6.28 + mkdir -p $fs/usr/lib 6.29 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 6.30 + cp -a $_pkg/usr/bin $fs/usr 6.31 + strip -s $fs/usr/lib/*.so* 6.32 + strip -s $fs/usr/bin/* 6.33 +}