From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CE4A913835A for ; Wed, 17 Feb 2021 19:45:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 272AAE08BF; Wed, 17 Feb 2021 19:45:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D9E9BE08BF for ; Wed, 17 Feb 2021 19:45:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 83DC8340DF4 for ; Wed, 17 Feb 2021 19:45:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 23B0B4DB for ; Wed, 17 Feb 2021 19:45:18 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1613591099.1e0b76540d09e1225b56a8ac0582cf1758d5ebd2.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/ekeyd/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/ekeyd/ekeyd-1.1.5-r100.ebuild X-VCS-Directories: app-crypt/ekeyd/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 1e0b76540d09e1225b56a8ac0582cf1758d5ebd2 X-VCS-Branch: master Date: Wed, 17 Feb 2021 19:45:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b6e5f628-5a5f-4b88-94ec-5ec038645e8b X-Archives-Hash: fc8f62a8391fa83a39b14a7ed5c5c990 commit: 1e0b76540d09e1225b56a8ac0582cf1758d5ebd2 Author: Conrad Kostecki gentoo org> AuthorDate: Wed Feb 17 19:44:59 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Wed Feb 17 19:44:59 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e0b7654 app-crypt/ekeyd: drop old version Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Conrad Kostecki gentoo.org> app-crypt/ekeyd/ekeyd-1.1.5-r100.ebuild | 170 -------------------------------- 1 file changed, 170 deletions(-) diff --git a/app-crypt/ekeyd/ekeyd-1.1.5-r100.ebuild b/app-crypt/ekeyd/ekeyd-1.1.5-r100.ebuild deleted file mode 100644 index c3a1d948e95..00000000000 --- a/app-crypt/ekeyd/ekeyd-1.1.5-r100.ebuild +++ /dev/null @@ -1,170 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( lua5-1 ) - -inherit linux-info lua-single systemd toolchain-funcs udev - -DESCRIPTION="Entropy Key userspace daemon" -HOMEPAGE="http://www.entropykey.co.uk/" -SRC_URI="mirror://ubuntu/pool/universe/e/ekeyd/ekeyd_${PV}.orig.tar.gz" - -LICENSE="MIT GPL-2" # GPL-2 (only) for init script -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="kernel_linux munin minimal usb" - -REQUIRED_USE="${LUA_REQUIRED_USE} - minimal? ( !munin )" - -EKEYD_RDEPEND="${LUA_DEPS}" -EKEYD_DEPEND="${EKEYD_RDEPEND}" -EKEYD_RDEPEND="${EKEYD_RDEPEND} - $(lua_gen_cond_dep ' - dev-lua/luasocket[${LUA_USEDEP}] - ') - kernel_linux? ( virtual/udev ) - munin? ( net-analyzer/munin )" - -RDEPEND="!minimal? ( ${EKEYD_RDEPEND} ) - virtual/service-manager" -DEPEND="!minimal? ( ${EKEYD_DEPEND} )" - -CONFIG_CHECK="~USB_ACM" - -pkg_setup() { - if ! use minimal && use kernel_linux && ! use usb && linux_config_exists; then - check_extra_config - fi - lua-single_pkg_setup -} - -PATCHES=( - "${FILESDIR}"/${P}-const_char_usage.patch - "${FILESDIR}"/${P}-enoent.patch - "${FILESDIR}"/${P}-path-fixes.patch - "${FILESDIR}"/${P}-udev-rule.patch - "${FILESDIR}"/${P}-remove-werror.patch - "${FILESDIR}"/${P}-misc.patch - "${FILESDIR}"/${P}-makefile-lua-libs.patch -) - -src_compile() { - local osname - - # Override automatic detection: upstream provides this with uname, - # we don't like using uname. - case ${CHOST} in - *-linux-*) - osname=linux;; - *-freebsd*) - osname=freebsd;; - *-kfrebsd-gnu) - osname=gnukfreebsd;; - *-openbsd*) - osname=openbsd;; - *) - die "Unsupported operating system!" - ;; - esac - - emake -C host \ - CC="$(tc-getCC)" \ - LUA_V=${ELUA#lua} \ - LUA_INC="-I$(lua_get_include_dir)" \ - OSNAME=${osname} \ - OPT="${CFLAGS}" \ - BUILD_ULUSBD=no \ - $(use minimal && echo egd-linux) -} - -src_install() { - exeinto /usr/libexec - newexe host/egd-linux ekey-egd-linux - newman host/egd-linux.8 ekey-egd-linux.8 - - newconfd "${FILESDIR}"/ekey-egd-linux.conf.2 ekey-egd-linux - newinitd "${FILESDIR}"/ekey-egd-linux.init.2 ekey-egd-linux - - dodoc doc/* AUTHORS ChangeLog THANKS - - use minimal && return - # from here on, install everything that is not part of the minimal - # support. - - emake -C host \ - DESTDIR="${D}" \ - MANZCMD=cat MANZEXT= \ - install-ekeyd - - # We move the daemons around to avoid polluting the available - # commands. - dodir /usr/libexec - mv "${D}"/usr/sbin/ekey*d "${D}"/usr/libexec - - systemd_dounit "${FILESDIR}/ekeyd.service" - - newinitd "${FILESDIR}"/${PN}.init.2 ${PN} - - if use kernel_linux; then - local rules="${FILESDIR}/90-ekeyd.rules" - udev_newrules ${rules} 90-${PN}.rules - fi - - if use munin; then - exeinto /usr/libexec/munin/plugins - doexe munin/ekeyd_stat_ - - insinto /etc/munin/plugin-conf.d - newins munin/plugin-conf.d_ekeyd ekeyd - fi -} - -pkg_postinst() { - elog "${CATEGORY}/${PN} now install also the EGD client service ekey-egd-linux." - elog "To use this service, you need enable EGDTCPSocket for the ekeyd service" - elog "managing the key(s)." - elog "" - elog "The daemon will send more entropy to the kernel once the available pool" - elog "falls below the value set in the kernel.random.write_wakeup_threshold" - elog "sysctl entry." - elog "" - ewarn "Since version 1.1.4-r1, ekey-egd-linux will *not* set the watermark for" - ewarn "you, instead you'll have to configure the sysctl in /etc/sysctl.conf" - - use minimal && return - # from here on, document everything that is not part of the minimal - # support. - - elog "" - elog "To make use of your EntropyKey, make sure to execute ekey-rekey" - elog "the first time, and then start the ekeyd service." - elog "" - elog "By default ekeyd will feed the entropy directly to the kernel's pool;" - elog "if your system has jumps in load average, you might prefer using the" - elog "EGD compatibility mode, by enabling EGDTCPSocket for ekeyd and then" - elog "starting the ekey-egd-linux service." - elog "" - elog "The same applies if you intend to provide entropy for multiple hosts" - elog "over the network. If you want to have the ekey-egd-linux service on" - elog "other hosts, you can enable the 'minimal' USE flag." - elog "" - elog "The service supports multiplexing if you wish to use multiple" - elog "keys, just symlink /etc/init.d/ekeyd -> /etc/init.d/ekeyd.identifier" - elog "and it'll be looking for /etc/entropykey/identifier.conf" - elog "" - - if use kernel_linux; then - elog "Some versions of Linux have a faulty CDC ACM driver that stops" - elog "EntropyKey from working properly; please check the compatibility" - elog "table at http://www.entropykey.co.uk/download/" - else - elog "Make sure your operating system supports the CDC ACM driver" - elog "or otherwise you won't be able to use the EntropyKey." - fi - elog "" - elog "If you're unsure about the working state of the CDC ACM driver" - elog "enable the usb USE flag and use the userland USB daemon" -}