mirror of
https://github.com/archlinux/aur.git
synced 2026-01-27 20:28:31 +01:00
Remove the sysusers and tmpfiles config files
The adguardhome package now provides its own sysusers config file The directory in the tmpfiles config file is also created in the init script
This commit is contained in:
parent
9f8c64adac
commit
3ccc50ee6e
5 changed files with 4 additions and 18 deletions
6
.SRCINFO
6
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = adguardhome-openrc
|
||||
pkgdesc = OpenRC adguardhome init script
|
||||
pkgver = 20250416
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/testing/adguardhome
|
||||
arch = any
|
||||
license = unknown
|
||||
|
|
@ -12,11 +12,7 @@ pkgbase = adguardhome-openrc
|
|||
backup = etc/conf.d/adguardhome
|
||||
source = adguardhome.confd::https://gitlab.alpinelinux.org/api/v4/projects/1/repository/files/testing%2Fadguardhome%2Fadguardhome.confd/raw?ref=3be504af77e6a5c639dc6111a4624d2f40f8991f
|
||||
source = adguardhome.initd::https://gitlab.alpinelinux.org/api/v4/projects/1/repository/files/testing%2Fadguardhome%2Fadguardhome.initd/raw?ref=3be504af77e6a5c639dc6111a4624d2f40f8991f
|
||||
source = adguardhome.sysusers
|
||||
source = adguardhome.tmpfiles
|
||||
sha256sums = 2e8de4fe94c4a98e015ab5087670e3a9d406623ef518c57575c7240ded91540d
|
||||
sha256sums = 004274c6ec39c56a21f24281d550f81288db0669e9ea1a9980423059ceeeaf3b
|
||||
sha256sums = cb3089f85a0188255e74c6ec21e1a433e9c4e2ea3cc2920f91fbf384dce56b77
|
||||
sha256sums = d847934161583bd84882c726bd34238524d0f256230fc1f64005e9ec5d699dcb
|
||||
|
||||
pkgname = adguardhome-openrc
|
||||
|
|
|
|||
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,6 +1,4 @@
|
|||
!.SRCINFO
|
||||
!.gitignore
|
||||
!PKGBUILD
|
||||
!adguardhome.sysusers
|
||||
!adguardhome.tmpfiles
|
||||
*
|
||||
|
|
|
|||
12
PKGBUILD
12
PKGBUILD
|
|
@ -5,7 +5,7 @@ _gitlab_api_path="${_gitlab}/api/v4/projects/1/repository/files/testing%2Fadguar
|
|||
_commit=3be504af77e6a5c639dc6111a4624d2f40f8991f
|
||||
pkgname=adguardhome-openrc
|
||||
pkgver=20250416
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='OpenRC adguardhome init script'
|
||||
arch=('any')
|
||||
url="${_gitlab}/alpine/aports/-/tree/master/testing/adguardhome"
|
||||
|
|
@ -16,17 +16,11 @@ provides=('init-adguardhome')
|
|||
conflicts=('init-adguardhome')
|
||||
backup=('etc/conf.d/adguardhome')
|
||||
source=("adguardhome.confd::${_gitlab_api_path}adguardhome.confd/raw?ref=${_commit}"
|
||||
"adguardhome.initd::${_gitlab_api_path}adguardhome.initd/raw?ref=${_commit}"
|
||||
'adguardhome.sysusers'
|
||||
'adguardhome.tmpfiles')
|
||||
"adguardhome.initd::${_gitlab_api_path}adguardhome.initd/raw?ref=${_commit}")
|
||||
sha256sums=('2e8de4fe94c4a98e015ab5087670e3a9d406623ef518c57575c7240ded91540d'
|
||||
'004274c6ec39c56a21f24281d550f81288db0669e9ea1a9980423059ceeeaf3b'
|
||||
'cb3089f85a0188255e74c6ec21e1a433e9c4e2ea3cc2920f91fbf384dce56b77'
|
||||
'd847934161583bd84882c726bd34238524d0f256230fc1f64005e9ec5d699dcb')
|
||||
'004274c6ec39c56a21f24281d550f81288db0669e9ea1a9980423059ceeeaf3b')
|
||||
|
||||
package() {
|
||||
install -Dm 644 "${srcdir}"/adguardhome.confd "${pkgdir}"/etc/conf.d/adguardhome
|
||||
install -Dm 755 "${srcdir}"/adguardhome.initd "${pkgdir}"/etc/init.d/adguardhome
|
||||
install -Dm 644 "${srcdir}"/adguardhome.sysusers "${pkgdir}"/usr/lib/sysusers.d/adguardhome.conf
|
||||
install -Dm 644 "${srcdir}"/adguardhome.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/adguardhome.conf
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
u! adguardhome - adguardhome /var/lib/adguardhome
|
||||
|
|
@ -1 +0,0 @@
|
|||
d /var/lib/adguardhome 0700 adguardhome adguardhome - -
|
||||
Loading…
Add table
Reference in a new issue