Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37560900
en ru br
Репозитории ALT
S:2.0.0-alt4
5.1: 1.2.1-alt2.2.M51.1
4.1: 1.2.1-alt2.1
4.0: 1.2.1-alt2.1
3.0: 1.1.5-alt4
www.altlinux.org/Changes

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

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

Name: openslp
Summary: OpenSLP implementation of Service Location Protocol V2
Version: 1.1.5
Release: alt4
Group: Networking/Other
License: Distributable

Source0: %name-%version.tar.gz
Source1: %name.init

Patch1: 01_head.patch
Patch2: 02_openslp.patch
Patch3: 03_auth.patch
Patch4: 04_extensions.patch
Patch5: 05_slptool-timeout.patch

# Automatically added by buildreq on Mon Sep 13 2004

BuildRequires: flex gcc-c++ libssl-devel libstdc++-devel

%description
Service Location Protocol is an IETF standards track protocol that
provides a framework to allow networking applications to discover the
existence, location, and configuration of networked services in
enterprise networks.

OpenSLP is an open source implementation of the SLPv2 protocol as
defined

by RFC 2608 and RFC 2614.  This package includes the daemon, libraries,
header files and documentation.

%package daemon
Summary: OpenSLP implementation of Service Location Protocol V2
Group: System/Servers

%description daemon
Service Location Protocol is an IETF standards track protocol that
provides a framework to allow networking applications to discover the
existence, location, and configuration of networked services in
enterprise networks.

This package contains the SLP server. Every system, which provide any
services which should be used via a SLP client must run this server and
register the service.

%package doc
Summary: openslp project documentation
Group: Books/Computer books

%description doc
The OpenSLP project is an effort to develop an open-source implementation of
Service Location Protocol suitable for commercial and non-commercial
application. This package contains openslp project documentation.

%package -n lib%name
Summary: openslp project libraries
Group: System/Libraries

%description -n lib%name
The OpenSLP project is an effort to develop an open-source implementation of
Service Location Protocol suitable for commercial and non-commercial
application. This package contains openslp project libraries.

%package -n lib%name-devel
Summary: openslp project development headers
Group: Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
The OpenSLP project is an effort to develop an open-source implementation of
Service Location Protocol suitable for commercial and non-commercial
application. This package contains openslp project development headers.

%prep

%setup -q -n %name-%version

%patch1 -p0
%patch2 -p0
%patch3 -p0
%patch4 -p0
%patch5 -p0

autoreconf --force --install

%build

./configure --prefix=%prefix \
   --sysconfdir=%_sysconfdir \
   --sharedstatedir=%_datadir \
   --localstatedir=/var \
   --enable-slpv1 \
   --enable-async-api \
   --enable-slpv2-security \
   --libdir=%_libdir
%make_build

%install
%make_build DESTDIR=%buildroot install
%__mkdir_p %buildroot%_docdir

%__mkdir_p %buildroot%_initdir
%__mkdir_p %buildroot%_sysconfdir/slp.reg.d

%__mv %buildroot%prefix/doc/%name-%version  %buildroot%_docdir/

%__install %SOURCE1 %buildroot%_initdir/slpd

%__ln_s ../../%_initdir/slpd %buildroot%_sbindir/rcslpd
%__ln_s ../../%_initdir/slpd %buildroot%_sbindir/rcopenslp

%post daemon
%post_service slpd

%preun daemon
%preun_service slpd

%post -n lib%name
%post_ldconfig

%postun -n lib%name
%postun_ldconfig

%files
%_bindir/*
%config(noreplace) %_sysconfdir/slp.conf
%config(noreplace) %_sysconfdir/slp.spi

%files daemon
%attr(755,root,root) %config(noreplace) %_initdir/slpd
%config(noreplace) %_sysconfdir/slp.reg
%dir %_sysconfdir/slp.reg.d/
%_sbindir/*

%files doc

%dir %_docdir/%name-%version
%doc %_docdir/%name-%version/*

%files -n lib%name

%_libdir/*.so*

%files -n lib%name-devel

%_includedir/*

%changelog

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

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