ovsd: improve package style and update source
authorDaniel Golle <redacted>
Sat, 10 Apr 2021 13:39:59 +0000 (14:39 +0100)
committerDaniel Golle <redacted>
Sat, 10 Apr 2021 15:56:44 +0000 (16:56 +0100)
Fix post-merge comments in #15316 and update source.

Signed-off-by: Daniel Golle <redacted>
net/ovsd/Makefile
net/ovsd/files/etc/init.d/ovsd

index 72c7e5d45711c91bb5cf2ac99c9f335ae00b13ef..e4cf582edc05b36dc262f9b01c4e23b8a21d42c3 100644 (file)
@@ -1,33 +1,30 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ovsd
-PKG_VERSION:=2020-10-12
+PKG_SOURCE_DATE:=2020-12-08
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=https://gitlab.hhi.fraunhofer.de/wn-ina/ovsd.git
-PKG_SOURCE_VERSION:=e6a07f27dd8a5893eb6110c69922077995b9b26a
-PKG_MIRROR_HASH:=9d903b3fecd8a3e102e1477efe479fc3851b1814ea0852e1dae39065b88cd157
-
-PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
+PKG_SOURCE_URL:=https://gitlab.hhi.fraunhofer.de/wn-ina/ovsd
+PKG_SOURCE_VERSION:=3a03476e2fececed3752ba4e68c92e71160c7db1
+PKG_MIRROR_HASH:=306e0cfa675299260142831e7a16c77e6e9e52ad7067bf20362f06af4faad69c
 
 PKG_MAINTAINER:=Arne Kappen <akappen@inet.tu-berlin.de>
-PKG_LICENSE:=GPL-2.0
+PKG_LICENSE:=GPL-2.0-only
+PKG_LICENSE_FILES:=LICENSE
 
 PKG_BUILD_PARALLEL:=1
 
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/cmake.mk
 
-
 define Package/ovsd
   SECTION:=net
   SUBMENU:=Open vSwitch
   CATEGORY:=Network
-  DEPENDS:=+openvswitch +libubox +libubus +netifd
   TITLE:=Open vSwtich configuration daemon for netifd
-  MAINTAINER:=Arne Kappen <akappen@inet.tu-berlin.de>
+  URL:=https://gitlab.hhi.fraunhofer.de/wn-ina/ovsd
+  DEPENDS:=+openvswitch +libubox +libubus +netifd
 endef
 
 define Package/ovsd/description
index f273e4e7f211238f68799ceed88ed892acc4c806..b9b5cd27598d2f4e6d520f7bc8663eead393eed7 100755 (executable)
@@ -4,10 +4,9 @@ START=19
 USE_PROCD=1
 
 start_service() {
-        procd_open_instance
-        procd_set_param command /sbin/ovsd
-        procd_set_param respawn
+       procd_open_instance
+       procd_set_param command /sbin/ovsd
+       procd_set_param respawn
        procd_set_param watch ovs
-
-        procd_close_instance
-}
\ No newline at end of file
+       procd_close_instance
+}
git clone https://git.99rst.org/PROJECT