wok-6.x diff ppp-pam/receipt @ rev 2387

squid: Add auth support. Move squid stuff to /usr/share/squid
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Mar 09 23:58:18 2009 +0100 (2009-03-09)
parents
children b315a2103f94
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ppp-pam/receipt	Mon Mar 09 23:58:18 2009 +0100
     1.3 @@ -0,0 +1,47 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ppp-pam"
     1.7 +VERSION="2.4.4"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Implements the Point-to-Point Protocol (PPP) with PAM support."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +SOURCE="ppp"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://ppp.samba.org/"
    1.14 +WGET_URL="ftp://ftp.samba.org/pub/ppp/$TARBALL"
    1.15 +DEPENDS="pam"
    1.16 +BUILD_DEPENDS="pam pam-dev"
    1.17 +CONFIG_FILES="/etc/ppp"
    1.18 +PROVIDE="ppp:pam"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	sed -i 's/#USE_PAM/USE_PAM/' pppd/Makefile.linux
    1.25 +	./configure --prefix=/usr --mandir=/usr/share/man \
    1.26 +	$CONFIGURE_ARGS &&
    1.27 +	make &&
    1.28 +	make DESTDIR=$PWD/_pkg/usr 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/usr
    1.35 +	cp -a $_pkg/usr/sbin $fs/usr
    1.36 +	cp -a $_pkg/usr/lib $fs/usr
    1.37 +	strip -s $fs/usr/sbin/*
    1.38 +	strip -s $fs/usr/lib/pppd/$VERSION/*
    1.39 +	# Config files.
    1.40 +	mkdir -p $fs/etc/ppp/scripts
    1.41 +	cp ../$SOURCE/stuff/README.scripts $fs/etc/ppp
    1.42 +	cp -a $src/etc.ppp/* $fs/etc/ppp
    1.43 +	# PPP scripts.
    1.44 +	cp -a $src/scripts/ppp-on $fs/etc/ppp/scripts
    1.45 +	cp -a $src/scripts/ppp-on-dialer $fs/etc/ppp/scripts
    1.46 +	sed -i 's,ppp/ppp-on-dialer,ppp/script/ppp-on-dialer,' $fs/etc/ppp/scripts/ppp-on-dialer
    1.47 +	cp -a $src/scripts/ppp-off $fs/etc/ppp/scripts
    1.48 +	cp -a $src/scripts/callback $fs/etc/ppp/scripts
    1.49 +	cp -a $src/scripts/redialer $fs/etc/ppp/scripts
    1.50 +}