Contents of /trunk/core/rp-pppoe/rp-pppoe-3.12-r1.smage2
Parent Directory | Revision Log
Revision 29722 -
(show annotations)
(download)
Tue Oct 10 07:18:45 2017 UTC (6 years, 11 months ago) by niro
File size: 1261 byte(s)
Tue Oct 10 07:18:45 2017 UTC (6 years, 11 months ago) by niro
File size: 1261 byte(s)
-updated UP2DATE uri
1 | # $Id$ |
2 | |
3 | PNAME="rp-pppoe" |
4 | PVER="3.12" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="net-dialup" |
8 | |
9 | DESCRIPTION="PPPoE (Point-to-Point Protocol over Ethernet) server and client for linux." |
10 | HOMEPAGE="http://www.roaringpenguin.com/products/pppoe" |
11 | |
12 | DEPEND=">= sys-apps/net-tools-1.60 |
13 | >= net-dialup/ppp-2.4" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}/src" |
17 | |
18 | sminclude mbuild mtools systemd |
19 | msetfeature "!check" |
20 | |
21 | SRC_URI=( |
22 | http://www.roaringpenguin.com/files/download/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/pppoe.service |
25 | mirror://${PNAME}/dsl-provider |
26 | ) |
27 | |
28 | UP2DATE="updatecmd ${HOMEPAGE} | highesttarball gz" |
29 | |
30 | src_install() |
31 | { |
32 | cd ${SRCDIR} |
33 | mmake DESTDIR=${BINDIR} install || die |
34 | |
35 | # compress docs |
36 | gzip -9 ${BINDIR}/usr/share/doc/${PNAME}-${PVER}/* || die |
37 | |
38 | # initscripts (we may remove this and use ppp only!) |
39 | minstallunit pppoe.service || die |
40 | |
41 | # ppp helpers |
42 | minstalldir /etc/ppp/peers || die |
43 | minstallfile -s dsl-provider /etc/ppp/peers/dsl-provider || die |
44 | } |
45 | |
46 | postinstall() |
47 | { |
48 | echo |
49 | echo "To setup your ADSL internet-connection run 'pppoe-setup'," |
50 | echo "or use '/etc/ppp/peers/dsl-provider' via pppd. Do not forget" |
51 | echo "to symlink dsl-provider to /etc/ppp/peers/provider," |
52 | echo "or edit '/etc/conf.d/ppp to use 'dsl-provider'." |
53 | echo |
54 | } |