Репозитории ALT
5.1: | 6.0-alt1 |
4.1: | 6.0-alt1 |
4.0: | 4.0-alt2 |
3.0: | 4.0-ipl17mdk |
Группа :: Система/Серверы
Пакет: portmap
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: portmap
Version: 6.0
Release: alt1
Serial: 1
Summary: RPC port mapper
License: BSD
Group: System/Servers
Url: http://neil.brown.name/portmap/
Packager: Dmitry V. Levin <ldv at altlinux.org>
# http://neil.brown.name/portmap/portmap-6.0.tgz
Source: portmap-%version-%release.tar
BuildRequires: libwrap-devel
%description
Portmap is a server that converts RPC (Remote Procedure Call) program
numbers into DARPA protocol port numbers. It must be running in order
to make RPC calls.
Services that use RPC include NFS and NIS.
%prep
%setup -q -n %name-%version-%release
%build
export CFLAGS='%optflags'
%make_build FACILITY=LOG_AUTHPRIV RPCUSER=rpc
%install
%make_install install DESTDIR=%buildroot
install -pDm755 portmap.init \
%buildroot%_initdir/portmap
install -pDm600 portmap.sysconfig \
%buildroot%_sysconfdir/sysconfig/portmap
install -pDm755 portmap.control \
%buildroot%_controldir/portmap
%pre
%pre_control portmap
%post
/usr/sbin/groupadd -r -f rpc
/usr/sbin/useradd -r -g rpc -d / -s /dev/null -c 'Portmapper RPC user' -n rpc >/dev/null 2>&1 ||:
%post_control -s local portmap
%post_service portmap
%preun
%preun_service portmap
%files
/sbin/*
%_mandir/man?/*
%config %_initdir/portmap
%_controldir/portmap
%config(noreplace) %_sysconfdir/sysconfig/portmap
%doc copyright CHANGES README* BLURB*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 6.0
Release: alt1
Serial: 1
Summary: RPC port mapper
License: BSD
Group: System/Servers
Url: http://neil.brown.name/portmap/
Packager: Dmitry V. Levin <ldv at altlinux.org>
# http://neil.brown.name/portmap/portmap-6.0.tgz
Source: portmap-%version-%release.tar
BuildRequires: libwrap-devel
%description
Portmap is a server that converts RPC (Remote Procedure Call) program
numbers into DARPA protocol port numbers. It must be running in order
to make RPC calls.
Services that use RPC include NFS and NIS.
%prep
%setup -q -n %name-%version-%release
%build
export CFLAGS='%optflags'
%make_build FACILITY=LOG_AUTHPRIV RPCUSER=rpc
%install
%make_install install DESTDIR=%buildroot
install -pDm755 portmap.init \
%buildroot%_initdir/portmap
install -pDm600 portmap.sysconfig \
%buildroot%_sysconfdir/sysconfig/portmap
install -pDm755 portmap.control \
%buildroot%_controldir/portmap
%pre
%pre_control portmap
%post
/usr/sbin/groupadd -r -f rpc
/usr/sbin/useradd -r -g rpc -d / -s /dev/null -c 'Portmapper RPC user' -n rpc >/dev/null 2>&1 ||:
%post_control -s local portmap
%post_service portmap
%preun
%preun_service portmap
%files
/sbin/*
%_mandir/man?/*
%config %_initdir/portmap
%_controldir/portmap
%config(noreplace) %_sysconfdir/sysconfig/portmap
%doc copyright CHANGES README* BLURB*
%changelog
…
Полный changelog можно просмотреть здесь