Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
bee-files/shadow.be0
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
53 lines (37 sloc)
1.06 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env beesh | |
# BEE_VERSION shadow-4.1.5.1-3 | |
# dead SRCURL[0]="http://cdn.debian.net/debian/pool/main/s/shadow/shadow_${PKGVERSION}.orig.tar.gz" | |
SRCURL[0]="https://beehive.molgen.mpg.de/ae66de9953f840fb3a97f6148bc39a30/shadow_4.1.5.1.orig.tar.gz" | |
# PATCHURL+=() | |
# build_in_sourcedir | |
# sourcesubdir_append src | |
#mee_extract() { | |
# bee_extract "${@}" | |
#} | |
mee_patch() { | |
bee_patch "${@}" | |
sed -i src/Makefile.in \ | |
-e 's/groups$(EXEEXT) //' | |
find man \ | |
-name Makefile.in \ | |
-exec sed -i {} -e 's/groups\.1 / /' \; | |
sed -i man/Makefile.in \ | |
-e 's/ ko//' -e 's/ zh_CN zh_TW//' | |
sed -i etc/login.defs \ | |
-e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \ | |
-e 's@/var/spool/mail@/var/mail@' \ | |
-e 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' | |
} | |
mee_configure() { | |
bee_configure \ | |
--disable-nls | |
} | |
#mee_build() { | |
# bee_build | |
#} | |
mee_install() { | |
bee_install | |
for i in login.defs default/useradd pam.d ; do | |
mv -v ${D}${SYSCONFDIR}/${i} ${D}${SYSCONFDIR}/${i}.sample | |
done | |
} |