mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
network/pptp: Various fixes to the script.
Signed-off-by: Michiel van Wessem <michiel.van.wessem@gmail.com>
This commit is contained in:
parent
3fbfc78a07
commit
574f8e64ea
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue