[arch-commits] Commit in haveged/repos (3 files)
Christian Hesse
eworm at archlinux.org
Thu Aug 2 13:58:24 UTC 2018
Date: Thursday, August 2, 2018 @ 13:58:24
Author: eworm
Revision: 330468
archrelease: copy trunk to testing-x86_64
Added:
haveged/repos/testing-x86_64/
haveged/repos/testing-x86_64/PKGBUILD
(from rev 330467, haveged/trunk/PKGBUILD)
haveged/repos/testing-x86_64/haveged.service
(from rev 330467, haveged/trunk/haveged.service)
-----------------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
haveged.service | 21 +++++++++++++++++++++
2 files changed, 60 insertions(+)
Copied: haveged/repos/testing-x86_64/PKGBUILD (from rev 330467, haveged/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-08-02 13:58:24 UTC (rev 330468)
@@ -0,0 +1,39 @@
+# $Id$
+# 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.2
+pkgrel=1
+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/$pkgver.tar.gz"
+ "https://github.com/jirka-h/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.asc"
+ 'haveged.service')
+sha256sums=('d5b625b9d867965da1d28335d3c214b99a0e85f994ad291909fba51589c9af54'
+ 'SKIP'
+ '7cb5d21d075650ad8f08f0ba958cc1bc39b5ff67ef484d9fce365febcaecb05c')
+
+build() {
+ cd $pkgname-$pkgver
+
+ ./configure \
+ --prefix=/usr \
+ --bindir=/usr/bin \
+ --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ make DESTDIR="$pkgdir" install
+
+ install -D -m0644 "${srcdir}"/haveged.service "$pkgdir"/usr/lib/systemd/system/haveged.service
+}
Copied: haveged/repos/testing-x86_64/haveged.service (from rev 330467, haveged/trunk/haveged.service)
===================================================================
--- testing-x86_64/haveged.service (rev 0)
+++ testing-x86_64/haveged.service 2018-08-02 13:58:24 UTC (rev 330468)
@@ -0,0 +1,21 @@
+[Unit]
+Description=Entropy Harvesting Daemon
+Documentation=man:haveged(8)
+DefaultDependencies=no
+ConditionVirtualization=!container
+After=systemd-random-seed.service
+Before=sysinit.target shutdown.target
+
+[Service]
+ExecStart=/usr/bin/haveged -F -w 1024 -v 1
+SuccessExitStatus=143
+CapabilityBoundingSet=CAP_SYS_ADMIN
+NoNewPrivileges=on
+PrivateDevices=on
+PrivateNetwork=on
+PrivateTmp=on
+ProtectSystem=full
+ProtectHome=on
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list