From 574f8e64ea75c87461fa2d98bb538725ce520a37 Mon Sep 17 00:00:00 2001 From: Michiel van Wessem Date: Thu, 3 Jun 2010 06:41:58 +0100 Subject: network/pptp: Various fixes to the script. Signed-off-by: Michiel van Wessem --- network/pptp/pptp.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'network/pptp') diff --git a/network/pptp/pptp.SlackBuild b/network/pptp/pptp.SlackBuild index 9104759ee43d..a0e861f99f59 100644 --- a/network/pptp/pptp.SlackBuild +++ b/network/pptp/pptp.SlackBuild @@ -77,13 +77,16 @@ find . \ patch -p1 < $CWD/routing.c.patch make OPTIMIZE="$SLKCFLAGS" -make install MANDIR=$PKG/usr/man DESTDIR=$PKG +make install MANDIR=$PKG/usr/man/man8 DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; +# Create the peers directory for connection specific information +mkdir -p $PKG/etc/ppp/peers + # Let's not clobber the existing config file mv $PKG/etc/ppp/options.pptp $PKG/etc/ppp/options.pptp.new -- cgit v1.2.3