xbps-static-custom: correcciones menore

Eliminación de configuración de arquitectura x86_64; se corrige mensaje de intervención manual del usuario
This commit is contained in:
Tuxliban Torvalds 2022-01-07 04:11:28 -06:00
parent 196f1b9b3f
commit cc7c01f06d
2 changed files with 15 additions and 30 deletions

View File

@ -1,19 +1,17 @@
Debido a que la mayoría de los usuarios acostumbran a utilizar la versión vinculada dinámicamente, se recomienda crear un enlace dinámico para cada función de XBPS para seguir usándolo de manera habitual. Por ejemplo:
Since most users use the dynamically linked version, it's recommended to create a dynamic link for each XBPS function to continue using it on a regular basis. For example:
# ln -s /usr/bin/xbps-install.static /usr/local/bin/xbps-install
$ ln -s /usr/bin/xbps-install.static "$HOME"/.local/bin/xbps-install
Para corregir el problema de la verificación de certificados, realizar cualquiera de las siguientes dos sugerencias:
To correct the certificate verification problem, do either of the following two suggestions:
# echo "SSL_CA_CERT_FILE=/etc/ssl/certs.pem" >> /etc/profile
$ echo "SSL_CA_CERT_FILE=/etc/ssl/certs.pem" >> "$HOME"/.profile
Una vez hecho lo anterior, reiniciar la sesión para que el cambio tenga efecto.
NOTA:
La primera opción tendrá efecto para todo el sistema y funcionará para todos los usuarios que utilicen el equipo.
La segunda opción solo funcionará para la sesión del usuario en curso.
# echo "export SSL_CA_CERT_FILE=/etc/ssl/certs.pem" >> /etc/profile
$ echo "export SSL_CA_CERT_FILE=/etc/ssl/certs.pem" >> "$HOME"/.profile
Once you have done the above, restart the session for the change to take effect.
NOTE:
The first option will be effective for the entire system and will work for all users who use the computer.
The second option will only work for the current user session.

View File

@ -1,7 +1,7 @@
# Template file for 'xbps-static' xtraeme version
pkgname=xbps-static
version=21.1
revision=2
revision=3
# only musl
archs="*-musl"
wrksrc="xbps-${version}"
@ -16,7 +16,6 @@ homepage="https://gitlab.com/xtraeme/xbps/"
changelog="${homepage}-/blob/master/NEWS.md"
distfiles="${homepage}-/archive/${version}/xbps-${version}.tar.gz"
checksum=51a8ab75ece07bea64ea325e2c62314f9477bab06de297e8d3577f0fb4f48578
conflicts="xbps-static>=0.59"
do_configure() {
./configure --prefix=/usr --sysconfdir=/etc \
@ -45,25 +44,13 @@ do_install() {
post_install() {
repo="https://alpha.de.repo.voidlinux.org/current"
case "$XBPS_TARGET_MACHINE" in
*-musl)
# Arquitectura x86_64-musl
echo "architecture=${XBPS_MACHINE}" > \
${DESTDIR}/usr/share/xbps.d/xbps.conf
# Arquitectura x86_64-musl
echo "architecture=${XBPS_MACHINE}" > \
${DESTDIR}/usr/share/xbps.d/xbps.conf
# Repositorio predeterminado
echo "repository=${repo}/musl" >> \
${DESTDIR}/usr/share/xbps.d/xbps.conf
;;
x86_64)
# Arquitectura x86_64
echo "architecture=${XBPS_MACHINE}" > \
${DESTDIR}/usr/share/xbps.d/xbps.conf
# Repositorio predeterminado
echo "repository=${repo}" >> \
${DESTDIR}/usr/share/xbps.d/xbps.conf
esac
# Repositorio predeterminado
echo "repository=${repo}/musl" >> \
${DESTDIR}/usr/share/xbps.d/xbps.conf
vlicense LICENSE
vlicense 3RDPARTY