2019-05-24

This commit is contained in:
Baho Utot
2019-05-24 08:27:40 -04:00
commit b6879a569b
109 changed files with 69860 additions and 0 deletions

7117
SOURCES/config-4.20.12 Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

79
SOURCES/locale-gen Normal file
View File

@@ -0,0 +1,79 @@
#!/bin/sh
set -o errexit # exit if error...insurance ;)
set -o nounset # exit if variable not initalized
set +h # disable hashall
umask 022
LOCALEGEN=/etc/locale-gen.conf
LOCALES=/usr/share/i18n/locales
#-----------------------------------------------------------------------------
# Common support functions
function _die {
local _red="\\033[1;31m"
local _normal="\\033[0;39m"
[ -n "$*" ] && printf "${_red}$*${_normal}\n"
false
exit 1
}
function _msg {
printf "%s\n" "${1}"
return
}
function _msg_line {
printf "%s" "${1}"
return
}
function _msg_failure {
local _red="\\033[1;31m"
local _normal="\\033[0;39m"
printf "${_red}%s${_normal}\n" "FAILURE"
exit 2
}
function _msg_success {
local _green="\\033[1;32m"
local _normal="\\033[0;39m"
printf "${_green}%s${_normal}\n" "SUCCESS"
return
}
function _msg_log {
printf "\n%s\n\n" "${1}" >> ${_logfile} 2>&1
return
}
function _end_run {
local _green="\\033[1;32m"
local _normal="\\033[0;39m"
printf "${_green}%s${_normal}\n" "Run Complete"
return
}
#-----------------------------------------------------------------------------
# Functions
function is_entry_ok {
if [ -n "${inputfile}" -a -n "${charmap}" -a -n "${outputpath}" ];
then
true
else
_msg "error: Bad entry <${inputfile}>, <${charmap}>, <${outputpath}>"
false
fi
}
#-----------------------------------------------------------------------------
# Mainline
[ -f ${LOCALEGEN} -a -s ${LOCALEGEN} ] || exit 0;
# Remove all old locale dir and locale-archive
[ -d /usr/lib/locale ] || install -vdm 755 /usr/lib/locale
rm -rf /usr/lib/locale/* || true
_msg "Generating locales..."
while read inputfile charmap outputpath; do
case "${inputfile}" in
\#*) continue ;;
"") continue ;;
esac
is_entry_ok || continue
_msg_line " ${outputpath}: "
case "${outputpath}" in
C.UTF-8) localedef -c -i "${inputfile}" -f "${charmap}" -A /usr/share/locale/locale.alias "${outputpath}" 2> /dev/null || true ;;
ja_JP.SIJS) localedef -c -i "${inputfile}" -f "${charmap}" -A /usr/share/locale/locale.alias "${outputpath}" 2> /dev/null || true ;;
*) localedef -c -i "${inputfile}" -f "${charmap}" -A /usr/share/locale/locale.alias "${outputpath}" || true ;;
esac
_msg_success
done < "${LOCALEGEN}"
_end_run

BIN
SOURCES/m4-1.4.18.tar.xz Normal file

Binary file not shown.

25
SOURCES/macros Normal file
View File

@@ -0,0 +1,25 @@
#
# System settings
#
%_cppflags -D_FORTIFY_SOURCE=2
%_cflags -march=x86-64 -mtune=generic -O2 -pipe -fno-plt
%_cxxflags -march=x86-64 -mtune=generic -O2 -pipe -fno-plt
%_ldflags -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
# filesystem
%_sysconfdir /etc
%_prefix /usr
%_lib /lib
%_lib64 /lib64
%_libdir %{_prefix}/lib
%_libdir64 %{_prefix}/lib64
%_docdir %{_prefix}/share/doc
%_var /var
%_localstatedir %{_var}
%_sharedstatedir %{_var}/lib
# rpm
%_topdir /usr/src/LFS-RPM
%_tmppath %{_var}/tmp
%_dbpath %{_var}/lib/rpm
%_unique_build_ids 0
%_build_id_links none