Skip to content

Commit

Permalink
cleanup makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
hgy59 committed Nov 7, 2021
1 parent 67e9769 commit 9445862
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions spk/icecast/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,16 @@ 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).<br/>2. Adjust configuration for DSM7 compatibility.<br/>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/
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

Expand Down
3 changes: 1 addition & 2 deletions spk/icecast/src/service-setup.sh
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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}
}

0 comments on commit 9445862

Please sign in to comment.