source: projects/specs/trunk/p/ppp/ppp-vl.spec @ 3345

Revision 3345, 9.5 KB checked in by tomop, 13 years ago (diff)

ppp-2.4.5-2

Line 
1Summary: The PPP (Point-to-Point Protocol) daemon.
2Summary(ja): PPP (Point-to-Point Protocol) デーモン
3Name: ppp
4Version: 2.4.5
5Release: 2%{?_dist_release}
6License: distributable
7Group: System Environment/Daemons
8Source0: ftp://ftp.samba.org/pub/ppp/ppp-%{version}.tar.gz
9Source1: ppp-2.4.4-pamd.conf
10Patch0: ppp-2.4.3-make.patch
11Patch1: ppp-2.3.6-sample.patch
12Patch2: ppp-2.4.2-libutil.patch
13Patch3: ppp-2.4.1-varargs.patch
14Patch4: ppp-2.4.4-lib64.patch
15Patch7: ppp-2.4.2-pie.patch
16Patch8: ppp-2.4.3-fix.patch
17Patch9: ppp-2.4.3-fix64.patch
18Patch11: ppp-2.4.2-change_resolv_conf.patch
19Patch13: ppp-2.4.4-no_strip.patch
20Patch17: ppp-2.4.2-pppoatm-make.patch
21Patch19: ppp-2.4.3-local.patch
22Patch20: ppp-2.4.3-ipv6-accept-remote.patch
23Patch21: ppp-2.4.3-usepeerdns-var_run_ppp_resolv.conf.patch
24Patch22: ppp-2.4.4-cbcp.patch
25Patch23: ppp-2.4.2-dontwriteetc.patch
26Patch24: ppp-2.4.4-fd_leak.patch
27Patch25: ppp-2.4.5-var_run_ppp.patch
28
29URL: http://ppp.samba.org/
30BuildRoot: %{_tmppath}/%{name}-%{version}-root
31BuildRequires: libpcap >= 0.8.3, pam-devel
32#Requires: glibc >= 2.0.6, /etc/pam.d/system-auth
33Requires: glibc >= 2.0.6, pam >= 1.0
34
35%description
36The ppp package contains the PPP (Point-to-Point Protocol) daemon and
37documentation for PPP support.  The PPP protocol provides a method for
38transmitting datagrams over serial point-to-point links. PPP is
39usually used to dial in to an ISP (Internet Service Provider) or other
40organization over a modem and phone line.
41
42%description -l ja
43ppp パッケージには PPP (Point-to-Point Protocol) デーモンと
44PPP を使う為のドキュメントが収められています.PPP プロトコルを
45使うとシリアルな point-to-point 接続上でデータグラムを転送する
46事が出来ます.この PPP は一般的には ISP (Internet Service Provider) 等に
47モデムを介した電話回線で接続する際に使われます.
48
49
50%package devel
51Summary: Headers for ppp plugin development
52SUmmary(ja): ppp プラグイン開発用ヘッダファイル
53Group: Development/Libraries
54
55%description devel
56This package contains the header files for building plugins for ppp.
57
58%description -l ja devel
59このパッケージには ppp のプラグインを開発するためのヘッダファイルが
60含まれています。
61
62%prep
63%setup  -q
64
65%patch0 -p1 -b .make
66%patch1 -p1 -b .sample
67%patch2 -p1 -b .libutil
68%patch3 -p1 -b .varargs
69%patch4 -p1 -b .lib64
70%patch7 -p1 -b .pie
71%patch8 -p1 -b .fix
72%patch9 -p1 -b .fix64
73%patch11 -p1 -b .change_resolv_conf
74%patch13 -p1 -b .no_strip
75%patch17 -p1 -b .atm-make
76%patch19 -p1 -b .local
77%patch20 -p1 -b .ipv6cp
78%patch21 -p1 -b .usepeerdns-var_run_ppp_resolv
79%patch22 -p1 -b .cbcp
80%patch23 -p1 -b .dontwriteetc
81%patch24 -p1 -b .fd_leak
82%patch25 -p1 -b .var_run_ppp
83
84rm -f scripts/*.local
85rm -f scripts/*.change_resolv_conf
86rm -f scripts/*.usepeerdns-var_run_ppp_resolv
87
88find . -type f -name "*.sample" | xargs rm -f
89
90%build
91RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC -Wall"
92./configure
93make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
94
95
96%install
97[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
98export INSTROOT=$RPM_BUILD_ROOT
99%ifarch x86_64
100make install install-etcppp LIBDIR=$RPM_BUILD_ROOT%{_libdir}/pppd/%{version}
101%else
102make install install-etcppp
103%endif
104
105## it shouldn't be SUID root be default
106#chmod 755 %{buildroot}/usr/sbin/pppd
107
108chmod go+r scripts/*
109mkdir -p %{buildroot}/etc/pam.d
110install -m 644 %{SOURCE1} %{buildroot}/etc/pam.d/ppp
111
112mkdir -p %{buildroot}/etc/ppp
113cp etc.ppp/* %{buildroot}/etc/ppp
114chmod 600 %{buildroot}/etc/ppp/*-secrets
115
116mkdir -p %{buildroot}/etc/radiusclient
117cp pppd/plugins/radius/etc/* %{buildroot}/etc/radiusclient
118mv %{buildroot}/etc/radiusclient/radiusclient.conf %{buildroot}/etc/
119perl -pi -e 's|/usr/local||g' %{buildroot}/etc/radiusclient/radiusclient.conf
120
121find scripts -type f | xargs chmod 644
122
123%clean
124rm -rf %{buildroot}
125
126
127%files
128%defattr(-,root,root)
129%{_sbindir}/*
130%{_libdir}/pppd
131%{_mandir}/man8/chat.8*
132%{_mandir}/man8/pppd.8*
133%{_mandir}/man8/pppdump.8*
134%{_mandir}/man8/pppstats.8*
135%{_mandir}/man8/pppd-radattr.8*
136%{_mandir}/man8/pppd-radius.8*
137%dir /etc/ppp
138%config(noreplace) /etc/ppp/*
139%config(noreplace) /etc/pam.d/ppp
140%config(noreplace) /etc/radiusclient/*
141%config(noreplace) /etc/radiusclient.conf
142%doc README README.linux scripts sample
143
144%files devel
145%defattr(-,root,root)
146%{_includedir}/pppd
147%doc PLUGINS
148
149
150%changelog
151* Fri Apr 08 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.5-2
152- rebuilt with new toolchain.
153
154* Mon Mar 08 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.5-1
155- new upstream release.
156- replaced all patches with Fedora's.
157- replaced 'BuildPreReq:' with 'BuildRequires:'.
158
159* Sun Aug 23 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.4-4
160- update pam.d/ppp to fix pam-1.0
161
162* Thu Aug 14 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.4-3
163- added option LIBDIR at makeinstall for x86_64
164
165* Thu Jul 31 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.4-2
166- add -devel subpackage to develop ppp plugins
167
168* Wed Jun 25 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.4.4-1
169- update Source1 for pam-1.0.1
170- import several patches from Fedora 2.4.4-7
171
172* Sat Jul  7 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.4-0vl1
173- new upstream release
174- rebuilt with new toolchain and environment
175- added URL (also URL of Source0)
176
177* Fri Nov 17 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.4.3-0vl2
178- use License: instead of Copyright:
179
180* Mon Jan 24 2005 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.4.3-0vl1
181- new upstream release.
182- replace patch0.
183
184* Wed Aug 11 2004 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.4.2-0vl0
185- new upstream release.
186- remove patch 2-4 (no longer needed).
187
188* Sat Mar 15 2003 <ryo1@bc.wakwak.com> 2.4.1-0vl2
189- rebuild with new toolchains
190
191* Sun Jun 10 2001 <sagami@vinelinux.org>
192- 2.4.1-0vl1: update to 2.4.1
193
194* Thu Jan 25 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
195- 2.4.0-2vl1
196- based on 2.4.0-2 from Rawhide
197- added Japanese summary and description
198- Requires: /etc/pam.d/system-auth -> pam >= 0.72
199  (for better compatibility with apt for rpm)
200
201* Fri Dec  1 2000 Nalin Dahyabhai <nalin@redhat.com>
202- rebuild in new environment
203
204* Thu Nov  9 2000 Nalin Dahyabhai <nalin@redhat.com>
205- update to 2.4.0
206
207* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
208- automatic rebuild
209
210* Mon Jun  5 2000 Nalin Dahyabhai <nalin@redhat.com>
211- move man pages to %{_mandir}
212
213* Thu Jun  1 2000 Nalin Dahyabhai <nalin@redhat.com>
214- change perms using defattr
215- modify PAM setup to use system-auth
216
217* Sun Mar 26 2000 Florian La Roche <Florian.La Roche@redhat.com>
218- change to root:root perms
219
220* Mon Mar 06 2000 Nalin Dahyabhai <nalin@redhat.com>
221- reaper bugs verified as fixed
222- check pam_open_session result code (bug #9966)
223
224* Mon Feb 07 2000 Nalin Dahyabhai <nalin@redhat.com>
225- take a shot at the wrong reaper bugs (#8153, #5290)
226
227* Thu Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com>
228- free ride through the build system (release 2)
229
230* Tue Jan 18 2000 Nalin Dahyabhai <nalin@redhat.com>
231- Update to 2.3.11
232
233* Sat Nov 06 1999 Michael K. Johnson <johnsonm@redhat.com>
234- Better fix for both problems
235
236* Fri Nov 05 1999 Michael K. Johnson <johnsonm@redhat.com>
237- fix for double-dial problem
238- fix for requiring a controlling terminal problem
239
240* Sun Sep 19 1999 Preston Brown <pbrown@redhat.com>
241- 2.3.10 bugfix release
242
243* Fri Aug 13 1999 Michael K. Johnson <johnsonm@redhat.com>
244- New version 2.3.9 required for kernel 2.3.13 and will be required
245  for new initscripts.  auth patch removed; 2.3.9 does the same thing
246  more readably than the previous patch.
247
248* Thu Jun 24 1999 Cristian Gafton <gafton@redhat.com>
249- add pppdump
250
251* Fri Apr 09 1999 Cristian Gafton <gafton@redhat.com>
252- force pppd use the glibc's logwtmp instead of implementing its own
253
254* Wed Apr 01 1999 Preston Brown <pbrown@redhat.com>
255- version 2.3.7 bugfix release
256
257* Tue Mar 23 1999 Cristian Gafton <gafton@redhat.com>
258- version 2.3.6
259
260* Mon Mar 22 1999 Michael Johnson <johnsonm@redhat.com>
261- auth patch
262
263* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
264- auto rebuild in the new build environment (release 3)
265
266* Thu Jan 07 1999 Cristian Gafton <gafton@redhat.com>
267- build for glibc 2.1
268
269* Fri Jun  5 1998 Jeff Johnson <jbj@redhat.com>
270- updated to 2.3.5.
271
272* Tue May 19 1998 Prospector System <bugs@redhat.com>
273- translations modified for de
274
275* Fri May  8 1998 Jakub Jelinek <jj@ultra.linux.cz>
276- make it run with kernels 2.1.100 and above.
277
278* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
279- translations modified for de, fr, tr
280
281* Wed Mar 18 1998 Cristian Gafton <gafton@redhat.com>
282- requires glibc 2.0.6 or later
283
284* Wed Mar 18 1998 Michael K. Johnson <johnsonm@redhat.com>
285- updated PAM patch to not turn off wtmp/utmp/syslog logging.
286
287* Wed Jan  7 1998 Cristian Gafton <gafton@redhat.com>
288- added the /etc/pam.d config file
289- updated PAM patch to include session support
290
291* Tue Jan  6 1998 Cristian Gafton <gafton@redhat.com>
292- updated to ppp-2.3.3, build against glibc-2.0.6 - previous patches not
293  required any more.
294- added buildroot
295- fixed the PAM support, which was really, completely broken and against any
296  standards (session support is still not here... :-( )
297- we build against running kernel and pray that it will work
298- added a samples patch; updated glibc patch
299
300* Thu Dec 18 1997 Erik Troan <ewt@redhat.com>
301- added a patch to use our own route.h, rather then glibc's (which has
302  alignment problems on Alpha's) -- I only applied this patch on the Alpha,
303  though it should be safe everywhere
304
305* Fri Oct 10 1997 Erik Troan <ewt@redhat.com>
306- turned off the execute bit for scripts in /usr/doc
307
308* Fri Jul 18 1997 Erik Troan <ewt@redhat.com>
309- built against glibc
310
311* Tue Mar 25 1997 Erik Troan <ewt@redhat.com>
312- Integrated new patch from David Mosberger
313- Improved description
314
Note: See TracBrowser for help on using the repository browser.