Index: radix-1.9/X11/app/transmission/4.0.5/Makefile
===================================================================
--- radix-1.9/X11/app/transmission/4.0.5/Makefile (nonexistent)
+++ radix-1.9/X11/app/transmission/4.0.5/Makefile (revision 357)
@@ -0,0 +1,317 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/x/transmission
+
+REQUIRES = X11/libs/qt5/5.15.8
+REQUIRES += libs/libevent/2.1.12
+REQUIRES += libs/libpsl/0.21.1
+REQUIRES += net/curl/7.75.0
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 4.0.5
+tar_xz_archive = $(SRC_PACKAGE_PATH)/packages/x/transmission/transmission-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/transmission-$(version)
+src_dir_name = transmission-$(version)
+doc_dir_name = transmission-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = xapp
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+TRANSMISSION_PKG_NAME = transmission
+TRANSMISSION_PKG_VERSION = 4.0.5
+TRANSMISSION_PKG_ARCH = $(PKGARCH)
+TRANSMISSION_PKG_DISTRO_NAME = $(DISTRO_NAME)
+TRANSMISSION_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+TRANSMISSION_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+TRANSMISSION_PKG_SHORT_DESCRIPTION = bittorrent client
+TRANSMISSION_PKG_URL = $(BUG_URL)
+TRANSMISSION_PKG_LICENSE = GPLv3
+TRANSMISSION_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(TRANSMISSION_PKG_NAME)-pkg-description
+TRANSMISSION_PKG_DESCRIPTION_FILE_IN = $(TRANSMISSION_PKG_NAME)-pkg-description.in
+TRANSMISSION_PKG_INSTALL_SCRIPT = $(TRANSMISSION_PKG_NAME)-pkg-install.sh
+
+TRANSMISSION_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(TRANSMISSION_PKG_NAME)-package
+
+pkg_basename = $(TRANSMISSION_PKG_NAME)-$(TRANSMISSION_PKG_VERSION)-$(TRANSMISSION_PKG_ARCH)-$(TRANSMISSION_PKG_DISTRO_NAME)-$(TRANSMISSION_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_certificate = $(call cert-name,$(pkg_archive))
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(TRANSMISSION_PKG)
+
+
+TARGET_BIN_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
+TARGET_LIB_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX):/usr/lib/../lib$(LIBSUFFIX)
+
+suppress-c-warnings = -Wno-psabi -Wno-null-dereference -Wno-maybe-uninitialized -Wno-cast-align
+suppress-c-warnings += -Wno-type-limits -Wno-stringop-overflow
+
+suppress-cxx-warnings = -Wno-psabi -Wno-null-dereference -Wno-maybe-uninitialized
+suppress-cxx-warnings += -Wno-cast-align -Wno-type-limits -Wno-stringop-overflow
+
+CFLAGS += -I$(TARGET_DEST_DIR)/usr/include/qt5
+
+configure_switches = -DCMAKE_BUILD_TYPE='Release'
+
+configure_switches += -DCMAKE_C_COMPILER='$(CROSS_PREFIX)gcc'
+configure_switches += -DCMAKE_CXX_COMPILER='$(CROSS_PREFIX)g++'
+configure_switches += -DCMAKE_LINKER='$(CROSS_PREFIX)ld'
+configure_switches += -DCMAKE_AR='$(CROSS_PREFIX)ar'
+configure_switches += -DCMAKE_NM='$(CROSS_PREFIX)nm'
+configure_switches += -DCMAKE_RANLIB='$(CROSS_PREFIX)ranlib'
+configure_switches += -DCMAKE_OBJCOPY='$(CROSS_PREFIX)objcopy'
+configure_switches += -DCMAKE_OBJDUMP='$(CROSS_PREFIX)objdump'
+configure_switches += -DCMAKE_STRIP='$(CROSS_PREFIX)strip'
+
+configure_switches += -DCMAKE_C_FLAGS='--sysroot=$(TARGET_DEST_DIR) $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) $(suppress-c-warnings)'
+configure_switches += -DCMAKE_CXX_FLAGS='--sysroot=$(TARGET_DEST_DIR) $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) $(suppress-cxx-warnings)'
+
+configure_switches += -DCMAKE_EXE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -Wl,-rpath,$(TARGET_BIN_RPATH) -L$(TARGET_DEST_DIR)/lib$(LIBSUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) -lpthread'
+configure_switches += -DCMAKE_MODULE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(LIBSUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)'
+configure_switches += -DCMAKE_SHARED_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -Wl,-rpath,$(TARGET_LIB_RPATH) -L$(TARGET_DEST_DIR)/lib$(LIBSUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)'
+
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC))
+configure_switches += -DCMAKE_C_FLAGS_RELEASE='-O2 -DNDEBUG'
+configure_switches += -DCMAKE_CXX_FLAGS_RELEASE='-O2 -DNDEBUG'
+configure_switches += -DCMAKE_ASM_FLAGS_RELEASE='-O2 -DNDEBUG'
+endif
+
+configure_switches += -DCMAKE_INSTALL_PREFIX=/usr
+configure_switches += -DCMAKE_INSTALL_BINDIR=bin
+configure_switches += -DCMAKE_INSTALL_SBINDIR=sbin
+configure_switches += -DCMAKE_INSTALL_INCLUDEDIR=include
+configure_switches += -DCMAKE_INSTALL_DATAROOTDIR=share
+configure_switches += -DCMAKE_INSTALL_DOCDIR=doc/$(doc_dir_name)
+configure_switches += -DCMAKE_INSTALL_INFODIR=info
+configure_switches += -DCMAKE_INSTALL_MANDIR=man
+configure_switches += -DCMAKE_INSTALL_LOCALSTATEDIR=var
+configure_switches += -DCMAKE_INSTALL_RUNSTATEDIR=run
+configure_switches += -DCMAKE_INSTALL_SYSCONFDIR=etc
+configure_switches += -DCMAKE_INSTALL_LIBDIR=lib$(LIBSUFFIX)
+
+configure_switches += -DREBUILD_WEB=OFF
+configure_switches += -DENABLE_DAEMON=ON
+configure_switches += -DENABLE_CLI=ON
+configure_switches += -DENABLE_QT=ON
+configure_switches += -DUSE_QT_VERSION=5
+configure_switches += -DENABLE_GTK=OFF
+configure_switches += -DENABLE_TESTS=OFF
+configure_switches += -DINSTALL_LIB=OFF
+configure_switches += -DWITH_SYSTEMD=OFF
+configure_switches += -DENABLE_UTILS=ON
+configure_switches += -DWITH_INOTIFY=ON
+configure_switches += -DWITH_CRYPTO=openssl
+
+configure_switches += -DQt5Core_DIR=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/cmake/Qt5Core
+configure_switches += -DQt5DBus_DIR=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/cmake/Qt5DBus
+configure_switches += -DQt5Gui_DIR=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/cmake/Qt5Gui
+configure_switches += -DQt5LinguistTools_DIR=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/cmake/Qt5LinguistTools
+configure_switches += -DQt5Network_DIR=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/cmake/Qt5Network
+configure_switches += -DQt5Svg_DIR=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/cmake/Qt5Svg
+configure_switches += -DQt5Widgets_DIR=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/cmake/Qt5Widgets
+configure_switches += -DQt_DIR=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/cmake/Qt5
+
+configure_switches += -Wno-dev
+
+qt5_environment = MOC=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/qt5/bin/$(TARGET)-moc
+qt5_environment += RCC=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/qt5/bin/$(TARGET)-rcc
+qt5_environment += UIC=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/qt5/bin/$(TARGET)-uic
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @( cd $(SRC_DIR) ; \
+ sed -i '/-Wcast-align/d' CMakeLists.txt ; \
+ sed -i '/-Wnull-dereference/d' CMakeLists.txt ; \
+ )
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @( cd $(build_dir) ; \
+ $(BUILD_ENVIRONMENT) $(qt5_environment) cmake $(configure_switches) ../$(src_dir_name) ; \
+ )
+ @( cd $(build_dir) ; \
+ $(BUILD_ENVIRONMENT) $(MAKE) -j1 ; \
+ )
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(TRANSMISSION_PKG)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
+ @mkdir -p $(TRANSMISSION_PKG)/etc/rc.d
+ @mkdir -p $(TRANSMISSION_PKG)/srv/transmission/{downloads,torrents}
+ @mkdir -p $(TRANSMISSION_PKG)/var/lib/transmission/.config/transmission-daemon
+ @cp -a $(CURDIR)/conf/NOTE \
+ $(TRANSMISSION_PKG)/var/lib/transmission/.config/transmission-daemon/
+ @cp -a $(CURDIR)/conf/settings.json \
+ $(TRANSMISSION_PKG)/var/lib/transmission/.config/transmission-daemon/settings.json.new
+ @cp -a $(CURDIR)/rc.d/rc.transmission $(TRANSMISSION_PKG)/etc/rc.d/rc.transmission.new
+ @chmod 0644 $(TRANSMISSION_PKG)/etc/rc.d/rc.transmission.new
+ @mkdir -p $(TRANSMISSION_PKG)/usr/share/icons/hicolor/{48x48,scalable}/apps
+ @cp -a $(SRC_DIR)/icon.png \
+ $(TRANSMISSION_PKG)/usr/share/icons/hicolor/48x48/apps/transmission.png
+ @cp -a $(SRC_DIR)/qt/icons/transmission.svg \
+ $(TRANSMISSION_PKG)/usr/share/icons/hicolor/scalable/apps/
+ # ======= Install Documentation =======
+ @if [ -d $(TRANSMISSION_PKG)/usr/share/man ]; then \
+ ( cd $(TRANSMISSION_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @rm -rf $(TRANSMISSION_PKG)/usr/doc
+ @mkdir -p $(TRANSMISSION_PKG)/usr/doc/$(doc_dir_name)
+ @cp -a $(SRC_DIR)/AUTHORS $(SRC_DIR)/COPYING \
+ $(TRANSMISSION_PKG)/usr/doc/$(doc_dir_name)
+ @mkdir -p $(TRANSMISSION_PKG)/usr/share/doc/$(doc_dir_name)/{docs,news,extras}
+ @( cd $(SRC_DIR) ; \
+ cp -a AUTHORS COPYING README.md \
+ $(TRANSMISSION_PKG)/usr/share/doc/$(doc_dir_name) ; \
+ cp -a docs/rpc-spec.md \
+ $(TRANSMISSION_PKG)/usr/share/doc/$(doc_dir_name)/docs ; \
+ cp -a news/news-$(version).md \
+ $(TRANSMISSION_PKG)/usr/share/doc/$(doc_dir_name)/news ; \
+ cp -a extras/send-email-when-torrent-done.sh \
+ $(TRANSMISSION_PKG)/usr/share/doc/$(doc_dir_name)/extras ; \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r ChangeLog -a -s ChangeLog ]; then \
+ DOCSDIR=`echo $(TRANSMISSION_PKG)/usr/share/doc/$(doc_dir_name)` ; \
+ cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
+ touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
+ fi \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(TRANSMISSION_PKG))
+ # ======= Strip binaries =======
+ @( cd $(TRANSMISSION_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ @touch $@
+
+$(TRANSMISSION_PKG_DESCRIPTION_FILE): $(TRANSMISSION_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(TRANSMISSION_PKG_DESCRIPTION_FILE) $(TRANSMISSION_PKG_INSTALL_SCRIPT)
+ @cp $(TRANSMISSION_PKG_DESCRIPTION_FILE) $(TRANSMISSION_PKG)/.DESCRIPTION
+ @cp $(TRANSMISSION_PKG_INSTALL_SCRIPT) $(TRANSMISSION_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(TRANSMISSION_PKG)/.REQUIRES
+ @echo "pkgname=$(TRANSMISSION_PKG_NAME)" > $(TRANSMISSION_PKG)/.PKGINFO ; \
+ echo "pkgver=$(TRANSMISSION_PKG_VERSION)" >> $(TRANSMISSION_PKG)/.PKGINFO ; \
+ echo "arch=$(TRANSMISSION_PKG_ARCH)" >> $(TRANSMISSION_PKG)/.PKGINFO ; \
+ echo "distroname=$(TRANSMISSION_PKG_DISTRO_NAME)" >> $(TRANSMISSION_PKG)/.PKGINFO ; \
+ echo "distrover=$(TRANSMISSION_PKG_DISTRO_VERSION)" >> $(TRANSMISSION_PKG)/.PKGINFO ; \
+ echo "group=$(TRANSMISSION_PKG_GROUP)" >> $(TRANSMISSION_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(TRANSMISSION_PKG_SHORT_DESCRIPTION)\"" >> $(TRANSMISSION_PKG)/.PKGINFO ; \
+ echo "url=$(TRANSMISSION_PKG_URL)" >> $(TRANSMISSION_PKG)/.PKGINFO ; \
+ echo "license=$(TRANSMISSION_PKG_LICENSE)" >> $(TRANSMISSION_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(TRANSMISSION_PKG) && \
+ chown -R root:root . && \
+ chown -R 201:201 srv/transmission && \
+ chomod u+rwx,g+rws,o+rx-w srv/transmission/torrents && \
+ chown -R 201:201 var/lib/transmission && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: radix-1.9/X11/app/transmission/4.0.5/PATCHES
===================================================================
Index: radix-1.9/X11/app/transmission/4.0.5/conf/NOTE
===================================================================
--- radix-1.9/X11/app/transmission/4.0.5/conf/NOTE (nonexistent)
+++ radix-1.9/X11/app/transmission/4.0.5/conf/NOTE (revision 357)
@@ -0,0 +1,7 @@
+
+ "watch-dir": "/srv/transmission/torrents",
+ "watch-dir-enabled": true
+
+If you put *.torrent file into /srv/transmission/torrents/ directory
+the transmission daemon adds it to the /var/lib/transmission/.config/transmission-daemon/torrents
+folder and starts to download.
Index: radix-1.9/X11/app/transmission/4.0.5/conf/settings.json
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/json
Property changes on: radix-1.9/X11/app/transmission/4.0.5/conf/settings.json
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/json
\ No newline at end of property
Index: radix-1.9/X11/app/transmission/4.0.5/rc.d/rc.transmission
===================================================================
--- radix-1.9/X11/app/transmission/4.0.5/rc.d/rc.transmission (nonexistent)
+++ radix-1.9/X11/app/transmission/4.0.5/rc.d/rc.transmission (revision 357)
@@ -0,0 +1,69 @@
+#!/bin/bash
+
+# Name of Service
+NAME="Transmission Daemon"
+
+# Command to run
+CMD="/usr/bin/transmission-daemon"
+
+# Option to run with deamon
+# -a means from where to accept incoming connections, comma separated
+# you may want to add your local network if you have multiple clients.
+# For example, OPTIONS="-a 127.0.0.1"
+OPTIONS=""
+
+# Process name of daemon, for killing it.
+PROCESSNAME="transmission-daemon"
+
+# The name of the user that should run Transmission.
+# It's RECOMENDED to run Transmission in it's own user,
+# by default, this is set to 'transmission'.
+# For the sake of security you shouldn't set a password
+# on this user
+USERNAME="transmission"
+
+func_stop() {
+ if [ "$(ps aux | grep $PROCESSNAME | grep -v grep)" ]; then
+ echo -n "Stopping $NAME ... "
+ killall $PROCESSNAME
+ sleep 2
+ fi
+
+ if [ ! "$(ps aux | grep $PROCESSNAME | grep -v grep)" ]; then
+ echo "Done!"
+ else
+ echo "Error!"
+ fi
+}
+
+func_start() {
+ echo -n "Starting $NAME ... "
+ sudo -u $USERNAME $CMD $OPTIONS
+ sleep 2
+
+ if [ "$(ps aux | grep $PROCESSNAME | grep -v grep)" ]; then
+ echo "Done!"
+ else
+ echo "Error!"
+ fi
+}
+
+
+case $1 in
+ "start")
+ func_start
+ ;;
+
+ "stop")
+ func_stop
+ ;;
+
+ "restart")
+ func_stop
+ sleep 2
+ func_start
+ ;;
+ *)
+ echo "Usage; start|stop|restart"
+ ;;
+esac
Index: radix-1.9/X11/app/transmission/4.0.5/transmission-pkg-description.in
===================================================================
--- radix-1.9/X11/app/transmission/4.0.5/transmission-pkg-description.in (nonexistent)
+++ radix-1.9/X11/app/transmission/4.0.5/transmission-pkg-description.in (revision 357)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+transmission: transmission @VERSION@ (bittorrent client)
+transmission:
+transmission: Transmission is a lightweight open source BitTorrent client,
+transmission: providing useful functionality without feature bloat.
+transmission: It consists of a daemon and Qt, and CLI clients.
+transmission:
+transmission:
+transmission:
+transmission: Homepage: https://transmissionbt.com/
+transmission:
+transmission:
Index: radix-1.9/X11/app/transmission/4.0.5/transmission-pkg-install.sh
===================================================================
--- radix-1.9/X11/app/transmission/4.0.5/transmission-pkg-install.sh (nonexistent)
+++ radix-1.9/X11/app/transmission/4.0.5/transmission-pkg-install.sh (revision 357)
@@ -0,0 +1,82 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+ NEW="$1"
+ OLD="`dirname $NEW`/`basename $NEW .new`"
+ # If there's no file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+preserve_perms() {
+ NEW="$1"
+ OLD="$(dirname ${NEW})/$(basename ${NEW} .new)"
+ if [ -e ${OLD} ]; then
+ cp -a ${OLD} ${NEW}.incoming
+ cat ${NEW} > ${NEW}.incoming
+ mv ${NEW}.incoming ${NEW}
+ fi
+ install_file ${NEW}
+}
+
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ preserve_perms etc/rc.d/rc.transmission.new
+ install_file var/lib/transmission/.config/transmission-daemon/settings.json.new
+
+ # Update icon cache
+ if [ -e usr/share/icons/hicolor/icon-theme.cache ] ; then
+ if [ -r proc/sys/kernel/osrelease -a -x /usr/bin/gtk-update-icon-cache ] ; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor 1> /dev/null 2> /dev/null
+ fi
+ fi
+
+ # Update mimeinfo database
+ if [ -r proc/sys/kernel/osrelease -a -x /usr/bin/update-mime-database ] ; then
+ /usr/bin/update-mime-database usr/share/mime 1> /dev/null 2> /dev/null
+ fi
+
+ # Update desktop database
+ if [ -r proc/sys/kernel/osrelease -a -x /usr/bin/update-desktop-database ] ; then
+ /usr/bin/update-desktop-database -q usr/share/applications 1> /dev/null 2> /dev/null
+ fi
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: radix-1.9/X11/app/transmission/4.0.5/transmission-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: radix-1.9/X11/app/transmission/4.0.5
===================================================================
--- radix-1.9/X11/app/transmission/4.0.5 (nonexistent)
+++ radix-1.9/X11/app/transmission/4.0.5 (revision 357)
Property changes on: radix-1.9/X11/app/transmission/4.0.5
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,74 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.rk358x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: radix-1.9/X11/media/minidlna/1.3.3/Makefile
===================================================================
--- radix-1.9/X11/media/minidlna/1.3.3/Makefile (nonexistent)
+++ radix-1.9/X11/media/minidlna/1.3.3/Makefile (revision 357)
@@ -0,0 +1,276 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5B)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5P)
+COMPONENT_TARGETS += $(HARDWARE_ROCK_5B)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_REPKA_PI3)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VISIONFIVE2)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/packages/m/minidlna
+
+REQUIRES = libs/libexif/0.6.24
+REQUIRES += libs/libjpeg-turbo/2.1.2
+REQUIRES += media/libid3tag/0.15.1b
+REQUIRES += media/flac/1.4.2
+REQUIRES += media/libvorbis/1.3.7
+REQUIRES += media/libogg/1.3.5
+REQUIRES += X11/app/ffmpeg/4.4.4
+REQUIRES += X11/net/avahi/0.8
+REQUIRES += app/sqlite/3.39.4.0
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 1.3.3
+tar_gz_archive = $(SRC_PACKAGE_PATH)/packages/m/minidlna/minidlna-$(version).tar.gz
+SRC_ARCHIVE = $(tar_gz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/minidlna-$(version)
+src_dir_name = minidlna-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = xmedia
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+MINIDLNA_PKG_NAME = minidlna
+MINIDLNA_PKG_VERSION = 1.3.3
+MINIDLNA_PKG_ARCH = $(PKGARCH)
+MINIDLNA_PKG_DISTRO_NAME = $(DISTRO_NAME)
+MINIDLNA_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+MINIDLNA_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+MINIDLNA_PKG_SHORT_DESCRIPTION = mini DLNA server
+MINIDLNA_PKG_URL = $(BUG_URL)
+MINIDLNA_PKG_LICENSE = GPLv2
+MINIDLNA_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(MINIDLNA_PKG_NAME)-pkg-description
+MINIDLNA_PKG_DESCRIPTION_FILE_IN = $(MINIDLNA_PKG_NAME)-pkg-description.in
+MINIDLNA_PKG_INSTALL_SCRIPT = $(MINIDLNA_PKG_NAME)-pkg-install.sh
+
+MINIDLNA_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(MINIDLNA_PKG_NAME)-package
+
+pkg_basename = $(MINIDLNA_PKG_NAME)-$(MINIDLNA_PKG_VERSION)-$(MINIDLNA_PKG_ARCH)-$(MINIDLNA_PKG_DISTRO_NAME)-$(MINIDLNA_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(MINIDLNA_PKG)
+
+
+extra_configure_switches = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
+extra_configure_switches += --mandir=/usr/share/man
+
+extra_configure_switches += --disable-rpath
+
+extra_configure_switches += --sysconfdir=/etc
+extra_configure_switches += --localstatedir=/var
+
+extra_configure_switches += --enable-tivo
+extra_configure_switches += --enable-netgear
+extra_configure_switches += --enable-readynas
+extra_configure_switches += --with-db-path=/var/lib/minidlna
+extra_configure_switches += --with-os-name='$(DISTRO_CAPTION)'
+extra_configure_switches += --with-os-version='$(DISTRO_VERSION)'
+extra_configure_switches += --with-os-url='$(BUG_URL)'
+
+
+ifeq ($(__ENABLE_STATIC__),yes)
+extra_configure_switches += --enable-static=yes
+endif
+
+
+CFLAGS += -fcommon -Wno-stringop-truncation
+
+TARGET_BIN_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
+
+LDFLAGS += -Wl,-rpath,$(TARGET_BIN_RPATH)
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)/linux
+ @cd $(build_dir) && \
+ $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET) \
+ $(extra_configure_switches)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE)
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(MINIDLNA_PKG)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
+ @mkdir -p $(MINIDLNA_PKG)/etc/rc.d
+ @mkdir -p $(MINIDLNA_PKG)/srv/media/{photo,video}
+ @mkdir -p $(MINIDLNA_PKG)/var/lib/minidlna
+ @cp -a $(CURDIR)/conf/minidlna.conf $(MINIDLNA_PKG)/etc/minidlna.conf.new
+ @cp -a $(CURDIR)/rc.d/rc.minidlna $(MINIDLNA_PKG)/etc/rc.d/rc.minidlna.new
+ @chmod 0644 $(MINIDLNA_PKG)/etc/rc.d/rc.minidlna.new
+ # ======= Include the manual pages =======
+ @mkdir -p $(MINIDLNA_PKG)/usr/share/man/man{5,8}
+ @cat $(SRC_DIR)/minidlna.conf.5 > $(MINIDLNA_PKG)/usr/share/man/man5/minidlna.conf.5
+ @cat $(SRC_DIR)/minidlnad.8 > $(MINIDLNA_PKG)/usr/share/man/man8/minidlnad.8
+ # ======= Install Documentation =======
+ @if [ -d $(MINIDLNA_PKG)/usr/share/man ]; then \
+ ( cd $(MINIDLNA_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(MINIDLNA_PKG)/usr/doc/$(src_dir_name)
+ @cp -a $(SRC_DIR)/AUTHORS $(SRC_DIR)/COPYING \
+ $(MINIDLNA_PKG)/usr/doc/$(src_dir_name)
+ @mkdir -p $(MINIDLNA_PKG)/usr/share/doc/$(src_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a AUTHORS COPYING INSTALL README TODO \
+ $(MINIDLNA_PKG)/usr/share/doc/$(src_dir_name) \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r ChangeLog -a -s ChangeLog ]; then \
+ DOCSDIR=`echo $(MINIDLNA_PKG)/usr/share/doc/$(src_dir_name)` ; \
+ cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
+ touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
+ fi \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r NEWS ]; then \
+ DOCSDIR=`echo $(MINIDLNA_PKG)/usr/share/doc/$(src_dir_name)` ; \
+ cat NEWS | head -n 1000 > $$DOCSDIR/NEWS ; \
+ touch -r NEWS $$DOCSDIR/NEWS ; \
+ fi \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(MINIDLNA_PKG))
+ # ======= Strip binaries =======
+ @( cd $(MINIDLNA_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ifneq ($(PATCHELF),)
+ # ======= Set RPATH/RUNPATH for target binaries =======
+ @( cd $(MINIDLNA_PKG)/usr ; \
+ for file in `find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+ rpath=`$(PATCHELF) --print-rpath $$file 2> /dev/null` ; \
+ if echo "$$rpath" | grep -q "$(TARGET_DEST_DIR)" ; then \
+ $(PATCHELF) --set-rpath $(TARGET_BIN_RPATH) $$file 1> /dev/null 2> /dev/null ; \
+ fi ; \
+ done ; \
+ )
+endif
+ @touch $@
+
+$(MINIDLNA_PKG_DESCRIPTION_FILE): $(MINIDLNA_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(MINIDLNA_PKG_DESCRIPTION_FILE) $(MINIDLNA_PKG_INSTALL_SCRIPT)
+ @cp $(MINIDLNA_PKG_DESCRIPTION_FILE) $(MINIDLNA_PKG)/.DESCRIPTION
+ @cp $(MINIDLNA_PKG_INSTALL_SCRIPT) $(MINIDLNA_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(MINIDLNA_PKG)/.REQUIRES
+ @echo "pkgname=$(MINIDLNA_PKG_NAME)" > $(MINIDLNA_PKG)/.PKGINFO ; \
+ echo "pkgver=$(MINIDLNA_PKG_VERSION)" >> $(MINIDLNA_PKG)/.PKGINFO ; \
+ echo "arch=$(MINIDLNA_PKG_ARCH)" >> $(MINIDLNA_PKG)/.PKGINFO ; \
+ echo "distroname=$(MINIDLNA_PKG_DISTRO_NAME)" >> $(MINIDLNA_PKG)/.PKGINFO ; \
+ echo "distrover=$(MINIDLNA_PKG_DISTRO_VERSION)" >> $(MINIDLNA_PKG)/.PKGINFO ; \
+ echo "group=$(MINIDLNA_PKG_GROUP)" >> $(MINIDLNA_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(MINIDLNA_PKG_SHORT_DESCRIPTION)\"" >> $(MINIDLNA_PKG)/.PKGINFO ; \
+ echo "url=$(MINIDLNA_PKG_URL)" >> $(MINIDLNA_PKG)/.PKGINFO ; \
+ echo "license=$(MINIDLNA_PKG_LICENSE)" >> $(MINIDLNA_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(MINIDLNA_PKG) && \
+ chown -R root:root . && \
+ chown -R 241:241 srv/media && \
+ chomod u+rwx,g+rws,o+rx-w srv/media/photo && \
+ chomod u+rwx,g+rws,o+rx-w srv/media/video && \
+ chown -R 241:241 var/lib/minidlna && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: radix-1.9/X11/media/minidlna/1.3.3/PATCHES
===================================================================
Index: radix-1.9/X11/media/minidlna/1.3.3/conf/minidlna.conf
===================================================================
--- radix-1.9/X11/media/minidlna/1.3.3/conf/minidlna.conf (nonexistent)
+++ radix-1.9/X11/media/minidlna/1.3.3/conf/minidlna.conf (revision 357)
@@ -0,0 +1,91 @@
+# port for HTTP (descriptions, SOAP, media transfer) traffic
+port=8200
+
+# network interfaces to serve, comma delimited
+#network_interface=eth0
+
+# specify the user account name or uid to run as
+user=minidlna
+
+# set this to the directory you want scanned.
+# * if you want multiple directories, you can have multiple media_dir= lines
+# * if you want to restrict a media_dir to specific content types, you
+# can prepend the types, followed by a comma, to the directory:
+# + "A" for audio (eg. media_dir=A,/home/jmaggard/Music)
+# + "V" for video (eg. media_dir=V,/home/jmaggard/Videos)
+# + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
+# + "PV" for pictures and video (eg. media_dir=PV,/home/jmaggard/digital_camera)
+media_dir=P,/srv/media/photo
+media_dir=V,/srv/media/video
+
+# set this to merge all media_dir base contents into the root container
+# note: the default is no
+#merge_media_dirs=no
+
+# set this if you want to customize the name that shows up on your clients
+friendly_name=RcL DLNA Server
+
+# set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache
+db_dir=/var/lib/minidlna
+
+# set this if you would like to specify the directory where you want MiniDLNA to store its log file
+log_dir=/var/log
+
+# set this to change the verbosity of the information that is logged
+# each section can use a different level: off, fatal, error, warn, info, or debug
+#log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn
+
+# this should be a list of file names to check for when searching for album art
+# note: names should be delimited with a forward slash ("/")
+album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
+
+# set this to no to disable inotify monitoring to automatically discover new files
+# note: the default is yes
+inotify=yes
+
+# set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO
+enable_tivo=no
+
+# set this to beacon to use legacy broadcast discovery method
+# defauts to bonjour if avahi is available
+tivo_discovery=bonjour
+
+# set this to strictly adhere to DLNA standards.
+# * This will allow server-side downscaling of very large JPEG images,
+# which may hurt JPEG serving performance on (at least) Sony DLNA products.
+strict_dlna=no
+
+# default presentation url is http address on port 80
+#presentation_url=http://www.mylan/index.php
+
+# notify interval in seconds. default is 895 seconds.
+notify_interval=900
+
+# serial and model number the daemon will report to clients
+# in its XML description
+serial=12345678
+model_number=1
+
+# specify the path to the MiniSSDPd socket
+#minissdpdsocket=/var/run/minissdpd.sock
+
+# use different container as root of the tree
+# possible values:
+# + "." - use standard container (this is the default)
+# + "B" - "Browse Directory"
+# + "M" - "Music"
+# + "V" - "Video"
+# + "P" - "Pictures"
+# + Or, you can specify the ObjectID of your desired root container (eg. 1$F for Music/Playlists)
+# if you specify "B" and client device is audio-only then "Music/Folders" will be used as root
+#root_container=.
+
+# always force SortCriteria to this value, regardless of the SortCriteria passed by the client
+#force_sort_criteria=+upnp:class,+upnp:originalTrackNumber,+dc:title
+
+# maximum number of simultaneous connections
+# note: many clients open several simultaneous connections while streaming
+#max_connections=50
+
+# set this to yes to allow symlinks that point outside user-defined media_dirs.
+#wide_links=no
Index: radix-1.9/X11/media/minidlna/1.3.3/minidlna-pkg-description.in
===================================================================
--- radix-1.9/X11/media/minidlna/1.3.3/minidlna-pkg-description.in (nonexistent)
+++ radix-1.9/X11/media/minidlna/1.3.3/minidlna-pkg-description.in (revision 357)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+minidlna: minidlna @VERSION@ (mini DLNA server)
+minidlna:
+minidlna: MiniDLNA (aka ReadyDLNA) is server software with the aim of being
+minidlna: fully compliant with DLNA/UPnP-AV clients.
+minidlna:
+minidlna:
+minidlna:
+minidlna: Homepage: https://minidlna.sourceforge.net/
+minidlna:
+minidlna:
+minidlna:
Index: radix-1.9/X11/media/minidlna/1.3.3/minidlna-pkg-install.sh
===================================================================
--- radix-1.9/X11/media/minidlna/1.3.3/minidlna-pkg-install.sh (nonexistent)
+++ radix-1.9/X11/media/minidlna/1.3.3/minidlna-pkg-install.sh (revision 357)
@@ -0,0 +1,54 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+ NEW="$1"
+ OLD="`dirname $NEW`/`basename $NEW .new`"
+ # If there's no file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ install_file etc/minidlna.conf.new
+ install_file etc/rc.d/rc.minidlna.new
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: radix-1.9/X11/media/minidlna/1.3.3/minidlna-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: radix-1.9/X11/media/minidlna/1.3.3/rc.d/rc.minidlna
===================================================================
--- radix-1.9/X11/media/minidlna/1.3.3/rc.d/rc.minidlna (nonexistent)
+++ radix-1.9/X11/media/minidlna/1.3.3/rc.d/rc.minidlna (revision 357)
@@ -0,0 +1,73 @@
+#!/bin/sh
+
+PIDDIR=/var/run/minidlna/
+PIDFILE=/var/run/minidlna/minidlna.pid
+CONFIG=/etc/minidlna.conf
+USER=minidlna
+GROUP=minidlna
+
+OPTIONS="-r -R"
+
+minidlna_start()
+{
+ echo -n "Starting minidlna ... "
+ if ! [ -e "${PIDDIR}" ]; then
+ mkdir -p "${PIDDIR}"
+ chown ${USER}:${GROUP} ${PIDDIR}
+ fi
+ if [ -e "${PIDFILE}" ]; then
+ echo "already running!"
+ else
+ /usr/sbin/minidlnad \
+ -u ${USER} \
+ -P ${PIDFILE} \
+ -f ${CONFIG} \
+ ${OPTIONS}
+ echo "done!"
+ fi
+}
+
+minidlna_stop()
+{
+ echo -n "Stopping minidlna ... "
+ if [ -e "${PIDFILE}" ]; then
+ kill -TERM $(cat ${PIDFILE}) > /dev/null 2>&1
+ echo "done!"
+ rm -f "${PIDFILE}"
+ else
+ echo "not running!"
+ fi
+}
+
+minidlna_restart()
+{
+ minidlna_stop
+ sleep 1
+ minidlna_start
+}
+
+minidlna_status()
+{
+ if [ -e "${PIDFILE}" ]; then
+ echo "minidlna is running!"
+ else
+ echo "minidlna is not running!"
+ fi
+}
+
+case "$1" in
+ 'start')
+ minidlna_start
+ ;;
+ 'stop')
+ minidlna_stop
+ ;;
+ 'status')
+ minidlna_status
+ ;;
+ 'restart')
+ minidlna_restart
+ ;;
+ *)
+ echo "usage $0 start|stop|restart|status"
+esac
Index: radix-1.9/X11/media/minidlna/1.3.3
===================================================================
--- radix-1.9/X11/media/minidlna/1.3.3 (nonexistent)
+++ radix-1.9/X11/media/minidlna/1.3.3 (revision 357)
Property changes on: radix-1.9/X11/media/minidlna/1.3.3
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,74 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.rk358x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: radix-1.9/base/radix-system/etc/group
===================================================================
--- radix-1.9/base/radix-system/etc/group (revision 356)
+++ radix-1.9/base/radix-system/etc/group (revision 357)
@@ -59,6 +59,8 @@
postgres:x:209:
tomcat:x:232:
cyrus:x:238:mail
+minidlna:x:241:
+transmission:x:201:
nginx:x:243:
rabbitmq:x:264:
avahi:x:272:
Index: radix-1.9/base/radix-system/etc/passwd
===================================================================
--- radix-1.9/base/radix-system/etc/passwd (revision 356)
+++ radix-1.9/base/radix-system/etc/passwd (revision 357)
@@ -39,6 +39,8 @@
cyrus:x:238:238:Cyrus IMAP Server:/var/lib/imap:/bin/bash
tomcat:x:232:232::/var/lib/tomcat:/bin/false
postgres:x:209:209:PostgreSQL:/var/lib/pgsql:/bin/bash
+minidlna:x:241:241:DLNA/UPnP-AV Server:/var/lib/minidlna:/bin/false
+transmission:x:201:201:Transmission daemon:/var/lib/transmission:/bin/bash
nginx:x:243:243:Nginx:/srv/nginx:/bin/false
rabbitmq:x:264:264:RabbitMQ:/var/lib/rabbitmq:/bin/false
avahi:x:272:272:avahi:/dev/null:/bin/false
Index: radix-1.9/base/radix-system/etc/rc.d/rc.6
===================================================================
--- radix-1.9/base/radix-system/etc/rc.d/rc.6 (revision 356)
+++ radix-1.9/base/radix-system/etc/rc.d/rc.6 (revision 357)
@@ -90,6 +90,16 @@
/etc/rc.d/rc.gpm stop
fi
+# Stop transmission daemon
+if [ -x /etc/rc.d/rc.transmission ]; then
+ /etc/rc.d/rc.transmission stop
+fi
+
+# Stop the MiniDLNA server:
+if [ -x /etc/rc.d/rc.minidlna ]; then
+ /etc/rc.d/rc.minidlna stop
+fi
+
# Stop Samba:
if [ -x /etc/rc.d/rc.samba ]; then
/etc/rc.d/rc.samba stop
Index: radix-1.9/base/radix-system/etc/rc.d/rc.M.in
===================================================================
--- radix-1.9/base/radix-system/etc/rc.d/rc.M.in (revision 356)
+++ radix-1.9/base/radix-system/etc/rc.d/rc.M.in (revision 357)
@@ -474,7 +474,6 @@
/etc/rc.d/rc.keymap
fi
-
# Start the MySQL database:
if [ -x /etc/rc.d/rc.mysqld ]; then
/etc/rc.d/rc.mysqld start
@@ -536,6 +535,16 @@
/etc/rc.d/rc.samba start
fi
+# Start the MiniDLNA server:
+if [ -x /etc/rc.d/rc.minidlna ]; then
+ /etc/rc.d/rc.minidlna start
+fi
+
+# Start transmission daemon
+if [ -x /etc/rc.d/rc.transmission ]; then
+ /etc/rc.d/rc.transmission start
+fi
+
# Start the GPM mouse server:
if [ -x /etc/rc.d/rc.gpm ]; then
/etc/rc.d/rc.gpm start
Index: radix-1.9/base/radix-system/etc/shadow
===================================================================
--- radix-1.9/base/radix-system/etc/shadow (revision 356)
+++ radix-1.9/base/radix-system/etc/shadow (revision 357)
@@ -31,6 +31,8 @@
cyrus:*:9797:0:::::
tomcat:*:9797:0:::::
postgres:*:9797:0:::::
+minidlna:!:9797:0:::::
+transmission:!:9797:0:::::
nginx:*:9797:0:::::
rabbitmq:*:9797:0:::::
ldap:*:9797:0:::::
Index: radix-1.9/products/X11/Makefile
===================================================================
--- radix-1.9/products/X11/Makefile (revision 356)
+++ radix-1.9/products/X11/Makefile (revision 357)
@@ -870,6 +870,8 @@
REQUIRES += X11/media/pipewire/0.3.80
REQUIRES += X11/media/mplayer/38448
+REQUIRES += X11/media/minidlna/1.3.3
+REQUIRES += X11/app/transmission/4.0.5
REQUIRES += X11/media/vlc/3.0.20
Index: radix-1.9/sources/packages/m/minidlna/Makefile
===================================================================
--- radix-1.9/sources/packages/m/minidlna/Makefile (nonexistent)
+++ radix-1.9/sources/packages/m/minidlna/Makefile (revision 357)
@@ -0,0 +1,47 @@
+
+COMPONENT_TARGETS = $(HARDWARE_NOARCH)
+
+
+include ../../../../build-system/constants.mk
+
+
+url = $(DOWNLOAD_SERVER)/sources/packages/m/minidlna
+
+versions = 1.3.3
+pkgname = minidlna
+suffix = tar.gz
+
+tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s = $(addsuffix .sha1sum, $(tarballs))
+
+
+BUILD_TARGETS = $(tarballs) $(sha1s)
+
+
+include ../../../../build-system/core.mk
+
+
+.PHONY: download_clean
+
+
+$(tarballs):
+ @echo -e "\n======= Downloading source tarballs =======" ; \
+ for tarball in $(tarballs) ; do \
+ echo "$(url)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & \
+ done ; wait
+
+$(sha1s): $(tarballs)
+ @for sha in $@ ; do \
+ echo -e "\n======= Downloading '$$sha' signature =======\n" ; \
+ echo "$(url)/$$sha" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & wait %1 ; \
+ touch $$sha ; \
+ echo -e "\n======= Check the '$$sha' sha1sum =======\n" ; \
+ sha1sum --check $$sha ; ret="$$?" ; \
+ if [ "$$ret" == "1" ]; then \
+ echo -e "\n======= ERROR: Bad '$$sha' sha1sum =======\n" ; \
+ exit 1 ; \
+ fi ; \
+ done
+
+download_clean:
+ @rm -f $(tarballs) $(sha1s)
Index: radix-1.9/sources/packages/m/minidlna
===================================================================
--- radix-1.9/sources/packages/m/minidlna (nonexistent)
+++ radix-1.9/sources/packages/m/minidlna (revision 357)
Property changes on: radix-1.9/sources/packages/m/minidlna
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,74 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.rk358x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: radix-1.9/sources/packages/x/transmission/Makefile
===================================================================
--- radix-1.9/sources/packages/x/transmission/Makefile (nonexistent)
+++ radix-1.9/sources/packages/x/transmission/Makefile (revision 357)
@@ -0,0 +1,47 @@
+
+COMPONENT_TARGETS = $(HARDWARE_NOARCH)
+
+
+include ../../../../build-system/constants.mk
+
+
+url = $(DOWNLOAD_SERVER)/sources/packages/x/transmission
+
+versions = 4.0.5
+pkgname = transmission
+suffix = tar.xz
+
+tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s = $(addsuffix .sha1sum, $(tarballs))
+
+
+BUILD_TARGETS = $(tarballs) $(sha1s)
+
+
+include ../../../../build-system/core.mk
+
+
+.PHONY: download_clean
+
+
+$(tarballs):
+ @echo -e "\n======= Downloading source tarballs =======" ; \
+ for tarball in $(tarballs) ; do \
+ echo "$(url)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & \
+ done ; wait
+
+$(sha1s): $(tarballs)
+ @for sha in $@ ; do \
+ echo -e "\n======= Downloading '$$sha' signature =======\n" ; \
+ echo "$(url)/$$sha" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & wait %1 ; \
+ touch $$sha ; \
+ echo -e "\n======= Check the '$$sha' sha1sum =======\n" ; \
+ sha1sum --check $$sha ; ret="$$?" ; \
+ if [ "$$ret" == "1" ]; then \
+ echo -e "\n======= ERROR: Bad '$$sha' sha1sum =======\n" ; \
+ exit 1 ; \
+ fi ; \
+ done
+
+download_clean:
+ @rm -f $(tarballs) $(sha1s)
Index: radix-1.9/sources/packages/x/transmission
===================================================================
--- radix-1.9/sources/packages/x/transmission (nonexistent)
+++ radix-1.9/sources/packages/x/transmission (revision 357)
Property changes on: radix-1.9/sources/packages/x/transmission
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,74 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.rk358x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~