From 9bf1fc97fb1e8235475fcd6cc731c1f2cac7a753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Sun, 9 Aug 2020 16:01:29 +0200 Subject: groups/211.native_packages_cmdline.group: adds pixz v1.0.7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lucio Andrés Illanes Albornoz --- groups/211.native_packages_cmdline.group | 7 ++++++- patches/pixz-1.0.7.local.patch | 18 ++++++++++++++++++ vars/pixz.vars | 8 ++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 patches/pixz-1.0.7.local.patch create mode 100644 vars/pixz.vars diff --git a/groups/211.native_packages_cmdline.group b/groups/211.native_packages_cmdline.group index c088caeb..d33fc4e1 100644 --- a/groups/211.native_packages_cmdline.group +++ b/groups/211.native_packages_cmdline.group @@ -5,7 +5,7 @@ GROUP_TARGET="native_packages"; NATIVE_PACKAGES_PACKAGES="$(rtl_lconcat "${NATIVE_PACKAGES_PACKAGES}" " bash bc busybox cabextract calcurse coreutils dash datamash dos2unix ed figlet findutils gawk grep jush mc mksh moon_buggy mpg123 nano ninvaders -openbsd_baseutils pv rc sbase screen sed sloccount tar tcsh +openbsd_baseutils pixz pv rc sbase screen sed sloccount tar tcsh the_silver_searcher toilet tree terminally_tetris ubase which zsh")"; : ${PKG_BASH_DEPENDS:="ncurses"}; : ${PKG_BASH_SHA256SUM:=d86b3392c1202e8ff5a423b302e6284db7f8f435ea9f39b5b1b20fd3ac36dfcb}; @@ -124,6 +124,11 @@ the_silver_searcher toilet tree terminally_tetris ubase which zsh")"; : ${PKG_OPENBSD_BASEUTILS_CFLAGS_BUILD:="${NATIVE_PACKAGES_CFLAGS_CONFIGURE}"}; : ${PKG_OPENBSD_BASEUTILS_INSTALL_FILES:="../baseutils/pax/pax=bin/ ../baseutils/pax/cpio.1=share/man/man1/ ../baseutils/pax/pax.1=share/man/man1/ ../baseutils/pax/tar.1=share/man/man1/"}; : ${PKG_OPENBSD_BASEUTILS_MAKE_SUBDIRS:="libopenbsd pax"}; +: ${PKG_PIXZ_DEPENDS:="libarchive xz"}; +: ${PKG_PIXZ_SHA256SUM:=e5e32c6eb0bf112b98e74a5da8fb63b9f2cae71800f599d97ce540e150c8ddc5}; +: ${PKG_PIXZ_VERSION:=1.0.7}; +: ${PKG_PIXZ_URL:=https://github.com/vasi/pixz/releases/download/v${PKG_PIXZ_VERSION}/pixz-${PKG_PIXZ_VERSION}.tar.xz}; +: ${PKG_PIXZ_INSTALL_FILES:="../pixz-${PKG_PIXZ_VERSION}/src/pixz.1=share/man/man1/"}; : ${PKG_PV_SHA256SUM:=608ef935f7a377e1439c181c4fc188d247da10d51a19ef79bcdee5043b0973f1}; : ${PKG_PV_VERSION:=1.6.6}; : ${PKG_PV_URL:=https://www.ivarch.com/programs/sources/pv-${PKG_PV_VERSION}.tar.bz2}; diff --git a/patches/pixz-1.0.7.local.patch b/patches/pixz-1.0.7.local.patch new file mode 100644 index 00000000..f1d74a95 --- /dev/null +++ b/patches/pixz-1.0.7.local.patch @@ -0,0 +1,18 @@ +diff -ru pixz-1.0.7.orig/src/endian.c pixz-1.0.7/src/endian.c +--- pixz-1.0.7.orig/src/endian.c 2020-05-25 05:30:21.000000000 +0200 ++++ pixz-1.0.7/src/endian.c 2020-08-09 15:50:06.411547650 +0200 +@@ -10,12 +10,12 @@ + OSWriteLittleInt64(d, 0, n); + } + +-#elif defined(__linux__) || defined(__FreeBSD__) ++#elif defined(__linux__) || defined(__FreeBSD__) || defined(__midipix__) + + #include "config.h" + #include + #include +-#ifdef __linux__ ++#if defined(__linux__) || defined(__midipix__) + #include + #include + #else diff --git a/vars/pixz.vars b/vars/pixz.vars new file mode 100644 index 00000000..fa4c078f --- /dev/null +++ b/vars/pixz.vars @@ -0,0 +1,8 @@ +# +# set +o errexit -o noglob -o nounset is assumed. +# + +: ${PKG_PIXZ_CONFIG_CACHE_EXTRA:=" +ac_cv_file_src_pixz_1=yes"}; + +# vim:filetype=sh textwidth=0 -- cgit v1.2.3