Commit 5132afd3 authored by Natanael Copa's avatar Natanael Copa

main/ppp: merge ppp-chat-doc and ppp-radius-doc into ppp-doc

keeps things simpler and is more consistent what we do with other
packages
parent 818c8135
......@@ -8,10 +8,10 @@ arch="all"
license="custom:GPL/BSD"
depends=
makedepends=
subpackages="$pkgname-chat $pkgname-chat-doc:chat_doc
$pkgname-radius $pkgname-radius-doc:radius_doc
subpackages="$pkgname-doc $pkgname-dev $pkgname-chat $pkgname-radius
$pkgname-atm $pkgname-pppoe $pkgname-l2tp $pkgname-winbind
$pkgname-passprompt $pkgname-passwordfd $pkgname-minconn $pkgname-doc $pkgname-dev"
$pkgname-passprompt $pkgname-passwordfd $pkgname-minconn
"
source="ftp://ftp.samba.org/pub/$pkgname/$pkgname-$pkgver.tar.gz
defaultroute-metric.3.patch
musl-fix-headers.patch
......@@ -110,11 +110,6 @@ chat() {
_mv usr/sbin/chat 755
}
chat_doc() {
arch="noarch"
_mv usr/share/man/man8/chat.8 644 doc
}
l2tp() {
pkgdesc="pppd plugin to implement PPPoL2TP protocol"
depends="ppp"
......@@ -142,17 +137,8 @@ radius() {
sed -i "s:@sbindir@:/usr/sbin:g" "$subpkgdir"/etc/radiusclient/radiusclient.conf
}
radius_doc() {
arch="noarch"
_mv usr/share/man/man8/pppd-radius.8 644 doc
_mv usr/share/man/man8/pppd-radattr.8 644 doc
}
_mv() {
install -m $2 -D "$pkgdir"/$1 "$subpkgdir"/$1
if [ "$3" = "doc" ]; then
gzip -9 "$subpkgdir"/$1
fi
rm "$pkgdir"/$1
}
md5sums="78818f40e6d33a1d1de68a1551f6595a ppp-2.4.7.tar.gz
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment