shadow-4.12.1
This commit is contained in:
@@ -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"]:
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Utilities to deal with user accounts</Summary>
|
||||
<Description>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).</Description>
|
||||
<Archive sha1sum="63457a0ba58dc4e81b2663b839dc6c89d3343f12" type="tarxz">https://github.com/shadow-maint/shadow/releases/download/4.8.1/shadow-4.8.1.tar.xz</Archive>
|
||||
<Archive sha1sum="5115fbdd86a6ce611485eebed081546d4e958815" type="tarxz">https://github.com/shadow-maint/shadow/releases/download/4.12.1/shadow-4.12.1.tar.xz</Archive>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile target="pisi-shadowbase.sh" permission="0755">pisi-shadowbase.sh</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
@@ -23,8 +23,9 @@
|
||||
<Dependency>audit-devel</Dependency>
|
||||
<Dependency>attr-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<!--Patches>
|
||||
<Patch level="1">fedora/shadow-4.8-crypt_h.patch</Patch>
|
||||
<Patches>
|
||||
<!-- <Patch level="1">uk3.patch</Patch> -->
|
||||
<!--Patch level="1">fedora/shadow-4.8-crypt_h.patch</Patch>
|
||||
<Patch level="1">fedora/shadow-4.8-goodname.patch</Patch>
|
||||
<Patch level="1">fedora/shadow-4.8-ignore-login-prompt.patch</Patch>
|
||||
<Patch level="1">fedora/shadow-4.8-long-entry.patch</Patch>
|
||||
@@ -34,8 +35,8 @@
|
||||
<Patch level="1">fedora/shadow-4.8.1-manfix.patch</Patch>
|
||||
<Patch level="1">fedora/shadow-4.8.1-useradd-man-clarification.patch</Patch>
|
||||
<Patch level="1">shadow-strncpy-usage.patch</Patch>
|
||||
<Patch level="1">xstrdup.patch</Patch>
|
||||
</Patches-->
|
||||
<Patch level="1">xstrdup.patch</Patch-->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
@@ -57,10 +58,10 @@
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="info">/usr/share/info</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
<!--AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0600" target="/etc/securetty">securetty</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0600" target="/etc/default/useradd">default/useradd</AdditionalFile>
|
||||
<AdditionalFiles>
|
||||
<!--AdditionalFile owner="root" permission="0600" target="/etc/securetty">securetty</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/pam.d/login">pam.d/login</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/pam.d/other">pam.d/other</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/pam.d/passwd">pam.d/passwd</AdditionalFile>
|
||||
@@ -78,11 +79,19 @@
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/pam.d/groupmod">pam.d/shadow</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/pam.d/su">pam.d/su</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/pam.d/system-auth">pam.d/system-auth</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/login.defs">login.defs</AdditionalFile>
|
||||
</AdditionalFiles-->
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/login.defs">login.defs</AdditionalFile-->
|
||||
<AdditionalFile owner="root" permission="0600" target="/etc/default/useradd">default/useradd</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="14">
|
||||
<Date>2022-08-15</Date>
|
||||
<Version>4.12.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="13">
|
||||
<Date>2021-10-21</Date>
|
||||
<Version>4.8.1</Version>
|
||||
|
||||
Reference in New Issue
Block a user