summaryrefslogtreecommitdiffhomepage
path: root/200.coreutils.build
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-02-06 13:10:41 +0100
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-02-06 14:22:08 +0100
commitbd43d02c5f32a6d4d3f11ebcac4588ff77069173 (patch)
tree9c35f711c7a5dabb14f49e1385189c4fe570e3c2 /200.coreutils.build
parentfa26eefbefcfdbac1922dedc67e52acb6f5d8177 (diff)
downloadmidipix_build-bd43d02c5f32a6d4d3f11ebcac4588ff77069173.tar.bz2
midipix_build-bd43d02c5f32a6d4d3f11ebcac4588ff77069173.tar.xz
- Added sha256sum (1) file verification logic to parse_with_pkg_name(), fetch(), and the respective build scripts (cheers sortie.)
- Renamed ${..._VERSION} variables to ${PKG_..._VERSION} to prevent namespace collision (cheers drewrichardson.) - Use log_msg() in check_prereqs() in build.subr.
Diffstat (limited to '200.coreutils.build')
-rw-r--r--200.coreutils.build27
1 files changed, 13 insertions, 14 deletions
diff --git a/200.coreutils.build b/200.coreutils.build
index 8e809e2d..4a43e3b9 100644
--- a/200.coreutils.build
+++ b/200.coreutils.build
@@ -1,23 +1,22 @@
export CFLAGS="${CFLAGS_PACKAGES}";
parse_with_pkg_name "${2}" \
- "https://ftp.gnu.org/gnu/coreutils/coreutils-${COREUTILS_VERSION}.tar.xz" "" \
- "https://ftp.gnu.org/gnu/diffutils/diffutils-${DIFFUTILS_VERSION}.tar.xz" "" \
- "https://alpha.gnu.org/gnu/findutils/findutils-${FINDUTILS_VERSION}.tar.gz" \
- "CFLAGS=${CFLAGS:+${CFLAGS} }-Dendpwent=setpwent" \
- "https://ftp.gnu.org/gnu/patch/patch-${PATCH_VERSION}.tar.gz" "" \
- "https://ftp.gnu.org/gnu/gawk/gawk-${GAWK_VERSION}.tar.xz" "" \
- "https://ftp.gnu.org/gnu/bash/bash-${BASH_VERSION}.tar.gz" \
- "_configure_extra_args=--without-bash-malloc" \
- "https://ftp.gnu.org/gnu/make/make-${MAKE_VERSION}.tar.bz2" "" \
- "https://ftp.gnu.org/gnu/grep/grep-${GREP_VERSION}.tar.xz" "" \
- "https://ftp.gnu.org/gnu/grep/grep-${GREP_VERSION}.tar.xz" "" \
- "https://ftp.gnu.org/gnu/sed/sed-${SED_VERSION}.tar.bz2" "" \
- "ftp://sourceware.org/pub/binutils/snapshots/binutils-${BINUTILS_VERSION}.tar.bz2" "";
+ "https://ftp.gnu.org/gnu/coreutils/coreutils-${PKG_COREUTILS_VERSION}.tar.xz" "" \
+ "https://ftp.gnu.org/gnu/diffutils/diffutils-${PKG_DIFFUTILS_VERSION}.tar.xz" "" \
+ "http://alpha.gnu.org/gnu/findutils/findutils-${PKG_FINDUTILS_VERSION}.tar.gz" \
+ "CFLAGS=${CFLAGS:+${CFLAGS} }-Dendpwent=setpwent" \
+ "https://ftp.gnu.org/gnu/patch/patch-${PKG_PATCH_VERSION}.tar.gz" "" \
+ "https://ftp.gnu.org/gnu/gawk/gawk-${PKG_GAWK_VERSION}.tar.xz" "" \
+ "https://ftp.gnu.org/gnu/bash/bash-${PKG_BASH_VERSION}.tar.gz" \
+ "_configure_extra_args=--without-bash-malloc" \
+ "https://ftp.gnu.org/gnu/make/make-${PKG_MAKE_VERSION}.tar.bz2" "" \
+ "https://ftp.gnu.org/gnu/grep/grep-${PKG_GREP_VERSION}.tar.xz" "" \
+ "https://ftp.gnu.org/gnu/sed/sed-${PKG_SED_VERSION}.tar.bz2" "" \
+ "ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_VERSION}.tar.bz2" "";
if is_build_script_done finished; then
exit 212;
else
- fetch "${_pkg_url}";
+ fetch "${_pkg_url}" "${_pkg_sha256sum}";
if [ "${_pkg_name}" = "binutils" ]\
&& [ "${3}" = "host" ]; then
_configure_args="--disable-werror,--prefix=${PREFIX},--with-sysroot=${PREFIX_TARGET}";