ports: add base

This commit is contained in:
Matheus
2024-09-08 22:15:31 -03:00
parent cb1da228b2
commit 61e3866ffd
123 changed files with 129 additions and 126 deletions
+3 -3
View File
@@ -2,8 +2,8 @@ name=shadow
revision=1
from_source=shadow
imagedeps="base-devel"
hostdeps="xgcc xbinutils"
deps="mlibc libxcrypt"
hostdeps="xgcc xbinutils pkgconfig libtool"
deps="base libxcrypt"
build() {
cp -rvfp ${source_dir}/* .
@@ -13,7 +13,7 @@ build() {
find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;
sed -i 's/1000/999/' src/useradd.c
sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD SHA512:' -e 's:/var/spool/mail:/var/mail:' -i etc/login.defs
./configure --host=x86_64-astral --prefix=${prefix} --sysconfdir=/etc --with-group-name-max-length=32 --without-libbsd
./configure --host=x86_64-astral --prefix=${prefix} --sysconfdir=/etc --with-group-name-max-length=32 --without-libbsd --disable-nls
make -j ${parallelism}
}