/[smeserver]/rpms/ppp/sme8/ppp.spec.redhat
ViewVC logotype

Annotation of /rpms/ppp/sme8/ppp.spec.redhat

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


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 20:34:43 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: ppp-2_4_4-1_3_el5_sme, HEAD
Import on branch sme8 of package ppp-2.4.4-1.3.el5.sme.src.rpm

1 slords 1.1 Summary: The PPP (Point-to-Point Protocol) daemon.
2     Name: ppp
3     Version: 2.4.4
4     Release: 1
5     License: distributable
6     Group: System Environment/Daemons
7     Source0: ftp://ftp.samba.org/pub/ppp/ppp-%{version}.tar.gz
8     Source1: ppp-2.3.5-pamd.conf
9     Source2: ppp.logrotate
10     Patch0: ppp-2.4.3-make.patch
11     Patch1: ppp-2.3.6-sample.patch
12     Patch2: ppp-2.4.2-libutil.patch
13     Patch3: ppp-2.4.1-varargs.patch
14     Patch4: ppp-2.4.4-lib64.patch
15     Patch7: ppp-2.4.2-pie.patch
16     Patch8: ppp-2.4.3-fix.patch
17     Patch9: ppp-2.4.3-fix64.patch
18     Patch11: ppp-2.4.2-change_resolv_conf.patch
19     Patch13: ppp-2.4.4-no_strip.patch
20     Patch16: ppp-2.4.2-pppoatm-mtu.patch
21     Patch17: ppp-2.4.2-pppoatm-make.patch
22     Patch19: ppp-2.4.3-local.patch
23     Patch20: ppp-2.4.3-ipv6-accept-remote.patch
24     Patch21: ppp-2.4.3-usepeerdns-var_run_ppp_resolv.conf.patch
25     Patch22: ppp-2.4.4-cbcp.patch
26    
27     BuildRoot: %{_tmppath}/%{name}-root
28     BuildPrereq: pam-devel, libpcap
29     Requires: glibc >= 2.0.6, /etc/pam.d/system-auth, logrotate, libpcap >= 14:0.8.3-6
30    
31     %description
32     The ppp package contains the PPP (Point-to-Point Protocol) daemon and
33     documentation for PPP support. The PPP protocol provides a method for
34     transmitting datagrams over serial point-to-point links. PPP is
35     usually used to dial in to an ISP (Internet Service Provider) or other
36     organization over a modem and phone line.
37    
38     %prep
39     %setup -q
40     %patch0 -p1 -b .make
41     %patch1 -p1 -b .sample
42     # patch 2 depends on the -lutil in patch 0
43     %patch2 -p1 -b .libutil
44     %patch3 -p1 -b .varargs
45     # patch 4 depends on the -lutil in patch 0
46     %patch4 -p1 -b .lib64
47     %patch7 -p1 -b .pie
48     %patch8 -p1 -b .fix
49     %patch9 -p1 -b .fix64
50     %patch11 -p1 -b .change_resolv_conf
51     %patch13 -p1 -b .no_strip
52     %patch16 -p1 -b .atm-mtu
53     %patch17 -p1 -b .atm-make
54     %patch19 -p1 -b .local
55     %patch20 -p1 -b .ipv6cp
56     %patch21 -p1 -b .usepeerdns-var_run_ppp_resolv
57     %patch22 -p1 -b .cbcp
58    
59     find . -type f -name "*.sample" | xargs rm -f
60    
61     %build
62     #find . -name 'Makefile*' -print0 | xargs -0 perl -pi.no_strip -e "s: -s : :g"
63     RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC -Wall"
64     ./configure
65     make
66    
67     %install
68     [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
69     export INSTROOT=$RPM_BUILD_ROOT
70     make install install-etcppp
71    
72     chmod -R a+rX scripts
73     find scripts -type f | xargs chmod a-x
74     chmod 0755 $RPM_BUILD_ROOT/%{_libdir}/pppd/%{version}/*.so
75     mkdir -p $RPM_BUILD_ROOT/etc/pam.d
76     install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/ppp
77    
78     # Provide pointers for people who expect stuff in old places
79     mkdir -p $RPM_BUILD_ROOT/var/log/ppp
80     mkdir -p $RPM_BUILD_ROOT/var/run/ppp
81    
82     # Logrotate script
83     mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d
84     install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/ppp
85    
86     %clean
87     rm -rf $RPM_BUILD_ROOT
88    
89     %files
90     %defattr(-,root,root)
91     %{_sbindir}/chat
92     %{_sbindir}/pppd
93     %{_sbindir}/pppdump
94     %{_sbindir}/pppoe-discovery
95     %{_sbindir}/pppstats
96     %{_mandir}/man8/chat.8*
97     %{_mandir}/man8/pppd.8*
98     %{_mandir}/man8/pppdump.8*
99     %{_mandir}/man8/pppd-radattr.8*
100     %{_mandir}/man8/pppd-radius.8*
101     %{_mandir}/man8/pppstats.8*
102     %{_includedir}/pppd
103     %{_libdir}/pppd
104     %dir /etc/ppp
105     %dir /var/run/ppp
106     %attr(700, root, root) %dir /var/log/ppp
107     %config /etc/ppp/chap-secrets
108     %config /etc/ppp/options
109     %config /etc/ppp/pap-secrets
110     %config /etc/pam.d/ppp
111     %config /etc/logrotate.d/ppp
112     %doc FAQ PLUGINS README README.cbcp README.linux README.MPPE README.MSCHAP80 README.MSCHAP81 README.pwfd README.pppoe scripts sample
113    
114    
115     %changelog
116     * Wed Jul 19 2006 Thomas Woerner <twoerner@redhat.com> 2.4.4-1
117     - new version 2.4.4 with lots of fixes
118     - fixed reesolv.conf docs (#165072)
119     Thanks to Matt Domsch for the initial patch
120     - enabled CBCP (#199278)
121    
122     * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.4.3-6.2.2
123     - rebuild
124    
125     * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.4.3-6.2.1
126     - bump again for double-long bug on ppc(64)
127    
128     * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.4.3-6.2
129     - rebuilt for new gcc4.1 snapshot and glibc changes
130    
131     * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
132     - rebuilt
133    
134     * Sat Nov 12 2005 Florian La Roche <laroche@redhat.com>
135     - rebuild
136    
137     * Fri Nov 4 2005 David Woodhouse <dwmw2@redhat.com> 2.4.3-5
138     - Implement ipv6cp-accept-remote option
139    
140     * Fri Oct 7 2005 Tomas Mraz <tmraz@redhat.com> 2.4.3-4
141     - use include instead of pam_stack in pam config
142    
143     * Sun Jul 31 2005 Florian La Roche <laroche@redhat.com>
144     - rebuild for libpcap of the day
145    
146     * Tue Jul 19 2005 Thomas Woerner <twoerner@redhat.com> 2.4.3-2.1
147     - additional patch for the scripts, thanks to Sammy (#163621)
148    
149     * Tue Jul 19 2005 Thomas Woerner <twoerner@redhat.com> 2.4.3-2
150     - dropped all executable bits in scripts directory to prevent rpm requiring
151     programs used in there
152    
153     * Mon Jul 18 2005 Thomas Woerner <twoerner@redhat.com> 2.4.3-1
154     - new version 2.4.3
155     - updated patches: make, lib64, dontwriteetc, fix, fix64, no_strip,
156     radiusplugin
157     - dropped patches: bpf, signal, pcap, pppoatm, pkgcheck
158    
159     * Tue Nov 2 2004 Thomas Woerner <twoerner@redhat.com> 2.4.2-7
160     - fixed out of bounds memory access, possible DOS
161    
162     * Thu Oct 7 2004 David Woodhouse <dwmw2@redhat.com> 2.4.2-6.3
163     - Fix use of 'demand' without explicit MTU/MRU with pppoatm
164    
165     * Tue Oct 5 2004 David Woodhouse <dwmw2@redhat.com> 2.4.2-6.2
166     - Link pppoatm plugin against libresolv.
167     - Revert to linux-atm headers without the workaround for #127098
168    
169     * Mon Oct 4 2004 David Woodhouse <dwmw2@redhat.com> 2.4.2-6.1
170     - Include atmsap.h for pppoatm plugin.
171    
172     * Mon Oct 4 2004 David Woodhouse <dwmw2@redhat.com> 2.4.2-6
173     - Add pppoatm plugin (#131555)
174    
175     * Thu Sep 16 2004 Thomas Woerner <twoerner@redhat.com> 2.4.2-5.1
176     - fixed subscript out of range (#132677)
177    
178     * Wed Sep 15 2004 Thomas Woerner <twoerner@redhat.com> 2.4.2-5
179     - example scripts are using change_resolv_conf to modify /etc/resolv.conf
180     (#132482)
181     - require new libpcap library (>= 0.8.3-6) with a fix for inbound/outbound
182     filter processing
183     - not using internal libpcap structures anymore, fixes inbound/outbound
184     filter processing (#128053)
185    
186     * Fri Aug 6 2004 Thomas Woerner <twoerner@redhat.com> 2.4.2-4
187     - fixed signal handling (#29171)
188    
189     * Mon Jun 21 2004 Thomas Woerner <twoerner@redhat.com> 2.4.2-3.1
190     - fixed compiler warnings
191     - fixed 64bit problem with ms-chap (#125501)
192     - enabled pie again
193    
194     * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
195     - rebuilt
196    
197     * Wed May 24 2004 David Woodhouse <dwmw2@redhat.com> 2.4.2-2.3
198     - Enable IPv6 support. Disable PIE to avoid bogus Provides:
199    
200     * Fri May 14 2004 Thomas Woerner <twoerner@redhat.com> 2.4.2-2.2
201     - compiled pppd and chat PIE
202    
203     * Thu May 13 2004 Thomas Woerner <twoerner@redhat.com> 2.4.2-2.1
204     - added 'missingok' to ppp.logrotate (#122911)
205    
206     * Fri May 07 2004 Nils Philippsen <nphilipp@redhat.com> 2.4.2-2
207     - don't write to /etc (#118837)
208    
209     * Wed Mar 10 2004 Nalin Dahyabhai <nalin@redhat.com> 2.4.2-1
210     - update to 2.4.2
211    
212     * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
213     - rebuilt
214    
215     * Fri Sep 5 2003 Nalin Dahyabhai <nalin@redhat.com> 2.4.1-15
216     - rebuild
217    
218     * Fri Sep 5 2003 Nalin Dahyabhai <nalin@redhat.com> 2.4.1-14
219     - apply the patch from -11
220    
221     * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
222     - rebuilt
223    
224     * Tue Jun 3 2003 Nalin Dahyabhai <nalin@redhat.com> 2.4.1-12
225     - rebuild
226    
227     * Tue Jun 3 2003 Nalin Dahyabhai <nalin@redhat.com> 2.4.1-11
228     - check for libcrypt in the right directory at compile-time
229    
230     * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
231     - rebuilt
232    
233     * Thu Dec 12 2002 Elliot Lee <sopwith@redhat.com> 2.4.1-9
234     - Fix build failure by rebuilding
235    
236     * Tue Nov 19 2002 Nalin Dahyabhai <nalin@redhat.com> 2.4.1-8
237     - rebuild
238     - set x86_64 to use varargs the way s390 does
239    
240     * Mon Jul 22 2002 Florian La Roche <Florian.LaRoche@redhat.de>
241     - add patch:
242     * Thu Jun 06 2002 Phil Knirsch <pknirsch@redhat.com>
243     - Fixed varargs problem for s390/s390x.
244    
245     * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
246     - automated rebuild
247    
248     * Sun May 26 2002 Tim Powers <timp@redhat.com>
249     - automated rebuild
250    
251     * Fri May 17 2002 Nalin Dahyabhai <nalin@redhat.com> 2.4.1-4
252     - rebuild in new environment
253    
254     * Wed Feb 27 2002 Nalin Dahyabhai <nalin@redhat.com> 2.4.1-3
255     - revert cbcp patch, it's wrong (#55367)
256    
257     * Thu Aug 9 2001 Nalin Dahyabhai <nalin@redhat.com> 2.4.1-2
258     - add buildprereq on pam-devel (#49559)
259     - add patch to respond to CBCP LCP requests (#15738)
260     - enable cbcp support at build-time
261     - change the Copyright: tag to a License: tag
262    
263     * Wed May 23 2001 Nalin Dahyabhai <nalin@redhat.com> 2.4.1-1
264     - update to 2.4.1
265    
266     * Fri Dec 1 2000 Nalin Dahyabhai <nalin@redhat.com>
267     - rebuild in new environment
268    
269     * Thu Nov 9 2000 Nalin Dahyabhai <nalin@redhat.com>
270     - update to 2.4.0
271    
272     * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
273     - automatic rebuild
274    
275     * Mon Jun 5 2000 Nalin Dahyabhai <nalin@redhat.com>
276     - move man pages to %{_mandir}
277    
278     * Thu Jun 1 2000 Nalin Dahyabhai <nalin@redhat.com>
279     - change perms using defattr
280     - modify PAM setup to use system-auth
281    
282     * Sun Mar 26 2000 Florian La Roche <Florian.La Roche@redhat.com>
283     - change to root:root perms
284    
285     * Mon Mar 06 2000 Nalin Dahyabhai <nalin@redhat.com>
286     - reaper bugs verified as fixed
287     - check pam_open_session result code (bug #9966)
288    
289     * Mon Feb 07 2000 Nalin Dahyabhai <nalin@redhat.com>
290     - take a shot at the wrong reaper bugs (#8153, #5290)
291    
292     * Thu Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com>
293     - free ride through the build system (release 2)
294    
295     * Tue Jan 18 2000 Nalin Dahyabhai <nalin@redhat.com>
296     - Update to 2.3.11
297    
298     * Sat Nov 06 1999 Michael K. Johnson <johnsonm@redhat.com>
299     - Better fix for both problems
300    
301     * Fri Nov 05 1999 Michael K. Johnson <johnsonm@redhat.com>
302     - fix for double-dial problem
303     - fix for requiring a controlling terminal problem
304    
305     * Sun Sep 19 1999 Preston Brown <pbrown@redhat.com>
306     - 2.3.10 bugfix release
307    
308     * Fri Aug 13 1999 Michael K. Johnson <johnsonm@redhat.com>
309     - New version 2.3.9 required for kernel 2.3.13 and will be required
310     for new initscripts. auth patch removed; 2.3.9 does the same thing
311     more readably than the previous patch.
312    
313     * Thu Jun 24 1999 Cristian Gafton <gafton@redhat.com>
314     - add pppdump
315    
316     * Fri Apr 09 1999 Cristian Gafton <gafton@redhat.com>
317     - force pppd use the glibc's logwtmp instead of implementing its own
318    
319     * Wed Apr 01 1999 Preston Brown <pbrown@redhat.com>
320     - version 2.3.7 bugfix release
321    
322     * Tue Mar 23 1999 Cristian Gafton <gafton@redhat.com>
323     - version 2.3.6
324    
325     * Mon Mar 22 1999 Michael Johnson <johnsonm@redhat.com>
326     - auth patch
327    
328     * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
329     - auto rebuild in the new build environment (release 3)
330    
331     * Thu Jan 07 1999 Cristian Gafton <gafton@redhat.com>
332     - build for glibc 2.1
333    
334     * Fri Jun 5 1998 Jeff Johnson <jbj@redhat.com>
335     - updated to 2.3.5.
336    
337     * Tue May 19 1998 Prospector System <bugs@redhat.com>
338     - translations modified for de
339    
340     * Fri May 8 1998 Jakub Jelinek <jj@ultra.linux.cz>
341     - make it run with kernels 2.1.100 and above.
342    
343     * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
344     - translations modified for de, fr, tr
345    
346     * Wed Mar 18 1998 Cristian Gafton <gafton@redhat.com>
347     - requires glibc 2.0.6 or later
348    
349     * Wed Mar 18 1998 Michael K. Johnson <johnsonm@redhat.com>
350     - updated PAM patch to not turn off wtmp/utmp/syslog logging.
351    
352     * Wed Jan 7 1998 Cristian Gafton <gafton@redhat.com>
353     - added the /etc/pam.d config file
354     - updated PAM patch to include session support
355    
356     * Tue Jan 6 1998 Cristian Gafton <gafton@redhat.com>
357     - updated to ppp-2.3.3, build against glibc-2.0.6 - previous patches not
358     required any more.
359     - added buildroot
360     - fixed the PAM support, which was really, completely broken and against any
361     standards (session support is still not here... :-( )
362     - we build against running kernel and pray that it will work
363     - added a samples patch; updated glibc patch
364    
365     * Thu Dec 18 1997 Erik Troan <ewt@redhat.com>
366     - added a patch to use our own route.h, rather then glibc's (which has
367     alignment problems on Alpha's) -- I only applied this patch on the Alpha,
368     though it should be safe everywhere
369    
370     * Fri Oct 10 1997 Erik Troan <ewt@redhat.com>
371     - turned off the execute bit for scripts in /usr/doc
372    
373     * Fri Jul 18 1997 Erik Troan <ewt@redhat.com>
374     - built against glibc
375    
376     * Tue Mar 25 1997 Erik Troan <ewt@redhat.com>
377     - Integrated new patch from David Mosberger
378     - Improved description
379    

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