ppp: move to usr/bin.

This commit is contained in:
Juan RP 2015-06-02 11:42:03 +02:00
parent 2dd4c49e5a
commit 11cdeac0dd
1 changed files with 9 additions and 7 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'ppp'
pkgname=ppp
version=2.4.7
revision=5
revision=6
short_desc="PPP (Point-to-Point Protocol) daemon"
homepage="https://ppp.samba.org/"
license="BSD, LGPLv2+, GPLv2+, Public Domain"
@ -49,8 +49,10 @@ do_install() {
chmod 755 ${DESTDIR}/usr/lib/pppd/${version}/*.so
vinstall pppd/pppd 755 usr/sbin
vinstall chat/chat 755 usr/sbin
vmkdir usr/bin
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
vbin pppd/pppd
vbin chat/chat
vinstall ${FILESDIR}/options 644 etc/ppp
vinstall ${FILESDIR}/ip-up 755 etc/ppp
@ -64,10 +66,10 @@ do_install() {
vmkdir etc/ppp/ipv6-down.d
touch ${DESTDIR}/etc/ppp/ipv6-down.d/.empty_on_purpose
vinstall scripts/pon 755 usr/bin
vinstall scripts/pon.1 644 usr/share/man/man1
vinstall scripts/poff 755 usr/bin
vinstall scripts/plog 755 usr/sbin
vbin scripts/pon
vman scripts/pon.1
vbin scripts/poff
vbin scripts/plog
vinstall etc.ppp/pap-secrets 600 etc/ppp
vinstall etc.ppp/chap-secrets 600 etc/ppp