Browse Source

treewide: add missing conffiles

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
lilik-openwrt-22.03
Huangbin Zhan 3 years ago
committed by Rosen Penev
parent
commit
94d57346fc
9 changed files with 44 additions and 4 deletions
  1. +4
    -0
      net/dnsproxy/Makefile
  2. +5
    -1
      net/hs20/Makefile
  3. +4
    -0
      net/kea/Makefile
  4. +4
    -0
      net/mbusd/Makefile
  5. +5
    -1
      net/tailscale/Makefile
  6. +4
    -0
      net/tmate-ssh-server/Makefile
  7. +5
    -1
      net/udhcpsnoop/Makefile
  8. +5
    -1
      net/udpspeeder/Makefile
  9. +8
    -0
      net/wg-installer/Makefile

+ 4
- 0
net/dnsproxy/Makefile View File

@ -51,5 +51,9 @@ define Package/dnsproxy/install
$(INSTALL_BIN) $(CURDIR)/files/dnsproxy.init $(1)/etc/init.d/dnsproxy $(INSTALL_BIN) $(CURDIR)/files/dnsproxy.init $(1)/etc/init.d/dnsproxy
endef endef
define Package/dnsproxy/conffiles
/etc/config/dnsproxy
endef
$(eval $(call GoBinPackage,dnsproxy)) $(eval $(call GoBinPackage,dnsproxy))
$(eval $(call BuildPackage,dnsproxy)) $(eval $(call BuildPackage,dnsproxy))

+ 5
- 1
net/hs20/Makefile View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=hs20 PKG_NAME:=hs20
PKG_RELEASE:=5
PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE_URL:=http://w1.fi/hostap.git PKG_SOURCE_URL:=http://w1.fi/hostap.git
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
@ -140,6 +140,10 @@ define Package/hs20-server/install
$(INSTALL_BIN) ./files/hs20.init $(1)/etc/init.d/hs20 $(INSTALL_BIN) ./files/hs20.init $(1)/etc/init.d/hs20
endef endef
define Package/hs20-server/conffiles
/etc/config/hs20
endef
$(eval $(call BuildPackage,hs20-common)) $(eval $(call BuildPackage,hs20-common))
$(eval $(call BuildPackage,hs20-client)) $(eval $(call BuildPackage,hs20-client))
$(eval $(call BuildPackage,hs20-server)) $(eval $(call BuildPackage,hs20-server))

+ 4
- 0
net/kea/Makefile View File

@ -313,6 +313,10 @@ define Package/kea-uci/install
$(INSTALL_BIN) ./files/kea.init $(1)/etc/init.d/kea $(INSTALL_BIN) ./files/kea.init $(1)/etc/init.d/kea
endef endef
define Package/kea-uci/conffiles
/etc/config/kea
endef
$(eval $(call HostBuild)) $(eval $(call HostBuild))
$(eval $(call BuildPackage,kea-libs)) $(eval $(call BuildPackage,kea-libs))
$(eval $(call BuildPackage,kea-ctrl)) $(eval $(call BuildPackage,kea-ctrl))


+ 4
- 0
net/mbusd/Makefile View File

@ -39,4 +39,8 @@ define Package/mbusd/install
$(INSTALL_BIN) ./files/mbusd.init $(1)/etc/init.d/mbusd $(INSTALL_BIN) ./files/mbusd.init $(1)/etc/init.d/mbusd
endef endef
define Package/mbusd/conffiles
/etc/config/mbusd
endef
$(eval $(call BuildPackage,mbusd)) $(eval $(call BuildPackage,mbusd))

+ 5
- 1
net/tailscale/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=tailscale PKG_NAME:=tailscale
PKG_VERSION:=1.12.3 PKG_VERSION:=1.12.3
PKG_RELEASE:=1
PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=tailscale-$(PKG_VERSION).tar.gz PKG_SOURCE:=tailscale-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/tailscale/tailscale/tar.gz/v$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/tailscale/tailscale/tar.gz/v$(PKG_VERSION)?
@ -73,5 +73,9 @@ define Package/tailscaled/install
$(INSTALL_DATA) ./files//tailscale.conf $(1)/etc/config/tailscale $(INSTALL_DATA) ./files//tailscale.conf $(1)/etc/config/tailscale
endef endef
define Package/tailscaled/conffiles
/etc/config/tailscale
endef
$(eval $(call BuildPackage,tailscale)) $(eval $(call BuildPackage,tailscale))
$(eval $(call BuildPackage,tailscaled)) $(eval $(call BuildPackage,tailscaled))

+ 4
- 0
net/tmate-ssh-server/Makefile View File

@ -48,4 +48,8 @@ define Package/tmate-ssh-server/install
$(INSTALL_DATA) ./files/tmate-ssh-server.config $(1)/etc/config/tmate-ssh-server $(INSTALL_DATA) ./files/tmate-ssh-server.config $(1)/etc/config/tmate-ssh-server
endef endef
define Package/tmate-ssh-server/conffiles
/etc/config/tmate-ssh-server
endef
$(eval $(call BuildPackage,tmate-ssh-server)) $(eval $(call BuildPackage,tmate-ssh-server))

+ 5
- 1
net/udhcpsnoop/Makefile View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=udhcpsnoop PKG_NAME:=udhcpsnoop
PKG_RELEASE:=1
PKG_RELEASE:=$(AUTORELEASE)
PKG_LICENSE:=BSD-3-Clause PKG_LICENSE:=BSD-3-Clause
PKG_MAINTAINER:=John Crispin <john@phrozen.org> PKG_MAINTAINER:=John Crispin <john@phrozen.org>
@ -28,4 +28,8 @@ define Package/udhcpsnoop/install
$(CP) ./files/* $(1) $(CP) ./files/* $(1)
endef endef
define Package/udhcpsnoop/conffiles
/etc/config/dhcpsnoop
endef
$(eval $(call BuildPackage,udhcpsnoop)) $(eval $(call BuildPackage,udhcpsnoop))

+ 5
- 1
net/udpspeeder/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=UDPspeeder PKG_NAME:=UDPspeeder
PKG_VERSION:=20210116.0 PKG_VERSION:=20210116.0
PKG_RELEASE:=2
PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/wangyu-/$(PKG_NAME)/tar.gz/$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/wangyu-/$(PKG_NAME)/tar.gz/$(PKG_VERSION)?
@ -56,4 +56,8 @@ define Package/UDPspeeder/install
$(INSTALL_BIN) ./files/udpspeeder-init $(1)/etc/init.d/udpspeeder $(INSTALL_BIN) ./files/udpspeeder-init $(1)/etc/init.d/udpspeeder
endef endef
define Package/UDPspeeder/conffiles
/etc/config/udpspeeder
endef
$(eval $(call BuildPackage,UDPspeeder)) $(eval $(call BuildPackage,UDPspeeder))

+ 8
- 0
net/wg-installer/Makefile View File

@ -41,6 +41,10 @@ define Package/wg-installer-server/install
$(INSTALL_CONF) ./wg-server/config/wgserver.conf $(1)/etc/config/wgserver $(INSTALL_CONF) ./wg-server/config/wgserver.conf $(1)/etc/config/wgserver
endef endef
define Package/wg-installer-server/conffiles
/etc/config/wgserver
endef
define Package/wg-installer-server/postinst define Package/wg-installer-server/postinst
#!/bin/sh #!/bin/sh
if [ -z $${IPKG_INSTROOT} ] ; then if [ -z $${IPKG_INSTROOT} ] ; then
@ -76,6 +80,10 @@ define Package/wg-installer-client/install
$(INSTALL_CONF) ./wg-client/config/wgclient.conf $(1)/etc/config/wgclient $(INSTALL_CONF) ./wg-client/config/wgclient.conf $(1)/etc/config/wgclient
endef endef
define Package/wg-installer-client/conffiles
/etc/config/wgclient
endef
$(eval $(call BuildPackage,wg-installer-server)) $(eval $(call BuildPackage,wg-installer-server))
$(eval $(call BuildPackage,wg-installer-server-hotplug-babeld)) $(eval $(call BuildPackage,wg-installer-server-hotplug-babeld))
$(eval $(call BuildPackage,wg-installer-client)) $(eval $(call BuildPackage,wg-installer-client))

Loading…
Cancel
Save