2023-05-12 08:10:06 +02:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=aardvark-dns
|
2024-02-16 08:33:02 +01:00
|
|
|
PKG_VERSION:=1.10.0
|
2023-05-12 08:10:06 +02:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2023-06-11 15:11:39 +02:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=https://codeload.github.com/containers/aardvark-dns/tar.gz/v$(PKG_VERSION)?
|
2024-02-16 08:33:02 +01:00
|
|
|
PKG_HASH:=b3e77b3ff4eb40f010c78ca00762761e8c639c47e1cb67686d1eb7f522fbc81e
|
2023-05-12 08:10:06 +02:00
|
|
|
|
|
|
|
PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com>
|
|
|
|
PKG_LICENSE:=Apache-2.0
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
|
|
|
|
PKG_BUILD_DEPENDS:=rust/host
|
2023-09-23 14:24:37 +02:00
|
|
|
PKG_BUILD_PARALLEL:=1
|
2023-05-12 08:10:06 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include ../../lang/rust/rust-package.mk
|
|
|
|
|
|
|
|
define Package/aardvark-dns
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
DEPENDS:=$(RUST_ARCH_DEPENDS)
|
|
|
|
TITLE:=authoritative dns server for container records
|
|
|
|
URL:=https://github.com/containers/aardvark-dns
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/aardvark-dns/description
|
|
|
|
Aardvark-dns is an authoritative dns server for A/AAAA container records.
|
|
|
|
It can forward other requests to configured resolvers.
|
|
|
|
|
|
|
|
It is mostly intended to be used with Netavark which will
|
|
|
|
launch it automatically if both are installed.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/aardvark-dns/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/podman
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/aardvark-dns $(1)/usr/lib/podman/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call RustBinPackage,aardvark-dns))
|
|
|
|
$(eval $(call BuildPackage,aardvark-dns))
|