[arch-commits] Commit in haveged/repos (3 files)
Christian Hesse
eworm at archlinux.org
Thu Sep 19 19:47:18 UTC 2019
Date: Thursday, September 19, 2019 @ 19:47:17
Author: eworm
Revision: 363142
archrelease: copy trunk to testing-x86_64
Added:
haveged/repos/testing-x86_64/
haveged/repos/testing-x86_64/PKGBUILD
(from rev 363141, haveged/trunk/PKGBUILD)
haveged/repos/testing-x86_64/haveged.service
(from rev 363141, haveged/trunk/haveged.service)
-----------------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
haveged.service | 20 ++++++++++++++++++++
2 files changed, 67 insertions(+)
Copied: haveged/repos/testing-x86_64/PKGBUILD (from rev 363141, haveged/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-09-19 19:47:17 UTC (rev 363142)
@@ -0,0 +1,47 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: kfgz <kfgz at interia dot pl>
+# Contributor: pootzko <pootzko at gmail dot com>
+
+pkgname=haveged
+pkgver=1.9.6
+pkgrel=4
+pkgdesc='Entropy harvesting daemon using CPU timings'
+arch=('x86_64')
+url='https://github.com/jirka-h/haveged'
+license=('GPL')
+depends=('glibc')
+validpgpkeys=('8F6B7293B03E5AC5762B65CE2E2F252B05CCA168') # Jirka Hladky <hladky.jiri at gmail.com>
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jirka-h/$pkgname/archive/v$pkgver.tar.gz"
+ #"https://github.com/jirka-h/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.asc"
+ 'haveged.service')
+sha256sums=('4d4c046755476d3734ffb78772c242c25913ff0eb7509c143671dae6ec9d1189'
+ #'SKIP'
+ '046c82811f645c0a895f599bf38894096ff655f1fac40c12a1a5f88df4e76ebb')
+
+# service file changes sent upstream:
+# https://github.com/jirka-h/haveged/pull/21
+
+build() {
+ cd $pkgname-$pkgver
+
+ ./configure \
+ --prefix=/usr \
+ --bindir=/usr/bin \
+ --sbindir=/usr/bin
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ make DESTDIR="$pkgdir" install
+
+ install -D -m0644 "${srcdir}"/haveged.service "$pkgdir"/usr/lib/systemd/system/haveged.service
+ #install -D -m0644 init.d/service.fedora "$pkgdir"/usr/lib/systemd/system/haveged.service
+}
Copied: haveged/repos/testing-x86_64/haveged.service (from rev 363141, haveged/trunk/haveged.service)
===================================================================
--- testing-x86_64/haveged.service (rev 0)
+++ testing-x86_64/haveged.service 2019-09-19 19:47:17 UTC (rev 363142)
@@ -0,0 +1,20 @@
+[Unit]
+Description=Entropy Daemon based on the HAVEGE algorithm
+Documentation=man:haveged(8) http://www.issihosts.com/haveged/
+DefaultDependencies=no
+ConditionVirtualization=!container
+After=systemd-tmpfiles-setup-dev.service
+Before=sysinit.target shutdown.target systemd-journald.service
+
+[Service]
+ExecStart=/usr/sbin/haveged -w 1024 -v 1 --Foreground
+Restart=always
+SuccessExitStatus=137 143
+CapabilityBoundingSet=CAP_SYS_ADMIN
+NoNewPrivileges=on
+PrivateDevices=on
+PrivateNetwork=on
+ProtectSystem=full
+
+[Install]
+WantedBy=sysinit.target
More information about the arch-commits
mailing list