mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Add shadow
This commit is contained in:
parent
c281b77901
commit
cfab7bc39a
3 changed files with 33 additions and 0 deletions
|
|
@ -193,6 +193,7 @@ build: binutils-2.41
|
|||
build: gcc-13.1.0
|
||||
build: libmd-1.1.0
|
||||
build: libbsd-0.11.8
|
||||
build: shadow-4.14.3
|
||||
improve: cleanup_filesystem
|
||||
improve: null_time ( FORCE_TIMESTAMPS == True )
|
||||
improve: update_checksums ( UPDATE_CHECKSUMS == True )
|
||||
|
|
|
|||
31
steps/shadow-4.14.3/pass1.sh
Normal file
31
steps/shadow-4.14.3/pass1.sh
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
src_prepare() {
|
||||
default
|
||||
find man -name "*.[1-9]" -delete
|
||||
|
||||
# groups is provided by coreutils
|
||||
sed -i 's/groups$(EXEEXT) //' src/Makefile.in
|
||||
|
||||
autoreconf-2.71 -fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
PKG_CONFIG_PATH="${LIBDIR}/pkgconfig/" \
|
||||
./configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--sbindir="${PREFIX}/bin" \
|
||||
--libdir="${LIBDIR}" \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make "${MAKEJOBS}" PREFIX="${PREFIX}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make install PREFIX="${PREFIX}" DESTDIR="${DESTDIR}" exec_prefix="${PREFIX}"
|
||||
|
||||
# fix sbin
|
||||
mv "${DESTDIR}"/usr/sbin/* "${DESTDIR}"/usr/bin/
|
||||
rmdir "${DESTDIR}/usr/sbin"
|
||||
}
|
||||
1
steps/shadow-4.14.3/sources
Normal file
1
steps/shadow-4.14.3/sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
https://github.com/shadow-maint/shadow/releases/download/4.14.3/shadow-4.14.3.tar.xz 6969279236fe3152768573a38c9f83cb9ca109851a5a990aec1fc672ac2cfcd2
|
||||
Loading…
Add table
Add a link
Reference in a new issue