From d2d97f84d5c037d7a6b8db6c497a5987030b7335 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 14:08:01 +0000 Subject: fixed pcre and moved libarchive --- repo/system/libarchive.xibuild | 20 ++++++++++++++++++++ repo/system/pcre.xibuild | 2 +- repo/tip/libarchive.xibuild | 20 -------------------- 3 files changed, 21 insertions(+), 21 deletions(-) create mode 100644 repo/system/libarchive.xibuild delete mode 100644 repo/tip/libarchive.xibuild (limited to 'repo') diff --git a/repo/system/libarchive.xibuild b/repo/system/libarchive.xibuild new file mode 100644 index 0000000..80c60c4 --- /dev/null +++ b/repo/system/libarchive.xibuild @@ -0,0 +1,20 @@ +#!/bin/bash + +DEPS=(acl bzip2 expat lz4 openssl xz zlib zstd) + +SOURCE=https://github.com/libarchive/libarchive/releases/download/v3.5.2/libarchive-3.5.2.tar.gz + +DESC="A library that provides a single interface for reading and writing various compression formats" + +build () { + sed -i '436a if ((OSSL_PROVIDER_load(NULL, "legacy")) == NULL) \ + return (ARCHIVE_FAILED);' libarchive/archive_digest.c + + ./configure --prefix=/usr --disable-static + + make +} + +package() { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/system/pcre.xibuild b/repo/system/pcre.xibuild index 2773676..721acfe 100644 --- a/repo/system/pcre.xibuild +++ b/repo/system/pcre.xibuild @@ -3,7 +3,7 @@ DEPS=(glibc) PKG_VER=10.39 -SOURCE=https://github.com/PhilipHazel/pcre2/releases/download/pcre2-$PKG_VER/pcre2-$PKG_VER.tar.gz2 +SOURCE=https://github.com/PhilipHazel/pcre2/releases/download/pcre2-$PKG_VER/pcre2-$PKG_VER.tar.gz DESC="A library that implements regular expressions in a perl style" build () { diff --git a/repo/tip/libarchive.xibuild b/repo/tip/libarchive.xibuild deleted file mode 100644 index 80c60c4..0000000 --- a/repo/tip/libarchive.xibuild +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -DEPS=(acl bzip2 expat lz4 openssl xz zlib zstd) - -SOURCE=https://github.com/libarchive/libarchive/releases/download/v3.5.2/libarchive-3.5.2.tar.gz - -DESC="A library that provides a single interface for reading and writing various compression formats" - -build () { - sed -i '436a if ((OSSL_PROVIDER_load(NULL, "legacy")) == NULL) \ - return (ARCHIVE_FAILED);' libarchive/archive_digest.c - - ./configure --prefix=/usr --disable-static - - make -} - -package() { - make DESTDIR=$PKG_DEST install -} -- cgit v1.2.1