]> git.pld-linux.org Git - packages/ppp.git/blob - ppp.spec
kupa drobnych poprawek (teraz te pakiety buduja sie poprawnie)
[packages/ppp.git] / ppp.spec
1 Summary:        ppp daemon package for linux 1.3.xx and greater
2 Summary(de):    ppp-Dämonpaket für Linux 1.3.xx und höher 
3 Summary(fr):    Paquetage du démon ppp pour Linux 1.3.xx et supérieur
4 Summary(tr):    PPP sunucu süreci
5 Summary(pl):    Demon PPP dla Linux 1.3.x i wy¿szych
6 Name:           ppp
7 Version:        2.3.8
8 Release:        1 
9 Copyright:      distributable
10 Group:          Networking/Daemons
11 Group(pl):      Sieciowe/Demony
12 Source0:        ftp://cs.anu.edu.au/pub/software/ppp/%{name}-%{version}.tar.gz
13 Source1:        pppd-2.3.7-pamd.conf
14 Patch0:         ppp-make.patch
15 Patch1:         ppp-auth.patch
16 Patch2:         ppp-expect.patch
17 Patch3:         ppp-debian_scripts.patch
18 Patch4:         ppp-static.patch
19 Patch5:         ppp-log.patch
20 Buildroot:      /tmp/%{name}-%{version}-root
21
22 %description
23 This is the daemon and documentation for PPP support.  It requires a kernel
24 greater than 2.0 which is built with PPP support. The default kernels include 
25 PPP support as a module.
26
27 %description -l de
28 Dies ist der Dämon und die Dokumentation für PPP-Support. Erfordert
29 einen Kernel höher als 2.0, der mit PPP-Support gebaut ist. Die Standard-
30 Red-Hat-Kernel schließen PPP-Support als Modul ein.
31
32 %description -l fr
33 Ceci est le démon et la documentation pour le support PPP. Cela réclame
34 un noyau supérieur au 2.0 et construit avec le support PPP. Le noyau par
35 défaut de Red Hat contient le support PPP sous forme de module.
36
37 %description -l tr
38 Bu paket PPP desteði için belgeler ve sunucu sürecini içerir. Çekirdek
39 sürümünun 2.0'dan daha yüksek olmasýný gerektirir. Öntanýmlý Red Hat
40 çekirdeði PPP desteðini bir modül olarak içerir.
41
42 %description -l pl
43 Pakiet zawiera demona i dokumentacjê umo¿liwiaj±c± korzystanie z protoko³u
44 PPP. Wymaga jadra 2.0 - lub wy¿szych - z wkompilowan± obs³ug± protoko³u PPP. 
45 Standardowe j±dro z dytrybucji zawiera wsparcie dla PPP skompilowane jako 
46 modu³.
47
48 %prep
49 %setup -q 
50 %patch0 -p1 
51 %patch1 -p1 -b .auth
52 %patch2 -p1 
53 %patch3 -p1 
54 %patch4 -p1
55 %patch5 -p1
56
57 %build
58 %configure
59 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" 
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 install -d $RPM_BUILD_ROOT%{sbindir}
65 install -d $RPM_BUILD_ROOT%{bindir}
66 install -d $RPM_BUILD_ROOT%{mandir}/man1
67 install -d $RPM_BUILD_ROOT%{mandir}/man8
68 install -d $RPM_BUILD_ROOT/etc/pam.d
69 install -d $RPM_BUILD_ROOT/etc/ppp/peers
70 install -d $RPM_BUILD_ROOT/etc/ppp/chatscripts
71
72 make install TOPDIR=$RPM_BUILD_ROOT
73
74 install etc.ppp/chap-secrets       $RPM_BUILD_ROOT/etc/ppp
75 install debian/{plog,poff,pon}     $RPM_BUILD_ROOT%{_bindir}
76 install debian/*.1                 $RPM_BUILD_ROOT%{_mandir}/man1
77 install debian/pap-secrets         $RPM_BUILD_ROOT/etc/ppp
78 install debian/options             $RPM_BUILD_ROOT/etc/ppp
79 install debian/options.ttyXX       $RPM_BUILD_ROOT/etc/ppp
80 install debian/provider            $RPM_BUILD_ROOT/etc/ppp/peers
81 install debian/provider.chatscript $RPM_BUILD_ROOT/etc/ppp/chatscripts/provider
82
83 rm -f scripts/README
84
85 install %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/ppp
86
87 strip $RPM_BUILD_ROOT%{_sbindir}/*
88
89 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man[18]/* \
90         README.linux debian/README.debian debian/win95.ppp \
91         README.MSCHAP80 FAQ debian/ppp-2.3.0.STATIC.README
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %files
97 %defattr(644,root,root,755)
98 %doc {README.linux,debian/README.debian}.gz scripts
99 %doc {debian/win95.ppp,README.MSCHAP80,FAQ,debian/ppp-2.3.0.STATIC.README}.gz
100
101 %attr(755,root,root) %{_bindir}/*
102 %attr(755,root,root) %{_sbindir}/chat
103 %attr(755,root,root) %{_sbindir}/pppstats
104 %attr(0755,root,root) %{_sbindir}/pppd
105 %{_mandir}/man[18]/*
106
107 %attr(711,root,root) %dir /etc/ppp/peers
108 %attr(711,root,root) %dir /etc/ppp/chatscripts
109
110 %attr(600,root,root) %config %verify(not size mtime md5) /etc/ppp/*-secrets
111 %attr(644,root,root) %config %verify(not size mtime md5) /etc/ppp/options*
112 %attr(640,root,root) %config %verify(not size mtime md5) /etc/pam.d/ppp
113 %attr(640,root,root) %config %verify(not size mtime md5) /etc/ppp/peers/provider
114 %attr(640,root,root) %config %verify(not size mtime md5) /etc/ppp/chatscripts/provider
115
116 %changelog
117 * Sun Jun 06 1999 Jan Rêkorajski <baggins@pld.org.pl>
118   [2.3.8-1]
119 - small fixes
120
121 * Wed Apr 28 1999 Piotr Czerwiñski <pius@pld.org.pl>
122   [2.3.7-1]
123 - updated to 2.3.7,
124 - removed ppp-2.3.5-glibc.diff,
125 - added ppp-auth.patch,
126 - split ppp-2.3.5.debian.patch into separate patches,
127 - updated all patches for new version,
128 - simplifications in %install,
129 - changes in %files,
130 - fixed passing RPM_OPT_FLAGS during compilation,
131 - added stripping binaries,
132 - major changes,
133 - recompiled on rpm 3.
134
135 * Tue Feb 02 1999 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
136   [2.3.5-3d]
137 - added debian patch
138 - corrected permissions
139
140 * Mon Aug 31 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
141   [2.3.5-1d]
142 - build against glibc-2.1,
143 - changed permissions of all binaries to 711,
144 - build from non root's account,
145 - build with PAM support,
146 - added md5 support.
147
148 * Wed Aug 26 1998 Krzysztof G. Baranowski <kgb@knm.org.pl>
149   [2.3.5-1]
150 - build against glibc-2.0.7,
151 - translations modified for pl,
152 - added small patch to solve problems with glibc.
153
154 * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
155 - translations modified for de, fr, tr
156
157 * Wed Mar 18 1998 Cristian Gafton <gafton@redhat.com>
158 - requires glibc 2.0.6 or later
159
160 * Wed Mar 18 1998 Michael K. Johnson <johnsonm@redhat.com>
161 - updated PAM patch to not turn off wtmp/utmp/syslog logging.
162
163 * Wed Jan  7 1998 Cristian Gafton <gafton@redhat.com>
164 - added the /etc/pam.d config file
165 - updated PAM patch to include session support
166
167 * Tue Jan  6 1998 Cristian Gafton <gafton@redhat.com>
168 - updated to ppp-2.3.3, build against glibc-2.0.6 - previous patches not
169   required any more.
170 - added buildroot
171 - fixed the PAM support, which was really, completely broken and against any
172   standards (session support is still not here... :-( )
173 - we build against running kernel and pray that it will work
174 - added a samples patch; updated glibc patch
175
176 * Thu Dec 18 1997 Erik Troan <ewt@redhat.com>
177 - added a patch to use our own route.h, rather then glibc's (which has
178   alignment problems on Alpha's) -- I only applied this patch on the Alpha,
179   though it should be safe everywhere
180
181 * Fri Oct 10 1997 Erik Troan <ewt@redhat.com>
182 - turned off the execute bit for scripts in /usr/doc
183
184 * Fri Jul 18 1997 Erik Troan <ewt@redhat.com>
185 - built against glibc
186
187 * Tue Mar 25 1997 Erik Troan <ewt@redhat.com>
188 - Integrated new patch from David Mosberger
189 - Improved description%files
This page took 0.039487 seconds and 3 git commands to generate.