Skip to content
Permalink
cfce7a5f90
Switch branches/tags

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?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 53 lines (37 sloc) 1.06 KB
#!/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
}