2021-12-28 01:26:55 +05:30
|
|
|
image: alpine/latest
|
|
|
|
# apk add --update alpine-sdk
|
|
|
|
packages:
|
|
|
|
- cmd:setcap
|
|
|
|
- autoconf
|
|
|
|
- automake
|
|
|
|
- byacc
|
|
|
|
- expect
|
|
|
|
- gettext
|
|
|
|
- gettext-dev
|
|
|
|
- gettext-lang
|
2022-11-22 19:05:06 +05:30
|
|
|
- libbsd-dev
|
2021-12-28 01:26:55 +05:30
|
|
|
- libcap-dev
|
|
|
|
- libtool
|
|
|
|
- linux-pam-dev
|
2022-11-22 19:05:06 +05:30
|
|
|
- pkgconf
|
2021-12-28 01:26:55 +05:30
|
|
|
- sed
|
|
|
|
sources:
|
|
|
|
- https://github.com/shadow-maint/shadow
|
|
|
|
tasks:
|
|
|
|
- build: |
|
|
|
|
cd shadow
|
|
|
|
./autogen.sh --without-selinux --disable-man --disable-nls
|
|
|
|
grep ENABLE_ config.status
|
|
|
|
- tasks: |
|
|
|
|
cd shadow
|
|
|
|
cat /proc/self/uid_map
|
|
|
|
cat /proc/self/status
|
|
|
|
make
|
|
|
|
make DESTDIR=/tmp/shadow-inst install
|
|
|
|
sudo make install
|
|
|
|
#TODO - fix up the tests. Let's merge what's here now as it
|
|
|
|
#at least tests build.
|
|
|
|
#(cd tests; sudo ./run_some || { cat testsuite.log; false; })
|