elogind move
This commit is contained in:
-124
@@ -6785,130 +6785,6 @@
|
||||
</Update>
|
||||
</History>
|
||||
</SpecFile>
|
||||
<SpecFile>
|
||||
<Source>
|
||||
<Name>elogind</Name>
|
||||
<Homepage>https://github.com/elogind</Homepage>
|
||||
<Packager>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2.1</License>
|
||||
<IsA>app:console</IsA>
|
||||
<PartOf>system.base</PartOf>
|
||||
<Summary xml:lang="en">Elogind User, Seat and Session Manager</Summary>
|
||||
<Summary xml:lang="tr">Elogind; kullanıcı, oturum ve seat Yöneticisi </Summary>
|
||||
<Description xml:lang="en">Elogind is the systemd project's "logind", extracted out to be a standalone daemon. It integrates with PAM to know the set of users that are logged in to a system and whether they are logged in graphically, on the console, or remotely.</Description>
|
||||
<Description xml:lang="tr">Elogind kullanıcıların oturum açma kapama durumlarını denetlerken çoklu oturumlara da izin veren hizmettir.</Description>
|
||||
<Archive type="targz" sha1sum="f2538df81689c280b081c902f19dd538f5d1feae" name="v246.10.tar.gz">https://github.com/elogind/elogind/archive/refs/tags/v246.10.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gperf</Dependency>
|
||||
<Dependency>meson</Dependency>
|
||||
<Dependency>ninja</Dependency>
|
||||
<Dependency>libxslt-devel</Dependency>
|
||||
<Dependency>sysvinit</Dependency>
|
||||
<Dependency>acl-devel</Dependency>
|
||||
<Dependency>pam-devel</Dependency>
|
||||
<Dependency>dbus-devel</Dependency>
|
||||
<Dependency>audit-devel</Dependency>
|
||||
<Dependency>docbook-xsl</Dependency>
|
||||
<Dependency>eudev-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>libcap-devel</Dependency>
|
||||
<Dependency>polkit-devel</Dependency>
|
||||
<Dependency>cgmanager-devel</Dependency>
|
||||
<Dependency>libevdev-devel</Dependency>
|
||||
<Dependency>p11-kit-devel</Dependency>
|
||||
<Dependency>kernel-headers</Dependency>
|
||||
<Dependency>libpcre2-devel</Dependency>
|
||||
<Dependency>bash-completion</Dependency>
|
||||
</BuildDependencies>
|
||||
<SourceURI>system/base/elogind/pspec.xml</SourceURI>
|
||||
</Source>
|
||||
<Package>
|
||||
<Name>elogind</Name>
|
||||
<Summary xml:lang="en">Elogind User, Seat and Session Manager</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>acl</Dependency>
|
||||
<Dependency>pam</Dependency>
|
||||
<Dependency>audit</Dependency>
|
||||
<Dependency>eudev</Dependency>
|
||||
<Dependency>libevdev</Dependency>
|
||||
<Dependency>dbus</Dependency>
|
||||
<Dependency>cgmanager</Dependency>
|
||||
<Dependency>libcap</Dependency>
|
||||
<Dependency>bash-completion</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="conf">/etc</Path>
|
||||
<Path fileType="library">/lib</Path>
|
||||
<Path fileType="executable">/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="data">/usr/share/zsh</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share/dbus-1</Path>
|
||||
<Path fileType="data">/usr/share/factory</Path>
|
||||
<Path fileType="data">/usr/share/polkit-1</Path>
|
||||
<Path fileType="locale">/usr/share/locale</Path>
|
||||
<Path fileType="data">/usr/share/bash-completion</Path>
|
||||
</Files>
|
||||
<Provides>
|
||||
<COMAR script="service.py">System.Service</COMAR>
|
||||
<COMAR script="package.py">System.Package</COMAR>
|
||||
</Provides>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile target="/usr/lib/tmpfiles.d/elogind.conf" permission="0644" owner="root">tmpfiles.conf</AdditionalFile>
|
||||
<AdditionalFile target="/etc/polkit-1/rules.d/75-elogind.rules" permission="0644" owner="root">25-elogind.rules</AdditionalFile>
|
||||
<AdditionalFile target="/usr/share/polkit-1/rules.d/75-elogind.rules" permission="0644">25-elogind.rules</AdditionalFile>
|
||||
<AdditionalFile target="/etc/pam.d/elogind-user" permission="0644" owner="root">elogind-user</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
<Package>
|
||||
<Name>elogind-devel</Name>
|
||||
<Summary xml:lang="en">Development files for elogind</Summary>
|
||||
<Summary xml:lang="tr">elogind için geliştirme dosyaları</Summary>
|
||||
<Description xml:lang="tr">elogind-devel, elogind için geliştirme dosyalarını içerir.</Description>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="4">elogind</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="header">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2021-07-08</Date>
|
||||
<Version>246.10</Version>
|
||||
<Comment>elogind rebuild</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2021-06-16</Date>
|
||||
<Version>246.10</Version>
|
||||
<Comment>elogind rebuild</Comment>
|
||||
<Name>Berk Çakar</Name>
|
||||
<Email>berk2238@hotmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2021-05-03</Date>
|
||||
<Version>246.10</Version>
|
||||
<Comment>Version Bump</Comment>
|
||||
<Name>Ali Cengiz Kurt</Name>
|
||||
<Email>alicengizkurt@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2021-03-17</Date>
|
||||
<Version>246.9.2</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Ali Cengiz Kurt</Name>
|
||||
<Email>alicengizkurt@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</SpecFile>
|
||||
<SpecFile>
|
||||
<Source>
|
||||
<Name>libee</Name>
|
||||
|
||||
@@ -1 +1 @@
|
||||
a6ddd215042f574ba987c2cc757e0a4965e86f5f
|
||||
f86ef24f71826565592697c95cb77404fd972c69
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
43ff8c4f266b1a496e3dd0a7fb26c543b45190b4
|
||||
44421635d8cf3abfb8cee71a81b59321db7a78e2
|
||||
@@ -1,37 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import mesontools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
mesontools.configure("--prefix=/usr \
|
||||
-Drootlibdir=/usr/lib \
|
||||
-Dpolkit=true \
|
||||
-Dsplit-bin=true \
|
||||
-Dsplit-usr=false \
|
||||
-Dhalt-path=/sbin/halt \
|
||||
-Dpamlibdir=/lib/security \
|
||||
-Dreboot-path=/sbin/reboot \
|
||||
-Dcgroup-controller=elogind \
|
||||
-Ddefault-hierarchy=unified \
|
||||
-Dpoweroff-path=/sbin/poweroff \
|
||||
-Ddocdir=/usr/share/doc/elogind \
|
||||
-Drootlibexecdir=/usr/lib/elogind \
|
||||
-Ddefault-kill-user-processes=false \
|
||||
-Ddbuspolicydir=/usr/share/dbus-1/system.d")
|
||||
|
||||
def build():
|
||||
mesontools.build()
|
||||
|
||||
def install():
|
||||
mesontools.install()
|
||||
|
||||
shelltools.system("ln -s libelogind.pc %s/usr/lib/pkgconfig/libsystemd.pc" % get.installDIR())
|
||||
shelltools.system("ln -s libelogind.pc %s/usr/lib/pkgconfig/libsystemd-logind.pc" % get.installDIR())
|
||||
shelltools.system("ln -sr %s/usr/include/elogind %s/usr/include/systemd" % (get.installDIR(), get.installDIR()))
|
||||
@@ -1,33 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import os, re
|
||||
import shutil
|
||||
|
||||
OUR_ID = 95
|
||||
OUR_NAME = "elogind"
|
||||
OUR_DESC = "elogind"
|
||||
OUR_GRP ="wheel"
|
||||
|
||||
DATADIR = "/var/lib/elogind"
|
||||
DATADIRMODE = 0755
|
||||
|
||||
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
|
||||
|
||||
# On first install...
|
||||
if not os.path.exists(DATADIR):
|
||||
os.makedirs(DATADIR, DATADIRMODE)
|
||||
|
||||
try:
|
||||
os.system ("groupadd -g %d %s" % (OUR_ID, OUR_NAME))
|
||||
os.system ("useradd -m -d /var/lib/elogind -r -s /bin/false -u %d -g %d %s -c %s" % (OUR_ID, OUR_ID, OUR_NAME, OUR_DESC))
|
||||
os.system ("passwd -l elogind > /dev/null")
|
||||
os.system("/bin/chown -R elogind:elogind %s" % DATADIR)
|
||||
except:
|
||||
pass
|
||||
|
||||
def postRemove():
|
||||
try:
|
||||
os.system ("userdel %s" % OUR_NAME)
|
||||
os.system ("groupdel %s" % OUR_NAME)
|
||||
except:
|
||||
pass
|
||||
@@ -1,31 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from comar.service import *
|
||||
import os
|
||||
|
||||
serviceType="server"
|
||||
serviceDesc=_({"en": "Session Manager",
|
||||
"tr": "Oturum Yöneticisi"})
|
||||
serviceDefault="on"
|
||||
PIDFILE="/run/elogind.pid"
|
||||
DAEMON="/usr/lib/elogind/elogind"
|
||||
|
||||
@synchronized
|
||||
def start():
|
||||
startService(command=DAEMON,
|
||||
pidfile=PIDFILE,
|
||||
detach=True,
|
||||
donotify=True)
|
||||
|
||||
|
||||
@synchronized
|
||||
def stop():
|
||||
stopService(pidfile=PIDFILE,
|
||||
donotify=True)
|
||||
|
||||
try:
|
||||
os.unlink(PIDFILE)
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
def status():
|
||||
return isServiceRunning(PIDFILE)
|
||||
@@ -1,8 +0,0 @@
|
||||
polkit.addRule(function(action, subject) {
|
||||
if (action.id == "org.freedesktop.libelogind.system.stop" ||
|
||||
action.id == "org.freedesktop.libelogind.system.restart" ||
|
||||
action.id == "org.freedesktop.libelogind.system.hibernate" ||
|
||||
action.id == "org.freedesktop.libelogind.system.suspend") {
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
||||
@@ -1,16 +0,0 @@
|
||||
# Begin /etc/pam.d/elogind-user
|
||||
|
||||
account required pam_access.so
|
||||
account include system-account
|
||||
|
||||
session required pam_env.so
|
||||
session required pam_limits.so
|
||||
session required pam_unix.so
|
||||
session required pam_loginuid.so
|
||||
session optional pam_keyinit.so force revoke
|
||||
session optional pam_elogind.so
|
||||
|
||||
auth required pam_deny.so
|
||||
password required pam_deny.so
|
||||
|
||||
# End /etc/pam.d/elogind-user
|
||||
@@ -1,16 +0,0 @@
|
||||
# Begin /etc/pam.d/elogind-user
|
||||
|
||||
account required pam_access.so
|
||||
account include system-account
|
||||
|
||||
session required pam_env.so
|
||||
session required pam_limits.so
|
||||
session required pam_unix.so
|
||||
session required pam_loginuid.so
|
||||
session optional pam_keyinit.so force revoke
|
||||
session optional pam_elogind.so
|
||||
|
||||
auth required pam_deny.so
|
||||
password required pam_deny.so
|
||||
|
||||
# End /etc/pam.d/elogind-user
|
||||
@@ -1,7 +0,0 @@
|
||||
#%PAM-1.0
|
||||
|
||||
auth include system-login
|
||||
account include system-login
|
||||
session include system-login
|
||||
password include system-login
|
||||
session optional libelogind.so
|
||||
@@ -1,6 +0,0 @@
|
||||
# Begin elogind addition
|
||||
|
||||
session required pam_loginuid.so
|
||||
session optional pam_elogind.so
|
||||
|
||||
# End elogind addition
|
||||
@@ -1 +0,0 @@
|
||||
d /run/elogind 0755 elogind elogind
|
||||
@@ -1,133 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>elogind</Name>
|
||||
<Homepage>https://github.com/elogind</Homepage>
|
||||
<Packager>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2.1</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Elogind User, Seat and Session Manager</Summary>
|
||||
<Description>Elogind is the systemd project's "logind", extracted out to be a standalone daemon. It integrates with PAM to know the set of users that are logged in to a system and whether they are logged in graphically, on the console, or remotely.</Description>
|
||||
<Archive sha1sum="f2538df81689c280b081c902f19dd538f5d1feae" type="targz">https://github.com/elogind/elogind/archive/refs/tags/v246.10.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gperf</Dependency>
|
||||
<Dependency>meson</Dependency>
|
||||
<Dependency>ninja</Dependency>
|
||||
<Dependency>libxslt-devel</Dependency>
|
||||
<Dependency>sysvinit</Dependency>
|
||||
<Dependency>acl-devel</Dependency>
|
||||
<Dependency>pam-devel</Dependency>
|
||||
<Dependency>dbus-devel</Dependency>
|
||||
<Dependency>audit-devel</Dependency>
|
||||
<Dependency>docbook-xsl</Dependency>
|
||||
<Dependency>eudev-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>libcap-devel</Dependency>
|
||||
<Dependency>polkit-devel</Dependency>
|
||||
<Dependency>cgmanager-devel</Dependency>
|
||||
<Dependency>libevdev-devel</Dependency>
|
||||
<Dependency>p11-kit-devel</Dependency>
|
||||
<Dependency>kernel-headers</Dependency>
|
||||
<Dependency>libpcre2-devel</Dependency>
|
||||
<Dependency>bash-completion</Dependency>
|
||||
</BuildDependencies>
|
||||
<!--Patches>
|
||||
<Patch>reverse_DISABLE_BUFFER_in_cg_attach.patch</Patch>
|
||||
<Patch>reverse_CLOSE_ON_EXEC_removal.patch</Patch>
|
||||
</Patches-->
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>elogind</Name>
|
||||
<Summary>Elogind User, Seat and Session Manager</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>acl</Dependency>
|
||||
<Dependency>pam</Dependency>
|
||||
<Dependency>audit</Dependency>
|
||||
<Dependency>eudev</Dependency>
|
||||
<Dependency>libevdev</Dependency>
|
||||
<Dependency>dbus</Dependency>
|
||||
<!--Dependency>polkit</Dependency--> <!--elogind çember-->
|
||||
<Dependency>cgmanager</Dependency>
|
||||
<Dependency>libcap</Dependency>
|
||||
<Dependency>bash-completion</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="conf">/etc</Path>
|
||||
<Path fileType="library">/lib</Path>
|
||||
<Path fileType="executable">/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="data">/usr/share/zsh</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share/dbus-1</Path>
|
||||
<Path fileType="data">/usr/share/factory</Path>
|
||||
<Path fileType="data">/usr/share/polkit-1</Path>
|
||||
<Path fileType="locale">/usr/share/locale</Path>
|
||||
<Path fileType="data">/usr/share/bash-completion</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/elogind.conf">tmpfiles.conf</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/polkit-1/rules.d/75-elogind.rules">25-elogind.rules</AdditionalFile>
|
||||
<AdditionalFile permission="0644" target="/usr/share/polkit-1/rules.d/75-elogind.rules">25-elogind.rules</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/pam.d/elogind-user">elogind-user</AdditionalFile>
|
||||
<!--AdditionalFile owner="root" permission="0644" target="/etc/pam.d/system-login">system-login</AdditionalFile-->
|
||||
<!--AdditionalFile owner="root" permission="0755" target="/etc/pam.d/elogind">elogind.pamd</AdditionalFile-->
|
||||
</AdditionalFiles>
|
||||
<Provides>
|
||||
<COMAR script="service.py">System.Service</COMAR>
|
||||
<COMAR script="package.py">System.Package</COMAR>
|
||||
</Provides>
|
||||
<Conflicts>
|
||||
<!-- Package>ConsoleKit</Package -->
|
||||
</Conflicts>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>elogind-devel</Name>
|
||||
<Summary>Development files for elogind</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">elogind</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="header">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2021-07-08</Date>
|
||||
<Version>246.10</Version>
|
||||
<Comment>elogind rebuild</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2021-06-16</Date>
|
||||
<Version>246.10</Version>
|
||||
<Comment>elogind rebuild</Comment>
|
||||
<Name>Berk Çakar</Name>
|
||||
<Email>berk2238@hotmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2021-05-03</Date>
|
||||
<Version>246.10</Version>
|
||||
<Comment>Version Bump</Comment>
|
||||
<Name>Ali Cengiz Kurt</Name>
|
||||
<Email>alicengizkurt@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2021-03-17</Date>
|
||||
<Version>246.9.2</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Ali Cengiz Kurt</Name>
|
||||
<Email>alicengizkurt@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>elogind</Name>
|
||||
<Summary xml:lang="tr">Elogind; kullanıcı, oturum ve seat Yöneticisi </Summary>
|
||||
<Description xml:lang="tr">Elogind kullanıcıların oturum açma kapama durumlarını denetlerken çoklu oturumlara da izin veren hizmettir.</Description>
|
||||
<Summary xml:lang="en">Elogind User, Seat and Session Manager</Summary>
|
||||
<Description xml:lang="en">Elogind is the systemd project's "logind", extracted out to be a standalone daemon. It integrates with PAM to know the set of users that are logged in to a system and whether they are logged in graphically, on the console, or remotely.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>elogind-devel</Name>
|
||||
<Summary xml:lang="tr">elogind için geliştirme dosyaları</Summary>
|
||||
<Description xml:lang="tr">elogind-devel, elogind için geliştirme dosyalarını içerir.</Description>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user