[arch-commits] Commit in haveged/repos/testing-x86_64 (4 files)

Christian Hesse eworm at archlinux.org
Tue Aug 14 11:39:34 UTC 2018


    Date: Tuesday, August 14, 2018 @ 11:39:33
  Author: eworm
Revision: 331490

archrelease: copy trunk to testing-x86_64

Added:
  haveged/repos/testing-x86_64/PKGBUILD
    (from rev 331489, haveged/trunk/PKGBUILD)
  haveged/repos/testing-x86_64/haveged.service
    (from rev 331489, haveged/trunk/haveged.service)
Deleted:
  haveged/repos/testing-x86_64/PKGBUILD
  haveged/repos/testing-x86_64/haveged.service

-----------------+
 PKGBUILD        |   78 +++++++++++++++++++++++++++---------------------------
 haveged.service |   44 +++++++++++++++---------------
 2 files changed, 62 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-14 11:39:29 UTC (rev 331489)
+++ PKGBUILD	2018-08-14 11:39:33 UTC (rev 331490)
@@ -1,39 +0,0 @@
-# $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.4
-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=('c4959d3cb1fa6391d16a3aa1ba4d82cd3a0d497206ae4b87d638088c0664e5aa'
-            '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/PKGBUILD (from rev 331489, haveged/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-14 11:39:33 UTC (rev 331490)
@@ -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.4
+pkgrel=2
+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=('c4959d3cb1fa6391d16a3aa1ba4d82cd3a0d497206ae4b87d638088c0664e5aa'
+            'SKIP'
+            '5b9b5d90c70a60291f71f18e337c6822e8850945bddeef4d061acb0305bccf25')
+
+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
+}

Deleted: haveged.service
===================================================================
--- haveged.service	2018-08-14 11:39:29 UTC (rev 331489)
+++ haveged.service	2018-08-14 11:39:33 UTC (rev 331490)
@@ -1,21 +0,0 @@
-[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

Copied: haveged/repos/testing-x86_64/haveged.service (from rev 331489, haveged/trunk/haveged.service)
===================================================================
--- haveged.service	                        (rev 0)
+++ haveged.service	2018-08-14 11:39:33 UTC (rev 331490)
@@ -0,0 +1,23 @@
+[Unit]
+Description=Entropy Harvesting Daemon
+Documentation=man:haveged(8)
+DefaultDependencies=no
+ConditionVirtualization=!container
+After=systemd-random-seed.service
+Before=sysinit.target shutdown.target
+
+[Service]
+ExecStartPre=+/usr/bin/sysctl -w kernel.random.write_wakeup_threshold=1024
+ExecStart=/usr/bin/haveged --Foreground --verbose=1
+SuccessExitStatus=143
+DynamicUser=on
+AmbientCapabilities=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