Репозитории 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
%define basever 4
Version: %basever.0
Release: ipl17mdk
Summary: A program which manages RPC connections
License: BSD
Group: System/Servers
Source0: ftp://coast.cs.purdue.edu/pub/tools/unix/%name/%{name}_%basever.tar.bz2
Source1: %name.init
Source2: pmap_set.8
Source3: pmap_dump.8
Source4: %name.8
Patch1: %name-4.0-alt-makefile.patch
Patch2: %name-4.0-rh-cleanup.patch
Patch3: %name-4.0-rh-droppriv.patch
Patch4: %name-4.0-rh-sigpipe.patch
Patch5: %name-4.0-rh-errno.patch
PreReq: shadow-utils, service
# Automatically added by buildreq on Mon Nov 18 2002
BuildRequires: libwrap-devel
%description
The portmapper program is a security tool which prevents theft of NIS
(YP), NFS and other sensitive information via the portmapper. A
portmapper manages RPC connections, which are used by protocols like
NFS and NIS.
The %name package should be installed on any machine which acts as a
server for protocols using RPC.
%prep
%setup -q -n %{name}_%basever
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
find -type f -name \*.orig -print -delete
%build
make FACILITY=LOG_AUTHPRIV ZOMBIES='-DIGNORE_SIGCHLD -Dlint' LIBS="-lnsl -lwrap" AUX=
%install
mkdir -p $RPM_BUILD_ROOT{/sbin,%_sbindir,%_man8dir}
install -p -m755 %name $RPM_BUILD_ROOT/sbin/
install -p -m755 pmap_{set,dump} $RPM_BUILD_ROOT%_sbindir/
install -pD -m755 $RPM_SOURCE_DIR/%name.init $RPM_BUILD_ROOT%_initdir/%name
install -p -m644 $RPM_SOURCE_DIR/{%name,pmap_{set,dump}}.8 $RPM_BUILD_ROOT%_man8dir/
%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_service %name
%preun
%preun_service %name
%files
/sbin/*
%_sbindir/*
%_mandir/man?/*
%config %_initdir/%name
%doc README CHANGES BLURB
%changelog
…
Полный changelog можно просмотреть здесь
%define basever 4
Version: %basever.0
Release: ipl17mdk
Summary: A program which manages RPC connections
License: BSD
Group: System/Servers
Source0: ftp://coast.cs.purdue.edu/pub/tools/unix/%name/%{name}_%basever.tar.bz2
Source1: %name.init
Source2: pmap_set.8
Source3: pmap_dump.8
Source4: %name.8
Patch1: %name-4.0-alt-makefile.patch
Patch2: %name-4.0-rh-cleanup.patch
Patch3: %name-4.0-rh-droppriv.patch
Patch4: %name-4.0-rh-sigpipe.patch
Patch5: %name-4.0-rh-errno.patch
PreReq: shadow-utils, service
# Automatically added by buildreq on Mon Nov 18 2002
BuildRequires: libwrap-devel
%description
The portmapper program is a security tool which prevents theft of NIS
(YP), NFS and other sensitive information via the portmapper. A
portmapper manages RPC connections, which are used by protocols like
NFS and NIS.
The %name package should be installed on any machine which acts as a
server for protocols using RPC.
%prep
%setup -q -n %{name}_%basever
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
find -type f -name \*.orig -print -delete
%build
make FACILITY=LOG_AUTHPRIV ZOMBIES='-DIGNORE_SIGCHLD -Dlint' LIBS="-lnsl -lwrap" AUX=
%install
mkdir -p $RPM_BUILD_ROOT{/sbin,%_sbindir,%_man8dir}
install -p -m755 %name $RPM_BUILD_ROOT/sbin/
install -p -m755 pmap_{set,dump} $RPM_BUILD_ROOT%_sbindir/
install -pD -m755 $RPM_SOURCE_DIR/%name.init $RPM_BUILD_ROOT%_initdir/%name
install -p -m644 $RPM_SOURCE_DIR/{%name,pmap_{set,dump}}.8 $RPM_BUILD_ROOT%_man8dir/
%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_service %name
%preun
%preun_service %name
%files
/sbin/*
%_sbindir/*
%_mandir/man?/*
%config %_initdir/%name
%doc README CHANGES BLURB
%changelog
…
Полный changelog можно просмотреть здесь