diff options
author | davidovski <david@davidovski.xyz> | 2022-01-16 01:23:51 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-16 01:23:51 +0000 |
commit | cb447620084a20be80d116c81c2e9ec110be7118 (patch) | |
tree | 9fc0d714abbb5c6326b60616a5fd27ec9f984895 /repo/core/shadow.xibuild | |
parent | 153011e9129c6055ef21c48caf65a23e74a91418 (diff) |
restructured repo system
Diffstat (limited to 'repo/core/shadow.xibuild')
-rw-r--r-- | repo/core/shadow.xibuild | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/repo/core/shadow.xibuild b/repo/core/shadow.xibuild deleted file mode 100644 index 6af5cbb..0000000 --- a/repo/core/shadow.xibuild +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash - -DEPS=(pam acl audit libcap libxcrypt) - -SOURCE=https://github.com/shadow-maint/shadow/releases/download/v4.10/shadow-4.10.tar.xz -DESC="Password and account management tool suite with support for shadow files and PAM" - -build () { - - curl https://www.linuxfromscratch.org/patches/lfs/development/shadow-4.10-useradd_segfault-1.patch > shadow-4.10-useradd_segfault-1.patch - patch -Np1 -i shadow-4.10-useradd_segfault-1.patch - - - sed -i 's/groups$(EXEEXT) //' src/Makefile.in - find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \; - find man -name Makefile.in -exec sed -i 's/getspnam\.3 / /' {} \; - find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \; - - sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD SHA512:' \ - -e 's:/var/spool/mail:/var/mail:' \ - -e '/PATH=/{s@/sbin:@@;s@/bin:@@}' \ - -i etc/login.defs - - sed -e "224s/rounds/min_rounds/" -i libmisc/salt.c - - mkdir -p $PKG_DEST/usr/bin - touch $PKG_DEST/usr/bin/passwd - ./configure --sysconfdir=/etc --with-group-name-max-length=32 - - make - - make exec_prefix=/usr DESTDIR=$PKG_DEST install - - make DESTDIR=$PKG_DEST -C man install-man - -} - -package () { - mkdir -p $PKG_DEST/etc/default -} |