debian/0002775000000000000000000000000012222127527007174 5ustar debian/ekeyd.postinst0000664000000000000000000000071511755426216012112 0ustar #!/bin/sh -e invoke-rc.d --quiet udev reload || true # Those using dependency based boot sequencing with sysv-rc and installing # ekeyd-egd-linux before and including version 1.0.4-1 would have wrong # runlevel symlinks. Recover from this. if [ "$1" = "configure" ] && \ dpkg --compare-versions "$2" le "1.0.4-1" && \ [ -f /etc/rcS.d/S[0-9][0-9]ekeyd ] ; then update-rc.d -f ekeyd remove fi #DEBHELPER# chmod 0600 /etc/entropykey/keyring || true debian/changelog0000664000000000000000000002226412222127522011045 0ustar ekeyd (1.1.5-6) unstable; urgency=low * Fix incorrect variable reference in Makefile. (Closes: #718106) Thanks to Peter Michael Green. * Depend on lua-socket instead of liblua5.1-socket2, as the latter is no longer in jessie. Again, thanks to Peter Michael Green. -- Paul Martin Sun, 29 Sep 2013 23:48:12 +0100 ekeyd (1.1.5-5) unstable; urgency=low * Have init scripts not terminate if start-stop-daemon exits with an error. (Closes: #709204) -- Paul Martin Tue, 21 May 2013 16:17:40 +0100 ekeyd (1.1.5-4) unstable; urgency=low * Mea maxima culpa release. * In the transition to dh, many files were given wrong names (not renamed -- curse you dh_install) and so the postinst script errored. The package was therefore not installable. In fixing this, it was found that previous packagings were faulty too: + /usr/sbin/egd-linux and egd-linux.8 were installed in the ekeyd package. + udev rules were named 60-UDEKEY01.rules instead of 60-ekeyd.rules * Patch: + versionfix.patch: The upstream version number was still being reported as 1.1.4. -- Paul Martin Fri, 18 May 2012 13:28:08 +0100 ekeyd (1.1.5-3) unstable; urgency=low * Update to debhelper 9 and use the dh sequencer. * Patch: + harden-egd.patch: let egd-linux be linked with hardened flags. -- Paul Martin Thu, 17 May 2012 17:05:58 +0100 ekeyd (1.1.5-2) unstable; urgency=low * Brown paper bag. + debian/ekeyd.postinst didn't get updated. (Closes: #640597) + debian/ekeyd-egd-linux.default didn't get updated. (Closes: #576387) -- Paul Martin Fri, 16 Dec 2011 13:47:19 +0000 ekeyd (1.1.5-1) unstable; urgency=low * New upstream release [ Vincent Sanders ] * Fix postinstall failure when udev is not installed. (Closes: #640597) Thanks to gregor herrmann for NMU. [ Paul Martin ] * Fix escaping of slashes in key's serial number for munin scripts. (Closes: #598317) * Make the default for ekeyd-egd-linux be to retry a connection if it fails. (Closes: #576387) * Fix the ekey-rekey manpage to document that the serial number can be guessed automatically and that the master key will be prompted for if not provided on the command line. (Fixes Ubuntu bug 625446.) * Remove confusing Lua long-comments from ekeyd.conf. -- Paul Martin Wed, 14 Dec 2011 16:13:32 +0000 ekeyd (1.1.4-1.1) unstable; urgency=low * Non-maintainer upload. * Fix "installation fails": only reload udev in the postinst if it's installed (udev is only in Recommends) (Closes: #640597) -- gregor herrmann Fri, 11 Nov 2011 14:26:06 +0100 ekeyd (1.1.4-1) unstable; urgency=low * New upstream release - EGD code will now timeout and retry if the server appears to go away or go silent. (Closes: #623995) - README refers to /etc/entropykey/ekeyd.conf (Closes: #592762) - ekey-rekey can now find the ekey if it's the only one present and will prompt for a master-key if not supplied on the cmdline. (Closes: #619106, #619107) - ekey-rekey will remove spaces from the masterkey supplied on the commandline and ekey-setkey will remove them if they are entered when prompted. (Closes: #619108) * Change to linux-any now that the packaging doesn't have to support older Debian-derived distributions. (Closes: #596600, #634711) * Use log_daemon_msg when ekeyd is disabled. (Closes: #578824) * Use invoke-rc.d for udev rules reload in postinst. (Closes: #624211) * Added Paul Martin to Uploaders. -- Daniel Silverstone Thu, 21 Jun 2011 15:50:00 +0100 ekeyd (1.1.3-3.1) unstable; urgency=low * NMU, added armhf support. (Closes: #605842) -- Konstantinos Margaritis Thu, 24 Feb 2011 13:46:15 +0000 ekeyd (1.1.3-3) unstable; urgency=low * More tweaks for potential migration to testing -- Daniel Silverstone Mon, 11 Oct 2010 10:12:39 +0100 ekeyd (1.1.3-2) unstable; urgency=low * Various cleanups for potential migration to testing. -- Daniel Silverstone Mon, 20 Sep 2010 12:31:36 +0100 ekeyd (1.1.3-1) unstable; urgency=low * New upstream release - Fixes a lot of performance issues. - Improved rekeying operation to be more resilient * We expect this to (Closes: #577600) -- Daniel Silverstone Sun, 29 Aug 2010 14:08:38 +0100 ekeyd (1.1.2-1) unstable; urgency=low * New upstream release - Various improvements in internal buffer management. - Improve serial number handling in ekey-rekey. (Closes: #575570) - Support hostnames in egd-linux. - Keyring writing in ekey-setkey is now more careful with its permissions. (Closes: #575569) - Improve serial number handling in munin script. (Closes: #560167) - Improve the TotalEntropy munin graph by setting a minimum for the Y axis. This corrects issues in the graph when the daemon restarts. * Add sh4 to the list of architectures supported by egd-linux. (Closes: #568273) * Provide better status implementations for the init scripts. (Closes: #561105) * Updated ekeyd-egd-linux's defaults file to better expose the RETRYTIME value. * Include misc:Depends in the Depends lines of the packages, to clear some lintian warnings. * Update to Standards-Version 3.8.4 (no changes needed) -- Daniel Silverstone Mon, 19 Apr 2010 17:22:28 +0100 ekeyd (1.1.1-1) unstable; urgency=low * New upstream release - Fixes issue where ekeyd would sit and spin if ekeydctl shutdown was used to stop the daemon. - ekeyd-egd-linux's logging behaviour is improved and it now retries connections more effectively. - New --device option for ekey-rekey - Better state machine support for long-buffered packets which would previously have caused spurious "Long-term-key bad" reports. - Munin defaults updated and better entropy rate indicator support. * Correct FTBFS on hurd-i386 (Closes: #555497) Thanks to Pino Toscano for the patch. -- Daniel Silverstone Tue, 17 Nov 2009 12:19:10 +0000 ekeyd (1.1.0-1) unstable; urgency=low * New upstream release - Allow ekeyd-egd-linux to retry connections if configured to do so. - Solve memory leak when in EGD mode and there is no regular drain of entropy. * Update ekeyd-egd-linux.{default,init} to include support for new retry directive. * Fixed missing / in ekeyd.postinst which could cause install failure on etch. * Demoted ekeyd to a Suggests in ekeyd-egd-linux. (Closes: #555300) * Demoted udev to a Recommends in ekeyd * Move the "ekeyd is enabled" check to the 'start' method. (Closes: #555302) -- Daniel Silverstone Mon, 09 Nov 2009 10:40:47 +0000 ekeyd (1.0.7-1) unstable; urgency=high * New upstream release - Solves issue with rekeying devices with a / in the serial number. -- Daniel Silverstone Wed, 14 Oct 2009 14:48:58 +0100 ekeyd (1.0.6-1) unstable; urgency=low * New upstream release - Solves ulusbd issue related to keys vanishing sometimes. - Solves ekeyd issue related to keys "going bad" under high load. * Install ekeyd changelog into /usr/share/doc -- Daniel Silverstone Fri, 25 Sep 2009 11:18:28 +0100 ekeyd (1.0.5-2) unstable; urgency=low * Extra logging in read path of ulusbd -- Daniel Silverstone Thu, 24 Sep 2009 12:03:14 +0100 ekeyd (1.0.5-1) unstable; urgency=low * New upstream release - Corrects minor bug in daemonise routines. - Adds syslog() support to the ulusbd * Update init info in the init scripts with information provided by pere. This does not take all of pere's patch, rather only the parts which seemed critical to the correct functioning of the information block. (Closes: #546462) * Install ekeyd-egd-linux manpage. -- Daniel Silverstone Tue, 15 Sep 2009 16:10:49 +0100 ekeyd (1.0.4-1) unstable; urgency=low * New upstream release - Ought to now build on GNU/kFreeBSD - Will no longer exit when you strace it when it's in poll() - If EGD clients are waiting for entropy to be gathered then the daemon will no longer sit and spin. * Make ekeyd-egd-linux package architecture !kFreeBSD - These two combine to fix a bug. (Closes: #544860) * Include copyright statement and licence for Skein codebase. * Install the munin plugin and suggest munin-node -- Daniel Silverstone Wed, 09 Sep 2009 12:06:41 +0100 ekeyd (1.0.3-1) unstable; urgency=low * New upstream release -- Daniel Silverstone Sun, 30 Aug 2009 14:54:34 +0100 ekeyd (1.0.2-1) unstable; urgency=low * New upstream release - Fix case where there are multiple entropy keys attached. - Add authors file * Install new authors file in /usr/share/doc -- Daniel Silverstone Sat, 29 Aug 2009 11:26:27 +0100 ekeyd (1.0.1-1) unstable; urgency=low * Initial upstream (and package) release -- Daniel Silverstone Thu, 27 Aug 2009 22:42:06 +0100 debian/ekeyd-egd-linux.init0000664000000000000000000000326412146707721013064 0ustar #!/bin/sh -e ### BEGIN INIT INFO # Provides: ekeyd-egd-linux # Required-Start: $remote_fs $network # Required-Stop: $remote_fs $network # Should-Start: ekeyd # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Entropy Key Manager, EGD->Linux pool stirrer ### END INIT INFO PATH="/sbin:/bin:/usr/sbin:/usr/bin" DAEMON=/usr/sbin/ekeyd-egd-linux [ -x "$DAEMON" ] || exit 0 . /lib/lsb/init-functions START_EKEYD_EGD_LINUX=NO test -f /etc/default/ekeyd-egd-linux && . /etc/default/ekeyd-egd-linux if [ "x$START_EKEYD_EGD_LINUX" != "xYES" ]; then log_daemon_msg "Simtec Entropy Key EGD->Linux Daemon is disabled" log_end_msg 0 exit 0 fi test "x$HOST" = "x" || HOST="-H$HOST" test "x$PORT" = "x" || PORT="-p$PORT" test "x$BLOCKS" = "x" || BLOCKS="-b$BLOCKS" test "x$SHANNONS" = "x" || SHANNONS="-S$SHANNONS" test "x$RETRYTIME" = "x" || RETRYTIME="-r$RETRYTIME" test "x$WATERMARK" = "x" && WATERMARK=1024 case "$1" in start) log_daemon_msg "Starting Simtec Entropy Key Daemon - EGD->Linux bridge" "ekeyd-egd-linux" start-stop-daemon --start --exec $DAEMON -- $HOST $PORT $BLOCKS $SHANNONS $RETRYTIME -D/var/run/ekeyd-egd-linux.pid || true sysctl kernel.random.write_wakeup_threshold=$WATERMARK >/dev/null 2>&1 log_end_msg 0 ;; restart|force-reload) $0 stop $0 start ;; stop) log_daemon_msg "Stopping Simtec Entropy Key Daemon - EGD->Linux bridge" "ekeyd-egd-linux" start-stop-daemon --stop --pidfile /var/run/ekeyd-egd-linux.pid --exec $DAEMON --oknodo --quiet || true log_end_msg 0 ;; status) status_of_proc $DAEMON ekeyd-egd-linux ;; *) echo "Usage: /etc/init.d/ekeyd-egd-linux {start|stop}" exit 2 ;; esac exit 0 debian/compat0000664000000000000000000000000211755213011010362 0ustar 9 debian/ekeyd-egd-linux.default0000664000000000000000000000125611672645625013553 0ustar # Change to YES to allow ekeyd-egd-linux to start. Ensure the below are # correctly configured first though. START_EKEYD_EGD_LINUX=NO # Change this if you want it to be something other than the default # HOST=127.0.0.1 # PORT=8888 # Number of bits minimum in the pool, below which the daemon will kick in # and transfer data from the EGD to the pool (providing it's available) # WATERMARK=1024 # Number of 1024 bit (128 byte) blocks to transfer to the kernel each # time it dips below the low water mark. # BLOCKS=3 # How many shannons-per-byte to claim for data pushed to the pool # SHANNONS=7 # How many seconds between connection retries. Zero means do-not-retry. RETRYTIME=128 debian/ekeyd.postrm0000664000000000000000000000042211672145414011542 0ustar #!/bin/sh -e if test -x /sbin/udevcontrol; then udevcontrol --reload_rules 2>/dev/null || udevcontrol reload_rules 2>/dev/null elif test -x /sbin/udevadm; then udevadm control --reload-rules 2>/dev/null || udevadm control --reload_rules 2>/dev/null fi #DEBHELPER# debian/ekeyd.dirs0000664000000000000000000000021411755426050011156 0ustar /etc/default /etc/entropykey /etc/init.d /etc/munin/plugin-conf.d /lib/udev /lib/udev/rules.d /usr/share/doc/ekeyd /usr/share/munin/plugins debian/watch0000664000000000000000000000010511672145414010222 0ustar version=3 # Nothing to do here since the packagers are the upstream. debian/ekeyd-egd-linux.dirs0000664000000000000000000000011211672145414013045 0ustar /usr/sbin /usr/share/doc/ekeyd-egd-linux /etc/default /usr/share/man/man8 debian/ekeyd-egd-linux.postinst0000664000000000000000000000060711672145414014000 0ustar #!/bin/sh -e # Those using dependency based boot sequencing with sysv-rc and installing # ekeyd-egd-linux before and including version 1.0.4-1 would have wrong # runlevel symlinks. Recover from this. if [ "$1" = "configure" ] && dpkg --compare-versions "$2" le "1.0.4-1" \ && [ -f /etc/rcS.d/S[0-9][0-9]ekeyd-egd-linux ] ; then update-rc.d -f ekeyd-egd-linux remove fi #DEBHELPER# debian/copyright0000664000000000000000000000316211672145414011132 0ustar This package was originally debianized by Daniel Silverstone on Sun Jul 19 19:55:01 CEST 2009 and has since had significant work done on it by Daniel Silverstone and Vincent Sanders It was downloaded from http://www.simtec.co.uk/products/UDEKEY01/files/ Upstream Author: Simtec Electronics Copyright: This software is Copyright 2009-2011 Simtec Electronics. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Portions of the codebase (Skein specifically) are under the following: ** Source code author: Doug Whiting, 2008. ** ** This algorithm and source code is released to the public domain. debian/ekeyd.init0000664000000000000000000000235012146707672011172 0ustar #!/bin/sh -e ### BEGIN INIT INFO # Provides: ekeyd # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Should-Start: udev # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Entropy Key Manager ### END INIT INFO PATH="/sbin:/bin:/usr/sbin:/usr/bin" DAEMON=/usr/sbin/ekeyd [ -x "$DAEMON" ] || exit 0 . /lib/lsb/init-functions START_EKEYD=NO test -f /etc/default/ekeyd && . /etc/default/ekeyd if [ ! -s /etc/entropykey/ekeyd.conf ]; then log_failure_msg "Could not find /etc/entropykey/entropykey.conf (aborting)" exit 1 fi case "$1" in start) if [ "x$START_EKEYD" != "xYES" ]; then log_daemon_msg "Simtec Entropy Key Daemon is disabled" log_end_msg 0 exit 0 fi log_daemon_msg "Starting Simtec Entropy Key Daemon" "ekeyd" start-stop-daemon --start --exec $DAEMON || true log_end_msg 0 ;; restart|force-reload) $0 stop $0 start ;; stop) log_daemon_msg "Stopping Simtec Entropy Key Daemon" "ekeyd" start-stop-daemon --stop --pidfile /var/run/ekeyd.pid --exec $DAEMON --oknodo --quiet || true log_end_msg 0 ;; status) status_of_proc $DAEMON ekeyd ;; *) echo "Usage: /etc/init.d/ekeyd {start|stop}" exit 2 ;; esac exit 0 debian/control0000664000000000000000000000247412222126625010602 0ustar Source: ekeyd Section: utils Priority: optional Maintainer: Simtec Electronics Uploaders: Daniel Silverstone , Vincent Sanders , Daniel Silverstone , Vincent Sanders , Paul Martin Build-Depends: debhelper (>= 9), lua5.1, liblua5.1-dev | liblua5.1-0-dev Standards-Version: 3.9.3 Package: ekeyd Architecture: any Depends: ${shlibs:Depends}, lua5.1, lua-socket, ${misc:Depends} Recommends: udev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386] Suggests: munin-node Description: Simtec Electronics UDEKEY01 Entropy Key Daemon This is a driver for the Simtec Electronics Entropy Key. It is only needed if you have such a device (or devices). It provides a daemon and tools to drive and control it, as well as options for injecting entropy directly into the kernel's pool, or serving it via the EGD protocol. Package: ekeyd-egd-linux Architecture: linux-any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: ekeyd Description: Transfers entropy from an EGD to the Linux kernel pool This utility reads from an EGD capable service over TCP and writes the entropy retrieved to the Linux kernel random pool. Typically this will be used on clusters or virtual hosts where direct access to useful entropy is hard. debian/source/0002775000000000000000000000000011672145414010477 5ustar debian/source/format0000664000000000000000000000001411755216165011707 0ustar 3.0 (quilt) debian/ekeyd.install0000664000000000000000000000032611755433313011667 0ustar host/ekeyd usr/sbin/ host/ekey-setkey usr/sbin/ host/ekey-rekey usr/sbin/ host/ekeydctl usr/sbin/ host/ekeyd.conf etc/entropykey/ munin/ekeyd_stat_ usr/share/munin/plugins/ udev/entropykey.sh lib/udev/ debian/ekeyd.docs0000664000000000000000000000012311755211320011134 0ustar AUTHORS doc/README doc/README.security doc/README.protocol doc/README.egd-protocol debian/ekeyd-egd-linux.docs0000664000000000000000000000005511755211354013041 0ustar doc/README.egd-linux doc/README.egd-protocol debian/rules.old0000775000000000000000000000376011672145414011040 0ustar #!/usr/bin/make -f DEB_HOST_ARCH_OS=$(shell dpkg-architecture -qDEB_HOST_ARCH_OS) ifneq ($(DEB_HOST_ARCH_OS),linux) SKIP_EGD_LINUX=YES endif build-stamp: $(MAKE) -C host BUILD_ULUSBD=no touch $@ clean: dh_testdir dh_testroot rm -f build-stamp $(MAKE) -C host clean dh_clean install: build-stamp dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) -C host install DESTDIR=$$(pwd)/debian/ekeyd BUILD_ULUSBD=no for RME in AUTHORS doc/README doc/README.security doc/README.protocol doc/README.egd-protocol; do \ install -m 644 $$RME debian/ekeyd/usr/share/doc/ekeyd/ ; \ done install -m 644 udev/debian/60-UDEKEY01.rules debian/ekeyd/lib/udev/rules.d/ ifneq ($(SKIP_EGD_LINUX),YES) for RME in doc/README.egd-linux doc/README.egd-protocol; do \ install -m 644 $$RME debian/ekeyd-egd-linux/usr/share/doc/ekeyd-egd-linux/ ; \ done install -m 755 host/egd-linux debian/ekeyd-egd-linux/usr/sbin/ekeyd-egd-linux install -m 644 debian/ekeyd-egd-linux.default debian/ekeyd-egd-linux/etc/default/ekeyd-egd-linux install -m 644 host/egd-linux.8 debian/ekeyd-egd-linux/usr/share/man/man8/ekeyd-egd-linux.8 endif install -m 755 udev/entropykey.sh debian/ekeyd/lib/udev/entropykey.sh install -m 644 debian/ekeyd.default debian/ekeyd/etc/default/ekeyd chmod 0600 debian/ekeyd/etc/entropykey/keyring for F in debian/*/usr/share/man/*/*.gz; do gunzip $$F;done install -m 755 munin/ekeyd_stat_ debian/ekeyd/usr/share/munin/plugins/ekeyd_stat_ install -m 644 munin/plugin-conf.d_ekeyd debian/ekeyd/etc/munin/plugin-conf.d/ekeyd build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp binary-indep: binary-arch: build install dh_testdir -a dh_testroot -a dh_installdocs -a dh_installchangelogs -a ChangeLog dh_installmenu -a dh_installman -a dh_installinit -a dh_link -a dh_strip -a dh_compress -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary: binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/rules0000755000000000000000000000156011755436633010265 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_clean: dh_auto_clean $(MAKE) -C host clean override_dh_auto_build: $(MAKE) -C host BUILD_ULUSBD=no override_dh_auto_install: install -m 644 munin/plugin-conf.d_ekeyd debian/ekeyd/etc/munin/plugin-conf.d/ekeyd install -m 644 debian/ekeyd.default debian/ekeyd/etc/default/ekeyd install -m 600 debian/ekeyd.keyring debian/ekeyd/etc/entropykey/keyring if [ -d debian/ekeyd-egd-linux ] ; then \ install -m 755 host/egd-linux debian/ekeyd-egd-linux/usr/sbin/ekeyd-egd-linux; \ install -m 644 debian/ekeyd-egd-linux.default debian/ekeyd-egd-linux/etc/default/ekeyd-egd-linux ; \ install -m 644 host/egd-linux.8 debian/ekeyd-egd-linux/usr/share/man/man8/ekeyd-egd-linux.8 ; \ fi override_dh_fixperms: dh_fixperms chmod 0755 debian/ekeyd/usr/share/munin/plugins/ekeyd_stat_ chmod 0755 debian/ekeyd/lib/udev/entropykey.sh debian/ekeyd.keyring0000664000000000000000000000005411755217767011704 0ustar # Keyring Data file. Managed by ekey-setkey debian/ekeyd.manpages0000664000000000000000000000012411755216103012004 0ustar host/ekeyd.8 host/ekeyd.conf.5 host/ekeydctl.8 host/ekey-rekey.8 host/ekey-setkey.8 debian/patches/0002775000000000000000000000000012222126761010622 5ustar debian/patches/series0000664000000000000000000000007412222126702012031 0ustar harden-egd.patch versionfix.patch 718106-makefile-fix.patch debian/patches/harden-egd.patch0000664000000000000000000000126011755216655013652 0ustar Index: ekeyd-1.1.5/host/Makefile =================================================================== --- ekeyd-1.1.5.orig/host/Makefile 2012-05-17 16:45:54.298166226 +0100 +++ ekeyd-1.1.5/host/Makefile 2012-05-17 16:47:52.064350969 +0100 @@ -148,7 +148,7 @@ $(COMPILE.c) $(OUTPUT_OPTION) $(PTHFLAGS) $^ egd-linux: egd-linux.o daemonise.o - $(CC) $(CFLAGS) -o $@ $^ + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ ekeyd: ekeyd.o daemonise.o lstate.o connection.o stream.o frame.o packet.o keydb.o util.o fds.o krnlop.o foldback.o stats.o nonce.o ../device/frames/pem.o ../device/skeinwrap.o ../device/skein/skein.o ../device/skein/skein_block.o $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) debian/patches/versionfix.patch0000664000000000000000000000074611755434546014061 0ustar Index: ekeyd-1.1.5/host/Makefile =================================================================== --- ekeyd-1.1.5.orig/host/Makefile 2012-05-17 16:52:24.905412578 +0100 +++ ekeyd-1.1.5/host/Makefile 2012-05-18 12:58:21.986852730 +0100 @@ -31,7 +31,7 @@ MANZEXT := .gz # Current tool version as returned from tools -EKEYD_VERSION_S="1.1.4" +EKEYD_VERSION_S="1.1.5" # Attempt to detect an OS and set build options as appropriate OSNAME=$(shell uname -s | tr A-Z a-z | tr -d /) debian/patches/718106-makefile-fix.patch0000664000000000000000000000221112222126761014742 0ustar Index: ekeyd-1.1.5/Makefile =================================================================== --- ekeyd-1.1.5.orig/Makefile 2011-05-23 15:32:13.000000000 +0100 +++ ekeyd-1.1.5/Makefile 2013-09-29 23:47:10.010022876 +0100 @@ -29,10 +29,10 @@ all: host host: - ${MAKE} -C host BUILD_ULUSB=${BUILD_ULUSBD} BUILD_EGDLINUX=${BUILD_EGDLINUX} DESTDIR=$(DESTDIR} + ${MAKE} -C host BUILD_ULUSB=${BUILD_ULUSBD} BUILD_EGDLINUX=${BUILD_EGDLINUX} DESTDIR=${DESTDIR} clean: - ${MAKE} -C host BUILD_ULUSB=${BUILD_ULUSBD} BUILD_EGDLINUX=${BUILD_EGDLINUX} DESTDIR=$(DESTDIR} clean + ${MAKE} -C host BUILD_ULUSB=${BUILD_ULUSBD} BUILD_EGDLINUX=${BUILD_EGDLINUX} DESTDIR=${DESTDIR} clean install: ${MAKE} -C host BUILD_ULUSB=$(BUILD_ULUSBD) BUILD_EGDLINUX=$(BUILD_EGDLINUX) DESTDIR=$(DESTDIR) install @@ -40,4 +40,4 @@ install -D -m 644 doc/$$DOC $(DESTDIR)/$(DOCPREFIX)/$$DOC ; \ done install -D -m 755 munin/ekeyd_stat_ $(DESTDIR)/$(MUNINPLUGINS)/ekeyd_stat_ - install -D -m 644 munin/plugin-conf.d_ekeyd $(DESTDIR)/${MUNINPLUGINSCONF}/ekeyd \ No newline at end of file + install -D -m 644 munin/plugin-conf.d_ekeyd $(DESTDIR)/${MUNINPLUGINSCONF}/ekeyd debian/ekeyd.udev0000777000000000000000000000000011755431541016205 2../udev/debian/60-UDEKEY01.rulesustar debian/ekeyd.default0000664000000000000000000000010111672145414011634 0ustar # Change to NO to prevent ekeyd starting on boot START_EKEYD=YES