diff --git a/cross/museek+/Makefile b/cross/museek+/Makefile deleted file mode 100644 index 97981e5ddaa..00000000000 --- a/cross/museek+/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -PKG_NAME = museek+ -PKG_VERS = 0.2 -PKG_EXT = tar.bz2 -PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) -PKG_DIST_SITE = http://downloads.sourceforge.net/project/museek-plus/museek-plus/$(PKG_VERS) -PKG_DIR = $(PKG_NAME)-$(PKG_VERS) - -DEPENDS = cross/libxml++ cross/libevent - -HOMEPAGE = http://www.museek-plus.org/ -COMMENT = Museek+ is a GPL licensed file-sharing application for the ​Soulseek peer-to-peer network -LICENSE = - -CONFIGURE_TARGET = myConfigure -INSTALL_TARGET = myInstall -ENV += CMAKE_INCLUDE_PATH="$(STAGING_INSTALL_PREFIX)/include" CMAKE_LIBRARY_PATH="$(STAGING_INSTALL_PREFIX)/lib" - -include ../../mk/spksrc.cross-cc.mk - -.PHONY: myConfigure -myConfigure: - $(RUN) cmake CMakeLists.txt -DPREFIX=$(INSTALL_PREFIX) -DMANDIR=no -DCMAKE_BUILD_TYPE=Release -DNO_SETUP=1 -DNO_PYMUCIPHER=1 -DNO_MUSEEQ=1 - -.PHONY: myInstall -myInstall: - $(RUN) $(MAKE) install DESTDIR=$(INSTALL_DIR) diff --git a/cross/museek+/PLIST b/cross/museek+/PLIST deleted file mode 100644 index 6026cc4cba5..00000000000 --- a/cross/museek+/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -bin:bin/museekd -rsc:share/museek/museekd/config.xml.tmpl diff --git a/cross/museek+/digests b/cross/museek+/digests deleted file mode 100644 index b3d08462449..00000000000 --- a/cross/museek+/digests +++ /dev/null @@ -1,3 +0,0 @@ -museek+-0.2.tar.bz2 SHA1 0daef0007fec4003aa20dbc26cacff5fe00c5026 -museek+-0.2.tar.bz2 SHA256 1fa85c0e4c75b420e27f832068e70eb321121d5ee041585046f1015edd7ca7b3 -museek+-0.2.tar.bz2 MD5 66d3eab341e1cd6642f83d329a18c3b5 diff --git a/spk/museek-plus/Makefile b/spk/museek-plus/Makefile deleted file mode 100644 index 95c2c10b987..00000000000 --- a/spk/museek-plus/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -SPK_NAME = museek-plus -SPK_VERS = 0.2 -SPK_REV = 1 -SPK_ICON = src/museek+.png - -DEPENDS = cross/busybox cross/museek+ - -MAINTAINER = Diaoul -DESCRIPTION = Museek+ is an open source file-sharing application for the ​Soulseek peer-to-peer network. -DESCRIPTION_FRE = Museek+ est une application de partage de fichier open source pour le réseau peer-to-peer Soulseek. -RELOAD_UI = yes -DISPLAY_NAME = Museek+ -BETA = 1 - -HOMEPAGE = http://www.museek-plus.org/ -LICENSE = - -WIZARDS_DIR = src/wizard/ - -INSTALLER_SCRIPT = src/installer.sh -SSS_SCRIPT = src/dsm-control.sh -FWPORTS = src/${SPK_NAME}.sc - -INSTALL_PREFIX = /usr/local/$(SPK_NAME) - -POST_STRIP_TARGET = museek+_extra_install - -BUSYBOX_CONFIG = usrmng daemon -ENV += BUSYBOX_CONFIG="$(BUSYBOX_CONFIG)" - -include ../../mk/spksrc.spk.mk - -.PHONY: museek+_extra_install -museek+_extra_install: - install -m 755 -d $(STAGING_DIR)/var - install -m 644 src/config.xml $(STAGING_DIR)/var/ diff --git a/spk/museek-plus/PLIST b/spk/museek-plus/PLIST deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/spk/museek-plus/src/config.xml b/spk/museek-plus/src/config.xml deleted file mode 100644 index 40225d0da80..00000000000 --- a/spk/museek-plus/src/config.xml +++ /dev/null @@ -1,77 +0,0 @@ - - - - 0.2.0 - - - - - - - - - - - - - - passive - - - 2234 - 2240 - - - utf-8 - utf-8 - - - - - - - - - - - @password@ - - - - - - server.slsknet.org - - 2242 - - - - /usr/local/museek-plus/var/shares - - - /usr/local/museek-plus/var/buddyshares - - - @download_dir@ - /usr/local/museek-plus/var/downloads - - false - true - true - 2 - 0 - 0 - 0 - false - false - - - /usr/local/museek-plus/var/image - - - - - - - - diff --git a/spk/museek-plus/src/dsm-control.sh b/spk/museek-plus/src/dsm-control.sh deleted file mode 100755 index cf7614a018d..00000000000 --- a/spk/museek-plus/src/dsm-control.sh +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/sh - -# Package -PACKAGE="museek-plus" -DNAME="Museek+" - -# Others -INSTALL_DIR="/usr/local/${PACKAGE}" -PATH="${INSTALL_DIR}/bin:${PATH}" -USER="root" -MUSEEKD="${INSTALL_DIR}/bin/museekd" -CFG_FILE="${INSTALL_DIR}/var/config.xml" -PID_FILE="${INSTALL_DIR}/var/museekd.pid" - -start_daemon () -{ - export LD_LIBRARY_PATH=${INSTALL_DIR}/lib - start-stop-daemon -S -q -m -b -x ${MUSEEKD} -c ${USER} -u ${USER} -p ${PID_FILE} -- \ - -c ${CFG_FILE} -} - -stop_daemon () -{ - start-stop-daemon -K -q -u ${USER} -p ${PID_FILE} - wait_for_status 1 20 || start-stop-daemon -K -s 9 -q -p ${PID_FILE} -} - -daemon_status () -{ - start-stop-daemon -K -q -t -u ${USER} -p ${PID_FILE} -} - -wait_for_status () -{ - counter=$2 - while [ ${counter} -gt 0 ]; do - daemon_status - [ $? -eq $1 ] && return - let counter=counter-1 - sleep 1 - done - return 1 -} - - -case $1 in - start) - if daemon_status; then - echo ${DNAME} is already running - exit 0 - else - echo Starting ${DNAME} ... - start_daemon - exit 0 - fi - ;; - stop) - if daemon_status; then - echo Stopping ${DNAME} ... - stop_daemon - exit $? - else - echo ${DNAME} is not running - exit 0 - fi - ;; - status) - if daemon_status; then - echo ${DNAME} is running - exit 0 - else - echo ${DNAME} is not running - exit 1 - fi - ;; - *) - exit 1 - ;; -esac diff --git a/spk/museek-plus/src/installer.sh b/spk/museek-plus/src/installer.sh deleted file mode 100755 index 2fb395417b4..00000000000 --- a/spk/museek-plus/src/installer.sh +++ /dev/null @@ -1,101 +0,0 @@ -#!/bin/sh - -# Package -PACKAGE="museek-plus" -DNAME="Museek+" - -# Others -INSTALL_DIR="/usr/local/${PACKAGE}" -SSS="/var/packages/${PACKAGE}/scripts/start-stop-status" -PATH="${INSTALL_DIR}/bin:${PATH}" -USER="root" -CFG_FILE="${INSTALL_DIR}/var/config.xml" -TMP_DIR="${SYNOPKG_PKGDEST}/../../@tmp" -SERVICETOOL="/usr/syno/bin/servicetool" -FWPORTS="/var/packages/${PACKAGE}/scripts/${PACKAGE}.sc" - - -preinst () -{ - if [ "${SYNOPKG_PKG_STATUS}" == "INSTALL" ]; then - if [ ! -d "${wizard_download_dir}" ]; then - echo "Download directory ${wizard_download_dir} does not exist." - exit 1 - fi - fi - - exit 0 -} - -postinst () -{ - # Link - ln -s ${SYNOPKG_PKGDEST} ${INSTALL_DIR} - - # Install busybox stuff - ${INSTALL_DIR}/bin/busybox --install ${INSTALL_DIR}/bin - - if [ "${SYNOPKG_PKG_STATUS}" == "INSTALL" ]; then - # Edit the configuration according to the wizard - sed -i -e "s|@password@|${wizard_password:=admin}|" \ - -e "s|@download_dir@|${wizard_download_dir:=/volume1/downloads}|" \ - ${CFG_FILE} - # Set group and permissions on download dir for DSM5 - if [ `/bin/get_key_value /etc.defaults/VERSION buildnumber` -ge "4418" ]; then - chgrp users ${wizard_download_dir:=/volume1/downloads} - chmod g+rw ${wizard_download_dir:=/volume1/downloads} - fi - fi - - # Correct the files ownership - chown -R ${USER}:root ${SYNOPKG_PKGDEST} - - # Add firewall config - ${SERVICETOOL} --install-configure-file --package ${FWPORTS} >> /dev/null - - exit 0 -} - -preuninst () -{ - # Stop the package - ${SSS} stop > /dev/null - - # Remove firewall config - if [ "${SYNOPKG_PKG_STATUS}" == "UNINSTALL" ]; then - ${SERVICETOOL} --remove-configure-file --package ${PACKAGE}.sc >> /dev/null - fi - - exit 0 -} - -postuninst () -{ - # Remove link - rm -f ${INSTALL_DIR} - - exit 0 -} - -preupgrade () -{ - # Stop the package - ${SSS} stop > /dev/null - - # Save some stuff - rm -fr ${TMP_DIR}/${PACKAGE} - mkdir -p ${TMP_DIR}/${PACKAGE} - mv ${INSTALL_DIR}/var ${TMP_DIR}/${PACKAGE}/ - - exit 0 -} - -postupgrade () -{ - # Restore some stuff - rm -fr ${INSTALL_DIR}/var - mv ${TMP_DIR}/${PACKAGE}/var ${INSTALL_DIR}/ - rm -fr ${TMP_DIR}/${PACKAGE} - - exit 0 -} diff --git a/spk/museek-plus/src/museek+.png b/spk/museek-plus/src/museek+.png deleted file mode 100644 index ff7eef826ea..00000000000 Binary files a/spk/museek-plus/src/museek+.png and /dev/null differ diff --git a/spk/museek-plus/src/museek-plus.sc b/spk/museek-plus/src/museek-plus.sc deleted file mode 100644 index cff360e1465..00000000000 --- a/spk/museek-plus/src/museek-plus.sc +++ /dev/null @@ -1,6 +0,0 @@ -[museek-plus] -title="Museek+" -desc="Museek+" -port_forward="yes" -dst.ports="2240,2242/tcp" - diff --git a/spk/museek-plus/src/wizard/install_uifile b/spk/museek-plus/src/wizard/install_uifile deleted file mode 100644 index 0bd19b612ae..00000000000 --- a/spk/museek-plus/src/wizard/install_uifile +++ /dev/null @@ -1,27 +0,0 @@ -[{ - "step_title": "Basic configuration", - "items": [{ - "type": "password", - "desc": "Password for remote access on port 2240. Defaults to admin", - "subitems": [{ - "key": "wizard_password", - "desc": "Password" - - }] - }, { - "type": "textfield", - "desc": "Download directory", - "subitems": [{ - "key": "wizard_download_dir", - "desc": "Download directory", - "defaultValue": "/volume1/downloads", - "validator": { - "allowBlank": false, - "regex": { - "expr": "/^\\\/volume[0-9]+\\\//", - "errorText": "Path should begin with /volume?/ with ? the number of the volume" - } - } - }] - }] -}] diff --git a/spk/museek-plus/src/wizard/install_uifile_fre b/spk/museek-plus/src/wizard/install_uifile_fre deleted file mode 100644 index aaf9a9a892f..00000000000 --- a/spk/museek-plus/src/wizard/install_uifile_fre +++ /dev/null @@ -1,26 +0,0 @@ -[{ - "step_title": "Configuration de base", - "items": [{ - "type": "password", - "desc": "Mot de passe pour l'accès à distance sur le port 2240. admin par défaut", - "subitems": [{ - "key": "wizard_password", - "desc": "Mot de passe" - }] - }, { - "type": "textfield", - "desc": "Répertoire de téléchargement", - "subitems": [{ - "key": "wizard_download_dir", - "desc": "Répertoire de téléchargement", - "defaultValue": "/volume1/downloads", - "validator": { - "allowBlank": false, - "regex": { - "expr": "/^\\\/volume[0-9]+\\\//", - "errorText": "Le chemin doit commencer par /volume?/ avec ? le numéro du volume" - } - } - }] - }] -}]