Browse Source

ovsd: improve package style and update source

Fix post-merge comments in #15316 and update source.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
lilik-openwrt-22.03
Daniel Golle 4 years ago
parent
commit
2d9b46e677
No known key found for this signature in database GPG Key ID: 5A8F39C31C3217CA
2 changed files with 13 additions and 17 deletions
  1. +8
    -11
      net/ovsd/Makefile
  2. +5
    -6
      net/ovsd/files/etc/init.d/ovsd

+ 8
- 11
net/ovsd/Makefile View File

@ -1,33 +1,30 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=ovsd PKG_NAME:=ovsd
PKG_VERSION:=2020-10-12
PKG_SOURCE_DATE:=2020-12-08
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git 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_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 PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk include $(INCLUDE_DIR)/cmake.mk
define Package/ovsd define Package/ovsd
SECTION:=net SECTION:=net
SUBMENU:=Open vSwitch SUBMENU:=Open vSwitch
CATEGORY:=Network CATEGORY:=Network
DEPENDS:=+openvswitch +libubox +libubus +netifd
TITLE:=Open vSwtich configuration daemon for 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 endef
define Package/ovsd/description define Package/ovsd/description


+ 5
- 6
net/ovsd/files/etc/init.d/ovsd View File

@ -4,10 +4,9 @@ START=19
USE_PROCD=1 USE_PROCD=1
start_service() { 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_set_param watch ovs
procd_close_instance
}
procd_close_instance
}

Loading…
Cancel
Save