Merge pull request #19048 from guijan/update-stress_ng
[feed/packages.git] / utils / opendoas / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=opendoas
4 PKG_VERSION:=6.8.2
5 PKG_RELEASE:=$(AUTORELEASE)
6
7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
8 PKG_SOURCE_URL:=https://github.com/Duncaen/OpenDoas/releases/download/v$(PKG_VERSION)
9 PKG_HASH:=4e98828056d6266bd8f2c93e6ecf12a63a71dbfd70a5ea99ccd4ab6d0745adf0
10
11 PKG_MAINTAINER:=Michal Vasilek <michal.vasilek@nic.cz>
12 PKG_LICENSE:=ISC, BSD-3-Clause
13 PKG_LICENSE_FILES:=LICENSE
14
15 PKG_INSTALL:=1
16 PKG_BUILD_PARALLEL:=1
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/opendoas
21 SECTION:=utils
22 CATEGORY:=Utilities
23 TITLE:=Portable OpenBSD doas to execute commands as another user
24 URL:=https://github.com/Duncaen/OpenDoas
25 endef
26
27 define Package/opendoas/description
28 OpenDoas: a portable version of OpenBSD's doas command
29
30 doas is a minimal replacement for the venerable sudo. It was initially
31 written by Ted Unangst of the OpenBSD project to provide 95% of the features
32 of sudo with a fraction of the codebase.
33 endef
34
35 define Package/opendoas/install
36 $(INSTALL_DIR) $(1)/usr/bin
37 $(CP) $(PKG_INSTALL_DIR)/usr/bin/doas $(1)/usr/bin/
38 endef
39
40 $(eval $(call BuildPackage,opendoas))