mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add whois package
This commit is contained in:
parent
f95a985605
commit
05c4fe5ad0
1 changed files with 46 additions and 0 deletions
46
whois/Makefile
Normal file
46
whois/Makefile
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
PKG_NAME:=whois
|
||||||
|
PKG_VERSION:=5.3.2
|
||||||
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
|
||||||
|
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.xz
|
||||||
|
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/w/whois
|
||||||
|
PKG_HASH:=79714ba89172bca08a2443f59885daa4af0c5f8d6a49bc9e7f2a83559a286354
|
||||||
|
PKG_CAT:=xzcat
|
||||||
|
|
||||||
|
PKG_INSTALL:=1
|
||||||
|
PKG_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
define Package/whois
|
||||||
|
SECTION:=net
|
||||||
|
CATEGORY:=Network
|
||||||
|
TITLE:=WHOIS commandline utility
|
||||||
|
URL:=http://ftp.debian.org/debian/pool/main/w/whois
|
||||||
|
MAINTAINER:=Kihamo <dev@kihamo.ru>
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/whois/description
|
||||||
|
Utility to display information from WHOIS servers
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/whois/conffiles
|
||||||
|
/etc/whois.conf
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKE_FLAGS += \
|
||||||
|
prefix=$(PKG_BUILD_DIR)
|
||||||
|
|
||||||
|
define Package/whois/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/whois $(1)/usr/sbin
|
||||||
|
$(INSTALL_DIR) $(1)/etc
|
||||||
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/whois.conf $(1)/etc/whois.conf
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,whois))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue