1 Summary: Handles the connections needed for dialup IP links
2 Summary(pl): Obs³uga po³±czeñ wdzwanianych
7 Group: Applications/Communications
8 Source0: ftp://sunsite.unc.edu/pub/Linux/system/network/serial/%{name}337o-uri.tgz
9 # Source0-md5: 45fc2a9abbcb3892648933cadf7ba090
10 Patch0: %{name}-3.3.7o-misc.patch
11 Patch1: %{name}-3.3.7o-suffix.patch
12 Patch2: %{name}-3.3.7o-fsstnd.patch
13 Patch3: %{name}-3.3.7o-glibc.patch
14 Patch4: %{name}-3.3.7o-sparc.patch
15 Patch5: %{name}-3.3.7o-andor.patch
16 Patch6: %{name}-arm.patch
17 Patch7: %{name}-3.3.7o-skey.patch
18 Patch8: %{name}-3.3.7o-jbj.patch
19 Patch9: %{name}-3.3.7o-timeout.patch
20 Patch10: %{name}-3.3.7o-lockfile.patch
21 Patch11: %{name}-3.3.7o-asm.patch
22 Patch12: %{name}-3.3.7o-db.patch
23 Patch13: %{name}-3.3.7o-types.patch
24 Requires(post,preun): grep
25 Requires(preun): fileutils
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Dip is a modem dialer. Dip handles the connections needed for dialup
30 IP links like SLIP or PPP. Dip can handle both incoming and outgoing
31 connections, using password security for incoming connections. Dip is
32 useful for setting up PPP and SLIP connections, but isn't required for
33 either. Netcfg uses dip for setting up SLIP connections.
35 Install dip if you need a utility which will handle dialup IP
39 Dip jest narzêdziem do dzwonienia za pomoc± modemu. Obs³uguje
40 po³±czenia IP takie jak SLIP czy PPP. Dip obs³uguje zarówno po³±czenia
41 przychodz±ce jak i wychodz±ce, przy czym bezpieczeñstwo po³±czeñ
42 przychodz±cych opiera siê na has³ach. Mo¿na wykorzystaæ dip do
43 ustawienia po³±czeñ PPP i SLIP, ale nie jest do tego niezbêdny. Netcfg
44 u¿ywa dip do ustawienia po³±czeñ SLIP. Nale¿y zainstalowaæ dip je¶li
45 potzrbuje siê narzêdzia do obs³ugi modemowych po³±czeñ IP.
70 %{__make} RPM_OPT_FLAGS="%{rpmcflags}"
73 rm -rf $RPM_BUILD_ROOT
74 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
76 install -c dip $RPM_BUILD_ROOT%{_sbindir}
77 ln -sf dip $RPM_BUILD_ROOT%{_sbindir}/diplogin
79 install dip.8 $RPM_BUILD_ROOT%{_mandir}/man8
80 echo ".so dip.8" > $RPM_BUILD_ROOT%{_mandir}/man8/diplogin.8
83 rm -rf $RPM_BUILD_ROOT
87 if [ ! -f /etc/shells ]; then
88 echo "/usr/sbin/diplogin" > /etc/shells
90 if ! grep -q '^/usr/sbin/diplogin$' /etc/shells; then
91 echo "/usr/sbin/diplogin" >> /etc/shells
96 if [ "$1" = "0" ]; then
98 grep -v /usr/sbin/diplogin /etc/shells > /etc/shells.new
99 mv -f /etc/shells.new /etc/shells
103 %defattr(644,root,root,755)
104 %attr(755,root,uucp) %{_sbindir}/dip
105 %attr(755,root,root) %{_sbindir}/diplogin