# HG changeset patch # User Christophe Lincoln # Date 1197555229 -3600 # Node ID 5a6cb7128cbe369f151c2be8a16bbbc52a677a4e # Parent 23d38a7a06cc57e49148de2006470c93d7c4e6f4 Add : iptables, libcap, pcre, ppp, sqlite diff -r 23d38a7a06cc -r 5a6cb7128cbe iptables/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/iptables/receipt Thu Dec 13 15:13:49 2007 +0100 @@ -0,0 +1,42 @@ +# SliTaz package receipt. + +PACKAGE="iptables" +VERSION="1.3.7" +CATEGORY="base-apps" +SHORT_DESC="Packet filtering framework (Firewall)." +MAINTAINER="pankso@slitaz.org" +DEPENDS="linux" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.netfilter.org/" +WGET_URL="http://www.netfilter.org/projects/iptables/files/$TARBALL" + +# Set the right Kernel path to compile. +KERNEL_PATH="$WOK/linux/linux-2.6.22.9" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make KERNEL_DIR=$KERNEL_PATH BINDIR=/sbin \ + LIBDIR=/lib MANDIR=/usr/share/man + # Install in $PWD_pkg dir. + make KERNEL_DIR=$KERNEL_PATH BINDIR=/sbin \ + LIBDIR=/lib MANDIR=/usr/share/man \ + DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/sbin $fs/lib/iptables + # Sbin. + cp -a $_pkg/sbin/iptables* $fs/sbin + # Libs. + cp -a $_pkg/lib/iptables/libipt_standard.so $fs/lib/iptables + cp -a $_pkg/lib/iptables/libipt_conntrack.so $fs/lib/iptables + cp -a $_pkg/lib/iptables/libipt_tcp.so $fs/lib/iptables + cp -a $_pkg/lib/iptables/libipt_udp.so $fs/lib/iptables + # Strip. + strip -s $_fs/sbin/* + strip -s $_fs/lib/iptables/* +} diff -r 23d38a7a06cc -r 5a6cb7128cbe libcap/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libcap/receipt Thu Dec 13 15:13:49 2007 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="libcap" +VERSION="1.97" +CATEGORY="base-apps" +SHORT_DESC="Support for getting/setting POSIX.1e capabilities." +MAINTAINER="pankso@slitaz.org" +DEPENDS="linux" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.kernel.org/pub/linux/libs/security/linux-privs/" +WGET_URL="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap1/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make + make FAKEROOT=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $_pkg/lib $fs + cp -a $_pkg/sbin $fs + strip -s $fs/lib/* + strip -s $fs/sbin/* +} diff -r 23d38a7a06cc -r 5a6cb7128cbe pcre/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pcre/receipt Thu Dec 13 15:13:49 2007 +0100 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="pcre" +VERSION="7.4" +CATEGORY="base-apps" +SHORT_DESC="Perl Compatible Regular Expressions." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.pcre.org/" +WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + strip -s $fs/usr/lib/* +} diff -r 23d38a7a06cc -r 5a6cb7128cbe ppp/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ppp/receipt Thu Dec 13 15:13:49 2007 +0100 @@ -0,0 +1,40 @@ +# SliTaz package receipt. + +PACKAGE="ppp" +VERSION="2.4.4" +CATEGORY="base-apps" +SHORT_DESC="Implements the Point-to-Point Protocol (PPP)." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://ppp.samba.org/" +WGET_URL="ftp://ftp.samba.org/pub/ppp/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --mandir=/usr/share/man \ + $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg/usr install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/sbin $fs/usr + cp -a $_pkg/usr/lib $fs/usr + strip -s $fs/usr/sbin/* + strip -s $fs/usr/lib/pppd/$VERSION/* + # Config files. + mkdir -p $fs/etc/ppp/scripts + cp stuff/README.scripts $fs/etc/ppp + cp -a $src/etc.ppp/* $fs/etc/ppp + # PPP scripts. + cp -a $src/scripts/ppp-on $fs/etc/ppp/scripts + cp -a $src/scripts/ppp-on-dialer $fs/etc/ppp/scripts + cp -a $src/scripts/ppp-off $fs/etc/ppp/scripts + cp -a $src/scripts/callback $fs/etc/ppp/scripts + cp -a $src/scripts/redialer $fs/etc/ppp/scripts +} diff -r 23d38a7a06cc -r 5a6cb7128cbe ppp/stuff/README.scripts --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ppp/stuff/README.scripts Thu Dec 13 15:13:49 2007 +0100 @@ -0,0 +1,67 @@ +README.scripts - PPP scripts documentation for SliTaz GNU/Linux 2007 +=============================================================================== + + +This README.scripts file is based on the documentation found in the ppp source +package (version 2.4.4). The files in the scripts/ directory were contributed +by Al Longyear (longyear@netcom.com) and Adi Masputra (adi.masputra@sun.com). +This file was modified for SliTaz by Christophe Lincoln (pankso@slitaz.org). + + +ppp-on +------ +This script will initiate a connection to the PPP system. It will run +the chat program with the connection script as a parameter. This is a +possible security hole. However, it is simple. It is meant to replace +the previous version of ppp-on which was not very functional. + +The ppp-on script has entries for the account name, password, IP +addresses, and telephone numbers. The parameters are passed to the +pppd process and, then in turn, to the second part of the connect +script, as a set of environment variables. + +Please make sure that you put the full path name to the ppp-on-dialer +script in the reference to it in ppp-on. + + +ppp-on-dialer +------------- +This is the second part to the simple calling script, ppp-on. It +executes the chat program to connect the user with a standard UNIX +style getty/login connection sequence. + + +callback +-------- +This script may be used in lieu of the ppp-on-dialer to permit the +common modem callback sequence. You may need to make changes to the +expected prompt string for the modem. + +The script works by disabling the system's detection of the DCD +condition and working on the modem status message "NO CARRIER" which +is generated when the modem disconnects. + +It is crude. It does work for my modem connection. Use as you see fit. + + +redialer +-------- +The redialer script is a replacement for the ppp-on-dialer script. It +will do 'attack dialing' or 'demon dialing' of one or more telephone +numbers. The first number which responds will be used for a +connection. + +There is a limit of ten attempts and a 15 second delay between dialing +attempts. Both values are set in the script. + + +ppp-off +------- +This is a script which will terminate the active ppp connection. Use +as either "ppp-off" to terminate ppp0, or "ppp-off " to +terminate the connection on . For example, "ppp-off ppp2" will +terminate the ppp2 connection. + + +=============================================================================== +http://ppp.samba.org/ http://www.slitaz.org/ diff -r 23d38a7a06cc -r 5a6cb7128cbe sqlite/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sqlite/receipt Thu Dec 13 15:13:49 2007 +0100 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="sqlite" +VERSION="3.5.3" +CATEGORY="base-apps" +SHORT_DESC="Small SQL database engine." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.sqlite.org/" +WGET_URL="http://www.sqlite.org/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --disable-tcl \ + $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $_pkg/usr/bin $fs/usr + strip -s $fs/usr/lib/*.so* + strip -s $fs/usr/bin/* +}