mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
bmx7-dnsupdate: add package
Makes it easy to address bmx7 shorids and hostnames with ping, ssh, etc. Both are stored in /tmp/hosts/ and so loaded by dnsmasq. Instead of using a cron job which triggers the bmx7 deamon every so and so, inotifywait is used to see creation or deletion of originators in /var/run/bmx7/json/originators/ Signed-off-by: Paul Spooren <spooren@informatik.uni-leipzig.de>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=bmx7-dnsupdate
|
||||
PKG_VERSION:=0.1
|
||||
PKG_RELEASE:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/bmx7-dnsupdate
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=bmx7-dnsupdate
|
||||
MAINTAINER:=Paul Spooren <spooren@informatik.uni-leipzig.de>
|
||||
DEPENDS:=+bmx7 +bmx7-json inotifywait jshn
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
endef
|
||||
|
||||
define Package/bmx7-dnsupdate/install
|
||||
$(CP) files/* $(1)/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,bmx7-dnsupdate))
|
||||
Reference in New Issue
Block a user