From 16b80f1f2bbecf98375b588f62a9bab77bc2e315 Mon Sep 17 00:00:00 2001 From: David P Date: Sun, 19 Jan 2020 00:49:24 -0300 Subject: rmpkg: pcr/opentmpfiles pcr/opensysusers they are in [nonsystemd] now Signed-off-by: David P --- pcr/opensysusers/PKGBUILD | 77 -------------------------------------- pcr/opensysusers/opensysusers.hook | 10 ----- pcr/opentmpfiles/PKGBUILD | 53 -------------------------- pcr/opentmpfiles/opentmpfiles.hook | 10 ----- 4 files changed, 150 deletions(-) delete mode 100644 pcr/opensysusers/PKGBUILD delete mode 100644 pcr/opensysusers/opensysusers.hook delete mode 100644 pcr/opentmpfiles/PKGBUILD delete mode 100644 pcr/opentmpfiles/opentmpfiles.hook diff --git a/pcr/opensysusers/PKGBUILD b/pcr/opensysusers/PKGBUILD deleted file mode 100644 index 5bcade8f1..000000000 --- a/pcr/opensysusers/PKGBUILD +++ /dev/null @@ -1,77 +0,0 @@ -# Maintainer: Omar Vega Ramos -# Contributor: David P. -# Contributor: Luke Shumaker -# Maintainer (Artix): Chris Cromer - -# Note: have opensysusers-manpages as a separate package, so that -# notsystemd (which also includes sysusers.d(5)) and opensysusers -# don't conflict. - -pkgbase=opensysusers -pkgname=('opensysusers' 'opensysusers-manpages' 'opensysusers-systemdcompat') -pkgver=0.4.8 -pkgrel=5 -pkgdesc="A standalone utility to handle systemd-style sysusers.d files" -arch=('any') -url="https://github.com/artix-linux/opensysusers" -license=('BSD2') -makedepends=('docbook-xsl') -depends=('shadow') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/artix-linux/${pkgname}/archive/${pkgver}.tar.gz" - 'opensysusers.hook') -sha256sums=('4d1bf4657e8a2420d8dcf8da63f86809e3f023603a0940b86e4d10d0f42a0720' - '6950b6e2e4700d1c6ee352a50e31660e92420d7ff3aed52ecc36b5f95093c4f9') - -build() { - cd "$srcdir/$pkgbase-$pkgver" - make PREFIX=/usr HAVESYSTEMD=no HAVEOPENRC=yes HAVEMAN=yes - make PREFIX=/usr HAVESYSTEMD=yes HAVEOPENRC=no HAVEMAN=no -} - -package_opensysusers() { - groups=('base-openrc') - optdepends=( - 'opensysusers-manpages' - 'opensysusers-systemdcompat' - ) - - cd "$srcdir/$pkgbase-$pkgver" - install -d "$pkgdir"/usr/bin - make PREFIX=/usr HAVESYSTEMD=no HAVEOPENRC=yes HAVEMAN=yes DESTDIR="$pkgdir" install - find "$pkgdir" -type f -name 'systemd-*' -delete - rm -rf "$pkgdir"/usr/share/man/man5 - find "$pkgdir" -depth -type d -empty -exec rmdir -- {} \; - - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - - # OpenRC defaults - install -d "$pkgdir"/etc/runlevels/boot - ln -sT /etc/init.d/opensysusers "$pkgdir"/etc/runlevels/boot/opensysusers - - # pacman hooks - install -Dm0644 ../opensysusers.hook "$pkgdir"/usr/share/libalpm/hooks/opensysusers.hook -} - -package_opensysusers-manpages() { - pkgdesc='Manual page for sysusers.d' - conflicts=('systemd') # because of the sysusers.d(5) manpage - - cd "$srcdir/$pkgbase-$pkgver" - make PREFIX=/usr HAVESYSTEMD=no HAVEOPENRC=yes HAVEMAN=yes DESTDIR="$srcdir/manpages" install - install -d "$pkgdir"/usr/share/man - mv -T {"$srcdir/manpages","$pkgdir"}/usr/share/man/man5 - rm -rf "$srcdir/manpages" -} - -package_opensysusers-systemdcompat() { - pkgdesc='Compatibility wrapper for opensysfiles providing the systemd-sysfiles program' - depends=("opensysusers=$pkgver") - conflicts=('systemd-tools') - - cd "$srcdir/$pkgbase-$pkgver" - make PREFIX=/usr HAVESYSTEMD=yes HAVEOPENRC=no HAVEMAN=yes DESTDIR="$pkgdir" install BINNAME=systemd-sysusers - find "$pkgdir" -type f -not -name 'systemd-*' -delete - find "$pkgdir" -depth -type d -empty -exec rmdir -- {} \; - - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} diff --git a/pcr/opensysusers/opensysusers.hook b/pcr/opensysusers/opensysusers.hook deleted file mode 100644 index a8d3b5b1a..000000000 --- a/pcr/opensysusers/opensysusers.hook +++ /dev/null @@ -1,10 +0,0 @@ -[Trigger] -Type = File -Operation = Install -Operation = Upgrade -Target = usr/lib/sysusers.d/*.conf - -[Action] -Description = Creating system user accounts... -When = PostTransaction -Exec = /usr/bin/opensysusers diff --git a/pcr/opentmpfiles/PKGBUILD b/pcr/opentmpfiles/PKGBUILD deleted file mode 100644 index c25cfeeb7..000000000 --- a/pcr/opentmpfiles/PKGBUILD +++ /dev/null @@ -1,53 +0,0 @@ -# Maintainer: David P. -# Contributor: Luke Shumaker -# Maintainer (Artix): artoo -# Contributor (Artix): williamh - -pkgbase=opentmpfiles -pkgname=(opentmpfiles opentmpfiles-systemdcompat) -pkgver=0.1.3 -pkgrel=8 -pkgdesc="A standalone utility to handle systemd-style tmpfiles.d files" -arch=('any') -url="https://github.com/OpenRC/opentmpfiles" -license=('BSD2') -backup=('etc/conf.d/opentmpfiles-dev' - 'etc/conf.d/opentmpfiles-setup') -makedepends=('git') -validpgpkeys=('D57AEC44668E2E5073A440096E5416F430C46538') # William Hubbs -source=("git+https://github.com/OpenRC/opentmpfiles#tag=${pkgver}?signed" - 'opentmpfiles.hook') -sha512sums=('SKIP' - '5f0f1ce57bb8a497e2e9dd9982a9e7a366eadee6bfcca029a02aa6b9f51b56c3d938a02941851e6fcdea64f5f0472bd92f52d4d911fdeb036decf2162ac2ff2f') - -package_opentmpfiles() { - optdepends=('opentmpfiles-systemdcompat') - - cd "${srcdir}/${pkgname}" - - make bindir="/usr/bin" DESTDIR="${pkgdir}" install - install -Dm644 license "${pkgdir}/usr/share/licenses/${pkgname}/license.txt" - - # OpenRC - install -Dm755 openrc/opentmpfiles-dev.confd "$pkgdir"/etc/conf.d/opentmpfiles-dev - install -Dm755 openrc/opentmpfiles-dev.initd "$pkgdir"/etc/init.d/opentmpfiles-dev - install -Dm755 openrc/opentmpfiles-setup.confd "$pkgdir"/etc/conf.d/opentmpfiles-setup - install -Dm755 openrc/opentmpfiles-setup.initd "$pkgdir"/etc/init.d/opentmpfiles-setup - - # Gentoo does this on post-install - install -d "${pkgdir}"/etc/runlevels/{boot,sysinit} - ln -sT "/etc/init.d/opentmpfiles-dev" "${pkgdir}/etc/runlevels/sysinit/opentmpfiles-dev" - ln -sT "/etc/init.d/opentmpfiles-setup" "${pkgdir}/etc/runlevels/boot/opentmpfiles-setup" - - # pacman hooks (based on libre/systemd) - install -Dm644 -t "$pkgdir"/usr/share/libalpm/hooks ../opentmpfiles.hook -} - -package_opentmpfiles-systemdcompat() { - pkgdesc='Compatibility wrapper for opentmpfiles providing the systemd-tmpfiles program' - depends=('opentmpfiles') - conflicts=('systemd-tools') - - install -d "$pkgdir"/usr/bin - ln -s tmpfiles "$pkgdir"/usr/bin/systemd-tmpfiles -} diff --git a/pcr/opentmpfiles/opentmpfiles.hook b/pcr/opentmpfiles/opentmpfiles.hook deleted file mode 100644 index 2a5db2a17..000000000 --- a/pcr/opentmpfiles/opentmpfiles.hook +++ /dev/null @@ -1,10 +0,0 @@ -[Trigger] -Type = File -Operation = Install -Operation = Upgrade -Target = usr/lib/tmpfiles.d/*.conf - -[Action] -Description = Creating temporary files... -When = PostTransaction -Exec = /usr/bin/tmpfiles --create -- cgit v1.2.3