From f1893a426a815a667786385e083e8385f7622524 Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Sun, 31 Oct 2021 09:22:04 +0100 Subject: [PATCH] rosy-file-server: drop this package Reasons to drop this package: a) this package depends on luci-app-rosy-file-server Unfortunately, it was marked as broken as it is unmaintained. See: https://github.com/openwrt/luci/commit/34b682afac310859f0d4696110d8a1af60f16c04 b) maintainer is inactive c) rosinson website does not seem to be working Signed-off-by: Josef Schlehofer --- net/rosy-file-server/Makefile | 52 ------------------------ net/rosy-file-server/files/rosyfs.config | 13 ------ net/rosy-file-server/files/rosyfs.init | 29 ------------- 3 files changed, 94 deletions(-) delete mode 100644 net/rosy-file-server/Makefile delete mode 100644 net/rosy-file-server/files/rosyfs.config delete mode 100755 net/rosy-file-server/files/rosyfs.init diff --git a/net/rosy-file-server/Makefile b/net/rosy-file-server/Makefile deleted file mode 100644 index 93964ae14..000000000 --- a/net/rosy-file-server/Makefile +++ /dev/null @@ -1,52 +0,0 @@ -# -# Copyright (C) 2019 rosysong@rosinson.com -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=rosy-file-server -PKG_VERSION:=1.0.0 -PKG_RELEASE:=$(AUTORELEASE) -PKG_LICENSE:=GPL-2.0 - -PKG_MAINTAINER:=Rosy Song - -PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) - -include $(INCLUDE_DIR)/package.mk - -define Package/rosy-file-server - SUBMENU:=File Transfer - SECTION:=net - CATEGORY:=Network - TITLE:=Rosy File Server over HTTP - PKGARCH:=all -endef - -define Package/rosy-file-server/description - This package is a configuration management for luci-app-rosy-file-server. -endef - -define Package/rosy-file-server/conffiles -/etc/config/rosyfs -endef - -define Build/Prepare -endef - -define Build/Configure -endef - -define Build/Compile -endef - -define Package/rosy-file-server/install - $(INSTALL_DIR) $(1)/etc/init.d $(1)/etc/config - $(INSTALL_BIN) ./files/rosyfs.init $(1)/etc/init.d/rosyfs - $(INSTALL_CONF) ./files/rosyfs.config $(1)/etc/config/rosyfs -endef - -$(eval $(call BuildPackage,rosy-file-server)) diff --git a/net/rosy-file-server/files/rosyfs.config b/net/rosy-file-server/files/rosyfs.config deleted file mode 100644 index 53ad71ada..000000000 --- a/net/rosy-file-server/files/rosyfs.config +++ /dev/null @@ -1,13 +0,0 @@ -# -# Copyright (C) 2019 rosysong@rosinson.com -# - -config rosyfs default - - # Web title - option title 'Rosy File Server' - - # Path to share - option target '/www' - - option disabled '0' diff --git a/net/rosy-file-server/files/rosyfs.init b/net/rosy-file-server/files/rosyfs.init deleted file mode 100755 index ebcd19db1..000000000 --- a/net/rosy-file-server/files/rosyfs.init +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh /etc/rc.common -# -# Copyright (C) 2019 rosysong@rosinson.com -# - -START=99 -USE_PROCD=1 -SHARE_PATH=/www/rosyfs-share - -service_triggers() { - procd_add_reload_trigger rosyfs -} - -start_service() { - config_load rosyfs - config_get disabled default disabled '0' - config_get target default target '' - - [ $disabled -eq 1 ] && return - - [ -n "$target" -a ! "$(readlink $SHARE_PATH)" = "$target" ] && { - rm -f $SHARE_PATH - ln -s $target $SHARE_PATH - } -} - -stop_service() { - rm -f $SHARE_PATH -}