mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/haveged to 1.9.4-2
This commit is contained in:
parent
db09357a0d
commit
1bf05b99fb
2 changed files with 8 additions and 6 deletions
|
@ -8,8 +8,8 @@
|
|||
# - patch from Alpine Linux to fix cache detection issues on ARM
|
||||
|
||||
pkgname=haveged
|
||||
pkgver=1.9.3
|
||||
pkgrel=1
|
||||
pkgver=1.9.4
|
||||
pkgrel=2
|
||||
pkgdesc='Entropy harvesting daemon using CPU timings'
|
||||
arch=('x86_64')
|
||||
url='https://github.com/jirka-h/haveged'
|
||||
|
@ -20,9 +20,9 @@ source=("$pkgname-$pkgver.tar.gz::https://github.com/jirka-h/$pkgname/archive/$p
|
|||
"https://github.com/jirka-h/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.asc"
|
||||
'haveged.service'
|
||||
'fix-cpu-cache-size-detection.patch')
|
||||
sha256sums=('f402d256cffba5c644f3396df7c2d65c908e5aae0985efafbc412bb3395df241'
|
||||
sha256sums=('c4959d3cb1fa6391d16a3aa1ba4d82cd3a0d497206ae4b87d638088c0664e5aa'
|
||||
'SKIP'
|
||||
'7cb5d21d075650ad8f08f0ba958cc1bc39b5ff67ef484d9fce365febcaecb05c'
|
||||
'5b9b5d90c70a60291f71f18e337c6822e8850945bddeef4d061acb0305bccf25'
|
||||
'5aecfd72a1dbb9cc9b32d5677917d8a59dba7a2e021e31dee95f3f5b9e7ecf28')
|
||||
|
||||
prepare() {
|
||||
|
|
|
@ -7,9 +7,11 @@ After=systemd-random-seed.service
|
|||
Before=sysinit.target shutdown.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/haveged -F -w 1024 -v 1
|
||||
ExecStartPre=+/usr/bin/sysctl -w kernel.random.write_wakeup_threshold=1024
|
||||
ExecStart=/usr/bin/haveged --Foreground --verbose=1
|
||||
SuccessExitStatus=143
|
||||
CapabilityBoundingSet=CAP_SYS_ADMIN
|
||||
DynamicUser=on
|
||||
AmbientCapabilities=CAP_SYS_ADMIN
|
||||
NoNewPrivileges=on
|
||||
PrivateDevices=on
|
||||
PrivateNetwork=on
|
||||
|
|
Loading…
Reference in a new issue