From 9445862761273fffa05bdebda2ef514daf5c28c6 Mon Sep 17 00:00:00 2001 From: hgy59 Date: Sun, 7 Nov 2021 23:57:56 +0100 Subject: [PATCH] cleanup makefile --- spk/icecast/Makefile | 5 +---- spk/icecast/src/service-setup.sh | 3 +-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/spk/icecast/Makefile b/spk/icecast/Makefile index e5932470ffb6..c46a7b156127 100644 --- a/spk/icecast/Makefile +++ b/spk/icecast/Makefile @@ -10,9 +10,6 @@ MAINTAINER = SynoCommunity DESCRIPTION = Icecast is a streaming media server which currently supports Ogg (Vorbis and Theora), Opus, WebM and MP3 audio streams. It can be used to create an Internet radio station or a privately running jukebox and many things in between. It is very versatile in that new formats can be added relatively easily and supports open standards for communication and interaction. This package includes Ezstream, a command line source client for Icecast media streaming servers. ADMIN_PORT = 8000 CHANGELOG = "1. Security fixes for CVE-2018-10393, CVE-2017-14160, CVE-2018-10392 (libvorbis) and CVE-2021-22876, CVE-2021-22890 (libcurl).
2. Adjust configuration for DSM7 compatibility.
3. Update dependencies (taglib v1.12, vorbis v1.3.7, ezstream v1.0.2, libcurl v7.76.1)" - -RELOAD_UI = yes -STARTABLE = yes DISPLAY_NAME = Icecast HOMEPAGE = https://www.icecast.org/ @@ -20,9 +17,9 @@ LICENSE = GPLv2 WIZARDS_DIR = src/wizards +STARTABLE = yes SERVICE_USER = auto SERVICE_SETUP = src/service-setup.sh -NO_SERVICE_SHORTCUT = yes POST_STRIP_TARGET = icecast_extra_install diff --git a/spk/icecast/src/service-setup.sh b/spk/icecast/src/service-setup.sh index 7ebfb668916b..3671fc6200db 100644 --- a/spk/icecast/src/service-setup.sh +++ b/spk/icecast/src/service-setup.sh @@ -1,6 +1,6 @@ +# icecast service setup CFG_FILE="${SYNOPKG_PKGVAR}/icecast.xml" -PATH="${SYNOPKG_PKGDEST}:${PATH}" SERVICE_COMMAND="${SYNOPKG_PKGDEST}/bin/icecast -c ${CFG_FILE}" SVC_BACKGROUND=y SVC_WRITE_PID=y @@ -12,4 +12,3 @@ service_postinst () sed -i -e "s/@username@/${wizard_ic_username:=admin}/g" ${CFG_FILE} sed -i -e "s/@password@/${wizard_ic_password:=changepassword}/g" ${CFG_FILE} } -