[Frugalware-git] interim: ppp-2.4.4-4-i686

Miklos Vajna vmiklos at frugalware.org
Sun Aug 10 00:34:54 CEST 2008


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=interim.git;a=commitdiff;h=3a588174c4ffecc0fcb90e99a66de2565ae4d83e

commit 3a588174c4ffecc0fcb90e99a66de2565ae4d83e
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Fri May 30 14:20:48 2008 +0200

ppp-2.4.4-4-i686
- add pon, poff and pon manpage
- improve backup()
- closes #3119

diff --git a/source/base/ppp/FrugalBuild b/source/base/ppp/FrugalBuild
index af47f02..08d2c53 100644
--- a/source/base/ppp/FrugalBuild
+++ b/source/base/ppp/FrugalBuild
@@ -3,13 +3,13 @@

pkgname=ppp
pkgver=2.4.4
-pkgrel=3
+pkgrel=4
pkgdesc="The PPP (Point-to-Point Protocol) daemon"
url="http://www.samba.org/ppp/"
groups=('base')
archs=('i686' 'x86_64')
depends=('glibc>=2.7-3')
-backup=('etc/ppp/chap-secrets' 'etc/ppp/pap-secrets' 'etc/ppp/options')
+backup=('etc/ppp/chap-secrets' 'etc/ppp/pap-secrets' 'etc/ppp/options' 'etc/ppp/ip-up' 'etc/ppp/ip-down')
up2date="wget --passive-ftp -O - -q ftp://ftp.samba.org/pub/ppp/|grep ppp-.[0-9\.]*\.tar\.gz|tail -n 1|sed 's/.*ppp-\([0-9\.]*\)\.tar\.gz<.*/\1/'"
source=(ftp://ftp.samba.org/pub/ppp/ppp-$pkgver.tar.gz ip-up ip-down)
sha1sums=('9b91b0117e0a8bfaf8c4e894af79e0960dd36259' \
@@ -30,10 +30,14 @@ build()
# end of patching

Fmake
-	make DESTDIR="$Fdestdir"/usr install
+	make DESTDIR=$Fdestdir/usr install || return 1
Fmkdir /etc/ppp/peers
Fexe ip-{up,down} /etc/ppp/
Finstallrel 600 etc.ppp/* /etc/ppp/
+	cd scripts
+	Fexerel /usr/sbin/pon
+	Fexerel /usr/sbin/poff
+	Fmanrel pon.1
}

# optimization OK


More information about the Frugalware-git mailing list