forked from openwrt/packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libsodium: Update to 1.0.19 and fix patches
Also add TAR_OPTIONS and TAR_CMD. Unfortunately, latest version of libsodium extracts to an additional libsodium-latest subfolder, which is unneccessary and removed by these options. Signed-off-by: Carsten Schuette <[email protected]>
- Loading branch information
1 parent
37a77ff
commit 4f31101
Showing
3 changed files
with
27 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,13 +8,13 @@ | |
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=libsodium | ||
PKG_VERSION:=1.0.18 | ||
PKG_RELEASE:=4 | ||
PKG_VERSION:=1.0.19 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=https://download.libsodium.org/libsodium/releases \ | ||
https://github.com/jedisct1/libsodium/releases/download/$(PKG_VERSION) | ||
PKG_HASH:=6f504490b342a4f8a4c4a02fc9b866cbef8622d5df4e5452b46be121e46636c1 | ||
PKG_HASH:=018d79fe0a045cca07331d37bd0cb57b2e838c51bc48fd837a1472e50068bbea | ||
|
||
PKG_MAINTAINER:=Damiano Renfer <[email protected]> | ||
PKG_LICENSE:=ISC | ||
|
@@ -27,6 +27,9 @@ PKG_BUILD_PARALLEL:=1 | |
|
||
include $(INCLUDE_DIR)/package.mk | ||
|
||
TAR_OPTIONS+= --strip-components 1 | ||
TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS) | ||
|
||
define Package/libsodium | ||
SECTION:=libs | ||
CATEGORY:=Libraries | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters