You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.2 KiB

  1. # This is free software, licensed under the GNU General Public License v2.
  2. # See /LICENSE for more information.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=rpcd-mod-attendedsysupgrade
  6. PKG_VERSION:=1
  7. PKG_RELEASE:=1
  8. PKG_LICENSE:=GPL-2.0
  9. include $(INCLUDE_DIR)/package.mk
  10. define Package/rpcd-mod-attendedsysupgrade
  11. SECTION:=utils
  12. CATEGORY:=Base system
  13. TITLE:=OpenWrt ubus RPC backend server (attendedsysupgrade)
  14. MAINTAINER:=Paul Spooren <paul@spooren.de>
  15. DEPENDS:=rpcd +cgi-io +rpcd-mod-packagelist
  16. endef
  17. define Package/rpcd-mod-attendedsysupgrade/description
  18. implements sysupgrade function with ubus
  19. add uci settings and needed acls
  20. endef
  21. define Build/Compile
  22. endef
  23. define Build/Configure
  24. endef
  25. define Package/rpcd-mod-attendedsysupgrade/install
  26. $(INSTALL_DIR) $(1)/usr/share/rpcd/acl.d/
  27. $(INSTALL_BIN) ./files/attendedsysupgrade.acl $(1)/usr/share/rpcd/acl.d/attendedsysupgrade.json
  28. $(INSTALL_DIR) $(1)/usr/libexec/rpcd/
  29. $(INSTALL_BIN) ./files/attendedsysupgrade.rpcd $(1)/usr/libexec/rpcd/attendedsysupgrade
  30. $(INSTALL_DIR) $(1)/etc/uci-defaults/
  31. $(INSTALL_BIN) ./files/attendedsysupgrade.defaults $(1)/etc/uci-defaults/attendedsysupgrade
  32. endef
  33. $(eval $(call BuildPackage,rpcd-mod-attendedsysupgrade))