app-crypt/ekeyd: fix to work with systemd
authorkristianf <devnull@localhost>
Sun, 1 Dec 2013 19:54:44 +0000 (20:54 +0100)
committerkristianf <devnull@localhost>
Sun, 1 Dec 2013 19:54:44 +0000 (20:54 +0100)
app-crypt/ekeyd/Manifest
app-crypt/ekeyd/ekeyd-1.1.5.ebuild
app-crypt/ekeyd/files/ekeyd.service [new file with mode: 0644]

index 381bae5..db25125 100644 (file)
@@ -10,5 +10,6 @@ AUX ekeyd-4.patch 2325 SHA256 cc233ecb5ad894e5a8585028b4ed5679f1d99997393fd4acc1
 AUX ekeyd-5.patch 1205 SHA256 98cdb0271ed3f97f00120ff26e480ec0515662062f3059467ddf41b50bc57212 SHA512 2ea01bbe642bd52351e8ab9b7b62147c5bec7918305dc2c5be9291e3ae98fdd90f0e6e36c450e4db6220076a45a22cf870c81b3e23beed9170f262c857acecfd WHIRLPOOL 1a242838e5ddf710841313542d30e4111320d406139747d73d0ba770155fb87a6c151b01b87b7f8d9f4cb75a4cfa2d2e2386ac314a039c8852188712b16c0c63
 AUX ekeyd-6.patch 1245 SHA256 9643e1e185447afaa713375dd4e5ff768223580c9fa917e61eb87ce5e00e560d SHA512 5a1a523fab7146e97f8396ef82d6755e1b209df728ee83dae87619a0a6d84b0b44e41b9e67f287b7f3d54a2ef80a19320650662cca0f1dfe0053eba75d113f04 WHIRLPOOL 6d5ac6e136814ec155c5a557bae12ff9b3c980049ee5e9c50ca2338bf74b6c3649b0a80c1d0f8667c8bfaed6fb873ee85872692d1e55e6b6fc7cb01c0028bc0a
 AUX ekeyd.init.2 810 SHA256 a38169a3071fc3c2b7a736ff38c4e637c3ea4fb81b9bb36723dd24d13cc719ba SHA512 9984ced308ac743375e7cea42f99a51d2dc97b17bd0acf48df4a7a165a3facd7232038e65f5d0ea14bf3475c8438f62b7c4ceb30c17bdddadd9b22a8f95b280a WHIRLPOOL 087c68ff3688d1fd868f5e5d88682f76cef42d9ae437b66ca7fd0c33590acffd56baae5138f04bca248d93c0461f8901e87562dd01252e17f7914e1866bd52aa
+AUX ekeyd.service 117 SHA256 4b676db5443cf088256add409414e944da3ce9f00f9b7ca55a8d0fbfd1802d86 SHA512 3372ed067594cd7e1c0f02402ced141fe9e9c96e6df0dbfeae2ed707c837e48860450ec1971689245d62f79351c294c222456dcb489629095e7707a7026a878d WHIRLPOOL 67a93e965c938bcb0d816b4b2072357392166de546d292251da67739c66ace97e218e8aa29ff92c745cac6966b265037b85772f7233ed80f2b254cfb17305663
 DIST ekeyd_1.1.5.orig.tar.gz 101366 SHA256 4aa8abe4bd8bb4517be3f751a75ae270ac2855ba4ba465099a3f29a2c8602ec4 SHA512 c30620d5e54a49929be72ed04448a4f08eb9658dbf7534586c49a3b43bdd5fc95a0659e09cc04b012c339ca20a1e914fa5a4b4d970171c46b64235f284516b9a WHIRLPOOL bfa6cbea82bea8aeed7a86cc5cc0e8e95bd9ceba00d57f78a0bd5bcf6694d4c37db1a43ff01a92493d83a33b41c2a17ddac366c6d2281b848d5f239b4240ea39
-EBUILD ekeyd-1.1.5.ebuild 4746 SHA256 6cf32a7dba965016879460dc648b225d9e2115fe51dba8efb6faec83d1300c55 SHA512 9eca5b6b45f6a59cdec5681d2fe88996120b88b2e617d5c8387f2dd24a8a6947c8ddae8cc5fb04094400032853794bebb825a0a2e4617e42f5ba4d5d7c8c4b00 WHIRLPOOL a2f05ed3274376ad249b0fc9d6fdb511f8fe413be5538ccdc15ed9c2bf13299df2e501f97a72ca1ccd3df68f34ae3dcfe717c3c66212ecfc91b5f6b5fd81faf1
+EBUILD ekeyd-1.1.5.ebuild 4800 SHA256 4e587ba238ba8e14b0713661c5627180306fd1e051278ef7b572ff177f0abb36 SHA512 fb548cbd2571527010af55567d88366e3897d95348b2fda75a4158668c98d956610a5a08de7530c9d4730e3d32a40048dd12aaed129b05bfe127b72b21d49788 WHIRLPOOL c797e9c2b3932dc7442c351cb7dbef0771e556afb15af2be4cc55ccef24976db37c5e6ad73ec96bf9cd7d73c42b22c07eee2e84b57afc6d32ace87c4bbd3dbe3
index e84927d..73c27b0 100644 (file)
@@ -4,7 +4,7 @@
 
 EAPI=4
 
-inherit eutils multilib linux-info toolchain-funcs udev
+inherit eutils multilib linux-info toolchain-funcs udev systemd
 
 DESCRIPTION="Entropy Key userspace daemon"
 HOMEPAGE="http://www.entropykey.co.uk/"
@@ -95,6 +95,8 @@ src_install() {
        # commands.
        dodir /usr/libexec
        mv "${D}"/usr/sbin/ekey*d "${D}"/usr/libexec
+       
+       systemd_dounit "${FILESDIR}/ekeyd.service"
 
        newinitd "${FILESDIR}"/${PN}.init.2 ${PN}
 
diff --git a/app-crypt/ekeyd/files/ekeyd.service b/app-crypt/ekeyd/files/ekeyd.service
new file mode 100644 (file)
index 0000000..637b424
--- /dev/null
@@ -0,0 +1,8 @@
+[Unit]
+Description=Entropy key daemon
+
+[Service]
+ExecStart=/usr/libexec/ekeyd 
+
+[Install]
+WantedBy=multi-user.target