diff options
Diffstat (limited to 'app-crypt/ekeyd')
-rw-r--r-- | app-crypt/ekeyd/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/ekeyd/ekeyd-1.1.5-r1.ebuild | 163 |
2 files changed, 0 insertions, 164 deletions
diff --git a/app-crypt/ekeyd/Manifest b/app-crypt/ekeyd/Manifest index 255e8a7c0023..9bbccb410c61 100644 --- a/app-crypt/ekeyd/Manifest +++ b/app-crypt/ekeyd/Manifest @@ -11,6 +11,5 @@ AUX ekeyd-1.1.5-udev-rule.patch 2325 BLAKE2B 5617dd160c6f3617bb93dc97755f22c535e AUX ekeyd.init.2 699 BLAKE2B 4ce17a42ffc60b49232cc0bb5a19d36fecc55071df699a7ad7da6a49de352a599b8f0f11fc05fa4159d8975245e7b6181e96303182870519a7f57070a6b54da4 SHA512 3c1fe923e6f08d83d02b9559fa5b817e9abdbc97a50815ab01c7c17e3e953f54701eb1110340dc164bb67ef67905041054cd4fc98c11ea5932a539f4330c8b71 AUX ekeyd.service 157 BLAKE2B d7976301d7eb0d9be05de574f3b25c13ed3767629dff7024e7621a2d29686045cfd7664e2127a87b92d32e719b470a2795159e45c310bfdcfffa75897341213f SHA512 1082a1dc58b820882015c4f09d5154691d9d8810bfe953049a6853ea5025ec7cff2377ee931ec8ceef295241083c162e582a75fd0b134f7e8789f6d470285445 DIST ekeyd_1.1.5.orig.tar.gz 101366 BLAKE2B 7edd6d291f7553864c9aa96ee3d9533e33b6c94989b2c6b1a56eda42f61afe1633af5e7c3c8f5f57920ac0577f8567d1b09238eae35138ab2023600f01096466 SHA512 c30620d5e54a49929be72ed04448a4f08eb9658dbf7534586c49a3b43bdd5fc95a0659e09cc04b012c339ca20a1e914fa5a4b4d970171c46b64235f284516b9a -EBUILD ekeyd-1.1.5-r1.ebuild 4778 BLAKE2B 650a54d579ff416ed6895bc5a64c609df3ff3e0a0d4ec4ed7931a21c36480bf11e1a7c8b3e0ba74b84cf65367c5a1bb49da64811a9a310bb68972c342ced3826 SHA512 23deb8bc56f3d582c81cd67588fa3bdf9cbddf44a024e8d826836b332c2c70d6302d9100fe5d01b3a8629ad114c1b68c055bd66e6965132ead0072b473b00614 EBUILD ekeyd-1.1.5-r100.ebuild 4898 BLAKE2B cfef82e459b492409b1e4622d17f10806c924017922437d3229db2c583aa1f1f03330418a24cd13d127c7be41df113aebef99a69df75cb905072b9ab6c8281bd SHA512 c4d880416c9fbbcac5f45d3f2a039b256ec900873079ba9a0f3e570b4c15b9e08fc19872ec297f6a6b5fd1b19f362820fbea92543208ebd3e1fe17ba1fad427a MISC metadata.xml 775 BLAKE2B f20c01d6a705492bfeeb4788f3f2950ac5f3a012abaaacb4e526ff7b5685475515c229f8c14ca7961ad946497a3636d02e6a9e4ee4e6bedf5cbeee39af6c4a27 SHA512 7a202bbf5b18e938f16ecb0773fdb80ec72d00d3d88f396632e552cfa3c7e7c4104362e34aec356833800833b7b531d9694906dd1174ee76f06ad8ef09758b03 diff --git a/app-crypt/ekeyd/ekeyd-1.1.5-r1.ebuild b/app-crypt/ekeyd/ekeyd-1.1.5-r1.ebuild deleted file mode 100644 index afdd149626dd..000000000000 --- a/app-crypt/ekeyd/ekeyd-1.1.5-r1.ebuild +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-info 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="minimal? ( !munin )" - -EKEYD_RDEPEND="dev-lang/lua:0" -EKEYD_DEPEND="${EKEYD_RDEPEND}" -EKEYD_RDEPEND="${EKEYD_RDEPEND} - dev-lua/luasocket - 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 -} - -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 -) - -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 - - # We don't slot LUA so we don't really need to have the variables - # set at all. - emake -C host \ - CC="$(tc-getCC)" \ - LUA_V= LUA_INC= \ - 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" -} |