ncpfs-vl.spec 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. Summary: Utilities for the ncpfs filesystem, a NetWare client for Linux.
  2. Name: ncpfs
  3. %define pversion 2.2.0.18
  4. Version: %{pversion}
  5. Release: 3vl1
  6. Copyright: GPL
  7. Source: ftp://ftp.platan.vc.cvut.cz/pub/linux/ncpfs/ncpfs-%{version}/ncpfs-%{pversion}.tgz
  8. Group: Applications/System
  9. Requires: ipxutils
  10. Buildroot: %{_tmppath}/%{name}-%{version}-root
  11. %description
  12. Ncpfs is a filesystem which understands the Novell NetWare(TM) NCP
  13. protocol. Functionally, NCP is used for NetWare the way NFS is used
  14. in the TCP/IP world. For a Linux system to mount a NetWare
  15. filesystem, it needs a special mount program. The ncpfs package
  16. contains such a mount program plus other tools for configuring and
  17. using the ncpfs filesystem.
  18. Install the ncpfs package if you need to use the ncpfs filesystem
  19. to use Novell NetWare files or services.
  20. %package -n ipxutils
  21. Summary: Tools for configuring and debugging IPX interfaces and networks.
  22. Group: Applications/System
  23. %description -n ipxutils
  24. The ipxutils package includes utilities for configuring and debugging
  25. IPX interfaces and networks under Linux. IPX is the low-level protocol
  26. used by Novell's NetWare file server system to transfer data.
  27. Install ipxutils if you need to configure IPX networking on your
  28. network.
  29. %prep
  30. %setup -q -n ncpfs-%{pversion}
  31. %build
  32. %configure --disable-pam --disable-function-sections
  33. make
  34. make -C ipxdump
  35. mv ipxdump/README ipxdump/README.ipxdump
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. mkdir -p $RPM_BUILD_ROOT/sbin
  39. mkdir -p $RPM_BUILD_ROOT/usr/sbin
  40. %makeinstall install-dev libsodir=$RPM_BUILD_ROOT/usr/lib
  41. # Move ipx_configure/ipx_internal_net to permit /usr from NFS
  42. for i in ipx_configure ipx_internal_net ipx_interface
  43. do
  44. mv $RPM_BUILD_ROOT/usr/bin/$i $RPM_BUILD_ROOT/sbin/$i
  45. done
  46. install -m755 ipxdump/ipxdump ipxdump/ipxparse $RPM_BUILD_ROOT/usr/bin/
  47. # these could be SUID root, but it's a security hole
  48. chmod 755 $RPM_BUILD_ROOT/usr/bin/ncpmount $RPM_BUILD_ROOT/usr/bin/ncpumount
  49. ln -s mount.ncp $RPM_BUILD_ROOT/sbin/mount.ncpfs
  50. ln -s ../usr/bin/ncpmount $RPM_BUILD_ROOT/sbin/mount.ncp
  51. strip --strip-unneeded $RPM_BUILD_ROOT/usr/lib/libncp*.so.*
  52. # file list
  53. find $RPM_BUILD_ROOT -type f -or -type l | \
  54. grep -v ipx | grep -v mount.ncp.8| \
  55. sed -e "s|$RPM_BUILD_ROOT||g" | \
  56. sed -e "s|/usr/bin/nwsfind|%attr(4755,root,root) /usr/bin/nwsfind|g" > rpm.files
  57. %post -p /sbin/ldconfig
  58. %postun -p /sbin/ldconfig
  59. %clean
  60. rm -rf $RPM_BUILD_ROOT
  61. rm -f rpm.files
  62. %files -f rpm.files
  63. %defattr(-,root,root)
  64. %doc BUGS COPYING Changes FAQ README
  65. %files -n ipxutils
  66. %defattr(-,root,root)
  67. %doc ipx-1.0/COPYING ipx-1.0/README
  68. %doc ipxdump/README.ipxdump
  69. /sbin/ipx_*
  70. /usr/bin/ipx*
  71. %{_mandir}/man8/ipx*
  72. %changelog
  73. * Mon Jun 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  74. - 2.2.0.18-3vl1
  75. * Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
  76. - fix absolute symlink
  77. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  78. - automatic rebuild
  79. * Sat Jun 10 2000 Bill Nottingham <notting@redhat.com>
  80. - update to 2.2.0.18
  81. * Mon May 22 2000 Bill Nottingham <notting@redhat.com>
  82. - simply link mount.ncp to ncpmount
  83. * Tue Apr 18 2000 Bill Nottingham <notting@redhat.com>
  84. - build on alpha
  85. * Fri Mar 31 2000 Bill Nottingham <notting@redhat.com>
  86. - fix handling of large keys (#10454)
  87. * Thu Feb 3 2000 BIll Nottingham <notting@redhat.com>
  88. - fix shared library
  89. * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
  90. - fix description
  91. * Tue Jan 11 2000 Bill Nottingham <notting@redhat.com>
  92. - update to 2.2.0.17
  93. * Thu Jul 15 1999 Bill Nottingham <notting@redhat.com>
  94. - add patch to update to 2.2.0.16.a (#4051)
  95. * Tue Jul 6 1999 Bill Nottingham <notting@redhat.com>
  96. - oops, left ipx_interface out of %files
  97. * Mon Jun 14 1999 Bill Nottingham <notting@redhat.com>
  98. - update to 2.2.0.16
  99. - fix mount.ncp USER arg
  100. * Thu May 13 1999 Bill Nottingham <notting@redhat.com>
  101. - update to 2.2.0.15
  102. * Tue May 11 1999 Bill Nottingham <notting@redhat.com>
  103. - update to 2.2.0.14
  104. - fix bug in slist/nwsfind
  105. - move ipxdump docs to the package that it's in...
  106. * Tue Apr 6 1999 Bill Nottingham <notting@redhat.com>
  107. - turn off setuid on nwsfind
  108. - move ipxutils to using ncpfs versioning for sanity reasons
  109. * Fri Mar 26 1999 Bill Nottingham <notting@redhat.com>
  110. - doesn't work on alpha, apparently
  111. - add a mount.ncp mount helper
  112. * Mon Mar 22 1999 Bill Nottingham <notting@redhat.com>
  113. - remove dangling symlink
  114. * Tue Feb 23 1999 Bill Nottingham <notting@redhat.com>
  115. - update to 2.2.0.12
  116. * Fri Jan 22 1999 Bill Nottingham <notting@redhat.com>
  117. - build for arm. Yuk.
  118. * Wed Dec 9 1998 Bill Nottingham <notting@redhat.com>
  119. - update to 2.2.0.11
  120. * Fri Sep 11 1998 Jeff Johnson <jbj@redhat.com>
  121. - update to 2.2.0.
  122. * Fri Jul 10 1998 Jeff Johnson <jbj@redhat.com>
  123. - exclusively i386 for now.
  124. * Tue Jul 7 1998 Jeff Johnson <jbj@redhat.com>
  125. - move ipx_configure/ipx_internal_net to /sbin to permit /usr from NFS.
  126. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  127. - translations modified for de, fr, tr
  128. * Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com>
  129. - manhattan rebuild
  130. - there is a new version out, 2.0.12, but it contains RSA crypto code, so
  131. it's of no use for us. :-(
  132. - buildroot and spec file cleanup
  133. * Thu Dec 18 1997 Erik Troan <ewt@redhat.com>
  134. - uid_t, gid_t, mode_t fixes for glibc 2.0.5 and linux 2.0.x
  135. * Wed Oct 23 1997 Michael Fulbright <msf@redhat.com>
  136. - added a few file which were missing from the file list
  137. * Sun Oct 19 1997 Erik Troan <ewt@redhat.com>
  138. - updated to 2.0.11
  139. - massive hacking for glibc
  140. * Thu Mar 06 1997 Michael K. Johnson <johnsonm@redhat.com>
  141. - nwrights program now included in package.