Compare commits
2 Commits
rx3-base-1
...
rx3-base-1
| Author | SHA1 | Date | |
|---|---|---|---|
| 99e8f42a6d | |||
| d1f671c128 |
@@ -1,4 +1,4 @@
|
|||||||
Welcome to Rx3 Base 1.1.x !
|
Welcome to Rx3 Base 1.2.x !
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,25 @@
|
|||||||
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
Rx3-Base V 1.2.0 - A. GIBERT - 2026/09/09
|
||||||
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
- Base library:
|
||||||
|
- Implement VSL (Version Stack Log),
|
||||||
|
- ISL:
|
||||||
|
- Add VSL support,
|
||||||
|
- URPMI-Setup
|
||||||
|
- Add VSL support.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
Rx3-Base V 1.1.3 - A. GIBERT - 2026/08/01
|
||||||
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
- Rx3 Profile:
|
||||||
|
- Add PATH management.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
Rx3-Base V 1.1.2 - A. GIBERT - 2026/05/03
|
Rx3-Base V 1.1.2 - A. GIBERT - 2026/05/03
|
||||||
------------------------------------------------------------------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
%define name rx3-base
|
%define name rx3-base
|
||||||
|
|
||||||
%define version 1.1.2
|
%define version 1.2.0
|
||||||
%define release %mkrel 1rx3
|
%define release %mkrel 1rx3
|
||||||
|
|
||||||
|
|
||||||
@@ -145,6 +145,10 @@ cp sbin/* %{buildroot}%{_sbindir}
|
|||||||
# Files
|
# Files
|
||||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
%files
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%files config
|
%files config
|
||||||
%doc ReadMe.txt ReleaseNotes.txt ToDo.txt
|
%doc ReadMe.txt ReleaseNotes.txt ToDo.txt
|
||||||
%license COPYING COPYING.LESSER GNU_GPL-3.0.txt GNU_LGPL-3.0.txt GNU_FDL-1.3.txt
|
%license COPYING COPYING.LESSER GNU_GPL-3.0.txt GNU_LGPL-3.0.txt GNU_FDL-1.3.txt
|
||||||
@@ -174,6 +178,12 @@ cp sbin/* %{buildroot}%{_sbindir}
|
|||||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 9 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.2.0-1rx3.mga9
|
||||||
|
- Update to 1.2.0
|
||||||
|
|
||||||
|
* Sat Aug 1 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.1.3-1rx3.mga9
|
||||||
|
- Update to 1.1.3
|
||||||
|
|
||||||
* Sun May 3 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.1.2-1rx3.mga9
|
* Sun May 3 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.1.2-1rx3.mga9
|
||||||
- Update to 1.1.2
|
- Update to 1.1.2
|
||||||
- Split between rx3-base, rx3-base-config, rx3-base-libs and rx3-base-tools packages
|
- Split between rx3-base, rx3-base-config, rx3-base-libs and rx3-base-tools packages
|
||||||
|
|||||||
@@ -27,6 +27,17 @@
|
|||||||
# Global Variable
|
# Global Variable
|
||||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
for prefix in "/opt/" "/usr/" "/" "/usr/global/" "/usr/local/"
|
||||||
|
do
|
||||||
|
for suffix in bin sbin
|
||||||
|
do
|
||||||
|
dir=${prefix}${suffix}
|
||||||
|
PATH="${dir}:$(echo $PATH | sed -e "s%^${dir}:%%" -e "s%:${dir}:%:%" -e "s%:${dir}$%%")"
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
export PATH
|
||||||
|
|
||||||
export MANPATH=$MANPATH:/usr/local/share/man:/usr/global/share/man:/opt/share/man
|
export MANPATH=$MANPATH:/usr/local/share/man:/usr/global/share/man:/opt/share/man
|
||||||
export CLASSPATH=$CLASSPATH:/usr/local/lib/java:/usr/global/lib/java:/usr/global/lib/java
|
export CLASSPATH=$CLASSPATH:/usr/local/lib/java:/usr/global/lib/java:/usr/global/lib/java
|
||||||
export XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share:/usr/local/share:/usr/global/share:/opt/share
|
export XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share:/usr/local/share:/usr/global/share:/opt/share
|
||||||
|
|||||||
@@ -46,6 +46,11 @@ shopt -s extglob
|
|||||||
# Global Variable
|
# Global Variable
|
||||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
declare -g RX3_LIB_VSL=()
|
||||||
|
|
||||||
|
declare RX3_LIB_NAME="Base"
|
||||||
|
declare RX3_LIB_VERSION="1.2.0"
|
||||||
|
|
||||||
declare -g NAME=""
|
declare -g NAME=""
|
||||||
declare -g VERSION=""
|
declare -g VERSION=""
|
||||||
|
|
||||||
@@ -63,14 +68,98 @@ declare -g LOG_TRACE="DISABLED"
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#--------------------------------------------------------------------------------------------------------------------------
|
||||||
|
# VSL Add
|
||||||
|
#--------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
vsl_add()
|
||||||
|
{
|
||||||
|
local name
|
||||||
|
local version
|
||||||
|
local file
|
||||||
|
|
||||||
|
|
||||||
|
if [[ "${BASH_SOURCE[1]}" == "$0" ]]
|
||||||
|
then
|
||||||
|
name="${NAME}"
|
||||||
|
version="${VERSION}"
|
||||||
|
file="${0}"
|
||||||
|
else
|
||||||
|
name="${RX3_LIB_NAME}"
|
||||||
|
version="${RX3_LIB_VERSION}"
|
||||||
|
file="${BASH_SOURCE[1]}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
RX3_LIB_VSL=("${name} ${version} ${file}" "${RX3_LIB_VSL[@]}")
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#--------------------------------------------------------------------------------------------------------------------------
|
||||||
|
# VSL Cat
|
||||||
|
#--------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
vsl_cat()
|
||||||
|
{
|
||||||
|
local reverse="$1"
|
||||||
|
|
||||||
|
|
||||||
|
if [[ "${reverse}" == "TRUE" ]]
|
||||||
|
then
|
||||||
|
printf '%s\n' "${RX3_LIB_VSL[@]}" | tac
|
||||||
|
else
|
||||||
|
printf '%s\n' "${RX3_LIB_VSL[@]}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#--------------------------------------------------------------------------------------------------------------------------
|
||||||
|
# VSL Top
|
||||||
|
#--------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
vsl_top()
|
||||||
|
{
|
||||||
|
printf '%s\n' "${RX3_LIB_VSL[@]}" | head -1
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||||
# Version Print
|
# Version Print
|
||||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
version_print()
|
version_print()
|
||||||
{
|
{
|
||||||
# echo "${VERSION}" | sed -e 's/.*: //' -e 's/-/ /' -e 's/_/\./g' -e 's/\$$//'
|
local full="${1}"
|
||||||
echo "${NAME} V${VERSION}"
|
|
||||||
|
|
||||||
|
(
|
||||||
|
if [[ "${full}" == "TRUE" ]]
|
||||||
|
then
|
||||||
|
vsl_cat ""
|
||||||
|
else
|
||||||
|
vsl_top
|
||||||
|
fi
|
||||||
|
) | while read line
|
||||||
|
do
|
||||||
|
set ${line}
|
||||||
|
|
||||||
|
str="${1}\tV ${2}"
|
||||||
|
|
||||||
|
if [[ "${VERBOSE}" == "TRUE" ]]
|
||||||
|
then
|
||||||
|
str+="\t${3}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo -e ${str}
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -510,3 +599,13 @@ log_error()
|
|||||||
{
|
{
|
||||||
log_print "${LOG_FILE}" "${LOG_LOCK}" "${LOG_ECHO}" "ERR" "$@"
|
log_print "${LOG_FILE}" "${LOG_LOCK}" "${LOG_ECHO}" "ERR" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#--------------------------------------------------------------------------------------------------------------------------
|
||||||
|
# Main
|
||||||
|
#--------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
vsl_add
|
||||||
|
|||||||
8
sbin/isl
8
sbin/isl
@@ -39,7 +39,7 @@
|
|||||||
# Global Variables
|
# Global Variables
|
||||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
declare -g VERSION="1.1.1"
|
declare -g VERSION="1.2.0"
|
||||||
declare -g NAME="ISL"
|
declare -g NAME="ISL"
|
||||||
declare -g HELP="usage: isl [-a | --add <URL>] | [-c | --cat [-r | --reverse]] | [-H | --html_dump [-i | --inline] [-r | --reverse]] | [-t | --top [-m | --image]] | [[-h | --help] | [-V | --version] [-T | --test] [-v | --verbose]"
|
declare -g HELP="usage: isl [-a | --add <URL>] | [-c | --cat [-r | --reverse]] | [-H | --html_dump [-i | --inline] [-r | --reverse]] | [-t | --top [-m | --image]] | [[-h | --help] | [-V | --version] [-T | --test] [-v | --verbose]"
|
||||||
|
|
||||||
@@ -136,7 +136,7 @@ function isl_args_parse()
|
|||||||
|
|
||||||
isl_version_print()
|
isl_version_print()
|
||||||
{
|
{
|
||||||
version_print
|
version_print "TRUE"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -149,7 +149,7 @@ isl_version_print()
|
|||||||
|
|
||||||
isl_help_print()
|
isl_help_print()
|
||||||
{
|
{
|
||||||
version_print
|
version_print ""
|
||||||
help_print
|
help_print
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -335,6 +335,8 @@ isl_top()
|
|||||||
# Main
|
# Main
|
||||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
vsl_add
|
||||||
|
|
||||||
orig_args=("$@")
|
orig_args=("$@")
|
||||||
|
|
||||||
isl_args_parse "$@"
|
isl_args_parse "$@"
|
||||||
|
|||||||
@@ -39,8 +39,8 @@
|
|||||||
# Global Variables
|
# Global Variables
|
||||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
declare -g VERSION="1.0.2"
|
declare -g VERSION="1.2.0"
|
||||||
declare -g NAME="URPMI Setup"
|
declare -g NAME="URPMI-Setup"
|
||||||
declare -g HELP="usage: urpmi-setup [ [-d | --distrib <Distrib>] [-m | --mirror-mga <Mirror_List>] [-r | --mirror-rx3 <Mirror_List>] ] | [-h | --help] | [-V | --version] [ [ -D | --dump] | [-T | --test] ] [-u | --update] [-v | --verbose] ) ]"
|
declare -g HELP="usage: urpmi-setup [ [-d | --distrib <Distrib>] [-m | --mirror-mga <Mirror_List>] [-r | --mirror-rx3 <Mirror_List>] ] | [-h | --help] | [-V | --version] [ [ -D | --dump] | [-T | --test] ] [-u | --update] [-v | --verbose] ) ]"
|
||||||
|
|
||||||
declare -g DISTRIB_DEF="9"
|
declare -g DISTRIB_DEF="9"
|
||||||
@@ -140,7 +140,7 @@ function us_args_parse()
|
|||||||
|
|
||||||
us_version_print()
|
us_version_print()
|
||||||
{
|
{
|
||||||
version_print
|
version_print "TRUE"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -153,7 +153,7 @@ us_version_print()
|
|||||||
|
|
||||||
us_help_print()
|
us_help_print()
|
||||||
{
|
{
|
||||||
version_print
|
version_print ""
|
||||||
help_print
|
help_print
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -165,6 +165,8 @@ us_help_print()
|
|||||||
# Main
|
# Main
|
||||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
vsl_add
|
||||||
|
|
||||||
orig_args=("$@")
|
orig_args=("$@")
|
||||||
|
|
||||||
us_args_parse "$@"
|
us_args_parse "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user