43 lines
2.0 KiB
YAML
43 lines
2.0 KiB
YAML
name : openslp
|
|
version : 2.0.0
|
|
release : 1
|
|
source :
|
|
- http://downloads.sf.net/openslp/openslp-2.0.0.tar.gz : 924337a2a8e5be043ebaea2a78365c7427ac6e9cee24610a0780808b2ba7579b
|
|
homepage : http://www.openslp.org
|
|
license : BSD
|
|
component : system.utils
|
|
summary : Service Location Protocol (SLP) is an Internet Engineering Task Force (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.
|
|
description: |
|
|
Service Location Protocol (SLP) is an Internet Engineering Task Force (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.
|
|
setup : |
|
|
%patch -p1 < $pkgfiles/openslp-2.0.0-multicast-set.patch
|
|
%patch -p2 < $pkgfiles/openslp-2.0.0-notify-systemd-of-start-up.patch
|
|
%patch -p1 < $pkgfiles/openslp-2.0.0-null-pointer-deref.patch
|
|
%patch -p1 < $pkgfiles/openslp-2.0.0-openssl-1.1-fix.patch
|
|
%patch -p1 < $pkgfiles/openslp-2.0.0-cve-2016-7567.patch
|
|
%patch -p1 < $pkgfiles/openslp-2.0.0-cve-2017-17833.patch
|
|
%patch -p1 < $pkgfiles/openslp-2.0.0-cve-2019-5544.patch
|
|
|
|
autoreconf -f -i
|
|
find . -name "CVS" | xargs rm -rf
|
|
|
|
%configure \
|
|
--prefix=/usr \
|
|
--sbindir=/usr/bin \
|
|
--sysconfdir=/etc/openslp \
|
|
--localstatedir=/var \
|
|
--enable-slpv1 \
|
|
--enable-slpv2-security \
|
|
--enable-async-api \
|
|
--disable-dependency-tracking \
|
|
--disable-static
|
|
build : |
|
|
%make
|
|
install : |
|
|
%make_install
|
|
|
|
install -Dm 00644 $pkgfiles/openslp.service $installdir/usr/lib/systemd/system/openslp.service
|
|
install -Dm 00644 $pkgfiles/slpd.8.gz $installdir/usr/share/man/man8/slpd.8.gz
|
|
install -Dm 00644 $pkgfiles/slptool.1.gz $installdir/usr/share/man/man1/slptool.1.gz
|
|
install -Dm 00644 $pkgfiles/slp.pc $installdir/usr/lib64/pkgconfig/slp.pc
|