+17
-14
@@ -7,33 +7,36 @@
|
|||||||
from pisi.actionsapi import autotools
|
from pisi.actionsapi import autotools
|
||||||
from pisi.actionsapi import pisitools
|
from pisi.actionsapi import pisitools
|
||||||
from pisi.actionsapi import shelltools
|
from pisi.actionsapi import shelltools
|
||||||
|
from pisi.actionsapi import mesontools
|
||||||
from pisi.actionsapi import get
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
pisitools.flags.add("-fPIC -D_GNU_SOURCE")
|
pisitools.flags.add("-fPIC -D_GNU_SOURCE")
|
||||||
shelltools.system("sed -e /service_DATA/d \
|
# shelltools.system("sed -e /service_DATA/d \
|
||||||
-i modules/pam_namespace/Makefile.am && NOCONFIGURE=1 ./autogen.sh")
|
# -i modules/pam_namespace/Makefile.am && NOCONFIGURE=1 ./autogen.sh")
|
||||||
|
|
||||||
shelltools.system("./pisi-pambase.sh")
|
shelltools.system("./pisi-pambase.sh")
|
||||||
|
|
||||||
autotools.configure("--prefix=/usr \
|
mesontools.configure("--buildtype=release \
|
||||||
--sysconfdir=/etc \
|
--sbindir=/sbin \
|
||||||
--libdir=/usr/lib \
|
-Ddocs=disabled \
|
||||||
--disable-regenerate-docu \
|
-Dselinux=disabled \
|
||||||
--disable-doc \
|
-Dlogind=disabled \
|
||||||
--enable-securedir=/lib/security \
|
-Dpam_userdb=disabled \
|
||||||
--docdir=/usr/share/doc/Linux-PAM-" + get.srcVERSION())
|
-Dsecuredir=/lib/security \
|
||||||
|
-Ddocdir=/usr/share/doc/Linux-PAM-" + get.srcVERSION())
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
autotools.make()
|
mesontools.build()
|
||||||
|
|
||||||
def check():
|
def check():
|
||||||
autotools.make("check")
|
mesontools.build("test")
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
mesontools.install()
|
||||||
|
|
||||||
|
pisitools.removeDir("/usr/lib/systemd")
|
||||||
|
|
||||||
#pisitools.removeDir("/usr/share/doc/Linux-PAM/")
|
|
||||||
for f in ["system-password", "system-session", "system-account", "system-auth", "other"]:
|
for f in ["system-password", "system-session", "system-account", "system-auth", "other"]:
|
||||||
shelltools.system("chmod 755 " + f)
|
shelltools.system("chmod 755 " + f)
|
||||||
pisitools.insinto("/etc/pam.d/", "%s" % f)
|
pisitools.insinto("/etc/pam.d/", "%s" % f)
|
||||||
@@ -41,4 +44,4 @@ def install():
|
|||||||
shelltools.system("chmod -v 4755 " + get.installDIR() + "/sbin/unix_chkpwd")
|
shelltools.system("chmod -v 4755 " + get.installDIR() + "/sbin/unix_chkpwd")
|
||||||
|
|
||||||
#pisitools.doman("doc/man/*.[0-9]")
|
#pisitools.doman("doc/man/*.[0-9]")
|
||||||
pisitools.dodoc("CHANGELOG", "Copyright", "README")
|
pisitools.dodoc("COPYING", "Copyright", "README")
|
||||||
|
|||||||
@@ -12,13 +12,14 @@
|
|||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<Summary>Pluggable Authentication Modules</Summary>
|
<Summary>Pluggable Authentication Modules</Summary>
|
||||||
<Description>PAM (Pluggable Authentication Modules) is a system security tool that allows system administrators to set authentication policy without having to recompile programs that handle authentication.</Description>
|
<Description>PAM (Pluggable Authentication Modules) is a system security tool that allows system administrators to set authentication policy without having to recompile programs that handle authentication.</Description>
|
||||||
<Archive sha1sum="840c77a1e10567c117a4924014eebc1c93f326a8" type="targz">https://github.com/linux-pam/linux-pam/archive/v1.6.1.tar.gz</Archive>
|
<Archive sha1sum="50625c6b5e3c9b89d105c1e820ae434c90f6013c" type="targz">https://github.com/linux-pam/linux-pam/archive/v1.7.0.tar.gz</Archive>
|
||||||
<AdditionalFiles>
|
<AdditionalFiles>
|
||||||
<AdditionalFile target="pisi-pambase.sh" permission="0755">pisi-pambase.sh</AdditionalFile>
|
<AdditionalFile target="pisi-pambase.sh" permission="0755">pisi-pambase.sh</AdditionalFile>
|
||||||
<!--AdditionalFile target="dlopen.sh" permission="0755">dlopen.sh</AdditionalFile>
|
<!--AdditionalFile target="dlopen.sh" permission="0755">dlopen.sh</AdditionalFile>
|
||||||
<AdditionalFile target="dlopen-test.sh" permission="0755">dlopen-test.sh</AdditionalFile-->
|
<AdditionalFile target="dlopen-test.sh" permission="0755">dlopen-test.sh</AdditionalFile-->
|
||||||
</AdditionalFiles>
|
</AdditionalFiles>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
|
<Dependency>meson</Dependency>
|
||||||
<Dependency versionFrom="2.0.0">libnsl-devel</Dependency>
|
<Dependency versionFrom="2.0.0">libnsl-devel</Dependency>
|
||||||
<Dependency>audit-devel</Dependency>
|
<Dependency>audit-devel</Dependency>
|
||||||
<Dependency>libtirpc-devel</Dependency>
|
<Dependency>libtirpc-devel</Dependency>
|
||||||
@@ -70,6 +71,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="16">
|
||||||
|
<Date>2024-11-21</Date>
|
||||||
|
<Version>1.7.0</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>Pisi Linux Community</Name>
|
||||||
|
<Email>admin@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
<Update release="15">
|
<Update release="15">
|
||||||
<Date>2024-07-06</Date>
|
<Date>2024-07-06</Date>
|
||||||
<Version>1.6.1</Version>
|
<Version>1.6.1</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user