Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37039769
en ru br
Репозитории ALT
5.1: 2.2.6-alt7
4.1: 2.2.6-alt7
4.0: 2.2.6-alt6
3.0: 2.2.6-alt1
www.altlinux.org/Changes

Группа :: Сети/Прочее
Пакет: ncpfs

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: ncpfs
Version: 2.2.6
Release: alt6

Summary: Utilities for the %name filesystem, a NetWare client for Linux
License: GPL
Group: Networking/Other

Source: ftp://platan.vc.cvut.cz/pub/linux/%name/%name-%version/%name-%version.tar.gz
Source1: mount.ncp

Patch0: %name-2.2.6-alt-makefile.patch
Patch1: %name-2.2.6-alt-compile.patch
Patch2: %name-2.2.6-alt-gcc41-compile.patch
Patch3: %name-2.2.6-alt-warnings.patch

Patch10: ncpfs-2.2.3-fix.patch
Patch11: ncpfs-2.2.3-array.patch
Patch12: ncpfs-2.2.4-pie.patch
Patch13: ncpfs-2.2.6-getuid.patch
Patch15: ncpfs-2.2.6-align.patch


Requires: libncp = %version

# Automatically added by buildreq on Mon Jan 15 2007

BuildRequires: libpam-devel

#uildPreReq: gcc3.4


%package -n libncp
Summary: Shared library for access the %name filesystem
Group: System/Libraries

%package -n libncp-devel
Summary: Development environmnt for the %name filesystem
Group: Development/C
Requires: libncp = %version

%package -n ipxutils
Summary: Tools for configuring and debugging IPX interfaces and networks
Group: System/Configuration/Networking

%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 %name package
contains such a mount program plus other tools for configuring and
using the %name filesystem.

Install the %name package if you need to use the %name filesystem
to use Novell NetWare files or services.

%description -n libncp
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 %name package
contains such a mount program plus other tools for configuring and
using the %name filesystem.

This package contains shared library required to run NCP-based software.

%description -n libncp-devel
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 %name package
contains such a mount program plus other tools for configuring and
using the %name filesystem.

This package contains static library and headers required to develop
NCP-based software.

%description -n ipxutils
The ipxutils package includes utilities (ipx_configure, ipx_internal_net,
ipx_interface, ipx_route) necessary 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
%patch1 -p1
%patch2 -p1
%patch3 -p1

%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch15 -p1

%build
%configure \
--enable-pam \
--disable-function-sections \
--disable-mount-v2

%make_build
%make_build -C ipxdump
%__cp -p ipxdump/README README.ipxdump
%__cp -p contrib/pam/README README.pam_ncp

%install
%__mkdir_p %buildroot{/sbin,%_sbindir,/lib/security}
%makeinstall install-dev \
libsodir=%buildroot/%_libdir \
libadir=%buildroot/%_libdir \
LIB_PAM_SECURITY=%buildroot/lib/security

# Move these to permit /usr from NFS

for f in ipx_{configure,internal_net,interface}; do
%__mv "%buildroot/%_bindir/$f" "%buildroot/sbin/$f"
done

%__install -p -m755 ipxdump/ipx{dump,parse} %buildroot/%_bindir

%__ln_s ..%_bindir/ncpmount %buildroot/sbin/mount.ncp
%__ln_s mount.ncp %buildroot/sbin/mount.ncpfs

# These could be SUID root, but it's a security hole.

%__chmod a-s %buildroot/%_bindir/*

%find_lang %name

%post -n libncp -p %post_ldconfig
%postun -n libncp -p %postun_ldconfig


%files -n libncp
%_libdir/*.so.*

%files -n libncp-devel
%_libdir/*.so
%_libdir/*.*a
%_includedir/*
%_man3dir/*

%files -f %name.lang
/sbin/m*
%_sbindir/*
%_bindir/[nps]*
/lib/security/*
%_mandir/man1/*
%_mandir/man5/*
%_mandir/man8/n*
%_mandir/man8/mount.ncp.8*
%doc BUGS Changes ConfigFile INSTALL FAQ README README.pam_ncp

%files -n ipxutils
/sbin/ipx*
%_bindir/ipx*
%_man8dir/ipx*
%doc ipx-1.0/COPYING ipx-1.0/README README.ipxdump

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin