🔒 Repository is read-only – file editing is disabled.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
pkgname: systemd
pkgver: '261.2'
pkgrel: '1'
pkgdesc: Programs for controlling the startup, running, and shutdown of the system.
url: 'https://systemd.io'
arch: x86_64
depends:
- shadow
makedepends:
- acl
- libcap
- kmod
- m4
- gperf
- kbd
- pam
- libxcrypt
- util-linux
- python
- python-markupsafe
- python-jinja
- meson
- ninja
source:
- 'https://anduin.linuxfromscratch.org/LFS/systemd-man-pages-${pkgver}.tar.xz'
- 'https://github.com/systemd/systemd/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz'
sha256sums:
- 9be13865c9c7f9fecba7b86fc5185aecef00164c87ed68b4f6884283aefebe50
- ed1059ff964f5df35b6056434cc17cc83f86dc913f10489948a0b19b6081c5ec
hooks:
post-install: |
name=systemd
version=261.2
release=1
systemctl enable systemd-resolved systemd-timesyncd getty@
build: |
cd ${pkgname}-${pkgver}
sed -i "s@=/lib/modules@=/usr/lib/modules@" \
units/kmod-static-nodes.service.in
sed -e 's/GROUP="render"/GROUP="video"/' \
-e 's/GROUP="sgx", //' \
-i rules.d/50-udev-default.rules.in
meson setup --prefix /usr --buildtype plain --libexecdir lib --sbindir bin -D b_pie=true . builddir -Ddefault-dnssec=no -Ddev-kvm-mode=0660 -Dfirstboot=false -Dldconfig=false -Dhomed=disabled -Dmode=release -Dnobody-group=nogroup -Dpam=enabled -Dpamconfdir=/etc/pam.d -Drpmmacrosdir=no -Dmount-path=/usr/bin/mount -Dsplit-bin=false -Dumount-path=/usr/bin/umount -Dswapon-path=/usr/bin/swapon -Dswapoff-path=/usr/bin/swapoff -Dagetty-path=/usr/bin/agetty -Dkmod-path=/usr/bin/kmod -Dkernel-install=false -Dukify=disabled
meson compile -C builddir
DESTDIR=${PKGDIR} meson install -C builddir
package: |
mkdir -p ${PKGDIR}/usr/share/man
for i in 1 3 5 7 8
do
mv ${pkgname}-man-pages-${pkgver}/man$i \
${PKGDIR}/usr/share/man
done
rm ${PKGDIR}/usr/share/factory/etc/vconsole.conf
cat > ${PKGDIR}/etc/pam.d/systemd-user << "EOF"
# Begin /etc/pam.d/systemd-user
account required pam_access.so
account include system-account
session required pam_env.so
session required pam_limits.so
session required pam_loginuid.so
session optional pam_keyinit.so force revoke
session optional pam_systemd.so
auth required pam_deny.so
password required pam_deny.so
# End /etc/pam.d/systemd-user
EOF