revise opensysusers

This commit is contained in:
joborun linux 2023-05-11 23:28:16 +03:00
parent 0328e2a19f
commit f1b702c3a2
1 changed files with 7 additions and 3 deletions

View File

@ -7,7 +7,7 @@
pkgname=opensysusers
pkgver=0.4.8
pkgrel=05
pkgrel=06
pkgdesc='a standalone utility for handling systemd-style users and groups'
#url='https://github.com/artix-linux/opensysusers'
groups=('jobbot')
@ -37,7 +37,11 @@ package() {
cd "${pkgname}-${pkgver}"
make PREFIX=/usr DESTDIR="${pkgdir}" install install-man
# ln -s "/usr/bin/sysusers" "${pkgdir}/usr/bin/systemd-sysusers"
# In case somewhere is missed and a package specifically instructs the
# use of systemd-sysusers we link to our own sysusers which functions the same
# We may have to do this for obsysusers and build it on our own as it appears it
# doesn't provide this link, which may effectively miss some sysusers configuration
ln -s "/usr/bin/sysusers" "${pkgdir}/usr/bin/systemd-sysusers"
install -d -m 755 "${pkgdir}"/etc/sysusers.d
install -d -m 755 "${pkgdir}"/usr/lib/sysusers.d
@ -61,4 +65,4 @@ sha256sums=(4d1bf4657e8a2420d8dcf8da63f86809e3f023603a0940b86e4d10d0f42a0720 # o
69733b608efa7a3cbd3fac0daa0e7ba2ffdf50ec535223a04127cb96def6cb57 # sysusers.hook
d0add2ecae5619113640a454bd545e7317e3e7f72702b3f8b995322147fd2b16) # sysusers-hook
## 8fabb03dc1a724213be195f7a7c239bafde38f76c2967964569cb342d6de59f2 opensysusers-0.4.8-05-x86_64.pkg.tar.lz
## 595ea40654478382438961198f788aebc6fba2bdfb7e7c10a68639ed5ec3321f opensysusers-0.4.8-06-x86_64.pkg.tar.lz