Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 2c9062af3c33b15e9928d80ce09b878f > files > 10

ncpfs-2.2.6-13.fc13.src.rpm

Summary: Utilities for the ncpfs filesystem, a NetWare client for Linux
Name: ncpfs
Version: 2.2.6
Release: 13%{?dist}
License: GPL+
URL: ftp://platan.vc.cvut.cz/pub/linux/ncpfs/
Source: http://ftp.cvut.cz/ncpfs/ncpfs-%{version}.tar.gz
Patch0: ncpfs-2.2.3-fix.patch
Patch1: ncpfs-2.2.4-pie.patch
Patch2: ncpfs-2.2.6-getuid.patch
Patch3: ncpfs-2.2.4-gcc4.patch
Patch4: ncpfs-2.2.6-ldconfig.patch
Patch5: ncpfs-2.2.6-align.patch
Patch6: ncpfs-2.2.6-offsetof.patch
Patch7: ncpfs-2.2.6-mount-issue.patch
Group: Applications/System
Requires: ipxutils
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gettext

%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 devel
Summary: Files needed for developing applications which use libncp
Group: Development/Libraries
Requires: ncpfs = %{version}-%{release}

%description devel
The ncpfs-devel package contains header files and other files useful for
developing applications with libncp.

%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
%patch0 -p1 -b .fix
%patch1 -p1 -b .pie
%patch2 -p1 -b .getuid
%patch3 -p1 -b .gcc4
%patch4 -p1 -b .ld
%patch5 -p1 -b .align
%patch6 -p1 -b .offsetof
%patch7 -p1 -b .mount-issue

%build
%ifarch s390 s390x
perl -pi -e 's/-fpie/-fPIE/' sutil/Makefile.in
%endif
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
%configure --disable-pam --disable-function-sections --disable-php
make
make -C ipxdump
mv ipxdump/README ipxdump/README.ipxdump

%install
rm -rf $RPM_BUILD_ROOT

make install install-dev DESTDIR="$RPM_BUILD_ROOT"
make -C ipxdump install DESTDIR="$RPM_BUILD_ROOT"

# Move ipx_configure/ipx_internal_net to permit /usr from NFS
mv $RPM_BUILD_ROOT%{_bindir}/{ipx_configure,ipx_internal_net,ipx_interface} \
	$RPM_BUILD_ROOT/sbin

# these could be SUID root, but it's a security hole
chmod 755 $RPM_BUILD_ROOT%{_bindir}/{ncpmount,ncpumount}

%find_lang %name

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %name.lang
%defattr(-,root,root)
%doc BUGS COPYING Changes FAQ README
/sbin/mount.ncp*
/sbin/nwmsg
%attr(4755,root,root) %{_bindir}/nwsfind
%{_bindir}/n[cps]*
%{_bindir}/nw[^s]*
%{_bindir}/[ps]*
%{_libdir}/libncp.so.*
%{_sbindir}/nwmsg
%{_mandir}/man[^3]/[^i]*

%files devel
%defattr(-,root,root)
%{_includedir}/ncp
%{_libdir}/libncp.so
%exclude %{_libdir}/libncp.a
%{_mandir}/man3/*

%files -n ipxutils
%defattr(-,root,root)
%doc ipx-1.0/COPYING ipx-1.0/README
%doc ipxdump/README.ipxdump
/sbin/ipx_*
%{_bindir}/ipx*
%{_mandir}/man8/ipx*

%changelog
* Tue Jan 26 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.2.6-13
- Fix race condition by ncpmount/ncpumount operations (CVE-2009-3297)

* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.6-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.6-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Mon Feb 11 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.2.6-10
- Rebuild

* Wed Nov  7 2007 Stepan Kasal <skasal@redhat.com> - 2.2.6-9
- fix a typo in the summary line
- Resolves: #239216

* Thu Aug 23 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.2.6-8
- fix license
- rebuild

* Thu Feb  8 2007 Miloslav Trmac <mitr@redhat.com> - 2.2.6-7
- Add URL:
- Fix BuildRoot:
- Split development files to ncpfs-devel
- Only modify the ldconfig invocation in the Makefile instead of commenting
  it out and running ldconfig in %%install
- Don't exclude ipx header files, the other header files refer to them

  All the above thanks to a review by Jason Tibbits.
  Resolves: #226186

* Thu Nov  9 2006 Miloslav Trmac <mitr@redhat.com> - 2.2.6-6
- Add missing #include <stddef.h> to fix build
- Remove unnecessary ncpfs-2.2.3-array.patch, the overflow was fixed in
  ncpfs-2.2.4.  Note that this changes the libncp ABI.
- Clean up %%install, manually list %%files
- Drop libncp.a
- Fix some rpmlint warnings

* Mon Jul 17 2006 Jesse Keating <jkeating@redhat.com> - 2.2.6-5
- rebuild

* Fri Jun 30 2006 Martin Stransky <stransky@redhat.com> - 2.2.6-4
- added gettext to BuildRequires (#193526)

* Tue Apr 11 2006 Martin Stransky <stransky@redhat.com> - 2.2.6-3
- fix for #186683 - ncpmount needs downgrade to work properly,
  rpb_b[] needs to be aligned to 4 bytes with -fstack-protector enabled

* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.2.6-1.2.1
- bump again for double-long bug on ppc(64)

* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.2.6-1.2
- rebuilt for new gcc4.1 snapshot and glibc changes

* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt

* Fri Nov 11 2005 Martin Stransky <stransky@redhat.com> 2.2.6-1
- new upstream

* Tue Oct 4 2005 Martin Stransky <stransky@redhat.com> 2.2.4-10
- fix for #169080 (buffer overflow detected: ncplogin terminated)

* Sun Jul 31 2005 Florian La Roche <laroche@redhat.com>
- package mount.ncp.8

* Thu May 19 2005 Jiri Ryska <jryska@redhat.com>
- fixed possible buffer overflow CAN-2005-0014

* Fri Apr  8 2005 Jiri Ryska <jryska@redhat.com>
- fixed getuid security bug CAN-2005-0013
- gcc4 fix

* Wed Mar 16 2005 Elliot Lee <sopwith@redhat.com>
- rebuilt

* Wed Dec 15 2004 Jiri Ryska <jryska@redhat.com>
- Fixed buffer overflow CAN-2004-1079; #141185

* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt

* Tue May 18 2004 Jeremy Katz <katzj@redhat.com> 2.2.4-3
- rebuild

* Tue May 18 2004 Thomas Woerner <twoerner@redhat.com> 2.2.4-2
- compiling sutils PIE

* Thu Mar 18 2004 Thomas Woerner <twoerner@redhat.com> 2.2.4-1
- new version 2.2.4
- fixed old gcc cast-as-lvalue

* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt

* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt

* Mon Feb 02 2004 Karsten Hopp <karsten@redhat.de> 2.2.3-3
- fix array usage (#110897)

* Wed Jan 07 2004 Florian La Roche <Florian.LaRoche@redhat.de>
- add patch from Dave Jones

* Fri Aug 01 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- update to 2.2.3

* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt

* Sat Feb 08 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- update to 2.2.1 bugfix release

* Tue Feb 04 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- add symlink to shared libs

* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt

* Wed Nov 27 2002 Tim Powers <timp@redhat.com> 2.2.0.18-12
- remove unpackaged files from the buildroot
- lib64'ize

* Thu Jul 11 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- fix dang symlink #68471

* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild

* Mon Jun 17 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- do not install into real root filesystem
- fix overall compilation problems

* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild

* Tue Jan 28 2002 Bill Nottingham <notting@redhat.com>
- rebuild

* Mon Jul 16 2001 Trond Eivind Glomsrød <teg@redhat.com>
- s/Copyright/License/
- langify
- Don't explicitly strip
- Use %%{_tmppath}
- Don't define version outside the headers

* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
- Bump release + rebuild.

* Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
- fix absolute symlink

* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild

* Sat Jun 10 2000 Bill Nottingham <notting@redhat.com>
- update to 2.2.0.18

* Mon May 22 2000 Bill Nottingham <notting@redhat.com>
- simply link mount.ncp to ncpmount

* Tue Apr 18 2000 Bill Nottingham <notting@redhat.com>
- build on alpha

* Fri Mar 31 2000 Bill Nottingham <notting@redhat.com>
- fix handling of large keys (#10454)

* Thu Feb  3 2000 BIll Nottingham <notting@redhat.com>
- fix shared library

* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
- fix description

* Tue Jan 11 2000 Bill Nottingham <notting@redhat.com>
- update to 2.2.0.17

* Thu Jul 15 1999 Bill Nottingham <notting@redhat.com>
- add patch to update to 2.2.0.16.a (#4051)

* Tue Jul  6 1999 Bill Nottingham <notting@redhat.com>
- oops, left ipx_interface out of %%files

* Mon Jun 14 1999 Bill Nottingham <notting@redhat.com>
- update to 2.2.0.16
- fix mount.ncp USER arg

* Thu May 13 1999 Bill Nottingham <notting@redhat.com>
- update to 2.2.0.15

* Tue May 11 1999 Bill Nottingham <notting@redhat.com>
- 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 <notting@redhat.com>
- turn off setuid on nwsfind
- move ipxutils to using ncpfs versioning for sanity reasons

* Fri Mar 26 1999 Bill Nottingham <notting@redhat.com>
- doesn't work on alpha, apparently
- add a mount.ncp mount helper

* Mon Mar 22 1999 Bill Nottingham <notting@redhat.com>
- remove dangling symlink

* Tue Feb 23 1999 Bill Nottingham <notting@redhat.com>
- update to 2.2.0.12

* Fri Jan 22 1999 Bill Nottingham <notting@redhat.com>
- build for arm. Yuk.

* Wed Dec  9 1998 Bill Nottingham <notting@redhat.com>
- update to 2.2.0.11

* Fri Sep 11 1998 Jeff Johnson <jbj@redhat.com>
- update to 2.2.0.

* Fri Jul 10 1998 Jeff Johnson <jbj@redhat.com>
- exclusively i386 for now.

* Tue Jul  7 1998 Jeff Johnson <jbj@redhat.com>
- move ipx_configure/ipx_internal_net to /sbin to permit /usr from NFS.

* Thu May 07 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr

* Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com>
- 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 <ewt@redhat.com>
- uid_t, gid_t, mode_t fixes for glibc 2.0.5 and linux 2.0.x

* Wed Oct 23 1997 Michael Fulbright <msf@redhat.com>
- added a few file which were missing from the file list

* Sun Oct 19 1997 Erik Troan <ewt@redhat.com>
- updated to 2.0.11
- massive hacking for glibc

* Thu Mar 06 1997 Michael K. Johnson <johnsonm@redhat.com>
- nwrights program now included in package.