aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel.van.wessem@gmail.com>2010-06-03 06:41:58 +0100
committerRobby Workman <rworkman@slackbuilds.org>2010-06-04 01:13:44 -0500
commit574f8e64ea75c87461fa2d98bb538725ce520a37 (patch)
tree41120395c4c23b34e013d38a5b4ae05bf9303375 /network
parent3fbfc78a072a83877ba156d68246e6956eb776b3 (diff)
network/pptp: Various fixes to the script.
Signed-off-by: Michiel van Wessem <michiel.van.wessem@gmail.com>
Diffstat (limited to 'network')
-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 9104759ee43dd..a0e861f99f59e 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