Summary: Utilities for the ncpfs filesystem, a NetWare client for Linux. Name: ncpfs Version: 2.2.4 Release: 1.ker.rhel3 License: GPL Source: http://ftp.cvut.cz/ncpfs/ncpfs-%{version}.tar.gz Patch: ncpfs-2.2.3-fix.patch Patch1: ncpfs-2.2.3-array.patch Patch2: ncpfs-2.2.3-lvalue.patch Group: Applications/System Requires: ipxutils Buildroot: %{_tmppath}/%{name}-%{version}-root %description Ncpfs is a filesystem which understands the Novell NetWare(TM) NCP protocol. Functionally, NCP is used for NetWare the way NFS is used in the TCP/IP world. For a Linux system to mount a NetWare filesystem, it needs a special mount program. The ncpfs package contains such a mount program plus other tools for configuring and using the ncpfs filesystem. Install the ncpfs package if you need to use the ncpfs filesystem to use Novell NetWare files or services. %package -n ipxutils Summary: Tools for configuring and debugging IPX interfaces and networks. Group: Applications/System %description -n ipxutils The ipxutils package includes utilities for configuring and debugging IPX interfaces and networks under Linux. IPX is the low-level protocol used by Novell's NetWare file server system to transfer data. Install ipxutils if you need to configure IPX networking on your network. %prep %setup -q %patch -p1 %patch1 -p1 %patch2 -p1 %build %configure --disable-pam --disable-function-sections --disable-php make make -C ipxdump mv ipxdump/README ipxdump/README.ipxdump %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/sbin mkdir -p $RPM_BUILD_ROOT/usr/sbin mkdir -p $RPM_BUILD_ROOT%{_libdir} %makeinstall install-dev libsodir=$RPM_BUILD_ROOT%{_libdir} libadir=$RPM_BUILD_ROOT%{_libdir} # Move ipx_configure/ipx_internal_net to permit /usr from NFS for i in ipx_configure ipx_internal_net ipx_interface ; do mv $RPM_BUILD_ROOT/usr/bin/$i $RPM_BUILD_ROOT/sbin/$i done install -m755 ipxdump/ipxdump ipxdump/ipxparse $RPM_BUILD_ROOT/usr/bin/ # these could be SUID root, but it's a security hole chmod 755 $RPM_BUILD_ROOT/usr/bin/ncpmount $RPM_BUILD_ROOT/usr/bin/ncpumount ln -s mount.ncp $RPM_BUILD_ROOT/sbin/mount.ncpfs ln -s ../usr/bin/ncpmount $RPM_BUILD_ROOT/sbin/mount.ncp /sbin/ldconfig -n $RPM_BUILD_ROOT/%{_libdir} # file list find $RPM_BUILD_ROOT -type f -or -type l | \ grep -v ipx | grep -v mount.ncp.8| \ sed -e "s|$RPM_BUILD_ROOT||g" | \ grep -v "/usr/share/locale" | \ sed -e "s|/usr/bin/nwsfind|%attr(4755,root,root) /usr/bin/nwsfind|g" > rpm.files # remove unpackaged files from the buildroot rm -f $RPM_BUILD_ROOT%{_includedir}/ncp/{ipxlib.h,kernel/ipx.h} %find_lang %name cat %{name}.lang >> rpm.files %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT rm -f rpm.files %files -f rpm.files %defattr(-,root,root) %doc BUGS COPYING Changes FAQ README /usr/include %files -n ipxutils %defattr(-,root,root) %doc ipx-1.0/COPYING ipx-1.0/README %doc ipxdump/README.ipxdump /sbin/ipx_* /usr/bin/ipx* %{_mandir}/man8/ipx* %changelog * Wed May 26 2004 Milan Kerslager 2.2.4-1.ker.rhel3 - rebuild for RHEL3 (package from FC2) * Thu Mar 18 2004 Thomas Woerner 2.2.4-1 - new version 2.2.4 - fixed old gcc cast-as-lvalue * Tue Mar 02 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Mon Feb 02 2004 Karsten Hopp 2.2.3-3 - fix array usage (#110897) * Wed Jan 07 2004 Florian La Roche - add patch from Dave Jones * Fri Aug 01 2003 Florian La Roche - update to 2.2.3 * Wed Jun 04 2003 Elliot Lee - rebuilt * Sat Feb 08 2003 Florian La Roche - update to 2.2.1 bugfix release * Tue Feb 04 2003 Florian La Roche - add symlink to shared libs * Wed Jan 22 2003 Tim Powers - rebuilt * Wed Nov 27 2002 Tim Powers 2.2.0.18-12 - remove unpackaged files from the buildroot - lib64'ize * Thu Jul 11 2002 Florian La Roche - fix dang symlink #68471 * Fri Jun 21 2002 Tim Powers - automated rebuild * Mon Jun 17 2002 Florian La Roche - do not install into real root filesystem - fix overall compilation problems * Thu May 23 2002 Tim Powers - automated rebuild * Tue Jan 28 2002 Bill Nottingham - rebuild * Mon Jul 16 2001 Trond Eivind Glomsrød - s/Copyright/License/ - langify - Don't explicitly strip - Use %%{_tmppath} - Don't define version outside the headers * Sun Jun 24 2001 Elliot Lee - Bump release + rebuild. * Fri Jul 21 2000 Bill Nottingham - fix absolute symlink * Wed Jul 12 2000 Prospector - automatic rebuild * Sat Jun 10 2000 Bill Nottingham - update to 2.2.0.18 * Mon May 22 2000 Bill Nottingham - simply link mount.ncp to ncpmount * Tue Apr 18 2000 Bill Nottingham - build on alpha * Fri Mar 31 2000 Bill Nottingham - fix handling of large keys (#10454) * Thu Feb 3 2000 BIll Nottingham - fix shared library * Wed Feb 02 2000 Cristian Gafton - fix description * Tue Jan 11 2000 Bill Nottingham - update to 2.2.0.17 * Thu Jul 15 1999 Bill Nottingham - add patch to update to 2.2.0.16.a (#4051) * Tue Jul 6 1999 Bill Nottingham - oops, left ipx_interface out of %files * Mon Jun 14 1999 Bill Nottingham - update to 2.2.0.16 - fix mount.ncp USER arg * Thu May 13 1999 Bill Nottingham - update to 2.2.0.15 * Tue May 11 1999 Bill Nottingham - update to 2.2.0.14 - fix bug in slist/nwsfind - move ipxdump docs to the package that it's in... * Tue Apr 6 1999 Bill Nottingham - turn off setuid on nwsfind - move ipxutils to using ncpfs versioning for sanity reasons * Fri Mar 26 1999 Bill Nottingham - doesn't work on alpha, apparently - add a mount.ncp mount helper * Mon Mar 22 1999 Bill Nottingham - remove dangling symlink * Tue Feb 23 1999 Bill Nottingham - update to 2.2.0.12 * Fri Jan 22 1999 Bill Nottingham - build for arm. Yuk. * Wed Dec 9 1998 Bill Nottingham - update to 2.2.0.11 * Fri Sep 11 1998 Jeff Johnson - update to 2.2.0. * Fri Jul 10 1998 Jeff Johnson - exclusively i386 for now. * Tue Jul 7 1998 Jeff Johnson - move ipx_configure/ipx_internal_net to /sbin to permit /usr from NFS. * Thu May 07 1998 Prospector System - translations modified for de, fr, tr * Mon Apr 13 1998 Cristian Gafton - manhattan rebuild - there is a new version out, 2.0.12, but it contains RSA crypto code, so it's of no use for us. :-( - buildroot and spec file cleanup * Thu Dec 18 1997 Erik Troan - uid_t, gid_t, mode_t fixes for glibc 2.0.5 and linux 2.0.x * Wed Oct 23 1997 Michael Fulbright - added a few file which were missing from the file list * Sun Oct 19 1997 Erik Troan - updated to 2.0.11 - massive hacking for glibc * Thu Mar 06 1997 Michael K. Johnson - nwrights program now included in package.