Выявлена причина падения сервиса - был убран флаг включения дополнительных проверок безопасности переполнение буфера (FORTIFY_SOURCE) при компиляции
All checks were successful
Build / Build project (push) Successful in 1m2s

This commit is contained in:
Alexander Zhirov 2025-05-07 03:25:33 +03:00
parent b51a1ba637
commit 0d6979dcac
Signed by: alexander
GPG key ID: C8D8BE544A27C511

View file

@ -1,6 +1,6 @@
name : openslp name : openslp
version : 2.0.0 version : 2.0.0
release : 4 release : 5
source : source :
# The official repository has moved from SourceForge to GitHub. # The official repository has moved from SourceForge to GitHub.
# No releases have been made since 2013, but there is an abundance of commits with fixes. # No releases have been made since 2013, but there is an abundance of commits with fixes.
@ -9,7 +9,7 @@ source :
homepage : http://www.openslp.org homepage : http://www.openslp.org
license : BSD license : BSD
component : system.utils 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. summary : Service Location Protocol (SLP) is an Internet Engineering Task Force (IETF) standards track protocol.
description: | 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. 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 : | setup : |
@ -20,8 +20,10 @@ setup : |
autoreconf -f -i autoreconf -f -i
# Optimization flags for the `configure` macro compilation break the service's stability, so the default call is used. # The `FORTIFY_SOURCE` optimization flag disrupts the service's stability, so the build is performed without it.
./configure \ export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}"
%configure \
--prefix=/usr \ --prefix=/usr \
--sbindir=/usr/bin \ --sbindir=/usr/bin \
--sysconfdir=/etc/openslp \ --sysconfdir=/etc/openslp \