usbguard: Fix localstatedir in systemd service file
This commit is contained in:
parent
d3d3209d5e
commit
11847bc1d5
2 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
AUX usbguard 351 BLAKE2B 0b5eeb4ac5e8b343e2f66e3ea5d3c3235041ff51bbb10441927b2469dad0b282976dfd277a9e6627ea818e9df12d34c96a5c3c9b9fb63abf5dab154ed3c9c660 SHA512 e59b33d1550fa7340ec81e2ceea70586d046c32db8a5845b64fa72eaffbcb2819dca1a22586da8ce6d98f904333c3bad2f60e0ad19b6d1b2b37c1d1ccaf28b58
|
AUX usbguard 351 BLAKE2B 0b5eeb4ac5e8b343e2f66e3ea5d3c3235041ff51bbb10441927b2469dad0b282976dfd277a9e6627ea818e9df12d34c96a5c3c9b9fb63abf5dab154ed3c9c660 SHA512 e59b33d1550fa7340ec81e2ceea70586d046c32db8a5845b64fa72eaffbcb2819dca1a22586da8ce6d98f904333c3bad2f60e0ad19b6d1b2b37c1d1ccaf28b58
|
||||||
DIST usbguard-0.7.5.tar.gz 1184622 BLAKE2B 0004c1b5cddc8f8085c2606fcc43803f81b3ad6d7ca849138437c1aad922fe2deb25e959307881ddeffa9d630fc9380a50dd0a6d4290a8cedeab6d24deab6a38 SHA512 b14f1cfaec676b5bc2f3aa2bda8be96ea8a6b3f02fc78f0fa7a58dd079c57886aae2c33a9e99cb9ccd53e5d6fa27712b978a2d19cd58b75dda34516d8caed0c4
|
DIST usbguard-0.7.5.tar.gz 1184622 BLAKE2B 0004c1b5cddc8f8085c2606fcc43803f81b3ad6d7ca849138437c1aad922fe2deb25e959307881ddeffa9d630fc9380a50dd0a6d4290a8cedeab6d24deab6a38 SHA512 b14f1cfaec676b5bc2f3aa2bda8be96ea8a6b3f02fc78f0fa7a58dd079c57886aae2c33a9e99cb9ccd53e5d6fa27712b978a2d19cd58b75dda34516d8caed0c4
|
||||||
EBUILD usbguard-0.7.5.ebuild 1237 BLAKE2B 2227ff0379f3083568d04f06b8ef6ebe55770f31c2046c53def34d08d90953aad27ea3cefa1492137f38cacbb4a5eb28913ec1e2536bb45f77770b059c432c1b SHA512 30b9c6e72dff14d4f656b080bc878f351568b70f706163ae07e53dd7a2d2c5e1c5890ca45d638e54a75c668c807c14668d3c304658cbd69f7a1e531f089bc3b7
|
EBUILD usbguard-0.7.5.ebuild 1382 BLAKE2B c7f87caa3188b5f5be1b5250b9172447e2af1d0a23ee01c743071e25e7a84a2afdf3069efbf6cd9a241d3a269b7c4310fbce3332a495a033427a947189ec66d6 SHA512 75ce1cf03de666867b2a6be16e8c86293f3d297ea3578237b4b39a01bf60eb38cea5ad151bfe964bd6fe89505c38cdcb7d2e2d609a449cb8e29817101b1e648e
|
||||||
EBUILD usbguard-9999.ebuild 1239 BLAKE2B 5d949a2b900311540bc4ddb1dc042b610ae7134a0f06df4abc72b549d1e045cfb32dd35058603afccbb8fff45cc06d48280bf763f821971b2a088848fab789a2 SHA512 c98e4f9b867ae3d92f42b815d2db151fa869e73f721ae5f90e6ba2bedaa0547ddfb8680e959fa4ca7f2bb97c5a042ba7f11877e7e6ba3719400df199953c09f8
|
EBUILD usbguard-9999.ebuild 1239 BLAKE2B 5d949a2b900311540bc4ddb1dc042b610ae7134a0f06df4abc72b549d1e045cfb32dd35058603afccbb8fff45cc06d48280bf763f821971b2a088848fab789a2 SHA512 c98e4f9b867ae3d92f42b815d2db151fa869e73f721ae5f90e6ba2bedaa0547ddfb8680e959fa4ca7f2bb97c5a042ba7f11877e7e6ba3719400df199953c09f8
|
||||||
|
|
|
@ -37,6 +37,11 @@ DEPEND="${RDEPEND}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
default
|
default
|
||||||
|
|
||||||
|
# Upstream assumes localstatedir=/var in systemd service file
|
||||||
|
sed -i -e '/^ReadWritePaths/ s|/var|%localstatedir%|g' \
|
||||||
|
usbguard.service.in
|
||||||
|
|
||||||
eautoreconf
|
eautoreconf
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue