Date: Wednesday, September 4, 2019 @ 14:07:16 Author: eworm Revision: 361612
archrelease: copy trunk to testing-x86_64 Added: haveged/repos/testing-x86_64/PKGBUILD (from rev 361611, haveged/trunk/PKGBUILD) haveged/repos/testing-x86_64/haveged.service (from rev 361611, haveged/trunk/haveged.service) Deleted: haveged/repos/testing-x86_64/PKGBUILD haveged/repos/testing-x86_64/haveged.service -----------------+ PKGBUILD | 94 +++++++++++++++++++++++++++--------------------------- haveged.service | 42 ++++++++++-------------- 2 files changed, 66 insertions(+), 70 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-09-04 14:07:10 UTC (rev 361611) +++ PKGBUILD 2019-09-04 14:07:16 UTC (rev 361612) @@ -1,47 +0,0 @@ -# Maintainer: Christian Hesse <m...@eworm.de> -# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> -# Contributor: kfgz <kfgz at interia dot pl> -# Contributor: pootzko <pootzko at gmail dot com> - -pkgname=haveged -pkgver=1.9.6 -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.j...@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' - '13e12065c5c4574465915db4b71659dc95fc3e41f96794fff165bfda50ac3f69') - -# 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/PKGBUILD (from rev 361611, haveged/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-09-04 14:07:16 UTC (rev 361612) @@ -0,0 +1,47 @@ +# Maintainer: Christian Hesse <m...@eworm.de> +# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: kfgz <kfgz at interia dot pl> +# Contributor: pootzko <pootzko at gmail dot com> + +pkgname=haveged +pkgver=1.9.6 +pkgrel=3 +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.j...@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' + '08482c5cb6aee86e893a8b297be9b09466d506c841787e4f916f285527336a85') + +# 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 +} Deleted: haveged.service =================================================================== --- haveged.service 2019-09-04 14:07:10 UTC (rev 361611) +++ haveged.service 2019-09-04 14:07:16 UTC (rev 361612) @@ -1,23 +0,0 @@ -[Unit] -Description=Entropy Daemon based on the HAVEGE algorithm -Documentation=man:haveged(8) http://www.issihosts.com/haveged/ -DefaultDependencies=no -ConditionVirtualization=!container -Before=sysinit.target shutdown.target systemd-journald.service - -[Service] -ExecStartPre=+/usr/bin/sysctl -w kernel.random.write_wakeup_threshold=1024 -ExecStart=/usr/bin/haveged --Foreground --verbose=1 -Restart=always -SuccessExitStatus=137 143 -DynamicUser=on -AmbientCapabilities=CAP_SYS_ADMIN -NoNewPrivileges=on -PrivateDevices=on -PrivateNetwork=on -PrivateTmp=on -ProtectSystem=full -ProtectHome=on - -[Install] -WantedBy=sysinit.target Copied: haveged/repos/testing-x86_64/haveged.service (from rev 361611, haveged/trunk/haveged.service) =================================================================== --- haveged.service (rev 0) +++ haveged.service 2019-09-04 14:07:16 UTC (rev 361612) @@ -0,0 +1,19 @@ +[Unit] +Description=Entropy Daemon based on the HAVEGE algorithm +Documentation=man:haveged(8) http://www.issihosts.com/haveged/ +DefaultDependencies=no +ConditionVirtualization=!container +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