summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2020-01-19 00:49:24 -0300
committerDavid P <megver83@parabola.nu>2020-01-19 00:49:24 -0300
commit16b80f1f2bbecf98375b588f62a9bab77bc2e315 (patch)
tree88a58b824468d32f94fa698c08b0f3d647413a9d
parenta3a3d5a48067770d80174f3cc688a41131031469 (diff)
downloadabslibre-16b80f1f2bbecf98375b588f62a9bab77bc2e315.tar.gz
abslibre-16b80f1f2bbecf98375b588f62a9bab77bc2e315.tar.bz2
abslibre-16b80f1f2bbecf98375b588f62a9bab77bc2e315.zip
rmpkg: pcr/opentmpfiles pcr/opensysusers
they are in [nonsystemd] now Signed-off-by: David P <megver83@parabola.nu>
-rw-r--r--pcr/opensysusers/PKGBUILD77
-rw-r--r--pcr/opensysusers/opensysusers.hook10
-rw-r--r--pcr/opentmpfiles/PKGBUILD53
-rw-r--r--pcr/opentmpfiles/opentmpfiles.hook10
4 files changed, 0 insertions, 150 deletions
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 <ovruni@gnu.org.pe>
-# Contributor: David P. <megver83@parabola.nu>
-# Contributor: Luke Shumaker <lukeshu@parabola.nu>
-# Maintainer (Artix): Chris Cromer <chris@artixlinux.org>
-
-# 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. <megver83@parabola.nu>
-# Contributor: Luke Shumaker <lukeshu@parabola.nu>
-# Maintainer (Artix): artoo <artoo@manjaro.org>
-# Contributor (Artix): williamh <williamh@gentoo.org>
-
-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 <w.d.hubbs@gmail.com>
-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