wok diff poptop/receipt @ rev 18016
poptop: add config files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 02 15:04:14 2015 +0200 (2015-05-02) |
parents | 742054c507b6 |
children | ee3b11a5d1d1 |
line diff
1.1 --- a/poptop/receipt Fri Sep 20 20:13:33 2013 +0000 1.2 +++ b/poptop/receipt Sat May 02 15:04:14 2015 +0200 1.3 @@ -8,21 +8,20 @@ 1.4 LICENSE="GPL2" 1.5 SOURCE="pptpd" 1.6 TARBALL="$SOURCE-$VERSION.tar.gz" 1.7 -WEB_SITE="http://www.poptop.org/" 1.8 +WEB_SITE="http://poptop.sourceforge.net/" 1.9 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.10 TAGS="vpn tunnel" 1.11 -CONFIG_FILES="/etc/pptp.conf /etc/ppp" 1.12 +CONFIG_FILES="/etc/pptpd.conf /etc/ppp/options.pptpd" 1.13 1.14 DEPENDS="ppp" 1.15 1.16 # Rules to configure and make the package. 1.17 compile_rules() 1.18 { 1.19 - cd $src 1.20 sed -i "s|^LIBDIR.*|LIBDIR=$DESTDIR/usr/lib/pptpd|" plugins/Makefile 1.21 ./configure --prefix=/usr \ 1.22 - --mandir=/usr/share/man \ 1.23 - $CONFIGURE_ARGS && 1.24 + --mandir=/usr/share/man \ 1.25 + $CONFIGURE_ARGS && 1.26 make && 1.27 make DESTDIR=$DESTDIR install 1.28 } 1.29 @@ -30,7 +29,8 @@ 1.30 # Rules to gen a SliTaz package suitable for Tazpkg. 1.31 genpkg_rules() 1.32 { 1.33 - mkdir -p $fs/usr 1.34 + mkdir -p $fs/usr $fs/etc/ppp 1.35 cp -a $install/usr/sbin $fs/usr 1.36 + cp $src/samples/pptpd.conf $fs/etc 1.37 + cp $src/samples/options.pptpd $fs/etc/ppp 1.38 } 1.39 -