From: Paul Spooren Date: Sun, 14 Mar 2021 22:15:16 +0000 (-1000) Subject: asu: remove ASU server from packages X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8296d84f186d2f1bfbcbfca93c076cf9be66abe5;p=feed%2Fpackages.git asu: remove ASU server from packages This package wasn't updated since forever, I'll pack it in a container for easier installation but don't want to maintain it as an OpenWrt package. Signed-off-by: Paul Spooren --- diff --git a/devel/asu/Makefile b/devel/asu/Makefile deleted file mode 100644 index 54d55f245c..0000000000 --- a/devel/asu/Makefile +++ /dev/null @@ -1,56 +0,0 @@ -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=asu -PKG_VERSION:=0.2.3 -PKG_RELEASE:=3 - -PKG_LICENSE:=GPL-3.0 - -PYPI_NAME:=$(PKG_NAME) -PKG_HASH:=e60027cd531cc5b9b20d3321acc06fdf0cdd894004919800575b8235343ba8ef - -PKG_BUILD_DEPENDS:=python3 - -include ../../lang/python/pypi.mk -include $(INCLUDE_DIR)/package.mk -include ../../lang/python/python3-package.mk - -IMAGEBUILDER_DEPENDS:= \ - @x86_64 +bash +bzip2 +coreutils +coreutils-stat +diffutils +file \ - +gawk +gcc +getopt +git +git-http +libncurses +make +patch +perl \ - +perlbase-attributes +perlbase-findbin +perlbase-getopt \ - +perlbase-thread +python3-light +tar +unzip +wget +xz +xzdiff \ - +xzgrep +xzless +xz-utils +zlib-dev - -define Package/asu - SECTION:=devel - CATEGORY:=Development - TITLE:=attended sysupgrade image server - MAINTAINER:=Paul Spooren - URL:=http://github.com/aparcar/gsoc17-attended-sysupgrade/ - DEPENDS:=$(IMAGEBUILDER_DEPENDS) +pgsql-server +psqlodbcw \ - +python3-ctypes +python3-distutils +python3-flask \ - +gunicorn3 +python3-openssl +python3-pyodbc +python3-yaml \ - +libustream-mbedtls +ca-certificates +gnupg - USERID:=asu:asu -endef - -define Package/asu/description - Build server to deliver OpenWrt/LEDE sysupgrade images -endef - -define Py3Package/asu/install - $(INSTALL_DIR) $(1)/etc/uci-defaults - $(INSTALL_BIN) ./files/asu.defaults $(1)/etc/uci-defaults/99-asu - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) ./files/asu.init $(1)/etc/init.d/asu - $(INSTALL_DIR) $(1)/etc/asu - $(INSTALL_CONF) $(PKG_BUILD_DIR)/asu/utils/config.yml.default $(1)/etc/asu/config.yml -endef - -$(eval $(call Py3Package,asu)) -$(eval $(call BuildPackage,asu)) diff --git a/devel/asu/files/asu.defaults b/devel/asu/files/asu.defaults deleted file mode 100644 index 04fdf07221..0000000000 --- a/devel/asu/files/asu.defaults +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh - -asu_password=$(dd if=/dev/urandom bs=16 count=1 2>/dev/null | sha256sum | cut -d' ' -f1) -asu_tables="$(ls -1 /usr/lib/python*/site-packages/asu/utils/tables.sql | head -n 1)" - -uci -q batch <