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