Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame 341.bash.vars

Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
#
Lucio Andrés Illanes Albornoz (arab, vxp) 820be1
# . ./build.vars and set -o errexit -o noglob are assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
#
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
Lucio Andrés Illanes Albornoz (arab, vxp) 539500
PKG_BASH_PATCHES_EXTRA_URL="https://ftp.gnu.org/gnu/bash/bash-${PKG_BASH_VERSION}-patches/";
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
PKG_BASH_PATCHES_EXTRA_MANIFEST="
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-001 ecb3dff2648667513e31554b3ad054ccd89fce38e33367c9459ac3a285153742
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-002 eee7cd7062ab29a9e4f02924d9c367264dcb8b162703f74ff6eb8f175a91502b
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-003 000e6eac50cd9053ce0630db01239dcdead04a2c2c351c47e2b51dac1ac1087d
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-004 5ea0a42c6506720d26e6d3c5c358e9a0d49f6f189d69a8ed34d5935964821338
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-005 1ac83044032b9f5f11aeca8a344ae3c524ec2156185d3adbb8ad3e7a165aa3fa
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-006 a0648ee72d15e4a90c8b77a5c6b19f8d89e28c1bc881657d22fe26825f040213
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-007 1113e321c59cf6a8648a36245bbe4217cf8acf948d71e67886dad7d486f8f3a3
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-008 9941a98a4987192cc5ce3d45afe879983cad2f0bec96d441a4edd9033767f95e
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-009 c0226d6728946b2f53cdebf090bcd1c01627f01fee03295768605caa80bb40a5
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-010 ce05799c0137314c70c7b6ea0477c90e1ac1d52e113344be8e32fa5a55c9f0b7
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-011 7c63402cdbc004a210f6c1c527b63b13d8bb9ec9c5a43d5c464a9010ff6f7f3b
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-012 3e1379030b35fbcf314e9e7954538cf4b43be1507142b29efae39eef997b8c12
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-013 bfa8ca5336ab1f5ef988434a4bdedf71604aa8a3659636afa2ce7c7446c42c79
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-014 5a4d6fa2365b6eb725a9d4966248b5edf7630a4aeb3fa8d526b877972658ac13
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-015 13293e8a24e003a44d7fe928c6b1e07b444511bed2d9406407e006df28355e8d
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-016 92d60bcf49f61bd7f1ccb9602bead6f2c9946d79dea0e5ec0589bb3bfa5e0773
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-017 1267c25c6b5ba57042a7bb6c569a6de02ffd0d29530489a16666c3b8a23e7780
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-018 7aa8b40a9e973931719d8cc72284a8fb3292b71b522db57a5a79052f021a3d58
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-019 a7a91475228015d676cafa86d2d7aa9c5d2139aa51485b6bbdebfdfbcf0d2d23
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-020 ca5e86d87f178128641fe91f2f094875b8c1eb2de9e0d2e9154f5d5cc0336c98
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-021 41439f06883e6bd11c591d9d5e9ae08afbc2abd4b935e1d244b08100076520a9
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-022 fd4d47bb95c65863f634c4706c65e1e3bae4ee8460c72045c0a0618689061a88
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-023 9ac250c7397a8f53dbc84dfe790d2a418fbf1fe090bcece39b4a5c84a2d300d4
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-024 3b505882a0a6090667d75824fc919524cd44cc3bd89dd08b7c4e622d3f960f6c
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-025 1e5186f5c4a619bb134a1177d9e9de879f3bb85d9c5726832b03a762a2499251
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-026 2ecc12201b3ba4273b63af4e9aad2305168cf9babf6d11152796db08724c214d
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-027 1eb76ad28561d27f7403ff3c76a36e932928a4b58a01b868d663c165f076dabe
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-028 e8b0dbed4724fa7b9bd8ff77d12c7f03da0fbfc5f8251ef5cb8511eb082b469d
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-029 4cc4a397fe6bc63ecb97d030a4e44258ef2d4e076d0e90c77782968cc43d6292
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-030 85434f8a2f379d0c49a3ff6d9ffa12c8b157188dd739e556d638217d2a58385b
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-031 cd529f59dd0f2fdd49d619fe34691da6f0affedf87cc37cd460a9f3fe812a61d
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-032 889357d29a6005b2c3308ca5b6286cb223b5e9c083219e5db3156282dd554f4a
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-033 fb2a7787a13fbe027a7335aca6eb3c21cdbd813e9edc221274b6a9d8692eaa16
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-034 f1694f04f110defe1330a851cc2768e7e57ddd2dfdb0e3e350ca0e3c214ff889
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-035 370d85e51780036f2386dc18c5efe996eba8e652fc1973f0f4f2ab55a993c1e3
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-036 ac5f82445b36efdb543dbfae64afed63f586d7574b833e9aa9cd5170bc5fd27c
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-037 33f170dd7400ab3418d749c55c6391b1d161ef2de7aced1873451b3a3fca5813
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-038 adbeaa500ca7a82535f0e88d673661963f8a5fcdc7ad63445e68bf5b49786367
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-039 ab94dced2215541097691f60c3eb323cc28ef2549463e6a5334bbcc1e61e74ec
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-040 84bb396b9262992ca5424feab6ed3ec39f193ef5c76dfe4a62b551bd8dd9d76b
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-041 4ec432966e4198524a7e0cd685fe222e96043769c9613e66742ac475db132c1a
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
bash43-042 ac219322db2791da87a496ee6e8e5544846494bdaaea2626270c2f73c1044919";
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
Lucio Andrés Illanes Albornoz (arab, vxp) 539500
pkg_bash_patch_post() {
Lucio Andrés Illanes Albornoz (arab, vxp) 539500
	rm_if_exists -m -c ${PKG_SUBDIR}-patches-extra;
Lucio Andrés Illanes Albornoz (arab, vxp) 539500
	wget -c -nd -np -r -R \*.htm\* -R \*.sig ${PKG_BASH_PATCHES_EXTRA_URL};
Lucio Andrés Illanes Albornoz (arab, vxp) 539500
	for __pbpp_patch_fname in		\
Lucio Andrés Illanes Albornoz (arab, vxp) 539500
			$(find . -type f -not -iname \*.sig | sort); do
Lucio Andrés Illanes Albornoz (arab, vxp) 539500
		patch -b -d ../${PKG_SUBDIR} -p0 < ${__pbpp_patch_fname};
Lucio Andrés Illanes Albornoz (arab, vxp) 539500
	done; unset __pbpp_patch_fname;
Lucio Andrés Illanes Albornoz (arab, vxp) 539500
	echo ${PKG_BASH_PATCHES_EXTRA_MANIFEST} | while read __pbpp_manifest_line; do
Lucio Andrés Illanes Albornoz (arab, vxp) 539500
		set -- ${__pbpp_manifest_line};
Lucio Andrés Illanes Albornoz (arab, vxp) 539500
		if ! compare_hash ${1} ${2}; then
Lucio Andrés Illanes Albornoz (arab, vxp) 539500
			log_msg failexit "Error: hash mismatch for patch file \`${1}'.";
Lucio Andrés Illanes Albornoz (arab, vxp) 539500
		fi;
Lucio Andrés Illanes Albornoz (arab, vxp) 539500
	done;
Lucio Andrés Illanes Albornoz (arab, vxp) 539500
	cd ${OLDPWD};
Lucio Andrés Illanes Albornoz (arab, vxp) 539500
};
Lucio Andrés Illanes Albornoz (arab, vxp) 539500
Lucio Andrés Illanes Albornoz (arab, vxp) 75a203
# vim:filetype=sh