Skip to content

Commit

Permalink
sudo: modify version to Alpine Linux one
Browse files Browse the repository at this point in the history
The goal here is compatibility with APK.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
  • Loading branch information
neheb committed Aug 17, 2024
1 parent 05b218e commit ed1f025
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions admin/sudo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=sudo
PKG_VERSION:=1.9.15p5
PKG_REALVERSION:=1.9.15p5
PKG_VERSION:=$(subst p,_p,$(PKG_REALVERSION))
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE:=$(PKG_NAME)-$(PKG_REALVERSION).tar.gz
PKG_SOURCE_URL:=https://www.sudo.ws/dist
PKG_HASH:=558d10b9a1991fb3b9fa7fa7b07ec4405b7aefb5b3cb0b0871dbc81e3a88e558
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_REALVERSION)

PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>

Expand Down
2 changes: 1 addition & 1 deletion admin/sudo/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

case "$1" in
sudo)
sudo --version | grep "$2"
sudo --version | grep "${2//_p/p}"
;;
esac

0 comments on commit ed1f025

Please sign in to comment.