1 |
flameeyes 11/04/04 12:20:56 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ekey-egd-linux-1.1.3-r1.ebuild |
5 |
Removed: ekey-egd-linux-1.1.3.ebuild |
6 |
Log: |
7 |
Improve init script and defaults: default to 8888 for port (used by other EGD services); set variables by default if they are not set by the configuration file; only set watermark if it is configured; start after ekeyd. |
8 |
|
9 |
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.2 app-crypt/ekey-egd-linux/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/ekey-egd-linux/ChangeLog?rev=1.2&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/ekey-egd-linux/ChangeLog?rev=1.2&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/ekey-egd-linux/ChangeLog?r1=1.1&r2=1.2 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-crypt/ekey-egd-linux/ChangeLog,v |
21 |
retrieving revision 1.1 |
22 |
retrieving revision 1.2 |
23 |
diff -u -r1.1 -r1.2 |
24 |
--- ChangeLog 23 Oct 2010 17:19:32 -0000 1.1 |
25 |
+++ ChangeLog 4 Apr 2011 12:20:55 -0000 1.2 |
26 |
@@ -1,6 +1,15 @@ |
27 |
# ChangeLog for app-crypt/ekey-egd-linux |
28 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/ekey-egd-linux/ChangeLog,v 1.1 2010/10/23 17:19:32 flameeyes Exp $ |
30 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/ekey-egd-linux/ChangeLog,v 1.2 2011/04/04 12:20:55 flameeyes Exp $ |
32 |
+ |
33 |
+*ekey-egd-linux-1.1.3-r1 (04 Apr 2011) |
34 |
+ |
35 |
+ 04 Apr 2011; Diego E. Pettenò <flameeyes@g.o> |
36 |
+ -ekey-egd-linux-1.1.3.ebuild, +ekey-egd-linux-1.1.3-r1.ebuild, |
37 |
+ files/ekey-egd-linux.conf, files/ekey-egd-linux.init: |
38 |
+ Improve init script and defaults: default to 8888 for port (used by other EGD |
39 |
+ services); set variables by default if they are not set by the configuration |
40 |
+ file; only set watermark if it is configured; start after ekeyd. |
41 |
|
42 |
*ekey-egd-linux-1.1.3 (23 Oct 2010) |
43 |
|
44 |
|
45 |
|
46 |
|
47 |
1.1 app-crypt/ekey-egd-linux/ekey-egd-linux-1.1.3-r1.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/ekey-egd-linux/ekey-egd-linux-1.1.3-r1.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-crypt/ekey-egd-linux/ekey-egd-linux-1.1.3-r1.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: ekey-egd-linux-1.1.3-r1.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2011 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/app-crypt/ekey-egd-linux/ekey-egd-linux-1.1.3-r1.ebuild,v 1.1 2011/04/04 12:20:55 flameeyes Exp $ |
57 |
|
58 |
EAPI=2 |
59 |
|
60 |
inherit eutils toolchain-funcs |
61 |
|
62 |
MY_P="ekeyd-${PV}" |
63 |
DESCRIPTION="EGD client from Entropy Key" |
64 |
HOMEPAGE="http://www.entropykey.co.uk/" |
65 |
SRC_URI="http://www.entropykey.co.uk/res/download/${MY_P}.tar.gz" |
66 |
|
67 |
LICENSE="as-is" # yes, truly |
68 |
|
69 |
SLOT="0" |
70 |
|
71 |
KEYWORDS="~amd64 ~x86" |
72 |
|
73 |
IUSE="" |
74 |
|
75 |
RDEPEND="" |
76 |
DEPEND="" |
77 |
|
78 |
S="${WORKDIR}/${MY_P}" |
79 |
|
80 |
src_prepare() { |
81 |
# avoid using -Werror |
82 |
sed -i -e 's:-Werror::' daemon/Makefile || die |
83 |
|
84 |
epatch "${FILESDIR}"/${P}-ldflags.patch |
85 |
} |
86 |
|
87 |
src_compile() { |
88 |
local osname |
89 |
|
90 |
# Override automatic detection: upstream provides this with uname, |
91 |
# we don't like using uname. |
92 |
case ${CHOST} in |
93 |
*-linux-*) |
94 |
osname=linux;; |
95 |
*-freebsd*) |
96 |
osname=freebsd;; |
97 |
*-kfrebsd-gnu) |
98 |
osname=gnukfreebsd;; |
99 |
*-openbsd*) |
100 |
osname=openbsd;; |
101 |
*) |
102 |
die "Unsupported operating system!" |
103 |
;; |
104 |
esac |
105 |
|
106 |
emake -C daemon \ |
107 |
CC="$(tc-getCC)" \ |
108 |
LUA_V= LUA_INC= \ |
109 |
OSNAME=${osname} \ |
110 |
OPT="${CFLAGS}" \ |
111 |
egd-linux || die "emake failed" |
112 |
} |
113 |
|
114 |
src_install() { |
115 |
exeinto /usr/libexec |
116 |
newexe "${S}"/daemon/egd-linux ${PN} || die |
117 |
doman daemon/${PN}.8 || die |
118 |
|
119 |
newconfd "${FILESDIR}"/${PN}.conf ${PN} || die |
120 |
newinitd "${FILESDIR}"/${PN}.init ${PN} || die |
121 |
} |
122 |
|
123 |
pkg_postinst() { |
124 |
elog "Sysctl write support have to be enabled in order for the init script" |
125 |
elog "modify the kernel.random.write_wakeup_threshold sysctl entry." |
126 |
} |