diff options
author | Gordian Edenhofer | 2022-09-12 15:09:55 +0200 |
---|---|---|
committer | Gordian Edenhofer | 2022-09-12 15:16:30 +0200 |
commit | e8b5c775f243e66a1f3dc6b2cd4d241216023e4e (patch) | |
tree | b59c63e727fc2d7774329f8b86069388d2639738 | |
parent | c6f2758895e6d53d9cf1a4508d991b24744e9054 (diff) | |
download | aur-munge.tar.gz |
upgpkg: munge 0.5.15-1
Revert parts of commit 658a214852b05cfcf933ce629ccef1f6686c8df2 because
the to-be-deleted directory in `/var/run` is still present.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 | ||||
-rw-r--r-- | munge.tmpfiles | 1 |
3 files changed, 10 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = munge pkgdesc = An authentication service for creating and validating credentials. It is designed to be highly scalable for use in an HPC cluster environment. pkgver = 0.5.15 - pkgrel = 1 + pkgrel = 2 url = https://github.com/dun/munge/wiki install = munge.install arch = i686 @@ -16,7 +16,7 @@ pkgbase = munge source = munge.tmpfiles source = https://github.com/dun/munge/archive/munge-0.5.15.tar.gz sha512sums = 0f24af038db5924d483e12f884830636c5611aa6b2486cfdec2c47fa80eb47cefaa550e9be88207fb00a98fe77902504e019b87f384381cd3b2987bfda143c1b - sha512sums = 0a2da0528128c3f3272f4171ede5ecd1077a995c2b2bbf947521ffd90a9ddefd5204e802f5d016561c3e25ce39c47497841ccc831983ffbe3fa1eef18c81ce98 + sha512sums = 33e3210634c1d5aa14597d70ec73c49aa83e9e0cea5c98a656099016876d2bf4dc8e1ec20426ee0baba9522be2e6a4422fa67a028ebf5e7c04f72f7daf0fd53f sha512sums = e3736c7e3c18e27d7678bea3b75696ead17c50c7c8270cb4c3a61a20d750571b4eb8567626de26458659284f656a15d2a0b2a0dd8d45993af719e8ca6f6f4cc0 pkgname = munge @@ -3,7 +3,7 @@ pkgname=munge pkgver=0.5.15 -pkgrel=1 +pkgrel=2 pkgdesc="An authentication service for creating and validating credentials. It is designed to be highly scalable for use in an HPC cluster environment." arch=('i686' 'x86_64' 'armv7h') url="https://github.com/dun/munge/wiki" @@ -16,7 +16,7 @@ source=("munge.sysusers" "munge.tmpfiles" "https://github.com/dun/munge/archive/${pkgname}-${pkgver}.tar.gz") sha512sums=('0f24af038db5924d483e12f884830636c5611aa6b2486cfdec2c47fa80eb47cefaa550e9be88207fb00a98fe77902504e019b87f384381cd3b2987bfda143c1b' - '0a2da0528128c3f3272f4171ede5ecd1077a995c2b2bbf947521ffd90a9ddefd5204e802f5d016561c3e25ce39c47497841ccc831983ffbe3fa1eef18c81ce98' + '33e3210634c1d5aa14597d70ec73c49aa83e9e0cea5c98a656099016876d2bf4dc8e1ec20426ee0baba9522be2e6a4422fa67a028ebf5e7c04f72f7daf0fd53f' 'e3736c7e3c18e27d7678bea3b75696ead17c50c7c8270cb4c3a61a20d750571b4eb8567626de26458659284f656a15d2a0b2a0dd8d45993af719e8ca6f6f4cc0') build() { @@ -40,6 +40,11 @@ package() { install -D -m644 ../munge.sysusers "${pkgdir}/usr/lib/sysusers.d/munge.conf" install -D -m644 ../munge.tmpfiles "${pkgdir}/usr/lib/tmpfiles.d/munge.conf" + # It is bad practice to put package-files in /run + # The dir /var/run/munge will be created by systemd-tmpfiles + rm -rf "${pkgdir}"/var/run/munge + rm -rf "${pkgdir}"/var/run + # Securing the installation (this is optional) chmod 0700 "${pkgdir}"/etc/munge chmod 0711 "${pkgdir}"/var/lib/munge diff --git a/munge.tmpfiles b/munge.tmpfiles index 97ff75e3f840..d7653016f63a 100644 --- a/munge.tmpfiles +++ b/munge.tmpfiles @@ -1,3 +1,4 @@ Z /etc/munge 0700 munge munge Z /var/log/munge 0700 munge munge Z /var/lib/munge 0711 munge munge +d /run/munge 0755 munge munge - |