attendedsysupgrade-common: update to 2021

* Use SPDX
* Use CA (ucert) public key
* Update repo link
* Update maintainer email
* Format description

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit a54b9570ad)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Paul Spooren 2021-04-29 23:09:22 +02:00 committed by Daniel Golle
parent 44e763c62e
commit facfdaca20
3 changed files with 17 additions and 18 deletions

View file

@ -1,11 +1,9 @@
# This is free software, licensed under the GNU General Public License v2. # SPDX-License-Identifier: GPL-2.0
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=attendedsysupgrade-common PKG_NAME:=attendedsysupgrade-common
PKG_VERSION:=0.2 PKG_VERSION:=0.3
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0 PKG_LICENSE:=GPL-2.0
@ -15,7 +13,7 @@ define Package/attendedsysupgrade-common
SECTION:=utils SECTION:=utils
CATEGORY:=Base system CATEGORY:=Base system
TITLE:=Common files neede by attendedsysupgrade packages TITLE:=Common files neede by attendedsysupgrade packages
MAINTAINER:=Paul Spooren <paul@spooren.de> MAINTAINER:=Paul Spooren <mail@aparcar.org>
DEPENDS:=+rpcd +rpcd-mod-rpcsys DEPENDS:=+rpcd +rpcd-mod-rpcsys
PKGARCH:=all PKGARCH:=all
endef endef
@ -27,20 +25,21 @@ define Package/attendedsysupgrade-common/description
UCI options: UCI options:
attendedsysupgrade.server.url * attendedsysupgrade.server.url
URL of compatible upgrade server [1] URL of compatible upgrade server [1]
attendedsysupgrade.client.upgrade_packages * attendedsysupgrade.client.upgrade_packages
Client should request image also if no new release but new packages upgrade are available. Client should request image also if no new release but new packages
upgrade are available.
attendedsysupgrade.client.advanced_mode * attendedsysupgrade.client.advanced_mode
Offer advanced options like editing packages before request and show additional information. Offer advanced options like editing packages before request and show
additional information.
attendedsysupgrade.client.auto_search * attendedsysupgrade.client.auto_search
Tells the client to automattically search for upgrades Tells the client to automattically search for upgrades
This can be done when opening luci or login in to console - depends on client.
[1]: https://github.com/aparcar/gsoc17-attended-sysupgrade [1]: https://github.com/aparcar/asu
endef endef
define Build/Compile define Build/Compile
@ -54,7 +53,7 @@ define Package/attendedsysupgrade-common/install
$(INSTALL_BIN) ./files/attendedsysupgrade.defaults $(1)/etc/uci-defaults/attendedsysupgrade $(INSTALL_BIN) ./files/attendedsysupgrade.defaults $(1)/etc/uci-defaults/attendedsysupgrade
$(INSTALL_DIR) $(1)/etc/opkg/keys/ $(INSTALL_DIR) $(1)/etc/opkg/keys/
$(INSTALL_BIN) ./files/c06d891233ba699 $(1)/etc/opkg/keys/c06d891233ba699 $(INSTALL_BIN) ./files/86241a707a30cb7f $(1)/etc/opkg/keys/86241a707a30cb7f
endef endef
$(eval $(call BuildPackage,attendedsysupgrade-common)) $(eval $(call BuildPackage,attendedsysupgrade-common))

View file

@ -0,0 +1,2 @@
untrusted comment: ASU CA pubkey
RWSGJBpwejDLf4OApA5SOavh0GBlBFY9FhqxnivUQHpi0/t0QRI98LPW

View file

@ -1,2 +0,0 @@
untrusted comment: public key c06d891233ba699
RWQMBtiRIzummeTc81jtKdJ3XwnaZGtHLRwjls0ovGsKoTnTmS7fj4Na