sliplogin-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. Summary: A login program for SLIP connections.
  2. Name: sliplogin
  3. Version: 2.1.1
  4. Release: 11%{?_dist_release}
  5. License: BSD
  6. Group: Applications/Communications
  7. Source0: ftp://sunsite.unc.edu/pub/Linux/system/network/serial/sliplogin-%{version}.tar.gz
  8. Patch0: sliplogin-2.1.0-misc.patch
  9. Patch1: sliplogin-2.1.1-modes.patch
  10. Patch2: sliplogin-2.1.0-path.patch
  11. Patch4: sliplogin-2.1.0-glibc.patch
  12. Patch5: sliplogin-2.1.1-includes.patch
  13. Patch6: sliplogin-2.1.1-netdev.patch
  14. Patch7: sliplogin-2.1.1-kernel24.patch
  15. BuildRoot: %{_tmppath}/sliplogin-root
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. The sliplogin utility turns the terminal line on standard input into a
  20. SLIP (Serial Line Internet Protocol) link to a remote host. Sliplogin
  21. is usually used to allow dial-in SLIP connections.
  22. Install the sliplogin package if you need to support dial-in SLIP
  23. connections.
  24. %prep
  25. %setup -q
  26. %patch0 -p1
  27. %patch1 -p1 -b .modes
  28. %patch2 -p1 -b .path
  29. %patch4 -p1 -b .glibc
  30. %patch5 -p1 -b .includes
  31. %patch6 -p1 -b .netdev
  32. %patch7 -p1 -b .kernel24
  33. %build
  34. make clean
  35. rm -f sliplogin
  36. make "RPM_OPT_FLAGS=$RPM_OPT_FLAGS" access
  37. make "RPM_OPT_FLAGS=$RPM_OPT_FLAGS"
  38. %install
  39. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  40. mkdir -p $RPM_BUILD_ROOT{%{_sysconfdir}/slip,%{_sbindir},%{_mandir}/man8}
  41. make SLIP=$RPM_BUILD_ROOT%{_sysconfdir}/slip \
  42. SBIN=$RPM_BUILD_ROOT%{_sbindir} \
  43. MAN=$RPM_BUILD_ROOT%{_mandir} \
  44. install
  45. install -m644 slip.tty $RPM_BUILD_ROOT%{_sysconfdir}/slip/
  46. install -m644 slip.hosts $RPM_BUILD_ROOT%{_sysconfdir}/slip/
  47. install -m644 slip.route $RPM_BUILD_ROOT%{_sysconfdir}/slip/
  48. install -m644 slip.passwd $RPM_BUILD_ROOT%{_sysconfdir}/slip/
  49. %clean
  50. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  51. %files
  52. %defattr(-,root,root)
  53. %doc README README.dynamic README.nis CHANGES TROUBLE_SHOOTING TODO
  54. %config %{_sysconfdir}/slip/slip.tty
  55. %config %{_sysconfdir}/slip/slip.login
  56. %config %{_sysconfdir}/slip/slip.logout
  57. %config %{_sysconfdir}/slip/slip.hosts
  58. %config %{_sysconfdir}/slip/slip.passwd
  59. %config %{_sysconfdir}/slip/slip.route
  60. %{_sbindir}/sliplogin
  61. %{_mandir}/man8/sliplogin.8*
  62. %changelog
  63. * Sat Oct 11 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.1-11vl5
  64. - applied new versioning policy
  65. * Thu Feb 07 2002 Toru Sagami <sagami@vinelinux.org> 2.1.1-10vl1
  66. - rebuild for %%{_mandir}
  67. * Tue Jul 25 2000 Jakub Jelinek <jakub@redhat.com>
  68. - fix /proc/net/dev parsing
  69. - make it compile with 2.4.0-test3 kernels
  70. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  71. - automatic rebuild
  72. * Sat Jun 3 2000 Nalin Dahyabhai <nalin@redhat.com>
  73. - FHS fixes.
  74. * Tue Mar 7 2000 Jeff Johnson <jbj@redhat.com>
  75. - rebuild for sparc baud rates > 38400.
  76. * Thu Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com>
  77. - auto rebuild in the new build environment (release 6)
  78. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  79. - auto rebuild in the new build environment (release 5)
  80. * Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com>
  81. - build against glibc 2.1
  82. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  83. - translations modified for de, fr, tr
  84. * Thu Oct 23 1997 Michael K. Johnson <johnsonm@redhat.com>
  85. - upgraded to 2.1.1
  86. - struct password needs <pwd.h>
  87. * Thu Oct 09 1997 Erik Troan <ewt@redhat.com>
  88. - removed excludearch for alpha
  89. * Fri Jul 18 1997 Erik Troan <ewt@redhat.com>
  90. - built against glibc