1 Summary: Handles the connections needed for dialup IP links
2 Summary(pl.UTF-8): 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
38 %description -l pl.UTF-8
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 potrzebuje 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