Compare commits

...

2 Commits

Author SHA1 Message Date
Tuxliban Torvalds 981b5efe13 xbps-custom: nuevo paquete v.21.1
Plantilla para arquitecturas i686, x86_64 y x86_64-musl (vinculado dinámicamente)
2022-01-07 04:14:00 -06:00
Tuxliban Torvalds cc7c01f06d xbps-static-custom: correcciones menore
Eliminación de configuración de arquitectura x86_64; se corrige mensaje de intervención manual del usuario
2022-01-07 04:11:28 -06:00
5 changed files with 85 additions and 30 deletions

View File

@ -0,0 +1,12 @@
case "${ACTION}" in
post)
chown root:xbuilder usr/bin/xbps-uchroot
chmod 4750 usr/bin/xbps-uchroot
if [ -d usr/sbin -a ! -L usr/sbin ]; then
for f in usr/bin/xbps-*; do
ln -sr $f usr/sbin/$(basename $f)
done
fi
;;
esac

View File

@ -0,0 +1,12 @@
To correct the certificate verification problem, do either of the following two suggestions:
# 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

@ -0,0 +1,46 @@
# Template file for 'xbps'
pkgname=xbps
version=21.1
revision=3
archs="i686 x86_64 x86_64-musl"
bootstrap=yes
build_style=configure
short_desc="XBPS package system utilities"
maintainer="Tuxliban Torvalds <tenshalito@gmail.com>"
license="BSD-2-Clause, BSD-3-Clause, ISC"
homepage="https://gitlab.com/xtraeme/xbps/"
changelog="${homepage}-/blob/master/NEWS.md"
distfiles="${homepage}-/archive/${version}/xbps-${version}.tar.gz"
checksum=51a8ab75ece07bea64ea325e2c62314f9477bab06de297e8d3577f0fb4f48578
hostmakedepends="pkgconf"
makedepends="libarchive-devel"
depends="ca-certificates xbps-triggers"
make_dirs="/etc/xbps.d 0755 root root"
do_configure() {
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-lto
}
pre_build() {
vmkdir usr/share/xbps.d
}
post_install() {
local repo="https://alpha.de.repo.voidlinux.org/current" suffix=
case "$XBPS_TARGET_MACHINE" in
*-musl) suffix="/musl";;
esac
echo "repository=${repo}${suffix}" > \
${DESTDIR}/usr/share/xbps.d/00-repository-main.conf
echo "architecture=${XBPS_TARGET_MACHINE}" > \
${DESTDIR}/usr/share/xbps.d/xbps-arch.conf
vlicense LICENSE
vlicense 3RDPARTY
}

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