Выявлена причина падения сервиса - был убран флаг включения дополнительных проверок безопасности переполнение буфера (FORTIFY_SOURCE) при компиляции
All checks were successful
Build / Build project (push) Successful in 1m2s
All checks were successful
Build / Build project (push) Successful in 1m2s
This commit is contained in:
parent
b51a1ba637
commit
0d6979dcac
1 changed files with 6 additions and 4 deletions
10
package.yml
10
package.yml
|
@ -1,6 +1,6 @@
|
|||
name : openslp
|
||||
version : 2.0.0
|
||||
release : 4
|
||||
release : 5
|
||||
source :
|
||||
# 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.
|
||||
|
@ -9,7 +9,7 @@ source :
|
|||
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.
|
||||
summary : Service Location Protocol (SLP) is an Internet Engineering Task Force (IETF) standards track protocol.
|
||||
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 : |
|
||||
|
@ -20,8 +20,10 @@ setup : |
|
|||
|
||||
autoreconf -f -i
|
||||
|
||||
# Optimization flags for the `configure` macro compilation break the service's stability, so the default call is used.
|
||||
./configure \
|
||||
# The `FORTIFY_SOURCE` optimization flag disrupts the service's stability, so the build is performed without it.
|
||||
export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}"
|
||||
|
||||
%configure \
|
||||
--prefix=/usr \
|
||||
--sbindir=/usr/bin \
|
||||
--sysconfdir=/etc/openslp \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue