Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
S
SulinRepository
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
2
Konular (issue)
2
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
SulinOS
SulinRepository
Commits
ee8ed57f
Kaydet (Commit)
ee8ed57f
authored
Şub 23, 2021
tarafından
Adınız
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
pam downgrade
üst
d07bc62d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
41 deletions
+27
-41
actions.py
system/base/pam/actions.py
+24
-32
pspec.xml
system/base/pam/pspec.xml
+3
-9
No files found.
system/base/pam/actions.py
Dosyayı görüntüle @
ee8ed57f
...
...
@@ -8,46 +8,38 @@ from inary.actionsapi import autotools
from
inary.actionsapi
import
inarytools
from
inary.actionsapi
import
shelltools
from
inary.actionsapi
import
get
import
os
def
resetenv
():
os
.
environ
.
clear
()
os
.
environ
[
"PATH"
]
=
"/bin:/usr/bin:/usr/sbin:/sbin"
def
run
(
cmd
):
print
(
cmd
)
i
=
os
.
system
(
cmd
)
if
i
!=
0
:
exit
(
i
)
def
setup
():
lib
=
(
"32"
if
get
.
buildTYPE
()
==
"emul32"
else
""
)
resetenv
()
if
lib
==
"32"
:
os
.
environ
[
"CFLAGS"
]
=
"-m32"
os
.
environ
[
"CXXFLAGS"
]
=
"-m32"
os
.
environ
[
"LDFLAGS"
]
=
"-m32"
run
(
"sed -e 's/pam_rhosts//g' -i modules/Makefile.am"
)
run
(
" autoreconf -fvi"
)
run
(
"./configure --libdir=/usr/lib{0}
\
--disable-nls
\
--disable-db
\
--disable-selinux
\
inarytools
.
flags
.
add
(
"-fPIC -D_GNU_SOURCE"
)
autotools
.
autoreconf
(
"-fi"
)
autotools
.
configure
(
"--libdir=/usr/lib{0}
\
--enable-nls
\
--enable-audit
\
--enable-securedir=/lib{0}/security
\
--enable-isadir='.'"
.
format
(
lib
))
--enable-isadir='.'"
.
format
(
"32"
if
get
.
buildTYPE
()
==
"emul32"
else
""
))
inarytools
.
dosed
(
"libtool"
,
" -shared "
,
" -Wl,-O1,--as-needed -shared "
)
def
build
():
resetenv
()
# Update .po files
autotools
.
make
(
"-C po update-gmo"
)
os
.
system
(
"make"
)
autotools
.
make
(
)
def
check
():
resetenv
()
run
(
"make check"
)
autotools
.
make
(
"check"
)
# dlopen check
run
(
"./dlopen-test.sh"
)
shelltools
.
system
(
"./dlopen-test.sh"
)
pass
def
install
():
pkgdir
=
get
.
installDIR
()
resetenv
()
run
(
"make install DESTDIR=
%
s"
%
pkgdir
)
autotools
.
rawInstall
(
"DESTDIR=
%
s"
%
get
.
installDIR
())
if
get
.
buildTYPE
()
==
"emul32"
:
return
inarytools
.
removeDir
(
"/usr/share/doc/Linux-PAM/"
)
inarytools
.
doman
(
"doc/man/*.[0-9]"
)
inarytools
.
dodoc
(
"CHANGELOG"
,
"Copyright"
,
"README"
)
system/base/pam/pspec.xml
Dosyayı görüntüle @
ee8ed57f
...
...
@@ -14,7 +14,7 @@
<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>
<!-- @@@github linux-pam linux-pam -->
<Archive
sha1sum=
"
ad43b7fbdfdd38886fdf27e098b49f2db1c2a13d"
>
https://github.com/linux-pam/linux-pam/releases/download/v1.5.1/Linux-PAM-1.5
.1.tar.xz
</Archive>
<Archive
sha1sum=
"
e89b6d279c9bf8cb495dfc0b3f3931eb50f818e9"
type=
"tarxz"
>
https://github.com/linux-pam/linux-pam/releases/download/v1.3.1/Linux-PAM-1.3
.1.tar.xz
</Archive>
<AdditionalFiles>
<AdditionalFile
target=
"dlopen.sh"
permission=
"0755"
>
dlopen.sh
</AdditionalFile>
<AdditionalFile
target=
"dlopen-test.sh"
permission=
"0755"
>
dlopen-test.sh
</AdditionalFile>
...
...
@@ -23,6 +23,7 @@
<Dependency>
perl
</Dependency>
<Dependency>
gettext
</Dependency>
<Dependency>
cracklib-devel
</Dependency>
<Dependency>
audit-devel
</Dependency>
<Dependency>
libxslt-devel
</Dependency>
<Dependency>
docbook-xsl
</Dependency>
</BuildDependencies>
...
...
@@ -32,6 +33,7 @@
<Name>
pam
</Name>
<RuntimeDependencies>
<Dependency>
cracklib
</Dependency>
<Dependency>
audit
</Dependency>
</RuntimeDependencies>
<Files>
<Path
fileType=
"config"
>
/etc
</Path>
...
...
@@ -46,7 +48,6 @@
</Files>
<AdditionalFiles>
<AdditionalFile
owner=
"root"
permission=
"0644"
target=
"/etc/limit.d/90-nproc.conf"
>
90-nproc.conf
</AdditionalFile>
<AdditionalFile
owner=
"root"
permission=
"0644"
target=
"/usr/lib/tmpfiles.d/pam.conf"
>
pam.faillock.tmpfiles
</AdditionalFile>
</AdditionalFiles>
<Provides>
<SCOM
script=
"package.py"
>
System.Package
</SCOM>
...
...
@@ -77,13 +78,6 @@
</Package>
<History>
<Update
release=
"6"
>
<Date>
2019-12-08
</Date>
<Version>
1.5.1
</Version>
<Comment>
PAM is released up.
</Comment>
<Name>
Süleyman Poyraz
</Name>
<Email>
zaryob.dev@gmail.com
</Email>
</Update>
<Update
release=
"5"
>
<Date>
2019-12-08
</Date>
<Version>
1.3.1
</Version>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment