diff --git a/system/base/shadow/actions.py b/system/base/shadow/actions.py index d3536355..8e0334b1 100644 --- a/system/base/shadow/actions.py +++ b/system/base/shadow/actions.py @@ -10,6 +10,9 @@ from pisi.actionsapi import pisitools from pisi.actionsapi import get def setup(): + pisitools.dosed("configure.ac", "man/uk/Makefile", deleteLine=True) + #pisitools.dosed("configure", "man/uk/Makefile", deleteLine=True) + shelltools.unlink('po/uk.*') shelltools.system("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 / /' {} \; && \ @@ -17,15 +20,16 @@ def setup(): 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 -i 's/1000/100/' etc/useradd") + -i etc/login.defs") shelltools.system("./pisi-shadowbase.sh") + #autotools.autoreconf("-fiv") autotools.configure("--sysconfdir=/etc \ --with-group-name-max-length=32 \ --with-audit \ --with-libcrack \ + --without-selinux \ --with-acl") def build(): @@ -34,7 +38,7 @@ def build(): def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) - shelltools.system("sed -i 's/yes/no/' " + get.installDIR() + "/etc/default/useradd") + #shelltools.system("sed -i 's/yes/no/' " + get.installDIR() + "/etc/default/useradd") shelltools.system("install -v -m644 " + get.installDIR() + "/etc/login.defs{,.orig}") for f in ["login", "passwd", "su", "chage", "system-login"]: diff --git a/system/base/shadow/pspec.xml b/system/base/shadow/pspec.xml index c0c1746f..92408c2f 100644 --- a/system/base/shadow/pspec.xml +++ b/system/base/shadow/pspec.xml @@ -12,7 +12,7 @@ app:console Utilities to deal with user accounts The Shadow password file utilities package includes programs necessary to convert traditional V7 *NIX password files to the SVR4 shadow password format, and additional tools to maintain password and group files (that work with both shadow and non-shadow passwords). - https://github.com/shadow-maint/shadow/releases/download/4.8.1/shadow-4.8.1.tar.xz + https://github.com/shadow-maint/shadow/releases/download/4.12.1/shadow-4.12.1.tar.xz pisi-shadowbase.sh @@ -23,8 +23,9 @@ audit-devel attr-devel - + + xstrdup.patch + @@ -57,10 +58,10 @@ /usr/share/doc /usr/share/info /usr/share/locale + /usr/include - + login.defs + default/useradd + + + 2022-08-15 + 4.12.1 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2021-10-21 4.8.1