Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 341395
Collapse All | Expand All

(-)/usr/portage/app-crypt/ekeyd/ekeyd-1.1.3-r1.ebuild (-4 / +17 lines)
Lines 40-46 Link Here
40
	#   installing them, so we'll do it by hand.
40
	#   installing them, so we'll do it by hand.
41
	sed -i \
41
	sed -i \
42
		-e 's:-Werror::' \
42
		-e 's:-Werror::' \
43
		-e '/gzip/d' \
44
		daemon/Makefile || die
43
		daemon/Makefile || die
45
44
46
	epatch "${FILESDIR}"/${PN}-1.1.1-earlyboot.patch
45
	epatch "${FILESDIR}"/${PN}-1.1.1-earlyboot.patch
Lines 84-89 Link Here
84
	emake -C daemon \
83
	emake -C daemon \
85
		DESTDIR="${D}" \
84
		DESTDIR="${D}" \
86
		BUILD_ULUSBD=$(use usb && echo yes || echo no) \
85
		BUILD_ULUSBD=$(use usb && echo yes || echo no) \
86
		MANZCMD=cat \
87
		MANZEXT= \
87
		install || die "emake install failed"
88
		install || die "emake install failed"
88
89
89
	# We move the daemons around to avoid polluting the available
90
	# We move the daemons around to avoid polluting the available
Lines 91-99 Link Here
91
	dodir /usr/libexec
92
	dodir /usr/libexec
92
	mv "${D}"/usr/sbin/ekey*d "${D}"/usr/libexec
93
	mv "${D}"/usr/sbin/ekey*d "${D}"/usr/libexec
93
94
94
	# Install them manually because we don't want them gzipped
95
	if use kernel_linux; then
95
	doman daemon/{ekeyd,ekey-setkey,ekey-rekey,ekeydctl}.8 \
96
		newsbin daemon/egd-linux ekey-egd-linux || die
96
		daemon/ekeyd.conf.5 || die
97
		doman daemon/ekey-egd-linux.8
98
		newinitd "${FILESDIR}"/ekey-egd-linux.init ekey-egd-linux || die
99
		newconfd "${FILESDIR}"/ekey-egd-linux.conf ekey-egd-linux || die
100
	fi
97
101
98
	newinitd "${FILESDIR}"/${PN}.init ${PN} || die
102
	newinitd "${FILESDIR}"/${PN}.init ${PN} || die
99
103
Lines 152-155 Link Here
152
		elog "If you're unsure about the working state of the CDC ACM driver"
156
		elog "If you're unsure about the working state of the CDC ACM driver"
153
		elog "enable the usb USE flag and use the userland USB daemon"
157
		elog "enable the usb USE flag and use the userland USB daemon"
154
	fi
158
	fi
159
160
	if use kernel_linux; then
161
		elog ""
162
		elog "In order for the ekey-egd-linux daemon to be effective, be sure"
163
		elog "to set the kernel's write wakeup threshold high enough.  For"
164
		elog "example, you can add the following line to /etc/sysctl.conf:"
165
		elog ""
166
		elog "   kernel.random.write_wakeup_threshold = 1024"
167
	fi
155
}
168
}

Return to bug 341395