/[smeserver]/rpms/ppp/sme9/ppp-2.4.5-manpg.patch
ViewVC logotype

Contents of /rpms/ppp/sme9/ppp-2.4.5-manpg.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Mar 6 22:45:24 2013 UTC (11 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: ppp-2_4_5-24_fc19, ppp-2_4_5-24_el6_sme, HEAD
Initial import

1 diff -up ppp-2.4.5/pppd/plugins/rp-pppoe/Makefile.linux.manpg ppp-2.4.5/pppd/plugins/rp-pppoe/Makefile.linux
2 --- ppp-2.4.5/pppd/plugins/rp-pppoe/Makefile.linux.manpg 2010-04-07 14:47:48.211413928 +0200
3 +++ ppp-2.4.5/pppd/plugins/rp-pppoe/Makefile.linux 2010-04-07 14:47:48.281414608 +0200
4 @@ -16,6 +16,7 @@
5
6 DESTDIR = $(INSTROOT)@DESTDIR@
7 BINDIR = $(DESTDIR)/sbin
8 +MANDIR = $(DESTDIR)/share/man/man8
9 LIBDIR = $(DESTDIR)/lib/$(shell gcc -print-multi-os-directory 2> /dev/null)/pppd/$(PPPDVERSION)
10
11 PPPDVERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
12 @@ -46,6 +47,7 @@ install: all
13 $(INSTALL) -c -m 4550 rp-pppoe.so $(LIBDIR)
14 $(INSTALL) -d -m 755 $(BINDIR)
15 $(INSTALL) -c -m 555 pppoe-discovery $(BINDIR)
16 + $(INSTALL) -c -m 444 pppoe-discovery.8 $(MANDIR)
17
18 clean:
19 rm -f *.o *.so pppoe-discovery
20 diff -up ppp-2.4.5/pppd/plugins/rp-pppoe/pppoe-discovery.8.manpg ppp-2.4.5/pppd/plugins/rp-pppoe/pppoe-discovery.8
21 --- ppp-2.4.5/pppd/plugins/rp-pppoe/pppoe-discovery.8.manpg 2010-04-07 14:49:31.059416743 +0200
22 +++ ppp-2.4.5/pppd/plugins/rp-pppoe/pppoe-discovery.8 2010-04-07 14:50:11.008416347 +0200
23 @@ -0,0 +1,86 @@
24 +.\" pppoe-discovery.8 written by
25 +.\" Ben Hutchings <ben@decadentplace.org.uk>, based on pppoe.8.
26 +.\" Licenced under the GPL version 2 or later.
27 +.TH PPPOE-DISCOVERY 8
28 +.SH NAME
29 +pppoe\-discovery \- perform PPPoE discovery
30 +.SH SYNOPSIS
31 +.B pppoe\-discovery
32 +[
33 +.I options
34 +]
35 +.br
36 +.BR pppoe\-discovery " { " \-V " | " \-h " }"
37 +.SH DESCRIPTION
38 +.LP
39 +\fBpppoe\-discovery\fR performs the same discovery process as
40 +\fBpppoe\fR, but does not initiate a session.
41 +It sends a PADI packet and then prints the names of access
42 +concentrators in each PADO packet it receives.
43 +.SH OPTIONS
44 +.TP
45 +.BI \-I " interface"
46 +.RS
47 +The \fB\-I\fR option specifies the Ethernet interface to use.
48 +Under Linux, it is typically eth0 or eth1.
49 +The interface should be \(lqup\(rq before you start
50 +\fBpppoe\-discovery\fR, but should \fInot\fR be configured to have an
51 +IP address.
52 +The default interface is eth0.
53 +.RE
54 +.TP
55 +.BI \-D " file_name"
56 +.RS
57 +The \fB\-D\fR option causes every packet to be dumped to the specified
58 +\fIfile_name\fR.
59 +This is intended for debugging only.
60 +.RE
61 +.TP
62 +.B \-U
63 +.RS
64 +Causes \fBpppoe\-discovery\fR to use the Host-Uniq tag in its discovery
65 +packets.
66 +This lets you run multiple instances of \fBpppoe\-discovery\fR and/or
67 +\fBpppoe\fR without having their discovery packets interfere with one
68 +another.
69 +You must supply this option to \fIall\fR instances that you intend to
70 +run simultaneously.
71 +.RE
72 +.TP
73 +.BI \-S " service_name"
74 +.RS
75 +Specifies the desired service name.
76 +\fBpppoe\-discovery\fR will only accept access concentrators which can
77 +provide the specified service.
78 +In most cases, you should \fInot\fR specify this option.
79 +Use it only if you know that there are multiple access concentrators
80 +or know that you need a specific service name.
81 +.RE
82 +.TP
83 +.BI \-C " ac_name"
84 +.RS
85 +Specifies the desired access concentrator name.
86 +\fBpppoe\-discovery\fR will only accept the specified access
87 +concentrator.
88 +In most cases, you should \fInot\fR specify this option.
89 +Use it only if you know that there are multiple access concentrators.
90 +If both the \fB\-S\fR and \fB\-C\fR options are specified, they must
91 +\fIboth\fR match.
92 +.RE
93 +.TP
94 +.B \-A
95 +.RS
96 +This option is accepted for compatibility with \fBpppoe\fR, but has no
97 +effect.
98 +.RE
99 +.TP
100 +.BR \-V " | " \-h
101 +.RS
102 +Either of these options causes \fBpppoe\-discovery\fR to print its
103 +version number and usage information, then exit.
104 +.RE
105 +.SH AUTHORS
106 +\fBpppoe\-discovery\fR was written by Marco d'Itri <md@linux.it>,
107 +based on \fBpppoe\fR by David F. Skoll <dfs@roaringpenguin.com>.
108 +.SH SEE ALSO
109 +pppoe(8), pppoe-sniff(8)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed