1 include $(TOPDIR
)/rules.mk
5 PKG_RELEASE
:=$(AUTORELEASE
)
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
11 PKG_MAINTAINER
:=Michal Vasilek
<michal.vasilek@nic.cz
>
12 PKG_LICENSE
:=ISC
, BSD-3-Clause
13 PKG_LICENSE_FILES
:=LICENSE
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/opendoas
23 TITLE
:=Portable OpenBSD doas to execute commands
as another user
24 URL
:=https
://github.com
/Duncaen
/OpenDoas
25 DEPENDS
:=+BUSYBOX_CONFIG_PAM
:libpam
28 define Package
/opendoas
/description
29 OpenDoas
: a portable version of OpenBSD
's doas command
31 doas is a minimal replacement for the venerable sudo. It was initially
32 written by Ted Unangst of the OpenBSD project to provide 95% of the features
33 of sudo with a fraction of the codebase.
36 define Package/opendoas/install
37 $(INSTALL_DIR) $(1)/usr/bin
38 $(CP) $(PKG_INSTALL_DIR)/usr/bin/doas $(1)/usr/bin/
41 $(eval $(call BuildPackage,opendoas))