summaryrefslogtreecommitdiff
path: root/network/pptp
diff options
context:
space:
mode:
Diffstat (limited to 'network/pptp')
-rw-r--r--network/pptp/pptp.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/network/pptp/pptp.SlackBuild b/network/pptp/pptp.SlackBuild
index 9104759ee4..a0e861f99f 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