# HG changeset patch # User Pascal Bellard # Date 1430571854 -7200 # Node ID 5b7188f5cd91b4a75b0ee1b40e62530ebed862fe # Parent 58f4bd56c8de85b855124ea8e2c098c5696e8d2c poptop: add config files diff -r 58f4bd56c8de -r 5b7188f5cd91 poptop-man/receipt --- a/poptop-man/receipt Sat May 02 12:05:22 2015 +0200 +++ b/poptop-man/receipt Sat May 02 15:04:14 2015 +0200 @@ -6,7 +6,7 @@ SHORT_DESC="PPTP server man pages." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" -WEB_SITE="http://www.poptop.org/" +WEB_SITE="http://poptop.sourceforge.net/" WANTED="poptop" SOURCE="pptpd" diff -r 58f4bd56c8de -r 5b7188f5cd91 poptop/receipt --- a/poptop/receipt Sat May 02 12:05:22 2015 +0200 +++ b/poptop/receipt Sat May 02 15:04:14 2015 +0200 @@ -8,21 +8,20 @@ LICENSE="GPL2" SOURCE="pptpd" TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="http://www.poptop.org/" +WEB_SITE="http://poptop.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" TAGS="vpn tunnel" -CONFIG_FILES="/etc/pptp.conf /etc/ppp" +CONFIG_FILES="/etc/pptpd.conf /etc/ppp/options.pptpd" DEPENDS="ppp" # Rules to configure and make the package. compile_rules() { - cd $src sed -i "s|^LIBDIR.*|LIBDIR=$DESTDIR/usr/lib/pptpd|" plugins/Makefile ./configure --prefix=/usr \ - --mandir=/usr/share/man \ - $CONFIGURE_ARGS && + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } @@ -30,7 +29,8 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr + mkdir -p $fs/usr $fs/etc/ppp cp -a $install/usr/sbin $fs/usr + cp $src/samples/pptpd.conf $fs/etc + cp $src/samples/options.pptpd $fs/etc/ppp } -